.gift-module-page{
  --gift-bg:#f6f7f9;
  --gift-card:#fff;
  --gift-line:#e5e7eb;
  --gift-text:#111827;
  --gift-muted:#667085;
  --gift-blue:#1677ff;
  --gift-orange:#f59e0b;
  --gift-green:#16a34a;
  --gift-shadow:0 10px 28px rgba(15,23,42,.045);
  max-width:1680px;
  background:var(--gift-bg);
}
.gift-module-page .expense-module-kicker{
  border-color:#dbeafe;
  background:#eff6ff;
  color:var(--gift-blue);
}
.gift-module-page .expense-head{
  align-items:flex-end;
  margin-bottom:18px;
}
.gift-module-page .expense-head h1{
  color:var(--gift-text);
  font-size:28px!important;
  font-weight:900;
}
.gift-module-page .expense-head p{
  color:var(--gift-muted);
  font-size:13px;
  font-weight:650;
}
.gift-module-page .expense-head-actions .el-button,
.gift-module-page .expense-more-menu .el-button{
  height:36px;
  border-radius:8px!important;
  font-weight:750;
}
.gift-module-page .table-stat-row{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  margin-bottom:16px;
}
.gift-module-page .pro-stat-card{
  min-height:100px;
  padding:18px 20px 16px 58px;
  position:relative;
  border:1px solid var(--gift-line)!important;
  border-radius:10px!important;
  background:#fff!important;
  box-shadow:var(--gift-shadow)!important;
}
.gift-module-page .pro-stat-card::before{
  content:"";
  position:absolute;
  left:20px;
  top:20px;
  width:26px;
  height:26px;
  border-radius:8px;
  background:#eff6ff;
  box-shadow:inset 0 0 0 1px #dbeafe;
}
.gift-module-page .pro-stat-card::after{
  content:"";
  position:absolute;
  left:29px;
  top:29px;
  width:8px;
  height:8px;
  border-radius:2px;
  background:var(--gift-blue);
}
.gift-module-page .pro-stat-card.green::before{background:#ecfdf3;box-shadow:inset 0 0 0 1px #bbf7d0}
.gift-module-page .pro-stat-card.green::after{background:var(--gift-green)}
.gift-module-page .pro-stat-card.orange::before{background:#fff7ed;box-shadow:inset 0 0 0 1px #fed7aa}
.gift-module-page .pro-stat-card.orange::after{background:var(--gift-orange)}
.gift-module-page .pro-stat-card.slate::before{background:#f8fafc;box-shadow:inset 0 0 0 1px #dfe5ee}
.gift-module-page .pro-stat-card.slate::after{background:#475569}
.gift-module-page .pro-stat-card span{
  color:#5f6b7a;
  font-size:12px;
  font-weight:800;
}
.gift-module-page .pro-stat-card b{
  margin:9px 0 7px;
  color:var(--gift-text);
  font-size:27px;
  line-height:1;
  font-weight:900;
  font-variant-numeric:tabular-nums;
}
.gift-module-page .pro-stat-card small{
  color:#98a2b3;
  font-size:12px;
  font-weight:700;
}
.gift-module-page .pro-table-panel{
  min-height:0!important;
  overflow:hidden;
  border:1px solid var(--gift-line)!important;
  border-radius:10px!important;
  background:#fff!important;
  box-shadow:var(--gift-shadow)!important;
}
.gift-module-page .pro-table-panel>.el-card__header{
  min-height:68px!important;
  padding:17px 20px!important;
  border-bottom:1px solid #eef1f5!important;
  background:#fff!important;
}
.gift-module-page .pro-table-panel>.el-card__body{
  min-height:0!important;
  padding:16px 20px 14px!important;
  background:#fff!important;
}
.gift-module-page .table-toolbar b{
  color:var(--gift-text);
  font-size:18px;
  font-weight:900;
}
.gift-module-page .table-toolbar span{
  margin-top:5px;
  color:#98a2b3;
  font-size:12px;
  font-weight:650;
}
.gift-module-page .expense-filter-compact{
  min-height:38px;
  margin-bottom:10px;
}
.gift-module-page .pro-filter-card{
  display:grid!important;
  grid-template-columns:108px repeat(auto-fit,minmax(154px,1fr)) auto auto!important;
  align-items:center!important;
  gap:10px!important;
  padding:13px!important;
  margin-bottom:12px!important;
  border:1px solid var(--gift-line)!important;
  border-radius:9px!important;
  background:#fbfcfe!important;
  overflow:visible!important;
}
.gift-module-page .pro-filter-card .filter-title span{
  display:none!important;
}
.gift-module-page .pro-filter-card .el-input,
.gift-module-page .pro-filter-card .el-select,
.gift-module-page .pro-filter-card .el-date-editor{
  width:100%!important;
  flex:auto!important;
}
.gift-module-page .pro-filter-card .el-input__wrapper,
.gift-module-page .pro-filter-card .el-select__wrapper{
  height:34px;
  border-radius:7px!important;
  background:#fff;
}
.gift-module-page .data-table{
  min-height:0!important;
  border:1px solid var(--gift-line)!important;
  border-radius:8px!important;
  background:#fff!important;
  overflow:hidden;
  font-size:13px!important;
}
.gift-module-page .data-table .el-table__header th{
  height:46px!important;
  background:#f8fafc!important;
  color:#475467!important;
  font-weight:850!important;
}
.gift-module-page .data-table th.el-table__cell>.cell{
  min-height:44px!important;
  padding:0 10px!important;
}
.gift-module-page .data-table td.el-table__cell>.cell{
  min-height:54px!important;
  padding:0 10px!important;
  color:#344054;
  font-weight:500!important;
}
.gift-module-page .data-table td,
.gift-module-page .data-table th{
  border-color:#eef1f5!important;
}
.gift-module-page .data-table .el-table__row:nth-child(even)>td{
  background:#fcfdff!important;
}
.gift-module-page .data-table .el-table__row:hover>td{
  background:#f6faff!important;
}
.gift-module-page .sheet-image-cell{
  border:1px solid #e5e7eb;
  border-radius:8px;
  background:#f8fafc;
}
.gift-module-page .tag-cell{
  min-width:58px;
  border-radius:999px;
  padding:4px 10px;
  font-size:12px;
  font-weight:800!important;
}
.gift-module-page .money-cell{
  justify-content:flex-end!important;
  text-align:right!important;
  color:#111827!important;
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;
  font-weight:800!important;
  font-variant-numeric:tabular-nums;
}
.gift-module-page .table-pagination{
  padding:14px 4px 0!important;
}
.gift-edit-dialog .el-dialog{
  border-radius:12px!important;
  overflow:hidden;
}
.gift-edit-dialog .el-dialog__header{
  padding:18px 22px!important;
  margin-right:0;
  border-bottom:1px solid #eef1f5;
  background:#fff;
}
.gift-edit-dialog .el-dialog__title{
  color:#111827;
  font-size:18px;
  font-weight:900;
}
.gift-edit-dialog .el-dialog__body{
  max-height:68vh;
  overflow:auto;
  padding:18px 22px 10px!important;
  background:#f8fafc;
}
.gift-edit-dialog .el-form{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px 14px;
}
.gift-edit-dialog .el-form-item{
  min-width:0;
  margin-bottom:0!important;
  padding:12px;
  border:1px solid #e5e7eb;
  border-radius:9px;
  background:#fff;
}
.gift-edit-dialog .el-form-item__label{
  color:#475467;
  font-weight:800;
}
.gift-edit-dialog .drop-upload{
  min-height:66px;
  border-radius:8px;
  background:#fbfcfe;
}
.gift-edit-dialog .el-dialog__footer{
  padding:14px 22px!important;
  border-top:1px solid #eef1f5;
  background:#fff;
}
@media(max-width:1366px){
  .gift-module-page .table-stat-row{gap:10px}
  .gift-module-page .pro-stat-card{padding-left:52px}
  .gift-module-page .pro-stat-card b{font-size:23px}
  .gift-module-page .pro-filter-card{grid-template-columns:1fr 1fr 1fr!important}
  .gift-module-page .pro-filter-card .filter-title{grid-column:1/-1}
  .gift-edit-dialog .el-form{grid-template-columns:1fr}
}
@media(max-width:900px){
  .gift-module-page .table-stat-row{grid-template-columns:1fr 1fr}
  .gift-module-page .pro-filter-card{grid-template-columns:1fr!important}
}
