:root {
  --red-950: #7f0018;
  --red-900: #850019;
  --red-800: #91001d;
  --red-700: #b00020;
  --red-100: #ffe8ed;
  --spinner-red: #c50016;
  --ink: #171923;
  --muted: #687082;
  --line: #dde1e8;
  --page: #f5f6f8;
  --panel: #ffffff;
  --shadow: 0 18px 45px rgba(22, 25, 35, 0.1);
  --app-header-height: 104px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--page);
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.splash {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 0;
  background: #ffffff;
}

.splash-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.splash.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 420ms ease,
    visibility 0s linear 420ms;
}

.splash-brand,
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.splash-brand {
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  gap: clamp(12px, 1.8vw, 20px);
}

.splash-brand h1 {
  margin: 0;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-size: clamp(34px, 5.35vw, 58px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.01em;
}

.logo-placeholder {
  display: grid;
  place-items: center;
  position: relative;
  width: clamp(104px, 14vw, 154px);
  aspect-ratio: 1.58 / 1;
  border: 0;
  border-radius: 0;
  background: #e40012;
  clip-path: polygon(0 50%, 25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%);
  color: rgba(141, 0, 27, 0.76);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.logo-placeholder::before {
  content: "";
  width: 54%;
  height: 78%;
  background:
    linear-gradient(45deg, transparent 49%, #e40012 50% 56%, transparent 57%),
    linear-gradient(-45deg, transparent 49%, #e40012 50% 56%, transparent 57%),
    #fff;
  clip-path: polygon(0 0, 50% 50%, 100% 0, 100% 100%, 50% 50%, 0 100%);
}

.logo-placeholder span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.splash-spinner {
  position: absolute;
  left: 50%;
  top: 63%;
  width: 30px;
  height: 30px;
  transform: translate(-50%, -50%);
  animation: spinnerRotate 980ms linear infinite;
}

.splash-spinner span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--spinner-red);
}

.splash-spinner span:nth-child(1) {
  transform: rotate(0deg) translateY(-24px) scale(1.45);
  opacity: 1;
}

.splash-spinner span:nth-child(2) {
  transform: rotate(60deg) translateY(-24px) scale(1.15);
  opacity: 0.72;
}

.splash-spinner span:nth-child(3) {
  transform: rotate(120deg) translateY(-24px) scale(0.9);
  opacity: 0.48;
}

.splash-spinner span:nth-child(4) {
  transform: rotate(180deg) translateY(-24px) scale(0.72);
  opacity: 0.32;
}

.splash-spinner span:nth-child(5) {
  transform: rotate(240deg) translateY(-24px) scale(0.58);
  opacity: 0.22;
}

.splash-spinner span:nth-child(6) {
  transform: rotate(300deg) translateY(-24px) scale(0.46);
  opacity: 0.14;
}

.splash-footer {
  position: absolute;
  left: 50%;
  bottom: clamp(24px, 4.8vh, 58px);
  display: grid;
  transform: translateX(-50%);
  justify-items: center;
  gap: clamp(14px, 2vh, 22px);
  width: min(860px, 100%);
  padding: 0 24px;
}

.protection-badge {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 4px;
  width: 80px;
  min-height: 110px;
  padding: 8px 7px;
  border-radius: 9px;
  background: #fff;
  color: #050505;
}

.lock-shape {
  position: relative;
  width: 45px;
  height: 35px;
  margin-top: 14px;
  border-radius: 5px;
  background: #050505;
}

.lock-shape::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 27px;
  width: 33px;
  height: 29px;
  transform: translateX(-50%);
  border: 9px solid #050505;
  border-bottom: 0;
  border-radius: 24px 24px 0 0;
}

.protection-badge strong {
  color: #050505;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.protection-badge span {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.5px;
}

.protection-badge.has-image {
  padding: 0;
  overflow: hidden;
  background: transparent;
}

.protection-badge img {
  display: block;
  width: 100%;
  max-height: 110px;
  object-fit: contain;
}

.splash-footer p {
  max-width: 850px;
  margin: 0;
  color: rgba(255, 205, 210, 0.48);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.34;
}

.site {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 0 32px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
}

.brand {
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark,
.mini-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--red-800);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.nav a,
.panel-heading button,
.outline-button {
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
}

.nav a {
  padding: 11px 13px;
}

.nav a.active,
.nav a:hover,
.panel-heading button:hover {
  color: var(--red-800);
  background: var(--red-100);
}

.outline-button {
  padding: 10px 14px;
  border: 1px solid var(--line);
}

main {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 56px;
}

.page {
  animation: pageIn 220ms ease;
}

.login-page {
  display: grid;
  min-height: calc(100vh - 166px);
  place-items: center;
}

.login-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 44px;
  align-items: center;
  width: min(900px, 100%);
}

.section-label {
  display: inline-block;
  margin-bottom: 9px;
  color: var(--red-800);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

h2,
h3,
p {
  margin-top: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.04;
}

h3 {
  margin-bottom: 0;
  font-size: 20px;
}

p {
  color: var(--muted);
  line-height: 1.55;
}

.form-card,
.transfer-layout,
.panel,
.table-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.form-card,
.transfer-layout {
  display: grid;
  gap: 18px;
  padding: 26px;
}

label {
  display: grid;
  gap: 8px;
  color: #3b4252;
  font-size: 14px;
  font-weight: 800;
}

input,
select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 13px;
  color: var(--ink);
  background: #fff;
}

input:focus,
select:focus {
  border-color: var(--red-700);
  outline: 3px solid rgba(176, 0, 32, 0.12);
}

.primary-button {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: var(--red-800);
  color: #fff;
  cursor: pointer;
  font-weight: 900;
}

