/* rv-live-modals: Based 1:1 Rivect styles for this area; tokens + shared components live in rv.css */
/* =====================================================================================================================
   The Market dialogs (rv-live-modals*.js). Measured on rivect/src/modals/*.jpg (1440x900) with PIL: frame 620 / 760 /
   880px, 1px #313439 line, 16px corners, #0d1016 ground; 76px header (32px icon tile 24px in, 16.5px bold title 22px
   after it, 32px round close 24px from the right) over a #2a2d34 rule; the footer is its own #10151b band, 72px, under a
   #2e3339 rule. Text: white #f8fafc titles and values, #e2e6f0 field labels, #c4cad6 secondary buttons and tabs,
   #9ea4ae body copy. Controls: 40px fields (#0e1117, #262b34 line, 8px), 34px secondary buttons, 40px primary.
   ===================================================================================================================== */
.lvm-scrim { z-index: 72; }
.lvm-wrap { z-index: 73; padding: 24px; }
/* a confirmation (ui.js modal: .scrim + .modal-wrap, z 70/71) opened from one of these dialogs stacks above it */
.lvm-wrap ~ .scrim { z-index: 74; }
.lvm-wrap ~ .modal-wrap { z-index: 75; }
.rv-dlg.lvm { width: 620px; max-height: calc(100vh - 48px); border: 1px solid #313439; border-radius: 16px; background: #0d1016; box-shadow: 0 24px 56px rgba(0, 0, 0, 0.5); font-family: var(--rv-font); color: var(--rv-text); }
.rv-dlg.lvm.lvm-760 { width: 760px; }
.rv-dlg.lvm.lvm-880 { width: 880px; }
.lvm-h { display: flex; flex: none; align-items: center; height: 76px; padding: 0 24px; border-bottom: 1px solid #2a2d34; }
.lvm-t { display: flex; align-items: center; gap: 23px; min-width: 0; margin: 0; color: var(--rv-text); font: 700 17px/1 var(--rv-font); letter-spacing: -0.01em; }
.lvm-ico { display: grid; flex: none; place-items: center; width: 32px; height: 32px; border: 1px solid #222a3c; border-radius: 9px; background: #0f1526; color: #b0b9e2; }
.lvm-ico .lvm-i { width: 18px; height: 18px; stroke-width: 1.9; }
.lvm-tt { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.lvm-h .rv-x { position: static; flex: none; margin-left: auto; width: 32px; height: 32px; border-color: #2b2f37; background: #10151b; color: #b3b7c2; }
.lvm-h .rv-x .lvm-i { width: 14px; height: 14px; stroke-width: 2; }
.lvm-b { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 24px 24px 24px; }
.lvm-f { display: flex; flex: none; align-items: center; justify-content: flex-end; gap: 8px; min-height: 72px; padding: 0 24px; border-top: 1px solid #2e3339; border-radius: 0 0 15px 15px; background: #10151b; }
.lvm-f .lvm-left { margin-right: auto; }
.lvm-f .lvm-note { margin-right: auto; color: #8f96a1; font: 500 10.5px/1.3 var(--rv-font); }

/* text */
.lvm [role="generic"] { display: block; }
.lvm-p { margin: 0; color: #9ea4ae; font: 400 12px/20px var(--rv-font); letter-spacing: -0.005em; }
.lvm-p + .lvm-p { margin-top: 12px; }
.lvm-strong { color: var(--rv-text); font: 600 13.5px/18px var(--rv-font); letter-spacing: -0.01em; }
.lvm-h3 { margin: 0; color: var(--rv-text); font: 600 13.5px/18px var(--rv-font); letter-spacing: -0.01em; }
.lvm-cap { color: #8f96a1; font: 600 9.5px/1 var(--rv-font); letter-spacing: 0.12em; text-transform: uppercase; }
.lvm-na { color: #7d8490; font: 500 11px/1.3 var(--rv-font); }
.lvm-sep { height: 1px; margin: 20px 0; border: 0; background: #252930; }

/* fields */
.lvm-fld { display: grid; align-content: start; gap: 8px; min-width: 0; }
.lvm-lbl { display: block; color: #e2e6f0; font: 600 13px/18px var(--rv-font); letter-spacing: -0.01em; }
.lvm-in, .lvm-sel { width: 100%; height: 40px; padding: 0 13px; border: 1px solid #262b34; border-radius: 8px; background: #0e1117; color: #fcfdff; font: 600 13px/1 var(--rv-font); letter-spacing: -0.01em; outline: none; color-scheme: dark; }
.lvm-in::placeholder { color: #7d8490; font-weight: 400; opacity: 1; }
.lvm-in:focus, .lvm-sel:focus { border-color: var(--rv-accent); box-shadow: 0 0 0 3px rgba(82, 110, 252, .18); }
.lvm-in:disabled, .lvm-sel:disabled, .lvm-in[data-rv-na], .lvm-sel[data-rv-na] { cursor: not-allowed; }
.lvm-sel { padding-right: 32px; cursor: pointer; }
.lvm-sel option { background: #12151b; color: var(--rv-text); }
.lvm-in[type="number"] { -moz-appearance: textfield; appearance: textfield; }
.lvm-in[type="number"]::-webkit-outer-spin-button, .lvm-in[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.lvm-ix { position: relative; display: flex; align-items: center; height: 40px; border: 1px solid #262b34; border-radius: 8px; background: #0e1117; }
.lvm-ix:focus-within { border-color: var(--rv-accent); box-shadow: 0 0 0 3px rgba(82, 110, 252, .18); }
.lvm-ix .lvm-in { flex: 1; height: 38px; border: 0; background: transparent; box-shadow: none; }
.lvm-ix .lvm-sfx { flex: none; padding: 0 14px 0 6px; color: #9ea4ae; font: 500 11px/1 var(--rv-font); }
.lvm-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lvm-grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.lvm-row { display: flex; align-items: center; gap: 12px; }
.lvm-row > .lvm-grow { flex: 1; min-width: 0; }

/* buttons */
.lvm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 34px; padding: 0 13px; border: 1px solid #2a2e37; border-radius: 8px; background: #12161f; color: #c4cad6; font: 500 12px/1 var(--rv-font); white-space: nowrap; cursor: pointer; }
.lvm-btn:hover:not(:disabled) { border-color: #3a3f4a; color: var(--rv-text); }
.lvm-btn.primary { height: 40px; padding: 0 14px; border-color: #546ffc; background: #546ffc; color: #fff; font-weight: 600; font-size: 12.5px; border-radius: 10px; }
.lvm-btn.primary:hover:not(:disabled) { background: #6680ff; border-color: #6680ff; }
.lvm-btn.primary:disabled, .lvm-btn.primary[data-rv-na] { border-color: #2e3a73; background: #2e3a73; color: #6e75a0; }
.lvm-btn:disabled { cursor: not-allowed; }
.lvm-btn .lvm-i { width: 15px; height: 15px; }
.lvm-btn.ghost { border-color: transparent; background: transparent; }
.lvm-qb { height: 36px; padding: 0 8px; border: 1px solid #262b34; border-radius: 8px; background: #12161f; color: #bfc6d1; font: 500 12.5px/1 var(--rv-font); cursor: pointer; }
.lvm-qb:hover:not(:disabled) { border-color: #3a3f4a; color: var(--rv-text); }
.lvm-qb[aria-pressed="true"] { border-color: #526efc; color: var(--rv-text); }

/* segmented choices: pill pairs (SOL / USD, Fixed / Random, Chance …) */
.lvm-seg { display: inline-flex; align-items: center; gap: 4px; }
.lvm-sg { height: 32px; padding: 0 10px; border: 1px solid #262b34; border-radius: 8px; background: #11151c; color: #c4cad6; font: 600 11px/1 var(--rv-font); cursor: pointer; }
.lvm-sg[aria-pressed="true"] { border-color: #5368f0; background: #121a33; color: #fff; }
.lvm-sg:disabled { cursor: not-allowed; }

/* tabs (Main / Quick buttons, Simple / Custom / History …) */
.lvm-tabs { display: flex; align-items: flex-end; gap: 24px; height: 40px; border-bottom: 1px solid #2a2e36; }
.lvm-tab { position: relative; height: 40px; padding: 0; border: 0; background: transparent; color: #c0c7d2; font: 500 12px/1 var(--rv-font); cursor: pointer; }
.lvm-tab[aria-selected="true"] { color: var(--rv-text); font-weight: 600; }
.lvm-tab[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; border-radius: 2px; background: #5b74f5; }
.lvm-tab:disabled { cursor: not-allowed; }

/* switch */
.lvm-sw { position: relative; flex: none; width: 36px; height: 20px; padding: 0; border: 1px solid #3b414d; border-radius: 999px; background: #212937; cursor: pointer; }
.lvm-sw i { position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #e3e7f0; transition: left .15s; }
.lvm-sw[aria-checked="true"] { border-color: #546ffc; background: #546ffc; }
.lvm-sw[aria-checked="true"] i { left: 18px; background: #fff; }
.lvm-sw:disabled { cursor: not-allowed; }

/* checkbox */
.lvm-chk { display: inline-flex; align-items: center; gap: 10px; color: #e2e6f0; font: 600 13px/18px var(--rv-font); letter-spacing: -0.015em; cursor: pointer; }
.lvm-chk input { width: 16px; height: 16px; margin: 0; accent-color: #526efc; color-scheme: dark; cursor: pointer; }
.lvm-chk input:disabled { cursor: not-allowed; }

/* disclosure (Execution preferences, Advanced fee limits …): the content stays in the tree, folded */
.lvm-dis { margin-top: 0; }
.lvm-dis-s { display: flex; align-items: center; gap: 8px; padding: 0; border: 0; background: transparent; color: #c5ccd8; font: 600 12.25px/1 var(--rv-font); letter-spacing: -0.015em; cursor: pointer; }
.lvm-dis-s::before { content: ""; width: 0; height: 0; border-style: solid; border-width: 4px 0 4px 6px; border-color: transparent transparent transparent #9ca7ff; transition: transform .15s; }
.lvm-dis-s[aria-expanded="true"]::before { transform: rotate(90deg); }
.lvm-dis-c { overflow: hidden; }
.lvm-dis-c.fold { height: 0; visibility: visible; }
.lvm-dis-c:not(.fold) { padding-top: 16px; }

/* key / value rows */
.lvm-kv { display: grid; grid-template-columns: 1fr auto; align-items: center; margin: 0; }
.lvm-kv dt { color: #a3a9b3; font: 400 12px/20px var(--rv-font); }
.lvm-kv dd { margin: 0; color: var(--rv-text); font: 600 12px/20px var(--rv-font); text-align: right; }

/* notices */
.lvm-warn { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border: 1px solid #3a2f1c; border-radius: 8px; background: #17140f; color: #f2b552; font: 500 11.5px/1.45 var(--rv-font); }
.lvm-warn .lvm-i { width: 16px; height: 16px; flex: none; color: #f5b25a; }

/* the first focus (the close button, set by the dialog) shows no ring until the keyboard is used */
.lvm.lvm-quiet :focus-visible { outline: none; box-shadow: none; }

/* Buy settings / Sell settings */
.lvm-tp { padding-top: 21px; }
.lvm-rt { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.lvm-rt-t { display: grid; gap: 7px; min-width: 0; }
.lvm-rt-p { margin-top: 10px !important; }

/* Custom buy / Custom sell (modals/custom-buy, custom-sell): summary · Amount per wallet | Unit · 4 quick amounts ·
   per-wallet checkbox · rule · Execution preferences (folded) */
.lvm-cu .lvm-cu-s { margin-bottom: 22px; }
.lvm-cu .lvm-cu-q { margin-top: 20px; }
.lvm-cu .lvm-cu-c { display: flex; height: 18px; margin-top: 27px; }
.lvm-cu .lvm-cu-sep { margin: 30px 0 0; }
.lvm-cu .lvm-cu-d { padding: 18px 0 19px; }
.lvm-cu .lvm-dis-c.fold { height: 0; padding: 0; }

/* Buy settings / Sell settings › Quick buttons (modals/quick-trade-presets, states/sell-quick-buttons) */
.lvm-ts .lvm-qunits { display: flex; margin-top: 12px; }
.lvm-ts .lvm-qunits .lvm-sg { height: 32px; padding: 0 9px; font-size: 11.5px; }
.lvm-ts .lvm-qbs { margin-top: 26px; gap: 8px; }
.lvm-ts .lvm-qbs .lvm-fld { gap: 9px; }
.lvm-ts .lvm-qbs .lvm-lbl { font-size: 13.5px; }
.lvm-ts .lvm-qbs .lvm-in { font-size: 13.5px; }
.lvm-ts .lvm-q-hint { margin-top: 25px; }
.lvm-ts .lvm-perw { margin-top: 15px; height: 38px; padding: 0 12px; gap: 10px; color: #dfe3ea; font-weight: 600; font-size: 12.5px; }
.lvm-ts .lvm-perw .lvm-i { width: 17px; height: 17px; }
.lvm-ts.lvm-ts-quick .lvm-b { padding-bottom: 25px; }
/* routing override on (states/sell-routing) */
.lvm-alloc { margin-top: 20px; }
.lvm-alloc-h { display: flex; align-items: center; gap: 8px; }
.lvm-alloc-h > :first-child { margin-right: auto; }
.lvm-alloc-a { display: flex; gap: 6px; }
.lvm-alloc-a .lvm-btn { height: 30px; padding: 0 10px; font-size: 11.5px; }
.lvm-prov { display: grid; grid-template-columns: 150px 1fr 96px; align-items: center; gap: 14px; margin-top: 14px; }
.lvm-prov-n { display: grid; gap: 3px; }
.lvm-range { width: 100%; accent-color: #546ffc; }
.lvm-ix-s { height: 34px; }
.lvm-ix-s .lvm-in { height: 32px; }
.lvm-alloc-t { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding-top: 14px; border-top: 1px solid #252930; }
.lvm-alloc-t strong { font: 700 14px/1 var(--rv-font); }
.lvm-na-p { margin-top: 12px; }
/* Override wallet routing switched on (rivect states/sell-routing): one 52px card per terminal (glyph · name / status ·
   slider · value box with % beside it), 9px apart; small Allocation / Total labels */
.lvm-alloc .lvm-alloc-h .lvm-lbl, .lvm-alloc .lvm-alloc-t .lvm-lbl { font: 500 11px/1 var(--rv-font); color: #c3c7d0; }
.lvm-alloc .lvm-alloc-t strong { font-size: 12px; }
.lvm-alloc .lvm-alloc-t { margin-top: 14px; padding-top: 0; border-top: 0; }
.lvm-alloc .lvm-prov { grid-template-columns: 17px 106px minmax(0, 1fr) 70px; gap: 0 13px; height: 52px; margin-top: 9px; padding: 0 14px; border: 1px solid #252a33; border-radius: 8px; background: #12161e; }
.lvm-alloc .lvm-alloc-h + .lvm-prov { margin-top: 15px; }
.lvm-alloc .lvm-prov::before { content: ""; width: 14px; height: 14px; border: 1.5px solid #c9cdd6; border-radius: 3px; }
.lvm-alloc .lvm-prov-n { gap: 5px; }
.lvm-alloc .lvm-prov-n .lvm-strong { font-size: 11.5px; }
.lvm-alloc .lvm-prov-n .lvm-na { font-size: 9.5px; }
.lvm-alloc .lvm-ix-s { gap: 9px; height: 30px; border: 0; background: transparent; }
.lvm-alloc .lvm-ix-s:focus-within { box-shadow: none; }
.lvm-alloc .lvm-ix-s .lvm-in { flex: none; width: 52px; height: 30px; padding: 0 6px; border: 1px solid #262b34; border-radius: 6px; background: #0e1117; text-align: center; font-size: 12.5px; }
.lvm-alloc .lvm-ix-s .lvm-sfx { padding: 0; color: #e6e8ee; font: 600 12px/1 var(--rv-font); }
.lvm-alloc { margin-top: 16px; }
.lvm-alloc .lvm-alloc-h + .lvm-prov { margin-top: 10px; }
.lvm-alloc .lvm-range { height: 16px; background: transparent; -webkit-appearance: none; appearance: none; }
.lvm-alloc .lvm-range::-webkit-slider-runnable-track { height: 3px; border-radius: 2px; background: #2c313b; }
.lvm-alloc .lvm-range::-webkit-slider-thumb { width: 12px; height: 12px; margin-top: -4.5px; border-radius: 50%; background: #5b72f6; box-shadow: 0 0 0 3px rgba(91, 114, 246, .28); -webkit-appearance: none; }
.lvm-alloc .lvm-range::-moz-range-track { height: 3px; border-radius: 2px; background: #2c313b; }
.lvm-alloc .lvm-range::-moz-range-thumb { width: 12px; height: 12px; border: 0; border-radius: 50%; background: #5b72f6; }

/* Chart display (modals/chart-display): one card, three 57px rows (label · switch) */
.lvm-cd-box { border: 1px solid #272c32; border-radius: 10px; background: #10151b; }
.lvm-cd-r { display: flex; align-items: center; justify-content: space-between; height: 58px; padding: 0 16px 0 16px; border-top: 1px solid #272c32; }
.lvm-cd-r:first-child { height: 57px; border-top: 0; }
.lvm-cd-l { color: #eef1f6; font: 600 13px/1 var(--rv-font); letter-spacing: -0.01em; }
.lvm-cd .lvm-cd-box + .lvm-p { min-height: 40px; margin-top: 19px; }

/* Send / Burn / Lock tokens and their reviews (modals/send-tokens, burn-tokens, lock-tokens, review-*): the operation
   head (36px tile + h3 + line), Amount (% supply + Max), the amber caution, the muted note; 68px footer, 36px buttons */
.lvm-oph { display: flex; align-items: flex-start; gap: 13px; }
.lvm-ico.lvm-ico-b, .lvm-ico.lvm-ico-w { width: 37px; height: 37px; border-radius: 9px; border-color: #2f333c; background: #111423; }
.lvm-ico.lvm-ico-b .lvm-i, .lvm-ico.lvm-ico-w .lvm-i { width: 17px; height: 17px; }
.lvm-oph-t { display: grid; gap: 4px; padding-top: 2px; }
.lvm-oph .lvm-h3 { font: 600 13.5px/17px var(--rv-font); letter-spacing: -0.015em; }
.lvm-oph .lvm-p { color: #9095a0; font: 400 11.25px/16px var(--rv-font); }
.lvm-amt { margin-top: 26px; }
.lvm-amt-h { display: flex; align-items: baseline; justify-content: space-between; height: 16px; }
.lvm-amt-l { color: #e8ebf2; font: 600 11.25px/16px var(--rv-font); letter-spacing: -0.01em; }
.lvm-amt-a { color: #828894; font: 400 10.25px/16px var(--rv-font); }
.lvm-ix.lvm-ix-amt { height: 41px; margin-top: 12px; border-color: #2c2f38; background: #11141b; }
.lvm-ix-amt .lvm-in { height: 39px; padding-left: 12px; font: 500 13px/1 var(--rv-font); }
.lvm-ix-amt .lvm-in::placeholder { color: #828893; font-weight: 400; }
.lvm-ix-amt .lvm-sfx { padding: 0 9px 0 6px; color: #858b99; font: 400 10.25px/1 var(--rv-font); }
.lvm-max { flex: none; width: 36px; height: 32px; margin-right: 4px; padding: 0; border: 0; border-radius: 7px; background: #1b2233; color: #b3b8df; font: 600 10.5px/1 var(--rv-font); cursor: pointer; }
.lvm-max:hover { color: #fff; }
.lvm-op .lvm-op-sep { margin: 15px 0 0; background: #262930; }
.lvm-warn { display: flex; align-items: center; gap: 10px; min-height: 44px; margin: 15px 0 0; padding: 0 14px; border: 1px solid #252728; border-radius: 8px; background: #151316; color: #cdb88f; font: 500 11.25px/17px var(--rv-font); letter-spacing: -0.005em; }
.lvm-warn .lvm-i { width: 17px; height: 17px; color: #e5ba5b; stroke-width: 1.8; }
.lvm-op-note { margin-top: 12px !important; color: #767a88 !important; font: 400 10.25px/16px var(--rv-font) !important; }
.lvm-op .lvm-f, .lvm-rv .lvm-f, .lvm-wd .lvm-f { min-height: 68px; }
.lvm-op .lvm-f .lvm-btn, .lvm-rv .lvm-f .lvm-btn, .lvm-wd .lvm-f .lvm-btn { height: 36px; padding: 0 14px; border-radius: 8px; font-size: 11.5px; }
.lvm-op .lvm-f .lvm-btn.primary, .lvm-rv .lvm-f .lvm-btn.primary, .lvm-wd .lvm-f .lvm-btn.primary { font-weight: 600; }
.lvm-btn.lvm-go .lvm-i { width: 16px; height: 16px; margin-left: 3px; stroke-width: 2; }
/* lock: Days · Hours · Minutes */
.lvm-dur { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 23px; }
.lvm-dur .lvm-fld { gap: 7px; }
.lvm-dur .lvm-lbl { font-size: 11.25px; line-height: 16px; }
.lvm-dur .lvm-in { height: 40px; border-color: #2c2f38; background: #11141b; }
.lvm-op-lock .lvm-dur { margin-top: 28px; }
.lvm-op-lock .lvm-warn { min-height: 59px; margin-top: 21px; }
/* Send tokens: Simple / Advanced batch, FROM (Holders · Deployer · All wallets), Recipient address, Amount */
.lvm-op-send .lvm-tabs { margin-top: 24px; }
.lvm-op .lvm-tab { font-size: 12.25px; }
.lvm-sr-c { display: block; height: 12px; margin-top: 21px; font: 600 9.5px/12px var(--rv-font) !important; }
.lvm-src { display: flex; margin-top: 11px; }
.lvm-src .lvm-sg { height: 32px; padding: 0 9px; font-size: 11.75px; }
.lvm-sr-to { margin-top: 14px; gap: 9px !important; }
.lvm-sr-to .lvm-lbl { font-size: 11.25px; line-height: 16px; }
.lvm-in.lvm-in-addr { height: 40px; border-color: #2c2f38; background: #11141b; font: 400 13px/1 var(--rv-font); }
.lvm-op-send .lvm-amt { margin-top: 17px; }
.lvm-op-send .lvm-op-sep + .lvm-op-note { margin-top: 15px !important; }
.lvm-sr + .lvm-sr { margin-top: 18px; padding-top: 16px; border-top: 1px solid #262930; }
.lvm-batch-a { display: flex; gap: 8px; margin-top: 16px; }
/* Advanced batch (rivect states/send-tokens-batch): the rule sits above the two actions (Add recipient left, Apply first
   amount to all right) and the note follows them without a second rule */
.lvm-op-send .lvm-batch-a { justify-content: space-between; margin-top: 16px; padding-top: 16px; border-top: 1px solid #262930; }
.lvm-op-send .lvm-batch-a + .lvm-op-sep { display: none; }
.lvm-op-send .lvm-batch-a + .lvm-op-sep + .lvm-op-note { margin-top: 12px !important; }
.lvm-op-send .lvm-batch-a .lvm-btn { height: 31px; padding: 0 9px; font-size: 11px; }
/* the reviews: one 47px card per wallet (name · amount), key / value rows on a 28px pitch */
.lvm-rv-l { margin-top: 27px; border: 1px solid #2e323b; border-radius: 8px; }
.lvm-rv-r { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 45px; padding: 0 13px; }
.lvm-rv-r + .lvm-rv-r { border-top: 1px solid #262a32; }
.lvm-rv-w { display: grid; gap: 7px; min-width: 0; }
.lvm-rv-n { color: #f1f4f9; font: 600 12px/14px var(--rv-font); letter-spacing: -0.01em; }
.lvm-rv-to { overflow: hidden; color: #8f95a1; font: 400 10.5px/12px var(--rv-font); letter-spacing: 0.02em; text-overflow: ellipsis; white-space: nowrap; }
.lvm-rv-v { flex: none; color: #eceef3; font: 600 12.25px/1 var(--rv-font); letter-spacing: -0.01em; }
.lvm-rv-v small { margin-left: 2px; color: #878a95; font: 500 9.5px/1 var(--rv-font); letter-spacing: 0; }
.lvm-rv .lvm-rv-kv { row-gap: 8px; margin-top: 16px; }
.lvm-rv .lvm-rv-kv dt { color: #9ca1ab; font: 400 11.25px/20px var(--rv-font); }
.lvm-rv .lvm-rv-kv dd { color: #e2e6ed; font: 600 11.25px/20px var(--rv-font); }
.lvm-rv .lvm-warn { margin-top: 18px; }
.lvm-rv-send .lvm-rv-l { max-height: 269px; overflow-y: auto; margin-top: 23px; }
.lvm-rv-send .lvm-rv-r { min-height: 66px; padding: 0 13px; }
.lvm-rv-send .lvm-rv-kv { margin-top: 15px; }
.lvm-rv-lock .lvm-warn { min-height: 59px; }
.lvm-rv-send .lvm-rv-l { margin-top: 19px; }
.lvm-rv-send .lvm-rv-r { padding-right: 28px; }
.lvm-rv-send .lvm-rv-to { font: 400 10.5px/12px var(--rv-mono); letter-spacing: 0; color: #8d93a0; }
.lvm-rv-send .lvm-op-note { margin-top: 14px !important; }
/* Withdraw SOL (modals/live-withdraw): Simple · Custom · History; the summary card; 13px checkboxes */
.lvm-wd .lvm-tabs { margin-top: 24px; }
.lvm-wd .lvm-tab { font-size: 12.25px; }
.lvm-wd-sum { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; align-items: center; column-gap: 12px; row-gap: 8px; height: 68px; margin-top: 16px; padding: 0 16px; border: 1px solid #272c32; border-radius: 10px; background: #10151b; }
.lvm-wd-k { grid-column: 1; grid-row: 1; align-self: end; color: #949ba9; font: 500 11.5px/14px var(--rv-font); letter-spacing: -0.005em; }
.lvm-wd-n { grid-column: 1; grid-row: 2; align-self: start; color: #737a86; font: 400 10.25px/12px var(--rv-font); font-style: normal; }
.lvm-wd-big { grid-column: 2; grid-row: 1 / 3; align-self: center; color: #fff; font: 700 24px/1 var(--rv-font); letter-spacing: -0.02em; white-space: nowrap; }
.lvm-wd-big small { margin-left: 3px; color: #a5abb7; font: 700 10.5px/1 var(--rv-font); letter-spacing: 0.01em; }
.lvm-wd-to { margin-top: 21px; gap: 8px !important; }
.lvm-wd .lvm-lbl { font-size: 11.25px; line-height: 16px; }
.lvm-wd .lvm-wd-to .lvm-in { height: 41px; }
.lvm-wd-g { margin-top: 14px; }
.lvm-wd-g .lvm-ix { height: 41px; border-color: #2c2f38; background: #11141b; }
.lvm-wd-g .lvm-in { height: 39px; font: 500 13px/1 var(--rv-font); }
.lvm-wd-g .lvm-sfx { padding-right: 16px; color: #858b99; font: 400 10.5px/1 var(--rv-font); }
.lvm-wd-c { display: flex; align-items: center; gap: 15px; height: 14px; margin-top: 19px; }
.lvm-wd-c .lvm-chk { gap: 8px; font: 600 10.75px/14px var(--rv-font); color: #dadfe6; }
.lvm-wd-c .lvm-chk input { width: 13px; height: 13px; }
.lvm-wd .lvm-wd-note { margin-top: 18px; color: #767a88; font: 400 10.25px/16px var(--rv-font); }
.lvm-wd .lvm-wd-p > .lvm-p:first-child { margin-top: 16px; }
.lvm-wd-cl { display: grid; gap: 10px; margin-top: 12px; }
.lvm-wd-cr { display: grid; grid-template-columns: 170px 1fr; align-items: center; gap: 12px; }
.lvm-wd-cn { display: grid; gap: 2px; }
.lvm-wd-h { display: grid; gap: 10px; margin-top: 16px; }
.lvm-wd-hr { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; }
/* Add a callout (modals/add-callout) */
.lvm-ac .lvm-b { padding-top: 38px; padding-bottom: 25px; }
.lvm-ac .lvm-fld { gap: 9px; }
.lvm-ac .lvm-lbl { font-size: 12.5px; line-height: 16px; }
.lvm-tarea { display: block; height: 94px; padding: 11px 13px; border-color: #2c3038; border-radius: 9px; background: #11141b; color: var(--rv-text); font: 400 13px/18px var(--rv-font); resize: vertical; }
.lvm-tarea::placeholder { color: #8c93a0; font-weight: 400; }
.lvm-ac .lvm-f .lvm-btn:not(.primary) { height: 36px; padding: 0 15px; font-size: 12.5px; }
/* Swap on Solana (modals/swap): two 108px cards, no footer */
.lvm-sw-dlg .lvm-b { padding-bottom: 26px; }
.lvm-swg { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 23px; }
.lvm-swb { display: flex; flex-direction: column; justify-content: center; gap: 13px; height: 108px; padding: 0 6px; border: 1px solid #2b2f38; border-radius: 10px; background: #12161f; color: var(--rv-text); text-align: left; cursor: pointer; }
.lvm-swb:hover:not(:disabled) { border-color: #3a3f4a; }
.lvm-swb:disabled { cursor: not-allowed; }
.lvm-swk { display: block; font: 700 9.5px/1 var(--rv-font); letter-spacing: 0.12em; }
.lvm-swk.buy { color: #3ed3a3; } .lvm-swk.sell { color: #e2577f; }
.lvm-swp { display: block; color: #e6e9ef; font: 600 11.25px/1 var(--rv-font); letter-spacing: -0.01em; }
.lvm-swn { margin-top: 19px; }
/* Fees & transaction speed (modals/execution-preferences) */
.lvm-pol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; height: 48px; margin-top: 23px; padding: 5px; border: 1px solid #2d3037; border-radius: 10px; }
.lvm-pol-b { height: 36px; padding: 0; border: 1px solid #2e333c; border-radius: 8px; background: #12161f; color: #c4cad6; font: 500 12px/1 var(--rv-font); cursor: pointer; }
.lvm-pol-b[aria-pressed="true"] { border-color: #111628; background: #111628; color: #fff; font-weight: 600; }
.lvm-pol-b:disabled { cursor: not-allowed; }
.lvm-ex .lvm-fp { gap: 10px; margin-top: 19px; }
.lvm-ex .lvm-fp .lvm-lbl { font-size: 12.5px; line-height: 16px; }
.lvm-ex .lvm-fp-p { margin-top: 11px; }
.lvm-ex .lvm-exs { margin: 20px 0 0; }
.lvm-ex .lvm-exd { margin-top: 17px; }
.lvm-ex .lvm-exg { margin-top: 44px; }
.lvm-ex .lvm-exg .lvm-fld { gap: 9px; }
.lvm-ex .lvm-exg .lvm-lbl { font-size: 12.5px; line-height: 16px; }
.lvm-ex .lvm-exg .lvm-in { height: 41px; }
.lvm-ex .lvm-dis-c:not(.fold) { padding-top: 14px; }
.lvm-ex .lvm-f .lvm-btn:not(.primary) { height: 36px; padding: 0 15px; font-size: 12.5px; }
/* Review grid orders (modals/review-grid-orders): 42px rows (Level · target · amount) under 1px rules */
.lvm-rg-l { margin-top: 23px; }
.lvm-rg-r { display: flex; align-items: center; justify-content: space-between; height: 43px; border-bottom: 1px solid #2d3037; color: #b1b7c3; font: 400 11.5px/1 var(--rv-font); }
.lvm-rg-v { color: #fff; font-weight: 700; }
.lvm-rg-a { color: #afb6c1; }
.lvm-rg .lvm-rg-l + .lvm-p { margin-top: 18px; }
.lvm-rg .lvm-f .lvm-btn:not(.primary) { height: 36px; padding: 0 15px; font-size: 12.5px; }
/* Liquidity pool (modals/liquidity) */
.lvm-lq-top { display: flex; align-items: center; justify-content: space-between; height: 27px; padding-bottom: 3px; border-bottom: 1px solid #292c33; }
.lvm-lq-top .lvm-cap { color: #bbbec3; font: 600 9.5px/1 var(--rv-font); letter-spacing: 0.12em; text-transform: uppercase; }
.lvm-lq-na { color: #949bbb; font: 500 10px/1 var(--rv-font); }
.lvm-lq .lvm-lq-top + .lvm-p { margin-top: 14px; }
.lvm-lq-g { row-gap: 18px; margin-top: 24px; }
.lvm-lq-g .lvm-fld { gap: 10px; }
.lvm-lq-g .lvm-lbl { font-size: 12.5px; line-height: 16px; }
.lvm-ack { display: flex; align-items: center; justify-content: space-between; height: 44px; margin-top: 18px; padding: 0 15px; border: 1px solid #293038; border-radius: 8px; background: #11151e; color: #dfe9f8; font: 600 12.25px/1 var(--rv-font); letter-spacing: -0.01em; }
.lvm-ack input { width: 14px; height: 14px; margin: 0; accent-color: #526efc; color-scheme: dark; }
.lvm-lq .lvm-f .lvm-note { color: #8f939f; font-size: 10px; }
/* Volume Bot (modals/live-volume-bot, states/volume-bot-advanced) + Cleanup's round delay row */
.lvm-vb-r { display: flex; align-items: center; justify-content: space-between; height: 32px; margin-top: 35px; }
.lvm-vb-r .lvm-strong { font-size: 12.5px; }
.lvm-vb-seg { gap: 5px; }
.lvm-vb-seg .lvm-sg { height: 32px; padding: 0 10px; border-color: #2c2f36; background: #131820; font-size: 11px; }
.lvm-vb-seg .lvm-sg[aria-pressed="true"] { border-color: #5368f0; background: #171a2d; }
.lvm-vb .lvm-fld { gap: 8px; margin-top: 14px; }
.lvm-lbl.lvm-lbl-s { color: #fafdff; font: 600 11px/16px var(--rv-font); }
.lvm-vb .lvm-fld .lvm-in { height: 37px; border-color: #2c2f36; background: #11141b; }
.lvm-vb .lvm-vb-r2 { margin-top: 30px; }
.lvm-vb-adv { margin-top: 20px; border-top: 1px solid #2a2d34; }
.lvm-adv-s { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 50px; padding: 0; border: 0; background: transparent; color: #c7ccd8; font: 600 12px/1 var(--rv-font); letter-spacing: -0.01em; cursor: pointer; }
.lvm-adv-s .lvm-adv-c { width: 16px; height: 16px; margin-right: 1px; color: #e2e6ee; stroke-width: 2.2; transition: transform .15s; }
.lvm-adv-s[aria-expanded="true"] .lvm-adv-c { transform: rotate(180deg); }
.lvm-vb-adv .lvm-dis-c.fold { height: 0; }
.lvm-vb-ag { row-gap: 14px; padding-bottom: 6px; }
/* the open fold (rivect states/volume-bot-advanced): 36px fields 9px under their label, rows 11px apart, the two
   columns 9px apart; select labels 13px, field labels 11px bold; selects read white from 10px in */
.lvm-vb .lvm-vb-ag { column-gap: 9px; row-gap: 11px; }
.lvm-vb .lvm-vb-ag .lvm-fld { gap: 9px; }
.lvm-vb .lvm-vb-ag .lvm-lbl { font: 700 11px/16px var(--rv-font); letter-spacing: 0; }
.lvm-vb .lvm-vb-ag .lvm-fld:has(select) .lvm-lbl { font: 500 13px/16px var(--rv-font); }
.lvm-vb .lvm-vb-ag .lvm-in, .lvm-vb .lvm-vb-ag .lvm-sel { height: 36px; padding-left: 10px; font-size: 13px; }
.lvm-vb .lvm-vb-ag .lvm-sel { padding-left: 5px; }
.lvm-vb .lvm-vb-adv .lvm-dis-c:not(.fold) { padding-top: 6px; }
/* open, the body outgrows the dialog and scrolls: it keeps the scrollbar's gutter at the right */
.lvm-vb:has(.lvm-vb-adv .lvm-dis-c:not(.fold)) .lvm-b { padding-right: 34px; }
.lvm-vb-ag .lvm-fld { margin-top: 0; }
.lvm-vb .lvm-f .lvm-note { margin: 0 auto; }
/* Instant trading preferences / Execution preferences of the panel (modals/instant-trading-preferences, instant-trade-wallets) */
.lvm-ip .lvm-b { padding-top: 40px; padding-bottom: 25px; }
.lvm-ip-g, .lvm-iw-g { row-gap: 16px; }
.lvm-ip-g .lvm-fld, .lvm-iw-g .lvm-fld { gap: 10px; }
.lvm-ip .lvm-lbl, .lvm-iw .lvm-lbl { font-size: 12.5px; line-height: 16px; }
.lvm-ip .lvm-in, .lvm-ip .lvm-sel, .lvm-iw .lvm-in, .lvm-iw .lvm-sel { height: 40px; }
.lvm-ip-c, .lvm-iw-c { display: flex; height: 16px; margin-top: 27px; }
.lvm-ip-c .lvm-chk, .lvm-iw-c .lvm-chk { font-size: 12.5px; }
.lvm-ip-p, .lvm-iw-p { margin-top: 22px !important; }
.lvm-ip-a { display: flex; gap: 8px; margin-top: 15px; }
.lvm-ip-a .lvm-btn { height: 36px; padding: 0 12px; color: #dfe3ea; font-weight: 600; font-size: 12px; }
.lvm-iw .lvm-iw-g { margin-top: 23px; }
.lvm-iw .lvm-b { padding-bottom: 25px; }
.lvm-ip .lvm-f, .lvm-iw .lvm-f { justify-content: space-between; }
.lvm-ip .lvm-f .lvm-note, .lvm-iw .lvm-f .lvm-note, .lvm-ta-f .lvm-note { color: #8e939e; font: 500 10.5px/1 var(--rv-font); }
.lvm-iw .lvm-iw-p { min-height: 40px; }
/* Cashback (modals/cashback) */
.lvm-cb .lvm-cb-kv { row-gap: 11px; margin-top: 22px; padding-top: 0; border-top: 1px solid #1b1e24; }
.lvm-cb .lvm-cb-kv dt { color: #9da4af; font: 400 12px/20px var(--rv-font); }
.lvm-cb .lvm-cb-kv dd { color: #ebeef5; font: 600 12px/20px var(--rv-font); }
.lvm-cb .lvm-f .lvm-btn:not(.primary), .lvm-wdt .lvm-f .lvm-btn:not(.primary) { height: 36px; padding: 0 15px; font-size: 12.5px; }
/* Wallet detail (modals/wallet-detail): head, three stat tiles, six facts */
.lvm-wdt .lvm-b { padding-top: 27px; }
.lvm-wdt-h .lvm-oph-t { gap: 5px; padding-top: 1px; }
.lvm-wdt-h .lvm-h3 { font: 600 13px/16px var(--rv-font); }
.lvm-p.lvm-wdt-id { display: flex; align-items: baseline; color: #a1a7b1; font: 400 11.5px/16px var(--rv-font); }
.lvm-wdt-id > [role="generic"] { display: inline-block; }
.lvm-wdt-s { display: grid; grid-template-columns: repeat(3, 1fr); height: 114px; margin-top: 22px; border: 1px solid #2a2f35; border-radius: 10px; background: #0a0f15; }
.lvm-wdt-s > div { padding: 17px 18px 0; }
.lvm-wdt-s > div + div { border-left: 1px solid #272c32; }
.lvm-wdt-k { color: #a5a8ad; font: 500 10.75px/14px var(--rv-font); }
.lvm-wdt-s strong { display: block; margin-top: 11px; color: #fff; font: 700 25px/25px var(--rv-font); letter-spacing: -0.02em; }
.lvm-wdt-u { margin-top: 14px; color: #92979c; font: 500 9.5px/12px var(--rv-font); }
.lvm-wdt .lvm-wdt-kv { row-gap: 11px; margin-top: 20px; border-top: 1px solid #1b1e24; }
.lvm-wdt .lvm-wdt-kv dt { color: #9da4af; font: 400 12px/20px var(--rv-font); }
.lvm-wdt .lvm-wdt-kv dd { color: #ebeef5; font: 600 12px/20px var(--rv-font); }
/* Auto Buy (modals/live-auto-buy): 760 x 743, the body scrolls; tabs ride a full-width rule */
.rv-dlg.lvm.lvm-ab { height: 743px; }
.lvm-ab .lvm-b { padding-top: 15px; }
.lvm-ab-top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.lvm-ab-loc { color: #6b7077 !important; font: 500 9.5px/20px var(--rv-font) !important; letter-spacing: 0.16em !important; text-transform: uppercase; }
.lvm-ab .lvm-tabs { gap: 23px; margin: 12px -24px 0; padding: 0 24px; border-bottom-color: #282b32; }
.lvm-ab .lvm-tab { display: inline-flex; align-items: center; gap: 9px; font-size: 12.5px; }
.lvm-tab-n { display: grid !important; place-items: center; width: 17px; height: 18px; border: 1px solid #2f3442; border-radius: 4px; color: #aab7df; font: 600 9.5px/1 var(--rv-font); }
.lvm-ab-chips { display: flex; gap: 7px; margin-top: 20px; }
.lvm-ab-chip { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 9px; row-gap: 4px; align-content: center; width: 128px; height: 56px; padding: 0 10px; border: 1px solid #404565; border-radius: 8px; background: #111520; color: #dce0ec; text-align: left; cursor: pointer; }
.lvm-ab-n { grid-row: 1 / 3; align-self: center; display: grid !important; place-items: center; width: 18px; height: 18px; border: 1px solid #3a4152; border-radius: 4px; color: #c9cee0; font: 600 9.5px/1 var(--rv-font); }
.lvm-ab-cn { color: #dce0ec; font: 600 11.5px/14px var(--rv-font); }
.lvm-ab-cs { color: #8d91a3; font: 400 10.25px/12px var(--rv-font); }
.lvm-ab-add { display: inline-flex; align-items: center; justify-content: center; gap: 9px; width: 75px; height: 56px; padding: 0; border: 1px dashed #303542; border-radius: 8px; background: transparent; color: #c3c8d2; font: 500 12px/1 var(--rv-font); }
.lvm-ab-add .lvm-i { width: 14px; height: 14px; stroke-width: 2; }
.lvm-ab-sh { display: flex; align-items: center; justify-content: space-between; height: 16px; margin-top: 20px; }
.lvm-ab-sh .lvm-cap { color: #777a85; font: 600 9.5px/1 var(--rv-font); letter-spacing: 0.16em; }
.lvm-ab-sa { display: flex; align-items: center; gap: 14px; }
.lvm-ab-dup { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: transparent; color: #989ba7; font: 500 10.5px/1 var(--rv-font); }
.lvm-ab-dup .lvm-i { width: 15px; height: 15px; }
.lvm-ab-rm { display: grid; place-items: center; width: 18px; height: 18px; padding: 0; border: 0; background: transparent; color: #5d626c; }
.lvm-ab-rm .lvm-i { width: 15px; height: 15px; }
.lvm-ab-modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 17px; }
.lvm-ab-m { display: flex; align-items: center; gap: 12px; height: 62px; padding: 0 13px 0 14px; border: 1px solid #292c33; border-radius: 8px; background: #0f1219; color: #fff; text-align: left; cursor: pointer; }
.lvm-ab-m > .lvm-i { width: 16px; height: 16px; color: #cfd3dc; }
.lvm-ab-m[aria-pressed="true"] { border-color: #4a4c7e; background: linear-gradient(180deg, #131a2c, #111520); }
.lvm-ab-m[aria-pressed="true"] > .lvm-i:first-child { color: #9eb0ff; }
.lvm-ab-mt { display: grid; flex: 1; gap: 5px; min-width: 0; }
.lvm-ab-mn { color: #edf1fc; font: 600 12px/14px var(--rv-font); letter-spacing: -0.01em; }
.lvm-ab-md { color: #7f8697; font: 400 9.75px/12px var(--rv-font); }
.lvm-ab-ck { width: 13px !important; height: 13px !important; color: #9eb0ff !important; stroke-width: 2.2; }
.lvm-ab .lvm-ab-d { margin-top: 12px; }
.lvm-ab-g { gap: 14px; margin-top: 17px; }
.lvm-ab-g .lvm-fld { gap: 9px; }
.lvm-ab .lvm-lbl { font-size: 11.25px; line-height: 16px; }
.lvm-ab .lvm-ix { height: 41px; border-color: #2a2d34; background: #0f1219; }
.lvm-ab .lvm-ix .lvm-in { height: 39px; font: 600 13px/1 var(--rv-font); }
.lvm-ab .lvm-ix .lvm-in::placeholder { color: #8a909b; font-weight: 400; }
.lvm-ab .lvm-ix .lvm-sfx { padding-right: 18px; font-size: 9.5px; }
.lvm-ab-rw { display: flex; align-items: center; justify-content: space-between; height: 28px; margin-top: 17px; }
.lvm-ab-k { color: #999fa9; font: 400 11.25px/1 var(--rv-font); }
.lvm-ab-seg { gap: 3px; }
.lvm-ab-seg .lvm-sg { height: 28px; padding: 0 9px; border-color: transparent; background: transparent; color: #a6abb7; font: 500 10.5px/1 var(--rv-font); }
.lvm-ab-seg .lvm-sg[aria-pressed="true"] { border-color: #333b52; background: #1a2032; color: #dadff3; font-weight: 600; }
.lvm-ab-rc { gap: 7px !important; margin-top: 13px; }
.lvm-ab-t { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.lvm-ab-runs { margin-top: 14px; }
.lvm-ab-adv { display: flex; align-items: center; gap: 12px; width: 100%; height: 76px; margin-top: 16px; padding: 0 0 18px; border: 1px solid #282b32; border-bottom: 0; border-radius: 10px 10px 0 0; background: transparent; color: #b6bbc5; font: 500 11.5px/1 var(--rv-font); text-align: left; }
.lvm-ab-adv > .lvm-i { width: 16px; height: 16px; margin-left: -1px; color: #a7acb6; }
.lvm-ab-adv > span:not([role]) { flex: 1; }
.lvm-ab-pl { color: #a7acb6; font: 400 14px/1 var(--rv-font); margin-right: 3px; }
.lvm-ab .lvm-ab-ws { display: grid; gap: 10px; margin-top: 16px; }
.lvm-ab .lvm-f { min-height: 76px; }
.lvm-ab-f .lvm-ab-fs { display: grid; gap: 7px; margin-right: auto; }
.lvm-ab-fs .lvm-ab-st { font: 600 11.75px/1 var(--rv-font); color: #ecf1fb; }
.lvm-ab-fn { color: #808293; font: 500 9.75px/1 var(--rv-font); }
.lvm-ab .lvm-f .lvm-btn:not(.primary) { height: 36px; padding: 0 15px; color: #dfe3ea; font-weight: 600; font-size: 11.5px; }
.lvm-ab .lvm-f .lvm-btn.primary { height: 40px; padding: 0 15px; font-size: 11.5px; }
/* Cleanup (modals/live-cleanup): Sources | Destinations cards, round delay, Advanced, the alert */
.lvm-cl-g { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin-top: 23px; }
.lvm-cl-c { height: 276px; border: 1px solid #2e323b; border-radius: 10px; background: #10131a; overflow: hidden; }
.lvm-cl-h { display: flex; align-items: center; justify-content: space-between; height: 37px; padding: 0 11px 0 10px; border-bottom: 1px solid #2e323d; background: #121923; }
.lvm-cl-h .lvm-strong { color: #f7fdff; font: 600 12.25px/1 var(--rv-font); }
.lvm-cl-n { color: #828898; font: 400 10px/1 var(--rv-font); }
.lvm-cl-b { padding: 10px 11px 0 11px; }
.lvm-cl-s { color: #8b94a0; font: 400 10.25px/14px var(--rv-font); padding-left: 2px; }
.lvm-cl-r { display: flex; align-items: flex-start; gap: 8px; height: 42px; padding-top: 6px; }
.lvm-cl-r + .lvm-cl-r { border-top: 1px solid #20252b; }
.lvm-cl-r input { width: 14px; height: 14px; margin: 9px 0 0 0; color-scheme: dark; }
.lvm-cl-rt { display: grid; gap: 2px; }
.lvm-cl-rn { color: #e2e6f0; font: 600 13.5px/16px var(--rv-font); letter-spacing: -0.01em; }
.lvm-cl-rv { color: #9098a5; font: 400 10.25px/14px var(--rv-font); }
.lvm-cl-rd { display: flex; align-items: center; justify-content: space-between; height: 32px; margin-top: 30px; }
.lvm-cl-rd .lvm-strong { font-size: 11.5px; }
.lvm-cl-ds { width: calc(50% - 7px); margin-top: 15px; gap: 8px !important; }
.lvm-cl-ds .lvm-in { height: 37px; border-color: #2c2f36; background: #11141b; }
.lvm-cl-adv { margin-top: 21px; }
.lvm-cl .lvm-dis-c.fold { height: 0; }
.lvm-cl .lvm-cl-al { margin-top: 10px; color: #c9cdd6; }
.lvm-cl .lvm-cl-na { margin-top: 9px; color: #c9cdd6; }
.lvm-cl .lvm-b { padding-bottom: 25px; }
.lvm-cl .lvm-f .lvm-btn:not(.primary) { height: 34px; padding: 0 13px; font-size: 12px; }
/* Collaborate (modals/team-access): form, the contentinfo band in the middle, Access drafts */
.lvm-ta .lvm-b { padding-bottom: 25px; }
.lvm-ta .lvm-b > .lvm-h3 { font: 600 13.5px/17px var(--rv-font); }
.lvm-ta-pl { display: flex; gap: 5px; margin-top: 12px; white-space: nowrap; }
.lvm-ta-pl > * { display: inline-block !important; }
.lvm-ta-g { display: grid; grid-template-columns: 235px 1fr 235px; gap: 17px; margin-top: 22px; }
.lvm-ta-g .lvm-fld { gap: 9px; }
.lvm-ta .lvm-lbl { font-size: 12.5px; line-height: 16px; }
.lvm-ta .lvm-in, .lvm-ta .lvm-sel { height: 40px; }
.lvm-in.lvm-in-plain { font-weight: 400; }
.lvm-ta-w { display: grid; grid-template-columns: 1fr 1fr; align-content: start; row-gap: 23px; height: 152px; margin: 22px 0 0; padding: 23px 16px 0; border: 1px solid #2c3039; border-radius: 10px; }
.lvm-ta-w legend { margin-left: 1px; padding: 0 6px; color: #a6abb6; font: 400 10.5px/1 var(--rv-font); }
.lvm-ta-w .lvm-chk { height: 15px; gap: 8px; color: #dee2ec; font: 600 11.5px/15px var(--rv-font); }
.lvm-ta-w .lvm-chk input { width: 15px; height: 15px; }
.lvm-ta-x { margin-top: 22px; gap: 9px !important; }
.lvm-ta .lvm-in.lvm-in-dt { height: 42px; font: 600 12.5px/1 var(--rv-font); color: #dfe3ea; }
.lvm-ta-f { display: flex; align-items: center; justify-content: space-between; height: 73px; margin: 24px -24px 0; padding: 0 24px; border-top: 1px solid #2d3238; background: #10151b; }
.lvm-ta-f .lvm-btn.primary { height: 40px; padding: 0 15px; font-size: 12.5px; }
.lvm-ta-ds { margin-top: 20px; }
.lvm-ta-l { margin-top: 14px; }
.lvm-ta-e { display: grid; place-items: center; height: 81px; margin: 0 !important; border: 1px dashed #2a2e36; border-radius: 8px; background: #10131a; color: #9ba0ac !important; font-size: 12px !important; }
.lvm-ta-d { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid #22262d; }
.lvm-ta-pl > .lvm-p { margin: 0 !important; }
/* Limit orders (modals/limit-orders): 880 x 851, the body scrolls: form, the action band, the open orders */
.rv-dlg.lvm.lvm-lo-dlg { height: 851px; }
.lvm-lo-dlg .lvm-b { padding-top: 38px; }
.lvm-lo-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lvm-pill { display: inline-flex !important; align-items: center; height: 20px; padding: 0 8px; border-radius: 999px; background: #1f2b44; color: #c9d3ee; font: 600 9.5px/1 var(--rv-font); }
.lvm-lo-g { row-gap: 18px; gap: 16px; margin-top: 30px; }
.lvm-lo-g .lvm-fld { gap: 10px; }
.lvm-lo-g .lvm-lbl { font-size: 12.5px; line-height: 16px; }
.lvm-lo-g .lvm-in, .lvm-lo-g .lvm-sel { height: 40px; }
.lvm-lo-act { display: flex; justify-content: flex-end; align-items: center; gap: 8px; height: 74px; margin: 24px -24px 0; padding: 0 24px; border-top: 1px solid #31363c; background: #10151b; }
.lvm-lo-act .lvm-btn:not(.primary) { height: 36px; padding: 0 15px; font-size: 12.5px; }
.lvm-lo-list { margin: 0 -24px; padding: 20px 24px 0; background: #0c1117; }
.lvm-lo-rule { height: 1px; background: #2f3237; }
.lvm-lo { display: flex; align-items: center; gap: 13px; height: 68px; border-bottom: 1px solid #1d2026; }
.lvm-lo-s { display: inline-grid !important; place-items: center; width: 32px; height: 20px; border-radius: 999px; background: #10302a; color: #46d8ab; font: 600 9.5px/1 var(--rv-font); }
.lvm-lo-s.sell { background: #2c1420; color: #de557d; }
.lvm-lo-t { display: grid; flex: 1; gap: 6px; }
.lvm-lo-n { color: #e8ebf1; font: 600 11.5px/14px var(--rv-font); }
.lvm-lo-d { color: #8d93a0; font: 400 10px/12px var(--rv-font); }
.lvm-btn.sm { height: 28px; padding: 0 10px; font-size: 11px; }
.lvm-lo-e { margin-top: 28px !important; }
.lvm-lo-test { margin-top: 24px; color: #8d93a0; }
/* the floating instant panel follows Instant trading preferences (opacity, background blur) */
.rl-inst { opacity: var(--rv-inst-op, 1); -webkit-backdrop-filter: blur(var(--rv-inst-blur, 12px)); backdrop-filter: blur(var(--rv-inst-blur, 12px)); }
/* limit orders · the sell side (SINNER's limits drawer) */
.lvm-lo-seg { display: flex; flex-wrap: wrap; }
.lvm-lo-seg .lvm-sg { height: 34px; }
.lvm-lo-pcts { display: flex; align-items: center; gap: 8px; }
.lvm-lo-pcts .lvm-in { width: 88px; flex: none; }
.lvm-lo-h { color: #8d93a0; font: 400 10.5px/14px var(--rv-font); }
.lvm-lo-rb { color: #e2e6f0; font: 600 12px/40px var(--rv-font); }
.lvm-lo-mk { margin-top: 14px; color: #8d93a0; font-size: 11px; }
/* slippage presets inside the Slippage (%) field (the cockpit's 1 / 3 / 5 / 10 %) */
.lvm-ex .lvm-slipx { height: 41px; border-color: #262b34; background: #0e1117; }
.lvm-ex .lvm-slipx .lvm-in { height: 39px; }
.lvm-slips { display: flex; gap: 3px; padding-right: 5px; }
.lvm-slp { height: 26px; padding: 0 6px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: #8d93a0; font: 600 10px/1 var(--rv-font); cursor: pointer; }
.lvm-slp:hover { color: #e2e6f0; }
.lvm-slp[aria-pressed="true"] { border-color: #333b52; background: #1a2032; color: #dadff3; }
/* Withdraw SOL › the project sweep (custody wallet / USDC / USDT / token balances): a quiet line where the note was */
.lvm-wd-sw { margin-top: 18px; }
.lvm-wd-swb { display: flex; width: fit-content; height: 16px; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: #767a88; font: 400 10.25px/16px var(--rv-font); text-align: left; cursor: pointer; }
.lvm-wd-swb::after { content: ""; width: 5px; height: 5px; margin-top: -3px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.lvm-wd-swb[aria-expanded="true"]::after { margin-top: 2px; transform: rotate(-135deg); }
.lvm-wd-swb:hover:not(:disabled), .lvm-wd-swb[aria-expanded="true"] { color: #c4cad6; }
.lvm-wd-swb:disabled { cursor: not-allowed; opacity: 0.6; }
.lvm-wd-swp { display: grid; gap: 12px; margin-top: 12px; padding: 14px 16px; border: 1px solid #272c32; border-radius: 10px; background: #0b0e14; }
.lvm-wd-swp .lvm-fld { gap: 6px; }
.lvm-wd-seg { display: flex; flex-wrap: wrap; gap: 6px; }
.lvm-wd-seg .lvm-sg { height: 32px; }
.lvm-wd-swp .lvm-chk { gap: 8px; font: 600 10.75px/14px var(--rv-font); color: #dadfe6; }
.lvm-wd-swp .lvm-p { color: #767a88; font: 400 10.25px/16px var(--rv-font); }
.lvm-wd-last { padding-bottom: 10px; border-bottom: 1px solid #1d2128; }
.lvm-wd .lvm-in:disabled, .lvm-wd .lvm-ix:has(.lvm-in:disabled) { opacity: 0.55; }
.lvm-wd .lvm-ix:has(.lvm-in:disabled) .lvm-in:disabled { opacity: 1; }
/* Custom buy / sell › a different amount for each wallet */
.lvm-cu-pw:empty { display: none; }
.lvm-cu-pwl { display: grid; gap: 8px; max-height: 220px; margin-top: 12px; overflow: auto; }
.lvm-cu-pwr { display: grid; grid-template-columns: minmax(0, 1fr) auto 132px; align-items: center; gap: 12px; }
.lvm-cu-pwr .lvm-strong { overflow: hidden; font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }
.lvm-cu-pwr .lvm-p { margin: 0; color: #8d93a0; font-size: 11px; white-space: nowrap; }
.lvm-cu-pwr .lvm-in { height: 34px; }
/* Space-armed shortcuts switched off (Instant trading preferences): the panel's "Hold Space to arm" hint goes */
html[data-rv-inst-arm="off"] .rl-inst .rl-in-f { display: none; }
