/* ════════════════════════════════════════════════════════════════════════════
   Quantum Field Wallet · final interface polish
   Source references: Rev02 architectural spec + polished DeFi command surface.
   This layer intentionally sits last in the cascade.
   ════════════════════════════════════════════════════════════════════════════ */

:root {
  --void: #030806;
  --black: #050807;
  --black-2: #08110d;
  --black-3: #0b1711;
  --panel: rgba(13, 28, 20, .56);
  --panel-2: rgba(8, 19, 13, .72);
  --glass: rgba(14, 35, 23, .48);
  --glass-strong: rgba(18, 48, 30, .64);
  --edge: rgba(110, 240, 151, .20);
  --edge-hi: rgba(110, 240, 151, .48);
  --edge-soft: rgba(110, 240, 151, .10);
  --slime: #4ade80;
  --slime-hot: #6ef097;
  --slime-2: #00ffc6;
  --slime-deep: #0d4d24;
  --slime-glow: rgba(74, 222, 128, .44);
  --blue: #3b82f6;
  --cyan: #22e8f6;
  --gold: #b08a55;
  --warn: #ffb547;
  --bad: #ff5f7a;
  --ink: #ecfff2;
  --ink-2: #c5dacd;
  --ink-3: #91aa9a;
  --ink-4: #5f7969;
  --muted: #395040;
  --shadow: 0 30px 80px rgba(0,0,0,.58), 0 0 76px rgba(74,222,128,.08);
  --shadow-hi: 0 38px 110px rgba(0,0,0,.72), 0 0 55px rgba(74,222,128,.18);
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --sans: 'Geist', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --serif: 'Fraunces', Georgia, serif;

  --text-primary: var(--ink-2);
  --text-strong: var(--ink);
  --text-secondary: var(--ink-2);
  --text-tertiary: var(--ink-3);
  --text-hint: var(--ink-4);
  --brand: var(--slime-hot);
  --brand-bright: var(--slime-hot);
  --brand-deep: var(--slime-deep);
  --brand-soft: rgba(74, 222, 128, .10);
  --brand-rule: rgba(110, 240, 151, .28);
  --positive: var(--slime-hot);
  --negative: var(--bad);
  --caution: var(--warn);
  --informational: var(--cyan);
  --glass-fill: rgba(13, 28, 20, .56);
  --glass-fill-strong: rgba(18, 48, 30, .66);
  --glass-edge: rgba(110, 240, 151, .35);
  --glass-edge-dim: rgba(110, 240, 151, .16);
  --rule-1: rgba(110, 240, 151, .06);
  --rule-2: rgba(110, 240, 151, .10);
  --rule-3: rgba(110, 240, 151, .18);
  --rule-4: rgba(110, 240, 151, .30);
  --shadow-rest: 0 18px 44px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.05);
  --shadow-lift: 0 24px 70px rgba(0,0,0,.42), 0 0 42px rgba(74,222,128,.08), inset 0 1px 0 rgba(255,255,255,.07);
  --max-w: 1500px;
}

html { background: var(--void); }
body.qfw-final {
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(900px 520px at 15% -8%, rgba(74,222,128,.14), transparent 62%),
    radial-gradient(780px 520px at 97% 8%, rgba(34,232,246,.06), transparent 60%),
    radial-gradient(900px 720px at 50% 112%, rgba(74,222,128,.07), transparent 62%),
    var(--void);
  font-family: var(--sans);
  font-variant-numeric: tabular-nums;
}

body.qfw-final::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(110,240,151,.033) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110,240,151,.033) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(circle at 50% 38%, #000 0%, transparent 73%);
  opacity: .72;
  z-index: 0;
  mix-blend-mode: normal;
}

body.qfw-final::after {
  content: "";
  position: fixed;
  inset: -1px;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .45;
  z-index: 0;
  mix-blend-mode: screen;
}

#qfw-lattice {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: .5;
}

.qfw-frame {
  position: fixed;
  inset: clamp(10px, 2vw, 26px);
  pointer-events: none;
  z-index: 1;
  opacity: .78;
}
.qfw-mount {
  position: absolute;
  width: 76px;
  height: 76px;
}
.qfw-mount::before,
.qfw-mount::after {
  content: "";
  position: absolute;
  border-radius: 5px;
  background: linear-gradient(135deg, rgba(255,255,255,.06), rgba(74,222,128,.19));
  box-shadow: inset 0 0 0 1px rgba(110,240,151,.32), inset 0 1px 0 rgba(255,255,255,.12), 0 0 24px rgba(74,222,128,.14);
}
.qfw-mount::before { width: 76px; height: 12px; }
.qfw-mount::after { width: 12px; height: 76px; }
.qfw-mount.tl { top: 0; left: 0; }
.qfw-mount.tr { top: 0; right: 0; transform: scaleX(-1); }
.qfw-mount.bl { bottom: 0; left: 0; transform: scaleY(-1); }
.qfw-mount.br { bottom: 0; right: 0; transform: scale(-1); }
.qfw-rail {
  position: absolute;
  left: 104px;
  right: 104px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-4);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .24em;
  text-transform: uppercase;
  white-space: nowrap;
}
.qfw-rail::before,
.qfw-rail::after {
  content: "";
  height: 1px;
  flex: 1;
  min-width: 30px;
  background: linear-gradient(90deg, transparent, var(--slime) 50%, transparent);
  opacity: .56;
}
.qfw-rail.top { top: 15px; }
.qfw-rail.bottom { bottom: 15px; }

.chrome,
.sovereign-ribbon,
.nav-desktop,
#surface-host,
.status,
.nav-mobile,
#toast-region,
.qf-modal-scrim,
.qf-confirm-scrim {
  position: relative;
  z-index: 2;
}

.chrome {
  width: min(1500px, calc(100% - 32px));
  margin: clamp(26px, 3vw, 42px) auto 0;
  display: grid;
  grid-template-columns: minmax(270px, 1fr) minmax(260px, 620px) minmax(240px, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 78px;
  padding: 16px 20px;
  border: 1px solid var(--edge);
  border-radius: 28px 28px 18px 18px;
  background:
    radial-gradient(760px 220px at 75% 0%, rgba(74,222,128,.10), transparent 62%),
    linear-gradient(180deg, rgba(12,24,18,.90), rgba(3,8,6,.84));
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px) saturate(130%);
  -webkit-backdrop-filter: blur(22px) saturate(130%);
  overflow: hidden;
}
.chrome::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), transparent 18%),
    radial-gradient(1000px 140px at 50% 0%, rgba(110,240,151,.17), transparent 70%);
}
.chrome::after {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--slime-hot), transparent);
  filter: drop-shadow(0 0 12px var(--slime-glow));
}

.brand {
  min-width: 0;
  gap: 14px;
}
.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 24%, rgba(255,255,255,.36), transparent 28%),
    conic-gradient(from 210deg, var(--slime-deep), var(--slime-hot), var(--slime-2), var(--slime-deep));
  box-shadow: 0 0 32px rgba(74,222,128,.28), inset 0 0 0 1px rgba(255,255,255,.22);
}
.brand-mark svg { width: 29px; height: 29px; color: #031008; }
.brand-copy { min-width: 0; }
.brand-wordmark {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 600;
  line-height: .95;
  letter-spacing: -.035em;
  white-space: nowrap;
}
.brand-tier {
  display: block;
  margin-top: 6px;
  color: var(--ink-4);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.chrome-search {
  height: 46px;
  border: 1px solid rgba(110,240,151,.12);
  border-radius: 16px;
  background: rgba(4,11,7,.56);
  color: var(--ink-3);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.chrome-search:hover,
.chrome-search:focus-within {
  border-color: var(--edge-hi);
  background: rgba(7, 18, 11, .72);
  color: var(--ink);
  box-shadow: 0 0 26px rgba(74,222,128,.10), inset 0 1px 0 rgba(255,255,255,.06);
}
.chrome-search input { color: var(--ink); }
.chrome-search input::placeholder { color: var(--ink-4); }
.kbd {
  border-color: rgba(110,240,151,.16);
  background: rgba(3,8,6,.54);
  color: var(--ink-4);
}

.wallet-pill {
  justify-self: end;
  min-height: 46px;
  border-radius: 16px;
  border: 1px solid rgba(110,240,151,.12);
  background: rgba(8,17,13,.56);
  color: var(--ink-2);
}
.wallet-pill:hover {
  border-color: var(--edge-hi);
  box-shadow: 0 0 24px rgba(74,222,128,.14);
  transform: translateY(-1px);
}
.wallet-status { background: var(--slime-hot); box-shadow: 0 0 10px var(--slime-glow); }
.wallet-address { padding: 5px 11px; }
.wallet-interface { color: var(--ink-4); }
.wallet-addr { color: var(--ink); }
.wallet-divider { background: rgba(110,240,151,.14); }

.sovereign-ribbon {
  width: min(1500px, calc(100% - 32px));
  margin: 12px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding: 0 2px;
}
.ribbon-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(110,240,151,.12);
  background: rgba(4,11,7,.54);
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.ribbon-chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--slime-hot);
  box-shadow: 0 0 10px var(--slime-glow);
}
.ribbon-chip.pqc::before { background: var(--cyan); }
.ribbon-chip.gilt::before { background: var(--gold); }
.ribbon-chip.comp::before { background: var(--slime-2); }

.nav-desktop {
  width: min(1500px, calc(100% - 32px));
  margin: 12px auto 0;
  padding: 6px;
  border: 1px solid rgba(110,240,151,.10);
  border-radius: 18px;
  background: rgba(4,11,7,.56);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
  overflow-x: auto;
}
.nav-tab {
  color: var(--ink-3);
  border-radius: 12px;
  font-weight: 700;
  white-space: nowrap;
  transition: 180ms var(--ease);
}
.nav-tab:hover { color: var(--ink); background: rgba(110,240,151,.06); }
.nav-tab.active {
  color: #031008;
  background: linear-gradient(180deg, var(--slime-hot), var(--slime));
  box-shadow: 0 0 22px rgba(74,222,128,.26), inset 0 1px 0 rgba(255,255,255,.42);
}
.nav-tab svg { flex: 0 0 16px; }
.nav-meta { color: var(--ink-4); }
.nav-meta-val { color: var(--slime-hot); }
.nav-meta-dot[data-state="live"],
.status-dot.live { background: var(--slime-hot); box-shadow: 0 0 10px var(--slime-glow); }

#surface-host {
  width: min(1500px, calc(100% - 32px));
  margin: 0 auto;
}
.surface {
  padding-top: clamp(22px, 3vw, 40px);
}
.surface-inner { max-width: none; }
.surface-header {
  padding: 4px 2px 0;
  margin-bottom: 18px;
}
.surface-eyebrow,
.eyebrow {
  color: var(--slime-hot);
  font-family: var(--mono);
  letter-spacing: .18em;
}
.surface-eyebrow::before,
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--slime);
  box-shadow: 0 0 9px var(--slime-glow);
  vertical-align: 1px;
}
.surface-title {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: .96;
  letter-spacing: -.055em;
  max-width: 18ch;
}
.surface-title em { color: var(--slime-hot); }
.surface-anno {
  max-width: 620px;
  color: var(--ink-3);
  font-size: 14px;
  line-height: 1.65;
}

