/* Tipos de cambio oficiales (herramientas/cambio.js): solo lo que no trae herramientas.css. */
.tc-hoy { min-height: 9rem; }
.tc-tarjetas { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.tc-tarjeta { background: #fff; border: 1px solid var(--ft-line, #E6E9F0); border-radius: 12px; padding: 14px 16px; }
.tc-titulo { margin: 0; font-weight: 600; color: var(--ft-muted, #79808F); font-size: .92rem; }
.tc-valor { margin: .25rem 0; font: 700 1.9rem/1.15 var(--ft-mono, ui-monospace, monospace); color: var(--ft-ink, #0C0D14);
  overflow-wrap: anywhere; }
.tc-unidad { display: block; margin-top: .1rem; font: 500 .85rem/1.3 var(--ft-sans, inherit); color: var(--ft-muted, #79808F); }
.tc-fecha { margin: 0; font-size: .92rem; color: var(--ft-ink, #0C0D14); }
.tc-fecha::first-letter { text-transform: uppercase; }
.tc-sig, .tc-nota { margin: .35rem 0 0; font-size: .85rem; color: var(--ft-muted, #79808F); }
.tc-dir { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0 0 1rem; min-width: 0; }
.tc-dir legend { font-weight: 600; color: var(--ft-ink, #0C0D14); padding: 0; margin: 0 0 .45rem; }
.fh-caja label.tc-op { display: flex; align-items: center; gap: .45rem; margin: 0; font-weight: 500; cursor: pointer; background: #fff;
  border: 1.5px solid var(--ft-line-strong, #CBD5E1); border-radius: 8px; padding: .5rem .8rem; }
.fh-caja label.tc-op:has(input:checked) { border-color: #2563EB; box-shadow: 0 0 0 1px #2563EB inset; }
.tc-op input { margin: 0; accent-color: #2563EB; }
.tc-res { margin: 0; font-size: 1.05rem; overflow-wrap: anywhere; }
.tc-res strong { font: 700 1.25rem/1.3 var(--ft-mono, ui-monospace, monospace); color: var(--ft-ink, #0C0D14); }
#tc-tabla td { font-family: var(--ft-mono, ui-monospace, monospace); text-align: right; }
#tc-tabla thead th:not(:first-child) { text-align: right; }
@media (max-width: 560px) { .fh-caja label.tc-op { flex: 1 1 100%; } .tc-valor { font-size: 1.6rem; } #tc-tabla th, #tc-tabla td { padding: 6px 8px; } }
.fh-caja > h2:first-child { margin-top: 0; }
#tc-serie { flex: 1 1 100%; max-width: 34rem; }
.fh h3 { font-size: 1.12rem; margin: 1.4rem 0 .35rem; color: var(--ft-ink, #0C0D14); }
