/* ============================================================================
   Vibe Dashboard v2 — app shell + shared component kit
   Ported from _specs/dashboard-v2-ref.vibe/Vibe Dashboard.dc.html. Every class
   here reads styles/vibe-tokens.css vars — never hardcode hex. Two sections:

   1. SHELL — the sidebar (.v2-aside = 72px .v2-rail + 236px .v2-panel, D8)
      + content column (.v2-main/.v2-content), consumed once by src/dashboard/app.jsx.
   2. KIT — reusable card/table/button/badge primitives every v2 screen
      builds on. Class names below are the contract other screens reuse
      verbatim; don't rename without updating every screen.
   ============================================================================ */

/* ---------------------------------------------------------------------------
   1. SHELL
   --------------------------------------------------------------------------- */

.v2-app {
  /* D8 E1 (mock2/Vibe.dc.html), derived from tokens: rail #070A20 is the
     aside colour at 80% toward black (exact); the tip bubble (#1B2238) reads
     the card surface; the active rail item is the brand blue at 14%. */
  --v-rail: color-mix(in srgb, var(--v-aside) 80%, black);
  --v-rail-tip: var(--v-surface);
  --v-rail-active: color-mix(in srgb, var(--v-blue) 14%, transparent);
  --v-rail-w: var(--v-aside-w-collapsed);
  --v-rail-w-wide: 208px;
  --v-panel-w: min(236px, calc(88vw - 72px));
  display: flex;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: var(--v-bg);
}

/* ---- D8 E1: sidebar = icon rail + section panel ----
   Three desktop states: rail + panel (default), rail only (.is-collapsed)
   and the 208px wide rail with inline labels and no panel (.is-wide). */
.v2-aside {
  flex-shrink: 0;
  display: flex;
  border-right: 1px solid var(--v-border-soft);
  background: var(--v-aside);
}
.v2-topbar { display: none; }

.v2-rail {
  width: var(--v-rail-w);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 18px 0 14px;
  box-sizing: border-box;
  background: var(--v-rail);
  border-right: 1px solid rgba(255, 255, 255, .05);
  overflow: hidden auto;
  scrollbar-width: none;
  transition: width .2s ease;
}
.v2-rail::-webkit-scrollbar { display: none; }
.v2-aside.is-wide .v2-rail { width: var(--v-rail-w-wide); }
.v2-rail-logo { display: flex; margin-bottom: 12px; }
.v2-rail-groups { display: flex; flex-direction: column; align-items: center; gap: 4px; }

/* E9: mascot logo tile (vibe-icon.svg on the logo blue, 36px, radius 10). */
.v2-mascot-tile {
  position: relative;
  display: block;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 10px;
  background: var(--v-logo-blue);
  overflow: hidden;
}
.v2-mascot-tile img { position: absolute; left: 6px; top: 7px; width: 24px; height: 22px; display: block; }
/* E9: mascot avatar — the wallet's default avatar, round, on the logo blue. */
.v2-mascot-avatar {
  position: relative;
  display: block;
  width: 36px;
  height: 36px;
  border-radius: var(--v-r-pill);
  background: var(--v-logo-blue);
  overflow: hidden;
}
.v2-mascot-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.v2-mascot-avatar img.is-mark { inset: auto; left: 7px; top: 8px; width: 22px; height: 20px; }

.v2-rail-item,
.v2-rail-toggle {
  position: relative;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 0 0 12px;
  box-sizing: border-box;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--v-text-2);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: width .2s ease;
}
.v2-aside.is-wide .v2-rail-item,
.v2-aside.is-wide .v2-rail-toggle { width: 184px; }
.v2-rail-item:hover { color: var(--v-text); }
.v2-rail-item.active { background: var(--v-rail-active); color: var(--v-link); }
.v2-rail-icon { display: flex; flex-shrink: 0; }
.v2-rail-icon svg { display: block; width: 19px; height: 19px; }
.v2-rail-label { font-family: var(--v-font-nav); font-size: 14px; font-weight: 600; white-space: nowrap; }
/* Unread dots: pink on Overview (unused invites), blue on More (What's new). */
.v2-rail-dot { position: absolute; top: 9px; left: 28px; width: 7px; height: 7px; border-radius: var(--v-r-pill); }
.v2-rail-dot.is-pink { background: var(--v-pink); }
.v2-rail-dot.is-blue { background: var(--v-link); }
.v2-rail-toggle { height: 40px; margin-top: 6px; border: 1px dashed rgba(255, 255, 255, .1); color: var(--v-text-3); }
.v2-rail-toggle:hover { color: var(--v-text); background: rgba(255, 255, 255, .04); }
.v2-rail-toggle .v2-rail-icon svg { width: 18px; height: 18px; transition: transform .2s ease; }
.v2-aside.is-wide .v2-rail-toggle .v2-rail-icon svg { transform: rotate(180deg); }
.v2-rail-toggle .v2-rail-label { font-size: 13px; font-weight: 500; }
.v2-rail-spacer { flex: 1; min-height: 8px; }
.v2-rail-btn {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--v-text-3);
  cursor: pointer;
}
.v2-rail-btn:hover { background: rgba(255, 255, 255, .04); color: var(--v-text-2); }
.v2-rail-btn .v2-rail-icon svg { width: 18px; height: 18px; }
.v2-aside.is-collapsed .v2-rail-collapse .v2-rail-icon svg { transform: scaleX(-1); }
/* Collapsed rail: the minimized confirm-wallet card becomes an amber chip. */
.v2-rail-chip {
  position: relative;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  border-radius: 10px;
  border: 1px solid var(--v-border-amber);
  background: rgba(224, 162, 60, .1);
  color: var(--v-amber);
}
.v2-rail-chip:hover { background: rgba(224, 162, 60, .16); }
.v2-rail-chip-icon { display: flex; }
.v2-rail-chip-icon svg { width: 18px; height: 18px; display: block; }
.v2-rail-chip .v2-action-card-dot { position: absolute; top: 7px; right: 7px; }
.v2-rail-divider { width: 32px; height: 1px; flex-shrink: 0; margin: 4px 0 6px; background: rgba(255, 255, 255, .07); }
.v2-rail-avatar { display: block; flex-shrink: 0; border-radius: var(--v-r-pill); }
.v2-rail-item:focus-visible,
.v2-rail-toggle:focus-visible,
.v2-rail-btn:focus-visible,
.v2-rail-chip:focus-visible,
.v2-rail-avatar:focus-visible { outline: 2px solid var(--v-blue); outline-offset: 2px; }

