.rf { margin-top: 2.5rem; border-top: 1px solid var(--line); padding-top: 1.65rem; --rf-label: 172px; --rf-years: 13; }
.rf-heading { display: flex; align-items: baseline; justify-content: space-between; gap: .7rem 1rem; margin-bottom: .35rem; }
.rf-heading h3 { font-size: 1.2rem; font-weight: 600; color: var(--navy); margin: 0; letter-spacing: -.02em; }
.rf-heading h3 span { color: var(--muted); font-size: .78rem; font-weight: 400; margin-left: .7rem; letter-spacing: 0; }
.rf-heading > span { font-size: .7rem; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.rf p.rf-caption { color: var(--muted); font-size: .76rem; text-align: left; margin: 0 0 1.1rem; }
.rf-scroll { overflow-x: auto; padding: 2px 2px 5px; margin: 0 -2px; }
.rf-chart { min-width: 850px; }
.rf-axis, .rf-group { display: grid; grid-template-columns: var(--rf-label) minmax(0, 1fr); column-gap: 6px; }
.rf-axis { color: var(--muted); font-size: .66rem; line-height: 1.5; padding-bottom: .55rem; }
.rf-axis > span { padding-left: 1px; }
.rf-ticks { display: grid; grid-template-columns: repeat(var(--rf-years), minmax(0, 1fr)); text-align: center; font-variant-numeric: tabular-nums; }
.rf-ticks .rf-now { color: #d4e5ff; }
.rf-group { border-top: 1px solid #1d2633; }
.rf-label { display: flex; flex-direction: column; justify-content: center; padding: .65rem .7rem .65rem 0; gap: .17rem; }
.rf-label-main { display: flex; align-items: center; gap: .55rem; font-size: .84rem; color: var(--ink); font-weight: 600; }
.rf-label-main::before { content: ''; width: 4px; height: 15px; border-radius: 2px; background: var(--rf-color); flex: 0 0 4px; }
.rf-role { display: inline-flex; align-items: center; font-size: .62rem; font-weight: 500; line-height: 1.4; padding: .14rem .4rem; border: 1px solid var(--rf-edge); color: var(--rf-bright); background: var(--rf-bg); border-radius: 4px; white-space: nowrap; }
.rf-label small { margin-left: 13px; color: var(--muted); font-size: .65rem; line-height: 1.5; white-space: pre-line; }
.rf-tracks { display: grid; grid-template-rows: repeat(var(--rf-tracks), 28px); gap: 7px; padding: 12px 0; align-content: center; background-image: repeating-linear-gradient(to right, #2b364432 0, #2b364432 1px, transparent 1px, transparent calc(100% / var(--rf-years))); }
.rf-track { display: grid; grid-template-columns: repeat(var(--rf-years), minmax(0, 1fr)); gap: 0; }
.rf-bar { min-width: 0; margin: 0 3px; padding: 0 8px; height: 28px; font: inherit; font-size: .69rem; font-weight: 500; line-height: 26px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--rf-bright); background: var(--rf-bg); border: 1px solid var(--rf-edge); border-left: 3px solid var(--rf-color); border-radius: 4px; cursor: pointer; text-align: left; transition: background .15s, border-color .15s; }
.rf-bar.rf-short { padding-inline: 3px; text-align: center; font-size: .64rem; }
.rf-bar { grid-row: 1; }
.rf-bar:hover { background: var(--rf-hover); border-color: var(--rf-color); color: #fff; }
.rf-bar[aria-pressed='true'] { background: var(--rf-hover); border-color: var(--rf-color); box-shadow: 0 0 0 1px var(--rf-color); color: #fff; }
.rf-bar:focus-visible { outline: 2px solid #f6f8fc; outline-offset: 3px; }
.rf-more { border-top: 1px solid #1d2633; padding-top: .75rem; margin-top: .3rem; }
.rf-more summary { width: fit-content; font-size: .74rem; color: var(--muted); cursor: pointer; padding: .15rem 0; }
.rf-more summary span { color: #7f91a9; margin-left: .6rem; font-size: .67rem; }
.rf-more[open] summary { margin-bottom: .7rem; }
.rf-detail { margin-top: 1rem; padding: .9rem 1.1rem; border: 1px solid var(--line); border-left: 3px solid var(--rf-color); border-radius: 5px; background: #0f151f; }
.rf-detail-meta { display: flex; flex-wrap: wrap; gap: .4rem .7rem; align-items: center; margin-bottom: .45rem; font-size: .73rem; color: var(--rf-bright); line-height: 1.5; }
.rf-detail-meta time { margin-left: auto; color: var(--muted); font-variant-numeric: tabular-nums; }
.rf-detail h4 { color: var(--ink); font-size: .87rem; font-weight: 500; line-height: 1.7; margin: 0 0 .3rem; }
.rf-detail p { color: var(--muted); font-size: .7rem; margin: 0; line-height: 1.6; text-align: left; }
.rf-detail[hidden] { display: none; }
.rf-tooltip { position: fixed; z-index: 60; pointer-events: none; width: min(360px, calc(100vw - 24px)); padding: .8rem .9rem; color: var(--ink); background: #131d2c; border: 1px solid var(--rf-edge); border-left: 3px solid var(--rf-color); border-radius: 6px; box-shadow: 0 12px 32px #0007; }
.rf-tooltip[hidden] { display: none; }
.rf-tooltip .rf-tooltip-head { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; font-size: .72rem; color: var(--rf-bright); margin-bottom: .4rem; }
.rf-tooltip p { font-size: .76rem; line-height: 1.6; margin: 0 0 .4rem; text-align: left; }
.rf-tooltip small { display: block; color: var(--muted); font-size: .68rem; line-height: 1.5; }
.rf p.rf-source { color: #8d9ab0; font-size: .68rem; line-height: 1.7; margin: .8rem 0 0; text-align: left; }
.rf-source strong { color: #b6c4d8; font-weight: 500; }
@media (max-width: 640px) {
  .rf-heading { flex-wrap: wrap; }
  .rf-heading h3 span { display: block; margin: .3rem 0 0; }
  .rf-heading > span { font-size: .64rem; }
  .rf p.rf-caption { font-size: .7rem; }
  .rf-detail { padding: .8rem; }
  .rf-detail-meta time { margin-left: 0; }
  .rf-detail h4 { font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) { .rf-bar { transition: none; } }