.plexi,
.plexi-strong {
  border-radius: var(--r-lg);
  border: 1px solid var(--edge);
  background:
    linear-gradient(135deg, rgba(18,45,28,.48), rgba(6,16,10,.58)),
    rgba(3,8,6,.44);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 20px 44px rgba(0,0,0,.28);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.plexi::before {
  background: linear-gradient(135deg, rgba(255,255,255,.08), transparent 32%, transparent 70%, rgba(110,240,151,.04));
  mix-blend-mode: normal;
  opacity: 1;
}
.plexi::after {
  left: 16px;
  right: 16px;
  top: 0;
  width: auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(110,240,151,.65), transparent);
}
.plexi-strong {
  background:
    radial-gradient(860px 360px at 75% 0%, rgba(74,222,128,.11), transparent 62%),
    linear-gradient(180deg, rgba(12,24,18,.92), rgba(3,8,6,.74));
  box-shadow: var(--shadow-hi);
}
.plexi:hover { border-color: rgba(110,240,151,.30); }
.head {
  border-bottom-color: rgba(110,240,151,.08);
}
.head-title { color: var(--ink); }
.head-meta { color: var(--ink-4); }

.btn,
.btn-primary,
.btn-secondary,
.btn-ghost,
.btn-xs {
  border-radius: 13px;
  font-weight: 800;
}
.btn-primary {
  color: #031008;
  border-color: transparent;
  background: linear-gradient(135deg, var(--slime-hot), var(--slime), #1fe784);
  box-shadow: 0 16px 35px rgba(74,222,128,.22), inset 0 1px 0 rgba(255,255,255,.4);
}
.btn-secondary,
.btn-ghost {
  border: 1px solid rgba(110,240,151,.12);
  background: rgba(8,17,13,.52);
  color: var(--ink-2);
}
.btn:hover { transform: translateY(-1px); }
.btn-secondary:hover,
.btn-ghost:hover {
  border-color: var(--edge-hi);
  color: var(--slime-hot);
}

.hero { padding: clamp(24px, 3vw, 34px); }
.hero-label { color: var(--ink-3); }
.hero-value {
  color: var(--ink);
  font-size: clamp(46px, 5.2vw, 76px);
}
.hero-value .sym,
.hero-value .dec { color: var(--ink-3); }
.stat-strip {
  border-color: rgba(110,240,151,.08);
  background: rgba(110,240,151,.08);
}
.stat-cell { background: rgba(3,8,6,.28); }
.stat-val { color: var(--ink); }
.stat-val.pos { color: var(--slime-hot); }
.stat-sub,
.stat-label { color: var(--ink-4); }
.alloc-bar { background: rgba(110,240,151,.08); }
.alloc-leg-name { color: var(--ink-2); }
.alloc-leg-pct { color: var(--ink); }

.table th,
th { color: var(--ink-4); border-bottom-color: rgba(110,240,151,.09); }
td { color: var(--ink-2); border-bottom-color: rgba(110,240,151,.06); }
tbody tr:hover { background: rgba(74,222,128,.035); }
.asset-name strong { color: var(--ink); }
.asset-name span { color: var(--ink-4); }
.interface-badge,
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(110,240,151,.16);
  background: rgba(74,222,128,.09);
  color: var(--slime-hot);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.badge.warn { color: var(--warn); border-color: rgba(255,181,71,.24); background: rgba(255,181,71,.08); }
.badge.pqc { color: var(--cyan); border-color: rgba(34,232,246,.25); background: rgba(34,232,246,.08); }
.badge.pass { color: var(--slime-hot); }

.stack-panel,
.readiness-panel,
.audit-panel,
.evidence-panel,
.proof-panel,
.scope-panel { padding-bottom: 12px; }
.layer-stack,
.readiness-list,
.export-list,
.proof-list {
  display: grid;
  gap: 9px;
  padding: 0 16px 16px;
}
.layer-row,
.readiness-row,
.export-row,
.proof-row,
.audit-row {
  display: grid;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(110,240,151,.10);
  border-radius: 14px;
  background: rgba(3,8,6,.36);
}
.layer-row { grid-template-columns: auto minmax(0,1fr) auto; }
.layer-num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  color: #031008;
  background: linear-gradient(135deg, var(--slime-hot), var(--slime));
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 900;
}
.layer-row strong,
.readiness-row strong,
.export-row strong,
.proof-row strong { display: block; color: var(--ink); font-size: 13px; }
.layer-row span:not(.layer-num):not(.badge),
.readiness-row span:not(.badge),
.export-row span:not(.badge),
.proof-row span:not(.badge) { color: var(--ink-4); font-size: 12px; }
.readiness-row,
.export-row,
.proof-row { grid-template-columns: minmax(0,1fr) auto; }

.audit-hero { padding: 22px; margin-bottom: 18px; }
.audit-hero-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 10px;
  margin-bottom: 18px;
}
.audit-metric {
  padding: 14px;
  border: 1px solid rgba(110,240,151,.12);
  border-radius: 16px;
  background: rgba(3,8,6,.34);
}
.audit-metric span,
.audit-metric em {
  display: block;
  color: var(--ink-4);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-style: normal;
}
.audit-metric strong { display: block; margin: 4px 0; color: var(--ink); font-size: 18px; }
.audit-chain,
.disclosure-lane {
  display: grid;
  grid-template-columns: repeat(6, minmax(0,1fr));
  gap: 10px;
}
.audit-node,
.disclosure-step {
  padding: 14px;
  min-height: 96px;
  border: 1px solid rgba(110,240,151,.12);
  border-radius: 16px;
  background: rgba(3,8,6,.34);
}
.audit-node span,
.disclosure-step span {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 10px;
  border-radius: 10px;
  background: rgba(74,222,128,.10);
  color: var(--slime-hot);
  font-family: var(--mono);
  font-size: 11px;
}
.audit-node strong,
.disclosure-step strong { display: block; color: var(--ink); }
.audit-table { display: grid; gap: 9px; padding: 0 16px 16px; }
.audit-row { grid-template-columns: 78px minmax(0,1.3fr) minmax(160px,.9fr) auto; }
.audit-time { color: var(--slime-hot); font-family: var(--mono); font-size: 11px; }
.audit-main strong { display: block; color: var(--ink); }
.audit-main span { color: var(--ink-4); font-size: 12px; }
.audit-row code {
  overflow: hidden;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.blackglass-hero {
  display: grid;
  grid-template-columns: 210px minmax(0,1fr) 230px;
  gap: 24px;
  align-items: center;
  padding: 28px;
  margin-bottom: 18px;
}
.glass-orb {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 32% 24%, rgba(255,255,255,.34), transparent 22%),
    radial-gradient(circle at 50% 54%, rgba(34,232,246,.22), transparent 38%),
    linear-gradient(135deg, rgba(3,8,6,.8), rgba(74,222,128,.16));
  border: 1px solid rgba(110,240,151,.24);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06), 0 0 52px rgba(34,232,246,.10), 0 0 80px rgba(74,222,128,.10);
}
.glass-orb span {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  border: 1px solid rgba(110,240,151,.34);
  background: radial-gradient(circle, rgba(110,240,151,.42), rgba(3,8,6,.22) 62%, transparent);
  box-shadow: 0 0 35px rgba(110,240,151,.25);
}
.blackglass-copy h2 {
  max-width: 16ch;
  margin: 7px 0 10px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: .96;
  letter-spacing: -.055em;
}
.blackglass-copy p { color: var(--ink-3); max-width: 720px; line-height: 1.7; }
.blackglass-score {
  padding: 18px;
  border: 1px solid rgba(34,232,246,.18);
  border-radius: 18px;
  background: rgba(34,232,246,.06);
}
.blackglass-score span,
.blackglass-score em { display: block; color: var(--ink-4); font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; font-style: normal; }
.blackglass-score strong { display: block; margin: 8px 0; color: var(--cyan); font-family: var(--serif); font-size: 28px; line-height: 1; }
.proof-row { grid-template-columns: auto minmax(0,1fr) auto; }
.proof-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #031008;
  background: linear-gradient(135deg, var(--slime-hot), var(--cyan));
  font-weight: 900;
}
.disclosure-lane { grid-template-columns: repeat(4, minmax(0,1fr)); padding: 0 16px 16px; }
.disclosure-step em { display: block; margin-top: 6px; color: var(--ink-4); font-style: normal; font-size: 12px; }

