/* ==========================================================================
   LOCKED — Wallet Mission Control presentation baseline (approved)
   Do not modify without explicit owner reopen
   ========================================================================== */

/* ==========================================================================
   Wallet Mission Control — GLOBAL surface SSOT (:root)
   Published for cross-page inheritance (Smart Contracts, Explorer, etc.)
   ========================================================================== */

:root {
  /* Glass surfaces */
  --wallet-glass-bg: rgba(16, 44, 54, 0.18);
  --wallet-glass-bg-strong: rgba(14, 38, 48, 0.28);
  --wallet-glass-bg-hero: rgba(18, 52, 62, 0.24);
  --wallet-glass-border: rgba(22, 224, 214, 0.18);
  --wallet-glass-border-soft: rgba(255, 255, 255, 0.08);
  --wallet-glass-blur: 28px;
  --wallet-glass-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 8px 32px rgba(0, 0, 0, 0.14),
    0 24px 48px rgba(0, 0, 0, 0.08);
  --wallet-glass-shadow-float:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 12px 40px rgba(0, 0, 0, 0.18),
    0 32px 64px rgba(0, 0, 0, 0.10);
  --wallet-glass-glow: 0 0 48px rgba(22, 224, 214, 0.08);
  --wallet-glass-glow-hero: 0 0 72px rgba(22, 224, 214, 0.14);
  --wallet-glass-overlay: linear-gradient(152deg, rgba(255, 255, 255, 0.06) 0%, transparent 44%);
  --wallet-glass-overlay-soft: linear-gradient(152deg, rgba(255, 255, 255, 0.04) 0%, transparent 44%);
  --wallet-edge-light: linear-gradient(135deg, rgba(255, 255, 255, 0.10) 0%, transparent 50%);

  /* Panel / section surfaces (explorer globals + wallet glass) */
  --wallet-panel: var(--panel);
  --wallet-panel-alt: var(--panel-2);
  --wallet-panel-border: var(--panel-border);
  --wallet-panel-border-strong: var(--panel-border-2);
  --wallet-panel-shadow: var(--surface-shadow);
  --wallet-panel-shadow-elevated: var(--surface-shadow-elevated);
  --wallet-section-bg: var(--wallet-glass-bg);
  --wallet-section-border: rgba(22, 224, 214, 0.22);
  --wallet-section-glow: rgba(22, 224, 214, 0.14);
  --wallet-surface-1: var(--wallet-glass-bg);
  --wallet-surface-2: var(--wallet-glass-bg-strong);
  --wallet-surface-3: var(--wallet-glass-bg-hero);

  /* Charcoal depth */
  --wallet-charcoal-1: rgba(12, 30, 38, 0.32);
  --wallet-charcoal-2: rgba(10, 26, 34, 0.36);
  --wallet-white-bloom: rgba(255, 255, 255, 0.08);
  --wallet-hairline: rgba(255, 255, 255, 0.04);

  /* IDE / editor shells (wallet glass family) */
  --wallet-ide-editor: var(--wallet-glass-bg);
  --wallet-ide-editor-focus: var(--wallet-charcoal-1);
  --wallet-ide-rail: var(--wallet-charcoal-2);
  --wallet-ide-rail-muted: var(--wallet-charcoal-2);
  --wallet-ide-shell: var(--wallet-glass-bg-strong);
  --wallet-frame: var(--wallet-teal-line);
  --wallet-frame-soft: var(--wallet-teal-surface);

  /* Accent + motion (teal family) */
  --wallet-teal: #16e0d6;
  --wallet-teal-dim: rgba(22, 224, 214, 0.72);
  --wallet-teal-glow: rgba(22, 224, 214, 0.40);
  --wallet-teal-surface: rgba(15, 168, 157, 0.12);
  --wallet-teal-line: rgba(22, 224, 214, 0.32);
  --wallet-ease-float: cubic-bezier(0.22, 1, 0.36, 1);
  --wallet-dur-hover: 0.26s;
  --wallet-dur-glow: 4.8s;

  /* Typography surfaces */
  --wallet-text-primary: var(--text);
  --wallet-text-body: var(--text-dim);
  --wallet-text-muted: var(--text-faint);
}

/* ==========================================================================
   UNARA OS V2 — Wallet Operations Visual System
   Premium glass · Vision Pro depth · scoped to #page-wallets
   ========================================================================== */

#page-wallets {
  position: relative;

  /* —— V2 glass tokens (alias global SSOT) —— */
  --wo-glass-bg: var(--wallet-glass-bg);
  --wo-glass-bg-strong: var(--wallet-glass-bg-strong);
  --wo-glass-bg-hero: var(--wallet-glass-bg-hero);
  --wo-glass-border: var(--wallet-glass-border);
  --wo-glass-border-soft: var(--wallet-glass-border-soft);
  --wo-glass-blur: var(--wallet-glass-blur);
  --wo-glass-shadow: var(--wallet-glass-shadow);
  --wo-glass-shadow-float: var(--wallet-glass-shadow-float);
  --wo-glass-glow: var(--wallet-glass-glow);
  --wo-glass-glow-hero: var(--wallet-glass-glow-hero);

  /* —— UNARA palette —— */
  --wo-teal: var(--wallet-teal);
  --wo-teal-dim: var(--wallet-teal-dim);
  --wo-teal-glow: var(--wallet-teal-glow);
  --wo-teal-surface: var(--wallet-teal-surface);
  --wo-teal-line: var(--wallet-teal-line);
  --wo-cyan: #38bdf8;
  --wo-cyan-glow: rgba(56, 189, 248, 0.30);
  --wo-deep-blue: rgba(14, 40, 56, 0.38);
  --wo-charcoal-1: var(--wallet-charcoal-1);
  --wo-charcoal-2: var(--wallet-charcoal-2);
  --wo-violet: rgba(167, 154, 211, 0.88);
  --wo-violet-soft: rgba(124, 106, 174, 0.14);
  --wo-violet-glow: rgba(124, 106, 174, 0.14);
  --wo-white-bloom: var(--wallet-white-bloom);
  --wo-edge-light: var(--wallet-edge-light);

  /* —— Section accent modifiers —— */
  --wo-section-accent: var(--wo-teal);
  --wo-section-glow: var(--wallet-section-glow);
  --wo-section-border: var(--wallet-section-border);

  /* —— Motion —— */
  --wo-ease-float: var(--wallet-ease-float);
  --wo-dur-hover: var(--wallet-dur-hover);
  --wo-dur-glow: var(--wallet-dur-glow);
}

/* Page shell (container, ambient, z-stack) → css/wallet-page-shell.css (.wallet-page-shell) */

/* —— Wallet Overview — second hero —— */
#page-wallets .wo-my-wallet {
  position: relative;
  overflow: hidden;
  padding: 28px 32px 30px;
  min-width: 0;
  margin-bottom: 8px;
  background:
    linear-gradient(158deg, rgba(22, 224, 214, 0.08) 0%, transparent 38%),
    linear-gradient(180deg, rgba(18, 52, 62, 0.28) 0%, rgba(14, 38, 48, 0.20) 100%);
  border: 1px solid rgba(22, 224, 214, 0.22);
  border-radius: 22px;
  box-shadow: var(--wo-glass-shadow-float), var(--wo-glass-glow);
  backdrop-filter: blur(var(--wo-glass-blur));
  -webkit-backdrop-filter: blur(var(--wo-glass-blur));
  transform: translateY(0);
  transition:
    transform var(--wo-dur-hover) var(--wo-ease-float),
    box-shadow var(--wo-dur-hover);
  z-index: 3;
}

#page-wallets .wo-my-wallet::before {
  content: "";
  position: absolute;
  inset: -50% -30% auto -30%;
  height: 320px;
  background:
    radial-gradient(ellipse 55% 75% at 28% 42%, rgba(22, 224, 214, 0.18), transparent 68%),
    radial-gradient(ellipse 45% 55% at 82% 18%, rgba(124, 106, 174, 0.12), transparent 72%);
  pointer-events: none;
  animation: woAmbientDrift var(--wo-dur-glow) ease-in-out infinite alternate;
}

#page-wallets .wo-my-wallet::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--wo-edge-light);
  border-radius: inherit;
  pointer-events: none;
  opacity: 0.65;
}

@keyframes woAmbientDrift {
  0% { transform: translate(0, 0) scale(1); opacity: 0.8; }
  100% { transform: translate(3%, 4%) scale(1.05); opacity: 1; }
}

#page-wallets .wo-my-wallet > * {
  position: relative;
  z-index: 1;
}

#page-wallets .wo-my-wallet-head {
  margin-bottom: 16px;
}

#page-wallets .wo-my-wallet-head .panel-title {
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.03em;
  background: linear-gradient(92deg, #fff 0%, var(--wo-teal-dim) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

#page-wallets .wo-my-identity {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  padding: 14px 18px;
  margin-bottom: 16px;
  min-width: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--wo-glass-border-soft);
  border-radius: 14px;
  box-shadow: 0 0 28px rgba(22, 224, 214, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* —— Shared glass section shell —— */
#page-wallets .wo-dash-section {
  position: relative;
  margin-top: 26px;
  padding: 24px 28px;
  border: 1px solid var(--wo-section-border);
  border-radius: 20px;
  background:
    linear-gradient(152deg, rgba(255, 255, 255, 0.06) 0%, transparent 44%),
    var(--wo-glass-bg);
  box-shadow: var(--wo-glass-shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  min-width: 0;
  transform: translateY(0);
  transition:
    border-color var(--wo-dur-hover) var(--wo-ease-float),
    box-shadow var(--wo-dur-hover) var(--wo-ease-float),
    transform var(--wo-dur-hover) var(--wo-ease-float);
  z-index: 2;
}

#page-wallets .wo-dash-section:hover {
  transform: translateY(-2px);
  border-color: var(--wo-teal-glow);
  box-shadow: var(--wo-glass-shadow), 0 0 40px var(--wo-section-glow);
}

/* Portfolio — primary hero panel */
#page-wallets .wo-dash-section[aria-label="Portfolio"] {
  --wo-section-accent: var(--wo-teal);
  --wo-section-glow: rgba(22, 224, 214, 0.20);
  --wo-section-border: rgba(22, 224, 214, 0.32);
  margin-top: 32px;
  padding: 32px 36px 34px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(22, 224, 214, 0.10) 0%, transparent 52%),
    linear-gradient(180deg, rgba(18, 56, 66, 0.32) 0%, rgba(14, 40, 50, 0.22) 100%);
  box-shadow: var(--wo-glass-shadow-float), var(--wo-glass-glow-hero);
  backdrop-filter: blur(var(--wo-glass-blur));
  -webkit-backdrop-filter: blur(var(--wo-glass-blur));
  z-index: 4;
  overflow: hidden;
}

#page-wallets .wo-dash-section[aria-label="Portfolio"]::before {
  content: "";
  position: absolute;
  inset: -30% -20% auto -20%;
  height: 240px;
  background: radial-gradient(ellipse 70% 90% at 40% 50%, rgba(22, 224, 214, 0.16), transparent 70%);
  pointer-events: none;
  animation: woAmbientDrift var(--wo-dur-glow) ease-in-out infinite alternate-reverse;
}

#page-wallets .wo-dash-section[aria-label="Portfolio"] > * {
  position: relative;
  z-index: 1;
}

#page-wallets .wo-dash-section[aria-label="Portfolio"] .wo-dash-section-title {
  font-size: 13px;
  letter-spacing: 0.16em;
}

/* Wallet overview section — second hero */
#page-wallets .wo-dash-section[aria-label="Wallet overview"] {
  --wo-section-accent: var(--wo-teal);
  --wo-section-glow: rgba(22, 224, 214, 0.12);
  --wo-section-border: rgba(22, 224, 214, 0.26);
  padding: 28px 32px;
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(22, 224, 214, 0.06) 0%, transparent 48%),
    var(--wo-glass-bg-hero);
  box-shadow: var(--wo-glass-shadow-float), var(--wo-glass-glow);
  z-index: 3;
}

#page-wallets .wo-dash-section[aria-label="Activity"],
#page-wallets .wo-recent-activity-section,
#page-wallets #wo-tx-history-section {
  --wo-section-accent: var(--wo-cyan);
  --wo-section-glow: rgba(56, 189, 248, 0.14);
  --wo-section-border: rgba(56, 189, 248, 0.18);
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 8px 0 0;
}

#page-wallets .wo-dash-section[aria-label="Assets"],
#page-wallets #wo-assets-panel {
  --wo-section-accent: #6eb5ff;
  --wo-section-glow: rgba(110, 181, 255, 0.12);
  --wo-section-border: rgba(110, 181, 255, 0.22);
}

#page-wallets .wo-dash-section[aria-label="Send and receive"] {
  --wo-section-accent: var(--wo-teal);
  --wo-section-glow: rgba(22, 224, 214, 0.10);
  --wo-section-border: rgba(22, 224, 214, 0.18);
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 6px 0 0;
  margin-top: 28px;
}

#page-wallets .wo-dash-section[aria-label="Network"] {
  --wo-section-accent: var(--wo-violet);
  --wo-section-glow: var(--wo-violet-glow);
  --wo-section-border: rgba(124, 106, 174, 0.22);
  padding: 20px 24px;
  border-radius: 16px;
}

#page-wallets .wo-dash-section[aria-label="Security"] {
  --wo-section-accent: #ffb040;
  --wo-section-glow: rgba(255, 176, 64, 0.12);
  --wo-section-border: rgba(255, 176, 64, 0.22);
  padding: 20px 24px;
  border-radius: 16px;
}

#page-wallets .wo-contract-ops-section {
  --wo-section-accent: #ffb040;
  --wo-section-glow: rgba(255, 176, 64, 0.12);
  --wo-section-border: rgba(255, 176, 64, 0.24);
}

#page-wallets .wo-asset-intel-section {
  --wo-section-accent: var(--wo-violet);
  --wo-section-glow: var(--wo-violet-glow);
  --wo-section-border: rgba(139, 128, 184, 0.24);
}

#page-wallets .wo-dash-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  min-width: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

#page-wallets .wo-dash-section-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wo-section-accent, var(--wo-teal));
  margin: 0;
  text-shadow: 0 0 20px var(--wo-section-glow);
}

/* —— Metrics & stats —— */
#page-wallets .wo-dash-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 18px;
  min-width: 0;
}

#page-wallets .wo-dash-metric {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px;
  border: 1px solid var(--wo-glass-border-soft);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, transparent 100%),
    rgba(14, 38, 48, 0.22);
  min-width: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform var(--wo-dur-hover) var(--wo-ease-float), border-color var(--wo-dur-hover), box-shadow var(--wo-dur-hover);
}

#page-wallets .wo-dash-metric:hover {
  transform: translateY(-3px);
  border-color: var(--wo-teal-line);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 0 24px rgba(22, 224, 214, 0.08);
}

#page-wallets .wo-dash-metric-k {
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(230, 241, 255, 0.38);
  line-height: 1.3;
}

#page-wallets .wo-dash-metric-v {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  letter-spacing: -0.02em;
  word-break: break-word;
}

#page-wallets .wo-dash-metric-v.mono {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--wo-teal-dim);
}

#page-wallets .wo-dash-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  min-width: 0;
}

#page-wallets .wo-dash-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  min-width: 0;
}

/* —— Portfolio cards —— */
#page-wallets .wo-my-portfolio-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  min-width: 0;
}

#page-wallets .wo-my-info-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(22, 224, 214, 0.08) 0%, transparent 52%),
    rgba(14, 38, 48, 0.22);
  border: 1px solid rgba(22, 224, 214, 0.18);
  border-radius: 16px;
  padding: 20px 22px;
  min-width: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.10), 0 0 20px rgba(22, 224, 214, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform var(--wo-dur-hover) var(--wo-ease-float), box-shadow var(--wo-dur-hover);
}

#page-wallets .wo-my-info-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--wo-teal), transparent);
  opacity: 0.85;
}

#page-wallets .wo-my-info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18), 0 0 32px rgba(22, 224, 214, 0.14);
}

#page-wallets .wo-my-info-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--wo-teal);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

#page-wallets .wo-my-info-card-body {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.5;
}

#page-wallets .wo-my-info-card-note {
  font-size: 10px;
  color: var(--text-faint);
  margin-top: 8px;
  line-height: 1.35;
  font-family: "JetBrains Mono", monospace;
}

/* —— Activity blocks —— */
#page-wallets .wo-activity-block {
  min-width: 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(56, 189, 248, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

#page-wallets .wo-activity-block-k {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--wo-cyan);
  margin-bottom: 10px;
  opacity: 0.80;
}

#page-wallets .wo-my-activity-item {
  font-size: 12px;
  line-height: 1.5;
  padding: 8px 0 8px 14px;
  border-bottom: none;
  border-left: 2px solid rgba(56, 189, 248, 0.30);
  min-width: 0;
}

/* —— Assets — premium tab pills —— */
#page-wallets .wo-assets-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
  min-width: 0;
}

#page-wallets .wo-assets-tab {
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(230, 241, 255, 0.55);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition:
    transform var(--wo-dur-hover) var(--wo-ease-float),
    border-color var(--wo-dur-hover),
    box-shadow var(--wo-dur-hover),
    background var(--wo-dur-hover);
}

#page-wallets .wo-assets-tab:hover {
  transform: translateY(-3px);
  border-color: rgba(110, 181, 255, 0.40);
  box-shadow: 0 6px 20px rgba(110, 181, 255, 0.14);
  color: rgba(230, 241, 255, 0.85);
}

#page-wallets .wo-assets-tab.is-active {
  color: #fff;
  border-color: rgba(110, 181, 255, 0.50);
  background: linear-gradient(135deg, rgba(110, 181, 255, 0.22), rgba(22, 224, 214, 0.12));
  box-shadow: 0 0 28px rgba(110, 181, 255, 0.18), 0 6px 16px rgba(0, 0, 0, 0.12);
}

#page-wallets .wo-assets-body {
  border: 1px solid var(--wo-glass-border-soft);
  border-radius: 16px;
  padding: 18px 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 100%),
    rgba(14, 38, 48, 0.18);
  min-width: 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* —— Send / Receive — floating panels —— */
#page-wallets .wo-transfer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  min-width: 0;
}

#page-wallets .wo-transfer-panel {
  position: relative;
  border: 1px solid var(--wo-glass-border);
  border-radius: 20px;
  padding: 26px 28px;
  background:
    linear-gradient(158deg, rgba(255, 255, 255, 0.06) 0%, transparent 46%),
    var(--wo-glass-bg);
  box-shadow: var(--wo-glass-shadow-float);
  backdrop-filter: blur(var(--wo-glass-blur));
  -webkit-backdrop-filter: blur(var(--wo-glass-blur));
  min-width: 0;
  transform: translateY(0);
  transition: box-shadow var(--wo-dur-hover), transform var(--wo-dur-hover) var(--wo-ease-float);
  z-index: 2;
}

#page-wallets #wo-send-panel {
  border-color: rgba(22, 224, 214, 0.28);
  background:
    linear-gradient(158deg, rgba(22, 224, 214, 0.08) 0%, transparent 48%),
    var(--wo-glass-bg);
}

#page-wallets #wo-send-panel::before {
  content: "";
  position: absolute;
  inset: -20% auto auto -20%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 224, 214, 0.12), transparent 70%);
  pointer-events: none;
  animation: woAmbientDrift var(--wo-dur-glow) ease-in-out infinite alternate;
}

#page-wallets #wo-receive-panel {
  border-color: rgba(56, 189, 248, 0.26);
  background:
    linear-gradient(158deg, rgba(56, 189, 248, 0.08) 0%, transparent 48%),
    var(--wo-glass-bg);
  z-index: 1;
}

#page-wallets #wo-receive-panel::before {
  content: "";
  position: absolute;
  inset: -20% -20% auto auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.10), transparent 70%);
  pointer-events: none;
  animation: woAmbientDrift var(--wo-dur-glow) ease-in-out infinite alternate-reverse;
}

#page-wallets .wo-transfer-panel > * {
  position: relative;
  z-index: 1;
}

#page-wallets .wo-transfer-panel:hover {
  transform: translateY(-4px);
  box-shadow: var(--wo-glass-shadow-float), 0 0 40px rgba(22, 224, 214, 0.12);
}

#page-wallets .wo-transfer-panel-k {
  font-size: 18px;
  font-weight: 750;
  color: #fff;
  margin: 0 0 20px;
  letter-spacing: -0.025em;
}

#page-wallets .wo-field {
  margin-bottom: 20px;
  min-width: 0;
}

#page-wallets .wo-field label {
  display: block;
  font-size: 9px;
  font-weight: 500;
  color: rgba(230, 241, 255, 0.40);
  margin-bottom: 9px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

#page-wallets .wo-field input,
#page-wallets .wo-field select,
#page-wallets .wo-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--wo-glass-border-soft);
  background: rgba(10, 28, 36, 0.28);
  color: #fff;
  font-size: 13px;
  font-family: inherit;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color var(--wo-dur-hover), box-shadow var(--wo-dur-hover);
}

#page-wallets .wo-field input:focus,
#page-wallets .wo-field select:focus,
#page-wallets .wo-field textarea:focus {
  outline: none;
  border-color: var(--wo-teal-glow);
  box-shadow: 0 0 0 3px rgba(22, 224, 214, 0.14), 0 0 24px rgba(22, 224, 214, 0.10);
}

#page-wallets .wo-field input:disabled,
#page-wallets .wo-field select:disabled {
  opacity: 0.55;
}

#page-wallets .wo-field textarea {
  resize: vertical;
  min-height: 80px;
}

#page-wallets .wo-send-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}

#page-wallets .wo-send-gas {
  font-size: 10px;
  color: var(--text-faint);
  margin: 10px 0 0;
  line-height: 1.4;
}

#page-wallets .wo-send-sign-hint {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 12px;
  line-height: 1.45;
}

#page-wallets .wo-receive-qr-wrap {
  display: flex;
  justify-content: center;
  margin: 14px 0 16px;
}

#page-wallets .wo-receive-qr {
  border-radius: 14px;
  border: 2px solid var(--wo-teal-line);
  background: #fff;
  box-shadow: 0 0 32px rgba(22, 224, 214, 0.24);
}

#page-wallets .wo-receive-address {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  line-height: 1.45;
  word-break: break-all;
  text-align: center;
  color: rgba(226, 232, 240, 0.88);
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(15, 168, 157, 0.14);
  background: rgba(2, 6, 8, 0.62);
}

#page-wallets .wo-receive-address--live {
  color: rgba(226, 232, 240, 0.96);
  border-color: rgba(15, 168, 157, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 0 18px -10px rgba(15, 168, 157, 0.35);
}

#page-wallets .wo-receive-qr-wrap--empty .wo-receive-qr {
  opacity: 0.72;
}

#page-wallets .wo-receive-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

#page-wallets .wo-receive-network {
  font-size: 10px;
  color: var(--text-dim);
  text-align: center;
  margin-bottom: 10px;
  line-height: 1.4;
}

/* —— Network — futuristic status module —— */
#page-wallets .wo-network-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(124, 106, 174, 0.10);
  min-width: 0;
}

#page-wallets .wo-network-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

#page-wallets .wo-network-row-label {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

#page-wallets .wo-network-row-label--placeholder {
  color: var(--text-dim);
  font-weight: 500;
}

#page-wallets .wo-network-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--wo-teal-line);
  color: var(--wo-teal);
  background: rgba(22, 224, 214, 0.10);
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(22, 224, 214, 0.10);
  position: relative;
}

#page-wallets .wo-network-badge:not(.wo-network-badge--supported):not(.wo-network-badge--soon)::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 6px;
  width: 5px;
  height: 5px;
  margin-top: -2.5px;
  border-radius: 50%;
  background: var(--wo-teal);
  box-shadow: 0 0 8px var(--wo-teal-glow);
  animation: woNetworkPulse 2.4s ease-in-out infinite;
}

#page-wallets .wo-network-badge:not(.wo-network-badge--supported):not(.wo-network-badge--soon) {
  padding-left: 18px;
}

@keyframes woNetworkPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

#page-wallets .wo-network-badge--supported {
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: none;
}

#page-wallets .wo-network-badge--soon {
  border-color: rgba(124, 106, 174, 0.32);
  color: var(--wo-violet, #a79ad3);
  background: rgba(124, 106, 174, 0.10);
}

/* —— Security — compact module —— */
#page-wallets .wo-security-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

#page-wallets .wo-dag-future {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px dashed rgba(124, 106, 174, 0.32);
  background:
    linear-gradient(135deg, rgba(124, 106, 174, 0.08), rgba(22, 224, 214, 0.04));
  min-width: 0;
}

#page-wallets .wo-dag-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

#page-wallets .wo-dag-copy {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.5;
  margin: 0 0 12px;
}

#page-wallets .wo-dag-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--wo-teal-line);
  color: var(--wo-teal);
  background: rgba(22, 224, 214, 0.10);
}

/* —— Floating action buttons —— */
#page-wallets .wo-my-wallet .btn,
#page-wallets .wo-dash-section .btn {
  position: relative;
  border-radius: 12px;
  transition:
    transform var(--wo-dur-hover) var(--wo-ease-float),
    box-shadow var(--wo-dur-hover),
    border-color var(--wo-dur-hover);
}

#page-wallets .wo-my-wallet .btn:hover:not(:disabled),
#page-wallets .wo-dash-section .btn:hover:not(:disabled) {
  transform: translateY(-3px);
}

#page-wallets .wo-my-wallet .btn-primary,
#page-wallets .wo-dash-section .btn-primary {
  background: linear-gradient(135deg, rgba(22, 224, 214, 0.90), rgba(15, 168, 157, 0.78));
  border-color: rgba(22, 224, 214, 0.50);
  color: #041418;
  font-weight: 700;
  box-shadow:
    0 6px 20px rgba(22, 224, 214, 0.28),
    0 0 28px rgba(22, 224, 214, 0.14);
}

#page-wallets .wo-my-wallet .btn-primary:hover:not(:disabled),
#page-wallets .wo-dash-section .btn-primary:hover:not(:disabled) {
  box-shadow:
    0 10px 32px rgba(22, 224, 214, 0.38),
    0 0 36px rgba(22, 224, 214, 0.20);
}

#page-wallets .wo-my-wallet .btn:not(.btn-primary),
#page-wallets .wo-dash-section .btn:not(.btn-primary) {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--wo-glass-border-soft);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.10);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

#page-wallets .wo-my-wallet .btn:not(.btn-primary):hover:not(:disabled),
#page-wallets .wo-dash-section .btn:not(.btn-primary):hover:not(:disabled) {
  border-color: var(--wo-teal-line);
  box-shadow: 0 6px 20px rgba(22, 224, 214, 0.12);
}

#page-wallets .wo-overview-ens-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#page-wallets .wo-send-max-btn {
  margin-top: 10px;
  font-size: 11px;
  padding: 6px 14px;
}

#page-wallets .wo-sign-preview {
  border: 1px solid var(--wo-glass-border-soft);
  border-radius: 12px;
  padding: 14px 16px;
  background: rgba(14, 38, 48, 0.22);
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: 12px;
  word-break: break-word;
  min-height: 48px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

#page-wallets .wo-testnet-tools-actions .btn {
  font-size: 11px;
}

#page-wallets #wo-testnet-tools-section[hidden],
#page-wallets #wo-send-outcome[hidden] {
  display: none !important;
}

#page-wallets .wo-send-outcome {
  margin-top: 16px;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid var(--wo-glass-border-soft);
  background: var(--wo-glass-bg);
  min-width: 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

#page-wallets .wo-send-outcome-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
}

#page-wallets .wo-send-outcome-message {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.5;
  margin: 0 0 12px;
}

#page-wallets .wo-send-outcome-details {
  margin-bottom: 12px;
  min-width: 0;
}

#page-wallets .wo-send-outcome-actions {
  margin-top: 8px;
}

#page-wallets .wo-send-outcome--pending {
  border-color: rgba(255, 176, 64, 0.35);
  background: rgba(255, 176, 64, 0.08);
  box-shadow: 0 0 24px rgba(255, 176, 64, 0.10);
}

#page-wallets .wo-send-outcome--pending .wo-send-outcome-title {
  color: #ffb040;
}

#page-wallets .wo-send-outcome--success {
  border-color: rgba(22, 224, 214, 0.35);
  background: rgba(22, 224, 214, 0.10);
  box-shadow: 0 0 24px rgba(22, 224, 214, 0.12);
}

#page-wallets .wo-send-outcome--success .wo-send-outcome-title {
  color: var(--wo-teal);
}

#page-wallets .wo-send-outcome--failed {
  border-color: rgba(255, 96, 96, 0.35);
  background: rgba(255, 96, 96, 0.08);
  box-shadow: 0 0 24px rgba(255, 96, 96, 0.10);
}

#page-wallets .wo-send-outcome--failed .wo-send-outcome-title {
  color: #ff8080;
}

#page-wallets .wo-send-outcome--cancelled,
#page-wallets .wo-send-outcome--awaiting_wallet {
  border-color: rgba(255, 176, 64, 0.28);
  background: rgba(255, 176, 64, 0.06);
}

#page-wallets .wo-send-outcome--cancelled .wo-send-outcome-title,
#page-wallets .wo-send-outcome--awaiting_wallet .wo-send-outcome-title {
  color: #ffb040;
}

#page-wallets .wo-send-self-warn {
  margin: 8px 0 0;
  color: #ffb040;
  font-size: 13px;
}

#page-wallets .wo-send-review-fee-breakdown .wo-my-line-v {
  font-size: 12px;
}

#page-wallets [data-wallet-ops-status="connected"] {
  color: var(--wo-teal);
}

#page-wallets [data-wallet-ops-status="wrong_network"],
#page-wallets [data-wallet-ops-status="unsupported"] {
  color: #ffb040;
}

/* —— Live Asset Intelligence —— */
#page-wallets .wo-asset-intel-section {
  margin-top: 18px;
}

#page-wallets .wo-asset-intel-head {
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px;
}

#page-wallets .wo-asset-intel-updated {
  font-size: 10px;
  color: var(--text-dim);
  line-height: 1.4;
  white-space: nowrap;
}

#page-wallets .wo-asset-intel-updated.is-loading {
  color: var(--wo-teal);
}

#page-wallets .wo-asset-intel-updated.is-slow {
  color: #ffb040;
}

#page-wallets .wo-asset-intel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 14px;
  min-width: 0;
}

#page-wallets .wo-asset-intel-nfts {
  margin-top: 16px;
  min-width: 0;
}

#page-wallets .wo-asset-intel-metric.is-loading .wo-dash-metric-v {
  min-height: 16px;
}

#page-wallets .wo-asset-intel-skeleton {
  display: block;
  height: 16px;
  border-radius: 8px;
  min-width: 80px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.05) 25%,
    rgba(22, 224, 214, 0.16) 50%,
    rgba(255, 255, 255, 0.05) 75%
  );
  background-size: 200% 100%;
  animation: woAssetShimmer 1.2s ease-in-out infinite;
}

#page-wallets .wo-asset-intel-skeleton--row {
  height: 32px;
  margin-bottom: 10px;
  width: 100%;
}

@keyframes woAssetShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* —— Contract Operations —— */
#page-wallets .wo-contract-ops-section {
  margin-top: 18px;
}

#page-wallets .wo-contract-subsection {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 176, 64, 0.15);
}

#page-wallets .wo-contract-warning {
  font-size: 12px;
  color: #ffb040;
  line-height: 1.5;
  margin: 0 0 10px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 176, 64, 0.28);
  background: rgba(255, 176, 64, 0.08);
}

#page-wallets .wo-contract-connected {
  margin-bottom: 14px;
  min-width: 0;
}

#page-wallets .wo-contract-fn-card {
  margin-bottom: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--wo-glass-border-soft);
  background: rgba(14, 38, 48, 0.22);
  min-width: 0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color var(--wo-dur-hover), box-shadow var(--wo-dur-hover), transform var(--wo-dur-hover);
}

#page-wallets .wo-contract-fn-card:hover {
  border-color: rgba(255, 176, 64, 0.28);
  box-shadow: 0 0 20px rgba(255, 176, 64, 0.10);
  transform: translateY(-2px);
}

#page-wallets .wo-contract-fn-name {
  font-size: 12px;
  color: var(--wo-teal);
  margin-bottom: 12px;
  line-height: 1.4;
  font-family: "JetBrains Mono", monospace;
}

#page-wallets .wo-contract-fn-result {
  margin-top: 12px;
  font-size: 12px;
  color: #fff;
  font-family: "JetBrains Mono", monospace;
  word-break: break-word;
  line-height: 1.45;
}

#page-wallets .wo-contract-write-review,
#page-wallets .wo-contract-write-outcome {
  margin-top: 14px;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid var(--wo-glass-border-soft);
  background: var(--wo-glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

#page-wallets .wo-contract-write-outcome[hidden],
#page-wallets .wo-contract-write-review[hidden] {
  display: none !important;
}

/* —— Phase 7 Activity feed — timeline aesthetic —— */
#page-wallets .wo-recent-activity-section {
  margin-top: 16px;
}

#page-wallets .wo-recent-activity-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  position: relative;
  padding-left: 28px;
}

#page-wallets .wo-recent-activity-list::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--wo-cyan), rgba(56, 189, 248, 0.06));
  opacity: 0.45;
  pointer-events: none;
}

