:root {
  --bg-page: #fcfbfb;
  --bg-primary: #ffffff;
  --bg-card: #ffffff;
  --bg-subtle: #f7f4ee;
  --bg-warm: #fdfbf7;
  --accent: #de9a3e;
  --accent-dark: #b3752a;
  --accent-light: #f4c878;
  --text-primary: #18140f;
  --text-secondary: #6b6459;
  --text-muted: #9b9284;
  --border: #eae5db;
  --border-strong: #ddd6c8;
  --success: #1b9c5a;
  --error: #d4483a;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg-page);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg-page);
  color: var(--text-primary);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

button {
  border: 0;
  font: inherit;
}

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

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

.page-shell {
  position: relative;
  width: min(100%, 1440px);
  margin-inline: auto;
  overflow: hidden;
  background: var(--bg-page);
}

.decor-wave,
.decor-dot {
  position: absolute;
  pointer-events: none;
}

.decor-wave {
  top: -68px;
  z-index: 0;
  width: 946px;
  height: 818px;
  background: url("/assets/wave-decor.png") center / 100% 100% no-repeat;
  opacity: 1;
}

.decor-wave--left {
  left: -50px;
}

.decor-wave--right {
  right: -672px;
}

.decor-dot {
  z-index: 1;
  border-radius: 999px;
  background: var(--accent);
}

.decor-dot--one {
  left: 204px;
  top: 511px;
  width: 6px;
  height: 6px;
  opacity: 0.55;
}

.decor-dot--two {
  left: 172px;
  top: 679px;
  width: 5px;
  height: 5px;
  opacity: 0.4;
}

.decor-dot--three {
  left: 1097px;
  top: 251px;
  width: 6px;
  height: 6px;
  opacity: 0.5;
}

.decor-dot--four {
  left: 1226px;
  top: 500px;
  width: 5px;
  height: 5px;
  opacity: 0.37;
}

.decor-dot--five {
  left: 1384px;
  top: 705px;
  width: 5px;
  height: 5px;
  opacity: 0.45;
}

.header,
main,
.footer {
  position: relative;
  z-index: 2;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 95px;
  padding-inline: 36px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand__mark {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.brand__name {
  color: var(--text-primary);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 1px;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 20px;
}

.utility-button,
.icon-button,
.welcome-badge,
.or-divider,
.wallet-cta,
.wallet-footnote__title,
.import-badge,
.secure-section h2,
.footer__socials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.utility-button,
.icon-button {
  border: 1px solid var(--border);
  background: var(--bg-primary);
  color: var(--text-primary);
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.utility-button {
  height: 43px;
  gap: 9px;
  padding-inline: 16px;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}

.utility-button--language {
  gap: 10px;
  padding-inline: 18px;
  cursor: default;
}

.utility-button svg {
  width: 17px;
  height: 17px;
  color: var(--text-secondary);
}

.utility-button svg:last-child {
  width: 16px;
  height: 16px;
  color: var(--text-muted);
}

.icon-button {
  width: 37px;
  height: 37px;
  border-radius: 999px;
  color: var(--text-secondary);
  cursor: default;
}

.icon-button svg {
  width: 17px;
  height: 17px;
}

.utility-button:hover,
.icon-button:hover {
  border-color: var(--border-strong);
  background: #fffefd;
  transform: translateY(-1px);
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 50px 150px 0;
  text-align: center;
}

.welcome-badge {
  gap: 8px;
  min-height: 36px;
  margin-bottom: 24px;
  padding: 9px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-primary);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

.welcome-badge svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
}

.hero h1 {
  width: 100%;
  margin: 0 0 16px;
  color: var(--text-primary);
  font-size: 46px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  text-wrap: balance;
}

.hero p {
  width: min(760px, 100%);
  margin: 0;
  color: var(--text-secondary);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  text-wrap: pretty;
}

.wallet-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 50px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  width: min(892px, calc(100% - 80px));
  min-height: 547px;
  margin-inline: auto;
  padding-top: 34px;
}

.wallet-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  height: 547px;
  min-width: 0;
  padding: 30px 22px 26px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg-card);
  box-shadow: 0 3px 14px rgba(24, 20, 15, 0.04);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.wallet-card__art {
  width: 238px;
  height: 184px;
  object-fit: contain;
  flex: 0 0 auto;
  transition: transform 180ms ease, filter 180ms ease;
}

@media (hover: hover) {
  .wallet-card:hover,
  .wallet-card:focus-within {
    border-color: #e4c999;
    box-shadow: 0 10px 26px rgba(24, 20, 15, 0.08);
    transform: translateY(-4px);
  }

  .wallet-card:hover .wallet-card__art,
  .wallet-card:focus-within .wallet-card__art {
    filter: saturate(1.04) contrast(1.02);
    transform: translateY(-5px) scale(1.025);
  }
}

.wallet-card__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 124px;
  text-align: center;
}

.wallet-card h2 {
  margin: 0;
  color: var(--text-primary);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.wallet-card p {
  width: min(245px, 100%);
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.72;
  text-align: center;
}

.wallet-card__copy--import p {
  width: min(240px, 100%);
  line-height: 1.52;
}

.wallet-card__cta-wrap {
  width: 100%;
  padding-inline: 22px;
}

.wallet-cta {
  gap: 10px;
  width: 100%;
  min-height: 50px;
  padding-inline: 24px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  transition: filter 160ms ease, transform 160ms ease, border-color 160ms ease;
}

.wallet-cta svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.wallet-cta--primary {
  background: linear-gradient(90deg, #e0a544 0%, #be7c1b 100%);
  color: #ffffff;
}

.wallet-cta--outline {
  border: 1.5px solid var(--accent);
  background: var(--bg-card);
  color: var(--accent-dark);
}

.wallet-cta:hover {
  transform: translateY(-1px);
}

.wallet-cta--primary:hover {
  filter: brightness(1.02);
}

.wallet-cta--outline:hover {
  border-color: var(--accent-dark);
}

.wallet-footnote {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: 100%;
  margin-top: auto;
}

.wallet-footnote__title {
  gap: 6px;
  color: var(--text-secondary);
}

.wallet-footnote__title svg {
  width: 13px;
  height: 13px;
  color: var(--text-muted);
}

.wallet-footnote strong {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
}

.wallet-footnote span {
  width: 100%;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
}

.or-divider {
  width: 50px;
  height: 50px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-primary);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}

.supported-imports {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  width: 100%;
  margin-top: auto;
}

.supported-imports__label {
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.2;
}

.import-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
}

.import-badge {
  gap: 5px;
  min-height: 25px;
  padding: 5px 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.1;
  white-space: nowrap;
}

.coin-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

.coin-mark--btc {
  background: #f7931a;
}

.import-badge img {
  width: 15px;
  height: 15px;
}

.import-badge svg {
  width: 14px;
  height: 14px;
  color: #4c6ef5;
}

.secure-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  padding: 32px 150px 10px;
  text-align: center;
}

.secure-section h2 {
  gap: 8px;
  margin: 0;
  color: var(--text-primary);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.1px;
}

.secure-section h2 svg {
  width: 14px;
  height: 14px;
}

.secure-section p {
  width: 100%;
  margin: 0;
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.6;
}

.footer {
  border-top: 1px solid var(--border);
}

.footer__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  min-height: 76px;
  padding: 26px 36px 24px;
}

.footer__copyright {
  margin: 0;
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.2;
}

.footer__links {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 44px;
}

.footer__links a {
  color: var(--text-secondary);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  transition: color 160ms ease;
}

.footer__links a:hover {
  color: var(--accent-dark);
}

.footer__socials {
  justify-content: flex-end;
  gap: 27px;
}

.footer__socials a {
  color: var(--text-muted);
  transition: color 160ms ease, transform 160ms ease;
}

.footer__socials a:hover {
  color: var(--accent-dark);
  transform: translateY(-1px);
}

.footer__socials svg {
  width: 17px;
  height: 17px;
}

@media (min-width: 1024px) and (max-height: 820px) {
  .header {
    height: 72px;
    padding-inline: 32px;
  }

  .hero {
    padding: 22px 120px 0;
  }

  .welcome-badge {
    min-height: 32px;
    margin-bottom: 14px;
    padding: 7px 16px;
  }

  .hero h1 {
    margin-bottom: 10px;
    font-size: 38px;
    line-height: 1.14;
    letter-spacing: -0.7px;
  }

  .hero p {
    font-size: 15px;
    line-height: 1.48;
  }

  .wallet-actions {
    min-height: 0;
    padding-top: 18px;
  }

  .wallet-card {
    height: 420px;
    gap: 12px;
    padding: 20px 20px 18px;
  }

  .wallet-card__art {
    width: 152px;
    height: 118px;
  }

  .wallet-card__copy {
    gap: 6px;
    min-height: 95px;
  }

  .wallet-card h2 {
    font-size: 21px;
  }

  .wallet-card p {
    line-height: 1.5;
  }

  .wallet-card__copy--import p {
    width: min(330px, 100%);
    line-height: 1.42;
  }

  .wallet-card__cta-wrap {
    padding-inline: 18px;
  }

  .wallet-cta {
    min-height: 46px;
  }

  .or-divider {
    width: 44px;
    height: 44px;
  }

  .supported-imports {
    gap: 7px;
  }

  .import-badge {
    min-height: 23px;
    padding: 4px 8px;
  }

  .secure-section {
    padding-top: 22px;
  }
}

.wallet-flow-shell {
  min-height: 100vh;
}

.wallet-flow-header {
  border-bottom: 1px solid var(--border);
}

.wallet-flow-main {
  display: flex;
  flex-direction: column;
  gap: 30px;
  min-height: calc(100vh - 95px);
  padding: 36px 170px 56px;
}

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

.flow-title-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.flow-title-group h1 {
  margin: 0;
  color: var(--text-primary);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.6px;
  text-wrap: balance;
}

.flow-title-group p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.5;
}

.flow-cancel-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 86px;
  height: 40px;
  padding-inline: 18px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: var(--bg-primary);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.flow-cancel-button:hover,
.flow-cancel-button:focus-visible {
  border-color: var(--accent);
  background: #fffefd;
  color: var(--text-primary);
}

.flow-stepper {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 64px;
  margin: 0;
  padding: 0 28px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-card);
  list-style: none;
}

.flow-step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  white-space: nowrap;
}

.flow-step:not(:last-child) {
  flex: 1 1 auto;
}

.flow-step:not(:last-child)::after {
  content: "";
  display: block;
  flex: 1 1 auto;
  height: 1.5px;
  min-width: 34px;
  margin-left: 6px;
  border-radius: 1px;
  background: var(--border-strong);
}

.flow-step__marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1.5px solid var(--border-strong);
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.flow-step__label {
  color: currentColor;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.2;
}

.flow-step.is-active {
  color: var(--text-primary);
}

.flow-step.is-active .flow-step__marker {
  border-color: var(--accent);
  background: var(--accent);
  color: #ffffff;
}

.flow-step.is-active .flow-step__label {
  font-weight: 600;
}

.flow-step.is-complete {
  color: var(--text-secondary);
}

.flow-step.is-complete::after {
  background: var(--accent-light);
}

.flow-step.is-complete .flow-step__marker {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.flow-body {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  flex: 1 1 auto;
}

.option-card {
  flex: 1 1 auto;
  min-width: 0;
  padding: 36px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--bg-card);
  box-shadow: 0 3px 14px rgba(24, 20, 15, 0.04);
}

.option-card fieldset {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
  margin: 0;
  padding: 0 0 25px;
  border: 0;
}

.option-card legend {
  margin: 0 0 22px;
  padding: 0;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}

.wallet-options {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.wallet-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  min-height: 94px;
  padding: 22px 24px;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  background: var(--bg-card);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.wallet-option:hover,
.wallet-option:focus-within {
  border-color: var(--accent);
}

.wallet-option:has(.wallet-option__input:focus-visible) {
  outline: 3px solid rgba(222, 154, 62, 0.28);
  outline-offset: 3px;
}

.wallet-option.is-selected {
  border-color: var(--accent);
  border-width: 1.5px;
  background: #fdf6ec;
}

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

.wallet-option__radio {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border: 1.2px solid var(--border-strong);
  border-radius: 999px;
  background: var(--bg-card);
}

.wallet-option__radio::after {
  content: "";
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: transparent;
}

.wallet-option.is-selected .wallet-option__radio {
  border: 1.5px solid var(--accent);
}

.wallet-option.is-selected .wallet-option__radio::after {
  background: var(--accent);
}

.wallet-option__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--bg-subtle);
  color: var(--text-secondary);
}

.wallet-option.is-selected .wallet-option__icon {
  background: #f6e4c9;
  color: var(--accent-dark);
}

.wallet-option__icon svg {
  width: 22px;
  height: 22px;
}

.wallet-option__copy {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.wallet-option__title {
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.3px;
}

.wallet-option__description {
  display: block;
  max-width: 62ch;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
  text-wrap: pretty;
}

.option-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.option-card__footer > span {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.2;
}

.flow-continue-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 220px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(90deg, var(--accent-dark) 0%, var(--accent-light) 100%);
  color: #ffffff;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  transition: filter 160ms ease, transform 160ms ease;
}

.flow-continue-button svg {
  width: 18px;
  height: 18px;
}

.flow-continue-button:hover,
.flow-continue-button:focus-visible {
  filter: brightness(1.02);
  transform: translateY(-1px);
}

.flow-continue-button:disabled {
  background: var(--border-strong);
  color: #ffffff;
  cursor: not-allowed;
  filter: none;
  transform: none;
}

.flow-back-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 120px;
  height: 52px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: var(--bg-card);
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.flow-back-button svg {
  width: 17px;
  height: 17px;
}

.flow-back-button:hover,
.flow-back-button:focus-visible {
  border-color: var(--accent);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.flow-footer-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.wallet-flow-loading {
  display: grid;
  min-height: 100vh;
  place-items: center;
}

.wallet-flow-loading p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 15px;
}

.phrase-card {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
  padding: 36px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--bg-card);
  box-shadow: 0 3px 14px rgba(24, 20, 15, 0.04);
}

.phrase-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.phrase-card__title {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.phrase-card__title h2 {
  margin: 0;
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.phrase-card__title p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
}

.phrase-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.phrase-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 38px;
  padding-inline: 16px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: var(--bg-card);
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.phrase-action svg {
  width: 16px;
  height: 16px;
}

.phrase-action:hover,
.phrase-action:focus-visible {
  border-color: var(--accent);
  background: #fffefd;
  color: var(--text-primary);
}

.phrase-action[data-state="copied"] {
  border-color: rgba(27, 156, 90, 0.45);
  color: var(--success);
}

.phrase-action[data-state="error"] {
  border-color: rgba(212, 72, 58, 0.45);
  color: var(--error);
}

.phrase-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fdfbf7;
  list-style: none;
}

.phrase-word {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  height: 48px;
  padding-inline: 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-card);
}

.phrase-word__index,
.phrase-word__value {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.phrase-word__index {
  flex: 0 0 20px;
  color: var(--text-muted);
  font-size: 12.5px;
  line-height: 1;
}

.phrase-word__value {
  min-width: 0;
  overflow: hidden;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.warning-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid #f2c9c3;
  border-radius: 12px;
  background: #fdf0ee;
  color: #8c332a;
}

.warning-banner svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  color: var(--error);
}

