.v107-stock-card{
  overflow:hidden;
}
.v107-stock-table{
  width:100%;
  table-layout:fixed;
  border-collapse:collapse;
  font-size:14px!important;
  color:#5f5148;
}
.v107-stock-table th{
  padding:10px 6px;
  color:#806e63;
  background:#fffdfb;
  border-bottom:1px solid #e9ddd3;
  font-size:12px;
  font-weight:700;
  text-align:left;
}
.v107-stock-table th:nth-child(1),.v107-stock-table td:nth-child(1){width:36%}
.v107-stock-table th:nth-child(2),.v107-stock-table td:nth-child(2){width:22%;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.v107-stock-table th:nth-child(3),.v107-stock-table td:nth-child(3){width:13%;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.v107-stock-table th:nth-child(4),.v107-stock-table td:nth-child(4){width:29%;text-align:right;white-space:nowrap}
.v107-stock-table .table-row td{
  height:50px;
  padding:8px 6px;
  border-bottom:1px solid #eee5df;
  font-size:14px;
  font-weight:600;
  vertical-align:middle;
  overflow-wrap:anywhere;
}
.v107-stock-table .v107-stock-category td{
  padding:11px 8px!important;
  background:#f5eee8!important;
  color:#927866!important;
  font-size:14px!important;
  font-weight:700!important;
  text-align:left!important;
}
.v107-stock-table .v107-stock-action{
  display:inline-block;
  margin:0!important;
  padding:8px 3px;
  font-size:12px!important;
  font-weight:700;
}
.v107-history-balance{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  margin-top:14px;
}
.v107-history-balance>div{
  padding:12px;
  background:#f8f3ee;
  border-radius:12px;
  text-align:left;
}
.v107-history-balance span{
  display:block;
  color:#9a8a80;
  font-size:10px;
  font-weight:700;
}
.v107-history-balance b{
  display:block;
  margin-top:3px;
  color:#5e5047;
  font-size:15px;
  font-weight:800;
  font-variant-numeric:tabular-nums;
}
.v107-package-box{
  margin-top:12px;
  padding:12px;
  background:#fbf8f5;
  border:1px solid #eadfd6;
  border-radius:12px;
  text-align:left;
  font-size:12px;
  line-height:1.75;
}
.v107-package-box strong{display:block;margin-bottom:3px;color:#79665a}
.v107-history-list{margin-top:16px;text-align:left}
.v107-date-group{
  margin-bottom:16px;
  border:1px solid #e5d8ce;
  border-radius:15px;
  overflow:hidden;
  background:#fff;
}
.v107-date-group:last-child{margin-bottom:0}
.v107-date-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  padding:11px 13px;
  background:#927866;
  color:#fff;
  font-size:14px;
  font-weight:800;
}
.v107-date-head small{font-size:11px;font-weight:600;opacity:.9}
.v107-transaction{
  padding:13px;
  border-bottom:1px solid #eadfd6;
}
.v107-transaction:last-child{border-bottom:0}
.v107-transaction-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  margin-bottom:9px;
}
.v107-transaction-title{font-size:13px;font-weight:800;color:#5f5148}
.v107-order-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:22px;
  height:22px;
  margin-right:6px;
  border-radius:50%;
  background:#eee3da;
  color:#806b5d;
  font-size:11px;
  font-weight:800;
}
.v107-sale-table{
  width:100%;
  border-collapse:collapse;
  table-layout:fixed;
  margin-top:7px;
  font-size:13px;
}
.v107-sale-table th,.v107-sale-table td{
  padding:8px 7px;
  border-bottom:1px solid #eee5df;
  vertical-align:top;
}
.v107-sale-table th{
  width:62px;
  background:#faf6f2;
  color:#826e61;
  font-size:11px;
  font-weight:800;
  text-align:left;
}
.v107-sale-table td:nth-child(2){overflow-wrap:anywhere}
.v107-sale-table td:last-child{
  width:78px;
  text-align:right;
  white-space:nowrap;
  font-variant-numeric:tabular-nums;
}
.v107-sale-table .v107-subtotal td{font-weight:800;color:#6b594e}
.v107-payment-lines{
  margin-top:10px;
  padding-top:8px;
  border-top:2px solid #cfb9aa;
}
.v107-payment-line{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:3px 0;
  color:#85736a;
  font-size:12px;
}
.v107-payment-line span:last-child{white-space:nowrap;font-variant-numeric:tabular-nums}
.v107-payment-total{
  margin-top:5px;
  padding-top:7px;
  border-top:1px solid #eadfd6;
  color:#514239;
  font-size:15px;
  font-weight:800;
}
.v107-note-box{
  margin-top:8px;
  padding:9px 10px;
  background:#f8f4f0;
  color:#74635a;
  border-radius:10px;
  font-size:12px;
  line-height:1.65;
}
.v107-note-box strong{display:block;margin-bottom:2px;color:#5f5148}
.v107-void-row{text-align:right;margin-top:9px}
.v107-void-btn{
  color:#ef6f78;
  font-size:11px;
  font-weight:800;
}
.v107-history-empty{padding:24px 8px;color:#b1a39a;text-align:center;font-size:13px}
@media(max-width:640px){
  .v107-stock-card{padding-left:10px!important;padding-right:10px!important}
  .v107-stock-table{font-size:13px!important}
  .v107-stock-table th,.v107-stock-table .table-row td{padding-left:4px;padding-right:4px}
  .v107-stock-table th:nth-child(1),.v107-stock-table td:nth-child(1){width:35%}
  .v107-stock-table th:nth-child(2),.v107-stock-table td:nth-child(2){width:23%}
  .v107-stock-table th:nth-child(3),.v107-stock-table td:nth-child(3){width:12%}
  .v107-stock-table th:nth-child(4),.v107-stock-table td:nth-child(4){width:30%}
  .v107-stock-table .table-row td{font-size:13px}
  .v107-history-balance{grid-template-columns:repeat(2,minmax(0,1fr))}
  .v107-date-head,.v107-transaction{padding:11px}
}