#page-wallets .wo-act-view-all-btn,
#page-wallets .wo-act-refresh-btn {
  font-size: 11px;
  padding: 6px 14px;
}

#page-wallets .wo-act-refresh-btn {
  margin-left: auto;
}

#page-wallets .wo-act-refresh--spin-once {
  animation: woActSpin 0.6s linear 1;
}

@keyframes woActSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

#page-wallets .wo-act-toolbar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
  min-width: 0;
}

#page-wallets .wo-act-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  min-width: 0;
}

#page-wallets .wo-act-filter-btn {
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(230, 241, 255, 0.55);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform var(--wo-dur-hover), border-color var(--wo-dur-hover), box-shadow var(--wo-dur-hover);
}

#page-wallets .wo-act-filter-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(56, 189, 248, 0.35);
}

#page-wallets .wo-act-filter-btn.is-active {
  color: #fff;
  border-color: rgba(56, 189, 248, 0.45);
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.18), rgba(22, 224, 214, 0.10));
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.14);
}

#page-wallets .wo-act-search {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--wo-glass-border-soft);
  background: rgba(10, 28, 36, 0.28);
  color: #fff;
  font-size: 13px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

#page-wallets .wo-act-pending-queue {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  margin-bottom: 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 176, 64, 0.35);
  background: rgba(255, 176, 64, 0.08);
  font-size: 12px;
  color: #ffb040;
}

#page-wallets .wo-act-pending-spinner {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 176, 64, 0.25);
  border-top-color: #ffb040;
  animation: woActSpin 0.8s linear infinite;
  flex-shrink: 0;
}

/* Timeline scroll area — no heavy box */
#page-wallets .wo-act-virtual-host {
  position: relative;
  height: 520px;
  overflow: auto;
  border: none;
  border-radius: 0;
  background: transparent;
  min-width: 0;
  padding-left: 4px;
}

#page-wallets .wo-act-virtual-host::before {
  content: "";
  position: sticky;
  top: 0;
  left: 0;
  display: block;
  width: 2px;
  height: 100%;
  min-height: 520px;
  background: linear-gradient(180deg, var(--wo-cyan), rgba(56, 189, 248, 0.04));
  opacity: 0.50;
  pointer-events: none;
  float: left;
  margin-right: -2px;
  margin-left: 12px;
}

#page-wallets .wo-act-virtual-spacer {
  width: 100%;
  pointer-events: none;
}

#page-wallets .wo-act-virtual-window {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  padding: 8px 12px 8px 32px;
  box-sizing: border-box;
  min-width: 0;
}

#page-wallets .wo-act-group-label {
  display: flex;
  align-items: center;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wo-cyan);
  padding: 0 8px;
  box-sizing: border-box;
  opacity: 0.80;
}

#page-wallets .wo-act-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px 14px 20px;
  margin-bottom: 14px;
  margin-left: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 62%),
    rgba(14, 38, 48, 0.16);
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    border-color var(--wo-dur-hover),
    transform var(--wo-dur-hover) var(--wo-ease-float),
    box-shadow var(--wo-dur-hover);
  min-width: 0;
}

#page-wallets .wo-act-card::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  border-radius: 50%;
  background: var(--wo-cyan);
  border: 2px solid rgba(56, 189, 248, 0.30);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.30);
}

#page-wallets .wo-act-card:hover {
  border-color: rgba(56, 189, 248, 0.28);
  transform: translateX(6px);
  box-shadow: -6px 0 24px rgba(56, 189, 248, 0.10);
}

#page-wallets .wo-act-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

#page-wallets .wo-act-card-icon--native {
  background: rgba(22, 224, 214, 0.14);
  border-color: rgba(22, 224, 214, 0.28);
  box-shadow: 0 0 16px rgba(22, 224, 214, 0.14);
}

#page-wallets .wo-act-card-icon--erc20 {
  background: rgba(100, 149, 237, 0.14);
  border-color: rgba(100, 149, 237, 0.28);
}

#page-wallets .wo-act-card-icon--nft {
  background: rgba(124, 106, 174, 0.14);
  border-color: rgba(124, 106, 174, 0.28);
}

#page-wallets .wo-act-card-icon--contract {
  background: rgba(255, 176, 64, 0.12);
  border-color: rgba(255, 176, 64, 0.28);
}

#page-wallets .wo-act-card-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

#page-wallets .wo-act-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

#page-wallets .wo-act-card-type {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

#page-wallets .wo-act-card-status {
  font-size: 10px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}

#page-wallets .wo-act-status--pending .wo-act-card-status,
#page-wallets .wo-act-card-status.wo-act-status--pending {
  color: #ffb040;
  border: 1px solid rgba(255, 176, 64, 0.35);
  background: rgba(255, 176, 64, 0.10);
}

#page-wallets .wo-act-status--success .wo-act-card-status,
#page-wallets .wo-act-card-status.wo-act-status--success {
  color: var(--wo-teal);
  border: 1px solid rgba(22, 224, 214, 0.35);
  background: rgba(22, 224, 214, 0.10);
}

#page-wallets .wo-act-status--failed .wo-act-card-status,
#page-wallets .wo-act-card-status.wo-act-status--failed {
  color: #ff8080;
  border: 1px solid rgba(255, 96, 96, 0.35);
  background: rgba(255, 96, 96, 0.10);
}

#page-wallets .wo-act-status--incoming .wo-act-card-status,
#page-wallets .wo-act-card-status.wo-act-status--incoming {
  color: #16e0d6;
  border: 1px solid rgba(22, 224, 214, 0.35);
  background: rgba(22, 224, 214, 0.08);
}

#page-wallets .wo-act-status--outgoing .wo-act-card-status,
#page-wallets .wo-act-card-status.wo-act-status--outgoing {
  color: #6eb5ff;
  border: 1px solid rgba(110, 181, 255, 0.35);
  background: rgba(110, 181, 255, 0.10);
}

#page-wallets .wo-act-card-mid {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

#page-wallets .wo-act-card-amount {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

#page-wallets .wo-act-card-token {
  font-size: 11px;
  color: var(--text-dim);
}

#page-wallets .wo-act-card-bot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 10px;
  color: var(--text-faint);
}

#page-wallets .wo-act-card-actions {
  flex-shrink: 0;
}

#page-wallets .wo-act-card-explorer {
  font-size: 10px;
  padding: 6px 12px;
}

#page-wallets .wo-act-drawer {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
}

#page-wallets .wo-act-drawer[hidden] {
  display: none !important;
}

#page-wallets .wo-act-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 12, 16, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

#page-wallets .wo-act-drawer-panel {
  position: relative;
  width: min(440px, 100%);
  margin-left: auto;
  background:
    linear-gradient(180deg, rgba(18, 52, 62, 0.88), rgba(12, 32, 42, 0.92));
  border-left: 1px solid var(--wo-glass-border);
  padding: 24px 26px;
  overflow: auto;
  z-index: 1;
  box-shadow: -12px 0 48px rgba(0, 0, 0, 0.28), 0 0 40px rgba(22, 224, 214, 0.08);
  backdrop-filter: blur(var(--wo-glass-blur));
  -webkit-backdrop-filter: blur(var(--wo-glass-blur));
}

#page-wallets .wo-act-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

#page-wallets .wo-act-drawer-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  letter-spacing: -0.02em;
}

#page-wallets .wo-act-drawer-body {
  margin-bottom: 18px;
  min-width: 0;
}

#page-wallets .wo-act-drawer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

#page-wallets #wo-tx-history-section .wo-dash-section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

/* —— Identity & lines —— */
#page-wallets .wo-my-line {
  font-size: 13px;
  color: var(--text);
  line-height: 1.5;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

#page-wallets .wo-my-line:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

#page-wallets .wo-my-line-k {
  font-size: 11px;
  font-weight: 400;
  color: rgba(230, 241, 255, 0.42);
  flex-shrink: 0;
}

#page-wallets .wo-my-line-v {
  font-size: 15px;
  font-weight: 650;
  color: #fff;
  text-align: right;
  word-break: break-word;
}

#page-wallets .wo-my-line-v.mono {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--wo-teal-dim);
}

@media (max-width: 900px) {
  #page-wallets .wo-dash-grid-2,
  #page-wallets .wo-dash-grid-3,
  #page-wallets .wo-transfer-grid {
    grid-template-columns: 1fr;
  }

  #page-wallets .wo-my-portfolio-cards {
    grid-template-columns: 1fr;
  }

  #page-wallets .wo-dash-section[aria-label="Portfolio"] {
    padding: 24px 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #page-wallets::before,
  #page-wallets .wo-my-wallet::before,
  #page-wallets .wo-dash-section[aria-label="Portfolio"]::before,
  #page-wallets #wo-send-panel::before,
  #page-wallets #wo-receive-panel::before,
  #page-wallets .wo-asset-intel-skeleton,
  #page-wallets .wo-act-pending-spinner,
  #page-wallets .wo-network-badge:not(.wo-network-badge--supported):not(.wo-network-badge--soon)::after {
    animation: none;
  }

  #page-wallets .wo-dash-section,
  #page-wallets .wo-act-card,
  #page-wallets .wo-my-wallet .btn,
  #page-wallets .wo-dash-section .btn,
  #page-wallets .wo-transfer-panel {
    transition: none;
  }
}

/* ==========================================================================
   STAGE 2 — Wallet Mission Control (Dashboard-aligned operational workspace)
   ========================================================================== */

#page-wallets:has(#wo-my-wallet:not([hidden])) .page-head {
  display: none;
}

#page-wallets .wo-mission-control {
  display: flex;
  flex-direction: column;
  gap: clamp(7px, 1vw, 10px);
  padding: 0;
  margin-top: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  overflow: visible;
}

#page-wallets .wo-mission-control::before,
#page-wallets .wo-mission-control::after {
  display: none;
}

/* Tier 0 — Mission hero */
#page-wallets .wo-mission-hero-shell {
  padding: clamp(14px, 1.8vw, 20px) clamp(18px, 2.2vw, 24px);
  margin-bottom: 0;
  border-radius: 16px;
  border: 1px solid rgba(15, 168, 157, 0.2);
  background:
    linear-gradient(135deg, rgba(15, 168, 157, 0.1) 0%, transparent 42%),
    linear-gradient(180deg, rgba(8, 14, 18, 0.98) 0%, rgba(5, 10, 12, 0.94) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 16px 48px -24px rgba(0, 0, 0, 0.72),
    0 0 36px -14px rgba(15, 168, 157, 0.14);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

#page-wallets .wo-mission-hero-shell .unara-hero-title {
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  margin: 0 0 4px;
  line-height: 1.15;
}

#page-wallets .wo-mission-hero-shell .unara-hero-kicker {
  margin: 0 0 6px;
  font-size: 10px;
  letter-spacing: 0.14em;
}

#page-wallets .wo-mission-hero-shell .unara-hero-lead {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  max-width: 62ch;
  color: rgba(226, 232, 240, 0.72);
}

#page-wallets .wo-mission-identity {
  margin: 0;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(15, 168, 157, 0.16);
  background: rgba(4, 8, 9, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

#page-wallets .wo-mission-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
  min-width: 0;
}

#page-wallets .wo-mission-action {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-height: 48px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(15, 168, 157, 0.28);
  background: linear-gradient(180deg, rgba(8, 14, 18, 0.92) 0%, rgba(4, 8, 10, 0.88) 100%);
  color: rgba(226, 232, 240, 0.92);
  text-decoration: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 10px 28px -22px rgba(0, 0, 0, 0.65);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  position: relative;
  overflow: hidden;
}

#page-wallets .wo-mission-action::after {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(15, 168, 157, 0.55), transparent 72%);
  opacity: 0.65;
  pointer-events: none;
}

#page-wallets .wo-mission-action:hover {
  border-color: rgba(15, 168, 157, 0.38);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 22px -10px rgba(15, 168, 157, 0.32);
  transform: translateY(-1px);
}

#page-wallets .wo-mission-action--primary {
  border-color: rgba(15, 168, 157, 0.34);
  background: linear-gradient(180deg, rgba(15, 168, 157, 0.18) 0%, rgba(15, 168, 157, 0.06) 100%);
}

#page-wallets .wo-mission-action--primary::after {
  background: linear-gradient(90deg, rgba(22, 224, 214, 0.75), rgba(15, 168, 157, 0.2) 68%, transparent);
  opacity: 1;
}

#page-wallets .wo-mission-action--gateway {
  border-style: dashed;
  border-color: rgba(167, 154, 211, 0.36);
  background: linear-gradient(180deg, rgba(124, 106, 174, 0.12) 0%, rgba(124, 106, 174, 0.05) 100%);
  grid-column: 1 / -1;
  flex-direction: column;
  align-items: flex-start;
  min-height: 44px;
}

#page-wallets .wo-mission-action--gateway::after {
  background: linear-gradient(90deg, rgba(167, 154, 211, 0.55), transparent 72%);
}

#page-wallets .wo-mission-action-k {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

#page-wallets .wo-mission-action-v {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(148, 163, 184, 0.78);
  text-transform: none;
}

#page-wallets .wo-mission-overview {
  margin: 0;
  padding: 10px 14px 10px;
  border-radius: 12px;
  border: 1px solid rgba(15, 168, 157, 0.12);
  border-top: 1px solid rgba(15, 168, 157, 0.08);
  background: rgba(4, 8, 9, 0.55);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

#page-wallets .wo-mission-overview-head {
  margin-bottom: 8px;
  padding-bottom: 4px;
  border-bottom-color: rgba(15, 168, 157, 0.08);
}

#page-wallets .wo-mission-instrument-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  overflow-x: visible;
  min-width: 0;
  max-width: 100%;
}

#page-wallets .wo-mission-instrument-strip .wo-dash-metric {
  flex: 1 1 0;
  min-width: 128px;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  border-color: rgba(15, 168, 157, 0.16);
  background: linear-gradient(180deg, rgba(4, 10, 12, 0.88) 0%, rgba(2, 6, 8, 0.82) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0 16px -12px rgba(15, 168, 157, 0.28);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

#page-wallets .wo-mission-instrument-strip .wo-dash-metric:hover {
  transform: translateY(-1px);
  border-color: rgba(15, 168, 157, 0.32);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 20px -10px rgba(15, 168, 157, 0.38);
}

#page-wallets .wo-mission-instrument-strip .wo-dash-metric-k {
  font-size: 9px;
  letter-spacing: 0.08em;
  color: rgba(148, 163, 184, 0.82);
  margin: 0;
  white-space: nowrap;
}

#page-wallets .wo-mission-instrument-strip .wo-dash-metric-v {
  font-size: 11px;
  font-weight: 650;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  color: rgba(226, 232, 240, 0.94);
  text-align: right;
  line-height: 1.25;
}

#page-wallets .wo-mission-instrument-strip .wo-dash-metric:first-child .wo-dash-metric-v::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.55);
  vertical-align: middle;
}

/* Injected section ordering */
#page-wallets .wo-mission-control > .wo-mission-hero-shell { order: 0; }
#page-wallets .wo-mission-control > .wo-my-identity { order: 1; }
#page-wallets .wo-mission-control > #wo-recent-activity-section { order: 2; }
#page-wallets .wo-mission-control > .wo-mission-actions { order: 3; }
#page-wallets .wo-mission-control > .wo-mission-overview { order: 4; }
#page-wallets .wo-mission-control > #wo-asset-intel-section { order: 5; }
#page-wallets .wo-mission-control > .wo-portfolio-workspace { order: 10; }
#page-wallets .wo-mission-control > .wo-transfer-workspace { order: 20; }
#page-wallets .wo-mission-control > .wo-tier-intelligence { order: 30; }
#page-wallets .wo-mission-control > #wo-contract-ops-section { order: 35; }
#page-wallets .wo-mission-control > #wo-tx-history-section { order: 40; }
#page-wallets .wo-mission-control > .wo-tier-timeline { order: 39; }
#page-wallets .wo-mission-control > .wo-tier-observe { order: 50; }

/* Tier 1 — Portfolio workspace shell: wallet-mc-surfaces.css (wallet-mc-workspace SSOT) */

#page-wallets .wo-portfolio-workspace .wo-portfolio-section {
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(15, 168, 157, 0.1);
}

#page-wallets .wo-portfolio-workspace .wo-dash-section:hover,
#page-wallets .wo-portfolio-workspace .wo-portfolio-section:hover,
#page-wallets .wo-portfolio-workspace .wo-assets-section:hover {
  transform: none;
  box-shadow: none;
}

#page-wallets .wo-portfolio-workspace::before {
  display: none;
}

#page-wallets .wo-portfolio-summary-strip .wo-dash-metric-v {
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
}

#page-wallets .wo-portfolio-workspace .wo-my-portfolio-cards {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}

#page-wallets .wo-portfolio-workspace .wo-my-info-card {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: rgba(3, 7, 9, 0.72);
  border-color: rgba(15, 168, 157, 0.14);
}

#page-wallets .wo-portfolio-workspace .wo-assets-body {
  border-color: rgba(15, 168, 157, 0.12);
  background: rgba(2, 6, 8, 0.62);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* Tier 1 — Transfer workspace */
#page-wallets .wo-transfer-workspace {
  padding: clamp(16px, 2vw, 22px);
  border-radius: 16px;
  border: 1px solid rgba(15, 168, 157, 0.18);
  background: linear-gradient(180deg, rgba(8, 14, 18, 0.96) 0%, rgba(5, 10, 12, 0.92) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 14px 40px -22px rgba(0, 0, 0, 0.68);
}

#page-wallets .wo-transfer-workspace .wo-transfer-section {
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

#page-wallets .wo-transfer-workspace .wo-transfer-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 0;
  border-radius: 14px;
  border: 1px solid rgba(15, 168, 157, 0.14);
  overflow: hidden;
  background: rgba(2, 6, 8, 0.55);
}

#page-wallets .wo-transfer-workspace .wo-transfer-panel {
  border: none;
  border-radius: 0;
  padding: 20px 22px;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

#page-wallets .wo-transfer-workspace .wo-transfer-panel::before {
  display: none;
}

#page-wallets .wo-transfer-workspace #wo-send-panel {
  border-right: 1px solid rgba(15, 168, 157, 0.12);
  background: rgba(15, 168, 157, 0.04);
}

#page-wallets .wo-transfer-workspace #wo-receive-panel {
  background: rgba(56, 189, 248, 0.03);
}

#page-wallets .wo-transfer-workspace .wo-transfer-panel:hover {
  transform: none;
}

/* Tier 2 — Wallet intelligence */
#page-wallets .wo-tier-intelligence {
  min-width: 0;
}

#page-wallets .wo-tier-intelligence .wo-intelligence-section {
  margin: 0;
  padding: clamp(22px, 2.5vw, 30px);
  border-radius: 18px;
  border: 1px solid rgba(56, 189, 248, 0.16);
  background: linear-gradient(180deg, rgba(7, 13, 18, 0.96) 0%, rgba(4, 8, 9, 0.92) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

#page-wallets .wo-intelligence-section .wo-dash-section-title#wo-recent-activity-title {
  font-size: 0;
  line-height: 0;
}

#page-wallets .wo-intelligence-section .wo-dash-section-title#wo-recent-activity-title::before {
  content: "Wallet intelligence";
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--wo-cyan);
}

#page-wallets .wo-intelligence-grid .wo-activity-block {
  background: rgba(2, 6, 8, 0.55);
  border-color: rgba(56, 189, 248, 0.12);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

#page-wallets #wo-asset-intel-section {
  margin: 0;
  padding: clamp(22px, 2.5vw, 30px);
  border-radius: 18px;
  border: 1px solid rgba(167, 154, 211, 0.2);
  background: linear-gradient(180deg, rgba(8, 12, 18, 0.96) 0%, rgba(5, 8, 12, 0.92) 100%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

#page-wallets #wo-asset-intel-section .wo-dash-metric-v {
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-family: "JetBrains Mono", monospace;
}

#page-wallets #wo-contract-ops-section {
  margin: 0;
  padding: clamp(22px, 2.5vw, 30px);
  border-radius: 18px;
  border: 1px solid rgba(245, 158, 11, 0.2);
  background: rgba(6, 10, 12, 0.94);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* Tier 3 — Activity timeline */
#page-wallets #wo-recent-activity-section {
  margin: 0;
  padding: 18px 22px;
  border-radius: 16px;
  border: 1px solid rgba(56, 189, 248, 0.14);
  background: rgba(4, 8, 9, 0.72);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

#page-wallets #wo-tx-history-section {
  margin: 0;
  padding: clamp(20px, 2.4vw, 28px) 0 0;
  border-top: 1px solid rgba(56, 189, 248, 0.1);
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

#page-wallets #wo-tx-history-section .wo-dash-section-title {
  font-size: 12px;
  letter-spacing: 0.14em;
}

#page-wallets .wo-act-virtual-host {
  border-radius: 12px;
  border: 1px solid rgba(56, 189, 248, 0.1);
  background: rgba(2, 6, 8, 0.45);
}

/* Tier 4 — Observability */
#page-wallets .wo-tier-observe {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  min-width: 0;
}

#page-wallets .wo-tier-observe .wo-observe-section,
#page-wallets .wo-tier-observe #wo-sign-message-section,
#page-wallets .wo-tier-observe #wo-testnet-tools-section {
  margin: 0;
  padding: 20px 22px;
  border-radius: 14px;
  border: 1px solid rgba(100, 116, 139, 0.18);
  background: rgba(5, 10, 12, 0.88);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

#page-wallets .wo-tier-observe #wo-sign-message-section {
  border-color: rgba(167, 154, 211, 0.2);
}

#page-wallets .wo-tier-observe #wo-testnet-tools-section {
  border-color: rgba(245, 158, 11, 0.22);
}

#page-wallets .wo-tier-observe .wo-dag-future {
  grid-column: 1 / -1;
  margin: 0;
}

/* Mission control — quiet glass globally inside wallet ops */
#page-wallets .wo-mission-control .wo-dash-section {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

#page-wallets .wo-mission-control .wo-dash-section:hover {
  transform: none;
}

@media (max-width: 900px) {
  #page-wallets .wo-mission-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #page-wallets .wo-mission-action--gateway {
    grid-column: 1 / -1;
  }

  #page-wallets .wo-mission-instrument-strip {
    flex-wrap: wrap;
  }

  #page-wallets .wo-mission-instrument-strip .wo-dash-metric {
    flex: 1 1 calc(50% - 4px);
    min-width: 140px;
  }

  #page-wallets .wo-intelligence-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  #page-wallets .wo-transfer-workspace .wo-transfer-grid {
    grid-template-columns: 1fr;
  }

  #page-wallets .wo-transfer-workspace #wo-send-panel {
    border-right: none;
    border-bottom: 1px solid rgba(15, 168, 157, 0.12);
  }

  #page-wallets .wo-tier-observe {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Phase 2B — Wallet connection UX polish (picker, identity, banners, spinner)
   ========================================================================== */

/* —— Wallet picker (global overlay) —— */
#unara-wallet-picker {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#unara-wallet-picker[hidden] {
  display: none !important;
}

.unara-wallet-picker-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 10, 14, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.unara-wallet-picker-panel {
  position: relative;
  min-width: 300px;
  max-width: 400px;
  width: 100%;
  padding: 22px 22px 18px;
  border-radius: 18px;
  border: 1px solid rgba(22, 224, 214, 0.28);
  background:
    linear-gradient(158deg, rgba(22, 224, 214, 0.1) 0%, transparent 42%),
    linear-gradient(180deg, rgba(14, 38, 48, 0.94) 0%, rgba(10, 26, 34, 0.96) 100%);
  color: #e6f1ff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 18px 48px rgba(0, 0, 0, 0.45),
    0 0 48px rgba(22, 224, 214, 0.1);
}

.unara-wallet-picker-title {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: #fff;
}

.unara-wallet-picker-subtitle {
  margin: 0 0 14px;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(230, 241, 255, 0.68);
}

.unara-wallet-picker-note {
  margin: 0 0 14px;
  font-size: 11px;
  line-height: 1.5;
  color: rgba(230, 241, 255, 0.58);
}

.unara-wallet-picker-list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.unara-wallet-picker-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(22, 224, 214, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.unara-wallet-picker-option:hover:not(:disabled) {
  border-color: rgba(22, 224, 214, 0.42);
  background: rgba(22, 224, 214, 0.1);
  box-shadow: 0 0 20px rgba(22, 224, 214, 0.12);
}

.unara-wallet-picker-option.is-primary:not(:disabled) {
  border-color: rgba(22, 224, 214, 0.45);
  background: rgba(22, 224, 214, 0.14);
  box-shadow: 0 0 24px rgba(22, 224, 214, 0.16);
}

.unara-wallet-picker-option:disabled,
.unara-wallet-picker-option.is-unavailable {
  opacity: 0.42;
  cursor: not-allowed;
  filter: grayscale(0.35);
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.unara-wallet-picker-option-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.unara-wallet-picker-option-icon svg {
  width: 28px;
  height: 28px;
  display: block;
}

.unara-wallet-picker-option-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.unara-wallet-picker-option-label {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.unara-wallet-picker-option-meta {
  font-size: 11px;
  color: rgba(230, 241, 255, 0.55);
}

.unara-wallet-picker-option.is-primary:not(:disabled) .unara-wallet-picker-option-meta {
  color: rgba(22, 224, 214, 0.85);
}

.unara-wallet-picker-cancel {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(230, 241, 255, 0.14);
  background: transparent;
  color: rgba(230, 241, 255, 0.65);
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}

.unara-wallet-picker-cancel:hover {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(230, 241, 255, 0.9);
}

.unara-wallet-network-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 176, 64, 0.28);
  background: rgba(255, 176, 64, 0.08);
}

.unara-wallet-network-switch[hidden] {
  display: none !important;
}

.unara-wallet-network-switch-copy {
  margin: 0;
  font-size: 11px;
  color: rgba(255, 214, 153, 0.92);
  max-width: 220px;
  line-height: 1.35;
}

.unara-wallet-network-switch-btn {
  padding: 4px 10px;
  font-size: 11px;
  line-height: 1.2;
  white-space: nowrap;
}

/* —— Topbar connecting spinner —— */
.connect-wallet.is-wallet-connecting [data-wallet-label]::before,
.connect-wallet.is-wallet-connecting::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 8px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-top-color: #fff;
  border-radius: 50%;
  vertical-align: -2px;
  animation: woWalletSpin 0.75s linear infinite;
}

@keyframes woWalletSpin {
  to { transform: rotate(360deg); }
}

/* —— Mission Control identity strip (connected) —— */
#page-wallets .wo-my-identity-connected {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  width: 100%;
}

#page-wallets .wo-my-identity-address-block {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1 1 200px;
}

#page-wallets .wo-my-identity-provider-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(22, 224, 214, 0.12);
  border: 1px solid rgba(22, 224, 214, 0.22);
  color: rgba(22, 224, 214, 0.95);
}

#page-wallets .wo-my-identity-network-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.22);
  color: rgba(147, 210, 255, 0.95);
}

#page-wallets .wo-my-identity-copy-btn {
  padding: 5px 10px;
  font-size: 11px;
  border-radius: 8px;
  flex-shrink: 0;
}

#page-wallets .wo-my-identity-connecting {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--wo-teal-dim, rgba(22, 224, 214, 0.85));
}

#page-wallets .wo-wallet-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(22, 224, 214, 0.2);
  border-top-color: rgba(22, 224, 214, 0.9);
  border-radius: 50%;
  animation: woWalletSpin 0.75s linear infinite;
  flex-shrink: 0;
}

/* —— Error banners —— */
#page-wallets .wo-wallet-error-banner {
  width: 100%;
  margin-bottom: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.45;
  border: 1px solid transparent;
}

#page-wallets .wo-wallet-error-banner[hidden] {
  display: none !important;
}

#page-wallets .wo-wallet-error-banner--rejected {
  color: #ffd4a8;
  background: rgba(255, 176, 64, 0.1);
  border-color: rgba(255, 176, 64, 0.28);
}

#page-wallets .wo-wallet-error-banner--wrong_network {
  color: #ffd4a8;
  background: rgba(255, 176, 64, 0.1);
  border-color: rgba(255, 176, 64, 0.28);
}

#page-wallets .wo-wallet-error-banner--unavailable,
#page-wallets .wo-wallet-error-banner--provider_missing {
  color: #ffb4b4;
  background: rgba(248, 113, 113, 0.1);
  border-color: rgba(248, 113, 113, 0.28);
}

#page-wallets .wo-wallet-error-banner--walletconnect {
  color: #c4b5fd;
  background: rgba(167, 154, 211, 0.12);
  border-color: rgba(167, 154, 211, 0.28);
}

#page-wallets .wo-wallet-error-banner--locked {
  color: #fde68a;
  background: rgba(250, 204, 21, 0.1);
  border-color: rgba(250, 204, 21, 0.28);
}

#page-wallets .wo-wallet-error-banner--failed {
  color: rgba(230, 241, 255, 0.88);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}

/* ==========================================================================
   STAGE 3 — Executive-grade Wallet Mission Control (CSS-only polish)
   ========================================================================== */

/* —— Shell density —— */
#page-wallets .wo-mission-control.wo-my-wallet {
  padding: clamp(14px, 1.8vw, 20px) clamp(16px, 2vw, 22px) clamp(16px, 2vw, 22px);
  border-radius: 18px;
}

/* —— Action card icons & active states —— */
#page-wallets .wo-mission-action-k {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.11em;
}

#page-wallets .wo-mission-action-k::before {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid rgba(15, 168, 157, 0.22);
  background: rgba(15, 168, 157, 0.1);
  font-size: 13px;
  line-height: 1;
  color: rgba(22, 224, 214, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

#page-wallets .wo-mission-action[href="#wo-send-panel"] .wo-mission-action-k::before {
  content: "↑";
}

#page-wallets .wo-mission-action[href="#wo-receive-panel"] .wo-mission-action-k::before {
  content: "↓";
}

#page-wallets .wo-mission-action[href="#wo-contract-ops-section"] .wo-mission-action-k::before {
  content: "⧉";
}

#page-wallets .wo-mission-action--gateway .wo-mission-action-k::before {
  content: "◈";
  border-color: rgba(167, 154, 211, 0.28);
  background: rgba(167, 154, 211, 0.12);
  color: rgba(196, 181, 253, 0.95);
}

#page-wallets:has(#wo-send-panel:target) .wo-mission-action[href="#wo-send-panel"],
#page-wallets:has(#wo-receive-panel:target) .wo-mission-action[href="#wo-receive-panel"],
#page-wallets:has(#wo-contract-ops-section:target) .wo-mission-action[href="#wo-contract-ops-section"] {
  border-color: rgba(22, 224, 214, 0.55);
  background: linear-gradient(180deg, rgba(15, 168, 157, 0.22) 0%, rgba(15, 168, 157, 0.08) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(22, 224, 214, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 0 24px -8px rgba(15, 168, 157, 0.42);
  transform: translateY(-1px);
}

#page-wallets:has(#wo-send-panel:target) .wo-mission-action[href="#wo-send-panel"] .wo-mission-action-k::before,
#page-wallets:has(#wo-receive-panel:target) .wo-mission-action[href="#wo-receive-panel"] .wo-mission-action-k::before,
#page-wallets:has(#wo-contract-ops-section:target) .wo-mission-action[href="#wo-contract-ops-section"] .wo-mission-action-k::before {
  border-color: rgba(22, 224, 214, 0.45);
  background: rgba(22, 224, 214, 0.18);
  box-shadow: 0 0 14px rgba(22, 224, 214, 0.22);
}

/* —— Portfolio workspace —— */
#page-wallets .wo-portfolio-workspace {
  padding: clamp(12px, 1.6vw, 18px);
}

#page-wallets .wo-portfolio-workspace .wo-dash-section-head {
  margin-bottom: 10px;
}

#page-wallets .wo-portfolio-summary-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  overflow-x: visible;
  margin-bottom: 12px;
  min-width: 0;
  max-width: 100%;
}

#page-wallets .wo-portfolio-summary-strip .wo-dash-metric {
  flex: 1 1 0;
  min-width: 140px;
  padding: 10px 12px;
  gap: 4px;
}

#page-wallets .wo-portfolio-summary-strip .wo-dash-metric-v {
  font-size: 14px;
}

#page-wallets .wo-portfolio-workspace .wo-my-portfolio-cards {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

#page-wallets .wo-portfolio-workspace .wo-my-info-card {
  display: flex;
  flex-direction: column;
  min-height: 118px;
  padding: 12px 14px;
  border-radius: 12px;
  border-color: rgba(15, 168, 157, 0.18);
  background: linear-gradient(180deg, rgba(6, 12, 14, 0.92) 0%, rgba(3, 7, 9, 0.88) 100%);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

#page-wallets .wo-portfolio-workspace .wo-my-info-card:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 168, 157, 0.32);
  box-shadow: 0 8px 24px -14px rgba(0, 0, 0, 0.65), 0 0 20px -12px rgba(15, 168, 157, 0.32);
}

#page-wallets .wo-portfolio-workspace .wo-my-info-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  margin-bottom: 6px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#page-wallets .wo-portfolio-workspace .wo-my-info-card-title::before {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  border: 1px solid rgba(15, 168, 157, 0.2);
  background: rgba(15, 168, 157, 0.08);
  font-size: 11px;
  line-height: 1;
  color: rgba(22, 224, 214, 0.9);
}