.control-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
  padding: 0 16px 16px;
}
.control-chip {
  padding: 13px;
  border: 1px solid rgba(110,240,151,.10);
  border-radius: 14px;
  background: rgba(3,8,6,.36);
}
.control-chip b { display: block; color: var(--ink); font-size: 13px; }
.control-chip span { color: var(--ink-4); font-size: 12px; }

.status {
  width: min(1500px, calc(100% - 32px));
  margin: 20px auto 28px;
  border: 1px solid rgba(110,240,151,.10);
  border-radius: 18px;
  background: rgba(4,11,7,.56);
  color: var(--ink-4);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.status-item-label { color: var(--ink-4); }
.status-item-val { color: var(--ink-2); }
.status-sep { background: rgba(110,240,151,.10); }

@media (max-width: 1180px) {
  .chrome { grid-template-columns: 1fr; }
  .wallet-pill { justify-self: stretch; justify-content: center; }
  .audit-hero-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .audit-chain { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .blackglass-hero { grid-template-columns: 1fr; }
  .glass-orb { width: 150px; height: 150px; }
  .control-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 860px) {
  .qfw-frame { display: none; }
  .chrome,
  .sovereign-ribbon,
  .nav-desktop,
  #surface-host,
  .status { width: min(100% - 20px, 1500px); }
  .surface-title { font-size: clamp(32px, 10vw, 46px); }
  .surface-header { align-items: flex-start; }
  .audit-hero-grid,
  .audit-chain,
  .disclosure-lane,
  .control-grid { grid-template-columns: 1fr; }
  .audit-row { grid-template-columns: 1fr; align-items: start; }
  .brand-wordmark { white-space: normal; }
  .brand-tier { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  #qfw-lattice { display: none; }
  .btn:hover,
  .wallet-pill:hover { transform: none; }
}

/* ════════════════════════════════════════════════════════════════════════
   Quantum Field Wallet · v2.1 PreviewNet upgrade layer
   ────────────────────────────────────────────────────────────────────────
   Styles introduced by the v2.1 pass:
   • Diagnostics drawer (.qfw-diag-*)
   • Chain-mismatch banner (.qfw-chain-banner)
   • Account switcher popover (.qfw-acct-*)
   • Pre-flight gate panel (.preflight-*)
   • Status footer diagnostics button (.status-diag-btn)
   • Chart source badge (.chart-source)
   ════════════════════════════════════════════════════════════════════════ */

/* ─── Diagnostics drawer ───────────────────────────────────────────── */

.qfw-diag-scrim {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 100%, rgba(8, 19, 13, .82), rgba(3, 8, 6, .92));
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-state, 240ms) var(--ease);
  z-index: 80;
}
.qfw-diag-scrim.open { opacity: 1; pointer-events: auto; }

.qfw-diag-drawer {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 100%);
  width: min(960px, calc(100% - 32px));
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--edge-hi);
  border-bottom: none;
  border-radius: 24px 24px 0 0;
  background:
    radial-gradient(800px 280px at 50% 0%, rgba(74, 222, 128, .14), transparent 65%),
    linear-gradient(180deg, rgba(12, 24, 18, .96), rgba(3, 8, 6, .98));
  box-shadow: 0 -28px 90px rgba(0, 0, 0, .58), 0 -2px 0 rgba(110, 240, 151, .18);
  z-index: 81;
  transition: transform var(--dur-state, 240ms) var(--ease);
  font-family: var(--sans);
  color: var(--ink);
}
.qfw-diag-drawer.open { transform: translate(-50%, 0%); }
.qfw-diag-drawer::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 4px;
  border-radius: 4px;
  background: rgba(110, 240, 151, .26);
}

.qfw-diag-head {
  position: relative;
  padding: 28px 32px 20px;
  border-bottom: 1px solid var(--rule-2);
}
.qfw-diag-eyebrow {
  display: block;
  color: var(--slime-hot);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.qfw-diag-title {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 600;
  letter-spacing: -.025em;
}
.qfw-diag-sub {
  margin: 8px 0 0;
  color: var(--ink-3);
  font-size: 13px;
  line-height: 1.55;
  max-width: 640px;
}
.qfw-diag-close {
  position: absolute;
  top: 22px;
  right: 24px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--rule-3);
  background: rgba(3, 8, 6, .58);
  color: var(--ink-2);
  cursor: pointer;
  transition: all var(--dur-hover) var(--ease);
}
.qfw-diag-close:hover {
  border-color: var(--edge-hi);
  color: var(--ink);
  background: rgba(8, 17, 13, .82);
}
.qfw-diag-close svg { width: 18px; height: 18px; }

.qfw-diag-body {
  flex: 1;
  overflow-y: auto;
  padding: 22px 32px 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.qfw-diag-body > .qfw-diag-banner { grid-column: 1 / -1; }
.qfw-diag-loading {
  grid-column: 1 / -1;
  padding: 60px 0;
  text-align: center;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .08em;
}

.qfw-diag-banner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border: 1px solid var(--rule-3);
  border-radius: 14px;
  background: rgba(8, 17, 13, .52);
}
.qfw-diag-banner-live {
  border-color: rgba(110, 240, 151, .42);
  background: linear-gradient(180deg, rgba(74, 222, 128, .14), rgba(8, 17, 13, .58));
  box-shadow: 0 0 28px rgba(74, 222, 128, .14);
}
.qfw-diag-banner-degraded {
  border-color: rgba(255, 181, 71, .42);
  background: linear-gradient(180deg, rgba(255, 181, 71, .12), rgba(8, 17, 13, .58));
}
.qfw-diag-banner-fail {
  border-color: rgba(255, 95, 122, .42);
  background: linear-gradient(180deg, rgba(255, 95, 122, .12), rgba(8, 17, 13, .58));
}
.qfw-diag-banner-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--slime-hot);
  box-shadow: 0 0 14px var(--slime-glow);
}
.qfw-diag-banner-degraded .qfw-diag-banner-dot { background: var(--warn); box-shadow: 0 0 14px rgba(255, 181, 71, .42); }
.qfw-diag-banner-fail .qfw-diag-banner-dot     { background: var(--bad);  box-shadow: 0 0 14px rgba(255, 95, 122, .42);  }
.qfw-diag-banner-copy strong {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: -.01em;
  margin-bottom: 2px;
}
.qfw-diag-banner-copy span {
  color: var(--ink-3);
  font-size: 12px;
}
.qfw-diag-banner-ts {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-4);
  letter-spacing: .08em;
}

.qfw-diag-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 18px 16px;
  border: 1px solid var(--rule-2);
  border-radius: 14px;
  background: rgba(8, 17, 13, .42);
}
.qfw-diag-card-live { border-color: rgba(110, 240, 151, .28); }
.qfw-diag-card-degraded { border-color: rgba(255, 181, 71, .32); }
.qfw-diag-card-fail { border-color: rgba(255, 95, 122, .36); }
.qfw-diag-card-unknown { border-color: var(--rule-3); }

.qfw-diag-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.qfw-diag-card-title {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.012em;
}
.qfw-diag-sev {
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .14em;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid currentColor;
}
.qfw-diag-sev-live     { color: var(--slime-hot); background: rgba(74, 222, 128, .10); }
.qfw-diag-sev-degraded { color: var(--warn);      background: rgba(255, 181, 71, .12); }
.qfw-diag-sev-fail     { color: var(--bad);       background: rgba(255, 95, 122, .12); }
.qfw-diag-sev-unknown  { color: var(--ink-4);     background: rgba(255, 255, 255, .04); }

.qfw-diag-card-rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.qfw-diag-card-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  align-items: center;
  font-size: 12px;
  padding: 5px 0;
  border-bottom: 1px solid var(--rule-1);
}
.qfw-diag-card-row:last-child { border-bottom: none; }
.qfw-diag-card-row > span { color: var(--ink-4); letter-spacing: .04em; }
.qfw-diag-card-row > code {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11.5px;
  text-align: right;
  word-break: break-all;
}

