.med-filters .revenue-status-filter{position:relative;flex:1 1 310px;min-width:0;max-width:100%;border:1px solid #bacfcb;border-radius:10px;background:#fff;padding:14px 16px}
.revenue-status-filter>summary{cursor:pointer;font-weight:600;line-height:1.5;overflow-wrap:anywhere}
.revenue-status-filter>summary:focus-visible{outline:3px solid #93622e;outline-offset:4px}
.revenue-status-options{position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:5;border:1px solid #bacfcb;border-radius:10px;padding:12px 16px;margin:0;display:grid;gap:6px;min-width:0;background:#fff;box-shadow:0 8px 24px #153b4320;max-height:65vh;overflow:auto}
.revenue-status-options legend{padding-top:14px;font-size:13px;color:var(--muted)}
.med-filters .revenue-status-options label{display:flex;flex-direction:row-reverse;justify-content:flex-end;align-items:center;gap:10px;min-width:0;padding:7px 0;line-height:1.4;font-weight:500}
.med-filters .revenue-status-options input[type=checkbox]{width:20px;height:20px;min-width:20px;margin:0;flex:none}
.revenue-report-status{margin:6px 0;font-weight:600;line-height:1.4}
@media(max-width:600px){.revenue-status-options{position:static;max-height:none;border:0;padding:8px 0 0;box-shadow:none}}
@media print{.revenue-status-filter{display:none!important}}

.revenue-client-actions,.revenue-line-actions{display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.revenue-client-actions button{margin-top:8px}
.revenue-entry-detail{border-left:5px solid #21495c;margin:20px 0 28px;background:#f7fafb}
.revenue-entry-detail .table-wrap{overflow:auto;max-width:100%}
.revenue-entry-detail table{min-width:1100px}
.revenue-entry-detail th,.revenue-entry-detail td{padding:12px;vertical-align:top}
.revenue-entry-detail td:nth-child(n+3):nth-child(-n+5){white-space:nowrap;font-variant-numeric:tabular-nums}
.revenue-entry-detail td:nth-child(6){min-width:170px}
.revenue-entry-detail td small{display:block;margin-top:8px}
.revenue-detail-totals{font-weight:600;line-height:1.8}
.revenue-detail-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:20px}
.revenue-line-actions button{min-height:42px;white-space:nowrap}
@media print{.revenue-line-actions,.revenue-detail-actions,.revenue-client-actions button{display:none!important}.revenue-entry-detail table{min-width:0}}
.entry-action-options:not([hidden]){display:grid;gap:.35rem;margin-top:.4rem}
.entry-action-options button{text-align:left;white-space:nowrap}
