/* Positions and account. Agent 5. */
[data-tile="positions"] .v2-body,
[data-tile="account"] .v2-body {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--v2-tile);
}
[data-tile="positions"] .v2-body.v2-empty,
[data-tile="account"] .v2-body.v2-empty {
  background: var(--v2-tile);
}
/* [05] ACCOUNT title never truncates; .x-fill + trailing controls absorb width. */
[data-tile="account"] .v2-hd > .v2-idx,
[data-tile="account"] .v2-hd > .x-pix,
[data-tile="account"] .v2-hd > span:not(.v2-acct-sp):not(.x-fill) {
  flex: 0 0 auto;
  min-width: max-content;
  overflow: visible;
  text-overflow: clip;
}
.v2-acct-sp {
  /* Yields to the switcher; JS hides the chip when flex leaves a 0–5px stub ("C"). */
  flex: 0 1 auto;
  margin-left: 0;
  color: inherit;
  min-width: 0;
  max-width: 12em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: var(--fs-pix-label, 12px);
  font-family: var(--pix, var(--mono));
  letter-spacing: 0;
}
/* Account kind descriptor (OKX / BingX / Wallet) stays whole; the box gives first. */
[data-tile="account"] .v2-hd > .v2-acct-sp {
  flex: 0 0 auto;
  color: var(--mute);
}
.v2-acct-sw {
  /* One fixed box for an exchange or a wallet, so the target never jumps.
     Title + idx stay fixed. Fill/descriptor yield first; label ellipsizes inside. */
  display: inline-flex;
  flex: 0 1 auto;
  width: 132px;
  max-width: 50%;
  height: 22px;
  min-height: 22px;
  min-width: 0;
  padding: 0 6px;
  margin-left: 0;
  justify-content: flex-start;
  align-items: center;
  gap: 0;
  overflow: hidden;
  box-shadow: none;
  background: var(--v2-tile);
  border: var(--v2-rule) solid var(--v2-line);
  color: var(--v2-text);
  font-family: var(--pix, var(--mono));
  font-size: var(--fs-pix-label, 12px);
  letter-spacing: 0;
  text-transform: uppercase;
}
/* Truncate network/label first (basis 0 → it never takes shrink); the short address
   ellipsizes only once the label is gone, so ▾ is never clipped (1280: box ~97px). */