#page-wallets .wo-portfolio-workspace .wo-my-info-card:nth-child(1) .wo-my-info-card-title::before {
  content: "◎";
}

#page-wallets .wo-portfolio-workspace .wo-my-info-card:nth-child(2) .wo-my-info-card-title::before {
  content: "◆";
}

#page-wallets .wo-portfolio-workspace .wo-my-info-card:nth-child(3) .wo-my-info-card-title::before {
  content: "▣";
}

#page-wallets .wo-portfolio-workspace .wo-my-info-card:nth-child(4) .wo-my-info-card-title::before {
  content: "⧉";
}

#page-wallets .wo-portfolio-workspace .wo-my-info-card-body {
  font-size: 11px;
  line-height: 1.45;
  flex: 1;
}

#page-wallets .wo-my-empty {
  margin: 0;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px dashed rgba(15, 168, 157, 0.18);
  background: rgba(2, 6, 8, 0.55);
  font-size: 11px;
  line-height: 1.45;
  color: rgba(148, 163, 184, 0.88);
  text-align: center;
}

/* —— Transfer / Send / Receive —— */
#page-wallets .wo-transfer-workspace {
  padding: clamp(12px, 1.6vw, 18px);
}

#page-wallets .wo-transfer-workspace .wo-transfer-section .wo-dash-section-head {
  margin-bottom: 10px;
}

#page-wallets .wo-transfer-workspace #wo-send-panel {
  padding: 18px 20px;
}

#page-wallets .wo-transfer-workspace #wo-receive-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 18px;
  min-height: 100%;
}

#page-wallets .wo-transfer-workspace .wo-transfer-panel-k {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(22, 224, 214, 0.88);
  margin: 0 0 14px;
  align-self: flex-start;
  width: 100%;
}

#page-wallets #wo-receive-panel .wo-transfer-panel-k {
  text-align: center;
}

#page-wallets .wo-receive-qr-wrap {
  margin: 0 0 14px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(15, 168, 157, 0.22);
  background:
    linear-gradient(180deg, rgba(8, 16, 18, 0.72) 0%, rgba(4, 8, 10, 0.65) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 28px -12px rgba(15, 168, 157, 0.38);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

#page-wallets .wo-receive-qr {
  width: 168px;
  height: 168px;
  border-width: 1px;
  border-color: rgba(15, 168, 157, 0.35);
  box-shadow: 0 0 24px rgba(22, 224, 214, 0.18);
}

#page-wallets .wo-receive-address {
  width: 100%;
  max-width: 100%;
  margin-bottom: 12px;
  font-size: 13px;
  padding: 12px 14px;
}

#page-wallets .wo-receive-address--live {
  font-size: 13px;
  font-weight: 600;
  border-color: rgba(22, 224, 214, 0.38);
  background: linear-gradient(180deg, rgba(6, 14, 16, 0.9) 0%, rgba(3, 8, 10, 0.85) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 28px -12px rgba(22, 224, 214, 0.42);
}

#page-wallets #wo-send-panel .wo-field {
  margin-bottom: 14px;
}

#page-wallets #wo-send-panel .wo-field label {
  font-size: 10px;
  font-weight: 600;
  color: rgba(148, 163, 184, 0.9);
  margin-bottom: 6px;
}

#page-wallets #wo-send-panel .wo-field input,
#page-wallets #wo-send-panel .wo-field select {
  padding: 11px 13px;
  border-radius: 10px;
  border-color: rgba(15, 168, 157, 0.16);
  background: rgba(2, 8, 10, 0.72);
}

#page-wallets #wo-send-panel .wo-send-gas {
  margin: 4px 0 0;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(15, 168, 157, 0.1);
  background: rgba(2, 6, 8, 0.55);
  font-size: 10px;
  color: rgba(148, 163, 184, 0.85);
}

#page-wallets #wo-send-panel .wo-send-actions {
  margin-top: 14px;
}

#page-wallets #wo-send-panel .btn-primary {
  min-height: 42px;
  padding: 10px 22px;
  font-size: 12px;
  letter-spacing: 0.04em;
  border-radius: 10px;
}

/* —— Wallet intelligence —— */
#page-wallets .wo-tier-intelligence .wo-intelligence-section {
  padding: clamp(14px, 1.8vw, 20px);
  border-radius: 14px;
}

#page-wallets .wo-intelligence-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

#page-wallets .wo-intelligence-grid .wo-activity-block {
  display: flex;
  flex-direction: column;
  min-height: 112px;
  padding: 12px 14px;
  border-radius: 12px;
  border-color: rgba(56, 189, 248, 0.16);
  background: linear-gradient(180deg, rgba(4, 10, 14, 0.9) 0%, rgba(2, 6, 8, 0.86) 100%);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

#page-wallets .wo-intelligence-grid .wo-activity-block:hover {
  transform: translateY(-1px);
  border-color: rgba(56, 189, 248, 0.28);
  box-shadow: 0 0 20px -12px rgba(56, 189, 248, 0.35);
}

#page-wallets .wo-intelligence-grid .wo-activity-block-k {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

#page-wallets .wo-intelligence-grid .wo-activity-block-k::before {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 1px solid rgba(56, 189, 248, 0.2);
  background: rgba(56, 189, 248, 0.08);
  font-size: 10px;
  line-height: 1;
  color: rgba(125, 211, 252, 0.95);
}

#page-wallets .wo-intelligence-grid .wo-activity-block:nth-child(1) .wo-activity-block-k::before {
  content: "↓";
}

#page-wallets .wo-intelligence-grid .wo-activity-block:nth-child(2) .wo-activity-block-k::before {
  content: "↑";
}

#page-wallets .wo-intelligence-grid .wo-activity-block:nth-child(3) .wo-activity-block-k::before {
  content: "⧉";
}

#page-wallets .wo-intelligence-grid .wo-activity-block:nth-child(4) .wo-activity-block-k::before {
  content: "▣";
}

#page-wallets .wo-intelligence-grid .wo-activity-block:nth-child(5) .wo-activity-block-k::before {
  content: "◷";
}

#page-wallets .wo-intelligence-grid .wo-activity-block:nth-child(6) .wo-activity-block-k::before {
  content: "✕";
}

#page-wallets .wo-intelligence-grid .wo-my-empty,
#page-wallets .wo-intelligence-grid .wo-my-activity-item {
  font-size: 11px;
}

/* —— Security & observability —— */
#page-wallets .wo-tier-observe .wo-observe-section[aria-label="Security"] .wo-dash-grid-2 {
  gap: 10px;
}

#page-wallets .wo-tier-observe .wo-observe-section[aria-label="Security"] .wo-dash-grid-2 > div {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(100, 116, 139, 0.2);
  background: rgba(3, 7, 9, 0.72);
  transition: border-color 0.2s ease, background 0.2s ease;
}

#page-wallets .wo-tier-observe .wo-observe-section[aria-label="Security"] .wo-dash-grid-2 > div:hover {
  border-color: rgba(15, 168, 157, 0.24);
  background: rgba(4, 10, 12, 0.82);
}

#page-wallets .wo-security-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

#page-wallets .wo-security-actions .btn {
  min-height: 40px;
  border-radius: 10px;
  background: rgba(3, 8, 10, 0.78);
  border-color: rgba(100, 116, 139, 0.22);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

#page-wallets .wo-security-actions .btn:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: rgba(15, 168, 157, 0.3);
  background: rgba(6, 12, 14, 0.88);
}

#page-wallets .wo-tier-observe .wo-observe-section {
  padding: 14px 16px;
}

/* —— Ecosystem health —— */
#page-wallets .wo-panel-health {
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(15, 168, 157, 0.14);
  background: linear-gradient(180deg, rgba(6, 11, 14, 0.94) 0%, rgba(4, 8, 10, 0.9) 100%);
}

#page-wallets .wo-panel-health .panel-head {
  margin-bottom: 8px;
}

#page-wallets .wo-panel-health .panel-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

#page-wallets .wo-panel-health .wo-panel-lead {
  margin: 0 0 12px;
  font-size: 11px;
  line-height: 1.4;
  color: rgba(148, 163, 184, 0.85);
}

#page-wallets .wo-panel-health .kv {
  display: grid;
  grid-template-columns: minmax(140px, 38%) 1fr;
  gap: 4px 12px;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px solid rgba(15, 168, 157, 0.08);
  text-align: left;
}

#page-wallets .wo-panel-health .kv:last-of-type {
  border-bottom: none;
}

#page-wallets .wo-panel-health .kv .k {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.82);
}

#page-wallets .wo-panel-health .kv .v {
  font-size: 12px;
  line-height: 1.4;
  color: rgba(226, 232, 240, 0.9);
}

#page-wallets .wo-panel-health .wo-health-hint {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(15, 168, 157, 0.08);
}

/* —— Wallet cohorts —— */
#page-wallets .wo-panel-cohorts {
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(15, 168, 157, 0.14);
  background: linear-gradient(180deg, rgba(6, 11, 14, 0.94) 0%, rgba(4, 8, 10, 0.9) 100%);
}

#page-wallets .wo-cohort-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}

#page-wallets .wo-cohort-card {
  display: flex;
  flex-direction: column;
  min-height: 108px;
  height: 100%;
  padding: 12px 13px;
  border-radius: 12px;
  border: 1px solid rgba(15, 168, 157, 0.16);
  background: linear-gradient(180deg, rgba(4, 9, 11, 0.92) 0%, rgba(2, 6, 8, 0.88) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

#page-wallets .wo-cohort-card:hover {
  transform: translateY(-1px);
  border-color: rgba(15, 168, 157, 0.3);
  box-shadow: 0 0 20px -12px rgba(15, 168, 157, 0.28);
}

#page-wallets .wo-cohort-name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 5px;
}

#page-wallets .wo-cohort-desc {
  font-size: 10px;
  line-height: 1.4;
  flex: 1;
  margin-bottom: 6px;
}

#page-wallets .wo-cohort-note {
  font-size: 9px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(100, 116, 139, 0.9);
  margin-top: auto;
}

/* —— Tables & lists —— */
#page-wallets .wallet-registry-table-wrap {
  border-radius: 12px;
  border-color: rgba(15, 168, 157, 0.14);
  overflow: auto;
  max-height: 420px;
}

#page-wallets .wallet-registry-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: rgba(4, 10, 12, 0.98);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(15, 168, 157, 0.16);
}

#page-wallets .wallet-registry-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.015);
}

#page-wallets .wallet-registry-table tbody tr:hover {
  background: rgba(15, 168, 157, 0.08);
}

#page-wallets .wallet-registry-empty {
  padding: 32px 20px;
  border-radius: 12px;
  border: 1px dashed rgba(15, 168, 157, 0.18);
  background: rgba(2, 6, 8, 0.5);
}

#page-wallets .wo-panel-leaderboards,
#page-wallets .wo-panel-watchlist,
#page-wallets .wo-panel-discovery {
  border-radius: 14px;
  border: 1px solid rgba(15, 168, 157, 0.12);
}

#page-wallets .wo-empty-note,
#page-wallets .wo-discovery-empty {
  padding: 20px 16px;
  border-radius: 10px;
  border: 1px dashed rgba(15, 168, 157, 0.16);
  background: rgba(2, 6, 8, 0.5);
  font-size: 11px;
  text-align: center;
  color: rgba(148, 163, 184, 0.88);
}

/* —— Responsive executive layout —— */
@media (max-width: 1100px) {
  #page-wallets .wo-portfolio-workspace .wo-my-portfolio-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #page-wallets .wo-cohort-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  #page-wallets .wo-mission-actions {
    grid-template-columns: 1fr;
  }

  #page-wallets .wo-mission-instrument-strip .wo-dash-metric {
    flex: 1 1 100%;
  }

  #page-wallets .wo-portfolio-workspace .wo-my-portfolio-cards,
  #page-wallets .wo-intelligence-grid,
  #page-wallets .wo-cohort-grid {
    grid-template-columns: 1fr;
  }

  #page-wallets .wo-panel-health .kv {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

  @media (prefers-reduced-motion: reduce) {
  #page-wallets .wo-mission-action,
  #page-wallets .wo-mission-instrument-strip .wo-dash-metric,
  #page-wallets .wo-portfolio-workspace .wo-my-info-card,
  #page-wallets .wo-intelligence-grid .wo-activity-block,
  #page-wallets .wo-cohort-card,
  #page-wallets .wo-security-actions .btn {
    transition: none;
  }

  #page-wallets .wo-mission-action:hover,
  #page-wallets .wo-portfolio-workspace .wo-my-info-card:hover,
  #page-wallets .wo-intelligence-grid .wo-activity-block:hover,
  #page-wallets .wo-cohort-card:hover {
    transform: none;
  }
}

/* ==========================================================================
   STAGE 4 — Final pass: enterprise design system (CSS-only)
   ========================================================================== */

#page-wallets .wo-mission-control {
  --wo-mc-radius: 12px;
  --wo-mc-radius-lg: 14px;
  --wo-mc-gap: 8px;
  --wo-mc-gap-inner: 10px;
  --wo-mc-pad: 12px 14px;
  --wo-mc-pad-lg: 14px 16px;
  --wo-mc-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --wo-mc-dur: 0.16s;
  --wo-mc-border: rgba(15, 168, 157, 0.18);
  --wo-mc-border-strong: rgba(15, 168, 157, 0.28);
  --wo-mc-glass: linear-gradient(180deg, rgba(7, 13, 16, 0.94) 0%, rgba(4, 8, 10, 0.9) 100%);
  --wo-mc-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 10px 28px -20px rgba(0, 0, 0, 0.7);
  --wo-mc-shadow-hover: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 14px 32px -18px rgba(0, 0, 0, 0.75), 0 0 24px -14px rgba(15, 168, 157, 0.28);
}

/* —— Global motion cap (≤180ms) —— */
#page-wallets .wo-mission-control .btn,
#page-wallets .wo-mission-control .wo-mission-action,
#page-wallets .wo-mission-control .wo-dash-metric,
#page-wallets .wo-mission-control .wo-my-info-card,
#page-wallets .wo-mission-control .wo-activity-block,
#page-wallets .wo-mission-control .wo-field input,
#page-wallets .wo-mission-control .wo-field select,
#page-wallets .wo-panel-health,
#page-wallets .wo-panel-cohorts,
#page-wallets .wo-cohort-card,
#page-wallets #wo-wallet-leaderboard-table tbody tr {
  transition-duration: var(--wo-mc-dur);
  transition-timing-function: var(--wo-mc-ease);
}

/* —— Shell compression —— */
#page-wallets .wo-mission-control.wo-my-wallet {
  padding: var(--wo-mc-pad);
  gap: var(--wo-mc-gap);
  border-radius: var(--wo-mc-radius-lg);
}

#page-wallets .wo-mission-hero-shell {
  padding: 12px 14px;
  border-radius: var(--wo-mc-radius-lg);
}

#page-wallets .wo-mission-identity {
  padding: 8px 12px;
  border-radius: var(--wo-mc-radius);
}

#page-wallets .wo-mission-actions {
  gap: var(--wo-mc-gap);
}

#page-wallets .wo-mission-action {
  min-height: 44px;
  padding: 8px 12px;
  border-radius: var(--wo-mc-radius);
  border-color: var(--wo-mc-border-strong);
  transition:
    border-color var(--wo-mc-dur) var(--wo-mc-ease),
    box-shadow var(--wo-mc-dur) var(--wo-mc-ease),
    transform var(--wo-mc-dur) var(--wo-mc-ease),
    background var(--wo-mc-dur) var(--wo-mc-ease);
}

/* —— Section hierarchy (connected stack) —— */
#page-wallets .wo-mission-control > .wo-mission-overview,
#page-wallets .wo-mission-control > .wo-portfolio-workspace,
#page-wallets .wo-mission-control > .wo-transfer-workspace,
#page-wallets .wo-mission-control > .wo-tier-intelligence,
#page-wallets .wo-mission-control > .wo-tier-observe,
#page-wallets .wo-mission-control > #wo-asset-intel-section,
#page-wallets .wo-mission-control > #wo-contract-ops-section,
#page-wallets .wo-mission-control > #wo-tx-history-section,
#page-wallets .wo-mission-control > #wo-recent-activity-section {
  margin-top: 0;
}

#page-wallets .wo-mission-control .wo-dash-section-head {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: var(--wo-mc-gap-inner);
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(15, 168, 157, 0.1);
}

#page-wallets .wo-mission-control .wo-dash-section-title {
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.05em;
  line-height: 1.25;
  text-transform: uppercase;
  color: rgba(240, 253, 250, 0.96);
  text-shadow: none;
}

#page-wallets .wo-mission-overview .wo-dash-section-title::after,
#page-wallets .wo-portfolio-section .wo-dash-section-title::after,
#page-wallets .wo-transfer-section .wo-dash-section-title::after,
#page-wallets .wo-intelligence-section .wo-dash-section-title::after,
#page-wallets .wo-observe-section[aria-label="Security"] .wo-dash-section-title::after,
#page-wallets .wo-observe-section[aria-label="Network"] .wo-dash-section-title::after {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  font-weight: 450;
  letter-spacing: 0.01em;
  line-height: 1.4;
  text-transform: none;
  color: rgba(148, 163, 184, 0.78);
}

#page-wallets .wo-mission-overview .wo-dash-section-title::after {
  content: "Live connection, network, and runtime readiness";
}

#page-wallets .wo-portfolio-section .wo-dash-section-title::after {
  content: "Native assets, tokens, NFTs, and contract exposure";
}

#page-wallets .wo-transfer-section .wo-dash-section-title::after {
  content: "Send and receive with signing through your wallet";
}

#page-wallets .wo-intelligence-section .wo-dash-section-title::after {
  content: "Inbound, outbound, and contract activity signals";
}

#page-wallets .wo-observe-section[aria-label="Security"] .wo-dash-section-title::after {
  content: "Session history, permissions, and connection controls";
}

#page-wallets .wo-observe-section[aria-label="Network"] .wo-dash-section-title::after {
  content: "Chain context and network switching";
}

/* —— Executive card shell (all workspaces) —— */
#page-wallets .wo-mission-overview,
#page-wallets .wo-portfolio-workspace,
#page-wallets .wo-transfer-workspace,
#page-wallets .wo-tier-intelligence .wo-intelligence-section,
#page-wallets .wo-tier-observe .wo-observe-section {
  padding: var(--wo-mc-pad-lg);
  border-radius: var(--wo-mc-radius-lg);
  border: 1px solid var(--wo-mc-border);
  background: var(--wo-mc-glass);
  box-shadow: var(--wo-mc-shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

#page-wallets .wo-portfolio-workspace,
#page-wallets .wo-transfer-workspace {
  padding: var(--wo-mc-pad);
  gap: var(--wo-mc-gap);
}

#page-wallets .wo-portfolio-workspace .wo-portfolio-section {
  padding-bottom: var(--wo-mc-gap-inner);
  margin-bottom: var(--wo-mc-gap-inner);
}

/* —— Runtime status chips —— */
#page-wallets .wo-mission-overview {
  padding: 10px 12px;
}

#page-wallets .wo-mission-instrument-strip {
  gap: 6px;
}

#page-wallets .wo-mission-instrument-strip .wo-dash-metric {
  min-width: 118px;
  padding: 7px 10px;
  gap: 3px;
  border-radius: 999px;
  border-color: rgba(15, 168, 157, 0.2);
  background: rgba(3, 8, 10, 0.82);
  flex-direction: column;
  align-items: flex-start;
}

#page-wallets .wo-mission-instrument-strip .wo-dash-metric-k {
  font-size: 8px;
  letter-spacing: 0.1em;
  color: rgba(100, 116, 139, 0.92);
}

#page-wallets .wo-mission-instrument-strip .wo-dash-metric-v {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  text-align: left;
}

#page-wallets .wo-mission-instrument-strip .wo-dash-metric-v::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.95);
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.45);
  flex-shrink: 0;
}

/* —— Portfolio empty-state cards —— */
#page-wallets .wo-portfolio-workspace .wo-my-portfolio-cards {
  gap: var(--wo-mc-gap);
}

#page-wallets .wo-portfolio-workspace .wo-my-info-card {
  min-height: 128px;
  padding: var(--wo-mc-pad);
  border-radius: var(--wo-mc-radius);
  border-color: var(--wo-mc-border);
  background: var(--wo-mc-glass);
  box-shadow: var(--wo-mc-shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

#page-wallets .wo-portfolio-workspace .wo-my-info-card:not(:has(.wo-my-info-card-note))::after {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: 8px;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid rgba(15, 168, 157, 0.24);
  background: rgba(15, 168, 157, 0.08);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(22, 224, 214, 0.88);
  pointer-events: none;
}

#page-wallets .wo-portfolio-workspace .wo-my-info-card:nth-child(1):not(:has(.wo-my-info-card-note))::after {
  content: "Connect wallet";
}

#page-wallets .wo-portfolio-workspace .wo-my-info-card:nth-child(2):not(:has(.wo-my-info-card-note))::after {
  content: "Load tokens";
}

#page-wallets .wo-portfolio-workspace .wo-my-info-card:nth-child(3):not(:has(.wo-my-info-card-note))::after {
  content: "Discover NFTs";
}

#page-wallets .wo-portfolio-workspace .wo-my-info-card:nth-child(4):not(:has(.wo-my-info-card-note))::after {
  content: "View contracts";
}

#page-wallets .wo-portfolio-workspace .wo-my-info-card-body {
  color: rgba(148, 163, 184, 0.86);
  line-height: 1.5;
}

/* —— Transfer / Send / Receive —— */
#page-wallets .wo-transfer-workspace .wo-transfer-grid {
  border-radius: var(--wo-mc-radius);
  border-color: var(--wo-mc-border);
}

#page-wallets #wo-send-panel {
  padding: var(--wo-mc-pad-lg) !important;
}

#page-wallets #wo-send-panel .wo-field {
  margin-bottom: 12px;
}

#page-wallets #wo-send-panel .wo-field label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(100, 116, 139, 0.95);
  margin-bottom: 5px;
}

#page-wallets #wo-send-panel .wo-field input,
#page-wallets #wo-send-panel .wo-field select {
  min-height: 42px;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.35;
  border-radius: var(--wo-mc-radius);
  border-color: var(--wo-mc-border);
  background: rgba(2, 8, 10, 0.78);
}

#page-wallets #wo-send-panel .wo-field input:focus,
#page-wallets #wo-send-panel .wo-field select:focus {
  border-color: rgba(22, 224, 214, 0.45);
  box-shadow: 0 0 0 2px rgba(22, 224, 214, 0.12);
}

#page-wallets #wo-send-panel .btn-primary {
  min-height: 44px;
  width: 100%;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.05em;
  border-radius: var(--wo-mc-radius);
}

#page-wallets #wo-receive-panel {
  padding: 16px 14px !important;
  gap: 10px;
}

#page-wallets .wo-receive-qr-wrap {
  padding: 16px;
  margin-bottom: 8px;
  border-radius: var(--wo-mc-radius-lg);
}

#page-wallets .wo-receive-qr {
  width: 184px;
  height: 184px;
}

#page-wallets .wo-receive-address {
  font-size: 12px;
  line-height: 1.5;
  padding: 12px 14px;
  border-radius: var(--wo-mc-radius);
}

#page-wallets .wo-receive-address--live {
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.01em;
  padding: 14px 16px;
  border-color: rgba(22, 224, 214, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 0 32px -12px rgba(22, 224, 214, 0.45);
}

#page-wallets .wo-receive-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  width: 100%;
  max-width: 300px;
}

#page-wallets .wo-receive-actions .btn-primary {
  width: 100%;
  min-height: 40px;
  font-weight: 700;
}

#page-wallets .wo-receive-actions .btn:not(.btn-primary) {
  width: 100%;
  min-height: 36px;
  font-size: 11px;
  opacity: 0.92;
}

/* —— Wallet intelligence unified grid —— */
#page-wallets .wo-tier-intelligence .wo-intelligence-section {
  padding: var(--wo-mc-pad);
}

#page-wallets .wo-intelligence-grid {
  gap: var(--wo-mc-gap);
  padding: var(--wo-mc-gap);
  border-radius: var(--wo-mc-radius);
  border: 1px solid rgba(56, 189, 248, 0.14);
  background: rgba(2, 6, 8, 0.55);
}

#page-wallets .wo-intelligence-grid .wo-activity-block {
  min-height: 104px;
  padding: 10px 12px;
  border-radius: var(--wo-mc-radius);
  border-color: rgba(56, 189, 248, 0.14);
  background: rgba(3, 8, 11, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

#page-wallets .wo-intelligence-grid .wo-activity-block-k {
  margin-bottom: 6px;
  line-height: 1.3;
}

/* —— Security cards —— */
#page-wallets .wo-tier-observe {
  gap: var(--wo-mc-gap);
}

#page-wallets .wo-tier-observe .wo-observe-section {
  padding: var(--wo-mc-pad);
}

#page-wallets .wo-tier-observe .wo-observe-section[aria-label="Security"] .wo-dash-grid-2 > div {
  padding: var(--wo-mc-pad);
  border-radius: var(--wo-mc-radius);
  background: rgba(3, 7, 9, 0.78);
}

#page-wallets .wo-security-actions .btn {
  min-height: 38px;
  font-size: 11px;
  font-weight: 650;
}

/* —— Wallet ecosystem health —— */
#page-wallets .wo-panel-health {
  padding: var(--wo-mc-pad-lg);
  border-radius: var(--wo-mc-radius-lg);
}

#page-wallets .wo-panel-health .panel-title {
  font-size: 14px;
  font-weight: 750;
  line-height: 1.3;
}

#page-wallets .wo-panel-health .wo-panel-lead {
  font-size: 11px;
  line-height: 1.45;
  margin-bottom: 10px;
}

#page-wallets .wo-panel-health .kv {
  padding: 7px 0;
}

#page-wallets .wo-panel-health .kv .k {
  font-size: 9px;
  letter-spacing: 0.08em;
}

#page-wallets .wo-panel-health .kv .v {
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
  color: rgba(241, 245, 249, 0.94);
}

/* —— Wallet cohorts —— */
#page-wallets .wo-panel-cohorts {
  padding: var(--wo-mc-pad-lg);
  border-radius: var(--wo-mc-radius-lg);
}

#page-wallets .wo-cohort-grid {
  gap: var(--wo-mc-gap);
}

#page-wallets .wo-cohort-card {
  min-height: 112px;
  padding: var(--wo-mc-pad);
  border-radius: var(--wo-mc-radius);
  border-color: var(--wo-mc-border);
  background: var(--wo-mc-glass);
  box-shadow: var(--wo-mc-shadow);
}

#page-wallets .wo-cohort-name {
  font-size: 11px;
  font-weight: 750;
  line-height: 1.35;
}

#page-wallets .wo-cohort-desc {
  font-size: 10px;
  line-height: 1.45;
  color: rgba(148, 163, 184, 0.86);
}

/* —— Bloomberg-style leaderboards & tables —— */
#page-wallets .wo-panel-leaderboards {
  padding: var(--wo-mc-pad-lg);
  border-radius: var(--wo-mc-radius-lg);
  border: 1px solid var(--wo-mc-border);
  background: var(--wo-mc-glass);
  overflow: hidden;
}

#page-wallets .wo-panel-leaderboards .panel-title {
  font-size: 14px;
  font-weight: 750;
}

#page-wallets #wo-wallet-leaderboard-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 11px;
  border-radius: var(--wo-mc-radius);
  overflow: hidden;
  border: 1px solid rgba(15, 168, 157, 0.14);
}

#page-wallets #wo-wallet-leaderboard-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 10px 12px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: left;
  color: rgba(148, 163, 184, 0.9);
  background: rgba(3, 8, 10, 0.98);
  border-bottom: 1px solid rgba(15, 168, 157, 0.16);
}

#page-wallets #wo-wallet-leaderboard-table tbody td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(15, 168, 157, 0.06);
  color: rgba(226, 232, 240, 0.9);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
  line-height: 1.4;
}

#page-wallets #wo-wallet-leaderboard-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.015);
}

#page-wallets #wo-wallet-leaderboard-table tbody tr:hover {
  background: rgba(15, 168, 157, 0.08);
}

#page-wallets .wallet-registry-table-wrap {
  border-radius: var(--wo-mc-radius-lg);
  border-color: var(--wo-mc-border);
}

#page-wallets .wallet-registry-table td,
#page-wallets .wallet-registry-table th {
  line-height: 1.4;
}

#page-wallets .wallet-registry-table tbody td {
  font-size: 11px;
}

/* —— Hover depth (executive cards) —— */
#page-wallets .wo-mission-control .wo-dash-metric:hover,
#page-wallets .wo-portfolio-workspace .wo-my-info-card:hover,
#page-wallets .wo-intelligence-grid .wo-activity-block:hover,
#page-wallets .wo-cohort-card:hover,
#page-wallets .wo-mission-action:hover {
  box-shadow: var(--wo-mc-shadow-hover);
}

@media (max-width: 900px) {
  #page-wallets .wo-mission-instrument-strip {
    flex-wrap: wrap;
  }

  #page-wallets .wo-mission-instrument-strip .wo-dash-metric {
    flex: 1 1 calc(50% - 3px);
  }
}

/* ==========================================================================
   STAGE 5 — Executive terminal polish (Bloomberg · Stripe · Linear)
   CSS-only · scoped to #page-wallets · no logic changes
   ========================================================================== */

#page-wallets {
  /* Typography scale */
  --wo-ex-hero: clamp(1.5rem, 2.8vw, 2.125rem);
  --wo-ex-section: clamp(1.0625rem, 1.75vw, 1.3125rem);
  --wo-ex-section-sub: 0.75rem;
  --wo-ex-card-title: 0.6875rem;
  --wo-ex-metric-value: clamp(1.375rem, 2.5vw, 1.875rem);
  --wo-ex-metric-label: 0.625rem;
  --wo-ex-caption: 0.6875rem;
  --wo-ex-body: 0.8125rem;

  /* Rhythm */
  --wo-ex-section-gap: 32px;
  --wo-ex-section-gap-lg: 40px;
  --wo-ex-inner-gap: 12px;
  --wo-ex-inner-gap-tight: 8px;
  --wo-ex-card-pad: 16px 18px;
  --wo-ex-radius: 14px;
  --wo-ex-radius-lg: 18px;
  --wo-ex-radius-xl: 20px;
  --wo-ex-border: rgba(15, 168, 157, 0.16);
  --wo-ex-border-strong: rgba(15, 168, 157, 0.28);
  --wo-ex-glass: linear-gradient(165deg, rgba(12, 20, 24, 0.92) 0%, rgba(6, 10, 12, 0.88) 100%);
  --wo-ex-glass-hover: linear-gradient(165deg, rgba(14, 24, 28, 0.96) 0%, rgba(8, 12, 14, 0.92) 100%);
  --wo-ex-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 1px 2px rgba(0, 0, 0, 0.24),
    0 12px 40px -20px rgba(0, 0, 0, 0.72);
  --wo-ex-shadow-hover:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 4px 12px rgba(0, 0, 0, 0.28),
    0 20px 48px -16px rgba(0, 0, 0, 0.78),
    0 0 32px -12px rgba(15, 168, 157, 0.22);
  --wo-ex-grid-head: rgba(3, 7, 9, 0.98);
  --wo-ex-row-h: 48px;
  --wo-ex-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --wo-ex-dur: 0.18s;
}

/* —— Visual rhythm: mission control as one cohesive stack —— */
#page-wallets #wo-my-wallet.wo-mission-control.wo-my-wallet {
  display: flex;
  flex-direction: column;
  gap: var(--wo-ex-section-gap);
  padding: clamp(18px, 2.2vw, 26px) clamp(20px, 2.4vw, 28px) clamp(22px, 2.6vw, 30px);
  margin-bottom: var(--wo-ex-section-gap);
  border-radius: var(--wo-ex-radius-xl);
  border: 1px solid var(--wo-ex-border-strong);
  background:
    radial-gradient(ellipse 80% 60% at 12% 0%, rgba(22, 224, 214, 0.07), transparent 58%),
    var(--wo-ex-glass);
  box-shadow: var(--wo-ex-shadow);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

#page-wallets .wo-mission-control > * {
  margin-top: 0 !important;
}

#page-wallets #wo-phase1-panel-overview > .stats,
#page-wallets #wo-phase1-panel-overview > .row,
#page-wallets #wo-phase1-panel-overview > .panel {
  margin-top: var(--wo-ex-section-gap);
}

#page-wallets #wo-phase1-panel-overview > .stats {
  margin-top: var(--wo-ex-inner-gap);
}

#page-wallets #wo-phase1-panel-overview > .wo-registry-tabs {
  margin-bottom: var(--wo-ex-inner-gap);
}

/* —— Typography hierarchy —— */
#page-wallets .wo-mission-hero-shell .unara-hero-title,
#page-wallets .wo-mission-hero-shell .wo-mission-hero-title {
  font-size: var(--wo-ex-hero);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

#page-wallets .wo-mission-hero-shell .unara-hero-lead {
  font-size: var(--wo-ex-body);
  line-height: 1.5;
  color: rgba(203, 213, 225, 0.78);
}