.primary-button:hover {
  background: var(--red-900);
}

small,
.form-message {
  color: var(--muted);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 24px;
  padding: 34px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--red-800), #3b0b16);
}

.hero p,
.hero .section-label {
  color: rgba(255, 255, 255, 0.72);
}

.hero-balance {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.hero-balance span {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 800;
}

.hero-balance strong {
  font-size: 32px;
}

.dashboard-grid,
.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.panel {
  padding: 24px;
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.panel-heading button {
  padding: 8px 10px;
}

.account-list,
.transaction-list,
.cards-grid {
  display: grid;
  gap: 12px;
}

.account-row,
.transaction-row,
.card-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.account-row span,
.transaction-row span,
.card-item span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.account-row strong,
.transaction-row strong,
.card-item strong {
  display: block;
  margin-top: 3px;
}

.page-heading {
  margin-bottom: 22px;
}

.table-panel {
  overflow: hidden;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

th,
td {
  padding: 17px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
}

tr:last-child td {
  border-bottom: 0;
}

.transfer-layout {
  grid-template-columns: 1fr 1fr;
  max-width: 860px;
}

.transfer-layout .primary-button,
.transfer-layout .form-message {
  grid-column: 1 / -1;
}

.cards-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-item {
  display: grid;
  min-height: 170px;
  color: #fff;
  background: linear-gradient(135deg, #222631, var(--red-900));
}

.card-item span {
  color: rgba(255, 255, 255, 0.68);
}

.card-item strong {
  font-size: 24px;
}

@keyframes spinnerRotate {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes pageIn {
  from {
    transform: translateY(8px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 860px) {
  .topbar {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 18px 20px;
  }

  .nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
  }

  main {
    width: min(100% - 28px, 1180px);
    padding-top: 24px;
  }

  .login-panel,
  .hero,
  .dashboard-grid,
  .support-grid,
  .transfer-layout,
  .cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .splash-brand {
    display: grid;
    justify-items: center;
    transform: translate(-50%, -50%);
  }

  .brand span:last-child {
    display: none;
  }

  h2 {
    font-size: 34px;
  }

  .hero,
  .panel,
  .form-card,
  .transfer-layout {
    padding: 20px;
  }

  th,
  td {
    padding: 14px 12px;
  }
}

/* App-style account overview shown after the splash */
.site {
  min-height: 100vh;
  background: #f7fbfd;
}

.mobile-app {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0 0 92px;
  background: #f7fbfd;
}

.accounts-app-page {
  min-height: calc(100vh - 92px);
  background: #f7fbfd;
}

.app-header {
  min-height: var(--app-header-height);
  padding: 34px 7.5vw 18px;
  background: #f50700 url("new red bg.png") center / cover no-repeat;
  color: #fff;
}

.header-content {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-wallet {
  display: block;
  width: 34px;
  height: 34px;
  color: rgba(255, 255, 255, 0.92);
  fill: currentColor;
  flex: 0 0 auto;
  filter: drop-shadow(0.38px 0 0 currentColor) drop-shadow(0 0.38px 0 currentColor);
}

.masked-name {
  display: block;
  max-width: 420px;
  overflow: hidden;
  color: #fff;
  font-size: clamp(19px, 3.4vw, 25px);
  font-weight: 500;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-screen-body {
  padding: 30px 7.5vw 0;
}

.mobile-account-list {
  border-bottom: 1px solid rgba(190, 198, 205, 0.38);
}

.mobile-account-card {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 26px;
  padding: 0 0 42px;
  color: #626a75;
}

.account-card-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 72px;
  height: 100px;
  overflow: hidden;
  border-radius: 7px;
  background: transparent;
  color: rgba(120, 128, 138, 0.82);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.account-card-main {
  min-width: 0;
}

.account-card-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  min-width: 0;
}

.account-card-top strong {
  color: #343d49;
  font-size: clamp(25px, 3.8vw, 34px);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.08;
}

.account-card-top strong:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-card-top strong:last-child {
  flex: 0 0 auto;
  color: #3d4652;
  font-size: clamp(18px, 2.75vw, 25px);
  letter-spacing: 0;
  white-space: nowrap;
}

.account-card-main p,
.account-card-top span {
  margin: 8px 0 0;
  color: #7e8792;
  font-size: clamp(21px, 3.1vw, 28px);
  font-weight: 400;
  line-height: 0.5;
  letter-spacing: 0.01em;
}

.account-card-top span:last-child {
  flex: 0 0 auto;
  white-space: nowrap;
}

.account-amount {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  --money-whole-size: 1em;
  --money-cents-size: 0.62em;
  --money-currency-size: 0.62em;
  --money-sign-size: 0.72em;
  color: #3d4652;
  margin-top: 0;
  letter-spacing: 0;
  white-space: nowrap;
}

.account-card-top .account-amount {
  margin-top: 0;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0;
}

.account-card-top strong.account-amount {
  color: #3d4652;
  font-weight: 700;
  font-size: inherit;
}

.account-card-top strong.account-amount .amount-whole,
.account-card-top strong.account-amount .amount-cents,
.account-card-top strong.account-amount .amount-currency,
.account-card-top strong.account-amount .amount-sign {
  font-weight: 700;
}

.account-card-top span.account-amount {
  color: #7e8792;
  font-weight: 400;
  --money-whole-size: 1em;
  --money-cents-size: 1em;
  --money-currency-size: 1em;
  --money-sign-size: 1em;
}

.account-card-top span.account-amount .amount-whole,
.account-card-top span.account-amount .amount-cents,
.account-card-top span.account-amount .amount-currency,
.account-card-top span.account-amount .amount-sign {
  font-weight: 400;
}

.money-amount {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  white-space: nowrap;
  --money-whole-size: 1em;
  --money-cents-size: 0.62em;
  --money-currency-size: 0.62em;
  --money-sign-size: 0.72em;
}

.money-amount .amount-sign {
  margin-right: 2px;
  font-size: var(--money-sign-size);
  font-weight: 500;
  line-height: 1;
}

.money-amount .amount-whole {
  font-size: var(--money-whole-size);
  line-height: 1;
}

.money-amount .amount-cents {
  font-size: var(--money-cents-size);
  line-height: 1;
}

.money-amount .amount-currency {
  margin-left: 5px;
  font-size: var(--money-currency-size);
  letter-spacing: 0.03em;
  line-height: 1;
}

.as-of {
  margin: 46px 0 0 12px;
  color: #989fa8;
  font-size: 15px !important;
  line-height: 1.4;
}

.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  min-height: 72px;
  padding: 7px 10px max(6px, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(192, 199, 207, 0.55);
  background: rgba(250, 252, 253, 0.96);
  box-shadow: 0 -10px 25px rgba(22, 25, 35, 0.06);
}

.bottom-nav button {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #7d8490;
  cursor: pointer;
  font-size: clamp(10px, 1.05vw, 13px);
  font-weight: 400;
  line-height: 1.1;
  white-space: nowrap;
}

.bottom-nav button.active {
  color: #101820;
  font-weight: 700;
}

.bottom-nav button[aria-disabled="true"] {
  cursor: default;
}

.tab-icon {
  display: block;
  width: 27px;
  height: 27px;
  object-fit: contain;
  color: currentColor;
  fill: currentColor;
  filter: drop-shadow(0.34px 0 0 currentColor) drop-shadow(0 0.34px 0 currentColor);
}

.bottom-nav button[data-route="insights"] .tab-icon {
  width: 29px;
  height: 29px;
  --mask-size: 166%;
}

.bottom-nav button[data-route="insights"] .tab-icon-switch {
  transform: scale(1.14);
  transform-origin: center;
}

.mask-icon {
  display: block;
  background: currentColor;
  -webkit-mask: var(--icon-url) center / var(--mask-size, contain) no-repeat;
  mask: var(--icon-url) center / var(--mask-size, contain) no-repeat;
}

.icon-img {
  display: block;
  object-fit: contain;
}

.detail-open .bottom-nav {
  display: none;
}

.admin-open .bottom-nav {
  display: none;
}

.logo-placeholder.has-image {
  clip-path: none;
  background: transparent;
}

.logo-placeholder.has-image::before {
  display: none;
}

.logo-placeholder img,
.account-card-icon img,
.detail-card-placeholder img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.account-card-icon img {
  transform: scale(1.4);
  transform-origin: center;
}

.detail-card-placeholder img {
  transform: translateY(15px) scale(1.3);
  transform-origin: center;
}

.account-detail-page {
  --detail-header-sticky-height: 76px;
  min-height: 100vh;
  padding: 0 0 36px;
  color: #3f4853;
  background: #fbfdfe;
}

.detail-top {
  background: #f8fbfc url("account-details-bg.png") center top / 135% 150% no-repeat;
}

.detail-header {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-columns: 52px 1fr 52px;
  align-items: center;
  min-height: calc(var(--app-header-height) - 10px);
  padding: 20px 28px 4px;
  text-align: center;
  z-index: 42;
  background: #eceff2;
}

.detail-header h2 {
  margin: 0;
  color: #3f4853;
  font-size: clamp(19px, 2.6vw, 24px);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.detail-header p {
  margin: 2px 0 0;
  color: #8a929b;
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.2;
}

.detail-back,
.detail-more {
  min-width: 0;
  border: 0;
  background: transparent;
  color: #6d7580;
  cursor: pointer;
}

.detail-back {
  position: relative;
  width: 44px;
  height: 44px;
}

.detail-back::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 12px;
  width: 17px;
  height: 17px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.detail-more {
  align-self: start;
  padding-top: 5px;
  font-size: 26px;
  letter-spacing: 4px;
  line-height: 1;
}

.detail-balance-area {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 118px;
  gap: 16px;
  align-items: start;
  padding: 16px 38px 4px;
}

.detail-balance-area > div:first-child {
  transform: translateY(35px);
}

.detail-label {
  margin: 0 0 8px;
  color: #8b939d;
  font-size: clamp(18px, 2.5vw, 24px);
  line-height: 1.25;
}

.detail-label::after {
  content: "i";
  display: inline-grid;
  place-items: center;
  width: 21px;
  height: 21px;
  margin-left: 5px;
  border: 1px solid #7d8792;
  border-radius: 50%;
  color: #7d8792;
  font-size: 14px;
  font-weight: 700;
}

.detail-balance {
  color: #4c5560;
  font-size: clamp(40px, 8vw, 62px);
  font-weight: 300;
  line-height: 1;
}

.detail-balance .money-amount {
  --money-whole-size: 1em;
  --money-cents-size: 0.5em;
  --money-currency-size: 0.48em;
  --money-sign-size: 0.52em;
}

.detail-card-placeholder {
  display:grid;
  place-items:center;
  width:126px;
  height:178px;
  transform:translateY(-8px);
  overflow:hidden;
  border-radius:8px;
  background:transparent;
  color:rgba(120,128,138,.78);
  font-size:12px;
  font-weight:700;
  text-transform:uppercase;
}

.detail-header,
.detail-balance-area,
.detail-stats {
  position: relative;
  z-index: 1;
}

.detail-stats {
  padding: 0 38px 10px;
}

.stat-row {
  display: grid;
  grid-template-columns: 42px max-content minmax(70px, 190px);
  gap: 10px;
  align-items: center;
  margin-top: 5px;
}

.stat-row > span,
.detail-stats p {
  color: #8d959e;
  font-size: clamp(15px, 2vw, 18px);
}

.stat-row strong {
  color: #4e5762;
  font-size: clamp(18px,2.4vw,22px);
  font-weight: 600;
}

.stat-row .money-amount {
  --money-whole-size: 1em;
  --money-cents-size: 1em;
  --money-currency-size: 1em;
  --money-sign-size: 1em;
}

.stat-bar {
  height: 12px;
  background: #dfe4e7;
}

.stat-bar span {
  display: block;
  height: 100%;
  background: #00c815;
}

.stat-bar.muted span {
  background: #8f999f;
}

.detail-stats p {
  margin: 8px 0 0;
}

.detail-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: sticky;
  top: var(--detail-header-sticky-height);
  z-index: 41;
  border-top: 1px solid rgba(211, 217, 222, 0.75);
  border-bottom: 1px solid rgba(211, 217, 222, 0.75);
  background: #fbfdfe;
}

.detail-tabs button {
  position: relative;
  min-height: 74px;
  border: 0;
  background: transparent;
  color: #9aa2ab;
  cursor: pointer;
  font-size: clamp(18px, 2.6vw, 24px);
}

.detail-tabs button.active {
  color: #47515d;
}

.detail-tabs button.active::after {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  bottom: 0;
  height: 5px;
  background: #f00012;
}

.detail-transactions {
  padding: 24px 34px 0;
}

.transaction-date-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 24px 0 18px;
  color: #9aa2aa;
}

.transaction-date-row > strong,
.transaction-date-row > span {
  color: inherit;
  font-size: clamp(22px, 3.3vw, 30px);
  font-weight: 400;
}

.transaction-day-total {
  --money-whole-size: 1em;
  --money-cents-size: 1em;
  --money-currency-size: 1em;
  --money-sign-size: 1em;
}

.detail-transaction-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 14px 0 22px;
  border-bottom: 1px solid rgba(222, 226, 230, 0.7);
}

.transaction-arrow {
  position: relative;
  width: 52px;
  height: 52px;
  border: 1.5px solid #3bb35d;
  border-radius: 50%;
}

.transaction-arrow::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 24px;
  width: 23px;
  height: 1.5px;
  background: #3bb35d;
}

.transaction-arrow::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 18px;
  width: 11px;
  height: 11px;
  border-top: 1.5px solid #3bb35d;
  border-right: 1.5px solid #3bb35d;
  transform: rotate(45deg);
}

.detail-transaction-row strong {
  color: #404a55;
  font-size: clamp(21px, 3.2vw, 29px);
  font-weight: 500;
  line-height: 1.18;
}

.detail-transaction-row > div span {
  display: block;
  margin-top: 6px;
  color: #8d949d;
  font-size: clamp(16px, 2.5vw, 22px);
}

.transaction-amount {
  --money-whole-size: 1em;
  --money-cents-size: 0.62em;
  --money-currency-size: 0.62em;
  --money-sign-size: 0.7em;
}

.detail-transaction-row > strong:last-child {
  color: #39a955;
  font-size: clamp(20px, 3vw, 27px);
  white-space: nowrap;
}

.detail-transaction-row.out .transaction-arrow {
  border-color: #4d5965;
}

.detail-transaction-row.out .transaction-arrow::before {
  background: #4d5965;
}

.detail-transaction-row.out .transaction-arrow::after {
  left: 13px;
  right: auto;
  border: 0;
  border-left: 1.5px solid #4d5965;
  border-bottom: 1.5px solid #4d5965;
  transform: rotate(45deg);
}

.detail-transaction-row.out > strong:last-child {
  color: #3f4853;
}

.pending-message {
  max-width: 620px;
  margin: 48px auto 0;
  padding: 0 28px;
  text-align: center;
}

.pending-message strong {
  display: block;
  color: #424b56;
  font-size: clamp(17px, 2.4vw, 22px);
  font-weight: 500;
  line-height: 1.35;
}

.pending-message p {
  margin: 26px auto 0;
  color: #a0a7af;
  font-size: clamp(15px, 2.2vw, 19px);
  line-height: 1.6;
}

.site .page:not(.accounts-app-page) {
  width: min(900px, calc(100% - 36px));
  margin: 0 auto;
  padding: 36px 0 120px;
}

.site .page.account-detail-page {
  width: 100%;
  margin: 0;
  padding: 0 0 36px;
}

.site .page[data-page="transfer"] {
  width: 100%;
  margin: 0;
  padding: 0 0 92px;
  background: #f8fbfc;
}

.pay-header {
  min-height: 270px;
  padding: 118px 7.5vw 44px;
  color: #fff;
  background: #f50700 url("new red bg.png") center / cover no-repeat;
}

.pay-header-content {
  display: flex;
  align-items: center;
  gap: 24px;
}

.pay-title-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  fill: currentColor;
}

.title-icon-asset {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0.38px 0 0 currentColor) drop-shadow(0 0.38px 0 currentColor);
}

.pay-header h2{margin:0;color:#fff;font-size:clamp(30px,4.7vw,46px);font-weight:300;line-height:1.05}

.pay-actions{background:#f8fbfc}

.pay-action-row{display:grid;grid-template-columns:44px minmax(0,1fr);gap:16px;align-items:center;width:100%;min-height:104px;padding:0 7.5vw;border:0;border-bottom:1px solid rgba(211,217,222,.75);background:transparent;color:#46515c;cursor:pointer;text-align:left}

.pay-action-icon{width:34px;height:34px;fill:currentColor;opacity:.94;object-fit:contain;filter:drop-shadow(0.35px 0 0 currentColor) drop-shadow(0 0.35px 0 currentColor)}
.pay-action-row:nth-child(2) .pay-action-icon{fill:none;stroke:currentColor;stroke-width:3.4;stroke-linecap:round;stroke-linejoin:round}
.pay-action-row:nth-child(4) .pay-action-icon{fill:none;stroke:currentColor;stroke-width:4.2;stroke-linecap:round;stroke-linejoin:round}              

.pay-action-label{color:#858d96;font-size:clamp(17px,2.35vw,22px);font-weight:300;line-height:1.25}

.site .page[data-page="insights"] {
  width: 100%;
  margin: 0;
  padding: 0 0 92px;
  background: #f7fbfc;
}

.site .page[data-page="support"],
.site .page[data-page="more"] {
  width: 100%;
  margin: 0;
  padding: 0 0 92px;
  background: #fbfdfe;
}

.support-header,
.more-header {
  min-height: 250px;
  padding: 112px 7.5vw 40px;
  color: #fff;
  background: #f50700 url("new red bg.png") center / cover no-repeat;
}

.support-title-row,
.more-title-row {
  display: flex;
  align-items: center;
  gap: 22px;
}

.support-title-icon,
.more-title-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: rgba(255, 255, 255, 0.94);
}

.support-title-icon .title-icon-asset,
.more-title-icon .title-icon-asset {
  width: 100%;
  height: 100%;
}

.support-header h2,
.more-header h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 5.1vw, 48px);
  font-weight: 300;
  line-height: 1.08;
}

.support-body,
.more-body {
  padding: 26px 7.5vw 0;
}

.support-intro-card {
  padding: 4px 0 18px;
}

.support-intro-card h3 {
  margin: 0;
  color: #2f3842;
  font-size: clamp(24px, 3.35vw, 31px);
  font-weight: 400;
}

.support-intro-card p {
  margin: 14px 0 0;
  color: #6f7884;
  font-size: clamp(17px, 2.55vw, 23px);
  line-height: 1.42;
}

.support-chat-btn {
  width: 100%;
  min-height: 72px;
  margin-top: 28px;
  border: 0;
  background: #f50700;
  color: #fff;
  font-size: clamp(20px, 2.8vw, 28px);
  font-weight: 600;
  cursor: pointer;
}

.support-list,
.more-list {
  margin-top: 12px;
  border-top: 1px solid rgba(211, 217, 222, 0.75);
}

.support-row,
.more-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 24px;
  align-items: center;
  width: 100%;
  min-height: 92px;
  padding: 0 0;
  border: 0;
  border-bottom: 1px solid rgba(211, 217, 222, 0.75);
  background: transparent;
  color: #3f4853;
  text-align: left;
  cursor: pointer;
}

.support-row::after,
.more-row::after {
  content: "";
  justify-self: end;
  width: 14px;
  height: 14px;
  border-top: 1.5px solid #7d8590;
  border-right: 1.5px solid #7d8590;
  transform: rotate(45deg);
}

.support-row-icon,
.more-row-icon {
  width: 26px;
  height: 26px;
  color: #5f6874;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.support-row:first-child .support-row-icon.icon-img {
  transform: scale(1.18);
  transform-origin: center;
}

.more-row-icon {
  stroke: none;
  fill: currentColor;
}

.support-row span,
.more-row span {
  min-width: 0;
}

.support-row strong,
.more-row span {
  display: block;
  color: #3f4853;
  font-size: clamp(19px, 2.6vw, 24px);
  font-weight: 400;
  line-height: 1.2;
}

.support-row p {
  margin: 6px 0 0;
  color: #6f7884;
  font-size: clamp(14px, 2vw, 18px);
  line-height: 1.35;
}

.insights-header {
  min-height: 250px;
  padding: 112px 7.5vw 40px;
  color: #fff;
  background: #f50700 url("new red bg.png") center / cover no-repeat;
}

.insights-title-row {
  display: flex;
  align-items: center;
  gap: 22px;
}

.insights-title-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  fill: currentColor;
}

