.desk-main-screener { display:flex; flex:1; min-height:0; min-width:0; }
.has-stock-analysis:not(.has-scope-comparison) .desk-point-content>:not([data-desk-stock-analysis]) { display:none; }
.has-stock-analysis.has-scope-comparison .desk-point-reading { display:none; }
.a-stock-chart-tools {
    display:flex; align-items:center; justify-content:space-between; gap:7px; flex-wrap:wrap;
    padding:6px 0 9px; margin-bottom:5px; border-bottom:1px solid var(--desk-line);
}
.a-stock-identity { display:flex; align-items:baseline; flex-wrap:wrap; gap:3px 9px; }
.a-stock-identity strong { font-size:clamp(16px,1.7vw,23px); letter-spacing:-.02em; }
.a-stock-identity span { font-size:11px; color:var(--desk-sub); }
.a-stock-identity>b { font:650 14px var(--mono); white-space:nowrap; }
.a-stock-identity small { font-size:11px; }
.a-stock-chart-switch { display:flex; gap:4px; }
.market-desk .a-stock-chart-switch [aria-pressed=true] { background:#d9c07f; color:#182019; font-weight:700; }
.desk-main-chart [data-desk-stock-kline] { display:flex; flex:1; min-height:0; min-width:0; }
.a-stock-empty {
    flex:1; display:grid; place-items:center; padding:8px; border:1px dashed var(--desk-line);
    color:var(--desk-sub); border-radius:6px; font-size:12px; text-align:center;
}
.a-kline { flex:1; min-width:0; min-height:0; display:flex; flex-direction:column; gap:7px; }
.a-kline header,.a-kline-readout {
    display:flex; flex-wrap:wrap; align-items:baseline; gap:4px 9px;
}
.a-kline header { justify-content:space-between; }
.a-kline-readout { font-size:11px; color:var(--desk-sub); }
.a-kline-readout :is(strong,b) { color:var(--desk-text); font-family:var(--mono); font-size:11px; }
.a-kline header label { font-size:11px; color:var(--desk-sub); }
.a-kline header select {
    background:#21332d; color:var(--desk-text); font:inherit; border:1px solid #486259;
    border-radius:5px; padding:3px 4px;
}
.a-kline-canvas {
    display:grid; grid-template-columns:max-content minmax(0,1fr); grid-template-rows:minmax(112px,1fr) auto;
    flex:1; min-height:0; gap:5px 8px; padding-right:3px;
}
.a-kline-axis {
    display:flex; flex-direction:column; justify-content:space-between; text-align:right; margin-bottom:0;
    height:78.3%; color:var(--desk-sub); font:10px/1 var(--mono);
}
.a-kline-plot { position:relative; min-height:0; }
.a-kline-plot svg { display:block; width:100%; height:100%; }
.a-kline-grid { stroke:#658077; stroke-opacity:.45; }
.a-kline-grid line,.a-kline-cursor,.a-candle line { vector-effect:non-scaling-stroke; }
.a-candle line { stroke:currentColor; stroke-width:1.1; }
.a-candle rect { fill:currentColor; }
.a-candle .a-candle-volume { opacity:.55; }
.a-kline-cursor { stroke:#e4c884; stroke-dasharray:3 3; }
.a-kline-point {
    position:absolute; inset-block:0; left:var(--candle-x); width:var(--candle-step); transform:translateX(-50%);
    border:0; padding:0; background:transparent;
}
.a-kline-point:hover { background:#efe9cb1a; }
.a-kline-dates {
    grid-column:2; display:flex; justify-content:space-between; color:var(--desk-sub);
    font:10px/1 var(--mono);
}
.a-kline p { font-size:11px; color:var(--desk-sub); }
.a-stock-reading { padding:2px 1px 4px; }
.a-stock-reading>strong { display:block; font-size:14px; line-height:1.45; }
.a-stock-reading[data-stock-signal="company-divergence"]>strong { color:var(--desk-accent); }
.a-stock-comparisons {
    margin:6px 0 0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:4px;
}
.a-stock-comparisons>div {
    min-width:0; padding:5px 4px; border-radius:4px; border:1px solid var(--desk-line); background:#1d3129;
}
.a-stock-comparisons dt { font-size:10px; color:var(--desk-sub); }
.a-stock-comparisons dd { margin:3px 0; font:700 clamp(11px,1.15vw,15px) var(--mono); white-space:nowrap; }
.a-stock-comparisons small { display:block; font-size:10px; line-height:1.3; color:var(--desk-sub); overflow-wrap:anywhere; }
.a-stock-reading .a-stock-peer-count,.a-stock-reading .a-stock-sources,.a-stock-document-status {
    margin:6px 0 2px; color:var(--desk-sub); font-size:11px; line-height:1.45; overflow-wrap:anywhere;
}
.a-stock-peer-list,.a-stock-documents ul { list-style:none; display:grid; gap:3px; margin:4px 0; padding:0; }
.a-stock-peer-list li {
    display:grid; grid-template-columns:minmax(0,1fr) max-content max-content; align-items:center; gap:5px;
    background:#20342c; border-radius:4px; padding:2px 4px; font-size:11px;
}
.a-stock-peer-list button {
    overflow:hidden; text-overflow:ellipsis; white-space:nowrap; border:0; padding:2px; text-align:left;
    font:inherit; background:transparent; color:var(--desk-text); cursor:pointer;
}
.a-stock-peer-list button:hover { text-decoration:underline; }
.a-stock-peer-list b { font-family:var(--mono); }
.a-stock-method { font-size:11px; color:var(--desk-sub); margin:4px 0 0; line-height:1.45; }
.a-stock-method summary { cursor:pointer; color:var(--desk-accent); }
.a-stock-method p { margin-top:4px; }
.a-stock-documents li {
    background:#20342c; border-radius:4px; padding:4px 6px; display:grid;
    grid-template-columns:minmax(0,1fr) auto; gap:1px 6px; font-size:11px;
}
.a-stock-documents li :is(span,small) { color:var(--desk-sub); font-size:10px; }
.a-stock-documents b { grid-column:1/-1; font-weight:500; overflow-wrap:anywhere; }
.desk-evidence-preview .a-stock-documents li b {
    display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden;
}
.desk-evidence .a-stock-documents { padding:7px 5px 10px; border-bottom:1px solid var(--desk-line); }
.desk-evidence .a-stock-documents ul { grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr)); gap:5px; }

@media (max-width:600px) {
    .market-desk .desk-view-switch button { min-width:auto; padding:5px 7px; font-size:12px; }
    .a-stock-comparisons dd { font-size:13px; }
}
