/* V20: gráfico H4 por cruce recuperado desde V17. */
.mm-pair-chart{max-width:980px;margin:24px 0 34px;border:1px solid #36515f;background:#0b202c;padding:15px;min-width:0}
.mm-pair-chart-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:10px}
.mm-pair-chart-head h2{font:700 17px/1.35 system-ui,sans-serif;margin:0;color:#eee7d7}
.mm-pair-chart-actions{display:flex;gap:14px;align-items:center;flex-wrap:wrap}
.mm-pair-chart-actions a{font-size:12px;color:#e5c186;text-decoration:underline;text-underline-offset:3px}
.mm-pair-chart-actions button{background:#1b3948;color:#f1e1c8;border:1px solid #829d9b;border-radius:6px;padding:8px 11px;font-size:12px;cursor:pointer}
.mm-pair-chart-actions button:hover,.mm-pair-chart-actions button:focus-visible{border-color:#e5c186}
.mm-pair-chart-body{min-height:430px}
.mm-pair-tv-frame,.mm-pair-tv-frame .tradingview-widget-container__widget{height:430px;width:100%;min-width:0}
/* TradingView inserta un iframe con altura intrínseca reducida: forzar el alto real del gráfico. */
.mm-pair-chart .mm-pair-chart-body{height:480px;min-height:480px}
.mm-pair-chart .mm-pair-tv-frame,
.mm-pair-chart .mm-pair-tv-frame .tradingview-widget-container__widget{height:100%!important;min-height:0;width:100%}
.mm-pair-chart .mm-pair-tv-frame iframe{display:block;width:100%!important;height:100%!important;min-height:480px!important;border:0}
.mm-pair-chart-caption{font-size:11px;line-height:1.5;color:#a8bbc3;margin:9px 0 0}
.mm-pair-chart-expanded{position:fixed;inset:12px;z-index:100000;max-width:none;margin:0;display:flex;flex-direction:column;box-shadow:0 10px 65px #000d}
.mm-pair-chart-expanded .mm-pair-chart-body{flex:1;min-height:0}
.mm-pair-chart-expanded .mm-pair-chart-body{height:auto;min-height:0}
.mm-pair-chart-expanded .mm-pair-tv-frame iframe{min-height:300px!important}
.mm-pair-chart-expanded .mm-pair-tv-frame,.mm-pair-chart-expanded .mm-pair-tv-frame .tradingview-widget-container__widget{height:100%;min-height:300px}
body.mm-pair-chart-open{overflow:hidden}
@media(max-width:720px){.mm-pair-chart .mm-pair-chart-body{height:420px;min-height:420px}.mm-pair-chart .mm-pair-tv-frame iframe{min-height:420px!important}.mm-pair-chart{padding:10px;margin:18px 0 25px}.mm-pair-chart-head h2{font-size:15px}.mm-pair-tv-frame,.mm-pair-tv-frame .tradingview-widget-container__widget{height:380px}.mm-pair-chart-expanded{inset:4px}}
