/* Peppy shared components. Button variants adapted from shadcn/ui (MIT).
   Reference: monochrome wallet, circular actions and spacious receive sheet. */
:root {
  --paper: #fff;
  --error: #a72f2c;
  --ink: #15122B;
  --muted: #67666E;
  --line: #E6E5E8;
  --canvas: #F2F2F4;
  --surface: #F6F6F8;
  --accent: #4B22C9;
  --primary: #6A3DF5;
  --primary-hover: #4B22C9;
  --focus: #9D63FF;
  --radius: 16px;
  --control-radius: 11px;
  color: var(--ink);
  background: var(--canvas);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
body {
  background: var(--canvas);
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
/* Inline links in copy (legal, wallet information) use the brand accent, not the browser's default blue. */
a {
  color: var(--accent);
  text-underline-offset: 2px;
}
button {
  font-weight: 500;
}
button:disabled {
  opacity: 0.45;
  pointer-events: none;
}
button svg,
a svg {
  pointer-events: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
input:focus:not(:focus-visible),
select:focus:not(:focus-visible),
textarea:focus:not(:focus-visible) {
  outline: none;
  border-color: var(--focus);
}
::selection {
  background: #DEDBEA;
  color: #4B22C9;
}
h1,
h2,
h3 {
  color: var(--ink);
  text-wrap: balance;
}
h1 {
  font-size: 30px;
  font-weight: 550;
  letter-spacing: -0.8px;
  line-height: 1.25;
}
h2 {
  font-size: 17px;
  font-weight: 550;
  letter-spacing: -0.25px;
  line-height: 1.35;
}
p {
  line-height: 1.6;
}
.primary,
.secondary,
.text-button,
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-shrink: 0;
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
  transition:
    background-color 0.15s,
    color 0.15s,
    border-color 0.15s,
    opacity 0.15s;
}
.primary,
.secondary {
  min-height: 44px;
  padding: 11px 18px;
  border-radius: var(--control-radius);
  font-weight: 550;
}
.primary {
  background: var(--primary);
  border: 1px solid var(--primary);
  color: #fff;
}
@media (hover: hover) {
  .primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
  }
}
.secondary {
  color: var(--ink);
  background: #fff;
  border: 1px solid #DDDCE1;
  box-shadow: none;
}
@media (hover: hover) {
  .secondary:hover {
    background: #F1F0F4;
    border-color: #C9C7D0;
  }
}
.text-button {
  color: #4B22C9;
  min-height: 36px;
  padding: 4px 2px;
  background: none;
  border-radius: 5px;
}
@media (hover: hover) {
  .text-button:hover {
    background: none;
    color: #4B22C9;
    text-decoration: underline;
    text-underline-offset: 4px;
  }
}
.icon-button {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: #4F4D56;
}
@media (hover: hover) {
  .icon-button:hover {
    background: var(--surface);
    color: var(--ink);
  }
}
.icon-button svg,
.primary svg,
.secondary svg,
.text-button svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.7;
}
label {
  color: #34333B;
  font-size: 13px;
  font-weight: 500;
  display: block;
  margin: 18px 0 8px;
}
input:not([type="checkbox"]):not([type="radio"]),
select,
textarea,
.account-tool input,
.account-tool textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #DDDCE1;
  border-radius: var(--control-radius);
  padding: 12px 14px;
  background: #fff;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
  box-shadow: 0 1px 2px #21202303;
  transition:
    border-color 0.15s,
    background-color 0.15s;
}
input::placeholder,
textarea::placeholder {
  color: #727179;
  opacity: 1;
}
input[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: #b83c36;
}
select {
  padding-right: 34px;
}
textarea {
  resize: vertical;
  min-height: 128px;
}
.form-note,
.section-description {
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted);
  margin: 10px 0 0;
}
.error {
  font-size: 13px;
  line-height: 1.5;
  color: #a72f2c;
  margin: 12px 0;
}
.error:empty {
  display: none;
}
.notice,
.payment-notice {
  background: #F1F0F5;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 15px 17px;
  color: #4C4957;
  font-size: 13px;
  line-height: 1.65;
}
.payment-notice p {
  font-size: 13px;
  color: inherit;
}
.status-tag,
.admin-status {
  padding: 5px 9px;
  background: #F2F1F5;
  border: 1px solid #DFDEE6;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
  color: #565265;
  white-space: nowrap;
}
.status-tag:before {
  display: none;
}
.status-success {
  color: #28704d;
  background: #edf7f0;
  border-color: #d4e9da;
}
.shell {
  width: 100%;
  max-width: none;
  min-height: 100dvh;
  margin: 0;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  background: var(--paper);
  border-inline: 0;
}
.sidebar {
  width: auto;
  padding: 36px 20px 26px;
  background: #F3F2F6;
  border-right: 1px solid var(--line);
  position: sticky;
  top: 0;
  height: 100dvh;
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.6px;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 10px 50px;
}
.brand svg {
  width: 31px;
  height: 31px;
  color: #413B59;
}
.brand span {
  max-width: 100px;
}
.nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 0;
}
.nav button {
  width: 100%;
  min-height: 46px;
  padding: 12px 17px;
  gap: 13px;
  border-radius: 12px;
  color: #64626B;
  font-size: 14px;
  justify-content: flex-start;
}
.nav button.active {
  background: #6A3DF5;
  color: #fff;
}
.nav button svg {
  width: 20px;
  height: 20px;
}
@media (hover: hover) {
  .nav button:hover:not(.active) {
    background: #E7E5EE;
    color: #2A2638;
  }
}
.side-note {
  margin-top: auto;
  padding: 28px 12px 0;
}
.side-note p {
  font-size: 11px;
  color: #6A6775;
  line-height: 1.8;
  margin: 14px 0 0;
}
.shell > main {
  min-width: 0;
  width: 100%;
  padding: 24px 42px 28px;
  display: flex;
  flex-direction: column;
}
.topbar {
  height: 54px;
  min-height: 54px;
  margin: 0 0 34px;
  padding: 0 0 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.page-name {
  font-size: 12px;
  color: #716E7A;
}
.topbar-actions {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.user-menu {
  position: relative;
  min-width: 0;
}
.user-menu .account {
  min-height: 44px;
  padding-inline: 5px 10px;
}
.user-menu .account[aria-expanded="true"] {
  background: var(--sage, #EBEAEF);
}
@media (hover: hover) {
  .user-menu .account:hover {
    background: var(--sage, #EBEAEF);
  }
}
.user-menu .account > svg {
  flex-shrink: 0;
  transform: rotate(90deg);
}
.user-menu .account[aria-expanded="true"] > svg {
  transform: rotate(270deg);
}
.user-menu-panel {
  position: absolute;
  z-index: 30;
  top: calc(100% + 10px);
  right: 0;
  width: min(296px, calc(100vw - 36px));
  max-height: calc(100dvh - 120px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  box-shadow:
    0 10px 40px #1A172624,
    0 2px 8px #1A17260a;
  transform-origin: top right;
}
.user-menu-panel[hidden] {
  display: none;
}
.user-menu-identity {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 10px 16px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.user-menu-identity .avatar {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
}
.user-menu-identity > div {
  min-width: 0;
}
.user-menu-identity strong,
.user-menu-identity > div > span {
  display: block;
  overflow-wrap: anywhere;
  line-height: 1.5;
}
.user-menu-identity strong {
  font-size: 14px;
  font-weight: 550;
}
.user-menu-identity > div > span {
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
}
.user-menu-panel [role="menuitem"] {
  display: flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 11px 12px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  text-align: left;
}
.user-menu-panel [role="menuitem"] svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  color: var(--muted);
}
.user-menu-panel [role="menuitem"]:focus-visible,
.user-menu-panel [aria-current="page"] {
  background: var(--surface);
}
@media (hover: hover) {
  .user-menu-panel [role="menuitem"]:hover {
    background: var(--surface);
  }
}
.user-menu-panel [role="menuitem"]:focus-visible {
  outline-offset: -3px;
}
.user-menu-divider {
  height: 1px;
  margin: 6px 10px;
  background: var(--line);
}
.user-menu-panel .user-menu-signout,
.user-menu-panel .user-menu-signout svg {
  color: #a72f2c;
}
.user-menu-panel .user-menu-signout:focus-visible {
  background: #fff3f1;
}
@media (hover: hover) {
  .user-menu-panel .user-menu-signout:hover {
    background: #fff3f1;
  }
}
@media (max-width: 560px) {
  .topbar .user-menu .account {
    width: 63px;
    gap: 5px;
    padding-inline: 4px;
  }
  .user-menu .account > svg {
    display: block;
    width: 12px;
    height: 12px;
  }
}
.account {
  padding: 3px 4px 3px 3px;
  background: transparent;
  display: flex;
  gap: 9px;
  align-items: center;
  border-radius: 30px;
  font-size: 12px;
  max-width: 250px;
}
.account > span:not(.avatar) {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.account > svg {
  width: 14px;
  height: 14px;
  color: #7F7C88;
}
.avatar {
  width: 33px;
  height: 33px;
  border-radius: 50%;
  background: #E6E4EF;
  color: #423C5A;
  font-weight: 600;
  font-size: 11px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.wallet-heading,
.heading-row {
  margin: 0 0 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.wallet-heading {
  display: flex;
}
.wallet-heading h1,
.heading-row h1 {
  margin: 0 0 8px;
  font-size: 30px;
}
.wallet-heading p,
.heading-row p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}
.wallet-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
  gap: 24px 28px;
  align-items: start;
}
.wallet-primary-column,
.wallet-bank-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}
.stablecoins {
  grid-area: usdt;
  background: #F9F9FB;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  margin: 0;
  min-width: 0;
}
.balance-section {
  grid-area: naira;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  background: #fff;
  min-width: 0;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
}
.section-head h2 {
  font-size: 15px;
  font-weight: 550;
  margin: 0;
}
.section-head > svg {
  width: 20px;
  height: 20px;
  color: #7C7889;
}
.section-head .text-button {
  font-size: 12px;
}
#tron-wallet .coin {
  width: 30px;
  height: 30px;
  font-size: 20px;
}
.stable-networks {
  position: relative;
  isolation: isolate;
  display: flex;
  width: 100%;
  max-width: 340px;
  margin: 0 auto 22px;
  padding: 4px;
  gap: 0;
  background: #EBEAEF;
  border-radius: 11px;
}
.stable-networks button {
  flex: 1;
  min-width: 0;
  min-height: 40px;
  padding: 8px 7px;
  border: 0;
  border-radius: 8px;
  gap: 7px;
  background: none;
  color: #656272;
  position: relative;
  z-index: 1;
  box-shadow: none;
}
.stable-networks button strong {
  font-size: 12px;
  font-weight: 550;
}
.stable-networks button span {
  font-size: 10px;
}
.stable-networks button[aria-pressed="true"] {
  background: none;
  box-shadow: none;
  color: #25242C;
}
@media (hover: hover) {
  .stable-networks button:hover {
    background: none;
    box-shadow: none;
    color: #25242C;
  }
}
.network-indicator {
  position: absolute;
  z-index: 0;
  top: 4px;
  left: 4px;
  bottom: 4px;
  width: calc((100% - 8px) / 2);
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px #1A172509;
  pointer-events: none;
}
.stable-balance {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 14px;
  min-height: 76px;
}
.stable-balance h3 {
  font-size: 38px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -1.2px;
  margin: 0;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.stable-balance h3 small {
  font-size: 14px;
  letter-spacing: 0;
  font-weight: 500;
  color: #817F88;
}
.stable-balance .status-tag {
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 11px;
}
.stablecoins .provider-copy {
  text-align: center;
  max-width: none;
  font-size: 12px;
  line-height: 1.6;
  color: #696675;
  margin: 0 auto 18px;
  min-height: 38px;
}
.tron-actions {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 32px;
  margin: 0;
}
.tron-actions .wallet-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 12px;
  font-weight: 500;
  border-radius: 10px;
  color: #2E2B36;
  min-width: 58px;
}
.wallet-action > span,
.naira-actions button > span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid #DAD8E2;
  border-radius: 50%;
  background: #fff;
  transition:
    background-color 0.15s,
    border-color 0.15s;
}
.wallet-action > span svg,
.naira-actions button > span svg {
  width: 21px;
  height: 21px;
}
@media (hover: hover) {
  .wallet-action:hover > span {
    background: #E5E2EF;
    border-color: #CBC7DB;
  }
}
.wallet-action.primary-action > span {
  background: #6A3DF5;
  border-color: #6A3DF5;
  color: #fff;
}
@media (hover: hover) {
  .wallet-action.primary-action:hover > span {
    background: #4B22C9;
  }
}
.stablecoins > .form-note {
  font-size: 11px;
  text-align: center;
  margin: 20px 0 0;
  max-width: 37ch;
  margin-inline: auto;
}
.naira-card {
  min-height: 0;
  padding: 0;
  margin: 0;
  background: none;
  color: var(--ink);
  border: 0;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}
.naira-card:before,
.naira-card:after {
  display: none;
}
.balance-label {
  color: #605D6B;
  font-size: 13px;
  gap: 8px;
  margin-bottom: 22px;
}
.naira-flag {
  width: 12px;
  height: 12px;
}
.balance-label button {
  color: #797588;
  width: 28px;
  height: 28px;
  padding: 5px;
}
.balance-label svg {
  width: 17px;
  height: 17px;
}
.balance {
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -1px;
  margin: 0 0 12px;
  line-height: 1.25;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.card-foot {
  margin: 0;
  align-items: center;
  gap: 12px;
}
.available {
  color: #6A6679;
  font-size: 12px;
  margin: 0;
}
.currency-chip {
  border: 1px solid var(--line);
  background: var(--surface);
  color: #716D82;
  font-size: 10px;
  padding: 4px 8px;
  border-radius: 6px;
}
.naira-actions {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 40px;
  width: 100%;
  max-width: none;
  margin: 30px 0 0;
}
.naira-actions button {
  font-size: 12px;
  gap: 9px;
  color: #363245;
  padding: 0;
  min-width: 60px;
}
.naira-actions button:last-child > span {
  background: #EBE9F3;
  border-color: #DAD6E8;
  color: #4B22C9;
}
.recent {
  grid-area: recent;
  padding: 24px 0 0;
  margin: 0;
  border-top: 1px solid var(--line);
  min-width: 0;
}
.receiving-card {
  grid-area: receive;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  margin: 0;
  min-width: 0;
}
.receiving-card .section-head {
  margin-bottom: 14px;
}
.receiving-bank {
  font-size: 12px;
  margin: 0 0 5px;
}
.receiving-number {
  justify-content: flex-start;
  gap: 10px;
}
.receiving-number strong {
  font-size: 25px;
  letter-spacing: 0.5px;
  font-weight: 550;
}
.receiving-number .icon-button {
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  padding: 8px;
}
.receiving-name {
  font-size: 11px;
  letter-spacing: 0;
  margin: 6px 0 0;
  overflow-wrap: anywhere;
}
.receiving-card .form-note {
  font-size: 12px;
  margin: 12px 0 8px;
}
.receiving-card > p {
  font-size: 13px;
}
.receiving-card .text-button {
  font-size: 12px;
}
.desktop-bank-panel {
  display: block;
  grid-area: bank;
  margin: 0;
  padding: 20px;
  background: #F3F2F7;
  border: 0;
  border-radius: 14px;
}
.desktop-bank-panel .section-head {
  margin-bottom: 14px;
}
.desktop-bank-panel > strong {
  font-size: 14px;
  font-weight: 550;
}
.desktop-bank-panel > p {
  font-size: 12px;
  margin: 6px 0;
  overflow-wrap: anywhere;
}
.desktop-bank-panel > small {
  color: #696576;
  font-size: 12px;
}
.desktop-bank-panel > .secondary {
  width: 100%;
  margin: 16px 0 4px;
  font-size: 12px;
}
.desktop-bank-panel > .text-button {
  font-size: 12px;
  margin: 8px 0 0;
}
.activity-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  min-height: 76px;
  text-align: left;
  background: none;
}
@media (hover: hover) {
  .activity-row:hover {
    background: #F9F8FB;
  }
}
.activity-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #EDECF4;
  color: #4E4965;
  flex-shrink: 0;
}
.activity-icon svg {
  width: 18px;
  height: 18px;
}
.activity-info {
  flex: 1;
  min-width: 0;
}
.activity-info strong {
  display: block;
  font-weight: 500;
  font-size: 13px;
}
.activity-info small {
  display: block;
  font-size: 11px;
  color: #716D81;
  margin-top: 4px;
  line-height: 1.5;
}
.activity-amount {
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  color: #2A2639;
}
.activity-row > svg,
.request-row > svg {
  width: 14px;
  height: 14px;
  color: #8A869B;
}
.empty-inline,
.empty {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 26px 0;
  text-align: left;
  min-height: 0;
}
.empty-inline > svg,
.empty > svg {
  width: 22px;
  height: 22px;
  color: #8C87A2;
}
.empty-inline strong,
.empty h2 {
  font-size: 14px;
  font-weight: 500;
  margin: 0 0 7px;
}
.empty-inline p,
.empty p {
  font-size: 13px;
  line-height: 1.6;
  color: #6E6982;
  margin: 0;
}
.activity-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 20px;
}
.activity-filters,
.admin-tabs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}
.activity-filters button,
.admin-tabs button {
  min-height: 36px;
  padding: 9px 13px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 12px;
  color: #6A667B;
  background: none;
}
.activity-filters button[aria-pressed="true"],
.admin-tabs button[aria-pressed="true"] {
  background: #6A3DF5;
  color: #fff;
  border-color: #6A3DF5;
}
#activity-feed {
  min-height: 240px;
}
#activity-feed .activity-row {
  padding: 19px 12px;
}
.activity-day {
  font-size: 11px;
  font-weight: 500;
  color: #6C6780;
  margin: 24px 12px 3px;
}
/* The first day label sits right under the page title; the title's own margin is the gap. */
#activity-feed > .activity-day:first-child {
  margin-top: 0;
}
.activity-more {
  margin-top: 24px;
}
.heading-row .statement-link {
  margin: 0;
  color: #4D4765;
  font-size: 12px;
  min-height: 40px;
  text-decoration: none;
}
.settings-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px 32px;
  align-items: start;
}
.account-settings,
.bank-settings,
.security-links {
  margin: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.settings-session {
  grid-column: 1/-1;
  border-top: 1px solid var(--line);
  padding-top: 6px;
}
.setting {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.setting:last-child {
  border: 0;
  padding-bottom: 0;
}
.setting strong {
  font-size: 13px;
  font-weight: 550;
  overflow-wrap: anywhere;
}
.setting p {
  color: #6D697E;
  font-size: 12px;
  line-height: 1.6;
  margin: 5px 0 0;
  overflow-wrap: anywhere;
}
.setting .text-button,
.setting .secondary {
  font-size: 12px;
}
.settings-section-icon {
  color: #706892;
}
.settings-section-icon svg {
  width: 19px;
  height: 19px;
}
.security-links h2 {
  font-size: 15px;
  margin: 0 0 3px;
}
.setting-link {
  min-height: 62px;
  padding: 16px 0;
  gap: 14px;
  border-bottom: 1px solid var(--line);
}
.setting-link:last-child {
  border: 0;
}
.setting-link strong {
  font-size: 13px;
  font-weight: 550;
}
.setting-link small {
  font-size: 12px;
  color: #6C677F;
  line-height: 1.5;
  margin-top: 4px;
}
.setting-link svg {
  width: 16px;
  height: 16px;
  color: #817C97;
}
.bank-row {
  padding: 20px 0;
  gap: 12px;
}
.bank-row strong {
  font-size: 13px;
}
.bank-row p,
.bank-row small {
  font-size: 11px;
}
.bank-row > div {
  min-width: 0;
}
.bank-row p {
  overflow-wrap: anywhere;
}
.account-back {
  font-size: 12px;
  margin: 0 0 22px;
}
.account-tool {
  max-width: 780px;
}
/* The intro line sits under the page title, left-aligned like every other page subtitle (not as a centred dialog subtitle). */
.account-tool > .sub {
  text-align: left;
  max-width: 62ch;
  margin: 6px 0 22px;
}
.account-tool > p,
.security-section p,
.wallet-information p,
.update-row p {
  font-size: 14px;
  line-height: 1.75;
  color: #5C576F;
}
.security-section {
  margin: 24px 0;
  padding: 24px 0 0;
}
.security-section h2,
.wallet-information h2 {
  font-size: 16px;
  font-weight: 550;
}
.security-limits div,
.session-row {
  font-size: 13px;
}
.account-tool form {
  max-width: 560px;
}
.update-row {
  padding: 22px 0;
}
.update-row h2,
.update-row h3 {
  font-size: 15px;
}
.update-row time {
  font-size: 11px;
}
#support-form {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.wallet-information {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: 70ch;
}
main > footer,
.admin-main > footer {
  margin-top: auto;
  padding: 36px 0 0;
  border: 0;
  font-size: 10px;
  line-height: 1.7;
  color: #7C778F;
}
.bottomnav {
  display: none;
}
/* Account flows use the same fields and actions as the wallet. */
.account-shell {
  background: #fff;
  grid-template-columns: minmax(320px, 0.9fr) minmax(480px, 1.1fr);
  min-height: 100dvh;
}
.account-story {
  padding: 44px 13%;
  background: #ECEBF3;
  color: #282535;
  border-right: 1px solid #DCD8E9;
}
.account-story .brand {
  margin: 0;
  color: #2B273C;
  font-size: 24px;
}
.account-story .brand span {
  max-width: none;
}
.story-copy {
  padding: 80px 0 64px;
}
.story-copy h1 {
  font-size: 48px;
  line-height: 1.15;
  letter-spacing: -1.5px;
  font-weight: 500;
  margin: 0 0 24px;
  color: #4B22C9;
}
.story-copy > p {
  color: #5F5978;
  font-size: 16px;
  line-height: 1.8;
}
.story-features {
  display: grid;
  gap: 20px;
  margin-top: 38px;
}
.story-features > div {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 12px;
  color: #4B22C9;
}
.story-features svg {
  width: 18px;
  height: 18px;
}
.story-footer {
  font-size: 11px;
  color: #61597F;
  margin: 0;
}
.account-main {
  padding: 32px 9%;
}
.account-top {
  min-height: 36px;
}
.account-top-note {
  font-size: 11px;
  color: #77728A;
  margin-left: auto;
}
.account-content {
  max-width: 400px;
  padding: 48px 0;
}
.account-content h2 {
  font-size: 30px;
  letter-spacing: -0.8px;
  line-height: 1.25;
  font-weight: 550;
  margin: 0 0 12px;
}
.account-intro {
  font-size: 14px;
  color: #66607D;
  line-height: 1.7;
  margin: 0 0 28px;
}
.account-content label {
  font-size: 13px;
}
.account-content .primary {
  min-height: 46px;
  font-size: 14px;
  border-radius: 11px;
  background: var(--primary);
  border-color: var(--primary);
}
.account-content form > .primary {
  margin-top: 20px;
}
@media (hover: hover) {
  .account-content .primary:hover {
    background: var(--primary-hover);
  }
}
.account-content .error {
  font-size: 13px;
}
.password-field input {
  padding-right: 48px !important;
}
.password-toggle {
  top: 2px;
  right: 3px;
  width: 42px;
  height: 42px;
  border-radius: 8px;
}
.auth-switch {
  font-size: 13px;
  color: #68637D;
  margin: 22px 0 0;
}
.auth-switch a {
  color: #4B22C9;
  font-weight: 550;
  text-underline-offset: 4px;
}
.auth-footnote,
.account-bottom {
  font-size: 11px;
  line-height: 1.7;
  color: #76718A;
}
.auth-footnote {
  margin: 22px 0 0;
}
.account-bottom {
  text-align: center;
  margin: 0;
}
.setup-progress {
  margin: 0 0 28px;
}
.setup-progress small {
  font-size: 11px;
  white-space: nowrap;
}
.setup-summary {
  margin: 24px 0;
}
.setup-summary > div {
  padding: 16px 0;
  gap: 13px;
}
.setup-summary strong {
  font-size: 13px;
  font-weight: 550;
}
.setup-summary small {
  font-size: 12px;
  line-height: 1.6;
}
.onboarding-bank-navigation {
  margin-top: 20px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
/* Native dialogs retain focus trapping and Escape behavior. */
dialog {
  width: min(460px, calc(100% - 40px));
  max-width: 460px;
  max-height: min(88dvh, 850px);
  margin: auto;
  border: 0;
  border-radius: 24px;
  padding: 30px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 24px 80px #1A172626;
  overflow: auto;
  animation: none;
}
dialog::backdrop {
  background: #1D1C2466;
  backdrop-filter: blur(5px);
}
dialog .close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  padding: 7px;
  border: 0;
  background: #F0EFF3;
}
dialog h2 {
  font-size: 22px;
  letter-spacing: -0.55px;
  font-weight: 550;
  line-height: 1.3;
  /* Symmetric inset clears the close button while keeping the centred title on the sheet's axis. */
  margin: 4px 36px 14px;
}
dialog .sub {
  font-size: 14px;
  line-height: 1.7;
  color: #676379;
  margin: 0 auto 22px;
}
dialog .full {
  width: 100%;
}
/* A closing action needs room after the last line of detail (references, notes, links). */
dialog :is(.form-note, .summary-row, .text-button) + .full,
:is(form, dialog) :is(.form-note, input, select, textarea, .error) + button.primary {
  margin-top: 20px;
}
dialog .button-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}
dialog .summary-row {
  padding: 13px 0;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  align-items: flex-start;
}
dialog .summary-row > strong,
dialog .summary-row > span:last-child {
  text-align: right;
  overflow-wrap: anywhere;
  min-width: 0;
}
dialog .review-amount {
  font-size: 34px;
  margin: 24px 0;
  font-variant-numeric: tabular-nums;
  letter-spacing: -1px;
}
dialog .review-amount > span {
  font-size: 12px;
  letter-spacing: 0;
  color: #6C6782;
}
.recipient-card {
  background: #F1F0F6;
  border: 0;
  border-radius: 12px;
  padding: 17px;
  gap: 12px;
}
.recipient-card strong {
  font-size: 14px;
}
.recipient-card p,
.recipient-card small {
  font-size: 12px;
  line-height: 1.6;
}
.wallet-qr {
  width: min(100%, 252px);
  margin: 22px auto;
}
.tron-address {
  font-size: 13px;
  padding: 14px;
  background: #F3F2F7;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: #4B22C9;
  overflow-wrap: anywhere;
  line-height: 1.65;
  user-select: all;
}
.receive-sheet {
  text-align: center;
}
.receive-sheet .network-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border-radius: 30px;
  background: #EEECF5;
  color: #4B22C9;
  font-size: 12px;
}
.receive-sheet .sub {
  text-align: center;
  margin: 12px 0 0;
}
.receive-sheet .form-note {
  font-size: 12px;
}
.receive-sheet .tron-address {
  margin: 0 0 18px;
}
.receive-sheet .wallet-qr {
  width: min(100%, 264px);
}
#toast {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #6A3DF5;
  color: #fff;
  box-shadow: 0 8px 28px #1A172626;
  border: 0;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
  max-width: calc(100% - 32px);
  padding: 13px 18px;
  bottom: 26px;
}
.button-spinner {
  width: 14px;
  height: 14px;
  border: 1.5px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: peppy-spin 0.7s linear infinite;
  flex-shrink: 0;
}
.balance-skeleton {
  width: 160px;
  height: 40px;
  background: #EAE9F1;
  border-radius: 8px;
  margin: 28px auto;
}
@keyframes peppy-spin {
  to {
    transform: rotate(360deg);
  }
}
/* Administrator surfaces share the same component language. */
.admin-shell {
  grid-template-columns: 220px minmax(0, 1fr);
  background: #fff;
}
.admin-sidebar {
  background: #F3F2F6;
  border-right: 1px solid var(--line);
  padding: 36px 20px 26px;
}
.admin-sidebar .brand {
  margin: 0 10px 48px;
}
.admin-sidebar nav button {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  font-size: 13px;
  border-radius: 10px;
  padding: 12px 15px;
}
.admin-sidebar nav button svg {
  width: 18px;
  height: 18px;
}
.admin-sidebar nav button[aria-current="page"] {
  background: #6A3DF5;
  color: #fff;
}
.admin-label {
  display: none;
}
.admin-main {
  padding: 32px 40px;
  max-width: none;
  margin: 0;
}
.admin-top {
  padding: 0 0 24px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.admin-top h1 {
  font-size: 28px;
  letter-spacing: -0.7px;
}
.admin-top p {
  font-size: 13px;
  color: #68637D;
  margin: 8px 0 0;
}
.admin-summary {
  gap: 22px;
  margin-bottom: 30px;
}
.admin-summary article {
  padding: 4px 0 20px;
  border-top: 0;
  border-bottom: 1px solid var(--line);
}
.admin-summary span {
  font-size: 12px;
  color: #5F5977;
  margin-bottom: 14px;
}
.admin-summary strong {
  font-size: 30px;
  letter-spacing: -0.8px;
}
.admin-summary small {
  font-size: 11px;
  color: #6E6885;
  margin-top: 10px;
}
.admin-two {
  gap: 22px;
  align-items: start;
}
.admin-panel {
  border-color: var(--line);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 22px;
}
.admin-panel h2 {
  font-size: 16px;
}
.admin-panel > p {
  font-size: 13px;
  color: #5F5977;
}
.admin-panel .form-note {
  font-size: 12px;
}
.admin-status {
  font-size: 11px;
  background: #F1F0F6;
  color: #554D73;
  border-color: #DBD7E8;
}
.admin-table-scroll {
  border: 1px solid var(--line);
  border-radius: 12px;
}
.admin-table-scroll table {
  font-size: 13px;
}
.admin-table-scroll th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 13px 16px;
  background: #F2F1F7;
  color: #595372;
  font-size: 11px;
}
.admin-table-scroll td {
  padding: 17px 16px;
  border-color: var(--line);
}
@media (hover: hover) {
  .admin-table-scroll tbody tr:hover {
    background: #F9F8FB;
  }
}
.admin-table-scroll small {
  font-size: 11px;
  line-height: 1.6;
}
.admin-search input {
  min-height: 44px;
}
.admin-pager {
  margin-top: 22px;
}
.admin-pager span {
  color: #6D6784;
  font-size: 12px;
}
.admin-unlock {
  margin: 35px auto;
  max-width: 420px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: none;
}
.admin-unlock h2 {
  font-size: 23px;
}
.admin-unlock > p {
  font-size: 13px;
  color: #67617E;
}
.admin-wallet-link {
  font-size: 12px;
}
@media (min-width: 1500px) {
  .shell > main {
    padding: 28px 48px 32px;
  }
  .wallet-layout {
    gap: 26px 34px;
  }
}
@media (max-width: 1150px) and (min-width: 981px) {
  .shell,
  .admin-shell {
    grid-template-columns: 190px minmax(0, 1fr);
  }
  .shell > main,
  .admin-main {
    padding-inline: 28px;
  }
  .wallet-layout {
    gap: 22px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  }
  .stablecoins,
  .balance-section {
    padding: 20px;
  }
  .stable-networks button {
    gap: 4px;
  }
  .stable-networks button strong {
    font-size: 11px;
  }
  .settings-layout {
    gap: 20px;
  }
}
@media (max-width: 980px) {
  .shell {
    grid-template-columns: 82px minmax(0, 1fr);
  }
  .sidebar {
    padding: 30px 14px;
  }
  .sidebar .brand {
    margin: 0 auto 36px;
  }
  .sidebar .brand span,
  .sidebar .nav span,
  .side-note {
    display: none;
  }
  .nav button {
    justify-content: center;
    padding: 12px;
  }
  .shell > main {
    padding: 24px 30px;
  }
  .wallet-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .wallet-primary-column,
  .wallet-bank-column {
    display: contents;
  }
  .wallet-layout .stablecoins {
    order: 0;
    width: 100%;
  }
  .wallet-layout .balance-section {
    order: 1;
    width: 100%;
  }
  .wallet-layout .receiving-card {
    order: 2;
    width: 100%;
  }
  .wallet-layout .recent {
    order: 3;
    width: 100%;
  }
  .stablecoins {
    padding: 24px 30px;
  }
  .balance-section {
    padding: 22px 26px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 20px;
  }
  .naira-actions {
    margin: 0;
    gap: 20px;
  }
  .balance {
    font-size: 30px;
  }
  .balance-label {
    margin-bottom: 13px;
  }
  .desktop-bank-panel {
    display: none;
  }
  .settings-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .settings-session {
    grid-column: auto;
  }
  .account-shell {
    grid-template-columns: minmax(260px, 0.75fr) minmax(400px, 1fr);
  }
  .account-story {
    padding: 34px 10%;
  }
  .story-copy h1 {
    font-size: 38px;
    letter-spacing: -1px;
  }
  .account-main {
    padding: 30px 8%;
  }
  .admin-shell {
    grid-template-columns: 180px minmax(0, 1fr);
  }
  .admin-main {
    padding: 26px;
  }
  .admin-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-two {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 700px) {
  .account-shell {
    display: block;
  }
  .account-story {
    display: none;
  }
  .account-main {
    min-height: 100dvh;
    padding: 25px;
  }
  .account-content {
    max-width: 400px;
    margin: auto;
    padding: 40px 0;
  }
  .account-mobile-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 600;
    color: #4B22C9;
    text-decoration: none;
  }
  .account-mobile-brand svg {
    width: 25px;
    height: 25px;
  }
  .account-top-note {
    display: none;
  }
  .admin-shell {
    display: block;
  }
  .admin-sidebar {
    position: static;
    height: auto;
    padding: 17px 20px 13px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .admin-sidebar .brand {
    margin: 0 0 18px;
    font-size: 20px;
  }
  .admin-sidebar nav {
    display: flex;
    gap: 5px;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
  }
  .admin-sidebar nav button {
    flex-shrink: 0;
    padding: 9px 12px;
    font-size: 12px;
    min-height: 38px;
  }
  .admin-sidebar nav button svg {
    display: none;
  }
  .admin-wallet-link {
    position: absolute;
    top: 23px;
    right: 20px;
    margin: 0;
    font-size: 11px;
  }
  .admin-main {
    padding: 24px 20px;
  }
  .admin-top {
    gap: 14px;
    flex-wrap: wrap;
  }
  .admin-top h1 {
    font-size: 25px;
  }
  .admin-top-actions {
    gap: 10px;
  }
  .admin-top-actions .secondary,
  .admin-top-actions .text-button {
    font-size: 12px;
    min-height: 36px;
  }
  .admin-summary {
    gap: 20px 14px;
  }
  .admin-summary strong {
    font-size: 24px;
  }
  .admin-panel {
    padding: 20px;
  }
}
@media (max-width: 560px) {
  body {
    background: #fff;
  }
  .shell {
    display: block;
    border: 0;
  }
  .sidebar {
    display: none;
  }
  .shell > main {
    padding: 22px 22px 108px;
  }
  .topbar {
    height: 42px;
    min-height: 42px;
    border: 0;
    padding: 0;
    margin-bottom: 26px;
  }
  .page-name {
    font-size: 14px;
    font-weight: 550;
    color: #292539;
  }
  .topbar-actions {
    gap: 9px;
  }
  .topbar-actions > .icon-button {
    width: 35px;
    height: 35px;
    min-width: 35px;
    min-height: 35px;
    padding: 9px;
  }
  .account {
    padding: 0;
    max-width: 160px;
    gap: 7px;
  }
  .account > span:not(.avatar),
  .account > svg {
    display: none;
  }
  .avatar {
    width: 35px;
    height: 35px;
  }
  .wallet-heading {
    display: none;
  }
  .wallet-layout {
    gap: 26px;
  }
  .stablecoins {
    background: #fff;
    border: 0;
    padding: 0;
    border-radius: 0;
  }
  .stablecoins .section-head {
    margin-bottom: 18px;
  }
  .stablecoins .section-head h2 {
    font-size: 14px;
    color: #65607A;
    font-weight: 400;
  }
  .stable-networks {
    margin-bottom: 24px;
    max-width: 290px;
  }
  .stable-networks button {
    min-height: 38px;
    gap: 6px;
  }
  .stable-networks button strong {
    font-size: 12px;
  }
  .stable-balance {
    min-height: 80px;
    margin-bottom: 14px;
  }
  .stable-balance h3 {
    font-size: 42px;
    letter-spacing: -1.4px;
  }
  .stablecoins .provider-copy {
    font-size: 12px;
    max-width: 34ch;
    min-height: 0;
    margin-bottom: 24px;
  }
  .tron-actions {
    gap: 42px;
  }
  .wallet-action > span {
    width: 51px;
    height: 51px;
  }
  .stablecoins > .form-note {
    margin-top: 22px;
    font-size: 11px;
  }
  .balance-section {
    padding: 20px;
    gap: 14px;
    border-radius: 16px;
    background: #F4F3F9;
    border-color: #E9E7F0;
  }
  .balance-label {
    font-size: 11px;
    gap: 6px;
  }
  .balance {
    font-size: 27px;
  }
  .available {
    font-size: 10px;
  }
  .currency-chip {
    display: none;
  }
  .naira-actions {
    gap: 14px;
  }
  .naira-actions button {
    font-size: 10px;
    min-width: 43px;
    gap: 7px;
  }
  .naira-actions button > span {
    width: 36px;
    height: 36px;
  }
  .naira-actions button > span svg {
    width: 18px;
    height: 18px;
  }
  .receiving-card {
    padding-top: 0;
    border-top: 0;
  }
  .receiving-number strong {
    font-size: 25px;
  }
  .recent {
    padding-top: 22px;
  }
  .heading-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
  }
  .heading-row h1 {
    font-size: 26px;
  }
  .heading-row p {
    font-size: 13px;
  }
  .heading-row .statement-link {
    font-size: 11px;
    padding: 8px 12px;
    min-height: 36px;
  }
  .activity-toolbar {
    align-items: flex-start;
    gap: 8px;
  }
  /* Wrap instead of scrolling: a horizontal strip hid the Ethereum and Conversions filters off-screen. */
  .activity-filters {
    flex-wrap: wrap;
    max-width: calc(100% - 44px);
    padding-bottom: 3px;
  }
  .history-actions > * {
    max-width: none;
  }
  .activity-filters button {
    flex-shrink: 0;
    font-size: 11px;
    padding: 8px 11px;
  }
  .activity-toolbar > .icon-button {
    width: 35px;
    min-width: 35px;
    height: 35px;
    min-height: 35px;
    padding: 8px;
  }
  #activity-feed .activity-row {
    padding: 16px 0;
    gap: 10px;
  }
  .activity-amount {
    font-size: 12px;
  }
  .activity-info strong {
    font-size: 12px;
  }
  .activity-info small {
    font-size: 11px;
  }
  .activity-icon {
    width: 34px;
    height: 34px;
  }
  .activity-day {
    margin-left: 0;
  }
  .account-settings,
  .bank-settings,
  .security-links {
    padding: 20px;
  }
  .setting {
    gap: 12px;
  }
  .setting .status-tag {
    font-size: 10px;
  }
  .setting p {
    font-size: 11px;
  }
  .account-tool > p,
  .security-section p,
  .wallet-information p {
    font-size: 13px;
  }
  .account-back {
    margin-top: 0;
  }
  #support-form {
    padding: 20px;
  }
  main > footer {
    font-size: 9px;
    padding-top: 28px;
  }
  .bottomnav {
    position: fixed;
    display: flex;
    bottom: max(14px, env(safe-area-inset-bottom));
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: min(330px, calc(100% - 44px));
    padding: 6px;
    gap: 5px;
    background: #EFEEF3f5;
    border: 1px solid #DAD7E6;
    border-radius: 35px;
    box-shadow: 0 8px 24px #2A253C12;
    backdrop-filter: blur(12px);
    z-index: 20;
  }
  .bottomnav button {
    flex: 1;
    min-width: 0;
    min-height: 45px;
    border-radius: 28px;
    padding: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #807C92;
  }
  .bottomnav button span {
    display: none;
    font-size: 11px;
  }
  .bottomnav button.active {
    flex: 1.55;
    background: #6A3DF5;
    color: #fff;
  }
  .bottomnav button.active span {
    display: block;
  }
  .bottomnav svg {
    width: 21px;
    height: 21px;
  }
  dialog {
    width: 100%;
    max-width: 100%;
    max-height: 92dvh;
    margin: auto 0 0;
    border-radius: 28px 28px 0 0;
    padding: 26px 24px max(26px, env(safe-area-inset-bottom));
  }
  dialog h2 {
    font-size: 23px;
    margin-top: 6px;
  }
  .sheet-handle {
    display: block;
    width: 38px;
    height: 4px;
    border-radius: 4px;
    background: #D5D2DF;
    /* wallet.css positions it absolutely; centre it inside the sheet's top edge. */
    top: 10px;
    left: 50%;
    margin: 0;
    transform: translateX(-50%);
  }
  dialog .close {
    top: 27px;
    right: 20px;
  }
  dialog .sub {
    font-size: 13px;
  }
  .receive-sheet .wallet-qr {
    width: min(100%, 280px);
  }
  .receive-sheet .tron-address {
    font-size: 12px;
  }
  #toast {
    bottom: 91px;
    width: max-content;
    text-align: center;
  }
  .form-two {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
}
@media (max-width: 360px) {
  .shell > main {
    padding-inline: 18px;
  }
  .stable-networks button {
    flex-direction: row;
  }
  .stable-balance h3 {
    font-size: 36px;
  }
  .balance-section {
    padding: 17px 15px;
  }
  .balance {
    font-size: 23px;
  }
  .naira-actions {
    gap: 9px;
  }
  .activity-row {
    gap: 9px;
  }
  .activity-amount {
    font-size: 11px;
  }
  .account-settings,
  .bank-settings,
  .security-links {
    padding: 17px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

#tron-wallet .coin {
  color: #fff;
}
.history-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.history-actions > * {
  flex: 1 1 200px;
  max-width: 320px;
}
.history-actions:empty {
  display: none;
}
a.activity-row {
  color: inherit;
  text-decoration: none;
}
.activity-amount small {
  font-size: 10px;
  color: var(--muted);
}

/* Operating model: hold USDT and naira, convert, then pay a bank. */
.wallet-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}
.wallet-tools .secondary {
  font-size: 13px;
}
.bank-accounts-layout {
  display: grid;
  grid-template-columns: minmax(0, 620px);
  gap: 30px;
  align-items: start;
}
.bank-receiving-slot {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #F9F8FB;
}
.bank-receiving-slot .receiving-card {
  padding: 0;
  border: 0;
}
.bank-settings > .full {
  margin-top: 22px;
}
.conversion-layout {
  display: grid;
  grid-template-columns: minmax(320px, 1.12fr) minmax(240px, 0.8fr);
  gap: 48px;
  align-items: start;
  max-width: 1000px;
}
.conversion-card {
  border: 1px solid var(--line);
  padding: 26px;
  border-radius: 20px;
  background: #fff;
}
.convert-tabs {
  display: flex;
  padding: 4px;
  border-radius: 11px;
  background: #ECEBF1;
  margin-bottom: 24px;
  gap: 4px;
}
.convert-tabs button {
  flex: 1;
  padding: 11px;
  border-radius: 8px;
  color: #625E71;
  font-size: 13px;
}
.convert-tabs button[aria-pressed="true"] {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 5px #1C182A0c;
}
.convert-amount {
  background: #F5F4F9;
  border: 1px solid #DFDCEB;
  border-radius: 13px;
  padding: 18px;
  margin-top: 20px;
}
.convert-amount label {
  margin: 0 0 8px;
  font-size: 12px;
  color: #5D5870;
}
.convert-amount > div {
  display: flex;
  align-items: center;
  gap: 12px;
}
.convert-amount #convert-amount {
  font-size: 32px;
  letter-spacing: -0.7px;
  padding: 4px 0;
  border: 0;
  border-radius: 0;
  background: none;
  min-width: 0;
  box-shadow: none;
}
.convert-amount > div > span {
  font-size: 13px;
  font-weight: 550;
}
.convert-amount p {
  color: #625D77;
  font-size: 11px;
  margin: 9px 0 0;
}
.convert-route {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #716D82;
  padding: 20px 4px;
}
.convert-route svg {
  width: 18px;
  height: 18px;
}
.convert-route strong {
  color: var(--ink);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
/* The amount card shows focus as a whole; its borderless input needs no ring of its own. */
.convert-amount:focus-within {
  border-color: var(--focus);
  box-shadow: 0 0 0 3px #9D63FF26;
}
.convert-amount #convert-amount:focus-visible {
  outline: none;
}
.convert-amount[data-invalid="true"],
.convert-amount:has(#convert-amount[aria-invalid="true"]) {
  border-color: var(--error);
}
.convert-max {
  display: inline;
  margin-left: 6px;
  padding: 0;
  min-height: 0;
  font-size: inherit;
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.convert-hint {
  margin: 10px 2px 0;
  font-size: 13px;
  color: var(--error);
}
.convert-hint:empty {
  display: none;
}
.conversion-details {
  margin: 0 0 23px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.conversion-details > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 0;
  font-size: 12px;
}
.conversion-details dt {
  color: #676279;
}
.conversion-details dd {
  margin: 0;
  font-weight: 500;
  text-align: right;
}
.conversion-card .full {
  width: 100%;
  margin-top: 20px;
}
.conversion-guide {
  padding: 27px 0;
}
.conversion-guide h2 {
  font-size: 20px;
  margin: 0 0 12px;
}
.conversion-guide > p {
  color: #656077;
  font-size: 13px;
  line-height: 1.8;
}
.conversion-guide ol {
  counter-reset: steps;
  padding: 0;
  list-style: none;
  margin: 32px 0;
}
.conversion-guide li {
  counter-increment: steps;
  position: relative;
  padding: 0 0 24px 40px;
}
.conversion-guide li:before {
  content: counter(steps);
  position: absolute;
  top: -2px;
  left: 0;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid #D7D3E5;
  border-radius: 50%;
  color: #60587F;
  font-size: 11px;
}
.conversion-guide li strong {
  font-size: 13px;
  font-weight: 550;
  display: block;
}
.conversion-guide li span {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  line-height: 1.7;
  color: #6C6781;
}
.conversion-history {
  margin-top: 35px;
  border-top: 1px solid var(--line);
  padding-top: 23px;
}
.conversion-history .activity-amount small,
[data-conversion] .activity-amount small {
  display: block;
  text-align: right;
  margin-top: 5px;
  font-size: 11px;
  color: var(--muted);
}
.admin-panel .button-pair {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.admin-panel .tron-address {
  font-size: 11px;
}
.admin-panel label {
  font-size: 12px;
}
.admin-panel .form-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.admin-panel .full {
  width: 100%;
  margin-top: 18px;
}
@media (min-width: 1280px) {
  .shell > main {
    padding-inline: 48px;
  }
  .wallet-layout {
    grid-template-columns: minmax(0, 1.42fr) minmax(300px, 1fr);
    gap: 34px;
  }
  .stablecoins {
    padding: 25px 30px;
  }
}
@media (max-width: 980px) {
  .conversion-layout {
    gap: 26px;
    grid-template-columns: minmax(0, 1fr);
  }
  .conversion-guide {
    padding: 10px 0 0;
    max-width: 620px;
  }
  .conversion-guide ol {
    display: flex;
    gap: 15px;
  }
  .conversion-guide li {
    flex: 1;
    padding-left: 0;
    padding-top: 36px;
  }
  .bank-accounts-layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .wallet-tools {
    display: none;
  }
  .bottomnav {
    width: min(360px, calc(100% - 28px));
  }
  .bottomnav button {
    padding: 10px 8px;
  }
  .bottomnav button.active {
    flex: 1.4;
  }
  .bottomnav button.active span {
    font-size: 10px;
  }
  .conversion-card {
    padding: 20px;
    border-radius: 16px;
  }
  .conversion-guide ol {
    display: block;
    margin: 24px 0 4px;
  }
  .conversion-guide li {
    padding: 0 0 22px 38px;
  }
  .bank-receiving-slot {
    padding: 22px;
  }
  .admin-panel .form-two {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.stablecoins .provider-copy:empty {
  display: none;
}
.page-name {
  display: block;
}
.account > span:not(.avatar) {
  max-width: 180px;
}
@media (min-width: 561px) {
  .topbar .account {
    width: auto;
    max-width: 250px;
  }
}
@media (min-width: 981px) {
  .stablecoins {
    padding-block: 22px;
  }
  .stablecoins .stable-balance {
    margin-bottom: 22px;
  }
}

/* Mobile operating layout: clear touch targets and one form surface. */
.mobile-brand {
  display: none;
}
@media (max-width: 560px) {
  .shell > main {
    padding-top: max(16px, env(safe-area-inset-top));
    padding-bottom: calc(112px + env(safe-area-inset-bottom));
  }
  .topbar {
    min-height: 44px;
    height: 44px;
    margin-bottom: 24px;
  }
  .page-name {
    display: none;
  }
  .mobile-brand {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.35px;
    color: var(--ink);
  }
  .mobile-brand svg {
    width: 22px;
    height: 22px;
    color: var(--primary);
  }
  .topbar-actions {
    gap: 4px;
  }
  .topbar-actions > .icon-button,
  .account {
    min-width: 44px;
    min-height: 44px;
    width: 44px;
    height: 44px;
    justify-content: center;
  }
  .topbar-actions > .icon-button {
    padding: 11px;
  }
  .stable-networks {
    max-width: 100%;
    margin-bottom: 18px;
  }
  .stable-networks button {
    min-height: 44px;
  }
  .stable-balance {
    margin-bottom: 8px;
  }
  .stablecoins > .form-note {
    margin-top: 16px;
  }
  .balance-label button {
    min-width: 44px;
    min-height: 44px;
    margin-block: -8px;
  }
  .balance-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 18px;
  }
  .balance-section .naira-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 8px;
  }
  .balance-section .balance-label {
    grid-column: 1 / -1;
  }
  .balance-section .balance {
    font-size: clamp(24px, 7.2vw, 30px);
    margin-block: 12px 0;
    overflow-wrap: anywhere;
  }
  .balance-section .card-foot {
    margin-top: 12px;
  }
  .balance-section .available {
    max-width: 90px;
    font-size: 10px;
    text-align: right;
    line-height: 1.5;
  }
  .naira-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .naira-actions button {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    gap: 7px;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: white;
    font-size: 12px;
  }
  .naira-actions button > span,
  .naira-actions button:last-child > span {
    width: 20px;
    height: 20px;
    background: none;
    border: 0;
  }
  .naira-actions button:last-child {
    background: #EBE9F2;
    border-color: #DFDCEB;
  }
  .activity-toolbar > .icon-button {
    min-width: 44px;
    min-height: 44px;
    width: 44px;
    height: 44px;
  }
  .activity-filters {
    max-width: calc(100% - 52px);
    scroll-padding: 8px;
  }
  .activity-filters button {
    min-height: 44px;
  }
  .heading-row .statement-link {
    min-height: 44px;
  }
  .conversion-card {
    border: 0;
    padding: 0;
    border-radius: 0;
  }
  .convert-tabs {
    margin-bottom: 18px;
  }
  .convert-tabs button {
    min-height: 44px;
  }
  .convert-amount {
    padding: 16px;
    margin-top: 16px;
  }
  .convert-route {
    padding: 16px 0;
  }
  .conversion-details {
    margin-bottom: 12px;
  }
  .conversion-details > div {
    padding: 9px 0;
  }
  .conversion-card .full {
    margin-top: 14px;
  }
  .conversion-guide {
    border-top: 1px solid var(--line);
    padding-top: 24px;
  }
  .conversion-history .section-head {
    align-items: center;
    gap: 12px;
  }
  .conversion-history h2 {
    font-size: 15px;
  }
  .conversion-history .text-button {
    min-height: 44px;
    white-space: nowrap;
  }
  input:not(#convert-amount),
  select,
  textarea {
    font-size: 16px;
  }
  dialog {
    overscroll-behavior: contain;
    padding-bottom: max(24px, env(safe-area-inset-bottom));
    scroll-padding-block: 24px;
  }
  dialog .close {
    min-width: 44px;
    min-height: 44px;
    width: 44px;
    height: 44px;
  }
  .receive-sheet .wallet-qr {
    width: min(100%, clamp(180px, 30dvh, 260px));
    height: auto;
    margin: 14px auto;
  }
  .receive-sheet .tron-address {
    padding: 10px 12px;
    margin-bottom: 12px;
  }
  .receive-sheet .form-note {
    margin: 12px 0;
    font-size: 11px;
    line-height: 1.6;
  }
  .bottomnav button {
    color: #646171;
  }
  .bottomnav {
    box-shadow: 0 8px 24px #2A253C12;
  }
}
@media (max-width: 360px) {
  .shell > main {
    padding-inline: 18px;
  }
  .mobile-brand {
    font-size: 14px;
    gap: 5px;
  }
  .mobile-brand svg {
    width: 20px;
  }
  .tron-actions {
    gap: 28px;
  }
  dialog {
    padding-inline: 20px;
  }
  .receive-sheet .button-pair {
    gap: 8px;
  }
  .receive-sheet .button-pair button {
    padding-inline: 10px;
    font-size: 12px;
  }
}

/* The header bell opens the Notifications page. */
#notifications-trigger {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 11px;
}
.notifications-state,
.notifications-empty {
  padding: 30px 24px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.notifications-empty {
  text-align: center;
}
.notifications-empty > svg {
  width: 28px;
  height: 28px;
  margin: 2px auto 16px;
  display: block;
  color: var(--muted);
}
.notifications-empty strong {
  display: block;
  font-size: 14px;
  color: var(--ink);
  font-weight: 550;
}
.notifications-empty p {
  margin: 6px 0 0;
}
.notification-list {
  padding: 0;
}
.notifications-summary {
  margin: 0 0 6px;
  max-width: none;
  text-align: left;
}
.notification-list .notification-item {
  padding-inline: 12px;
  margin-inline: -12px;
  width: calc(100% + 24px);
}
.notification-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  padding: 14px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  text-align: left;
  color: var(--ink);
}
.notification-item:focus-visible {
  background: var(--surface);
}
@media (hover: hover) {
  .notification-item:hover {
    background: var(--surface);
  }
}
.notification-item:focus-visible {
  outline-offset: -3px;
}
.notification-mark {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  margin-top: 6px;
  border-radius: 50%;
  background: #6A3DF5;
}
.notification-mark.is-read {
  background: transparent;
}
.notification-item > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.notification-item strong {
  display: block;
  font-size: 15px;
  font-weight: 550;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.notification-preview {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  margin: 4px 0 6px;
}
.notification-item time,
.notification-detail time {
  font-size: 12px;
  color: var(--muted);
}
.notification-item > svg {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  margin-top: 3px;
  color: var(--muted);
}
.notification-detail {
  padding: 4px 0 24px;
  max-width: 640px;
}
.notification-detail > p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 15px;
  line-height: 1.7;
  margin: 14px 0 0;
}

/* One select component across onboarding, wallet, sheets and administration. */
.peppy-select {
  position: relative;
  min-width: 0;
  width: 100%;
}
.peppy-select select.peppy-select-native {
  position: absolute;
  width: 1px;
  min-width: 0;
  height: 1px;
  min-height: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
  clip-path: inset(50%);
}
.peppy-select .peppy-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #DDDCE1;
  border-radius: var(--control-radius);
  background: var(--paper);
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
}
.peppy-select-trigger[aria-expanded="true"] {
  border-color: #817C97;
}
@media (hover: hover) {
  .peppy-select-trigger:hover:not(:disabled) {
    border-color: #817C97;
  }
}
.peppy-select-trigger[aria-invalid="true"] {
  border-color: #a72f2c;
}
.peppy-select-value {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.peppy-select-trigger > svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--muted);
  transform: rotate(90deg);
}
.peppy-select-trigger[aria-expanded="true"] > svg {
  transform: rotate(270deg);
}
.peppy-select-popup {
  position: absolute;
  z-index: 100;
  inset: auto;
  margin: 0;
  padding: 6px;
  border: 0;
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  box-shadow:
    0 10px 40px #1A172624,
    0 2px 8px #1A17260a;
  overflow-y: auto;
  overscroll-behavior: contain;
  font-family: "DM Sans", sans-serif;
}
.peppy-select-popup[popover] {
  position: fixed;
}
.peppy-select-popup[hidden],
.peppy-select-option[hidden] {
  display: none;
}
.peppy-select-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 44px;
  padding: 11px 12px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
  overflow-wrap: anywhere;
}
.peppy-select-option > span {
  min-width: 0;
}
.peppy-select-option > svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  color: #4B22C9;
  visibility: hidden;
}
.peppy-select-option[aria-selected="true"] {
  font-weight: 550;
}
.peppy-select-option[aria-selected="true"] > svg {
  visibility: visible;
}
.peppy-select-option.is-highlighted {
  background: #EBEAEF;
}
@media (hover: hover) {
  .peppy-select-option:hover:not([aria-disabled="true"]) {
    background: #EBEAEF;
  }
}
.peppy-select-option[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
}
.peppy-select-error {
  margin-bottom: 0;
}
@media (max-width: 560px) {
  .peppy-select .peppy-select-trigger,
  .peppy-select-option {
    font-size: 16px;
  }
}

