/* Presentation-only candidate. Original chart rendering and input handlers are intact. */
:root,[data-theme=white]{color-scheme:light;--fc-bg:#fafafa;--fc-panel:#ffffff;--fc-text:#25272b;--fc-muted:#71757e;--fc-rule:#e3e5e8;--fc-soft:#f2f3f5;--fc-hover:#eceef1;--fc-active:#e7e9ed;--fc-blue:#555e70;--fc-up:#307b66;--fc-down:#b95366;--fc-up-candle:#6b9f8d;--fc-down-candle:#cb7e8e;--fc-profile:#9aa6b5;--fc-profile-pale:#d8dee5;--fc-profile-line:#697687;--fc-support:#dfeee8;--fc-resistance:#f1e0e5;--fc-selected:#eef0f3;--fc-shadow:0 18px 65px #17192024;--fc-axis-bg:#373d46;--fc-axis-text:#fff;--fc-watermark:#a9adb5}
[data-theme=graphite]{color-scheme:dark;--fc-bg:#1c1e22;--fc-panel:#222429;--fc-text:#e1e3e8;--fc-muted:#989da7;--fc-rule:#33363e;--fc-soft:#282b31;--fc-hover:#30343b;--fc-active:#393e48;--fc-blue:#b5c0d5;--fc-up:#8bb5a3;--fc-down:#cf98a8;--fc-up-candle:#7faa98;--fc-down-candle:#c98f9e;--fc-profile:#8d9aa9;--fc-profile-pale:#47515e;--fc-profile-line:#a5b1c1;--fc-support:#31463d;--fc-resistance:#49363d;--fc-selected:#2d323b;--fc-shadow:0 18px 65px #0007;--fc-axis-bg:#e0e4eb;--fc-axis-text:#23262d;--fc-watermark:#6a717d}
body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;letter-spacing:.02px}
button,input,select{font-family:inherit}svg text{font-family:inherit;font-variant-numeric:tabular-nums}
button{border-radius:6px}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--fc-blue);outline-offset:2px}
button,select,input{transition:background-color 150ms ease,border-color 150ms ease,color 150ms ease}
*{scrollbar-color:var(--fc-rule) transparent;scrollbar-width:thin}
.fc-top{background:var(--fc-panel);color:var(--fc-text);border-bottom:1px solid var(--fc-rule);min-height:82px;padding:10px 16px;gap:15px}
.fc-mark{width:46px;height:52px;background:var(--fc-panel);border-radius:0;flex:none;isolation:isolate}
/* Keep the original embedded logo. Remove its JPEG background optically,
   then invert the same mark for the white theme. No replacement drawing. */
