/* s2-relaunch: Style 2 (data terminal) for the relaunch unit (hl-relaunch.js): the relaunch modal (clean · dirty · fund
   another project · the job view), its popovers, the minimized pill, and the plain draft dialog (S-live-46). Tokens and
   shared components live in s2.css; every value here is the approved skeleton's (out/FAM-6b-relaunch/S-live-4x/5x).

   Frame (skeleton coordinates at 1440x896; the capture's 900px viewport centres it 2px lower): modal x120-1320 y32-864,
   1px #222224, r6, the ground #171719 (the dialog is the style's one floating surface: the sheet's shadow) ·
   header 72px (mark x144 y47, title x184 20/600, one 12px grey line, minimize x1244 · close x1276) · body 695px:
   left column x121-896 (content x144-872, 728) | 1px rule | right column x897-1319 (content x920-1296, 376) ·
   footer 63px (buttons y814, right edge x1296). No inner scroll: what does not fit opens in a popover.
   The one move: every selection (mode tile, segmented option, picked project) is a 1px #4a8ad6 line exactly as wide as
   its label on the control's bottom edge; figures are JetBrains Mono with their sign in the text. */

.modal-wrap.rlm-wrap { padding: 0; }
.rlm-wrap[hidden], .rlm-scrim[hidden], .rlm-pill[hidden], .rlx-pop[hidden], .rlm-modes[hidden] { display: none !important; }

/* ---------------------------------------------------------------- frame */
.modal.rlm { position: relative; display: flex; flex-direction: column; width: 1200px; height: 832px; max-width: calc(100vw - 16px); max-height: calc(100vh - 16px); overflow: visible;
  background: var(--s2-ground); border: 1px solid var(--s2-border); border-radius: var(--s2-r-card); box-shadow: var(--s2-float-shadow); animation: none; color: var(--s2-text); font: 400 13px/18px var(--s2-font); }
/* the sheet: tabular figures everywhere, a count inside a sentence too, as the skeletons draw it (Public Sans' tnum also
   sets its . , : on the tabular width). On every element: each one's font shorthand resets font-variant-numeric. */
.modal.rlm, .modal.rlm *, .modal.rld, .modal.rld * { font-variant-numeric: tabular-nums; }
.modal.rlm button { font-family: var(--s2-font); }
.rlm-h { flex: none; display: flex; align-items: flex-start; gap: 12px; height: 72px; padding: 14px 19px 0 23px; border-bottom: 1px solid var(--s2-border); }
.rlm-mk { flex: none; display: block; width: 28px; height: 28px; }
.rlm-av { display: grid; place-items: center; flex: none; width: 28px; height: 28px; overflow: hidden; border-radius: 50%; background: var(--s2-raised); color: var(--s2-secondary); font: 600 12px/16px var(--s2-font); }
.rlm-av.pic { border-radius: var(--s2-r-card); }
.rlm-av img, .rlm-av > span { display: grid; place-items: center; width: 100%; height: 100%; object-fit: cover; }
.rlm-ht { flex: 1; min-width: 0; padding-top: 1px; }
.rlm-ht h1 { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 600 20px/26px var(--s2-font); letter-spacing: 0; color: var(--s2-text); }
.rlm-sub { margin: 2px 0 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 400 12px/16px var(--s2-font); color: var(--s2-muted); }
.rlm-hb { flex: none; display: flex; gap: 8px; margin-top: 2px; }
.rlm-ib { display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; border-radius: var(--s2-r-control); background: none; color: var(--s2-muted); cursor: pointer; }
.rlm-ib:hover:not(:disabled) { background: var(--s2-raised); color: var(--s2-text); }
.rlm-ib .i { width: 16px; height: 16px; stroke-width: 1.5; vertical-align: top; }
.rlm-b { flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: 776px minmax(0, 1fr); }
.rlm-left { position: relative; min-width: 0; min-height: 0; overflow: hidden; padding: 24px 24px 0 23px; border-right: 1px solid var(--s2-border); }
.rlm-right { min-width: 0; min-height: 0; overflow: hidden; padding: 24px 23px 0; }
.rlm-f { flex: none; display: flex; align-items: center; justify-content: flex-end; gap: 8px; height: 63px; padding: 0 23px; border-top: 1px solid var(--s2-border); }
.rlm-why { min-width: 0; margin-right: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 400 12px/16px var(--s2-font); color: var(--s2-muted); }
.rlm-why.warn { color: var(--s2-warning); }
.rlm-why .num { color: inherit; }
.rlm-why:empty { display: none; }
.rlm-whyb { flex: 0 1 auto; padding: 0; border: 0; background: none; text-align: right; cursor: pointer; }
.rlm-whyb:hover { color: var(--s2-text); }
.rlm-whyb:focus-visible { outline: 1px solid var(--s2-text); outline-offset: 2px; }
.rlx-pop.k-log { width: 560px; }
/* while the relaunch modal is open, the shell's toasts stand above its footer (y800), never over Draft only · Start ·
   the shortfall choices: the modal's bottom margin ((viewport - 832) / 2, at least 8) + the 64px footer + 8 */
body:has(.rlm-wrap:not([hidden])) .toasts { bottom: calc(max(8px, (100vh - 832px) / 2) + 72px); }
/* footer buttons: text (Cancel) · outlined (Draft only, Minimize, Open draft) · the one white primary; disabled =
   #3a3a3e outline + #8a8c92 label (legible, the reason sits beside it) */
.rlm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex: none; height: 36px; padding: 0 18px; border: 1px solid transparent; border-radius: var(--s2-r-control);
  background: transparent; color: var(--s2-text); font: 500 13px/18px var(--s2-font); white-space: nowrap; cursor: pointer; transition: border-color 0.12s, background 0.12s, color 0.12s; }