.warning-banner p {
  margin: 0;
  color: #8c332a;
  font-size: 13.5px;
  line-height: 1.5;
}

.saved-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.saved-checkbox input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.saved-checkbox__box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--border-strong);
  border-radius: 6px;
  background: var(--bg-card);
  color: transparent;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.saved-checkbox__box svg {
  width: 14px;
  height: 14px;
  pointer-events: none;
}

.saved-checkbox input:checked + .saved-checkbox__box,
.saved-checkbox.is-checked .saved-checkbox__box {
  border-color: var(--accent);
  background: var(--accent);
  color: #ffffff;
}

.saved-checkbox input:focus-visible + .saved-checkbox__box {
  outline: 3px solid rgba(222, 154, 62, 0.28);
  outline-offset: 3px;
}

.saved-checkbox > span:last-child {
  min-width: 0;
  color: var(--text-primary);
  font-size: 14.5px;
  line-height: 1.5;
}

.phrase-card__footer {
  margin-top: 2px;
}

.confirm-card {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  padding: 32px 36px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--bg-card);
  box-shadow: 0 3px 14px rgba(24, 20, 15, 0.04);
}

.confirm-card__head {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.confirm-card__head h2 {
  margin: 0;
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.confirm-card__head p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
}

.confirm-slots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.confirm-slot {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.confirm-slot__label {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

.confirm-slot__box {
  display: flex;
  align-items: center;
  width: 100%;
  height: 54px;
  padding-inline: 16px;
  border: 1.5px solid var(--border-strong);
  border-radius: 12px;
  background: #fdfbf7;
  color: var(--text-muted);
  cursor: pointer;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 15px;
  line-height: 1;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.confirm-slot.is-filled .confirm-slot__box {
  color: var(--text-primary);
  font-weight: 600;
}

.confirm-slot.is-correct .confirm-slot__box {
  border-color: var(--accent);
  background: #fdf6ec;
}

.confirm-slot.is-error .confirm-slot__box {
  border-color: var(--error);
  background: #fdf0ee;
  color: #8c332a;
}

.word-bank {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fdfbf7;
}

.word-bank h3 {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

.word-bank__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.word-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 44px;
  padding-inline: 12px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: var(--bg-card);
  color: var(--text-primary);
  cursor: pointer;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, opacity 160ms ease;
}

.word-chip span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.word-chip:hover,
.word-chip:focus-visible {
  border-color: var(--accent);
  background: #fffefd;
}

.word-chip:disabled {
  border-color: var(--border);
  background: var(--bg-subtle);
  color: var(--text-muted);
  cursor: not-allowed;
  opacity: 0.5;
}

.wallet-name-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wallet-name-field label,
.wallet-name-field > span {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

.wallet-name-field input,
.import-seed-field textarea,
.import-private-key-field input {
  width: 100%;
  padding-inline: 16px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: var(--bg-card);
  color: var(--text-primary);
  font: inherit;
  font-size: 15px;
  line-height: 1;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.wallet-name-field input {
  height: 48px;
}

.wallet-name-field input:focus,
.import-seed-field textarea:focus,
.import-private-key-field input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(222, 154, 62, 0.18);
  outline: none;
}

.confirm-feedback {
  min-height: 20px;
  margin: -2px 0 0;
  color: #8c332a;
  font-size: 13.5px;
  line-height: 1.45;
}

.confirm-feedback[data-type="success"] {
  color: var(--success);
}

.import-workspace {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.import-method-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: var(--bg-card);
}

.import-method-tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  min-height: 76px;
  padding: 14px 20px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.import-method-tab:first-of-type {
  border-radius: 11px 0 0 11px;
}

.import-method-tab:last-of-type {
  border-radius: 0 11px 11px 0;
}

.import-method-tab + .import-method-tab {
  border-left: 1px solid var(--border-strong);
}

.import-method-tab input,
.import-segmented-control input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.import-method-tab.is-selected {
  z-index: 1;
  background: #fdf6ec;
  color: var(--text-primary);
  box-shadow: inset 0 0 0 1px var(--accent);
}

.import-method-tab:has(input:focus-visible) {
  outline: 3px solid rgba(222, 154, 62, 0.28);
  outline-offset: -3px;
}

.import-method-tab__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  color: var(--text-secondary);
}

.import-method-tab.is-selected .import-method-tab__icon {
  color: var(--accent-dark);
}

.import-method-tab__icon svg {
  width: 25px;
  height: 25px;
}

.import-method-tab > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.import-method-tab strong {
  color: currentColor;
  font-size: 15px;
  line-height: 1.2;
}

.import-method-tab small {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.25;
}

.import-card {
  gap: 22px;
}

.import-method-panel {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.import-method-panel[hidden] {
  display: none;
}

.import-word-count {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 0;
  padding: 0;
  border: 0;
}

.import-word-count legend,
.import-private-key-field > span:first-child {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

.import-segmented-control {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(430px, 100%);
  min-height: 44px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: var(--bg-primary);
}

.import-segmented-control label {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding-inline: 16px;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

.import-segmented-control label + label {
  border-left: 1px solid var(--border-strong);
}

.import-segmented-control label.is-selected {
  z-index: 1;
  background: #fffaf3;
  color: var(--accent-dark);
  box-shadow: inset 0 0 0 1px var(--accent);
}

.import-segmented-control label:has(input:focus-visible) {
  outline: 3px solid rgba(222, 154, 62, 0.28);
  outline-offset: -3px;
}

.import-seed-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.import-seed-field > span {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

.import-seed-field textarea {
  min-height: 118px;
  padding-block: 14px;
  resize: vertical;
  line-height: 1.55;
}

.import-private-key-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.import-private-key-control {
  position: relative;
  display: block;
}

.import-private-key-field input {
  height: 48px;
  padding-right: 52px;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 14px;
}

.import-private-key-control button {
  position: absolute;
  top: 50%;
  right: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  color: var(--text-secondary);
  cursor: pointer;
  transform: translateY(-50%);
}

.import-private-key-control button:hover,
.import-private-key-control button:focus-visible {
  background: var(--bg-subtle);
  color: var(--text-primary);
}

.import-private-key-control button svg {
  width: 19px;
  height: 19px;
}

.import-private-key-confirmation {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: var(--bg-subtle);
  color: var(--text-primary);
  cursor: pointer;
}

.import-private-key-confirmation input {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  accent-color: var(--accent-dark);
}

.import-private-key-confirmation > span {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.import-private-key-confirmation strong {
  font-size: 13.5px;
  line-height: 1.35;
}

.import-private-key-confirmation small {
  color: var(--text-secondary);
  font-size: 12.5px;
  line-height: 1.45;
}

.import-private-key-confirmation code {
  color: var(--text-primary);
  font-size: 0.95em;
}

.import-private-key-confirmation:has(input:focus-visible) {
  outline: 3px solid rgba(222, 154, 62, 0.28);
  outline-offset: 2px;
}

.import-field-note {
  margin: -10px 0 0;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.45;
}

.import-pin-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.import-workspace.has-error .pin-box {
  border-color: #f2c9c3;
}

.import-workspace.has-error .pin-entry:focus-within .pin-box.is-active {
  border-color: var(--error);
}

.wallet-created-card {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 18px;
  width: min(620px, 100%);
  margin: 86px auto 0;
  padding: 42px 44px 36px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--bg-card);
  box-shadow: 0 6px 24px rgba(24, 20, 15, 0.08);
  text-align: center;
}

.wallet-created-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border: 1px solid var(--accent-light);
  border-radius: 20px;
  background: #fdf6ec;
  color: var(--accent-dark);
}

.wallet-created-card__badge svg {
  width: 28px;
  height: 28px;
}

.wallet-created-card h1 {
  margin: 0;
  color: var(--text-primary);
  font-size: 28px;
  font-weight: 750;
  line-height: 1.16;
}

.wallet-created-card p {
  max-width: 52ch;
  margin: -6px 0 0;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.55;
}

.wallet-created-address {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 14px;
  width: 100%;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-subtle);
  text-align: left;
}

.wallet-created-address > span {
  grid-column: 1 / -1;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

.wallet-created-address code {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--text-primary);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 14px;
  line-height: 1.45;
}

.wallet-created-address button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  align-self: start;
  min-height: 38px;
  padding-inline: 14px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: var(--bg-card);
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 600;
}

.wallet-created-address button svg {
  width: 15px;
  height: 15px;
}

.wallet-created-address button:hover,
.wallet-created-address button:focus-visible {
  border-color: var(--accent);
  color: var(--text-primary);
  outline: none;
}

.wallet-created-address button[data-state="copied"] {
  border-color: var(--success);
  color: var(--success);
}

.wallet-created-open {
  min-width: 210px;
  text-decoration: none;
}

.summary-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 26px;
  border-radius: 12px;
  background: var(--bg-subtle);
}

.summary-panel h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--text-primary);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
}

.summary-panel h2 svg {
  width: 20px;
  height: 20px;
  color: var(--accent-dark);
}

.summary-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin: 0;
}

.summary-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.summary-list dt,
.summary-list dd {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.35;
}

.summary-list dt {
  color: var(--text-secondary);
}

.summary-list dd {
  color: var(--text-primary);
  font-weight: 600;
  text-align: right;
}

.pin-card {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
  padding: 32px 36px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--bg-card);
  box-shadow: 0 3px 14px rgba(24, 20, 15, 0.04);
}

.pin-card__head {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.pin-card__head h2 {
  margin: 0;
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.pin-card__head p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
}

.pin-entry {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  cursor: text;
}

.pin-entry__label {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

.pin-input {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 298px;
  max-width: 100%;
  height: 64px;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.pin-boxes {
  display: flex;
  gap: 14px;
}

.pin-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  background: var(--bg-card);
  transition: border-color 160ms ease, background 160ms ease;
}

.pin-box.is-active {
  border: 1.5px solid var(--accent);
  background: var(--bg-card);
}

.pin-dot {
  display: none;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--text-primary);
}

.pin-box.is-filled .pin-dot {
  display: block;
}

.pin-caret {
  display: none;
  width: 1.5px;
  height: 24px;
  border-radius: 999px;
  background: var(--accent);
}

.pin-box.is-active .pin-caret {
  display: block;
}

.pin-tip {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--text-secondary);
  font-size: 13.5px;
  line-height: 1.5;
}

.pin-tip svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  color: var(--text-muted);
}

.pin-card.has-error .pin-box {
  border-color: #f2c9c3;
}

.pin-card.has-error .pin-entry:focus-within .pin-box.is-active {
  border-color: var(--error);
}

.flow-finish-button {
  width: 240px;
}

.flow-aside {
  display: flex;
  flex: 0 0 340px;
  flex-direction: column;
  gap: 20px;
}

.security-notes {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 26px;
  border-radius: 12px;
  background: var(--bg-subtle);
}

.security-notes h2,
.help-panel h2 {
  margin: 0;
  color: var(--text-primary);
}

.security-notes h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
}

.security-notes h2 svg {
  width: 20px;
  height: 20px;
  color: var(--accent-dark);
}

.security-note-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.security-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.security-note > svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--accent);
}

.security-note > span {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.security-note strong {
  color: var(--text-primary);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.2;
}

.security-note span span {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.5;
}

.help-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-card);
}

.help-panel h2 {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
}

.help-panel p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.5;
}

.help-panel__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  min-height: 22px;
  color: var(--accent-dark);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.2;
}

.help-panel__link svg {
  width: 15px;
  height: 15px;
  transition: transform 160ms ease;
}

.help-panel__link:hover svg,
.help-panel__link:focus-visible svg {
  transform: translate(1px, -1px);
}

.locked-shell {
  display: flex;
  flex-direction: column;
  width: min(100%, 1440px);
  min-height: 100vh;
  margin-inline: auto;
  background: var(--bg-page);
}

.locked-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 95px;
  padding-inline: 36px;
  border-bottom: 1px solid var(--border);
}

.locked-brand,
.locked-header__actions,
.locked-language-button,
.locked-pill {
  display: inline-flex;
  align-items: center;
}

.locked-brand {
  gap: 14px;
}

.locked-pill {
  gap: 6px;
  height: 28px;
  padding-inline: 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-subtle);
  color: var(--text-secondary);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.2px;
}

.locked-pill svg {
  width: 13px;
  height: 13px;
  color: var(--text-muted);
}

.locked-header__actions {
  gap: 20px;
}

.locked-language-button {
  justify-content: center;
  gap: 10px;
  height: 43px;
  padding-inline: 18px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--bg-primary);
  color: var(--text-primary);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  transition: border-color 160ms ease;
}

.locked-language-button svg {
  width: 17px;
  height: 17px;
  color: var(--text-secondary);
}

.locked-language-button svg:last-child {
  width: 16px;
  height: 16px;
  color: var(--text-muted);
}

.locked-theme-button {
  width: 37px;
  height: 37px;
  border-radius: 999px;
  background: var(--bg-primary);
  color: var(--text-secondary);
}

.locked-language-button:hover,
.locked-language-button:focus-visible,
.locked-theme-button:hover,
.locked-theme-button:focus-visible {
  border-color: var(--accent);
  outline: none;
}

.locked-main {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  padding: 48px;
}

.locked-column {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 20px;
  width: min(520px, 100%);
}

.locked-card {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  padding: 38px 44px 30px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--bg-card);
  box-shadow: 0 6px 24px rgba(24, 20, 15, 0.08);
}

.locked-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border: 1px solid var(--accent-light);
  border-radius: 20px;
  background: #fdf6ec;
  color: var(--accent-dark);
}

.locked-badge svg {
  width: 28px;
  height: 28px;
}

.locked-card h1 {
  margin: 0;
  color: var(--text-primary);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.5px;
}

.locked-card > p {
  margin: -14px 0 0;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.45;
  text-align: center;
}

.locked-wallet-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  height: 44px;
  padding-inline: 18px;
  border-radius: 999px;
  background: var(--bg-subtle);
}

.locked-wallet-chip svg {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  color: var(--text-secondary);
}

.locked-wallet-chip strong,
.locked-wallet-chip code {
  min-width: 0;
  overflow: hidden;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.locked-wallet-chip strong {
  color: var(--text-primary);
  font-size: 14.5px;
  font-weight: 600;
}

.locked-wallet-chip code {
  color: var(--text-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
}

.locked-pin-entry {
  position: relative;
  cursor: text;
}

.locked-pin-input {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  opacity: 0;
}

.locked-pin-boxes {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.locked-pin-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  background: var(--bg-card);
  transition: border-color 160ms ease, background 160ms ease;
}

.locked-pin-box.is-active {
  border: 1.5px solid var(--accent);
}

.locked-pin-box:not(.is-filled):not(.is-active) {
  background: var(--bg-warm);
}

.locked-pin-dot {
  display: none;
  width: 15px;
  height: 15px;
  border-radius: 999px;
  background: var(--text-primary);
}

.locked-pin-box.is-filled .locked-pin-dot {
  display: block;
}

.locked-pin-caret {
  display: none;
  width: 1.5px;
  height: 26px;
  border-radius: 999px;
  background: var(--accent);
}

.locked-pin-box.is-active .locked-pin-caret {
  display: block;
}

.locked-attempts,
.locked-footer-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.35;
  text-align: center;
}

.locked-attempts svg,
.locked-footer-note svg {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
}

.locked-unlock-button,
.locked-erase-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1;
  transition: border-color 160ms ease, filter 160ms ease, transform 160ms ease;
}