.qfw-diag-card-error {
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 95, 122, .28);
  border-radius: 10px;
  background: rgba(255, 95, 122, .08);
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.qfw-diag-card-error strong {
  color: var(--bad);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.qfw-diag-card-error span { color: var(--ink-2); }

.qfw-diag-error {
  grid-column: 1 / -1;
  padding: 24px;
  border: 1px solid rgba(255, 95, 122, .36);
  border-radius: 14px;
  background: rgba(255, 95, 122, .08);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.qfw-diag-error strong {
  color: var(--bad);
  font-family: var(--serif);
  font-size: 16px;
}

.qfw-diag-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 32px;
  border-top: 1px solid var(--rule-2);
  background: rgba(3, 8, 6, .48);
}
.qfw-diag-foot-meta {
  color: var(--ink-4);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.qfw-diag-refresh {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--edge-hi);
  background: linear-gradient(180deg, rgba(74, 222, 128, .18), rgba(13, 77, 36, .42));
  color: var(--ink);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .04em;
  cursor: pointer;
  transition: all var(--dur-hover) var(--ease);
}
.qfw-diag-refresh:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 22px rgba(74, 222, 128, .26);
}

/* ─── Chain mismatch banner ─────────────────────────────────────────── */

.qfw-chain-banner {
  width: min(1500px, calc(100% - 32px));
  margin: 12px auto 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 95, 122, .42);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 95, 122, .14), rgba(8, 17, 13, .58));
  box-shadow: 0 0 24px rgba(255, 95, 122, .12);
  position: relative;
  z-index: 2;
  font-family: var(--sans);
}
.qfw-chain-banner-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bad);
  box-shadow: 0 0 14px rgba(255, 95, 122, .42);
  animation: qfw-banner-pulse 1.8s var(--ease) infinite;
}
@keyframes qfw-banner-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .65; transform: scale(1.18); }
}
.qfw-chain-banner-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.qfw-chain-banner-copy strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: -.01em;
}
.qfw-chain-banner-copy span {
  color: var(--ink-2);
  font-size: 12px;
}
.qfw-chain-banner-action {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 95, 122, .58);
  background: rgba(255, 95, 122, .14);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .04em;
  cursor: pointer;
  transition: all var(--dur-hover) var(--ease);
}
.qfw-chain-banner-action:hover {
  background: rgba(255, 95, 122, .22);
  transform: translateY(-1px);
}

/* When the chain is mismatched the wallet pill picks up a chip */
.wallet-pill[data-chain="mismatch"]::after {
  content: "MISMATCH";
  margin-left: 10px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 95, 122, .16);
  color: var(--bad);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
}

/* ─── Account switcher popover ──────────────────────────────────────── */

.qfw-acct-pop {
  position: fixed;
  z-index: 70;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--edge-hi);
  border-radius: 16px;
  background:
    radial-gradient(400px 200px at 50% 0%, rgba(74, 222, 128, .08), transparent 70%),
    linear-gradient(180deg, rgba(12, 24, 18, .96), rgba(3, 8, 6, .98));
  box-shadow: var(--shadow-hi);
  backdrop-filter: blur(22px) saturate(120%);
  -webkit-backdrop-filter: blur(22px) saturate(120%);
  font-family: var(--sans);
  color: var(--ink);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity var(--dur-hover) var(--ease), transform var(--dur-hover) var(--ease);
}
.qfw-acct-pop[data-open="true"] { opacity: 1; transform: translateY(0); }

.qfw-acct-section { padding: 12px 14px; border-bottom: 1px solid var(--rule-1); }
.qfw-acct-section:last-of-type { border-bottom: none; }
.qfw-acct-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 4px 10px;
}
.qfw-acct-iface-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--rule-3);
  background: rgba(3, 8, 6, .5);
  color: var(--ink-2);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
}
.qfw-acct-iface-pill[data-iface="evm"]       { color: var(--azure, var(--blue));   border-color: rgba(91, 141, 239, .4); }
.qfw-acct-iface-pill[data-iface="michelson"] { color: var(--slime-hot);            border-color: rgba(110, 240, 151, .42); }
.qfw-acct-section-count {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-4);
  letter-spacing: .08em;
}

.qfw-acct-row {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 8px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  text-align: left;
  cursor: pointer;
  transition: background var(--dur-hover) var(--ease), border-color var(--dur-hover) var(--ease);
}
.qfw-acct-row:hover { background: rgba(110, 240, 151, .06); }
.qfw-acct-row.active {
  background: rgba(74, 222, 128, .10);
  border-color: var(--edge-hi);
}
.qfw-acct-radio {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid var(--rule-3);
  background: rgba(3, 8, 6, .5);
  position: relative;
  flex: 0 0 16px;
}
.qfw-acct-row.active .qfw-acct-radio {
  border-color: var(--slime-hot);
  box-shadow: inset 0 0 0 3px var(--slime-hot), 0 0 10px rgba(74, 222, 128, .3);
}
.qfw-acct-meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.qfw-acct-addr {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink);
}
.qfw-acct-chain {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-4);
  letter-spacing: .08em;
}

.qfw-acct-foot {
  padding: 10px 14px 14px;
  border-top: 1px solid var(--rule-2);
}
.qfw-acct-disconnect {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 95, 122, .32);
  background: rgba(255, 95, 122, .08);
  color: var(--bad);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .04em;
  cursor: pointer;
  transition: all var(--dur-hover) var(--ease);
}
.qfw-acct-disconnect:hover {
  background: rgba(255, 95, 122, .16);
  border-color: rgba(255, 95, 122, .5);
}

/* ─── Pre-flight panel ──────────────────────────────────────────────── */

.preflight-list {
  display: flex;
  flex-direction: column;
  padding: 0 0 var(--s-2);
}
.preflight-row {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-top: 1px solid var(--rule-1);
}
.preflight-row:first-child { border-top: none; }
.preflight-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rule-4);
  border: 1px solid var(--rule-4);
  flex: 0 0 10px;
}
.preflight-row.state-ok .preflight-dot {
  background: var(--slime-hot);
  border-color: var(--slime-hot);
  box-shadow: 0 0 10px var(--slime-glow);
}
.preflight-row.state-pending .preflight-dot {
  background: transparent;
  border-color: var(--warn);
  box-shadow: 0 0 10px rgba(255, 181, 71, .26);
}
.preflight-row.state-fail .preflight-dot {
  background: var(--bad);
  border-color: var(--bad);
  box-shadow: 0 0 10px rgba(255, 95, 122, .32);
}
.preflight-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.preflight-copy strong {
  color: var(--ink);
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -.005em;
}
.preflight-copy span {
  color: var(--ink-3);
  font-size: 11.5px;
  line-height: 1.45;
}

/* ─── Status footer diagnostics button ──────────────────────────────── */

.status-diag-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--rule-3);
  background: rgba(8, 17, 13, .56);
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--dur-hover) var(--ease);
}
.status-diag-btn:hover {
  border-color: var(--edge-hi);
  color: var(--ink);
  background: rgba(13, 28, 20, .82);
  box-shadow: 0 0 20px rgba(74, 222, 128, .14);
}
.status-diag-btn svg { width: 12px; height: 12px; flex: 0 0 12px; }

/* ─── Chart source badge (detail surface) ───────────────────────────── */

.chart-source {
  display: inline-flex;
  align-items: center;
  margin-left: 10px;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--rule-3);
  background: rgba(3, 8, 6, .42);
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.chart-source.live {
  color: var(--slime-hot);
  border-color: rgba(110, 240, 151, .36);
  background: rgba(74, 222, 128, .08);
}
.chart-source.pinned {
  color: var(--azure, #5b8def);
  border-color: rgba(91, 141, 239, .32);
  background: rgba(91, 141, 239, .08);
}
.chart-source.synthetic {
  color: var(--warn);
  border-color: rgba(255, 181, 71, .32);
  background: rgba(255, 181, 71, .08);
}
.chart-source.loading {
  color: var(--ink-4);
  border-style: dashed;
}

.chart-stat strong.pos { color: var(--slime-hot); }
.chart-stat strong.neg { color: var(--bad); }

/* ─── Responsive: collapse diagnostics drawer body to one column ────── */

@media (max-width: 720px) {
  .qfw-diag-body { grid-template-columns: 1fr; }
  .qfw-diag-head { padding: 22px 22px 16px; }
  .qfw-diag-body { padding: 18px 22px 22px; }
  .qfw-diag-foot { padding: 12px 22px; }
  .qfw-chain-banner {
    grid-template-columns: auto 1fr;
  }
  .qfw-chain-banner-action {
    grid-column: 2;
  }
}

/* ════════════════════════════════════════════════════════════════════════════
   v2.2 · STAKING SURFACE
   ════════════════════════════════════════════════════════════════════════════ */

/* Hero */
.staking-hero {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 4px 2px;
}
.staking-hero-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.staking-hero-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted, rgba(220,255,235,.55));
}
.staking-hero-baker {
  font-size: 13px;
  color: var(--text-2, rgba(220,255,235,.78));
}
.staking-hero-baker strong {
  color: var(--slime-hot);
  font-weight: 600;
}
.staking-hero-total {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.staking-hero-total strong {
  font-family: var(--mono);
  font-size: 42px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--text, #e6fff0);
}
.staking-hero-total .unit {
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: .08em;
  color: var(--text-muted, rgba(220,255,235,.55));
  text-transform: uppercase;
}

/* Balance grid */
.staking-hero-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 880px) {
  .staking-hero-grid { grid-template-columns: repeat(2, 1fr); }
}
.staking-balance {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(8, 19, 13, .56);
  border: 1px solid var(--edge);
}
.staking-balance-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted, rgba(220,255,235,.55));
}
.staking-balance-val {
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 500;
  color: var(--text, #e6fff0);
}
.staking-balance-val em {
  font-style: normal;
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--text-muted, rgba(220,255,235,.55));
  margin-left: 2px;
}
.staking-balance-live { border-color: var(--edge-hi); }
.staking-balance-comp { border-color: rgba(34, 232, 246, .35); }
.staking-balance-warn { border-color: rgba(244, 179, 80, .42); }
.staking-balance-pqc  { border-color: rgba(168, 130, 255, .42); }

