:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f7f9fa;
  --text: #151515;
  --muted: #6f7377;
  --hairline: #d9e4ea;
  --soft: #f2f5f6;
  --accent: #e30613;
  --accent-dark: #b4000b;
  --accent-soft: #fff1f1;
  --teal: #006d74;
  --green: #05784a;
  --danger: #111111;
  --shadow: 0 8px 22px rgba(15, 23, 42, 0.07);
  --shadow-soft: 0 3px 12px rgba(15, 23, 42, 0.06);
  --bottom-nav-height: 76px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  background: #ffffff;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none;
}

body {
  min-height: 100dvh;
  overflow: hidden;
  font-size: 16px;
}

.status-bar-backing {
  position: fixed;
  inset: 0 0 auto;
  z-index: 0;
  height: max(env(safe-area-inset-top), 48px);
  background: #bd0000;
  pointer-events: none;
  transition: background-color 180ms ease;
}

body.app-ready .status-bar-backing {
  background: #ffffff;
}

[hidden] {
  display: none !important;
}

button,
select {
  font: inherit;
}

button {
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

button:active {
  opacity: 0.72;
  transform: scale(0.98);
}

.app-shell,
.app {
  position: relative;
  width: 100%;
  height: 100dvh;
  min-height: 100dvh;
  overflow: hidden;
  background: #ffffff;
}

.app-shell {
  z-index: 1;
}

.app {
  opacity: 1;
  transition: opacity 220ms ease;
}

.app.is-loading {
  opacity: 0;
  pointer-events: none;
}

.splash {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  overflow: hidden;
  background:
    linear-gradient(142deg, rgba(255, 255, 255, 0.08) 0 19%, transparent 19% 100%),
    linear-gradient(31deg, transparent 0 36%, rgba(100, 0, 0, 0.18) 36% 56%, transparent 56% 100%),
    linear-gradient(164deg, transparent 0 48%, rgba(255, 70, 55, 0.12) 48% 68%, transparent 68% 100%),
    linear-gradient(210deg, #db0707 0%, #bd0000 52%, #940000 100%);
  transition: opacity 220ms ease, visibility 220ms ease;
}

.splash::before,
.splash::after {
  content: "";
  position: absolute;
  inset: auto;
  width: 95vw;
  height: 42vh;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.045);
  transform: rotate(-12deg);
}

.splash::before {
  top: 5vh;
  left: -18vw;
  clip-path: polygon(0 0, 100% 18%, 78% 100%, 8% 78%);
}

.splash::after {
  right: -20vw;
  bottom: 7vh;
  clip-path: polygon(18% 0, 100% 20%, 86% 100%, 0 70%);
}

.splash.hidden {
  opacity: 0;
  visibility: hidden;
}

.splash.has-custom-splash {
  background-image: var(--custom-splash-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.splash.has-custom-splash::before,
.splash.has-custom-splash::after,
.splash.has-custom-splash .splash-brand,
.splash.has-custom-splash .splash-tagline {
  display: none;
}

.splash-brand {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 22px;
  transform: translateY(-5vh);
}

.brand-mark {
  width: 98px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.brand-mark span {
  position: relative;
  display: block;
  width: 74px;
  height: 48px;
  border-radius: 50%;
  border: 13px solid #fff;
  border-top-color: transparent;
  transform: rotate(-21deg);
  animation: splash-mark 900ms ease-in-out both;
}

.brand-mark span::before,
.brand-mark span::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 60px;
  border-radius: 999px;
  background: #fff;
  transform: rotate(-26deg);
}

.brand-mark span::before {
  left: 46%;
  top: -31px;
}

.brand-mark span::after {
  left: 62%;
  top: -25px;
}

.splash h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 13vw, 58px);
  line-height: 1;
  font-weight: 650;
  letter-spacing: 0;
}

.splash-bottom {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: calc(88px + env(safe-area-inset-bottom));
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 18px;
  color: #fff;
  text-align: center;
}

.splash p {
  min-height: 24px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  font-weight: 600;
}

.splash .splash-tagline {
  color: #fff;
  font-size: clamp(28px, 8.4vw, 42px);
  line-height: 1.15;
  font-weight: 500;
}

.fake-face-id {
  position: absolute;
  left: 50%;
  top: calc(78px + env(safe-area-inset-top));
  z-index: 2;
  width: 58px;
  height: 58px;
  color: #28c76f;
  opacity: 0.96;
  transform: translateX(-50%) scale(0.92);
  animation: face-id-pop 900ms ease both;
}

.face-corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: currentColor;
}