.locked-unlock-button {
  gap: 10px;
  width: 100%;
  height: 54px;
  border-radius: 12px;
  background: linear-gradient(90deg, var(--accent-dark) 0%, var(--accent-light) 100%);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
}

.locked-unlock-button svg {
  width: 18px;
  height: 18px;
}

.locked-unlock-button:hover,
.locked-unlock-button:focus-visible {
  filter: brightness(1.02);
  transform: translateY(-1px);
  outline: none;
}

.locked-unlock-button:disabled {
  background: var(--border-strong);
  cursor: not-allowed;
  filter: none;
  transform: none;
}

.locked-card[aria-busy="true"] .locked-unlock-button {
  opacity: 0.72;
}

.locked-sync-alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid #efcf96;
  border-radius: 12px;
  background: #fff8eb;
  padding: 12px;
  color: var(--text-primary);
}

.locked-sync-alert[hidden] {
  display: none;
}

.locked-sync-alert > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #fff;
  color: var(--accent-dark);
}

.locked-sync-alert > span svg {
  width: 15px;
  height: 15px;
}

.locked-sync-alert div {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.locked-sync-alert h2 {
  margin: 0;
  color: var(--text-primary);
  font-size: 14px;
  line-height: 1.25;
}

.locked-sync-alert p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.35;
}

.locked-sync-alert button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: fit-content;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  padding: 8px 11px;
}

.locked-sync-alert button svg {
  width: 14px;
  height: 14px;
}

.locked-divider {
  width: 100%;
  height: 1px;
  background: var(--border);
}

.locked-forgot {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.locked-forgot h2 {
  margin: 0;
  color: var(--text-primary);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.2;
}

.locked-forgot p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.locked-erase-button {
  gap: 9px;
  min-height: 44px;
  padding-inline: 20px;
  border: 1px solid #e8b3ac;
  border-radius: 10px;
  background: var(--bg-card);
  color: var(--error);
  font-size: 14px;
  font-weight: 600;
}

.locked-erase-button svg {
  width: 16px;
  height: 16px;
}

.locked-erase-button:hover,
.locked-erase-button:focus-visible {
  border-color: var(--error);
  outline: none;
}

.locked-feedback {
  min-height: 18px;
  width: 100%;
  margin: -8px 0 0 !important;
  color: var(--text-secondary) !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
}

.locked-feedback[data-type="error"] {
  color: #8c332a !important;
}

.locked-feedback[data-type="success"] {
  color: var(--success) !important;
}

.locked-confirm {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(24, 20, 15, 0.65);
}

.locked-confirm[hidden] {
  display: none;
}

.locked-confirm__card {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 20px;
  width: min(520px, 100%);
  padding: 36px 40px 28px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--bg-card);
  box-shadow: 0 18px 48px rgba(24, 20, 15, 0.2);
  text-align: center;
}

.locked-confirm__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border: 1px solid #f2c9c3;
  border-radius: 18px;
  background: #fdf0ee;
  color: var(--error);
}

.locked-confirm__badge svg {
  width: 26px;
  height: 26px;
}

.locked-confirm__card h2 {
  margin: 0;
  color: var(--text-primary);
  font-size: 23px;
  letter-spacing: -0.4px;
  line-height: 1.2;
}

.locked-confirm__card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.55;
}

.locked-confirm__warning {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #f2c9c3;
  border-radius: 12px;
  background: #fdf0ee;
  color: #8c332a;
  text-align: left;
}

.locked-confirm__warning svg {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  color: var(--error);
}

.locked-confirm__warning span {
  color: #8c332a;
  font-size: 13px;
  line-height: 1.45;
}

.locked-confirm__checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  cursor: pointer;
  text-align: left;
}

.locked-confirm__checkbox input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.locked-confirm__checkbox > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--border-strong);
  border-radius: 6px;
  background: var(--bg-card);
  color: #ffffff;
  pointer-events: none;
  transition: border-color 180ms ease, background 180ms ease;
}

.locked-confirm__checkbox > span svg {
  width: 15px;
  height: 15px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.locked-confirm__checkbox input:checked + span {
  border-color: var(--accent);
  background: var(--accent);
}

.locked-confirm__checkbox input:checked + span svg {
  opacity: 1;
}

.locked-confirm__checkbox input:focus-visible + span {
  outline: 3px solid rgba(217, 136, 45, 0.24);
  outline-offset: 3px;
}

.locked-confirm__checkbox strong {
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
}

.locked-confirm__actions {
  display: flex;
  gap: 12px;
  width: 100%;
}

.locked-confirm__actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  gap: 9px;
  height: 52px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 15.5px;
  font-weight: 700;
}

.locked-confirm__actions button:first-child {
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-weight: 600;
}

.locked-confirm__actions button:last-child {
  background: var(--error);
  color: #ffffff;
}

.locked-confirm__actions button:last-child svg {
  width: 17px;
  height: 17px;
}

.dashboard-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  width: min(100%, 1440px);
  min-height: 100vh;
  margin-inline: auto;
  background: var(--bg-page);
}

.dashboard-sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-height: 100vh;
  padding: 30px 20px 26px;
  border-right: 1px solid var(--border);
  background: var(--bg-primary);
}

.dashboard-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 32px;
  padding-inline: 8px;
}

.dashboard-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dashboard-nav__item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  padding-inline: 14px;
  border-radius: 12px;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.2;
  transition: background 160ms ease, color 160ms ease;
}

.dashboard-nav__item svg {
  flex: 0 0 auto;
  width: 21px;
  height: 21px;
}

.dashboard-nav__item span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-nav__item:hover,
.dashboard-nav__item:focus-visible,
.dashboard-nav__item.is-active {
  background: var(--bg-subtle);
  color: var(--text-primary);
  outline: none;
}

.dashboard-nav__item.is-active svg {
  color: var(--accent);
}

.dashboard-wallet-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fdfbf7;
}

.dashboard-wallet-card > span {
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.dashboard-address-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 0;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 12.5px;
  line-height: 1.2;
}

.dashboard-address-copy span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-address-copy svg {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  color: var(--text-muted);
}

.dashboard-address-copy[data-state="copied"] {
  color: var(--success);
}

.dashboard-address-copy[data-state="error"] {
  color: var(--error);
}

.dashboard-wallet-lock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 38px;
  margin-top: 2px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: var(--bg-card);
  color: var(--text-primary);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.dashboard-wallet-lock svg {
  width: 15px;
  height: 15px;
  color: var(--text-secondary);
}

.dashboard-wallet-lock:hover,
.dashboard-wallet-lock:focus-visible {
  border-color: var(--accent);
  color: var(--accent-dark);
  outline: none;
}

.dashboard-mobile-rail {
  display: none;
}

.dashboard-loading {
  display: grid;
  min-height: 100vh;
  place-items: center;
  background: var(--bg-page);
  color: var(--text-secondary);
  font-size: 15px;
}

.dashboard-main {
  display: flex;
  flex-direction: column;
  gap: 26px;
  min-width: 0;
  padding: 34px 38px 30px;
}

.dashboard-topbar,
.dashboard-balance-row,
.dashboard-balance-actions,
.dashboard-balance-label,
.dashboard-amount-row,
.dashboard-range-tabs,
.dashboard-topbar__actions {
  display: flex;
  align-items: center;
}

.dashboard-topbar {
  justify-content: space-between;
  gap: 24px;
}

.dashboard-topbar h1 {
  margin: 0;
  color: var(--text-primary);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.5px;
}

.dashboard-service-warning {
  display: flex;
  gap: 10px;
  align-items: center;
  border: 2px solid var(--border-strong);
  border-radius: 12px;
  background: #fff8eb;
  color: var(--text-primary);
  font-size: 13.5px;
  line-height: 1.35;
  padding: 12px 14px;
}

.dashboard-service-warning svg {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  color: var(--accent-dark);
}

.dashboard-service-warning span {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.dashboard-service-warning strong {
  color: var(--text-primary);
  font-size: 13.5px;
  line-height: 1.25;
}

.dashboard-service-warning small {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.35;
}

.dashboard-service-warning a,
.dashboard-service-warning button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: var(--accent-dark);
  cursor: pointer;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1;
  padding: 4px 0;
  text-decoration: none;
}

.dashboard-service-warning button svg {
  width: 14px;
  height: 14px;
}

.dashboard-service-warning button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.dashboard-service-warning a:hover,
.dashboard-service-warning a:focus-visible,
.dashboard-service-warning button:hover,
.dashboard-service-warning button:focus-visible {
  color: var(--text-primary);
  outline: none;
}

.dashboard-toast {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #b7dfc9;
  border-radius: 10px;
  background: #f0faf4;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
}

.dashboard-toast svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: var(--success);
}

.dashboard-toast--error {
  border-color: #f2c9c3;
  background: #fff5f3;
}

.dashboard-toast--error svg {
  color: var(--error);
}

.dashboard-topbar p {
  display: none;
  margin: 5px 0 0;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.35;
}

.dashboard-topbar__actions {
  gap: 14px;
}

.dashboard-sync-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 260px;
  min-height: 42px;
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-card);
  color: var(--text-primary);
}

.dashboard-sync-badge > svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
}

.dashboard-sync-badge span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.dashboard-sync-badge strong,
.dashboard-sync-badge small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-sync-badge strong {
  font-size: 12.5px;
  font-weight: 750;
  line-height: 1.1;
}

.dashboard-sync-badge small {
  color: var(--text-secondary);
  font-size: 11.5px;
  line-height: 1.15;
}

.dashboard-sync-badge.is-synced > svg {
  color: var(--success);
}

.dashboard-sync-badge.is-fallback {
  border-color: #f2d29b;
  background: #fff8eb;
}

.dashboard-sync-badge.is-fallback > svg {
  color: var(--accent-dark);
}

.dashboard-sync-badge.is-muted > svg {
  color: var(--text-muted);
}

.dashboard-icon-button {
  border-color: transparent;
  background: transparent;
  color: var(--text-primary);
}

.dashboard-icon-button:hover,
.dashboard-icon-button:focus-visible {
  border-color: var(--border);
  background: var(--bg-card);
  outline: none;
}

.dashboard-export-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 38px;
  padding-inline: 16px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: var(--bg-card);
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  transition: border-color 160ms ease, color 160ms ease;
}

.dashboard-export-button svg {
  width: 16px;
  height: 16px;
}

.dashboard-export-button:hover,
.dashboard-export-button:focus-visible {
  border-color: var(--accent);
  color: var(--text-primary);
  outline: none;
}

.dashboard-balance-row {
  justify-content: space-between;
  gap: 28px;
}

.dashboard-balance-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.dashboard-balance-label {
  gap: 9px;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.2;
}

.dashboard-eye-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
}

.dashboard-eye-button svg {
  width: 17px;
  height: 17px;
}

.dashboard-eye-button:hover,
.dashboard-eye-button:focus-visible {
  color: var(--text-primary);
  outline: none;
}

.dashboard-amount-row {
  gap: 10px;
}

.dashboard-amount-row strong {
  color: var(--text-primary);
  font-size: 46px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -1.5px;
}

.dashboard-amount-row span {
  color: var(--text-primary);
  font-size: 23px;
  font-weight: 600;
  line-height: 1;
}

.dashboard-amount-row.is-hidden strong {
  letter-spacing: 2px;
}

.dashboard-balance-block p {
  margin: 0;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.35;
}

.dashboard-balance-actions {
  gap: 14px;
  flex: 0 0 auto;
}

.dashboard-action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding-inline: 26px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  transition: border-color 160ms ease, filter 160ms ease, transform 160ms ease;
}

.dashboard-action-button svg {
  width: 19px;
  height: 19px;
}

.dashboard-action-button--secondary {
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  color: var(--text-primary);
}

.dashboard-action-button--primary {
  background: linear-gradient(90deg, #e0a544 0%, #be7c1b 100%);
  color: #ffffff;
}

.dashboard-action-button.is-disabled {
  cursor: not-allowed;
  opacity: 0.48;
  pointer-events: none;
}

.dashboard-action-button:hover,
.dashboard-action-button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.dashboard-action-button--secondary:hover,
.dashboard-action-button--secondary:focus-visible {
  border-color: var(--accent);
}

.dashboard-action-button--primary:hover,
.dashboard-action-button--primary:focus-visible {
  filter: brightness(1.02);
}

.dashboard-chart-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.dashboard-chart {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.dashboard-chart svg {
  width: 100%;
  height: 100%;
}

.dashboard-chart__area {
  fill: url("#dashboard-chart-fill");
  stroke: none;
}

.dashboard-chart__line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dashboard-range-tabs {
  justify-content: flex-end;
  gap: 6px;
}

.dashboard-range-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 38px;
  padding-inline: 18px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.dashboard-range-tab:hover,
.dashboard-range-tab:focus-visible,
.dashboard-range-tab.is-active {
  border-color: var(--border);
  background: var(--bg-card);
  color: var(--accent-dark);
  outline: none;
}

.dashboard-range-tab.is-active {
  font-weight: 600;
}

.dashboard-range-tabs--disabled {
  opacity: 0.4;
}

.dashboard-range-tabs--disabled .dashboard-range-tab {
  cursor: not-allowed;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.dashboard-stat {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-card);
  box-shadow: 0 2px 8px rgba(24, 20, 15, 0.035);
}

.dashboard-stat span {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.2;
}

.dashboard-stat strong {
  min-width: 0;
  overflow: hidden;
  color: var(--text-primary);
  font-size: 25px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-stat strong b {
  color: inherit;
  font: inherit;
}

.dashboard-stat small {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
}

.dashboard-transactions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.dashboard-transactions h2 {
  margin: 0;
  color: var(--text-primary);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.3px;
}

.dashboard-transaction-table {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-card);
  box-shadow: 0 2px 8px rgba(24, 20, 15, 0.035);
}

.dashboard-transaction-row {
  display: grid;
  grid-template-columns: 70px 220px minmax(0, 1fr) 200px;
  align-items: center;
  min-height: 64px;
  padding-inline: 22px;
  border-bottom: 1px solid var(--border);
}

.dashboard-transaction-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
}

.dashboard-transaction-icon svg {
  width: 18px;
  height: 18px;
}

.dashboard-transaction-icon--received {
  background: rgba(27, 156, 90, 0.1);
  color: var(--success);
}

.dashboard-transaction-icon--sent {
  background: rgba(212, 72, 58, 0.1);
  color: var(--error);
}

.dashboard-transaction-icon--internal {
  background: rgba(222, 154, 62, 0.12);
  color: var(--accent-dark);
}

.dashboard-transaction-row strong {
  min-width: 0;
  overflow: hidden;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-transaction-row time {
  min-width: 0;
  overflow: hidden;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-transaction-amount {
  min-width: 0;
  overflow: hidden;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-transaction-amount--received {
  color: var(--success);
}

.dashboard-transaction-amount--sent {
  color: var(--error);
}

.dashboard-transaction-amount--internal {
  color: var(--accent-dark);
}

.dashboard-table-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 60px;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  transition: color 160ms ease;
}

.dashboard-table-footer svg {
  width: 19px;
  height: 19px;
}

.dashboard-table-footer:hover,
.dashboard-table-footer:focus-visible {
  color: var(--accent-dark);
  outline: none;
}

.dashboard-chart-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  height: 180px;
  padding-inline: 40px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-card);
  box-shadow: 0 2px 8px rgba(24, 20, 15, 0.035);
  text-align: center;
}

.dashboard-chart-empty > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--bg-subtle);
  color: var(--text-muted);
}