#page-wallets .wo-mission-control .wo-dash-section-title,
#page-wallets .wo-panel-health .panel-title,
#page-wallets .wo-panel-cohorts .panel-title,
#page-wallets .wo-panel-leaderboards .panel-title,
#page-wallets .wo-panel-discovery .panel-title,
#page-wallets .wo-panel-watchlist .panel-title,
#page-wallets .wallet-registry-panel .panel-title {
  font-size: var(--wo-ex-section) !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.2 !important;
  text-transform: none !important;
  color: rgba(248, 250, 252, 0.98) !important;
  text-shadow: none !important;
}

#page-wallets .wo-mission-control .wo-dash-section-head {
  margin-bottom: var(--wo-ex-inner-gap-tight);
  padding-bottom: 10px;
  gap: 2px;
  border-bottom: 1px solid rgba(15, 168, 157, 0.1);
}

#page-wallets .wo-mission-control .wo-dash-section-title::after,
#page-wallets .wo-panel-lead {
  font-size: var(--wo-ex-section-sub) !important;
  font-weight: 450 !important;
  letter-spacing: 0.01em !important;
  line-height: 1.45 !important;
  text-transform: none !important;
  color: rgba(148, 163, 184, 0.82) !important;
}

#page-wallets .wo-panel-lead {
  margin: 4px 0 14px !important;
}

#page-wallets .wo-mission-control .wo-my-info-card-title,
#page-wallets .wo-mission-control .wo-activity-block-k {
  font-size: var(--wo-ex-card-title);
  font-weight: 700;
  letter-spacing: 0.1em;
}

#page-wallets .wo-mission-control .wo-my-info-card-body,
#page-wallets .wo-mission-control .wo-my-activity-item,
#page-wallets .wo-mission-control .wo-my-line {
  font-size: var(--wo-ex-body);
}

/* —— Large section shells (breathing room above, tight inside) —— */
#page-wallets .wo-mission-control > .wo-mission-overview,
#page-wallets .wo-mission-control > .wo-portfolio-workspace,
#page-wallets .wo-mission-control > .wo-transfer-workspace,
#page-wallets .wo-mission-control > .wo-tier-intelligence,
#page-wallets .wo-mission-control > .wo-tier-observe,
#page-wallets .wo-mission-control > #wo-asset-intel-section,
#page-wallets .wo-mission-control > #wo-contract-ops-section,
#page-wallets .wo-mission-control > #wo-tx-history-section,
#page-wallets .wo-mission-control > #wo-recent-activity-section {
  padding: var(--wo-ex-inner-gap) 14px !important;
  border-radius: var(--wo-ex-radius-lg);
  border: 1px solid var(--wo-ex-border);
  background: var(--wo-ex-glass);
  box-shadow: var(--wo-ex-shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

#page-wallets .wo-panel-health,
#page-wallets .wo-panel-cohorts,
#page-wallets .wo-panel-leaderboards,
#page-wallets .wo-panel-discovery,
#page-wallets .wo-panel-watchlist,
#page-wallets .wallet-registry-panel {
  padding: 20px 22px !important;
  border-radius: var(--wo-ex-radius-lg) !important;
  border: 1px solid var(--wo-ex-border) !important;
  background: var(--wo-ex-glass) !important;
  box-shadow: var(--wo-ex-shadow) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* —— Executive metrics (Datadog / Stripe analytics) —— */
#page-wallets .wo-mission-control .wo-dash-metric,
#page-wallets .wo-portfolio-summary-strip .wo-dash-metric,
#page-wallets #wo-asset-intel-section .wo-dash-metric {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 6px;
  min-height: 88px;
  padding: 14px 16px;
  border-radius: var(--wo-ex-radius);
  border: 1px solid var(--wo-ex-border);
  background: var(--wo-ex-glass);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition:
    border-color var(--wo-ex-dur) var(--wo-ex-ease),
    box-shadow var(--wo-ex-dur) var(--wo-ex-ease),
    transform var(--wo-ex-dur) var(--wo-ex-ease),
    background var(--wo-ex-dur) var(--wo-ex-ease);
}

#page-wallets .wo-mission-control .wo-dash-metric:hover,
#page-wallets .wo-portfolio-summary-strip .wo-dash-metric:hover,
#page-wallets #wo-asset-intel-section .wo-dash-metric:hover {
  transform: translateY(-2px);
  border-color: var(--wo-ex-border-strong);
  background: var(--wo-ex-glass-hover);
  box-shadow: var(--wo-ex-shadow-hover);
}

#page-wallets .wo-mission-control .wo-dash-metric-v,
#page-wallets .wo-portfolio-summary-strip .wo-dash-metric-v,
#page-wallets #wo-asset-intel-section .wo-dash-metric-v {
  order: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  font-size: var(--wo-ex-metric-value);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: rgba(248, 250, 252, 0.98);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
}

#page-wallets .wo-mission-control .wo-dash-metric-v::before,
#page-wallets .wo-portfolio-summary-strip .wo-dash-metric-v::before,
#page-wallets #wo-asset-intel-section .wo-dash-metric-v:not(.mono)::before {
  content: "";
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.95);
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.45);
}

#page-wallets .wo-mission-control .wo-dash-metric-k,
#page-wallets .wo-portfolio-summary-strip .wo-dash-metric-k,
#page-wallets #wo-asset-intel-section .wo-dash-metric-k {
  order: 2;
  font-size: var(--wo-ex-metric-label);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(100, 116, 139, 0.92);
  line-height: 1.3;
}

#page-wallets .wo-mission-instrument-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: var(--wo-ex-inner-gap-tight);
}

#page-wallets .wo-mission-instrument-strip .wo-dash-metric {
  min-height: 72px;
  flex-direction: column;
  align-items: flex-start;
  border-radius: var(--wo-ex-radius);
}

#page-wallets .wo-mission-instrument-strip .wo-dash-metric-v {
  font-size: 0.8125rem;
  font-weight: 700;
}

#page-wallets .wo-portfolio-summary-strip .wo-dash-metric-v {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
}

/* Runtime status chips (not plain text) */
#page-wallets .wo-mission-instrument-strip .wo-dash-metric-v {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(15, 168, 157, 0.22);
  background: rgba(15, 168, 157, 0.08);
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  text-transform: none;
  color: rgba(226, 232, 240, 0.94);
}

/* —— Premium card system —— */
#page-wallets .wo-mission-control .wo-my-info-card,
#page-wallets .wo-mission-control .wo-activity-block,
#page-wallets .wo-cohort-card {
  padding: var(--wo-ex-card-pad);
  border-radius: var(--wo-ex-radius);
  border: 1px solid var(--wo-ex-border);
  background: var(--wo-ex-glass);
  box-shadow: var(--wo-ex-shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    border-color var(--wo-ex-dur) var(--wo-ex-ease),
    box-shadow var(--wo-ex-dur) var(--wo-ex-ease),
    transform var(--wo-ex-dur) var(--wo-ex-ease),
    background var(--wo-ex-dur) var(--wo-ex-ease);
}

#page-wallets .wo-mission-control .wo-my-info-card:hover,
#page-wallets .wo-mission-control .wo-activity-block:hover,
#page-wallets .wo-cohort-card:hover {
  transform: translateY(-3px);
  border-color: var(--wo-ex-border-strong);
  background: var(--wo-ex-glass-hover);
  box-shadow: var(--wo-ex-shadow-hover);
}

#page-wallets .wo-portfolio-workspace .wo-my-portfolio-cards {
  gap: var(--wo-ex-inner-gap);
}

#page-wallets .wo-portfolio-workspace .wo-my-info-card {
  min-height: 132px;
}

#page-wallets .wo-intelligence-grid {
  gap: var(--wo-ex-inner-gap-tight);
}

#page-wallets .wo-intelligence-grid .wo-activity-block {
  min-height: 116px;
}

/* —— Wallet cohorts: executive information cards —— */
#page-wallets .wo-cohort-grid {
  gap: var(--wo-ex-inner-gap);
  align-items: stretch;
}

#page-wallets .wo-cohort-card {
  position: relative;
  min-height: 148px;
  padding-top: 18px;
  overflow: hidden;
}

#page-wallets .wo-cohort-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, rgba(22, 224, 214, 0.55), rgba(22, 224, 214, 0.08) 72%);
  pointer-events: none;
}

#page-wallets .wo-cohort-card::after {
  content: "◆";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid rgba(15, 168, 157, 0.2);
  background: rgba(15, 168, 157, 0.08);
  font-size: 11px;
  line-height: 1;
  color: rgba(22, 224, 214, 0.88);
  pointer-events: none;
}

#page-wallets .wo-cohort-card:nth-child(2)::after { content: "⚡"; }
#page-wallets .wo-cohort-card:nth-child(3)::after { content: "◎"; }
#page-wallets .wo-cohort-card:nth-child(4)::after { content: "◷"; }
#page-wallets .wo-cohort-card:nth-child(5)::after { content: "⧉"; }

#page-wallets .wo-cohort-name {
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  padding-right: 36px;
}

#page-wallets .wo-cohort-desc {
  font-size: var(--wo-ex-caption);
  line-height: 1.5;
  color: rgba(148, 163, 184, 0.88);
}

#page-wallets .wo-cohort-note {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-top: auto;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15, 168, 157, 0.18);
  background: rgba(15, 168, 157, 0.06);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.9);
}

#page-wallets .wo-cohort-card:hover {
  box-shadow:
    var(--wo-ex-shadow-hover),
    0 0 36px -14px rgba(22, 224, 214, 0.28);
}

/* —— Executive data grids (tables) —— */
#page-wallets .wallet-registry-table-wrap,
#page-wallets .wo-panel-leaderboards {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

#page-wallets .wallet-registry-table-wrap {
  border-radius: var(--wo-ex-radius-lg);
  border: 1px solid var(--wo-ex-border) !important;
  background: rgba(2, 6, 8, 0.55) !important;
  overflow: auto;
  max-height: 440px;
  box-shadow: var(--wo-ex-shadow) !important;
}

#page-wallets .wallet-registry-table,
#page-wallets #wo-wallet-leaderboard-table {
  width: 100%;
  border: none !important;
  border-collapse: separate;
  border-spacing: 0;
  font-size: var(--wo-ex-body);
  background: transparent;
}

#page-wallets .wallet-registry-table thead,
#page-wallets #wo-wallet-leaderboard-table thead {
  position: sticky;
  top: 0;
  z-index: 3;
}

#page-wallets .wallet-registry-table thead th,
#page-wallets #wo-wallet-leaderboard-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 14px 16px;
  min-height: var(--wo-ex-row-h);
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: left;
  color: rgba(148, 163, 184, 0.92);
  background: var(--wo-ex-grid-head);
  border: none !important;
  border-bottom: 1px solid rgba(15, 168, 157, 0.2) !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

#page-wallets .wallet-registry-table tbody td,
#page-wallets #wo-wallet-leaderboard-table tbody td {
  padding: 0 16px;
  min-height: var(--wo-ex-row-h);
  height: var(--wo-ex-row-h);
  vertical-align: middle;
  border: none !important;
  border-bottom: 1px solid rgba(15, 168, 157, 0.06) !important;
  color: rgba(226, 232, 240, 0.92);
  font-size: var(--wo-ex-body);
  line-height: 1.35;
  transition: background var(--wo-ex-dur) var(--wo-ex-ease);
}

#page-wallets .wallet-registry-table tbody tr:nth-child(even),
#page-wallets #wo-wallet-leaderboard-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.018);
}

#page-wallets .wallet-registry-table tbody tr:hover,
#page-wallets #wo-wallet-leaderboard-table tbody tr:hover,
#page-wallets .wallet-registry-row:hover {
  background: rgba(15, 168, 157, 0.09) !important;
}

/* Numeric columns right-aligned */
#page-wallets #wo-wallet-leaderboard-table thead th:nth-child(1),
#page-wallets #wo-wallet-leaderboard-table thead th:nth-child(4),
#page-wallets #wo-wallet-leaderboard-table thead th:nth-child(5),
#page-wallets #wo-wallet-leaderboard-table thead th:nth-child(6),
#page-wallets #wo-wallet-leaderboard-table tbody td:nth-child(1),
#page-wallets #wo-wallet-leaderboard-table tbody td:nth-child(4),
#page-wallets #wo-wallet-leaderboard-table tbody td:nth-child(5),
#page-wallets #wo-wallet-leaderboard-table tbody td:nth-child(6) {
  text-align: right;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
}

#page-wallets .wallet-registry-table thead th:nth-child(2),
#page-wallets .wallet-registry-table thead th:nth-child(3),
#page-wallets .wallet-registry-table thead th:nth-child(4),
#page-wallets .wallet-registry-table thead th:nth-child(6),
#page-wallets .wallet-registry-table tbody td:nth-child(2),
#page-wallets .wallet-registry-table tbody td:nth-child(3),
#page-wallets .wallet-registry-table tbody td:nth-child(4),
#page-wallets .wallet-registry-table tbody td:nth-child(6) {
  text-align: right;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-variant-numeric: tabular-nums;
}

#page-wallets .wallet-registry-name {
  font-size: 0.8125rem;
  font-weight: 700;
  color: rgba(248, 250, 252, 0.98);
}

#page-wallets .wallet-registry-signal {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* —— Wallet health kv as status chips —— */
#page-wallets .wo-panel-health .kv {
  display: grid;
  grid-template-columns: minmax(160px, 38%) 1fr;
  gap: 8px 16px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(15, 168, 157, 0.08);
}

#page-wallets .wo-panel-health .kv .k {
  font-size: var(--wo-ex-metric-label);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(100, 116, 139, 0.92);
}

#page-wallets .wo-panel-health .kv .v {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: fit-content;
  max-width: 100%;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15, 168, 157, 0.16);
  background: rgba(15, 168, 157, 0.06);
  font-size: var(--wo-ex-caption);
  font-weight: 600;
  line-height: 1.35;
  color: rgba(226, 232, 240, 0.9);
}

/* —— Receive panel presentation —— */
#page-wallets #wo-receive-panel {
  padding: 28px 24px !important;
  gap: 16px;
}

#page-wallets .wo-receive-qr-wrap {
  padding: 20px;
  margin-bottom: 4px;
  border-radius: var(--wo-ex-radius-lg);
  border: 1px solid var(--wo-ex-border-strong);
  background:
    radial-gradient(circle at 50% 35%, rgba(22, 224, 214, 0.08), transparent 62%),
    rgba(4, 10, 12, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 40px -14px rgba(22, 224, 214, 0.35);
}

#page-wallets .wo-receive-qr {
  width: 208px !important;
  height: 208px !important;
  border-radius: 12px;
  border: 1px solid rgba(22, 224, 214, 0.35);
  box-shadow: 0 0 32px rgba(22, 224, 214, 0.2);
}

#page-wallets .wo-receive-address {
  width: 100%;
  max-width: 340px;
  margin: 4px 0 8px;
  padding: 16px 18px;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
  border-radius: var(--wo-ex-radius);
  border: 1px solid var(--wo-ex-border);
  background: rgba(3, 8, 10, 0.78);
}

#page-wallets .wo-receive-address--live {
  font-size: 0.9375rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em;
  border-color: rgba(22, 224, 214, 0.45) !important;
  background: linear-gradient(180deg, rgba(8, 18, 20, 0.95) 0%, rgba(4, 10, 12, 0.9) 100%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 0 40px -12px rgba(22, 224, 214, 0.42) !important;
}

#page-wallets .wo-receive-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  width: 100%;
  max-width: 320px;
  margin-top: 4px;
}

#page-wallets .wo-receive-actions .btn-primary {
  min-height: 44px;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  border-radius: var(--wo-ex-radius);
  box-shadow: 0 0 24px -10px rgba(22, 224, 214, 0.45);
}

#page-wallets .wo-receive-actions .btn:not(.btn-primary) {
  min-height: 38px;
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.88;
  border-radius: var(--wo-ex-radius);
}

/* —— Send panel hierarchy —— */
#page-wallets #wo-send-panel {
  padding: 22px 24px !important;
}

#page-wallets #wo-send-panel .wo-field {
  margin-bottom: 16px;
}

#page-wallets #wo-send-panel .wo-field label {
  display: block;
  margin-bottom: 7px;
  font-size: var(--wo-ex-metric-label);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(100, 116, 139, 0.95);
}

#page-wallets #wo-send-panel .wo-field input,
#page-wallets #wo-send-panel .wo-field select {
  min-height: 46px;
  padding: 13px 15px;
  font-size: 0.875rem;
  border-radius: var(--wo-ex-radius);
}

#page-wallets #wo-send-panel .wo-send-gas {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 2px 0 12px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15, 168, 157, 0.14);
  background: rgba(15, 168, 157, 0.06);
  font-size: var(--wo-ex-caption);
  font-weight: 600;
  color: rgba(148, 163, 184, 0.92);
}

#page-wallets #wo-send-panel .wo-send-gas::before {
  content: "GAS";
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(22, 224, 214, 0.9);
  background: rgba(22, 224, 214, 0.12);
  border: 1px solid rgba(22, 224, 214, 0.2);
}

#page-wallets #wo-send-panel #wo-send-review-btn,
#page-wallets #wo-send-panel #wo-send-sign-btn {
  min-height: 48px;
  width: 100%;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--wo-ex-radius);
}

#page-wallets #wo-send-panel .wo-send-actions {
  margin-top: 18px;
}

/* —— Intentional empty states —— */
#page-wallets .wo-my-empty,
#page-wallets .wo-empty-note,
#page-wallets .wo-discovery-empty,
#page-wallets #wo-wallet-leaderboard-table tbody td.wo-empty-note {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 128px;
  margin: 0;
  padding: 28px 24px !important;
  border-radius: var(--wo-ex-radius-lg) !important;
  border: 1px dashed rgba(15, 168, 157, 0.22) !important;
  background: rgba(3, 8, 10, 0.55) !important;
  font-size: var(--wo-ex-body);
  line-height: 1.5;
  text-align: center;
  color: rgba(148, 163, 184, 0.9) !important;
}

#page-wallets .wo-my-empty::before,
#page-wallets .wo-empty-note::before,
#page-wallets .wo-discovery-empty::before,
#page-wallets #wo-wallet-leaderboard-table tbody td.wo-empty-note::before {
  content: "◇";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(15, 168, 157, 0.2);
  background: rgba(15, 168, 157, 0.08);
  font-size: 18px;
  line-height: 1;
  color: rgba(22, 224, 214, 0.75);
}

#page-wallets .wallet-registry-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 160px;
  padding: 36px 28px !important;
  border: none !important;
  background: transparent !important;
  text-align: center;
}

#page-wallets .wallet-registry-empty::before {
  content: "◎";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(15, 168, 157, 0.22);
  background: rgba(15, 168, 157, 0.08);
  font-size: 20px;
  color: rgba(22, 224, 214, 0.8);
}

#page-wallets .wallet-registry-empty-title {
  font-size: 0.875rem;
  font-weight: 750;
  letter-spacing: -0.01em;
  color: rgba(248, 250, 252, 0.96);
}

#page-wallets .wallet-registry-empty-copy {
  max-width: 42ch;
  font-size: var(--wo-ex-caption);
  line-height: 1.5;
  color: rgba(148, 163, 184, 0.88);
}

#page-wallets .wo-assets-body {
  padding: var(--wo-ex-inner-gap);
  border-radius: var(--wo-ex-radius);
  border: 1px solid var(--wo-ex-border);
  background: rgba(2, 6, 8, 0.5);
  min-height: 120px;
}

#page-wallets .wo-assets-tabs {
  gap: var(--wo-ex-inner-gap-tight);
  margin-bottom: var(--wo-ex-inner-gap);
}

#page-wallets .wo-assets-tab.is-active,
#page-wallets .wo-assets-tab[aria-selected="true"] {
  box-shadow: 0 0 20px -10px rgba(22, 224, 214, 0.35);
}

/* —— Leaderboard chips & discovery strip —— */
#page-wallets .wo-leaderboard-chips .chip,
#page-wallets .wo-discovery-strip label.chip {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 1px solid rgba(15, 168, 157, 0.16);
  background: rgba(3, 8, 10, 0.72);
  transition:
    border-color var(--wo-ex-dur) var(--wo-ex-ease),
    background var(--wo-ex-dur) var(--wo-ex-ease),
    box-shadow var(--wo-ex-dur) var(--wo-ex-ease);
}

#page-wallets .wo-leaderboard-chips .chip.active,
#page-wallets .wo-discovery-strip input:checked + label.chip {
  border-color: rgba(22, 224, 214, 0.38);
  background: rgba(22, 224, 214, 0.12);
  box-shadow: 0 0 18px -8px rgba(22, 224, 214, 0.35);
}

/* —— Page stats instruments —— */
#page-wallets #wo-phase1-panel-overview > .stats .stat {
  border-radius: var(--wo-ex-radius);
  border: 1px solid var(--wo-ex-border);
  background: var(--wo-ex-glass);
  box-shadow: var(--wo-ex-shadow);
  transition:
    border-color var(--wo-ex-dur) var(--wo-ex-ease),
    box-shadow var(--wo-ex-dur) var(--wo-ex-ease),
    transform var(--wo-ex-dur) var(--wo-ex-ease);
}

#page-wallets #wo-phase1-panel-overview > .stats .stat:hover {
  transform: translateY(-2px);
  border-color: var(--wo-ex-border-strong);
  box-shadow: var(--wo-ex-shadow-hover);
}

#page-wallets #wo-phase1-panel-overview > .stats .stat-value {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 750;
  letter-spacing: -0.02em;
}

#page-wallets #wo-phase1-panel-overview > .stats .stat-label {
  font-size: var(--wo-ex-metric-label);
  letter-spacing: 0.1em;
}

#page-wallets #wo-phase1-panel-overview > .stats .stat-delta {
  font-size: var(--wo-ex-caption);
}

@media (max-width: 1100px) {
  #page-wallets .wo-cohort-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #page-wallets .wo-portfolio-workspace .wo-my-portfolio-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  #page-wallets {
    --wo-ex-section-gap: 24px;
  }

  #page-wallets .wo-mission-instrument-strip {
    grid-template-columns: 1fr 1fr;
  }

  #page-wallets .wo-receive-qr {
    width: 184px !important;
    height: 184px !important;
  }

  #page-wallets .wo-panel-health .kv {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  #page-wallets .wo-mission-control .wo-dash-metric,
  #page-wallets .wo-mission-control .wo-my-info-card,
  #page-wallets .wo-mission-control .wo-activity-block,
  #page-wallets .wo-cohort-card,
  #page-wallets #wo-phase1-panel-overview > .stats .stat {
    transition: none;
  }

  #page-wallets .wo-mission-control .wo-dash-metric:hover,
  #page-wallets .wo-mission-control .wo-my-info-card:hover,
  #page-wallets .wo-cohort-card:hover,
  #page-wallets #wo-phase1-panel-overview > .stats .stat:hover {
    transform: none;
  }
}

/* ==========================================================================
   STAGE 6 — Enterprise OS dashboard (flagship Wallet Mission Control)
   CSS + HTML structure · no logic / routing / runtime changes
   ========================================================================== */

#page-wallets {
  --wo-os-8: 8px;
  --wo-os-16: 16px;
  --wo-os-24: 24px;
  --wo-os-32: 32px;
  --wo-os-dur: 0.15s;
  --wo-os-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --wo-os-hero-title: clamp(1.75rem, 3.2vw, 2.625rem);
  --wo-os-metric-xl: clamp(1.5rem, 2.8vw, 2.125rem);
  --wo-os-surface: linear-gradient(168deg, rgba(10, 18, 22, 0.96) 0%, rgba(5, 9, 11, 0.92) 100%);
  --wo-os-surface-raised: linear-gradient(168deg, rgba(14, 24, 28, 0.98) 0%, rgba(8, 12, 14, 0.94) 100%);
  --wo-os-line: rgba(15, 168, 157, 0.14);
  --wo-os-line-strong: rgba(22, 224, 214, 0.32);
  --wo-os-accent: rgba(22, 224, 214, 0.88);
  --wo-os-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 8px 28px -18px rgba(0, 0, 0, 0.78);
  --wo-os-shadow-hover:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 6px 16px rgba(0, 0, 0, 0.32),
    0 16px 40px -14px rgba(0, 0, 0, 0.72),
    0 0 28px -12px rgba(22, 224, 214, 0.2);
}

/* —— Spacing rhythm (32 / 24 / 16 / 8 only) —— */
#page-wallets #wo-my-wallet.wo-mission-control.wo-my-wallet {
  gap: var(--wo-os-24);
  padding: var(--wo-os-24);
  margin-bottom: var(--wo-os-24);
}

#page-wallets #wo-phase1-panel-overview > .stats,
#page-wallets #wo-phase1-panel-overview > .row,
#page-wallets #wo-phase1-panel-overview > .panel,
#page-wallets #wo-phase1-panel-overview > #wo-my-wallet {
  margin-top: var(--wo-os-24);
}

#page-wallets #wo-phase1-panel-overview > .stats {
  margin-top: var(--wo-os-16);
}

/* —— Micro-interactions (150ms) —— */
#page-wallets .wo-mission-control .btn,
#page-wallets .wo-mission-control .wo-mission-action--card,
#page-wallets .wo-mission-control .wo-dash-metric,
#page-wallets .wo-mission-control .wo-my-info-card,
#page-wallets .wo-intel-card,
#page-wallets .wo-cohort-card,
#page-wallets .wo-security-session-widget,
#page-wallets .wo-executive-stats .stat,
#page-wallets .wallet-registry-table tbody tr,
#page-wallets #wo-wallet-leaderboard-table tbody tr {
  transition-duration: var(--wo-os-dur);
  transition-timing-function: var(--wo-os-ease);
}

/* —— 1. HERO (compressed, accent, chips under title) —— */
#page-wallets .wo-mission-hero-compact {
  position: relative;
  padding: var(--wo-os-16) var(--wo-os-16) var(--wo-os-16) calc(var(--wo-os-16) + 6px);
  margin-bottom: 0;
  border-radius: var(--wo-ex-radius-lg);
  border: 1px solid var(--wo-os-line);
  border-left: 3px solid var(--wo-os-line-strong);
  background: var(--wo-os-surface);
  box-shadow: var(--wo-os-shadow);
}

#page-wallets .wo-mission-hero-compact .unara-hero-kicker {
  margin: 0 0 var(--wo-os-8);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
}

#page-wallets .wo-mission-hero-compact .unara-hero-title,
#page-wallets .wo-mission-hero-compact .wo-mission-hero-title {
  margin: 0 0 var(--wo-os-8);
  font-size: var(--wo-os-hero-title);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  background: linear-gradient(95deg, #fff 0%, var(--wo-os-accent) 88%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

#page-wallets .wo-mission-status-chips {
  margin: 0 0 var(--wo-os-8);
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  min-height: 0;
}

#page-wallets .wo-mission-hero-compact .unara-hero-lead {
  margin: 0;
  max-width: 48ch;
  font-size: 0.75rem;
  line-height: 1.45;
  color: rgba(148, 163, 184, 0.82);
}

/* —— 2. EXECUTIVE METRICS (Bloomberg first row) —— */
#page-wallets .wo-executive-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--wo-os-8);
  margin-bottom: 0;
}

#page-wallets .wo-executive-stats .stat {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 108px;
  padding: var(--wo-os-16);
  border-radius: var(--wo-ex-radius);
  border: 1px solid var(--wo-os-line-strong);
  background: var(--wo-os-surface-raised);
  box-shadow: var(--wo-os-shadow);
}

#page-wallets .wo-executive-stats .stat:hover {
  transform: translateY(-3px);
  border-color: rgba(22, 224, 214, 0.42);
  box-shadow: var(--wo-os-shadow-hover);
}

#page-wallets .wo-executive-stats .stat-head {
  display: contents;
}

#page-wallets .wo-executive-stats .stat-icon {
  display: none;
}

#page-wallets .wo-executive-stats .stat-body {
  display: flex;
  flex-direction: column;
  gap: var(--wo-os-8);
  min-height: 100%;
}

#page-wallets .wo-executive-stats .stat-value {
  order: 1;
  font-size: var(--wo-os-metric-xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: rgba(248, 250, 252, 0.98);
  font-family: "JetBrains Mono", ui-monospace, monospace;
}

#page-wallets .wo-executive-stats .stat-label {
  order: 2;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(100, 116, 139, 0.92);
}

#page-wallets .wo-executive-stats .stat-delta {
  order: 3;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
  margin-top: auto;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(15, 168, 157, 0.16);
  background: rgba(15, 168, 157, 0.06);
  font-size: 0.625rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  text-transform: none;
}

#page-wallets .wo-executive-stats .stat-delta::before {
  content: "●";
  font-size: 0.5rem;
  line-height: 1;
  opacity: 0.85;
}

#page-wallets .wo-portfolio-summary-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--wo-os-8);
  margin-bottom: var(--wo-os-16);
}

#page-wallets .wo-portfolio-summary-strip .wo-dash-metric {
  min-height: 96px;
  border-color: var(--wo-os-line-strong);
  background: var(--wo-os-surface-raised);
}

#page-wallets .wo-portfolio-summary-strip .wo-dash-metric-v {
  font-size: var(--wo-os-metric-xl);
}

#page-wallets .wo-portfolio-summary-strip .wo-dash-metric-v::after {
  content: "—";
  margin-left: auto;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(100, 116, 139, 0.75);
  font-family: "Space Grotesk", system-ui, sans-serif;
}

/* —— 3. ACTION CARDS (executive deck) —— */
#page-wallets .wo-mission-action-deck {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--wo-os-8);
}

#page-wallets .wo-mission-action--card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--wo-os-16);
  min-height: 76px;
  padding: var(--wo-os-16);
  border-radius: var(--wo-ex-radius);
  border: 1px solid var(--wo-os-line);
  background: var(--wo-os-surface);
  box-shadow: var(--wo-os-shadow);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition:
    transform var(--wo-os-dur) var(--wo-os-ease),
    border-color var(--wo-os-dur) var(--wo-os-ease),
    box-shadow var(--wo-os-dur) var(--wo-os-ease),
    background var(--wo-os-dur) var(--wo-os-ease);
}

#page-wallets .wo-mission-action--card::after {
  display: none;
}

#page-wallets .wo-mission-action--card:hover {
  transform: translateY(-3px);
  border-color: var(--wo-os-line-strong);
  background: var(--wo-os-surface-raised);
  box-shadow: var(--wo-os-shadow-hover);
}

#page-wallets .wo-mission-action-icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid rgba(15, 168, 157, 0.22);
  background: rgba(15, 168, 157, 0.1);
  font-size: 15px;
  line-height: 1;
  color: var(--wo-os-accent);
  flex-shrink: 0;
}

#page-wallets .wo-mission-action--gateway .wo-mission-action-icon {
  border-color: rgba(167, 154, 211, 0.28);
  background: rgba(167, 154, 211, 0.12);
  color: rgba(196, 181, 253, 0.95);
}

#page-wallets .wo-mission-action-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

#page-wallets .wo-mission-action--card .wo-mission-action-k {
  display: block;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: none;
  color: rgba(248, 250, 252, 0.98);
}

#page-wallets .wo-mission-action--card .wo-mission-action-k::before {
  display: none !important;
}

#page-wallets .wo-mission-action--card .wo-mission-action-v {
  display: block;
  font-size: 0.6875rem;
  font-weight: 450;
  letter-spacing: 0.01em;
  line-height: 1.4;
  color: rgba(148, 163, 184, 0.86);
  text-transform: none;
}

#page-wallets .wo-mission-action-arrow {
  font-size: 1rem;
  line-height: 1;
  color: rgba(148, 163, 184, 0.55);
  transition: transform var(--wo-os-dur) var(--wo-os-ease), color var(--wo-os-dur) var(--wo-os-ease);
}

#page-wallets .wo-mission-action--card:hover .wo-mission-action-arrow {
  transform: translateX(3px);
  color: var(--wo-os-accent);
}

#page-wallets .wo-mission-action--gateway {
  grid-column: 1 / -1;
}

/* —— 4. RECEIVE (visual centerpiece) —— */
#page-wallets .wo-transfer-grid--receive-focus {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 0;
  min-height: 420px;
}

#page-wallets .wo-receive-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--wo-os-32) var(--wo-os-24) !important;
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(22, 224, 214, 0.1), transparent 62%),
    rgba(6, 14, 16, 0.72) !important;
  border-left: 1px solid var(--wo-os-line) !important;
}

#page-wallets .wo-receive-showcase .wo-receive-qr-wrap {
  padding: var(--wo-os-24);
  margin-bottom: var(--wo-os-16);
  border-radius: var(--wo-ex-radius-xl);
  border: 1px solid var(--wo-os-line-strong);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 56px -12px rgba(22, 224, 214, 0.45);
}

#page-wallets .wo-receive-showcase .wo-receive-qr {
  width: 240px !important;
  height: 240px !important;
  border-radius: 14px;
}

#page-wallets .wo-receive-showcase .wo-receive-address {
  max-width: 100%;
  padding: var(--wo-os-16) var(--wo-os-16);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.9375rem;
  font-weight: 650;
  letter-spacing: 0.015em;
  line-height: 1.5;
  word-break: break-all;
}

#page-wallets .wo-receive-showcase .wo-receive-address--live {
  font-size: 1rem !important;
  font-weight: 700 !important;
}

/* —— 5. SEND —— */
#page-wallets .wo-send-panel {
  padding: var(--wo-os-24) !important;
}

