.mr-shell{font:14px/1.5 system-ui,sans-serif;color:#233748;max-width:1500px;margin:auto}.mr-heading{display:flex;justify-content:space-between;align-items:center}.mr-controls{display:flex;flex-wrap:wrap;gap:14px;padding:20px;background:#eef4f7;border-radius:10px}.mr-controls label{display:flex;flex-direction:column;gap:5px;font-weight:600;min-width:180px}.mr-shell select,.mr-shell button{font:inherit;border:1px solid #bbcbd5;border-radius:5px;padding:8px;background:white;color:inherit}.mr-shell button:not(:disabled),.mr-shell a{cursor:pointer}.mr-shell button:disabled{opacity:.5}.mr-shell a{color:#145778}.mr-tabs,.mr-scopes{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.mr-shell [aria-pressed=true]{background:#234b62;color:#fff}.mr-scroll{overflow:auto;max-height:70vh}.mr-shell table{border-collapse:collapse;width:100%;white-space:nowrap}.mr-shell th,.mr-shell td{border-bottom:1px solid #d9e2e8;padding:10px 12px;text-align:right}.mr-shell th:first-child{text-align:left;min-width:270px}.mr-shell thead th{position:sticky;top:0;background:#e8f0f5;z-index:1}.mr-shell small{display:block;font-size:11px;color:#60717b}.mr-shell td button{border:0;background:transparent;padding:0}.mr-shell tbody tr:hover{background:#f1f6f8}.mr-residual{background:#fff4dc}.mr-note{color:#60717b}#mrReadiness{padding:18px;background:#f4f7f9}#mrMessage{min-height:24px}#mrDrill{max-width:1000px;width:85%;max-height:85vh;border:1px solid #8ba6b8;border-radius:12px;padding:24px}#mrDrill::backdrop{background:#102a3e88}.mr-shell pre{white-space:pre-wrap;overflow-wrap:anywhere}.mr-period{margin:12px 0}.mr-period>summary{padding:12px;background:#eef4f7;cursor:pointer}.mr-shell :focus-visible{outline:3px solid #1683b7;outline-offset:2px}@media(max-width:700px){.mr-controls label{width:100%}.mr-shell{padding:8px}.mr-heading{display:block}}@media print{.mr-controls,.mr-tabs,.mr-scopes,#mrMessage,.mr-note{display:none}.mr-scroll{overflow:visible;max-height:none}.mr-shell thead{display:table-header-group}.mr-shell thead th{position:static}.mr-shell table{font-size:9px}.mr-shell tr{break-inside:avoid}}

/* The report owns its property/year/currency controls; Planning pills can refer to a different Budget. */
body:has(#managementReportingView.active) #propertyPill,body:has(#managementReportingView.active) #yearPill,body:has(#managementReportingView.active) #currencyTag{display:none}
body:has(#managementReportingView.active) #versionPill,body:has(#managementReportingView.active) #scenarioPill{display:none}




/* Management Reporting V6 visual completion */
.mr-flash{display:grid;gap:16px;margin:16px 0}
.mr-kpi-grid{display:grid;grid-template-columns:repeat(5,minmax(150px,1fr));gap:10px}
.mr-kpi{border:1px solid #d4e0e7;border-radius:9px;padding:12px;background:#fff;box-shadow:0 1px 2px rgba(22,48,64,.04)}
.mr-kpi span,.mr-kpi small{display:block;color:#627783}.mr-kpi span{font-size:11px;font-weight:700}.mr-kpi strong{display:block;margin:5px 0;font-size:21px;font-variant-numeric:tabular-nums}.mr-kpi small{font-size:10px;line-height:1.35}
.mr-chart-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.mr-chart-wide{grid-column:1/-1}
.mr-chart-card{border:1px solid #d4e0e7;border-radius:9px;padding:12px;background:#fff;overflow:hidden}
.mr-chart-card header{display:flex;justify-content:space-between;gap:10px;align-items:baseline;margin-bottom:8px}.mr-chart-card header span{font-size:10px;color:#6c7e88}
/* Flash charts are drawn by the shared review chart kit (review-charts-v5.js), which carries its own colours. */
.mr-chart-wide .v5-rc svg{max-width:820px}.mr-chart-card>p{margin:0;padding:18px 0;font-size:12px;color:#607581}
.mr-stat-tabs{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0 14px}.mr-stat-tabs button{border:1px solid #b8cbd6;background:#f8fbfc;border-radius:18px;padding:6px 11px;font:inherit;font-size:12px}.mr-stat-tabs button[aria-pressed="true"]{background:#234b62;color:#fff;border-color:#234b62}
.mr-kpi .mr-kpi-state{display:inline-block;margin:0 0 4px;padding:1px 7px;border-radius:9px;font-style:normal;font-size:10px;font-weight:700;background:#fdf1dc;color:#7a4a05}.mr-kpi .mr-kpi-state[data-readiness="unavailable"]{background:#eef2f5;color:#5c707c}.mr-kpi small.mr-kpi-extra{margin-top:3px;color:#4f6370}.mr-kpi small.mr-fav{color:#1f7350;font-weight:700}.mr-kpi small.mr-adverse{color:#a23f35;font-weight:700}
@media(max-width:1100px){.mr-kpi-grid{grid-template-columns:repeat(3,1fr)}.mr-chart-grid{grid-template-columns:1fr}}
@media(max-width:650px){.mr-kpi-grid{grid-template-columns:repeat(2,1fr)}}


/* Comparisons follow Comparison Baselines; changing them is optional. */
.mr-sources{margin:10px 0;border:1px solid #d4e0e7;border-radius:10px;background:#fff}.mr-sources summary{cursor:pointer;padding:10px 14px;color:#38505f}.mr-sources .mr-change{color:#1f6d9a;font-weight:600}.mr-sources[open] summary{border-bottom:1px solid #e1e8ed}.mr-sources .mr-controls{background:none}.mr-source-notes:empty{display:none}.mr-source-notes{margin:-4px 0 10px;color:#7a4a05;font-size:13px}
/* Locked month: approved report; open month: draft. */
.mr-lock-status:empty{display:none}.mr-lock-status{margin:10px 0;padding:10px 14px;border-radius:10px;border:1px solid #d4e0e7}.mr-lock-status.is-locked{background:#ecf6ef;border-color:#9ccbaa}.mr-lock-status.is-draft{background:#fdf6e8;border-color:#e6c98f}.mr-lock-status a{font-weight:600}
.mr-department{display:inline-flex;align-items:center;gap:8px;margin:0 0 10px;font-weight:600}.mr-department[hidden]{display:none}

/* Reporting Packs is the formal statement room, not the investigation screen. */
.mr-shell{font-family:Arial,Helvetica,sans-serif;color:#203041;max-width:1520px}.mr-shell .mr-heading{padding:12px 0 18px;border-bottom:2px solid #274359;margin-bottom:14px}.mr-shell .mr-heading h2{margin:0 0 5px;font-size:22px;letter-spacing:-.02em}.mr-shell .mr-heading p{margin:0;max-width:740px;color:#536475;font-size:13px}.mr-shell .mr-controls{padding:14px;background:#f4f7f9;border:1px solid #dce4e8;border-radius:5px}.mr-shell .mr-tabs{border-bottom:1px solid #bbc9d3;padding-bottom:10px}.mr-shell .mr-tabs button,.mr-shell .mr-scopes button{border-radius:3px}.mr-statement-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin:24px 0 12px;padding-bottom:12px;border-bottom:2px solid #304b60}.mr-statement-heading span{font-size:10px;letter-spacing:.09em;text-transform:uppercase;color:#687a85;font-weight:700}.mr-statement-heading h3{font-size:19px;margin:3px 0 0}.mr-statement-heading p{font-size:12px;color:#526576;text-align:right;margin:0;font-variant-numeric:tabular-nums}.mr-shell .mr-scroll{max-height:72vh;border:1px solid #dee5ea}.mr-shell .mr-scroll table{font-size:12px;font-variant-numeric:tabular-nums}.mr-shell .mr-scroll thead th{background:#e6edf2;color:#243c4e;font-size:11px;letter-spacing:.025em;border-bottom:2px solid #8ca6b8}.mr-shell .mr-scroll tbody th{font-weight:500}.mr-shell .mr-scroll tbody th,.mr-shell .mr-scroll td{border-bottom:1px solid #e0e6ea;padding:8px 11px}.mr-shell .mr-scroll tbody tr:hover{background:#f1f6f9}.mr-shell .mr-scroll small{font-size:10px;color:#6b7985}.mr-shell #mrReadiness{margin-top:12px;border:1px solid #d8e2e8;border-radius:4px;padding:12px;background:#f8fafb}.mr-shell .mr-lock-status{border-radius:4px}.mr-shell .mr-lock-status.is-locked{background:#edf4ef}.mr-shell .mr-lock-status.is-draft{background:#fbf7ed}
@media print{ @page{size:A4 landscape;margin:12mm} .mr-shell{max-width:none;font:10px/1.35 Arial,Helvetica,sans-serif;color:#101820}.mr-shell .mr-heading{margin-bottom:12px}.mr-shell .mr-heading h2{font-size:16px}.mr-shell .mr-heading p,.mr-shell #mrReadiness details,.mr-shell .mr-stat-tabs,.mr-shell #mrLockStatus a,.mr-shell #mrFinancialControlLink,.mr-shell #mrDrill{display:none!important}.mr-shell .mr-statement-heading{margin-top:14px}.mr-shell .mr-scroll{border:0;overflow:visible;max-height:none}.mr-shell .mr-scroll table{white-space:normal;font-size:9px}.mr-shell .mr-scroll th,.mr-shell .mr-scroll td{padding:4px 6px}.mr-shell .mr-scroll thead th{background:#e6edf2!important;print-color-adjust:exact}.mr-shell .mr-scroll tbody tr{break-inside:avoid;page-break-inside:avoid}.mr-shell #mrResults{break-before:auto}}
.mr-missing-note{margin:6px 0 10px;padding:8px 12px;border-left:3px solid #c98a1a;background:#fff8ec;color:#5c3d06;font-size:13px}
.mr-rows-note{margin:6px 0 8px;color:var(--muted,#5b6675);font-size:12px}.mr-rows-note button{margin-left:6px;border:1px solid var(--border,#d6dde5);background:var(--surface,#fff);border-radius:4px;padding:3px 8px;font:inherit;cursor:pointer;color:var(--accent,#234b62)}

/* Review mode: less repeated metadata, stronger financial hierarchy. */
.mr-shell .mr-scroll{background:#fff;border-radius:6px}
.mr-shell .mr-scroll tbody tr:nth-child(even){background:#f7f9fb}
.mr-shell .mr-scroll tbody th{position:sticky;left:0;background:#fff;z-index:1;min-width:240px;white-space:normal}
.mr-shell .mr-scroll thead th:first-child{left:0;z-index:3}
.mr-shell .mr-scroll tbody .mr-row-total,.mr-shell .mr-scroll tbody .mr-row-subtotal{background:#eaf0f5;border-top:2px solid #a7b9c7}
.mr-shell .mr-row-total th,.mr-shell .mr-row-subtotal th{background:#eaf0f5!important;font-weight:700!important}
.mr-shell .mr-row-total td,.mr-shell .mr-row-subtotal td{font-weight:700}
.mr-shell .mr-row-grand_total th,.mr-shell .mr-row-grand_total td{background:#dce7ef!important;font-weight:700!important;border-top:2px solid #607d91!important}
.mr-shell .mr-row-group th{font-weight:700!important}
.mr-shell #mrPortfolioBack{display:inline-block;margin-right:14px;font-size:12px;font-weight:700}
.mr-shell #mrPortfolioBack[hidden]{display:none}
.mr-shell .mr-scroll tbody tr.mr-focus-row th,.mr-shell .mr-scroll tbody tr.mr-focus-row td{background:#fff0c9!important;outline:1px solid #b98419;outline-offset:-1px}
.mr-shell td.mr-fav{color:#1f7350}.mr-shell td.mr-adverse{color:#a23f35}
.mr-shell .mr-residual th{background:#fff4dc!important}
.mr-shell .mr-combined table{min-width:1120px}
.mr-shell .mr-combined thead tr:nth-child(2) th{top:35px}
.mr-shell .mr-scope-bands th{background:#234b62!important;color:#fff!important;text-align:center}
.mr-shell .mr-scope-bands th:first-child{text-align:left}
.mr-shell .mr-scope-bands th+th{border-left:2px solid #bbcbd5}
.mr-shell .mr-scopes [data-mr-details]{margin-left:auto}
.mr-shell .mr-scroll td small{max-width:180px;white-space:normal;line-height:1.3;margin-top:3px}
.mr-shell .mr-scroll thead th{white-space:normal;min-width:75px}
@media print{.mr-shell .mr-combined table{min-width:0}.mr-shell .mr-scroll tbody th{position:static}.mr-shell .mr-combined thead tr:nth-child(2) th{top:auto}.mr-rows-note button{display:none}}

/* Finance desk: complete statements with a compact comparator and line inspector. */
.mr-shell{font-family:system-ui,-apple-system,sans-serif;font-size:12px;color:#203f50}
.mr-shell .mr-heading{padding-bottom:16px;border-bottom:1px solid #dbe4e9;margin-bottom:18px;gap:20px}
.mr-shell .mr-heading h2{font:normal 30px/1.2 Georgia,serif;letter-spacing:-.5px;margin:0 0 10px}
.mr-shell .mr-heading p{max-width:740px;font-size:11px;line-height:1.7;color:#71838b}
.mr-shell .mr-controls{background:white;border:1px solid #dbe4e9;border-radius:12px;padding:16px;align-items:end;gap:12px}
.mr-shell .mr-controls label{font-size:10px;color:#5d7583;min-width:135px;flex:1}
.mr-shell .mr-controls select,.mr-shell .mr-controls button{min-height:35px;border-color:#d2dfe5}
.mr-shell #mrReadiness{padding:11px 14px;background:#f6f9fa;font-size:10px;border-radius:9px;color:#57717f}
.mr-shell #mrReadiness>p{margin:5px 0}.mr-shell #mrReadiness details{font-size:10px}
.mr-shell .mr-tabs{gap:0;border-bottom:1px solid #d8e3e8;margin:20px 0 10px;flex-wrap:nowrap;overflow:auto}
.mr-shell .mr-tabs button{background:none;color:#6b818e;border:0;border-bottom:3px solid transparent;border-radius:0;padding:12px;white-space:nowrap;font-size:11px}
.mr-shell .mr-tabs button[aria-pressed=true]{color:#234b62;border-bottom-color:#ba9557;font-weight:700}
.mr-shell .mr-scopes{align-items:center;margin:12px 0}.mr-shell .mr-scopes button{font-size:10px;border-radius:20px;padding:6px 11px}
.mr-display-comparison{display:flex;align-items:center;gap:12px;padding:10px 0 16px;font-size:11px}.mr-display-comparison small{max-width:450px;font-size:10px}
.mr-display-comparison[hidden]{display:none}.mr-shell .mr-display-comparison select{padding:7px;font-size:11px;border-color:#d2dfe5}
.mr-finance-desk{min-width:0}.mr-finance-desk.is-statement{display:grid;grid-template-columns:minmax(0,1fr) 245px;gap:18px;align-items:start}
.mr-shell #mrResults{min-width:0}.mr-shell .mr-statement-heading{align-items:baseline;gap:12px;border-bottom:2px solid #234b62;padding:8px 0 14px;margin-top:0}
.mr-shell .mr-statement-heading h3{font:normal 22px/1.3 Georgia,serif;margin:7px 0 0}.mr-shell .mr-statement-heading p{font-size:10px;white-space:normal;max-width:180px}
.mr-shell .mr-scroll{border:1px solid #d9e4e9;border-radius:8px;max-height:73vh}
.mr-shell .mr-scroll table{font-size:11px}.mr-shell .mr-scroll tbody th{min-width:185px;max-width:300px}
.mr-shell .mr-scroll th:first-child{min-width:185px}.mr-shell .mr-scroll thead th{font-size:10px;min-width:75px;padding:13px 9px;background:#f0f5f7;border-bottom:1px solid #c6d6de}
.mr-shell .mr-scroll td{padding:10px 9px;font-variant-numeric:tabular-nums}.mr-shell .mr-scroll tbody th{padding-top:10px;padding-bottom:10px}
.mr-shell .mr-line-label{border:0;background:none!important;padding:0;text-align:left;font-size:inherit;font-weight:inherit;color:inherit;line-height:1.45}
.mr-shell .mr-row-grand_total th,.mr-shell .mr-row-grand_total td{background:#193e52!important;color:#fff}
.mr-shell .mr-selected-line td,.mr-shell .mr-selected-line th{box-shadow:inset 0 1px #c3a56b,inset 0 -1px #c3a56b}
.mr-shell .mr-rows-note{font-size:10px;margin:12px 0;color:#75858c;line-height:1.6}
.mr-line-inspector{position:sticky;top:20px;background:#fff;border:1px solid #d9e4e9;border-top:3px solid #b99860;border-radius:10px;padding:19px;min-width:0}
.mr-line-inspector[hidden]{display:none}.mr-inspector-kicker{font-size:9px;text-transform:uppercase;letter-spacing:1px;color:#81929a}
.mr-line-inspector h3{font-size:17px;line-height:1.4;margin:12px 0 5px}.mr-line-inspector .mr-inspector-value{display:block;font-size:25px;font-weight:650;margin:16px 0 8px;font-variant-numeric:tabular-nums}
.mr-line-inspector p{font-size:10px;line-height:1.65;color:#75858c}.mr-line-inspector dl{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px 7px;font-size:10px;border-top:1px solid #e3eaee;padding-top:14px}.mr-line-inspector dd{margin:0;text-align:right;font-variant-numeric:tabular-nums}
.mr-line-inspector h4{font-size:10px;margin:20px 0 10px}.mr-line-inspector svg{width:100%;height:auto}.mr-line-inspector svg polyline{fill:none;stroke-width:2}.mr-inspect-actual{stroke:#24586d}.mr-inspect-compare{stroke:#b99558;stroke-dasharray:4 3}.mr-line-inspector svg text{font-size:9px;fill:#81929a}
.mr-shell .mr-line-inspector small{font-size:9px}.mr-trace-actions{display:grid;gap:7px}.mr-shell .mr-trace-actions button{font-size:10px;text-align:left;border-color:#d8e3e8;padding:7px 9px}
@media(max-width:1150px){.mr-finance-desk.is-statement{grid-template-columns:minmax(0,1fr)}.mr-line-inspector{position:static;display:grid;grid-template-columns:1fr 1fr;gap:0 25px}.mr-line-inspector svg{max-width:260px}.mr-display-comparison{flex-wrap:wrap}}
@media(max-width:650px){.mr-line-inspector{display:block}.mr-shell .mr-heading h2{font-size:25px}.mr-shell .mr-controls label{min-width:100%}.mr-shell .mr-display-comparison small{width:100%}}
@media print{.mr-line-inspector,.mr-display-comparison{display:none!important}.mr-finance-desk.is-statement{display:block}.mr-shell .mr-scroll{max-height:none}.mr-shell .mr-selected-line td,.mr-shell .mr-selected-line th{box-shadow:none}}
