/* 汇率页：按天参考汇率（Frankfurter / ECB）。布局沿 list-page，图表自绘。 */
/* .page-body>* 默认 flex-shrink:0，这里必须允许整页收缩，表格才能吃掉剩余高度 */
/* 高屏表格吃满剩余高度；矮屏内容超出时整页滚动兜底，不裁切 */
.page-body>.fx-page{display:flex;flex-direction:column;gap:10px;flex:1 1 0;min-height:0;overflow:auto;padding-bottom:12px}
.fx-head{display:flex;align-items:stretch;background:#fff;border:1px solid #00000014;border-radius:16px;flex:none;overflow:hidden}
.fx-head-latest{display:flex;flex-direction:column;gap:8px;padding:16px 24px;border-right:1px solid #00000012;min-width:230px}
.fx-head-label{font-size:12px;color:var(--br-muted);display:flex;gap:8px;align-items:baseline;white-space:nowrap}
.fx-head-label b{color:var(--br-ink);font-weight:500}
.fx-head-rate{display:flex;align-items:baseline;gap:10px;white-space:nowrap}
.fx-head-rate strong{font-size:30px;line-height:1.1;font-weight:650;font-variant-numeric:tabular-nums;letter-spacing:.2px}
.fx-head-rate small{font-size:13px;font-weight:500}
.fx-head-stats{display:grid;grid-template-columns:repeat(5,minmax(96px,1fr));flex:1;min-width:0}
.fx-stat{display:flex;flex-direction:column;gap:6px;justify-content:center;padding:12px 20px;border-right:1px solid #00000012;min-width:0}
.fx-stat:last-child{border-right:0}
.fx-stat span{font-size:12px;color:var(--br-muted);white-space:nowrap}
.fx-stat b{font-size:17px;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}
.fx-stat small{font-size:12px;color:var(--br-muted);white-space:nowrap}
.fx-up{color:#00865a}
.fx-down{color:#f53f3f}
.fx-muted{color:var(--br-muted)}
.fx-card{background:#fff;border:1px solid #00000014;border-radius:16px;padding:14px 16px 10px;flex:none}
.fx-card-head{display:flex;align-items:center;gap:14px;margin-bottom:6px;flex-wrap:wrap}
.fx-card-head strong{font-size:14px;font-weight:600;white-space:nowrap}
.fx-card-head .fx-source{margin-left:auto;font-size:12px;color:var(--br-muted);white-space:nowrap}
.fx-chart-plot{position:relative;outline:none;border-radius:8px}
.fx-chart-plot:focus-visible{box-shadow:0 0 0 2px #00774d33}
.fx-chart-tick{font-size:11px;font-variant-numeric:tabular-nums}
.fx-chart-empty{position:absolute;inset:0;display:grid;place-items:center;color:var(--br-muted);font-size:13px}
.fx-chart-legend{display:flex;gap:8px;justify-content:flex-end;padding:2px 4px 4px}
.fx-chart-legend button{display:flex;align-items:center;gap:6px;border:0;background:transparent;color:var(--br-ink);font-size:12px;padding:4px 8px;border-radius:8px;cursor:pointer;white-space:nowrap}
.fx-chart-legend button:hover{background:#00000008}
.fx-chart-legend button.off{color:var(--br-muted)}
.fx-chart-legend button.off i{opacity:.25}
.fx-chart-legend i{width:10px;height:10px;border-radius:3px;flex:none}
.fx-chart-tip{position:fixed;z-index:1000;background:#fff;border:1px solid #00000014;border-radius:10px;box-shadow:0 6px 24px #0000001f;padding:8px 12px;min-width:190px;pointer-events:none}
.fx-chart-tip b{display:block;font-size:12px;color:var(--br-muted);font-weight:500;margin-bottom:6px;font-variant-numeric:tabular-nums}
.fx-chart-tip>div{display:flex;align-items:center;gap:8px;font-size:13px;padding:2px 0;white-space:nowrap}
.fx-chart-tip i{width:8px;height:8px;border-radius:2px;flex:none}
.fx-chart-tip span{color:var(--br-ink)}
.fx-chart-tip strong{margin-left:auto;font-variant-numeric:tabular-nums;font-weight:600}
.fx-chart-tip small{min-width:56px;text-align:right;font-variant-numeric:tabular-nums}
.fx-day{display:inline-flex;align-items:baseline;gap:8px;white-space:nowrap;font-variant-numeric:tabular-nums}
.fx-day small{color:var(--br-muted);font-size:12px}
/* 高度由 mixin 实测显式传入；矮屏保底 240 时整页滚动兜底 */
.fx-page .br-data-table{flex:none;margin-bottom:0}
@media(max-width:1280px){
 .fx-head{flex-direction:column}
 .fx-head-latest{border-right:0;border-bottom:1px solid #00000012;flex-direction:row;align-items:center;justify-content:space-between;min-width:0}
 .fx-head-stats{grid-template-columns:repeat(5,minmax(88px,1fr))}
 .fx-stat{padding:10px 14px}
}
@media(max-width:900px){
 .fx-head-stats{grid-template-columns:repeat(3,minmax(88px,1fr))}
 .fx-stat:nth-child(3){border-right:0}
 .fx-stat:nth-child(n+4){border-top:1px solid #00000012}
}