/* One tooltip bubble for the rail (#1B2238, left arrow, Poppins 12.5/600).
   app.jsx positions it at the hovered item's vertical centre. */
.v2-rail-tip {
  position: fixed;
  z-index: 400;
  display: flex;
  align-items: center;
  transform: translateY(-50%);
  pointer-events: none;
}
.v2-rail-tip-arrow { width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-right: 5px solid var(--v-rail-tip); }
.v2-rail-tip-label {
  padding: 7px 11px;
  border-radius: 8px;
  border: 1px solid var(--v-border-well);
  background: var(--v-rail-tip);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .45);
  color: var(--v-text);
  font-family: var(--v-font-nav);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}

/* ---- E1/E2 section panel: the shown group's title + rows ---- */
.v2-panel {
  width: var(--v-panel-w);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  padding: 22px 12px 16px;
  box-sizing: border-box;
  background: var(--v-aside);
  overflow: hidden;
}
.v2-panel-close { display: flex; justify-content: flex-end; margin: -10px 0 4px; }
.v2-panel-close .v2-btn-icon { width: 36px; height: 36px; border-radius: 9px; color: var(--v-text-2); }
.v2-panel-close .v2-btn-icon svg { width: 18px; height: 18px; }
.v2-panel-title {
  margin: 0 11px 10px;
  font-family: var(--v-font-nav);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.2px;
  color: var(--v-heading);
}
.v2-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: var(--v-font-nav);
  font-weight: 600;
  flex: 0 1 auto;
  overflow-y: auto;
  min-height: 0;
  /* VIB-500: the rows scroll (the profile card stays pinned below), and the
     OS default bar painted a bright white track on the dark shell. Thin
     token-only bar — transparent track, muted thumb, brighter on hover — for
     Firefox and WebKit alike; the same element scrolls in the mobile drawer.
     D8: no reserved gutter — the mock's rows run the panel's full width, and
     a group holds at most six rows, so the bar only shows on very short
     windows. */
  scrollbar-width: thin;
  scrollbar-color: var(--v-text-3) transparent;
}
.v2-nav::-webkit-scrollbar { width: 8px; }
.v2-nav::-webkit-scrollbar-track { background: transparent; }
.v2-nav::-webkit-scrollbar-thumb {
  background: var(--v-text-3);
  border-radius: 8px;
  border: 2px solid transparent;
  background-clip: content-box;
}
.v2-nav::-webkit-scrollbar-thumb:hover { background: var(--v-text-2); border: 2px solid transparent; background-clip: content-box; }
.v2-nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 11px;
  border-radius: var(--v-r-nav);
  font-size: 14px;
  color: var(--v-text-2);
  text-decoration: none;
  cursor: pointer;
}
.v2-nav-item:hover { background: rgba(255, 255, 255, .04); color: var(--v-text); }
/* Active row per the mock: .12 blue tint, label in primary text, only the
   icon in link blue. */
.v2-nav-item.active { background: var(--v-blue-tint-active); color: var(--v-text); }
.v2-nav-item.active .v2-nav-icon { color: var(--v-link); }
.v2-nav-item:focus-visible { outline: 2px solid var(--v-blue); outline-offset: 2px; }
.v2-nav-icon { display: flex; flex-shrink: 0; }
/* Mock nav icons are 17×17. */
.v2-nav-icon svg { display: block; width: 17px; height: 17px; }
.v2-nav-label { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v2-nav-item .v2-pill { margin-left: auto; }
/* What's new unread dot — the label already takes flex: 1. */
.v2-nav-dot {
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: var(--v-r-pill);
  background: var(--v-link);
  box-shadow: 0 0 8px var(--v-link-glow);
}
.v2-nav-lock { margin-left: auto; display: inline-flex; width: 14px; height: 14px; opacity: 0.55; flex: none; }
.v2-nav-lock svg { width: 100%; height: 100%; }
.v2-revenue-locked { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 48px 24px; text-align: center; }
.v2-revenue-locked-icon { display: inline-flex; width: 40px; height: 40px; opacity: 0.7; }
.v2-revenue-locked-icon svg { width: 100%; height: 100%; }
.v2-revenue-locked p { max-width: 42ch; margin: 0; }

/* E2: "Show legacy eras" switch under the Your Points / Your revshare rows. */
.v2-legacy-toggle {
  margin: 10px 0 0;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 11px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--v-text-2);
  font-family: var(--v-font);
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}
.v2-legacy-toggle:hover { background: rgba(255, 255, 255, .04); color: var(--v-text-table); }
.v2-legacy-toggle:focus-visible { outline: 2px solid var(--v-blue); outline-offset: 2px; }
.v2-switch {
  width: 28px;
  height: 16px;
  flex-shrink: 0;
  box-sizing: border-box;
  padding: 2px;
  display: flex;
  justify-content: flex-start;
  border-radius: var(--v-r-pill);
  border: 1px solid rgba(255, 255, 255, .1);
  background: var(--v-inset);
  transition: background .2s;
}
.v2-legacy-toggle.is-on .v2-switch { justify-content: flex-end; background: var(--v-blue); }
.v2-switch-knob { width: 10px; height: 10px; border-radius: var(--v-r-pill); background: var(--v-heading); }

