/* ---- /relative-value/ and /fr/relative-value/ (10 Oct 2026) ------------------
   learnpages/build_rv.py + rv.js. Builds on data.css (tables, notes). */
.rv-ctl{ display:flex; flex-wrap:wrap; align-items:center; gap:10px 18px; margin:14px 0 8px }
.rv-ccy{ display:inline-flex; border:1px solid var(--border); border-radius:8px; overflow:hidden }
.rv-ccy button{ font:inherit; font-size:12.5px; font-weight:600; padding:6px 14px; background:var(--bg2); color:var(--text-mid); border:0; cursor:pointer }
.rv-ccy button.on{ background:var(--accent); color:var(--on-accent) }
.rv-corp{ display:inline-flex; align-items:center; gap:7px; font-size:13px; color:var(--text-mid); cursor:pointer }
.rv-corp input{ accent-color:var(--accent); width:15px; height:15px }
.rv-pick{ font-size:11px; letter-spacing:.06em; text-transform:uppercase; color:var(--text-dim); margin:10px 0 6px }
.rv-chips{ display:flex; flex-wrap:wrap; gap:6px; margin:0 0 10px }
.rv-chips button{
  display:inline-flex; align-items:center; gap:6px; font:inherit; font-size:12.5px; padding:4px 11px; border-radius:14px;
  border:1px solid var(--border); background:var(--bg2); color:var(--text-mid); cursor:pointer;
}
.rv-chips button:hover{ border-color:var(--text-dim); color:var(--text) }
.rv-chips button.on{ font-weight:600; background:var(--bg3) }
.rv-sh{ display:inline-block; width:10px; height:10px; border-radius:50% }
.rv-sh.rv-rect{ border-radius:1px }
.rv-sh.rv-triangle{ width:0; height:0; border-radius:0; background:transparent !important; border-left:6px solid transparent; border-right:6px solid transparent; border-bottom:11px solid currentColor }
.rv-status{ font-size:12px; color:var(--text-dim); margin:0 0 6px }
.rv-msg{ min-height:16px; font-size:12px; color:var(--amber); margin:4px 0 }
.rv-box{ position:relative; height:520px; border:1px solid var(--border); border-radius:10px; background:var(--bg2); padding:10px 8px 6px }
.rv-box canvas{ width:100% !important; height:100% !important }
.rv-table h3{ display:flex; align-items:center; gap:8px; font-size:15px; margin:26px 0 6px; color:var(--text-strong) }
.rv-table h3 small{ font-weight:400; color:var(--text-dim); font-size:12px; margin-left:4px }
.rv-t td a{ color:var(--text); text-decoration:none }
.rv-t td a:hover{ color:var(--accent) }
.rv-tag{ display:inline-block; font-size:10px; font-weight:700; line-height:14px; width:14px; text-align:center; border-radius:7px; border:1px solid var(--amber); color:var(--amber); cursor:help; margin-left:4px }
@media (max-width:640px){
  .rv-box{ height:420px }
  .rv-t th:nth-child(4), .rv-t td:nth-child(4){ display:none }
}
.rv-mat{ color:var(--text-dim); font-size:11.5px; margin-left:4px }