.dashboard-chart-empty svg {
  width: 21px;
  height: 21px;
}

.dashboard-chart-empty strong {
  color: var(--text-secondary);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.2;
}

.dashboard-chart-empty p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.35;
}

.dashboard-empty-transactions {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 14px;
  min-height: 294px;
  padding: 32px 40px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-card);
  box-shadow: 0 2px 8px rgba(24, 20, 15, 0.035);
  text-align: center;
}

.dashboard-empty-transactions__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border: 1px solid var(--accent-light);
  border-radius: 20px;
  background: #fdf6ec;
  color: var(--accent-dark);
}

.dashboard-empty-transactions__badge svg {
  width: 28px;
  height: 28px;
}

.dashboard-empty-transactions__copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: min(520px, 100%);
}

.dashboard-empty-transactions__copy strong {
  color: var(--text-primary);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.3px;
}

.dashboard-empty-transactions__copy p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.55;
}

.dashboard-empty-address-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: min(100%, 520px);
  height: 48px;
  padding-inline: 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-warm);
  color: var(--text-primary);
  cursor: pointer;
}

.dashboard-empty-address-chip code {
  min-width: 0;
  overflow: hidden;
  color: var(--text-primary);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 14px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-empty-address-chip svg {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  color: var(--text-muted);
}

.dashboard-empty-address-chip:hover,
.dashboard-empty-address-chip:focus-visible {
  border-color: var(--accent);
  outline: none;
}

.dashboard-empty-address-chip[data-state="copied"] {
  border-color: rgba(27, 156, 90, 0.28);
  color: var(--success);
}

.dashboard-empty-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.dashboard-empty-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 190px;
  height: 50px;
  border-radius: 12px;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1;
  transition: border-color 160ms ease, filter 160ms ease, transform 160ms ease;
}

.dashboard-empty-action svg {
  width: 17px;
  height: 17px;
}

.dashboard-empty-action--primary {
  background: linear-gradient(90deg, var(--accent-dark) 0%, var(--accent-light) 100%);
  color: #ffffff;
}

.dashboard-empty-action:hover,
.dashboard-empty-action:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.dashboard-empty-action--primary:hover,
.dashboard-empty-action--primary:focus-visible {
  filter: brightness(1.02);
}

.send-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: start;
  gap: 24px;
  min-height: 0;
}

.send-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
  padding: 28px 30px 26px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg-card);
  box-shadow: 0 2px 8px rgba(24, 20, 15, 0.035);
}

.send-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.send-field__label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.send-field__label-row label,
.send-field__label-row > span {
  color: var(--text-muted);
  line-height: 1.2;
}

.send-field__label-row label {
  font-size: 13.5px;
  font-weight: 600;
}

.send-field__label-row > span {
  font-size: 13px;
}

.send-address-input,
.send-amount-input,
.send-note-input {
  display: flex;
  align-items: center;
  min-width: 0;
  border-radius: 12px;
}

.send-address-input {
  gap: 12px;
  height: 56px;
  padding-inline: 16px;
  border: 1.5px solid var(--accent);
  background: var(--bg-card);
}

.send-address-input input,
.send-note-input input,
.send-amount-input input {
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--text-primary);
  font: inherit;
}

.send-address-input input {
  flex: 1 1 auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 15px;
}

.send-address-input button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.send-address-input button:hover,
.send-address-input button:focus-visible {
  background: var(--bg-subtle);
  color: var(--text-primary);
  outline: none;
}

.send-address-input svg,
.send-note-input svg {
  width: 18px;
  height: 18px;
}

.send-validation-row {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 20px;
  margin: 0;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.35;
}

.send-validation-row svg {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  color: var(--success);
}

.send-recipient-chips {
  display: none;
}

.send-contact-picker {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-card);
}

.send-contact-picker[hidden] {
  display: none;
}

.send-contact-picker__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.send-contact-picker__header strong {
  color: var(--text-primary);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.2;
}

.send-contact-picker__header button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-card);
  color: var(--text-secondary);
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease;
}

.send-contact-picker__header button svg {
  width: 15px;
  height: 15px;
}

.send-contact-picker__header button:hover,
.send-contact-picker__header button:focus-visible {
  border-color: var(--accent);
  color: var(--text-primary);
  outline: none;
}

.send-contact-search {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 42px;
  padding-inline: 12px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: var(--bg-card);
  color: var(--text-muted);
}

.send-contact-search svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
}

.send-contact-search input {
  min-width: 0;
  flex: 1 1 auto;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--text-primary);
  font: inherit;
  font-size: 13.5px;
}

.send-contact-search input::placeholder {
  color: var(--text-muted);
  opacity: 1;
}

.send-contact-list {
  display: grid;
  gap: 8px;
  max-height: 230px;
  overflow: auto;
}

.send-contact-option {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  min-height: 52px;
  padding: 9px 10px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--bg-soft);
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
  transition: border-color 160ms ease, background 160ms ease;
}

.send-contact-option[hidden] {
  display: none;
}

.send-contact-option__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1;
}

.send-contact-option__copy {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.send-contact-option__copy strong,
.send-contact-option__copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.send-contact-option__copy strong {
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.2;
}

.send-contact-option__copy small {
  color: var(--text-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.2;
}

.send-contact-option > svg {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  color: var(--text-muted);
}

.send-contact-option:hover,
.send-contact-option:focus-visible,
.send-contact-option.is-selected {
  border-color: var(--accent);
  background: #fdf6ec;
  outline: none;
}

.send-contact-option:hover .send-contact-option__avatar,
.send-contact-option:focus-visible .send-contact-option__avatar,
.send-contact-option.is-selected .send-contact-option__avatar {
  background: #f6e4c9;
  color: var(--accent-dark);
}

.send-contact-empty {
  display: grid;
  justify-items: start;
  gap: 7px;
  padding: 14px;
  border: 1px dashed var(--border-strong);
  border-radius: 10px;
  background: var(--bg-soft);
}

.send-contact-empty[hidden] {
  display: none;
}

.send-contact-empty > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--text-secondary);
}

.send-contact-empty svg {
  width: 16px;
  height: 16px;
}

.send-contact-empty strong {
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.send-contact-empty p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.4;
}

.send-contact-empty a {
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.send-contact-empty a:hover,
.send-contact-empty a:focus-visible {
  color: var(--text-primary);
  outline: none;
}

.send-amount-input {
  gap: 12px;
  min-height: 76px;
  padding-inline: 18px;
  border: 1px solid var(--border-strong);
  background: var(--bg-warm);
}

.send-amount-input > span {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2px 8px;
  flex: 1 1 auto;
  min-width: 0;
}

.send-amount-input input {
  width: 126px;
  color: var(--text-primary);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.8px;
}

.send-amount-input strong {
  align-self: center;
  color: var(--text-secondary);
  font-size: 17px;
  font-weight: 600;
  line-height: 1;
}

.send-amount-input small {
  grid-column: 1 / -1;
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.2;
}

.send-mini-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  height: 36px;
  border: 1px solid var(--border-strong);
  border-radius: 9px;
  background: var(--bg-card);
  color: var(--accent-dark);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.4px;
  transition: border-color 160ms ease, color 160ms ease;
}

.send-mini-button {
  padding-inline: 14px;
}

.send-mini-button:hover,
.send-mini-button:focus-visible {
  border-color: var(--accent);
  color: var(--text-primary);
  outline: none;
}

.send-note-input {
  gap: 10px;
  height: 48px;
  padding-inline: 16px;
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  color: var(--text-muted);
}

.send-note-input input {
  flex: 1 1 auto;
  font-size: 14.5px;
}

.send-note-input input::placeholder {
  color: var(--text-muted);
  opacity: 1;
}

.send-save-recipient {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-soft);
}

.send-save-recipient[hidden] {
  display: none;
}

.send-save-recipient__toggle,
.send-save-recipient__name {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--text-secondary);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.2;
}

.send-save-recipient__toggle input {
  width: 17px;
  height: 17px;
  accent-color: var(--accent);
}

.send-save-recipient__name {
  justify-content: flex-end;
}

.send-save-recipient__name span {
  flex: 0 0 auto;
  color: var(--text-muted);
  font-weight: 650;
}

.send-save-recipient__name input {
  min-width: 0;
  width: min(220px, 100%);
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--border-strong);
  border-radius: 9px;
  background: var(--bg-card);
  color: var(--text-primary);
  font: inherit;
  font-weight: 650;
}

.send-save-recipient__name input:disabled {
  opacity: 0.56;
}

.send-review-panel {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(222, 154, 62, 0.34);
  border-radius: 12px;
  background: #fffaf2;
}

.send-review-panel[hidden] {
  display: none;
}

.send-review-panel__header {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.send-review-panel__header > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(27, 156, 90, 0.1);
  color: var(--success);
}

.send-review-panel__header svg {
  width: 16px;
  height: 16px;
}

.send-review-panel dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  margin: 0;
}

.send-review-panel dl span {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.send-review-panel dt {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.2;
}

.send-review-panel dd {
  overflow: hidden;
  margin: 0;
  color: var(--text-primary);
  font-size: 13.5px;
  font-weight: 650;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.send-review-panel__note {
  margin: -2px 0 0;
  color: var(--text-secondary);
  font-size: 12.5px;
  line-height: 1.45;
}

.send-review-pin {
  display: grid;
  gap: 7px;
}

.send-review-pin span {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.2;
}

.send-review-pin input {
  width: min(180px, 100%);
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-card);
  color: var(--text-primary);
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  padding: 0 12px;
}

.send-review-pin input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(222, 154, 62, 0.16);
  outline: none;
}

.send-review-panel__edit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  gap: 7px;
  height: 34px;
  padding-inline: 11px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-card);
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1;
  transition: border-color 160ms ease, color 160ms ease;
}

.send-review-panel__edit svg {
  width: 14px;
  height: 14px;
}

.send-review-panel__edit:hover,
.send-review-panel__edit:focus-visible {
  border-color: var(--accent);
  color: var(--text-primary);
  outline: none;
}

.send-form.is-reviewing .send-review-button {
  background: linear-gradient(90deg, #1b9c5a 0%, #4fbd7d 100%);
}

.send-form-divider {
  height: 1px;
  background: var(--border);
}

.send-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.send-total-row > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.send-total-row > div:first-child span {
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.2;
}

.send-total-row strong {
  color: var(--text-primary);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.send-form-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.send-cancel-button,
.send-review-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  border-radius: 12px;
  font-weight: 700;
  line-height: 1;
}

.send-cancel-button {
  width: 120px;
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 15.5px;
  transition: border-color 160ms ease, color 160ms ease;
}

.send-review-button {
  gap: 9px;
  width: 210px;
  background: linear-gradient(90deg, var(--accent-dark) 0%, var(--accent-light) 100%);
  color: #ffffff;
  cursor: pointer;
  font-size: 16px;
  transition: filter 160ms ease, transform 160ms ease;
}

.send-review-button span {
  color: #ffffff;
}

.send-review-button svg {
  width: 18px;
  height: 18px;
}

.send-cancel-button:hover,
.send-cancel-button:focus-visible {
  border-color: var(--accent);
  color: var(--text-primary);
  outline: none;
}

.send-review-button:hover,
.send-review-button:focus-visible {
  filter: brightness(1.02);
  transform: translateY(-1px);
  outline: none;
}

.send-review-button:disabled {
  background: var(--border-strong);
  cursor: not-allowed;
  filter: none;
  transform: none;
}

.send-form-feedback {
  min-height: 18px;
  margin: -8px 0 0;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.35;
}

.send-form-feedback[data-type="success"] {
  color: var(--success);
}

.send-form-feedback[data-type="error"],
.send-form.has-error .send-form-feedback {
  color: #8c332a;
}

.send-form[aria-busy="true"] .send-review-button {
  opacity: 0.72;
}

.send-aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.send-summary-card,
.send-warning-card,
.send-recipients-panel {
  border-radius: 14px;
}

.send-summary-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  background: var(--bg-subtle);
}

.send-summary-card h2,
.send-warning-card h2,
.send-recipients-panel h2 {
  margin: 0;
  color: var(--text-primary);
}

.send-summary-card h2,
.send-warning-card h2 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.send-summary-card h2 {
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.2;
}

.send-summary-card h2 svg {
  width: 19px;
  height: 19px;
  color: var(--accent-dark);
}

.send-summary-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
}

.send-summary-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.send-summary-list dt,
.send-summary-list dd {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.25;
}

.send-summary-list dt {
  color: var(--text-secondary);
}

.send-summary-list dd {
  color: var(--text-primary);
  font-weight: 600;
  text-align: right;
}

.send-summary-list__total {
  padding-top: 14px;
  border-top: 1px solid var(--border-strong);
}

.send-summary-list__total dt {
  color: var(--text-primary);
  font-size: 14.5px;
  font-weight: 600;
}

.send-summary-list__total dd {
  font-size: 17px;
  font-weight: 700;
}

.send-summary-list__total + div dt,
.send-summary-list__total + div dd {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 400;
}

.send-warning-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  border: 1px solid #f2c9c3;
  background: #fdf0ee;
}

.send-warning-card h2 {
  color: #8c332a;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.25;
}

.send-warning-card h2 svg {
  width: 18px;
  height: 18px;
  color: var(--error);
}

.send-warning-card p {
  margin: 0;
  color: #8c332a;
  font-size: 13px;
  line-height: 1.5;
}

.send-recipients-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.send-recipients-panel h2 {
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.2;
}

.send-recipient-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.send-recipient {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
}

.send-recipient__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--bg-subtle);
  color: var(--text-secondary);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1;
}

.send-recipient__copy {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.send-recipient__copy strong,
.send-recipient__copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.send-recipient__copy strong {
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}

.send-recipient__copy small {
  color: var(--text-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.2;
}

.send-recipient > svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  color: var(--text-muted);
}

.send-recipient:hover .send-recipient__avatar,
.send-recipient:focus-visible .send-recipient__avatar,
.send-recipient.is-selected .send-recipient__avatar {
  background: #f6e4c9;
  color: var(--accent-dark);
}

.send-recipient:focus-visible {
  outline: 3px solid rgba(222, 154, 62, 0.2);
  outline-offset: 4px;
}

.receive-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: start;
  gap: 24px;
  min-height: 0;
}

.receive-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  min-width: 0;
  padding: 30px 32px 28px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg-card);
  box-shadow: 0 2px 8px rgba(24, 20, 15, 0.035);
}

.receive-qr {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(224px, 100%);
  height: auto;
  aspect-ratio: 1;
  padding: 14px;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  background: #ffffff;
  color: var(--text-primary);
}

.receive-qr__code {
  width: 100%;
  height: 100%;
  fill: currentColor;
  stroke: none;
  shape-rendering: crispEdges;
}

.receive-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  text-align: center;
}

