:root {
  --ink: #0b1830;
  --ink-soft: #596477;
  --paper: #f2f4f0;
  --surface: #ffffff;
  --line: #dde2dc;
  --lime: #c9f762;
  --lime-soft: #effbd4;
  --teal: #2cc9ab;
  --danger: #e35b63;
  --danger-soft: #fff0f0;
  --font-body: "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
  --font-display: "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

button,
input,
select {
  font: inherit;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  overflow: hidden;
  color: var(--lime);
  background: var(--ink);
  border-radius: 13px;
}

.brand-mark::after {
  position: absolute;
  right: -9px;
  bottom: -9px;
  width: 24px;
  height: 24px;
  content: "";
  background: var(--teal);
  border-radius: 50%;
}

.brand-mark span {
  position: relative;
  z-index: 1;
  font-size: 17px;
}

.brand-name {
  font-size: 17px;
}

.language-link {
  display: grid;
  min-width: 43px;
  height: 43px;
  padding: 0 10px;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.language-link:hover {
  background: var(--surface);
  border-color: #c6cdc6;
  transform: translateY(-2px);
}

.language-link:focus-visible,
.logout-button:focus-visible,
.balance-visibility:focus-visible,
.page-button:focus-visible,
.primary-button:focus-visible,
.reveal-button:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(65, 105, 225, 0.28);
  outline-offset: 3px;
}

/* Secure login */

.login-page {
  overflow-x: hidden;
  color: #eef4ff;
  background: var(--ink);
}

.login-shell {
  min-height: 100vh;
}

.login-panel {
  position: relative;
  display: flex;
  min-height: 100vh;
  padding: max(24px, env(safe-area-inset-top)) 22px max(28px, env(safe-area-inset-bottom));
  overflow: hidden;
  flex-direction: column;
  justify-content: center;
}

.login-brand {
  position: absolute;
  top: max(24px, env(safe-area-inset-top));
  left: 22px;
}

.login-brand .brand-mark {
  color: var(--ink);
  background: var(--lime);
}

.login-language {
  position: absolute;
  top: max(24px, env(safe-area-inset-top));
  right: 22px;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.12);
}

.login-language:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.2);
}

.login-visual {
  position: relative;
  width: 148px;
  height: 118px;
  margin: 58px auto 34px;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(201, 247, 98, 0.26);
  border-radius: 50%;
  animation: orbit 8s linear infinite;
}

.orbit-one {
  inset: 0 15px;
}

.orbit-two {
  inset: 16px 0;
  border-color: rgba(44, 201, 171, 0.25);
  animation-direction: reverse;
  animation-duration: 10s;
}

.lock-symbol {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 56px;
  height: 52px;
  background: var(--lime);
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(201, 247, 98, 0.15);
  transform: translate(-50%, -37%);
}

.lock-symbol::before {
  position: absolute;
  top: -21px;
  left: 13px;
  width: 26px;
  height: 29px;
  content: "";
  border: 4px solid var(--lime);
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
}

.lock-symbol i {
  position: absolute;
  top: 19px;
  left: 25px;
  width: 7px;
  height: 14px;
  background: var(--ink);
  border-radius: 5px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 13px;
  color: #aab5c8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 7px;
  height: 7px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(44, 201, 171, 0.1);
}

