html {
  font-size: 15px;
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 40px;
  background: #f7f8fa;
}

/* Account mode band (imp-plan 6.2): blue for paper, red for live. */
.mode-band {
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.35rem 0;
  color: #fff;
}

.mode-paper { background: #1f6feb; }
.mode-live { background: #c62828; }

.mode-big {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.mode-big.mode-paper-text { color: #1f6feb; }
.mode-big.mode-live-text { color: #c62828; }

.card { margin-bottom: 1rem; }

.table-sm td, .table-sm th { white-space: nowrap; }

.num { text-align: right; font-variant-numeric: tabular-nums; }

.pnl-up { color: #1b7f3b; }
.pnl-down { color: #c62828; }

.recovery-codes {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 1.1rem;
  columns: 2;
}

.shared-key {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 1.1rem;
}

.qr { width: 220px; height: 220px; image-rendering: pixelated; }

.narrow { max-width: 420px; }