.receive-head h2 {
  margin: 0;
  color: var(--text-primary);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.3px;
}

.receive-head p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.45;
}

.receive-address-box {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 14px;
  height: 64px;
  padding-inline: 18px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: var(--bg-warm);
}

.receive-address-box code {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  color: var(--text-primary);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 16px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.receive-copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 0 0 auto;
  height: 40px;
  padding-inline: 16px;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--accent-dark) 0%, var(--accent-light) 100%);
  color: #ffffff;
  cursor: pointer;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1;
  transition: filter 160ms ease, transform 160ms ease;
}

.receive-copy-button svg {
  width: 16px;
  height: 16px;
}

.receive-copy-button:hover,
.receive-copy-button:focus-visible {
  filter: brightness(1.02);
  transform: translateY(-1px);
  outline: none;
}

.receive-copy-button[data-state="copied"] {
  background: var(--success);
}

.receive-explorer-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  gap: 7px;
  height: 36px;
  padding-inline: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: border-color 160ms ease, color 160ms ease;
}

.receive-explorer-link svg {
  width: 14px;
  height: 14px;
}

.receive-explorer-link:hover,
.receive-explorer-link:focus-visible {
  border-color: var(--accent);
  color: var(--text-primary);
  outline: none;
}

.receive-aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.receive-notes-card {
  border-radius: 14px;
}

.receive-notes-card h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
}

.receive-notes-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  background: var(--bg-subtle);
}

.receive-notes-card h2 {
  color: var(--text-primary);
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.2;
}

.receive-notes-card h2 svg {
  width: 19px;
  height: 19px;
  color: var(--accent-dark);
}

.receive-notes-card ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.receive-notes-card li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.receive-notes-card li > svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  color: var(--accent);
}

.receive-notes-card li > span {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.receive-notes-card strong {
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}

.receive-notes-card small {
  color: var(--text-secondary);
  font-size: 12.5px;
  line-height: 1.5;
}

.transactions-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.transactions-filter-bar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto auto auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
  height: 52px;
}

.transactions-search {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  height: 52px;
  padding-inline: 16px;
  border: 1px solid var(--border-strong);
  border-radius: 11px;
  background: var(--bg-card);
  color: var(--text-muted);
}

.transactions-search svg {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
}

.transactions-search input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--text-primary);
  font: inherit;
  font-size: 14.5px;
}

.transactions-search input::placeholder {
  color: var(--text-muted);
  opacity: 1;
}

.transactions-type-tabs {
  display: inline-grid;
  grid-template-columns: repeat(4, minmax(82px, 1fr));
  gap: 4px;
  height: 52px;
  padding: 4px;
  border-radius: 11px;
  background: var(--bg-subtle);
}

.transactions-type-tabs button {
  min-width: 66px;
  padding-inline: 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

.transactions-type-tabs button:hover,
.transactions-type-tabs button:focus-visible,
.transactions-type-tabs button.is-active {
  border-color: var(--border);
  background: var(--bg-card);
  color: var(--text-primary);
  outline: none;
}

.transactions-filter-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 52px;
  padding-inline: 16px;
  border: 1px solid var(--border-strong);
  border-radius: 11px;
  background: var(--bg-card);
  color: var(--text-primary);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: border-color 160ms ease;
}

.transactions-filter-button svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  color: var(--text-muted);
}

.transactions-filter-button svg:last-child {
  width: 15px;
  height: 15px;
}

.transactions-filter-button:hover,
.transactions-filter-button:focus-visible {
  border-color: var(--accent);
  outline: none;
}

.transactions-table {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-card);
  box-shadow: 0 2px 8px rgba(24, 20, 15, 0.035);
}

.transactions-table-head,
.transactions-row {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr) 210px 130px 180px;
  align-items: center;
  gap: 0;
  padding-inline: 22px;
}

.transactions-table-head {
  height: 46px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-subtle);
}

.transactions-table-head span {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.3px;
}

.transactions-table-head span:last-child {
  text-align: right;
}

.transactions-list {
  display: flex;
  flex-direction: column;
}

.transactions-row {
  min-height: 64px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 160ms ease;
}

.transactions-row > .transactions-cell,
.transactions-row > .transactions-amount {
  grid-row: 1;
  min-height: 0;
  height: 64px;
}

.transactions-row > .transactions-status {
  grid-row: 1;
  align-self: center;
}

.transactions-row > .transactions-cell {
  display: flex;
  align-items: center;
}

.transactions-row:hover,
.transactions-row:focus-within,
.transactions-row.is-expanded {
  background: var(--bg-soft);
}

.transactions-row[hidden] {
  display: none;
}

.transactions-empty-filter {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 42px 18px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  text-align: center;
}

.transactions-empty-filter[hidden] {
  display: none;
}

.transactions-empty-filter svg {
  width: 24px;
  height: 24px;
  color: var(--text-muted);
}

.transactions-empty-filter strong {
  color: var(--text-primary);
  font-size: 15px;
  line-height: 1.25;
}

.transactions-empty-filter p {
  margin: 0;
  max-width: 320px;
  color: var(--text-secondary);
  font-size: 13.5px;
  line-height: 1.4;
}

.transactions-empty-filter button {
  margin-top: 4px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--text-primary);
  cursor: pointer;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1;
  padding: 9px 13px;
}

.transactions-empty-filter button:hover,
.transactions-empty-filter button:focus-visible {
  border-color: var(--accent);
  outline: none;
}

.transactions-cell {
  min-width: 0;
}

.transactions-cell--type {
  display: flex;
  align-items: center;
  gap: 14px;
}

.transactions-type-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 999px;
}

.transactions-type-badge svg {
  width: 18px;
  height: 18px;
}

.transactions-type-badge--received {
  background: rgba(27, 156, 90, 0.1);
  color: var(--success);
}

.transactions-type-badge--sent {
  background: rgba(212, 72, 58, 0.08);
  color: var(--error);
}

.transactions-type-badge--internal {
  background: rgba(222, 154, 62, 0.12);
  color: var(--accent-dark);
}

.transactions-type-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.transactions-type-copy strong {
  color: var(--text-primary);
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.2;
}

.transactions-type-copy small {
  color: var(--text-muted);
  font-size: 12.5px;
  line-height: 1.2;
}

.transactions-cell--address {
  overflow: hidden;
  color: var(--text-secondary);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13.5px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.transactions-cell--date {
  overflow: hidden;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.transactions-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 0;
  min-height: 26px;
  padding-inline: 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1;
}

.transactions-status--confirmed {
  background: rgba(27, 156, 90, 0.1);
  color: var(--success);
}

.transactions-status--pending {
  background: rgba(222, 154, 62, 0.12);
  color: var(--accent-dark);
}

.transactions-status--failed {
  background: rgba(212, 72, 58, 0.1);
  color: var(--error);
}

.transactions-amount {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
  color: var(--text-primary);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.2;
  text-align: right;
}

.transactions-amount > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.transactions-row__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-card);
  color: var(--text-secondary);
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.transactions-row__toggle svg {
  width: 15px;
  height: 15px;
  transition: transform 160ms ease;
}

.transactions-row__toggle:hover,
.transactions-row__toggle:focus-visible {
  border-color: var(--accent);
  color: var(--text-primary);
  outline: none;
}

.transactions-row.is-expanded .transactions-row__toggle svg {
  transform: rotate(180deg);
}

.transactions-amount--received {
  color: var(--success);
}

.transactions-amount--internal {
  color: var(--accent-dark);
}

.transactions-amount--failed {
  color: var(--text-muted);
}

.transactions-detail {
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 16px;
  margin-top: 2px;
  padding: 14px 0 18px 52px;
  border-top: 1px solid var(--border);
}

.transactions-detail[hidden] {
  display: none;
}

.transactions-detail dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  margin: 0;
}

.transactions-detail__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.transactions-detail__item small {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.2;
}

.transactions-detail__item strong {
  overflow: hidden;
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.transactions-detail__item--mono strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.transactions-detail__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.transactions-detail__copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 34px;
  padding-inline: 11px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-card);
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.transactions-detail__copy svg {
  width: 14px;
  height: 14px;
}

.transactions-detail__copy:hover,
.transactions-detail__copy:focus-visible {
  border-color: var(--accent);
  color: var(--text-primary);
  outline: none;
}

.transactions-detail__copy[data-state="copied"] {
  border-color: rgba(27, 156, 90, 0.28);
  background: rgba(27, 156, 90, 0.08);
  color: var(--success);
}

.transactions-detail__copy[data-state="error"] {
  border-color: rgba(212, 72, 58, 0.28);
  background: rgba(212, 72, 58, 0.08);
  color: var(--error);
}

.transactions-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 58px;
  padding-inline: 22px;
  border-top: 1px solid var(--border);
  background: var(--bg-warm);
}

.transactions-footer > span {
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.2;
}

.transactions-pagination {
  display: flex;
  align-items: center;
  gap: 8px;
}

.transactions-pagination button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border-strong);
  border-radius: 9px;
  background: var(--bg-card);
  color: var(--text-secondary);
  cursor: pointer;
}

.transactions-pagination button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.transactions-pagination svg {
  width: 16px;
  height: 16px;
}

.addresses-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.addresses-tabs {
  display: flex;
  align-items: center;
  gap: 28px;
  min-width: 0;
  height: 44px;
  border-bottom: 1px solid var(--border);
}

.addresses-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: stretch;
  padding: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 15.5px;
  line-height: 1;
}

.addresses-tabs button:hover,
.addresses-tabs button:focus-visible,
.addresses-tabs button.is-active {
  color: var(--text-primary);
  outline: none;
}

.addresses-tabs button.is-active {
  border-bottom-color: var(--accent);
  font-weight: 600;
}

.addresses-tabs strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding-inline: 9px;
  border-radius: 999px;
  background: var(--bg-subtle);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.addresses-tabs button.is-active strong {
  background: #fdf6ec;
  color: var(--accent-dark);
}

.addresses-contact-form {
  display: grid;
  grid-template-columns: minmax(140px, 0.85fr) minmax(260px, 1.35fr) minmax(140px, 1fr) auto;
  align-items: end;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-card);
}

.addresses-contact-form[hidden] {
  display: none;
}

.addresses-contact-form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.addresses-contact-form label span {
  color: var(--text-secondary);
  font-size: 12.5px;
  font-weight: 650;
  line-height: 1;
}

.addresses-contact-form input {
  min-width: 0;
  height: 42px;
  padding-inline: 12px;
  border: 1px solid var(--border-strong);
  border-radius: 9px;
  background: var(--bg-card);
  color: var(--text-primary);
  font: inherit;
  font-size: 13.5px;
  outline: none;
}

.addresses-contact-form input::placeholder {
  color: var(--text-muted);
  opacity: 1;
}

.addresses-contact-form input:focus {
  border-color: var(--accent);
}

.addresses-contact-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding-inline: 15px;
  border-radius: 9px;
  background: var(--accent-dark);
  color: #ffffff;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.addresses-contact-form button:disabled {
  opacity: 0.68;
  cursor: not-allowed;
}

.addresses-contact-form button svg {
  width: 16px;
  height: 16px;
}

.addresses-table {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-card);
  box-shadow: 0 2px 8px rgba(24, 20, 15, 0.035);
}

.addresses-table-head,
.addresses-row {
  display: grid;
  grid-template-columns: 250px minmax(220px, 1fr) 170px 90px 150px 120px;
  align-items: center;
  padding-inline: 22px;
}

.addresses-table-head {
  height: 46px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-subtle);
}

.addresses-table-head span {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.3px;
}

.addresses-list {
  display: flex;
  flex-direction: column;
}

.addresses-row {
  min-height: 70px;
  border-bottom: 1px solid var(--border);
}

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

.addresses-row[hidden],
.addresses-card[hidden] {
  display: none;
}

.addresses-cell {
  min-width: 0;
}

.addresses-cell--label,
.addresses-cell--actions {
  display: flex;
  align-items: center;
}

.addresses-cell--label {
  gap: 10px;
}

.addresses-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--bg-subtle);
  color: var(--text-secondary);
}

.addresses-row.is-default .addresses-avatar,
.addresses-card.is-default .addresses-avatar {
  background: #fdf6ec;
  color: var(--accent-dark);
}

.addresses-avatar svg {
  width: 17px;
  height: 17px;
}

.addresses-label-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.addresses-label-copy strong {
  overflow: hidden;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.addresses-label-copy small,
.addresses-label-copy code {
  overflow: hidden;
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.addresses-label-copy code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11.5px;
}

.addresses-cell--address {
  overflow: hidden;
  color: var(--text-secondary);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.addresses-cell--received {
  overflow: hidden;
  color: var(--text-primary);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.addresses-cell--muted,
.addresses-card__meta--muted {
  color: var(--text-muted);
}

.addresses-cell--txs,
.addresses-cell--created {
  overflow: hidden;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.addresses-cell--actions {
  justify-content: flex-end;
  gap: 6px;
}

.addresses-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--bg-card);
  color: var(--text-secondary);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.addresses-action svg {
  width: 15px;
  height: 15px;
}

.addresses-action:hover,
.addresses-action:focus-visible {
  border-color: var(--accent);
  color: var(--text-primary);
  outline: none;
}

.addresses-action[data-state="copied"] {
  border-color: rgba(27, 156, 90, 0.28);
  background: rgba(27, 156, 90, 0.08);
  color: var(--success);
}

.addresses-action[data-state="error"] {
  border-color: rgba(212, 72, 58, 0.28);
  background: rgba(212, 72, 58, 0.08);
  color: var(--error);
}

.addresses-action[data-address-action="delete-contact"]:hover,
.addresses-action[data-address-action="delete-contact"]:focus-visible {
  border-color: rgba(212, 72, 58, 0.34);
  background: rgba(212, 72, 58, 0.08);
  color: var(--error);
}

.addresses-card-list {
  display: none;
}

.settings-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.settings-desktop-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: start;
  gap: 24px;
  min-width: 0;
}

.settings-left,
.settings-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.settings-panel,
.settings-danger-card {
  border-radius: 14px;
}

.settings-panel {
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: 0 2px 8px rgba(24, 20, 15, 0.035);
}

.settings-panel__head {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding-inline: 22px;
  border-bottom: 1px solid var(--border);
}

.settings-panel__head svg {
  width: 18px;
  height: 18px;
  color: var(--accent-dark);
}

.settings-panel__head h2,
.settings-danger-card h2 {
  margin: 0;
  color: var(--text-primary);
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.2;
}

.settings-row {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 72px;
  padding-inline: 22px;
  border-bottom: 1px solid var(--border);
}

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

.settings-row__copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1 1 auto;
  min-width: 0;
}

.settings-row__copy strong {
  overflow: hidden;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.settings-row__copy small {
  overflow: hidden;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.settings-secondary-button,
.settings-select-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  height: 38px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: var(--bg-card);
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  transition: border-color 160ms ease, color 160ms ease;
}

.settings-secondary-button {
  gap: 8px;
  padding-inline: 16px;
}

.settings-secondary-button--primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.settings-secondary-button--primary svg {
  color: currentColor;
}

.settings-secondary-button--primary:hover,
.settings-secondary-button--primary:focus-visible {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
  color: #fff;
}

.settings-secondary-button:disabled,
.settings-select-button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.settings-select-button {
  gap: 10px;
  padding-inline: 14px;
  color: var(--text-primary);
  font-weight: 500;
}

.settings-secondary-button svg,
.settings-select-button svg {
  width: 15px;
  height: 15px;
  color: var(--text-secondary);
}

.settings-select-button svg {
  color: var(--text-muted);
}

.settings-secondary-button:hover,
.settings-secondary-button:focus-visible,
.settings-select-button:hover,
.settings-select-button:focus-visible {
  border-color: var(--accent);
  color: var(--text-primary);
  outline: none;
}

.settings-danger-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.settings-wallet-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: #fdf6ec;
  color: var(--accent-dark);
}

.settings-wallet-avatar svg {
  width: 19px;
  height: 19px;
}

.settings-mobile-wallet strong {
  overflow: hidden;
  color: var(--text-primary);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.settings-mobile-wallet code {
  overflow: hidden;
  color: var(--text-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.settings-danger-card header {
  display: flex;
  align-items: center;
  gap: 9px;
}

.settings-compact-row[data-state="copied"] {
  border-color: rgba(27, 156, 90, 0.28);
  background: rgba(27, 156, 90, 0.08);
  color: var(--success);
}

.settings-compact-row[data-state="error"] {
  border-color: rgba(212, 72, 58, 0.28);
  background: rgba(212, 72, 58, 0.08);
  color: var(--error);
}

.settings-danger-card {
  gap: 10px;
  border-color: #f2c9c3;
  background: #fdf0ee;
}

.settings-danger-card h2,
.settings-danger-card p {
  color: #8c332a;
}

.settings-danger-card header svg {
  width: 17px;
  height: 17px;
  color: var(--error);
}

.settings-danger-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

.settings-danger-card button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  height: 46px;
  border: 1px solid #e8b3ac;
  border-radius: 11px;
  background: var(--bg-card);
  color: var(--error);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  transition: border-color 160ms ease, background 160ms ease;
}

.settings-danger-card button svg {
  width: 16px;
  height: 16px;
}

.settings-danger-card button:hover,
.settings-danger-card button:focus-visible {
  border-color: var(--error);
  background: #fff8f7;
  outline: none;
}

.settings-pin-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-card);
  box-shadow: 0 2px 8px rgba(24, 20, 15, 0.035);
}

.settings-pin-panel[hidden] {
  display: none;
}

.settings-pin-panel header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.settings-pin-panel header > span:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #fdf6ec;
  color: var(--accent-dark);
}