.v2-aside-spacer { flex: 1; min-height: 16px; }

/* ---- E3: profile card (panel footer) ---- */
.v2-profile-card {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--v-border);
  border-radius: 10px;
  background: var(--v-footer);
}
.v2-profile-id { display: flex; align-items: center; gap: 10px; padding: 9px 10px 9px 12px; }
.v2-profile-copy { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
.v2-profile-handle { font-size: 13px; font-weight: 600; color: var(--v-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v2-profile-addr { font-family: var(--v-font-mono); font-size: 11px; color: var(--v-text-3); }
.v2-profile-id .v2-btn-icon { width: 26px; height: 26px; }
.v2-profile-stats { display: grid; grid-template-columns: 1fr auto; border-top: 1px solid var(--v-border-soft); }
.v2-profile-stat {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px;
  border-right: 1px solid var(--v-border-soft);
  border-radius: 0 0 0 9px;
  text-decoration: none;
}
.v2-profile-stat.is-tier { align-items: flex-end; padding: 8px 12px; border-right: 0; border-radius: 0 0 9px 0; }
/* Mock #131A30: 45% of the card surface over the footer band. */
.v2-profile-stat:hover { background: color-mix(in srgb, var(--v-surface) 45%, var(--v-footer)); }
.v2-profile-stat:focus-visible { outline: 2px solid var(--v-blue); outline-offset: -2px; }
.v2-profile-stat-label { font-family: var(--v-font-mono); font-size: 9px; letter-spacing: 1.3px; color: var(--v-text-3); }
.v2-profile-stat-value { font-size: 13px; font-weight: 600; color: var(--v-text); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v2-profile-stat.is-tier .v2-profile-stat-value { color: var(--v-amber); }

/* ---- E2: Points | Volume strip under the Points dashboard head ---- */
.v2-subtabs { display: flex; gap: 24px; border-bottom: 1px solid var(--v-border); }
.v2-subtab {
  margin-bottom: -1px;
  padding: 0 0 12px;
  border-bottom: 2px solid transparent;
  color: var(--v-text-2);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.v2-subtab:hover { color: var(--v-text); }
.v2-subtab.active { color: var(--v-text); border-bottom-color: var(--v-link); }
.v2-subtab:focus-visible { outline: 2px solid var(--v-blue); outline-offset: 2px; }

/* ---- E1: superadmin "View as" popup (rail eye icon) ---- */
.v2-modal-scrim {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(4, 7, 22, .66);
  backdrop-filter: blur(3px);
}
.v2-viewas-modal {
  width: min(440px, 100%);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .09);
  /* Mock #151C3A: 60% card surface over the app background. */
  background: color-mix(in srgb, var(--v-surface) 60%, var(--v-bg));
  box-shadow: 0 26px 64px rgba(4, 7, 22, .6);
}
.v2-viewas-head { display: flex; align-items: flex-start; gap: 12px; }
.v2-viewas-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  border-radius: 9px;
  border: 1px solid var(--v-border-well);
  background: var(--v-inset);
  color: var(--v-text-2);
}
.v2-viewas-icon svg, .v2-viewas-bar-icon svg { width: 17px; height: 17px; display: block; }
.v2-viewas-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.v2-viewas-title { font-size: 16.5px; font-weight: 700; letter-spacing: -.2px; color: var(--v-heading); }
.v2-viewas-lead { font-size: 13px; line-height: 1.5; color: var(--v-text-2); }
.v2-viewas-error { font-size: 13px; line-height: 1.5; color: var(--v-amber); }
.v2-viewas-head .v2-btn-icon { width: 28px; height: 28px; }
.v2-viewas-head .v2-btn-icon svg { width: 14px; height: 14px; }
.v2-viewas-input { width: 100%; box-sizing: border-box; font-family: var(--v-font-mono); font-size: 13px; }
.v2-viewas-actions { display: flex; align-items: center; justify-content: flex-end; gap: 9px; }
.v2-viewas-actions .v2-btn-outline { margin-right: auto; }
.v2-viewas-cancel {
  padding: 9px 14px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--v-text-2);
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
}
.v2-viewas-cancel:hover { background: rgba(255, 255, 255, .05); color: var(--v-text); }
.v2-viewas-go { height: auto; padding: 9px 20px; font-size: 13.5px; }
.v2-viewas-bar { align-items: center; }
.v2-viewas-bar-icon { flex-shrink: 0; display: grid; place-items: center; color: var(--v-text-2); }

/* ACTION NEEDED / confirm-wallet card — only rendered when app.jsx's
   pendingCodeOverwrite(accountMe) is true. */
@keyframes v2ActionPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(.7); }
}
.v2-action-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  margin-bottom: 10px;
  border-radius: 10px;
  border: 1px solid var(--v-border-amber);
  background: var(--v-amber-tint);
  text-decoration: none;
  cursor: pointer;
}
.v2-action-card:hover { background: rgba(224, 162, 60, .14); }
.v2-action-card:focus-visible { outline: 2px solid var(--v-blue); outline-offset: 2px; }
.v2-action-card-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: var(--v-r-icon);
  border: 1px solid var(--v-border-amber);
  background: rgba(224, 162, 60, .12);
  display: grid;
  place-items: center;
  color: var(--v-amber);
}
.v2-action-card-copy { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
.v2-action-card-kicker {
  font-family: var(--v-font-mono);
  font-size: 8.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--v-amber);
}
.v2-action-card-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--v-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.v2-action-card-dot {
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: var(--v-r-pill);
  background: var(--v-amber);
  animation: v2ActionPulse 2s ease-in-out infinite;
}
/* VIB-392: an infinite opacity+transform pulse keeps the compositor awake for
   as long as the dashboard is open. Off for reduced-motion, and off while the
   graph is fullscreen — the dot is not even on screen there, and the graph
   wants every frame it can get. */