#page-wallets .wo-send-panel .wo-field label {
  font-weight: 500;
  color: rgba(100, 116, 139, 0.88);
}

#page-wallets .wo-send-panel .wo-field input,
#page-wallets .wo-send-panel .wo-field select {
  min-height: 48px;
  font-size: 0.875rem;
}

#page-wallets #wo-send-amount {
  min-height: 52px;
  font-size: 1.25rem !important;
  font-weight: 700;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: -0.02em;
}

#page-wallets .wo-send-panel .wo-send-gas {
  margin-bottom: var(--wo-os-16);
}

#page-wallets .wo-send-panel #wo-send-review-btn {
  min-height: 50px;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 0 28px -10px rgba(22, 224, 214, 0.5);
}

/* —— 6. RUNTIME STATUS (compact widgets) —— */
#page-wallets .wo-runtime-deck {
  padding: var(--wo-os-16) !important;
}

#page-wallets .wo-runtime-widgets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(108px, 1fr));
  gap: var(--wo-os-8);
}

#page-wallets .wo-runtime-widgets .wo-dash-metric {
  min-height: 68px;
  padding: var(--wo-os-8) var(--wo-os-8);
  align-items: center;
  text-align: center;
  border-radius: 10px;
  border-color: var(--wo-os-line);
  background: rgba(3, 8, 10, 0.82);
}

#page-wallets .wo-runtime-widgets .wo-dash-metric-k {
  width: 100%;
  text-align: center;
  font-size: 0.5625rem;
  letter-spacing: 0.11em;
}

#page-wallets .wo-runtime-widgets .wo-dash-metric-v {
  justify-content: center;
  width: 100%;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: "Space Grotesk", system-ui, sans-serif;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(15, 168, 157, 0.2);
  background: rgba(15, 168, 157, 0.08);
}

/* —— 7. WALLET INTELLIGENCE (six equal cards) —— */
#page-wallets .wo-intelligence-deck {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--wo-os-8);
  padding: 0;
  border: none;
  background: transparent;
}

#page-wallets .wo-intel-card {
  display: flex;
  flex-direction: column;
  min-height: 128px;
  padding: var(--wo-os-16);
  border-radius: var(--wo-ex-radius);
  border: 1px solid var(--wo-os-line);
  background: var(--wo-os-surface);
  box-shadow: var(--wo-os-shadow);
}

#page-wallets .wo-intel-card:hover {
  transform: translateY(-3px);
  border-color: var(--wo-os-line-strong);
  box-shadow: var(--wo-os-shadow-hover);
}

#page-wallets .wo-intel-card .wo-activity-block-k {
  display: flex;
  align-items: center;
  gap: var(--wo-os-8);
  margin-bottom: var(--wo-os-8);
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

#page-wallets .wo-intel-card .wo-activity-block-k::before {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  font-size: 12px;
}

#page-wallets .wo-intel-card[data-wo-intel="incoming"] .wo-activity-block-k::after,
#page-wallets .wo-intel-card[data-wo-intel="outgoing"] .wo-activity-block-k::after,
#page-wallets .wo-intel-card[data-wo-intel="pending"] .wo-activity-block-k::after,
#page-wallets .wo-intel-card[data-wo-intel="nft"] .wo-activity-block-k::after,
#page-wallets .wo-intel-card[data-wo-intel="contracts"] .wo-activity-block-k::after,
#page-wallets .wo-intel-card[data-wo-intel="risk"] .wo-activity-block-k::after {
  display: block;
  width: 100%;
  margin-top: 2px;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: rgba(100, 116, 139, 0.88);
  line-height: 1.35;
}

#page-wallets .wo-intel-card[data-wo-intel="incoming"] .wo-activity-block-k::after { content: "Received transfers"; }
#page-wallets .wo-intel-card[data-wo-intel="outgoing"] .wo-activity-block-k::after { content: "Sent transfers"; }
#page-wallets .wo-intel-card[data-wo-intel="pending"] .wo-activity-block-k::after { content: "Awaiting confirmation"; }
#page-wallets .wo-intel-card[data-wo-intel="nft"] .wo-activity-block-k::after { content: "NFT-related activity"; }
#page-wallets .wo-intel-card[data-wo-intel="contracts"] .wo-activity-block-k::after { content: "Contract interactions"; }
#page-wallets .wo-intel-card[data-wo-intel="risk"] .wo-activity-block-k::after { content: "Failed or risky signals"; }

#page-wallets .wo-intel-body {
  flex: 1;
  min-height: 48px;
  font-size: 0.75rem;
  line-height: 1.45;
}

#page-wallets .wo-intel-card[data-wo-intel="incoming"] .wo-activity-block-k::before { content: "↓"; }
#page-wallets .wo-intel-card[data-wo-intel="outgoing"] .wo-activity-block-k::before { content: "↑"; }
#page-wallets .wo-intel-card[data-wo-intel="pending"] .wo-activity-block-k::before { content: "◷"; }
#page-wallets .wo-intel-card[data-wo-intel="nft"] .wo-activity-block-k::before { content: "▣"; }
#page-wallets .wo-intel-card[data-wo-intel="contracts"] .wo-activity-block-k::before { content: "⧉"; }
#page-wallets .wo-intel-card[data-wo-intel="risk"] .wo-activity-block-k::before { content: "!"; }

/* —— 8. SECURITY (executive session panel) —— */
#page-wallets .wo-security-executive {
  padding: var(--wo-os-16) !important;
}

#page-wallets .wo-security-session-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--wo-os-8);
  margin-bottom: var(--wo-os-16);
}

#page-wallets .wo-security-session-widget {
  padding: var(--wo-os-16);
  border-radius: var(--wo-ex-radius);
  border: 1px solid var(--wo-os-line);
  background: var(--wo-os-surface);
  box-shadow: var(--wo-os-shadow);
  min-height: 120px;
}

#page-wallets .wo-security-session-widget .wo-activity-block-k {
  margin-bottom: var(--wo-os-8);
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

#page-wallets .wo-security-session-body {
  font-size: 0.75rem;
  line-height: 1.45;
}

#page-wallets .wo-security-executive .wo-security-actions {
  gap: var(--wo-os-8);
  margin-top: 0;
}

#page-wallets .wo-security-executive .wo-security-actions .btn {
  min-height: 42px;
  font-weight: 700;
}

/* —— 9. WALLET COHORTS —— */
#page-wallets .wo-cohort-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--wo-os-8);
}

#page-wallets .wo-cohort-card {
  min-height: 156px;
  padding: var(--wo-os-16) !important;
  border-color: var(--wo-os-line);
  background: var(--wo-os-surface);
}

#page-wallets .wo-cohort-name {
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-bottom: var(--wo-os-8);
}

#page-wallets .wo-cohort-desc {
  font-size: 0.6875rem;
  line-height: 1.5;
  margin-bottom: var(--wo-os-8);
}

#page-wallets .wo-cohort-progress {
  height: 3px;
  margin: 0 0 var(--wo-os-8);
  border-radius: 999px;
  background: rgba(15, 168, 157, 0.1);
  overflow: hidden;
}

#page-wallets .wo-cohort-progress span {
  display: block;
  width: 36%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(22, 224, 214, 0.75), rgba(22, 224, 214, 0.2));
}

#page-wallets .wo-cohort-card:nth-child(2) .wo-cohort-progress span { width: 52%; }
#page-wallets .wo-cohort-card:nth-child(3) .wo-cohort-progress span { width: 68%; }
#page-wallets .wo-cohort-card:nth-child(4) .wo-cohort-progress span { width: 24%; }
#page-wallets .wo-cohort-card:nth-child(5) .wo-cohort-progress span { width: 44%; }

#page-wallets .wo-cohort-note {
  margin-top: auto;
  padding: 5px 10px;
  font-size: 0.5625rem;
}

/* —— 10. TABLES (Bloomberg executive grid) —— */
#page-wallets .wallet-registry-table-wrap,
#page-wallets .wo-leaderboard-table-wrap {
  border: 1px solid var(--wo-os-line) !important;
  border-radius: var(--wo-ex-radius-lg) !important;
  background: rgba(2, 6, 8, 0.62) !important;
  box-shadow: var(--wo-os-shadow) !important;
  overflow: auto;
}

#page-wallets .wallet-registry-table thead th,
#page-wallets #wo-wallet-leaderboard-table thead th {
  padding: 14px 16px;
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  background: rgba(2, 6, 8, 0.99);
  border-bottom: 1px solid rgba(22, 224, 214, 0.18) !important;
}

#page-wallets .wallet-registry-table tbody td,
#page-wallets #wo-wallet-leaderboard-table tbody td {
  padding: 0 16px;
  height: 52px;
  border-bottom: 1px solid rgba(15, 168, 157, 0.05) !important;
}

#page-wallets #wo-wallet-leaderboard-table tbody td:nth-child(2) {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.01em;
}

#page-wallets .wallet-registry-table tbody tr:hover,
#page-wallets #wo-wallet-leaderboard-table tbody tr:hover {
  background: rgba(22, 224, 214, 0.1) !important;
  box-shadow: inset 3px 0 0 rgba(22, 224, 214, 0.55);
}

#page-wallets .wo-leaderboard-lead {
  padding: 0 0 var(--wo-os-8) !important;
  margin-bottom: var(--wo-os-8) !important;
}

#page-wallets .wo-watchlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--wo-os-8);
}

#page-wallets .wo-watchlist-add-btn {
  padding: 6px 12px;
  font-size: 0.75rem;
}

/* —— 11. EMPTY STATES —— */
#page-wallets .wo-my-empty,
#page-wallets .wo-empty-note,
#page-wallets .wo-discovery-empty,
#page-wallets .wo-watchlist-empty,
#page-wallets #wo-wallet-leaderboard-table tbody td.wo-empty-note {
  min-height: 140px;
  padding: var(--wo-os-32) var(--wo-os-24) !important;
  gap: var(--wo-os-8);
  border: 1px dashed rgba(15, 168, 157, 0.24) !important;
  background: rgba(3, 8, 10, 0.55) !important;
}

#page-wallets .wo-my-empty::after,
#page-wallets .wo-empty-note::after,
#page-wallets .wo-discovery-empty::after {
  content: "Awaiting indexed data";
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(100, 116, 139, 0.75);
}

/* —— Section shells: tighter, less flat boxes —— */
#page-wallets .wo-mission-control > .wo-portfolio-workspace,
#page-wallets .wo-mission-control > .wo-transfer-workspace,
#page-wallets .wo-mission-control > .wo-tier-intelligence {
  padding: var(--wo-os-16) !important;
  gap: var(--wo-os-16);
  border-color: var(--wo-os-line);
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

#page-wallets .wo-portfolio-workspace .wo-portfolio-section,
#page-wallets .wo-portfolio-workspace .wo-assets-section {
  padding: var(--wo-os-16);
  border-radius: var(--wo-ex-radius);
  border: 1px solid var(--wo-os-line);
  background: var(--wo-os-surface);
  box-shadow: var(--wo-os-shadow);
}

@media (max-width: 1100px) {
  #page-wallets .wo-executive-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #page-wallets .wo-portfolio-summary-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #page-wallets .wo-intelligence-deck {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #page-wallets .wo-cohort-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  #page-wallets .wo-mission-action-deck,
  #page-wallets .wo-transfer-grid--receive-focus,
  #page-wallets .wo-security-session-grid,
  #page-wallets .wo-executive-stats,
  #page-wallets .wo-portfolio-summary-strip,
  #page-wallets .wo-intelligence-deck,
  #page-wallets .wo-cohort-grid {
    grid-template-columns: 1fr;
  }

  #page-wallets .wo-transfer-grid--receive-focus {
    min-height: 0;
  }

  #page-wallets .wo-receive-showcase .wo-receive-qr {
    width: 200px !important;
    height: 200px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #page-wallets .wo-mission-action--card,
  #page-wallets .wo-intel-card,
  #page-wallets .wo-executive-stats .stat {
    transition: none;
  }

  #page-wallets .wo-mission-action--card:hover,
  #page-wallets .wo-intel-card:hover,
  #page-wallets .wo-executive-stats .stat:hover {
    transform: none;
  }
}

/* ==========================================================================
   STAGE 7 — Final reference polish (Wallet Mission Control flagship)
   Hierarchy only · CSS + HTML · no logic changes
   ========================================================================== */

#page-wallets {
  --wo-ref-8: 8px;
  --wo-ref-12: 12px;
  --wo-ref-16: 16px;
  --wo-ref-20: 20px;
  --wo-ref-26: 26px;
  --wo-ref-dur: 0.15s;
  --wo-ref-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --wo-ref-ink: rgba(248, 250, 252, 0.97);
  --wo-ref-muted: rgba(148, 163, 184, 0.82);
  --wo-ref-faint: rgba(100, 116, 139, 0.78);
  --wo-ref-surface: rgba(8, 12, 14, 0.72);
  --wo-ref-elevate: 0 10px 32px -22px rgba(0, 0, 0, 0.72);
  --wo-ref-accent: rgba(22, 224, 214, 0.82);
}

/* —— 1. Compress page height (~18%) —— */
#page-wallets #wo-my-wallet.wo-mission-control.wo-my-wallet {
  gap: var(--wo-ref-20);
  padding: var(--wo-ref-20);
  margin-bottom: var(--wo-ref-20);
}

#page-wallets #wo-phase1-panel-overview > .stats,
#page-wallets #wo-phase1-panel-overview > .row,
#page-wallets #wo-phase1-panel-overview > .panel,
#page-wallets #wo-phase1-panel-overview > #wo-my-wallet {
  margin-top: var(--wo-ref-20);
}

#page-wallets #wo-phase1-panel-overview > .stats {
  margin-top: var(--wo-ref-12);
}

#page-wallets .wo-mission-hero-compact {
  padding: var(--wo-ref-12) var(--wo-ref-16) var(--wo-ref-12) calc(var(--wo-ref-12) + 5px);
}

#page-wallets .wo-mission-action--card {
  min-height: 64px;
  padding: var(--wo-ref-12);
}

#page-wallets .wo-executive-stats .stat {
  min-height: 88px;
  padding: var(--wo-ref-12);
}

#page-wallets .wo-transfer-grid--receive-focus {
  min-height: 360px;
}

#page-wallets .wo-receive-showcase {
  padding: var(--wo-ref-20) var(--wo-ref-16) !important;
}

#page-wallets .wo-receive-showcase .wo-receive-qr {
  width: 216px !important;
  height: 216px !important;
}

#page-wallets .wo-panel-lead {
  margin: 2px 0 var(--wo-ref-12) !important;
}

#page-wallets .panel-head {
  margin-bottom: var(--wo-ref-8);
}

/* —— 9. Reduce borders globally; elevation over boxes —— */
#page-wallets .panel,
#page-wallets .wo-mission-control > .wo-portfolio-workspace,
#page-wallets .wo-mission-control > .wo-transfer-workspace,
#page-wallets .wo-mission-control > .wo-tier-intelligence,
#page-wallets .wo-panel-health,
#page-wallets .wo-panel-cohorts,
#page-wallets .wo-panel-discovery,
#page-wallets .wo-panel-leaderboards,
#page-wallets .wo-panel-watchlist,
#page-wallets .wo-portfolio-workspace .wo-portfolio-section,
#page-wallets .wo-portfolio-workspace .wo-assets-section,
#page-wallets .wo-mission-control .wo-dash-metric,
#page-wallets .wo-intel-card,
#page-wallets .wo-mission-action--card {
  border-width: 0 !important;
  box-shadow: var(--wo-ref-elevate);
  background: var(--wo-ref-surface);
}

#page-wallets .wo-mission-hero-compact {
  border-left-width: 3px !important;
  border-top-width: 0 !important;
  border-right-width: 0 !important;
  border-bottom-width: 0 !important;
}

/* —— 2. Runtime status — premium live ops strip —— */
#page-wallets .wo-ops-strip {
  padding: var(--wo-ref-12) 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

#page-wallets .wo-ops-strip .wo-dash-section-head {
  margin-bottom: var(--wo-ref-8);
  padding-bottom: var(--wo-ref-8);
  border-bottom: none;
}

#page-wallets .wo-ops-kpi-strip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--wo-ref-8);
  overflow-x: visible;
  min-width: 0;
  max-width: 100%;
  padding-bottom: 2px;
}

#page-wallets .wo-ops-kpi-strip .wo-dash-metric {
  flex: 1 1 0;
  min-width: 118px;
  min-height: 58px;
  padding: var(--wo-ref-8) var(--wo-ref-12);
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  border-radius: 10px;
  background: rgba(6, 10, 12, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), var(--wo-ref-elevate);
}

#page-wallets .wo-ops-kpi-strip .wo-dash-metric-k {
  order: 2;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  color: var(--wo-ref-faint);
  line-height: 1.2;
}

#page-wallets .wo-ops-kpi-strip .wo-dash-metric-v {
  order: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 0;
  border: none;
  background: transparent;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  color: var(--wo-ref-ink);
  border-radius: 0;
}

#page-wallets .wo-ops-kpi-strip .wo-dash-metric-v::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.45);
  flex-shrink: 0;
}

#page-wallets .wo-ops-kpi-strip .wo-dash-metric:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 12px 28px -16px rgba(0, 0, 0, 0.78),
    0 0 20px -12px rgba(22, 224, 214, 0.18);
}

/* —— 3. Wallet intelligence — executive dashboard —— */
#page-wallets .wo-intelligence-deck {
  gap: var(--wo-ref-12);
}

#page-wallets .wo-intel-card {
  position: relative;
  min-height: 136px;
  padding: var(--wo-ref-16) var(--wo-ref-16) var(--wo-ref-12);
  overflow: hidden;
  box-shadow: var(--wo-ref-elevate);
}

#page-wallets .wo-intel-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(22, 224, 214, 0.65), rgba(22, 224, 214, 0.08) 78%);
  pointer-events: none;
}

#page-wallets .wo-intel-card .wo-activity-block-k {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  margin-bottom: var(--wo-ref-12);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--wo-ref-ink);
}

#page-wallets .wo-intel-card .wo-activity-block-k::before {
  width: 32px;
  height: 32px;
  margin-bottom: 2px;
  border-radius: 10px;
  border: none;
  background: rgba(22, 224, 214, 0.12);
  font-size: 15px;
  font-weight: 700;
}

#page-wallets .wo-intel-card[data-wo-intel] .wo-activity-block-k::after {
  font-size: 0.625rem;
  font-weight: 500;
  color: var(--wo-ref-muted);
  line-height: 1.35;
}

#page-wallets .wo-intel-body {
  min-height: 40px;
  font-size: 0.6875rem;
  line-height: 1.45;
  color: rgba(203, 213, 225, 0.88);
}

#page-wallets .wo-intel-card:hover {
  transform: translateY(-2px);
  box-shadow:
    var(--wo-ref-elevate),
    0 0 24px -14px rgba(22, 224, 214, 0.16);
}

/* —— 4. Wallet cohorts — unified analytics panel —— */
#page-wallets .wo-cohort-analytics-panel {
  padding: var(--wo-ref-12);
  border-radius: 12px;
  background: rgba(5, 9, 11, 0.82);
  box-shadow: var(--wo-ref-elevate);
}

#page-wallets .wo-cohort-grid {
  gap: var(--wo-ref-8);
}

#page-wallets .wo-cohort-analytics-panel .wo-cohort-card {
  min-height: 132px;
  padding: var(--wo-ref-12) var(--wo-ref-8) !important;
  border: none !important;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

#page-wallets .wo-cohort-analytics-panel .wo-cohort-card:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.04) !important;
}

#page-wallets .wo-cohort-analytics-panel .wo-cohort-card::before,
#page-wallets .wo-cohort-analytics-panel .wo-cohort-card::after {
  display: none;
}

#page-wallets .wo-cohort-analytics-panel .wo-cohort-name {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wo-ref-ink);
  margin-bottom: 6px;
}

#page-wallets .wo-cohort-analytics-panel .wo-cohort-desc {
  font-size: 0.625rem;
  line-height: 1.4;
  color: var(--wo-ref-muted);
  margin-bottom: var(--wo-ref-8);
}

#page-wallets .wo-cohort-analytics-panel .wo-cohort-progress {
  height: 2px;
  margin-bottom: var(--wo-ref-8);
}

#page-wallets .wo-cohort-analytics-panel .wo-cohort-note {
  padding: 0;
  border: none;
  background: transparent;
  font-size: 0.5625rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  color: var(--wo-ref-faint);
}

#page-wallets .wo-cohort-analytics-panel .wo-cohort-card:hover {
  transform: none;
  background: rgba(255, 255, 255, 0.02);
}

/* —— 5. Wallet discovery — intelligence workspace —— */
#page-wallets .wo-discovery-workspace {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--wo-ref-8);
  min-height: 0;
  margin-top: var(--wo-ref-8);
  padding: var(--wo-ref-20) var(--wo-ref-16);
  border-radius: 12px;
  background: rgba(5, 9, 11, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

#page-wallets .wo-discovery-illustration {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 35% 35%, rgba(22, 224, 214, 0.22), transparent 58%),
    rgba(15, 168, 157, 0.08);
  box-shadow: 0 0 28px -10px rgba(22, 224, 214, 0.35);
  animation: woDiscoveryPulse 3.6s var(--wo-ref-ease) infinite alternate;
}

#page-wallets .wo-discovery-illustration::before {
  content: "◎";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 22px;
  color: rgba(22, 224, 214, 0.75);
}

@keyframes woDiscoveryPulse {
  0% { opacity: 0.72; transform: scale(0.98); }
  100% { opacity: 1; transform: scale(1); }
}

#page-wallets .wo-discovery-workspace .wo-discovery-empty {
  min-height: 0;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--wo-ref-ink);
}

#page-wallets .wo-discovery-workspace .wo-discovery-empty::before,
#page-wallets .wo-discovery-workspace .wo-discovery-empty::after {
  display: none;
}

#page-wallets .wo-discovery-guidance {
  margin: 0;
  max-width: 42ch;
  font-size: 0.6875rem;
  line-height: 1.45;
  text-align: center;
  color: var(--wo-ref-muted);
}

#page-wallets .wo-panel-discovery .wo-discovery-desc {
  margin: 0 0 var(--wo-ref-8);
  font-size: 0.6875rem;
  color: var(--wo-ref-muted);
}

/* —— 6. Leaderboards — Bloomberg compact grid —— */
#page-wallets .wo-leaderboard-executive {
  padding: var(--wo-ref-16) !important;
}

#page-wallets .wo-leaderboard-table-wrap {
  border: none !important;
  border-radius: 10px !important;
  background: rgba(4, 8, 10, 0.72) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03) !important;
  max-height: 360px;
}

#page-wallets #wo-wallet-leaderboard-table thead th {
  padding: 10px 12px;
  font-size: 0.5625rem;
  letter-spacing: 0.12em;
  background: rgba(3, 7, 9, 0.99);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

#page-wallets #wo-wallet-leaderboard-table tbody td {
  height: 44px;
  padding: 0 12px;
  font-size: 0.6875rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03) !important;
}

#page-wallets #wo-wallet-leaderboard-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

#page-wallets #wo-wallet-leaderboard-table tbody tr:hover {
  background: rgba(22, 224, 214, 0.08) !important;
  box-shadow: inset 2px 0 0 var(--wo-ref-accent);
}

#page-wallets #wo-wallet-leaderboard-table tbody td:nth-child(2) {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.625rem;
  letter-spacing: 0.02em;
}

#page-wallets #wo-wallet-leaderboard-table tbody td.wo-empty-note {
  min-height: 100px;
  height: auto;
  padding: var(--wo-ref-20) var(--wo-ref-16) !important;
}

#page-wallets .wallet-registry-table-wrap {
  border: none !important;
  max-height: 360px;
}

#page-wallets .wallet-registry-table thead th {
  padding: 10px 12px;
}

#page-wallets .wallet-registry-table tbody td {
  height: 44px;
  padding: 0 12px;
}

/* —— 7. Security — executive command panel —— */
#page-wallets .wo-security-command {
  padding: var(--wo-ref-16) !important;
}

#page-wallets .wo-security-command .wo-security-session-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--wo-ref-12);
  margin-bottom: var(--wo-ref-12);
}

#page-wallets .wo-security-command .wo-security-session-widget {
  min-height: 128px;
  padding: var(--wo-ref-16);
  border: none !important;
  border-radius: 12px;
  background: rgba(5, 9, 11, 0.82);
  box-shadow: var(--wo-ref-elevate);
}

#page-wallets .wo-security-command .wo-activity-block-k {
  margin-bottom: var(--wo-ref-8);
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--wo-ref-ink);
}

#page-wallets .wo-security-connection-body {
  font-size: 0.6875rem;
  line-height: 1.45;
  color: var(--wo-ref-muted);
}

#page-wallets .wo-security-command .wo-security-actions {
  gap: var(--wo-ref-8);
}

#page-wallets .wo-security-command .wo-security-actions .btn {
  min-height: 38px;
  font-size: 0.6875rem;
}

/* —— 8. Ecosystem health — KPI widgets —— */
#page-wallets .wo-ecosystem-health {
  padding: var(--wo-ref-16) !important;
}

#page-wallets .wo-health-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--wo-ref-8);
}

#page-wallets .wo-health-kpi {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 88px;
  padding: var(--wo-ref-12);
  border-radius: 10px;
  background: rgba(5, 9, 11, 0.82);
  box-shadow: var(--wo-ref-elevate);
  transition: transform var(--wo-ref-dur) var(--wo-ref-ease), box-shadow var(--wo-ref-dur) var(--wo-ref-ease);
}

#page-wallets .wo-health-kpi:hover {
  transform: translateY(-2px);
  box-shadow:
    var(--wo-ref-elevate),
    0 0 20px -12px rgba(22, 224, 214, 0.14);
}

#page-wallets .wo-health-kpi-value {
  order: 1;
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--wo-ref-ink);
  font-family: "JetBrains Mono", ui-monospace, monospace;
}

#page-wallets .wo-health-kpi-label {
  order: 2;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wo-ref-faint);
}

#page-wallets .wo-health-kpi-trend {
  order: 3;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
  margin-top: auto;
  font-size: 0.625rem;
  font-weight: 650;
  color: var(--wo-ref-muted);
}

#page-wallets .wo-health-kpi-trend::before {
  content: "●";
  font-size: 0.5rem;
  color: rgba(148, 163, 184, 0.65);
}

#page-wallets .wo-ecosystem-health .kv {
  display: none;
}

#page-wallets .wo-health-hint {
  margin-top: var(--wo-ref-8);
  font-size: 0.625rem;
}

/* —— 10. Final density + micro-interactions —— */
#page-wallets .wo-mission-control .wo-dash-section-head {
  margin-bottom: var(--wo-ref-8);
  padding-bottom: var(--wo-ref-8);
}

#page-wallets .wo-portfolio-summary-strip {
  gap: var(--wo-ref-8);
  margin-bottom: var(--wo-ref-12);
}

#page-wallets .wo-portfolio-summary-strip .wo-dash-metric {
  min-height: 80px;
}

#page-wallets .wo-mission-action--card,
#page-wallets .wo-intel-card,
#page-wallets .wo-health-kpi,
#page-wallets .wo-ops-kpi-strip .wo-dash-metric,
#page-wallets .wo-executive-stats .stat {
  transition:
    transform var(--wo-ref-dur) var(--wo-ref-ease),
    box-shadow var(--wo-ref-dur) var(--wo-ref-ease),
    background var(--wo-ref-dur) var(--wo-ref-ease);
}

@media (max-width: 1100px) {
  #page-wallets .wo-cohort-analytics-panel .wo-cohort-card {
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
  }

  #page-wallets .wo-cohort-analytics-panel .wo-cohort-card:last-child {
    border-bottom: none !important;
  }

  #page-wallets .wo-security-command .wo-security-session-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  #page-wallets .wo-ops-kpi-strip {
    flex-wrap: wrap;
  }

  #page-wallets .wo-ops-kpi-strip .wo-dash-metric {
    flex: 1 1 calc(50% - 4px);
  }

  #page-wallets .wo-health-kpi-grid {
    grid-template-columns: 1fr;
  }

  #page-wallets .wo-cohort-analytics-panel .wo-cohort-card {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #page-wallets .wo-discovery-illustration {
    animation: none;
  }
}

/* ==========================================================================
   STAGE 8 — Final executive refinement (UNARA IDE flagship reference)
   CSS + HTML only · hierarchy refinement · no logic
   ========================================================================== */

#page-wallets {
  --wo-fin-8: 8px;
  --wo-fin-16: 16px;
  --wo-fin-20: 20px;
  --wo-fin-dur: 0.15s;
  --wo-fin-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --wo-fin-glass: linear-gradient(168deg, rgba(14, 22, 26, 0.82) 0%, rgba(8, 12, 14, 0.78) 100%);
  --wo-fin-glass-hover: linear-gradient(168deg, rgba(18, 28, 32, 0.9) 0%, rgba(10, 14, 16, 0.86) 100%);
  --wo-fin-shadow-soft: 0 8px 28px -20px rgba(0, 0, 0, 0.65);
  --wo-fin-shadow-lift: 0 14px 36px -18px rgba(0, 0, 0, 0.72), 0 0 32px -14px rgba(22, 224, 214, 0.22);
  --wo-fin-ink: #f8fafc;
  --wo-fin-muted: rgba(148, 163, 184, 0.76);
  --wo-fin-live: #5eead4;
  --wo-fin-focus: 0 0 0 2px rgba(22, 224, 214, 0.28);
}

/* —— 11. Unified visual rhythm —— */
#page-wallets #wo-my-wallet.wo-mission-control.wo-my-wallet {
  gap: var(--wo-fin-20);
}

#page-wallets #wo-phase1-panel-overview > .stats,
#page-wallets #wo-phase1-panel-overview > .row,
#page-wallets #wo-phase1-panel-overview > .panel,
#page-wallets #wo-phase1-panel-overview > #wo-my-wallet {
  margin-top: var(--wo-fin-20);
}

#page-wallets .wo-mission-control > *:not(.wo-mission-hero-stack) {
  margin-top: 0;
}

/* —— 1. Hero — tighter, actions immediate —— */
#page-wallets .wo-mission-hero-stack {
  display: flex;
  flex-direction: column;
  gap: var(--wo-fin-8);
  margin-bottom: 0;
}

#page-wallets .wo-mission-hero-compact {
  padding: 10px 14px 10px calc(10px + 4px) !important;
  margin-bottom: 0;
  background: var(--wo-fin-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--wo-fin-shadow-soft);
}

#page-wallets .wo-mission-hero-compact .unara-hero-kicker {
  margin-bottom: 4px;
  font-size: 0.5625rem;
}

#page-wallets .wo-mission-hero-compact .unara-hero-title {
  margin-bottom: 6px;
  font-size: clamp(1.5rem, 2.6vw, 2.25rem) !important;
  line-height: 1.06;
}

#page-wallets .wo-mission-hero-compact .unara-hero-lead {
  font-size: 0.6875rem;
  line-height: 1.4;
  margin-top: 4px;
}

#page-wallets .wo-mission-status-chips {
  margin-bottom: 0;
  min-height: 0;
  padding: 0;
}

#page-wallets .wo-mission-action-deck {
  gap: var(--wo-fin-8);
  margin-top: 0;
}

/* —— 2. Action cards — premium glass —— */
#page-wallets .wo-mission-action--card {
  min-height: 60px;
  padding: 12px 14px;
  background: var(--wo-fin-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    var(--wo-fin-shadow-soft);
  transition:
    transform var(--wo-fin-dur) var(--wo-fin-ease),
    box-shadow var(--wo-fin-dur) var(--wo-fin-ease),
    background var(--wo-fin-dur) var(--wo-fin-ease);
}

#page-wallets .wo-mission-action--card:hover {
  transform: translateY(-3px);
  background: var(--wo-fin-glass-hover);
  box-shadow: var(--wo-fin-shadow-lift);
}

#page-wallets .wo-mission-action--card:focus-visible {
  outline: none;
  box-shadow: var(--wo-fin-focus), var(--wo-fin-shadow-lift);
}

#page-wallets .wo-mission-action-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  border: 1px solid rgba(22, 224, 214, 0.22);
  background: linear-gradient(180deg, rgba(22, 224, 214, 0.16) 0%, rgba(22, 224, 214, 0.06) 100%);
  font-size: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: box-shadow var(--wo-fin-dur) var(--wo-fin-ease), border-color var(--wo-fin-dur) var(--wo-fin-ease);
}

#page-wallets .wo-mission-action--card:hover .wo-mission-action-icon {
  border-color: rgba(22, 224, 214, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 20px -6px rgba(22, 224, 214, 0.45);
}

#page-wallets .wo-mission-action--card .wo-mission-action-k {
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--wo-fin-ink);
}

#page-wallets .wo-mission-action--card .wo-mission-action-v {
  font-size: 0.625rem;
  color: var(--wo-fin-muted);
}

/* —— 3. Runtime status — Bloomberg contrast —— */
#page-wallets .wo-ops-kpi-strip .wo-dash-metric {
  min-height: 54px;
  background: linear-gradient(180deg, rgba(4, 8, 10, 0.95) 0%, rgba(2, 5, 7, 0.92) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35),
    var(--wo-fin-shadow-soft);
}

#page-wallets .wo-ops-kpi-strip .wo-dash-metric-v {
  font-size: 0.875rem;
  font-weight: 850;
  color: var(--wo-fin-live);
  text-shadow: 0 0 18px rgba(94, 234, 212, 0.25);
}