.face-corner-tl {
  left: 0;
  top: 0;
  border-top: 3px solid;
  border-left: 3px solid;
  border-radius: 10px 0 0 0;
}

.face-corner-tr {
  right: 0;
  top: 0;
  border-top: 3px solid;
  border-right: 3px solid;
  border-radius: 0 10px 0 0;
}

.face-corner-bl {
  left: 0;
  bottom: 0;
  border-bottom: 3px solid;
  border-left: 3px solid;
  border-radius: 0 0 0 10px;
}

.face-corner-br {
  right: 0;
  bottom: 0;
  border-right: 3px solid;
  border-bottom: 3px solid;
  border-radius: 0 0 10px 0;
}

.face-eyes {
  position: absolute;
  top: 23px;
  left: 19px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 19px 0 0 currentColor;
}

.face-mouth {
  position: absolute;
  left: 20px;
  top: 36px;
  width: 23px;
  height: 9px;
  border-bottom: 3px solid currentColor;
  border-radius: 0 0 18px 18px;
}

.face-check {
  position: absolute;
  left: 19px;
  top: 20px;
  width: 23px;
  height: 12px;
  border-left: 4px solid currentColor;
  border-bottom: 4px solid currentColor;
  opacity: 0;
  transform: rotate(-45deg) scale(0.82);
}

.splash.is-unlocked .face-eyes,
.splash.is-unlocked .face-mouth {
  opacity: 0;
}

.splash.is-unlocked .face-check {
  opacity: 1;
  transform: rotate(-45deg) scale(1);
  transition: opacity 180ms ease, transform 180ms ease;
}

@keyframes face-id-pop {
  0% {
    opacity: 0;
    transform: translateX(-50%) scale(0.84);
  }
  100% {
    opacity: 0.96;
    transform: translateX(-50%) scale(1);
  }
}

@keyframes splash-mark {
  from {
    opacity: 0;
    transform: rotate(-21deg) scale(0.92);
  }
  to {
    opacity: 1;
    transform: rotate(-21deg) scale(1);
  }
}

.screen {
  position: absolute;
  inset: 0;
  display: none;
  min-width: 0;
  padding: max(12px, env(safe-area-inset-top)) 18px 0;
  background: #ffffff;
}

.screen.active {
  display: flex;
  flex-direction: column;
}

.top-bar,
.sub-header {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
}

.top-bar {
  color: var(--accent);
}

.top-spacer {
  flex: 1;
}

.top-bar .icon-button {
  margin-left: auto;
}

.top-bar .message-icon {
  width: 25px;
  height: 25px;
}

.home-logo-top {
  width: auto;
  max-width: min(46vw, 184px);
  height: 32px;
  object-fit: contain;
  object-position: left center;
  border-radius: 0;
}

.icon-button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  color: inherit;
}

.sub-header {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  gap: 0;
  color: var(--accent);
}

.sub-header::after {
  content: "";
}

.sub-header > div {
  min-width: 0;
  text-align: center;
}

.sub-header h2,
.sub-header p {
  margin: 0;
}

.sub-header h2 {
  color: var(--accent);
  font-size: 17.5px;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: 0;
}