/* Cycle panel */
#staking-cycle .cycle-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 6px 2px;
}
.cycle-num {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cycle-num-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted, rgba(220,255,235,.55));
}
.cycle-num strong {
  font-family: var(--mono);
  font-size: 32px;
  font-weight: 500;
  color: var(--text, #e6fff0);
  letter-spacing: -.01em;
}
.cycle-bar {
  position: relative;
  height: 6px;
  border-radius: 3px;
  background: rgba(8, 19, 13, .8);
  border: 1px solid var(--edge);
  overflow: hidden;
}
.cycle-bar-fill {
  position: absolute;
  inset: 0 auto 0 0;
  background: linear-gradient(90deg, var(--slime-deep), var(--slime-hot));
  transition: width .4s ease;
}
.cycle-meta,
.cycle-params {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-muted, rgba(220,255,235,.55));
}
.cycle-meta strong,
.cycle-params strong {
  color: var(--text-2, rgba(220,255,235,.78));
  font-weight: 500;
}

/* Compose tabs */
.compose-tabs {
  display: flex;
  gap: 4px;
  padding: 3px;
  background: rgba(8, 19, 13, .72);
  border: 1px solid var(--edge);
  border-radius: 10px;
}
.compose-tab {
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--text-muted, rgba(220,255,235,.55));
  padding: 7px 14px;
  border-radius: 7px;
  font-family: var(--sans, system-ui);
  font-size: 12px;
  letter-spacing: .04em;
  cursor: pointer;
  transition: all .15s ease;
}
.compose-tab:hover {
  color: var(--text-2, rgba(220,255,235,.85));
}
.compose-tab.active {
  background: rgba(74, 222, 128, .14);
  color: var(--slime-hot);
}

/* Compose body */
.compose-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 18px 2px 4px;
}
.compose-amount-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.compose-amount-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted, rgba(220,255,235,.55));
}
.compose-amount-field {
  display: flex;
  align-items: stretch;
  gap: 8px;
}
.compose-amount-input {
  flex: 1;
  appearance: none;
  background: rgba(8, 19, 13, .72);
  border: 1px solid var(--edge);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--mono);
  font-size: 18px;
  color: var(--text, #e6fff0);
  outline: none;
  transition: border-color .15s ease;
}
.compose-amount-input:focus {
  border-color: var(--edge-hi);
}
.compose-amount-unit {
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--text-muted, rgba(220,255,235,.55));
  background: rgba(8, 19, 13, .56);
  border: 1px solid var(--edge);
  border-radius: 10px;
}
.compose-max {
  appearance: none;
  background: transparent;
  border: 1px dashed var(--edge);
  color: var(--slime-hot);
  padding: 0 12px;
  border-radius: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .04em;
  cursor: pointer;
  transition: all .15s ease;
}
.compose-max:hover {
  border-color: var(--edge-hi);
  background: rgba(74, 222, 128, .06);
}

/* Disclosures */
.compose-warn,
.compose-info,
.compose-slash {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-2, rgba(220,255,235,.85));
}
.compose-warn {
  background: rgba(244, 179, 80, .08);
  border: 1px solid rgba(244, 179, 80, .35);
}
.compose-info {
  background: rgba(34, 232, 246, .06);
  border: 1px solid rgba(34, 232, 246, .28);
}
.compose-slash {
  background: rgba(252, 100, 100, .06);
  border: 1px solid rgba(252, 100, 100, .35);
}
.compose-warn strong,
.compose-info strong,
.compose-slash strong { color: var(--text, #e6fff0); margin-right: 4px; }

/* Summary table */
.compose-summary-rows {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  background: rgba(8, 19, 13, .56);
  border: 1px solid var(--edge);
  border-radius: 10px;
}
.compose-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  padding: 4px 0;
}
.compose-summary-row span {
  color: var(--text-muted, rgba(220,255,235,.55));
  font-family: var(--mono);
  letter-spacing: .04em;
}
.compose-summary-row strong {
  color: var(--text, #e6fff0);
  font-family: var(--mono);
  font-weight: 500;
}
.compose-summary-empty {
  padding: 16px 14px;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted, rgba(220,255,235,.45));
  background: rgba(8, 19, 13, .42);
  border: 1px dashed var(--edge);
  border-radius: 10px;
}
.compose-empty {
  padding: 24px 14px;
  text-align: center;
  font-size: 13px;
  color: var(--text-2, rgba(220,255,235,.78));
  background: rgba(8, 19, 13, .42);
  border: 1px dashed var(--edge);
  border-radius: 10px;
  line-height: 1.6;
}
.compose-empty strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text, #e6fff0);
}

/* Compose actions */
.compose-actions {
  display: flex;
  justify-content: flex-end;
}
.compose-sign {
  min-width: 200px;
}
.compose-sign:disabled {
  opacity: .42;
  cursor: not-allowed;
}

/* Bakers panel */
#staking-bakers .baker-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px 2px 0;
  max-height: 480px;
  overflow-y: auto;
}
.baker-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  background: rgba(8, 19, 13, .42);
  border: 1px solid var(--edge);
  border-radius: 10px;
  transition: border-color .15s ease;
}
.baker-row:hover { border-color: var(--edge-hi); }
.baker-id {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.baker-id strong {
  font-size: 13px;
  color: var(--text, #e6fff0);
  font-weight: 500;
}
.baker-id .baker-addr {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--text-muted, rgba(220,255,235,.45));
}
.baker-id .baker-note {
  font-size: 10.5px;
  color: var(--text-muted, rgba(220,255,235,.55));
  font-style: italic;
}
.baker-stats {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
}
.baker-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.baker-stat span {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted, rgba(220,255,235,.45));
}
.baker-stat strong {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--text-2, rgba(220,255,235,.85));
  font-weight: 500;
}
.baker-cap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.baker-cap-bar {
  position: relative;
  width: 70px;
  height: 4px;
  border-radius: 2px;
  background: rgba(8, 19, 13, .9);
  border: 1px solid var(--edge);
  overflow: hidden;
}
.baker-cap-fill {
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--slime);
  transition: width .3s ease;
}
.baker-cap-bar.mid .baker-cap-fill { background: #f4b350; }
.baker-cap-bar.high .baker-cap-fill { background: #fc6464; }
.baker-cap-label {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--text-muted, rgba(220,255,235,.55));
  min-width: 32px;
  text-align: right;
}
.baker-select {
  appearance: none;
  background: transparent;
  border: 1px solid var(--edge);
  color: var(--slime-hot);
  padding: 8px 14px;
  border-radius: 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .15s ease;
}
.baker-select:hover {
  border-color: var(--edge-hi);
  background: rgba(74, 222, 128, .06);
}

/* Requests table */
.requests-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  margin-top: 8px;
}
.requests-table th,
.requests-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--edge);
  font-family: var(--mono);
}
.requests-table th {
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted, rgba(220,255,235,.45));
  font-weight: 500;
}
.requests-table td {
  color: var(--text-2, rgba(220,255,235,.85));
}
.requests-table tr:last-child td { border-bottom: 0; }

/* Education cards */
.edu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 8px 2px 2px;
}
@media (max-width: 880px) {
  .edu-grid { grid-template-columns: 1fr; }
}
.edu-card {
  padding: 14px 16px;
  background: rgba(8, 19, 13, .56);
  border: 1px solid var(--edge);
  border-radius: 12px;
}
.edu-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--slime-hot);
  font-size: 12px;
  letter-spacing: .04em;
}
.edu-card p {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-2, rgba(220,255,235,.78));
}

/* ════════════════════════════════════════════════════════════════════════════
   v2.2 · NETWORK SWITCHER
   ════════════════════════════════════════════════════════════════════════════ */

.network-pill {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  height: 36px;
  background: rgba(8, 19, 13, .56);
  border: 1px solid var(--edge);
  border-radius: 999px;
  color: var(--text-2, rgba(220,255,235,.85));
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  cursor: pointer;
  transition: all .15s ease;
}
.network-pill:hover {
  border-color: var(--edge-hi);
  background: rgba(8, 19, 13, .72);
}
.network-pill[data-mainnet="true"] {
  border-color: var(--edge-hi);
}
.network-pill[data-mainnet="false"] {
  border-color: rgba(244, 179, 80, .35);
  color: #f4b350;
}
.network-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--slime-hot);
  box-shadow: 0 0 8px var(--slime-glow);
}
.network-pill[data-mainnet="false"] .network-pill-dot {
  background: #f4b350;
  box-shadow: 0 0 8px rgba(244, 179, 80, .5);
}
.network-pill-name {
  font-weight: 500;
}
.network-pill-caret {
  font-size: 10px;
  opacity: .6;
}