/* Collections and daily pricing follow the wallet's quiet working surfaces. */
.dashboard-rate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-block: 1px solid var(--line);
  padding: 16px 0;
  margin: 0 0 28px;
}
.dashboard-rate > div {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
.dashboard-rate span {
  font-size: 13px;
  color: var(--muted);
}
.dashboard-rate strong {
  font-size: 20px;
  font-weight: 550;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.4px;
}
.dashboard-rate strong small {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
}
.dashboard-rate p {
  color: var(--muted);
  font-size: 12px;
  margin: 0;
}
.dashboard-rate button {
  white-space: nowrap;
}
.daily-pricing-note {
  border-bottom: 1px solid var(--line);
  padding-bottom: 22px;
  margin-bottom: 24px;
}
.daily-pricing-note strong {
  display: block;
  font-size: 25px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.6px;
  font-weight: 550;
  margin: 10px 0;
}
.mobile-request-entry {
  display: none;
}
.requests-intro {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  margin: 4px 0 28px;
  max-width: 68ch;
}
.requests-intro > span {
  display: flex;
  flex-shrink: 0;
}
.requests-intro p {
  margin: 0;
  line-height: 1.6;
}
.request-table {
  border-block: 1px solid var(--line);
}
.request-table-head,
.request-row {
  display: grid;
  grid-template-columns:
    minmax(180px, 1.5fr) minmax(110px, 0.8fr) minmax(140px, 1fr)
    70px 18px;
  gap: 18px;
  align-items: center;
}
.request-table-head {
  padding: 13px 16px;
  color: var(--muted);
  font-size: 12px;
  background: var(--surface);
}
.request-row {
  width: 100%;
  background: transparent;
  color: var(--ink);
  border: 0;
  border-top: 1px solid var(--line);
  padding: 20px 16px;
  text-align: left;
  border-radius: 0;
}
@media (hover: hover) {
  .request-row:hover {
    background: var(--surface);
  }
}
.request-row > span:first-child {
  min-width: 0;
}
.request-row strong {
  display: block;
  font-size: 14px;
  font-weight: 550;
  overflow-wrap: anywhere;
}
.request-row small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
  overflow-wrap: anywhere;
}
.request-amount {
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}
.request-row .status-tag {
  justify-self: start;
  white-space: normal;
  text-align: left;
}
.request-row time {
  color: var(--muted);
  font-size: 12px;
}
.requests-empty {
  max-width: 450px;
  margin: 60px auto;
  text-align: center;
}
.requests-empty > svg {
  width: 34px;
  height: 34px;
  color: var(--muted);
}
.requests-empty h2 {
  font-size: 21px;
  letter-spacing: -0.4px;
  margin: 20px 0 10px;
  font-weight: 550;
}
.requests-empty p {
  color: var(--muted);
  margin: 0 0 22px;
}
.request-cancel {
  color: var(--error);
  margin-top: 14px;
}
.public-payment {
  min-height: 100dvh;
  background: var(--canvas);
  padding: 40px 22px;
  display: flex;
  align-items: center;
  flex-direction: column;
}
.public-payment > .brand {
  display: flex;
  color: var(--ink);
  text-decoration: none;
  align-items: center;
  gap: 10px;
  margin: 0 0 30px;
}
.public-payment .brand svg {
  width: 30px;
  height: 30px;
}
.public-payment-card {
  width: 100%;
  max-width: 480px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 34px;
}
.public-payment-card h1 {
  font-size: 26px;
  font-weight: 550;
  letter-spacing: -0.6px;
  line-height: 1.3;
  overflow-wrap: anywhere;
  margin: 12px 0 24px;
}
.public-payee {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  overflow-wrap: anywhere;
}
.public-payee strong {
  color: var(--ink);
  font-weight: 500;
}
.public-payment-amount {
  font-size: 38px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -1px;
  margin-bottom: 18px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.public-payment-amount span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
  letter-spacing: 0;
}
.public-payment-card form {
  border-top: 1px solid var(--line);
  margin-top: 26px;
  padding-top: 6px;
}
.public-payment-card .primary {
  margin-top: 8px;
}
.public-payment-card .status-tag {
  display: inline-flex;
}
.public-request-message {
  margin: 24px 0;
}
.public-request-expiry {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 22px;
}
.public-payment footer {
  color: var(--muted);
  font-size: 12px;
  text-align: center;
  margin-top: 24px;
}