.sub-header p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.scroll-area {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.scroll-area::-webkit-scrollbar {
  display: none;
}

.home-fixed {
  flex: 0 0 auto;
  padding: 12px 0 0;
}

.pull-refresh-indicator {
  height: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  opacity: 0;
  transition: height 160ms ease, opacity 160ms ease;
}

.pull-refresh-indicator.show {
  height: 22px;
  opacity: 1;
}

.pull-refresh-indicator.ready {
  color: var(--accent);
}

.hello {
  margin: 10px 0 19px;
  font-size: clamp(27px, 7.2vw, 32px);
  line-height: 1.08;
  font-weight: 560;
  letter-spacing: 0;
  color: #454545;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  margin: 0 0 19px;
}

.quick-actions button {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 8px;
  min-height: 74px;
  color: #242a2f;
}

.quick-actions button > span:last-child {
  width: 100%;
  min-width: 0;
  font-size: 11.5px;
  line-height: 1.17;
  font-weight: 520;
  text-align: center;
  overflow-wrap: anywhere;
  white-space: nowrap;
}

.quick-circle {
  width: clamp(52px, 13.5vw, 60px);
  height: clamp(52px, 13.5vw, 60px);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ffffff;
  color: var(--accent);
  box-shadow: 0 7px 18px rgba(15, 23, 42, 0.1);
}

.quick-circle .icon {
  width: 26px;
  height: 26px;
  transform: scale(1.12);
}

.account-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  display: block;
  margin: 0 0 14px;
  padding: 21px 17px 14px;
  text-align: left;
  border-radius: 0;
  background: #ffffff;
  border: 0;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.account-card::before {
  content: none;
}

.account-card-static {
  flex: 0 0 auto;
  margin-top: 18px;
  pointer-events: none;
}

.account-card-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.account-card strong,
.account-card small,
.balance-label,
.balance-value,
.balance-row {
  display: block;
}

.balance-row {
  display: grid;
  grid-template-columns: minmax(92px, 0.8fr) minmax(0, 1.2fr);
  align-items: baseline;
  gap: 10px;
}

.account-card strong {
  font-size: 17px;
  line-height: 1.25;
  font-weight: 600;
}

.account-card small {
  margin-top: 5px;
  color: #6c7780;
  font-size: 12.5px;
}

.balance-label {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 0;
}

.balance-value {
  font-size: clamp(24px, 6.4vw, 30px);
  line-height: 1.05;
  font-weight: 450;
  letter-spacing: 0;
  text-align: right;
  white-space: nowrap;
  word-break: normal;
}

.currency-pence {
  font-size: 0.52em;
  line-height: 1;
  vertical-align: baseline;
}

.cards-header {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  align-items: center;
  min-height: 48px;
  color: var(--accent);
}

.cards-header h2 {
  margin: 0;
  color: var(--accent);
  font-size: 19px;
  line-height: 1.15;
  font-weight: 650;
  text-align: center;
  letter-spacing: 0;
}

.card-scroll {
  padding: 18px 0 calc(var(--bottom-nav-height) + env(safe-area-inset-bottom) + 24px);
}

.fake-card-visual {
  position: relative;
  width: min(82%, 330px);
  height: 126px;
  margin: 0 auto -40px;
  overflow: hidden;
  border-radius: 8px;
  background:
    radial-gradient(circle at 78% 35%, rgba(255, 255, 255, 0.24) 0 3px, transparent 4px) 0 0 / 18px 18px,
    linear-gradient(135deg, #e1261c, #d71920 62%, #ef4b37);
  box-shadow: 0 10px 26px rgba(215, 25, 32, 0.2);
}

.fake-card-visual strong {
  position: absolute;
  left: 104px;
  top: 48px;
  color: #fff;
  font-size: 27px;
  line-height: 1;
}

.card-mark {
  position: absolute;
  left: 28px;
  top: 38px;
  width: 50px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
}

.card-mark::before {
  content: "";
  position: absolute;
  left: 17px;
  top: -16px;
  width: 12px;
  height: 52px;
  border-radius: 999px;
  background: var(--accent);
  transform: rotate(-29deg);
  box-shadow: 13px 1px 0 var(--accent);
}

.card-circles {
  position: absolute;
  right: 18px;
  top: 28px;
  width: 84px;
  height: 56px;
}

.card-circles::before,
.card-circles::after {
  content: "";
  position: absolute;
  top: 0;
  width: 56px;
  height: 56px;
  border: 2px solid #fff;
  border-radius: 50%;
}

.card-circles::before {
  left: 0;
  background: #df2d2e;
}

.card-circles::after {
  right: 0;
  background: rgba(255, 176, 45, 0.92);
}

.card-detail-card {
  position: relative;
  z-index: 1;
  min-height: 260px;
  padding: 30px 24px 24px;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.card-detail-card h3 {
  margin: 0 0 8px;
  color: #202326;
  font-size: 23px;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0;
}

.masked-card {
  margin: 0;
  color: #303438;
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: 1px;
}

.card-divider {
  height: 1px;
  margin: 150px 0 18px;
  background: #d7dde2;
}

.card-detail-card dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 0;
}

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

.card-detail-card dt,
.card-detail-card dd {
  display: inline;
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
}

.card-detail-card dt {
  color: #33383d;
}

.card-detail-card dd {
  margin-left: 4px;
  font-weight: 750;
}

.list-scroll {
  padding: 6px 0 calc(var(--bottom-nav-height) + env(safe-area-inset-bottom) + 20px);
}

[data-screen="direct-debits"] .list-scroll {
  padding-top: 6px;
}

.date-group {
  padding-top: 14px;
}

.date-group h3 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 14px 0 10px;
  color: var(--accent);
  font-size: 15.5px;
  line-height: 1.2;
  font-weight: 650;
  text-transform: none;
}

.row-button {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  min-height: 66px;
  padding: 14px 0;
  text-align: left;
  border-bottom: 1px solid var(--hairline);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.row-button + .row-button {
  margin-top: 0;
}

.row-main {
  display: block;
  min-width: 0;
}

.row-title {
  display: block;
  min-width: 0;
  font-size: 15px;
  line-height: 1.22;
  font-weight: 400;
}

.row-subtitle {
  display: block;
  margin-top: 5px;
  color: #6f7a83;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 430;
}

.row-amount {
  white-space: nowrap;
  font-size: 14px;
  line-height: 1.12;
  font-weight: 480;
}

.row-button > .row-amount {
  align-self: center;
}

.payment-overview {
  margin: 8px 0 22px;
  padding: 16px 16px 14px;
  border: 0;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.payment-overview h3 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 15.5px;
  line-height: 1.2;
  font-weight: 500;
}

.overview-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 7px 0;
}

.overview-line span {
  color: var(--text);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 400;
}

.overview-line strong {
  font-size: 14.5px;
  line-height: 1.15;
  font-weight: 480;
  white-space: nowrap;
}

.payment-overview .amount-out {
  color: var(--accent);
}

.payment-group {
  margin: 0 0 18px;
  border-bottom: 1px solid var(--hairline);
}

.payment-group + .payment-group {
  padding-top: 12px;
}

.payment-group-heading {
  padding: 0;
  border-bottom: 0;
}

.payment-group-heading h3 {
  margin: 14px 0 10px;
  color: var(--accent);
  font-size: 15.5px;
  line-height: 1.2;
  font-weight: 650;
}

.payment-group-heading .income-heading {
  color: var(--accent);
}

.payment-group .row-button:last-child {
  border-bottom: 0;
}

.row-figures {
  align-self: center;
  display: grid;
  justify-items: end;
  gap: 3px;
  min-width: 92px;
}

.row-balance {
  color: #80868b;
  font-size: 11px;
  line-height: 1.15;
  font-weight: 450;
  white-space: nowrap;
}

.amount-in {
  color: var(--green);
}

.amount-out {
  color: var(--danger);
}

.empty-state {
  padding: 48px 18px;
  color: var(--muted);
  text-align: center;
}

.empty-state.compact {
  padding: 28px 12px;
}

.detail-panel,
.maintenance-message,
.safe-message,
.admin-panel {
  margin-top: 24px;
  padding-bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom) + 20px);
}

