.report-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.report-heading h2{margin:0;font-size:26px;color:var(--navy)}.report-refresh{border:1px solid var(--line);background:#fff;color:var(--blue);padding:10px 15px;border-radius:9px;cursor:pointer}.report-controls{padding:18px;margin-bottom:14px;overflow:visible}.report-control-top{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:15px}.report-period-picker{position:relative;display:grid;grid-template-columns:38px minmax(210px,auto) 38px;background:#dfe8ff;border-radius:9px}.report-period-picker>button{border:0;background:transparent;color:var(--navy);padding:11px;cursor:pointer}.report-period-picker .period-display{background:#cbd9ff;border-radius:7px;font-weight:700;white-space:nowrap}.report-control-top select{padding:11px 34px 11px 14px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--navy)}.report-tabs{display:flex;overflow:auto;border:1px solid var(--line);border-radius:9px;width:max-content;max-width:100%}.report-tabs button{border:0;border-right:1px solid var(--line);background:#fff;color:#657086;padding:11px 17px;white-space:nowrap;cursor:pointer}.report-tabs button:last-child{border-right:0}.report-tabs button.active{background:#eef2ff;color:var(--blue);font-weight:700;box-shadow:inset 0 0 0 1px var(--blue)}.report-content{overflow:auto}.cashflow-table{min-width:900px}.cashflow-table th:not(:first-child),.cashflow-table td:not(:first-child){text-align:right}.cashflow-table td{vertical-align:middle}.report-value{font-weight:750;white-space:nowrap;color:#2f5fc4}.report-inflow,.report-net-positive{color:var(--green)}.report-outflow,.report-net-negative{color:#2f5fc4}.report-transfer{color:#7b61a8}.report-balance{color:#303747}.report-zero{color:#b4bac5;font-weight:500}.report-balance-row td{color:#303747;background:#fafbfe}.report-net-row td{background:#fff9df;font-weight:800}.report-group td:first-child{font-weight:800}.report-child td:first-child{padding-left:50px;color:#4d566b}.report-toggle{border:0;background:#f2f5fb;color:var(--navy);border-radius:50%;width:28px;height:28px;margin-right:10px;cursor:pointer}.report-group.collapsed+.report-child{display:none}.report-stack{display:flex;flex-direction:column;gap:2px}.report-stack span{white-space:nowrap}.report-flow-line{display:flex;align-items:center;justify-content:flex-end;gap:5px;min-height:20px}.report-flow-icon{display:inline-flex;align-items:center;justify-content:center;width:17px;height:17px;border-radius:50%;font-size:11px;font-weight:800;flex:0 0 17px}.report-flow-inflow .report-flow-icon{background:#e8f7ed;color:var(--green)}.report-flow-outflow .report-flow-icon{background:#eaf0ff;color:#2f5fc4}.report-flow-transfers .report-flow-icon{background:#f0eafb;color:#7b61a8}.matrix-table th,.matrix-table td{text-align:right}.matrix-table th:first-child,.matrix-table td:first-child{text-align:left;position:sticky;left:0;background:inherit}.matrix-table .report-group td{font-weight:800}.report-note{padding:18px;color:var(--muted)}
@media(max-width:900px){.report-heading{align-items:flex-start}.report-tabs{width:100%}.report-control-top{align-items:stretch}.report-period-picker{width:100%;grid-template-columns:38px 1fr 38px}}
.report-tool{border:1px solid var(--line);background:#fff;color:var(--blue);padding:10px 14px;border-radius:9px;cursor:pointer}.report-tool.active{background:#eaf0ff;border-color:var(--blue);font-weight:700}.report-node td:first-child{padding-left:calc(16px + var(--report-depth)*28px)}.report-level-0 td{font-weight:800}.report-level-1 td:first-child{font-weight:700}.report-level-2 td:first-child,.report-level-3 td:first-child{color:#4d566b}.report-toggle-spacer{display:inline-block;width:38px}.report-node-label{vertical-align:middle}.report-drill{display:block;margin-left:auto;border:0;background:transparent;padding:1px 0;cursor:pointer;text-align:right}.report-drill:hover .report-value{text-decoration:underline;text-decoration-style:dotted}.report-stack{align-items:flex-end}.accounts-report{min-width:1100px}.accounts-report td:first-child small{display:block;color:var(--muted);margin-top:3px}.report-filter-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.report-filter-block{min-width:0;margin:0;border:1px solid var(--line);border-radius:12px;padding:13px;background:#fafbff}.report-filter-block legend{display:flex;justify-content:space-between;gap:12px;width:100%;padding:0 4px;font-weight:750;color:var(--navy)}.report-filter-selected-count{color:var(--blue);font-size:12px;font-weight:650}.report-filter-actions{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:7px;margin:7px 0 9px}.report-filter-actions input{min-width:0;margin:0;padding:8px 10px}.report-filter-actions button{border:0;background:transparent;color:var(--blue);padding:7px 3px;cursor:pointer;font-size:12px}.report-filter-options{max-height:190px;overflow:auto;border:1px solid var(--line);border-radius:9px;background:#fff}.report-filter-option{display:flex;align-items:center;gap:9px;margin:0;padding:8px 10px;border-bottom:1px solid #edf0f6;cursor:pointer}.report-filter-option:last-child{border-bottom:0}.report-filter-option:hover{background:#f1f5ff}.report-filter-option input{width:auto;margin:0;accent-color:var(--blue)}.report-filter-option span{min-width:0}.report-filter-chips{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:8px}.report-filter-chip{border:1px solid #cbd8fa;background:#edf2ff;color:var(--navy);border-radius:999px;padding:4px 8px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}.report-filter-more{padding:4px 5px;color:var(--muted);font-size:12px}.report-filter-empty{padding:14px;color:var(--muted)}.report-filter-hint{color:var(--muted)}.report-settings{padding:10px 4px 20px}.report-settings .checkbox-row{display:flex;align-items:center;gap:10px;font-weight:600}.report-settings .checkbox-row input{width:auto}.details-card{width:min(1180px,94vw);max-height:88vh;display:flex;flex-direction:column}.details-card .table-wrap{overflow:auto}.details-table{min-width:900px}.details-table td,.details-table th{padding:11px 13px}.details-card .modal-head small{color:var(--muted)}
@media(max-width:700px){.report-filter-grid{grid-template-columns:1fr}.report-filter-actions{grid-template-columns:1fr 1fr}.report-filter-actions input{grid-column:1/-1}}
.report-period-picker .period-menu{width:360px}.report-period-picker .period-menu>button{display:block;width:100%;border:0;background:#fff;color:var(--navy);text-align:left;padding:10px 14px;border-radius:8px;cursor:pointer}.report-period-picker .period-menu>button:hover,.report-period-picker .period-menu>button.active{background:#eef2ff;font-weight:700}.report-period-picker .period-custom input{width:100%;padding:9px 8px}.report-period-picker .period-custom button{background:var(--blue);color:#fff;padding:10px;border:0;border-radius:8px}.report-control-top #reportGranularity{min-width:180px;font-weight:650;color:var(--navy)}

.report-refresh-row{width:100%;justify-content:space-between;flex-wrap:nowrap}.report-refresh-top{flex:0 0 190px;min-height:44px;border:0;border-radius:9px;background:var(--blue);color:#fff;padding:11px 18px;font-weight:650;cursor:pointer}.report-tools-row{margin-top:-1px}
@media(max-width:700px){.report-refresh-row{align-items:stretch;flex-direction:column}.report-refresh-row .report-period-picker{width:100%;grid-template-columns:38px 1fr 38px}.report-refresh-top{flex-basis:auto;width:190px;align-self:flex-end}}
#operationModal,#plOperationModal{z-index:30}
.report-rebuild{margin-top:24px;padding-top:22px;border-top:1px solid var(--line)}.report-rebuild-button{border:0;border-radius:10px;background:#5a78cf;color:#fff;padding:14px 22px;font-size:18px;font-weight:700;cursor:pointer}.report-rebuild-button:hover{background:#4969c4}.report-rebuild-button:disabled{opacity:.65;cursor:wait}.report-rebuild p{max-width:600px;margin:16px 0 0;color:var(--muted);font-size:15px;line-height:1.5}.report-rebuild-status{display:block;min-height:20px;margin-top:10px;color:#198754;font-weight:700}.plr-rebuild{border-top:0;padding-top:4px}