.v2-acct-sw-lab {
  flex: 1 1 0%;
  text-align: left;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.v2-acct-sw-who {
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* ▾ is missing from Departure; keep caret on JetBrains 12. */
.v2-acct-sw-caret {
  flex: 0 0 auto;
  flex-shrink: 0;
  margin-left: 0.25em;
  font-family: var(--mono);
  font-size: var(--fs-12);
  font-weight: 400;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}
.v2-acct-sp + .v2-acct-sw {
  margin-left: 0;
}
/* .x-fill in the header strip pushes controls; keep auto only when fill is absent. */
.v2-hd > .v2-acct-sw:first-of-type {
  margin-left: 0;
}
.v2-hd:not(:has(.x-fill)) > .v2-acct-sp,
.v2-hd:not(:has(.x-fill)) > .v2-acct-sw:first-of-type {
  margin-left: auto;
}
.v2-acct-sw:hover,
.v2-acct-sw.on {
  background: var(--v2-rose);
  color: var(--ink);
  border-color: var(--v2-rose);
}
/* Titles no longer invert on hover — keep switcher readable. */
.v2-tile:hover > .v2-hd .v2-acct-sw {
  border-color: var(--line);
}
.v2-acct-pop {
  z-index: 96;
  max-height: 280px;
}
.v2-acct-pop .v2-pop-list button {
  grid-template-columns: minmax(0, 1fr) auto;
}
/* Wallet list: one row per connected wallet (pick + disconnect). Active row = inverted block. */
.v2-acct-wrow {
  display: flex;
  align-items: stretch;
  border-bottom: var(--v2-rule) solid var(--v2-line);
}
.v2-acct-pop .v2-pop-list .v2-acct-wrow > button {
  border-bottom: 0;
}
.v2-acct-pop .v2-pop-list .v2-acct-wpick {
  flex: 1 1 auto;
  min-width: 0;
  grid-template-columns: 16px minmax(0, 1fr) auto;
  gap: 8px;
}
.v2-acct-wpick span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.v2-acct-pop .v2-pop-list .v2-acct-wpick span:first-of-type {
  text-align: left;
}
.v2-acct-wpick .x-idn {
  width: 16px;
  height: 16px;
  shape-rendering: crispEdges;
}
.v2-acct-pop .v2-pop-list .v2-acct-cpick {
  grid-template-columns: 16px minmax(0, 1fr) auto auto;
}
.v2-acct-pop .v2-pop-list .v2-acct-cpick .x-tag {
  justify-self: start;
}
.v2-acct-pop .v2-pop-list .v2-acct-vadd {
  grid-template-columns: 16px minmax(0, 1fr) auto;
  gap: 8px;
}
.v2-acct-pop .v2-pop-list .v2-acct-rn,
.v2-acct-pop .v2-pop-list .v2-acct-wx {
  flex: 0 0 auto;
  width: auto;
  min-width: 30px;
  display: inline-flex;
  justify-content: center;
  padding: 0 8px;
  color: var(--v2-muted);
  border-left: var(--v2-rule) solid var(--v2-line);
  font-family: var(--pix, var(--mono));
  font-size: var(--fs-pix-label, 12px);
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: 0;
  text-transform: uppercase;
}
.v2-acct-pop .v2-pop-list .v2-acct-wx {
  flex-basis: 30px;
  width: 30px;
  padding: 0;
}
.v2-acct-wrow.on .v2-acct-rn,
.v2-acct-wrow.on .v2-acct-wx {
  background: var(--acc-hi);
  color: var(--ink);
  border-left-color: var(--ink);
}
.v2-acct-pop .v2-pop-list .v2-acct-rn:hover,
.v2-acct-pop .v2-pop-list .v2-acct-rn:focus-visible,
.v2-acct-pop .v2-pop-list .v2-acct-wx:hover,
.v2-acct-pop .v2-pop-list .v2-acct-wx:focus-visible {
  background: var(--bone);
  color: var(--ink);
}
.v2-acct-pop .v2-pop-list .v2-acct-wadd {
  color: var(--v2-muted);
}
.v2-acct-tabs {
  display: flex;
  flex: 0 0 auto;
  align-items: stretch;
  gap: 0;
  background: var(--bg);
  border: 0;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.v2-acct-tabs .v2-btn {
  flex: 0 0 auto;
  height: 33px;
  min-height: 33px;
  min-width: 0;
  padding: 0 12px;
  border: 0;
  border-right: 1px solid var(--line);
  box-shadow: none;
  background: transparent;
  color: var(--mute);
  font-family: var(--pix);
  font-size: var(--fs-pix-label);
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: 0;
  -webkit-font-smoothing: none;
  gap: 8px;
}
.v2-acct-tabs .v2-btn.on,
.v2-acct-tabs .v2-btn[aria-selected="true"] {
  position: relative;
  background: transparent;
  color: var(--tx);
  font-weight: 400;
  box-shadow: none;
}
.v2-acct-tabs .v2-btn.on::after,
.v2-acct-tabs .v2-btn[aria-selected="true"]::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 3px;
  background: var(--acc);
  pointer-events: none;
}
.v2-acct-tabs .x-fill {
  flex: 1 1 auto;
  min-width: 8px;
  background: var(--hatch);
  border-right: 1px solid var(--line);
}
.v2-acct-tabs .v2-acct-closeall {
  border-right: 0;
  margin-left: 0;
}
.v2-acct-tabs .x-cnt {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 4px;
  background: var(--acc-hi);
  color: var(--ink);
  font-family: var(--pix);
  font-size: var(--fs-pix-label);
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: 0;
  -webkit-font-smoothing: none;
}
.v2-acct-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  overflow-x: auto;
}
.v2-acct-empty {
  padding: 14px 10px;
  color: var(--v2-muted);
  letter-spacing: var(--v2-track-label);
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.v2-acct-empty b {
  color: var(--v2-text);
  font-weight: 700;
}
/* pu-6: empty positions pane: centered msg on plain tile (large area → no diagonal hatch) */
.v2-acct-empty--pos {
  height: 100%;
  min-height: 96px;
  place-items: center;
  align-content: center;
  justify-content: center;
  text-align: center;
  background: var(--v2-tile);
}
.v2-acct-empty--pos .x-msg {
  background: var(--tile);
  padding: 4px 8px;
  margin: 0;
}
.v2-acct-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-family: var(--mono);
  font-size: var(--fs-12);
  font-feature-settings: "zero" 1, "tnum" 1;
  font-variant-numeric: tabular-nums;
}
.v2-acct-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  text-align: left;
  color: var(--mute);
  font-family: var(--pix);
  font-size: var(--fs-pix-label);
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: 0;
  -webkit-font-smoothing: none;
  padding: 6px 8px;
  border-bottom: 1px solid var(--line);
  text-transform: uppercase;
  white-space: nowrap;
  background: var(--tile);
}
.v2-acct-table th.n {
  text-align: right;
}
.v2-acct-table td {
  padding: 6px 8px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  white-space: nowrap;
  background: transparent;
}
.v2-acct-table td.n {
  text-align: right;
}
.v2-acct-table .v2-act {
  width: 88px;
  padding: 0 8px;
  text-align: right;
}
.v2-acct-table tr.v2-pos-row {
  cursor: var(--cur-pointer);
  transition: background 80ms var(--st-1);
}
.v2-acct-table tr.v2-pos-row:hover td,
.v2-acct-table tr.v2-pos-row.on td {
  background: var(--alt);
}
/* Open Orders / Fills MARKET cell focuses that market (account.js, same handler as the position name). */
.v2-acct-table td[data-v2-ord-mkt],
.v2-acct-table td[data-v2-fill-mkt] {
  cursor: var(--cur-pointer);
}
.v2-acct-table td b {
  font-weight: 500;
  background: transparent;
}
/* pu-6: long/short = rose/bone; PnL cells + header chip = ok/crit */
.v2-acct-table .v2-lg {
  color: var(--acc-hi);
}
.v2-acct-table .v2-sh {
  color: var(--bone);
}
/* Side tags (kit .x-tag): positions/orders = inverted block, fills = outline. */
.v2-acct-table .x-tag {
  min-height: 20px;
}
.v2-acct-table .x-tag.v2-side-lg {
  --c: var(--acc);
}
.v2-acct-table .x-tag.v2-side-sh {
  --c: var(--bone);
}
.v2-acct-table tr.v2-pos-row td[data-col="pnl"].v2-up,
.v2-acct-table tr.v2-pos-row td[data-col="pnl"].v2-up .v2-pnl,
.v2-acct-table td.v2-up .v2-pnl,
.v2-acct-upnl b.v2-up {
  color: var(--ok);
}
.v2-acct-table tr.v2-pos-row td[data-col="pnl"].v2-dn,
.v2-acct-table tr.v2-pos-row td[data-col="pnl"].v2-dn .v2-pnl,
.v2-acct-table td.v2-dn .v2-pnl,
.v2-acct-upnl b.v2-dn {
  color: var(--crit-tx);
}
[data-tile="positions"] .v2-hd .v2-acct-sp.v2-pnl-up {
  color: var(--ok);
}
[data-tile="positions"] .v2-hd .v2-acct-sp.v2-pnl-dn {
  color: var(--crit-tx);
}
.v2-acct-table tr.v2-pos-detail td {
  padding: 0;
  background: var(--tile);
  cursor: var(--cur-default);
  white-space: normal;
}
/* Expanded position detail: one compact horizontal strip, not stacked leader rows. */
.v2-acct-table tr.v2-pos-detail .v2-receipt {
  border-bottom: 0;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 0;
}
.v2-acct-table tr.v2-pos-detail .v2-receipt > div {
  flex: 0 1 auto;
  justify-content: flex-start;
  gap: 8px;
  min-width: 0;
  padding: 0 16px;
  border-bottom: 0;
  border-left: 1px solid var(--line);
}
.v2-acct-table tr.v2-pos-detail .v2-receipt > div:first-child {
  padding-left: 0;
  border-left: 0;
}
.v2-acct-table tr.v2-pos-detail .v2-receipt > div:last-child {
  padding-bottom: 0;
}
.v2-acct-table tr.v2-pos-detail .v2-receipt .v2-lead {
  display: none;
}
.v2-acct-table tr.v2-pos-detail .v2-receipt b {
  max-width: none;
  text-align: left;
}
.v2-acct-table tr.v2-pos-detail .v2-receipt b.v2-up {
  color: var(--ok);
}
.v2-acct-table tr.v2-pos-detail .v2-receipt b.v2-dn {
  color: var(--crit-tx);
}
.v2-acct-act {
  height: 28px;
  min-height: 28px;
  width: auto;
  min-width: 64px;
  padding: 0 8px;
}
.v2-acct-act.sm {
  height: 26px;
  min-height: 26px;
}
.v2-acct-table .v2-side {
  width: 8px;
  height: 8px;
  display: inline-block;
  margin-right: 6px;
  vertical-align: middle;
}
.v2-acct-table .v2-side.v2-buy {
  background: var(--v2-buy);
}
.v2-acct-table .v2-side.v2-sell {
  background: var(--v2-sell);
}
.v2-muted {
  color: var(--mute);
}
.v2-liq {
  color: var(--acc-hi);
}
.v2-usage {
  color: var(--v2-muted);
  font-variant-numeric: tabular-nums;
}
.v2-acct-use-wrap[data-v2-usage-cells="1"] .v2-usage {
  color: var(--v2-risk-1);
}
.v2-acct-use-wrap[data-v2-usage-cells="2"] .v2-usage {
  color: var(--v2-risk-2);
}
.v2-acct-use-wrap[data-v2-usage-cells="3"] .v2-usage {
  color: var(--v2-risk-3);
}
.v2-acct-use-wrap[data-v2-usage-cells="4"] .v2-usage {
  color: var(--v2-risk-4);
}
.v2-acct-use-wrap[data-v2-usage-cells="5"] .v2-usage {
  color: var(--v2-risk-5);
}
.v2-acct-use-wrap[data-v2-usage-cells="6"] .v2-usage {
  color: var(--v2-risk-6);
}
.v2-acct-use-wrap[data-v2-usage-cells="7"] .v2-usage {
  color: var(--v2-risk-7);
}
.v2-acct-use-wrap[data-v2-usage-cells="8"] .v2-usage {
  color: var(--v2-risk-8);
}
.v2-acct-use-wrap[data-v2-usage-cells="9"] .v2-usage {
  color: var(--v2-risk-9);
}
.v2-acct-use-wrap[data-v2-usage-cells="10"] .v2-usage {
  color: var(--v2-risk-10);
}
.v2-segbar i.on:nth-child(1) {
  background: var(--v2-risk-1);
}
.v2-segbar i.on:nth-child(2) {
  background: var(--v2-risk-2);
}
.v2-segbar i.on:nth-child(3) {
  background: var(--v2-risk-3);
}
.v2-segbar i.on:nth-child(4) {
  background: var(--v2-risk-4);
}
.v2-segbar i.on:nth-child(5) {
  background: var(--v2-risk-5);
}
.v2-segbar i.on:nth-child(6) {
  background: var(--v2-risk-6);
}
.v2-segbar i.on:nth-child(7) {
  background: var(--v2-risk-7);
}
.v2-segbar i.on:nth-child(8) {
  background: var(--v2-risk-8);
}
.v2-segbar i.on:nth-child(9) {
  background: var(--v2-risk-9);
}
.v2-segbar i.on:nth-child(10) {
  background: var(--v2-risk-10);
}
.v2-pnl {
  margin-right: 6px;
}
.pshare {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--v2-muted);
  cursor: var(--cur-pointer);
  vertical-align: middle;
}
.pshare .i {
  width: 14px;
  height: 14px;
}
.pshare:hover {
  color: var(--acc-hi);
}
.v2-acct-body {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  box-sizing: border-box;
  /* Match .v2-hd horizontal padding (12px) so content lines up with the tile title. */
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  /* No inner scrollbar at common desktop heights — content fits the bottom strip. */
  overflow: hidden;
}
.v2-acct-preview {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  min-width: 0;
  min-height: 0;
  flex: 1 1 auto;
  box-sizing: border-box;
}
/* Desktop strip is a fixed height. With the uPnL row gone, spread the three
   remaining blocks so the tile does not end on a blank band. Phone bodies
   size to content, so this stays the 8px stack. CEX still has its own row. */
