/* Desktop is the product target. Keep density, legible figures and comparisons
   together; do not shrink desktop text to accommodate a phone layout. */
@media (min-width:1100px) {
  :root {--muted:#536977;--line:#d2dde5;--background:#f0f4f7;scroll-padding-top:58px}
  body {font-size:14px;line-height:1.5}
  main {max-width:none;padding:12px 18px 28px}
  .topbar {padding:8px 18px;gap:16px}
  .brand {font-size:13px}
  .brand-icon {width:32px;height:32px;border-radius:5px;font-size:21px}
  .brand small {font-size:11px}
  .topbar button {padding:6px 12px}
  .market-nav {position:sticky;top:0;z-index:50;gap:3px;margin-bottom:14px;padding:3px;border:1px solid #cedbe3;border-radius:5px;background:#e4ecf1;box-shadow:0 2px 5px #2037480a}
  .market-nav button {padding:8px 16px;font-size:14px;border-radius:3px}
  .market-nav button[aria-selected=true] {color:#fff;background:#234a61;box-shadow:none}
  header,.market-heading {margin-bottom:10px;gap:14px}
  header .eyebrow,.market-heading .eyebrow {display:none}
  h1,.desk-heading h1 {font-size:24px;letter-spacing:-.035em;margin:0 0 3px}
  h2,.section-heading h2 {font-size:19px;letter-spacing:-.02em}
  h3 {font-size:15px;margin-bottom:10px}
  header p {margin:3px 0;font-size:13px}
  button,input,select {padding:7px 10px;border-radius:4px;font-size:14px}
  label {font-size:13px;margin-bottom:4px}
  .section-heading {gap:12px}
  .section-heading p {white-space:normal}
  .market-actions {gap:8px;align-items:end}
  .market-actions label {margin-bottom:0}
  .market-card,#market-bank .market-card,.desk-panel {padding:14px 16px;margin:12px 0;border-radius:5px}
  .market-card p {line-height:1.55}
  .market-card .table-scroll {max-height:560px}
  .notice {margin:8px 0;padding:7px 11px;border-radius:4px;font-size:13px}
  .definition {padding:9px 12px;border-radius:4px;font-size:13px;margin:8px 0}
  details {margin:12px 0;padding:10px 13px;border-radius:4px}
  summary,.market-card summary {font-size:14px}
  .small,.muted.small {font-size:12px;line-height:1.5}
  .filters {margin:10px 0;gap:14px;align-items:end}
  .filters>p {margin:0 0 4px;padding:0}
  .metrics {gap:8px}
  .metrics article,#cycle-bank-metrics article {padding:8px 12px;border-radius:4px}
  .metrics strong {font-size:23px;letter-spacing:-.02em}
  .metrics strong,.cash-metrics strong,.deposit-meanings strong {font-variant-numeric:tabular-nums}
  .metrics span {font-size:12px}
  .tabs {gap:22px;margin:12px 0 10px}
  .tabs button {padding:7px 0;font-size:14px}
  .tabs [aria-selected=true] {font-weight:750;border-bottom-width:3px}
  .table-scroll {border-radius:4px;margin:10px 0}
  table {font-size:14px;line-height:1.45}
  th {font-size:13px;color:#294656;background:#e7eff4}
  th,td {padding:7px 10px}
  .table-scroll tbody tr:hover td {background-color:#eaf2f7}
  .heatmap-table th {font-size:13px;padding:8px 5px}
  .heatmap-table th:first-child,.heatmap-table td.bond-cell {width:218px;padding:5px 8px}
  .heatmap-table td:not(:first-child) {font-size:14px;font-weight:650;letter-spacing:0;padding:6px 5px}
  .heatmap-table .bond-name {font-size:13px;line-height:1.4}
  .heatmap-table .bond-meta {font-size:11px;line-height:1.3}
  .heatmap-scroll {max-height:76vh;margin:8px 0 18px}
  .maturity-scroll td,.maturity-scroll th {font-size:13px;padding:7px 5px}
  .maturity-scroll th:first-child,.maturity-scroll td:first-child {width:180px}
  .flow-list>li {padding:8px 0}
  .flow-list .bond-name {font-size:14px}
  .flow-value {font-size:16px}
  .flow-meter {margin-top:5px}
  .rank-links {margin:12px 0;gap:6px}
  .rank-links a {border-radius:4px;padding:4px 11px}
  .investor-ranks {margin:20px 0;scroll-margin-top:55px}
  .rank-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  .card {border-radius:5px;padding:14px 16px}
  #bank-notice {margin-bottom:8px}
  #cycle-overview > .section-heading > .market-actions {display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
  #cycle-overview > .section-heading > .market-actions label {flex:1 1 130px;margin:0}
  #cycle-overview > .section-heading > .market-actions label:has(#cycle-sector) {flex:1.4 1 205px}
  #cycle-overview > .section-heading > .market-actions label:has(#cycle-history) {flex:.5 1 80px}
  #cycle-overview > .section-heading > .market-actions label:has(#cycle-measures) {flex:1.3 1 210px}
  #cycle-overview .cycle-options {margin:8px 0}
  #cycle-status {margin:6px 0}
  #cycle-overview .definition {margin:6px 0;padding:8px 11px}
  #cycle-bank-metrics {margin:8px 0}
  #cycle-stock-panel {margin-top:12px}
  .cash-metrics {gap:10px;margin-top:12px}
  .cash-metrics article {padding:12px 14px;border-radius:5px;border-top-width:3px}
  .cash-metrics span {font-size:14px}
  .cash-metrics strong,#panel-equity .cash-metrics article strong {font-size:27px;margin:6px 0}
  .cash-metrics p,#panel-equity .cash-metrics article p {margin:4px 0;font-size:12px}
  .cash-asof {font-size:14px}
  .cash-cutoff {font-size:15px;margin:10px 0 6px}
  .history-coverage {font-size:13px;line-height:1.5;padding:7px 10px;border-radius:3px;margin:8px 0}
  .deposit-meanings {gap:10px;margin:10px 0}
  .deposit-meanings>div {padding:10px 12px;border-radius:4px}
  .deposit-meanings strong {font-size:24px;margin-top:4px}
  .deposit-meanings p {margin-top:5px}
  .deposit-card-date {display:block;color:var(--muted);font-size:12px;margin-top:2px}
  .deposit-deltas {margin:10px 0;padding:7px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
  .deposit-deltas>div {display:flex;justify-content:space-between;align-items:center;gap:12px;padding:4px 0}
  .deposit-deltas dt {font-size:13px;font-weight:500}
  .deposit-deltas dd {text-align:right;margin:0;font-variant-numeric:tabular-nums}
  .deposit-deltas dd b {font-size:17px;white-space:nowrap;line-height:1.4}
  .deposit-deltas dd small {display:block;font-size:12px;color:var(--muted)}
  .deposit-up {color:#b44850}.deposit-down {color:#2d66ad}
  .deposit-axis-note {font-size:13px;padding:8px 11px;background:#e9f0f6;border-left:3px solid #476c85;margin:10px 0}
  .reading-note {padding:10px 13px;margin:10px 0 14px;font-size:13px;line-height:1.6;border-radius:0 4px 4px 0}
  .reading-note b {font-size:14px}
  #cash-charts,#panel-equity {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  #cash-charts>.market-card,#panel-equity>.market-card {margin:0;grid-column:1/-1}
  #cash-charts>#cash-panel-cma,#cash-charts>#cash-panel-mmf,#panel-equity>.comparison-panel {grid-column:auto}
  #panel-equity>.comparison-panel h2 {font-size:18px}
  #panel-equity>.comparison-panel .cash-cutoff {font-size:14px}
  #market-desk {max-width:none}
  .desk-heading {margin:10px 0}
  .desk-metrics article {padding:11px 13px;border-radius:5px}
  .desk-metrics article>span {font-size:13px;min-height:0}
  .desk-metrics p,.desk-change {font-size:12px}
  .desk-metrics strong {font-size:27px}
  .desk-statusbar,.desk-observations {border-radius:4px}
  .desk-controls {margin:12px 0}
  .desk-grid {gap:14px;margin-bottom:12px}
  .desk-panel {margin-top:0}
  .desk-caption {font-size:13px;margin:8px 0}
  .desk-panel th {font-size:12px}
  .desk-panel td {font-size:14px;padding:9px 8px}
  .desk-rank small {font-size:12px}
  .desk-cash small {font-size:12px}
  .desk-rate-board table {min-width:950px;width:100%;font-variant-numeric:tabular-nums}
  .desk-rate-board th,.desk-rate-board td {text-align:right;white-space:nowrap}
  .desk-rate-board th:first-child,.desk-rate-board td:first-child {text-align:left;font-weight:600}
  .desk-rate-board td {padding:8px 12px;font-size:15px}
  .desk-board-delta small {display:block;font-size:12px;color:#647582;font-weight:400;margin-top:3px}
  .desk-board-delta strong {font-size:16px}
  #desk-quality {scroll-margin-top:65px}
  #desk-quality-table td,#desk-quality-table th {white-space:nowrap}
}

/* Trader comparisons: desktop first, preserve visible units and dates. */
#desk-common-values strong {font-size:22px;white-space:nowrap}
.desk-percentile{position:relative;min-width:130px;padding:7px 8px;text-align:right;background:#eef3f6;border-radius:3px;overflow:hidden}
.desk-percentile span{position:relative;z-index:1;font-variant-numeric:tabular-nums}
.desk-percentile i{position:absolute;left:0;top:0;bottom:0;background:#b5cedc;opacity:.65}
.desk-intensity-scroll{max-height:540px;overflow:auto}
.desk-funding-detail{max-height:480px;overflow:auto}
#desk-intensity-table th,#desk-funding-details th{position:sticky;top:0;z-index:2;background:#eaf0f4}
#desk-intensity-table td,#desk-funding-details td{font-size:14px;padding:9px 12px}
#desk-intensity-table .table-link{text-align:left;white-space:normal}
#desk-funding-coverage td:last-child{white-space:normal;text-align:left}

.desk-jumps{display:flex;gap:10px;margin:14px 0}.desk-jumps button{font-size:14px}#desk-common,#desk-future-flow-chart,#desk-funding,#desk-intensity{scroll-margin-top:75px}

/* Monitor workspace: readable desktop figures, compact controls, shared expand. */
:root{--up:#b44850;--down:#2d66ad}
.desk-up,.deposit-up{color:var(--up)}.desk-down,.deposit-down{color:var(--down)}
.desk-statusbar.warning{background:#fff7e4;border-color:#e5ce92;color:#74530c}
.monitor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:10px 0 16px;align-items:stretch}
.monitor-grid>.market-card,.monitor-grid>.desk-panel{margin:0;min-width:0}
.bank-history-grid>.bank-history-wide{grid-column:1/-1}
.bank-history-grid>#funding-future{grid-column:1/-1}
#bank-leadership>.section-heading{align-items:end;flex-wrap:wrap}
#bank-leadership>.section-heading>.market-actions{margin-left:auto;display:flex;flex-wrap:wrap;align-items:end}
#bank-leadership .market-actions label{min-width:140px;margin:0}
#bank-leadership h3{font-size:16px;margin:16px 0 0}
#bank-leadership .chart{min-width:0}
#bank-leadership .table-scroll{max-height:520px}
#bank-leadership .definition{line-height:1.6}
.monitor-panel>.section-heading{align-items:start;flex-wrap:wrap;gap:8px;margin-bottom:6px}
.monitor-panel .section-heading h2,.monitor-panel>h3{font-size:17px;margin:0;line-height:1.45}
.monitor-panel .section-heading .market-actions{flex:1 1 100%;justify-content:flex-start}
.panel-expand{margin-left:auto;flex:none;white-space:nowrap}
.monitor-panel .chart,.monitor-panel .desk-chart{min-height:0}
.monitor-panel .table-scroll{max-height:300px}
.monitor-panel .definition,.monitor-panel .desk-caption{font-size:12px;line-height:1.5;margin:6px 0;padding:5px 8px}
.monitor-panel .market-actions{gap:8px;align-items:end;flex-wrap:wrap}
.monitor-panel .market-actions label{min-width:110px;flex:1 1 130px;margin:0}
.monitor-panel .market-actions button{flex:none}
.monitor-panel .market-actions select{max-width:100%}
.monitor-panel .desk-events{max-height:330px}
.monitor-panel .desk-events article{padding:8px 0}
.panel-detail{margin:8px 0 0;padding:6px 8px}
.panel-detail summary{font-size:13px}
.monitor-detail-area:empty{display:none}
.monitor-controls{margin:7px 0;align-items:end;gap:10px}
.monitor-controls label{min-width:110px;margin:0}
.monitor-controls label:first-child{min-width:210px}
.monitor-controls button{margin-left:auto}
.monitor-formula{font-size:12px;margin:4px 0;padding:4px 8px}
.metric-strip{gap:0;margin:6px 0 10px;border:1px solid var(--line);border-radius:4px;background:#fff}
.metric-strip>article{border:0;border-right:1px solid var(--line);border-radius:0;padding:7px 10px;background:transparent}
.metric-strip>article:last-child{border-right:0}
.metric-strip strong{font-variant-numeric:tabular-nums}
#curve-metrics strong{font-size:22px;margin-top:2px}
#curve-metrics small{display:block;font-size:12px;line-height:1.4;margin-top:2px}
.curve-toolbar{display:grid;grid-template-columns:470px minmax(0,1fr);align-items:center;gap:14px}
.curve-toolbar .monitor-controls{margin:0;gap:8px}
.curve-toolbar .metric-strip{margin:0}
.curve-toolbar #curve-controls{max-width:none}
.curve-toolbar #curve-controls:not(:has(#curve-preset option[value="custom"]:checked)){flex-wrap:nowrap}
.curve-toolbar #curve-metrics{margin:0!important}
.curve-toolbar #curve-controls label:first-child{min-width:200px}
.curve-toolbar #curve-controls label{min-width:150px}
.curve-toolbar #curve-download{padding:5px 8px;font-size:12px;white-space:nowrap}
.curve-toolbar #curve-metrics article{padding:5px 10px}
#market-analytics .metric-strip small,.panel-dialog .metric-strip small{font-size:12px;margin-top:2px;line-height:1.4}
.curve-toolbar #curve-metrics strong{display:inline-block;font-size:21px;margin:0 4px 0 0}
.curve-toolbar #curve-metrics span{font-size:12px}
#curve-comparison{font-size:13px}
#curve-comparison td,#curve-comparison th{padding:8px 6px}
.bank-monitor-controls{margin:8px 0}
.bank-monitor-controls>.market-actions{display:flex;flex-wrap:wrap;align-items:end;gap:8px}
.bank-monitor-controls>.market-actions label{flex:1 1 135px;margin:0}
.bank-monitor-controls>.market-actions label:has(#cycle-sector){flex:1.6 1 225px}
.bank-monitor-controls>.market-actions label:has(#cycle-history){flex:.5 1 85px}
.bank-monitor-controls>.cycle-options{display:inline-block;margin:5px 0;padding:5px 9px;max-width:100%}
.bank-monitor-controls>.cycle-options[open]{display:block}
.bank-monitor-controls #cycle-bank-metrics{margin:6px 0}
.bank-monitor-controls #cycle-bank-metrics{margin:6px 0!important}
#cycle-overview.monitor-panel>.section-heading{display:flex;justify-content:space-between}
.monitor-grid>#cycle-stock-panel{margin:0;padding:10px 12px}
.desk-detail-heading{font-size:19px;margin:18px 0 8px}
.monitor-panel .desk-controls{gap:6px;align-items:baseline}
.monitor-panel .desk-controls select{width:auto}
.monitor-panel .desk-controls .small{flex-basis:100%}
.bank-monitor-controls #cycle-definition{margin:5px 0;padding:5px 8px}
.bank-monitor-controls #cycle-status{margin:4px 0}
.bank-monitor-controls .market-actions button{flex:none}
.secondary-monitor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}
.secondary-monitor-grid>.market-card{margin:0}
.secondary-monitor-grid>.panel-wide{grid-column:1/-1}
.status-strip{display:flex;flex-wrap:wrap;gap:8px 24px;padding:6px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.status-strip>article{display:flex;align-items:baseline;gap:8px;padding:0;border:0;background:transparent;border-radius:0}
.status-strip strong{font-size:15px;margin:0;letter-spacing:0}
.status-strip span{font-size:12px}
.panel-dialog{width:calc(100vw - 40px);max-width:1900px;height:calc(100dvh - 32px);max-height:calc(100dvh - 32px);padding:0;border:1px solid #a8bac6;border-radius:6px;background:var(--background);color:var(--ink);overflow:auto}
.panel-dialog::backdrop{background:#142b3e80}
.panel-dialog-head{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:10px 16px;position:sticky;top:0;z-index:60;background:#e4ecf1;border-bottom:1px solid var(--line)}
.panel-dialog-head h2{font-size:19px;margin:0}
.panel-dialog-head button{white-space:nowrap}
.panel-dialog-context{padding:0 16px}
.panel-dialog-context:empty{display:none}
.panel-dialog-body{padding:12px 16px}
.panel-dialog-body>.market-card,.panel-dialog-body>.desk-panel{margin:0}
.panel-dialog-open{overflow:hidden}
.panel-is-expanded .table-scroll{max-height:65dvh}
.panel-is-expanded .desk-events{max-height:none}
.panel-is-expanded>.section-heading{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.panel-is-expanded .chart,.panel-is-expanded .desk-chart{min-height:0}
.panel-is-expanded .market-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:end}
.panel-is-expanded .market-actions label{min-width:130px;margin:0}
.panel-is-expanded .section-heading h2{font-size:19px}
@media(min-width:1100px){
  main{padding:8px 16px 24px}
  .topbar{padding:5px 16px;min-height:38px}
  .topbar{position:sticky;top:0;z-index:80;gap:14px;flex-wrap:wrap;background:#fff;border-bottom:1px solid var(--line)}
  .topbar .brand{flex:none;margin:0}
  .topbar .market-nav{position:static;flex:1;margin:0;border:0;background:transparent;gap:2px;padding:0;overflow:visible;flex-wrap:wrap}
  .topbar .market-nav button{padding:6px 10px;font-size:13px}
  .topbar .top-conditions{display:none}
  .topbar .unit-label{font-size:12px}
  .brand{gap:8px}.brand small{display:none}.brand-icon{width:27px;height:27px;font-size:18px}
  .market-nav{margin-bottom:8px;padding:2px;box-shadow:none}
  .market-nav button{padding:7px 13px;font-size:14px}
  header,.market-heading,.desk-heading{margin:6px 0;gap:10px;align-items:center}
  h1,.desk-heading h1{font-size:22px;margin:0}
  header>div{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
  header p{margin:0;font-size:12px}
  header>.tabs{margin:0;border-bottom:0;flex:none}
  #market-analytics>header,#market-platform>header{flex-wrap:wrap}
  #market-analytics>header p,#market-platform>header p{display:none}
  .monitor-formula{margin:4px 0;padding:3px 8px}
  .notice{margin:6px 0;padding:5px 9px;font-size:12px;line-height:1.5}
  .notice:not(.error):not(.warning):not(.demo):not(.live){background:#edf2f5;border-color:#dce5ea}
  .tabs{gap:20px;margin:8px 0 6px}
  .tabs button{padding:5px 0;font-size:14px}
  .market-card,.desk-panel,#market-bank .market-card{padding:10px 12px}
  .market-card>.section-heading h2{margin:0}
  .section-heading{align-items:center;gap:10px}
  .section-heading>p{margin:4px 0}
  button,input,select{padding:5px 9px}
  .filters{margin:7px 0;gap:12px}
  .filters label{margin-bottom:2px}
  .filters>.search{flex:1}.filters>p{flex:1;font-size:12px}
  #market-ktb #source-note{background:transparent;border:0;padding:0;color:var(--muted);margin:4px 0}
  #period-caption,#updated-caption{font-size:12px;margin:3px 0}
  #market-ktb .subfilters{display:flex;justify-content:space-between;align-items:center;margin:3px 0}
  #market-ktb .subfilters .sort-note{margin:0;font-size:12px}
  #market-ktb .subfilters>div{display:flex;align-items:center;gap:8px}
  #market-ktb .subfilters label{white-space:nowrap;margin:0}
  #market-ktb .subfilters select{width:90px}
  #overview>.section-heading h2{margin:4px 0;font-size:17px}
  #overview .heatmap-scroll{margin-top:5px}
  .desk-statusbar{padding:5px 9px;font-size:12px;line-height:1.5}
  #desk-stamp{margin:4px 0;font-size:12px}
  .desk-controls{margin:6px 0;gap:8px}
  .desk-controls select{width:auto;padding:5px 9px}
  .desk-controls .small{font-size:12px}
  .desk-metrics.metric-strip article{padding:6px 10px;border-radius:0}
  .desk-metrics.metric-strip strong{font-size:23px}
  .desk-metrics.metric-strip p{margin:3px 0;font-size:12px}
  .desk-observations{margin:6px 0 8px;background:#e7eef3;color:var(--ink);border-radius:4px}
  .desk-observations p{padding:7px 10px;border-color:var(--line);font-size:12px;line-height:1.5}
  .desk-observations strong{display:inline;color:#355666;font-size:12px;margin-right:7px}
  .desk-jumps{gap:6px;margin:6px 0}
  .desk-jumps button{font-size:12px;padding:4px 8px}
  .desk-rate-board table{min-width:950px}
  .lending-controls{grid-template-columns:1.1fr 1fr 1.15fr 1.2fr 1.1fr;gap:10px;margin:8px 0}
  #lending-status{font-size:12px;margin:5px 0}
  #lending-scope{margin:5px 0;padding:5px 9px;font-size:12px}
  #lending-metrics.metric-strip strong{font-size:22px}
  #lending-metrics.metric-strip small{margin-top:3px;font-size:12px}
  .lending-scroll td{padding:7px 10px;font-size:14px}
  .lending-identity strong,.lending-balance{font-size:16px}
  .lending-identity small{font-size:12px}
  .reading-note{padding:8px 10px;font-size:13px;margin:8px 0}
  .reading-note p{margin:5px 0}
}
@media(max-width:1099px){.monitor-grid,.secondary-monitor-grid{grid-template-columns:1fr}.secondary-monitor-grid>.panel-wide{grid-column:auto}}
@media(max-width:1399px){.curve-toolbar{grid-template-columns:410px minmax(0,1fr)}.curve-toolbar #curve-controls label{min-width:125px;flex:1 1 135px}.curve-toolbar #curve-controls label:first-child{min-width:170px}.curve-toolbar #curve-metrics strong{font-size:20px}}
@media(max-width:1099px){.curve-toolbar{grid-template-columns:1fr}.topbar .market-nav{flex-basis:100%}}
@media(prefers-reduced-motion:reduce){:root{scroll-behavior:auto}}

/* Supply and lending monitors: keep overview comparisons above full detail tables. */
.supply-monitor-grid #auction-events .event-calendar{gap:3px;margin:8px 0}
.supply-monitor-grid #auction-events .event-weekday{padding:2px;font-size:12px}
.supply-monitor-grid #auction-events .event-day{min-height:42px;padding:3px;border-radius:3px}
.supply-monitor-grid #auction-events .event-chip{font-size:12px;line-height:1.3;padding:3px;margin-top:2px;border-radius:3px;overflow-wrap:anywhere}
.supply-monitor-grid #auction-events .event-day>strong{font-size:11px}
#auction-events .market-actions{margin:6px 0}
#auction-events .market-actions label{flex:1 1 150px}
#auction-events .panel-detail{padding:5px 8px}
.supply-monitor-grid #supply-status,.supply-monitor-grid #supply-warning{margin:5px 0;line-height:1.4;font-size:12px}
#supply-annual{margin:8px 0 12px}
#supply-annual .definition,#supply-annual-coverage{font-size:12px;line-height:1.5;margin:5px 0;padding:5px 8px}
.event-detail-toolbar{border-top:2px solid #c2d0da;padding-top:8px;margin-top:14px;scroll-margin-top:60px}
.event-detail-toolbar h3{margin:4px 0 8px;font-size:17px}
#event-detail-controls{display:flex;gap:10px;align-items:end;flex-wrap:wrap;margin:5px 0}
#event-detail-controls label{min-width:160px;flex:1 1 220px;margin:0}
#event-detail-note{font-size:12px;line-height:1.5;margin:5px 0;padding:5px 8px}
.event-study-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
#event-target-panel td,#event-target-panel th{font-size:13px;padding:7px 8px}
#event-target-panel .table-scroll{max-height:340px}
#event-target-panel td:last-child{white-space:normal;min-width:150px}
.lending-monitor-grid .section-heading label{margin:0;display:flex;align-items:center;gap:8px;font-size:12px}
.lending-monitor-grid .section-heading select{width:auto;font-size:12px}
.lending-monitor-grid .section-heading h2{font-size:17px}
.lending-monitor-grid p.small{font-size:12px;line-height:1.5;margin:5px 0}
.lending-monitor-grid .lending-detail-controls{margin:6px 0;gap:8px;grid-template-columns:minmax(0,1fr) 100px}
.lending-monitor-grid .lending-detail-controls label{font-size:12px;margin-bottom:3px}
.lending-monitor-grid #lending-integrated-link{font-size:12px;padding:4px 8px}
.lending-institution-list{display:grid;grid-template-columns:1fr;gap:0;margin:8px 0;border:1px solid var(--line);border-radius:4px}
.lending-institution-list>article{display:grid;grid-template-columns:110px minmax(0,1fr);align-items:baseline;gap:3px 8px;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:7px 10px}
.lending-institution-list>article:last-child{border-bottom:0}
.lending-institution-list strong{font-size:20px;text-align:right;letter-spacing:0;margin:0}
.lending-institution-list small{grid-column:1/-1;font-size:12px;line-height:1.4;color:var(--muted)}
#lending-full-table,#lending-detail,#event-study-panel{scroll-margin-top:60px}
#lending-full-table .lending-scroll{max-height:560px}
.panel-dialog #lending-selection-controls{display:grid;grid-template-columns:minmax(250px,1fr) 160px;gap:12px;margin:8px 0}
.panel-dialog #lending-selection-controls select{width:100%}
.panel-is-expanded .lending-institution-list{grid-template-columns:repeat(3,minmax(0,1fr))}
.panel-is-expanded .lending-institution-list>article{display:block;border-bottom:0;border-right:1px solid var(--line)}
.panel-is-expanded .lending-institution-list strong,.panel-is-expanded .lending-institution-list small{display:block;text-align:left}
.panel-is-expanded .event-day{min-height:68px}
.panel-is-expanded #event-targets{min-width:900px}
#supply-monthly-panel>.section-heading h2{order:0}
#supply-monthly-panel>.section-heading>.panel-expand{order:1}
#supply-monthly-panel>.section-heading>.market-actions{order:2;margin:0}
#supply-monthly-controls label{display:flex;align-items:center;gap:8px;white-space:nowrap}
#supply-monthly-panel>p:last-child{font-size:12px;line-height:1.5;margin:5px 0}
.supply-monitor-grid #auction-events .event-day{min-height:36px}
.supply-monitor-grid #auction-events .event-chip{padding:2px;line-height:1.25}
#lending-status{padding:2px 0;line-height:1.5}
#lending-metrics.metric-strip>article{padding:5px 10px}
#lending-metrics.metric-strip strong{margin-top:2px;line-height:1.3}
#lending-metrics.metric-strip>article:last-child strong{font-size:18px}
.lending-monitor-grid .lending-institution-list{grid-template-columns:repeat(3,minmax(0,1fr))}
.lending-monitor-grid .lending-institution-list>article{display:block;border-bottom:0;border-right:1px solid var(--line);padding:6px 8px}
.lending-monitor-grid .lending-institution-list>article:last-child{border-right:0}
.lending-monitor-grid .lending-institution-list strong{display:block;font-size:18px;text-align:left;white-space:nowrap;margin:3px 0}
.lending-monitor-grid .lending-institution-list small{display:block;font-size:12px}
@media(min-width:1100px){
  #market-supply>header .eyebrow,#market-lending>header .eyebrow{display:none}
  #market-supply>header .muted,#market-lending>header .muted{font-size:12px}
}
