/* iris-wallet.css — IRIS Ultraviolet area styles. See docs/iris-ultraviolet.md.
 *
 * Wallet security (/wallet): account header, chain switch, read-only scan authorization, approvals list, selection
 * and batch revoke, fee review, receipts and errors. Markup, hooks and behaviour stay in wallet.js; this sheet only
 * restyles them over styles.css / portal.css / workspace.css. Chips keep fixed meanings: risk = unlimited approval or
 * failure, warn = needs attention, mint = confirmed / secure. Every animation is off under prefers-reduced-motion. */

/* ── Page chrome: a compact banner and a slim console head, so the account step sits higher ── */
body[data-module='wallet'] #module-banner { gap: 24px; margin: 0 0 18px; padding: 30px 40px 30px 42px; }
body[data-module='wallet'] #module-banner > div { max-width: 820px; }
body[data-module='wallet'] #module-banner h1 { max-width: none; margin: 12px 0 10px; font-size: clamp(28px, 2.9vw, 40px); line-height: 1.06; }
body[data-module='wallet'] #module-banner p { max-width: 600px; font-size: 14.5px; line-height: 1.55; }
body[data-module='wallet'] #module-banner .module-emblem { flex: 0 0 92px; width: 92px; height: 92px; border-radius: 26px; }
body[data-module='wallet'] #module-banner .module-emblem svg { width: 44px; height: 44px; }

.module-page #modal.wallet-mode .modal-head { align-items: center; padding: 20px 28px 18px; }
.module-page #modal.wallet-mode .modal-head h2 { margin: 6px 0 0; font: 600 clamp(20px, 1.7vw, 23px)/1.15 var(--i-font-display); letter-spacing: -0.025em; }
.module-page #modal.wallet-mode #modal-body { min-height: 0; }

/* ── Console ── */
#modal .wallet-console {
  --wallet-gap: 16px;
  container: wallet-console / inline-size;
  display: flex;
  flex-direction: column;
  gap: var(--wallet-gap);
  max-width: none;
  margin: 0;
  padding: 24px 28px 28px;
  color: var(--i-text);
  /* Bundle IDs and transaction hashes arrive inside sentences; let them break instead of widening a phone. */
  overflow-wrap: anywhere;
}
.wallet-console [hidden] { display: none !important; }

/* Pills: the theme's .iris-btn recipe. Primary is lilac-white, the one decision on screen is ultraviolet, the rest
   are glass. Labels are sentence case. */
.wallet-console :is(.action, .revoke-button) {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--i-r-pill);
  font: 500 14px/1.15 var(--i-font);
  letter-spacing: -0.005em;
  text-transform: none;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform var(--i-dur-1) var(--i-ease), background var(--i-dur-2) var(--i-ease), border-color var(--i-dur-2) var(--i-ease), box-shadow var(--i-dur-2) var(--i-ease), color var(--i-dur-2) var(--i-ease), filter var(--i-dur-2) var(--i-ease), opacity var(--i-dur-2) var(--i-ease);
}
.wallet-console :is(.action, .revoke-button):active:not(:disabled) { transform: scale(0.97); }
.wallet-console .action:not(.secondary) {
  background: var(--i-text);
  color: var(--i-bg);
  font-weight: 600;
  box-shadow: 0 10px 28px -14px rgba(var(--i-lilac-rgb), 0.7), 0 0 0 1px rgba(var(--i-lilac-rgb), 0.55) inset;
}
.wallet-console .action:not(.secondary):hover:not(:disabled) { filter: brightness(1.05); box-shadow: 0 0 0 4px rgba(var(--i-violet-rgb), 0.18), 0 14px 34px -12px rgba(var(--i-violet-rgb), 0.85); }
.wallet-console :is(#wallet-account-auth, #wallet-scan, #confirm-revoke, #confirm-batch, #confirm-recovery-one, #start-recovery, #confirm-sequential-continue, #confirm-paid-status) {
  border-color: transparent;
  background: var(--i-uv);
  color: var(--i-bg);
  font-weight: 600;
  box-shadow: 0 12px 30px -14px rgba(var(--i-violet-rgb), 0.9), 0 0 0 1px rgba(var(--i-lilac-rgb), 0.3) inset;
}
.wallet-console :is(#wallet-account-auth, #wallet-scan, #confirm-revoke, #confirm-batch, #confirm-recovery-one, #start-recovery, #confirm-sequential-continue, #confirm-paid-status):hover:not(:disabled) {
  filter: brightness(1.05) saturate(1.08);
  box-shadow: 0 14px 36px -12px rgba(var(--i-violet-rgb), 1), inset 0 0 18px rgba(var(--i-lilac-rgb), 0.45);
}
.wallet-console :is(.action.secondary, .revoke-button),
.wallet-console:has(.wallet-summary) #wallet-scan {
  border-color: rgba(var(--i-violet-rgb), 0.24);
  background: var(--i-surface-2);
  color: var(--i-text);
  font-weight: 500;
  box-shadow: none;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.wallet-console :is(.action.secondary, .revoke-button):hover:not(:disabled),