.login-panel h1 {
  margin: 0;
  font-size: clamp(34px, 10vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.login-copy {
  max-width: 430px;
  margin: 14px 0 28px;
  color: #aeb9ca;
  font-size: 15px;
  line-height: 1.6;
}

.form-error,
.database-notice {
  padding: 12px 14px;
  color: #ffd4d6;
  font-size: 13px;
  line-height: 1.45;
  background: rgba(227, 91, 99, 0.12);
  border: 1px solid rgba(227, 91, 99, 0.25);
  border-radius: 14px;
}

.form-error {
  margin: -10px 0 17px;
  animation: shake 320ms ease;
}

.database-notice {
  margin: -8px 0 16px;
  color: #8c3439;
  background: var(--danger-soft);
  border-color: #f3cfd1;
}

.login-form label {
  display: block;
  margin-bottom: 9px;
  color: #d9e0eb;
  font-size: 13px;
  font-weight: 600;
}

.code-field {
  position: relative;
}

.code-field input {
  width: 100%;
  height: 58px;
  padding: 0 58px 0 18px;
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.14em;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 17px;
  outline: none;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.code-field input::placeholder {
  color: #69758a;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: normal;
}

.code-field input:focus {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(201, 247, 98, 0.7);
  box-shadow: 0 0 0 4px rgba(201, 247, 98, 0.08);
}

.reveal-button {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  cursor: pointer;
  place-items: center;
  background: transparent;
  border: 0;
  border-radius: 12px;
}

.reveal-button span {
  position: relative;
  width: 19px;
  height: 13px;
  border: 2px solid #8894a8;
  border-radius: 60% 10%;
  transform: rotate(45deg);
}

.reveal-button span::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 5px;
  height: 5px;
  content: "";
  background: #8894a8;
  border-radius: 50%;
}

.reveal-button.is-visible span {
  border-color: var(--lime);
}

.reveal-button.is-visible span::after {
  background: var(--lime);
}

.primary-button {
  display: flex;
  width: 100%;
  height: 58px;
  padding: 0 17px 0 20px;
  margin-top: 15px;
  cursor: pointer;
  align-items: center;
  justify-content: space-between;
  color: var(--ink);
  font-weight: 700;
  background: var(--lime);
  border: 0;
  border-radius: 17px;
  box-shadow: 0 15px 38px rgba(201, 247, 98, 0.11);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.primary-button:hover {
  background: #d3ff72;
  box-shadow: 0 19px 45px rgba(201, 247, 98, 0.17);
  transform: translateY(-2px);
}

.primary-button:active {
  transform: translateY(0) scale(0.99);
}

.primary-button i {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  font-size: 19px;
  font-style: normal;
  background: rgba(11, 24, 48, 0.09);
  border-radius: 11px;
}

.primary-button.is-loading i {
  border: 2px solid rgba(11, 24, 48, 0.15);
  border-top-color: var(--ink);
  border-radius: 50%;
  animation: spin 700ms linear infinite;
  font-size: 0;
}

.device-note {
  display: flex;
  margin: 19px 0 0;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #758196;
  font-size: 12px;
}

.device-note span {
  width: 6px;
  height: 6px;
  background: #4a5669;
  border-radius: 50%;
}

.login-side {
  display: none;
}

/* Account dashboard */

.dashboard-page {
  animation: page-in 480ms ease both;
}

.app-shell {
  width: min(1180px, 100%);
  min-height: 100vh;
  padding: max(20px, env(safe-area-inset-top)) 17px max(24px, env(safe-area-inset-bottom));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-actions form {
  margin: 0;
}

.logout-button {
  display: grid;
  width: 43px;
  height: 43px;
  padding: 0;
  cursor: pointer;
  place-items: center;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.logout-button:hover {
  color: var(--danger);
  background: #fff;
  border-color: #edc9cb;
  transform: translateY(-2px);
}

.logout-icon {
  position: relative;
  width: 14px;
  height: 17px;
  border: 2px solid currentColor;
  border-right: 0;
  border-radius: 4px 0 0 4px;
}

.logout-icon::before {
  position: absolute;
  top: 6px;
  left: 7px;
  width: 10px;
  height: 2px;
  content: "";
  background: currentColor;
}

.logout-icon::after {
  position: absolute;
  top: 3px;
  left: 12px;
  width: 6px;
  height: 6px;
  content: "";
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.logout-text {
  display: none;
}

.welcome-row {
  display: flex;
  margin: 54px 0 24px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.section-kicker {
  margin: 0 0 5px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.welcome-row h1 {
  margin: 0;
  font-size: clamp(38px, 12vw, 58px);
  line-height: 1;
  letter-spacing: -0.065em;
}

.welcome-row h1 span {
  color: var(--teal);
}

.status-pill {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  color: #405063;
  font-size: 12px;
  font-weight: 600;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.status-pill span {
  width: 7px;
  height: 7px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(44, 201, 171, 0.12);
}

.dashboard-grid {
  display: grid;
  gap: 13px;
}

.balance-card {
  position: relative;
  display: flex;
  min-height: 232px;
  padding: 24px;
  overflow: hidden;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  background: var(--ink);
  border-radius: 28px;
  box-shadow: 0 22px 46px rgba(11, 24, 48, 0.18);
  isolation: isolate;
}

.balance-card::before,
.balance-card::after {
  position: absolute;
  z-index: -1;
  content: "";
  border-radius: 50%;
}

.balance-card::before {
  top: -76px;
  right: -49px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(201, 247, 98, 0.27);
  box-shadow:
    0 0 0 30px rgba(201, 247, 98, 0.045),
    0 0 0 60px rgba(201, 247, 98, 0.035);
}

.balance-card::after {
  bottom: -78px;
  left: 29%;
  width: 180px;
  height: 180px;
  background: rgba(44, 201, 171, 0.08);
}

.card-glow {
  position: absolute;
  z-index: -1;
  right: -20px;
  bottom: -30px;
  width: 145px;
  height: 145px;
  background: var(--teal);
  border-radius: 50%;
  filter: blur(75px);
  opacity: 0.28;
}

.balance-card-top,
.balance-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.account-label {
  color: #b7c1cf;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.balance-visibility {
  display: grid;
  width: 39px;
  height: 39px;
  padding: 0;
  cursor: pointer;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 13px;
  transition: background 180ms ease, transform 180ms ease;
}

.balance-visibility:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: rotate(-4deg);
}

.balance-visibility span {
  position: relative;
  width: 17px;
  height: 11px;
  border: 1.7px solid #c6d0dc;
  border-radius: 60% 10%;
  transform: rotate(45deg);
}

.balance-visibility span::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 4px;
  height: 4px;
  content: "";
  background: #c6d0dc;
  border-radius: 50%;
}

.balance-visibility.is-hidden span::before {
  position: absolute;
  top: 3px;
  left: -3px;
  width: 22px;
  height: 2px;
  content: "";
  background: var(--danger);
  transform: rotate(90deg);
}

.balance-amount {
  margin: 16px 0 21px;
  font-size: clamp(39px, 12vw, 61px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.07em;
  transition: filter 180ms ease, opacity 180ms ease;
}

.balance-amount.is-hidden {
  filter: blur(11px);
  opacity: 0.45;
  user-select: none;
}

.mini-chip {
  display: grid;
  width: 38px;
  height: 28px;
  padding: 6px 8px;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  background: var(--lime);
  border-radius: 8px;
}

.mini-chip i {
  border: 1px solid rgba(11, 24, 48, 0.35);
  border-radius: 2px;
}

.account-number {
  margin-left: auto;
  color: #8f9caf;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.contactless {
  margin-left: 8px;
  color: #8f9caf;
  font-size: 11px;
  transform: rotate(-90deg);
}

.side-stack {
  display: grid;
  gap: 13px;
}

.summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.summary-card {
  display: flex;
  min-width: 0;
  min-height: 129px;
  padding: 17px 14px;
  align-items: flex-start;
  gap: 11px;
  background: #fff;
  border: 1px solid rgba(221, 226, 220, 0.8);
  border-radius: 22px;
  box-shadow: 0 8px 28px rgba(17, 34, 56, 0.04);
}

.summary-icon {
  display: grid;
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  place-items: center;
  font-size: 15px;
  font-weight: 700;
  border-radius: 10px;
}

.income-card .summary-icon {
  color: #137b69;
  background: #e6faf5;
}

.spent-card .summary-icon {
  color: #a8474c;
  background: var(--danger-soft);
}

.summary-card div {
  min-width: 0;
}

.summary-card p {
  margin: 1px 0 8px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 600;
}

.summary-card strong {
  display: block;
  overflow: hidden;
  font-size: clamp(17px, 5vw, 22px);
  letter-spacing: -0.04em;
  text-overflow: ellipsis;
}

.summary-card small {
  display: block;
  margin-top: 6px;
  color: #9aa3b1;
  font-size: 10px;
}

.converter-card {
  display: grid;
  padding: 17px;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px 14px;
  background: var(--lime-soft);
  border: 1px solid #dceeb3;
  border-radius: 22px;
}

.converter-copy {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.converter-icon {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  color: #38531a;
  font-size: 21px;
  font-weight: 700;
  background: rgba(201, 247, 98, 0.85);
  border-radius: 12px;
}

.converter-copy p {
  margin: 0 0 3px;
  color: #607442;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.converter-copy strong {
  display: block;
  overflow: hidden;
  font-size: 19px;
  letter-spacing: -0.04em;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: opacity 140ms ease, transform 140ms ease;
}

.converter-copy strong.is-changing {
  opacity: 0;
  transform: translateY(4px);
}

.currency-select {
  position: relative;
}

.currency-select select {
  height: 40px;
  padding: 0 30px 0 12px;
  cursor: pointer;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  appearance: none;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid #d6e6b5;
  border-radius: 12px;
}

.currency-select::after {
  position: absolute;
  top: 14px;
  right: 11px;
  width: 6px;
  height: 6px;
  pointer-events: none;
  content: "";
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: rotate(45deg);
}

.converter-note {
  margin: 0;
  grid-column: 1 / -1;
  color: #75865a;
  font-size: 10px;
}

.transactions-section {
  margin-top: 48px;
}

.section-header {
  display: flex;
  margin-bottom: 14px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.section-header h2 {
  margin: 0;
  font-size: 27px;
  letter-spacing: -0.055em;
}

.transaction-total {
  padding: 7px 10px;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 600;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 99px;
}

.transaction-list {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 12px 40px rgba(17, 34, 56, 0.045);
}

.transaction-row {
  display: grid;
  min-height: 78px;
  padding: 13px 14px;
  grid-template-columns: 43px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  border-bottom: 1px solid #edf0ec;
  animation: row-in 440ms calc(var(--row-index) * 45ms) ease both;
}

.transaction-row:last-child {
  border-bottom: 0;
}

.transaction-icon {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  font-size: 17px;
  font-weight: 700;
  border-radius: 14px;
}

.transaction-icon.is-income {
  color: #116f60;
  background: #e9f9f5;
}

.transaction-icon.is-spending {
  color: #a9474c;
  background: #fff0f0;
}

.transaction-description {
  min-width: 0;
}

.transaction-description strong {
  display: block;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.transaction-description span,
.transaction-amount span {
  display: block;
  margin-top: 5px;
  color: #929ba8;
  font-size: 10px;
}

.transaction-amount {
  min-width: 70px;
  text-align: right;
}

.transaction-amount strong {
  display: block;
  font-size: 14px;
  letter-spacing: -0.025em;
}

.transaction-amount.positive strong {
  color: #13816e;
}

.transaction-amount.negative strong {
  color: var(--ink);
}

.empty-state {
  padding: 48px 20px;
  color: var(--ink-soft);
  text-align: center;
}

.pagination {
  display: grid;
  margin-top: 13px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
}

.page-button {
  display: inline-flex;
  width: fit-content;
  min-height: 42px;
  padding: 0 12px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.page-button:last-child {
  justify-self: end;
}

a.page-button:hover {
  background: var(--lime-soft);
  border-color: #d3e5ad;
  transform: translateY(-2px);
}

.page-button.disabled {
  color: #aeb5bd;
  background: rgba(255, 255, 255, 0.5);
}

.page-status {
  color: var(--ink-soft);
  font-size: 10px;
  text-align: center;
}

footer {
  display: flex;
  padding: 34px 2px 2px;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  color: #8b949f;
  font-size: 10px;
}

footer span {
  color: #67717f;
  font-weight: 700;
}

footer p {
  margin: 0;
}

@media (min-width: 560px) {
  .app-shell {
    padding-right: 28px;
    padding-left: 28px;
  }

  .status-pill {
    display: flex;
  }

  .summary-card {
    padding: 20px;
  }

  .transaction-row {
    min-height: 84px;
    padding-right: 20px;
    padding-left: 20px;
    grid-template-columns: 48px minmax(0, 1fr) 100px;
    gap: 14px;
  }

  .transaction-icon {
    width: 48px;
    height: 48px;
  }

  .transaction-description strong {
    font-size: 14px;
  }
}

@media (min-width: 760px) {
  .login-shell {
    display: grid;
    grid-template-columns: minmax(430px, 0.9fr) 1.1fr;
  }

  .login-panel {
    padding-right: clamp(45px, 7vw, 100px);
    padding-left: clamp(45px, 7vw, 100px);
  }

  .login-brand {
    left: clamp(45px, 7vw, 100px);
  }

  .login-language {
    right: clamp(45px, 7vw, 100px);
  }

  .login-visual {
    display: none;
  }

  .login-side {
    position: relative;
    display: block;
    min-height: calc(100vh - 28px);
    margin: 14px 14px 14px 0;
    overflow: hidden;
    background:
      radial-gradient(circle at 20% 15%, rgba(201, 247, 98, 0.92) 0 9%, transparent 9.2%),
      radial-gradient(circle at 88% 78%, rgba(44, 201, 171, 0.72) 0 18%, transparent 18.2%),
      linear-gradient(140deg, #dfffa0 0%, #94eecf 45%, #6986ee 100%);
    border-radius: 30px;
  }

  .login-side::before,
  .login-side::after {
    position: absolute;
    content: "";
    border: 1px solid rgba(11, 24, 48, 0.16);
    border-radius: 50%;
  }

  .login-side::before {
    top: -15vw;
    right: -10vw;
    width: 42vw;
    height: 42vw;
    box-shadow: 0 0 0 45px rgba(11, 24, 48, 0.035), 0 0 0 90px rgba(11, 24, 48, 0.025);
  }

  .login-side::after {
    bottom: -16vw;
    left: -12vw;
    width: 39vw;
    height: 39vw;
  }

  .side-copy {
    position: absolute;
    z-index: 1;
    right: clamp(30px, 5vw, 75px);
    bottom: clamp(35px, 7vw, 90px);
    left: clamp(30px, 5vw, 75px);
    color: var(--ink);
  }

  .side-copy span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
  }

  .side-copy strong {
    display: block;
    margin-top: 18px;
    font-size: clamp(36px, 5vw, 72px);
    line-height: 1.02;
    letter-spacing: -0.07em;
  }

  .logout-button {
    display: flex;
    width: auto;
    padding: 0 14px;
    gap: 10px;
  }

  .logout-text {
    display: block;
    font-size: 11px;
    font-weight: 700;
  }
}

@media (min-width: 900px) {
  .app-shell {
    padding: 30px 42px;
  }

  .welcome-row {
    margin-top: 74px;
    margin-bottom: 34px;
  }

  .dashboard-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(330px, 0.8fr);
    gap: 16px;
  }

  .balance-card {
    min-height: 290px;
    padding: 30px;
  }

  .side-stack {
    grid-template-rows: 1fr auto;
    gap: 14px;
  }

  .summary-grid {
    height: 100%;
    gap: 14px;
  }

  .summary-card {
    min-height: 0;
    flex-direction: column;
    justify-content: space-between;
  }

  .transactions-section {
    margin-top: 66px;
  }

  .section-header h2 {
    font-size: 34px;
  }

  .transaction-list {
    border-radius: 27px;
  }

  .transaction-row {
    padding-right: 24px;
    padding-left: 24px;
  }
}

@media (min-width: 1100px) {
  .summary-card {
    flex-direction: row;
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@keyframes page-in {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes row-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

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

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

@keyframes shake {
  25% {
    transform: translateX(-4px);
  }
  50% {
    transform: translateX(4px);
  }
  75% {
    transform: translateX(-2px);
  }
}

