.stock-chart{--chart-blue:#276ed5;--chart-ink:#334d6d;--chart-muted:#77879b;color:var(--chart-ink);min-width:0;background:#fff;font-variant-numeric:tabular-nums}
.stock-chart-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px}.stock-chart-heading h3{font-size:16px;font-weight:600;margin:0}.stock-chart-heading p{font-size:11px;color:var(--chart-muted);margin:4px 0 0}.stock-chart-convention{font-size:10px;color:#8b96a5;white-space:nowrap;margin-top:4px}
.stock-chart-toolbar{display:flex;gap:12px;justify-content:space-between;align-items:center;flex-wrap:wrap;margin-bottom:14px}.stock-chart-controls{display:flex;gap:2px;background:#f4f7fb;border:1px solid #e8edf4;padding:3px;border-radius:7px}.stock-chart-controls button{font:inherit;font-size:11px;line-height:1.5;min-width:34px;min-height:29px;padding:4px 9px;background:transparent;border:0;border-radius:5px;color:#758398;cursor:pointer}.stock-chart-controls button:hover{background:#eaf1fb;color:#2c67af}.stock-chart-controls button[aria-pressed=true]{background:#fff;color:var(--chart-blue);box-shadow:0 1px 4px #355e9914;font-weight:600}.stock-chart-controls button:disabled{color:#acb5c1;opacity:.6;cursor:default}.stock-chart-controls button:focus-visible,.stock-chart canvas:focus-visible{outline:2px solid #86b5f1;outline-offset:3px}.stock-chart-zoom button{font-size:16px;padding:1px 8px}
.stock-chart-readout{display:flex;align-items:baseline;flex-wrap:wrap;gap:7px 15px;min-height:42px;border-top:1px solid #eef2f7;padding:12px 1px 8px;font-size:11px;color:#7d8a9c}.stock-chart-readout>strong{color:#48698e;font-size:12px;font-weight:500;margin-right:2px}.stock-chart-readout b{font-weight:500;color:#4c607a;margin-left:2px}.stock-chart-readout[data-direction=up] [data-chart-value=close]{color:#c56c62}.stock-chart-readout[data-direction=down] [data-chart-value=close]{color:#268d81}
.stock-chart-surface{position:relative;width:100%;min-width:0}.stock-chart canvas{display:block;width:100%;height:370px;cursor:crosshair;touch-action:none;user-select:none;-webkit-user-select:none;border-radius:5px}.stock-chart canvas.is-dragging{cursor:grabbing}.stock-chart canvas[hidden],.stock-chart [hidden]{display:none}.stock-chart-empty{padding:85px 22px;text-align:center;color:#8190a3;background:#fafcfe;border:1px dashed #e0e8f2;border-radius:8px;font-size:12px}
.stock-chart-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;color:#8190a5;font-size:10px;padding:7px 2px;border-top:1px solid #edf2f7}.stock-chart-help{font-size:10px!important;color:#8c99aa;margin:9px 0 0!important;line-height:1.7}.stock-chart-data-note{font-size:11px!important;color:#8a784d;background:#faf7ef;border-radius:5px;padding:8px 11px;margin:10px 0 0!important}.stock-chart-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:600px){.stock-chart-heading{flex-direction:column;gap:4px}.stock-chart-heading h3{font-size:15px}.stock-chart-convention{font-size:9px}.stock-chart-toolbar{gap:7px;justify-content:flex-start}.stock-chart-controls{padding:2px}.stock-chart-controls button{min-height:32px;min-width:32px;padding:4px 7px}.stock-chart-readout{gap:5px 10px;font-size:10px}.stock-chart-readout>strong{width:100%;margin-bottom:3px}.stock-chart-footer{align-items:flex-start;font-size:9px}.stock-chart-help{font-size:9px!important}}
@media(prefers-reduced-motion:reduce){.stock-chart *{scroll-behavior:auto!important}}

.stock-chart-period-meta{display:flex;justify-content:space-between;flex-wrap:wrap;gap:6px 18px;color:#73859c;font-size:10px;padding:10px 2px 5px;line-height:1.6}.stock-chart-observation-note{font-size:10px!important;line-height:1.7;color:#73859c;margin:0 0 10px!important}.stock-chart-state-actions{display:flex;justify-content:center;gap:8px;margin-top:12px}.stock-chart-empty p{margin:0;font-size:12px;line-height:1.8}.stock-chart[aria-busy=true] .stock-chart-empty{color:#4979b4}.stock-chart-controls[aria-label="行情周期"]{flex-wrap:wrap}.stock-chart-controls[aria-label="行情周期"] button{min-width:35px}@media(max-width:600px){.stock-chart-toolbar .stock-chart-controls[aria-label="行情周期"]{order:-1;width:100%;justify-content:space-between}.stock-chart-period-meta{font-size:9px;display:grid;gap:3px}.stock-chart-empty{padding:65px 16px}}

.stock-chart-acquisition{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;background:#f7faff;border:1px solid #e5edf8;border-radius:7px;padding:10px 12px;margin:8px 0}.stock-chart-acquisition p{font-size:11px!important;color:#69829f;margin:0!important;line-height:1.6}.stock-chart-acquisition .stock-chart-state-actions{margin-top:0;justify-content:flex-start}.stock-chart-acquisition .btn{font-size:11px;min-height:30px}

.stock-chart-dates{display:flex;flex-wrap:wrap;align-items:flex-end;gap:8px;margin:2px 0 16px}.stock-chart-dates label{display:grid;gap:5px;font-size:11px;color:#7188a2}.stock-chart-dates input{width:145px;min-height:34px;font-size:12px;padding:7px 9px}.stock-chart-dates .btn{min-height:34px;font-size:11px}.stock-chart-dates [role=status]{width:100%;font-size:11px;color:#a25d4b}@media(max-width:600px){.stock-chart-dates label{flex:1;min-width:125px}.stock-chart-dates input{width:100%;min-width:0}}