/* Receive: network, QR and full address stay together through every action. */
#modal:has(.receive-sheet) {
  width: min(480px, calc(100vw - 32px));
}
#modal:has(.receive-sheet) #modal-title {
  text-align: center;
  padding-inline: 25px;
}
.receive-intro {
  margin: 8px 0 22px;
  color: var(--muted);
  font-size: 14px;
}
.receive-network-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 4px;
  border-radius: 13px;
  gap: 4px;
}
.receive-network-switch button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  background: transparent;
  color: var(--muted);
  border: 1px solid transparent;
  border-radius: 9px;
  padding: 9px 12px;
  min-height: 54px;
}
.receive-network-switch button[aria-pressed="true"] {
  border-color: var(--line);
  background: white;
  color: var(--ink);
}
.receive-network-switch span {
  font-size: 14px;
  font-weight: 550;
}
.receive-network-switch small {
  font-size: 11px;
}
.receive-qr-frame {
  width: min(258px, 100%);
  padding: 15px 15px 11px;
  border: 1px solid var(--line);
  border-radius: 18px;
  margin: 22px auto;
  background: white;
}
.receive-sheet .receive-qr-frame .wallet-qr {
  width: 100%;
  height: auto;
  margin: 0;
  display: block;
  border-radius: 0;
}
.receive-qr-frame > span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 10px;
  letter-spacing: 0.2px;
}
.receive-address-block {
  text-align: left;
}
.receive-address-block label {
  display: block;
  margin: 0 0 8px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}