#page-wallets .wo-ops-kpi-strip .wo-dash-metric-v::before {
  width: 7px;
  height: 7px;
  background: #34d399;
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.65);
}

#page-wallets .wo-ops-kpi-strip .wo-dash-metric:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 28px -10px rgba(22, 224, 214, 0.35),
    var(--wo-fin-shadow-lift);
}

/* —— 4. Receive centerpiece —— */
#page-wallets .wo-receive-showcase {
  padding: 28px 24px !important;
  gap: var(--wo-fin-16);
}

#page-wallets .wo-receive-qr-stage {
  padding: 28px;
  margin: 0;
  border-radius: 18px;
  background:
    radial-gradient(ellipse 70% 55% at 50% 40%, rgba(22, 224, 214, 0.12), transparent 70%),
    rgba(3, 8, 10, 0.75);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 0 48px -12px rgba(22, 224, 214, 0.42);
}

#page-wallets .wo-receive-showcase .wo-receive-qr {
  width: 256px !important;
  height: 256px !important;
  border-radius: 16px;
  box-shadow: 0 0 36px rgba(22, 224, 214, 0.22);
}

#page-wallets .wo-receive-showcase .wo-receive-address {
  max-width: 100%;
  padding: 16px 18px;
  font-size: 0.8125rem;
  text-align: center;
}

#page-wallets .wo-receive-showcase .wo-receive-address--live {
  font-size: 1.0625rem !important;
  font-weight: 750 !important;
  letter-spacing: 0.025em;
  padding: 18px 20px;
  color: var(--wo-fin-ink);
  background: linear-gradient(180deg, rgba(8, 18, 20, 0.96) 0%, rgba(4, 10, 12, 0.92) 100%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 40px -10px rgba(22, 224, 214, 0.5) !important;
}

/* —— 5. Send panel hierarchy —— */
#page-wallets .wo-send-panel .wo-field label {
  font-weight: 500;
  color: var(--wo-fin-muted);
}

#page-wallets .wo-send-amount-field input {
  min-height: 56px !important;
  font-size: 1.375rem !important;
  font-weight: 750 !important;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: -0.02em;
  background: rgba(2, 6, 8, 0.82);
}

#page-wallets .wo-send-amount-field input:focus {
  outline: none;
  box-shadow: var(--wo-fin-focus);
}

#page-wallets .wo-send-token-field select {
  min-height: 46px;
  font-weight: 650;
  letter-spacing: 0.02em;
  background:
    linear-gradient(180deg, rgba(6, 12, 14, 0.92) 0%, rgba(3, 8, 10, 0.88) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  appearance: none;
  background-image:
    linear-gradient(180deg, rgba(6, 12, 14, 0.92) 0%, rgba(3, 8, 10, 0.88) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

#page-wallets .wo-send-token-field select:focus {
  outline: none;
  box-shadow: var(--wo-fin-focus);
}

#page-wallets .wo-send-panel #wo-send-review-btn {
  min-height: 52px;
  font-size: 0.8125rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 32px -8px rgba(22, 224, 214, 0.55);
}

#page-wallets .wo-send-panel #wo-send-review-btn:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 0 40px -6px rgba(22, 224, 214, 0.65);
}

#page-wallets .wo-send-panel .btn:focus-visible,
#page-wallets .wo-receive-actions .btn:focus-visible {
  outline: none;
  box-shadow: var(--wo-fin-focus);
}

/* —— 6. Wallet intelligence —— */
#page-wallets .wo-intelligence-deck {
  row-gap: var(--wo-fin-16);
  column-gap: var(--wo-fin-16);
}

#page-wallets .wo-intel-card {
  min-height: 140px;
  padding: 18px 16px 14px;
  background: var(--wo-fin-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

#page-wallets .wo-intel-card .wo-activity-block-k {
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  color: var(--wo-fin-ink);
}

#page-wallets .wo-intel-card .wo-activity-block-k::before {
  width: 36px;
  height: 36px;
  font-size: 16px;
  border-radius: 11px;
  background: rgba(22, 224, 214, 0.14);
}

#page-wallets .wo-intel-card[data-wo-intel] .wo-activity-block-k::after {
  font-size: 0.5625rem;
  font-weight: 450;
  color: var(--wo-fin-muted);
  opacity: 0.92;
}

#page-wallets .wo-intel-body {
  color: rgba(203, 213, 225, 0.72);
  font-size: 0.625rem;
}

#page-wallets .wo-intel-card:hover {
  box-shadow: var(--wo-fin-shadow-lift);
}

/* —— 7. Security — premium control widgets —— */
#page-wallets .wo-security-command .wo-security-session-widget {
  position: relative;
  overflow: hidden;
  background: var(--wo-fin-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--wo-fin-shadow-soft);
  transition: transform var(--wo-fin-dur) var(--wo-fin-ease), box-shadow var(--wo-fin-dur) var(--wo-fin-ease);
}

#page-wallets .wo-security-command .wo-security-session-widget::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(22, 224, 214, 0.55), transparent 80%);
}

#page-wallets .wo-security-permissions-card::before {
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.5), transparent 80%);
}

#page-wallets .wo-security-history-card::before {
  background: linear-gradient(90deg, rgba(167, 154, 211, 0.5), transparent 80%);
}

#page-wallets .wo-security-command .wo-security-session-widget:hover {
  transform: translateY(-2px);
  box-shadow: var(--wo-fin-shadow-lift);
}

#page-wallets .wo-security-command .wo-activity-block-k {
  font-size: 0.6875rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

/* —— 8. Cohorts — single analytics surface —— */
#page-wallets .wo-cohort-analytics-panel {
  padding: var(--wo-fin-16) var(--wo-fin-8);
  background:
    linear-gradient(180deg, rgba(6, 10, 12, 0.88) 0%, rgba(4, 7, 9, 0.84) 100%);
  box-shadow: var(--wo-fin-shadow-soft);
}

#page-wallets .wo-cohort-analytics-panel .wo-cohort-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
}

#page-wallets .wo-cohort-analytics-panel .wo-cohort-card {
  min-height: 120px;
  padding: var(--wo-fin-8) var(--wo-fin-16) !important;
  border: none !important;
}

#page-wallets .wo-cohort-analytics-panel .wo-cohort-card:not(:last-child) {
  border-right: none !important;
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.04);
}

#page-wallets .wo-cohort-analytics-panel .wo-cohort-card:hover {
  background: rgba(255, 255, 255, 0.025);
}

#page-wallets .wo-cohort-analytics-panel .wo-cohort-name {
  font-size: 0.625rem;
  margin-bottom: 6px;
}

#page-wallets .wo-cohort-analytics-panel .wo-cohort-desc {
  font-size: 0.5625rem;
  color: var(--wo-fin-muted);
  margin-bottom: 10px;
}

#page-wallets .wo-cohort-analytics-panel .wo-cohort-progress {
  height: 2px;
  opacity: 0.85;
}

/* —— 9. Discovery — executive placeholder —— */
#page-wallets .wo-discovery-stage {
  min-height: 148px;
  padding: var(--wo-fin-20);
  justify-content: center;
  background: rgba(4, 8, 10, 0.48);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

#page-wallets .wo-discovery-illustration--exec {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 18px;
}

#page-wallets .wo-discovery-illustration-ring {
  position: absolute;
  inset: -8px;
  border-radius: 22px;
  border: 1px solid rgba(22, 224, 214, 0.12);
  animation: woDiscoveryRing 4s var(--wo-fin-ease) infinite alternate;
}

@keyframes woDiscoveryRing {
  0% { opacity: 0.35; transform: scale(0.96); }
  100% { opacity: 0.75; transform: scale(1); }
}

#page-wallets .wo-discovery-illustration--exec::before {
  font-size: 26px;
}

#page-wallets .wo-discovery-stage .wo-discovery-empty {
  font-size: 0.8125rem;
  font-weight: 750;
}

#page-wallets .wo-discovery-stage .wo-discovery-guidance {
  font-size: 0.625rem;
  color: var(--wo-fin-muted);
}

/* —— 10. Tables — Stripe / Bloomberg / GitHub Enterprise —— */
#page-wallets .wo-leaderboard-table-wrap,
#page-wallets .wallet-registry-table-wrap {
  padding: var(--wo-fin-8) var(--wo-fin-8) 0;
  background: rgba(3, 7, 9, 0.65) !important;
  border-radius: 12px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

#page-wallets #wo-wallet-leaderboard-table,
#page-wallets .wallet-registry-table {
  border-collapse: separate;
  border-spacing: 0 2px;
}

#page-wallets #wo-wallet-leaderboard-table thead th,
#page-wallets .wallet-registry-table thead th {
  padding: 11px 14px;
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  color: rgba(148, 163, 184, 0.88);
  background: rgba(2, 5, 7, 0.99);
  border-bottom: none !important;
}

#page-wallets #wo-wallet-leaderboard-table tbody td,
#page-wallets .wallet-registry-table tbody td {
  height: 40px;
  padding: 0 14px;
  font-size: 0.6875rem;
  border-bottom: none !important;
  background: rgba(255, 255, 255, 0.015);
}

#page-wallets #wo-wallet-leaderboard-table tbody tr:nth-child(even) td,
#page-wallets .wallet-registry-table tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.03);
}

#page-wallets #wo-wallet-leaderboard-table tbody tr:hover td,
#page-wallets .wallet-registry-table tbody tr:hover td {
  background: rgba(22, 224, 214, 0.09) !important;
}

#page-wallets #wo-wallet-leaderboard-table tbody td:nth-child(1),
#page-wallets #wo-wallet-leaderboard-table tbody td:nth-child(4),
#page-wallets #wo-wallet-leaderboard-table tbody td:nth-child(5),
#page-wallets #wo-wallet-leaderboard-table tbody td:nth-child(6),
#page-wallets #wo-wallet-leaderboard-table thead th:nth-child(1),
#page-wallets #wo-wallet-leaderboard-table thead th:nth-child(4),
#page-wallets #wo-wallet-leaderboard-table thead th:nth-child(5),
#page-wallets #wo-wallet-leaderboard-table thead th:nth-child(6) {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

#page-wallets #wo-wallet-leaderboard-table tbody td:nth-child(2),
#page-wallets .wallet-registry-table tbody td:first-child {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.625rem;
  letter-spacing: 0.015em;
}

#page-wallets #wo-wallet-leaderboard-table tbody td.wo-empty-note,
#page-wallets .wallet-registry-empty {
  background: transparent !important;
  padding: var(--wo-fin-20) var(--wo-fin-16) !important;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--wo-fin-muted);
  border: none !important;
}

#page-wallets #wo-wallet-leaderboard-table tbody td.wo-empty-note::before {
  content: "◎";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0 auto 8px;
  border-radius: 10px;
  background: rgba(15, 168, 157, 0.08);
  font-size: 16px;
  color: rgba(22, 224, 214, 0.7);
}

/* —— 12. Micro-interactions + focus —— */
#page-wallets .wo-mission-control input:focus-visible,
#page-wallets .wo-mission-control select:focus-visible,
#page-wallets .wo-mission-control .btn:focus-visible {
  outline: none;
  box-shadow: var(--wo-fin-focus);
}

#page-wallets .wo-health-kpi:hover,
#page-wallets .wo-executive-stats .stat:hover {
  box-shadow: var(--wo-fin-shadow-lift);
}

@media (max-width: 1100px) {
  #page-wallets .wo-cohort-analytics-panel .wo-cohort-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #page-wallets .wo-cohort-analytics-panel .wo-cohort-card {
    box-shadow: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
  }
}

@media (max-width: 720px) {
  #page-wallets .wo-receive-showcase .wo-receive-qr {
    width: 220px !important;
    height: 220px !important;
  }

  #page-wallets .wo-cohort-analytics-panel .wo-cohort-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  #page-wallets .wo-discovery-illustration-ring {
    animation: none;
  }
}

/* ==========================================================================
   STAGE 9 — Cohesive executive operating surface
   One dashboard · border reduction · Bloomberg tables · CSS + HTML only
   ========================================================================== */

#page-wallets {
  --wo-exec-ink: #f8fafc;
  --wo-exec-muted: rgba(148, 163, 184, 0.72);
  --wo-exec-faint: rgba(100, 116, 139, 0.55);
  --wo-exec-live: #5eead4;
  --wo-exec-surface: linear-gradient(168deg, rgba(12, 18, 22, 0.94) 0%, rgba(6, 10, 12, 0.9) 100%);
  --wo-exec-surface-hero: linear-gradient(165deg, rgba(14, 24, 28, 0.96) 0%, rgba(8, 12, 14, 0.92) 55%, rgba(5, 8, 10, 0.9) 100%);
  --wo-exec-line: rgba(255, 255, 255, 0.05);
  --wo-exec-line-strong: rgba(255, 255, 255, 0.08);
  --wo-exec-radius: 14px;
  --wo-exec-gap: 12px;
  --wo-exec-shadow: 0 12px 40px -24px rgba(0, 0, 0, 0.75);
  --wo-exec-dur: 0.14s;
  --wo-exec-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* —— Global rhythm: one surface, less scroll —— */
#page-wallets #wo-my-wallet.wo-executive-dashboard {
  display: flex;
  flex-direction: column;
  gap: var(--wo-exec-gap);
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

#page-wallets #wo-phase1-panel-overview > .stats,
#page-wallets #wo-phase1-panel-overview > .row,
#page-wallets #wo-phase1-panel-overview > .panel,
#page-wallets #wo-phase1-panel-overview > #wo-my-wallet,
#page-wallets #wo-phase1-panel-overview > .wo-executive-surface {
  margin-top: var(--wo-exec-gap);
}

#page-wallets .wo-mission-control > * {
  margin-top: 0;
}

/* —— Shared executive surface shell —— */
#page-wallets .wo-executive-surface {
  border-radius: var(--wo-exec-radius);
  border: 1px solid var(--wo-exec-line);
  background: var(--wo-exec-surface);
  box-shadow: var(--wo-exec-shadow);
  overflow: hidden;
}

#page-wallets .wo-executive-surface .wo-dash-section {
  padding: 14px 16px;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0;
}

#page-wallets .wo-executive-surface .wo-dash-section + .wo-dash-section {
  border-top: 1px solid var(--wo-exec-line) !important;
}

#page-wallets .wo-executive-surface .wo-dash-section-head {
  margin-bottom: 10px;
  padding-bottom: 0;
  border: none;
}

#page-wallets .wo-executive-surface .wo-dash-section-title {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wo-exec-ink);
}

/* —— 1. Executive command band (hero focal point) —— */
#page-wallets .wo-executive-command-band {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: calc(var(--wo-exec-radius) + 2px);
  border: 1px solid var(--wo-exec-line-strong);
  background: var(--wo-exec-surface-hero);
  box-shadow:
    var(--wo-exec-shadow),
    0 0 64px -28px rgba(22, 224, 214, 0.28);
  overflow: hidden;
}

#page-wallets .wo-executive-hero {
  padding: 18px 20px 14px calc(18px + 4px) !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#page-wallets .wo-executive-hero .unara-hero-kicker {
  margin-bottom: 6px;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--wo-exec-live);
  opacity: 0.9;
}

#page-wallets .wo-executive-hero .unara-hero-title,
#page-wallets .wo-executive-hero .wo-mission-hero-title {
  margin-bottom: 8px;
  font-size: clamp(1.875rem, 3.4vw, 2.75rem) !important;
  font-weight: 850 !important;
  line-height: 1.02 !important;
  letter-spacing: -0.03em;
  color: var(--wo-exec-ink);
}

#page-wallets .wo-executive-hero-lead {
  margin: 0 0 12px !important;
  max-width: 52ch;
  font-size: 0.8125rem !important;
  font-weight: 500;
  line-height: 1.5 !important;
  color: var(--wo-exec-muted) !important;
}

#page-wallets .wo-executive-identity {
  margin: 0;
  padding: 10px 0 0;
  border-top: 1px solid var(--wo-exec-line);
}

#page-wallets .wo-executive-identity .wo-my-chip,
#page-wallets .wo-executive-identity .chip,
#page-wallets .wo-mission-status-chips .chip {
  border-color: rgba(22, 224, 214, 0.2) !important;
  background: rgba(22, 224, 214, 0.06) !important;
  font-weight: 650;
}

/* —— 2. Action rail (no card boxes) —— */
#page-wallets .wo-action-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--wo-exec-line);
  background: rgba(0, 0, 0, 0.12);
}

#page-wallets .wo-mission-action--rail {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 10px 14px;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-decoration: none;
  color: inherit;
  transition: background var(--wo-exec-dur) var(--wo-exec-ease);
}

#page-wallets .wo-mission-action--rail + .wo-mission-action--rail {
  border-left: 1px solid var(--wo-exec-line) !important;
}

#page-wallets .wo-mission-action--rail:hover {
  background: rgba(22, 224, 214, 0.06) !important;
  transform: none !important;
  box-shadow: none !important;
}

#page-wallets .wo-mission-action--rail .wo-mission-action-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(22, 224, 214, 0.18);
  background: rgba(22, 224, 214, 0.08);
  font-size: 13px;
  box-shadow: none;
}

#page-wallets .wo-mission-action--rail .wo-mission-action-k {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--wo-exec-ink);
}

#page-wallets .wo-mission-action--rail .wo-mission-action-v {
  font-size: 0.5625rem;
  color: var(--wo-exec-faint);
}

#page-wallets .wo-mission-action--rail .wo-mission-action-arrow {
  margin-left: auto;
  opacity: 0.35;
  font-size: 0.75rem;
}

#page-wallets .wo-mission-action--rail:hover .wo-mission-action-arrow {
  opacity: 0.75;
  transform: translateX(2px);
}

/* —— 3. Runtime status ribbon —— */
#page-wallets .wo-runtime-ribbon {
  display: flex;
  align-items: stretch;
  gap: 0;
  min-height: 44px;
  border-top: 1px solid var(--wo-exec-line);
  background: linear-gradient(180deg, rgba(2, 6, 8, 0.65) 0%, rgba(1, 4, 6, 0.82) 100%);
}

#page-wallets .wo-runtime-ribbon-label {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding: 0 14px;
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wo-exec-faint);
  border-right: 1px solid var(--wo-exec-line);
  background: rgba(0, 0, 0, 0.2);
}

#page-wallets .wo-runtime-ribbon .wo-ops-kpi-strip {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0;
  padding: 0;
  border: none;
  background: transparent;
  overflow-x: visible;
  min-width: 0;
}

#page-wallets .wo-runtime-ribbon .wo-ops-kpi-strip .wo-dash-metric {
  flex: 1 1 0;
  min-width: 120px;
  min-height: 44px;
  padding: 6px 14px;
  border: none !important;
  border-radius: 0 !important;
  border-right: 1px solid var(--wo-exec-line) !important;
  background: transparent !important;
  box-shadow: none !important;
}

#page-wallets .wo-runtime-ribbon .wo-ops-kpi-strip .wo-dash-metric:last-child {
  border-right: none !important;
}

#page-wallets .wo-runtime-ribbon .wo-ops-kpi-strip .wo-dash-metric:hover {
  background: rgba(22, 224, 214, 0.04) !important;
  box-shadow: none !important;
}

#page-wallets .wo-runtime-ribbon .wo-ops-kpi-strip .wo-dash-metric-k {
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--wo-exec-faint);
}

#page-wallets .wo-runtime-ribbon .wo-ops-kpi-strip .wo-dash-metric-v {
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--wo-exec-live);
  text-shadow: none;
}

/* —— 4. Portfolio + transfer surfaces —— */
#page-wallets .wo-portfolio-unified .wo-portfolio-summary-strip,
#page-wallets .wo-portfolio-unified .wo-dash-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid var(--wo-exec-line);
}

#page-wallets .wo-portfolio-unified .wo-portfolio-summary-strip .wo-dash-metric {
  flex: 1 1 140px;
  min-height: 48px;
  padding: 8px 14px;
  border: none !important;
  border-right: 1px solid var(--wo-exec-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#page-wallets .wo-transfer-unified .wo-transfer-grid {
  gap: 0;
}

#page-wallets .wo-transfer-unified .wo-transfer-panel {
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#page-wallets .wo-transfer-unified .wo-transfer-panel + .wo-transfer-panel {
  border-left: 1px solid var(--wo-exec-line) !important;
}

/* —— 5. Activity intelligence — one dashboard —— */
#page-wallets .wo-activity-dashboard-shell .wo-intelligence-section {
  padding: 14px 16px !important;
}

#page-wallets .wo-activity-dashboard {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--wo-exec-line);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

#page-wallets .wo-activity-dashboard-col {
  display: flex;
  flex-direction: column;
  min-height: 120px;
  padding: 12px 10px;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#page-wallets .wo-activity-dashboard-col + .wo-activity-dashboard-col {
  border-left: 1px solid var(--wo-exec-line) !important;
}

#page-wallets .wo-activity-dashboard-col .wo-activity-block-k {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  font-size: 0.5625rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wo-exec-ink);
}

#page-wallets .wo-activity-dashboard-col .wo-activity-block-k::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  font-size: 11px;
  background: rgba(22, 224, 214, 0.1);
  border: 1px solid rgba(22, 224, 214, 0.15);
}

#page-wallets .wo-activity-dashboard-col[data-wo-intel="incoming"] .wo-activity-block-k::before { content: "↓"; }
#page-wallets .wo-activity-dashboard-col[data-wo-intel="outgoing"] .wo-activity-block-k::before { content: "↑"; }
#page-wallets .wo-activity-dashboard-col[data-wo-intel="pending"] .wo-activity-block-k::before { content: "◷"; }
#page-wallets .wo-activity-dashboard-col[data-wo-intel="nft"] .wo-activity-block-k::before { content: "▣"; }
#page-wallets .wo-activity-dashboard-col[data-wo-intel="contracts"] .wo-activity-block-k::before { content: "⧉"; }
#page-wallets .wo-activity-dashboard-col[data-wo-intel="risk"] .wo-activity-block-k::before { content: "!"; }

#page-wallets .wo-activity-dashboard-col .wo-intel-body {
  flex: 1;
  min-height: 40px;
  font-size: 0.625rem;
  line-height: 1.45;
  color: var(--wo-exec-muted);
}

/* —— 6. Security — unified columns —— */
#page-wallets .wo-security-unified {
  padding: 14px 16px !important;
  border: none !important;
  background: transparent !important;
}

#page-wallets .wo-security-unified-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-bottom: 12px;
  border: 1px solid var(--wo-exec-line);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.12);
}

#page-wallets .wo-security-unified-col {
  padding: 12px 14px;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#page-wallets .wo-security-unified-col + .wo-security-unified-col {
  border-left: 1px solid var(--wo-exec-line) !important;
}

#page-wallets .wo-security-unified-col .wo-activity-block-k {
  margin-bottom: 6px;
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wo-exec-ink);
}

#page-wallets .wo-security-unified-col .wo-security-session-body {
  font-size: 0.625rem;
  line-height: 1.45;
  color: var(--wo-exec-muted);
}

/* —— 7. Ecosystem band — health + cohorts —— */
#page-wallets .wo-ecosystem-band {
  display: grid !important;
  grid-template-columns: 1fr 1.15fr;
  gap: 0 !important;
  padding: 0 !important;
  border-radius: var(--wo-exec-radius);
  border: 1px solid var(--wo-exec-line);
  background: var(--wo-exec-surface);
  box-shadow: var(--wo-exec-shadow);
  overflow: hidden;
}

#page-wallets .wo-ecosystem-band > * {
  padding: 14px 16px;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

#page-wallets .wo-ecosystem-band .wo-cohort-analytics-unified {
  border-left: 1px solid var(--wo-exec-line) !important;
}

#page-wallets .wo-ecosystem-band-head {
  margin-bottom: 4px;
}

#page-wallets .wo-ecosystem-lead {
  margin-bottom: 10px !important;
  font-size: 0.625rem !important;
  color: var(--wo-exec-faint) !important;
}

#page-wallets .wo-ecosystem-band .wo-health-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--wo-exec-line);
  border-radius: 8px;
  overflow: hidden;
}

#page-wallets .wo-ecosystem-band .wo-health-kpi {
  padding: 10px 12px;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#page-wallets .wo-ecosystem-band .wo-health-kpi:nth-child(odd) {
  border-right: 1px solid var(--wo-exec-line) !important;
}

#page-wallets .wo-ecosystem-band .wo-health-kpi:nth-child(-n+2) {
  border-bottom: 1px solid var(--wo-exec-line) !important;
}

#page-wallets .wo-ecosystem-band .wo-health-kpi-label {
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wo-exec-faint);
}

#page-wallets .wo-ecosystem-band .wo-health-kpi-value {
  font-size: 0.6875rem;
  font-weight: 650;
  color: var(--wo-exec-muted);
  line-height: 1.4;
}

#page-wallets .wo-ecosystem-band .wo-cohort-analytics-panel {
  border: 1px solid var(--wo-exec-line) !important;
  border-radius: 8px !important;
  background: rgba(0, 0, 0, 0.1) !important;
  box-shadow: none !important;
  padding: 0 !important;
}

#page-wallets .wo-ecosystem-band .wo-cohort-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
}

#page-wallets .wo-ecosystem-band .wo-cohort-card {
  padding: 10px 10px;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#page-wallets .wo-ecosystem-band .wo-cohort-card + .wo-cohort-card {
  border-left: 1px solid var(--wo-exec-line) !important;
}

#page-wallets .wo-ecosystem-band .wo-cohort-name {
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wo-exec-ink);
}

#page-wallets .wo-ecosystem-band .wo-cohort-desc,
#page-wallets .wo-ecosystem-band .wo-cohort-note {
  font-size: 0.5625rem;
  color: var(--wo-exec-faint);
  line-height: 1.35;
}

#page-wallets .wo-ecosystem-band .wo-cohort-progress {
  display: none;
}

/* —— 8. Intelligence workspace — discovery + leaderboards —— */
#page-wallets .wo-intelligence-workspace {
  padding: 14px 16px !important;
}

#page-wallets .wo-intelligence-workspace-head {
  margin-bottom: 12px;
}

#page-wallets .wo-intelligence-workspace-lead {
  margin-top: 4px !important;
  font-size: 0.625rem !important;
  color: var(--wo-exec-faint) !important;
}

#page-wallets .wo-intel-workspace-discovery {
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--wo-exec-line);
}

#page-wallets .wo-intel-workspace-subhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

#page-wallets .wo-intel-workspace-label {
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wo-exec-ink);
}

#page-wallets .wo-discovery-stage {
  border: 1px dashed rgba(255, 255, 255, 0.06) !important;
  border-radius: 10px !important;
  background: rgba(0, 0, 0, 0.12) !important;
  box-shadow: none !important;
}

#page-wallets .wo-discovery-empty,
#page-wallets .wo-discovery-guidance {
  font-size: 0.6875rem;
  color: var(--wo-exec-muted);
}

/* —— 9. Bloomberg tables —— */
#page-wallets .wo-leaderboard-table-wrap,
#page-wallets .wallet-registry-table-wrap {
  border: 1px solid var(--wo-exec-line);
  border-radius: 8px;
  overflow: auto;
  max-height: 320px;
  background: rgba(0, 0, 0, 0.2);
}

#page-wallets #wo-wallet-leaderboard-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.6875rem;
  font-variant-numeric: tabular-nums;
}

#page-wallets #wo-wallet-leaderboard-table thead {
  position: sticky;
  top: 0;
  z-index: 2;
}

#page-wallets #wo-wallet-leaderboard-table thead th {
  padding: 8px 10px;
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-align: left;
  text-transform: uppercase;
  color: var(--wo-exec-faint);
  background: rgba(6, 10, 12, 0.98);
  border-bottom: 1px solid var(--wo-exec-line-strong);
  border-right: 1px solid transparent;
}

#page-wallets #wo-wallet-leaderboard-table tbody td {
  padding: 7px 10px;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  border-right: 1px solid transparent;
}

#page-wallets #wo-wallet-leaderboard-table tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.02);
}

#page-wallets #wo-wallet-leaderboard-table tbody tr:hover td {
  background: rgba(22, 224, 214, 0.06);
}

#page-wallets #wo-wallet-leaderboard-table tbody td.wo-empty-note {
  padding: 20px 12px;
  font-weight: 500;
  font-size: 0.6875rem;
  text-align: center;
  color: var(--wo-exec-muted);
  background: transparent !important;
}

/* —— 10. Empty states — executive, not placeholder —— */
#page-wallets .wo-empty-note {
  padding: 14px 12px;
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--wo-exec-muted) !important;
  background: rgba(0, 0, 0, 0.12) !important;
  border: none !important;
  border-radius: 8px;
  box-shadow: none !important;
}

#page-wallets .wo-empty-note::before,
#page-wallets .wo-empty-note::after {
  display: none !important;
}

/* —— 11. Top telemetry strip — flatter —— */
#page-wallets .wo-executive-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 0 !important;
  border: 1px solid var(--wo-exec-line);
  border-radius: var(--wo-exec-radius);
  background: var(--wo-exec-surface);
  box-shadow: var(--wo-exec-shadow);
  overflow: hidden;
}

#page-wallets .wo-executive-stats .stat {
  padding: 12px 14px !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#page-wallets .wo-executive-stats .stat + .stat {
  border-left: 1px solid var(--wo-exec-line) !important;
}

#page-wallets .wo-executive-stats .stat:hover {
  background: rgba(22, 224, 214, 0.04) !important;
  transform: none !important;
  box-shadow: none !important;
}

#page-wallets .wo-executive-stats .stat-icon {
  width: 28px !important;
  height: 28px !important;
}

#page-wallets .wo-executive-stats .stat-label {
  font-size: 0.5rem !important;
  letter-spacing: 0.12em;
}

#page-wallets .wo-executive-stats .stat-value {
  font-size: 0.6875rem !important;
  font-weight: 650;
  color: var(--wo-exec-muted);
}

/* —— 12. Strip legacy box noise inside mission control —— */
#page-wallets .wo-mission-control .wo-dash-metric,
#page-wallets .wo-mission-control .wo-intel-card,
#page-wallets .wo-mission-control .wo-security-session-widget,
#page-wallets .wo-mission-control .wo-mission-action--card {
  border: none;
}

#page-wallets .wo-tier-observe .wo-dash-section {
  padding: 14px 16px;
  border: 1px solid var(--wo-exec-line);
  border-radius: var(--wo-exec-radius);
  background: var(--wo-exec-surface);
  box-shadow: var(--wo-exec-shadow);
}

#page-wallets .wo-tier-observe .wo-dash-section + .wo-dash-section {
  margin-top: var(--wo-exec-gap);
}

/* —— Responsive —— */
@media (max-width: 1200px) {
  #page-wallets .wo-action-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #page-wallets .wo-mission-action--rail:nth-child(2) {
    border-right: none !important;
  }

  #page-wallets .wo-mission-action--rail:nth-child(n+3) {
    border-top: 1px solid var(--wo-exec-line) !important;
  }

  #page-wallets .wo-activity-dashboard {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #page-wallets .wo-activity-dashboard-col:nth-child(3n+1) {
    border-left: none !important;
  }

  #page-wallets .wo-activity-dashboard-col:nth-child(n+4) {
    border-top: 1px solid var(--wo-exec-line);
  }

  #page-wallets .wo-activity-dashboard-col + .wo-activity-dashboard-col {
    border-left: 1px solid var(--wo-exec-line);
  }

  #page-wallets .wo-activity-dashboard-col:nth-child(3n+1) {
    border-left: none !important;
  }

  #page-wallets .wo-ecosystem-band {
    grid-template-columns: 1fr !important;
  }

  #page-wallets .wo-ecosystem-band .wo-cohort-analytics-unified {
    border-left: none !important;
    border-top: 1px solid var(--wo-exec-line) !important;
  }

  #page-wallets .wo-ecosystem-band .wo-cohort-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #page-wallets .wo-ecosystem-band .wo-cohort-card:nth-child(3n+1) {
    border-left: none !important;
  }

  #page-wallets .wo-ecosystem-band .wo-cohort-card:nth-child(n+4) {
    border-top: 1px solid var(--wo-exec-line);
  }
}

@media (max-width: 900px) {
  #page-wallets .wo-executive-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #page-wallets .wo-executive-stats .stat:nth-child(odd) {
    border-right: none !important;
  }

  #page-wallets .wo-executive-stats .stat:nth-child(n+3) {
    border-top: 1px solid var(--wo-exec-line) !important;
  }

  #page-wallets .wo-security-unified-grid {
    grid-template-columns: 1fr;
  }

  #page-wallets .wo-security-unified-col + .wo-security-unified-col {
    border-left: none !important;
    border-top: 1px solid var(--wo-exec-line) !important;
  }

  #page-wallets .wo-transfer-unified .wo-transfer-grid {
    grid-template-columns: 1fr !important;
  }

  #page-wallets .wo-transfer-unified .wo-transfer-panel + .wo-transfer-panel {
    border-left: none !important;
    border-top: 1px solid var(--wo-exec-line) !important;
  }
}