.network-popover {
  z-index: 1200;
  width: 360px;
  max-width: 92vw;
  background: rgba(5, 12, 8, .96);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--edge-hi);
  border-radius: 14px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, .6), 0 0 0 1px rgba(110, 240, 151, .08);
  overflow: hidden;
}
.network-popover-head {
  padding: 14px 16px 10px;
  border-bottom: 1px solid var(--edge);
}
.network-popover-head strong {
  display: block;
  font-size: 11px;
  font-family: var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--slime-hot);
  margin-bottom: 4px;
}
.network-popover-head span {
  font-size: 11.5px;
  color: var(--text-muted, rgba(220,255,235,.55));
  line-height: 1.4;
}
.network-popover-list {
  display: flex;
  flex-direction: column;
  padding: 6px;
}
.network-row {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 12px;
  background: transparent;
  border: 0;
  border-radius: 10px;
  text-align: left;
  cursor: pointer;
  transition: background .12s ease;
}
.network-row:hover {
  background: rgba(74, 222, 128, .06);
}
.network-row.active {
  background: rgba(74, 222, 128, .1);
}
.network-row-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.network-row-tag {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .14em;
  padding: 3px 7px;
  border-radius: 4px;
  background: rgba(8, 19, 13, .8);
  border: 1px solid var(--edge);
  color: var(--text-muted, rgba(220,255,235,.65));
}
.network-row-tag.tag-mainnet {
  border-color: var(--edge-hi);
  color: var(--slime-hot);
}
.network-row-tag.tag-ghostnet,
.network-row-tag.tag-previewnet {
  border-color: rgba(244, 179, 80, .42);
  color: #f4b350;
}
.network-row-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.network-row-text strong {
  font-size: 13px;
  color: var(--text, #e6fff0);
  font-weight: 500;
}
.network-row-text span {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--text-muted, rgba(220,255,235,.45));
}
.network-row-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.network-row-rpc {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .04em;
  color: var(--text-muted, rgba(220,255,235,.45));
}
.network-row-check {
  color: var(--slime-hot);
  font-size: 14px;
}
.network-popover-foot {
  padding: 10px 16px;
  border-top: 1px solid var(--edge);
  font-size: 10.5px;
  font-family: var(--mono);
  color: var(--text-muted, rgba(220,255,235,.45));
  letter-spacing: .02em;
}

/* ════════════════════════════════════════════════════════════════════════════
   v2.2 · DIAGNOSTICS POOL CARDS
   ════════════════════════════════════════════════════════════════════════════ */

.qfw-diag-pool-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 2px 2px;
}
.qfw-diag-pool-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(8, 19, 13, .42);
  border: 1px solid var(--edge);
  border-radius: 8px;
}
.qfw-diag-pool-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 5px;
  flex-shrink: 0;
}
.qfw-diag-pool-dot.tone-green { background: var(--slime-hot); box-shadow: 0 0 6px var(--slime-glow); }
.qfw-diag-pool-dot.tone-amber { background: #f4b350; box-shadow: 0 0 6px rgba(244, 179, 80, .5); }
.qfw-diag-pool-dot.tone-red   { background: #fc6464; box-shadow: 0 0 6px rgba(252, 100, 100, .5); }
.qfw-diag-pool-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.qfw-diag-pool-text strong {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text, #e6fff0);
  font-weight: 500;
}
.qfw-diag-pool-text span {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--text-muted, rgba(220,255,235,.55));
  letter-spacing: .02em;
}
.qfw-diag-pool-err {
  color: #fc6464 !important;
  font-style: italic;
}

/* ════════════════════════════════════════════════════════════════════════════
   v2.3 · POLISH SYSTEM — unified primitives
   ════════════════════════════════════════════════════════════════════════════ */

/* ─── BUTTONS ─────────────────────────────────────────────────────────── */

.qf-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--sans, system-ui);
  font-weight: 500;
  letter-spacing: .005em;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .08s ease, box-shadow .15s ease;
  user-select: none;
  white-space: nowrap;
  outline: none;
}
.qf-btn:focus-visible {
  box-shadow: 0 0 0 2px rgba(110, 240, 151, .35), 0 0 0 4px rgba(110, 240, 151, .12);
}
.qf-btn:active:not(:disabled) { transform: translateY(1px); }
.qf-btn:disabled {
  cursor: not-allowed;
  opacity: .42;
}

/* Sizes */
.qf-btn-xs { padding: 4px 10px; font-size: 11px; border-radius: 7px; min-height: 24px; }
.qf-btn-sm { padding: 7px 14px; font-size: 12px; border-radius: 8px; min-height: 32px; }
.qf-btn-md { padding: 9px 18px; font-size: 13px; border-radius: 10px; min-height: 38px; }
.qf-btn-lg { padding: 12px 22px; font-size: 14px; border-radius: 12px; min-height: 46px; }

