/* FX_BANKCHART_2026_11_12 — «Курс банка по дням» на странице банка (inc/fx-r-bankchart.php, js/fx-bankchart.js).
   Канон DESIGN-DNA-TOOLS.md 0.9: полотно прозрачное на карточке, ряды #95ce5a / #b2bec3 / #787b86, легенда 13 px #b3b9c2,
   заголовок графика говорит вывод (.bhc-card-head--lead + .bhc-card-lead из bh-system.css). */
#bhc-shell .fxh{padding:20px}
#bhc-shell .fxh .bhc-card-lead{max-width:62ch}
/* строка над графиком: слева табло (оно же легенда), справа переключатель периода — он есть, когда истории больше месяца */
#bhc-shell .fxh-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 24px;margin:0 0 10px}
#bhc-shell .fxh-per{background:var(--r-bg)}
#bhc-shell .fxh-rd{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 22px;margin:0;font:400 13px/1.4 var(--r-f);color:#b3b9c2;font-variant-numeric:tabular-nums}
#bhc-shell .fxh-rd-d{min-width:88px;font-weight:600;color:var(--r-t1)}
#bhc-shell .fxh-rd-i{display:inline-flex;align-items:baseline;gap:8px;white-space:nowrap}
#bhc-shell .fxh-rd-i i{flex:none;display:block;width:14px;height:2px;border-radius:1px;background:#b2bec3;transform:translateY(-4px)}
#bhc-shell .fxh-rd-i b{font-weight:600;color:#e6e9ee}
#bhc-shell .fxh-rd-i.fxh-k0 i{background:#95ce5a}
#bhc-shell .fxh-plot{position:relative;height:240px}
#bhc-shell .fxh-plot table{table-layout:auto!important;border-spacing:0!important;width:auto!important;margin:0}   /* канон 0.9: critical.css ломает таблицу Lightweight Charts */
#bhc-shell .fxh-plot td{padding:0;border:0}
#bhc-shell .fxh-svg{display:block;width:100%;height:100%}
#bhc-shell .fxh-svg path{stroke:#b2bec3;stroke-width:2;stroke-linejoin:round;stroke-linecap:round}
#bhc-shell .fxh-svg path.fxh-k0{stroke:#95ce5a}
#bhc-shell .fxh-note{margin:12px 0 0;font:400 13px/1.5 var(--r-f);color:var(--r-t3)}

@media (max-width:767.98px){
	#bhc-shell .fxh{padding:16px}
	#bhc-shell .fxh-plot{height:200px}
	#bhc-shell .fxh-rd{gap:4px 16px;margin:0 0 10px}
	#bhc-shell .fxh-rd-d{flex-basis:100%}
	#bhc-shell .fxh-bar{display:block}
	#bhc-shell .fxh-per{display:flex;margin:0 0 12px}
	#bhc-shell .fxh-per a{flex:1 1 0;min-width:0;height:44px;padding:0 6px}
}
