.settlement-filters {
  display:flex;
  align-items:flex-end;
  flex-wrap:wrap;
  gap:16px 24px;
  padding:18px 22px;
  margin-bottom:18px;
}
.settlement-filters .field {min-width:165px;}
.settlement-filters .settlement-reload {margin-left:auto;align-self:center;}
.settlement-buyer {
  display:flex;
  flex-wrap:wrap;
  gap:9px 22px;
  margin:0;
  min-width:0;
  padding:4px 0;
}
.settlement-buyer dt,.settlement-details dt {font-size:12px;color:var(--muted);}
.settlement-buyer dd,.settlement-details dd {margin:4px 0 0;color:var(--ink);overflow-wrap:anywhere;}
.settlement-stats {grid-template-columns:repeat(3,minmax(0,1fr));}
.settlement-notice {line-height:1.8;margin:0 0 17px;}
.settlement-records .panel-head {gap:12px;align-items:center;}
.settlement-records .panel-head select {min-width:122px;}
.settlement-empty {color:var(--muted);padding:22px;margin:0;border-top:1px solid var(--line);}
.settlement-number {font-variant-numeric:tabular-nums;letter-spacing:.025em;}
.settlement-loading {min-height:180px;}
.settlement-load-error {padding:20px;}
.settlement-load-error .error {margin-bottom:12px;}
.settlement-form .notice {margin:0;}
.settlement-form .check-row {align-items:flex-start;}
.settlement-form .form-actions {flex-wrap:wrap;}
.settlement-form .field small {line-height:1.6;}
.settlement-recognition {padding:10px 12px;margin:8px 0 0;background:var(--blue-soft);color:var(--ink);border-radius:7px;font-size:12px;line-height:1.7;}
.settlement-detail-bar {display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;}
.settlement-details {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px 22px;
  margin:14px 0;
  padding:15px 16px;
  border:1px solid var(--line);
  background:var(--bg);
  border-radius:9px;
}
.settlement-detail .notice {margin:12px 0 0;}
.settlement-profile {max-width:780px;}
.settlement-profile-body .notice {margin:0;}
.settlement-profile-summary {margin:0 0 20px;}
.settlement-profile-help {margin:0;}
.settlement-sr-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  overflow:hidden;
  clip-path:inset(50%);
  white-space:nowrap;
}
@media (max-width:650px) {
  .settlement-stats {grid-template-columns:repeat(2,minmax(0,1fr));}
  .settlement-stats .stat-card:last-child {grid-column:1/-1;}
  .settlement-filters {padding:15px 16px;gap:10px 14px;}
  .settlement-filters .field {min-width:0;}
  .settlement-buyer {order:3;width:100%;}
  .settlement-table,.settlement-table tbody {display:block;}
  .settlement-table thead {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);}
  .settlement-table tbody tr {display:block;padding:8px 15px;border-top:1px solid var(--line);}
  .settlement-table tbody td,.settlement-table tbody td:first-child,.settlement-table tbody td:last-child {
    display:grid;
    grid-template-columns:75px minmax(0,1fr);
    align-items:center;
    justify-items:start;
    gap:0 12px;
    padding:6px 0;
    border:0;
    text-align:left;
    white-space:normal;
  }
  .settlement-table tbody td::before {content:attr(data-label);color:var(--muted);}
  .settlement-table tbody td small {grid-column:2;}
}
@media (max-width:450px) {
  .settlement-details {grid-template-columns:1fr;}
  .settlement-form .field {grid-column:1/-1;}
}
