.candidate-link{border:0;background:none;color:var(--accent);font:inherit;font-weight:600;cursor:pointer;padding:0;text-decoration:underline;text-underline-offset:3px}.chart-open{margin-top:9px;white-space:normal;font-size:11px}.chart-dialog{width:min(1180px,96vw);max-height:94vh;padding:0;border:1px solid var(--border);border-radius:12px;background:var(--bg);color:var(--text);overflow:auto}.chart-dialog::backdrop{background:#000b}.chart-dialog .dialog-head{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;gap:15px;align-items:center;background:var(--surface);padding:18px 24px;border-bottom:1px solid var(--border)}.dialog-head h2{margin:0}.chart-body{padding:24px}.chart-summary{display:flex;gap:12px 28px;flex-wrap:wrap;margin-bottom:22px}.chart-summary div{min-width:110px}.chart-summary dt{font-size:12px}.chart-summary dd{text-align:left;font-size:20px;margin-top:5px}.plot-wrap{position:relative}.interactive-plot{min-height:190px;touch-action:pan-y}.plot-info{min-height:48px;font-size:12px;color:var(--muted);margin:8px 0}.plot-marker{cursor:pointer;stroke:var(--bg);stroke-width:1}.plot-marker:focus{stroke:var(--text);stroke-width:3;outline:none}.plot-price{stroke:#77b7ff;fill:none;stroke-width:1.5}.plot-equity{stroke:#74d7c4;fill:none;stroke-width:2}.plot-cdi{stroke:#f4bc6c;fill:none;stroke-width:2}.plot-base{stroke:#a9b6c8;stroke-dasharray:5 4}.chart-dialog input{font:inherit;background:var(--surface);color:var(--text);border:1px solid #667a94;padding:9px;border-radius:6px}.chart-dialog .filters{margin:16px 0}.chart-dialog .filters button{align-self:end}.chart-dialog .filters label{min-width:125px}.trade-select{font:inherit;color:var(--accent);background:none;border:0;text-decoration:underline;cursor:pointer}.trade-pagination{display:flex;gap:16px;align-items:center;justify-content:flex-end;margin-top:15px}.trade-pagination button:disabled{opacity:.4;cursor:default}.trade-table th,.trade-table td{padding:10px}.chart-legend{font-size:12px;color:var(--muted);display:flex;flex-wrap:wrap;gap:16px}.chart-dialog h3{margin:0 0 10px}#chart-live{margin-bottom:15px}#price-notice{color:var(--muted);font-size:12px}button:disabled{opacity:.5}@media(max-width:700px){.chart-dialog{width:100vw;max-height:100dvh;height:100dvh;border-radius:0}.chart-body{padding:15px}.chart-dialog .dialog-head{padding:14px}.chart-dialog .panel{padding:13px}.chart-dialog .metrics{grid-template-columns:1fr 1fr}.trade-pagination{justify-content:space-between;font-size:12px}.chart-summary{gap:15px}.chart-summary dd{font-size:18px}}

.legend-equity,.legend-buy{color:#74d7c4}.legend-cdi{color:#f4bc6c}.legend-sell{color:#ff8795}.chart-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.chart-summary div{display:block;min-width:0}.interactive-plot{height:285px;width:100%;min-height:285px} @media(max-width:700px){.chart-dialog{max-width:100vw;margin:0}.chart-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