.wallet-console:has(.wallet-summary) #wallet-scan:hover:not(:disabled) {
  border-color: rgba(var(--i-violet-rgb), 0.5);
  background: var(--i-surface-3);
  box-shadow: var(--i-halo);
  filter: none;
}
.wallet-console :is(.action, .revoke-button):disabled { opacity: 0.45; cursor: not-allowed; box-shadow: none; filter: none; }
.wallet-console :is(#wallet-account-auth, #wallet-scan):disabled { cursor: wait; }
/* These buttons are only disabled while their request runs ("Authorizing scan…", "Checking funds & gas…"): a slow
   shimmer says "working" instead of "unavailable". */
.wallet-console :is(#wallet-scan, #confirm-revoke, #confirm-batch, #confirm-recovery-one, #start-recovery, #confirm-sequential-continue, #confirm-paid-status):disabled {
  opacity: 0.85;
  cursor: progress;
  background: linear-gradient(100deg, rgba(var(--i-violet-rgb), 0.38) 30%, rgba(var(--i-lilac-rgb), 0.8) 50%, rgba(var(--i-violet-rgb), 0.38) 70%) 0 0 / 220% 100%;
  color: var(--i-bg);
  animation: iris-shimmer 1.8s linear infinite;
}
.wallet-console :is(.wallet-account-actions, .wallet-batch-actions) :is(.action, .revoke-button),
.wallet-console .revoke-button { min-height: 36px; padding: 0 15px; font-size: 13px; }

/* ── Account header: one HUD readout (label, source chip, wallet) and the connection options ── */
.wallet-console .wallet-connect {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding: 18px 20px;
  border: 1px solid var(--i-well-line);
  border-radius: var(--i-r-lg);
  background: var(--i-well);
}
.wallet-account-readout { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; min-width: 0; }
.wallet-account-readout .eyebrow { color: var(--i-text-3); font: 500 10px/1.4 var(--i-font-mono); letter-spacing: 0.2em; }
.wallet-console #wallet-account {
  order: 3;
  flex: 1 0 100%;
  display: block;
  margin: 0;
  color: var(--i-text);
  font: 500 17px/1.3 var(--i-font-mono);
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.wallet-console:has(> #wallet-workspace:not([hidden])) #wallet-account { text-shadow: 0 0 20px rgba(var(--i-violet-rgb), 0.55); }
.wallet-console:has(> #wallet-account-gate:not([hidden])) #wallet-account { color: var(--i-text-2); }
.wallet-console #wallet-account-source {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 22px;
  margin: 0;
  padding: 3px 9px;
  border: 1px solid var(--i-line-2);
  border-radius: var(--i-r-pill);
  background: var(--i-surface-2);
  color: var(--i-text-2);
  font: 500 9.5px/1.3 var(--i-font-mono);
  letter-spacing: 0.12em;
}
.wallet-console #wallet-account-source::before { content: ''; flex: none; width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: 0.8; }
.wallet-console:has(> #wallet-account-gate:not([hidden])) #wallet-account-source { color: var(--i-warn); border-color: rgba(var(--i-warn-rgb), 0.32); background: rgba(var(--i-warn-rgb), 0.08); }
.wallet-console:has(> #wallet-workspace:not([hidden])) #wallet-account-source { color: var(--i-mint); border-color: rgba(var(--i-mint-rgb), 0.3); background: rgba(var(--i-mint-rgb), 0.08); }
.wallet-console:has(> #wallet-workspace:not([hidden])) #wallet-account-source::before { box-shadow: 0 0 8px currentColor; opacity: 1; }
.wallet-console:has(#wallet-account-selector-wrap:not([hidden])) #wallet-account-source { color: var(--i-lilac); border-color: rgba(var(--i-violet-rgb), 0.35); background: rgba(var(--i-violet-rgb), 0.1); }

/* Linked-wallet picker (several wallets on one Account). */
.wallet-console .wallet-account-selector { position: relative; display: grid; gap: 7px; flex: 1 1 240px; max-width: 340px; margin: 0; }
.wallet-console .wallet-account-selector > span { color: var(--i-text-3); font: 500 10px/1.4 var(--i-font-mono); letter-spacing: 0.2em; }
.wallet-console .wallet-account-selector::after {
  content: '';
  position: absolute;
  right: 18px;
  bottom: 19px;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--i-text-2);
  border-bottom: 1.5px solid var(--i-text-2);
  transform: rotate(45deg);
  pointer-events: none;
}
.wallet-console #wallet-account-selector {
  width: 100%;
  min-height: 44px;
  padding: 0 44px 0 14px;
  border: 1px solid var(--i-well-line);
  border-radius: var(--i-r-sm);
  background: var(--i-surface);
  color: var(--i-text);
  font: 500 14px/1.3 var(--i-font);
  font-variant-numeric: tabular-nums;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  transition: border-color var(--i-dur-2) var(--i-ease), box-shadow var(--i-dur-2) var(--i-ease), background var(--i-dur-2) var(--i-ease);
}
.wallet-console #wallet-account-selector:hover { border-color: rgba(var(--i-violet-rgb), 0.45); }
.wallet-console #wallet-account-selector:focus { outline: none; border-color: rgba(var(--i-violet-rgb), 0.7); background: rgba(var(--i-violet-rgb), 0.06); box-shadow: 0 0 0 3px rgba(var(--i-violet-rgb), 0.18); }
.wallet-console #wallet-account-selector option { background: var(--i-popover); color: var(--i-text); }
.wallet-console .wallet-account-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; }

/* Account step (signed out, no wallet, terms, unavailable): it joins the header as one card instead of a card
   stacked inside another. */
.wallet-console:has(> #wallet-account-gate:not([hidden])) > .wallet-connect { border-bottom-color: transparent; border-radius: var(--i-r-lg) var(--i-r-lg) 0 0; }
.wallet-console .wallet-account-gate {
  display: grid;
  gap: 10px;
  margin: calc(var(--wallet-gap, 16px) * -1) 0 0;
  padding: 22px 20px 20px;
  border: 1px solid var(--i-well-line);
  border-top-color: var(--i-line);
  border-radius: 0 0 var(--i-r-lg) var(--i-r-lg);
  background: radial-gradient(620px 220px at 100% 0%, rgba(var(--i-violet-rgb), 0.12), transparent 70%), var(--i-well);
  box-shadow: none;
  animation: iris-rise var(--i-dur-3) var(--i-ease) both;
}
.wallet-console .wallet-account-gate h3 { margin: 0; color: var(--i-text); font: 600 clamp(20px, 2vw, 25px)/1.15 var(--i-font-display); letter-spacing: -0.03em; }
.wallet-console .wallet-account-gate p { max-width: 64ch; margin: 0; color: var(--i-text-2); font: 400 14px/1.6 var(--i-font); }
.wallet-console .wallet-gate-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 8px; }
.wallet-console .wallet-account-gate .action { width: auto; min-height: 44px; }
.wallet-console #wallet-account-auth-status,
.wallet-console .wallet-scan-consent > p:last-of-type {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  flex: 1 1 280px;
  max-width: 60ch;
  margin: 0;
  color: var(--i-text-2);
  font: 400 12.5px/1.55 var(--i-font);
}
/* The gate's status line also carries errors, so it gets a neutral violet dot; the scan promise gets the mint check. */
.wallet-console #wallet-account-auth-status::before { content: ''; flex: none; width: 6px; height: 6px; margin: 7px 4px 0 5px; border-radius: 50%; background: var(--i-violet); box-shadow: 0 0 10px rgba(var(--i-violet-rgb), 0.9); }
.wallet-console .wallet-scan-consent > p:last-of-type::before {
  content: '✓';
  display: grid;
  place-items: center;
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(var(--i-mint-rgb), 0.12);
  box-shadow: inset 0 0 0 1px rgba(var(--i-mint-rgb), 0.35);
  color: var(--i-mint);
  font: 700 9px/1 var(--i-font);
}

/* The read-only promise: one quiet line; the full rule sits behind its (i). */
.wallet-console .wallet-notice { display: flex; align-items: center; gap: 10px; margin: 0; padding: 0 6px; border: 0; background: none; color: var(--i-text-2); font: 400 12.5px/1.55 var(--i-font); }
.wallet-console .wallet-notice::before { content: ''; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--i-violet); box-shadow: 0 0 10px rgba(var(--i-violet-rgb), 0.9); }
.wallet-console .wallet-notice .iris-info { margin: 0 0 0 -4px; }

/* ── Workspace: chain switch, scan authorization, status ── */
.wallet-console #wallet-workspace { display: flex; flex-direction: column; gap: 16px; }

/* Chain switch: a segmented control whose thumb slides to the active chain. */
.wallet-console .chain-tabs {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-self: flex-start;
  width: min(420px, 100%);
  margin: 0;
  padding: 4px;
  border: 1px solid var(--i-well-line);
  border-radius: var(--i-r-pill);
  background: var(--i-well);
}
.wallet-console .chain-tabs::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc((100% - 8px) / 3);
  border-radius: var(--i-r-pill);
  background: linear-gradient(120deg, rgba(var(--i-violet-rgb), 0.32), rgba(var(--i-lilac-rgb), 0.1) 60%, rgba(var(--i-mint-rgb), 0.06));
  box-shadow: 0 0 0 1px rgba(var(--i-violet-rgb), 0.5) inset, 0 1px 0 var(--i-highlight) inset, 0 0 22px -4px rgba(var(--i-violet-rgb), 0.55);
  transition: transform var(--i-dur-3) var(--i-spring);
}
.wallet-console .chain-tabs:has(> [data-chain='8453'].active)::before { transform: translateX(100%); }
.wallet-console .chain-tabs:has(> [data-chain='4663'].active)::before { transform: translateX(200%); }
.wallet-console .chain-tabs button {
  min-width: 0;
  min-height: 38px;
  padding: 0 10px;
  border: 0;
  border-radius: var(--i-r-pill);
  background: none;
  color: var(--i-text-2);
  font: 500 13.5px/1 var(--i-font);
  letter-spacing: -0.005em;
  white-space: nowrap;
  cursor: pointer;
  transition: color var(--i-dur-2) var(--i-ease), text-shadow var(--i-dur-2) var(--i-ease);
}
.wallet-console .chain-tabs button:hover { color: var(--i-text); }
.wallet-console .chain-tabs button.active { border: 0; background: none; color: var(--i-text); text-shadow: 0 0 14px rgba(var(--i-violet-rgb), 0.6); }

/* Scan authorization: the disclosure stays beside the button that sends the request. */
.wallet-console .wallet-scan-consent {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 32px;
  margin: 0;
  padding: 22px 24px;
  border: 1px solid var(--i-well-line);
  border-radius: var(--i-r-lg);
  background: radial-gradient(560px 220px at 100% 0%, rgba(var(--i-violet-rgb), 0.1), transparent 70%), var(--i-well);
  box-shadow: none;
}
.wallet-console .wallet-scan-consent > h3 { grid-column: 1; margin: 0; color: var(--i-text); font: 600 20px/1.2 var(--i-font-display); letter-spacing: -0.025em; }
.wallet-console .wallet-scan-consent > p { grid-column: 1; }
.wallet-console .wallet-scan-consent > p:first-of-type { max-width: 78ch; margin: 0; color: var(--i-text-2); font: 400 13.5px/1.6 var(--i-font); }
.wallet-console .wallet-scan-consent > p:last-of-type { max-width: none; }
.wallet-console .wallet-scan-consent > .action { grid-column: 2; grid-row: 1 / span 3; align-self: center; width: auto; min-height: 44px; }

/* Status: a HUD readout with a state dot. */
.wallet-console #wallet-status {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 18px;
  padding: 0 6px;
  color: var(--i-text-2);
  font: 500 10.5px/1.5 var(--i-font-mono);
  letter-spacing: 0.12em;
}
.wallet-console #wallet-status::before { content: ''; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--i-text-3); }
.wallet-console #wallet-status[data-kind='loading'] { color: var(--i-lilac); }
.wallet-console #wallet-status[data-kind='loading']::before { background: var(--i-lilac); box-shadow: 0 0 10px rgba(var(--i-lilac-rgb), 0.9); animation: iris-breathe 1.4s ease-in-out infinite; }
.wallet-console #wallet-status[data-kind='ok'] { color: var(--i-mint); }
.wallet-console #wallet-status[data-kind='ok']::before { background: var(--i-mint); box-shadow: 0 0 10px rgba(var(--i-mint-rgb), 0.9); }
.wallet-console #wallet-status[data-kind='error'] { color: var(--i-risk); }
.wallet-console #wallet-status[data-kind='error']::before { background: var(--i-risk); box-shadow: 0 0 10px rgba(var(--i-risk-rgb), 0.8); }