.insights-title-icon .icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-origin: center;
}

.insights-header h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 5.1vw, 48px);
  font-weight: 300;
  line-height: 1.08;
}

.insights-body {
  padding: 42px 7.5vw 0;
}

.insights-kicker {
  margin: 0;
  color: #89919b;
  font-size: clamp(21px, 3.1vw, 29px);
  font-weight: 300;
  line-height: 1.25;
}

.insights-kicker strong {
  color: #353e49;
  font-weight: 400;
}

.insightsIntro {
  max-width: 760px;
  margin: 30px 0 0;
  color: #6f7884;
  font-size: clamp(23px, 3.45vw, 32px);
  font-weight: 300;
  line-height: 1.34;
}

.insights-account-select {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 18px;
  width: 100%;
  margin: 34px 0 22px;
  padding: 0 42px 0 0;
  border: 0;
  background: transparent;
  color: #303a45;
  cursor: pointer;
  text-align: left;
}

.insights-account-select span:first-child {
  flex: 0 0 auto;
  color: #222c37;
  font-size: clamp(24px, 3.35vw, 31px);
  font-weight: 400;
  white-space: nowrap;
}

.insights-account-select span:last-child {
  min-width: 0;
  color: #808994;
  font-size: clamp(18px, 2.55vw, 23px);
  font-weight: 300;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.insights-account-select::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 8px;
  width: 19px;
  height: 19px;
  border-right: 2px solid #4d5660;
  border-bottom: 2px solid #4d5660;
  transform: rotate(45deg);
}

