/* =====================================================================================================================
   BASED · Home (rivect/src/pages/03-home, tool-dashboard, states/home-performance) + the Workspace tools and Find a token
   dialogs. Geometry measured on the 1440x900 captures: page column x272..1440 (28px side padding + the 10px scrollbar
   gutter), top bar 56px; row 1 = draft hero 659px + wallet balance (gap 18), row 2 = Your launches 680px + side column
   400px (gap 22).
   ===================================================================================================================== */
.content:has(.rv-page) { padding: 0; }
.page:has(.rv-page) { max-width: none; margin: 0; animation: none; }
.rv-page { padding: 28px 28px 40px 28px; }
.rv-noscroll .rv-page { padding-right: 38px; }

/* page head */
.rv-home .rv-ph h1 { margin: 0; color: #fff; font: 700 26px/32px var(--rv-font); letter-spacing: -0.02em; }
.rv-home .rv-ph p { position: relative; top: 1px; margin: 4px 0 0; color: #9da3ad; font: 400 12px/18px var(--rv-font); }
.rv-home .rv-ph .rv-btn.primary { height: 38px; margin-top: 8px; padding: 0 13px 0 10px; gap: 6px; border-radius: 9px; font-size: 12.8px; }
.rv-home .rv-ph .rv-btn.primary .rv-i { width: 18px; height: 18px; stroke-width: 2.1; }
.rv-home .rv-tabs { margin-top: 18px; height: 43px; border-bottom: 1px solid #2a2b2f; }
.rv-home .rv-tab { height: 42px; margin-right: 23px; font-size: 12px; }
.rv-home .rv-tab[aria-selected="true"]::after { bottom: 0; height: 2px; background: #7190e4; border-radius: 1px; }
.rv-home .rv-tab:focus { outline: none; }
.rv-home .rv-tab:focus-visible, .rv-home .rv-tab[aria-selected="true"]:focus { height: 39px; margin-top: 3px; background: #1f2837; }
.rv-home .rv-tab[aria-selected="true"]:focus::after { background: #4d5265; }
.rv-home .rv-tabs-r { padding-top: 6px; font-size: 10px; color: #838896; }
.rv-tp { display: block; }

/* row 1: the draft hero + wallet balance */
.rv-hrow1 { display: grid; grid-template-columns: minmax(0, 659fr) minmax(330px, 425fr); gap: 18px; margin-top: 20px; }
.rv-hero { position: relative; display: flex; flex-direction: column; height: 263px; overflow: hidden; border: 1px solid #262a31; border-radius: 14px; background: radial-gradient(80% 100% at 90% 35%, #141d33 0%, #111829 40%, #0e1421 65%, #0c0f16 90%), #0c0f16; }
.rv-hero-top { position: relative; flex: 1; padding: 33px 28px 0 29px; }
.rv-hero-k { display: block; color: #a5acc2; font: 500 10.5px/14px var(--rv-font); letter-spacing: -0.005em; }
.rv-hero h2 { margin: 9px 0 0; color: #fff; font: 700 31.5px/38px var(--rv-font); letter-spacing: -0.03em; }
.rv-hero p { margin: 10px 0 0; color: #aab2c2; font: 400 12px/16px var(--rv-font); letter-spacing: 0.005em; }
.rv-hero-a { display: flex; gap: 8px; margin-top: 23px; margin-left: -1px; position: relative; z-index: 1; }
.rv-hero-a .rv-btn { height: 38px; border-radius: 9px; font-size: 13px; }
.rv-hero-a .rv-btn.primary { padding: 0 12px 0 12px; gap: 5px; }
.rv-hero-a .rv-btn.primary .rv-i { width: 17px; height: 17px; stroke-width: 1.6; }
.rv-hero-a .rv-btn:not(.primary) { gap: 6px; padding: 0 11px 0 10px; border-color: #2c3138; background: #10151b; }
.rv-hero-a .rv-btn:not(.primary) .rv-i { width: 18px; height: 18px; stroke-width: 1.7; }
.rv-hero-art { position: absolute; right: 53px; top: 37px; display: block; width: 168px; height: 172px; pointer-events: none; }
.rv-hero-art img { display: block; width: 168px; height: 172px; }
.rv-hero-st { display: flex; align-items: center; gap: 0; height: 51px; padding: 0 29px 1px; border-top: 1px solid #14171e; background: #0a0f15; color: #a4abb6; font: 400 11px/1 var(--rv-font); }
.rv-hero-st > span { display: inline-flex; align-items: center; gap: 6px; margin-right: 27px; }
.rv-hero-st b { display: inline-block; color: #fff; font: 700 15px/1 var(--rv-font); letter-spacing: -0.01em; }
.rv-hero-st .rv-dot { width: 5px; height: 5px; margin-right: 6px; }
.rv-sk { display: inline-block; min-width: 120px; border-radius: 6px; background: #151a24; color: transparent; }

.rv-wbal { position: relative; display: flex; flex-direction: column; height: 263px; padding: 0 22px; border: 1px solid #262930; border-radius: 14px; background: #0d1017; }
.rv-wbal .rv-card-h { height: 20px; margin-top: 18px; }
.rv-wbal h2 { margin: 0; color: #fff; font: 600 13.2px/20px var(--rv-font); letter-spacing: -0.01em; }
.rv-wbal-u { color: #89909e; font: 400 10px/1 var(--rv-font); }
.rv-wbal-v { display: flex; align-items: baseline; gap: 0; margin-top: 13px; color: #fff; font: 700 28px/34px var(--rv-font); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.rv-wbal-v .rv-wbal-sol { align-self: center; width: 22px; height: 19px; margin: 1px 10px 0 0; }
.rv-wbal-v > span[role] { margin-left: 4px; color: #a0a2b5; font: 400 10.5px/1 var(--rv-font); letter-spacing: 0; }
.rv-wbal-v .rv-sk-v { min-width: 110px; height: 26px; }
.rv-wbal-m { display: flex; align-items: center; gap: 24px; margin-top: 8px; padding-top: 7px; }
.rv-donut { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; flex: none; width: 82px; height: 82px; margin-left: 9px; }
.rv-donut svg { position: absolute; inset: 0; }
.rv-donut-n { position: relative; top: -2px; color: #fff; font: 700 15px/1 var(--rv-font); }
.rv-donut-l { position: relative; top: -1px; color: #c4c8d0; font: 500 7.5px/1 var(--rv-font); }
.rv-wbal-rows { flex: 1; display: flex; flex-direction: column; }
.rv-wbal-r { display: flex; align-items: center; gap: 0; height: 34px; color: #aaaeba; font: 400 11px/1 var(--rv-font); }
.rv-wbal-r + .rv-wbal-r { border-top: 1px solid #24272e; }
.rv-wbal-r .rv-dot { width: 5px; height: 5px; margin-right: 8px; border-radius: 1px; }
.rv-wbal-r > span:last-child { margin-left: auto; color: #fff; font-weight: 700; }
.rv-wbal-a { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: auto; padding: 14px 0 13px; border-top: 1px solid #272c32; }
.rv-wbal-a .rv-btn { height: 37px; gap: 9px; border-color: #2d3238; background: #10151b; border-radius: 9px; font-size: 13.5px; }
.rv-wbal-a .rv-btn .rv-i { width: 15px; height: 15px; stroke-width: 1.9; }
.rv-wbal-e { margin-top: 30px; }

/* row 2: Your launches + the side column */
.rv-hrow2 { display: grid; grid-template-columns: minmax(0, 680fr) minmax(320px, 400fr); gap: 22px; margin-top: 23px; align-items: start; }
.rv-launches { min-width: 0; }
.rv-sec-h { display: flex; align-items: center; justify-content: space-between; height: 36px; margin-top: 0; }
.rv-sec-h h2 { display: flex; align-items: center; gap: 14px; margin: 0; color: #fff; font: 600 13.5px/1 var(--rv-font); letter-spacing: -0.015em; }
.rv-sec-n { color: #9ea0a7; font: 400 10.5px/1 var(--rv-font); }
.rv-sec-h .rv-link { gap: 4px; margin-right: -3px; font-size: 13px; letter-spacing: -0.01em; }
.rv-sec-h .rv-link .rv-i { width: 18px; height: 18px; stroke-width: 1.5; }
.rv-lbar { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
.rv-lbar .rv-seg { height: 34px; padding: 3px; gap: 2px; border-color: #2a2d36; border-radius: 6px; }
.rv-lbar .rv-seg > button { padding: 0 10px; font-size: 11px; border-radius: 4px; color: #a4a7b0; }
.rv-lbar .rv-seg > button[aria-pressed="true"] { background: #1c2540; color: #d2e6ff; }
.rv-lsearch { width: 213px; height: 33px; padding: 0 10px; gap: 7px; border-color: #282b33; border-radius: 6px; background: #08090e; }
.rv-lsearch input { font-size: 13px; }
.rv-lsearch input::placeholder { color: #9fa4b0; }
.rv-lsearch .rv-i { width: 12px; height: 12px; stroke-width: 2.2; color: #9fa4b0; }
.rv-tblw { position: relative; margin-top: 12px; max-height: 466px; overflow-y: auto; border-top: 1px solid #25292c; }
.rv-noscroll .rv-tblw { padding-right: 10px; }
.rv-ltbl { table-layout: fixed; }
.rv-ltbl th { height: 37px; padding: 0 10px; font-size: 11px; color: #9aa1ab; border-bottom: 1px solid #2c2d32; background: #0a0d12; }
.rv-ltbl th:nth-child(1) { width: 260px; } .rv-ltbl th:nth-child(2) { width: 174px; } .rv-ltbl th:nth-child(3) { width: 150px; }
.rv-ltbl td { height: 56px; padding: 0 10px; border-bottom: 1px solid #202328; }
.rv-ltbl tbody tr:nth-child(even) td { background: #0a0e17; }
.rv-ltbl tbody tr:nth-child(even) td:first-child { background: #0e121b; }
.rv-ltbl tbody tr:hover td, .rv-ltbl tbody tr:nth-child(even):hover td:first-child { background: #121620; }
.rv-tok { display: flex; align-items: center; gap: 9px; min-width: 0; }
.rv-tok-av { width: 30px; height: 30px; }
.rv-tok-t { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.rv-tok-n { display: block; color: #fff; font: 600 12.5px/1.1 var(--rv-font); letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rv-tok-ca { margin-left: 6px; color: #8b93a3; font: 500 9.5px/1 var(--rv-mono); text-decoration: none; }
.rv-tok-ca:hover { color: var(--rv-text); }
.rv-tok-cp { display: inline-grid; place-items: center; width: 16px; height: 14px; margin-left: 2px; padding: 0; border: 0; background: transparent; color: #8b93a3; vertical-align: -3px; cursor: pointer; }
.rv-tok-cp:hover { color: var(--rv-text); }
.rv-tok-s { display: block; color: #8b93a3; font: 400 10px/1.1 var(--rv-font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rv-exec { position: relative; top: 2px; display: inline-flex; align-items: center; gap: 5px; color: #bec8cd; font: 500 12.5px/1 var(--rv-font); letter-spacing: 0.01em; }
.rv-exec > span { display: inline-block; }
.rv-exec .rv-i { position: relative; top: 1px; width: 13px; height: 13px; stroke-width: 1.8; color: #9aa3b5; }
.rv-ltbl .rv-tag { height: 20px; padding: 0 7px; border-radius: 4px; background: #1e2537; color: #aab5cb; font-size: 10px; font-weight: 500; }
.rv-ltbl .rv-tag.ok { background: #13302a; color: #6fd6b5; }
.rv-go { padding-left: 11px !important; text-align: left; }
.rv-go-b { display: inline-grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: #d4d8e0; cursor: pointer; }
.rv-go-b:hover { background: #1a1f2a; }
.rv-go-b .rv-i { width: 13px; height: 13px; stroke-width: 2; }
.rv-skr .rv-sk { height: 10px; min-width: 70px; } .rv-skr .rv-sk-l { min-width: 140px; }
.rv-tbl-e { margin: 16px 10px; color: var(--rv-text-2); font: 400 12px/1.5 var(--rv-font); }

.rv-hside { display: flex; flex-direction: column; gap: 17px; min-width: 0; }
.rv-recent { height: 241px; padding: 20px 18px 0 18px; border-color: #262930; background: #0b0e13; }
.rv-recent .rv-card-h { height: 34px; }
.rv-recent h2, .rv-cfc h2 { margin: 0; color: #fff; font: 600 13px/1 var(--rv-font); letter-spacing: -0.01em; }
.rv-recent .rv-va { font-size: 13px; }
.rv-recent-e { margin-top: 39px; }
.rv-recent-e .rv-empty-ico { width: 34px; height: 34px; margin-bottom: 7px; color: #9fb0ff; }
.rv-recent-e .rv-empty-ico .rv-i { width: 32px; height: 32px; stroke-width: 1.5; }
.rv-empty-t { display: block; color: #fff; font: 600 12px/1.4 var(--rv-font); letter-spacing: -0.005em; }
.rv-recent-e p { max-width: 260px; margin-top: -1px; color: #959baa; font: 400 11px/19px var(--rv-font); letter-spacing: -0.02em; }
.rv-acts-l { display: grid; gap: 2px; margin: 10px 0 0; padding: 0; list-style: none; }
.rv-acts-l li { display: flex; align-items: center; gap: 10px; height: 38px; border-bottom: 1px solid #1a1d23; color: var(--rv-text); font: 500 12px/1 var(--rv-font); }
.rv-acts-w { flex: 1; text-transform: capitalize; }
.rv-acts-t { color: var(--rv-text-3); font-size: 11px; }
.rv-promo { position: relative; height: 200px; padding: 22px 21px; overflow: hidden; border: 1px solid #22293a; border-radius: 14px; background: linear-gradient(90deg, #0d121a 0%, #0e1420 45%, #142036 100%); }
.rv-promo h2 { margin: 0; color: #fff; font: 600 15px/20px var(--rv-font); letter-spacing: -0.025em; }
.rv-promo p { max-width: 205px; margin: 7px 0 0; color: #9faac0; font: 400 11.5px/18px var(--rv-font); }
.rv-promo-b { position: relative; z-index: 1; height: 32px; margin-top: 24px; padding: 0 12px; gap: 8px; border-color: #2b3550; background: rgba(16, 22, 36, .8); font-size: 12px; }
.rv-promo-b .rv-i { width: 12px; height: 12px; }
.rv-promo-art { position: absolute; left: 251px; top: 12px; width: 142px; height: 141px; pointer-events: none; }
.rv-cfc { padding: 16px 18px; border-color: #262930; background: #0b0e13; }
.rv-cfc .mk-cf { border: 0; padding: 0; background: transparent; }

/* Performance */
.rv-pbar { display: grid; grid-template-columns: auto auto auto 1fr auto auto auto; grid-template-areas: "l1 l2 l3 sp r0 r1 r2"; gap: 8px; align-items: center; margin-top: 28px; }
.rv-pbar .rv-btn { height: 38px; padding: 0 14px; border-radius: 9px; border-color: #2c3038; background: #0c0f14; font: 500 13px/1 var(--rv-font); }
.rv-pbar .rv-select { height: 42px; border-radius: 10px; border-color: #2c3038; background-color: #08090c; background-position: right 10px center; padding-left: 17px; font-size: 13px; min-width: 128px; }
.rv-pb-r0 { grid-area: r0; width: 38px; padding: 0 !important; } .rv-pb-r0 .rv-i { width: 15px; height: 15px; } .rv-pb-r1 { grid-area: r1; } .rv-pb-r2 { grid-area: r2; } .rv-pb-l1 { grid-area: l1; } .rv-pb-l2 { grid-area: l2; } .rv-pb-l3 { grid-area: l3; }
.rv-kpis { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 26px; border: 1px solid #262930; border-radius: 8px; background: #0b0e13; }
.rv-kpi { display: grid; align-content: start; gap: 0; height: 113px; padding: 16px 20px 14px; color: #8f96a3; font: 400 12px/1 var(--rv-font); }
.rv-kpi + .rv-kpi { border-left: 1px solid #262930; }
.rv-kpi > span { color: #c5c9d1; font-size: 12px; }
.rv-kpi strong { margin-top: 17px; color: #fff; font: 700 26px/30px var(--rv-font); letter-spacing: -0.02em; }
.rv-kpi em, .rv-kpi .rv-kpi-c { margin-top: 11px; font-style: normal; font-size: 12px; color: #8f96a3; }
.rv-prow { display: grid; grid-template-columns: minmax(0, 764fr) minmax(300px, 320fr); gap: 18px; margin-top: 18px; align-items: start; }
.rv-pchart { padding: 0; overflow: hidden; border-color: #262930; border-radius: 8px; }
.rv-pchart-h { height: 64px; padding: 2px 20px 0; border-bottom: 1px solid #22252c; }
.rv-pchart-h h2, .rv-cal h2, .rv-ref h2 { margin: 0; color: #fff; font: 600 13.5px/1 var(--rv-font); letter-spacing: -0.01em; }
.rv-pchart-h .rv-pmode { margin-left: auto; margin-right: 12px; height: 30px; }
.rv-pchart-b { position: relative; padding: 15px 20px 12px; outline: none; }
.rv-pc-k { display: block; color: #c8ccd4; font: 500 9.5px/1 var(--rv-font); }
.rv-pc-v { display: inline-block; margin-top: 9px; color: #fff; font: 700 22px/26px var(--rv-font); letter-spacing: -0.02em; }
.rv-pc-c { display: inline-flex; align-items: center; height: 20px; margin-left: 14px; padding: 0 7px; border: 1px solid #1f5a49; border-radius: 3px; background: #0f2a22; color: #5ad3a8; font: 500 8.5px/1 var(--rv-mono); vertical-align: 5px; }
.rv-pc-c.dn { border-color: #5a2236; background: #2a111b; color: #e5708f; }
/* the plot: the grid area (svg) 193px tall, 62px under the headline, then the 48px volume band under its baseline; the y
   labels and VOL in a column 16px right of the plot (rivect states/home-performance) */
.rv-pc-plot { position: relative; height: 241px; margin: 62px 66px 0 6px; }
.rv-pc-plot::after { content: ""; position: absolute; left: 0; right: 0; bottom: 47px; border-top: 1px solid #22262e; pointer-events: none; }
.rv-pc-plot svg { position: absolute; inset: 0 0 48px 0; width: 100%; height: calc(100% - 48px); overflow: visible; }
.rv-pc-plot svg .g { stroke: #2a2f3a; stroke-width: 1; stroke-dasharray: 2 5; vector-effect: non-scaling-stroke; }
.rv-pc-plot svg .l { fill: none; stroke: #5b78f0; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.rv-pc-plot svg .p { fill: #5b78f0; opacity: 0; } .rv-pc-plot svg .p.on { opacity: 1; } .rv-pc-plot svg .p.neg { fill: var(--rv-danger); }
.rv-pc-y { position: absolute; left: calc(100% + 16px); transform: translateY(-50%); color: #8b93a3; font: 500 8.5px/1 var(--rv-mono); }
.rv-pc-vol { position: absolute; left: calc(100% + 16px); bottom: 6px; color: #7d8494; font: 500 7.5px/1 var(--rv-mono); }
.rv-pc-e { position: absolute; inset: 0 0 48px 0; display: grid; place-items: center; color: var(--rv-text-3); font: 500 12px/1.4 var(--rv-font); pointer-events: none; }
.rv-pc-tip { position: absolute; top: 60px; z-index: 5; width: 230px; padding: 10px 12px; border: 1px solid #2f3440; border-radius: 10px; background: #141820; box-shadow: var(--rv-shadow); font: 400 11px/1.45 var(--rv-font); color: var(--rv-text-2); }
.rv-pc-tip b { display: block; color: #fff; font-size: 12px; } .rv-pc-tip b span { color: var(--rv-text-3); font-weight: 500; }
.rv-pc-tip dl { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; margin: 6px 0; } .rv-pc-tip dd { margin: 0; text-align: right; color: #fff; }
.rv-pc-tip em { color: var(--rv-text-3); font-style: normal; }
.rv-pc-n { margin: 0 20px 14px; color: var(--rv-text-3); font: 400 11px/1.4 var(--rv-font); }
.rv-moves { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 12px 20px 16px; border-top: 1px solid #22252c; }
.rv-moves h3 { margin: 0 0 6px; color: var(--rv-text-2); font: 600 11px/1 var(--rv-font); }
.rv-moves ul { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.rv-mv { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 6px 8px; border: 0; border-radius: 6px; background: transparent; color: var(--rv-text); text-align: left; cursor: pointer; }
.rv-mv:hover { background: #141820; } .rv-mv small { display: block; color: var(--rv-text-3); font-size: 10.5px; }
.rv-pside { display: flex; flex-direction: column; gap: 18px; }
.rv-cal { padding: 0; overflow: hidden; border-color: #262930; border-radius: 8px; }
.rv-cal .rv-card-h { height: 64px; padding: 2px 20px 0; border-bottom: 1px solid #22252c; }
/* 39 x 42px day cells, 4px apart: the day on the first line, the day's P&L on the second (empty without a result);
   a month of 29+ days takes a fifth row */
.rv-cal-g { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; padding: 12px; }
.rv-cal-d { display: grid; justify-items: center; align-content: start; gap: 10px; height: 42px; padding: 7px 0 0; border: 1px solid #2a3233; border-radius: 4px; background: #0f1a19; color: #d2dbd8; font: 500 10.5px/1 var(--rv-mono); cursor: pointer; }
.rv-cal-d > span { color: #d8dde3; font-size: 9px; }
.rv-cal-d.nil { border-color: #1d2127; background: #0d1015; color: var(--rv-text-3); }
.rv-cal-d.dn { border-color: #4a2333; background: #24121b; color: #f3a1b6; }
.rv-ref { padding: 0 0 18px; overflow: hidden; border-color: #262930; border-radius: 8px; text-align: center; }
.rv-ref .rv-card-h { height: 64px; padding: 2px 20px 0; border-bottom: 1px solid #22252c; text-align: left; }
.rv-ref-n { display: block; margin-top: 18px; color: #c5ceff; font: 600 26px/30px var(--rv-font); }
.rv-ref p { margin: 6px 0 0; color: #c9cdd6; font: 400 12px/1.4 var(--rv-font); }
.rv-ref-a { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.rv-ref .rv-na-note { margin-top: 10px; }

/* ---------------------------------------------------------------- Workspace tools + Find a token (the dialog frame is
   rv.css .rv-dlg): 620px wide; the search field takes the 2px focus ring; page cards in two 274px columns (gap 7) */
.rv-wt .rv-dlg { height: 686px; }
.rv-ft .rv-dlg { height: 852px; }
.rv-dlg-h { padding: 0 23px 0 24px; gap: 23px; }
.rv-dlg-ico { border-color: #232c45; background: #0f1527; color: #b9c4f7; }
.rv-dlg-ico .rv-i { width: 19px; height: 19px; }
.rv-dlg-h h2 { font-size: 17px; }
.rv-dlg-h .rv-x { color: #b8bcc7; }
.rv-dlg-h .rv-x .rv-i { width: 16px; height: 16px; stroke-width: 2.2; }
.rv-wt-s, .rv-ft-s { flex: none; padding: 31px 24px 0; }
.rv-wt-in { display: block; width: 100%; height: 40px; padding: 0 13px; border: 1px solid #2b2e37; border-radius: 9px; outline: none; background: #12151c; color: var(--rv-text); font: 400 13.5px/1 var(--rv-font); }
.rv-wt-in::placeholder { color: #9aa0ad; opacity: 1; }
.rv-wt-in:focus { outline: 2px solid #b0b2eb; outline-offset: 3px; }
.rv-wt .rv-dlg-b, .rv-ft .rv-dlg-b { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
/* the list is inset 24px from the dialog's right and bottom edges and carries the 15px (wide) scrollbar: cards in two
   274px columns from x+24; the drawn bar (rv-sb.js) takes the same 15px where the system hides scrollbars */
.rv-wt-list { flex: 1; min-height: 0; margin: 18px 24px 24px 0; padding: 0 var(--rv-sbg-w) 4px 24px; overflow-y: auto; scrollbar-width: auto; }
.rv-wt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.rv-tcard { display: flex; align-items: center; gap: 0; min-height: 67px; padding: 14px 14px 14px 13px; border: 1px solid #2e323b; border-radius: 8px; background: #12161f; color: var(--rv-text); text-align: left; cursor: pointer; }
.rv-tcard:hover { border-color: #414756; background: #151a24; }
.rv-tcard-i { display: grid; place-items: center; flex: none; width: 18px; margin-right: 12px; color: #b5c0f2; }
.rv-tcard-i .rv-i { width: 17px; height: 17px; stroke-width: 1.6; }
.rv-tcard-t { flex: 1; min-width: 0; }
.rv-tcard-n { display: block; color: #fff; font: 700 13px/14px var(--rv-font); letter-spacing: -0.01em; }
.rv-tcard-d { display: block; margin-top: 5px; color: #a8aebb; font: 400 11.5px/18px var(--rv-font); letter-spacing: -0.015em; }
.rv-tcard-a { flex: none; align-self: center; margin-left: 10px; color: #8e939c; font: normal 400 11px/1 var(--rv-font); }
.rv-tcard-b { display: inline-grid; place-items: center; min-width: 16px; height: 16px; margin-left: 6px; padding: 0 4px; border-radius: 8px; background: var(--rv-accent); color: #fff; font: 600 10px/1 var(--rv-font); font-style: normal; vertical-align: 1px; }
.rv-wt-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 7px; }
.rv-trow { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; border: 1px solid #262a33; border-radius: 8px; background: #10141c; color: var(--rv-text); text-align: left; cursor: pointer; }
.rv-trow:hover { border-color: #3a404d; }
.rv-trow-n { flex: 1; min-width: 0; font: 600 12.5px/1 var(--rv-font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rv-trow-s { color: #8d93a0; font: 400 11px/1 var(--rv-font); }
.rv-trow-a { color: #8e939c; font-style: normal; }
.rv-wt-sec { margin: 0 0 8px; color: var(--rv-text-3); font: 600 11px/1 var(--rv-font); }
.rv-wt-launches:not(:empty) { display: grid; gap: 6px; margin-bottom: 12px; }
.rv-wt-none { margin: 18px 4px; color: var(--rv-text-3); font: 400 12px/1.4 var(--rv-font); }
[data-rv-na].rv-tcard, [data-rv-na].rv-trow { opacity: .72; }

/* Find a token: the whole body scrolls (thin bar at the dialog's right edge); rows 37px in from both sides */
.rv-ft-s { padding-top: 31px; padding-right: calc(24px + var(--rv-sbg)); }
.rv-ft .rv-dlg-b { overflow-y: auto; display: block; }
.rv-ft-list { display: grid; gap: 4px; margin-top: 7px; padding: 0 calc(37px + var(--rv-sbg)) 0 37px; }
.rv-ftrow { display: flex; align-items: center; gap: 0; height: 63px; padding: 0 14px 0 12px; border: 1px solid #2d313a; border-radius: 8px; background: #131720; color: var(--rv-text); text-align: left; cursor: pointer; }
.rv-ftrow:hover { border-color: #414756; }
/* the token tile: a 37px rounded square; the token's image fills it (clipped by the tile), initials sit on a 33px disc */
.rv-ftrow-av { display: grid; place-items: center; flex: none; width: 37px; height: 37px; margin-right: 11px; overflow: hidden; border: 1px solid #393a3f; border-radius: 9px; background: #222226; color: #acabb0; font: 600 14px/1 var(--rv-font); }
.rv-ftrow-av img, .rv-ftrow-av > span { width: 37px; height: 37px; max-width: none; border-radius: 50%; object-fit: cover; }
.rv-ftrow-av > i { display: grid; place-items: center; width: 33px; height: 33px; border: 1px solid #4b4c50; border-radius: 50%; background: #3c3b40; font-style: normal; }
.rv-ftrow-t { flex: 1; display: flex; flex-direction: column; gap: 8px; min-width: 0; margin-top: 0; }
.rv-ftrow-n { color: #e4e6eb; font: 600 12.5px/1.1 var(--rv-font); letter-spacing: -0.01em; }
.rv-ftrow-s { color: #a8adbb; font: 500 10px/1.1 var(--rv-font); letter-spacing: 0.04em; }
.rv-ftrow-a { color: #8e939c; font-style: normal; font-size: 10px; }
.rv-ft-none { margin: 10px 4px; color: var(--rv-text-3); font: 400 12px/1.4 var(--rv-font); }
.rv-ft-imp { margin: 34px calc(24px + var(--rv-sbg)) 24px 24px; padding-top: 19px; border-top: 1px solid #262930; }
.rv-ft-p { margin: 0 0 17px; color: #c3c7d0; font: 400 12.5px/1.4 var(--rv-font); }
.rv-ft-l { display: block; margin: 0 0 8px; color: #fff; font: 700 12.5px/1 var(--rv-font); }
.rv-ft-msg { min-height: 16px; margin: 6px 0 4px; color: var(--rv-text-3); font: 400 11.5px/1.4 var(--rv-font); }
.rv-ft-msg.err { color: var(--rv-danger-ink); }
.rv-ft-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rv-ft-row2 .rv-text-in:disabled { opacity: .55; cursor: not-allowed; }
.rv-ft-imp .rv-na-note { margin: 8px 0 0; }
.rv-ft-f { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }

/* ---------------------------------------------------------------- Create a launch (assets/rv-create.js; rivect
   before/create-launch): the Duplicate setup component (.tm-cl in rv-tool-modals.css: 620px frame, the 3 start cards,
   Start from / Wallets selects, the hint, Restore saved draft + Create project) with the dialog's own ids. Admins get
   a 4th start card (Autopilot = GigaTrader) in the same row. */
.tm-cl .tm-fld:has(#rv-cl-w) { margin-top: 15px; }
.rv-cl-4 .tm-cl-cards { grid-template-columns: repeat(4, 1fr); }
/* the review's start cards: an unselected card is the dialog's own fill, the selected one a neutral #232323 */
.rv-cl .tm-cl-card { background: transparent; }
.rv-cl .tm-cl-card.on { background: #232323; }