/* ── Results ── */
.wallet-console #wallet-results { display: flex; flex-direction: column; gap: 14px; }
.wallet-console #wallet-results:empty,
.wallet-console #wallet-review:empty { display: none; }

/* Summary: four HUD figures in one well. */
.wallet-console .wallet-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--i-well-line);
  border-radius: var(--i-r-lg);
  background: var(--i-well);
  box-shadow: none;
  animation: iris-rise var(--i-dur-3) var(--i-ease) both;
}
.wallet-console .wallet-summary > div { min-width: 0; padding: 18px 22px; border: 0; border-right: 1px solid var(--i-line); }
.wallet-console .wallet-summary > div:last-child { border-right: 0; }
.wallet-console .wallet-summary small { display: block; color: var(--i-text-3); font: 500 9.5px/1.4 var(--i-font-mono); letter-spacing: 0.16em; }
.wallet-console .wallet-summary strong { display: block; margin-top: 8px; color: var(--i-text); font: 600 clamp(20px, 2vw, 27px)/1.1 var(--i-font-display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

/* Toolbar: the fee or lock note on the left, selection and batch actions on the right. */
.wallet-console .wallet-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 0 2px; }
.wallet-console .wallet-toolbar > span { max-width: 66ch; color: var(--i-text-2); font: 400 12.5px/1.55 var(--i-font); }
.wallet-console .wallet-batch-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; }
.wallet-console .batch-fee-control { display: flex; align-items: center; gap: 8px; }
.wallet-console #batch-revoke:not(:disabled) {
  border-color: transparent;
  background: var(--i-text);
  color: var(--i-bg);
  font-weight: 600;
  box-shadow: 0 10px 28px -14px rgba(var(--i-lilac-rgb), 0.7), 0 0 0 1px rgba(var(--i-lilac-rgb), 0.55) inset;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.wallet-console #batch-revoke:not(:disabled):hover { filter: brightness(1.05); box-shadow: 0 0 0 4px rgba(var(--i-violet-rgb), 0.18), 0 14px 34px -12px rgba(var(--i-violet-rgb), 0.85); }