.settings-pin-panel header svg {
  width: 18px;
  height: 18px;
}

.settings-pin-panel h2 {
  margin: 0;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.settings-pin-panel p {
  margin: 4px 0 0;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.4;
}

.settings-pin-grid {
  display: grid;
  grid-template-columns: minmax(0, 280px);
  justify-content: center;
  gap: 14px;
}

.settings-pin-field {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 7px;
  width: 100%;
  min-width: 0;
  cursor: text;
}

.settings-pin-field > span {
  color: var(--text-secondary);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.2;
}

.settings-pin-input {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 42px;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.settings-pin-boxes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  width: 100%;
  height: 42px;
}

.settings-pin-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: var(--bg-card);
  transition: border-color 160ms ease, background 160ms ease;
}

.settings-pin-box.is-active {
  border-color: var(--accent);
  background: var(--bg-card);
  box-shadow: 0 0 0 3px rgba(224, 151, 55, 0.16);
}

.settings-pin-dot {
  display: none;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--text-primary);
}

.settings-pin-box.is-filled .settings-pin-dot {
  display: block;
}

.settings-pin-caret {
  display: none;
  width: 1.5px;
  height: 18px;
  border-radius: 999px;
  background: var(--accent);
}

.settings-pin-box.is-active .settings-pin-caret {
  display: block;
}

.settings-pin-panel.has-error .settings-pin-box {
  border-color: rgba(212, 72, 58, 0.46);
}

.settings-pin-panel footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.settings-pin-panel[aria-busy="true"] {
  opacity: 0.78;
}

.settings-recovery-panel > section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.settings-recovery-panel > section[hidden] {
  display: none;
}

.settings-recovery-warning {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0;
  padding: 11px 12px;
  border: 1px solid #f2c9c3;
  border-radius: 10px;
  background: #fdf0ee;
  color: #8c332a;
  font-size: 13px;
  line-height: 1.4;
}

.settings-recovery-warning svg {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  margin-top: 1px;
  color: var(--error);
}

.settings-recovery-words {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.settings-recovery-words li {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-subtle);
}

.settings-recovery-words small {
  flex: 0 0 auto;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.settings-recovery-words strong {
  min-width: 0;
  overflow: hidden;
  color: var(--text-primary);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.settings-mobile-layout {
  display: none;
}

.settings-feedback {
  min-height: 18px;
  margin: 0;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.35;
}

.settings-feedback[data-type="error"] {
  color: var(--error);
}

.settings-feedback[data-type="success"] {
  color: var(--success);
}

.health-page {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg-page);
  color: var(--text-primary);
}

.health-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 1180px);
  max-width: 100%;
  min-height: 76px;
  margin-inline: auto;
  padding: 18px 30px;
}

.health-brand,
.health-home-link,
.health-refresh-button,
.health-actions,
.health-title-row,
.health-section-title,
.health-check-card,
.health-check-card__icon,
.health-pill {
  display: flex;
  align-items: center;
}

.health-brand {
  gap: 10px;
  color: var(--text-primary);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
}

.health-brand img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.health-home-link {
  justify-content: center;
  min-height: 38px;
  padding-inline: 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 650;
  line-height: 1;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.health-home-link:hover,
.health-home-link:focus-visible {
  border-color: var(--accent);
  color: var(--text-primary);
  outline: none;
}

.health-shell {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: min(100%, 980px);
  max-width: 100%;
  min-width: 0;
  margin-inline: auto;
  padding: 28px 30px 46px;
}

.health-status-panel,
.health-runtime,
.health-check-card {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-card);
}

.health-status-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  padding: 24px;
}

.health-title-row {
  justify-content: space-between;
  gap: 20px;
}