.fc-mark svg{display:block;width:100%;height:100%;filter:grayscale(1) contrast(1.3) invert(1);mix-blend-mode:multiply}
[data-theme=graphite] .fc-mark svg{filter:grayscale(1) contrast(1.3);mix-blend-mode:screen}
.fc-brand{font-size:9px;font-weight:600;letter-spacing:3px;color:var(--fc-muted);margin-bottom:5px}
.fc-heading h1{font-size:22px;letter-spacing:-.65px;font-weight:520}
.fc-heading{min-width:135px}
.fc-subtitle{font-size:10px;color:var(--fc-muted);margin-top:5px;gap:5px}
.fc-stamp{font-size:11px;color:var(--fc-text);gap:4px}
.fc-stamp [data-source]{color:var(--fc-muted);font-size:9px}
.fc-stamp [data-source][data-live=false]{color:var(--fc-muted)}
.fc-top button{color:var(--fc-muted);border-color:var(--fc-rule)}
.fc-top button:hover,.fc-top button[aria-pressed=true]{background:var(--fc-hover);color:var(--fc-text)}
.fc-top .fc-alert-banner,.fc-top .fc-news-banner{min-height:51px;max-height:58px;border:1px solid var(--fc-rule);background:var(--fc-soft);border-radius:8px;padding:7px 10px;color:var(--fc-text);flex-basis:280px}
.fc-top .fc-alert-banner:hover,.fc-top .fc-news-banner:hover{background:var(--fc-hover);border-color:var(--fc-muted)}
.fc-alert-banner .fc-alert-copy strong,.fc-top .fc-news-banner strong{font-size:11px;font-weight:500;line-height:1.35;color:var(--fc-text)}
.fc-alert-copy small,.fc-news-banner small,.fc-alert-banner [data-alert-count]{color:var(--fc-muted);font-size:9px}
.fc-news-kicker{font-size:9px;letter-spacing:.25px;color:var(--fc-muted)}
.fc-alert-banner[data-stage=hit],.fc-alert-banner[data-stage=near]{border-color:var(--fc-up);background:var(--fc-soft)}
.fc-tools{gap:5px;flex:none;align-items:center}
.fc-theme-switch{display:flex;gap:2px;padding:3px;margin-right:5px;background:var(--fc-soft);border:1px solid var(--fc-rule);border-radius:8px}
.fc-top .fc-theme-switch button{min-width:28px;height:27px;min-height:27px;padding:4px 6px;border:0;background:none;color:var(--fc-muted);border-radius:5px;font-size:10px}
.fc-theme-switch button svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.fc-top .fc-theme-switch button[aria-pressed=true]{background:var(--fc-panel);color:var(--fc-text);box-shadow:0 1px 5px #00000013}
.fc-phonebar .fc-theme-switch{padding:2px;gap:2px;margin:0 0 0 auto;border-radius:6px}
.fc-phonebar .fc-theme-switch button{min-width:25px;min-height:24px;padding:3px 5px;border:0;background:transparent;color:var(--fc-muted);border-radius:4px}
.fc-phonebar .fc-theme-switch button[aria-pressed=true]{background:var(--fc-panel);color:var(--fc-text)}
.fc-sidehead{padding-top:11px;padding-bottom:8px}
.fc-sidehead strong{font-size:12px;font-weight:600}
.fc-sections{border:1px solid var(--fc-rule);border-radius:7px;background:var(--fc-soft);padding:3px}
.fc-sections button{border-radius:4px;font-size:10px}
.fc-sections button[aria-pressed=true]{box-shadow:0 1px 4px #00000012;color:var(--fc-text);background:var(--fc-panel)}
.fc-search{padding:7px 9px;background:var(--fc-soft);border-color:transparent;border-radius:7px}
.fc-controls select{background:var(--fc-soft);border-color:var(--fc-rule);border-radius:5px;padding:5px;font-size:10px}
.fc-controls label{font-size:9px}
#family-compact-app .fc-quality-settings{border-color:var(--fc-rule);background:var(--fc-panel);border-radius:6px;padding:7px;font-size:10px}
.fc-instruments-open,.fc-overview-open{border-radius:6px;font-size:11px}
.fc-idea{border-color:var(--fc-rule);padding:5px 8px 5px 10px;background:var(--fc-panel);box-shadow:none}
.fc-idea.is-current{background:var(--fc-selected);border-left-color:var(--fc-text)}
.fc-idea.is-current .fc-idea-top strong{font-weight:650}
.fc-idea.is-unread{background:var(--fc-panel)}
.fc-idea.is-unread.is-current{background:var(--fc-selected)}
.fc-idea:hover{background:var(--fc-hover);box-shadow:none}
.fc-idea-main{gap:9px}.fc-idea-top strong{font-size:12px;font-weight:550;letter-spacing:.15px}.fc-idea-top time{font-size:9px}
.fc-idea-name{font-size:10px;margin-top:4px}.fc-mini{height:23px}.fc-mini-price{font-size:11px;font-variant-numeric:tabular-nums}
.fc-symbol-mark{width:27px;height:27px;background:var(--fc-soft);color:var(--fc-muted)}
.fc-symbol-mark img{padding:1px;box-shadow:0 0 0 1px #ffffff25}
.fc-idea [data-star]{color:var(--fc-muted)}.fc-idea [data-star][aria-pressed=true]{color:var(--fc-text)}
.fc-stats{background:var(--fc-panel);min-height:42px;padding:7px 13px;gap:10px}
.fc-stats>div{gap:10px}.fc-stats span{font-size:10px}.fc-stats strong{font-size:16px;font-weight:500;letter-spacing:-.2px}
.fc-pricepanel{padding:0 10px;background:var(--fc-bg)}
#family-compact-app .fc-pricepanel>.fc-panelhead{min-height:38px}
.fc-charttools button{color:var(--fc-muted)}.fc-charttools button:hover{color:var(--fc-text)}
#family-compact-app .fc-charttools [data-chart-menu][aria-expanded=true]{background:var(--fc-active);color:var(--fc-text)}
#family-compact-app .fc-volume-tools{border-color:var(--fc-rule);background:var(--fc-soft)}
.fc-panelhead strong,.fc-dock-grip span{font-size:11px;font-weight:500}
.fc-right{padding:6px 7px;background:var(--fc-panel)}
.fc-dock-panel[data-dock-position=right]{background:var(--fc-bg);border:1px solid var(--fc-rule);border-radius:7px;padding:5px}
.fc-dock-head{min-height:27px;border-bottom:1px solid var(--fc-rule);margin-bottom:4px}
.fc-dock-grip{justify-content:flex-start;font-size:15px;color:var(--fc-muted);padding-left:2px!important}
.fc-dock-grip span{padding-left:3px}
.fc-dock-panel.is-dock-target{box-shadow:inset 0 0 0 2px var(--fc-blue);background:var(--fc-selected)}
.fc-bottom-slot>.fc-dock-panel{background:var(--fc-bg);padding:3px 10px}
.fc-resize:after,.fc-side-resize:after,.fc-peer-resize:after{background:var(--fc-rule)}
.fc-resize:hover,.fc-side-resize:hover,.fc-peer-resize:hover{background:var(--fc-hover)}
#family-compact-app .fc-chart-pop{background:var(--fc-panel);border-color:var(--fc-rule);box-shadow:var(--fc-shadow);border-radius:10px}
#family-compact-app .fc-chart-pop select,#family-compact-app .fc-pop-actions button{background:var(--fc-soft);border-color:var(--fc-rule);color:var(--fc-text)}
#family-compact-app .fc-pop-actions button[aria-pressed=true]{background:var(--fc-active);border-color:var(--fc-muted);color:var(--fc-text)}
#family-compact-app .fc-event-strip button,#family-compact-app .fc-events-pop .fc-event-strip button{background:var(--fc-soft);border-color:var(--fc-rule)}
#family-compact-app .fc-event-strip button .fc-event-title{background:var(--fc-soft)}
#family-compact-app .fc-event-strip button.is-selected{background:var(--fc-active);border-color:var(--fc-muted)}
#family-compact-app .fc-profile-help{background:var(--fc-panel);border-color:var(--fc-rule);color:var(--fc-text)}
.fc-chart-dialog,.fc-overview-dialog,.fc-alert-dialog,.fc-news-dialog{border:1px solid var(--fc-rule);border-radius:12px;background:var(--fc-bg);color:var(--fc-text);box-shadow:var(--fc-shadow)}
.fc-chart-dialog::backdrop,.fc-overview-dialog::backdrop,.fc-alert-dialog::backdrop,.fc-news-dialog::backdrop{background:#090b1066;backdrop-filter:blur(3px)}
.fc-expanded-head,.fc-alert-dialog>header,.fc-news-dialog>header,.fc-overview-head{background:var(--fc-panel);border-bottom:1px solid var(--fc-rule);color:var(--fc-text)}
.fc-expanded-head{min-height:48px}.fc-dialog-brand{color:var(--fc-muted)}
.fc-expanded-head #fc-expanded-title{position:static;width:auto;height:auto;margin:0;padding:0;clip:auto;overflow:visible;white-space:nowrap;font-size:13px;font-weight:500;letter-spacing:0}
.fc-expanded-head [data-expanded-close]{margin-left:auto}
.fc-alert-fields input,.fc-alert-fields select{background:var(--fc-panel);border-color:var(--fc-rule)}
.fc-alert-body [data-alert-submit]{background:var(--fc-active);border-color:var(--fc-rule);color:var(--fc-text)}
.fc-overview-head{padding:12px 18px;gap:15px;min-height:78px}
.fc-overview-head .fc-mark{width:40px;height:46px}
.fc-overview-head .fc-dialog-brand{color:var(--fc-muted);letter-spacing:2.5px}
.fc-overview-head h2{font-size:20px;font-weight:500;letter-spacing:-.5px}
.fc-overview-periods{flex:initial;margin-left:auto;margin-right:auto;gap:3px;padding:4px;background:var(--fc-soft);border:1px solid var(--fc-rule);border-radius:10px;position:relative}
.fc-overview-periods button{display:flex;align-items:center;gap:9px;min-height:37px;padding:8px 14px;background:transparent;border:0;border-radius:6px;color:var(--fc-muted);font-size:11px;font-weight:500}
.fc-overview-periods button span{font-size:10px;font-weight:400;opacity:.8;font-variant-numeric:tabular-nums}
.fc-overview-periods button[aria-pressed=true]{background:var(--fc-panel);color:var(--fc-text);box-shadow:0 1px 5px #00000018}
.fc-overview-head [data-overview-close]{color:var(--fc-muted)}
.fc-overview-body{padding:12px 16px}.fc-overview-summary{padding:12px 0 15px;gap:20px}.fc-overview-summary strong{font-size:24px;letter-spacing:-.6px;font-weight:450}
.fc-overview-filters{gap:3px;padding-top:12px;padding-bottom:5px}
.fc-overview-filters button{padding:6px 10px;border-radius:6px;font-size:11px}
.fc-overview-filters button[aria-pressed=true]{background:var(--fc-active);border-color:transparent}
.fc-overview-explain{padding-bottom:7px;font-size:10px}
.fc-overview-grid{gap:10px;grid-template-columns:repeat(4,minmax(0,1fr))}
.fc-overview-card{padding:9px;background:var(--fc-panel);border-color:var(--fc-rule);border-radius:8px;gap:2px}
.fc-overview-card:hover{border-color:var(--fc-muted);box-shadow:0 3px 14px #0000000a;transform:none}
.fc-overview-card-head{font-size:12px}.fc-overview-card-head strong{letter-spacing:.1px;font-weight:600}
.fc-overview-card .fc-chart{height:188px;min-height:188px}
.fc-news-card{background:var(--fc-panel);border-color:var(--fc-rule);border-radius:8px}
.fc-news-dialog>header small,.fc-news-dialog>header button,.fc-news-card-meta,.fc-news-collected,.fc-news-explanation{color:var(--fc-muted)}
.fc-news-tickers,.fc-news-actions a,.fc-news-actions button{color:var(--fc-blue)}
.fc-news-ticker{background:var(--fc-soft);border-color:var(--fc-rule);color:var(--fc-text)}
.fc-foot{min-height:26px;border-top:1px solid var(--fc-rule);padding:4px 10px;gap:12px;color:var(--fc-muted);background:var(--fc-panel);font-size:9px}
.fc-preview-label{border:1px solid var(--fc-rule);background:var(--fc-soft);border-radius:4px;padding:2px 6px;color:var(--fc-muted);font-size:9px;white-space:nowrap}
[data-cursor-price-box],[data-cursor-time-box]{fill:var(--fc-axis-bg)!important;stroke:none!important}
[data-cursor-price],[data-cursor-time]{fill:var(--fc-axis-text)!important}
[data-watermark]{fill:var(--fc-watermark)!important;opacity:.4}
@media(min-width:720px) and (max-width:1350px){.fc-theme-switch span{display:none}.fc-top{gap:10px}.fc-top .fc-alert-banner,.fc-top .fc-news-banner{flex-basis:220px;min-width:130px}.fc-stamp{font-size:10px}.fc-heading h1{font-size:20px}}
@media(max-width:1000px) and (min-width:720px){.fc-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fc-stamp{display:none}}
@media(max-width:719px){.fc-top{padding:8px 10px;gap:7px}.fc-top .fc-mark{width:32px;height:37px}.fc-heading{min-width:90px}.fc-heading h1{font-size:17px}.fc-brand{font-size:8px;margin-bottom:3px}.fc-subtitle{font-size:9px}.fc-top .fc-tools{gap:3px}.fc-theme-switch span{display:none}.fc-theme-switch{padding:2px;margin-right:0}.fc-top .fc-theme-switch button{min-width:24px;padding:3px}.fc-top .fc-alert-banner,.fc-top .fc-news-banner{min-height:36px;max-height:39px;flex:1 0 100%;padding:4px 8px;border-radius:6px}.fc-top .fc-news-banner strong{font-size:10px}.fc-stats{padding:6px 8px;min-height:35px}.fc-stats span{font-size:9px}.fc-stats strong{font-size:14px}.fc-preview-label{max-width:150px;overflow:hidden;text-overflow:ellipsis}.fc-overview-head{padding:9px;gap:8px;flex-wrap:wrap}.fc-overview-head h2{font-size:16px}.fc-overview-head .fc-mark{width:29px;height:33px}.fc-overview-periods{order:4;width:100%;margin:0}.fc-overview-periods button{flex:1;padding:5px 8px;min-height:32px}.fc-overview-head [data-overview-close]{margin-left:auto}.fc-overview-grid{grid-template-columns:1fr}.fc-overview-body{padding:10px}.fc-overview-summary strong{font-size:20px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(max-width:719px){.fc-expanded-head{gap:6px}.fc-expanded-head .fc-dialog-brand{display:none}.fc-expanded-head #fc-expanded-title{max-width:110px;overflow:hidden;text-overflow:ellipsis;font-size:11px}.fc-expanded-tools{gap:0}.fc-expanded-tools button{padding:3px 4px}}