/* Variants */
.qf-btn-primary {
  background: linear-gradient(180deg, #4ade80 0%, #2ec565 100%);
  color: #03150b;
  border-color: rgba(110, 240, 151, .35);
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 8px 24px rgba(74, 222, 128, .18);
  font-weight: 600;
}
.qf-btn-primary:hover:not(:disabled) {
  background: linear-gradient(180deg, #5ce88c 0%, #38d672 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,.22) inset, 0 12px 32px rgba(74, 222, 128, .28);
}

.qf-btn-secondary {
  background: rgba(13, 28, 20, .68);
  color: var(--text, #e6fff0);
  border-color: var(--edge-hi);
}
.qf-btn-secondary:hover:not(:disabled) {
  background: rgba(18, 48, 30, .82);
  border-color: var(--slime-hot);
}

.qf-btn-ghost {
  background: transparent;
  color: var(--text-2, rgba(220, 255, 235, .82));
  border-color: var(--edge);
}
.qf-btn-ghost:hover:not(:disabled) {
  background: rgba(74, 222, 128, .06);
  border-color: var(--edge-hi);
  color: var(--text, #e6fff0);
}

.qf-btn-danger {
  background: linear-gradient(180deg, #fc6464 0%, #d94444 100%);
  color: #fff;
  border-color: rgba(252, 100, 100, .42);
  box-shadow: 0 1px 0 rgba(255,255,255,.16) inset, 0 8px 24px rgba(252, 100, 100, .22);
  font-weight: 600;
}
.qf-btn-danger:hover:not(:disabled) {
  background: linear-gradient(180deg, #ff7878 0%, #e35555 100%);
}

.qf-btn-success {
  background: linear-gradient(180deg, #22e8f6 0%, #16b8c5 100%);
  color: #03161c;
  border-color: rgba(34, 232, 246, .42);
  font-weight: 600;
}

/* Loading state */
.qf-btn-loading .qf-btn-label { opacity: .85; }
.qf-btn-loading .qf-spinner { color: currentColor; }

.qf-btn-has-icon .qf-btn-icon {
  display: inline-flex;
  align-items: center;
  width: 16px;
  height: 16px;
}
.qf-btn-has-icon .qf-btn-icon svg { width: 100%; height: 100%; }

/* Icon button */
.qf-icon-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--edge);
  border-radius: 8px;
  color: var(--text-2, rgba(220, 255, 235, .78));
  cursor: pointer;
  transition: all .15s ease;
}
.qf-icon-btn:hover:not(:disabled) {
  background: rgba(74, 222, 128, .06);
  border-color: var(--edge-hi);
  color: var(--text, #e6fff0);
}
.qf-icon-btn:focus-visible {
  box-shadow: 0 0 0 2px rgba(110, 240, 151, .35);
  outline: none;
}
.qf-icon-btn-xs { width: 24px; height: 24px; }
.qf-icon-btn-sm { width: 32px; height: 32px; }
.qf-icon-btn-md { width: 38px; height: 38px; }
.qf-icon-btn-lg { width: 46px; height: 46px; }
.qf-icon-btn-ghost { border-color: var(--edge); }
.qf-icon-btn-primary { background: var(--slime); color: #03150b; border-color: var(--slime-hot); }
.qf-icon-btn-danger { color: #fc6464; border-color: rgba(252, 100, 100, .35); }

/* ─── BADGES ──────────────────────────────────────────────────────────── */

.qf-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1px solid;
  white-space: nowrap;
  line-height: 1.4;
}
.qf-badge-sm { padding: 2px 7px; font-size: 9.5px; }
.qf-badge-md { padding: 3px 9px; font-size: 10px; }

.qf-badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 6px currentColor;
}
.qf-badge-live    { color: var(--slime-hot); background: rgba(74, 222, 128, .08); border-color: var(--edge-hi); }
.qf-badge-pass    { color: var(--slime-hot); background: rgba(74, 222, 128, .08); border-color: var(--edge-hi); }
.qf-badge-warn    { color: #f4b350; background: rgba(244, 179, 80, .08); border-color: rgba(244, 179, 80, .35); }
.qf-badge-caution { color: #f4b350; background: rgba(244, 179, 80, .08); border-color: rgba(244, 179, 80, .35); }
.qf-badge-fail    { color: #fc6464; background: rgba(252, 100, 100, .08); border-color: rgba(252, 100, 100, .35); }
.qf-badge-neutral { color: var(--text-muted, rgba(220, 255, 235, .55)); background: rgba(8, 19, 13, .56); border-color: var(--edge); }
.qf-badge-mono    { color: #22e8f6; background: rgba(34, 232, 246, .06); border-color: rgba(34, 232, 246, .28); }
.qf-badge-pqc     { color: #a882ff; background: rgba(168, 130, 255, .08); border-color: rgba(168, 130, 255, .35); }

/* ─── SPINNER ─────────────────────────────────────────────────────────── */

.qf-spinner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
}
.qf-spinner svg {
  animation: qf-spin 0.85s linear infinite;
}
.qf-spinner-xs svg { width: 12px; height: 12px; }
.qf-spinner-sm svg { width: 14px; height: 14px; }
.qf-spinner-md svg { width: 18px; height: 18px; }
.qf-spinner-lg svg { width: 28px; height: 28px; }

@keyframes qf-spin {
  to { transform: rotate(360deg); }
}

/* ─── SKELETON LOADER ─────────────────────────────────────────────────── */

.qf-skeleton {
  display: inline-block;
  background: linear-gradient(
    90deg,
    rgba(74, 222, 128, .04) 0%,
    rgba(74, 222, 128, .10) 50%,
    rgba(74, 222, 128, .04) 100%
  );
  background-size: 200% 100%;
  animation: qf-shimmer 1.4s ease-in-out infinite;
  border: 1px solid var(--edge-soft);
}
@keyframes qf-shimmer {
  0%   { background-position: -100% 0; }
  100% { background-position: 100% 0; }
}
.qf-skeleton-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px 2px;
}

/* ─── EMPTY STATE ─────────────────────────────────────────────────────── */

.qf-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 32px 24px;
  border: 1px dashed var(--edge);
  border-radius: 12px;
  background: rgba(8, 19, 13, .32);
  text-align: center;
}
.qf-empty-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  border-radius: 50%;
  background: rgba(74, 222, 128, .08);
  border: 1px solid var(--edge);
  color: var(--slime-hot);
}
.qf-empty-icon svg { width: 18px; height: 18px; }
.qf-empty-title {
  font-size: 13px;
  color: var(--text, #e6fff0);
  font-weight: 500;
}
.qf-empty-body {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-muted, rgba(220, 255, 235, .55));
  max-width: 380px;
}
.qf-empty-action { margin-top: 8px; }

/* ─── TOOLTIP ─────────────────────────────────────────────────────────── */

#qf-tooltip-root {
  position: fixed;
  z-index: 10000;
  pointer-events: none;
}
.qf-tooltip {
  position: fixed;
  background: rgba(5, 12, 8, .96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--edge-hi);
  border-radius: 6px;
  color: var(--text, #e6fff0);
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: .01em;
  padding: 6px 10px;
  max-width: 280px;
  line-height: 1.4;
  box-shadow: 0 12px 24px rgba(0, 0, 0, .5);
  opacity: 0;
  transform: translateY(2px);
  transition: opacity .12s ease, transform .12s ease;
}
.qf-tooltip.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── CONFIRM DIALOG ──────────────────────────────────────────────────── */

.qf-confirm-scrim {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(2, 8, 5, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transition: background .18s ease, backdrop-filter .18s ease;
  padding: 24px;
}
.qf-confirm-scrim.open {
  background: rgba(2, 8, 5, .68);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.qf-confirm {
  background: rgba(8, 18, 12, .96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--edge-hi);
  border-radius: 14px;
  padding: 28px;
  max-width: 460px;
  width: 100%;
  box-shadow: 0 32px 64px rgba(0, 0, 0, .6), 0 0 0 1px rgba(110, 240, 151, .08);
  transform: translateY(8px) scale(.985);
  opacity: 0;
  transition: transform .22s cubic-bezier(.16, 1, .3, 1), opacity .18s ease;
}
.qf-confirm-scrim.open .qf-confirm {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.qf-confirm-danger { border-color: rgba(252, 100, 100, .42); }
.qf-confirm-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(74, 222, 128, .1);
  border: 1px solid var(--edge-hi);
  color: var(--slime-hot);
  margin-bottom: 16px;
}
.qf-confirm-danger .qf-confirm-icon {
  background: rgba(252, 100, 100, .1);
  border-color: rgba(252, 100, 100, .42);
  color: #fc6464;
}
.qf-confirm-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 500;
  color: var(--text, #e6fff0);
  letter-spacing: -.01em;
  line-height: 1.3;
}
.qf-confirm-body {
  margin: 0 0 22px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-2, rgba(220, 255, 235, .78));
}
.qf-confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* ─── PROGRESS BAR ────────────────────────────────────────────────────── */

.qf-progress {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.qf-progress-track {
  position: relative;
  height: 6px;
  border-radius: 3px;
  background: rgba(8, 19, 13, .85);
  border: 1px solid var(--edge);
  overflow: hidden;
}
.qf-progress-fill {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: 3px;
  transition: width .4s cubic-bezier(.16, 1, .3, 1);
}
.qf-progress-live { background: linear-gradient(90deg, var(--slime-deep), var(--slime-hot)); }
.qf-progress-comp { background: linear-gradient(90deg, #1e7a8c, #22e8f6); }
.qf-progress-warn { background: linear-gradient(90deg, #8a5a18, #f4b350); }
.qf-progress-fail { background: linear-gradient(90deg, #7a2828, #fc6464); }
.qf-progress-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .04em;
  color: var(--text-muted, rgba(220, 255, 235, .55));
  text-align: right;
}

/* ─── FORM FIELD ──────────────────────────────────────────────────────── */

.qf-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.qf-field-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted, rgba(220, 255, 235, .55));
}
.qf-field-error .qf-field-label { color: #fc6464; }
.qf-field-hint {
  font-size: 11px;
  color: var(--text-muted, rgba(220, 255, 235, .45));
  line-height: 1.45;
}
.qf-field-error-text {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: #fc6464;
  line-height: 1.45;
}
.qf-field input,
.qf-field textarea,
.qf-field select {
  appearance: none;
  background: rgba(8, 19, 13, .72);
  border: 1px solid var(--edge);
  border-radius: 10px;
  padding: 10px 12px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text, #e6fff0);
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.qf-field input:focus,
.qf-field textarea:focus,
.qf-field select:focus {
  border-color: var(--edge-hi);
  box-shadow: 0 0 0 3px rgba(110, 240, 151, .12);
}
.qf-field-error input,
.qf-field-error textarea,
.qf-field-error select {
  border-color: rgba(252, 100, 100, .42);
}
.qf-field-error input:focus,
.qf-field-error textarea:focus,
.qf-field-error select:focus {
  box-shadow: 0 0 0 3px rgba(252, 100, 100, .14);
}

/* ─── PANEL HEADER ────────────────────────────────────────────────────── */

.qf-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--edge);
}
.qf-panel-head-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.qf-panel-eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted, rgba(220, 255, 235, .55));
}
.qf-panel-title {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--text, #e6fff0);
  letter-spacing: -.005em;
}
.qf-panel-head-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.qf-panel-meta {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .04em;
  color: var(--text-muted, rgba(220, 255, 235, .55));
}

/* ─── INLINE STAT ─────────────────────────────────────────────────────── */

.qf-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  background: rgba(8, 19, 13, .42);
  border: 1px solid var(--edge);
  border-radius: 10px;
}
.qf-stat-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted, rgba(220, 255, 235, .55));
}
.qf-stat-value {
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 500;
  color: var(--text, #e6fff0);
  letter-spacing: -.005em;
}
.qf-stat-sub {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--text-muted, rgba(220, 255, 235, .45));
}
.qf-stat-live { border-color: var(--edge-hi); }
.qf-stat-warn { border-color: rgba(244, 179, 80, .42); }
.qf-stat-fail { border-color: rgba(252, 100, 100, .42); }
.qf-stat-comp { border-color: rgba(34, 232, 246, .35); }

/* ─── DIVIDER ─────────────────────────────────────────────────────────── */

.qf-divider {
  position: relative;
  display: flex;
  align-items: center;
  margin: 16px 0;
}
.qf-divider::before {
  content: '';
  position: absolute;
  inset: 50% 0 auto 0;
  height: 1px;
  background: var(--edge);
}
.qf-divider-label {
  position: relative;
  background: rgba(8, 19, 13, .96);
  padding: 0 12px;
  margin: 0 auto;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted, rgba(220, 255, 235, .45));
}

/* ─── ADDRESS CHIP ────────────────────────────────────────────────────── */

.qf-addr {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  background: rgba(8, 19, 13, .56);
  border: 1px solid var(--edge);
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-2, rgba(220, 255, 235, .85));
  cursor: pointer;
  transition: all .15s ease;
  letter-spacing: .02em;
}
.qf-addr:hover:not(:disabled) {
  background: rgba(74, 222, 128, .06);
  border-color: var(--edge-hi);
  color: var(--text, #e6fff0);
}
.qf-addr.copied {
  background: rgba(74, 222, 128, .14);
  border-color: var(--slime-hot);
  color: var(--slime-hot);
}
.qf-addr-label {
  color: var(--text-muted, rgba(220, 255, 235, .45));
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.qf-addr-icon {
  opacity: .55;
  transition: opacity .15s ease;
}
.qf-addr:hover .qf-addr-icon { opacity: 1; }
.qf-addr.copied .qf-addr-icon { opacity: 1; }
.qf-addr-empty {
  display: inline-block;
  color: var(--text-muted, rgba(220, 255, 235, .35));
  font-family: var(--mono);
}

/* ════════════════════════════════════════════════════════════════════════════
   v2.3 · POLISHED TOAST SYSTEM
   ════════════════════════════════════════════════════════════════════════════ */

#toast-region {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9500;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  max-width: 380px;
  width: calc(100% - 48px);
}

.qf-toast {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(8, 18, 12, .96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--edge-hi);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .42), 0 0 0 1px rgba(110, 240, 151, .04);
  pointer-events: auto;
  opacity: 0;
  transform: translateX(20px) scale(.98);
  transition: opacity .22s cubic-bezier(.16, 1, .3, 1), transform .22s cubic-bezier(.16, 1, .3, 1);
  font-family: var(--sans);
}
.qf-toast.entered {
  opacity: 1;
  transform: translateX(0) scale(1);
}
.qf-toast.exiting {
  opacity: 0;
  transform: translateX(20px) scale(.98);
}

.qf-toast[data-intent="success"] { border-color: rgba(110, 240, 151, .42); }
.qf-toast[data-intent="error"]   { border-color: rgba(252, 100, 100, .42); }
.qf-toast[data-intent="caution"] { border-color: rgba(244, 179, 80, .42); }
.qf-toast[data-intent="info"]    { border-color: rgba(34, 232, 246, .35); }

.qf-toast-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.qf-toast[data-intent="success"] .qf-toast-icon {
  background: rgba(74, 222, 128, .14);
  color: var(--slime-hot);
}
.qf-toast[data-intent="error"] .qf-toast-icon {
  background: rgba(252, 100, 100, .14);
  color: #fc6464;
}
.qf-toast[data-intent="caution"] .qf-toast-icon {
  background: rgba(244, 179, 80, .14);
  color: #f4b350;
}
.qf-toast[data-intent="info"] .qf-toast-icon {
  background: rgba(34, 232, 246, .14);
  color: #22e8f6;
}

.qf-toast-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.qf-toast-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--text, #e6fff0);
  letter-spacing: -.005em;
}
.qf-toast-message {
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-2, rgba(220, 255, 235, .78));
}
.qf-toast-action {
  margin-top: 4px;
  align-self: flex-start;
  appearance: none;
  background: transparent;
  border: 0;
  padding: 0;
  font-family: var(--sans);
  font-size: 11.5px;
  color: var(--slime-hot);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  transition: color .12s ease;
}
.qf-toast-action:hover { color: var(--slime-2); }

.qf-toast-dismiss {
  flex-shrink: 0;
  appearance: none;
  background: transparent;
  border: 0;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted, rgba(220, 255, 235, .45));
  cursor: pointer;
  transition: all .12s ease;
}
.qf-toast-dismiss:hover {
  background: rgba(74, 222, 128, .08);
  color: var(--text, #e6fff0);
}

/* ════════════════════════════════════════════════════════════════════════════
   v2.3 · POLISHED CONNECT MODAL
   ════════════════════════════════════════════════════════════════════════════ */

.qf-modal-scrim {
  position: fixed;
  inset: 0;
  z-index: 8500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(2, 8, 5, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  opacity: 0;
  pointer-events: none;
  transition: background .22s ease, backdrop-filter .22s ease, opacity .22s ease;
}
.qf-modal-scrim[data-open="true"] {
  background: rgba(2, 8, 5, .72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 1;
  pointer-events: auto;
}

.qf-modal {
  position: relative;
  background: rgba(8, 18, 12, .96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--edge-hi);
  border-radius: 16px;
  width: 100%;
  max-width: 520px;
  max-height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(0, 0, 0, .6), 0 0 0 1px rgba(110, 240, 151, .08);
  transform: translateY(12px) scale(.985);
  transition: transform .26s cubic-bezier(.16, 1, .3, 1);
}
.qf-modal-scrim[data-open="true"] .qf-modal {
  transform: translateY(0) scale(1);
}

.qf-modal-head {
  position: relative;
  display: flex;
  gap: 14px;
  padding: 24px 24px 18px;
  border-bottom: 1px solid var(--edge);
}
.qf-modal-head-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(74, 222, 128, .12);
  border: 1px solid var(--edge-hi);
  color: var(--slime-hot);
  display: flex;
  align-items: center;
  justify-content: center;
}
.qf-modal-title {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 500;
  color: var(--text, #e6fff0);
  letter-spacing: -.01em;
}
.qf-modal-subtitle {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-2, rgba(220, 255, 235, .72));
}
.qf-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  appearance: none;
  background: transparent;
  border: 1px solid var(--edge);
  border-radius: 8px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted, rgba(220, 255, 235, .55));
  cursor: pointer;
  transition: all .12s ease;
}
.qf-modal-close:hover {
  background: rgba(74, 222, 128, .08);
  border-color: var(--edge-hi);
  color: var(--text, #e6fff0);
}

.qf-modal-body {
  padding: 20px 24px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.qf-modal-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.qf-modal-section-title {
  margin: 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted, rgba(220, 255, 235, .55));
  font-weight: 500;
}

.qf-connect-paths {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.qf-connect-path {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(8, 19, 13, .42);
  border: 1px solid var(--edge);
  border-radius: 10px;
}
.qf-connect-path-num {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(74, 222, 128, .14);
  border: 1px solid var(--edge-hi);
  color: var(--slime-hot);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
}
.qf-connect-path-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.qf-connect-path-text strong {
  font-size: 12px;
  color: var(--text, #e6fff0);
  font-weight: 500;
}
.qf-connect-path-text span {
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--text-muted, rgba(220, 255, 235, .55));
}

.qf-adapter-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.qf-adapter-row {
  appearance: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(8, 19, 13, .42);
  border: 1px solid var(--edge);
  border-radius: 10px;
  text-align: left;
  cursor: pointer;
  transition: all .15s ease;
  font-family: var(--sans);
}
.qf-adapter-row:hover:not(:disabled) {
  background: rgba(74, 222, 128, .06);
  border-color: var(--edge-hi);
  transform: translateY(-1px);
}
.qf-adapter-row:disabled {
  opacity: .45;
  cursor: not-allowed;
}
.qf-adapter-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(8, 19, 13, .8);
  border: 1px solid var(--edge);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.qf-adapter-info {
  flex: 1;
  min-width: 0;
}
.qf-adapter-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text, #e6fff0);
  letter-spacing: -.005em;
}
.qf-adapter-meta {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--text-muted, rgba(220, 255, 235, .55));
  margin-top: 2px;
}
.qf-adapter-tag {
  flex-shrink: 0;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(8, 19, 13, .8);
  border: 1px solid var(--edge);
  color: var(--text-muted, rgba(220, 255, 235, .55));
}
.qf-adapter-tag.detected,
.qf-adapter-tag.universal {
  color: var(--slime-hot);
  border-color: var(--edge-hi);
}
.qf-adapter-chevron {
  flex-shrink: 0;
  color: var(--text-muted, rgba(220, 255, 235, .35));
  transition: transform .12s ease, color .12s ease;
}
.qf-adapter-row:hover:not(:disabled) .qf-adapter-chevron {
  color: var(--slime-hot);
  transform: translateX(2px);
}

.qf-modal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 24px;
  border-top: 1px solid var(--edge);
  background: rgba(5, 12, 8, .42);
}
.qf-modal-foot-meta {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .04em;
  color: var(--text-muted, rgba(220, 255, 235, .45));
}

/* ════════════════════════════════════════════════════════════════════════════
   v2.3 · MOBILE RESPONSIVE
   ════════════════════════════════════════════════════════════════════════════ */

@media (max-width: 720px) {
  .network-pill-name {
    display: none;
  }
  .network-pill {
    padding: 0 10px;
    gap: 4px;
  }
  .network-popover {
    width: calc(100vw - 32px);
    right: 16px !important;
  }
  #toast-region {
    bottom: 16px;
    right: 16px;
    left: 16px;
    width: auto;
    max-width: none;
  }
  .qf-modal { max-height: calc(100vh - 32px); }
  .qf-modal-scrim { padding: 16px; }
  .qf-confirm-scrim { padding: 16px; }
}

/* ════════════════════════════════════════════════════════════════════════════
   v2.3 · ACCESSIBILITY — REDUCED MOTION
   ════════════════════════════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  .qf-spinner svg,
  .qf-skeleton {
    animation: none !important;
  }
  .qf-toast,
  .qf-confirm,
  .qf-modal,
  .qf-modal-scrim,
  .qf-confirm-scrim,
  .qf-tooltip {
    transition: opacity .1s ease !important;
    transform: none !important;
  }
}
