.revenue-panel{box-sizing:border-box;width:min(1320px,calc(100vw - 24px));max-height:92dvh;overflow:auto;padding:28px;border:1px solid #d8c58e;border-radius:18px;background:#fcfbf7;color:#42473f}.revenue-panel::backdrop,.receipt-confirm::backdrop,.receipt-correction::backdrop,.receipt-history::backdrop{background:#23292288}.revenue-top,.revenue-section-head{display:flex;align-items:center;justify-content:space-between;gap:20px}.revenue-top h2{font:36px Georgia,serif;margin:8px 0 12px}.revenue-panel .eyebrow{font:11px Arial,sans-serif;letter-spacing:2px;color:#987324}.revenue-note,#revenue-status{font:12px/1.7 Arial,sans-serif;color:#666}.revenue-totals{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;margin:20px 0}.revenue-totals article,#revenue-selected>article{border:1px solid #e5dcc4;background:#fff;padding:18px;border-radius:12px}.revenue-totals h3,#revenue-selected h3{font:13px/1.5 Arial,sans-serif;margin:0;color:#666}.revenue-totals strong,#revenue-selected strong{display:block;font:30px/1.5 Georgia,serif;color:#987324;margin:8px 0}.revenue-totals p,#revenue-selected p{font:12px/1.6 Arial,sans-serif;color:#666;margin:0}.revenue-panel button,.receipt-confirm button,.receipt-correction button,.receipt-history button{min-height:44px;padding:10px 16px;border-radius:9px;border:1px solid #d8c58e;color:#42473f;background:#fff;cursor:pointer;font:13px Arial,sans-serif}.revenue-panel button.primary,.receipt-confirm button.primary,.receipt-correction button.primary{background:#42473f;color:#fff;border-color:#42473f}.revenue-panel button:disabled{opacity:.6}.revenue-panel form{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:24px 0}.revenue-panel label,.receipt-correction label{display:grid;gap:7px;font:13px Arial,sans-serif}.revenue-panel input,.receipt-correction input,.receipt-correction select,.receipt-correction textarea{padding:11px;border:1px solid #d8c58e;border-radius:7px;background:#fff;font:14px Arial,sans-serif;color:#42473f}.revenue-table{overflow:auto;max-width:100%}.revenue-table table{border-collapse:collapse;width:100%;font:12px/1.6 Arial,sans-serif}.revenue-table th,.revenue-table td{padding:12px 9px;text-align:left;border-bottom:1px solid #e5dcc4;vertical-align:top}.revenue-table td:nth-child(5){white-space:nowrap}.revenue-table td small{display:block;color:#777}.receipt-actions{display:flex;gap:6px;flex-wrap:wrap}.receipt-link{font-size:11px!important;margin-top:6px;padding:4px 8px!important;min-height:36px!important}.revenue-table [data-status=needs_qualification]{background:#fff2cd}.revenue-table [data-status=void]{color:#777}.revenue-table [data-status=review]{background:#fff6e5}#revenue-attention{font:13px/1.7 Arial,sans-serif;color:#725014;background:#fff4d9;border-radius:8px;padding:12px;margin:18px 0}#revenue-attention:empty{display:none}.revenue-panel section{margin:25px 0}.revenue-panel h3{font:20px Georgia,serif}.receipt-confirm,.receipt-correction,.receipt-history{box-sizing:border-box;max-width:calc(100vw - 24px);width:560px;max-height:90dvh;overflow:auto;border:1px solid #d8c58e;border-radius:15px;background:#fcfbf7;color:#42473f;padding:24px;font:14px/1.6 Arial,sans-serif}.receipt-correction form{display:grid;gap:14px}.receipt-history article{border-bottom:1px solid #e5dcc4;margin:15px 0;padding-bottom:12px}.agenda-receipt{padding:16px;margin:18px 0;border:1px solid #e5dcc4;background:#fff;border-radius:10px}.agenda-receipt h4{margin:0 0 12px}.agenda-receipt button{margin:8px 8px 0 0}.payment-badge{display:inline-block;padding:7px 12px;border-radius:18px;background:#fff1d4;color:#795413;font:14px Arial,sans-serif}.payment-badge.is-paid{background:#e5eee3;color:#36583a}@media(max-width:700px){.revenue-panel{padding:17px}.revenue-top{display:block}.revenue-totals{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.revenue-totals article{padding:12px}.revenue-totals strong{font-size:24px}.revenue-panel form{align-items:stretch}.revenue-panel input{max-width:100%;box-sizing:border-box}.revenue-top h2{font-size:30px}.revenue-table th,.revenue-table td{padding:9px}.revenue-section-head{align-items:start}.revenue-top>button{width:100%}.agenda-receipt button{display:block;width:100%}}

#open-revenue{background:#42473f;border-color:#42473f;color:#fff;font-weight:600}