.wallet-console #selected-count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: var(--i-r-pill);
  background: rgba(var(--i-violet-rgb), 0.2);
  color: var(--i-text);
  font: 600 11px/1 var(--i-font-mono);
  font-variant-numeric: tabular-nums;
}
.wallet-console #batch-revoke:not(:disabled) #selected-count { background: var(--i-ultra); color: var(--i-text); }

/* Approvals: one data list. Columns line up across rows through a subgrid. */
.wallet-console .approval-list {
  display: grid;
  grid-template-columns: 36px minmax(0, 1.55fr) minmax(0, 1fr) minmax(0, 1fr) auto;
  column-gap: 20px;
  border: 1px solid var(--i-well-line);
  border-radius: var(--i-r-lg);
  background: var(--i-well);
}
.wallet-console :is(.approval-columns, .approval-row) {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 36px minmax(0, 1.55fr) minmax(0, 1fr) minmax(0, 1fr) 236px;
  grid-template-columns: subgrid;
  column-gap: 20px;
  align-items: center;
}
.wallet-console .approval-columns { padding: 12px 20px 11px; border-bottom: 1px solid var(--i-line); color: var(--i-text-3); font: 500 9.5px/1.4 var(--i-font-mono); letter-spacing: 0.16em; }
.wallet-console .approval-list:not(:has(.approval-row)) .approval-columns { display: none; }
.wallet-console .approval-row {
  grid-template-rows: auto auto;
  row-gap: 3px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--i-line);
  transition: background var(--i-dur-2) var(--i-ease), box-shadow var(--i-dur-2) var(--i-ease);
  animation: iris-rise var(--i-dur-3) var(--i-ease) both;
}
.wallet-console .approval-row:nth-of-type(2) { animation-delay: 50ms; }
.wallet-console .approval-row:nth-of-type(3) { animation-delay: 100ms; }
.wallet-console .approval-row:nth-of-type(4) { animation-delay: 150ms; }
.wallet-console .approval-row:nth-of-type(n + 5) { animation-delay: 200ms; }
.wallet-console .approval-row:last-child { border-bottom: 0; border-radius: 0 0 calc(var(--i-r-lg) - 1px) calc(var(--i-r-lg) - 1px); }
.wallet-console .approval-row:hover { background: rgba(var(--i-violet-rgb), 0.045); }
.wallet-console .approval-row:has(input:checked) { background: linear-gradient(90deg, rgba(var(--i-violet-rgb), 0.13), rgba(var(--i-violet-rgb), 0.03) 70%); box-shadow: inset 2px 0 0 var(--i-violet); }
.wallet-console .approval-row.unverified { opacity: 0.72; }
.wallet-console .approval-main { display: contents; }
.wallet-console .approval-select { grid-column: 1; grid-row: 1 / span 2; }
.wallet-console .approval-title { grid-column: 2; grid-row: 1; }
.wallet-console .approval-main > p { grid-column: 2; grid-row: 2; }
.wallet-console .approval-addresses { grid-column: 3; grid-row: 1 / span 2; }
.wallet-console .approval-exposure { grid-column: 4; grid-row: 1 / span 2; min-width: 0; }
.wallet-console .revoke-control { grid-column: 5; grid-row: 1 / span 2; }