.receive-address-block textarea {
  width: 100%;
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 12px 14px;
  font:
    500 14px/1.6 "DM Sans",
    sans-serif;
  letter-spacing: 0.1px;
  resize: none;
  overflow: hidden;
  color: var(--ink);
  word-break: break-all;
  min-height: 70px;
  margin: 0;
}
.receive-network-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  margin: 16px 0 20px;
}
.receive-network-note svg {
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  color: var(--muted);
  margin-top: 2px;
}
.receive-network-note p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}
.receive-network-note strong {
  color: var(--ink);
  font-weight: 550;
}
.receive-sheet .receive-actions {
  gap: 10px;
}
.receive-actions button {
  min-height: 48px;
  justify-content: center;
  font-size: 13px;
  padding: 11px 10px;
}
.receive-settlement {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
  margin: 16px auto 0;
  max-width: 43ch;
}
.receive-save {
  margin-top: 5px;
  min-height: 36px;
  font-size: 12px;
}
@media (min-width: 981px) {
  .wallet-primary-column {
    display: contents;
  }
  .wallet-layout .stablecoins {
    grid-column: 1;
    grid-row: 1;
  }
  /* The ETH card stays in the bank column's flow, under the naira card. */
  .wallet-layout .stablecoins:is(.ether-wallet, .trx-wallet) {
    grid-column: auto;
    grid-row: auto;
  }
  .wallet-bank-column {
    grid-column: 2;
    grid-row: 1;
  }
  .wallet-layout .recent {
    grid-column: 1/-1;
    grid-row: 2;
    margin-top: 4px;
    border-top: 1px solid var(--line);
    padding-top: 24px;
  }
  .wallet-layout .desktop-bank-panel {
    display: none;
  }
}
@media (max-width: 1100px) {
  .request-table-head,
  .request-row {
    grid-template-columns:
      minmax(140px, 1.2fr) minmax(100px, 0.8fr) minmax(120px, 1fr)
      18px;
    gap: 12px;
  }
  .request-table-head > span:last-child,
  .request-row time {
    display: none;
  }
}
@media (max-width: 560px) {
  .dashboard-rate {
    margin: 4px 0 22px;
    padding: 14px 0;
    gap: 10px;
  }
  .dashboard-rate > div {
    gap: 5px;
    flex-direction: column;
  }
  .dashboard-rate span {
    font-size: 11px;
  }
  .dashboard-rate strong {
    font-size: 19px;
  }
  .dashboard-rate p {
    font-size: 10px;
  }
  .dashboard-rate button {
    font-size: 11px;
    padding: 8px 0 8px 8px;
    min-height: 44px;
  }
  .mobile-request-entry {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
  }
  .requests-intro {
    align-items: flex-start;
    font-size: 13px;
    margin-bottom: 20px;
  }
  .requests-intro > span {
    margin-top: 3px;
  }
  .request-table-head {
    display: none;
  }
  .request-row {
    padding: 18px 0;
    grid-template-columns: minmax(0, 1fr) auto 16px;
    gap: 8px 12px;
  }
  .request-row > span:first-child {
    grid-row: 1;
    grid-column: 1;
  }
  .request-row .request-amount {
    grid-row: 1;
    grid-column: 2;
    font-size: 13px;
  }
  .request-row .status-tag {
    grid-row: 2;
    grid-column: 1/3;
    font-size: 11px;
  }
  .request-row > svg {
    grid-row: 1/3;
    grid-column: 3;
  }
  .requests-empty {
    margin: 40px auto;
  }
  .requests-empty h2 {
    font-size: 20px;
  }
  .public-payment {
    padding: 26px 18px;
  }
  .public-payment-card {
    padding: 24px 20px;
    border-radius: 16px;
  }
  .public-payment-card h1 {
    font-size: 23px;
  }
  .public-payment-amount {
    font-size: 32px;
  }
  #modal:has(.receive-sheet) {
    width: 100%;
  }
  .receive-intro {
    font-size: 13px;
    margin-bottom: 18px;
  }
  .receive-qr-frame {
    width: 226px;
    margin: 18px auto;
    padding: 12px 12px 10px;
  }
  .receive-address-block textarea {
    font-size: 16px;
    padding: 10px 12px;
    min-height: 74px;
  }
  .receive-network-note {
    margin: 12px 0 16px;
  }
  .receive-network-note p {
    font-size: 11px;
  }
  .receive-settlement {
    font-size: 11px;
  }
}
@media (max-width: 360px) {
  .receive-qr-frame {
    width: 202px;
  }
  .receive-intro {
    font-size: 12px;
  }
  .receive-actions button {
    font-size: 12px;
  }
}
.activity-query {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 180px 160px;
  gap: 16px;
  margin: 18px 0 8px;
}
.activity-query > div {
  min-width: 0;
}
.activity-query label {
  margin: 0 0 7px;
  font-size: 12px;
  color: var(--muted);
}
.activity-query input {
  height: 48px;
}
.activity-filter-scope {
  margin-bottom: 22px;
  font-size: 11px;
}
@media (max-width: 700px) {
  .activity-query {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .activity-search {
    grid-column: 1/-1;
  }
}
#modal:has(.receive-sheet) {
  max-width: 480px;
}
#modal:has(.receive-sheet) #modal-title {
  margin: 0 0 8px;
}
.receive-intro {
  margin: 0 0 16px;
}
.receive-qr-frame {
  width: min(224px, 100%);
  margin: 16px auto;
  padding: 10px 10px 8px;
}
.receive-address-block textarea {
  height: 68px;
  min-height: 68px;
}
.receive-network-note {
  margin: 12px 0 14px;
}
.receive-sheet .receive-actions {
  margin-top: 0;
}
.receive-settlement {
  margin-top: 12px;
}
@media (min-width: 561px) and (max-height: 850px) {
  #modal:has(.receive-sheet) {
    padding: 24px;
  }
  .receive-qr-frame {
    width: 190px;
    margin: 12px auto;
  }
  .receive-network-switch button {
    min-height: 48px;
    padding: 6px 10px;
  }
  .receive-save {
    min-height: 30px;
  }
}
@media (max-width: 560px) {
  #modal:has(.receive-sheet) {
    max-width: 100%;
  }
  .receive-qr-frame {
    width: 210px;
  }
  .receive-address-block textarea {
    height: 74px;
    min-height: 74px;
  }
}

