/* Same size and mirrored silhouettes; only mobile keeps the stock handle at the left edge. */
#stockPanelDockToggle, #watchlistDockToggle {
  top: var(--rs-handle-top, 50%); bottom: auto;
  width: 22px; min-width: 22px; height: 48px; min-height: 48px; padding: 0; margin: 0;
  transform: translateY(-50%); box-sizing: border-box;
  border: 1px solid var(--control-border); border-left: 0; border-radius: 0 8px 8px 0;
  background: var(--control); color: var(--muted); font: 18px/1 system-ui,sans-serif;
  display: grid; place-items: center; touch-action: none; user-select: none; -webkit-user-select: none;
  cursor: grab; -webkit-touch-callout: none;
}
#watchlistDockToggle { border: 1px solid var(--control-border); border-right: 0; border-radius: 8px 0 0 8px; }
#stockPanelDockToggle:hover, #watchlistDockToggle:hover { color: var(--green); }
#stockPanelDockToggle:focus-visible, #watchlistDockToggle:focus-visible { outline: 2px solid var(--green); outline-offset: -2px; }
#stockPanelDockToggle.is-handle-dragging, #watchlistDockToggle.is-handle-dragging { cursor: grabbing; border-color: var(--green); }
.rs-handle-drag-hint { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media(max-width:760px) {
  #stockPanelDockToggle { left: 0; }
  #stockPanel { grid-area: auto; inset: 0; width: 100%; max-width: none; height: auto; border-right: 0; background: var(--panel); }
  #watchlistPanel { grid-area: auto; inset: 0; border-radius: 0; background: var(--panel); }
  .chart-workspace[data-active-dock-panel="stock"] #stockPanel,
  .chart-workspace[data-active-dock-panel="watchlist"] #watchlistPanel { z-index: 60; }
  .chart-workspace[data-active-dock-panel="stock"] #stockPanelDockToggle,
  .chart-workspace[data-active-dock-panel="watchlist"] #watchlistDockToggle { z-index: 61; visibility: visible; pointer-events: auto; }
  .chart-workspace[data-active-dock-panel="stock"] :is(#chartDrawingDock,#watchlistDockToggle),
  .chart-workspace[data-active-dock-panel="watchlist"] :is(#chartDrawingDock,#stockPanelDockToggle) { visibility: hidden; pointer-events: none; }
}