.detail-panel {
  display: grid;
  gap: 14px;
}

.detail-hero {
  padding: 22px 0;
  border-bottom: 1px solid var(--hairline);
}

.detail-hero h3 {
  margin: 0 0 8px;
  font-size: 21px;
  line-height: 1.15;
}

.detail-hero strong {
  font-size: 26px;
}

.detail-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--hairline);
}

.detail-line span:first-child {
  color: var(--muted);
}

.detail-line span:last-child {
  text-align: right;
  font-weight: 500;
}

.maintenance-message,
.safe-message {
  max-width: 350px;
  padding: 6px 0;
}

.maintenance-message h3,
.safe-message h3 {
  margin: 10px 0 16px;
  font-size: 24px;
  line-height: 1.08;
  font-weight: 560;
}

.maintenance-message p,
.safe-message p {
  margin: 0 0 14px;
  color: #343a40;
  font-size: 16px;
  line-height: 1.35;
}

.admin-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.admin-actions button {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 20px;
  background: var(--soft);
  font-weight: 650;
}

pre {
  max-height: calc(100dvh - 220px);
  margin: 12px 0 0;
  padding: 12px;
  overflow: auto;
  border-radius: 8px;
  background: #111827;
  color: #f9fafb;
  font-size: 11px;
  line-height: 1.45;
}