.insights-tools {
  display: grid;
  gap: 8px;
}

.insights-tool-card {
  position: relative;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) 34px;
  align-items: center;
  min-height: 132px;
  padding: 0 30px;
  border: 0;
  background: rgba(255, 255, 255, 0.62);
  color: #4a535e;
  cursor: pointer;
  text-align: left;
}

.insights-tool-card::after {
  content: "";
  justify-self: end;
  width: 18px;
  height: 18px;
  border-top: 1.5px solid #59636e;
  border-right: 1.5px solid #59636e;
  transform: rotate(45deg);
}

.insights-tool-card strong {
  display: block;
  color: #78818b;
  font-size: clamp(16px, 2.25vw, 21px);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.insights-tool-card em {
  display: block;
  margin-top: 7px;
  color: #343d48;
  font-size: clamp(20px, 2.75vw, 26px);
  font-style: normal;
  font-weight: 400;
}

.insights-tool-card em .money-amount {
  --money-whole-size: 1em;
  --money-cents-size: 0.62em;
  --money-currency-size: 0.62em;
  --money-sign-size: 0.7em;
}

.insights-tool-icon{display:block;width:78px;height:70px;background:#f4f7f5 center/contain no-repeat;filter:drop-shadow(2px 2px 2px #9997)}.insights-tool-icon.spending{background-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 180'><path fill='%23c8327f' d='M35 25h32v120H35zm43 35h32v85H78zm43 30h32v55h-32zm43 15h32v40h-32zm8 18h32v22h-32z'/></svg>")}.insights-tool-icon.cashflow{background-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 220'><path fill='%2379b829' d='M55 78h32v54H55zm70 27h32v32h-32zm70-57h32v88h-32z'/><path fill='%23c8327f' d='M55 132h32v45H55zm70 5h32v58h-32zm70 3h32v30h-32z'/><path d='m20 150 51-5 70 28 70-101 34-17' fill='none' stroke='%23333' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'/><g fill='%23d8d8d8' stroke='%23555' stroke-width='4'><circle cx='71' cy='145' r='16'/><circle cx='141' cy='173' r='16'/><circle cx='211' cy='72' r='16'/></g></svg>")}
.site .page.payee-page {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  background: #fbfdfe;
}

.site .page.admin-page {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0 0 48px;
  background: #f4f6f8;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 32px;
  background: #f50700;
  color: #fff;
}

.admin-header span {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 500;
  opacity: 0.78;
  text-transform: uppercase;
}

.admin-header h2 {
  margin: 0;
  color: #fff;
  font-size: 30px;
  font-weight: 400;
}

.admin-header button,
.admin-actions button,
.admin-panel button {
  border: 0;
  border-radius: 6px;
  background: #17202b;
  color: #fff;
  cursor: pointer;
  font-weight: 500;
}

.admin-header button {
  padding: 11px 16px;
}

.admin-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 14px 18px;
  border-bottom: 1px solid #d8dde4;
  background: #fff;
}

.admin-tabs button {
  flex: 0 0 auto;
  padding: 10px 14px;
  border: 1px solid #d8dde4;
  border-radius: 999px;
  background: #fff;
  color: #66707c;
  cursor: pointer;
}

.admin-tabs button.active {
  border-color: #17202b;
  background: #17202b;
  color: #fff;
}

.admin-panels {
  width: min(960px, calc(100% - 32px));
  margin: 22px auto 0;
}

.admin-panel {
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 18px;
  border: 1px solid #dfe4ea;
  border-radius: 8px;
  background: #fff;
}

.admin-panel.active {
  display: grid;
}

.admin-section-title {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.admin-section-title h3 {
  margin: 0;
  color: #17202b;
  font-size: 18px;
  font-weight: 500;
}

.admin-repeat-card {
  grid-column: 1 / -1;
  display: grid;
  gap: 14px;
  padding: 14px;
  border: 1px solid #e2e7ed;
  border-radius: 8px;
  background: #fbfcfd;
}

.admin-repeat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.admin-repeat-head strong {
  min-width: 0;
  overflow: hidden;
  color: #17202b;
  font-size: 16px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-repeat-head button,
.admin-panel [data-clear-logo] {
  background: #a82020;
}

.admin-repeat-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.admin-panel label {
  display: grid;
  gap: 7px;
  color: #3f4853;
  font-size: 13px;
  font-weight: 500;
}

.admin-panel input,
.admin-panel textarea {
  width: 100%;
  border: 1px solid #cfd6df;
  border-radius: 6px;
  padding: 11px 12px;
  color: #17202b;
  background: #fff;
  font-size: 15px;
}

.admin-panel textarea {
  min-height: 110px;
  resize: vertical;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.admin-panel [rows="26"],
.admin-panel [rows="18"] {
  grid-column: 1 / -1;
}

.admin-logo-preview {
  display: grid;
  place-items: center;
  min-height: 92px;
  border: 1px dashed #b8c0cb;
  border-radius: 8px;
  color: #7d8692;
  background: #f8fafc;
}

.admin-logo-preview img {
  max-width: 220px;
  max-height: 110px;
  object-fit: contain;
}

.admin-panel button {
  justify-self: start;
  padding: 10px 14px;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 16px 0;
}

.admin-actions button {
  padding: 12px 16px;
}

.admin-actions button:nth-child(2) {
  background: #a82020;
}

#adminStatus {
  color: #425466;
  font-size: 14px;
}

.site .page.no-eligible-page {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  background: #fbfdfe;
}

.payee-page + .bottom-nav,
.site:has(.payee-page:not([hidden])) .bottom-nav,
.site:has(.no-eligible-page:not([hidden])) .bottom-nav {
  display: none;
}

.payee-header {
  display: grid;
  grid-template-columns: 54px 1fr 86px;
  align-items: center;
  min-height: var(--app-header-height);
  padding: 24px 34px 10px;
  background: #f50700 url("new red bg.png") center / cover no-repeat;
  color: #fff;
}

.page[data-page="existing-payee"] .payee-header {
  background: #ffffff;
  color: #4b5562;
  border-bottom: 1px solid rgba(211, 217, 222, 0.75);
}

.no-eligible-page .payee-header {
  background: #ffffff;
  color: #4b5562;
  border-bottom: 1px solid rgba(211, 217, 222, 0.75);
}

.page[data-page="existing-payee"] .payee-header h2 {
  color: #4b5562;
}

.no-eligible-page .payee-header h2 {
  color: #4b5562;
}

.page[data-page="existing-payee"] .payee-back,
.page[data-page="existing-payee"] .payee-cancel {
  color: #6d7580;
}

.no-eligible-page .payee-back,
.no-eligible-page .payee-cancel {
  color: #6d7580;
}

.payee-header h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(18px, 2.5vw, 23px);
  font-weight: 400;
  text-align: center;
}

.payee-back,
.payee-cancel {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.95);
  cursor: pointer;
}

.payee-back {
  position: relative;
  width: 44px;
  height: 44px;
}

.payee-back::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 11px;
  width: 18px;
  height: 18px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.payee-cancel {
  justify-self: end;
  padding: 0;
  font-size: clamp(17px, 2.35vw, 22px);
  font-weight: 400;
}

.payee-form {
  padding: 72px 0 0;
}

.payee-select-row {
  position: relative;
  display: grid;
  gap: 24px;
  width: 100%;
  min-height: 146px;
  padding: 0 12.5vw 28px;
  border: 0;
  border-bottom: 1px solid rgba(211, 217, 222, 0.8);
  background: transparent;
  color: #59636e;
  cursor: pointer;
  text-align: left;
}

.payee-select-row + .payee-select-row {
  padding-top: 28px;
}

.payee-select-row span {
  color: #424c57;
  font-size: clamp(18px, 2.8vw, 24px);
  font-weight: 400;
}

.payee-select-row strong {
  color: #929aa3;
  font-size: clamp(21px, 3.1vw, 28px);
  font-weight: 300;
}

.payee-select-row::after {
  content: "";
  position: absolute;
  right: 12.5vw;
  bottom: 45px;
  width: 19px;
  height: 19px;
  border-top: 2px solid #6f7882;
  border-right: 2px solid #6f7882;
  transform: rotate(45deg);
}

.no-eligible-content {
  display: grid;
  justify-items: center;
  align-content: center;
  min-height: calc(100vh - var(--app-header-height));
  padding: 0 34px 18vh;
  text-align: center;
}

.warning-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 56px;
  margin-bottom: 36px;
  color: #fff;
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
  background: #e30613;
  clip-path: polygon(50% 0, 100% 92%, 0 92%);
}

