@media(max-width:700px){
 .income-records .table-wrap{overflow:visible}
 .income-records .table,.income-records .table tbody{display:block;width:100%;min-width:0!important}
 .income-records .table colgroup,.income-records .table thead{display:none}
 .income-records .table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px;padding:14px;margin-bottom:10px;border:1px solid #e8edf5;border-radius:12px}
 .income-records .table td{display:flex;flex-direction:column;gap:4px;min-width:0;padding:7px 0;border:0;white-space:normal;overflow-wrap:anywhere;text-align:left}
 .income-records .table td::before{content:attr(data-label);color:#8294b2;font-size:11px}
 .income-records .table td:last-child{grid-column:1/-1}
}
/* Income deletion must be visible both in finance and site details. */
.income-records .employee-row-actions .danger,.site-actual-history .employee-row-actions .danger{color:#b8343d;background:#fff0f0;border:1px solid #f3d7d8;padding:7px 10px;border-radius:8px}
@media(max-width:700px){
 .site-actual-history .table-wrap{overflow:visible}
 .site-actual-history .table,.site-actual-history .table tbody{display:block;min-width:0!important;width:100%}
 .site-actual-history .table colgroup,.site-actual-history .table thead{display:none}
 .site-actual-history .table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 10px;padding:12px;margin:10px 0;border:1px solid #e8edf5;border-radius:10px}
 .site-actual-history .table td{display:flex;flex-direction:column;gap:4px;min-width:0;padding:7px 0;border:0;text-align:left;white-space:normal;overflow-wrap:anywhere}
 .site-actual-history .table td::before{content:attr(data-label);font-size:11px;color:#8294b2}
 .site-actual-history .table td:last-child{grid-column:1/-1}
}
