.rtl-panel { padding:12px; color:#343a46; font-size:12px; }
.rtl-controls,.rtl-replay { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin-bottom:10px; }
.rtl-controls button,.rtl-replay button,.rtl-panel select { padding:5px 9px; border:1px solid #e0e4eb; border-radius:5px; background:#fff; color:#606a79; font:inherit; cursor:pointer; }
.rtl-panel button:disabled { opacity:.45; cursor:default; }
.rtl-controls button.active { background:#fff0f0; color:#cb3037; border-color:#f1b2b7; }
.rtl-status { margin-left:auto; color:#788293; font-size:11px; }
.rtl-replay { padding:8px; background:#f6f8fb; border-radius:6px; }
.rtl-replay input { flex:1; min-width:100px; accent-color:#d83d47; }
.rtl-time { font-variant-numeric:tabular-nums; min-width:40px; }
.rtl-meta,.rtl-note { color:#8b95a4; font-size:11px; line-height:1.6; margin:8px 0; }
.rtl-scroll { overflow:auto; max-width:100%; border:1px solid #e4e7ec; border-radius:8px; }
.rtl-board { display:grid; width:max-content; min-width:100%; }
.rtl-top,.rtl-bottom { padding:12px 8px; text-align:center; border-left:1px solid #e0e3e9; }
.rtl-top { background:linear-gradient(#ffe3e5,#fff); border-bottom:1px solid #dfe3e9; }
.rtl-top h3 { margin:0 0 8px; color:#ba232b; font-size:14px; }
.rtl-top h3 b { display:inline-block; padding:2px 7px; border-radius:20px; color:#fff; background:#ba232b; }
.rtl-top p { margin:0 0 12px; font-size:11px; color:#747680; }
.rtl-pills { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:5px; min-height:28px; }
.rtl-stock { box-sizing:border-box; display:inline-block; max-width:108px; height:24px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; padding:1px 6px; border:1px solid #ffadb2; border-radius:5px; color:#db363f; background:#fff0f1; font:inherit; font-size:12px; line-height:20px; cursor:pointer; }
.rtl-stock.sealed { border-color:#f03139; background:#ffe7e8; color:#ed252e; }
.rtl-stock.down { border-color:#9ad9b0; background:#e9f9ee; color:#179549; }
.rtl-stock.flat,.rtl-stock.missing { color:#7d8898; border-color:#d8dee7; background:#f5f7f9; }
.rtl-stock:hover { filter:brightness(.96); }
.rtl-axis-head,.rtl-axis-foot { display:grid; align-content:center; text-align:center; color:#8b95a4; background:#fafbfc; }
.rtl-axis-foot { color:#179549; }
.rtl-axis,.rtl-plot { position:relative; height:var(--rtl-plot-height,420px); background:#fcfcfd; border-bottom:1px solid #dfe3e9; }
.rtl-plot { border-left:1px solid #e0e3e9; }
.rtl-axis span { position:absolute; right:7px; transform:translateY(-50%); font-size:11px; }
.rtl-axis .up { color:#dd343e; }.rtl-axis .down { color:#18a353; }.rtl-axis .flat { color:#5d6370; font-weight:600; }
.rtl-gridline { position:absolute; left:0; right:0; border-top:1px dashed #dfe3e9; }
.rtl-gridline.zero { border-top:2px solid #9fa7b3; }
.rtl-position { position:absolute; transform:translateY(-50%); }
.rtl-position .rtl-stock { width:var(--rtl-stock-width,104px); }
.rtl-bottom { background:linear-gradient(#fff,#e0f9e8); color:#169746; }
.rtl-bottom > b { display:block; margin-top:10px; }
.rtl-dash { color:#abb1bb; }
.rtl-missing { display:flex; flex-wrap:wrap; align-items:center; gap:5px; padding:10px; color:#8b95a4; background:#fff; }
.rtl-empty { padding:45px; color:#8b95a4; }

.rtl-detail { position:relative; padding:12px 36px 10px 12px; margin:8px 0; border:1px solid #dce3ed; border-radius:8px; background:#fff; width:fit-content; max-width:100%; box-sizing:border-box; }
.rtl-detail p { margin:6px 0 0; color:#6d7786; }.rtl-detail small { color:#8993a2; font-weight:normal; }
.rtl-detail-close { position:absolute; right:8px; top:6px; border:0; background:transparent; color:#7b8593; font-size:20px; cursor:pointer; }

.rtl-panel { box-sizing:border-box; padding:8px; width:100%; }
.rtl-top,.rtl-bottom { padding:8px 5px; }
.rtl-top h3 { white-space:nowrap; font-size:13px; }
.rtl-controls,.rtl-replay { gap:6px; margin-bottom:6px; }
.rtl-top p { margin-bottom:8px; }
.rtl-pills .rtl-stock { max-width:100%; }

:is(#workspaceHome, #ladderRealtime) .rtl-top h3 { margin:0 0 6px !important; line-height:22px !important; }
:is(#workspaceHome, #ladderRealtime) .rtl-top p { margin:0 0 6px !important; line-height:18px !important; }
:is(#workspaceHome, #ladderRealtime) .rtl-note,:is(#workspaceHome, #ladderRealtime) .rtl-meta { margin:6px 0 !important; line-height:16px !important; font-size:11px !important; }

:is(#workspaceHome, #ladderRealtime) .rtl-replay .rtl-icon { display:inline-flex; align-items:center; justify-content:center; flex:0 0 28px; width:28px; height:28px; padding:4px; border:0 !important; background:transparent !important; box-shadow:none !important; color:#62616d; }
:is(#workspaceHome, #ladderRealtime) .rtl-replay .rtl-icon:hover { background:#e9ecf2 !important; }
.rtl-icon svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
:is(#workspaceHome, #ladderRealtime) .rtl-replay { padding:4px 0; background:transparent; }

/* 顶部只保留一行，采集明细移至时间的悬停说明。 */
:is(#workspaceHome, #ladderRealtime) .rtl-toolbar { display:flex; align-items:center; gap:8px; flex-wrap:nowrap; overflow-x:auto; margin-bottom:6px; }
:is(#workspaceHome, #ladderRealtime) .rtl-toolbar .rtl-controls { flex:0 0 auto; margin:0; flex-wrap:nowrap; }
:is(#workspaceHome, #ladderRealtime) .rtl-toolbar .rtl-controls label { display:flex; align-items:center; gap:5px; white-space:nowrap; }
:is(#workspaceHome, #ladderRealtime) .rtl-toolbar .rtl-replay { display:flex; flex:1; min-width:250px; flex-wrap:nowrap; margin:0; padding:0; }
:is(#workspaceHome, #ladderRealtime) .rtl-toolbar .rtl-replay input { min-width:50px; width:0; }
:is(#workspaceHome, #ladderRealtime) .rtl-toolbar .rtl-speed { flex:0 0 auto; }
:is(#workspaceHome, #ladderRealtime) .rtl-meta { display:block; }
:is(#workspaceHome, #ladderRealtime) .rtl-toolbar .rtl-status { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }

/* 标题栏内的紧凑回放工具。 */
:is(#workspaceHome, #ladderRealtime) .wc-panel[data-panel="realtime_ladder"] .wc-handle { flex:0 0 auto; margin-right:10px; }
:is(#workspaceHome, #ladderRealtime) .wc-panel-head > .rtl-toolbar { flex:1 1 auto; min-width:0; flex-shrink:1; margin:0 8px 0 0; gap:6px; font-size:12px; }
:is(#workspaceHome, #ladderRealtime) .wc-panel-head .rtl-replay { min-width:210px; gap:3px; }
:is(#workspaceHome, #ladderRealtime) .wc-panel-head .rtl-controls label { font-size:0; gap:0; }
:is(#workspaceHome, #ladderRealtime):is(#workspaceHome, #ladderRealtime) .rtl-toolbar select {
  appearance:none !important; -webkit-appearance:none !important; height:26px !important; min-height:26px !important;
  border:1px solid #e1e5eb !important; border-radius:5px !important; box-shadow:none !important;
  padding:2px 22px 2px 7px !important; color:#656773 !important; font-family:inherit !important; line-height:20px !important; font-size:12px !important;
  background:#f8f9fb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='%23898c98' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 5px center !important;
}
:is(#workspaceHome, #ladderRealtime) .rtl-toolbar input[type="range"] { appearance:none !important; -webkit-appearance:none !important; height:4px !important; min-height:4px !important; padding:0 !important; border:0 !important; border-radius:4px !important; background:#e3e6ec !important; box-shadow:none !important; cursor:pointer; }
:is(#workspaceHome, #ladderRealtime) .rtl-toolbar input[type="range"]::-webkit-slider-thumb { appearance:none; width:11px; height:11px; border:0; border-radius:50%; background:#c7353b; box-shadow:none; }
:is(#workspaceHome, #ladderRealtime) .rtl-toolbar input[type="range"]::-moz-range-thumb { width:11px; height:11px; border:0; border-radius:50%; background:#c7353b; }
:is(#workspaceHome, #ladderRealtime) .rtl-toolbar .rtl-time { font-size:11px; font-weight:500; min-width:34px; color:#737783; }
:is(#workspaceHome, #ladderRealtime) .rtl-toolbar .rtl-icon { flex-basis:24px; width:24px; height:26px; }
:is(#workspaceHome, #ladderRealtime) .rtl-toolbar .rtl-icon svg { width:17px; height:17px; }

:is(#workspaceHome, #ladderRealtime) .rtl-top .rtl-promotion { display:flex; align-items:center; justify-content:center; gap:6px; white-space:nowrap; }
:is(#workspaceHome, #ladderRealtime) .rtl-promotion b { color:#df3942; font-weight:600; }

/* 实时天梯预览比例：75%。 */
:is(#workspaceHome, #ladderRealtime) #realtimeLadderPanel { zoom:.75; width:auto !important; }
:is(#workspaceHome, #ladderRealtime) .wc-panel[data-panel="realtime_ladder"] .rtl-toolbar { zoom:.75; }

:is(#workspaceHome, #ladderRealtime) .rtl-cluster { color:#647a9a; background:#f0f5fc; border:1px dashed #aabed9; }
:is(#workspaceHome, #ladderRealtime) .rtl-cluster-detail { margin:8px 0; padding:10px; border:1px solid #dce4ef; border-radius:7px; background:#f8faff; }
.rtl-cluster-detail header { display:flex; align-items:center; justify-content:space-between; margin-bottom:8px; }
.rtl-cluster-detail header button { background:none; border:0; color:#647a9a; cursor:pointer; }
.rtl-cluster-detail > div { display:grid; grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); gap:8px; max-height:200px; overflow-y:auto; }
.rtl-cluster-detail > div > span { display:flex; align-items:center; gap:6px; }
.rtl-cluster-detail small { color:#737b89; }
.rtl-pills .rtl-cluster { width:104px; }

/* 面板宽度跟随固定列主图，不再拉出空白列。 */
:is(#workspaceHome, #ladderRealtime) .rtl-board { min-width:0; }
:is(#workspaceHome, #ladderRealtime) .wc-panel[data-panel="realtime_ladder"] { max-width:var(--rtl-fit-width,100%); }
:is(#workspaceHome, #ladderRealtime) .wc-max[data-type="realtime_ladder"] { width:min(var(--rtl-fit-width,calc(100vw - 48px)),calc(100vw - 48px)); }
:is(#workspaceHome, #ladderRealtime) .wc-max[data-type="realtime_ladder"] .wc-panel { max-width:100%; }

/* 高度也按主图收紧，展开列表仍在面板内滚动。 */
:is(#workspaceHome, #ladderRealtime) .wc-workspace:not(.is-editing) .wc-panel[data-panel="realtime_ladder"] { height:auto !important; max-height:var(--rtl-max-height,852px); }
:is(#workspaceHome, #ladderRealtime) .wc-panel[data-panel="realtime_ladder"] .wc-panel-body { flex:0 1 auto; overflow:auto; }
:is(#workspaceHome, #ladderRealtime) .wc-max[data-type="realtime_ladder"] { height:auto; max-height:calc(100dvh - 48px); }
:is(#workspaceHome, #ladderRealtime) .wc-max[data-type="realtime_ladder"] .wc-panel { height:auto !important; max-height:calc(100dvh - 48px); }
:is(#workspaceHome, #ladderRealtime) #realtimeLadderPanel { padding-bottom:0; }

:is(#workspaceHome, #ladderRealtime) .rtl-toolbar[data-following="true"] input,
:is(#workspaceHome, #ladderRealtime) .rtl-toolbar[data-following="true"] .rtl-speed,
:is(#workspaceHome, #ladderRealtime) .rtl-toolbar[data-following="true"] .rtl-time { display:none !important; }
:is(#workspaceHome, #ladderRealtime) .rtl-toolbar[data-following="true"] .rtl-replay { min-width:0; flex:0 0 auto; }
.rtl-help { padding:4px 0; }
.rtl-help summary { display:flex; align-items:center; justify-content:center; width:28px; height:28px; cursor:pointer; list-style:none; color:#757782; }
.rtl-help summary::-webkit-details-marker { display:none; }
.rtl-help summary svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; }
:is(#workspaceHome, #ladderRealtime) .rtl-help .rtl-note { font-size:17px !important; line-height:1.8 !important; color:#626a78; padding:10px 12px; margin:4px 0 8px !important; background:#f6f8fb; border-radius:6px; }

:is(#workspaceHome, #ladderRealtime) .rtl-help:not([open]) { display:none; }
:is(#workspaceHome, #ladderRealtime) .wc-panel-head .wc-rtl-help { display:grid; place-items:center; width:28px; height:28px; padding:4px; border-radius:4px; }
.wc-rtl-help svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; }
:is(#workspaceHome, #ladderRealtime) .wc-panel-head .wc-rtl-help:hover { background:#eef1f5; }

:is(#workspaceHome, #ladderRealtime) .wc-rtl-help-bubble { position:fixed; box-sizing:border-box; margin:0; padding:18px; border:1px solid #e5e7eb; border-radius:12px; color:#424653; background:#fff; box-shadow:0 6px 24px #26324920; overflow:visible; font-size:14px; line-height:1.8; max-height:calc(100dvh - 90px); }
:is(#workspaceHome, #ladderRealtime) .wc-rtl-help-bubble::before { content:""; position:absolute; top:-6px; left:var(--rtl-tip-x,90%); width:10px; height:10px; transform:rotate(45deg); background:#fff; border-left:1px solid #e5e7eb; border-top:1px solid #e5e7eb; }
:is(#workspaceHome, #ladderRealtime) .wc-rtl-help-bubble strong { font-size:16px; color:#30333c; }
:is(#workspaceHome, #ladderRealtime) .wc-rtl-help-bubble p { margin:8px 0 0; font-size:14px; line-height:1.8; }

/* Shared coordinate plot with exact quote dots and collision-free labels. */
:is(#workspaceHome, #ladderRealtime) #realtimeLadderPanel { zoom:1; padding:10px; }
:is(#workspaceHome, #ladderRealtime) .wc-panel[data-panel="realtime_ladder"] { max-width:100%; }
:is(#workspaceHome, #ladderRealtime) .wc-max[data-type="realtime_ladder"] { width:calc(100vw - 48px); }
:is(#workspaceHome, #ladderRealtime) .rtl-visual-guide { display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin:8px 0 12px; font-size:11px; color:#8c95a3; }
:is(#workspaceHome, #ladderRealtime) .rtl-visual-guide i { display:inline-block; width:6px; height:6px; background:#d43a46; border-radius:50%; margin-right:5px; }
:is(#workspaceHome, #ladderRealtime) .rtl-local-zoom { margin-left:auto; border:1px solid #e1e5ed; border-radius:5px; background:#f8faff; color:#667990; padding:5px 10px; cursor:pointer; font:inherit; }
:is(#workspaceHome, #ladderRealtime) .rtl-top,:is(#workspaceHome, #ladderRealtime) .rtl-axis-head { box-sizing:border-box; height:140px; overflow:auto; }
:is(#workspaceHome, #ladderRealtime) .rtl-bottom,:is(#workspaceHome, #ladderRealtime) .rtl-axis-foot { box-sizing:border-box; height:88px; overflow:auto; }
:is(#workspaceHome, #ladderRealtime) .rtl-board { min-width:100%; }
:is(#workspaceHome, #ladderRealtime) .rtl-plot { overflow:hidden; background:#fcfcfe; }
:is(#workspaceHome, #ladderRealtime) .rtl-rel-node { position:absolute; pointer-events:none; color:#d63c48; transition:opacity .15s; }
:is(#workspaceHome, #ladderRealtime) .rtl-rel-node.down { color:#159a65; }
:is(#workspaceHome, #ladderRealtime) .rtl-rel-node.flat { color:#8995a6; }
:is(#workspaceHome, #ladderRealtime) .rtl-rel-link { position:absolute; top:0; left:0; overflow:visible; pointer-events:none; }
:is(#workspaceHome, #ladderRealtime) .rtl-rel-link path { fill:none; stroke:currentColor; stroke-width:1; opacity:.35; }
:is(#workspaceHome, #ladderRealtime) .rtl-true-dot { position:absolute; left:7px; width:6px; height:6px; margin:-3px 0 0 -3px; background:currentColor; border-radius:50%; box-shadow:0 0 0 2px #fff; }
:is(#workspaceHome, #ladderRealtime) .rtl-rel-label { position:absolute; left:21px; transform:translateY(-50%); pointer-events:auto; }
:is(#workspaceHome, #ladderRealtime) .rtl-rel-label .rtl-stock { display:block; width:98px; max-width:98px; height:24px; padding:1px 3px; font-size:12px; line-height:20px; background:#ffffffed; border-color:#ead4d9; color:#ce3a46; }
:is(#workspaceHome, #ladderRealtime) .rtl-rel-label .rtl-stock.down { color:#168d60; border-color:#d0e6dc; background:#f8fffb; }
:is(#workspaceHome, #ladderRealtime) .rtl-rel-label .rtl-stock.flat { color:#8995a6; border-color:#e2e7ef; background:#fafbfe; }
:is(#workspaceHome, #ladderRealtime) .rtl-rel-label .rtl-stock.sealed { color:#e52f40; background:#fff0f2; border-color:#f28c96; font-weight:600; }
:is(#workspaceHome, #ladderRealtime) .rtl-event { position:absolute; right:3px; top:-9px; font-size:9px; line-height:12px; padding:0 2px; background:#fff; color:inherit; border-radius:3px; pointer-events:none; }
:is(#workspaceHome, #ladderRealtime) .rtl-has-focus .rtl-rel-node { opacity:.24; }
:is(#workspaceHome, #ladderRealtime) .rtl-has-focus .rtl-rel-node.is-near { opacity:.8; }
:is(#workspaceHome, #ladderRealtime) .rtl-has-focus .rtl-rel-node.is-focus,:is(#workspaceHome, #ladderRealtime) .rtl-has-focus .rtl-rel-node.is-pinned { opacity:1; z-index:3; }
:is(#workspaceHome, #ladderRealtime) .rtl-rel-node.is-focus .rtl-stock,:is(#workspaceHome, #ladderRealtime) .rtl-rel-node.is-pinned .rtl-stock { box-shadow:0 0 0 2px #7195c0; }
:is(#workspaceHome, #ladderRealtime) .rtl-rel-node.is-focus .rtl-true-dot,:is(#workspaceHome, #ladderRealtime) .rtl-rel-node.is-pinned .rtl-true-dot { box-shadow:0 0 0 3px #acc4e866; }
:is(#workspaceHome, #ladderRealtime) .rtl-rel-node.is-focus .rtl-rel-link path { opacity:1; stroke-width:1.5; }
:is(#workspaceHome, #ladderRealtime) .rtl-zoomed .rtl-board { zoom:1.4; }
:is(#workspaceHome, #ladderRealtime) .rtl-stock:focus-visible { outline:2px solid #7195c0; outline-offset:2px; }
@media(prefers-reduced-motion:reduce){:is(#workspaceHome, #ladderRealtime) .rtl-rel-node{transition:none}}
:is(#workspaceHome, #ladderRealtime) .rtl-rel-link .rtl-motion-trail { opacity:.3; stroke-width:3; stroke-linecap:round; }
/* Card surfaces can overlap; the 20px text lines cannot. */
:is(#workspaceHome, #ladderRealtime) .rtl-rel-label .rtl-stock { background:transparent; }
:is(#workspaceHome, #ladderRealtime) .rtl-rel-label .rtl-stock.down { background:#e9f9ee44; }
:is(#workspaceHome, #ladderRealtime) .rtl-rel-label .rtl-stock.sealed { background:#ffe7e844; }
:is(#workspaceHome, #ladderRealtime) .rtl-rel-label .rtl-stock.flat { background:#f5f7f944; }
:is(#workspaceHome, #ladderRealtime) .rtl-event { right:auto; left:-12px; top:6px; width:10px; padding:0; line-height:10px; font-size:8px; background:transparent; }

/* 与东财测试版统一字体；保留 20px 标签行高以匹配点位避让算法。 */
:is(#workspaceHome, #ladderRealtime) .wc-workspace:not(.is-editing) .wc-panel[data-panel="realtime_ladder"] {
  height:var(--rtl-max-height,324px) !important;
}
:is(#workspaceHome, #ladderRealtime) .wc-panel[data-panel="realtime_ladder"] .wc-panel-body { flex:1; min-height:0; }
:is(#workspaceHome, #ladderRealtime) .wc-max[data-type="realtime_ladder"] .wc-panel { height:calc(100dvh - 48px) !important; }
:is(#workspaceHome, #ladderRealtime) #realtimeLadderPanel,
:is(#workspaceHome, #ladderRealtime) .wc-panel[data-panel="realtime_ladder"] .rtl-toolbar {
  font:400 var(--em-font,14px)/1.35 Arial,"Microsoft YaHei","PingFang SC",sans-serif;
  letter-spacing:0;
}
:is(#workspaceHome, #ladderRealtime) .wc-panel[data-panel="realtime_ladder"] .rtl-toolbar { zoom:1; }
:is(#workspaceHome, #ladderRealtime) #realtimeLadderPanel .rtl-stock {
  font:400 var(--em-font,14px)/20px Arial,"Microsoft YaHei","PingFang SC",sans-serif !important;
  letter-spacing:0; height:24px; min-height:0; padding:1px 3px;
}
:is(#workspaceHome, #ladderRealtime) #realtimeLadderPanel .rtl-top h3 { font-size:14px; font-weight:400; }
:is(#workspaceHome, #ladderRealtime) #realtimeLadderPanel .rtl-top h3 b,
:is(#workspaceHome, #ladderRealtime) #realtimeLadderPanel .rtl-promotion b,
:is(#workspaceHome, #ladderRealtime) #realtimeLadderPanel .rtl-bottom > b { font-weight:400; }
:is(#workspaceHome, #ladderRealtime) #realtimeLadderPanel .rtl-top p,
:is(#workspaceHome, #ladderRealtime) #realtimeLadderPanel .rtl-axis span { font-size:13px; font-weight:400; }
:is(#workspaceHome, #ladderRealtime) #realtimeLadderPanel .rtl-visual-guide { font-size:12px; line-height:1.35; }
:is(#workspaceHome, #ladderRealtime) #realtimeLadderPanel .rtl-local-zoom { font:400 13px/1.35 Arial,"Microsoft YaHei","PingFang SC",sans-serif; }
@media(max-width:800px){
  :is(#workspaceHome, #ladderRealtime) #realtimeLadderPanel .rtl-stock { font-size:13px !important; }
}

/* 对齐东财自选股面板，收紧上下池，拥挤时在面板内滚动。 */
:is(#workspaceHome, #ladderRealtime) #realtimeLadderPanel { padding:6px; }
:is(#workspaceHome, #ladderRealtime) #realtimeLadderPanel .rtl-top,
:is(#workspaceHome, #ladderRealtime) #realtimeLadderPanel .rtl-axis-head { height:96px; }
:is(#workspaceHome, #ladderRealtime) #realtimeLadderPanel .rtl-bottom,
:is(#workspaceHome, #ladderRealtime) #realtimeLadderPanel .rtl-axis-foot { height:56px; }
:is(#workspaceHome, #ladderRealtime) #realtimeLadderPanel .rtl-visual-guide { gap:6px; margin:2px 0 6px; }

/* 天梯紧凑排版：保留全部名称、点位和交互，仅收紧字体与留白。 */
:is(#workspaceHome, #ladderRealtime) #realtimeLadderPanel { zoom:1; padding:4px; font-size:12px; }
:is(#workspaceHome, #ladderRealtime) #realtimeLadderPanel .rtl-meta { font-size:10px !important; line-height:14px !important; margin:2px 0 !important; }
:is(#workspaceHome, #ladderRealtime) #realtimeLadderPanel .rtl-visual-guide { font-size:10px; line-height:14px; gap:4px 8px; margin:2px 0 4px; }
:is(#workspaceHome, #ladderRealtime) #realtimeLadderPanel .rtl-local-zoom { font:inherit; padding:2px 6px; min-height:22px; }
:is(#workspaceHome, #ladderRealtime) #realtimeLadderPanel .rtl-board { min-width:0; }
:is(#workspaceHome, #ladderRealtime) #realtimeLadderPanel .rtl-scroll { width:max-content; max-width:100%; border-radius:5px; }
:is(#workspaceHome, #ladderRealtime) #realtimeLadderPanel .rtl-top { display:flex; flex-wrap:wrap; align-content:flex-start; align-items:center; justify-content:center; gap:3px 5px; height:auto; min-height:48px; max-height:90px; padding:4px; }
:is(#workspaceHome, #ladderRealtime) #realtimeLadderPanel .rtl-axis-head { height:auto; padding:4px 2px; font-size:10px; }
:is(#workspaceHome, #ladderRealtime) #realtimeLadderPanel .rtl-top h3 { margin:0 !important; font-size:12px; line-height:18px !important; }
:is(#workspaceHome, #ladderRealtime) #realtimeLadderPanel .rtl-top h3 b { padding:0 4px; border-radius:4px; }
:is(#workspaceHome, #ladderRealtime) #realtimeLadderPanel .rtl-top p { margin:0 !important; font-size:11px; line-height:16px !important; }
:is(#workspaceHome, #ladderRealtime) #realtimeLadderPanel .rtl-pills { flex:0 0 100%; gap:2px 4px; min-height:0; }
:is(#workspaceHome, #ladderRealtime) #realtimeLadderPanel .rtl-stock { font-size:12px !important; line-height:18px !important; height:20px; padding:0 2px; border-radius:3px; }
:is(#workspaceHome, #ladderRealtime) #realtimeLadderPanel .rtl-rel-label { left:15px; }
:is(#workspaceHome, #ladderRealtime) #realtimeLadderPanel .rtl-rel-label .rtl-stock { width:66px; max-width:66px; }
:is(#workspaceHome, #ladderRealtime) #realtimeLadderPanel .rtl-axis span { right:4px; font-size:10px; }
:is(#workspaceHome, #ladderRealtime) #realtimeLadderPanel .rtl-bottom { display:flex; flex-wrap:wrap; align-content:flex-start; justify-content:center; gap:2px; height:auto; min-height:28px; max-height:68px; padding:3px; font-size:11px; }
:is(#workspaceHome, #ladderRealtime) #realtimeLadderPanel .rtl-bottom > b { margin:0; font-size:10px; line-height:14px; }
:is(#workspaceHome, #ladderRealtime) #realtimeLadderPanel .rtl-axis-foot { height:auto; font-size:10px; }
:is(#workspaceHome, #ladderRealtime) #realtimeLadderPanel .rtl-missing { gap:3px; padding:4px; font-size:10px; }

/* 涨跌停只保留汇总入口；名单按时点展开，不占绘图区。 */
:is(#workspaceHome, #ladderRealtime) #realtimeLadderPanel .rtl-meta,
:is(#workspaceHome, #ladderRealtime) #realtimeLadderPanel .rtl-visual-guide { display:none !important; }
:is(#workspaceHome, #ladderRealtime) #realtimeLadderPanel .rtl-top { position:relative; min-height:42px; padding:3px; gap:2px 4px; }
:is(#workspaceHome, #ladderRealtime) #realtimeLadderPanel .rtl-bottom { position:relative; min-height:24px; align-items:center; padding:3px; }
:is(#workspaceHome, #ladderRealtime) #realtimeLadderPanel .rtl-region-hit { position:absolute; inset:0; z-index:1; display:block; width:100%; height:100%; min-height:0; padding:0; border:0; border-radius:0; background:transparent; color:inherit; font:inherit; cursor:pointer; }
:is(#workspaceHome, #ladderRealtime) #realtimeLadderPanel .rtl-region-hit:hover { background:#d92d3209; }
:is(#workspaceHome, #ladderRealtime) #realtimeLadderPanel .rtl-bottom .rtl-region-hit:hover { background:#168d6010; }
:is(#workspaceHome, #ladderRealtime) #realtimeLadderPanel .rtl-region-hit:focus-visible { outline:2px solid #d92d32; outline-offset:-2px; }
:is(#workspaceHome, #ladderRealtime) #realtimeLadderPanel .rtl-cluster-close:focus-visible { outline:2px solid #d92d32; outline-offset:2px; }

/* 独立于面板滚动容器的居中详情卡片，支持嵌套正式个股卡片。 */
dialog.rtl-limit-dialog { position:fixed; inset:0; box-sizing:border-box; width:min(360px,calc(100vw - 32px)); max-width:calc(100vw - 32px); max-height:calc(100dvh - 48px); margin:auto; padding:0; border:1px solid #e5e8ed; border-radius:12px; background:#fff; color:#272b33; box-shadow:0 12px 40px #27333f26; font:400 13px/1.5 Inter,"PingFang SC","Microsoft YaHei",sans-serif; overflow:visible; }
dialog.rtl-limit-dialog::backdrop { background:rgb(25 32 44 / 22%); }
dialog.rtl-limit-dialog > header { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; padding:14px 16px 10px; border-bottom:1px solid #e5e8ed; }
dialog.rtl-limit-dialog h3 { margin:0; font-size:15px; line-height:22px; font-weight:600; }
dialog.rtl-limit-dialog h3 span { margin-left:4px; color:#737b87; font-size:12px; font-weight:400; }
dialog.rtl-limit-dialog header p { margin:4px 0 0; font-size:11px; line-height:16px; color:#737b87; font-variant-numeric:tabular-nums; }
dialog.rtl-limit-dialog .rtl-limit-close { flex:none; width:28px; height:28px; padding:0; border:0; border-radius:5px; background:transparent; color:#737b87; font-family:inherit; font-size:22px; font-weight:400; line-height:28px; cursor:pointer; }
dialog.rtl-limit-dialog .rtl-limit-close:hover { background:#f7f8fa; }
dialog.rtl-limit-dialog .rtl-limit-list { padding:4px 16px 10px; max-height:min(340px,calc(100dvh - 140px)); overflow:auto; }
dialog.rtl-limit-dialog .rtl-limit-row { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:36px; border-bottom:1px solid #f0f2f5; font-variant-numeric:tabular-nums; }
dialog.rtl-limit-dialog .rtl-limit-row:last-child { border-bottom:0; }
dialog.rtl-limit-dialog .rtl-stock { max-width:none; height:28px; padding:2px 6px; font-family:inherit; font-size:13px; font-weight:500; line-height:22px; }
dialog.rtl-limit-dialog .up { color:#d92d32; }
dialog.rtl-limit-dialog .down { color:#168d60; }
dialog.rtl-limit-dialog .rtl-limit-empty { margin:16px 0; text-align:center; color:#737b87; }
dialog.rtl-limit-dialog button:focus-visible { outline:2px solid #d92d32; outline-offset:2px; }

/* 顶部晋级摘要与12px面板标题对齐，显式限制子元素，避免全局正文样式放大。 */
:is(#workspaceHome, #ladderRealtime) #realtimeLadderPanel .rtl-top h3,
:is(#workspaceHome, #ladderRealtime) #realtimeLadderPanel .rtl-top h3 b {
  font-size:12px !important; line-height:16px !important; font-weight:500;
}
:is(#workspaceHome, #ladderRealtime) #realtimeLadderPanel .rtl-top .rtl-promotion,
:is(#workspaceHome, #ladderRealtime) #realtimeLadderPanel .rtl-top .rtl-promotion span,
:is(#workspaceHome, #ladderRealtime) #realtimeLadderPanel .rtl-top .rtl-promotion b {
  font-size:11px !important; line-height:15px !important; font-weight:400;
}
:is(#workspaceHome, #ladderRealtime) #realtimeLadderPanel .rtl-top {
  flex-direction:column; flex-wrap:nowrap; justify-content:center; gap:1px; min-height:38px;
}
:is(#workspaceHome, #ladderRealtime) #realtimeLadderPanel .rtl-top .rtl-promotion { gap:4px; }