/* Activity status sits under the amount so row metadata stays on one line. */
.activity-amount {
  text-align: right;
}
.activity-status {
  display: block;
  margin-top: 5px;
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  white-space: nowrap;
}
.activity-status.is-failed {
  color: var(--error);
}
/* Dialog titles receive programmatic focus on open; they are not controls, so no ring. */
dialog h2[tabindex="-1"]:focus {
  outline: none;
}
/* One total balance (total-ui.js). The per-asset cards stay in the page for their loaders, hidden. */
.wallet-layout.single-total :is(#tron-wallet, #ether-wallet, #trx-wallet, .balance-section) {
  display: none;
}
html.peppy-ios :is(#wallet-total, #wallet-assets) {
  display: none !important;
}
.wallet-total {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px 24px 28px;
  background: #F9F9FB;
  text-align: center;
  min-width: 0;
}
.wallet-total .balance-label button {
  margin: 0;
}
.wallet-total .balance-label {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}
.total-amount {
  margin: 12px 0 6px;
  font-size: 46px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -1.5px;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.total-note {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 0;
  padding: 3px 6px;
  border: 0;
  border-radius: 6px;
  background: none;
  box-shadow: none;
  color: #696675;
  font-size: 12px;
  font-weight: 450;
}
.total-note svg {
  width: 14px;
  height: 14px;
}
.total-retry {
  display: block;
  margin: 4px auto 0;
}
.wallet-total .tron-actions {
  margin-top: 26px;
}
.wallet-assets {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px 24px 10px;
  background: #fff;
  min-width: 0;
}
.wallet-assets .section-head {
  margin-bottom: 6px;
}
.wallet-assets .section-head > span {
  font-size: 12px;
  color: #696675;
}
.total-asset {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: 100%;
  min-height: 0;
  padding: 15px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--ink);
  text-align: left;
  font-weight: inherit;
}
.total-asset:last-child {
  border-bottom: 0;
}
.total-asset .coin {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  font-size: 21px;
}
.total-asset-name,
.total-asset-value {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.total-asset-name {
  flex: 1;
}
.total-asset-value {
  align-items: flex-end;
  text-align: right;
}
.total-asset strong {
  font-size: 14px;
  font-weight: 550;
  font-variant-numeric: tabular-nums;
}
.total-asset small {
  font-size: 12px;
  color: #696675;
  font-variant-numeric: tabular-nums;
}
.total-asset > svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: #9996A5;
}
@media (hover: hover) {
  .total-asset:hover {
    background: none;
  }
  .total-asset:hover > svg {
    color: var(--ink);
  }
}
.total-choices {
  margin-top: 6px;
}
@media (min-width: 981px) {
  .wallet-layout.single-total {
    align-items: stretch;
  }
  .wallet-layout.single-total .wallet-total {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .wallet-layout.single-total .wallet-assets {
    grid-column: 2;
    grid-row: 1;
  }
  .wallet-layout.single-total .wallet-bank-column {
    display: none;
  }
}
@media (max-width: 980px) {
  .wallet-total,
  .wallet-assets {
    width: 100%;
    box-sizing: border-box;
  }
  .wallet-total {
    padding: 26px 18px 24px;
  }
  .total-amount {
    font-size: 40px;
  }
  .wallet-assets {
    padding: 20px 18px 6px;
  }
}
/* Conversion: swap layout. What leaves the balance on top, what arrives below, one big action. */
.swap {
  display: flex;
  flex-direction: column;
}
.swap-panel {
  position: relative;
  padding: 18px 18px 20px;
  border: 1px solid transparent;
  border-radius: 24px;
  background: #F2F1F5;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
  container-type: inline-size;
}
.swap-panel.swap-entry:focus-within {
  border-color: var(--focus, #817C97);
  box-shadow: 0 0 0 3px #9D63FF26;
}
.swap-panel:has(#convert-amount[aria-invalid="true"]) {
  border-color: var(--error);
}
.swap-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
}
.swap-head > span:first-child {
  font-weight: 550;
  color: var(--ink);
}
.swap-balance {
  min-width: 0;
  text-align: right;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.swap .swap-balance:has(.convert-max) {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
/* Max: a solid violet chip, the same in Convert and Save & lock. */
.max-chip,
.swap .max-chip,
.savings-amount .max-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  margin: 0;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  background: #F1ECFF;
  color: #4B22C9;
  font-size: 12px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background-color 0.15s ease, transform 0.1s ease;
}
@media (hover: hover) {
  .max-chip:hover {
    background: #E6DEFF;
  }
}
.max-chip:active {
  transform: scale(0.96);
}
html.dark .max-chip {
  background: rgba(157, 99, 255, 0.18);
  color: #CDB8FF;
}
.swap-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  min-height: 52px;
}
.swap #convert-amount,
.swap-figure {
  flex: 1;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--ink);
  font-size: min(38px, 11cqi);
  font-weight: 550;
  letter-spacing: -0.035em;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.swap #convert-amount::placeholder,
.swap-placeholder {
  color: #A09DAC;
}
.swap #convert-amount:focus-visible {
  outline: none;
}
.swap-figure {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.swap-approx {
  margin-right: 6px;
  font-size: 0.6em;
  color: var(--muted);
  vertical-align: 0.2em;
}
.swap-token {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 8px;
  padding: 6px 12px 6px 6px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 2px #1C182A14, 0 0 0 1px #1C182A0d;
  color: var(--ink);
}
.swap-token .coin {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  font-size: 17px;
}
.swap-token > span:not(.coin) {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.swap-token strong {
  font-size: 14px;
  font-weight: 650;
}
.swap-token small {
  font-size: 11px;
  color: var(--muted);
}
.swap-token > svg {
  width: 14px;
  height: 14px;
  transform: rotate(90deg);
  color: var(--muted);
}
.swap-token-pick {
  min-height: 0;
  margin: 0;
  border: 0;
  font: inherit;
  cursor: pointer;
}
.swap-token-pick:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px #9D63FF60;
}
.swap-assets {
  margin-top: 4px;
}
.swap-assets .total-asset[aria-pressed="true"] > svg {
  width: 18px;
  height: 18px;
  color: var(--green, #4B22C9);
}
.swap-flip {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  min-height: 0;
  margin: -14px auto;
  padding: 0;
  border: 5px solid #fff;
  border-radius: 50%;
  background: #6A3DF5;
  color: #fff;
  box-shadow: none;
  transition: transform 0.25s ease;
}
.swap-flip svg {
  width: 18px;
  height: 18px;
  transform: rotate(90deg);
}
@media (hover: hover) {
  .swap-flip:hover {
    background: #4B22C9;
    transform: rotate(180deg);
  }
}
.swap .convert-hint {
  margin: 12px 4px 0;
}
.swap-facts {
  margin: 18px 0 0;
  padding: 4px 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
}
.swap-facts > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  font-size: 13px;
}
.swap-facts > div + div {
  border-top: 1px solid var(--line);
}
.swap-facts dt {
  color: var(--muted);
}
.swap-facts dd {
  margin: 0;
  font-weight: 550;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.swap .notice {
  margin: 16px 0 0;
}
.swap .error:empty {
  display: none;
}
.conversion-card .swap-submit {
  min-height: 56px;
  margin-top: 20px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
}
.swap-review {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin: 18px 0 8px;
}
.swap-review > div {
  padding: 16px 18px;
  border-radius: 20px;
  background: #F2F1F5;
}
.swap-review > div > span {
  display: block;
  font-size: 12px;
  color: var(--muted);
}
.swap-review strong {
  display: block;
  margin-top: 4px;
  font-size: 26px;
  font-weight: 550;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.swap-review-arrow {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin: -9px auto;
  border: 4px solid #fff;
  border-radius: 50%;
  background: #6A3DF5;
  color: #fff;
}
.swap-review-arrow svg {
  width: 14px;
  height: 14px;
  transform: rotate(90deg);
}
@media (max-width: 980px) {
  .conversion-guide {
    display: none;
  }
  .conversion-card {
    padding: 0;
    border: 0;
    background: none;
  }
}
/* iOS app: the same layout on the app's own surfaces, in light and dark. */
.peppy-ios .conversion-guide {
  display: none;
}
.peppy-ios .swap-panel,
.peppy-ios .swap-review > div {
  background: var(--ios-surface);
}
.peppy-ios .swap-head,
.peppy-ios .swap-token small,
.peppy-ios .swap-token > svg,
.peppy-ios .swap-approx,
.peppy-ios .swap-facts dt,
.peppy-ios .swap-review > div > span {
  color: var(--ios-muted);
}
.peppy-ios .swap-head > span:first-child,
.peppy-ios .swap #convert-amount,
.peppy-ios .swap-figure,
.peppy-ios .swap-token,
.peppy-ios .swap-facts dd {
  color: var(--ios-ink);
}
.peppy-ios .swap-head {
  font-size: calc(15px * var(--ios-text-scale, 1));
}
.peppy-ios .swap-balance {
  font-size: calc(13px * var(--ios-text-scale, 1));
}
html.peppy-ios .max-chip {
  min-height: 30px;
  padding: 0 12px;
  font-size: calc(13px * var(--ios-text-scale, 1));
}
html.peppy-ios:not(.dark) .max-chip {
  background: var(--ios-accent);
  color: #4B22C9;
}
.peppy-ios .swap-token {
  background: var(--ios-raised);
  color: var(--ios-ink);
  border-color: var(--ios-line);
}
.peppy-ios .swap-token strong {
  font-size: calc(16px * var(--ios-text-scale, 1));
}
.peppy-ios .swap-token small {
  font-size: calc(12px * var(--ios-text-scale, 1));
}
.peppy-ios .swap #convert-amount::placeholder,
.peppy-ios .swap-placeholder {
  color: var(--ios-muted);
  opacity: 0.55;
}
.peppy-ios .swap-flip,
.peppy-ios .swap-review-arrow {
  background: var(--ios-action);
  color: var(--ios-paper);
  border-color: var(--ios-paper);
}
.peppy-ios .swap-facts {
  border-color: var(--ios-line);
}
.peppy-ios .swap-facts > div + div {
  border-color: var(--ios-line);
}
.peppy-ios .swap-facts > div {
  font-size: calc(15px * var(--ios-text-scale, 1));
}
.peppy-ios .swap-panel.swap-entry:focus-within {
  border-color: var(--mint-8, #817C97);
  box-shadow: 0 0 0 3px var(--mint-4, #9D63FF26);
}
.peppy-ios .conversion-card .swap-submit {
  min-height: 58px;
  font-size: calc(17px * var(--ios-text-scale, 1));
}
.swap .convert-max[hidden] {
  display: none;
}
/* Help & support: topic tiles, attachable transaction, message, request cards and threads. */
.support-intro {
  max-width: 46ch;
}
.support-form {
  display: flex;
  flex-direction: column;
  max-width: 620px;
  margin-top: 8px;
}
.support-step {
  margin: 22px 0 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.support-step small {
  margin-left: 6px;
  font-weight: 450;
  color: var(--muted);
}
.support-topics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.support-topics button {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 10px 14px;
  border: 1.5px solid transparent;
  border-radius: 18px;
  background: #F2F1F5;
  color: var(--ink);
  font-size: 14px;
  font-weight: 550;
  text-align: left;
  box-shadow: none;
}
.support-topics button > span {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
}
.support-topics button svg {
  width: 17px;
  height: 17px;
}
.support-topics button[aria-checked="true"] {
  border-color: var(--ink);
  background: #fff;
}
.support-topics button[aria-checked="true"] > span {
  background: #6A3DF5;
  color: #fff;
}
.support-tx-pick {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1.5px dashed var(--line);
  border-radius: 18px;
  background: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  box-shadow: none;
}
.support-tx-pick svg {
  width: 18px;
  height: 18px;
}
.support-tx-pick svg:last-child {
  margin-left: auto;
}
.support-tx {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 8px 10px 12px;
  border-radius: 18px;
  background: #F2F1F5;
}
.support-tx > span:nth-child(2) {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}
.support-tx strong {
  font-size: 14px;
  font-weight: 600;
}
.support-tx small {
  font-size: 12px;
  color: var(--muted);
}
.support-message {
  position: relative;
}
.support-message textarea {
  width: 100%;
  min-height: 150px;
  padding: 14px 16px 30px;
  border-radius: 18px;
  font-size: 15px;
  line-height: 1.5;
  resize: vertical;
}
.support-message span {
  position: absolute;
  right: 14px;
  bottom: 10px;
  font-size: 11px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.support-safety {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}
.support-safety svg {
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  margin-top: 1px;
}
.support-form .error:empty {
  display: none;
}
.support-form .support-send {
  min-height: 56px;
  margin-top: 18px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
}
.support-requests {
  max-width: 620px;
  margin-top: 40px;
}
.support-requests .section-head > span {
  font-size: 12px;
  color: var(--muted);
}
.support-ticket {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  width: 100%;
  margin-bottom: 10px;
  padding: 16px 18px;
  border: 0;
  border-radius: 20px;
  background: #F2F1F5;
  color: var(--ink);
  text-align: left;
  box-shadow: none;
  font-weight: inherit;
}
.support-ticket-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.support-ticket-top strong {
  font-size: 15px;
  font-weight: 600;
}
.support-ticket-text {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}
.support-ticket small {
  font-size: 12px;
  color: var(--muted);
}
.support-chip {
  flex-shrink: 0;
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  background: #fdf3d8;
  color: #7a5a00;
  font-size: 11px;
  font-weight: 650;
}
.support-chip.is-responded {
  background: #dff3e6;
  color: #1f6b3f;
}
.support-chip.is-closed {
  background: #EBEAEE;
  color: #5C5966;
}
.support-thread {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 8px 0 18px;
}
.support-bubble {
  max-width: 88%;
  padding: 12px 14px;
  border-radius: 18px 18px 18px 6px;
  background: #F2F1F5;
}
.support-bubble.is-you {
  align-self: flex-end;
  border-radius: 18px 18px 6px 18px;
  background: #6A3DF5;
  color: #fff;
}
.support-bubble small {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  opacity: 0.7;
}
.support-bubble p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.support-tx-list .activity-row {
  width: 100%;
}
/* iOS app surfaces, light and dark. */
.peppy-ios .support-topics button,
.peppy-ios .support-tx,
.peppy-ios .support-ticket,
.peppy-ios .support-bubble {
  background: var(--ios-surface);
  color: var(--ios-ink);
}
.peppy-ios .support-topics button > span {
  background: var(--ios-raised);
}
.peppy-ios .support-topics button[aria-checked="true"] {
  border-color: var(--ios-ink);
  background: var(--ios-raised);
}
.peppy-ios .support-topics button[aria-checked="true"] > span,
.peppy-ios .support-bubble.is-you {
  background: var(--ios-action);
  color: var(--ios-paper);
}
.peppy-ios .support-step {
  color: var(--ios-ink);
  font-size: calc(16px * var(--ios-text-scale, 1));
}
.peppy-ios .support-topics button {
  font-size: calc(15px * var(--ios-text-scale, 1));
}
.peppy-ios :is(.support-step small, .support-tx small, .support-message span, .support-safety, .support-ticket-text, .support-ticket small, .support-tx-pick, .support-requests .section-head > span) {
  color: var(--ios-muted);
}
.peppy-ios .support-tx-pick {
  border-color: var(--ios-line);
}
.peppy-ios .support-ticket-top strong {
  font-size: calc(16px * var(--ios-text-scale, 1));
}
.peppy-ios .support-ticket-text,
.peppy-ios .support-bubble p {
  font-size: calc(15px * var(--ios-text-scale, 1));
}
.peppy-ios.dark .support-chip,
html.dark .support-chip {
  background: #3a3216;
  color: #f3d77a;
}
.peppy-ios.dark .support-chip.is-responded,
html.dark .support-chip.is-responded {
  background: #173827;
  color: #9fe3bb;
}
.peppy-ios.dark .support-chip.is-closed,
html.dark .support-chip.is-closed {
  background: #27262A;
  color: #A7A6AD;
}
.peppy-ios .support-form .support-send {
  min-height: 58px;
  font-size: calc(17px * var(--ios-text-scale, 1));
}
/* The support page lays out its own surfaces; it doesn't sit inside the account-tool card. */
.account-tool:has(> .support-form),
.peppy-ios .account-tool:has(> .support-form) {
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}
.peppy-ios .support-form .support-step {
  color: var(--ios-ink);
}
/* iOS: the form card is the surface colour, so the tiles sit on the raised colour with a hairline. */
.peppy-ios .support-topics button {
  border-color: var(--ios-line);
  background: var(--ios-raised);
}
.peppy-ios .support-topics button > span {
  background: var(--ios-surface);
}
.peppy-ios .support-topics button[aria-checked="true"] {
  border-color: var(--ios-ink);
}
.support-bubble :is(p, small),
.peppy-ios.dark .support-bubble :is(p, small) {
  color: inherit;
}
/* Naira transfer: recent accounts as one-tap picks, then any new account. */
.transfer-step {
  margin: 16px 0 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.transfer-step[hidden],
#transfer-new[hidden],
#transfer-remove[hidden] {
  display: none;
}
.transfer-recent {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.transfer-recent button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  box-shadow: none;
}
.transfer-recent button > span:last-child {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.transfer-recent strong {
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.transfer-recent small {
  color: var(--muted);
  font-size: 12px;
}
.transfer-recent button[aria-checked="true"] {
  border-color: var(--ink);
}
.transfer-name {
  min-height: 20px;
  margin: 6px 0 4px;
  font-size: 13px;
  color: var(--muted);
}
.transfer-name.is-confirmed {
  color: #1d6b43;
  font-weight: 600;
}
.transfer-name.is-error {
  color: var(--danger, #b42318);
}
.peppy-ios .transfer-step {
  color: var(--ios-ink);
}
.peppy-ios .transfer-recent button {
  border-color: var(--ios-line);
  background: var(--ios-surface);
  color: var(--ios-ink);
}
.peppy-ios .transfer-recent button[aria-checked="true"] {
  border-color: var(--ios-ink);
}
.peppy-ios .transfer-recent small,
.peppy-ios .transfer-name {
  color: var(--ios-muted);
}
.peppy-ios .transfer-name.is-confirmed {
  color: #1d6b43;
}
.peppy-ios .transfer-name.is-error {
  color: var(--danger, #b42318);
}
.peppy-ios.dark .transfer-name.is-confirmed,
html.dark .transfer-name.is-confirmed {
  color: #9fe3bb;
}
/* Save & lock: locked savings, the lock form, and the row under the Wallet's balances. */
.savings-totals {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  padding: 4px 0 24px;
  border-bottom: 1px solid var(--line);
}
.savings-totals span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 6px;
}
.savings-totals strong {
  font-size: 26px;
  font-weight: 550;
  letter-spacing: -0.6px;
  font-variant-numeric: tabular-nums;
}
.savings-totals strong small {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}
.savings-heading {
  font-size: 15px;
  margin: 28px 0 4px;
}
.savings-lock {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.savings-lock .coin {
  flex-shrink: 0;
}
.savings-lock-main {
  flex: 1;
  min-width: 0;
}
.savings-lock-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.savings-lock-head strong {
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}
.savings-lock small,
.savings-lock p {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin: 4px 0 0;
}
/* Its own small pill under the dates, so it reads as an action and not as more fine print. */
.savings-lock .savings-unlock {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  margin-top: 14px;
  padding: 0 15px 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1;
}
.savings-lock .savings-unlock svg {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}
@media (hover: hover) {
  .savings-lock .savings-unlock:hover {
    border-color: var(--primary);
    color: var(--primary);
  }
}
.savings-lock.is-ended .savings-lock-head strong {
  color: var(--muted);
}
.savings-progress {
  height: 4px;
  margin: 12px 0 2px;
  border-radius: 2px;
  background: var(--line);
  overflow: hidden;
}
.savings-progress span {
  display: block;
  height: 100%;
  border-radius: 2px;
  background: var(--ink);
}
.savings-amount {
  position: relative;
}
.savings-amount input {
  padding-right: 64px;
}
.savings-amount .max-chip {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}
.savings-amount .max-chip:active {
  transform: translateY(-50%) scale(0.96);
}
.savings-months {
  margin: 0 0 6px;
}
.savings-months button,
.peppy-ios .convert-tabs.savings-months button {
  padding: 10px 2px;
  font-size: 14px;
  white-space: nowrap;
}
.savings-wallet-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 18px 0 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  text-align: left;
}
.savings-wallet-row > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.savings-wallet-row strong {
  display: block;
  font-size: 15px;
}
.savings-wallet-row small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 2px;
}
.savings-row-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #ECEBF1;
}
.savings-row-icon svg,
.savings-wallet-row > svg {
  width: 18px;
  height: 18px;
}
.peppy-ios .savings-wallet-row {
  margin-top: 12px;
  border-color: var(--ios-line);
  background: var(--ios-surface);
  color: var(--ios-ink);
}
.peppy-ios .savings-row-icon {
  background: var(--ios-raised);
}
.peppy-ios :is(.savings-totals, .savings-lock) {
  border-color: var(--ios-line);
}
.peppy-ios :is(.savings-heading, .savings-lock-head strong, .savings-totals strong) {
  color: var(--ios-ink);
}
.peppy-ios :is(.savings-lock small, .savings-lock p, .savings-totals span, .savings-wallet-row small) {
  color: var(--ios-muted);
}
.peppy-ios .savings-progress {
  background: var(--ios-line);
}
html.peppy-ios .savings-lock .savings-unlock {
  min-height: 40px;
  border-color: var(--ios-line);
  background: var(--ios-surface);
  color: var(--ios-ink);
  font-size: calc(15px * var(--ios-text-scale));
}
html.peppy-ios .savings-lock .savings-unlock:active {
  opacity: 0.55;
}
.peppy-ios .savings-progress span {
  background: var(--ios-ink);
}
html.dark:not(.peppy-ios) .savings-wallet-row {
  background: transparent;
}
