/* Scoped Institution Profile presentation. Published homepage styles are untouched. */
.institution-profile-content{display:flex;flex-direction:column;gap:24px;min-width:0}.institution-profile-content>.panel{margin:0}.profile-bank-identity{padding:24px 28px;background:#fff;border:1px solid #dce6e2;border-left:4px solid #078879;border-radius:18px;margin:20px 0}.profile-bank-identity h2{font-size:28px;letter-spacing:-.6px}.profile-section-nav{gap:8px;border:0;margin:20px 0 26px;flex-wrap:wrap}.profile-section-nav button{border:1px solid #dce6e2;border-radius:24px;padding:10px 16px;background:#fff}.profile-section-nav button.active{background:#143a37;color:#fff;border-color:#143a37}.profile-peer-controls{margin-left:auto;max-width:320px;font-size:13px}.profile-peer-controls summary{cursor:pointer;color:#527169;padding:10px}.profile-peer-controls p{line-height:1.6}.profile-peer-controls label{display:grid;gap:8px}.profile-curated{display:flex;flex-direction:column;gap:26px;min-width:0}.profile-section-heading{max-width:850px}.profile-section-heading h2{font-size:34px;letter-spacing:-1px;margin:8px 0 12px}.profile-section-heading p{color:#657779;line-height:1.7;margin:0;font-size:16px}.profile-snapshot{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.profile-snapshot article{padding:22px}.profile-snapshot strong{display:block;font-size:30px;letter-spacing:-.8px;color:#172d35;margin:14px 0 10px}.profile-snapshot small{display:block;color:#77888a;font-size:12px;line-height:1.5}.profile-snapshot .metric-link{font-size:14px;text-align:left}.profile-change-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.profile-change{display:flex;flex-direction:column;gap:12px;align-items:start;padding:18px;background:#f5f8f6;border:1px solid #e4ebe7;border-radius:12px;text-align:left;color:#16312e;cursor:pointer;min-width:0}.profile-change span{font-size:13px;line-height:1.5;color:#637976}.profile-change strong{font-size:24px;letter-spacing:-.6px}.profile-change small{font-size:12px;line-height:1.5;color:#637976}.profile-mix-grid,.profile-chart-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;min-width:0}.profile-mix h3,.profile-chart h3,.profile-funding-note h3{font-size:20px;letter-spacing:-.5px;line-height:1.4;margin:8px 0 14px}.profile-mix-bar{display:flex;height:14px;border-radius:12px;overflow:hidden;margin:24px 0 20px}.profile-mix-list{list-style:none;margin:0;padding:0}.profile-mix-list li{display:grid;grid-template-columns:minmax(0,1fr) auto 52px;align-items:start;gap:10px;padding:12px 0;border-bottom:1px solid #ecf0ed;font-size:13px}.profile-mix-list li small{color:#77898a;text-align:right}.profile-mix-list .metric-link{font-size:13px;text-align:left;line-height:1.5}.profile-mix .small-note{font-size:12px;line-height:1.7}.profile-chart{min-width:0;padding:24px}.profile-chart .panel-head{align-items:start;gap:10px}.profile-chart .panel-head p{line-height:1.5;font-size:12px}.profile-chart .chart{padding:0;margin:18px 0 12px;min-width:0}.profile-chart .chart svg{display:block;max-width:100%;width:100%;height:auto}.profile-chart .small-note,.profile-chart-source{font-size:12px;line-height:1.7}.profile-chart-source{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #e3ebe6;padding:12px 0;color:#718581;flex-wrap:wrap}.profile-chart-source .metric-link{font-size:12px}.profile-chart details summary{font-size:12px;cursor:pointer;color:#527169}.profile-chart .table-scroll{overflow:auto;max-height:300px;margin-top:12px}.profile-trend-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.profile-trend-heading h3{font-size:22px;letter-spacing:-.5px}.profile-trend-heading label{display:flex;gap:12px;align-items:center;font-size:13px;color:#637976}.profile-trend-heading .select{min-width:140px}.profile-explorer>summary{font-size:14px;cursor:pointer;font-weight:600;color:#527169}.profile-explorer>.institution-trend{padding:0;border:0;box-shadow:none;margin:20px 0 0}.profile-observation-table .panel-head{gap:12px;flex-wrap:wrap}.profile-observation-table:not(.profile-show-peers):not(.profile-earnings) .review-table :is(th,td):nth-child(n+5){display:none}.profile-observation-table.profile-earnings:not(.profile-show-peers) .review-table :is(th,td):nth-child(n+7){display:none}.profile-observation-table .review-table{width:100%}.profile-observation-table>.table-scroll{overflow:auto}.profile-funding-note p{font-size:14px;line-height:1.8;color:#637976}.institution-profile-content .income-bridge{margin:0}.profile-curated button:focus-visible,.profile-section-nav button:focus-visible{outline:3px solid #75b8a0;outline-offset:3px}
@media(max-width:1050px){.profile-snapshot{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-mix-grid,.profile-chart-grid{grid-template-columns:1fr}.profile-change-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.profile-bank-identity{padding:20px}.profile-bank-identity h2{font-size:24px}.profile-section-heading h2{font-size:28px}.profile-snapshot article{padding:16px}.profile-snapshot strong{font-size:25px}.profile-change-grid{grid-template-columns:1fr}.profile-peer-controls{margin-left:0;width:100%;max-width:100%}.profile-trend-heading{align-items:start;flex-direction:column;gap:8px}.profile-trend-heading label{width:100%}.profile-trend-heading .select{flex:1}.profile-chart{padding:18px}.profile-section-nav{gap:6px}.profile-section-nav button{padding:9px 12px;font-size:12px}.profile-mix-list li{grid-template-columns:minmax(0,1fr) auto 42px}.institution-profile-content{gap:20px}.profile-chart .panel-head .button{padding:8px;flex-shrink:0}}

.profile-source-evidence{overflow-wrap:anywhere;min-width:0}
.profile-wide{grid-column:1/-1}.profile-explanation h3{font-size:23px;letter-spacing:-.5px;margin:10px 0 18px}.profile-explanation p,.profile-reporting p{line-height:1.8;color:#637976;font-size:14px}.profile-explanation .table-scroll{overflow:auto;max-width:100%;margin:20px 0}.profile-explanation table{min-width:900px;width:100%;font-size:12px}.profile-explanation :is(th,td){padding:12px;text-align:left;vertical-align:top}.profile-legend{display:flex;flex-wrap:wrap;gap:18px;margin:20px 0}.profile-reporting summary{cursor:pointer;color:#527169;font-weight:600}.profile-explanation .panel-head{gap:16px;flex-wrap:wrap}.profile-explanation label{display:grid;gap:8px;font-size:13px}.profile-chart h4{font-size:14px;margin:18px 0 8px}
/* Dated facts and source detail keep the established institution visual language. */
.bank-fact-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem;margin:1.5rem 0}
.bank-fact-grid dt{font-size:.875rem;color:var(--muted,#637786);margin-bottom:.35rem}
.bank-fact-grid dd{margin:0;font-size:1rem;font-weight:600;overflow-wrap:anywhere}
.bank-facts .small-note,.bank-ledger .small-note{overflow-wrap:anywhere}
.bank-operating th small,.bank-income th small,.bank-products td small{display:block;font-weight:400;font-size:.875rem;color:var(--muted,#637786)}
.bank-products .profile-chart-grid{margin-top:1.5rem}
.bank-products .profile-chart{min-width:0}
.bank-products .profile-chart h3{font-size:1rem}
.bank-products label{display:inline-flex;gap:.75rem;align-items:center}
.bank-ledger{margin-top:1.5rem}
.bank-ledger summary{cursor:pointer;font-weight:600}
@media(max-width:600px){.bank-fact-grid{grid-template-columns:minmax(0,1fr)}.bank-products label{display:flex;flex-wrap:wrap}}
/* Institution dashboard: compact reference-style summary, scoped to this screen. */
.bank-dashboard{gap:16px}.bank-dashboard .profile-curated{gap:16px}.bank-dashboard-caption{display:flex;align-items:baseline;justify-content:space-between;gap:16px}.bank-dashboard-caption h2{font-size:22px;letter-spacing:-.4px;margin:0}.bank-dashboard-caption>span{font-size:14px;color:#637976}.bank-dashboard-identity{margin:14px 0 10px;padding:16px 22px;border-radius:12px}.bank-dashboard-identity h2{font-size:24px}.bank-dashboard-identity p{font-size:14px;line-height:1.6}.bank-identity-details{margin:0 0 16px;padding:12px 18px;font-size:14px}.bank-identity-details summary{cursor:pointer;color:#395e54;font-weight:600}.bank-identity-sources{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px}.bank-identity-sources .bank-facts{margin:0;padding:18px;min-width:0}.bank-identity-sources .bank-fact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bank-dashboard-nav{margin:14px 0;gap:0;background:#eaf0ed;border:1px solid #d5e1db;border-radius:10px;padding:4px}.bank-dashboard-nav button{border:0;border-radius:7px;padding:10px 16px;font-size:14px;background:transparent}.bank-dashboard-nav button.active{background:#123d35;color:#fff}.bank-operating-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:16px;align-items:stretch}.bank-operating-grid>.panel{margin:0;padding:18px;min-width:0}.bank-operating-grid h3{font-size:18px;margin:0}.bank-operating-grid .eyebrow{display:none}.bank-operating table{font-size:14px;width:100%;white-space:nowrap}.bank-operating :is(th,td){padding:7px 9px;border-bottom:1px solid #e9efeb}.bank-operating th small{font-size:12px}.bank-operating .small-note{font-size:12px;line-height:1.6;margin-bottom:0}.bank-summary-assets svg{display:block;width:100%;height:auto;margin:22px 0}.bank-summary-assets svg text{font-size:12px;fill:#566d65}.bank-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:start}.bank-summary-group{margin:0;padding:16px 18px;border-radius:10px;border-top:3px solid #548877;min-width:0}.bank-summary-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:10px}.bank-summary-heading h3{font-size:18px;margin:0}.bank-summary-heading>.metric-link{font-size:13px;white-space:nowrap}.bank-summary-group table{width:100%;font-size:14px;border-collapse:collapse}.bank-summary-group thead th{font-size:12px;color:#6b7c76;font-weight:500;text-align:right;padding:6px 0 9px;border-bottom:1px solid #dce6df}.bank-summary-group thead th:first-child{text-align:left}.bank-summary-group tbody th{font-weight:400;text-align:left;padding:8px 8px 8px 0;line-height:1.45}.bank-summary-group :is(th,td){border-bottom:1px solid #e9efeb;vertical-align:top}.bank-summary-group td{padding:8px 0 8px 10px;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.bank-summary-group td:nth-child(2){font-weight:600;color:#183d32}.bank-summary-group td:nth-child(3){font-size:12px;color:#697e75}.bank-summary-group .metric-link{font-size:14px;text-align:left;display:inline;color:#245d50;line-height:1.45}.bank-metric-drill{border:0;background:transparent;color:#639383;padding:0 4px;cursor:pointer}.bank-summary-group .small-note{font-size:12px;line-height:1.6;margin:12px 0 0}.bank-summary-notes,.bank-extra-analysis{padding:14px 18px;font-size:14px}.bank-summary-notes summary,.bank-extra-analysis summary{cursor:pointer;color:#395e54;font-weight:600}.bank-extra-analysis>.panel{margin:16px 0 0}.bank-drill-surface{min-width:0}.bank-metric-tabs{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:16px;padding-bottom:14px;border-bottom:1px solid #dce6df}.bank-metric-tabs button{font-size:14px;border:1px solid #d7e3dc;background:#fff;color:#436c5e;border-radius:6px;padding:8px 12px;cursor:pointer;line-height:1.4}.bank-metric-tabs button.active{background:#e1efe7;border-color:#70a38b;color:#123d35;font-weight:600}.bank-drill-surface .profile-chart{margin:0}.bank-metric-tabs button:focus-visible,.bank-summary-group button:focus-visible{outline:3px solid #75b8a0;outline-offset:2px}
@media(max-width:1100px){.bank-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bank-operating-grid{grid-template-columns:1fr}.bank-summary-assets svg{max-height:320px}}
@media(max-width:700px){.bank-summary-grid,.bank-identity-sources{grid-template-columns:1fr}.bank-dashboard-caption{align-items:start;flex-direction:column;gap:8px}.bank-summary-group{padding:16px}.bank-dashboard-nav{flex-wrap:wrap;overflow:visible}.bank-dashboard-nav button{flex-shrink:0;padding:10px 12px}.bank-metric-tabs{flex-wrap:wrap;overflow:visible}.bank-metric-tabs button{flex-shrink:0;max-width:240px}.bank-identity-sources .bank-fact-grid{grid-template-columns:1fr}.bank-dashboard .profile-chart{padding:16px}.bank-dashboard-identity{padding:16px}.bank-operating-grid>.panel{padding:16px}}
.bank-header-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:16px 0 0;padding-top:14px;border-top:1px solid #dce6df;width:100%}.bank-header-facts dt{font-size:12px;color:#637976}.bank-header-facts dd{font-size:17px;font-weight:600;margin:5px 0 0;color:#173d31;font-variant-numeric:tabular-nums}.bank-dashboard-identity{display:flex;flex-wrap:wrap}.bank-income-composition{margin-bottom:20px}.bank-income-composition .bank-dashboard-caption{margin-bottom:14px}.bank-income-composition table{font-size:14px;width:100%;white-space:nowrap}.bank-income-composition :is(th,td){padding:9px;border-bottom:1px solid #e7ede9;text-align:right}.bank-income-composition th:first-child{text-align:left}.bank-income-legend{display:flex;gap:20px;font-size:14px;margin:16px 0}.bank-income-legend span:first-child{color:#75a990}.bank-income-legend span:last-child{color:#087f72}.bank-metric-detail-grid{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(0,1.2fr);gap:24px;align-items:start}.bank-metric-detail-grid .chart{min-width:0}.bank-metric-detail-grid details{min-width:0}.bank-metric-detail-grid :is(th,td){font-size:14px;padding:8px}.bank-history-control{display:flex;align-items:center;gap:8px;font-size:14px}.bank-history-control .select{padding:8px;min-width:125px}.bank-drill-surface .panel-head{flex-wrap:wrap}.bank-drill-surface .panel-head>div{flex:1;min-width:190px}.bank-dashboard-nav{flex-wrap:wrap;gap:4px;overflow:visible;white-space:normal;min-width:0;box-sizing:border-box}.bank-dashboard-nav button{flex-shrink:0;border-radius:6px;font-size:14px}.bank-dashboard-nav button.active{box-shadow:0 2px 5px #173d3122}
@media(min-width:1600px){.bank-operating-grid{grid-template-columns:1.2fr 1fr}.bank-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1000px){.bank-metric-detail-grid{grid-template-columns:1fr}.bank-metric-detail-grid .chart{grid-row:1}.bank-header-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}

.bank-operating-compact:not(.bank-operating-full) :is(th,td):is(:nth-child(3),:nth-child(4),:nth-child(8),:nth-child(9)){display:none}.bank-operating-compact .panel-head{flex-wrap:wrap}.bank-operating-compact h3{font-size:17px}.bank-income-composition[hidden]{display:none}

.bank-category-context{min-width:0}.bank-category-context>summary{cursor:pointer;color:#395e54;font-weight:600;padding:16px 0}.bank-category-context[open]{display:grid;gap:16px}.bank-category-context>summary[hidden]{display:none}

@media(max-width:700px){.bank-dashboard-nav,.bank-metric-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;overflow:visible}.bank-dashboard-nav button,.bank-metric-tabs button{min-width:0;max-width:none;white-space:normal;text-align:center;overflow-wrap:break-word;padding:9px 8px}}

/* Exact observations fit their panel without hiding precision. */
.institution-observations{min-width:0;max-width:100%}.institution-values-table{width:100%;table-layout:fixed}.institution-values-table :is(th,td){white-space:normal;overflow-wrap:anywhere;vertical-align:top}.institution-values-table th{line-height:1.5}.institution-values-table :is(th,td):first-child{width:88px;white-space:nowrap}.institution-values-table td:nth-child(2){font-variant-numeric:tabular-nums}.institution-values-merger{min-width:540px}.profile-chart .institution-observations{max-height:520px}.bank-metric-detail-grid>*,.bank-income-composition>*,.bank-dashboard .panel-head>div{min-width:0}.bank-dashboard .panel-head{flex-wrap:wrap}.bank-dashboard .profile-focus-controls{max-width:100%;flex-wrap:wrap}
/* Wide source tables scroll inside their panel, including expanded category details. */
.bank-category-context{grid-template-columns:minmax(0,1fr)}
.bank-category-context>*{min-width:0;max-width:100%}

.loan-exposure-panel{min-width:0}.loan-exposure-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:22px}.loan-exposure-grid>*{min-width:0;max-width:100%}.loan-exposure-table{width:100%;font-size:12px}.loan-exposure-table th{white-space:normal;line-height:1.5;min-width:90px}.loan-exposure-table th:first-child{min-width:80px}.loan-exposure-table td{white-space:nowrap;font-variant-numeric:tabular-nums;text-align:right}.loan-exposure-panel .table-scroll{overflow:auto;max-height:470px}.loan-exposure-charts{display:grid;gap:22px;min-width:0}.loan-exposure-charts section{min-width:0}.loan-exposure-charts h4{font-size:17px;line-height:1.5;margin:4px 0 10px}.loan-exposure-charts .chart{padding:0;margin:14px 0}.loan-exposure-charts svg{display:block;width:100%;height:auto;max-width:100%}.loan-chart-legend{display:flex;flex-wrap:wrap;gap:16px;font-size:12px;color:#078879}.loan-chart-legend .loan-committed{color:#345d89}.loan-chart-legend .loan-unfunded{color:#537c9d}.loan-component-history{min-width:0;overflow-x:auto;font-size:12px}.loan-component-history summary{padding:12px 0;cursor:pointer;color:#395e54}.loan-exposure-panel .small-note{font-size:12px;line-height:1.6}.loan-exposure-loading{min-height:240px}.loan-exposure-panel [data-chart-point]:focus-visible{outline:2px solid #345d89;outline-offset:3px}
@media(min-width:1600px){.loan-exposure-grid{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}}
.loan-exposure-table .definition-name{white-space:normal;text-align:left;line-height:1.5;font-size:inherit}.chart-value-tooltip{white-space:pre-line}

/* Loan portfolio: history on the left, two primary charts on the right. */
.loan-exposure-grid{grid-template-columns:minmax(300px,.85fr) minmax(0,1.15fr);align-items:start;gap:24px}.loan-balance-history h4{font-size:17px;line-height:1.5;margin:4px 0 10px}.loan-balance-history>.small-note{margin:0 0 12px}.loan-balance-table{table-layout:fixed;border-collapse:collapse;width:100%}.loan-balance-table :is(th,td){padding:9px 6px;min-width:0;border-bottom:1px solid #e4ece7}.loan-balance-table th:first-child{width:76px;min-width:0}.loan-balance-table th:last-child{width:58px;min-width:0}.loan-balance-table th{overflow-wrap:normal}.loan-balance-table td:last-child{text-align:center}.loan-exposure-panel .panel-head>div{min-width:0}.loan-exposure-charts{gap:18px}.loan-exposure-charts svg text,.loan-concentration-detail svg text{font-size:16px}.loan-exposure-charts .chart{margin:10px 0 0}.loan-exposure-charts .small-note{margin:6px 0 0}.loan-capital-detail,.loan-concentration-detail{min-width:0;margin-top:16px;font-size:12px}.loan-capital-detail>summary,.loan-concentration-detail>summary{padding:12px 0;cursor:pointer;color:#395e54;font-weight:600}.loan-input-table{min-width:540px;font-size:12px;width:100%;border-collapse:collapse}.loan-input-table :is(th,td){padding:8px;white-space:nowrap;text-align:right}.loan-concentration-detail .loan-chart-legend{margin:10px 0}.loan-concentration-detail svg{display:block;width:100%;max-width:900px;height:auto}.loan-component-history p{line-height:1.6}.loan-component-history table{font-size:12px}.loan-component-history :is(th,td){padding:8px}.loan-exposure-panel .panel-head{margin-bottom:18px}
@media(max-width:900px){.loan-exposure-grid{grid-template-columns:minmax(0,1fr)}.loan-balance-history .table-scroll{max-height:390px}.loan-exposure-charts svg text{font-size:16px}}
@media(min-width:1600px){.loan-exposure-grid{grid-template-columns:minmax(340px,.85fr) minmax(0,1.15fr)}}

.loan-exposure-panel{padding:24px}.loan-exposure-panel .panel-head{padding:0;margin-bottom:20px}.loan-exposure-panel .loan-balance-table{min-width:0}@media(max-width:600px){.loan-exposure-panel{padding:16px}.loan-exposure-panel .panel-head{gap:12px}}
/* Product-level loan performance stays within the profile's responsive frame. */
.loan-performance-panel,.loan-performance-grid>*{min-width:0}
.loan-performance-panel>.bank-dashboard-caption{padding:24px;display:flex;gap:16px;flex-wrap:wrap;align-items:center;justify-content:space-between}
.loan-performance-controls{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.loan-performance-snapshot{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:20px 0}
.loan-performance-snapshot .panel{padding:20px;min-width:0}
.loan-performance-snapshot strong{display:block;font-size:clamp(20px,2vw,28px);margin-top:12px;overflow-wrap:anywhere}
.loan-performance-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.loan-performance-chart{padding:24px}
.loan-performance-chart .panel-head{padding:0}
.loan-performance-chart svg{width:100%;height:auto;display:block}
.loan-performance-chart svg text{font-size:16px;fill:#75828b}
.loan-performance-observations,.loan-performance-panel>details{padding:20px;margin-top:20px;min-width:0}
.loan-performance-panel .table-scroll{max-width:100%;overflow:auto}
.loan-performance-panel td{white-space:nowrap;text-align:right}
.loan-performance-panel th{white-space:normal}
.loan-ndfi-composition{border-top:1px solid #dbe6e1;margin:24px 0;padding-top:24px;min-width:0}
.loan-ndfi-grid{display:grid;grid-template-columns:minmax(220px,.6fr) minmax(0,1.4fr);gap:20px;align-items:center}
.loan-ndfi-grid svg{width:100%;max-width:360px;justify-self:center;height:auto}
.loan-ndfi-grid td{white-space:nowrap;text-align:right}
.loan-ndfi-grid th{white-space:normal}
.loan-ndfi-grid .table-scroll{min-width:0;max-width:100%;overflow:auto}
.loan-ndfi-unavailable{grid-template-columns:minmax(0,1fr)}
@media(max-width:1200px){.loan-performance-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:900px){.loan-ndfi-grid{grid-template-columns:minmax(0,1fr)}.loan-performance-snapshot{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.loan-performance-chart,.loan-performance-panel>.bank-dashboard-caption{padding:16px}.loan-performance-snapshot{gap:10px}.loan-performance-snapshot .panel{padding:14px}.loan-performance-controls{width:100%}.loan-performance-controls .bank-history-control{margin-left:auto}}

/* Profile navigation follows the institution overview; secondary controls stay available on demand. */
.bank-dashboard-identity{margin-top:0;margin-bottom:10px}
.bank-dashboard-nav{margin:0 0 10px}
.bank-dashboard-nav+.bank-metric-tabs{margin:0 0 10px;padding-bottom:10px}
.bank-profile-tools{border:1px solid #dce6df;border-radius:8px;background:#fff;padding:10px 14px;margin:0 0 16px;min-width:0}
.bank-profile-tools>summary{cursor:pointer;color:#436c5e;font-size:13px;font-weight:600}
.bank-profile-tool-content{display:grid;gap:14px;min-width:0;margin-top:14px}
.bank-profile-tool-content>.review-bar,.bank-profile-tool-content>.review-shortcut,.bank-profile-tool-content>.bank-identity-details{margin:0}
.bank-profile-tool-content>.review-bar{padding:0;border:0;background:transparent}
@media(max-width:700px){.bank-profile-tools{padding:10px 12px}.bank-profile-tool-content>.review-bar{display:flex;flex-wrap:wrap}.bank-profile-tool-content>.review-shortcut{display:flex;flex-wrap:wrap}}

/* One institution heading, with the existing shared controls retained inside the overview card. */
.bank-profile-merged #status:not(.error){display:none}
.bank-profile-merged .bank-dashboard-identity{gap:10px;padding:16px 20px;margin-top:0}
.bank-dashboard-identity>.bank-profile-heading{width:100%;margin:0;align-items:flex-start;gap:20px}
.bank-profile-heading>div:first-child{flex:1;min-width:0}
.bank-profile-heading .eyebrow{font-size:10px;letter-spacing:1.6px;margin-bottom:4px}
.bank-profile-title-row{display:flex;align-items:center;gap:12px;min-width:0}
.bank-profile-title-row h1{font-size:28px;line-height:1.25;letter-spacing:-.8px;overflow-wrap:anywhere}
.bank-profile-heading #subtitle{font-size:13px;line-height:1.65;margin:6px 0 0;overflow-wrap:anywhere}
.bank-profile-heading .heading-actions{flex-direction:column;align-items:flex-end;gap:8px;flex-shrink:0}
.bank-profile-heading .institution-official-links{font-size:12px;gap:7px;align-items:flex-end}
.bank-dashboard-identity>.bank-profile-period{margin:0;width:100%;border:0;border-top:1px solid #dce6df;border-radius:0;padding:8px 0 0;background:transparent}
.bank-profile-merged .bank-header-facts{margin:0;padding-top:10px}
@media(max-width:700px){.bank-profile-merged .bank-dashboard-identity{padding:14px;gap:10px}.bank-dashboard-identity>.bank-profile-heading{flex-direction:column;gap:10px}.bank-profile-title-row h1{font-size:24px}.bank-profile-heading .heading-actions{width:100%;flex-direction:row;align-items:center;justify-content:space-between;flex-wrap:wrap}.bank-profile-heading .institution-official-links{align-items:flex-start;font-size:12px}.bank-profile-heading #subtitle{font-size:12px}.bank-profile-merged .bank-header-facts{gap:12px}}
@media print{.bank-dashboard-identity>.bank-profile-heading{display:flex!important}.bank-profile-heading .heading-actions{display:none!important}.bank-dashboard-identity>.bank-profile-period{display:block!important}.bank-profile-period #reporting-period-fields{display:none!important}.bank-profile-title-row h1{font-size:22px}}

.bank-profile-merged #main-content{padding-top:16px}
.bank-profile-merged .research-nav{margin-top:0;margin-bottom:12px;gap:6px}
.bank-profile-merged .research-nav .button{padding:7px 10px}
@media(max-width:700px){.bank-profile-merged #main-content{padding-top:10px}.bank-profile-merged .research-nav{margin-bottom:10px}}

/* Keep intermediate legacy panels invisible until the canonical profile is assembled. */
#review-content.profile-assembling{display:none}
.profile-loading{padding:24px;min-height:220px;color:#526d65}
.profile-skeleton{height:44px;border-radius:8px;background:linear-gradient(90deg,#edf2ef,#f7f9f8,#edf2ef);margin-top:16px;animation:profile-loading-pulse 1.4s ease-in-out infinite alternate}
@keyframes profile-loading-pulse{to{opacity:.45}}
@media(prefers-reduced-motion:reduce){.profile-skeleton{animation:none}}
.bank-ledger :is(th,td),.bank-products th{white-space:normal;overflow-wrap:anywhere}
.bank-facts .small-note,.bank-ledger .small-note,.profile-chart .small-note{white-space:normal;overflow:visible;text-overflow:clip}

.capital-scope-note{padding:0 24px 16px;line-height:1.6;overflow-wrap:anywhere}
#detail-dialog :is(p,th,td){overflow-wrap:anywhere;white-space:normal;text-overflow:clip}
