/* Navigation chrome should not become a text selection during a pointer gesture. */
.site-header,.watchlist-row,#chart-layout-controls{-webkit-user-select:none;user-select:none}
.site-header :is(input,textarea,[contenteditable=true]){-webkit-user-select:text;user-select:text}
/* Keep the skip-link landmark focusable, without framing the whole page.
   Keyboard focus indicators on actual controls remain unchanged. */
#main:focus{outline:none}
.watchlist .watch-select{cursor:grab;touch-action:pan-x pan-y}
.watchlist .watch-select:active{cursor:grabbing}
.watchlist :is(.watch-select,.watch-remove):focus-visible{outline:2px solid var(--text);outline-offset:-3px;border-radius:5px}
.watchlist .watch-item.is-reordering{opacity:.32;border-style:dashed;border-color:var(--text)}
.watchlist-is-reordering,.watchlist-is-reordering *{cursor:grabbing!important;-webkit-user-select:none!important;user-select:none!important}
.watch-reorder-ghost{position:fixed!important;left:0;top:0;z-index:2400;box-sizing:border-box;pointer-events:none!important;box-shadow:0 6px 20px #0002;border-color:var(--text);will-change:transform}
.watch-reorder-ghost .watch-select{cursor:grabbing}
.watch-reorder-menu{position:fixed;z-index:2401;min-width:205px;padding:5px;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:0 10px 28px #0002;color:var(--text)}
.watch-reorder-menu[hidden]{display:none}
.watch-reorder-menu button{display:block;width:100%;min-height:42px;padding:10px 12px;text-align:left;font-size:12px;border-radius:4px}
.watch-reorder-menu button:hover:not(:disabled){background:var(--line)}
.watch-reorder-menu button:focus-visible{outline:2px solid var(--text);outline-offset:-2px}
.watch-reorder-menu button:disabled{opacity:.4;cursor:default}
.watch-reorder-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
