/* Daily candles in the chart cards (v101, 17 Oct 2026), drawn by candles.js over a card's line chart. Colours come from the
   chart-card tokens (chart-cards.css: --cc-up & --cc-down, the site's up & down colours), so cream & navy glass cards both
   work. A box that will get candles (data-sym) is a little taller from the start, so nothing moves when they arrive. */
ol.cc-grid .cc-cv[data-sym]{aspect-ratio:9/4}
@media(max-width:560px){ol.cc-grid .cc-cv[data-sym]{aspect-ratio:5/2}}
.cc-cv.cc-cd .cc-pl{inset:6px 8px 19px}
.cc-cd .cc-pl svg{overflow:hidden}
.cc-cd :is(.cc-wu,.cc-wd,.cc-wf){fill:none;stroke-width:1;vector-effect:non-scaling-stroke}
.cc-cd .cc-wu{stroke:var(--cc-up)}.cc-cd .cc-wd{stroke:var(--cc-down)}.cc-cd .cc-wf{stroke:var(--cc-muted)}
.cc-cd .cc-bu{fill:var(--cc-up)}.cc-cd .cc-bd{fill:var(--cc-down)}.cc-cd .cc-bf{fill:var(--cc-muted)}
.cc-cd .cc-ma{fill:none;stroke:var(--cc-p);stroke-width:1.4;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke}
/* The dates the candles cover, under them */
.cc-dr{position:absolute;left:8px;right:8px;bottom:3px;display:flex;justify-content:space-between;gap:8px;font-size:11px;line-height:14px;color:var(--cc-muted);font-variant-numeric:tabular-nums;white-space:nowrap;pointer-events:none}
/* Hover readout: the session's date & prices, on the side away from the pointer */
.cc-hl{position:absolute;top:0;bottom:0;width:0;border-left:1px solid var(--cc-ink);opacity:.35;pointer-events:none}
.cc-grid{--cc-ro-bg:#FFFDF9}.gx .cc-grid{--cc-ro-bg:#13233A}.hvd .gx .cc-grid{--cc-ro-bg:#FFFDF9}
.cc-ro{position:absolute;top:4px;left:6px;z-index:1;display:flex;flex-direction:column;padding:4px 7px;border-radius:7px;background:var(--cc-ro-bg);box-shadow:0 0 0 1px var(--cc-line),0 4px 12px -4px rgba(30,26,23,.25);font-size:11px;line-height:1.35;color:var(--cc-ink);font-variant-numeric:tabular-nums;white-space:nowrap;pointer-events:none}
.cc-ro.cc-ro-r{left:auto;right:6px}
.cc-ro b{font-weight:700}
.cc-hl[hidden],.cc-ro[hidden]{display:none}
/* Legend samples: a rising & a falling candle; the 50-day average's line */
.cc-key .cc-kc{display:inline-flex;align-items:center;justify-content:center;gap:3px;height:14px;border:0}
.cc-kc i{position:relative;display:block;width:4px;height:8px;border-radius:1px;background:var(--cc-up)}
.cc-kc i+i{height:6px;margin-top:3px;background:var(--cc-down)}
.cc-kc i::before{content:'';position:absolute;left:1.5px;top:-3px;bottom:-3px;width:1px;background:inherit}
.cc-key .cc-ka{border-top:1.5px solid var(--cc-p)}
/* v112e (19 Oct 2026): a level or a day marked on the candles (candles.js mark): a breakout's range as a shaded band under a
   dashed top line, a high as a dashed line, the results day as a dashed upright line, each named in a small label */
.cc-cd .cc-band{position:absolute;display:block;box-sizing:border-box;border-top:1.5px dashed var(--cc-mark,#A23F17);background:var(--cc-mark-bg,rgba(162,63,23,.08));pointer-events:none}
.cc-cd .cc-band.ln{background:none}
.cc-cd .cc-on{position:absolute;top:0;bottom:0;display:block;width:0;border-left:1.5px dashed var(--cc-mark,#A23F17);pointer-events:none}
.cc-cd .cc-mk{position:absolute;left:3px;top:3px;padding:1px 5px;border-radius:5px;background:var(--cc-ro-bg,#FFFDF9);font-size:10.5px;font-style:normal;font-weight:600;line-height:1.25;color:var(--cc-mark,#A23F17);white-space:nowrap}
.cc-cd .cc-band.nr .cc-mk{left:auto;right:calc(100% + 4px);top:-9px}
.cc-cd .cc-on.r .cc-mk{left:auto;right:3px}
.cc-grid{--cc-mark:#A23F17;--cc-mark-bg:rgba(162,63,23,.08)}.gx .cc-grid{--cc-mark:#FFB3A6;--cc-mark-bg:rgba(255,179,166,.12)}.hvd .gx .cc-grid{--cc-mark:#A23F17;--cc-mark-bg:rgba(162,63,23,.08)}