@media (max-width: 720px) {
  #page-wallets .wo-action-rail {
    grid-template-columns: 1fr;
  }

  #page-wallets .wo-mission-action--rail + .wo-mission-action--rail {
    border-left: none !important;
    border-top: 1px solid var(--wo-exec-line) !important;
  }

  #page-wallets .wo-activity-dashboard {
    grid-template-columns: 1fr;
  }

  #page-wallets .wo-activity-dashboard-col + .wo-activity-dashboard-col {
    border-left: none !important;
    border-top: 1px solid var(--wo-exec-line) !important;
  }

  #page-wallets .wo-ecosystem-band .wo-cohort-grid {
    grid-template-columns: 1fr;
  }

  #page-wallets .wo-ecosystem-band .wo-cohort-card + .wo-cohort-card {
    border-left: none !important;
    border-top: 1px solid var(--wo-exec-line) !important;
  }

  #page-wallets .wo-executive-stats {
    grid-template-columns: 1fr;
  }

  #page-wallets .wo-executive-stats .stat + .stat {
    border-left: none !important;
    border-top: 1px solid var(--wo-exec-line) !important;
  }
}

/* ==========================================================================
   STAGE 10 — Final approval polish (density · hierarchy · rhythm)
   CSS + HTML only · no logic · no new sections
   ========================================================================== */

#page-wallets {
  --wo-fin-gap: 8px;
  --wo-fin-pad: 10px 12px;
  --wo-fin-pad-tight: 8px 10px;
  --wo-fin-radius: 12px;
  --wo-fin-body: 0.625rem;
  --wo-fin-meta: 0.5625rem;
  --wo-fin-heading: 0.625rem;
  --wo-fin-hero: clamp(2rem, 3.8vw, 3rem);
}

/* —— Global compression (~25% less vertical space) —— */
#page-wallets #wo-my-wallet.wo-executive-dashboard {
  gap: var(--wo-fin-gap) !important;
}

#page-wallets #wo-phase1-panel-overview > .stats,
#page-wallets #wo-phase1-panel-overview > .row,
#page-wallets #wo-phase1-panel-overview > .panel,
#page-wallets #wo-phase1-panel-overview > #wo-my-wallet,
#page-wallets #wo-phase1-panel-overview > .wo-executive-surface {
  margin-top: var(--wo-fin-gap) !important;
}

#page-wallets .wo-executive-surface {
  border-radius: var(--wo-fin-radius) !important;
}

#page-wallets .wo-executive-surface .wo-dash-section {
  padding: var(--wo-fin-pad) !important;
}

#page-wallets .wo-executive-surface .wo-dash-section-head {
  margin-bottom: 6px !important;
}

#page-wallets .wo-executive-surface .wo-dash-section-title {
  font-size: var(--wo-fin-heading) !important;
  letter-spacing: 0.12em !important;
}

#page-wallets .wo-panel-lead,
#page-wallets .wo-ecosystem-lead,
#page-wallets .wo-intelligence-workspace-lead {
  margin-bottom: 6px !important;
  font-size: var(--wo-fin-meta) !important;
  line-height: 1.35 !important;
}

/* —— 1. Hero: identity-first executive header —— */
#page-wallets .wo-executive-hero--identity-first {
  padding: 12px 14px 10px calc(12px + 4px) !important;
}

#page-wallets .wo-executive-hero-head {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: 10px 14px;
  align-items: start;
  margin-bottom: 6px;
}

#page-wallets .wo-executive-hero--identity-first .wo-executive-identity {
  order: 0;
  padding: 0 !important;
  border: none !important;
  min-height: 44px;
}

#page-wallets .wo-executive-hero-context {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  padding-top: 2px;
}

#page-wallets .wo-executive-hero--identity-first .unara-hero-kicker {
  margin: 0 !important;
  font-size: 0.5rem !important;
  letter-spacing: 0.14em !important;
  opacity: 0.75;
}

#page-wallets .wo-executive-hero--identity-first .unara-hero-title,
#page-wallets .wo-executive-hero--identity-first .wo-mission-hero-title {
  margin: 0 !important;
  font-size: var(--wo-fin-hero) !important;
  line-height: 1 !important;
  letter-spacing: -0.035em !important;
}

#page-wallets .wo-executive-hero-lead {
  margin: 0 !important;
  font-size: var(--wo-fin-body) !important;
  line-height: 1.4 !important;
  color: var(--wo-exec-faint) !important;
}

#page-wallets .wo-executive-identity .wo-my-identity-connected {
  gap: 6px 10px !important;
}

#page-wallets .wo-executive-identity .wo-my-identity-address-block {
  flex: 1 1 100%;
}

#page-wallets .wo-executive-identity .wo-my-line-v.mono,
#page-wallets .wo-executive-identity .wo-my-identity-address-block .mono,
#page-wallets .wo-executive-identity [class*="address"] {
  font-family: "JetBrains Mono", ui-monospace, monospace !important;
  font-size: 0.8125rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em;
  color: var(--wo-exec-ink) !important;
}

#page-wallets .wo-executive-identity .wo-my-identity-provider-badge,
#page-wallets .wo-executive-identity .wo-my-identity-network-badge,
#page-wallets .wo-executive-identity .chip,
#page-wallets .wo-executive-identity .wo-my-chip {
  padding: 3px 8px !important;
  font-size: 0.5625rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* —— 2. Action rail + runtime strip (single KPI band) —— */
#page-wallets .wo-mission-action--rail {
  min-height: 44px !important;
  padding: 8px 10px !important;
  gap: 8px !important;
}

#page-wallets .wo-mission-action--rail .wo-mission-action-icon {
  width: 28px !important;
  height: 28px !important;
  font-size: 12px !important;
}

#page-wallets .wo-mission-action--rail .wo-mission-action-k {
  font-size: 0.6875rem !important;
}

#page-wallets .wo-mission-action--rail .wo-mission-action-v {
  font-size: 0.5rem !important;
}

#page-wallets .wo-runtime-ribbon {
  min-height: 36px !important;
}

#page-wallets .wo-runtime-ribbon-label {
  padding: 0 10px !important;
  font-size: 0.5rem !important;
}

#page-wallets .wo-runtime-ribbon .wo-ops-kpi-strip .wo-dash-metric {
  min-height: 36px !important;
  padding: 4px 10px !important;
}

#page-wallets .wo-runtime-ribbon .wo-ops-kpi-strip .wo-dash-metric-k {
  font-size: 0.4375rem !important;
  margin-bottom: 1px !important;
}

#page-wallets .wo-runtime-ribbon .wo-ops-kpi-strip .wo-dash-metric-v {
  font-size: 0.75rem !important;
  font-weight: 800 !important;
}

/* —— 3. Portfolio: compact metric tiles + intentional empty —— */
#page-wallets .wo-portfolio-compact .wo-portfolio-summary-strip .wo-dash-metric,
#page-wallets .wo-metric-tiles .wo-dash-metric {
  min-height: 40px !important;
  padding: 6px 10px !important;
}

#page-wallets .wo-portfolio-compact .wo-portfolio-summary-strip .wo-dash-metric-k,
#page-wallets .wo-metric-tiles .wo-dash-metric-k {
  font-size: 0.4375rem !important;
  letter-spacing: 0.1em !important;
}

#page-wallets .wo-portfolio-compact .wo-portfolio-summary-strip .wo-dash-metric-v,
#page-wallets .wo-metric-tiles .wo-dash-metric-v {
  font-size: 0.75rem !important;
}

#page-wallets .wo-portfolio-tiles,
#page-wallets .wo-my-portfolio-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  min-height: 0 !important;
  border: 1px solid var(--wo-exec-line);
  border-radius: 8px;
  overflow: hidden;
}

#page-wallets .wo-portfolio-tiles:empty,
#page-wallets .wo-my-portfolio-cards:empty {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 48px !important;
  padding: 10px 12px;
  border-style: dashed;
  background: rgba(0, 0, 0, 0.1);
}

#page-wallets .wo-portfolio-tiles:empty::after,
#page-wallets .wo-my-portfolio-cards:empty::after {
  content: "Portfolio metrics appear when wallet is connected.";
  font-size: var(--wo-fin-meta);
  color: var(--wo-exec-faint);
  text-align: center;
  line-height: 1.4;
}

#page-wallets .wo-assets-compact .wo-assets-tabs {
  margin-bottom: 6px !important;
  gap: 4px !important;
}

#page-wallets .wo-assets-compact .wo-assets-tab {
  padding: 4px 10px !important;
  font-size: 0.5625rem !important;
}

#page-wallets .wo-assets-body {
  min-height: 0 !important;
}

#page-wallets .wo-assets-body:empty {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 44px !important;
  padding: 8px 10px;
  border: 1px dashed rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.08);
}

#page-wallets .wo-assets-body:empty::after {
  content: "No holdings in this tab yet.";
  font-size: var(--wo-fin-meta);
  color: var(--wo-exec-faint);
}

/* —— 4. Activity intelligence: one dashboard surface —— */
#page-wallets .wo-activity-dashboard {
  min-height: 0 !important;
  border-radius: 8px !important;
}

#page-wallets .wo-activity-dashboard-col {
  min-height: 88px !important;
  padding: 8px 8px !important;
}

#page-wallets .wo-activity-dashboard-col .wo-activity-block-k {
  margin-bottom: 4px !important;
  font-size: 0.5rem !important;
}

#page-wallets .wo-activity-dashboard-col .wo-activity-block-k::before {
  width: 18px !important;
  height: 18px !important;
  font-size: 9px !important;
}

#page-wallets .wo-activity-dashboard-col .wo-intel-body {
  min-height: 28px !important;
  font-size: var(--wo-fin-meta) !important;
  line-height: 1.35 !important;
}

#page-wallets .wo-activity-dashboard-col .wo-intel-body:empty::after {
  content: "—";
  color: var(--wo-exec-faint);
  opacity: 0.6;
}

/* —— 5. Network + Security paired surface —— */
#page-wallets .wo-observe-pair {
  display: grid !important;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: 0 !important;
  padding: 0 !important;
}

#page-wallets .wo-observe-pair .wo-dash-section {
  padding: var(--wo-fin-pad) !important;
  border: none !important;
  margin: 0 !important;
}

#page-wallets .wo-observe-pair .wo-network-panel {
  border-right: 1px solid var(--wo-exec-line) !important;
}

#page-wallets .wo-network-actions {
  margin: 4px 0 0 !important;
}

#page-wallets .wo-network-list {
  margin-top: 4px !important;
}

#page-wallets .wo-observe-pair .wo-my-line {
  padding: 2px 0 !important;
  font-size: var(--wo-fin-body) !important;
}

#page-wallets .wo-observe-pair .wo-security-unified-grid {
  margin-bottom: 8px !important;
  border-radius: 8px !important;
}

#page-wallets .wo-observe-pair .wo-security-unified-col {
  padding: 8px 10px !important;
}

#page-wallets .wo-observe-pair .wo-security-actions {
  margin: 0 !important;
  gap: 6px !important;
}

#page-wallets .wo-observe-pair .wo-security-actions .btn {
  padding: 5px 10px !important;
  font-size: 0.5625rem !important;
}

#page-wallets .wo-tier-observe .wo-dash-section {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  margin-top: 0 !important;
}

#page-wallets .wo-tier-observe {
  display: flex;
  flex-direction: column;
  gap: var(--wo-fin-gap);
}

/* —— 6. Ecosystem + cohorts: one analytics band —— */
#page-wallets .wo-ecosystem-band > * {
  padding: var(--wo-fin-pad) !important;
}

#page-wallets .wo-ecosystem-band .wo-health-hint {
  margin-top: 6px !important;
  font-size: 0.5rem !important;
  color: var(--wo-exec-faint) !important;
}

#page-wallets .wo-cohort-surface {
  border-radius: 8px !important;
}

#page-wallets .wo-ecosystem-band .wo-cohort-card {
  padding: 8px 8px !important;
}

#page-wallets .wo-ecosystem-band .wo-cohort-name {
  font-size: 0.5rem !important;
  margin-bottom: 2px !important;
}

#page-wallets .wo-ecosystem-band .wo-cohort-desc,
#page-wallets .wo-ecosystem-band .wo-cohort-note {
  font-size: 0.5rem !important;
  line-height: 1.3 !important;
}

#page-wallets .wo-ecosystem-band .wo-health-kpi {
  padding: 8px 10px !important;
}

#page-wallets .wo-ecosystem-band .wo-health-kpi-value {
  font-size: var(--wo-fin-body) !important;
}

/* —— 7. Intelligence workspace + compact empty —— */
#page-wallets .wo-intelligence-workspace {
  padding: var(--wo-fin-pad) !important;
}

#page-wallets .wo-intelligence-workspace-head {
  margin-bottom: 8px !important;
}

#page-wallets .wo-intel-workspace-discovery {
  padding-bottom: 10px !important;
  margin-bottom: 10px !important;
}

#page-wallets .wo-empty-compact {
  min-height: 0 !important;
  padding: 16px 12px !important;
}

#page-wallets .wo-empty-compact .wo-discovery-illustration {
  width: 36px !important;
  height: 36px !important;
  margin: 0 auto 8px !important;
}

#page-wallets .wo-empty-compact .wo-discovery-illustration-ring {
  width: 36px !important;
  height: 36px !important;
}

#page-wallets .wo-empty-compact .wo-discovery-empty,
#page-wallets .wo-empty-compact .wo-discovery-guidance {
  font-size: var(--wo-fin-body) !important;
  margin: 0 !important;
  text-align: center;
}

#page-wallets .wo-empty-compact .wo-discovery-guidance {
  margin-top: 4px !important;
  font-size: var(--wo-fin-meta) !important;
  color: var(--wo-exec-faint) !important;
}

/* —— 8. Bloomberg tables (final) —— */
#page-wallets .wo-leaderboard-table-wrap {
  max-height: 280px !important;
  border-radius: 8px !important;
}

#page-wallets #wo-wallet-leaderboard-table {
  font-size: var(--wo-fin-body) !important;
}

#page-wallets #wo-wallet-leaderboard-table thead th {
  padding: 6px 8px !important;
  font-size: 0.4375rem !important;
  background: rgba(4, 8, 10, 0.98) !important;
}

#page-wallets #wo-wallet-leaderboard-table tbody td {
  padding: 5px 8px !important;
  font-size: var(--wo-fin-body) !important;
  line-height: 1.3 !important;
}

#page-wallets #wo-wallet-leaderboard-table tbody td:nth-child(2),
#page-wallets #wo-wallet-leaderboard-table tbody td:nth-child(4),
#page-wallets #wo-wallet-leaderboard-table tbody td:nth-child(5),
#page-wallets #wo-wallet-leaderboard-table tbody td:nth-child(6) {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

#page-wallets #wo-wallet-leaderboard-table tbody td:nth-child(2) {
  text-align: left;
  font-size: 0.5625rem !important;
  letter-spacing: 0.01em;
}

#page-wallets #wo-wallet-leaderboard-table thead th:nth-child(4),
#page-wallets #wo-wallet-leaderboard-table thead th:nth-child(5),
#page-wallets #wo-wallet-leaderboard-table thead th:nth-child(6) {
  text-align: right;
}

#page-wallets #wo-wallet-leaderboard-table tbody td.wo-empty-note {
  padding: 14px 10px !important;
  font-size: var(--wo-fin-body) !important;
}

/* —— 9. Empty states (intentional, collapsed) —— */
#page-wallets .wo-empty-note {
  padding: 10px 10px !important;
  min-height: 0 !important;
  font-size: var(--wo-fin-body) !important;
  text-align: center;
}

#page-wallets .wo-intel-body .wo-empty-note,
#page-wallets .wo-assets-body .wo-empty-note {
  padding: 8px !important;
  border-radius: 6px;
}

/* —— 10. Top telemetry strip —— */
#page-wallets .wo-executive-stats .stat {
  padding: 8px 10px !important;
}

#page-wallets .wo-executive-stats .stat-icon {
  width: 24px !important;
  height: 24px !important;
}

#page-wallets .wo-executive-stats .stat-label {
  font-size: 0.4375rem !important;
}

#page-wallets .wo-executive-stats .stat-value {
  font-size: var(--wo-fin-body) !important;
  line-height: 1.35 !important;
}

#page-wallets .wo-executive-stats .stat-delta {
  font-size: 0.5rem !important;
}

/* —— 11. Transfer receive (less empty mass) —— */
#page-wallets .wo-receive-showcase {
  padding: 16px 14px !important;
}

#page-wallets .wo-receive-qr-stage {
  padding: 14px !important;
}

#page-wallets .wo-receive-showcase .wo-receive-qr {
  width: 200px !important;
  height: 200px !important;
}

/* —— Responsive —— */
@media (max-width: 1100px) {
  #page-wallets .wo-executive-hero-head {
    grid-template-columns: 1fr;
  }

  #page-wallets .wo-observe-pair {
    grid-template-columns: 1fr !important;
  }

  #page-wallets .wo-observe-pair .wo-network-panel {
    border-right: none !important;
    border-bottom: 1px solid var(--wo-exec-line) !important;
  }
}

@media (max-width: 720px) {
  #page-wallets .wo-executive-hero--identity-first .unara-hero-title {
    font-size: clamp(1.625rem, 8vw, 2.25rem) !important;
  }
}

/* ==========================================================================
   Wallet IA — scoped layout fixes (#page-wallets only)
   ========================================================================== */

#page-wallets .wo-receive-showcase.wo-receive-qr-wrap--empty,
#page-wallets .wo-receive-showcase .wo-receive-qr-wrap--empty {
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}

#page-wallets .wo-receive-showcase .wo-receive-qr-wrap--empty .wo-receive-qr {
  width: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

#page-wallets .wo-registry-panel[hidden] {
  display: none !important;
}

#page-wallets #wo-phase1-panel-network-intelligence:not([hidden]) {
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1vw, 12px);
}

#page-wallets[data-wo-registry-tab="overview"] #wo-phase1-panel-network-intelligence,
#page-wallets[data-wo-registry-tab="overview"] #wo-phase1-panel-explorer,
#page-wallets[data-wo-registry-tab="network-intelligence"] #wo-phase1-panel-overview,
#page-wallets[data-wo-registry-tab="network-intelligence"] #wo-phase1-panel-explorer,
#page-wallets[data-wo-registry-tab="explorer"] #wo-phase1-panel-overview,
#page-wallets[data-wo-registry-tab="explorer"] #wo-phase1-panel-network-intelligence {
  display: none !important;
}

#page-wallets #wo-phase1-panel-overview .wo-registry-panel,
#page-wallets #wo-phase1-panel-overview {
  min-width: 0;
}

/* ==========================================================================
   Wallet Mission Control — Phase V1 premium visual system (#page-wallets)
   ========================================================================== */

#page-wallets[data-wo-registry-tab="overview"] {
  gap: 8px !important;
}

#page-wallets[data-wo-registry-tab="overview"] .page-head {
  margin-bottom: 0 !important;
}

#page-wallets[data-wo-registry-tab="overview"] .page-sub {
  font-size: 11px;
  color: var(--text-dim);
  max-width: 52ch;
}

#page-wallets .wo-wallet-v1 {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 12px !important;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(8, 14, 18, 0.96) 0%, rgba(4, 8, 10, 0.98) 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

#page-wallets .wo-wallet-v1.wo-mission-control > * {
  order: unset !important;
  margin-top: 0 !important;
}

/* —— Executive bar —— */
#page-wallets .wo-v1-exec-bar {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1.1fr) minmax(0, 1.4fr);
  align-items: center;
  gap: 10px 14px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(0, 0, 0, 0.28);
}

#page-wallets .wo-v1-exec-title {
  margin: 0;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: #fff;
  white-space: nowrap;
}

#page-wallets .wo-v1-exec-wallet {
  min-width: 0;
}

#page-wallets .wo-v1-exec-wallet .wo-my-identity {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  min-width: 0;
}

#page-wallets .wo-v1-exec-wallet .wo-my-identity-item,
#page-wallets .wo-v1-exec-wallet .wo-my-identity-connected {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

#page-wallets .wo-v1-exec-wallet .wo-my-identity-k {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}

#page-wallets .wo-v1-exec-wallet .wo-my-identity-v {
  font-size: 11px;
  color: rgba(248, 250, 252, 0.92);
}

#page-wallets .wo-v1-exec-wallet .wo-my-identity-address-block {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

#page-wallets .wo-v1-exec-wallet .wo-my-identity-provider-badge,
#page-wallets .wo-v1-exec-wallet .wo-my-identity-network-badge {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.04);
}

#page-wallets .wo-v1-exec-strip-wrap {
  min-width: 0;
  overflow: hidden;
}

#page-wallets .wo-v1-exec-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 4px 10px;
  min-width: 0;
}

#page-wallets .wo-v1-exec-strip .wo-dash-metric {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  padding: 2px 0;
  border: none;
  background: transparent;
  min-width: 0;
}

#page-wallets .wo-v1-exec-strip .wo-dash-metric-k {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-faint);
  white-space: nowrap;
}

#page-wallets .wo-v1-exec-strip .wo-dash-metric-v {
  font-size: 11px;
  font-weight: 600;
  color: rgba(248, 250, 252, 0.94);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 11rem;
}

#page-wallets .wo-v1-exec-strip .wo-dash-metric-v.mono {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
}

/* —— Primary actions —— */
#page-wallets .wo-v1-actions {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
}

#page-wallets .wo-v1-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 52px;
  padding: 8px 6px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(248, 250, 252, 0.92);
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.12s ease;
  cursor: pointer;
}

#page-wallets a.wo-v1-action:hover,
#page-wallets .wo-v1-action--primary:hover {
  border-color: rgba(22, 224, 214, 0.35);
  background: rgba(22, 224, 214, 0.08);
}

#page-wallets .wo-v1-action--primary {
  border-color: rgba(22, 224, 214, 0.22);
  background: rgba(22, 224, 214, 0.06);
}

#page-wallets .wo-v1-action--soon {
  opacity: 0.55;
  cursor: default;
}

#page-wallets .wo-v1-action--gateway {
  border-style: dashed;
  opacity: 0.72;
}

#page-wallets .wo-v1-action-icon {
  font-size: 14px;
  line-height: 1;
  color: var(--wo-teal, #16e0d6);
}

#page-wallets .wo-v1-action-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.2;
}

/* —— Surfaces —— */
#page-wallets .wo-v1-surface {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(0, 0, 0, 0.22);
  padding: 10px 12px;
}

#page-wallets .wo-v1-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

#page-wallets .wo-v1-section-head .wo-dash-section-title {
  margin: 0;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.88);
}

/* —— Portfolio —— */
#page-wallets .wo-v1-portfolio-workspace {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#page-wallets .wo-v1-portfolio-value {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 6px;
}

#page-wallets .wo-v1-portfolio-value .wo-dash-metric:first-child .wo-dash-metric-v {
  font-size: clamp(1.125rem, 2.4vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

#page-wallets .wo-v1-portfolio-value .wo-dash-metric {
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

#page-wallets .wo-v1-portfolio-value .wo-dash-metric-k {
  font-size: 9px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 2px;
}

#page-wallets .wo-v1-portfolio-value .wo-dash-metric-v {
  font-size: 12px;
  font-weight: 600;
  color: rgba(248, 250, 252, 0.94);
}

#page-wallets .wo-v1-allocation {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 6px;
}

#page-wallets .wo-v1-allocation .wo-my-info-card {
  padding: 8px 10px !important;
  border-radius: 8px !important;
  min-height: 0 !important;
}

#page-wallets .wo-v1-asset-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 6px;
}

#page-wallets .wo-v1-asset-tabs .wo-assets-tab {
  padding: 5px 10px !important;
  font-size: 10px !important;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 999px !important;
}

#page-wallets .wo-v1-recent-assets {
  min-height: 0 !important;
  max-height: 220px;
  overflow: auto;
}

#page-wallets .wo-v1-recent-assets:empty {
  min-height: 36px !important;
  padding: 8px 10px !important;
}

#page-wallets .wo-v1-recent-assets:empty::after {
  content: "No assets in this category.";
  font-size: 10px;
}

/* —— Transfer —— */
#page-wallets .wo-v1-transfer-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

#page-wallets .wo-v1-transfer-workspace .wo-transfer-panel {
  padding: 10px 12px !important;
  border-radius: 10px !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  background: rgba(0, 0, 0, 0.18) !important;
  box-shadow: none !important;
  min-height: 0 !important;
}

#page-wallets .wo-v1-transfer-workspace .wo-transfer-panel-k {
  font-size: 10px !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px !important;
  color: var(--text-dim);
}

#page-wallets .wo-v1-transfer-workspace .wo-field {
  margin-bottom: 8px !important;
}

#page-wallets .wo-v1-transfer-workspace .wo-field label {
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 4px;
}

#page-wallets .wo-v1-transfer-workspace input,
#page-wallets .wo-v1-transfer-workspace select {
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 8px;
}

#page-wallets .wo-v1-transfer-workspace .wo-send-gas {
  font-size: 10px;
  margin: 4px 0 8px;
  color: var(--text-dim);
}

#page-wallets .wo-v1-transfer-workspace .wo-send-sign-hint {
  font-size: 10px;
  margin: 6px 0 0;
  color: var(--text-faint);
  line-height: 1.35;
}

#page-wallets .wo-v1-qr-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0 0 8px !important;
  padding: 10px !important;
  min-height: 0 !important;
  border-radius: 10px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
}

#page-wallets .wo-v1-qr-illustration {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(22, 224, 214, 0.2);
  background:
    radial-gradient(circle at 30% 30%, rgba(22, 224, 214, 0.25), transparent 55%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  position: relative;
}

#page-wallets .wo-v1-qr-illustration::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 2px solid rgba(22, 224, 214, 0.35);
  border-radius: 4px;
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.35);
}

#page-wallets .wo-receive-qr-wrap--empty .wo-v1-qr-illustration {
  display: block;
}

#page-wallets .wo-receive-qr-wrap:not(.wo-receive-qr-wrap--empty) .wo-v1-qr-illustration,
#page-wallets .wo-receive-qr-wrap:not(.wo-receive-qr-wrap--empty) .wo-receive-qr-placeholder {
  display: none !important;
}

#page-wallets .wo-wallet-v1 .wo-receive-qr-wrap:not(.wo-receive-qr-wrap--empty) .wo-receive-qr {
  width: 128px !important;
  height: 128px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35) !important;
}

#page-wallets .wo-wallet-v1 .wo-receive-address {
  font-size: 11px;
  padding: 8px 10px;
  margin-bottom: 8px;
  text-align: left;
}

#page-wallets .wo-wallet-v1 .wo-receive-actions {
  justify-content: flex-start;
  gap: 6px;
}

#page-wallets .wo-wallet-v1 .wo-receive-actions .btn {
  padding: 6px 12px;
  font-size: 11px;
}

/* —— Activity timeline —— */
#page-wallets .wo-v1-activity-filters {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 4px;
  scrollbar-width: thin;
}

#page-wallets .wo-v1-filter-chip {
  flex: 0 0 auto;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.03);
}

#page-wallets .wo-v1-filter-chip:first-child {
  border-color: rgba(22, 224, 214, 0.3);
  color: var(--wo-teal, #16e0d6);
  background: rgba(22, 224, 214, 0.08);
}

#page-wallets .wo-v1-activity-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  min-height: 0 !important;
  background: rgba(0, 0, 0, 0.15);
}

#page-wallets .wo-v1-timeline-row {
  display: grid !important;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  min-height: 0 !important;
  padding: 7px 10px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

#page-wallets .wo-v1-timeline-row:last-child {
  border-bottom: none !important;
}

#page-wallets .wo-v1-timeline-row .wo-activity-block-k {
  margin: 0 !important;
  font-size: 9px !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
  padding-top: 2px;
}

#page-wallets .wo-v1-timeline-row .wo-activity-block-k::before {
  display: none !important;
}

#page-wallets .wo-v1-timeline-row .wo-intel-body {
  min-height: 0 !important;
  font-size: 11px !important;
  line-height: 1.4 !important;
  color: rgba(248, 250, 252, 0.88);
}

#page-wallets .wo-v1-timeline-row .wo-intel-body:empty::after {
  content: "No activity";
  font-size: 10px;
  color: var(--text-faint);
  opacity: 0.7;
}

#page-wallets .wo-v1-injected-feed:empty {
  display: none;
  min-height: 0;
  margin: 0;
  padding: 0;
}

/* —— Network + Security footer —— */
#page-wallets .wo-v1-ops-footer {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

#page-wallets .wo-v1-ops-row {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: 8px;
}

#page-wallets .wo-v1-network,
#page-wallets .wo-v1-security {
  padding: 8px 10px !important;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  background: rgba(0, 0, 0, 0.2) !important;
  margin: 0 !important;
}

#page-wallets .wo-v1-ops-head {
  margin-bottom: 6px;
}

#page-wallets .wo-v1-ops-k {
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}

#page-wallets .wo-v1-network-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}

#page-wallets .wo-v1-network-label {
  font-size: 10px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

#page-wallets .wo-v1-network-value {
  font-size: 11px;
  font-weight: 600;
  color: rgba(248, 250, 252, 0.92);
}

#page-wallets .wo-v1-network .wo-network-list {
  margin-top: 4px !important;
  max-height: 80px;
  overflow: auto;
}

#page-wallets .wo-v1-network .btn-sm {
  padding: 4px 10px;
  font-size: 10px;
}

#page-wallets .wo-v1-security-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto !important;
  gap: 8px !important;
  margin: 0 !important;
  align-items: start;
}

#page-wallets .wo-v1-security-row .wo-security-unified-col {
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  min-width: 0;
}

#page-wallets .wo-v1-security-row .wo-activity-block-k {
  font-size: 9px !important;
  margin-bottom: 3px !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
}

#page-wallets .wo-v1-security-row .wo-activity-block-k::before {
  display: none !important;
}

#page-wallets .wo-v1-security-row .wo-security-session-body {
  font-size: 10px;
  line-height: 1.35;
  color: var(--text-dim);
  min-height: 0;
}

#page-wallets .wo-v1-security-actions-col {
  display: flex;
  align-items: flex-end;
}

#page-wallets .wo-v1-security-row .wo-security-actions {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0 !important;
}

#page-wallets .wo-v1-security-row .wo-security-actions .btn {
  padding: 5px 10px;
  font-size: 10px;
  white-space: nowrap;
}

#page-wallets .wo-wallet-v1 .wo-dag-future:empty {
  display: none;
}

@media (max-width: 960px) {
  #page-wallets .wo-v1-exec-bar {
    grid-template-columns: 1fr;
  }

  #page-wallets .wo-v1-exec-strip {
    justify-content: flex-start;
  }

  #page-wallets .wo-v1-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #page-wallets .wo-v1-portfolio-value {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #page-wallets .wo-v1-transfer-split,
  #page-wallets .wo-v1-ops-row {
    grid-template-columns: 1fr;
  }

  #page-wallets .wo-v1-security-row {
    grid-template-columns: 1fr !important;
  }

  #page-wallets .wo-v1-security-actions-col .wo-security-actions {
    flex-direction: row;
  }
}

@media (max-width: 560px) {
  #page-wallets .wo-v1-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ==========================================================================
   Wallet Mission Control — Phase V2 IA (#page-wallets only)
   ========================================================================== */

#page-wallets .wo-wallet-v2 {
  gap: 6px !important;
  padding: 8px 10px !important;
}

/* Unified portfolio workspace */
#page-wallets .wo-v2-portfolio-workspace {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(0, 0, 0, 0.22);
  margin: 0;
}

#page-wallets .wo-v2-portfolio-workspace .wo-v1-portfolio-value {
  margin-bottom: 4px;
}

#page-wallets .wo-v2-portfolio-workspace .wo-v1-allocation {
  margin-bottom: 4px;
}

#page-wallets .wo-v2-asset-tabs {
  margin: 2px 0 6px !important;
}

#page-wallets .wo-v2-asset-table {
  min-height: 0 !important;
  max-height: 200px;
  overflow: auto;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.12);
}

/* Activity — single workspace with filter chips */
#page-wallets .wo-v2-activity-workspace {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(0, 0, 0, 0.22);
}

#page-wallets .wo-v2-activity-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

#page-wallets .wo-v2-activity-filters {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  overflow-x: auto;
  margin-bottom: 6px;
  padding-bottom: 2px;
}

#page-wallets .wo-v2-filter-chip {
  flex: 0 0 auto;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  margin: 0;
}

#page-wallets .wo-v2-activity-radio:checked + .wo-v2-filter-chip {
  border-color: rgba(22, 224, 214, 0.35);
  color: var(--wo-teal, #16e0d6);
  background: rgba(22, 224, 214, 0.1);
}

#page-wallets .wo-v2-activity-feed {
  display: block !important;
  min-height: 0 !important;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.14);
  padding: 8px 10px;
  max-height: 220px;
  overflow: auto;
}

#page-wallets .wo-v2-activity-pane {
  display: none !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: none !important;
}

#page-wallets .wo-v2-activity-pane .wo-activity-block-k {
  display: none !important;
}

#page-wallets .wo-v2-activity-workspace:has(#wo-v2-activity-incoming:checked) .wo-v2-activity-pane[data-wo-intel="incoming"],
#page-wallets .wo-v2-activity-workspace:has(#wo-v2-activity-outgoing:checked) .wo-v2-activity-pane[data-wo-intel="outgoing"],
#page-wallets .wo-v2-activity-workspace:has(#wo-v2-activity-pending:checked) .wo-v2-activity-pane[data-wo-intel="pending"],
#page-wallets .wo-v2-activity-workspace:has(#wo-v2-activity-contracts:checked) .wo-v2-activity-pane[data-wo-intel="contracts"],
#page-wallets .wo-v2-activity-workspace:has(#wo-v2-activity-nft:checked) .wo-v2-activity-pane[data-wo-intel="nft"],
#page-wallets .wo-v2-activity-workspace:has(#wo-v2-activity-risk:checked) .wo-v2-activity-pane[data-wo-intel="risk"] {
  display: block !important;
}

