/* Futures theme charts: Apache ECharts, light panel. The accent comes from the Customizer chart colour (--fd-accent is set inline on .fd-wrap). */
.fd-wrap{--fd-i-sma50:#B45309;--fd-i-sma200:#7C3AED;--fd-i-ema20:#0E7490;--fd-i-rsi:#BE185D;--fd-i-bb:#6B7280;--fd-accent:#296284;--fd-head:#1F4E69;--fd-up:#0B7A53;--fd-down:#C42F2F;--fd-panel:#FFFFFF;--fd-text:#444444;--fd-muted:#666666;--fd-onacc:#FFFFFF;--fd-line:#E5E5E5;--fd-btn:#F7F7F7;margin:0 0 12px;color:var(--fd-text);font-size:14px;line-height:1.4;text-align:left}
.fd-wrap *{box-sizing:border-box}
.fd-card{background:var(--fd-panel);border:1px solid var(--fd-line);border-radius:0;box-shadow:none;padding:10px;margin:0 0 12px;text-align:left}
.fd-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-variant-numeric:tabular-nums}
.fd-note{margin:8px 0 0;font-size:12px;color:var(--fd-muted)}
.fd-bar{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;margin-bottom:10px}
.fd-bar .fd-bar2{justify-content:space-between}
.fd-seg{display:inline-flex;border:1px solid var(--fd-line);border-radius:7px;overflow:hidden}
.fd-seg button{background:none;border:0;border-right:1px solid var(--fd-line);color:var(--fd-muted);padding:5px 10px;font:inherit;font-size:13px;cursor:pointer}
.fd-seg button:last-child{border-right:0}
.fd-seg button.on{background:var(--fd-accent);color:var(--fd-onacc)}
.fd-seg button:disabled{opacity:.35;cursor:not-allowed}
.fd-chips{display:flex;flex-wrap:wrap;gap:6px}
.fd-chips button{background:none;border:1px solid var(--fd-line);color:var(--fd-muted);border-radius:99px;padding:3px 11px;font:inherit;font-size:12px;cursor:pointer}
.fd-chips button[aria-pressed="true"]{border-color:var(--fd-accent);color:var(--fd-accent);background:color-mix(in srgb,var(--fd-accent) 12%,transparent)}
.fd-chart{position:relative;width:100%;height:380px}
.fd-chart-h{height:460px}
.fd-legend{position:absolute;left:8px;top:6px;z-index:3;font-size:12px;color:var(--fd-muted);pointer-events:none}
.fd-seg button:focus-visible,.fd-chips button:focus-visible{outline-offset:-2px}
.fd-seg{max-width:100%}
.fd-seg button:disabled{text-decoration:line-through;opacity:.4}
.fd-seglbl{font-size:12px;color:var(--fd-muted);margin-right:-6px}
.fd-bar .fd-chart,.fd-chart *{touch-action:pan-y !important}
.fd-legend{font-size:13px;background:color-mix(in srgb,var(--fd-panel) 80%,transparent);padding:1px 4px;border-radius:4px}
.fd-chips button::before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:6px;background:var(--fd-line)}
.fd-chips button[data-v=sma50]::before{background:var(--fd-i-sma50)}.fd-chips button[data-v=sma200]::before{background:var(--fd-i-sma200)}
.fd-chips button[data-v=ema20]::before{background:var(--fd-i-ema20)}.fd-chips button[data-v=bb]::before{background:var(--fd-i-bb)}
.fd-chips button[data-v=rsi]::before{background:var(--fd-i-rsi)}.fd-chips button[data-v=macd]::before{background:var(--fd-accent)}
.fd-chips button[aria-pressed="true"]::before{box-shadow:0 0 0 2px color-mix(in srgb,var(--fd-text) 35%,transparent)}
.fd-legend{max-width:calc(100% - 76px);line-height:1.35}
.fd-chips button[data-v=sma50][aria-pressed=true]{border-color:var(--fd-i-sma50);color:var(--fd-text)}
.fd-chips button[data-v=sma200][aria-pressed=true]{border-color:var(--fd-i-sma200);color:var(--fd-text)}
.fd-chips button[data-v=ema20][aria-pressed=true]{border-color:var(--fd-i-ema20);color:var(--fd-text)}
.fd-chips button[data-v=bb][aria-pressed=true]{border-color:var(--fd-i-bb);color:var(--fd-text)}
.fd-chips button[data-v=rsi][aria-pressed=true]{border-color:var(--fd-i-rsi);color:var(--fd-text)}
@media (min-width:600px) and (max-width:900px){.fd-chart{height:360px}.fd-chart-h{height:420px}}
@media (pointer:coarse){.fd-seg button{min-height:40px;padding:0 12px}.fd-chips{gap:8px}.fd-chips button{min-height:40px;padding:0 14px}}
@media (max-width:820px){.fd-chart{height:340px}.fd-chart-h{height:360px}.fd-bar .fd-h{flex:1 0 100%}.fd-seg[data-group=hp],.fd-seg[data-group=iv]{max-width:100%;overflow-x:auto;scrollbar-width:none}.fd-seg[data-group=hp] button,.fd-seg[data-group=iv] button{flex:0 0 auto}}
@media (max-width:480px){.fd-seglbl{display:none}.fd-bar{gap:8px}}

/* look of the futures theme: square corners, thin grey borders, flat buttons, bold blue headings on the left */
.fd-wrap .fd-h{margin:0 auto 0 0;flex:1 1 auto;text-align:left;font-size:16px;font-weight:700;letter-spacing:0;text-transform:none;color:var(--fd-head);line-height:1.25}
.fd-wrap .fd-note{text-align:left}
.fd-wrap .fd-bar{justify-content:flex-start}
.fd-wrap .fd-seg{border-radius:0;border:1px solid var(--fd-line)}
.fd-wrap .fd-seg button{background:var(--fd-btn);color:#555;border-right:1px solid var(--fd-line);border-radius:0;font-weight:400}
.fd-wrap .fd-seg button:hover:not(.on):not(:disabled){background:#ECECEC;color:#222}
.fd-wrap .fd-seg button.on{background:var(--fd-accent);color:var(--fd-onacc);font-weight:600}
.fd-wrap .fd-chips button{border-radius:0;background:var(--fd-btn);color:#555;border:1px solid var(--fd-line)}
.fd-wrap .fd-chips button:hover{background:#ECECEC}
.fd-wrap .fd-chips button[aria-pressed="true"]{background:#fff;color:var(--fd-text);font-weight:600}