@media (prefers-reduced-motion: reduce) {
  .v2-action-card-dot { animation: none; }
}
body:has(.graph-modal) .v2-action-card-dot { animation: none; }

/* Amber "confirm wallet ownership" banner — rendered by app.jsx into ONE shell
   slot (.v2-notice-slot) placed right after the page head (Q2 / A12), and
   collapsed into the sidebar .v2-action-card when dismissed via its (x). The
   empty slot takes no room, so it never adds a flex gap of its own. */
.v2-notice-slot { display: flex; flex-direction: column; gap: 18px; }
.v2-notice-slot:empty,
.v2-notice-slot[hidden] { display: none; }
.v2-wallet-notice {
  display: flex;
  align-items: center;
  /* A16 (mock/what-you-can-earn.html tpl 1739/1745): wrap as a unit — the copy
     keeps a 260px basis instead of squeezing to one word per line. */
  flex-wrap: wrap;
  gap: 14px;
  padding: 14px 14px 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--v-border-amber-notice);
  background: color-mix(in srgb, var(--v-amber) 7%, var(--v-bg));
}
.v2-wallet-notice-icon { flex-shrink: 0; display: grid; place-items: center; color: var(--v-amber); }
.v2-wallet-notice-copy { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.v2-wallet-notice-title { font-size: 14.5px; font-weight: 600; color: var(--v-text); }
.v2-wallet-notice-lead { font-size: 13px; line-height: 1.5; color: var(--v-text-2); }
.v2-wallet-notice-cta { flex-shrink: 0; }
.v2-wallet-notice-dismiss {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--v-amber-dim);
  cursor: pointer;
}
.v2-wallet-notice-dismiss:hover { color: var(--v-amber); background: rgba(224, 162, 60, 0.1); }

.v2-main {
  flex: 1;
  overflow-y: auto;
  background: var(--v-bg);
  display: flex;
  flex-direction: column;
}
.v2-content {
  max-width: var(--v-content-max);
  width: 100%;
  margin: 0 auto;
  padding: var(--v-content-pad);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* VIB-386 — "What you can earn" (#calculator) is the /earn lane in an iframe,
   so its pane runs edge to edge and full height instead of sitting inside the
   reading-width column. Selector is parented (.v2-main >) purely to outrank the
   mobile .v2-content override further down this file. The iframe takes the
   leftover height and scrolls internally; .v2-main's own scrollbar stays idle
   because nothing overflows it. min-height:0 lets the flex child actually
   shrink to the pane instead of to its content height. */
.v2-main > .v2-content[data-route="calculator"] {
  max-width: none;
  /* A24 (mock/what-you-can-earn.html tpl 1736-1753, supersedes S8 C51's card):
     no pane padding — the banner slot is its own block (24px 44px 0) and the
     iframe runs full-bleed and borderless on the app background. The embedded
     page's own chrome is not restyled here. */
  padding: 0;
  gap: 0;
  flex: 1;
  min-height: 0;
}
.v2-main > .v2-content[data-route="calculator"] > .v2-notice-slot { flex-shrink: 0; padding: 24px 44px 0; }
.v2-earn-embed {
  flex: 1;
  min-height: 0;
  width: 100%;
  display: block;
  box-sizing: border-box;
  border: 0;
  background: var(--v-bg);
}

/* ---------------------------------------------------------------------------
   2. SHARED COMPONENT KIT
   --------------------------------------------------------------------------- */

.v2-card {
  border: 1px solid var(--v-border);
  background: var(--v-surface);
  border-radius: var(--v-r-card);
}

.v2-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--v-border-soft);
}
.v2-card-head-label {
  font-family: var(--v-font-mono);
  font-size: 11px;
  letter-spacing: 1.6px; /* D8 (mock/my-invites.html tpl 539/555) */
  text-transform: uppercase;
  color: var(--v-text-overline);
}
.v2-card-head-action { font-size: 13px; color: var(--v-text-2); }

/* D9 (mock/my-invites.html tpl 508): the strip pins four equal columns. A
   three-card strip (network.jsx .net-level-summary, the only 3-card consumer)
   keeps three at desktop width via the ≥1101px :has rule below. 901–1100px
   keeps the 2+2 pin and ≤900px the mobile 1fr 1fr — except Overview, whose
   unconditional .v2-ov-stats (v2-overview.css) stays 4-up, as at v1.1.56. */