[data-tile="account"] .v2-acct-preview:not(:has(.v2-acct-upnl)) {
  justify-content: space-between;
}
.v2-acct-eq {
  width: 100%;
  min-width: 0;
  overflow: visible;
}
/* EQUITY label left, margin mode · leverage right (moved out of the header). */
.v2-acct-eq-hd {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}
.v2-acct-mode {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.v2-eq,
.v2-acct-body .x-fig {
  font-size: var(--fs-33);
  font-weight: 400;
  /* Departure at 33 clips against line-height:1; match tile header breathing room. */
  line-height: 1.25;
  background: transparent;
  overflow: visible;
}
.v2-sub {
  font-size: var(--v2-fs-sub);
}
.v2-acct-sub {
  display: flex;
  gap: 20px;
}
.v2-acct-use {
  display: flex;
  justify-content: space-between;
}
.v2-acct-body .v2-segbar {
  margin-top: 5px;
}
.v2-acct-kvs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  font-size: var(--fs-12);
}
.v2-acct-kvs > div {
  background: var(--bg);
  padding: 4px 8px;
  display: grid;
  min-width: 0;
  gap: 2px;
}
.v2-acct-kvs span {
  font-family: var(--pix);
  font-size: var(--fs-11);
  color: var(--mute);
  -webkit-font-smoothing: none;
  white-space: nowrap;
}
.v2-acct-kvs b {
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: transparent;
}
.v2-acct-upnl {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: var(--fs-12);
  width: 100%;
  min-width: 0;
}
.v2-acct-upnl b {
  font-weight: 500;
  background: transparent;
}
.v2-acct-use-wrap {
  width: 100%;
  min-width: 0;
}
.v2-sharepop {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 105;
  width: min(640px, calc(100vw - 24px));
  display: flex;
  flex-direction: column;
  background: var(--v2-tile);
  color: var(--v2-text);
  border: var(--v2-rule) solid var(--v2-rose);
  /* Lift off the terminal like x-mod (4px hard --acc shadow), and dim the page behind with
     the x-ov veil as a hard 0-blur spread: paint only, so outside pointerdown still closes. */
  box-shadow:
    var(--v2-shadow-4) var(--v2-rose),
    0 0 0 100vmax var(--v2-veil);
  outline: 0;
}
.v2-sharepop[hidden] {
  display: none;
}
.v2-sharepop > .v2-hd {
  flex: 0 0 var(--v2-hd-h);
}
/* Card is 1200×675; keep the ratio so the preview never letterboxes. */
.v2-sharepop > img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: var(--v2-bg);
  display: block;
  border-bottom: var(--v2-rule) solid var(--v2-line);
  image-rendering: auto;
}
.v2-share-mascot,
.v2-share-opts,
.v2-share-b {
  flex: 0 0 auto;
  border-top: 0;
}
.v2-share-mascot .v2-btn,
.v2-share-opts .v2-btn,
.v2-share-b .v2-btn {
  height: 30px;
  min-height: 30px;
  padding: 0 4px;
  font-size: var(--v2-fs-tag);
}
.v2-share-opts .v2-btn:disabled {
  color: var(--v2-muted);
  opacity: 0.45;
}
.v2-share-opts .v2-btn:disabled:hover {
  background: var(--v2-tile);
  color: var(--v2-muted);
}
/* Expanded position detail: TP and SL as two inline kit fields (k.field), edited in place. */
.v2-acct-table tr.v2-pos-detail .v2-receipt > div.v2-pos-tpsl {
  align-items: center;
  gap: 8px;
}
.v2-acct-table tr.v2-pos-detail .v2-tpsl-f {
  width: 160px;
  min-width: 0;
}
.v2-acct-table tr.v2-pos-detail .v2-tpsl-f .v2-lbl {
  flex: 0 0 auto;
}
.v2-acct-table tr.v2-pos-detail .v2-tpsl-f .v2-unit:empty {
  display: none;
}
/* Positions header: drag a column header onto another to reorder (desktop). */
.v2-acct-table th[data-v2-col] {
  cursor: grab;
}
.v2-acct-table th.v2-col-drag {
  color: var(--acc-hi);
}
.v2-acct-table th.v2-col-drop {
  box-shadow: inset 2px 0 0 var(--acc);
}
/* Positions sort: PNL / SIZE headers are buttons; active one is --acc with a pixel chevron (down = desc). */
.v2-acct-table th .v2-sort {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
}
.v2-acct-table th .v2-sort:hover,
.v2-acct-table th .v2-sort.on {
  color: var(--acc-hi);
}
.v2-acct-table th .v2-sort:focus-visible {
  outline: 1px solid var(--acc);
  outline-offset: 2px;
}
.v2-acct-table th .v2-sort-ico {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
}
.v2-acct-table th .v2-sort-ico.up {
  transform: scaleY(-1);
}
.v2-acct-table td.v2-act .v2-be-btn {
  min-width: 44px;
  margin-right: 4px;
}
/* Kit block caret sits at the end of the right-aligned value (same as the ticket fields), not at the left edge. */
.v2-acct-table tr.v2-pos-detail .v2-tpsl-f .x-car {
  position: absolute;
  left: auto;
  right: 12px;
}
.v2-acct-table tr.v2-pos-detail .v2-tpsl-f input:focus {
  padding-right: 12px;
}