.bottom-nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  height: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 7px 0 calc(7px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.99);
  box-shadow: none;
}

.bottom-nav button {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 4px;
  min-width: 0;
  border-radius: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 450;
  position: relative;
}

.bottom-nav button.active {
  color: var(--accent);
  background: transparent;
}

.bottom-nav button.active::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 8px;
  right: 8px;
  height: 2px;
  background: var(--accent);
}

.toast {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom) + 18px);
  z-index: 60;
  min-height: 44px;
  display: grid;
  place-items: center;
  padding: 10px 16px;
  border-radius: 22px;
  background: #1f2937;
  color: #fff;
  font-size: 14px;
  font-weight: 650;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.icon {
  position: relative;
  display: inline-block;
  width: 22px;
  height: 22px;
  color: currentColor;
}

.eye-icon::before {
  content: "";
  position: absolute;
  inset: 5px 2px;
  border: 2px solid currentColor;
  border-radius: 50% / 70%;
}

.eye-icon::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.message-icon::before {
  content: "";
  position: absolute;
  inset: 4px 2px 6px;
  border: 2px solid currentColor;
  border-radius: 7px;
}

.message-icon::after {
  content: "";
  position: absolute;
  left: 7px;
  bottom: 3px;
  width: 7px;
  height: 7px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-28deg);
}

.dots-icon::before,
.dots-icon::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: currentColor;
}

.transfer-icon::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 3px;
  width: 15px;
  height: 12px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

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

.card-icon::before {
  content: "";
  position: absolute;
  inset: 5px 2px;
  border: 2px solid currentColor;
  border-radius: 4px;
}

.card-icon::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  top: 10px;
  height: 2px;
  background: currentColor;
}

.payee-icon::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 7px;
  height: 7px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.payee-icon::after {
  content: "";
  position: absolute;
  left: 3px;
  bottom: 4px;
  width: 15px;
  height: 8px;
  border: 2px solid currentColor;
  border-radius: 10px 10px 4px 4px;
}

.gift-icon::before {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 3px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.gift-icon::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 4px;
  width: 2px;
  height: 15px;
  background: currentColor;
  box-shadow: -6px 4px 0 -1px currentColor, 6px 4px 0 -1px currentColor;
}

.dots-icon::before {
  top: 10px;
  left: 4px;
  width: 4px;
  height: 4px;
  box-shadow: 7px 0 0 currentColor, 14px 0 0 currentColor;
}

.chevron {
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.55;
}

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

.back-icon::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 10px;
  width: 14px;
  height: 2px;
  background: currentColor;
}

.home-icon::before {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 3px;
  height: 10px;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 0 0 3px 3px;
}

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

.list-icon::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 5px;
  width: 11px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 6px 0 currentColor, 0 12px 0 currentColor;
}

.list-icon::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 5px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 6px 0 currentColor, 0 12px 0 currentColor;
}

.repeat-icon::before {
  content: "";
  position: absolute;
  inset: 5px 3px;
  border: 2px solid currentColor;
  border-left-color: transparent;
  border-radius: 50%;
}

.repeat-icon::after {
  content: "";
  position: absolute;
  right: 2px;
  top: 4px;
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(25deg);
}

@media (min-width: 520px) {
  body {
    display: grid;
    place-items: center;
    background: #eef1f3;
  }

  .app-shell {
    max-width: 430px;
    max-height: 932px;
    box-shadow: 0 16px 50px rgba(16, 24, 40, 0.15);
  }

  .toast {
    left: 50%;
    right: auto;
    width: min(430px, 100vw);
    transform: translateX(-50%);
  }

  .toast {
    width: min(394px, calc(100vw - 36px));
  }

  .toast.show {
    transform: translateX(-50%) translateY(0);
  }
}