#page-wallets .wo-v2-activity-feed .wo-intel-body {
  min-height: 0 !important;
  font-size: 11px !important;
  line-height: 1.45 !important;
}

#page-wallets .wo-v2-activity-feed .wo-intel-body .wo-my-empty {
  display: none !important;
}

#page-wallets .wo-v2-activity-empty {
  margin: 6px 0 0;
  font-size: 10px;
  color: var(--text-faint);
  text-align: center;
  line-height: 1.4;
}

#page-wallets .wo-v2-activity-workspace:has(.wo-intel-body .wo-my-activity-item),
#page-wallets .wo-v2-activity-workspace:has(.wo-intel-body .wo-my-line) {
  /* keep empty hint when only placeholder copy exists */
}

#page-wallets .wo-v2-activity-workspace:has(.wo-intel-body .wo-my-activity-item) .wo-v2-activity-empty,
#page-wallets .wo-v2-activity-workspace:has(.wo-intel-body .wo-my-line) .wo-v2-activity-empty {
  display: none;
}

/* Network + Security — one compact workspace */
#page-wallets .wo-v2-session-workspace {
  padding: 8px 10px !important;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  background: rgba(0, 0, 0, 0.2) !important;
  margin: 0 !important;
}

#page-wallets .wo-v2-session-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.1fr) minmax(0, 1.1fr) auto;
  gap: 8px 12px;
  align-items: start;
}

#page-wallets .wo-v2-session-label {
  display: block;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 3px;
}

#page-wallets .wo-v2-session-value {
  font-size: 11px;
  font-weight: 600;
  color: rgba(248, 250, 252, 0.92);
}

#page-wallets .wo-v2-session-cell .wo-security-session-body {
  font-size: 10px;
  line-height: 1.35;
  color: var(--text-dim);
  min-height: 0;
}

#page-wallets .wo-v2-session-actions {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-self: end;
}

#page-wallets .wo-v2-session-actions .btn {
  padding: 5px 10px;
  font-size: 10px;
  white-space: nowrap;
}

#page-wallets .wo-v2-session-workspace .wo-network-list {
  margin-top: 6px !important;
  max-height: 64px;
  overflow: auto;
}

#page-wallets .wo-v2-session-workspace .wo-dag-future:empty {
  display: none;
}

/* Network Intelligence tab — analytics only, compact */
#page-wallets .wo-v2-ni-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#page-wallets .wo-v2-ni-health-band {
  gap: 8px !important;
  padding: 10px 12px !important;
}

#page-wallets .wo-v2-ni-panel .wo-panel-lead,
#page-wallets .wo-v2-ni-panel .wo-health-hint,
#page-wallets .wo-v2-ni-panel .wo-discovery-desc {
  display: none;
}

#page-wallets .wo-v2-ni-discovery-band {
  padding: 10px 12px !important;
  gap: 8px;
}

#page-wallets .wo-v2-ni-panel .wo-intelligence-workspace-head {
  display: none;
}

#page-wallets .wo-v2-ni-panel .wo-leaderboard-table-wrap {
  max-height: 380px !important;
}

/* Registry tab — search via page-actions, watchlist + table only */
#page-wallets .wo-v2-registry-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#page-wallets .wo-v2-watchlist,
#page-wallets .wo-v2-registry-table {
  padding: 10px 12px !important;
  margin: 0 !important;
}

#page-wallets .wo-v2-watchlist .panel-head,
#page-wallets .wo-v2-registry-table .panel-head {
  margin-bottom: 6px !important;
}

#page-wallets .wo-v2-watchlist .panel-title,
#page-wallets .wo-v2-registry-table .panel-title {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

#page-wallets .wo-v2-registry-note-hidden {
  display: none !important;
}

/* Registry tab — table fills card, sticky header / scroll body */
#page-wallets #wallet-registry-panel {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

#page-wallets #wallet-registry-panel .panel-head {
  flex: 0 0 auto;
}

#page-wallets #wallet-registry-panel .wallet-registry-table-wrap {
  flex: 1 1 auto;
  max-height: calc(100vh - 240px) !important;
  min-height: 200px;
  padding-bottom: 18px !important;
  overflow-y: auto;
  overflow-x: hidden;
  min-width: 0;
  max-width: 100%;
}

/* Watchlist — compact empty state */
#page-wallets .wo-v2-watchlist:has(.wo-watchlist-empty) {
  padding: 8px 10px !important;
}

#page-wallets .wo-v2-watchlist .wo-watchlist-grid {
  gap: 4px;
}

#page-wallets .wo-v2-watchlist .wo-watchlist-empty {
  min-height: 0 !important;
  padding: 8px 10px !important;
}

#page-wallets .wo-v2-watchlist .wo-watchlist-empty::after {
  display: none;
}

@media (max-width: 960px) {
  #page-wallets .wo-v2-session-grid {
    grid-template-columns: 1fr 1fr;
  }

  #page-wallets .wo-v2-session-switch,
  #page-wallets .wo-v2-session-actions {
    grid-column: 1 / -1;
  }

  #page-wallets .wo-v2-session-actions {
    flex-direction: row;
  }
}

@media (max-width: 560px) {
  #page-wallets .wo-v2-session-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Wallet Mission Control — Phase V3 (#page-wallets only)
   ========================================================================== */

#page-wallets .wo-wallet-v3 {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  width: 100%;
  max-width: none;
  padding: 6px 0 8px !important;
}

#page-wallets .wo-wallet-v3.wo-mission-control > * {
  order: unset !important;
  margin-top: 0 !important;
  width: 100%;
  max-width: none;
  align-self: stretch;
}

#page-wallets .wo-wallet-v3 .wo-v3-zone {
  padding: 8px 10px !important;
  border-radius: 10px;
  border: 1px solid rgba(22, 224, 214, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 8px 24px -20px rgba(0, 0, 0, 0.85),
    0 0 32px -24px rgba(22, 224, 214, 0.1);
}

/* Hero hierarchy — top-left column, full width */
#page-wallets .wo-wallet-v3 .wo-executive-command-band,
#page-wallets .wo-wallet-v3 .wo-mission-hero-stack {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  width: 100%;
  max-width: none;
  margin: 0;
}

#page-wallets .wo-wallet-v3 .wo-mission-hero-shell {
  width: 100%;
  max-width: none;
  text-align: left;
}

#page-wallets .wo-wallet-v3 .wo-executive-hero--identity-first {
  padding: 8px 12px 5px 12px !important;
}

#page-wallets .wo-wallet-v3 .wo-executive-hero-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  gap: 4px;
  margin-bottom: 3px;
}

#page-wallets .wo-wallet-v3 .wo-executive-hero-context {
  order: -1;
  width: 100%;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  padding-top: 0;
}

#page-wallets .wo-wallet-v3 .wo-executive-identity {
  width: 100%;
  min-height: 0;
  align-self: stretch;
}

#page-wallets .wo-wallet-v3 .wo-executive-hero-lead,
#page-wallets .wo-wallet-v3 .unara-hero-kicker,
#page-wallets .wo-wallet-v3 .unara-hero-title,
#page-wallets .wo-wallet-v3 .wo-mission-hero-title {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

#page-wallets .wo-wallet-v3 .wo-executive-hero-lead {
  max-width: none;
  width: 100%;
  font-size: 10px !important;
  line-height: 1.3 !important;
  margin-top: 2px !important;
}

#page-wallets .wo-wallet-v3 .wo-executive-hero--identity-first .unara-hero-title,
#page-wallets .wo-wallet-v3 .wo-executive-hero--identity-first .wo-mission-hero-title {
  font-size: clamp(1.2rem, 2vw, 1.65rem) !important;
  line-height: 1.05 !important;
}

#page-wallets .wo-wallet-v3 .wo-executive-hero--identity-first .unara-hero-kicker {
  font-size: 9px !important;
  margin-bottom: 2px !important;
}

/* —— Action command dock: 6 equal premium slots —— */
#page-wallets .wo-wallet-v3 .wo-mission-actions.wo-v3-command-dock {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 4px;
  width: calc(100% - 20px);
  margin: 6px 10px 8px;
  padding: 4px;
  border: 1px solid rgba(22, 224, 214, 0.16);
  border-radius: 11px;
  background:
    linear-gradient(180deg, rgba(4, 10, 12, 0.92) 0%, rgba(2, 6, 8, 0.88) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 28px -18px rgba(22, 224, 214, 0.18);
}

#page-wallets .wo-wallet-v3 .wo-mission-action.wo-mission-action--rail {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  align-self: stretch;
  height: 56px;
  min-height: 56px;
  max-height: 56px;
  padding: 0 8px;
  gap: 8px;
  border: 1px solid rgba(22, 224, 214, 0.14) !important;
  border-radius: 8px !important;
  background: linear-gradient(
    165deg,
    rgba(10, 18, 22, 0.96) 0%,
    rgba(6, 10, 12, 0.92) 100%
  ) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transform: none !important;
  opacity: 1;
  transition:
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    background 0.16s ease;
}

#page-wallets .wo-wallet-v3 .wo-mission-action--rail + .wo-mission-action--rail {
  border-left: 1px solid rgba(22, 224, 214, 0.14) !important;
}

#page-wallets .wo-wallet-v3 .wo-mission-action--rail::after {
  display: none;
}

#page-wallets .wo-wallet-v3 .wo-mission-action--rail:hover,
#page-wallets .wo-wallet-v3 .wo-mission-action--rail:focus-visible {
  border-color: rgba(22, 224, 214, 0.45) !important;
  background: linear-gradient(
    165deg,
    rgba(12, 28, 32, 0.98) 0%,
    rgba(8, 14, 18, 0.94) 100%
  ) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 0 18px -4px rgba(22, 224, 214, 0.42) !important;
  transform: none !important;
}

#page-wallets .wo-wallet-v3 .wo-mission-action--rail .wo-mission-action-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid rgba(22, 224, 214, 0.22);
  background: linear-gradient(180deg, rgba(22, 224, 214, 0.14) 0%, rgba(22, 224, 214, 0.06) 100%);
  font-size: 13px;
  line-height: 1;
  color: rgba(160, 245, 235, 0.96);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

#page-wallets .wo-wallet-v3 .wo-mission-action-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  min-width: 0;
  flex: 1 1 auto;
  padding-top: 0;
}

#page-wallets .wo-wallet-v3 .wo-mission-action-k {
  display: block;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: rgba(240, 253, 250, 0.96);
  white-space: normal;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  max-width: 100%;
}

#page-wallets .wo-wallet-v3 .wo-mission-action-v {
  display: block;
  font-size: 9px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.01em;
  color: rgba(148, 163, 184, 0.88);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

#page-wallets .wo-wallet-v3 .wo-mission-action--soon.wo-mission-action--rail {
  opacity: 1;
  cursor: default;
  border-style: dashed !important;
  border-color: rgba(22, 224, 214, 0.2) !important;
  background: linear-gradient(
    165deg,
    rgba(8, 14, 18, 0.92) 0%,
    rgba(5, 9, 11, 0.9) 100%
  ) !important;
}

#page-wallets .wo-wallet-v3 .wo-mission-action--soon.wo-mission-action--rail:hover {
  border-color: rgba(22, 224, 214, 0.28) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0 12px -6px rgba(22, 224, 214, 0.2) !important;
}

#page-wallets .wo-wallet-v3 .wo-mission-action--soon .wo-mission-action-icon {
  border-color: rgba(22, 224, 214, 0.18);
  background: rgba(22, 224, 214, 0.08);
  color: rgba(148, 196, 190, 0.9);
}

#page-wallets .wo-wallet-v3 .wo-mission-action-k::before {
  display: none !important;
  content: none !important;
}

#page-wallets .wo-wallet-v3 .wo-mission-action-arrow {
  display: none;
}

#page-wallets .wo-wallet-v3 .wo-mission-action--primary.wo-mission-action--rail {
  border-color: rgba(22, 224, 214, 0.22) !important;
}

#page-wallets .wo-wallet-v3 .wo-mission-action--gateway.wo-mission-action--rail {
  border-style: solid !important;
  border-color: rgba(167, 154, 211, 0.24) !important;
}

#page-wallets .wo-wallet-v3 .wo-mission-action--gateway .wo-mission-action-icon {
  border-color: rgba(167, 154, 211, 0.32);
  background: linear-gradient(180deg, rgba(167, 154, 211, 0.18) 0%, rgba(124, 106, 174, 0.1) 100%);
  color: rgba(216, 204, 255, 0.95);
}

#page-wallets .wo-wallet-v3 .wo-mission-action--gateway .wo-mission-action-k {
  color: rgba(230, 220, 255, 0.96);
}

#page-wallets .wo-wallet-v3:has(#wo-send-panel:target) .wo-mission-action[href="#wo-send-panel"],
#page-wallets .wo-wallet-v3:has(#wo-receive-panel:target) .wo-mission-action[href="#wo-receive-panel"],
#page-wallets .wo-wallet-v3:has(#wo-contract-ops-section:target) .wo-mission-action[href="#wo-contract-ops-section"] {
  border-color: rgba(22, 224, 214, 0.55) !important;
  background: linear-gradient(165deg, rgba(15, 168, 157, 0.24) 0%, rgba(8, 14, 18, 0.92) 100%) !important;
  box-shadow:
    inset 0 0 0 1px rgba(22, 224, 214, 0.2),
    0 0 24px -6px rgba(22, 224, 214, 0.45) !important;
}

#page-wallets .wo-wallet-v3 .wo-runtime-ribbon {
  margin-top: 0;
  padding-top: 0;
  width: 100%;
  justify-content: flex-start;
  min-height: 32px;
}

#page-wallets .wo-wallet-v3 .wo-runtime-ribbon-label {
  padding: 0 8px;
  font-size: 9px;
}

#page-wallets .wo-wallet-v3 .wo-runtime-ribbon .wo-ops-kpi-strip .wo-dash-metric {
  min-height: 32px !important;
  padding: 3px 8px !important;
}

#page-wallets .wo-wallet-v3 .wo-v3-qr-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

#page-wallets .wo-wallet-v3 .wo-v3-qr-illustration {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(22, 224, 214, 0.2);
  background:
    radial-gradient(circle at 30% 30%, rgba(22, 224, 214, 0.25), transparent 55%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  position: relative;
}

#page-wallets .wo-wallet-v3 .wo-v3-qr-illustration::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 2px solid rgba(22, 224, 214, 0.35);
  border-radius: 4px;
}

#page-wallets .wo-wallet-v3 .wo-receive-qr-wrap:not(.wo-receive-qr-wrap--empty) .wo-v3-qr-illustration,
#page-wallets .wo-wallet-v3 .wo-receive-qr-wrap:not(.wo-receive-qr-wrap--empty) .wo-receive-qr-placeholder {
  display: none !important;
}

#page-wallets .wo-wallet-v3 .wo-receive-qr-wrap:not(.wo-receive-qr-wrap--empty) .wo-receive-qr {
  width: 128px !important;
  height: 128px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35) !important;
}

#page-wallets .wo-wallet-v3 .wo-v3-activity-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

#page-wallets .wo-wallet-v3 .wo-v3-activity-filters {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  overflow-x: auto;
  margin-bottom: 6px;
}

#page-wallets .wo-wallet-v3 .wo-v3-filter-chip {
  flex: 0 0 auto;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  margin: 0;
}

#page-wallets .wo-wallet-v3 .wo-v3-activity-radio:checked + .wo-v3-filter-chip {
  border-color: rgba(22, 224, 214, 0.35);
  color: var(--wo-teal, #16e0d6);
  background: rgba(22, 224, 214, 0.1);
}

#page-wallets .wo-wallet-v3 .wo-v3-activity-feed {
  display: block !important;
  min-height: 0 !important;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.14);
  padding: 8px 10px;
  max-height: 200px;
  overflow: auto;
}

#page-wallets .wo-wallet-v3 .wo-v3-activity-pane {
  display: none !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: none !important;
}

#page-wallets .wo-wallet-v3 .wo-v3-activity-pane .wo-activity-block-k {
  display: none !important;
}

#page-wallets .wo-wallet-v3 .wo-v3-activity-workspace:has(#wo-v3-activity-incoming:checked) .wo-v3-activity-pane[data-wo-intel="incoming"],
#page-wallets .wo-wallet-v3 .wo-v3-activity-workspace:has(#wo-v3-activity-outgoing:checked) .wo-v3-activity-pane[data-wo-intel="outgoing"],
#page-wallets .wo-wallet-v3 .wo-v3-activity-workspace:has(#wo-v3-activity-pending:checked) .wo-v3-activity-pane[data-wo-intel="pending"],
#page-wallets .wo-wallet-v3 .wo-v3-activity-workspace:has(#wo-v3-activity-contracts:checked) .wo-v3-activity-pane[data-wo-intel="contracts"],
#page-wallets .wo-wallet-v3 .wo-v3-activity-workspace:has(#wo-v3-activity-nft:checked) .wo-v3-activity-pane[data-wo-intel="nft"],
#page-wallets .wo-wallet-v3 .wo-v3-activity-workspace:has(#wo-v3-activity-risk:checked) .wo-v3-activity-pane[data-wo-intel="risk"] {
  display: block !important;
}

#page-wallets .wo-wallet-v3 .wo-v3-activity-feed .wo-intel-body {
  min-height: 0 !important;
  font-size: 11px !important;
}

#page-wallets .wo-wallet-v3 .wo-v3-activity-feed .wo-intel-body .wo-my-empty {
  display: none !important;
}

#page-wallets .wo-wallet-v3 .wo-v3-activity-empty {
  margin: 6px 0 0;
  font-size: 10px;
  color: var(--text-faint);
  text-align: center;
}

#page-wallets .wo-wallet-v3:has(.wo-intel-body .wo-my-activity-item) .wo-v3-activity-empty,
#page-wallets .wo-wallet-v3:has(.wo-intel-body .wo-my-line) .wo-v3-activity-empty {
  display: none;
}

#page-wallets .wo-wallet-v3 .wo-v3-injected-feed:empty {
  display: none;
  min-height: 0;
  margin: 0;
  padding: 0;
}

#page-wallets .wo-wallet-v3 .wo-observe-pair {
  gap: 0 !important;
}

#page-wallets .wo-wallet-v3 .wo-observe-pair .wo-dash-section {
  padding: 8px 10px !important;
}

/* —— V3 density: merged portfolio workspace —— */
#page-wallets .wo-wallet-v3 .wo-v3-portfolio-workspace {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 8px 10px !important;
}

#page-wallets .wo-wallet-v3 .wo-v3-portfolio-workspace .wo-portfolio-section,
#page-wallets .wo-wallet-v3 .wo-v3-portfolio-workspace .wo-assets-section {
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

#page-wallets .wo-wallet-v3 .wo-v3-workspace-head {
  margin-bottom: 6px !important;
  padding-bottom: 0 !important;
}

#page-wallets .wo-wallet-v3 .wo-v3-portfolio-head-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

#page-wallets .wo-wallet-v3 .wo-v3-portfolio-sub {
  margin: 0;
  font-size: 10px;
  line-height: 1.35;
  color: rgba(148, 163, 184, 0.82);
}

#page-wallets .wo-wallet-v3 .wo-v3-portfolio-stats-shell {
  margin-bottom: 3px;
}

#page-wallets .wo-wallet-v3 .wo-v3-portfolio-stats-placeholder {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

#page-wallets .wo-wallet-v3 #wo-portfolio-summary:not(:empty) ~ .wo-v3-portfolio-stats-placeholder {
  display: none;
}

#page-wallets .wo-wallet-v3 #wo-portfolio-summary:empty {
  display: none;
}

#page-wallets .wo-wallet-v3 .wo-v3-stat-tile,
#page-wallets .wo-wallet-v3 #wo-portfolio-summary .wo-dash-metric {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(22, 224, 214, 0.12);
  background: linear-gradient(180deg, rgba(8, 14, 18, 0.88) 0%, rgba(4, 8, 10, 0.82) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

#page-wallets .wo-wallet-v3 .wo-v3-stat-k,
#page-wallets .wo-wallet-v3 #wo-portfolio-summary .wo-dash-metric-k {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.78);
}

#page-wallets .wo-wallet-v3 .wo-v3-stat-v,
#page-wallets .wo-wallet-v3 #wo-portfolio-summary .wo-dash-metric-v {
  font-size: 12px;
  font-weight: 650;
  line-height: 1.25;
  color: rgba(240, 253, 250, 0.94);
}

#page-wallets .wo-wallet-v3 #wo-portfolio-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

#page-wallets .wo-wallet-v3 #wo-portfolio-summary .wo-dash-metric:nth-child(n + 4) {
  display: none;
}

#page-wallets .wo-wallet-v3 .wo-v3-portfolio-cards-host {
  display: none !important;
}

#page-wallets .wo-wallet-v3 .wo-v3-band-k {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.78);
}

#page-wallets .wo-wallet-v3 .wo-v3-portfolio-band {
  padding: 2px 0 4px;
}

#page-wallets .wo-wallet-v3 .wo-v3-portfolio-divider {
  height: 1px;
  margin: 5px 0;
  background: rgba(22, 224, 214, 0.12);
}

#page-wallets .wo-wallet-v3 .wo-v3-portfolio-divider--strong {
  margin: 3px 0 2px;
  background: rgba(22, 224, 214, 0.18);
}

#page-wallets .wo-wallet-v3 .wo-portfolio-summary-strip {
  gap: 6px;
  margin-bottom: 0;
}

#page-wallets .wo-wallet-v3 .wo-my-portfolio-cards {
  gap: 6px;
  margin-bottom: 0;
}

#page-wallets .wo-wallet-v3 .wo-assets-tabs {
  gap: 4px;
  margin-bottom: 3px;
}

#page-wallets .wo-wallet-v3 .wo-assets-tab {
  font-size: 10px;
  padding: 4px 10px;
}

#page-wallets .wo-wallet-v3 .wo-assets-body {
  min-height: 0 !important;
  max-height: 120px;
  overflow: auto;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.14);
}

#page-wallets .wo-wallet-v3 .wo-assets-body:empty {
  min-height: 44px !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

#page-wallets .wo-wallet-v3 .wo-assets-body:empty::before {
  content: "Connect wallet to load portfolio.";
  font-size: 10px;
  line-height: 1.35;
  color: rgba(148, 163, 184, 0.72);
  text-align: center;
  padding: 8px 12px;
}

/* —— V3 density: transfer —— */
#page-wallets .wo-wallet-v3 .wo-transfer-section .wo-dash-section-head {
  margin-bottom: 6px !important;
}

#page-wallets .wo-wallet-v3 .wo-transfer-grid,
#page-wallets .wo-wallet-v3 .wo-transfer-grid--receive-focus {
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 8px;
  align-items: start;
  min-height: 0;
}

#page-wallets .wo-wallet-v3 #wo-send-panel,
#page-wallets .wo-wallet-v3 #wo-receive-panel {
  align-self: start;
}

#page-wallets .wo-wallet-v3 .wo-transfer-panel {
  display: flex;
  flex-direction: column;
  padding: 10px 11px !important;
  border-radius: 10px !important;
  min-height: 0;
}

#page-wallets .wo-wallet-v3 .wo-transfer-panel-k {
  font-size: 10px;
  margin: 0 0 6px;
  letter-spacing: 0.08em;
}

#page-wallets .wo-wallet-v3 .wo-field {
  margin-bottom: 5px;
}

#page-wallets .wo-wallet-v3 .wo-field label {
  font-size: 9px;
  margin-bottom: 3px;
}

#page-wallets .wo-wallet-v3 .wo-field input,
#page-wallets .wo-wallet-v3 .wo-field select {
  padding: 6px 8px;
  font-size: 11px;
}

#page-wallets .wo-wallet-v3 .wo-send-gas {
  margin: 2px 0 0;
  font-size: 10px;
  line-height: 1.3;
}

#page-wallets .wo-gas-sponsorship {
  margin: 10px 0 0;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(22, 224, 214, 0.18);
  background: rgba(0, 0, 0, 0.18);
}

#page-wallets .wo-gas-sponsorship-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(22, 224, 214, 0.12);
}

#page-wallets .wo-gas-sponsorship-title {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.78);
}

#page-wallets .wo-gas-sponsorship-status {
  font-size: 10px;
  font-weight: 800;
  line-height: 1.3;
  color: #34d399;
}

#page-wallets .wo-gas-sponsorship-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#page-wallets .wo-gas-sponsorship-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

#page-wallets .wo-gas-sponsorship-k {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.72);
}

#page-wallets .wo-gas-sponsorship-v {
  font-size: 10px;
  font-weight: 600;
  line-height: 1.35;
  color: rgba(248, 250, 252, 0.92);
}

#page-wallets .wo-wallet-v3 .wo-gas-sponsorship {
  margin: 10px 0 0;
  padding: 8px 10px;
}

#page-wallets .wo-wallet-v3 #wo-send-form .wo-send-actions {
  margin-top: 0;
  padding-top: 10px;
}

#page-wallets .wo-wallet-v3 #wo-send-form {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

#page-wallets .wo-wallet-v3 #wo-send-panel .wo-send-actions {
  margin-top: auto;
  padding-top: 4px;
}

#page-wallets .wo-wallet-v3 #wo-send-panel .wo-send-actions .btn {
  width: 100%;
  padding: 7px 10px;
  font-size: 11px;
}

#page-wallets .wo-wallet-v3 .wo-send-sign-hint {
  margin-top: 4px;
  font-size: 9px;
  line-height: 1.3;
}

#page-wallets .wo-wallet-v3 .wo-receive-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  padding: 10px 10px !important;
}

#page-wallets .wo-wallet-v3 .wo-receive-showcase .wo-receive-qr-wrap {
  margin-bottom: 0 !important;
  padding: 4px 6px !important;
}

#page-wallets .wo-wallet-v3 .wo-v3-qr-stage {
  padding: 4px 6px !important;
  margin: 0 !important;
  min-height: 0 !important;
}

#page-wallets .wo-wallet-v3 .wo-v3-qr-illustration {
  width: 28px;
  height: 28px;
}

#page-wallets .wo-wallet-v3 .wo-receive-qr-placeholder {
  padding: 6px 8px;
  font-size: 10px;
}

#page-wallets .wo-wallet-v3 .wo-receive-qr-wrap:not(.wo-receive-qr-wrap--empty) .wo-receive-qr {
  width: 88px !important;
  height: 88px !important;
}

#page-wallets .wo-wallet-v3 .wo-receive-address {
  font-size: 10px;
  line-height: 1.35;
  padding: 4px 7px;
  margin-bottom: 10px;
  margin-top: 0;
  text-align: center;
}

#page-wallets .wo-wallet-v3 .wo-receive-actions {
  margin-top: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
  padding-top: 0;
  margin-bottom: 0;
  width: 100%;
  max-width: 100%;
}

#page-wallets .wo-wallet-v3 .wo-receive-actions .btn {
  flex: 1 1 0;
  padding: 7px 8px;
  font-size: 11px;
}

/* —— V3 density: activity feed —— */
#page-wallets .wo-wallet-v3 .wo-intelligence-section .wo-dash-section-head {
  margin-bottom: 4px !important;
}

#page-wallets .wo-wallet-v3 .wo-v3-activity-filters {
  margin-bottom: 4px;
  gap: 3px;
}

#page-wallets .wo-wallet-v3 .wo-v3-filter-chip {
  font-size: 8px;
  padding: 4px 8px;
}

#page-wallets .wo-wallet-v3 .wo-v3-activity-feed {
  min-height: 56px !important;
  max-height: 120px;
  padding: 5px 8px;
}

#page-wallets .wo-wallet-v3 .wo-v3-activity-empty {
  margin: 4px 0 0;
  font-size: 9px;
}

/* —— V3 density: network + session ops center —— */
#page-wallets .wo-wallet-v3 .wo-tier-observe {
  padding: 0;
  gap: 0;
}

#page-wallets .wo-wallet-v3 .wo-v3-ops-center {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  grid-template-rows: auto 1fr;
  gap: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  align-items: start;
}

#page-wallets .wo-wallet-v3 .wo-v3-ops-head {
  grid-column: 1 / -1;
  padding: 7px 10px 5px;
  border-bottom: 1px solid rgba(22, 224, 214, 0.14);
  background: rgba(0, 0, 0, 0.16);
}

#page-wallets .wo-wallet-v3 .wo-v3-ops-head .wo-dash-section-title {
  margin: 0;
  font-size: 10px;
}

#page-wallets .wo-wallet-v3 .wo-v3-ops-center .wo-network-panel .wo-dash-section-head,
#page-wallets .wo-wallet-v3 .wo-v3-ops-center .wo-security-command .wo-dash-section-head {
  display: none;
}

#page-wallets .wo-wallet-v3 .wo-v3-ops-center .wo-network-panel {
  border-right: 1px solid rgba(22, 224, 214, 0.12) !important;
  padding: 8px 10px !important;
}

#page-wallets .wo-wallet-v3 .wo-v3-ops-center .wo-security-unified {
  padding: 8px 10px !important;
}

#page-wallets .wo-wallet-v3 .wo-v3-ops-center .wo-my-line {
  padding: 6px 8px !important;
  margin: 0 !important;
  font-size: 10px !important;
}

#page-wallets .wo-wallet-v3 .wo-v3-ops-center .wo-network-list {
  max-height: 72px;
  overflow: auto;
  margin-top: 6px !important;
}

#page-wallets .wo-wallet-v3 .wo-v3-ops-center .wo-security-unified-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 0 !important;
  margin-bottom: 6px !important;
}

#page-wallets .wo-wallet-v3 .wo-v3-ops-center .wo-security-unified-col {
  padding: 6px 8px !important;
}

#page-wallets .wo-wallet-v3 .wo-v3-ops-center .wo-activity-block-k {
  font-size: 9px;
  margin-bottom: 4px;
}

#page-wallets .wo-wallet-v3 .wo-v3-ops-center .wo-security-actions {
  gap: 6px;
}

#page-wallets .wo-wallet-v3 .wo-v3-ops-center .wo-security-actions .btn {
  flex: 1 1 0;
  padding: 6px 8px;
  font-size: 10px;
}

#page-wallets .wo-wallet-v3 .wo-dash-section-head {
  margin-bottom: 5px !important;
}

#page-wallets .wo-wallet-v3 .wo-dash-section-title {
  font-size: 10px;
  letter-spacing: 0.1em;
}

#page-wallets .wo-wallet-v3 .wo-mission-action--rail .wo-mission-action-icon {
  font-size: 12px;
  border-radius: 8px;
}

#page-wallets .wo-wallet-v3 .wo-dag-future:empty {
  display: none;
}

@media (max-width: 1100px) {
  #page-wallets .wo-wallet-v3 .wo-v3-command-dock {
    flex-wrap: wrap;
  }

  #page-wallets .wo-wallet-v3 .wo-v3-command-dock .wo-mission-action--rail {
    flex: 1 1 calc(33.333% - 4px);
    min-width: calc(33.333% - 4px);
  }

  #page-wallets .wo-wallet-v3 #wo-portfolio-summary,
  #page-wallets .wo-wallet-v3 .wo-v3-portfolio-stats-placeholder {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  #page-wallets .wo-wallet-v3 .wo-v3-command-dock .wo-mission-action--rail {
    flex: 1 1 calc(50% - 4px);
    min-width: calc(50% - 4px);
  }

  #page-wallets .wo-wallet-v3 #wo-portfolio-summary,
  #page-wallets .wo-wallet-v3 .wo-v3-portfolio-stats-placeholder {
    grid-template-columns: 1fr;
  }

  #page-wallets .wo-wallet-v3 .wo-v3-ops-center {
    grid-template-columns: 1fr !important;
  }

  #page-wallets .wo-wallet-v3 .wo-v3-ops-center .wo-network-panel {
    border-right: none !important;
    border-bottom: 1px solid rgba(22, 224, 214, 0.12) !important;
  }
}

/* Mobile density — additive; desktop grids unchanged ≥901px */
@media (max-width: 768px) {
  #page-wallets .wo-mission-instrument-strip .wo-dash-metric,
  #page-wallets .wo-ops-kpi-strip .wo-dash-metric {
    min-width: 0;
    flex: 1 1 calc(50% - 4px);
  }

  #page-wallets .wo-mission-control,
  #page-wallets .wo-executive-surface {
    max-width: 100%;
    min-width: 0;
    overflow-x: clip;
  }

  #page-wallets .page-head .page-actions {
    width: 100%;
  }

  #page-wallets .page-head .page-actions .btn {
    flex: 1 1 auto;
    justify-content: center;
    min-height: 44px;
  }
}

@media (max-width: 520px) {
  #page-wallets .wo-mission-instrument-strip .wo-dash-metric,
  #page-wallets .wo-ops-kpi-strip .wo-dash-metric {
    flex: 1 1 100%;
  }

  #page-wallets .wo-wallet-v3 .wo-v3-command-dock .wo-mission-action--rail {
    flex: 1 1 100%;
    min-width: 0;
  }
}

