/* Display-only Watchlist DOM; no chart gestures or LP ownership. */
.p3-watchlist-dom {
    position: absolute;
    z-index: 9;
    overflow: hidden;
    contain: layout style paint;
    pointer-events: none !important;
    font: 10px/18px "JetBrains Mono", ui-monospace, monospace;
}
.p3-watchlist-dom * { pointer-events: none !important; box-sizing: border-box; }
.p3-watchlist-dom-line,
.p3-watchlist-dom-connector,
.p3-watchlist-dom-label { --dom-color: #94a3b8; color: var(--dom-color); position: absolute; }
.p3-watchlist-dom [data-side="bid"] { --dom-color: #25c98b; }
.p3-watchlist-dom [data-side="ask"] { --dom-color: #f16d78; }
.p3-watchlist-dom [data-state="stale"],
.p3-watchlist-dom [data-state="unknown"] { --dom-color: #94a3b8; }
/* Legacy wall-overlay emphasis: 2/4/6px, priced-centered, dim small / bright large. */
.p3-watchlist-dom-line { left: 0; right: 4px; height: 2px; background: currentColor; opacity: .24; transform: translateY(-50%); }
.p3-watchlist-dom-line[data-tier="2"] { height: 4px; opacity: .48; }
.p3-watchlist-dom-line[data-tier="3"] { height: 6px; opacity: .75; }
.p3-watchlist-dom-connector { right: 4px; width: 1px; background: currentColor; opacity: .45; }
.p3-watchlist-dom-label {
    transform: translateY(-50%);
    max-width: min(244px, 42%);
    height: 18px;
    padding: 0 4px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-align: right;
    border-radius: 3px;
    background: rgba(12, 17, 25, .9);
    font-weight: 500;
}
.p3-watchlist-dom-label[data-tier="2"] { font-weight: 650; }
.p3-watchlist-dom-label[data-tier="3"] { font-weight: 800; }
.p3-watchlist-dom-overflow { position: absolute; right: 4px; bottom: 2px; color: #94a3b8; font-size: 9px; }
.p3-watchlist-dom-inspection {
    position: absolute; right: 4px; z-index: 2; max-width: min(280px, calc(100% - 8px));
    padding: 5px 7px; white-space: pre-wrap; overflow-wrap: anywhere;
    background: rgba(12, 17, 25, .97); color: #d5deeb; border-radius: 4px;
    font: 10px/16px ui-monospace, monospace;
}
.p3-watchlist-dom-inspection[hidden] { display: none; }
/* Click-check truthful feedback, lives inside the wall's own label. */
.p3-watchlist-dom-check { margin-left: 5px; color: #8fa3bd; font-weight: 400; }
.p3-watchlist-dom-check--present,
.p3-watchlist-dom-check--grown { color: #25c98b; }
.p3-watchlist-dom-check--shrunk { color: #f0b429; }
.p3-watchlist-dom-check--gone { color: #f16d78; }
.p3-watchlist-dom-check--checking,
.p3-watchlist-dom-check--busy { color: #64748b; }