.v2-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--v-border);
  background: var(--v-surface);
  border-radius: var(--v-r-card);
  overflow: hidden;
}
.v2-stat-card {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-left: 1px solid var(--v-border-soft);
  color: inherit;
  text-decoration: none;
}
.v2-stat-card:first-child { border-left: none; }
/* S8: between the mobile breakpoint and ~1100px the auto-fit strip wraps a
   4-cell grid 3+1 (My invites at ~1000px). Pin it to 2+2 there; the second row
   gets the internal divider on top and the row-start cell drops its left rule. */
@media (min-width: 1101px) {
  .v2-stat-grid:has(> .v2-stat-card:nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .v2-stat-grid { grid-template-columns: 1fr 1fr; }
  .v2-stat-card:nth-child(odd) { border-left: none; }
  .v2-stat-card:nth-child(n + 3) { border-top: 1px solid var(--v-border-soft); }
}
.v2-stat-card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.v2-stat-card-label {
  font-family: var(--v-font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--v-text-2);
}
.v2-stat-card-icon { color: var(--v-text-2); display: flex; }
.v2-stat-card-value {
  font-size: 26px;
  font-weight: 600;
  color: var(--v-text);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.v2-stat-card-sub { font-size: 12px; color: var(--v-text-3); }

.v2-table { width: 100%; border-collapse: collapse; }
.v2-th {
  text-align: left;
  padding: 11px 22px;
  font-family: var(--v-font-mono);
  font-size: 10px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--v-text-3);
  border-bottom: 1px solid var(--v-border-row);
  font-weight: 400;
}
.v2-td {
  padding: 15px 22px;
  font-size: 13.5px;
  color: var(--v-text-table);
  border-bottom: 1px solid var(--v-border-row);
  font-variant-numeric: tabular-nums;
}
.v2-th.is-right, .v2-td.is-right { text-align: right; }
.v2-table tr:last-child .v2-td { border-bottom: none; }

.v2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: var(--v-btn-h);
  padding: 0 16px;
  border-radius: var(--v-r-btn);
  border: none;
  background: var(--v-blue);
  color: var(--v-white); /* L52: the mock buttons are #FFFFFF, not --v-text */
  font-family: var(--v-font-nav);
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.v2-btn:hover { background: var(--v-blue-hover); }
.v2-btn:disabled { background: var(--v-disabled); color: var(--v-text-3); cursor: not-allowed; }
.v2-btn:focus-visible { outline: 2px solid var(--v-text); outline-offset: 2px; }

.v2-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: var(--v-btn-h);
  padding: 0 14px;
  border-radius: var(--v-r-btn);
  border: 1px solid var(--v-border-blue);
  background: transparent;
  color: var(--v-link);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
/* D7 (mock/my-invites.html tpl 490): compact size variant for chip-weight
   actions ("Request 5 more"). Content height, not the kit's 42px. */
.v2-btn-outline.v2-btn-compact { height: auto; padding: 9px 16px; font-size: 13.5px; }
.v2-btn-outline:hover { background: var(--v-blue-tint); border-color: var(--v-blue); }
.v2-btn-outline:focus-visible { outline: 2px solid var(--v-blue); outline-offset: 2px; }

.v2-btn-icon {
  flex-shrink: 0;
  width: var(--v-icon-btn);
  height: var(--v-icon-btn);
  display: grid;
  place-items: center;
  border-radius: var(--v-r-icon);
  border: none;
  background: transparent;
  color: var(--v-text-3);
  cursor: pointer;
  padding: 0;
}
.v2-btn-icon:hover { color: var(--v-text-2); background: rgba(255, 255, 255, .05); }
.v2-btn-icon:focus-visible { outline: 2px solid var(--v-blue); outline-offset: 2px; }
.v2-btn-icon svg { display: block; }

.v2-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--v-font-mono);
  font-size: 10px;
  letter-spacing: .05em;
  padding: 3px 8px;
  border-radius: var(--v-r-badge);
  border: 1px solid transparent;
  white-space: nowrap;
}
.v2-badge.is-blue { color: var(--v-link); border-color: var(--v-border-blue); background: var(--v-blue-tint); }
.v2-badge.is-gray { color: var(--v-text-2); border-color: color-mix(in srgb, white 12%, transparent); background: transparent; }
.v2-badge.is-amber { color: var(--v-amber); border-color: var(--v-border-amber); background: var(--v-amber-tint); }
.v2-badge.is-green { color: var(--v-green); border-color: color-mix(in srgb, var(--v-green) 30%, transparent); background: var(--v-green-tint); }
.v2-badge.is-magenta { color: var(--v-magenta); border-color: var(--v-border-magenta); background: var(--v-magenta-tint); }

.v2-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: var(--v-r-pill);
  font-family: var(--v-font-mono);
  font-size: 11px;
  font-weight: 600;
  background: var(--v-badge-tint);
  color: var(--v-pink);
}

.v2-copy-row { display: flex; align-items: center; gap: 9px; }
.v2-copy-row-code { font-family: var(--v-font-mono); font-size: 13px; color: var(--v-text); }
/* Inline copy buttons sit smaller than the canonical 26px icon button. */
.v2-copy-row .v2-btn-icon { width: 22px; height: 22px; border-radius: 6px; }

