.settlement-workspace,.settlement-content{display:grid;gap:18px;min-width:0}
.settlement-status:empty,.settlement-workspace>div:empty{display:none}
.settlement-filters{display:flex;align-items:end;flex-wrap:wrap;gap:12px;margin:16px 0}
.settlement-filters>.field{flex:1;min-width:180px;max-width:340px}
.settlement-toolbar{margin:16px 0 4px;flex-wrap:wrap}
.settlement-summary{margin-bottom:0}
.settlement-partner{text-align:left;max-width:340px;overflow-wrap:anywhere;white-space:normal}
.settlement-row-actions{display:flex;flex-wrap:wrap;gap:8px;min-width:130px}
.settlement-pagination{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:16px}
.settlement-pagination .note{margin:0}
.settlement-entry-title{max-width:360px;overflow-wrap:anywhere}
.settlement-entry-title strong,.settlement-entry-title small{display:block}
.settlement-entry-title small{margin-top:4px;color:var(--muted)}
.settlement-form{max-width:800px}
.settlement-form .management-fields{display:grid;gap:16px;min-width:0}
.settlement-form .fields>.field{flex:1;min-width:150px}
.settlement-form textarea{min-height:90px;resize:vertical;width:100%}
.settlement-workspace .panel-head{align-items:flex-start}
.settlement-workspace .panel-head h2{overflow-wrap:anywhere}
.settlement-workspace .panel-head p{margin-bottom:0}
.settlement-workspace td{vertical-align:top}
.settlement-workspace th:nth-child(n+3),.settlement-workspace td:nth-child(3),.settlement-workspace td:nth-child(4){white-space:nowrap}
.settlement-statement{margin-top:24px}
#settlement-print{display:none}
@media(max-width:680px){
 .settlement-summary{grid-template-columns:1fr;padding:0 16px}
 .settlement-summary .summary-item{padding:14px 0;border-right:0;border-bottom:1px solid var(--line)}
 .settlement-summary .summary-item:last-child{border-bottom:0}
 .settlement-summary .summary-item span{font-size:.9rem}
 .settlement-workspace .panel-head{flex-wrap:wrap}
 .settlement-filters>.field{max-width:none;min-width:140px}
 .settlement-pagination{justify-content:space-between}
}
@media print{
 body.printing-settlement>*{display:none!important}
 body.printing-settlement>#settlement-print{display:block!important;color:#000;background:#fff;margin:0;padding:16px}
 #settlement-print .table-wrap{overflow:visible}
 #settlement-print table{font-size:10pt}
 #settlement-print tr{break-inside:avoid}
 #settlement-print th,#settlement-print td{white-space:normal}
}
