#budget-report-dialog{width:min(1160px,96vw);max-width:96vw;max-height:94dvh;padding:0;border:1px solid #d8e5ed;border-radius:18px;color:#183b52;box-shadow:0 22px 85px #082d4b44;overflow:auto;background:#fff}
#budget-report-dialog::backdrop{background:#0c304e80;backdrop-filter:blur(3px)}
#budget-report-dialog .br-header{display:flex;justify-content:space-between;align-items:flex-start;padding:25px 30px;background:#0c304e;color:#fff;gap:16px}
#budget-report-dialog .br-header span{font-size:11px;letter-spacing:1.8px;color:#93d4fa;font-weight:700}
#budget-report-dialog h2{font-size:24px;margin:8px 0;color:#fff;line-height:1.2}
#budget-report-dialog .br-header p{margin:0;font-size:13px;color:#d4e6f2}
#budget-report-dialog .br-header button{border:1px solid #ffffff55;border-radius:9px;background:transparent;color:#fff;font-size:26px;width:36px;height:36px;flex-shrink:0;cursor:pointer}
#budget-report-dialog .br-body{padding:22px 30px}
#budget-report-dialog .br-filters{display:grid;grid-template-columns:130px 130px 1.25fr 1.25fr 1.2fr;gap:12px;align-items:end}
#budget-report-dialog .br-filters label{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:600;color:#526e83}
#budget-report-dialog .br-filters input,#budget-report-dialog .br-filters select{width:100%;min-width:0;border:1px solid #cfdeea;background:#fff;border-radius:8px;height:40px;font:inherit;color:#183b52;padding:8px}
#budget-report-dialog .br-totals{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:18px 0}
#budget-report-dialog .br-totals div{border:1px solid #d8e5ed;background:#f2f8fd;border-radius:12px;padding:14px 18px;display:flex;flex-direction:column;gap:6px}
#budget-report-dialog .br-totals span{font-size:12px;color:#526e83}
#budget-report-dialog .br-totals strong{font-size:29px;line-height:1.15;color:#0c304e}
#budget-report-dialog .br-table{overflow:auto;border:1px solid #d8e5ed;border-radius:10px}
#budget-report-dialog table{border-collapse:collapse;table-layout:fixed;width:100%;font-size:13px}
#budget-report-dialog th{background:#edf4f9;text-align:left;padding:12px;color:#526e83;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.3px}
#budget-report-dialog th:first-child{width:72px}#budget-report-dialog th:nth-child(2){width:45%}
#budget-report-dialog td{padding:14px 12px;vertical-align:top;border-top:1px solid #e5eef4;overflow-wrap:anywhere}
#budget-report-dialog tbody tr:nth-child(even){background:#f7fafc}
#budget-report-dialog td b{display:block;font-weight:600}#budget-report-dialog td small{display:block;color:#607b8e;font-size:11px;margin-top:5px;line-height:1.4}
#budget-report-dialog .br-status{display:inline-block;font-size:10px;padding:3px 7px;border-radius:5px;background:#fff3d4;color:#8a6414;margin-bottom:6px}
#budget-report-dialog .br-done{background:#e5f6ef;color:#087d65}#budget-report-dialog .br-empty{padding:35px;text-align:center;color:#607b8e}
#budget-report-dialog .br-note{font-size:11px;color:#607b8e;line-height:1.6;margin:16px 0 0}
#budget-report-dialog .br-footer{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:17px 30px;background:#f5f9fc;border-top:1px solid #d8e5ed;position:sticky;bottom:0}
#budget-report-dialog .br-footer span{margin-right:auto;font-size:11px;color:#607b8e}#budget-report-dialog .br-footer button{white-space:nowrap}
#budget-report-dialog #br-error{color:#a43025;font-size:12px;margin:8px 0}#budget-report-dialog #br-error:empty{display:none}
#budget-report-dialog .br-loading{padding:40px;text-align:center}
@media(max-width:767px){#budget-report-dialog{width:96vw;border-radius:14px;max-height:96dvh}#budget-report-dialog .br-header{padding:20px 17px}#budget-report-dialog h2{font-size:21px}#budget-report-dialog .br-body{padding:16px}#budget-report-dialog .br-filters{grid-template-columns:1fr 1fr;gap:10px}#budget-report-dialog .br-search{grid-column:1/-1}#budget-report-dialog .br-filters input,#budget-report-dialog .br-filters select{font-size:16px}#budget-report-dialog .br-totals{gap:7px}#budget-report-dialog .br-totals div{padding:10px 8px}#budget-report-dialog .br-totals span{font-size:10px;min-height:28px}#budget-report-dialog .br-totals strong{font-size:25px}#budget-report-dialog thead{display:none}#budget-report-dialog table,#budget-report-dialog tbody,#budget-report-dialog tr,#budget-report-dialog td{display:block;width:auto}#budget-report-dialog tr{padding:10px 12px;border-top:1px solid #d8e5ed}#budget-report-dialog td{border:0;padding:6px 0}#budget-report-dialog td:before{content:attr(data-label);display:block;font-size:10px;color:#607b8e;margin-bottom:4px;text-transform:uppercase}#budget-report-dialog td:first-child{float:right;text-align:right}#budget-report-dialog td:nth-child(2){padding-right:50px}#budget-report-dialog td:nth-child(3),#budget-report-dialog td:nth-child(4){display:inline-block;width:49%;vertical-align:top}#budget-report-dialog .br-footer{padding:12px 16px;flex-wrap:wrap}#budget-report-dialog .br-footer span{width:100%}#budget-report-dialog .br-footer button{min-height:42px}#budget-report-dialog .br-empty{float:none!important;text-align:center!important}#budget-report-dialog .br-empty:before{display:none}}

#budget-report-dialog{overflow-x:hidden}
@media(max-width:767px){#budget-report-dialog .br-filters label:nth-child(3),#budget-report-dialog .br-filters label:nth-child(4){grid-column:1/-1}}