.v2-empty, .v2-loading, .v2-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 48px 24px;
  text-align: center;
  font-size: 13.5px;
  color: var(--v-text-2);
  border: 1px solid var(--v-border);
  border-radius: var(--v-r-card);
  background: var(--v-surface);
}
.v2-error { color: var(--v-amber); border-color: var(--v-border-amber); }
/* S8 C48 — in-schema state kit (Changelog §14: card surface, mono overline,
   secondary text). The three states share one card: 48px 24px on --v-surface,
   .07 border, radius 12, body 13.5px --v-text-2. Optional children a view can
   add without leaving the kit:
     .v2-state-kicker  mono overline 10.5px / .14em (≈1.5px) in --v-text-overline
     .v2-state-sub     tertiary 12.5px line under the body copy
   Decision (REPORT.md): every async surface keeps the spinner. A skeleton only
   earns its place where the final layout is known before the data lands (the
   4-cell stat strips) — .v2-skeleton is the primitive for that, adoption per
   screen owner. */
.v2-state-kicker {
  font-family: var(--v-font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--v-text-overline);
}
.v2-error .v2-state-kicker { color: var(--v-amber); }
.v2-state-sub { font-size: 12.5px; line-height: 1.5; color: var(--v-text-3); }
/* Shared footnote / disclaimer line (PointsDisclaimer in ui.jsx — Points,
   Tasks and Confirm all render the one copy). */
.v2-disclaimer { margin: 0; font-size: 12.5px; line-height: 1.6; color: var(--v-text-3); }
.v2-empty .v2-btn-outline, .v2-error .v2-btn-outline { margin-top: 4px; }
@keyframes v2Spin { to { transform: rotate(360deg); } }
.v2-loading-spinner {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: var(--v-r-pill);
  border: 2px solid var(--v-border);
  border-top-color: var(--v-link);
  animation: v2Spin .8s linear infinite;
}
/* Skeleton bar: inset surface, card-radius corners, slow shimmer. */
@keyframes v2Shimmer { to { background-position: -200% 0; } }
.v2-skeleton {
  display: block;
  height: 14px;
  border-radius: var(--v-r-badge);
  background: linear-gradient(90deg, var(--v-inset) 0%, var(--v-elevated) 50%, var(--v-inset) 100%);
  background-size: 200% 100%;
  animation: v2Shimmer 1.4s linear infinite;
}
.v2-skeleton.is-value { height: 24px; width: 60%; }
.v2-skeleton.is-label { height: 10px; width: 40%; }
@media (prefers-reduced-motion: reduce) {
  .v2-loading-spinner { animation: none; border-top-color: var(--v-border); }
  .v2-skeleton { animation: none; }
}

/* S8 C52 — boot / SSO landing state. Shown between arriving with ?sso_code=
   (or a funnel deep link / stored creds) and the session resolving. Same
   language as the state kit, on the full-viewport app background: logo,
   mono overline, one line of secondary copy, the kit spinner. Socials stay
   in the corner (train rule: nothing that rendered before disappears). */
.v2-boot {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  background: var(--v-bg);
  font-family: var(--v-font);
  color: var(--v-text);
}
.v2-boot-chrome { position: absolute; top: 18px; right: 18px; }
.v2-boot-card {
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 36px 28px 32px;
  text-align: center;
  border: 1px solid var(--v-border);
  border-radius: var(--v-r-card);
  background: var(--v-surface);
  box-shadow: 0 40px 90px -46px rgba(0, 0, 0, .75);
}
.v2-boot-logo { margin-bottom: 8px; }
.v2-boot-logo svg { display: block; width: 104px; height: 29px; }
.v2-boot-title { font-family: var(--v-font-nav); font-size: 18px; font-weight: 600; color: var(--v-heading); }
.v2-boot-copy { font-size: 13.5px; line-height: 1.5; color: var(--v-text-2); }
.v2-boot .v2-loading-spinner { margin-top: 6px; }

/* Mobile app shell from Vibe App (Mobile): identity header, middle-only scroll,
   persistent primary tabs, and a More bottom sheet. */
/* ---- D8 E4: mobile shell (< 760px, the mock's breakpoint) ----
   Top bar (mascot tile, CONFIRM chip, bell, menu) and the rail + panel as a
   translateX drawer over a blurred backdrop. No bottom tabs: the drawer
   carries every page (mock2/Vibe.dc.html has none). Page layouts keep
   their own ≤900px rules below. */