/* Selection: a glass check that fills with the ultraviolet gradient. The real input covers the box. */
.wallet-console .approval-select { position: relative; display: grid; place-items: center; width: 36px; height: 36px; cursor: pointer; }
.wallet-console .approval-select input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.wallet-console .approval-select input:disabled { cursor: not-allowed; }
.wallet-console .approval-select span {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
  border: 1px solid var(--i-line-2);
  border-radius: 6px;
  background: var(--i-surface);
  box-shadow: none;
  transition: background var(--i-dur-2) var(--i-ease), border-color var(--i-dur-2) var(--i-ease), box-shadow var(--i-dur-2) var(--i-ease), transform var(--i-dur-2) var(--i-spring);
}
.wallet-console .approval-select:hover input:not(:disabled) + span { border-color: rgba(var(--i-violet-rgb), 0.6); }
.wallet-console .approval-select input:checked + span { border-color: transparent; background: var(--i-uv); box-shadow: 0 0 14px -2px rgba(var(--i-violet-rgb), 0.75); transform: scale(1.06); }
.wallet-console .approval-select input:checked + span::after { content: ''; position: absolute; left: 5.5px; top: 2px; width: 5px; height: 9px; border-right: 2px solid var(--i-bg); border-bottom: 2px solid var(--i-bg); transform: rotate(45deg); }
.wallet-console .approval-select input:focus-visible + span { outline: 2px solid rgba(var(--i-lilac-rgb), 0.9); outline-offset: 3px; }
.wallet-console .approval-select input:disabled + span { opacity: 0.35; }

