.agent-invoice-panel{margin-top:18px}
.agent-invoice-select-all{display:flex;align-items:center;gap:6px;color:#6e6b80;font-size:11px;font-weight:700;white-space:nowrap}
.agent-invoice-list{display:grid;gap:8px;margin-top:16px}
.agent-invoice-row{display:flex;align-items:center;gap:12px;padding:12px 14px;border:1px solid #eceaf3;border-radius:12px;background:#fff;cursor:pointer;transition:border-color .15s ease,background .15s ease}
.agent-invoice-row:hover{border-color:#dedcff;background:#f9f8ff}
.agent-invoice-row.is-selected{border-color:#c9c2ff;background:#f5f3ff}
.agent-invoice-row input[type="checkbox"]{width:18px;height:18px;flex:0 0 auto;accent-color:var(--purple)}
.agent-invoice-row-copy{display:grid;gap:3px;flex:1;min-width:0}
.agent-invoice-row-copy strong{font-size:13px;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.agent-invoice-row-copy small{color:#9695a5;font-size:10px}
.agent-invoice-row-amount{color:#208964;font-size:13px;white-space:nowrap}
.agent-invoice-submit-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:16px;padding-top:16px;border-top:1px solid #f0f0f4}
.agent-invoice-submit-bar>span{color:#6e6b80;font-size:12px;font-weight:600}
.agent-invoice-history{display:grid;gap:8px;margin-top:16px}
.agent-invoice-history-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px;border:1px solid #eceaf3;border-radius:12px;background:#fff}
.agent-invoice-history-row strong{display:block;font-size:12px;color:var(--ink)}
.agent-invoice-history-row small{display:block;color:#9695a5;font-size:10px;margin-top:3px}
.agent-invoice-review-note{color:#a66d25!important;font-style:italic}
.agent-invoice-detail-items{display:grid;gap:8px;padding:20px 24px;max-height:340px;overflow-y:auto}
.agent-invoice-review-actions{display:flex;gap:10px;justify-content:flex-end;padding:16px 24px;border-top:1px solid #efeff6}
.agent-invoice-reviewed-note{margin:0;padding:16px 24px;color:#9695a5;font-size:11px;border-top:1px solid #efeff6}
.payout-editor-list{display:grid;gap:8px;margin-top:16px}
.payout-editor-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px;border:1px solid #eceaf3;border-radius:12px;background:#fff}
.payout-editor-row-locked{background:#f9f9fb}
.payout-editor-row-main{display:grid;gap:3px;flex:1;min-width:0}
.payout-editor-row-main strong{font-size:13px;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.payout-editor-row-main span{color:#9695a5;font-size:10px}
.payout-editor-input{display:flex;align-items:center;gap:6px;flex:0 0 auto}
.payout-editor-input>span{color:#6e6b80;font-size:13px;font-weight:700}
.payout-editor-input input{width:90px;padding:8px 10px;border:1px solid #dfddea;border-radius:9px;font-size:13px;font-variant-numeric:tabular-nums}
.payout-editor-input .outline-button{padding:8px 12px;font-size:11px;white-space:nowrap}
@media(max-width:720px){
  .agent-invoice-submit-bar{flex-direction:column;align-items:stretch;gap:10px}
  .agent-invoice-submit-bar button{width:100%;justify-content:center}
  .agent-invoice-row{padding:11px}
  .agent-invoice-review-actions{flex-direction:column}
  .agent-invoice-review-actions button{width:100%;justify-content:center}
  .payout-editor-row{flex-direction:column;align-items:stretch}
  .payout-editor-input{width:100%}
  .payout-editor-input input{flex:1}
}
