:root {
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #17372e;
  background: #f6f7f2;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
  border: 0;
}
button:disabled {
  cursor: wait;
  opacity: 0.5;
}
[hidden] {
  display: none !important;
}
header {
  max-width: 1440px;
  margin: auto;
  padding: 26px 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #dbe1d6;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 31px;
  font-weight: 750;
  letter-spacing: -1.5px;
  text-decoration: none;
  color: inherit;
}
.brand-logo {
  display: block;
  position: relative;
  width: 110px;
  height: 94px;
  overflow: hidden;
  flex-shrink: 0;
}
.brand-logo img {
  position: absolute;
  width: 171px;
  max-width: none;
  height: 171px;
  left: -31px;
  top: -41px;
  mix-blend-mode: multiply;
}
.mark {
  display: inline-flex;
  background: #17372e;
  color: #c5ed7d;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  line-height: 1;
}
.mark span {
  font-size: 26px;
  margin-left: -4px;
}
.alpha {
  font-size: 9px;
  letter-spacing: 1.3px;
  border: 1px solid #aeb8a9;
  border-radius: 4px;
  padding: 5px;
  margin: 4px 0 0 4px;
}
.header-right {
  display: flex;
  gap: 20px;
  align-items: center;
}
.status {
  font-size: 12px;
  color: #657466;
}
.status:before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b89f53;
  margin-right: 8px;
}
.status.online:before {
  background: #669146;
}
main {
  max-width: 1440px;
  margin: auto;
  padding: 0 6%;
}
#welcome {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 9%;
  padding: 76px 0 64px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.7px;
  font-weight: 700;
}
h1 {
  font-size: clamp(44px, 5.2vw, 74px);
  line-height: 1.04;
  letter-spacing: -3.8px;
  font-weight: 500;
  margin: 26px 0;
}
p {
  font-size: 14px;
  line-height: 1.75;
  color: #68756b;
}
h2 {
  font-weight: 500;
  font-size: 27px;
  letter-spacing: -0.7px;
}
.intro > p {
  max-width: 365px;
}
.lattice {
  position: relative;
  width: 280px;
  margin: 38px 0 34px;
  transform: skewY(-7deg);
}
.lattice > div {
  display: flex;
  align-items: center;
  gap: 0;
  height: 36px;
}
.lattice > div:nth-child(2) {
  margin-left: 24px;
}
.lattice > div:nth-child(3) {
  margin-left: 48px;
}
.lattice i {
  width: 24px;
  height: 24px;
  background: #c7ed91;
  border: 1px solid #5b7854;
  border-radius: 5px;
  box-shadow: 3px 3px 0 #e0e8d5;
}
.lattice b {
  height: 1px;
  width: 57px;
  background: #819874;
}
.lattice span {
  display: block;
  margin-top: 20px;
  font-size: 8px;
  letter-spacing: 1.4px;
  color: #7c8b77;
  transform: skewY(7deg);
}
.intro-foot {
  display: flex;
  gap: 16px;
  font-size: 9px;
  color: #6f7e70;
  margin-top: 48px;
}
.auth-card {
  background: #fff;
  border: 1px solid #e0e5db;
  border-radius: 16px;
  padding: 34px;
  box-shadow: 0 12px 40px #233c2510;
  align-self: center;
}
.auth-card h2 {
  margin: 16px 0 5px;
  font-size: 33px;
}
.auth-card > p {
  margin: 0 0 24px;
}
.tabs {
  display: flex;
  border-bottom: 1px solid #dde3d8;
  margin-bottom: 26px;
}
.tabs button {
  width: 50%;
  background: none;
  padding: 13px;
  color: #7a857c;
  font-size: 13px;
}
.tabs button[aria-pressed="true"] {
  color: #163e2d;
  border-bottom: 2px solid #163e2d;
  font-weight: 600;
}
label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin: 0 0 18px;
}
input {
  display: block;
  width: 100%;
  padding: 14px;
  border: 1px solid #dbe0d7;
  border-radius: 7px;
  margin-top: 8px;
  background: #fbfcf9;
  color: #183b2c;
  font-size: 14px;
}
input:focus {
  outline: 2px solid #a8ce79;
  outline-offset: 2px;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid #72964f;
  outline-offset: 3px;
}
.primary {
  width: 100%;
  background: #183e2e;
  color: white;
  border-radius: 7px;
  padding: 15px;
  font-size: 13px;
  text-align: left;
  display: flex;
  justify-content: space-between;
}
.auth-card .privacy {
  font-size: 11px;
  line-height: 1.7;
  margin: 20px 0;
  color: #788375;
}
.auth-card .alpha-note {
  font-size: 10px;
  padding-top: 15px;
  border-top: 1px solid #e5e9e1;
  margin: 0;
}
.quiet {
  background: none;
  color: #355e45;
  font-size: 12px;
  padding: 8px 0;
}
.network-panel {
  border-top: 1px solid #dce2d5;
  padding: 36px 0;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
}
.network-panel h2 {
  font-size: 25px;
  margin: 13px 0 6px;
}
.network-panel p {
  font-size: 12px;
  margin: 0;
}
.network-panel > div:last-child {
  border-left: 1px solid #dce2d5;
  padding-left: 35px;
}
.network-panel strong {
  display: block;
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -2px;
}
.network-panel span {
  font-size: 11px;
}
.network-panel .small {
  font-size: 10px;
  margin-top: 8px;
  max-width: 240px;
}
footer {
  padding: 25px 6%;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #dce2d5;
  font-size: 10px;
  color: #7a8676;
  max-width: 1440px;
  margin: auto;
}
footer b {
  font-size: 8px;
  margin-left: 10px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#dashboard {
  padding: 45px 0;
}
.dashboard-title {
  font-size: 40px;
  letter-spacing: -1.7px;
  margin: 15px 0 28px;
}
.wallet-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 25px;
}
.balance-card {
  background: #183e2e;
  color: #f4f8ee;
  border-radius: 15px;
  padding: 34px;
}
.balance-card .eyebrow {
  color: #b4c6ae;
}
.balance {
  font-size: 45px;
  letter-spacing: -1.5px;
  margin-top: 30px;
  overflow-wrap: anywhere;
}
.balance small {
  font-size: 16px;
  letter-spacing: 0;
  color: #c4deae;
}
.balance-card p {
  color: #b9cbb2;
  font-size: 12px;
}
.balance-actions {
  display: flex;
  gap: 12px;
  margin: 25px 0;
}
.light,
.outline {
  padding: 13px 20px;
  border-radius: 6px;
  font-size: 12px;
}
.light {
  background: #c7ed91;
  color: #143b2c;
}
.outline {
  background: transparent;
  border: 1px solid #72866b;
  color: #fff;
}
.card-bottom {
  border-top: 1px solid #42604a;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
}
.card-bottom > span {
  color: #b4c6ae;
  font-size: 8px;
  letter-spacing: 1px;
}
.address-card {
  background: white;
  border: 1px solid #dfe5d8;
  border-radius: 15px;
  padding: 28px;
}
.address-card h2 {
  font-size: 25px;
  margin: 15px 0;
}
.address-card p {
  font-size: 12px;
}
.address-card code {
  display: block;
  font-size: 11px;
  line-height: 1.8;
  overflow-wrap: anywhere;
  background: #f4f6ef;
  border-radius: 5px;
  padding: 12px;
}
.address-card .primary {
  margin-top: 15px;
}
.activity {
  margin-top: 35px;
}
.activity h2 {
  font-size: 24px;
}
.empty {
  border-top: 1px solid #dce2d5;
  text-align: center;
  padding: 32px;
  color: #7c8a77;
  font-size: 12px;
}
.transaction {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid #dce2d5;
  font-size: 12px;
  align-items: center;
}
.transaction code {
  font-size: 10px;
  overflow-wrap: anywhere;
  color: #71816d;
}
.wallet-notes {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wallet-notes p {
  font-size: 11px;
}
#message {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: #17372e;
  color: white;
  padding: 16px 24px;
  border-radius: 8px;
  box-shadow: 0 5px 30px #0002;
  max-width: 90vw;
  font-size: 13px;
  z-index: 20;
}
dialog {
  border: 1px solid #dce2d5;
  border-radius: 15px;
  padding: 30px;
  width: 480px;
  max-width: 92vw;
  color: #17372e;
}
dialog::backdrop {
  background: #0b221c70;
  backdrop-filter: blur(3px);
}
.close {
  float: right;
  background: none;
  font-size: 24px;
  color: #617359;
}
.seed {
  display: block;
  overflow-wrap: anywhere;
  background: #f0f3e9;
  padding: 18px;
  border-radius: 6px;
  font-size: 12px;
  line-height: 1.8;
  margin: 20px 0;
}
.review {
  overflow-wrap: anywhere;
  font-size: 13px;
  background: #f4f6ef;
  padding: 15px;
  border-radius: 6px;
}
.review strong {
  display: block;
  font-size: 23px;
  margin-bottom: 10px;
}
.danger {
  color: #99642f;
}
dialog .primary {
  margin-top: 20px;
}
@media (max-width: 800px) {
  #welcome {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 0;
  }
  .intro h1 {
    font-size: 55px;
  }
  .lattice {
    display: none;
  }
  .intro-foot {
    margin-top: 22px;
  }
  .auth-card {
    padding: 26px;
  }
  .network-panel {
    gap: 20px;
    grid-template-columns: 1fr 1fr;
  }
  .network-panel > div:last-child {
    padding-left: 20px;
  }
  footer > span:nth-child(2) {
    display: none;
  }
  .wallet-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-title {
    font-size: 33px;
  }
  .balance {
    font-size: 37px;
  }
  .header-right {
    gap: 12px;
  }
  .status {
    font-size: 10px;
  }
  .wallet-notes {
    display: block;
  }
  .transaction {
    grid-template-columns: 60px 1fr;
    gap: 10px;
  }
  .transaction > strong {
    grid-column: 2;
  }
  .network-panel h2 {
    font-size: 20px;
  }
}
a {
  color: inherit;
}
.network-panel a {
  display: inline-block;
  margin-top: 12px;
  font-size: 11px;
  text-underline-offset: 4px;
}
/* Mobile wallet shell */
body {
  background: #f5f7f3;
}
[hidden] {
  display: none !important;
}
.signed-in main {
  max-width: 600px;
  padding: 24px 20px 60px;
}
.signed-in header {
  max-width: 600px;
  padding: 18px 20px;
}
.signed-in .brand-logo {
  width: 60px;
  height: 51px;
}
.signed-in .brand-logo img {
  width: 93px;
  height: 93px;
  left: -17px;
  top: -22px;
}
.signed-in .brand {
  gap: 3px;
}
.signed-in .alpha {
  display: none;
}
.signed-in .network-panel,
.signed-in footer {
  display: none;
}
.signed-in .header-right {
  gap: 12px;
}
.signed-in .status {
  font-size: 10px;
}
.dashboard-title {
  font-size: 26px;
  letter-spacing: -0.7px;
  margin: 6px 0 0;
  overflow-wrap: anywhere;
}
#dashboard .section-heading {
  margin-bottom: 22px;
}
#dashboard .balance-card {
  border-radius: 24px;
  padding: 28px;
  background:
    radial-gradient(ellipse at top right, #44664a, transparent 70%), #173b2b;
  box-shadow: 0 14px 32px #173b2b1c;
}
.card-top {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 2px;
  color: #c4dcbd;
}
.balance-label {
  margin-top: 30px;
  margin-bottom: 7px;
}
#dashboard .balance {
  margin-top: 0;
  font-size: 40px;
  line-height: 1.2;
  letter-spacing: -1.5px;
}
#dashboard .balance small {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  letter-spacing: 1px;
}
#dashboard #pending {
  min-height: 30px;
  font-size: 11px;
  line-height: 1.5;
  margin-top: 18px;
}
.card-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 26px;
  font-size: 9px;
  letter-spacing: 1.5px;
  color: #c9e5b6;
}
.wallet-actions {
  display: flex;
  justify-content: space-evenly;
  padding: 25px 0 30px;
}
.wallet-actions button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: none;
  font-size: 12px;
  color: #233a2c;
  min-width: 72px;
}
.wallet-actions button span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: #e2eadb;
  font-size: 26px;
}
.wallet-actions button:first-child span {
  background: #c6e994;
}
#dashboard .activity {
  margin-top: 0;
  padding: 22px;
  border-radius: 22px;
  background: white;
  border: 1px solid #e3e8de;
}
#dashboard h2 {
  font-size: 19px;
  margin: 0;
  letter-spacing: -0.5px;
}
#dashboard .transaction {
  display: grid;
  grid-template-columns: 38px minmax(60px, 1fr) minmax(80px, 1fr);
  gap: 10px;
  padding: 18px 0;
  align-items: center;
}
.tx-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #eef3e9;
  font-size: 20px;
}
.transaction small {
  display: block;
  margin-top: 5px;
  color: #71816d;
  font-size: 10px;
}
#dashboard .transaction > .tx-amount {
  grid-column: auto;
  text-align: right;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.wallet-address {
  margin-top: 25px;
  font-size: 12px;
  color: #66745e;
}
.wallet-address code {
  display: block;
  overflow-wrap: anywhere;
  margin-top: 12px;
}
.wallet-footnote {
  text-align: center;
  font-size: 11px;
  color: #71816d;
  margin-top: 30px;
}
#dashboard .empty {
  padding: 25px 0;
  line-height: 1.7;
}
dialog {
  width: min(440px, calc(100vw - 32px));
  max-height: 90dvh;
  box-sizing: border-box;
  border-radius: 24px;
  padding: 28px;
}
dialog h2 {
  font-size: 27px;
  margin: 12px 0 20px;
}
dialog code {
  overflow-wrap: anywhere;
}
.scan-options {
  display: flex;
  gap: 10px;
  margin: 18px 0;
}
.scan-options > * {
  flex: 1;
}
.secondary {
  padding: 14px;
  border: 1px solid #d4decd;
  border-radius: 10px;
  background: #f4f7ef;
  color: #233a2c;
  font-size: 12px;
}
dialog .primary {
  border-radius: 10px;
}
.scan-options .primary {
  margin-top: 0;
}
#receive-qr {
  display: block;
  max-width: 100%;
  height: auto !important;
  margin: 0 auto;
  border-radius: 12px;
}
#receive-address {
  display: block;
  font-size: 11px;
  line-height: 1.7;
  padding: 12px;
  background: #f4f7ef;
  border-radius: 8px;
}
#scanner {
  width: 100%;
  min-height: 180px;
  max-height: 340px;
  object-fit: cover;
  border-radius: 12px;
  background: #142b26;
}
.text-link {
  display: block;
  margin: 15px 0;
  font-size: 13px;
  text-align: center;
}
#write-nfc {
  width: 100%;
}
.small {
  font-size: 12px;
  line-height: 1.6;
}
#message {
  z-index: 1000;
}
#modal[open] ~ #message {
  z-index: 1000;
}
@media (max-width: 480px) {
  .signed-in .status:before {
    margin-right: 4px;
  }
  #dashboard .balance-card {
    padding: 24px;
  }
  #dashboard .balance {
    font-size: 36px;
  }
  dialog {
    padding: 23px;
  }
}
/* Readable wallet typography and address book */
body {
  font-size: 16px;
  line-height: 1.55;
  color: #20382b;
}
p,
label,
input,
button {
  font-size: 16px;
}
input {
  min-height: 48px;
}
.primary,
.secondary,
.quiet {
  font-size: 16px;
}
.small,
.privacy,
.alpha-note,
.wallet-footnote {
  font-size: 14px;
  line-height: 1.65;
  color: #4c5e45;
}
.eyebrow {
  font-size: 12px;
}
.signed-in .status {
  font-size: 12px;
}
#dashboard .balance-card .balance-label {
  font-size: 17px;
}
#dashboard #pending {
  font-size: 14px;
  color: #d6e4ce;
  min-height: 44px;
}
#dashboard .balance {
  font-size: 46px;
}
#dashboard .balance small {
  font-size: 17px;
}
.card-top,
.card-bottom {
  font-size: 11px;
}
.wallet-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 8px;
}
.wallet-actions button {
  font-size: 15px;
  line-height: 1.3;
  min-width: 0;
}
.wallet-actions button span {
  width: 56px;
  height: 56px;
}
#dashboard .transaction {
  grid-template-columns: 38px minmax(0, 1fr);
}
.transaction strong {
  font-size: 16px;
}
.transaction small {
  font-size: 14px;
  overflow-wrap: anywhere;
}
#dashboard .transaction > .tx-amount {
  grid-column: 2;
  text-align: left;
  font-size: 16px;
}
#dashboard .empty {
  font-size: 16px;
}
.wallet-address {
  font-size: 15px;
}
#payees-page h1 {
  font-size: 34px;
  margin: 5px 0;
}
#payees-page .section-heading {
  margin-top: 24px;
  align-items: center;
  gap: 15px;
}
#payees-page .section-heading .primary {
  width: auto;
  padding: 12px 18px;
  margin: 0;
}
.payee-row {
  border: 1px solid #dce5d6;
  border-radius: 20px;
  background: white;
  padding: 20px;
  margin: 18px 0;
}
.payee-row h2 {
  font-size: 22px;
  margin: 0;
  overflow-wrap: anywhere;
}
.payee-row p {
  margin: 5px 0 12px;
}
.payee-row code {
  display: block;
  overflow-wrap: anywhere;
  font-size: 14px;
  line-height: 1.7;
}
.payee-row .scan-options {
  margin-bottom: 0;
}
#choose-payee {
  width: 100%;
  margin-bottom: 18px;
}
#review-name {
  display: block;
  font-size: 18px;
  font-weight: 600;
  margin: 12px 0;
}
#review-address {
  display: block;
  font-size: 14px;
}
#receive-address,
.seed {
  font-size: 14px;
}
#backup-password {
  font-size: 18px;
}
#older-payees {
  width: 100%;
  margin-top: 16px;
}