.wallet-console .approval-title { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; min-width: 0; }
.wallet-console .approval-title b { color: var(--i-text); font: 600 14.5px/1.35 var(--i-font); letter-spacing: -0.005em; overflow-wrap: anywhere; }
.wallet-console .approval-title em {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 20px;
  padding: 0 8px;
  border: 1px solid rgba(var(--i-risk-rgb), 0.32);
  border-radius: var(--i-r-pill);
  background: rgba(var(--i-risk-rgb), 0.08);
  color: var(--i-risk);
  font: 500 9.5px/1 var(--i-font-mono);
  font-style: normal;
  letter-spacing: 0.12em;
  white-space: nowrap;
}
.wallet-console .approval-title em::before { content: ''; flex: none; width: 5px; height: 5px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.wallet-console .approval-title em.warning { border-color: rgba(var(--i-warn-rgb), 0.32); background: rgba(var(--i-warn-rgb), 0.08); color: var(--i-warn); }
.wallet-console .approval-main > p { margin: 0; color: var(--i-text-2); font: 400 12.5px/1.45 var(--i-font); }
.wallet-console .approval-addresses { display: grid; justify-items: start; gap: 5px; color: var(--i-text-2); font: 500 11px/1.4 var(--i-font-mono); letter-spacing: 0.02em; }
.wallet-console .approval-addresses small { margin-right: 4px; color: var(--i-text-3); font-size: 9.5px; letter-spacing: 0.14em; }
.wallet-console .approval-addresses a { color: var(--i-lilac); text-decoration: none; text-underline-offset: 3px; transition: color var(--i-dur-2) var(--i-ease); }
.wallet-console .approval-addresses a:hover { color: var(--i-text); text-decoration: underline; text-decoration-color: rgba(var(--i-lilac-rgb), 0.5); }
.wallet-console .approval-exposure small { display: block; color: var(--i-text-3); font: 500 9.5px/1.4 var(--i-font-mono); letter-spacing: 0.14em; }
.wallet-console .approval-exposure strong { display: block; margin-top: 4px; color: var(--i-text); font: 500 14px/1.4 var(--i-font); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
@container wallet-console (min-width: 721px) {
  /* The column header names the figure, so the per-row label is kept for screen readers only. */
  .wallet-console .approval-exposure small { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .wallet-console .approval-exposure strong { margin-top: 0; }
}

.wallet-console .revoke-control { position: relative; display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.wallet-console .revoke-control .revoke-button { flex: none; color: var(--i-lilac); }
.wallet-console .revoke-control .revoke-button:hover:not(:disabled) { color: var(--i-text); }
.wallet-console .revoke-control .revoke-button:disabled { border-style: dashed; border-color: var(--i-line-2); background: none; color: var(--i-text-3); opacity: 1; -webkit-backdrop-filter: none; backdrop-filter: none; }
/* No-fee recovery is the one way forward in a locked state, so it gets the primary pill. */
.wallet-console .revoke-control .revoke-button[data-recover='true']:not(:disabled),
.wallet-console .revoke-control .revoke-button[data-recover='true']:not(:disabled):hover {
  border-color: transparent;
  background: var(--i-text);
  color: var(--i-bg);
  font-weight: 600;
  box-shadow: 0 10px 28px -14px rgba(var(--i-lilac-rgb), 0.7), 0 0 0 1px rgba(var(--i-lilac-rgb), 0.55) inset;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.wallet-console .revoke-control .revoke-button[data-recover='true']:not(:disabled):hover { filter: brightness(1.05); box-shadow: 0 0 0 4px rgba(var(--i-violet-rgb), 0.18), 0 14px 34px -12px rgba(var(--i-violet-rgb), 0.85); }

/* Fee (i): the theme's info dot; the tooltip reads like .iris-tooltip. */
.wallet-console .fee-help {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  padding: 0;
  border: 1px solid var(--i-line-2);
  border-radius: 50%;
  background: none;
  color: var(--i-text-3);
  font: 600 10px/1 var(--i-font);
  cursor: help;
  transition: color var(--i-dur-2) var(--i-ease), border-color var(--i-dur-2) var(--i-ease), box-shadow var(--i-dur-2) var(--i-ease);
}
.wallet-console .fee-help:hover,
.wallet-console .fee-help:focus { color: var(--i-text); border-color: rgba(var(--i-violet-rgb), 0.7); box-shadow: 0 0 14px -2px rgba(var(--i-violet-rgb), 0.5); }
.wallet-console .fee-tooltip {
  right: -8px;
  bottom: calc(100% + 10px);
  width: max-content;
  max-width: min(280px, calc(100vw - 48px));
  padding: 10px 12px;
  border: 1px solid var(--i-line-2);
  border-radius: var(--i-r-sm);
  background: var(--i-popover);
  box-shadow: var(--i-shadow-2), 0 0 24px -8px rgba(var(--i-violet-rgb), 0.45);
  color: var(--i-text-2);
  font: 400 12.5px/1.55 var(--i-font);
  letter-spacing: 0;
  text-align: left;
  white-space: normal;
  transform: translateY(4px) scale(0.97);
  transform-origin: bottom right;
  transition: opacity var(--i-dur-2) var(--i-ease), transform var(--i-dur-2) var(--i-ease), visibility var(--i-dur-2);
}
.wallet-console .fee-help:hover + .fee-tooltip,
.wallet-console .fee-help:focus + .fee-tooltip { transform: none; }

/* Nothing found is the good outcome: mint, not an empty box. */
.wallet-console .wallet-empty { grid-column: 1 / -1; display: grid; justify-items: start; gap: 8px; min-height: 0; padding: 26px 24px; border: 0; color: var(--i-text-2); text-align: left; }
.wallet-console .wallet-empty p { max-width: 64ch; margin: 0; color: var(--i-text-2); font: 400 13.5px/1.6 var(--i-font); }

/* Loading: a well with a slow scan line. */
.wallet-console .wallet-loading {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 180px;
  border: 1px solid var(--i-well-line);
  border-radius: var(--i-r-lg);
  background: var(--i-well);
  color: var(--i-text-2);
  font: 400 13.5px/1.5 var(--i-font);
  text-align: center;
}
.wallet-console .wallet-loading::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(var(--i-lilac-rgb), 0.08), transparent) 0 0 / 100% 45% no-repeat;
  animation: iris-wallet-sweep 2.4s var(--i-ease) infinite;
  pointer-events: none;
}
.wallet-console .wallet-loading i { width: 30px; height: 30px; border: 2px solid rgba(var(--i-violet-rgb), 0.22); border-top-color: var(--i-lilac); border-radius: 50%; box-shadow: 0 0 18px -4px rgba(var(--i-violet-rgb), 0.7); animation: iris-wallet-spin 0.9s linear infinite; }
@keyframes iris-wallet-spin { to { transform: rotate(360deg); } }
@keyframes iris-wallet-sweep { from { background-position: 0 -140%; } to { background-position: 0 240%; } }

/* ── Review, receipts and errors: the decision tile ── */
.wallet-console :is(#wallet-review > div, #wallet-results > .wallet-error) {
  position: relative;
  isolation: isolate;
  display: block;
  place-items: normal;
  min-height: 0;
  margin: 0;
  padding: 24px 26px;
  border: 1px solid transparent;
  border-radius: var(--i-r-lg);
  background: var(--i-tile-bg);
  box-shadow: var(--i-tile-shadow);
  color: var(--i-text-2);
  text-align: left;
  animation: iris-rise var(--i-dur-3) var(--i-ease) both;
}
.wallet-console :is(#wallet-review, #wallet-results) > .wallet-error {
  background: var(--i-glass) padding-box, linear-gradient(135deg, rgba(var(--i-risk-rgb), 0.6), rgba(var(--i-risk-rgb), 0.14) 32%, var(--i-highlight) 64%, rgba(var(--i-risk-rgb), 0.22)) border-box;
  box-shadow: var(--i-shadow-1), 0 0 32px -8px rgba(var(--i-risk-rgb), 0.24);
}
.wallet-console #wallet-review > .wallet-error.is-warn {
  background: var(--i-glass) padding-box, linear-gradient(135deg, rgba(var(--i-warn-rgb), 0.55), rgba(var(--i-warn-rgb), 0.12) 32%, var(--i-highlight) 64%, rgba(var(--i-warn-rgb), 0.2)) border-box;
  box-shadow: var(--i-shadow-1), 0 0 32px -8px rgba(var(--i-warn-rgb), 0.2);
}
.wallet-console #wallet-review > .revoke-review.is-ok {
  background: var(--i-glass) padding-box, linear-gradient(135deg, rgba(var(--i-mint-rgb), 0.55), rgba(var(--i-mint-rgb), 0.12) 32%, var(--i-highlight) 64%, rgba(var(--i-violet-rgb), 0.3)) border-box;
  box-shadow: var(--i-shadow-1), 0 0 32px -8px rgba(var(--i-mint-rgb), 0.24);
}

/* A status line opens every receipt and error: mono, with a dot in its fixed colour. */
.wallet-console :is(.revoke-review, .wallet-error, .wallet-empty) > b:first-child {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--i-lilac);
  font: 500 11px/1.45 var(--i-font-mono);
  letter-spacing: 0.14em;
}
.wallet-console :is(.revoke-review, .wallet-error, .wallet-empty) > b:first-child::before { content: ''; flex: none; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.wallet-console .wallet-error > b:first-child { color: var(--i-risk); }
.wallet-console .wallet-error.is-warn > b:first-child { color: var(--i-warn); }
.wallet-console .revoke-review.is-pending > b:first-child::before { animation: iris-breathe 1.4s ease-in-out infinite; }
.wallet-console :is(.revoke-review.is-ok, .wallet-empty) > b:first-child { color: var(--i-mint); }
.wallet-console :is(.revoke-review.is-ok, .wallet-empty) > b:first-child::before {
  content: '✓';
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  background: var(--i-mint);
  box-shadow: 0 0 14px -2px rgba(var(--i-mint-rgb), 0.8);
  color: var(--i-bg);
  font: 700 10px/1 var(--i-font);
}
.wallet-console :is(#wallet-review > div, #wallet-results > .wallet-error) > p { max-width: 74ch; margin: 10px 0 0; color: var(--i-text-2); font: 400 13.5px/1.6 var(--i-font); }
.wallet-console :is(#wallet-review > div, #wallet-results > .wallet-error) > span:not(.eyebrow):not(.wallet-pending) { display: block; max-width: 74ch; margin: 10px 0 0; color: var(--i-text-2); font: 400 13.5px/1.6 var(--i-font); }
.wallet-console #wallet-review .wallet-hash {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-top: 12px;
  padding: 7px 11px;
  border: 1px solid var(--i-well-line);
  border-radius: 10px;
  background: var(--i-well);
  color: var(--i-text);
  font: 500 12px/1.5 var(--i-font-mono);
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
}
.wallet-console #wallet-results > .wallet-error > .action { margin-top: 16px; }
.wallet-console .wallet-pending { display: inline-flex; align-items: center; gap: 9px; margin-top: 14px; color: var(--i-warn); font: 500 11px/1.4 var(--i-font-mono); letter-spacing: 0.06em; }
.wallet-console .wallet-pending::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; animation: iris-breathe 1.4s ease-in-out infinite; }

/* Reviews: one eyebrow and one title, the exact request as a receipt, the fee rows lit, the detail as a note. */
.wallet-console #wallet-review .eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--i-lilac); font: 500 10.5px/1.4 var(--i-font-mono); letter-spacing: 0.18em; }
.wallet-console #wallet-review .eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--i-violet); box-shadow: 0 0 10px rgba(var(--i-violet-rgb), 0.9); }
.wallet-console #wallet-review .wallet-error.is-warn .eyebrow { color: var(--i-warn); }
.wallet-console #wallet-review .wallet-error.is-warn .eyebrow::before { background: var(--i-warn); box-shadow: 0 0 10px rgba(var(--i-warn-rgb), 0.9); }
.wallet-console #wallet-review h3 { margin: 10px 0 16px; color: var(--i-text); font: 600 clamp(19px, 1.9vw, 23px)/1.25 var(--i-font-display); letter-spacing: -0.025em; overflow-wrap: anywhere; }
.wallet-console #wallet-review .finding {
  display: grid;
  grid-template-columns: minmax(120px, 190px) minmax(0, 1fr);
  align-items: baseline;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--i-line);
  font-size: 13px;
}
.wallet-console #wallet-review .finding > span { color: var(--i-text-2); font: 400 13px/1.45 var(--i-font); }
.wallet-console #wallet-review .finding > b { justify-self: end; min-width: 0; color: var(--i-text); font: 500 12px/1.5 var(--i-font-mono); letter-spacing: 0.02em; text-align: right; overflow-wrap: anywhere; }
.wallet-console #wallet-review .finding--fee { margin: 0 -12px; padding-inline: 12px; background: rgba(var(--i-violet-rgb), 0.07); }
.wallet-console #wallet-review .finding:not(.finding--fee) + .finding--fee,
.wallet-console #wallet-review :not(.finding) + .finding--fee { border-top-left-radius: 10px; border-top-right-radius: 10px; }
.wallet-console #wallet-review .finding--fee:not(:has(+ .finding--fee)) { border-bottom-color: transparent; border-bottom-left-radius: 10px; border-bottom-right-radius: 10px; }
.wallet-console #wallet-review .finding--fee > span { color: var(--i-text); }
.wallet-console #wallet-review .finding--fee > b { color: var(--i-lilac); font-weight: 600; }
.wallet-console #wallet-review :is(.revoke-review, .wallet-error):has(> h3) > p {
  max-width: none;
  margin: 16px 0 0;
  padding: 12px 14px;
  border: 1px solid var(--i-line);
  border-left: 2px solid rgba(var(--i-violet-rgb), 0.6);
  border-radius: 0 var(--i-r-sm) var(--i-r-sm) 0;
  background: rgba(var(--i-violet-rgb), 0.04);
  color: var(--i-text-2);
  font: 400 12.5px/1.6 var(--i-font);
}
.wallet-console #wallet-review .wallet-error.is-warn:has(> h3) > p { border-left-color: rgba(var(--i-warn-rgb), 0.6); background: rgba(var(--i-warn-rgb), 0.04); }
.wallet-console #wallet-review :is(.revoke-review, .wallet-error):has(> h3) > h3 + p { margin-top: 0; margin-bottom: 8px; }
.wallet-console #wallet-review .review-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 20px; }

