/* =====================================================================================================================
   s2-launch · Style 2 (data terminal) for the launch unit: the launch confirmation (S-live-01 / S-live-85), the Launch
   details drawer (S-live-02 / S-live-36 / S-live-72), the Market page before the token is live (S-live-06 / S-live-07),
   out/FAM-4-launch (approved v2 mocks), and the launch view (launchhero.js) in every host it moves through (§4b). Tokens and shared components live in s2.css; every value below is the
   skeleton's (1440 wide): rows on 32 / 40 / 44px pitches, 1px rules, cards darker than the ground, figures in the mono,
   colour only on status (On, the failed stage, money still to fund) and the 1px accent line under a selection.
   CSP: classes only; no inline style attributes.
   ===================================================================================================================== */

/* ---------------------------------------------------------------- shared glyphs / marks */
.s2-gl { display: block; flex: none; }
.s2-vmk { display: inline-block; width: 14px; height: 14px; flex: none; object-fit: contain; }
.s2-vmk.t { display: inline-grid; place-items: center; border-radius: 50%; background: var(--s2-raised); color: var(--s2-secondary); font: 500 9px/1 var(--s2-font); }

/* ---------------------------------------------------------------- 1 · launch confirmation (S-live-01 / S-live-85)
   520 x 390 at the centre: #171719 frame, 1px #222224, r6, no shadow; 24px sides; title 16/24 at +20, intro 13 grey at
   +48, five 32px rows on 1px #1b1a1f rules, the 72px spend row, a full-width rule, then the warning + two 36px capsules */