/* Positions CLOSE popup (closepop.js). Shell = adjust-leverage modal (.v2-lev-mod, ticket.css). */
.v2-cpop .v2-seg {
  border-top: 0;
}
.v2-cpop .v2-seg .v2-btn {
  min-height: 44px;
}
.v2-cpop .v2-cpop-px[hidden] {
  display: none;
}
.v2-cpop .x-kv b.v2-up {
  color: var(--ok);
}
.v2-cpop .x-kv b.v2-dn {
  color: var(--crit-tx);
}
/* Close % bar: ticket power bar, 44px cells (tap target), rose outline while dragging. */
.v2-cpop .v2-cpop-bar {
  border-bottom: 0;
}
.v2-cpop .v2-cpop-bar i {
  height: 44px;
}
.v2-cpop .v2-cpop-bar:focus-visible,
.v2-cpop .v2-cpop-bar.drag {
  outline: 1px solid var(--acc);
  outline-offset: -1px;
}
/* Bolt (size every position by ±%) and CLOSE ALL: one group at the strip's end. */
.v2-acct-tabs .v2-acct-all {
  display: flex;
  flex: 0 0 auto;
  align-items: stretch;
}
.v2-acct-tabs .v2-acct-sizeall {
  width: 33px;
  padding: 0;
  justify-content: center;
}
.v2-acct-tabs .v2-acct-sizeall svg {
  width: 16px;
  height: 16px;
}
/* Per-position bolt, left of BE (table rows and card footers): an icon square. */
.v2-size-btn {
  justify-content: center;
}
.v2-size-btn svg {
  width: 12px;
  height: 12px;
}
/* An icon-only button sits on its bottom edge, a text one on its text: align the row's actions on the middle. */
.v2-acct-table td.v2-act .v2-acct-act {
  vertical-align: middle;
}
.v2-acct-table td.v2-act .v2-size-btn {
  width: 28px;
  min-width: 28px;
  padding: 0;
  margin-right: 4px;
}