@media (max-width: 759px) {
  .v2-app { flex-direction: column; min-height: 0; }

  .v2-topbar {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 56px;
    box-sizing: border-box;
    padding: env(safe-area-inset-top) 14px 0 18px;
    background: var(--v-aside);
    border-bottom: 1px solid var(--v-border-soft);
  }
  .v2-topbar-logo { display: flex; border-radius: 10px; }
  .v2-topbar-logo:focus-visible { outline: 2px solid var(--v-blue); outline-offset: 2px; }
  .v2-topbar-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
  .v2-topbar-confirm { height: 36px; padding: 0 10px; display: flex; align-items: center; gap: 7px; border-radius: 10px; border: 1px solid var(--v-border-amber); background: var(--v-amber-tint); text-decoration: none; }
  .v2-topbar-confirm-dot { width: 7px; height: 7px; flex-shrink: 0; border-radius: var(--v-r-pill); background: var(--v-amber); }
  .v2-topbar-confirm-label { color: var(--v-amber); font-family: var(--v-font-mono); font-size: 9.5px; font-weight: 500; letter-spacing: 1.3px; }
  .v2-topbar-confirm:focus-visible { outline: 2px solid var(--v-amber); outline-offset: 2px; }
  .v2-topbar-bell { position: relative; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; color: var(--v-text-table); text-decoration: none; }
  .v2-topbar-bell-icon { width: 20px; height: 20px; display: block; }
  .v2-topbar-bell-icon svg { width: 20px; height: 20px; display: block; }
  .v2-topbar-bell-dot { position: absolute; top: 9px; right: 10px; width: 7px; height: 7px; border-radius: var(--v-r-pill); background: var(--v-link); box-shadow: 0 0 0 2px var(--v-aside); }
  .v2-topbar-bell:focus-visible { outline: 2px solid var(--v-blue); outline-offset: 2px; }
  .v2-topbar-menu { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 10px; background: transparent; color: var(--v-text-table); cursor: pointer; }
  .v2-topbar-menu:hover { background: rgba(255, 255, 255, .06); }
  .v2-topbar-menu svg { width: 20px; height: 20px; display: block; }
  .v2-topbar-menu:focus-visible { outline: 2px solid var(--v-blue); outline-offset: 2px; }

  .v2-backdrop {
    position: fixed;
    inset: 0;
    z-index: 140;
    background: rgba(4, 7, 22, .6);
    backdrop-filter: blur(2px);
  }
  .v2-aside {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 150;
    transform: translateX(-105%);
    transition: transform .25s ease;
  }
  .v2-aside.is-open { transform: none; }
  .v2-rail { padding-top: calc(18px + env(safe-area-inset-top)); }
  .v2-panel { padding-top: calc(22px + env(safe-area-inset-top)); padding-bottom: max(16px, env(safe-area-inset-bottom)); }
  /* Touch has no hover: a tip would stick after a tap. */
  .v2-rail-tip { display: none; }
}

@media (max-width: 900px) {
  .v2-main { flex: 1; min-height: 0; overflow: hidden auto; overscroll-behavior: contain; background: var(--v-bg); }
  /* Mock (Changelog §02/§14): content padding drops to 22px 16px 40px on
     mobile (S7 P-OV-1 / P-TK-2 / P-FQ-4). */
  .v2-content { max-width: none; padding: var(--v-content-pad-mobile); gap: 18px; }
  /* S7 P-OV-3 / P-TK-1 / P-CF-1: the operator announcement + superadmin
     View-as bar stay (keep, re-skin) but render after the page blocks, so the
     head › notice › hero order matches the mock. Desktop order untouched. */
  .v2-content > .v2-announce,
  .v2-content > [data-testid="view-as-bar"] { order: 10; }
  /* S7 P-FQ-1 / P-VL-2 / P-RV-2: the slot follows DOM order (below the page
     head) on every route but Overview. L52: no override needed here any more —
     v2-overview.css scopes its `order: -1` to Overview's direct-child slot
     (L25). */
  /* S7 P-ER-1: the earn pane runs edge to edge on mobile too — banner slot
     pad 16px 16px 0, iframe full-bleed. */
  .v2-main > .v2-content[data-route="calculator"] { padding: 0; gap: 0; }
  .v2-main > .v2-content[data-route="calculator"] > .v2-notice-slot { padding: 16px 16px 0; }

  .v2-stat-grid {
    grid-template-columns: 1fr 1fr;
    gap: 11px;
    border: none;
    background: transparent;
    border-radius: 0;
    overflow: visible;
  }
  .v2-stat-card {
    border-left: none;
    border: 1px solid var(--v-border);
    background: var(--v-surface);
    border-radius: var(--v-r-card);
    padding: 16px;
    gap: 7px;
  }
  .v2-stat-card-label { font-family: var(--v-font); font-size: 12px; letter-spacing: 0; text-transform: none; }
  .v2-stat-card-value { font-family: var(--v-font-nav); font-size: 23px; font-weight: 700; }
  .v2-stat-card-sub { font-size: 11px; }

  /* S7 (P-OV-7 shell side, P-IN-3, P-NW-2; H9): overview / invites / network
     render the mock's ONE bordered stat card at ≤900 — 2-col, no gap, cells
     18/20 gap 8, internal left dividers, label 12.5px, value 26px/600 in the
     body font, sub 12px. Network's 3-cell grid keeps 3-up in the same card.
     The generic ≤900 rule above stays for every other page (volume / revenue
     tiles already match the mock). Page overrides in v2-overview.css /
     v2-codes.css / v2-network.css outrank this by specificity or file order. */
  .v2-content[data-route="overview"] .v2-stat-grid,
  .v2-content[data-route="codes"] .v2-stat-grid,
  .v2-content[data-route="network"] .v2-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    border: 1px solid var(--v-border);
    background: var(--v-surface);
    border-radius: 12px;
    overflow: hidden;
  }
  .v2-content[data-route="network"] .v2-stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .v2-content[data-route="overview"] .v2-stat-card,
  .v2-content[data-route="codes"] .v2-stat-card,
  .v2-content[data-route="network"] .v2-stat-card {
    border: 0;
    border-left: 1px solid var(--v-border-soft);
    background: transparent;
    border-radius: 0;
    padding: 18px 20px;
    gap: 8px;
  }
  .v2-content[data-route="overview"] .v2-stat-card:first-child,
  .v2-content[data-route="codes"] .v2-stat-card:first-child,
  .v2-content[data-route="network"] .v2-stat-card:first-child { border-left: none; }
  .v2-content[data-route="overview"] .v2-stat-card:nth-child(n + 3),
  .v2-content[data-route="codes"] .v2-stat-card:nth-child(n + 3) { border-top: 1px solid var(--v-border-soft); }
  .v2-content[data-route="overview"] .v2-stat-card-label,
  .v2-content[data-route="codes"] .v2-stat-card-label,
  .v2-content[data-route="network"] .v2-stat-card-label { font-size: 12.5px; }
  .v2-content[data-route="overview"] .v2-stat-card-value,
  .v2-content[data-route="codes"] .v2-stat-card-value,
  .v2-content[data-route="network"] .v2-stat-card-value { font-family: var(--v-font); font-size: 26px; font-weight: 600; }
  .v2-content[data-route="overview"] .v2-stat-card-sub,
  .v2-content[data-route="codes"] .v2-stat-card-sub,
  .v2-content[data-route="network"] .v2-stat-card-sub { font-size: 12px; }

  /* S6/F4 (mock MM:687-695): the notice wraps and Verify wallet goes
     full-width on its own line. The CTA travels inside
     .v2-wallet-notice-actions (VIB-443), so the wrapper — not the bare CTA
     — takes order 3 + the full row; the child selectors below outrank the
     appended end-of-file reset (higher specificity, same file). */
  .v2-wallet-notice { align-items: center; flex-wrap: wrap; gap: 10px 12px; padding: 14px 14px 14px 16px; border-radius: 10px; }
  /* S7 P-OV-4 (H4, CSS-only): the CTA + dismiss wrapper dissolves so the X
     closes the copy row and Verify wallet takes its own full-width row.
     Outranks the end-of-file reset by specificity; mobile only, markup
     (S2's code-overwrite.jsx) untouched. */
  .v2-wallet-notice > :is(.v2-wallet-notice-actions) { display: contents; }
  /* A16: a real basis so the copy keeps its line; the CTA wraps under it. */
  .v2-wallet-notice-copy { flex: 1 1 200px; min-width: 0; }
  .v2-wallet-notice-title { font-size: 14px; }
  .v2-wallet-notice-lead { font-size: 12.5px; }
  .v2-wallet-notice > :is(.v2-wallet-notice-actions) { order: 3; flex: 1 1 100%; }
  /* S7 P-OV-4: with the wrapper dissolved (display:contents above), the CTA
     and dismiss are notice flex items themselves — pin them here at higher
     specificity than the end-of-file reset (order:0), or the X never joins
     the copy row and the CTA never takes its own row. */
  .v2-wallet-notice > .v2-wallet-notice-actions > .v2-wallet-notice-cta { order: 3; flex: 1 1 100%; width: auto; height: auto; margin-left: 0; padding: 12px 16px; font-size: 14px; text-align: center; justify-content: center; }
  .v2-wallet-notice > :is(.v2-wallet-notice-actions) > .v2-wallet-notice-dismiss { order: 2; }
  .v2-wallet-notice-cta { order: 3; width: auto; height: 36px; margin-left: 32px; padding: 0 15px; }
  .v2-wallet-notice-dismiss { order: 2; width: 28px; height: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .v2-aside, .v2-rail, .v2-rail-item, .v2-rail-toggle, .v2-rail-toggle .v2-rail-icon svg, .v2-switch { transition: none; }
}