.modal.s2-lc { width: 520px; max-width: calc(100vw - 40px); background: var(--s2-ground); border: 1px solid var(--s2-border); border-radius: var(--s2-r-card); box-shadow: none; overflow: hidden; }
.modal.s2-lc .modal-h { padding: 19px 23px 0; min-height: 0; }
.modal.s2-lc .modal-h h3 { font-size: 16px; line-height: 24px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.modal.s2-lc .modal-h p { margin: 4px 0 0; font-size: 13px; line-height: 18px; color: var(--s2-muted); }
.modal.s2-lc .modal-b { padding: 16px 23px 0; }
.s2-lc-r { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 32px; border-top: 1px solid var(--s2-rule); font-size: 13px; line-height: 18px; }
.s2-lc-k { color: var(--s2-secondary); white-space: nowrap; }
.s2-lc-v { display: inline-flex; align-items: center; gap: 6px; min-width: 0; color: var(--s2-text); white-space: nowrap; }
.s2-lc-v b.num { font: 500 13px/18px var(--s2-mono); color: var(--s2-text); }
.s2-lc-v .s2-lc-sep { font-style: normal; color: var(--s2-muted); }
.s2-lc-on { color: var(--s2-positive); }
.s2-lc-v .s2-lc-off { color: var(--s2-secondary); }   /* an off value is no answer in ink (S-live-85 "Off" #bdbdc0) */
.s2-lc-spend { position: relative; height: 72px; border-top: 1px solid var(--s2-rule); }
.s2-lc-spend > .s2-lc-k { position: absolute; left: 0; top: 14px; font-size: 13px; line-height: 18px; }
.s2-lc-sv { position: absolute; right: 0; top: 9px; display: inline-flex; align-items: baseline; gap: 4px; }
.s2-lc-sv b { font: 600 20px/28px var(--s2-mono); color: var(--s2-text); font-variant-numeric: tabular-nums; }
.s2-lc-sv small { font: 400 13px/18px var(--s2-font); color: var(--s2-muted); }
.s2-lc-parts { position: absolute; right: 0; top: 39px; font-size: 12px; line-height: 16px; color: var(--s2-muted); white-space: nowrap; }
.s2-lc-f { display: flex; align-items: center; gap: 8px; margin: 0 -23px; padding: 15px 23px 23px; border-top: 1px solid var(--s2-border); }
.s2-lc-warn { margin-right: auto; font-size: 12px; line-height: 16px; color: var(--s2-secondary); }
.s2-lc-f .s2-btn { height: 36px; padding: 0 22px; font-size: 13px; }
.s2-lc-c { min-width: 88px; }
.s2-lc-go { background: var(--s2-text); border-color: var(--s2-text); color: var(--s2-ground); font-weight: 600; }
.s2-lc-go:hover:not(:disabled) { background: #e8e8ea; border-color: #e8e8ea; }

/* ---------------------------------------------------------------- 2 · Launch details drawer (S-live-02 / 36 / 72)
   560 wide, opaque #171719, 1px #222224 left edge, no shadow; header 64 (rule #1b1a1f), status line at y80, the stage
   list well (#131217 r6) from y112, Block 0 + verdict well + 6 columns, then the record */
.drawer.s2-ld { width: 560px; max-width: 100vw; background: var(--s2-ground); border-left: 1px solid var(--s2-border); box-shadow: none; }
.drawer.s2-ld .drawer-h { display: flex; align-items: flex-start; justify-content: space-between; height: 65px; padding: 16px 23px 0; gap: 12px; border-bottom: 1px solid var(--s2-rule); }
.s2-ld-h { min-width: 0; }
.s2-ld-t { display: flex; align-items: center; gap: 8px; height: 24px; }
.s2-ld-t h3 { margin: 0; font-size: 16px; line-height: 24px; font-weight: 600; color: var(--s2-text); }
.s2-ld-q { display: inline-grid; place-items: center; color: var(--s2-muted); cursor: help; border-radius: 50%; }
.s2-ld-q:hover, .s2-ld-q:focus-visible { color: var(--s2-text); }
.s2-ld-id { display: flex; align-items: center; gap: 6px; height: 16px; font-size: 12px; line-height: 16px; color: var(--s2-muted); }
.s2-ld-id .mono { font: 400 12px/16px var(--s2-mono); }
.s2-ld-x { display: grid; place-items: center; width: 28px; height: 28px; margin-top: -2px; padding: 0; border: 0; border-radius: var(--s2-r-control); background: none; color: var(--s2-secondary); cursor: pointer; }
.s2-ld-x:hover { background: var(--s2-raised); color: var(--s2-text); }
.drawer.s2-ld .drawer-b { padding: 15px 24px 32px 23px; }
.s2-ld-b { display: flex; flex-direction: column; }
.s2-ld-st { display: flex; align-items: center; gap: 8px; height: 20px; font-size: 13px; line-height: 18px; white-space: nowrap; }
.s2-ld-st > span { font-size: 12px; color: var(--s2-muted); }
.s2-ld-st > b { font-weight: 600; color: var(--s2-text); }
.s2-ld-st > em { font-style: normal; color: var(--s2-secondary); overflow: hidden; text-overflow: ellipsis; }
/* the product's four stages: glyph 16 + label 13 on a 32px pitch, top-aligned (a failed stage grows with its reason) */
.s2-ld-stages { margin: 12px 0 0; padding: 15px 16px 1px; list-style: none; border-radius: var(--s2-r-card); background: var(--s2-surface); }
.s2-ld-s { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; column-gap: 10px; align-items: start; min-height: 32px; font-size: 13px; line-height: 18px; }
.s2-ld-g { display: grid; place-items: center; width: 16px; height: 16px; margin-top: 1px; color: #5a5c62; }
.s2-ld-g .i { width: 14px; height: 14px; color: var(--s2-secondary); }
.s2-ld-l { color: var(--s2-secondary); }
.s2-ld-at { margin-top: 1px; font-size: 12px; line-height: 16px; color: var(--s2-muted); }
.s2-ld-s.done .s2-ld-g { color: var(--s2-secondary); }
.s2-ld-s.done .s2-ld-l, .s2-ld-s.run .s2-ld-l { color: var(--s2-text); }
.s2-ld-s.skip .s2-ld-g { color: #5a5c62; }
.s2-ld-s.skip .s2-ld-l { color: var(--s2-muted); }
.s2-ld-s.fail { padding-bottom: 17px; }
.s2-ld-s.fail .s2-ld-g { color: var(--s2-negative); }
.s2-ld-s.fail .s2-ld-l { font-weight: 600; color: var(--s2-negative); }
.s2-ld-dis { margin-top: 1px; padding: 0; border: 0; background: none; font: 500 12px/16px var(--s2-font); color: var(--s2-secondary); cursor: pointer; }
.s2-ld-dis:hover:not(:disabled) { color: var(--s2-text); }
.s2-ld-why { grid-column: 2 / -1; margin-top: 7px; font-size: 13px; line-height: 18px; color: var(--s2-text); white-space: normal; }
.s2-ld-why ul { margin: 6px 0 0; padding: 0; list-style: none; }
.s2-ld-why li { display: flex; gap: 8px; font-size: 12px; line-height: 18px; color: var(--s2-secondary); }
.s2-ld-why li b { font-weight: 500; color: var(--s2-text); }
.s2-ld-way { grid-column: 2 / -1; justify-self: start; display: inline-flex; align-items: center; gap: 4px; height: 16px; margin-top: 4px; padding: 0; border: 0; background: none; font: 500 12px/16px var(--s2-font); color: var(--s2-secondary); cursor: pointer; }
.s2-ld-way:hover { color: var(--s2-text); }
.s2-ld-err { grid-column: 2 / -1; margin-top: 4px; font-size: 12px; color: var(--s2-negative); }
/* section heads: 13/600 ink, the meta 12 grey right */
.s2-ld-sh { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.s2-ld-sh > b { font-size: 13px; line-height: 18px; font-weight: 600; color: var(--s2-text); }
.s2-ld-sh > span { font-size: 12px; line-height: 16px; color: var(--s2-muted); }
.s2-ld-b0 { margin-top: 25px; }
.s2-ld-v { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; margin-top: 9px; padding: 12px 16px; border-radius: var(--s2-r-card); background: var(--s2-surface); }
.s2-ld-vt { display: flex; flex-direction: column; min-width: 0; }
.s2-ld-vt > b { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; line-height: 18px; font-weight: 600; color: var(--s2-text); }
.s2-ld-vt > span { margin-top: 4px; font-size: 12px; line-height: 16px; color: var(--s2-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s2-ld-vt > span + span { margin-top: 2px; }
.s2-ld-vt > .s2-ld-verr { color: var(--s2-negative); white-space: normal; }
.s2-ld-vf { display: flex; flex-direction: column; align-items: flex-end; margin: -2px 0; }
.s2-ld-vf b { font: 600 20px/26px var(--s2-mono); color: var(--s2-text); font-variant-numeric: tabular-nums; }
.s2-ld-vf span { margin-top: 2px; font-size: 12px; line-height: 16px; color: var(--s2-muted); white-space: nowrap; }
/* the per-buy table: 112 | 48 | 88 | 72 | 72 | 120 = 512 */
.s2-ld-tbl { width: 100%; margin-top: 20px; border-collapse: collapse; table-layout: fixed; font-size: 13px; line-height: 18px; }
.s2-ld-tbl th { height: 24px; padding: 0 0 8px; text-align: left; vertical-align: top; font-size: 12px; line-height: 16px; font-weight: 500; color: var(--s2-muted); border-bottom: 1px solid var(--s2-border); white-space: nowrap; }
.s2-ld-tbl th:nth-child(1) { width: 112px; } .s2-ld-tbl th:nth-child(2) { width: 48px; } .s2-ld-tbl th:nth-child(3) { width: 88px; } .s2-ld-tbl th:nth-child(4) { width: 72px; } .s2-ld-tbl th:nth-child(5) { width: 72px; } .s2-ld-tbl th:nth-child(6) { width: 120px; }
.s2-ld-tbl th:last-child, .s2-ld-tbl td:last-child { padding-left: 20px; }
.s2-ld-tbl td { height: 40px; padding: 0; border-bottom: 1px solid var(--s2-rule); vertical-align: middle; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--s2-text); }
.s2-ld-tbl .r { text-align: right; }
.s2-ld-tbl td.num { font: 500 13px/18px var(--s2-mono); font-variant-numeric: tabular-nums; }
.s2-ld-tbl td.dash { color: var(--s2-muted); }
.s2-ld-tbl td > b { display: block; font-weight: 500; }
.s2-ld-tbl td.num > b { font-weight: 500; }
.s2-ld-tbl td.num > span { display: block; margin-top: -1px; font: 400 12px/16px var(--s2-mono); color: var(--s2-muted); }
.s2-ld-tbl td em { display: block; font-style: normal; font-size: 12px; line-height: 16px; color: var(--s2-muted); }
.s2-ld-tbl td em.s2-ld-late { color: var(--s2-negative); }   /* the block-0 buy that missed the creation slot */
.s2-ld-tbl td:last-child { font-size: 12px; color: var(--s2-secondary); }
.s2-ld-tbl td:last-child > span { display: inline-flex; align-items: center; gap: 6px; }
.s2-ld-tbl .s2-dot { background: #5a5c62; }
.s2-ld-tbl .s2-dot.err, .s2-ld-v .s2-dot.err { background: var(--s2-negative); }
.s2-ld-v .s2-dot.ok { background: var(--s2-positive); }
.s2-ld-bad { color: var(--s2-negative); }
.s2-ld-sig .mono { font: 400 12px/16px var(--s2-mono); color: var(--s2-secondary); }
/* explorer links (Solscan): the short id itself, no underline, ink on hover; the copy button after it */
a.s2-ex { text-decoration: none; cursor: pointer; }
a.s2-ex:hover, a.s2-ex:focus-visible { color: var(--s2-text); }
.s2-ld-cp { display: inline-grid; place-items: center; width: 16px; height: 16px; padding: 0; border: 0; border-radius: 4px; background: none; color: var(--s2-muted); cursor: pointer; }
.s2-ld-cp:hover { color: var(--s2-text); background: var(--s2-raised); }
.s2-ld-tbl tfoot td { height: 36px; border-bottom: 1px solid var(--s2-border); }
.s2-ld-tbl tfoot td:first-child { font: 500 12px/16px var(--s2-font); color: var(--s2-muted); }
.s2-ld-tbl.fees { margin-top: 6px; }
.s2-ld-tbl.fees td { height: 28px; font-size: 12px; color: var(--s2-secondary); }
.s2-ld-fold { margin-top: 8px; }
.s2-ld-fold > summary { display: inline-flex; align-items: center; gap: 6px; height: 24px; list-style: none; cursor: pointer; font-size: 12px; line-height: 16px; font-weight: 500; color: var(--s2-secondary); }
.s2-ld-fold > summary::-webkit-details-marker { display: none; }
.s2-ld-fold > summary .s2-gl { color: var(--s2-muted); transition: transform 0.15s; }
.s2-ld-fold[open] > summary .s2-gl { transform: rotate(90deg); }
.s2-ld-fold > summary:hover { color: var(--s2-text); }
.s2-ld-log { margin: 6px 0 0; padding: 10px 12px; max-height: 220px; overflow: auto; border-radius: var(--s2-r-card); background: var(--s2-surface); font: 400 12px/18px var(--s2-mono); color: var(--s2-secondary); white-space: pre-wrap; word-break: break-word; }
/* the record: checks + transactions, the link to every transaction */
.s2-ld-ck { margin-top: 17px; }
.s2-ld-b0 + .s2-ld-ck { margin-top: 25px; }   /* after a fee / log fold (S-live-36) */
.s2-ld-b0.nf + .s2-ld-ck { margin-top: 16px; }   /* right after the table: rule y456 -> head y473 (S-live-02 / 72) */
.s2-ld-none { display: flex; align-items: center; justify-content: center; gap: 8px; height: 40px; margin-top: 9px; border: 1px dashed var(--s2-control); border-radius: var(--s2-r-card); font-size: 13px; color: var(--s2-muted); }
.s2-ld-none.err { justify-content: flex-start; padding: 0 12px; border-style: solid; border-color: var(--s2-border); }
.s2-ld-load { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.s2-ld-load .s2-bar { width: 60%; } .s2-ld-load .s2-bar + .s2-bar { width: 40%; }
.s2-ld-txl { display: inline-flex; align-items: center; gap: 6px; height: 24px; margin-top: 13px; font-size: 13px; line-height: 18px; font-weight: 500; color: var(--s2-secondary); text-decoration: none; }
.s2-ld-txl:hover { color: var(--s2-text); }
.s2-ld-ck .fold.panel { margin-top: 12px; border-radius: var(--s2-r-card); border-color: var(--s2-border); background: var(--s2-surface); }
.s2-ld-ck .fold.panel > summary { font-size: 12px; }
.s2-ld-ck .section-title { font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--s2-secondary); }
.s2-ld-ck .chk { font-size: 12px; } .s2-ld-ck .chk .cd { color: var(--s2-muted); }
.s2-ld-txs { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.s2-ld-txs .txcard { border: 1px solid var(--s2-border); border-radius: var(--s2-r-card); background: var(--s2-surface); box-shadow: none; }
.s2-ld-txs .txcard .k { font-size: 12px; letter-spacing: 0; text-transform: none; color: var(--s2-muted); }

/* ---------------------------------------------------------------- 3 · the plan panel's progress list (other steps) */
.hl-lp .hl-lp-d .s2-gl { color: #5a5c62; }
.hl-lp li.done .hl-lp-d .s2-gl { color: var(--s2-secondary); }
.hl-lp li.fail .hl-lp-d .s2-gl, .hl-lp li.fail > span:nth-child(2) { color: var(--s2-negative); }

/* ---------------------------------------------------------------- 4 · Market before the token is live (S-live-06 / 07)
   The shell's content area (x252-1440, y48-868) holds the page itself: work column x284-1024 (32px sides) and a 384px
   right rail (x1056-1440, 1px rule) with Quick trade, After launch and the Launch block at its foot. Nothing scrolls but
   the wallet table. */
.s2-hl.s2-prelive .hl-grid.wide .hl-main { padding: 0; }
.s2-hl.s2-prelive .hl-grid.wide .s2-scroll { padding: 0; overflow: hidden; }
.s2-hl.s2-prelive .s2-steps-sub { display: none; }
.s2-hl.s2-prelive #hl-steps, .s2-hl.s2-prelive #s2-id, .s2-hl.s2-prelive .mk-phead:empty { display: none; }
.s2-pl { display: grid; grid-template-columns: minmax(0, 1fr) var(--s2-right-w); height: calc(100vh - var(--s2-top-h) - var(--s2-status-h)); min-height: 600px; color: var(--s2-text); }
.s2-pl-w { display: flex; flex-direction: column; min-width: 0; min-height: 0; padding: 28px 32px 0; }
.s2-pl-sp { flex: 1 1 auto; }
.s2-pl-dash { font-style: normal; color: var(--s2-muted); }
/* identity row: avatar 28, $TICKER 26/600 (the h1), name, venue, status, mint | Launch plan · Search token */
.s2-pl-id { display: flex; align-items: center; height: 32px; min-width: 0; white-space: nowrap; flex: none; }
.s2-pl-av { display: grid; place-items: center; width: 28px; height: 28px; flex: none; overflow: hidden; border-radius: 50%; background: var(--s2-raised); color: var(--s2-secondary); font: 500 13px/18px var(--s2-font); }
.s2-pl-av img { width: 100%; height: 100%; object-fit: cover; }
.s2-pl-id h1 { margin: 0 0 0 12px; font-size: 26px; line-height: 32px; font-weight: 600; letter-spacing: 0; color: var(--s2-text); }
.s2-pl-nm { margin-left: 12px; font-size: 13px; color: var(--s2-secondary); overflow: hidden; text-overflow: ellipsis; }
.s2-pl-v { display: inline-flex; align-items: center; gap: 6px; margin-left: 8px; padding: 2px 4px; border: 0; border-radius: 4px; background: none; color: var(--s2-secondary); font: 400 13px/18px var(--s2-font); cursor: pointer; }
.s2-pl-v:hover { color: var(--s2-text); background: var(--s2-raised); }
.s2-pl-v.none { color: var(--s2-muted); }
.s2-pl-st, .s2-pl-mint { margin-left: 12px; font-size: 12px; line-height: 16px; color: var(--s2-muted); }
.s2-pl-mint { display: inline-flex; align-items: center; gap: 6px; }
.s2-pl-ca { display: inline-flex; align-items: center; gap: 6px; padding: 2px 4px; margin: -2px -4px; border-radius: 4px; cursor: pointer; color: var(--s2-secondary); }
.s2-pl-ca code { font: 400 12px/16px var(--s2-mono); }
.s2-pl-ca:hover { background: var(--s2-raised); }
.s2-pl-idr { display: inline-flex; align-items: center; gap: 8px; flex: none; margin-left: 24px; }   /* never closer than 24px to the mint: the name gives way */
.s2-pl-idr .s2-btn { height: 32px; padding: 0 13px; }
.s2-pl-idr a.s2-btn { padding: 0 13px 0 11px; }
.s2-pl-idr .s2-btn .s2-gl { color: var(--s2-text); }
/* market card: #131217 r6, 740 x 240 — facts (label 12 grey over value), range row on a rule, the plot, the foot */
.s2-pl-mk { position: relative; flex: none; height: 240px; margin-top: 24px; border-radius: var(--s2-r-card); background: var(--s2-surface); display: flex; flex-direction: column; }
.s2-pl-facts { display: grid; grid-template-columns: 280px 136px 136px minmax(0, 1fr); padding: 14px 20px 0; height: 68px; flex: none; }
.s2-pl-fact > span { display: block; font-size: 12px; line-height: 16px; color: var(--s2-muted); }
.s2-pl-fact > div { display: flex; align-items: baseline; gap: 8px; height: 26px; margin-top: 2px; white-space: nowrap; font-size: 13px; line-height: 18px; }   /* label y146, value y164 */
.s2-pl-fact > div > b { font-weight: 500; color: var(--s2-text); }
.s2-pl-fact > div > b.num { font: 500 13px/18px var(--s2-mono); font-variant-numeric: tabular-nums; }
.s2-pl-fact > div > em { font-style: normal; font-size: 12px; color: var(--s2-muted); }
.s2-pl-fact > div > span { font-size: 12px; color: var(--s2-muted); }
.s2-pl-fact > div > span.num { font: 500 12px/18px var(--s2-mono); font-variant-numeric: tabular-nums; }   /* the skeleton's mono figures are 500 */
.s2-pl-fact.w > div > span.num { color: var(--s2-secondary); }
.s2-pl-rng { display: flex; align-items: center; gap: 0; height: 28px; padding: 0 20px; border-bottom: 1px solid var(--s2-rule); flex: none; }
.s2-pl-tf { display: flex; align-items: stretch; gap: 18px; height: 100%; }
.s2-pl-tf button { position: relative; display: inline-flex; align-items: center; height: 100%; padding: 0; border: 0; background: none; font: 500 12px/16px var(--s2-mono); font-variant-numeric: tabular-nums; color: var(--s2-secondary); cursor: default; }   /* the font shorthand resets the numeric variant: set it again */
.s2-pl-tf button.on { color: var(--s2-text); }
.s2-pl-tf button.on .s2-l { position: relative; height: 100%; display: inline-flex; align-items: center; }
.s2-pl-tf button.on .s2-l::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--s2-accent); }
.s2-pl-unit { margin-left: 30px; font-size: 12px; line-height: 16px; color: var(--s2-muted); }
.s2-pl-pool { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; line-height: 16px; color: var(--s2-muted); }
.s2-pl-pool .num, .s2-pl-pool .s2-ex { font: 400 12px/16px var(--s2-mono); color: var(--s2-secondary); }
.s2-pl-pool .s2-ex:hover { color: var(--s2-text); }
.s2-pl-plot { position: relative; flex: 1 1 auto; display: grid; place-items: center; border-bottom: 1px solid var(--s2-rule); }
.s2-pl-wait { font-size: 13px; line-height: 18px; font-weight: 500; color: var(--s2-secondary); }
.s2-pl-mf { display: flex; align-items: center; justify-content: space-between; height: 24px; padding: 0 20px; flex: none; font-size: 12px; line-height: 16px; color: var(--s2-muted); }
.s2-pl-lk { display: inline-flex; align-items: center; gap: 4px; padding: 0; border: 0; background: none; font: 500 12px/16px var(--s2-font); color: var(--s2-secondary); cursor: pointer; text-decoration: none; }
.s2-pl-lk:hover { color: var(--s2-text); }
.s2-pl-mf .s2-pl-lk { gap: 6px; }
/* the launch view in the plot while the launch runs: see §4b (every host of launchhero.js) */
/* wallet block: tabs on a rule (accent under the selected label) + filter + "…"; toolbar; the table */
.s2-pl-wb { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; margin-top: 16px; }
.s2-pl-tabs { display: flex; align-items: center; height: 36px; border-bottom: 1px solid var(--s2-rule); flex: none; }
.s2-pl-tabs > nav { display: flex; align-items: stretch; gap: 24px; height: 100%; }
.s2-pl-tab { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 100%; padding: 0; border: 0; background: none; font: 500 13px/18px var(--s2-font); color: var(--s2-secondary); cursor: pointer; white-space: nowrap; }
.s2-pl-tab:hover { color: var(--s2-text); }
.s2-pl-tab.on { color: var(--s2-text); }
.s2-pl-tab .s2-l { position: relative; display: inline-flex; align-items: center; height: 100%; }
.s2-pl-tab.on .s2-l::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--s2-accent); }
.s2-pl-tab em { font: 400 12px/16px var(--s2-mono); font-style: normal; color: var(--s2-muted); }
.s2-pl-q { display: flex; align-items: center; gap: 8px; width: 200px; height: 28px; padding: 0 5px 0 10px; border: 1px solid var(--s2-control); border-radius: var(--s2-r-card); background: var(--s2-surface); color: var(--s2-muted); }
.s2-pl-q:focus-within { border-color: var(--s2-text); }
.s2-pl-q input { flex: 1; min-width: 0; height: 26px; padding: 0; border: 0; outline: none; background: none; color: var(--s2-text); font: 400 12px/16px var(--s2-font); }
.s2-pl-q input::placeholder { color: var(--s2-muted); }
.s2-pl-q input::-webkit-search-cancel-button { display: none; }
.s2-pl-q .s2-kbd { display: grid; place-items: center; width: 18px; height: 18px; padding: 0; }
.s2-pl-more { display: grid; place-items: center; width: 28px; height: 28px; margin-left: 8px; padding: 0; border: 1px solid var(--s2-control); border-radius: var(--s2-r-control); background: none; color: var(--s2-text); cursor: pointer; }
.s2-pl-more:hover { border-color: var(--s2-control-hi); }
.s2-pl-bar { display: flex; align-items: center; height: 32px; margin-top: 8px; flex: none; white-space: nowrap; }
.s2-pl-bar.hidden, .s2-pl-tw.hidden { display: none; }
.s2-pl-mode.s2-seg { --s2-seg-h: 32px; }
.s2-pl-mode.s2-seg button { padding: 0 14px; }
.s2-pl-mode.s2-seg button + button { border-left-color: var(--s2-control); }
.s2-pl-dd { display: inline-flex; align-items: center; gap: 6px; height: 28px; margin-left: 12px; padding: 0 9px 0 10px; border: 1px solid var(--s2-control); border-radius: var(--s2-r-control); background: none; color: var(--s2-text); font: 400 12px/16px var(--s2-font); cursor: pointer; }
.s2-pl-dd + .s2-pl-dd { margin-left: 8px; }
.s2-pl-dd > span { font-weight: 500; color: var(--s2-muted); }   /* capsule labels and words 12/500, figures the foundation mono */
.s2-pl-dd > b { font-weight: 500; color: var(--s2-text); }
.s2-pl-dd > b.num, .s2-pl-dd > b .num { font: 500 12px/16px var(--s2-mono); font-variant-numeric: tabular-nums; }
.s2-pl-dd .s2-gl { color: var(--s2-muted); }
.s2-pl-dd:hover:not(:disabled) { border-color: var(--s2-control-hi); }
.s2-pl-dd:disabled { color: var(--s2-muted); border-color: #2c2c30; cursor: default; }
.s2-pl-dd.bad { border-color: var(--s2-negative); }
.s2-pl-sib { display: inline-flex; align-items: center; gap: 8px; height: 28px; margin-left: 16px; padding: 0; border: 0; background: none; color: var(--s2-secondary); font: 400 12px/16px var(--s2-font); cursor: pointer; }
.s2-pl-sib:hover:not(:disabled) { color: var(--s2-text); }
.s2-pl-sib:disabled { color: var(--s2-secondary); cursor: default; }   /* the label stays as the mock reads it (#bdbdc0); the dimmed switch and its title say it waits for a selection */
.s2-pl-sib:disabled .s2-pl-sw { border-color: #2c2c30; background: transparent; }
.s2-pl-sib:disabled .s2-pl-sw > i { background: var(--s2-muted); }
.s2-pl-sw { position: relative; display: inline-block; width: 28px; height: 16px; flex: none; border: 1px solid var(--s2-control); border-radius: 999px; background: var(--s2-raised); }
.s2-pl-sw > i { position: absolute; left: 1px; top: 1px; width: 12px; height: 12px; border-radius: 50%; background: var(--s2-secondary); transition: transform 0.12s; }
.s2-pl-sib.on .s2-pl-sw { border-color: var(--s2-control-hi); background: transparent; }
.s2-pl-sib.on .s2-pl-sw > i { transform: translateX(12px); background: var(--s2-text); }
.s2-pl-sib.on > span { position: relative; color: var(--s2-text); }
.s2-pl-sib.on > span::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--s2-accent); }
.s2-pl-note { min-width: 0; margin-left: 16px; overflow: hidden; text-overflow: ellipsis; font-size: 12px; line-height: 16px; color: var(--s2-muted); }
.s2-pl-note > span { white-space: nowrap; }
/* the table: 32 | 196 | 128 | 100 | 120 | 140 | 24 = 740; header 40 (text at its foot), rows 44, total 40 */
.s2-pl-tw { flex: 1 1 auto; min-height: 0; overflow-y: auto; margin-top: 0; }
.s2-pl-tbl { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; font-size: 13px; line-height: 18px; }
.s2-pl-tbl col.c-cb { width: 32px; } .s2-pl-tbl col.c-w { width: 196px; } .s2-pl-tbl col.c-e { width: 128px; } .s2-pl-tbl col.c-p { width: 100px; } .s2-pl-tbl col.c-x { width: 120px; } .s2-pl-tbl col.c-s { width: 140px; } .s2-pl-tbl col.c-d { width: 24px; }
.s2-pl-tbl th { position: sticky; top: 0; z-index: 1; height: 40px; padding: 16px 0 8px; text-align: left; vertical-align: bottom; background: var(--s2-ground); border-bottom: 1px solid var(--s2-rule); font-size: 12px; line-height: 16px; font-weight: 500; color: var(--s2-muted); white-space: nowrap; }
.s2-pl-tbl th.r, .s2-pl-tbl td.r { text-align: right; }
.s2-pl-tbl th.c, .s2-pl-tbl td.c { padding-left: 8px; }
.s2-pl-tbl td { height: 44px; padding: 0; border-bottom: 1px solid var(--s2-rule); vertical-align: middle; white-space: nowrap; overflow: hidden; }
.s2-pl-tbl tbody tr:last-child td { border-bottom: 0; }
.s2-pl-tbl td.num { font: 400 13px/18px var(--s2-mono); color: var(--s2-text); font-variant-numeric: tabular-nums; }
.s2-pl-tbl td.num > b { display: block; font-weight: 500; }
.s2-pl-tbl td.num > span { display: block; font: 400 12px/16px var(--s2-mono); color: var(--s2-muted); }
.s2-pl-tbl td.e { color: var(--s2-secondary); overflow: hidden; text-overflow: ellipsis; padding-right: 8px; }
.s2-pl-tbl td.w { display: table-cell; }
.s2-pl-tbl td.w { padding-right: 8px; }
/* the role glyph sits on the name line (box 2px under the line's top, centred on it: skeleton glyph y512 / name y510), not
   on the two-line cell */
.s2-pl-tbl td.w > .s2-pl-rg { float: left; display: grid; place-items: center; width: 14px; height: 14px; margin: 2px 8px 0 0; color: var(--s2-muted); }
.s2-pl-tbl td.w > div { overflow: hidden; }
.s2-pl-tbl td.w b { display: inline; font-weight: 500; color: var(--s2-text); }
.s2-pl-tbl td.w > div > span { display: flex; align-items: center; gap: 6px; height: 16px; margin-top: 0; }
.s2-pl-tbl td.w .mono { font: 400 12px/16px var(--s2-mono); color: var(--s2-muted); }
.s2-pl-tbl td.w a.s2-ex:hover, .s2-pl-tbl td.w a.s2-ex:focus-visible { color: var(--s2-text); }
.s2-pl-off { margin-left: 8px; font-style: normal; font-size: 12px; color: var(--s2-negative); }
.s2-pl-cp { display: inline-grid; place-items: center; width: 16px; height: 16px; padding: 0; border: 0; border-radius: 4px; background: none; color: var(--s2-muted); cursor: pointer; }
.s2-pl-cp:hover { color: var(--s2-text); background: var(--s2-raised); }
.s2-pl-tbl td.d { text-align: right; padding-right: 6px; }
.s2-pl-tbl td.d .s2-dot { display: inline-block; vertical-align: middle; }
.s2-pl-tbl tbody tr:hover td { box-shadow: inset 0 1px 0 var(--s2-control), inset 0 -1px 0 var(--s2-control); }
.s2-pl-tbl tbody tr:hover td:first-child { box-shadow: inset 1px 1px 0 var(--s2-control), inset 0 -1px 0 var(--s2-control); }
.s2-pl-tbl tbody tr:hover td:last-child { box-shadow: inset -1px 1px 0 var(--s2-control), inset 0 -1px 0 var(--s2-control); }
.s2-pl-tbl tbody tr.kf td { box-shadow: inset 0 1px 0 var(--s2-control-hi), inset 0 -1px 0 var(--s2-control-hi); }
.s2-pl-tbl tbody tr.kf td:first-child { box-shadow: inset 1px 1px 0 var(--s2-control-hi), inset 0 -1px 0 var(--s2-control-hi); }
.s2-pl-tbl tbody tr.kf td:last-child { box-shadow: inset -1px 1px 0 var(--s2-control-hi), inset 0 -1px 0 var(--s2-control-hi); }
.s2-pl-tbl tbody tr.sel td.w b { color: var(--s2-text); }
.s2-pl-tbl tbody tr.off td { color: var(--s2-muted); }
.s2-pl-tbl tr.s2-pl-none td { height: 60px; text-align: center; color: var(--s2-muted); font-size: 13px; }
.s2-pl-tbl tfoot td { position: sticky; bottom: 0; height: 40px; background: var(--s2-ground); border-top: 1px solid var(--s2-border); border-bottom: 0; }
.s2-pl-tbl tfoot td.t { padding-left: 0; font: 500 12px/16px var(--s2-font); color: var(--s2-muted); }
.s2-pl-tbl tfoot td.num > b { font-weight: 500; }
.s2-pl-sort { display: inline-flex; align-items: center; gap: 4px; padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
.s2-pl-sort:hover, .s2-pl-sort.on { color: var(--s2-text); }
/* the checkbox: 14px, 1px control edge, r3; checked = ink fill with the ground's tick */
.s2-cb { appearance: none; -webkit-appearance: none; display: inline-grid; place-content: center; width: 14px; height: 14px; margin: 0; border: 1px solid var(--s2-control); border-radius: 3px; background: transparent; cursor: pointer; vertical-align: middle; }
.s2-cb:hover:not(:disabled) { border-color: var(--s2-control-hi); }
.s2-cb:checked { border-color: var(--s2-text); background: var(--s2-text); }
.s2-cb:checked::after { content: ""; width: 7px; height: 4px; margin-top: -2px; border-left: 1.5px solid var(--s2-ground); border-bottom: 1.5px solid var(--s2-ground); transform: rotate(-45deg); }
.s2-cb:disabled { cursor: default; border-color: #2c2c30; }
/* the other tabs (the cockpit's history module) inside the block, in this style */
.s2-pl-pane { flex: 1 1 auto; min-height: 0; overflow: auto; padding-top: 8px; }
.s2-pl-pane.hidden { display: none; }
.s2-pl-pane .hll-sub-h { padding: 8px 0; font-size: 12px; line-height: 16px; color: var(--s2-muted); }
.s2-pl-pane .hll-tbl th { position: sticky; top: 0; height: 36px; padding: 0 10px; background: var(--s2-ground); border-bottom: 1px solid var(--s2-rule); font: 500 12px/16px var(--s2-font); letter-spacing: 0; text-transform: none; color: var(--s2-muted); }
.s2-pl-pane .hll-tbl td { height: 42px; padding: 0 10px; border-bottom: 1px solid var(--s2-rule); font-size: 13px; }
.s2-pl-pane .hll-tbl th:first-child, .s2-pl-pane .hll-tbl td:first-child { padding-left: 0; }
.s2-pl-pane .hll-tbl tbody tr:hover { background: transparent; }
.s2-pl-pane .hll-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; height: 120px; border: 1px dashed var(--s2-control); border-radius: var(--s2-r-card); color: var(--s2-muted); font-size: 13px; }
.s2-pl-pane .hll-empty b { color: var(--s2-secondary); font-weight: 500; }
.s2-pl-pane .hll-empty .i { display: none; }
.s2-pl-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; height: 120px; margin-top: 8px; border: 1px dashed var(--s2-control); border-radius: var(--s2-r-card); font-size: 13px; line-height: 18px; color: var(--s2-muted); text-align: center; }
.s2-pl-empty b { font-weight: 500; color: var(--s2-secondary); }
.s2-pl-empty .s2-link { margin-top: 6px; font-size: 12px; }
/* Orders: the foot's spacer takes the free width (as on the live page, .s2-ck .s2-sp), the pipeline legend at its right end */
.s2-pl-pane .s2-pfoot .s2-sp { flex: 1 1 auto; min-width: 16px; }
/* Team: the cockpit's record (table 716 | note beside it) does not fit the 740px column. Here the table spans the column
   and the "Team record" note is a band under it (title + sentence left, the launch-group counts right), so nothing is
   clipped, nothing scrolls sideways and the foot stays in the pane */
.s2-pl-pane .s2-team { display: flex; flex-direction: column; min-width: 0; }
.s2-pl-pane .s2-team-t { min-width: 0; }
.s2-pl-pane .s2-tnote { display: grid; grid-template-columns: minmax(0, 1fr) 216px; grid-template-rows: auto 1fr; column-gap: 32px; align-items: start; margin: 0; padding: 20px 0 16px; border-left: 0; }   /* the table's last rule above, the foot's rule below: no rule of its own */
.s2-pl-pane .s2-tnote h3, .s2-pl-pane .s2-tnote p { grid-column: 1; }
.s2-pl-pane .s2-tnote-kv { grid-column: 2; grid-row: 1 / 3; margin-top: 0; }
/* right rail: Quick trade · After launch · the Launch block (foot) */
.s2-pl-r { display: flex; flex-direction: column; min-height: 0; border-left: 1px solid var(--s2-border); }
.s2-pl-qt, .s2-pl-al { padding: 0 24px 0 23px; }
.s2-pl-qt { padding-top: 24px; }
.s2-pl-rh { display: flex; align-items: baseline; justify-content: space-between; }
.s2-pl-rh h3 { margin: 0; font-size: 16px; line-height: 22px; font-weight: 600; color: var(--s2-text); }
.s2-pl-rh > span { font-size: 12px; line-height: 16px; color: var(--s2-muted); }
.s2-pl-bs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.s2-pl-bs .s2-btn { height: 36px; }
.s2-pl-bs .s2-btn:disabled { color: var(--s2-muted); border-color: #2c2c30; }
.s2-pl-why { margin: 8px 0 0; font-size: 12px; line-height: 16px; color: var(--s2-muted); }
.s2-pl-kv { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; height: 48px; }
.s2-pl-why + .s2-pl-kv { margin-top: 16px; }
.s2-pl-kv > div { display: flex; flex-direction: column; min-width: 0; }
.s2-pl-kv > div > span { font-size: 13px; line-height: 18px; color: var(--s2-secondary); }
.s2-pl-kv > div > em { margin-top: 1px; font-style: normal; font-size: 12px; line-height: 16px; color: var(--s2-muted); white-space: nowrap; }
.s2-pl-kv > b { font: 500 13px/18px var(--s2-font); color: var(--s2-text); white-space: nowrap; }
.s2-pl-kv > b.num { font-family: var(--s2-mono); }
.s2-pl-kv > b.dash { color: var(--s2-muted); }
.s2-pl-al { margin-top: 4px; }
.s2-pl-ah { display: flex; align-items: baseline; justify-content: space-between; height: 44px; padding-top: 16px; border-top: 1px solid var(--s2-rule); }
.s2-pl-ah h4 { margin: 0; font-size: 13px; line-height: 18px; font-weight: 600; color: var(--s2-text); }
.s2-pl-ar { display: flex; align-items: center; gap: 4px; width: 100%; height: 32px; padding: 0; border: 0; border-bottom: 1px solid var(--s2-rule); background: none; font: 400 13px/18px var(--s2-font); color: var(--s2-secondary); text-align: left; cursor: pointer; }
.s2-pl-ar > span:first-child { margin-right: auto; }
.s2-pl-ar > b { display: inline-flex; align-items: center; gap: 4px; font-weight: 400; color: var(--s2-text); white-space: nowrap; }
.s2-pl-ar > b .num { font-family: var(--s2-mono); font-weight: 500; }
.s2-pl-ar > b .mut, .s2-pl-ar > b.mut { color: var(--s2-secondary); }
.s2-pl-ar .s2-gl { color: var(--s2-secondary); }
.s2-pl-ar:hover:not(.st) { color: var(--s2-text); }
.s2-pl-ar:hover:not(.st) .s2-gl { color: var(--s2-text); }
.s2-pl-ar.st { cursor: default; }
.s2-pl-on { color: var(--s2-positive); }
.s2-pl-mid { font-style: normal; color: var(--s2-muted); }
.s2-pl-ar sinner-paydex-status { font-size: 13px; }
/* the Launch block: 175px at the rail foot (rule #222224 across the rail), the one action at its bottom right */
.s2-pl-lb { display: flex; flex-direction: column; height: 174px; margin-top: auto; padding: 15px 24px 16px 23px; border-top: 1px solid var(--s2-border); flex: none; }
.s2-pl-lh { display: flex; align-items: center; justify-content: space-between; height: 16px; font-size: 12px; line-height: 16px; color: var(--s2-muted); }
.s2-pl-ld { display: flex; align-items: baseline; gap: 8px; height: 28px; margin-top: 6px; white-space: nowrap; }
.s2-pl-ld > b.num { font: 600 20px/26px var(--s2-mono); color: var(--s2-text); font-variant-numeric: tabular-nums; }
.s2-pl-ld > b.num.warn { color: var(--s2-warning); }
.s2-pl-ld > span { font-size: 13px; line-height: 18px; color: var(--s2-muted); }
.s2-pl-ld > .s2-pl-lt { font-size: 16px; line-height: 22px; font-weight: 600; color: var(--s2-text); }
.s2-pl-ld > .s2-pl-lt.err { color: var(--s2-negative); }
.s2-pl-lf { margin: 6px 0 0; font-size: 12px; line-height: 16px; color: var(--s2-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s2-pl-lr { display: flex; align-items: center; gap: 8px; margin: 2px 0 0; font-size: 12px; line-height: 16px; color: var(--s2-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s2-pl-lr .s2-link { font-size: 12px; margin-left: auto; }
.s2-pl-lbtn { display: flex; justify-content: flex-end; gap: 8px; margin-top: auto; }
.s2-pl-lbtn .s2-btn { height: 36px; padding: 0 16px; }
.s2-pl-lbtn .s2-btn.s2-pl-half { width: 128px; }
.s2-pl-lbtn .s2-btn.s2-pl-go { width: 200px; }
.s2-pl-lbtn .s2-btn.s2-pl-wide { width: 100%; }
.s2-pl-lbtn .s2-btn.primary { color: var(--s2-ground); }   /* the inverted capsule's label in the ground ink #171719 (skeleton .cap.pri), as the confirmation's Launch */
/* a failed launch's way out fits its words ("Open in My Wallets", the drawer's copy); Retry keeps the block's right edge
   and takes the rest of the row, up to its 200px */
.s2-pl-lbtn .s2-btn.s2-pl-way { width: auto; min-width: 128px; flex: none; }
.s2-pl-lbtn .s2-pl-way + .s2-btn.s2-pl-go { width: auto; flex: 1 1 auto; max-width: 200px; }
.s2-pl-lbtn .s2-btn:disabled:not(.primary) { color: var(--s2-muted); border-color: #2c2c30; }
.s2-pl-lbtn .s2-btn.primary:disabled { background: #2c2c30; border-color: #2c2c30; color: var(--s2-muted); }
/* toasts on this page stack above the Launch block, in the rail's free band over it (bottom = status bar + the block's
   174px + 12): a toast never covers the block's one action ("Launch in progress", Launch, Retry) */
body:has(.s2-hl.s2-prelive) .toasts { bottom: calc(var(--s2-status-h) + 174px + 12px); }
/* popovers: slippage · priority · limit orders (the take-profit editor) · the wallet block's … menu */
.s2-pop.s2-pl-pop { width: 260px; padding: 12px; font-variant-numeric: tabular-nums; }   /* every figure in the layer stacks */
.s2-pop.s2-pl-menu { width: 248px; padding: 4px; }
.s2-pl-mh { margin-left: auto; font-style: normal; font-size: 12px; color: var(--s2-muted); }
.s2-pl-ph { display: flex; flex-direction: column; gap: 2px; margin-bottom: 10px; font-size: 13px; line-height: 18px; font-weight: 600; color: var(--s2-text); }
.s2-pl-ph span { font-size: 12px; line-height: 16px; font-weight: 400; color: var(--s2-muted); }
.s2-pl-chips { display: flex; gap: 6px; }
.s2-pl-chips .s2-chip { --s2-chip-h: 28px; padding: 0 10px; font-size: 12px; font-family: var(--s2-mono); font-variant-numeric: tabular-nums; }
.s2-pl-pin { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 12px; color: var(--s2-muted); }
.s2-pl-pin .s2-input { width: 120px; height: 32px; font-size: 13px; font-variant-numeric: tabular-nums; }
.s2-pl-pin i { font-style: normal; }
.s2-pl-pnote { margin: 8px 0 0; font-size: 12px; line-height: 16px; color: var(--s2-muted); white-space: normal; }
.s2-pl-pm { margin-top: 2px; }
/* the take-profit editor (hl-live-limits.js mountTakeProfit) drawn exactly as the live page's Auto Sell popover draws it
   (s2-live.css .s2-ck-tppop), so the same control keeps its look at go-live: bordered chips with mono 13/500 figures,
   the 1px accent under the selected chip and the scope's selected half, the disabled go button muted */
.s2-pop.s2-pl-tp { width: 380px; padding: 0; }
.s2-pl-tp .hll-tp { border: 0; border-radius: 0; background: none; box-shadow: none; max-height: 560px; }
.s2-pl-tp .hll-tp-h { padding: 16px 16px 8px; }
.s2-pl-tp .hll-tp-h b { font-size: 14px; font-weight: 600; line-height: 20px; color: var(--s2-text); }
.s2-pl-tp .hll-tp-h span { font-size: 12px; color: var(--s2-muted); }
.s2-pl-tp .hll-count { padding: 0; background: none; border-radius: 0; color: var(--s2-secondary); font: 400 12px/16px var(--s2-font); }
.s2-pl-tp .hll-tp-b { display: grid; grid-template-columns: 52px minmax(0, 1fr); align-items: center; gap: 6px 8px; padding: 0 16px 12px; }
.s2-pl-tp .hll-tp-b > .hll-tp-go, .s2-pl-tp .hll-tp-b > .hll-tp-msg { grid-column: 1 / -1; }
.s2-pl-tp .hll-tp-l { font: 500 12px/16px var(--s2-font); letter-spacing: 0; text-transform: none; color: var(--s2-secondary); }
.s2-pl-tp .hll-tp-row { height: 40px; gap: 6px; }
.s2-pl-tp .hll-tp-row.scope { height: 28px; }
.s2-pl-tp .hll-chip2 { position: relative; border: 1px solid var(--s2-control); border-radius: var(--s2-r-card); background: none; color: var(--s2-secondary); box-shadow: none; }
.s2-pl-tp .hll-chip2 b { font: 500 13px/18px var(--s2-mono); }
/* the Custom chip is words, not a figure: its label and "any · stop" in the text face, as s2-live.css draws the same chip
   (mono 11px would need ~66px for "any · stop" in the 57px the 67px chip leaves: it was cut to "any · s…") */
.s2-pl-tp .hll-chip2.cust b, .s2-pl-tp .hll-chip2.cust small { font-family: var(--s2-font); }
.s2-pl-tp .hll-chip2 small { font: 400 11px/14px var(--s2-mono); color: var(--s2-muted); }
.s2-pl-tp .hll-chip2:hover { border-color: var(--s2-control-hi); color: var(--s2-text); }
.s2-pl-tp .hll-chip2.on { border-color: var(--s2-control-hi); background: none; color: var(--s2-text); box-shadow: none; }
.s2-pl-tp .hll-chip2.on b { text-decoration: underline 1px var(--s2-accent); text-underline-offset: 4px; }
.s2-pl-tp .hll-chip2.on small { color: var(--s2-secondary); }
.s2-pl-tp .hll-chip2.inp input { font: 500 13px var(--s2-mono); color: var(--s2-text); }
.s2-pl-tp .hll-tp-in { height: 40px; border: 1px solid var(--s2-control); border-radius: var(--s2-r-field); background: var(--s2-surface); color: var(--s2-text); font: 500 13px var(--s2-mono); }
.s2-pl-tp .hll-tp-in:focus { border-color: var(--s2-muted); }
.s2-pl-tp .hll-mini { padding: 0; gap: 0; border: 1px solid var(--s2-control); border-radius: var(--s2-r-control); background: none; }
.s2-pl-tp .hll-mini button { position: relative; height: 26px; padding: 0 10px; border-radius: 0; background: none; color: var(--s2-secondary); font-size: 12px; font-weight: 500; box-shadow: none; }
.s2-pl-tp .hll-mini button + button { border-left: 1px solid var(--s2-border); }
.s2-pl-tp .hll-mini button.on { background: none; color: var(--s2-text); box-shadow: none; }
.s2-pl-tp .hll-mini button.on::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 1px; background: var(--s2-accent); }
/* the scope's two halves stretch across the editor (.hll-mini.wide): the accent line stays exactly as wide as the label,
   not the stretched half. The half is a one-column grid whose column fits the label (justify-content: center, so the
   track is not stretched; its one row fills the 26px half); the line is placed in that grid area */
.s2-pl-tp .hll-mini.wide button { display: grid; justify-content: center; align-items: center; }
.s2-pl-tp .hll-mini.wide button.on::after { grid-area: 1 / 1 / 2 / 2; left: 0; right: 0; }
.s2-pl-tp .hll-tp-cust .hll-mini button { height: 38px; }
.s2-pl-tp .hll-x { width: 28px; height: 28px; border: 1px solid var(--s2-control); border-radius: var(--s2-r-control); color: var(--s2-secondary); }
.s2-pl-tp .hll-tp-go { height: 36px; margin-top: 6px; border: 1px solid var(--s2-text); border-radius: var(--s2-r-control); background: var(--s2-text); color: #0b0b0c; font-size: 13px; font-weight: 600; box-shadow: none; }
.s2-pl-tp .hll-tp-go:disabled { border-color: #2c2c30; background: transparent; color: var(--s2-muted); }
.s2-pl-tp .hll-tp-msg { height: 16px; font-size: 12px; color: var(--s2-muted); }
.s2-pl-tp .hll-tp-msg.err { color: var(--s2-warning); }
.s2-pl-tp .hll-tp-list { max-height: 200px; border-top: 1px solid var(--s2-border); padding: 4px 8px; background: none; }
.s2-pl-tp .hll-tp-li { height: 40px; border-radius: var(--s2-r-card); }
.s2-pl-tp .hll-tp-li b { font: 500 13px var(--s2-mono); color: var(--s2-text); }
.s2-pl-tp .hll-tp-li span { font-size: 12px; color: var(--s2-muted); }
.s2-pl-tp .hll-tp-dir { color: var(--s2-secondary); font-family: var(--s2-mono); }
.s2-pl-tp .hll-tp-empty { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 8px; font-size: 12px; color: var(--s2-muted); }
.s2-pl-tp .hll-tp-empty .i { width: 14px; height: 14px; }
.s2-pl-tp .hll-ghost.sm { height: 28px; padding: 0 12px; border: 1px solid transparent; border-radius: var(--s2-r-control); background: none; color: var(--s2-secondary); font-size: 12px; cursor: pointer; }
.s2-pl-tp .hll-ghost.sm:hover { background: var(--s2-raised); color: var(--s2-text); }
/* figures that update stack: the chips, their market-cap sublines, the custom field and the armed list (the layer's own
   tabular-nums above is inherited by the rest) */
.s2-pl-tp .hll-chip2 b, .s2-pl-tp .hll-chip2 small, .s2-pl-tp .hll-chip2.inp input, .s2-pl-tp .hll-tp-in, .s2-pl-tp .hll-tp-li b, .s2-pl-tp .hll-count { font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- 4b · the launch view (launchhero.js) in every host
   The pre-live plot and the live cockpit's chart (.hll-chart-ov: compact, the chart area's own size), or its own strip
   above the project frame on a step without a chart (#hp-hero). Flat card tone, no gradient / glow / burst / entrance
   (app.css drew a violet liquid, radial glows, a tracked-caps kicker and a 60px gradient title): the Sinner mark in grey
   fills flat white from the bottom with the real progress, the progress is a plain mono figure, the kicker is sentence
   case, the phase a 20/600 title (red only when the launch failed), the last two actions as 12px lines. */
.lh, .lh.done, .lh.failed { background: var(--s2-surface); box-shadow: none; animation: none; }
.lh { grid-template-columns: 56px minmax(0, 1fr) auto; justify-items: start; align-items: center; gap: 16px; padding: 12px 16px 12px 20px; border: 1px solid var(--s2-border); border-radius: var(--s2-r-card); }
.lh-stage { width: 56px; }
.lh-logo, .lh.done .lh-logo, .lh.failed .lh-logo, .lh-compact .lh-logo { filter: none; animation: none; transition: none; }
.lh-base { filter: grayscale(1) brightness(0.45); opacity: 1; }
.lh-liquid, .lh.failed .lh-liquid { background: var(--s2-text); filter: none; transform: translateY(calc((1 - var(--p)) * 100%)); transition: transform 0.3s linear; }
.lh.failed .lh-liquid { background: var(--s2-muted); }
.lh-done-layer, .lh-wave, .lh-surface, .lh-burst { display: none; }
.lh-text, .lh-compact .lh-text { display: grid; justify-items: start; gap: 2px; width: auto; min-width: 0; max-width: 100%; text-align: left; }
.lh-kicker, .lh-compact .lh-kicker { display: flex; align-items: baseline; gap: 8px; max-width: 100%; overflow: hidden; white-space: nowrap; font-size: 12px; line-height: 16px; letter-spacing: 0; text-transform: none; color: var(--s2-muted); }
.lh-pct, .lh.done .lh-pct, .lh.failed .lh-pct, .lh-compact .lh-pct { font: 500 13px/18px var(--s2-mono); font-variant-numeric: tabular-nums; letter-spacing: 0; color: var(--s2-text); }
.lh-title, .lh.done .lh-title, .lh.failed .lh-title, .lh-compact .lh-title, .lh-title.lh-swap { margin: 0; padding: 0; background: none; -webkit-background-clip: border-box; background-clip: border-box; -webkit-text-fill-color: currentColor; color: var(--s2-text); font-size: 20px; line-height: 26px; font-weight: 600; letter-spacing: 0; animation: none; }
.lh.failed .lh-title { color: var(--s2-negative); }
.lh-feed, .lh-compact .lh-feed { width: 100%; height: 36px; margin: 2px 0 0; align-items: flex-start; }
.lh-act, .lh-compact .lh-act { gap: 8px; min-height: 18px; font-size: 12px; line-height: 16px; font-weight: 400; color: var(--s2-text); opacity: 1; transform: none; animation: none; transition: none; }
.lh-act::before, .lh-compact .lh-act::before { width: 6px; height: 6px; background: var(--s2-muted); box-shadow: none; }
.lh-act.ok::before { background: var(--s2-positive); box-shadow: none; }
.lh-act.warn::before { background: var(--s2-warning); box-shadow: none; }
.lh-act.err { color: var(--s2-negative); }
.lh-act.err::before { background: var(--s2-negative); box-shadow: none; }
.lh-act[data-age="1"], .lh-compact .lh-act[data-age="1"] { opacity: 1; font-size: 12px; color: var(--s2-secondary); }
.lh-act[data-age="2"], .lh-act.gone { display: none; }
.lh-foot { display: flex; align-items: center; gap: 4px; margin: 0; opacity: 1; }
.lh-compact .lh-foot { flex-direction: column; align-items: stretch; align-self: center; gap: 4px; margin: 0; }
.lh-foot .btn, .lh-compact .lh-foot .btn { height: 28px; padding: 0 10px; font-size: 12px; }
.lh-foot .btn .i { width: 14px; height: 14px; }
.hp-hero.lh-leaving .lh, .hll-chart-ov.lh-leaving .lh { animation: none; }
/* compact: the chart area of the pre-live plot / the live cockpit, in the card tone, no frame of its own */
.hll-chart-ov.lh-on { background: var(--s2-surface); }
.hll-chart-ov .lh.lh-compact { height: 100%; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 16px; padding: 8px 20px; border: 0; border-radius: 0; }
.lh-compact .lh-stage { width: 92px; }
/* its own strip above the frame (a step without a chart while the launch runs) */
.page:has(.s2-hl) .hp-hero { flex: none; margin: 0; padding: 12px var(--s2-work-pad) 0; }

/* ---------------------------------------------------------------- 5 · the failure painted on its object (S-live-72 context)
   Funding's wallet row names a disabled wallet in red after its address: the wallet a launch stops on */
.fd-c-w .fd-off { margin-left: 8px; font-style: normal; font-size: 12px; line-height: 16px; color: var(--s2-negative); white-space: nowrap; }
/* Funding's openers carry the launch ledger names on an inner wrapper (the rail icon keeps its own box) */
.fd-rail-b .fd-rail-i { display: grid; place-items: center; width: 16px; height: 16px; }