.no-eligible-content h2 {
  margin: 0;
  color: #4d5661;
  font-size: clamp(34px, 5vw, 48px);
  font-weight: 300;
  line-height: 1.15;
}

.no-eligible-content p {
  max-width: 560px;
  margin: 32px 0 0;
  color: #6e7884;
  font-size: clamp(18px, 2.8vw, 25px);
  line-height: 1.45;
}

@media (min-width: 760px) {
  .app-header {
    padding-left: 64px;
    padding-right: 64px;
  }

  .account-screen-body {
    padding-left: 64px;
    padding-right: 64px;
  }
}

@media (max-width: 620px) {
  .account-detail-page {
    --detail-header-sticky-height: 64px;
  }

  .detail-top {
    padding-top: var(--detail-header-sticky-height);
  }

  .app-header {
    min-height: 136px;
    padding: 78px 52px 22px;
  }

  .header-content {
    gap: 18px;
  }

  .header-wallet {
    width: 28px;
    height: 28px;
  }

  .masked-name {
    max-width: 260px;
    font-size: 31px;
    font-weight: 300;
    line-height: 1.05;
  }

  .account-screen-body {
    padding: 38px 18px 0;
  }

  .mobile-account-card {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 22px;
    padding-bottom: 34px;
  }

  .account-card-icon {
    width: 52px;
    height: 78px;
    border-radius: 4px;
    font-size: 9px;
  }

  .account-card-top strong {
    font-size: 21px;
    letter-spacing: 0.01em;
  }

  .account-card-top strong:last-child {
    font-size: 18px;
  }

  .account-card-main p,
  .account-card-top span {
    margin-top: 7px;
    font-size: 17px;
    line-height: 0.8;
  }

  .account-card-top {
    gap: 12px;
  }

  .account-amount {
    gap: 0;
    --money-whole-size: 1em;
    --money-cents-size: 0.62em;
    --money-currency-size: 0.62em;
    --money-sign-size: 0.72em;
  }

  .account-card-top .account-amount {
    font-size: 20px;
  }

  .account-card-top span.account-amount {
    font-size: 20px;
  }

  .account-amount .amount-currency {
    margin-left: 5px;
  }

  .as-of {
    margin: 43px 0 0 34px;
    font-size: 15px !important;
    line-height: 1.35;
    white-space: nowrap;
  }

  .detail-header {
    grid-template-columns: 42px 1fr 42px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    min-height: 64px;
    padding: 12px 18px 0;
    z-index: 45;
    background: #eceff2;
  }

  .detail-header h2 {
    font-size: 17px;
  }

  .detail-header p {
    font-size: 14px;
  }

  .detail-balance-area {
    grid-template-columns: minmax(0, 1fr) 104px;
    gap: 12px;
    padding: 8px 24px 0;
  }

  .detail-label {
    font-size: 17px;
  }

  .detail-balance {
    font-size: 40px;
  }

  .detail-card-placeholder {
    width: 104px;
    height: 148px;
    transform: translateY(-8px);
  }

  .detail-stats {
    padding: 0 24px 6px;
  }

  .stat-row {
    grid-template-columns: 34px max-content minmax(52px, 130px);
    gap: 7px;
  }

  .stat-row > span,
  .detail-stats p {
    font-size: 14px;
  }

  .detail-stats p {
    margin-top: 10px;
  }

  .stat-row strong {
    font-size: 16px;
  }

  .detail-tabs button {
    min-height: 60px;
    font-size: 16px;
  }

  .detail-transactions {
    padding: 18px 28px 0;
  }

  .transaction-date-row > strong,
  .transaction-date-row > span {
    font-size: 18px;
  }

  .detail-transaction-row {
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 12px;
  }

  .transaction-arrow {
    width: 42px;
    height: 42px;
  }

  .transaction-arrow::before {
    left: 10px;
    top: 20px;
    width: 20px;
  }

  .transaction-arrow::after {
    right: 11px;
    top: 15px;
  }

  .detail-transaction-row strong {
    font-size: 18px;
  }

  .detail-transaction-row > strong:last-child {
    font-size: 17px;
  }

  .pay-header {
    min-height: 240px;
    padding: 100px 28px 38px;
  }

  .pay-header-content {
    gap: 18px;
  }

  .pay-title-icon {
    width: 31px;
    height: 31px;
  }

  .pay-header h2 {
    font-size: 31px;
  }

  .pay-action-row {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 14px;
    min-height: 88px;
    padding: 0 28px;
  }

  .pay-action-icon {
    width: 32px;
    height: 32px;
  }

  .pay-action-label {
    font-size: 17px;
  }

  .insights-header {
    min-height: 212px;
    padding: 91px 28px 34px;
  }

  .support-header,
  .more-header {
    min-height: 212px;
    padding: 91px 28px 34px;
  }

  .support-title-row,
  .more-title-row {
    gap: 17px;
  }

  .support-title-icon,
  .more-title-icon {
    width: 31px;
    height: 31px;
  }

  .support-header h2,
  .more-header h2 {
    font-size: 32px;
    font-weight: 300;
  }

  .support-body,
  .more-body {
    padding: 22px 28px 0;
  }

  .support-intro-card h3 {
    font-size: 17px;
  }

  .support-intro-card p {
    margin-top: 10px;
    font-size: 16px;
    line-height: 1.36;
  }

  .support-chat-btn {
    min-height: 58px;
    margin-top: 22px;
    font-size: 21px;
  }

  .support-list,
  .more-list {
    margin-top: 10px;
  }

  .support-row,
  .more-row {
    grid-template-columns: 30px minmax(0, 1fr) 18px;
    min-height: 74px;
  }

  .support-row-icon,
  .more-row-icon {
    width: 22px;
    height: 22px;
  }

  .support-row strong,
  .more-row span {
    font-size: 17px;
  }

  .support-row p {
    margin-top: 4px;
    font-size: 13px;
  }

  .insights-title-row {
    gap: 17px;
  }

  .insights-title-icon {
    width: 51px;
    height: 51px;
  }

  .insights-header h2 {
    font-size: 32px;
    font-weight: 300;
  }

  .insights-body {
    padding: 35px 28px 0;
  }

  .insights-kicker {
    font-size: 22px;
  }

  .insightsIntro {
    margin-top: 25px;
    font-size: 22px;
    line-height: 1.34;
  }

  .insights-account-select {
    gap: 10px;
    margin: 29px 0 20px;
    padding-right: 30px;
  }

  .insights-account-select span:first-child {
    font-size: 21px;
  }

  .insights-account-select span:last-child {
    font-size: 16px;
  }

  .insights-tool-card {
    grid-template-columns: 84px minmax(0, 1fr) 28px;
    min-height: 94px;
    padding: 0 20px;
  }

  .insights-tool-icon {
    width: 56px;
    height: 50px;
  }

  .insights-tool-card strong {
    font-size: 15px;
  }

  .insights-tool-card em {
    margin-top: 5px;
    font-size: 18px;
  }

  .payee-header {
    grid-template-columns: 42px 1fr 68px;
    min-height: var(--app-header-height);
    padding: 24px 24px 10px;
  }

  .payee-header h2 {
    font-size: 17px;
  }

  .payee-cancel {
    font-size: 17px;
  }

  .payee-form {
    padding-top: 58px;
  }

  .payee-select-row {
    min-height: 130px;
    padding: 0 32px 24px;
    gap: 22px;
  }

  .payee-select-row + .payee-select-row {
    padding-top: 24px;
  }

  .payee-select-row span {
    font-size: 17px;
  }

  .payee-select-row strong {
    font-size: 20px;
  }

  .payee-select-row::after {
    right: 34px;
    bottom: 42px;
    width: 17px;
    height: 17px;
  }

  .no-eligible-content {
    min-height: calc(100vh - var(--app-header-height));
    padding: 0 28px 16vh;
  }

  .warning-icon {
    width: 54px;
    height: 48px;
    margin-bottom: 30px;
    font-size: 32px;
  }

  .no-eligible-content h2 {
    font-size: 32px;
  }

  .no-eligible-content p {
    margin-top: 28px;
    font-size: 18px;
  }

  .admin-header {
    padding: 22px 18px;
  }

  .admin-header h2 {
    font-size: 24px;
  }

  .admin-panels {
    width: calc(100% - 24px);
  }

  .admin-panel {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .admin-repeat-fields {
    grid-template-columns: 1fr;
  }
}
  