/* VIB-414 — a non-final money figure (DashUI.Blurred): blurred glyphs, never
   the number, plus a LIVE SOON / CREDITING SOON pill. Operator ruling
   2026-09-14: only final figures render as numbers. */
.v2-blur { display: inline-flex; align-items: center; gap: 10px; position: relative; max-width: 100%; }
.v2-blur-glyphs { color: var(--v-text-2); filter: blur(5px); user-select: none; pointer-events: none; font-variant-numeric: tabular-nums; }
.v2-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.v2-blur-pill {
  flex: none; display: inline-flex; align-items: center;
  font-family: var(--v-font-mono); font-size: 10px; font-weight: 500; letter-spacing: 1.4px; line-height: 1.4;
  background: var(--v-inset); border: 1px solid var(--v-border); border-radius: 7px;
  padding: 5px 8px; cursor: help; white-space: nowrap;
}
.v2-blur-pill.is-green { color: var(--v-green); border-color: color-mix(in srgb, var(--v-green) 35%, transparent); }
.v2-blur-pill.is-amber { color: var(--v-amber); border-color: color-mix(in srgb, var(--v-amber) 30%, transparent); }
.v2-blur-pill:focus-visible { outline: 2px solid var(--v-link); outline-offset: 2px; }
/* VIB-471: the revealed-estimate wrapper (DashUI.Figure reveal=true) — the
   number plus its ESTIMATED pill, on one baseline. */
.v2-estimate { display: inline-flex; align-items: baseline; gap: 10px; }
/* O28 — the printed proof beside a shown money figure (DashUI.ProofLine). */
.v2-proof { display: flex; flex-direction: column; gap: 2px; margin-top: 4px; font-family: var(--v-font-mono); font-size: 10.5px; line-height: 1.45; color: var(--v-text-3); overflow-wrap: anywhere; }
/* VIB-443 — the wallet-notice CTA + dismiss wrapper (code-overwrite.jsx
   CodeOverwriteConfirmPrompt): one non-shrinking unit so the (x) never
   strands beside the copy while the CTA wraps below it. Appended at the END
   of this file only (Emmerich owns the .v2-nav block above). The child
   resets pin DOM order inside the wrapper: the mobile block above gives the
   bare CTA/dismiss order 3/2, which would re-invert the pair in here. */
.v2-wallet-notice-actions { flex: none; display: inline-flex; align-items: center; gap: 10px; }
.v2-wallet-notice-actions > .v2-wallet-notice-cta { order: 0; margin-left: 0; }
.v2-wallet-notice-actions > .v2-wallet-notice-dismiss { order: 0; }