.health-kicker {
  margin: 0 0 5px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.health-title-row h1 {
  margin: 0;
  color: var(--text-primary);
  font-size: 28px;
  font-weight: 750;
  line-height: 1.18;
  letter-spacing: -0.4px;
  text-wrap: balance;
}

.health-pill {
  flex: 0 0 auto;
  justify-content: center;
  min-height: 32px;
  padding-inline: 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-subtle);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.health-pill--ok {
  border-color: #b7dfc9;
  background: #f0faf4;
  color: var(--success);
}

.health-pill--attention {
  border-color: #f2c9c3;
  background: #fff5f3;
  color: var(--error);
}

.health-summary {
  min-width: 0;
  max-width: 68ch;
  margin: 0;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.health-actions {
  justify-content: space-between;
  gap: 16px;
  padding-top: 2px;
}

.health-refresh-button {
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding-inline: 15px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: var(--bg-card);
  color: var(--text-primary);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.health-refresh-button svg {
  width: 16px;
  height: 16px;
  color: var(--text-secondary);
}

.health-refresh-button:hover,
.health-refresh-button:focus-visible {
  border-color: var(--accent);
  color: var(--accent-dark);
  outline: none;
  transform: translateY(-1px);
}

.health-refresh-button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.health-checked-at {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.35;
  text-align: right;
}

.health-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.health-check-card {
  gap: 12px;
  min-width: 0;
  min-height: 112px;
  padding: 16px;
}

.health-check-card__icon {
  flex: 0 0 auto;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--bg-subtle);
  color: var(--text-muted);
}

.health-check-card__icon svg {
  width: 17px;
  height: 17px;
}

.health-check-card[data-state="ok"] .health-check-card__icon {
  background: #f0faf4;
  color: var(--success);
}

.health-check-card[data-state="warning"] .health-check-card__icon {
  background: #fff5f3;
  color: var(--error);
}

.health-check-card div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.health-check-card span {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.2;
}

.health-check-card strong {
  min-width: 0;
  overflow: hidden;
  color: var(--text-primary);
  font-size: 17px;
  font-weight: 750;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.health-check-card small {
  min-width: 0;
  overflow: hidden;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.health-runtime {
  width: 100%;
  overflow: hidden;
}

.health-section-title {
  justify-content: space-between;
  gap: 18px;
  min-height: 58px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  background: #fdfbf7;
}

.health-section-title h2 {
  margin: 0;
  color: var(--text-primary);
  font-size: 17px;
  font-weight: 750;
  line-height: 1.2;
}

.health-section-title span {
  min-width: 0;
  overflow: hidden;
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 650;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.health-detail-list {
  margin: 0;
}

.health-detail-row {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 52px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
}

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

.health-detail-row dt,
.health-detail-row dd {
  min-width: 0;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.35;
}

.health-detail-row dt {
  color: var(--text-secondary);
  font-weight: 700;
}

.health-detail-row dd {
  overflow-wrap: anywhere;
  color: var(--text-primary);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-weight: 650;
}

.health-detail-row[data-state="warning"] dd {
  color: var(--error);
}

@media (max-width: 1023px) {
  .decor-wave,
  .decor-dot {
    display: none;
  }

  .header {
    height: 80px;
    padding-inline: 40px;
  }

  .brand {
    gap: 9px;
  }

  .brand__mark {
    width: 28px;
    height: 28px;
  }

  .brand__name {
    font-size: 19px;
    letter-spacing: 0.9px;
  }

  .header-actions {
    gap: 14px;
  }

  .utility-button {
    height: 40px;
    gap: 8px;
    padding-inline: 14px;
    font-size: 13.5px;
  }

  .utility-button--language {
    gap: 8px;
  }

  .utility-button svg {
    width: 16px;
    height: 16px;
  }

  .utility-button svg:last-child {
    width: 14px;
    height: 14px;
  }

  .icon-button {
    width: 40px;
    height: 40px;
  }

  .hero {
    padding: 38px 40px 0;
  }

  .welcome-badge {
    margin-bottom: 22px;
    padding: 9px 16px;
    font-size: 12.5px;
  }

  .hero h1 {
    margin-bottom: 15px;
    font-size: 38px;
    line-height: 1.18;
    letter-spacing: -0.8px;
  }

  .hero p {
    width: min(600px, 100%);
    font-size: 15px;
  }

  .wallet-actions {
    grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr);
    gap: 12px;
    width: calc(100% - 80px);
    min-height: 520px;
    padding-top: 32px;
  }

  .wallet-card {
    height: 520px;
    gap: 18px;
    padding: 28px 20px 24px;
  }

  .wallet-card__art {
    width: 175px;
    height: 135px;
  }

  .wallet-card__copy {
    min-height: 122px;
  }

  .wallet-card h2 {
    font-size: 22px;
    letter-spacing: -0.4px;
  }

  .wallet-card__cta-wrap {
    padding-inline: 13px;
  }

  .wallet-cta {
    min-height: 48px;
    padding-inline: 20px;
  }

  .or-divider {
    width: 48px;
    height: 48px;
  }

  .import-badges {
    max-width: 260px;
  }

  .secure-section {
    gap: 12px;
    padding: 30px 40px 10px;
  }

  .secure-section h2 {
    font-size: 15px;
  }

  .secure-section p {
    font-size: 13px;
  }

  .footer__row {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 126px;
    padding: 24px 40px 28px;
  }

  .footer__links {
    gap: 30px;
    order: 1;
  }

  .footer__copyright {
    order: 2;
    align-self: flex-start;
  }

  .footer__socials {
    order: 3;
    align-self: flex-end;
    margin-top: -37px;
  }

  .wallet-flow-main {
    gap: 26px;
    padding: 32px 40px 48px;
  }

  .flow-stepper {
    gap: 12px;
    padding-inline: 20px;
  }

  .flow-step {
    gap: 10px;
  }

  .flow-step__label {
    font-size: 14px;
  }

  .flow-body {
    align-items: stretch;
    flex-direction: column;
  }

  .flow-aside {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
    flex: 0 0 auto;
    width: 100%;
  }

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

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

  .dashboard-shell {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .dashboard-sidebar {
    padding-inline: 16px;
  }

  .dashboard-nav__item {
    gap: 12px;
    padding-inline: 12px;
    font-size: 15px;
  }

  .dashboard-main {
    gap: 24px;
    padding: 32px 28px 30px;
  }

  .dashboard-balance-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .dashboard-balance-actions {
    width: 100%;
  }

  .dashboard-action-button {
    flex: 1 1 0;
  }

  .dashboard-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .dashboard-transaction-row {
    grid-template-columns: 58px 160px minmax(0, 1fr) 150px;
    padding-inline: 18px;
  }

  .send-body {
    grid-template-columns: 1fr;
  }

  .send-aside {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  }

  .send-recipients-panel {
    grid-column: 1 / -1;
  }

  .send-recipient-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .receive-body {
    grid-template-columns: 1fr;
  }

  .receive-aside {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  }

  .transactions-filter-bar {
    grid-template-columns: minmax(0, 1fr) auto;
    height: auto;
  }

  .transactions-search {
    grid-column: 1 / -1;
  }

  .transactions-table-head,
  .transactions-row {
    grid-template-columns: 170px minmax(128px, 1fr) 138px 88px 104px;
    padding-inline: 14px;
  }

  .addresses-table {
    overflow-x: auto;
  }

  .addresses-table-head,
  .addresses-row {
    grid-template-columns: 210px minmax(200px, 1fr) 140px 70px 120px 112px;
    min-width: 852px;
    padding-inline: 18px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100%, 390px);
    margin-inline: 0 auto;
  }

  .health-header {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
    min-height: 66px;
    margin-inline: 16px;
    padding: 14px 0;
  }

  .health-shell {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
    gap: 14px;
    margin-inline: 16px;
    padding: 18px 0 30px;
  }

  .health-status-panel {
    gap: 14px;
    max-width: 100%;
    padding: 18px;
  }

  .health-summary {
    max-width: 31ch;
  }

  .health-title-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .health-title-row h1 {
    font-size: 24px;
    letter-spacing: -0.3px;
  }

  .health-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .health-checked-at {
    text-align: left;
  }

  .health-grid {
    grid-template-columns: 1fr;
  }

  .health-check-card {
    max-width: 100%;
    min-height: 96px;
  }

  .health-section-title {
    align-items: flex-start;
    flex-direction: column;
    min-height: 0;
    gap: 5px;
  }

  .health-section-title span {
    width: 100%;
  }

  .health-detail-row {
    grid-template-columns: 1fr;
    gap: 4px;
    align-items: flex-start;
  }

  .locked-shell {
    width: min(100%, 390px);
    margin-inline: 0 auto;
  }

  .locked-header {
    min-height: 64px;
    padding-inline: 20px;
  }

  .locked-brand {
    gap: 8px;
  }

  .locked-pill {
    height: 24px;
    padding-inline: 9px;
    font-size: 11.5px;
  }

  .locked-header__actions {
    gap: 10px;
  }

  .locked-language-button {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 10px;
  }

  .locked-language-button span,
  .locked-language-button svg:last-child {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .locked-theme-button {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .locked-main {
    align-items: flex-start;
    padding: 24px 16px 28px;
  }

  .locked-column {
    gap: 14px;
  }

  .locked-card {
    gap: 16px;
    padding: 26px 18px 22px;
    border-radius: 16px;
  }

  .locked-badge {
    width: 56px;
    height: 56px;
    border-radius: 18px;
  }

  .locked-badge svg {
    width: 24px;
    height: 24px;
  }

  .locked-card h1 {
    font-size: 23px;
  }

  .locked-card > p {
    margin-top: -9px;
    font-size: 13.5px;
  }

  .locked-wallet-chip {
    width: 100%;
    justify-content: center;
    height: 42px;
    padding-inline: 14px;
  }

  .locked-wallet-chip strong {
    font-size: 13.5px;
  }

  .locked-wallet-chip code {
    font-size: 11.5px;
  }

  .locked-pin-boxes {
    gap: 10px;
  }

  .locked-pin-box {
    width: 58px;
    height: 58px;
    border-radius: 14px;
  }

  .locked-pin-dot {
    width: 13px;
    height: 13px;
  }

  .locked-pin-caret {
    height: 22px;
  }

  .locked-attempts,
  .locked-footer-note {
    align-items: flex-start;
    font-size: 12px;
  }

  .locked-unlock-button {
    height: 50px;
  }

  .locked-forgot p {
    font-size: 12.5px;
  }

  .locked-erase-button {
    width: 100%;
    padding-inline: 12px;
    font-size: 13.5px;
  }

  .locked-confirm__card {
    padding: 22px;
  }

  .locked-confirm__actions {
    flex-direction: column;
  }

  .locked-confirm__actions button {
    height: 48px;
    min-height: 48px;
  }

  .header {
    height: 64px;
    padding-inline: 20px;
  }

  .brand {
    gap: 8px;
  }

  .brand__mark {
    width: 26px;
    height: 26px;
  }

  .brand__name {
    font-size: 18px;
  }

  .header-actions {
    gap: 10px;
  }

  .utility-button--help {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 999px;
  }

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

  .utility-button--language {
    height: 36px;
    gap: 7px;
    padding-inline: 12px;
    border-radius: 10px;
    font-size: 13px;
  }

  .icon-button {
    width: 36px;
    height: 36px;
  }

  .hero {
    padding: 28px 20px 0;
  }

  .welcome-badge {
    gap: 7px;
    min-height: 32px;
    margin-bottom: 20px;
    padding: 8px 14px;
    font-size: 12px;
  }

  .welcome-badge svg {
    width: 13px;
    height: 13px;
  }

  .hero h1 {
    width: min(350px, 100%);
    margin-bottom: 14px;
    font-size: 31px;
    line-height: 1.2;
    letter-spacing: -0.7px;
  }

  .hero p {
    width: min(350px, 100%);
    font-size: 14px;
    line-height: 1.6;
  }

  .desktop-break {
    display: none;
  }

  .wallet-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    min-height: 0;
    padding: 28px 20px 0;
  }

  .wallet-card {
    width: min(350px, 100%);
    height: auto;
    gap: 16px;
    padding: 26px 18px 22px;
  }

  .wallet-card__art {
    width: 206px;
    height: 159px;
  }

  .wallet-card__copy {
    gap: 7px;
    min-height: 0;
  }

  .wallet-card h2 {
    font-size: 22px;
    letter-spacing: -0.4px;
  }

  .wallet-card p {
    width: min(280px, 100%);
    line-height: 1.7;
  }

  .wallet-card__copy--import p {
    width: min(280px, 100%);
    line-height: 1.55;
  }

  .wallet-card__cta-wrap {
    padding-inline: 10px;
  }

  .or-divider {
    width: 46px;
    height: 46px;
    font-size: 13px;
  }

  .supported-imports__label {
    font-size: 12px;
  }

  .import-badges {
    max-width: 100%;
  }

  .import-badge--wide {
    flex-basis: auto;
  }

  .secure-section {
    gap: 11px;
    padding: 28px 20px 10px;
  }

  .secure-section h2 {
    font-size: 14.5px;
  }

  .secure-section p {
    font-size: 12.5px;
    line-height: 1.55;
  }

  .footer__row {
    gap: 16px;
    min-height: 132px;
    padding: 22px 20px 26px;
  }

  .footer__links {
    flex-wrap: wrap;
    gap: 18px;
  }

  .footer__socials {
    order: 2;
    align-self: center;
    margin-top: 0;
  }

  .footer__copyright {
    order: 3;
    align-self: center;
    text-align: center;
  }

  .wallet-flow-shell {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .wallet-flow-main {
    gap: 22px;
    width: 100%;
    max-width: 100vw;
    min-height: calc(100vh - 64px);
    overflow: hidden;
    padding: 26px 16px 40px;
  }

  .wallet-flow-header .utility-button--language {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 999px;
  }

  .wallet-flow-header .utility-button--language span,
  .wallet-flow-header .utility-button--language svg:last-child {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .flow-topbar {
    align-items: flex-start;
  }

  .flow-title-group {
    gap: 7px;
  }

  .flow-title-group h1 {
    font-size: 26px;
    letter-spacing: -0.4px;
  }

  .flow-title-group p {
    font-size: 14px;
  }

  .flow-cancel-button {
    min-width: 74px;
    height: 38px;
    padding-inline: 14px;
  }

  .flow-stepper {
    align-items: flex-start;
    gap: 0;
    width: 100%;
    max-width: 100%;
    min-height: 0;
    padding: 18px;
    overflow-x: auto;
    scroll-padding-inline: 18px;
  }

  .flow-step {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 78px;
    text-align: center;
    white-space: normal;
  }

  .flow-step:not(:last-child)::after {
    position: absolute;
    top: 15px;
    left: calc(50% + 24px);
    width: calc(100% - 30px);
    min-width: 42px;
    margin-left: 0;
  }

  .flow-step__label {
    max-width: 86px;
    font-size: 12.5px;
    line-height: 1.25;
  }

  .flow-body {
    gap: 18px;
    width: 100%;
    min-width: 0;
  }

  .option-card {
    width: 100%;
    max-width: 100%;
    padding: 24px 18px 18px;
    border-radius: 16px;
  }

  .option-card fieldset {
    gap: 14px;
    padding-bottom: 20px;
  }

  .option-card legend {
    margin-bottom: 16px;
  }

  .wallet-options {
    gap: 14px;
  }

  .wallet-option {
    align-items: flex-start;
    gap: 14px;
    max-width: 100%;
    min-height: 0;
    padding: 18px 16px;
  }

  .wallet-option__copy {
    flex-basis: auto;
  }

  .wallet-option__icon {
    width: 42px;
    height: 42px;
  }

  .wallet-option__icon svg {
    width: 20px;
    height: 20px;
  }

  .wallet-option__title {
    font-size: 16.5px;
  }

  .wallet-option__description {
    font-size: 13.5px;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .option-card__footer {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
    padding-top: 20px;
  }

  .flow-continue-button {
    width: 100%;
  }

  .phrase-card {
    gap: 18px;
    padding: 24px 18px 18px;
    border-radius: 16px;
  }

  .phrase-card__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .phrase-actions {
    width: 100%;
  }

  .phrase-action {
    flex: 1 1 0;
    padding-inline: 12px;
  }

  .phrase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 14px;
  }

  .phrase-word {
    gap: 8px;
    height: 46px;
    padding-inline: 12px;
  }

  .phrase-word__index {
    flex-basis: 18px;
  }

  .phrase-word__value {
    font-size: 14px;
  }

  .warning-banner {
    padding: 15px 14px;
  }

  .flow-footer-actions {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    width: 100%;
  }

  .flow-back-button,
  .flow-footer-actions .flow-continue-button {
    width: 100%;
  }

  .confirm-card {
    gap: 16px;
    padding: 24px 18px 18px;
    border-radius: 16px;
  }

  .confirm-slots {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .confirm-slot__box {
    height: 50px;
  }

  .word-bank {
    padding: 14px;
  }

  .word-bank__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .word-chip {
    height: 42px;
    font-size: 14px;
  }

  .wallet-name-field input {
    height: 46px;
  }

  .import-method-tabs {
    border-radius: 10px;
  }

  .import-method-tab {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    min-height: 104px;
    padding: 14px 12px;
  }

  .import-method-tab:first-of-type {
    border-radius: 9px 0 0 9px;
  }

  .import-method-tab:last-of-type {
    border-radius: 0 9px 9px 0;
  }

  .import-method-tab__icon {
    width: 28px;
    height: 28px;
  }

  .import-method-tab__icon svg {
    width: 21px;
    height: 21px;
  }

  .import-method-tab strong {
    font-size: 14px;
  }

  .import-method-tab small {
    font-size: 12px;
  }

  .import-method-panel {
    gap: 18px;
  }

  .import-segmented-control {
    width: 100%;
  }

  .import-private-key-field input {
    height: 46px;
    font-size: 13px;
  }

  .import-pin-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .wallet-created-card {
    margin-top: 34px;
    padding: 30px 18px 24px;
    border-radius: 16px;
  }

  .wallet-created-card h1 {
    font-size: 25px;
  }

  .wallet-created-address {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .wallet-created-address button {
    width: 100%;
  }

  .pin-card {
    gap: 20px;
    padding: 24px 18px 18px;
    border-radius: 16px;
  }

  .pin-entry {
    width: 100%;
  }

  .pin-input {
    width: 100%;
    height: 58px;
  }

  .pin-boxes {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
  }

  .pin-box {
    width: 100%;
    height: 58px;
    border-radius: 12px;
  }

  .flow-finish-button {
    width: 100%;
  }

  .flow-aside {
    display: flex;
    gap: 16px;
  }

  .security-notes {
    gap: 16px;
    padding: 22px 18px;
  }

  .help-panel {
    padding: 20px 18px;
  }

  .dashboard-shell {
    grid-template-columns: 64px minmax(0, 1fr);
    width: 100%;
  }

  .dashboard-sidebar {
    display: none;
  }

  .dashboard-mobile-rail {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 64px;
    min-height: 100vh;
    padding: 20px 10px;
    border-right: 1px solid var(--border);
    background: var(--bg-subtle);
  }

  .dashboard-mobile-brand,
  .dashboard-mobile-rail__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .dashboard-mobile-brand img {
    width: 30px;
    height: 30px;
  }

  .dashboard-mobile-rail__item {
    color: var(--text-secondary);
    transition: background 160ms ease, color 160ms ease;
  }

  .dashboard-mobile-rail__item svg {
    width: 21px;
    height: 21px;
  }

  .dashboard-mobile-rail__item:hover,
  .dashboard-mobile-rail__item:focus-visible,
  .dashboard-mobile-rail__item.is-active {
    background: var(--bg-card);
    color: var(--accent-dark);
    outline: none;
  }

  .dashboard-main {
    gap: 22px;
    width: 100%;
    min-width: 0;
    padding: 24px 16px 28px;
  }

  .dashboard-topbar {
    align-items: flex-start;
    gap: 14px;
  }

  .dashboard-topbar h1 {
    font-size: 26px;
    letter-spacing: -0.4px;
  }

  .dashboard-topbar p {
    display: block;
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .dashboard-topbar__actions {
    gap: 8px;
  }

  .dashboard-sync-badge {
    max-width: 46px;
    min-height: 36px;
    padding: 8px;
  }

  .dashboard-sync-badge span {
    display: none;
  }

  .dashboard-icon-button {
    width: 36px;
    height: 36px;
  }

  .dashboard-balance-row {
    gap: 18px;
  }

  .dashboard-balance-label {
    font-size: 14px;
  }

  .dashboard-amount-row {
    align-items: baseline;
    gap: 8px;
  }

  .dashboard-amount-row strong {
    font-size: 34px;
    letter-spacing: -0.8px;
  }

  .dashboard-amount-row span {
    font-size: 18px;
  }

  .dashboard-balance-block p {
    font-size: 14px;
  }

  .dashboard-balance-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .dashboard-action-button {
    height: 48px;
    min-width: 0;
    padding-inline: 12px;
    font-size: 14.5px;
  }

  .dashboard-action-button svg {
    width: 17px;
    height: 17px;
  }

  .dashboard-chart {
    height: 150px;
  }

  .dashboard-range-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .dashboard-range-tab {
    min-width: 48px;
    height: 34px;
    padding-inline: 13px;
    font-size: 13px;
  }

  .dashboard-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .dashboard-stat {
    gap: 7px;
    padding: 16px;
    border-radius: 12px;
  }

  .dashboard-stat span {
    font-size: 13.5px;
  }

  .dashboard-stat strong {
    font-size: 22px;
  }

  .dashboard-transactions {
    gap: 12px;
  }

  .dashboard-transactions h2 {
    font-size: 18px;
  }

  .dashboard-transaction-row {
    grid-template-columns: 44px minmax(0, 1fr) minmax(96px, auto);
    column-gap: 12px;
    row-gap: 4px;
    min-height: 72px;
    padding: 12px 14px;
  }

  .dashboard-transaction-icon {
    grid-column: 1;
    grid-row: span 2;
    width: 36px;
    height: 36px;
  }

  .dashboard-transaction-row strong {
    grid-column: 2;
    grid-row: 1;
    font-size: 14.5px;
  }

  .dashboard-transaction-row time {
    grid-column: 2 / 4;
    grid-row: 2;
    font-size: 13px;
  }

  .dashboard-transaction-amount {
    grid-column: 3;
    grid-row: 1;
    font-size: 14px;
    text-overflow: clip;
  }

  .dashboard-table-footer {
    min-height: 54px;
    font-size: 14.5px;
  }

  .dashboard-chart-empty {
    height: 150px;
    padding-inline: 18px;
    border-radius: 12px;
  }

  .dashboard-chart-empty > span {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .dashboard-chart-empty strong {
    font-size: 14.5px;
  }

  .dashboard-chart-empty p {
    font-size: 12.5px;
  }

  .dashboard-empty-transactions {
    gap: 12px;
    min-height: 0;
    padding: 22px 16px;
    border-radius: 12px;
  }

  .dashboard-empty-transactions__badge {
    width: 54px;
    height: 54px;
    border-radius: 16px;
  }

  .dashboard-empty-transactions__badge svg {
    width: 24px;
    height: 24px;
  }

  .dashboard-empty-transactions__copy strong {
    font-size: 18px;
  }

  .dashboard-empty-transactions__copy p {
    font-size: 13px;
  }

  .dashboard-empty-address-chip {
    width: 100%;
    justify-content: space-between;
    height: 46px;
    padding-inline: 14px;
  }

  .dashboard-empty-address-chip code {
    font-size: 12px;
  }

  .dashboard-empty-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .dashboard-empty-action {
    width: 100%;
    height: 48px;
    font-size: 14.5px;
  }

  .dashboard-main--send {
    gap: 16px;
    padding-top: 20px;
  }

  .send-body {
    gap: 14px;
  }

  .send-form {
    gap: 16px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .send-field {
    gap: 7px;
  }

  .send-field__label-row {
    gap: 12px;
  }

  .send-field__label-row label {
    font-size: 12.5px;
  }

  .send-field__label-row > span {
    overflow: hidden;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .send-desktop-hint {
    display: none;
  }

  .send-address-input {
    gap: 8px;
    height: 52px;
    padding-inline: 14px;
  }

  .send-address-input input {
    font-size: 14px;
  }

  .send-address-input button {
    width: 24px;
    height: 24px;
  }

  .send-address-input svg {
    width: 17px;
    height: 17px;
  }

  .send-validation-row {
    min-height: 18px;
    font-size: 12px;
  }

  .send-validation-row svg {
    width: 14px;
    height: 14px;
  }

  .send-recipient-chips {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .send-recipient-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex: 0 0 auto;
    height: 34px;
    padding-inline: 10px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--bg-card);
    color: var(--text-primary);
    cursor: pointer;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1;
  }

  .send-recipient-chip span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: var(--bg-subtle);
    color: var(--text-secondary);
    font-size: 10px;
    font-weight: 700;
  }

  .send-recipient-chip.is-selected {
    border-color: var(--accent);
    background: #fdf6ec;
  }

  .send-recipient-chip.is-selected span {
    background: #f6e4c9;
    color: var(--accent-dark);
  }

  .send-recipient-chip--icon {
    justify-content: center;
    width: 34px;
    padding: 0;
    color: var(--text-secondary);
  }

  .send-recipient-chip--icon svg {
    width: 16px;
    height: 16px;
  }

  .send-contact-picker {
    gap: 10px;
    padding: 12px;
  }

  .send-contact-picker__header strong {
    font-size: 14px;
  }

  .send-contact-search {
    height: 40px;
  }

  .send-contact-list {
    max-height: 190px;
  }

  .send-contact-option {
    min-height: 50px;
    padding: 8px;
  }

  .send-contact-option__avatar {
    width: 32px;
    height: 32px;
  }

  .send-contact-option__copy strong {
    font-size: 13.5px;
  }

  .send-contact-option__copy small,
  .send-contact-empty p,
  .send-contact-empty a {
    font-size: 12.5px;
  }

  .send-amount-input {
    gap: 10px;
    min-height: 72px;
    padding-inline: 14px;
  }

  .send-amount-input > span {
    gap: 2px 7px;
  }

  .send-amount-input input {
    width: 108px;
    font-size: 27px;
  }

  .send-amount-input strong {
    font-size: 15px;
  }

  .send-amount-input small {
    font-size: 12.5px;
  }

  .send-mini-button {
    height: 32px;
    border-radius: 8px;
  }

  .send-mini-button {
    padding-inline: 11px;
    font-size: 12px;
  }

  .send-note-field .send-field__label-row {
    display: none;
  }

  .send-note-input {
    gap: 9px;
    height: 44px;
    padding-inline: 14px;
    border-color: var(--border);
    border-radius: 11px;
  }

  .send-note-input svg {
    width: 15px;
    height: 15px;
  }

  .send-note-input input {
    font-size: 13.5px;
  }

  .send-save-recipient {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
  }

  .send-save-recipient__name {
    justify-content: flex-start;
  }

  .send-save-recipient__name input {
    width: 100%;
  }

  .send-review-panel {
    gap: 12px;
    padding: 13px;
  }

  .send-review-panel dl {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .send-review-panel dd {
    font-size: 13px;
  }

  .send-form-divider {
    display: none;
  }

  .send-total-row {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg-card);
  }

  .send-total-row > div:first-child span {
    font-size: 12.5px;
  }

  .send-total-row strong {
    font-size: 19px;
  }

  .send-form-actions {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    gap: 10px;
  }

  .send-cancel-button,
  .send-review-button {
    width: 100%;
    height: 48px;
    font-size: 14px;
  }

  .send-form-feedback {
    margin-top: -8px;
    font-size: 12.5px;
  }

  .send-aside {
    display: flex;
    gap: 14px;
  }

  .send-summary-card {
    gap: 12px;
    padding: 18px 16px;
    border: 1px solid var(--border);
    background: var(--bg-card);
  }

  .send-summary-card h2 {
    font-size: 15px;
  }

  .send-summary-list {
    gap: 11px;
  }

  .send-summary-list dt,
  .send-summary-list dd {
    font-size: 12.5px;
  }

  .send-summary-list__total dd {
    font-size: 15.5px;
  }

  .send-warning-card {
    padding: 16px 14px;
    border-radius: 12px;
  }

  .send-warning-card h2 {
    font-size: 13.5px;
  }

  .send-warning-card p {
    font-size: 12.5px;
  }

  .send-recipients-panel {
    display: none;
  }

  .dashboard-main--receive {
    gap: 16px;
    padding-top: 20px;
  }

  .receive-body {
    gap: 14px;
  }

  .receive-card {
    gap: 16px;
    padding: 18px 16px;
    border-radius: 14px;
  }

  .receive-qr {
    width: min(208px, 100%);
    border-radius: 13px;
  }

  .receive-head {
    gap: 5px;
  }

  .receive-head h2 {
    font-size: 19px;
  }

  .receive-head p {
    max-width: 260px;
    font-size: 13px;
  }

  .receive-address-box {
    gap: 10px;
    height: 58px;
    padding-inline: 14px;
  }

  .receive-address-box code {
    font-size: 13.5px;
  }

  .receive-copy-button {
    width: 40px;
    height: 38px;
    padding: 0;
  }

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

  .receive-aside {
    display: flex;
    gap: 14px;
  }

  .receive-notes-card {
    border-radius: 12px;
  }

  .receive-notes-card {
    gap: 14px;
    padding: 18px 16px;
  }

  .receive-notes-card h2 {
    font-size: 15px;
  }

  .receive-notes-card ul {
    gap: 14px;
  }

  .receive-notes-card strong {
    font-size: 13.5px;
  }

  .receive-notes-card small {
    font-size: 12.5px;
  }

  .dashboard-main--transactions {
    gap: 16px;
    padding-top: 20px;
  }

  .dashboard-main--transactions .dashboard-topbar__actions {
    align-items: center;
    gap: 8px;
  }

  .dashboard-export-button {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 10px;
  }

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

  .transactions-body {
    gap: 14px;
  }

  .transactions-filter-bar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .transactions-search {
    height: 46px;
    padding-inline: 14px;
  }

  .transactions-search input {
    font-size: 13.5px;
  }

  .transactions-type-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    height: 42px;
  }

  .transactions-type-tabs button {
    min-width: 0;
    padding-inline: 8px;
    font-size: 12.5px;
  }

  .transactions-filter-button {
    display: none;
  }

  .transactions-table {
    border-radius: 12px;
  }

  .transactions-table-head {
    display: none;
  }

  .transactions-row {
    grid-template-columns: 42px minmax(0, 1fr) auto;
    column-gap: 12px;
    row-gap: 4px;
    min-height: 74px;
    padding: 12px 14px;
  }

  .transactions-row > .transactions-cell,
  .transactions-row > .transactions-amount {
    height: auto;
    min-height: 0;
  }

  .transactions-cell--type {
    display: contents;
  }

  .transactions-type-badge {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 36px;
    height: 36px;
  }

  .transactions-type-badge svg {
    width: 17px;
    height: 17px;
  }

  .transactions-type-copy {
    grid-column: 2;
    grid-row: 1;
  }

  .transactions-type-copy strong {
    font-size: 14.5px;
  }

  .transactions-type-copy small {
    display: none;
  }

  .transactions-cell--address {
    display: none;
  }

  .transactions-cell--date {
    grid-column: 2 / 4;
    grid-row: 2;
    font-size: 12.5px;
  }

  .transactions-status {
    display: none;
  }

  .transactions-amount {
    grid-column: 3;
    grid-row: 1;
    min-width: 96px;
    font-size: 13.5px;
    text-align: right;
  }

  .transactions-row__toggle {
    width: 26px;
    height: 26px;
  }

  .transactions-detail {
    grid-column: 1 / 4;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 0;
    padding: 12px 0 4px 48px;
  }

  .transactions-detail dl {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .transactions-detail__actions {
    justify-content: flex-start;
  }

  .transactions-detail__copy {
    height: 32px;
  }

  .transactions-footer {
    min-height: 54px;
    padding-inline: 14px;
  }

  .transactions-footer > span {
    max-width: 180px;
    font-size: 12.5px;
  }

  .transactions-pagination button {
    width: 32px;
    height: 32px;
  }

  .dashboard-main--addresses {
    gap: 14px;
    padding-top: 20px;
  }

  .dashboard-main--addresses .dashboard-topbar__actions {
    gap: 8px;
  }

  .addresses-body {
    gap: 12px;
  }

  .addresses-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    height: 40px;
    padding: 4px;
    border-bottom: 0;
    border-radius: 11px;
    background: var(--bg-subtle);
  }

  .addresses-tabs button {
    justify-content: center;
    gap: 6px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 12.5px;
  }

  .addresses-tabs button.is-active {
    border-color: var(--border);
    background: var(--bg-card);
  }

  .addresses-tabs strong {
    display: none;
  }

  .addresses-contact-form {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
  }

  .addresses-contact-form input,
  .addresses-contact-form button {
    height: 40px;
  }

  .addresses-table {
    display: none;
  }

  .addresses-card-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .addresses-card {
    display: flex;
    flex-direction: column;
    gap: 9px;
    min-width: 0;
    padding: 13px 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg-card);
  }

  .addresses-card.is-default {
    border-color: var(--accent);
  }

  .addresses-card__top,
  .addresses-card__bottom,
  .addresses-card__meta,
  .addresses-card__actions {
    display: flex;
    align-items: center;
    min-width: 0;
  }

  .addresses-card__top {
    gap: 10px;
  }

  .addresses-card__top .addresses-label-copy {
    flex: 1 1 auto;
  }

  .addresses-card__top .addresses-label-copy strong {
    font-size: 14.5px;
  }

  .addresses-default-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    height: 22px;
    padding-inline: 9px;
    border: 1px solid var(--accent-light);
    border-radius: 999px;
    background: #fdf6ec;
    color: var(--accent-dark);
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1;
  }

  .addresses-card__bottom {
    justify-content: space-between;
    gap: 12px;
  }

  .addresses-card__meta {
    gap: 8px;
    flex: 1 1 auto;
    color: var(--text-muted);
  }

  .addresses-card__meta strong {
    flex: 0 0 auto;
    overflow: hidden;
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .addresses-card__meta small {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    color: var(--text-muted);
    font-size: 12.5px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .addresses-card__actions {
    gap: 6px;
    flex: 0 0 auto;
  }

  .addresses-card .addresses-action {
    width: 30px;
    height: 30px;
    border-radius: 8px;
  }

  .addresses-card .addresses-action svg {
    width: 14px;
    height: 14px;
  }

  .dashboard-main--settings {
    gap: 12px;
    padding-top: 20px;
  }

  .dashboard-main--settings .dashboard-topbar__actions {
    gap: 8px;
  }

  .settings-desktop-layout {
    display: none;
  }

  .settings-mobile-layout {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
  }

  .settings-mobile-wallet {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    min-height: 62px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg-card);
  }

  .settings-mobile-wallet .settings-wallet-avatar {
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }

  .settings-mobile-wallet .settings-wallet-avatar svg {
    width: 17px;
    height: 17px;
  }

  .settings-mobile-wallet > span:not(.settings-wallet-avatar) {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1 1 auto;
    min-width: 0;
  }

  .settings-mobile-wallet strong {
    font-size: 14.5px;
  }

  .settings-mobile-wallet code {
    font-size: 11px;
  }

  .settings-mobile-wallet > svg {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    color: var(--text-muted);
  }

  .settings-compact-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg-card);
  }

  .settings-compact-card header {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding-inline: 14px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-subtle);
  }

  .settings-compact-card header svg {
    width: 15px;
    height: 15px;
    color: var(--accent-dark);
  }

  .settings-compact-card h2 {
    margin: 0;
    color: var(--text-secondary);
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.3px;
  }

  .settings-compact-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 45px;
    padding-inline: 14px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-primary);
    cursor: pointer;
    text-align: left;
  }

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

  .settings-compact-row--static {
    cursor: default;
  }

  .settings-compact-row:disabled {
    cursor: default;
    opacity: 0.62;
  }

  .settings-compact-row span {
    min-width: 0;
    overflow: hidden;
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .settings-compact-row strong {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    flex: 0 0 auto;
    max-width: 132px;
    overflow: hidden;
    color: var(--text-secondary);
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .settings-compact-row strong svg {
    flex: 0 0 auto;
    width: 15px;
    height: 15px;
    color: var(--text-muted);
  }

  .settings-mobile-layout .settings-danger-card {
    gap: 9px;
    padding: 14px;
    border-radius: 12px;
  }

  .settings-mobile-layout .settings-danger-card h2 {
    font-size: 14.5px;
  }

  .settings-mobile-layout .settings-danger-card p {
    font-size: 12.5px;
  }

  .settings-mobile-layout .settings-danger-card button {
    height: 46px;
    font-size: 13.5px;
  }

  .settings-pin-panel {
    gap: 14px;
    padding: 14px;
    border-radius: 12px;
  }

  .settings-pin-panel header > span:first-child {
    width: 34px;
    height: 34px;
    border-radius: 11px;
  }

  .settings-pin-panel h2 {
    font-size: 14.5px;
  }

  .settings-pin-panel p {
    font-size: 12.5px;
  }

  .settings-pin-grid {
    grid-template-columns: minmax(0, 260px);
    gap: 10px;
  }

  .settings-pin-input,
  .settings-pin-boxes {
    height: 40px;
  }

  .settings-pin-dot {
    width: 9px;
    height: 9px;
  }

  .settings-pin-panel footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .settings-pin-panel footer .settings-secondary-button {
    width: 100%;
    padding-inline: 10px;
  }

  .settings-recovery-words {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .settings-recovery-words li {
    min-height: 36px;
    padding-inline: 9px;
  }

  .settings-feedback {
    min-height: 16px;
    font-size: 12px;
  }
}

@media (max-width: 374px) {
  .settings-recovery-words {
    grid-template-columns: 1fr;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .wallet-card,
  .wallet-card__art,
  .wallet-cta,
  .flow-cancel-button,
  .flow-back-button,
  .flow-continue-button,
  .help-panel__link svg,
  .phrase-action,
  .saved-checkbox__box,
  .word-chip,
  .confirm-slot__box,
  .wallet-name-field input,
  .pin-box,
  .wallet-option,
  .utility-button,
  .locked-language-button,
  .locked-unlock-button,
  .locked-erase-button,
  .locked-pin-box,
  .locked-confirm__checkbox > span,
  .locked-confirm__checkbox > span svg,
  .locked-confirm__actions button,
  .icon-button,
  .health-home-link,
  .health-refresh-button,
  .footer__socials a {
    transition: none;
  }

  .wallet-card:hover,
  .wallet-card:focus-within,
  .wallet-card:hover .wallet-card__art,
  .wallet-card:focus-within .wallet-card__art,
  .wallet-cta:hover,
  .flow-back-button:hover,
  .flow-continue-button:hover,
  .help-panel__link:hover svg,
  .utility-button:hover,
  .locked-unlock-button:hover,
  .icon-button:hover,
  .health-refresh-button:hover,
  .footer__socials a:hover,
  .dashboard-action-button:hover {
    transform: none;
  }

  .dashboard-nav__item,
  .dashboard-mobile-rail__item,
  .dashboard-action-button,
  .dashboard-range-tab,
  .dashboard-table-footer,
  .dashboard-export-button,
  .transactions-search,
  .transactions-type-tabs button,
  .transactions-filter-button,
  .transactions-pagination button {
    transition: none;
  }
}