.rlm-btn .i { width: 14px; height: 14px; stroke-width: 1.5; vertical-align: top; }
.rlm-btn.txt { padding: 0 12px; color: var(--s2-secondary); }
.rlm-btn.txt:hover:not(:disabled) { color: var(--s2-text); background: var(--s2-raised); }
.rlm-btn.out { border-color: var(--s2-control); }
.rlm-btn.out:hover:not(:disabled) { border-color: var(--s2-control-hi); }
.rlm-btn.pri { border-color: #ffffff; background: #ffffff; color: #000000; font-weight: 600; }
.rlm-btn.pri .i { color: #000000; }
.rlm-btn.pri:hover:not(:disabled) { border-color: #e8e8ea; background: #e8e8ea; }
.rlm-btn:disabled, .rlm-btn.pri:disabled { border-color: var(--s2-control); background: transparent; color: var(--s2-muted); font-weight: 500; cursor: default; }
.rlm-btn.pri:disabled .i, .rlm-btn:disabled .i { color: var(--s2-muted); }
.rlm-btn:focus-visible, .rlm-tile:focus-visible, .rlm-link:focus-visible, .rlm-ib:focus-visible { outline: 1px solid var(--s2-text); outline-offset: 1px; }

/* ---------------------------------------------------------------- mode tiles (3 x 232 + 2 x 16 = 728; 56px) */
.rlm-modes { display: grid; grid-template-columns: repeat(3, 232px); gap: 16px; }
.rlm-tile { position: relative; display: block; height: 56px; padding: 0; border: 1px solid var(--s2-control); border-radius: var(--s2-r-card); background: var(--s2-surface); color: var(--s2-secondary); text-align: left; cursor: pointer; transition: border-color 0.12s; }
.rlm-tile:hover:not(:disabled) { border-color: var(--s2-control-hi); }
.rlm-tile:disabled { cursor: default; }
.rlm-tile-i { position: absolute; left: 13px; top: 19px; width: 16px; height: 16px; color: var(--s2-muted); }
.rlm-tile-i .i { display: block; width: 16px; height: 16px; stroke-width: 1.5; }
.rlm-tile-t { position: absolute; left: 39px; top: 9px; right: 10px; display: flex; flex-direction: column; min-width: 0; }
.rlm-tile-t > b { font: 600 13px/18px var(--s2-font); color: var(--s2-secondary); white-space: nowrap; }
.rlm-tile-t > span { margin-top: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 400 12px/16px var(--s2-font); color: var(--s2-muted); }
.rlm-tile.on .rlm-tile-i, .rlm-tile.on .rlm-tile-t > b { color: var(--s2-text); }
.rlm-tile.on .s2-l { position: relative; }
/* the name's inline box ends at y155 (13px text), the tile's bottom border is y184: the line sits on that border */
.rlm-tile.on .s2-l::after { content: ""; position: absolute; left: 0; right: 0; bottom: -30px; height: 1px; background: var(--s2-accent); pointer-events: none; }
.rlm-ml { margin: 8px 0 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 400 12px/16px var(--s2-font); color: var(--s2-muted); }

/* ---------------------------------------------------------------- settings rows (36px, label column 96) */
.rlm-row { display: flex; align-items: center; height: 36px; margin-top: 12px; min-width: 0; }
.rlm-ml + .rlm-row { margin-top: 16px; }
.rlm-rl { flex: none; width: 96px; font: 500 13px/18px var(--s2-font); color: var(--s2-secondary); white-space: nowrap; }
.rlm-rl2 { width: auto; margin: 0 12px 0 18px; }
/* the second group of a row sits where the skeleton puts it: Distribution x549 (32 after the Wallets control) with its
   control at x637, Dev wallet x478 (43 after Old token) with its control at x560: a fixed label box, like the first */
.rlm-rl2.g32 { width: 88px; margin: 0 0 0 32px; } .rlm-rl2.g43 { width: 82px; margin: 0 0 0 43px; }
.rlm-rn { min-width: 0; margin-left: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 400 12px/16px var(--s2-font); color: var(--s2-muted); }
.rlm-rn .num { color: inherit; }
.rlm-rn.warn { color: var(--s2-warning); }
.rlm-rn.err { color: var(--s2-negative); }
.rlm-row > .rlm-link { margin-left: 16px; }
/* segmented: the shared s2.css control at 36px (28px small); option separators in the control outline */
.rlm-seg.hl-seg { --s2-seg-h: 36px; flex: none; }
.rlm-seg.hl-seg button { padding: 0 15px; font: 500 13px/18px var(--s2-font); }
.rlm-seg.hl-seg button + button { border-left-color: var(--s2-control); }
.rlm-seg.hl-seg button small { font: 400 12px/16px var(--s2-font); color: var(--s2-muted); }
.rlm-seg.hl-seg button small .num { color: inherit; }
.rlm-seg.hl-seg.sm { --s2-seg-h: 28px; }
.rlm-seg.hl-seg.sm button { padding: 0 12px; font-size: 13px; }
/* Spread: one 104x36 field, the figure mono, the unit grey at its right end */
.rlm-spread { display: flex; align-items: center; flex: none; width: 104px; height: 36px; padding: 0 12px; border: 1px solid var(--s2-control); border-radius: var(--s2-r-field); background: var(--s2-surface); cursor: text; }
.rlm-spread:hover:not(:focus-within) { border-color: var(--s2-control-hi); }
.rlm-spread:focus-within { border-color: var(--s2-text); }
.rlm-spread.bad { border-color: var(--s2-negative); }
.rlm-spread input { flex: 1; min-width: 0; width: 100%; height: 100%; padding: 0; border: 0; outline: 0; background: none; color: var(--s2-text); font: 400 13px/18px var(--s2-mono); }
.rlm-spread input:disabled { color: var(--s2-secondary); }
.rlm-spread span { flex: none; margin-left: 6px; font: 400 13px/18px var(--s2-font); color: var(--s2-muted); }

/* ---------------------------------------------------------------- Funding: title row · lead · has / needs bar · ledger */
.rlm-fund { margin-top: 20px; }
.rlm-fh { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 18px; }
.rlm-ft { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 500 13px/18px var(--s2-font); color: var(--s2-secondary); }
.rlm-ft small { margin-left: 8px; font: 400 12px/16px var(--s2-font); color: var(--s2-muted); }
.rlm-link { display: inline-flex; align-items: center; gap: 2px; flex: none; padding: 0; border: 0; background: none; color: var(--s2-text); font: 500 12px/16px var(--s2-font); white-space: nowrap; cursor: pointer; }
.rlm-link:hover:not(:disabled) { text-decoration: underline; text-underline-offset: 2px; }
.rlm-link:disabled { color: var(--s2-muted); cursor: default; }
.rlm-link .num { color: inherit; }
.rlm-chev { width: 12px; height: 12px; stroke-width: 1.5; vertical-align: top; }
.rlm-lead { display: flex; align-items: baseline; min-width: 0; height: 26px; margin-top: 8px; overflow: hidden; white-space: nowrap; }
.rlm-lead > b.num { font: 600 20px/26px var(--s2-mono); color: var(--s2-text); }
.rlm-lead > b.num.warn { color: var(--s2-warning); }
.rlm-lw { font: 600 20px/26px var(--s2-font); color: var(--s2-text); }
.rlm-lw .num { font-weight: 600; }
.rlm-lu { margin-left: 6px; font: 500 13px/18px var(--s2-font); color: var(--s2-text); }
.rlm-lu.warn { color: var(--s2-warning); }
.rlm-lu.sec { color: var(--s2-secondary); }
.rlm-lx { min-width: 0; margin-left: 10px; overflow: hidden; text-overflow: ellipsis; font: 400 13px/18px var(--s2-font); color: var(--s2-muted); }
.rlm-lx .num { color: var(--s2-text); }
.rlm-lx .num.mut { color: inherit; }
.rlm-lead .rlm-sk { align-self: center; height: 20px; }
.rlm-bar { height: 4px; margin-top: 8px; overflow: hidden; border-radius: 2px; background: var(--s2-raised); }
.rlm-bar > i { display: block; width: 0; height: 100%; background: #f2f2f3; }
.rlm-led { margin-top: 13px; }
.rlm-lr { display: grid; grid-template-columns: 160px minmax(0, 1fr) auto 60px; align-items: center; height: 28px; border-bottom: 1px solid var(--s2-rule); }
.rlm-lk { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 400 13px/18px var(--s2-font); color: var(--s2-secondary); }
.rlm-ld { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 400 12px/16px var(--s2-font); color: var(--s2-muted); }
.rlm-ld .num { color: inherit; }
.rlm-lv { display: inline-flex; align-items: baseline; justify-content: flex-end; gap: 5px; padding-left: 12px; font-weight: 500; white-space: nowrap; }
.rlm-lv .num { font: 500 13px/18px var(--s2-mono); color: var(--s2-text); }
.rlm-lv small { font: 400 13px/18px var(--s2-font); color: var(--s2-muted); }
.rlm-la { display: flex; justify-content: flex-end; }
.rlm-lr .rlm-sk { height: 12px; }
.rlm-dash { color: var(--s2-muted); font-weight: 400; }
.rlm-mut { color: var(--s2-muted); }
.rlm-sec { color: var(--s2-secondary); }
.rlm-short { margin-top: 16px; }
/* If short: the consequence note beside the control while it fits; a longer one (a figure, a when) wraps to its own
   16px line 4px under the control at x240 instead of being cut. The label stays centred on the control's line. */
.rlm-row.rlm-short { align-items: flex-start; height: auto; min-height: 36px; }
.rlm-short > .rlm-rl { padding-top: 9px; }
.rlm-sfw { display: flex; flex-wrap: wrap; align-items: center; column-gap: 16px; row-gap: 4px; flex: 1; min-width: 0; }
.rlm-sfw > .rlm-rn { flex: 0 1 auto; max-width: 100%; margin-left: 0; }
/* dirty: the notice sits 16px under the Funding block (the skeleton), as the table ends it */
.rlm-fund.rlm-fd + .rlm-note { margin-top: 16px; }
/* one-sentence states inside the block they concern: red = what blocks, amber = a warning of the dry run */
.rlm-err { display: flex; align-items: flex-start; gap: 8px; min-width: 0; margin: 12px 0 0; font: 400 12px/16px var(--s2-font); color: var(--s2-negative); }
.rlm-err > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rlm-err .i { flex: none; width: 14px; height: 14px; margin-top: 1px; stroke-width: 1.5; }
.rlm-err .rlm-link { margin-left: auto; }
.rlm-wl { margin: 8px 0 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 400 12px/16px var(--s2-font); color: var(--s2-warning); }
.rlm-empty { display: flex; align-items: center; height: 38px; margin-top: 16px; padding: 0 16px; border: 1px dashed var(--s2-control); border-radius: var(--s2-r-card); font: 400 12px/16px var(--s2-font); color: var(--s2-muted); }
.rlm-sk { display: inline-block; height: 12px; border-radius: 3px; background: var(--s2-raised); }
.w24r { width: 24px; height: 24px !important; border-radius: 50% !important; }
.rlm-sk.w64 { width: 64px; } .rlm-sk.w72 { width: 72px; } .rlm-sk.w96 { width: 96px; } .rlm-sk.w120 { width: 120px; } .rlm-sk.w160 { width: 160px; } .rlm-sk.w240 { width: 240px; }
.rlm-sk.w40 { width: 40px; } .rlm-sk.w48 { width: 48px; } .rlm-sk.w56 { width: 56px; }
/* planning, If short as it lands (16 + 36): the label bar in the 96px label column, the control as one flat 36px bar of
   its real 472px from x240, the note bar 16px after it */
.rlm-row.rlm-short.rlm-skrow { align-items: center; height: 36px; }
.rlm-skrow > .rlm-rl { padding-top: 0; }
.rlm-sk.rlm-skseg { flex: none; width: 472px; height: 36px; border-radius: var(--s2-r-control); }
.rlm-sk.rlm-sknote { flex: none; margin-left: 16px; }
.rlm-ld2 { margin: 6px 0 0; font: 400 12px/16px var(--s2-font); color: var(--s2-muted); }
.rlm-ld2 .num { color: inherit; }
/* the linkage notice (one or two 12px lines) + the tick */
.rlm-note { display: flex; align-items: flex-start; gap: 8px; margin: 24px 0 0; font: 400 12px/16px var(--s2-font); color: var(--s2-muted); }
.rlm-note .i { flex: none; width: 14px; height: 14px; margin-top: 1px; stroke-width: 1.5; color: var(--s2-muted); }
.rlm-ack { position: relative; display: flex; align-items: center; gap: 8px; width: max-content; margin-top: 16px; font: 500 13px/18px var(--s2-font); color: var(--s2-text); cursor: pointer; }
.rlm-ack input { position: absolute; left: 0; top: 1px; width: 16px; height: 16px; margin: 0; opacity: 0; pointer-events: none; }
.rlm-ack > i { display: grid; place-items: center; flex: none; width: 16px; height: 16px; border: 1px solid var(--s2-control); border-radius: 3px; background: var(--s2-surface); color: transparent; }
.rlm-ack > i .i { width: 12px; height: 12px; stroke-width: 2; vertical-align: top; }
.rlm-ack:hover > i { border-color: var(--s2-control-hi); }
.rlm-ack input:checked + i { border-color: var(--s2-text); color: var(--s2-text); }
.rlm-ack input:focus-visible + i { outline: 1px solid var(--s2-text); outline-offset: 1px; }

/* ---------------------------------------------------------------- dirty: one wallet table (Holds · Slot (was) · Needs · Spare) */
/* the Fit to balances control ends on the table's content edge (x856, the Spare column), as in the skeleton */
.rlm-th { display: flex; align-items: center; height: 28px; margin-top: 15px; padding-right: 15px; }
.rlm-th .rlm-ft { flex: 1; }
.rlm-fitl { margin-right: 12px; font: 500 13px/18px var(--s2-font); color: var(--s2-secondary); white-space: nowrap; }
.rlm-well { border: 1px solid var(--s2-border); border-radius: var(--s2-r-card); background: var(--s2-surface); }
.rlm-dt { margin-top: 5px; }
/* columns (x160 · Holds right x440 · Slot x464 · Needs right x776 · Spare right x856) = 200 | 80 | 24 + 232 | 80 | 80
   = 696, the well's inner width (728 - 2 x 1 border - 2 x 15 padding): every row ends on the foot line's right edge */
.rlm-dr { display: grid; grid-template-columns: 200px 80px 256px 80px 80px; align-items: center; height: 26px; padding: 0 15px; border-bottom: 1px solid var(--s2-rule); font: 400 13px/18px var(--s2-font); white-space: nowrap; }
.rlm-dr > * { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.rlm-dr > :nth-child(3) { padding-left: 24px; }
.rlm-dr .r { text-align: right; }
.rlm-dr > b { font-weight: 600; color: var(--s2-text); }
.rlm-dr .num { color: var(--s2-text); }
.rlm-dr .num.rlm-sec { color: var(--s2-secondary); }
.rlm-dr .num.warn { color: var(--s2-warning); }
.rlm-dr small { margin-left: 8px; font: 400 12px/16px var(--s2-font); color: var(--s2-muted); }
.rlm-dh { height: 24px; font: 500 12px/16px var(--s2-font); color: var(--s2-muted); }
.rlm-df { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 24px; padding: 0 15px; }
.rlm-dfr { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 400 12px/16px var(--s2-font); color: var(--s2-muted); }
.rlm-dfr .num { color: inherit; }
.rlm-dfr .rlm-link { display: inline; }

/* ---------------------------------------------------------------- fund another project: the picker (36px rows) */
.rlt-ph { margin-top: 16px; }
.rlt-ph .rlm-mut { font: 400 12px/16px var(--s2-font); }
.rlt-pick { margin-top: 8px; overflow: hidden; }
/* x160 disc 24 · 12 · name x196 (272) · 12 · launchpad x480 · wallets + plan right at x856 */
.rlt-r { position: relative; display: grid; grid-template-columns: 24px 272px minmax(0, 1fr) auto; column-gap: 12px; align-items: center; width: 100%; height: 36px; padding: 0 15px; border: 0; border-bottom: 1px solid var(--s2-rule);
  background: none; color: var(--s2-text); font: 400 13px/18px var(--s2-font); text-align: left; cursor: pointer; }
.rlt-r:last-child { border-bottom: 0; }
.rlt-r:hover:not(:disabled):not(.sk) { box-shadow: inset 0 0 0 1px var(--s2-control); border-radius: var(--s2-r-card); }
.rlt-r:focus-visible { outline: 1px solid var(--s2-text); outline-offset: -1px; }
.rlt-r:disabled { cursor: default; }
.rlt-r.sk { cursor: default; }
.rlt-av { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--s2-raised); color: var(--s2-secondary); font: 600 12px/16px var(--s2-font); }
.rlt-n { display: flex; align-items: baseline; gap: 8px; min-width: 0; white-space: nowrap; }
.rlt-n b { min-width: 0; overflow: visible; font-weight: 600; color: var(--s2-text); }
.rlt-n small { flex: none; font: 400 12px/16px var(--s2-font); color: var(--s2-muted); }
.rlt-r.on .s2-l { position: relative; }
/* name line box centred in the 35px row: the line on the row's bottom edge */
.rlt-r.on .s2-l::after { content: ""; position: absolute; left: 0; right: 0; bottom: -9px; height: 1px; background: var(--s2-accent); pointer-events: none; }
.rlt-v { display: flex; align-items: center; gap: 6px; min-width: 0; overflow: hidden; white-space: nowrap; font: 400 12px/16px var(--s2-font); color: var(--s2-muted); }
.rlt-v .s2t-mk, .rlt-v .s2t-mk.s16 { width: 14px; height: 14px; flex: none; }
.rlt-w { font: 400 12px/16px var(--s2-font); color: var(--s2-secondary); white-space: nowrap; text-align: right; }
.rlt-w .num { color: inherit; }
.rlt-more { display: flex; align-items: center; height: 36px; padding: 0 15px; }
.rlt-src { margin-top: 24px; }
.rlt-src .rlm-lead > b.num { color: var(--s2-text); }

/* ---------------------------------------------------------------- the right column: New token editor | Target token */
.rlm-ed { display: flex; flex-direction: column; min-width: 0; }
.rlm-ed-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 22px; }
.rlm-ed-h h4 { margin: 0; font: 600 16px/22px var(--s2-font); color: var(--s2-text); }
.rlm-save { display: inline-flex; align-items: center; gap: 6px; min-width: 0; max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 400 12px/16px var(--s2-font); color: var(--s2-muted); }
.rlm-save .i { flex: none; width: 12px; height: 12px; stroke-width: 1.75; }
.rlm-save .rlx-spin { width: 10px; height: 10px; }
.rlm-save.warn { color: var(--s2-warning); }
.rlm-save.err { color: var(--s2-negative); }
.rlm-save.local { color: var(--s2-secondary); }
/* image: 72px slot (dashed while empty; drop or click) · title 13/500 · what it is 12 grey · Use a link */
.rlm-img { display: flex; align-items: flex-start; gap: 16px; margin-top: 16px; }
.rlm-slot { position: relative; display: grid; place-items: center; flex: none; width: 72px; height: 72px; overflow: hidden; border: 1px dashed var(--s2-control); border-radius: var(--s2-r-card); background: var(--s2-surface); color: var(--s2-muted); cursor: pointer; transition: border-color 0.12s; }
.rlm-slot:hover, .rlm-slot.over { border-color: var(--s2-control-hi); }
.rlm-slot:focus-within { outline: 1px solid var(--s2-text); outline-offset: 1px; }
.rlm-slot.has { border: 0; background: var(--s2-raised); }
.rlm-slot.has img, .rlm-slot.has > span { display: grid; place-items: center; width: 100%; height: 100%; object-fit: cover; font: 600 20px/1 var(--s2-font); color: var(--s2-secondary); }
.rlm-slot.ini { font: 600 20px/1 var(--s2-font); color: var(--s2-secondary); cursor: default; }
.rlm-slot .hlt-gl { width: 16px; height: 16px; stroke-width: 1.5; }
.rlm-slot-busy { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(19, 18, 23, 0.72); color: var(--s2-text); }
.rlm-slot-busy .i { width: 16px; height: 16px; }
.rlm-imgt { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding-top: 8px; }
.rlm-imgt b { font: 500 13px/18px var(--s2-font); color: var(--s2-text); }
.rlm-imgt b.sec { color: var(--s2-secondary); }
.rlm-imgt > span { max-width: 288px; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 400 12px/16px var(--s2-font); color: var(--s2-muted); }
.rlm-imgt > .rlm-link { margin-top: 2px; }
.rlm-imgw { display: contents; }
/* Use a link: one 38px field in place of the slot text (S-live-47 D-link), what it does in one grey line under it
   (7 + 38 + 4 + 16 = 65, inside the slot's 72) */
.rlm-imgl { display: flex; flex-direction: column; flex: 1; min-width: 0; padding-top: 7px; }
.rlm-imgl > .rlm-in { margin-top: 0; }
.rlm-imgl > span { margin-top: 4px; font: 400 12px/16px var(--s2-font); color: var(--s2-muted); }
/* fields: label 13/500 grey + counter 12 mono at the right; 38px inputs on the card tone, 1px control edge, r6 */
.rlm-fld { display: flex; flex-direction: column; min-width: 0; margin-top: 18px; }
.rlm-fld.f-name { margin-top: 20px; }
.rlm-fld.f-desc { margin-top: 16px; }
.rlm-fl { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; height: 18px; font: 500 13px/18px var(--s2-font); color: var(--s2-secondary); white-space: nowrap; }
.rlm-fl em { margin-left: 6px; font: 400 12px/16px var(--s2-font); font-style: normal; color: var(--s2-muted); }
.rlm-cnt { font: 400 12px/16px var(--s2-mono); color: var(--s2-muted); font-variant-numeric: tabular-nums; }
.rlm-cnt.warn { color: var(--s2-warning); }
.rlm-cnt.bad { color: var(--s2-negative); }
.rlm-in { display: block; width: 100%; height: 38px; margin-top: 6px; padding: 0 12px; border: 1px solid var(--s2-control); border-radius: var(--s2-r-field); background: var(--s2-surface); color: var(--s2-text); font: 400 13px/18px var(--s2-font); box-shadow: none; outline: none; transition: border-color 0.12s; }
.rlm-in::placeholder, .rlm-in input::placeholder { color: var(--s2-muted); opacity: 1; }
.rlm-in:hover:not(:focus):not(:focus-within):not(:disabled) { border-color: var(--s2-control-hi); }
.rlm-in:focus, .rlm-in:focus-within { border-color: var(--s2-text); }
.rlm-in.bad, .rlm-in.bad:focus { border-color: var(--s2-negative); }
.rlm-in:disabled, .rlm-in:has(input:disabled) { color: var(--s2-secondary); }
.rlm-in.num { font-family: var(--s2-mono); }
textarea.rlm-in { height: 76px; padding: 9px 12px; resize: none; overflow-y: auto; line-height: 20px; }
.rlm-in-w { display: flex; align-items: center; }
.rlm-in-w > i { flex: none; margin-right: 6px; font-style: normal; color: var(--s2-muted); }
.rlm-in-w > input { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; outline: 0; background: none; color: var(--s2-text); font: inherit; }
.rlm-hint { margin-top: 6px; font: 400 12px/16px var(--s2-font); color: var(--s2-muted); }
.rlm-gc, .rlm-fe { display: none; margin-top: 6px; font: 400 12px/16px var(--s2-font); }
.rlm-gc.warn:not(:empty) { display: block; color: var(--s2-warning); }
.rlm-fe:not(:empty) { display: block; color: var(--s2-negative); }
.rlm-soc { margin-top: 16px; }
/* socials: 16px outline icon x920 · label x944 · 272px field x1024 */
.rlm-sr { display: grid; grid-template-columns: 24px 80px minmax(0, 1fr); align-items: center; height: 38px; }
.rlm-soc > .rlm-sr ~ .rlm-sr { margin-top: 8px; }
.rlm-sg { display: grid; place-items: start; width: 16px; height: 16px; color: var(--s2-muted); }
.rlm-sg .hlt-gl { width: 16px; height: 16px; stroke-width: 1.5; }
.rlm-sl { font: 400 13px/18px var(--s2-font); color: var(--s2-secondary); }
.rlm-sr .rlm-in { margin-top: 0; }
.rlm-pv { align-self: flex-start; gap: 6px; margin-top: 20px; }
.rlm-pv .i:first-child { width: 14px; height: 14px; stroke-width: 1.5; }
/* Target token (read-only): empty slot · No project picked / the picked token · What stays unchanged (4 checks) */
.rlt-kh { margin: 24px 0 0; font: 500 13px/18px var(--s2-font); color: var(--s2-secondary); }
.rlt-keep { margin: 5px 0 0; padding: 0; list-style: none; }
.rlt-keep li { display: flex; align-items: center; gap: 8px; height: 28px; font: 400 13px/18px var(--s2-font); color: var(--s2-secondary); }
.rlt-keep li .num { color: inherit; font-size: 12px; }
.rlt-keep .i { flex: none; width: 16px; height: 16px; stroke-width: 1.5; color: var(--s2-muted); }
.rlt-only { margin: 13px 0 0; font: 400 12px/16px var(--s2-font); color: var(--s2-muted); }
.rlt-desc { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; margin: 16px 0 0; overflow: hidden; font: 400 12px/16px var(--s2-font); color: var(--s2-muted); }
.rlt-card .rlm-save .i { color: var(--s2-muted); }
.rlt-card .rlm-slot { cursor: default; }
.rlt-card .rlm-imgt > span.num { font: 400 12px/16px var(--s2-mono); }
/* no project picked: the two lines centred on the 72px empty slot (the skeleton: y186 / y206) */
.rlt-card .rlm-imgt.rlt-none { align-self: center; padding-top: 0; }

/* ---------------------------------------------------------------- the job view (after Start) */
.rlp-sum { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; height: 18px; overflow: hidden; white-space: nowrap; font: 400 13px/18px var(--s2-font); }
.rlp-sum > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.rlp-sum b { font-weight: 600; color: var(--s2-text); }
.rlp-sum > span:last-child { flex: none; font: 400 12px/16px var(--s2-font); }
.rlp-sum .num { color: inherit; }
.rlp-lead { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: 14px; }
.rlp-lead > .rlm-lead { margin-top: 0; }
.rlp-hold { flex: none; font: 400 12px/16px var(--s2-font); color: var(--s2-muted); white-space: nowrap; }
.rlp-hold .num { color: var(--s2-text); }
.rlp-lead + .rlm-bar { margin-top: 10px; }
.rlp-steps { margin-top: 16px; }
.rlp-step { border-bottom: 1px solid var(--s2-rule); cursor: pointer; }
.rlp-step:last-child { border-bottom: 0; }
.rlp-step:hover { box-shadow: inset 0 0 0 1px var(--s2-control); border-radius: var(--s2-r-card); }
.rlp-step:focus-visible { outline: 1px solid var(--s2-text); outline-offset: -1px; }
/* 40px rows: ring x160 (20px) · label x192 13/600 + 12px detail · status word right at x856 */
.rlp-row { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; column-gap: 12px; align-items: center; height: 39px; padding: 0 15px; }
.rlp-ring { display: grid; place-items: center; width: 20px; height: 20px; border: 1px solid var(--s2-control); border-radius: 50%; font: 400 12px/12px var(--s2-mono); font-style: normal; color: var(--s2-muted); }
.rlp-ring.done { border-color: var(--s2-positive); color: var(--s2-positive); }
.rlp-ring .i { width: 12px; height: 12px; stroke-width: 2; vertical-align: top; }
.rlp-ring.run { border-color: transparent; }
.rlp-ring.run .rlx-spin { width: 20px; height: 20px; }
.rlp-lbl { display: flex; align-items: baseline; gap: 12px; min-width: 0; overflow: hidden; white-space: nowrap; }
.rlp-lbl > b { flex: none; font: 600 13px/18px var(--s2-font); color: var(--s2-text); }
.rlp-lbl > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; font: 400 12px/16px var(--s2-font); color: var(--s2-muted); }
.rlp-lbl > span .num { color: inherit; }
.rlp-lbl > span.num.ink { font: 400 13px/18px var(--s2-mono); color: var(--s2-text); }
.rlp-step.s-pending .rlp-lbl > b, .rlp-step.s-skipped .rlp-lbl > b { color: var(--s2-secondary); }
.rlp-st { font: 400 12px/16px var(--s2-font); color: var(--s2-muted); white-space: nowrap; }
.rlp-st .num { margin-left: 4px; color: inherit; }
.rlp-st .ink { color: var(--s2-text); }
.rlp-why { margin: -8px 0 0; padding: 0 15px 8px 47px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 400 12px/16px var(--s2-font); color: var(--s2-secondary); }
/* the running step's orders: 22px lines from x192, the state at the right */
.rlp-o { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; height: 22px; padding: 0 15px 0 47px; white-space: nowrap; font: 400 12px/16px var(--s2-font); color: var(--s2-secondary); }
.rlp-row + .rlp-o, .rlp-why + .rlp-o { margin-top: -4px; }
.rlp-o:last-child { height: 20px; }
.rlp-o > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.rlp-o > span:last-child { flex: none; color: var(--s2-muted); }
.rlp-o .num { color: inherit; }
.rlp-o.dim > span:first-child { color: var(--s2-muted); }
.rlp-o.err > span:first-child { color: var(--s2-negative); }
.rlp-o.warn > span:first-child { color: var(--s2-warning); }
.rlp-wh { margin-top: 24px; }
.rlp-wt { margin-top: 8px; }
/* wallets: name x160 · has / needs right x700 over a 120px track · top-up right x856 */
.rlp-wr { display: grid; grid-template-columns: 380px 160px 156px; align-items: center; height: 32px; padding: 0 15px; border-bottom: 1px solid var(--s2-rule); white-space: nowrap; font: 400 13px/18px var(--s2-font); }
.rlp-wr:last-child { border-bottom: 0; }
.rlp-wr > b { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-weight: 600; color: var(--s2-text); }
.rlp-wr .r { text-align: right; }
.rlp-whd { height: 24px; font: 500 12px/16px var(--s2-font); color: var(--s2-muted); }
.rlp-hn { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; height: 31px; }
.rlp-hn > .num { font: 400 13px/18px var(--s2-mono); }
.rlp-hn > .num b { font-weight: 500; color: var(--s2-text); }
.rlp-tr { display: block; width: 120px; height: 3px; margin-top: 1px; background: var(--s2-raised); }
.rlp-tr > i { display: block; height: 100%; background: #f2f2f3; }
.rlp-wr > span:last-child { font: 400 12px/16px var(--s2-font); color: var(--s2-muted); }
.rlp-wr > span:last-child > .num { color: var(--s2-text); }
.rlp-wr > span:last-child small { margin-left: 6px; font-size: 12px; color: var(--s2-muted); }
.rlx-spin { display: inline-block; width: 14px; height: 14px; border: 1.5px solid var(--s2-control); border-top-color: var(--s2-text); border-radius: 50%; animation: rlx-rot 0.9s linear infinite; vertical-align: middle; }
@keyframes rlx-rot { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .rlx-spin, .rld-spin { animation-duration: 2.4s; } }

/* ---------------------------------------------------------------- state variants (spec state_variants) */
.rlp-ring.fail { color: var(--s2-negative); }
.rlm-lw.warn { color: var(--s2-warning); }
.rlm-dot { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: var(--s2-warning); vertical-align: 0; }
.rlp-wr small.err { color: var(--s2-negative); }
.rlt-msg { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; margin-top: 8px; padding: 0 15px; }
.rlt-msg .rlm-err { flex: 1; margin: 0; }
.rlt-msg .rlm-ld2 { margin: 0; }
.rlm-short + .rlm-wl { margin-top: 8px; }

/* ---------------------------------------------------------------- popovers (inside the modal; the sheet's float shadow) */
/* widths: Route 360 (D-route) · What gets drained / From $X 480 (D-drained) and Aged wallets 480 · Allocation 560 · a step's
   orders 640 · Log 560. A View all (Same wallets, Project to fund, the job's Wallets) takes the left column's box (x144-872,
   728: hl-relaunch.js paintPop), its rows on the block's own grid from x160, as if the block's frame grew; Preview takes
   the right column's box (x920-1296, 376: not the spec's 360, which would leave a 16px strip of the fields under it). */
.rlx-pop { position: absolute; z-index: 5; width: 360px; max-height: 560px; overflow-y: auto; padding: 10px 16px 14px; border: 1px solid #2e2e32; border-radius: var(--s2-r-card); background: var(--s2-surface); box-shadow: var(--s2-float-shadow); color: var(--s2-text); font: 400 13px/18px var(--s2-font); }
.rlx-pop.k-aged, .rlx-pop.k-drain, .rlx-pop.k-srcwallets { width: 480px; }
.rlx-pop.k-wallets, .rlx-pop.k-drafts, .rlx-pop.k-jwallets { width: 728px; }
.rlx-pop.k-wallets { padding: 10px 15px 14px; }
.rlx-pop.k-drafts, .rlx-pop.k-jwallets { padding: 10px 0 0; }
.rlx-pop.k-drafts > .rlx-h, .rlx-pop.k-jwallets > .rlx-h { padding: 0 15px; }
.rlx-pop.k-alloc { width: 560px; }
.rlx-pop.k-step { width: 640px; }
.rlx-pop.k-preview { width: 376px; }
.rlx-h { display: flex; align-items: center; gap: 8px; height: 28px; margin-bottom: 8px; }
.rlx-h > b { flex: none; font: 600 13px/18px var(--s2-font); color: var(--s2-text); }
.rlx-h > span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 400 12px/16px var(--s2-font); color: var(--s2-muted); }
.rlx-h > .rlm-ib { margin-left: auto; }
.rlx-r { display: flex; align-items: center; gap: 12px; min-height: 32px; font: 400 13px/18px var(--s2-font); color: var(--s2-secondary); }
.rlx-k { flex: none; width: 72px; font: 500 13px/18px var(--s2-font); color: var(--s2-secondary); }
.rlx-r a, .rlx-o a { display: inline-flex; align-items: center; gap: 3px; color: var(--s2-text); text-decoration: none; }
.rlx-r a:hover, .rlx-o a:hover { text-decoration: underline; }
.rlx-list { margin-top: 6px; border-top: 1px solid var(--s2-rule); }
.rlx-o { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center; min-height: 28px; border-bottom: 1px solid var(--s2-rule); font: 400 12px/16px var(--s2-font); color: var(--s2-secondary); }
.rlx-o > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rlx-o > span:nth-child(2), .rlx-o > span:nth-child(3) { text-align: right; }
.rlx-o .num { color: var(--s2-text); }
.rlx-o.err { grid-template-columns: 1fr; color: var(--s2-negative); }
.rlx-o.warn { grid-template-columns: 1fr; color: var(--s2-warning); }
.rlx-o .i-sm { width: 12px; height: 12px; }
/* a bridge leg in View route (360): SOL → asset · via provider on its line, the minimum and the fee (or the leg's error)
   as a second 12px line under it */
.rlx-o .rlx-sub { display: block; overflow: hidden; text-overflow: ellipsis; font: 400 12px/16px var(--s2-font); color: var(--s2-muted); }
.rlx-o .rlx-sub.err { color: var(--s2-negative); }
.rlx-o:has(.rlx-sub) { padding: 5px 0; }
.rlx-st { color: var(--s2-muted); }
.rlx-st.done { color: var(--s2-secondary); }
.rlx-st.run { color: var(--s2-text); }
.rlx-st.err { color: var(--s2-negative); }
.rlx-st.warn { color: var(--s2-warning); }
.rlx-n { margin: 10px 0 0; font: 400 12px/16px var(--s2-font); color: var(--s2-muted); white-space: normal; }
.rlx-n.err { color: var(--s2-negative); }
.rlx-n .num { color: var(--s2-text); }
.rlx-tbl { margin-top: 4px; border-top: 1px solid var(--s2-rule); }
.rlx-tr { display: grid; grid-template-columns: minmax(0, 1.4fr) 96px minmax(0, 1.4fr) 96px; gap: 12px; align-items: center; min-height: 32px; padding: 4px 0; border-bottom: 1px solid var(--s2-rule); font: 400 13px/18px var(--s2-font); color: var(--s2-secondary); }
/* View all wallets: the frame's grid (200 | 80 | 24 + 232 | 80 | 80 = 696 from x160) on its 26px pitch, a wallet's token
   actions as a second 12px line; Slot keeps its "was …" in full */
.rlx-tbl.dt .rlx-tr { grid-template-columns: 200px 80px 256px 80px 80px; column-gap: 0; min-height: 26px; padding: 3px 0; }
.rlx-tbl.dt .rlx-th { min-height: 24px; }
.rlx-tbl.dt .rlx-tr > span:nth-child(3) { padding-left: 24px; white-space: nowrap; }
.rlx-tbl.dt .rlx-tr > span:nth-child(3) small { display: inline; margin-left: 8px; }
/* a short row: the last column reads Spare · top-up and gets the 104px its "top-up 0.318" needs (184 | 80 | 24 + 224 |
   80 | 104 = 696), in the frame and in View all alike */
.rlm-dt.tu .rlm-dr, .rlx-tbl.dt.tu .rlx-tr { grid-template-columns: 184px 80px 248px 80px 104px; }
.rlm-tu { white-space: nowrap; color: var(--s2-secondary); }
.rlm-tu .num { color: var(--s2-text); }
/* What gets drained (480; 446 inside): Wallet 0.9fr | SOL now 60 | Tokens 1.2fr | ≈ after 60, one line per wallet on a
   28px pitch (the role beside the name unless the name says it), the rows scrolling inside past 10 */
/* Wallet 110 · SOL now 56 · Tokens 178 ("sell $MLCAT ≈ 0.648 SOL" whole) · ≈ after 56, on the 480px popover */
.rlx-tbl.dr .rlx-tr { grid-template-columns: minmax(0, 0.8fr) 56px minmax(0, 1.3fr) 56px; min-height: 28px; padding: 3px 0; }
.rlx-tbl.dr .rlx-tr > span:first-child { white-space: nowrap; }
.rlx-tbl.dr .rlx-tr > span:first-child small { display: inline; margin-left: 6px; }
.rlx-tbl.dr .rlx-c23 { grid-column: 2 / 4; white-space: nowrap; }
/* the rows of a long list scroll inside past 10 (Same wallets 10 x 26, What gets drained 10 x 28) under the kept header;
   the header keeps the rows' scrollbar gutter so the columns stay aligned where scrollbars take room */
.rlx-rows { overflow-y: auto; scrollbar-gutter: stable; }
.rlx-tbl:has(> .rlx-rows) > .rlx-th { overflow-y: hidden; scrollbar-gutter: stable; }
.rlx-tbl.dt .rlx-rows { max-height: 260px; }
.rlx-tbl.dr .rlx-rows { max-height: 280px; }
.rlx-tbl.al .rlx-tr { grid-template-columns: 72px minmax(0, 1fr) 120px 40px 28px; }
.rlx-tr > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.rlx-tr > span:first-child { color: var(--s2-text); }
.rlx-tr b { font-weight: 600; color: var(--s2-text); }
.rlx-tr small { display: block; font: 400 12px/16px var(--s2-font); color: var(--s2-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rlx-tr .r { text-align: right; }
.rlx-tr .num { color: var(--s2-text); }
.rlx-th { min-height: 28px; font: 500 12px/16px var(--s2-font); color: var(--s2-muted); }
.rlx-th > span:first-child { color: var(--s2-muted); }
.rlx-tr.rest > span:first-child { position: relative; }
.rlx-tr input[type="radio"] { width: 14px; height: 14px; margin: 0; accent-color: #ffffff; }
.rlx-tr .rlm-in.sm { height: 30px; margin: 0; padding: 0 8px; font-size: 13px; }
.rlx-tr .rlm-in.sm.r { text-align: right; }
.rlx-add { margin-top: 10px; gap: 4px; }
.rlx-add .i { width: 12px; height: 12px; }
.rlx-kv { display: grid; grid-template-columns: 96px minmax(0, 1fr) 96px minmax(0, 1fr); gap: 6px 12px; margin-bottom: 8px; font: 400 13px/18px var(--s2-font); }
.rlx-kv > span { color: var(--s2-muted); }
.rlx-kv > b { font-weight: 500; color: var(--s2-text); }
.rlx-kv > b.warn { color: var(--s2-warning); }
/* View all drafts: the picker's own 36px rows (x160 disc · name x196 · launchpad · wallets right at x856) */
.rlx-pop.k-drafts .rlx-picks { border-top: 1px solid var(--s2-rule); }
.rlx-picks .rlt-r { padding: 0 15px; }
.rlx-pop.k-jwallets .rlm-well.rlp-wt { border-width: 1px 0 0; border-radius: 0; background: none; }
.rlx-card .hlt-card { padding: 16px; border: 1px solid var(--s2-border); border-radius: var(--s2-r-card); background: var(--s2-ground); box-shadow: none; }
.rlx-card .hlt-card-stats, .rlx-card .hlt-card-bond { display: none; }
/* the launchpad card on the family's scale (12/13/16/20, weights 400-600): name 16/600 in ink, ticker 12 mono and the
   description 12/16 secondary, the launchpad 12 meta (app.css draws 11 / 12.5 / 16 at 660, all in ink) */
.rlx-card .hlt-card-img { font: 600 20px/1 var(--s2-font); }
.rlx-card .hlt-card-id b { font: 600 16px/22px var(--s2-font); letter-spacing: 0; }
.rlx-card .hlt-card-sym { font: 400 12px/16px var(--s2-mono); letter-spacing: 0; color: var(--s2-secondary); }
.rlx-card .hlt-card-venue { font: 400 12px/16px var(--s2-font); color: var(--s2-muted); }
.rlx-card .hlt-card-desc { font: 400 12px/16px var(--s2-font); color: var(--s2-secondary); }
.rlx-pop .rlm-well.rlp-wt { margin-top: 0; }

/* ---------------------------------------------------------------- minimized: the progress pill
   One 24px line IN the status bar's free middle, just before the services state (hl-relaunch.js placePill), so it
   covers nothing on any page (DIGEST §3: a floating element covers nothing): state mark · "Dirty relaunch · CMHR ·
   Step 3/4" in ink · what runs in grey · the 3px bar, no hue but the bar fill. Without a status bar it sits bottom-right. */
.rlm-pill { position: fixed; right: 24px; bottom: 4px; z-index: 60; display: inline-flex; align-items: center; gap: 8px; max-width: 560px; height: 24px; padding: 0 12px 0 4px;
  border: 1px solid var(--s2-control); border-radius: var(--s2-r-control); background: var(--s2-ground); color: var(--s2-text); font: 400 12px/16px var(--s2-font); text-align: left; white-space: nowrap; cursor: pointer; box-shadow: none; }
.rlm-pill.in-bar { position: static; flex: 0 1 auto; min-width: 0; margin-right: 22px; }
.rlm-pill:hover { border-color: var(--s2-control-hi); }
.rlm-pill:focus-visible { outline: 1px solid var(--s2-text); outline-offset: 1px; }
.rlm-pill-i { flex: none; display: grid; place-items: center; width: 16px; height: 16px; border: 1px solid var(--s2-control); border-radius: 50%; font-style: normal; color: var(--s2-secondary); }
.rlm-pill-i .i { width: 10px; height: 10px; stroke-width: 2; }
.rlm-pill-i.ready { border-color: var(--s2-positive); color: var(--s2-positive); }
.rlm-pill-i.failed, .rlm-pill-i.shortfall, .rlm-pill-i.partial, .rlm-pill-i.interrupted { color: var(--s2-warning); }
.rlm-pill-i.running { border-color: transparent; }
.rlm-pill-i.running .rlx-spin { width: 16px; height: 16px; }
.rlm-pill-t { display: flex; align-items: baseline; gap: 6px; min-width: 0; overflow: hidden; }
.rlm-pill-t b { flex: none; font: 500 12px/16px var(--s2-font); color: var(--s2-text); }
.rlm-pill-t b .num { color: inherit; }
.rlm-pill-t span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 400 12px/16px var(--s2-font); color: var(--s2-muted); }
.rlm-pill-t span .num { color: var(--s2-text); }
.rlm-pill-bar { flex: none; width: 48px; height: 3px; overflow: hidden; border-radius: 2px; background: var(--s2-raised); }
.rlm-pill-bar i { display: block; height: 100%; background: #f2f2f3; }
.rlm-pill em { flex: none; font-style: normal; font-size: 12px; color: var(--s2-muted); }

/* ---------------------------------------------------------------- the plain draft dialog (S-live-46): 480 x 324 */
.modal.rld { width: 480px; overflow: visible; background: var(--s2-ground); border: 1px solid var(--s2-border); border-radius: var(--s2-r-card); box-shadow: var(--s2-float-shadow); animation: none; }
.rld .modal-h { min-height: 0; padding: 22px 23px 0; }
/* the title row: the token's mark (aria-hidden) then the h1, 12px apart, centred on the 28px mark */
.rld .rld-t { display: flex; align-items: center; gap: 12px; min-width: 0; }
.rld .rld-t > h1 { flex: 0 1 auto; min-width: 0; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 600 20px/26px var(--s2-font); letter-spacing: 0; color: var(--s2-text); }
.rld .modal-h p { margin: 11px 0 0; font: 400 13px/18px var(--s2-font); color: var(--s2-secondary); }
.rld .modal-b { padding: 20px 23px 24px; }
/* one well of 4 rows on a 32px pitch: labels grey, values ink right-aligned (figures mono) */
.rld-well { border: 1px solid var(--s2-border); border-radius: var(--s2-r-card); background: var(--s2-surface); }
.rld-r { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 32px; padding: 0 15px; border-top: 1px solid var(--s2-rule); font: 400 13px/18px var(--s2-font); }
.rld-r:first-child { border-top: 0; }
.rld-r > span { flex: none; color: var(--s2-muted); }
.rld-r > b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; color: var(--s2-text); text-align: right; }
.rld-r > b .num { font-weight: 500; }
.rld-err { margin: 12px 0 0; font: 400 12px/16px var(--s2-font); color: var(--s2-negative); }
.rld-err[hidden] { display: none; }
.rld .modal-f { gap: 8px; padding: 16px 23px; border-top: 1px solid var(--s2-border); background: transparent; }
.rld .modal-f .btn { height: 36px; font-size: 13px; }
.rld .modal-f .btn.ghost { padding: 0 12px; }
.rld .modal-f .btn.primary { padding: 0 18px; }
/* creating: the primary keeps its white fill and its width (hl-relaunch.js pins min-width); only the label and the
   spinning glyph change, so nothing in the footer moves (S-live-46 creating) */
.rld .modal-f .btn.primary.busy:disabled { background: var(--s2-text); border-color: var(--s2-text); color: #0b0b0c; cursor: progress; }
.rld .modal-f .btn.primary.busy:disabled .i { color: #0b0b0c; }
/* creating: Cancel disabled at the muted ink (>= 4.5:1; s2.css .btn.ghost would keep it #bdbdc0) */
.rld .modal-f .btn.ghost:disabled { color: var(--s2-muted); cursor: default; }
.rld-spin { width: 14px; height: 14px; animation: rlx-rot 0.9s linear infinite; }

/* ---------------------------------------------------------------- the shell's unfinished-relaunch bar (hl-shell.js)
   Its door to the job is the sheet's outlined pill (32px, r999, 1px control outline, 13/500 ink), never a second
   white primary beside the page's own (app.css .hl-rlbar-go: 30px, r9, 12.5/640, accent fill). While this page
   shows the job itself (its modal, or its pill once minimized) the bar steps aside: one job, one door
   (hl-relaunch.js syncBar sets data-rl-here) */
.s2-hl #hl-rlbar[data-rl-here] { display: none; }
.s2-hl .hl-rlbar-go { flex: none; height: 32px; gap: 6px; padding: 0 12px 0 14px; border: 1px solid var(--s2-control); border-radius: var(--s2-r-control); background: transparent; color: var(--s2-text); font: 500 13px/18px var(--s2-font); transition: border-color 0.12s; }
.s2-hl .hl-rlbar-go:hover { border-color: var(--s2-control-hi); background: transparent; }
.s2-hl .hl-rlbar-go:focus-visible { outline: 1px solid var(--s2-text); outline-offset: 1px; }
.s2-hl .hl-rlbar-go .i { width: 14px; height: 14px; color: var(--s2-muted); }
