/* Reports: hierarchy, applied query, compact menus and readable tabular data. */
#reports-page{color:#18283f;max-width:1440px;margin:0 auto;font-variant-numeric:tabular-nums}
.reports-page-heading{display:flex;justify-content:space-between;align-items:center;margin:28px 0 24px;gap:16px}.reports-page-heading h1{font-size:30px;letter-spacing:-1px;line-height:1.2;margin:5px 0 0;font-weight:650}.reports-page-heading .eyebrow{font-size:11px;letter-spacing:1px;color:#738196}
.reports-report-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:22px}.reports-report-heading h2{font-size:27px;letter-spacing:-.7px;margin:5px 0 7px;font-weight:650}.reports-report-heading p{color:#65738a;max-width:65ch;font-size:14px;margin:0 0 8px;line-height:1.5}.reports-report-heading .report-group-label{font-size:12px;font-weight:600;color:#3562a5;margin:0}.reports-report-heading #applied-report-period{font-size:12px;color:#64748b}.report-heading-actions{display:flex;gap:10px;align-items:center;padding-top:24px;flex-shrink:0}
#reports-page button,#reports-page summary{font-weight:600;font-size:13px;min-height:40px;border-radius:7px}#reports-page .report-text-button{background:transparent;border-color:transparent;color:#315e9a;padding:9px 10px}#reports-page button:hover{background:#edf3fb;color:#244f8b}#reports-page .primary{background:#2d60c3;border-color:#2d60c3;color:white}#reports-page .primary:hover{background:#234fa7;color:white}
.report-menu{position:relative;flex-shrink:0}.report-menu>summary{list-style:none;border:1px solid #d5dde7;background:white;cursor:pointer;padding:10px 14px;display:flex;align-items:center;gap:16px;white-space:nowrap}.report-menu>summary::-webkit-details-marker,.report-row-menu>summary::-webkit-details-marker{display:none}.report-menu-items{position:absolute;top:calc(100% + 8px);right:0;z-index:30;min-width:220px;max-width:calc(100vw - 40px);padding:7px;background:white;border:1px solid #d8e0ea;border-radius:10px;box-shadow:0 12px 32px #192c4b20;display:grid;gap:3px}.report-menu-items button{text-align:left;border:0;background:transparent;white-space:normal;padding:11px 12px;width:100%}.report-menu-items>span{padding:10px 12px;color:#52647d;font-size:12px;border-bottom:1px solid #edf0f5;line-height:1.5}.report-menu-items small{display:block;font-size:11px;font-weight:500}
.report-controls{background:white;border:1px solid #e0e6ef;border-radius:10px;padding:18px 20px;margin-bottom:22px}.report-control-fields{display:flex;align-items:end;flex-wrap:wrap;gap:16px}.report-control-fields label{display:grid;gap:7px;color:#52647d;font-size:12px;font-weight:600;min-width:155px;flex:0 1 190px}.report-control-fields input,.report-control-fields select{min-height:42px;font-size:16px;min-width:0;width:100%;border:1px solid #d6deea;background:#fff;padding:9px 12px;color:#243851}.draft-report-name{display:grid;gap:7px;align-self:center;min-width:220px;margin-right:auto}.draft-report-name small{color:#718096;font-size:11px}.draft-report-name b{font-size:13px;font-weight:600}.report-control-fields .primary{min-width:125px;min-height:42px}.report-control-status{font-size:12px;color:#77869b;margin-top:12px;line-height:1.5}.report-control-status.is-pending{color:#876126;font-weight:600;background:#fff8e9;padding:9px 12px;border-radius:5px}.report-controls .inline-error:empty{display:none}.report-controls .inline-error{margin:10px 0 0}
.report-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.report-kpi{background:white;border:1px solid #e1e7ee;border-radius:10px;padding:19px 20px;display:grid;gap:9px}.report-kpi>span{color:#617087;font-size:12px;font-weight:600}.report-kpi strong{font-size:25px;font-weight:650;letter-spacing:-.8px;line-height:1.2;overflow-wrap:anywhere;color:#18283f}.report-kpi small{font-size:11px;font-weight:500;color:#8290a2;line-height:1.5}
.report-results{border:1px solid #e0e6ef;border-radius:11px;background:white;overflow:visible}.report-table-heading{display:flex;align-items:center;justify-content:space-between;padding:19px 20px;gap:12px}.report-table-heading h3{margin:0;font-size:15px;font-weight:600}.report-table-heading span{font-size:12px;color:#718198}.report-scroll-hint{display:none}.report-results-table{border-radius:0;overflow:auto;margin:0;width:100%;max-width:100%}.report-results-table table{width:100%;min-width:940px;border-collapse:collapse;font-size:12px}.report-results-table th{padding:12px 14px;background:#f7f9fc;color:#6b7b91;font-size:11px;text-transform:none;letter-spacing:0;font-weight:600;border-top:1px solid #e8edf4;white-space:nowrap}.report-results-table td{padding:14px;white-space:nowrap;border-bottom:1px solid #edf0f5;color:#33445d;font-weight:500;vertical-align:middle}.report-results-table tbody tr:hover{background:#fbfcfe}.report-results-table td.num{font-weight:600;letter-spacing:-.1px}.report-results-table .receipt-ref{font-family:ui-monospace,Consolas,monospace;font-size:11px;color:#537199;white-space:nowrap}.report-results-table .report-text-cell{white-space:normal;min-width:155px;max-width:280px;overflow-wrap:anywhere}.report-results-table .report-empty{text-align:center;padding:45px 18px;white-space:normal}.report-empty strong{font-size:14px;font-weight:600}.report-empty p{font-size:12px;color:#79889a;margin:8px 0 0}.report-results-table th:first-child,.report-results-table td:first-child{padding-left:20px}.report-row-actions{width:62px;text-align:center}.report-row-menu{position:relative}.report-row-menu summary{list-style:none;cursor:pointer;color:#7788a0;display:flex;align-items:center;justify-content:center;padding:0 8px;border:0;min-width:40px}.report-row-menu[open] .report-menu-items{position:static;min-width:145px;box-shadow:none;border-color:#e4eaf2;padding:3px;margin-top:3px}.report-row-menu[open] summary{color:#255cbd}
.report-data-checks{padding:16px 20px;color:#697f76;font-size:12px;border-radius:0 0 11px 11px;background:#fafcfb}.data-check-status{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.data-check-status strong{font-weight:600;color:#4c6258}.status-dot{height:6px;width:6px;background:#548577;border-radius:50%;flex-shrink:0}.data-check-status details{margin-left:auto}.data-check-status summary{cursor:pointer;list-style:none;color:#59779c;display:flex;align-items:center}.data-check-content{padding:12px 0 0;font-size:12px;line-height:1.6;color:#64748b;max-width:75ch}.data-check-content p{margin:5px 0}.report-visible-warning{margin:9px 0 0;line-height:1.6;color:#8b6530}.report-data-checks.has-failures{background:#fff6f5;color:#a44335}.report-data-checks.has-failures strong{color:#a44335}.has-failures .status-dot{background:#b44e40}.has-limits .status-dot{background:#a98545}
dialog.report-picker,dialog.report-source-drawer{padding:24px;border:1px solid #dbe3ee;border-radius:14px;color:#20314b;box-shadow:0 24px 80px #152b4938;max-height:calc(100dvh - 40px);overflow-y:auto;background:white;width:min(680px,calc(100vw - 40px));max-width:calc(100vw - 40px)}dialog.report-source-drawer{width:min(660px,calc(100vw - 40px))}dialog.report-picker::backdrop,dialog.report-source-drawer::backdrop{background:#14263b70}.report-dialog-head{display:flex;justify-content:space-between;align-items:start;gap:20px;margin-bottom:20px}.report-dialog-head h2{font-size:24px;letter-spacing:-.5px;margin:5px 0}.report-dialog-head small{font-size:11px;color:#6b7b91}.report-picker-search{display:grid;gap:7px;font-size:12px;color:#677a94;margin-bottom:22px}.report-picker input,.report-picker select,.report-source-drawer input,.report-source-drawer select,.report-source-drawer textarea{min-height:44px;font-size:16px;width:100%}.report-choice-group{margin:0 0 22px}.report-choice-group h3{font-size:11px;text-transform:uppercase;letter-spacing:1px;color:#7d8ba0;margin:0 0 8px}.report-choice-group button{display:flex;align-items:center;justify-content:space-between;gap:20px;width:100%;border:0;border-radius:7px;background:white;text-align:left;padding:12px;margin:3px 0}.report-choice-group b{font-size:13px;font-weight:600;display:block}.report-choice-group small{font-size:11px;line-height:1.5;color:#7a889b;display:block;font-weight:500;margin-top:3px}.report-choice-group button[aria-current]{background:#edf3fe;color:#245ab2}.party-note{background:#f7f9fc;padding:15px;margin:10px 0;border-radius:8px}.party-note small{display:block;color:#72849b;margin:5px 0}.party-note p{font-size:13px;line-height:1.5;overflow-wrap:anywhere}.report-source-drawer .source-panel{padding:0}.report-source-drawer h3{font-size:18px;line-height:1.5;overflow-wrap:anywhere}.report-source-drawer p,.report-source-drawer .source-row{font-size:13px;line-height:1.6;overflow-wrap:anywhere}.report-source-drawer .record-form{margin-top:22px}.report-source-drawer .source-row button{width:100%;text-align:left;white-space:normal;padding:12px}.report-source-drawer #report-detail-back{margin-bottom:12px}.report-source-drawer .record-form button{min-height:44px}
@media(max-width:1000px){.report-kpi strong{font-size:22px}.report-kpi-grid{gap:12px}.report-kpi{padding:16px}.report-heading-actions{padding-top:12px}.reports-report-heading h2{font-size:25px}.draft-report-name{width:100%;margin-bottom:2px}}
@media(max-width:800px){#reports-page button,#reports-page summary{min-height:44px;min-width:44px}.reports-page-heading{margin:22px 0 20px}.reports-page-heading h1{font-size:27px}.reports-report-heading{display:block;margin-bottom:18px}.reports-report-heading h2{font-size:25px}.reports-report-heading p{font-size:13px}.report-heading-actions{padding-top:14px;justify-content:space-between}.report-menu>summary{font-size:12px;padding:10px 12px}.report-control-fields{gap:12px}.report-controls{padding:16px}.report-control-fields label{flex:1 1 100%;min-width:0}.report-control-fields input,.report-control-fields select{font-size:16px;min-height:44px}.report-control-fields .primary{width:100%;min-height:44px}.report-control-status{font-size:11px}.draft-report-name{min-width:0}.report-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:18px}.report-kpi{padding:15px 13px;gap:8px}.report-kpi strong{font-size:21px;letter-spacing:-.6px}.report-kpi small{font-size:10px}.report-kpi>span{font-size:11px}.report-table-heading{padding:16px}.report-scroll-hint{display:block;font-size:11px;color:#8090a4;margin:0;padding:0 16px 12px}.report-results-table table{min-width:960px}.report-results-table th,.report-results-table td{padding:12px}.report-results-table td{font-size:12px}.report-data-checks{padding:12px 16px}.data-check-status{gap:6px;font-size:11px}.data-check-status details{width:100%;margin:0}.data-check-status summary{justify-content:flex-start;width:max-content}.data-check-content{font-size:12px}dialog.report-picker,dialog.report-source-drawer{padding:20px 16px;max-width:calc(100vw - 24px);width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}.report-dialog-head h2{font-size:22px}.report-menu-items{min-width:210px}.report-choice-group button{min-height:62px}.report-source-drawer .record-form{display:block}.report-source-drawer .record-form label{margin:14px 0}.report-source-drawer .record-form textarea{min-height:100px}.report-source-drawer .record-form button{width:100%;min-height:44px}}
.report-kpi .kpi-currency{float:right;margin-left:6px;font-size:10px;color:#8a98ab;font-weight:500}@media(max-width:360px){.report-kpi strong{font-size:20px}.report-kpi{padding:14px 12px}}
.featured-reports{margin:0 0 26px}.featured-reports-heading{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-bottom:10px}.featured-reports-heading h2{margin:0;font-size:13px;font-weight:600;color:#52647d}.featured-reports-heading>span{font-size:11px;color:#8390a2}.featured-report-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}#reports-page .featured-report{display:flex;gap:10px;align-items:start;text-align:left;border:0;background:#eaf0f7;color:#354b68;padding:14px 12px;min-height:88px;white-space:normal;box-shadow:none}.featured-report-number{font-size:10px;color:#8b9bb0;line-height:1.9}.featured-report b{display:block;font-size:12px;line-height:1.45;font-weight:600}.featured-report small{display:block;font-size:10px;line-height:1.5;color:#8391a4;margin-top:5px;font-weight:500}#reports-page .featured-report.is-selected{background:#e5edfd;color:#235ab4;box-shadow:inset 0 -2px #3b6dc6}.featured-report.is-selected .featured-report-number{color:#5880c4}#reports-page .featured-report:hover{background:#e0e9f7}.report-control-fields #report-profit-group{min-width:0}@media(max-width:1000px){.featured-report-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:800px){.featured-report-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.featured-report:last-child{grid-column:1/-1}#reports-page .featured-report{padding:12px;min-height:82px}.featured-reports-heading{display:block}.featured-reports-heading>span{display:block;margin-top:5px}.featured-reports{margin-bottom:22px}}
