/* r382 (18 Nov 2026, owner: watchlist like TradingView): one line per symbol, columns Symbol | Last | Chg | Chg%,
   sortable headers, plain last price, coloured change, actions (× and ⋯) only on hover. Scoped to .wl382 so the
   older watchlist layers (r250-r322) do not apply. Chg column hides itself when the panel is narrow. */
#sideBody { container-type: inline-size; container-name: side382; }
#sideBody .wl382h { display: grid !important; grid-template-columns: minmax(0, 1fr) 76px 60px 64px; gap: 0 6px; align-items: center; height: 30px; padding: 0 12px 0 14px !important; margin: 0 !important; border-bottom: 1px solid var(--hair); background: var(--card); position: sticky; top: 0; z-index: 2; }
#sideBody .wl382h button { all: unset; box-sizing: border-box; cursor: pointer; font-size: 11px; font-weight: 600; color: var(--t3); text-align: right; white-space: nowrap; padding: 4px 0; border-radius: 4px; }
#sideBody .wl382h button:first-child { text-align: left; }
#sideBody .wl382h button:hover { color: var(--t1); }
#sideBody .wl382h button.on { color: var(--t1); }

#sideBody .wl-list.wl382 .wl-row.wl382r { display: grid !important; grid-template-columns: minmax(0, 1fr) 76px 60px 64px !important; gap: 0 6px !important; align-items: center; min-height: 34px !important; height: 34px; padding: 0 12px 0 14px !important; border-bottom: 0 !important; border-radius: 0; position: relative; cursor: pointer; }
#sideBody .wl-list.wl382 .wl-row.wl382r:hover { background: var(--fill); }
#sideBody .wl-list.wl382 .wl-row.wl382r.on { background: var(--sel, var(--accent-soft, rgba(41,98,255,.12))); }
#sideBody .wl-list.wl382 .wl-row.wl382r.on::before { content: ''; position: absolute; left: 0; top: 4px; bottom: 4px; width: 3px; border-radius: 0 3px 3px 0; background: var(--accent, #2962ff); }
#sideBody .wl382r .wl-sym { display: flex; align-items: center; gap: 8px; min-width: 0; }
#sideBody .wl382r .wl-sym .w-logo { width: 20px !important; height: 20px !important; min-width: 20px; flex: none; font-size: 9px; }
#sideBody .wl382r .wl-symbol { font-size: 13px; font-weight: 600; color: var(--t1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
#sideBody .wl382r .wl-tag { flex: none; font-size: 9.5px; font-weight: 600; color: var(--t3); padding: 1px 4px; border-radius: 3px; background: var(--fill-2, rgba(128,128,128,.12)); }
#sideBody .wl382r .wl-p, #sideBody .wl382r .wl-c, #sideBody .wl382r .wl-cp { font-size: 12.5px; font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: clip; color: var(--t1); }
#sideBody .wl382r .wl-c.up, #sideBody .wl382r .wl-cp.up { color: var(--up, #089981); }
#sideBody .wl382r .wl-c.dn, #sideBody .wl382r .wl-cp.dn { color: var(--down, #f23645); }
/* price change flash on the last price only */
#sideBody .wl382r.fl-up .wl-p { animation: wl382up .9s ease-out; }
#sideBody .wl382r.fl-dn .wl-p { animation: wl382dn .9s ease-out; }
@keyframes wl382up { from { background: rgba(8,153,129,.28); } to { background: transparent; } }
@keyframes wl382dn { from { background: rgba(242,54,69,.28); } to { background: transparent; } }
#sideBody .wl382r.fl-up, #sideBody .wl382r.fl-dn { background-image: none !important; }
/* hover actions */
#sideBody .wl-list.wl382 .wl382r .wl-act { display: none !important; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); gap: 2px; padding: 2px; border-radius: 7px; background: var(--card); box-shadow: 0 1px 6px rgba(0,0,0,.18); }
#sideBody .wl-list.wl382 .wl382r:hover .wl-act { display: flex !important; }
#sideBody .wl382r .wl-act button { width: 24px; height: 24px; border-radius: 5px; display: flex; align-items: center; justify-content: center; color: var(--t2); }
#sideBody .wl382r .wl-act button svg { width: 15px; height: 15px; }
#sideBody .wl382r .wl-act button:hover { background: var(--fill); color: var(--t1); }
#sideBody .wl382r .wl-act button[data-wa=rm]:hover { color: var(--down, #f23645); }
/* narrow panel: drop the Chg column */
@container side382 (max-width: 300px) {
  #sideBody .wl382h, #sideBody .wl-list.wl382 .wl-row.wl382r { grid-template-columns: minmax(0, 1fr) 72px 62px !important; }
  #sideBody .wl382h .wl382-abs, #sideBody .wl382r .wl382-abs { display: none !important; }
}
@container side382 (max-width: 230px) {
  #sideBody .wl382h, #sideBody .wl-list.wl382 .wl-row.wl382r { grid-template-columns: minmax(0, 1fr) 66px !important; }
  #sideBody .wl382h button:last-child, #sideBody .wl382r .wl-cp { display: none !important; }
}
/* phones and touch: bigger rows, ⋯ always there (no hover), × in its menu */
@media (hover: none) {
  #sideBody .wl-list.wl382 .wl-row.wl382r { height: 46px; min-height: 46px !important; padding-right: 40px !important; }
  #sideBody .wl382h { padding-right: 40px !important; }
  #sideBody .wl-list.wl382 .wl382r .wl-act { display: flex !important; box-shadow: none; background: transparent; right: 4px; }
  #sideBody .wl382r .wl-act button[data-wa=rm], #sideBody .wl382r .wl-act button[data-wa=copy] { display: none; }
}
@media (prefers-reduced-motion: reduce) { #sideBody .wl382r.fl-up .wl-p, #sideBody .wl382r.fl-dn .wl-p { animation: none; } }

/* r382: Save button flash after Ctrl+S (no popup) */
#saveWorkspace.ws-flash { box-shadow: 0 0 0 2px rgba(8,153,129,.55); transition: box-shadow .2s; }
#saveWorkspace.ws-flash .ws-st { color: var(--up, #089981) !important; }

/* ===== r383 (19 Nov 2026, owner): row lines, watchlist / details splitter, details redesign ===== */
/* a thin line under every symbol so each row stands apart */
#sideBody .wl-list.wl382 .wl-row.wl382r { border-bottom: 1px solid var(--hair) !important; }
#sideBody .wl-list.wl382 .wl-row.wl382r:last-child { border-bottom: 0 !important; }
#sideBody .wl382h { border-bottom: 1px solid var(--hair) !important; }

/* desktop: list on top (its own scroll), drag bar, details below (own scroll) */
@media (min-width: 701px) {
  #sideBody:has(> .wl-list.wl382) { display: flex; flex-direction: column; overflow: hidden !important; }
  #sideBody:has(> .wl-list.wl382) > * { flex: none; }
  #sideBody > .wl-list.wl382 { max-height: none !important; min-height: 90px; overflow-y: auto; overscroll-behavior: contain; }
  #sideBody > .wl382-low { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
}
.wl382-split { position: relative; height: 7px; margin: 0; cursor: row-resize; background: var(--fill, rgba(128,128,128,.06)); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); touch-action: none; }
.wl382-split i { position: absolute; left: 50%; top: 50%; width: 32px; height: 3px; margin: -1.5px 0 0 -16px; border-radius: 3px; background: var(--t4, #b2b5be); transition: background .15s, width .15s; }
.wl382-split:hover i, .wl382-split.on i { background: var(--accent, #2962ff); width: 44px; margin-left: -22px; }
.wl382-split:hover, .wl382-split.on { background: var(--fill-2, rgba(128,128,128,.12)); }
html.wl383-drag, html.wl383-drag * { cursor: row-resize !important; user-select: none !important; }
@media (max-width: 700px) { .wl382-split { display: none; } }

/* details panel (pro chart style) */
.wl382-low .market-details { border-top: 0; padding: 14px 14px 12px; }
.wl382-low .market-details .mi-head .w-logo { width: 32px !important; height: 32px !important; }
.wl382-low .market-details .mi-head b { font-size: 15px; font-weight: 700; }
.wl382-low .market-details .mi-head small { max-width: 210px; font-size: 12px; }
.wl382-low .market-details .mi-badge { font-size: 10.5px; padding: 3px 8px; background: transparent; border: 1px solid var(--hair); }
.wl382-low .market-details .mi-price { margin: 14px 0 0; gap: 2px 10px; }
.wl382-low .market-details .mi-px { font-size: 28px; font-weight: 700; }
.wl382-low .market-details .mi-chg { font-size: 14px; }
.wl382-low .market-details .mi-muted { margin: 4px 0 10px; }
.wl382-low .market-details .mi-ohlc { border-radius: 8px; margin: 10px 0 6px; }
.wl382-low .market-details .mi-ohlc > div { align-items: flex-start; padding: 8px 9px; gap: 3px; }
.wl382-low .market-details .mi-ohlc span { font-size: 10px; letter-spacing: .04em; }
.wl382-low .market-details .mi-ohlc b { font-size: 12.5px; }
.wl382-low .market-details .mi-rbox { margin: 14px 0 0; }
.wl382-low .market-details .mi-range { font-size: 12px; color: var(--t1); }
.wl382-low .market-details .mi-range b { font-size: 10.5px; letter-spacing: .03em; text-transform: uppercase; }
.wl382-low .market-details .mi-track { height: 3px; margin-top: 8px; background: var(--fill-2, rgba(128,128,128,.18)); opacity: 1; }
.wl382-low .market-details .mi-track i { top: -5px; width: 0; height: 0; margin-left: -5px; border-radius: 0; background: transparent; box-shadow: none; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 6px solid var(--t1); }
.wl382-low .market-details .mi-h { margin: 18px 0 4px; font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--t1); }
.wl382-low .market-details .mi-grid { grid-template-columns: 1fr; border-top: 0; }
.wl382-low .market-details .mi-grid > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--hair); }
.wl382-low .market-details .mi-grid > div:last-child { border-bottom: 0; }
.wl382-low .market-details .mi-grid span { font-size: 12px; color: var(--t3); white-space: nowrap; }
.wl382-low .market-details .mi-grid b { font-size: 12.5px; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.wl382-low .market-details details { border-radius: 8px; margin-top: 14px; }
.wl382-low .market-details .mi-actions .btn { height: 32px; border-radius: 8px; font-size: 12.5px; }
.wl382-low .market-screener:empty { display: none; }
/* r447 (20 Nov 2026, owner): live tick = only the number turns green / red (no row or cell background) */
#sideBody .wl-row.fl-up, #sideBody .wl-row.fl-dn, #sideBody .wl382r.fl-up, #sideBody .wl382r.fl-dn,
#sideBody .wl382r.fl-up .wl-p, #sideBody .wl382r.fl-dn .wl-p, .wl-row.fl-up, .wl-row.fl-dn { animation: none !important; background-color: transparent; }
#sideBody .wl-row.fl-up .wl-p, #sideBody .wl382r.fl-up .wl-p, .wl-row.fl-up .wl-p { animation: wl447up 1.1s ease-out !important; }
#sideBody .wl-row.fl-dn .wl-p, #sideBody .wl382r.fl-dn .wl-p, .wl-row.fl-dn .wl-p { animation: wl447dn 1.1s ease-out !important; }
@keyframes wl447up { 0%, 55% { color: var(--up, #089981); } 100% { color: var(--t1); } }
@keyframes wl447dn { 0%, 55% { color: var(--down, #f23645); } 100% { color: var(--t1); } }
@media (prefers-reduced-motion: reduce) { #sideBody .wl382r.fl-up .wl-p { animation: none !important; color: var(--up, #089981); } #sideBody .wl382r.fl-dn .wl-p { animation: none !important; color: var(--down, #f23645); } }
/* ===== r455 (20 Nov 2026, owner): details under the watchlist scroll fully + cleaner design ===== */
/* bug: "#sideBody:has(...) > * { flex: none }" beat the details rule, so the details box never shrank and could not scroll */
@media (min-width: 701px) {
  #sideBody:has(> .wl-list.wl382) > .wl382-low { flex: 1 1 0 !important; min-height: 0 !important; overflow-y: auto !important; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
  #sideBody:has(> .wl-list.wl382) > .wl-list.wl382 { flex: 0 1 auto !important; }
}
@media (max-width: 700px) {
  #sideBody:has(> .wl-list.wl382) { overflow-y: auto !important; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
  #sideBody > .wl382-low { overflow: visible !important; max-height: none !important; padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
}
.wl382-low { font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
.wl382-low .market-details { padding: 16px 16px 20px !important; }
.wl382-low .market-details .mi-head { gap: 10px; }
.wl382-low .market-details .mi-head b { font-size: 16px !important; letter-spacing: -.01em; line-height: 1.25; }
.wl382-low .market-details .mi-head small { font-size: 12px !important; color: var(--t3); line-height: 1.35; }
.wl382-low .market-details .mi-px { font-size: 30px !important; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.wl382-low .market-details .mi-chg { font-size: 14px !important; font-weight: 600; font-variant-numeric: tabular-nums; }
.wl382-low .market-details .mi-muted { font-size: 11.5px; color: var(--t3); }
.wl382-low .market-details .mi-ohlc { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; overflow: hidden; border: 1px solid var(--hair); background: var(--hair); }
.wl382-low .market-details .mi-ohlc > div { background: var(--bg, #fff); }
[data-theme="dark"] .wl382-low .market-details .mi-ohlc > div { background: var(--bg, #0b0b0d); }
.wl382-low .market-details .mi-ohlc span { color: var(--t3); font-weight: 600; text-transform: uppercase; }
.wl382-low .market-details .mi-ohlc b { font-variant-numeric: tabular-nums; }
.wl382-low .market-details .mi-h { margin: 20px 0 6px !important; padding-bottom: 6px; border-bottom: 1px solid var(--hair); font-size: 12px !important; font-weight: 700 !important; letter-spacing: .04em !important; text-transform: uppercase !important; color: var(--t2) !important; }
.wl382-low .market-details .mi-grid > div { padding: 8px 0 !important; border-bottom: 1px solid var(--hair) !important; }
.wl382-low .market-details .mi-grid span { font-size: 12.5px !important; }
.wl382-low .market-details .mi-grid b { font-size: 13px !important; color: var(--t1); }
.wl382-low .market-details .mi-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.wl382-low .market-details .mi-actions .btn { width: 100%; justify-content: center; font-weight: 600; }
.wl382-low::-webkit-scrollbar { width: 6px; } .wl382-low::-webkit-scrollbar-thumb { background: rgba(127,127,127,.35); border-radius: 6px; }
/* ===== r456 (20 Nov 2026, owner): details under the watchlist shrink cleanly when the side panel is dragged narrow -
   nothing overlaps; fonts, OHLC boxes, rows and buttons resize with the panel width (container queries) ===== */
.wl382-low { container-type: inline-size; container-name: wl456; min-width: 0; }
.wl382-low .market-details, .wl382-low .market-screener { min-width: 0; max-width: 100%; box-sizing: border-box; }
.wl382-low .market-details * { min-width: 0; box-sizing: border-box; }
.wl382-low .market-details .mi-head { flex-wrap: wrap; row-gap: 6px; }
.wl382-low .market-details .mi-head > div { flex: 1 1 auto; overflow: hidden; }
.wl382-low .market-details .mi-head > div > div { overflow: hidden; }
.wl382-low .market-details .mi-head b { flex-wrap: wrap; row-gap: 2px; overflow-wrap: anywhere; }
.wl382-low .market-details .mi-head small { max-width: 100% !important; }
.wl382-low .market-details .mi-px { font-size: clamp(18px, 9cqi, 30px) !important; overflow-wrap: anywhere; }
.wl382-low .market-details .mi-grid > div { display: flex; align-items: baseline; justify-content: space-between; gap: 4px 10px; flex-wrap: wrap; }
.wl382-low .market-details .mi-grid > div > b { text-align: right; margin-left: auto; overflow-wrap: anywhere; }
.wl382-low .market-details .mi-range { flex-wrap: wrap; }
.wl382-low .market-details .mi-actions .btn { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@container wl456 (max-width: 300px) {
  .wl382-low .market-details { padding: 12px 10px 16px !important; }
  .wl382-low .market-details .mi-head .w-logo { width: 28px !important; height: 28px !important; }
  .wl382-low .market-details .mi-head b { font-size: 14px !important; }
  .wl382-low .market-details .mi-badge { font-size: 10px; padding: 2px 7px; }
  .wl382-low .market-details .mi-chg { font-size: 12.5px !important; }
  .wl382-low .market-details .mi-ohlc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wl382-low .market-details .mi-ohlc > div { padding: 6px 7px; }
  .wl382-low .market-details .mi-ohlc b { font-size: 11.5px; }
  .wl382-low .market-details .mi-grid span { font-size: 11.5px !important; }
  .wl382-low .market-details .mi-grid b { font-size: 12px !important; }
  .wl382-low .market-details .mi-h { margin-top: 14px !important; font-size: 11px !important; }
  .wl382-low .market-details .mi-actions { grid-template-columns: minmax(0, 1fr); gap: 6px; }
}
@container wl456 (max-width: 210px) {
  .wl382-low .market-details { padding: 10px 8px 14px !important; }
  .wl382-low .market-details .mi-head .w-logo { display: none; }
  .wl382-low .market-details .mi-ohlc { grid-template-columns: minmax(0, 1fr); }
  .wl382-low .market-details .mi-ohlc > div { flex-direction: row; justify-content: space-between; border-right: 0; border-bottom: 1px solid var(--hair); }
  .wl382-low .market-details .mi-grid > div { flex-direction: column; align-items: flex-start; gap: 1px; }
  .wl382-low .market-details .mi-grid > div > b { margin-left: 0; text-align: left; }
}
/* r457 owner: search icon left of + in the watchlist header - phone only, same round style as + */
#wlSearch457 { display: none; }
@media (max-width: 700px) {
  #wlSearch457:not([hidden]) { display: inline-grid; place-items: center; width: 38px; height: 38px; margin-right: 6px; padding: 0; border: 1px solid var(--hair); border-radius: 50%; background: var(--fill); color: var(--t1); }
  #wlSearch457 svg { width: 19px; height: 19px; stroke-width: 2; }
}
/* r457b owner: on phone the big search bar in the watchlist is removed - the round search icon left of + replaces it */
@media (max-width: 700px) { #sideBody .wl-search, body[data-mobile-panel=watch] .wl-search { display: none !important; } }
/* r457c owner: phone - watchlist settings / filter button moves up into the header row (left of search and +), the empty bar row is removed */
#wlGear457 { display: none; }
@media (max-width: 700px) {
  #sideBody .wl-bar { display: none !important; }
  #wlGear457:not([hidden]) { display: inline-grid; place-items: center; width: 38px; height: 38px; margin-right: 6px; padding: 0; border: 1px solid var(--hair); border-radius: 50%; background: var(--fill); color: var(--t1); }
  #wlGear457 svg { width: 19px; height: 19px; stroke-width: 2; }
}
/* ===== r457d owner: phone watchlist like pro mobile apps - logo, symbol + company name, price with change and change % under it ===== */
#sideBody .wl382r .wl-txt456 { display: flex; flex-direction: column; min-width: 0; }
#sideBody .wl382r .wl-l1456 { display: flex; align-items: center; gap: 6px; min-width: 0; }
#sideBody .wl382r .wl-nm456 { display: none; }
@media (max-width: 700px) {
  #sideBody .wl382h { display: flex !important; align-items: center; padding: 0 16px !important; height: 30px; }
  #sideBody .wl382h button { flex: none; }
  #sideBody .wl382h button:first-child { flex: 1; text-align: left; }
  #sideBody .wl382h .wl382-abs { display: none !important; }
  #sideBody .wl382h button + button { margin-left: 14px; }
  #sideBody .wl-list.wl382 .wl-row.wl382r {
    display: grid !important; grid-template-columns: minmax(0, 1fr) auto auto !important; grid-template-rows: auto auto;
    column-gap: 8px !important; row-gap: 3px; align-content: center; height: 64px !important; min-height: 64px !important;
    padding: 0 40px 0 16px !important; font-family: Inter, -apple-system, 'Segoe UI', Roboto, system-ui, sans-serif; -webkit-font-smoothing: antialiased;
  }
  #sideBody .wl382r .wl-sym { grid-column: 1; grid-row: 1 / 3; gap: 12px !important; }
  #sideBody .wl382r .wl-sym .w-logo { width: 36px !important; height: 36px !important; min-width: 36px; font-size: 12px; }
  #sideBody .wl382r .wl-symbol { font-size: 15.5px !important; font-weight: 650 !important; letter-spacing: -.01em; color: var(--t1); }
  #sideBody .wl382r .wl-tag { font-size: 10px; padding: 1px 5px; }
  #sideBody .wl382r .wl-nm456 { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 450; color: var(--t3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  #sideBody .wl382r .wl-p { grid-column: 2 / 4; grid-row: 1; display: block !important; font-size: 15.5px !important; font-weight: 650 !important; color: var(--t1); text-align: right; }
  #sideBody .wl382r .wl-c, #sideBody .wl382r .wl-c.wl382-abs { grid-column: 2; grid-row: 2; display: block !important; font-size: 12.5px !important; font-weight: 500 !important; text-align: right; }
  #sideBody .wl382r .wl-cp { grid-column: 3; grid-row: 2; display: block !important; font-size: 12.5px !important; font-weight: 600 !important; text-align: right; }
  #sideBody .wl-list.wl382 .wl382r .wl-act { right: 6px !important; }
  #sideBody .wl382r .wl-act button[data-wa=menu] { width: 28px; height: 28px; color: var(--t3); }
}
/* r457f owner: phone - change back, cleaner: price on top, under it the change in colour and the change % in a soft colour pill */
@media (max-width: 700px) {
  #sideBody .wl-list.wl382 .wl-row.wl382r { row-gap: 4px; }
  #sideBody .wl382r .wl-p { align-self: end; line-height: 1.15; }
  #sideBody .wl382r .wl-c, #sideBody .wl382r .wl-c.wl382-abs { align-self: start; line-height: 20px; font-size: 12.5px !important; font-weight: 500 !important; color: var(--t3); }
  #sideBody .wl382r .wl-cp { align-self: start; min-width: 62px; padding: 0 7px; height: 20px; line-height: 20px; border-radius: 5px; text-align: center !important; font-size: 12px !important; font-weight: 650 !important; background: var(--fill-2, rgba(128,128,128,.12)); color: var(--t2); }
  #sideBody .wl382r .wl-c.up { color: var(--up, #089981); } #sideBody .wl382r .wl-c.dn { color: var(--down, #f23645); }
  #sideBody .wl382r .wl-cp.up { background: rgba(8,153,129,.13); color: var(--up, #089981); }
  #sideBody .wl382r .wl-cp.dn { background: rgba(242,54,69,.12); color: var(--down, #f23645); }
  #sideBody .wl382h button:last-child { display: block !important; }
}
/* ===== r458 owner: row menu with icons, swipe to delete, hold + drag to reorder (phone) ===== */
.wl458-pop { min-width: 250px; padding: 6px !important; border-radius: 14px !important; font-family: Inter, -apple-system, 'Segoe UI', Roboto, system-ui, sans-serif; }
.wl458-hd { display: flex; align-items: center; gap: 10px; padding: 8px 8px 12px; border-bottom: 1px solid var(--hair); margin-bottom: 6px; }
.wl458-hd .w-logo { width: 34px !important; height: 34px !important; flex: none; }
.wl458-hd > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.wl458-hd b { font-size: 15px; font-weight: 700; color: var(--t1); }
.wl458-hd small { font-size: 12px; color: var(--t3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wl458-px { font-size: 14px; font-weight: 650; font-variant-numeric: tabular-nums; color: var(--t1); }
.wl458-g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 2px 2px 8px; }
.wl458-g .wl458-i { flex-direction: column; justify-content: center; gap: 5px; height: 64px; padding: 6px 4px; border-radius: 10px; background: var(--fill); font-size: 12px; font-weight: 600; text-align: center; }
.wl458-g .wl458-i svg { width: 20px; height: 20px; }
.wl458-s { padding: 4px 0; border-top: 1px solid var(--hair); }
.wl458-i { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 42px; padding: 0 10px; border: 0; border-radius: 9px; background: transparent; color: var(--t1); font: 500 14px/1.2 Inter, system-ui, sans-serif; text-align: left; cursor: pointer; }
.wl458-i svg { width: 18px; height: 18px; flex: none; color: var(--t2); stroke-width: 1.9; }
.wl458-i span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wl458-i:hover, .wl458-i:active { background: var(--fill); }
.wl458-i:disabled { opacity: .38; pointer-events: none; }
.wl458-i.dn, .wl458-i.dn svg { color: var(--down, #f23645); }
#toast .wl458-undo { display: inline-flex; align-items: center; gap: 5px; margin-left: 10px; padding: 4px 10px; border: 0; border-radius: 7px; background: rgba(255,255,255,.18); color: #ffb48f; font: 700 13px Inter, system-ui, sans-serif; cursor: pointer; pointer-events: auto; }
#toast .wl458-undo svg { width: 15px; height: 15px; }
#toast:has(.wl458-undo) { pointer-events: auto; }
@media (max-width: 700px) {
  #sideBody .wl-list.wl382 { overflow-x: hidden !important; }
  #sideBody .wl-list.wl382 .wl-row.wl382r { position: relative; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; will-change: transform; }
  #sideBody .wl-list.wl382 .wl-row.wl382r.sw-l::after, #sideBody .wl-list.wl382 .wl-row.wl382r.sw-r::after {
    content: 'Delete'; position: absolute; top: 0; bottom: 0; width: 100vw; display: flex; align-items: center; padding: 0 22px; box-sizing: border-box;
    background: #8a8f98; color: #fff; font: 700 14px Inter, system-ui, sans-serif; transition: background .12s; }
  #sideBody .wl-list.wl382 .wl-row.wl382r.sw-l::after { left: 100%; justify-content: flex-start; }
  #sideBody .wl-list.wl382 .wl-row.wl382r.sw-r::after { right: 100%; justify-content: flex-end; }
  #sideBody .wl-list.wl382 .wl-row.wl382r.sw-go::after { background: var(--down, #f23645); }
  #sideBody.wl458-dragging { overflow: hidden !important; }
  #sideBody.wl458-dragging .wl-list.wl382 .wl-row.wl382r { transition: transform .15s ease-out; }
  #sideBody .wl-list.wl382 .wl-row.wl382r.wl458-lift { z-index: 5; transition: none !important; box-shadow: 0 10px 28px rgba(0,0,0,.22); border-radius: 10px; background: var(--card, #fff); }
}
.pop.mobile-sheet.wl458-pop { padding: 8px 10px calc(10px + env(safe-area-inset-bottom)) !important; }
/* r461 owner: phone - empty details box under the watchlist showed as a strip at the bottom (details and screener are hidden
   on the phone watchlist), so the whole box is removed there; the list keeps a small bottom space so the last row is clear */
@media (max-width: 767px) {
  body[data-mobile-panel=watch] #sideBody > .wl382-low, body[data-mobile-panel=watch] #sideBody > .wl382-split { display: none !important; }
  body[data-mobile-panel=watch] #sideBody > .wl-list.wl382 { padding-bottom: 8px; }
  body[data-mobile-panel=watch] #sideBody .wl-list.wl382 .wl-row.wl382r:last-child { border-bottom: 0 !important; }
}
/* r461b owner: phone - change numbers were cut with "…" in the middle; they now always show in full */
@media (max-width: 767px) {
  #sideBody .wl382r .wl-p, #sideBody .wl382r .wl-c, #sideBody .wl382r .wl-c.wl382-abs, #sideBody .wl382r .wl-cp {
    overflow: visible !important; text-overflow: clip !important; white-space: nowrap !important; width: auto !important; max-width: none !important; min-width: max-content !important; }
  #sideBody .wl382r .wl-cp { min-width: 62px !important; }
  #sideBody .wl-list.wl382 .wl-row.wl382r { grid-template-columns: minmax(0, 1fr) max-content max-content !important; }
  #sideBody .wl382r .wl-sym { min-width: 0; overflow: hidden; }
}
/* r461c owner: phone - the ⋯ button sat between the price and change lines; removed. Press and hold a row = menu, hold and drag = reorder */
@media (max-width: 767px) {
  #sideBody .wl-list.wl382 .wl382r .wl-act { display: none !important; }
  #sideBody .wl-list.wl382 .wl-row.wl382r { padding-right: 16px !important; }
}