/* ── Motion off for anyone who asks ── */
@media (prefers-reduced-motion: reduce) {
  .wallet-console .wallet-account-gate,
  .wallet-console .wallet-summary,
  .wallet-console .approval-row,
  .wallet-console .wallet-loading::before,
  .wallet-console .wallet-loading i,
  .wallet-console .wallet-pending::before,
  .wallet-console #wallet-status::before,
  .wallet-console .revoke-review.is-pending > b:first-child::before,
  .wallet-console :is(#wallet-scan, #confirm-revoke, #confirm-batch, #confirm-recovery-one, #start-recovery, #confirm-sequential-continue, #confirm-paid-status):disabled,
  .wallet-console :is(#wallet-review > div, #wallet-results > .wallet-error) { animation: none !important; }
  .wallet-console .chain-tabs::before,
  .wallet-console .approval-select span,
  .wallet-console .fee-tooltip,
  .wallet-console :is(.action, .revoke-button) { transition: none; }
  .wallet-console .approval-select input:checked + span { transform: none; }
}

/* ── Narrow console (phones, and a desktop window squeezed below ~720px) ── */
@container wallet-console (max-width: 720px) {
  .wallet-console .wallet-connect { flex-direction: column; align-items: stretch; }
  .wallet-console .wallet-account-selector { flex: none; max-width: none; }
  .wallet-console .wallet-account-actions { display: grid; grid-template-columns: minmax(0, 1fr); justify-content: stretch; }
  .wallet-console .wallet-account-actions .action { width: 100%; white-space: normal; text-align: center; }
  .wallet-console .wallet-gate-actions { flex-direction: column; align-items: stretch; }
  .wallet-console .wallet-account-gate .action { width: 100%; }
  .wallet-console #wallet-account-auth-status { flex: none; max-width: none; }
  .wallet-console .chain-tabs { width: 100%; }
  .wallet-console .chain-tabs button { padding: 0 6px; font-size: 13px; }
  .wallet-console .wallet-scan-consent { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .wallet-console .wallet-scan-consent > .action { grid-column: 1; grid-row: auto; width: 100%; margin-top: 6px; }
  .wallet-console .wallet-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wallet-console .wallet-summary > div { padding: 16px 18px; }
  .wallet-console .wallet-summary > div:nth-child(2) { border-right: 0; }
  .wallet-console .wallet-summary > div:nth-child(-n + 2) { border-bottom: 1px solid var(--i-line); }
  .wallet-console .wallet-toolbar { flex-direction: column; align-items: stretch; }
  .wallet-console .wallet-batch-actions { justify-content: stretch; }
  .wallet-console .wallet-batch-actions > .action,
  .wallet-console .batch-fee-control { flex: 1 1 auto; }
  .wallet-console .batch-fee-control > .action { flex: 1; }
  .wallet-console .approval-list { display: block; }
  .wallet-console .approval-columns { display: none; }
  .wallet-console .approval-row {
    grid-template-columns: 44px minmax(0, 1fr);
    grid-template-rows: none;
    column-gap: 8px;
    row-gap: 6px;
    align-items: start;
    padding: 16px 16px 16px 8px;
  }
  .wallet-console .approval-columns + .approval-row { border-radius: calc(var(--i-r-lg) - 1px) calc(var(--i-r-lg) - 1px) 0 0; }
  .wallet-console .approval-columns + .approval-row:last-child { border-radius: calc(var(--i-r-lg) - 1px); }
  .wallet-console .approval-select { grid-row: 1 / span 2; margin-top: -8px; }
  .wallet-console .approval-title { grid-column: 2; grid-row: 1; }
  .wallet-console .approval-main > p { grid-column: 2; grid-row: 2; }
  .wallet-console .approval-addresses { grid-column: 2; grid-row: 3; display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 4px; }
  .wallet-console .approval-exposure { grid-column: 2; grid-row: 4; margin-top: 4px; }
  .wallet-console .revoke-control { grid-column: 2; grid-row: 5; justify-content: flex-start; margin-top: 6px; }
  .wallet-console .revoke-control .revoke-button { flex: 0 1 auto; min-width: 120px; white-space: normal; }
  .wallet-console #wallet-status { align-items: flex-start; letter-spacing: 0.06em; }
  .wallet-console #wallet-status::before { margin-top: 5px; }
  .wallet-console :is(#wallet-review > div, #wallet-results > .wallet-error) { padding: 20px 18px; }
  .wallet-console #wallet-review .finding { grid-template-columns: minmax(0, 1fr); gap: 3px; }
  .wallet-console #wallet-review .finding > b { justify-self: start; text-align: left; }
  .wallet-console #wallet-review .review-actions { flex-direction: column-reverse; }
  .wallet-console #wallet-review .review-actions .action { width: 100%; white-space: normal; }
}

/* ── Phones ── */
@media (max-width: 780px) {
  #modal .wallet-console { --wallet-gap: 14px; padding: 18px 16px 20px; }
  .module-page #modal.wallet-mode .modal-head { padding: 16px 16px 14px; }
  .module-page #modal.wallet-mode .modal-head h2 { font-size: 20px; }
  .wallet-console .wallet-connect { padding: 16px; }
  .wallet-console .wallet-account-gate { padding: 20px 16px 18px; }
  .wallet-console #wallet-account { font-size: 16px; }
  body[data-module='wallet'] #module-banner { padding: 26px 24px; }
}
@media (max-width: 600px) {
  body[data-module='wallet'] #module-banner { display: block; padding: 22px 20px 22px; border-radius: var(--i-r-lg); }
  body[data-module='wallet'] #module-banner .eyebrow { padding-right: 56px; }
  body[data-module='wallet'] #module-banner h1 { margin: 16px 0 10px; font-size: clamp(25px, 7.4vw, 30px); }
  body[data-module='wallet'] #module-banner p { font-size: 14px; }
  body[data-module='wallet'] #module-banner .module-emblem { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 14px; }
  body[data-module='wallet'] #module-banner .module-emblem svg { width: 24px; height: 24px; }
}

/* ── Touch: 44px targets ── */
@media (pointer: coarse) {
  .wallet-console :is(.action, .revoke-button),
  .wallet-console :is(.wallet-account-actions, .wallet-batch-actions) :is(.action, .revoke-button),
  .wallet-console .revoke-button { min-height: 44px; }
  .wallet-console .chain-tabs button { min-height: 42px; }
  .wallet-console .approval-select { width: 44px; height: 44px; }
  .wallet-console .fee-help::before { content: ''; position: absolute; inset: -13px; }
  .wallet-console .approval-addresses a { display: inline-flex; align-items: center; min-height: 44px; margin-block: -12px; }
  .wallet-console #wallet-account-selector { font-size: 16px; }
}
