:root {
  font-family: Inter, "Microsoft YaHei", sans-serif;
  color: #193b30;
  background: #f4f7f3;
  font-size: 16px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  border: 0;
  border-radius: 12px;
  padding: 14px 20px;
  color: #fff;
  background: #17634c;
  font-weight: 600;
  font-size: 14px;
}
button:hover {
  filter: brightness(0.94);
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
button.secondary {
  background: #e7f0e6;
  color: #225e46;
}
button.link {
  background: transparent;
  color: #356d54;
  padding: 6px 0;
}
a {
  color: #23654c;
  text-decoration: none;
}
input {
  border: 1px solid #d4dfd3;
  background: white;
  color: #183b2c;
  border-radius: 10px;
  padding: 14px;
  width: 100%;
  font-size: 16px;
}
input:focus {
  outline: 2px solid #99c2a5;
  outline-offset: 2px;
}
label {
  display: block;
  font-size: 14px;
  color: #617964;
  margin: 16px 0 8px;
}
h1 {
  font-size: 34px;
  margin: 0 0 12px;
  letter-spacing: -1px;
}
h2 {
  font-size: 20px;
  margin: 0 0 16px;
}
h3 {
  font-size: 17px;
  margin: 0;
}
p {
  color: #6f8272;
  font-size: 14px;
  line-height: 1.8;
  margin: 8px 0;
}
.brand {
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand span {
  height: 36px;
  width: 36px;
  border: 1px solid;
  border-radius: 12px;
  display: grid;
  place-items: center;
}
.auth {
  min-height: calc(100vh - 88px);
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.auth aside {
  background: #112d25;
  color: #e2f2df;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 50px 7vw;
}
.auth aside h1 {
  font-size: 46px;
  line-height: 1.35;
}
.auth aside p {
  color: #a6bfac;
}
.auth main {
  display: grid;
  place-items: center;
  padding: 40px;
}
.auth form {
  max-width: 400px;
  width: 100%;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 3px;
  color: #759677;
  margin-bottom: 18px;
}
.auth .primary {
  width: 100%;
  margin-top: 24px;
}
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.row input {
  min-width: 0;
}
.accept {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 13px;
}
.accept input {
  width: auto;
}
.notice {
  padding: 15px 18px;
  background: #e7f1e3;
  border: 1px solid #d4e5cf;
  border-radius: 12px;
  color: #516e46;
  font-size: 13px;
  line-height: 1.8;
  margin: 16px 0;
}
.error {
  background: #fff0ec;
  color: #a94d3c;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  margin: 16px 0;
}
.auth-tabs {
  display: flex;
  gap: 24px;
  margin: 24px 0;
}
.auth-tabs button {
  background: none;
  color: #7b8b7b;
  padding: 8px 0;
  border-radius: 0;
}
.auth-tabs .active {
  border-bottom: 2px solid #1b6048;
  color: #1b6048;
}
header {
  background: #fff;
  border-bottom: 1px solid #e0e7dc;
  padding: 22px max(24px, calc((100vw - 1120px) / 2));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
nav button {
  background: none;
  color: #6a806e;
  padding: 10px 16px;
}
nav .active {
  background: #e6f0e2;
  color: #1e5c45;
}
.wrap {
  max-width: 1120px;
  margin: 36px auto;
  padding: 0 24px 50px;
}
.pagehead {
  margin-bottom: 28px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.two {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
}
.card {
  padding: 28px;
  background: white;
  border: 1px solid #dfe7d9;
  border-radius: 18px;
  min-width: 0;
}
.dark {
  background: #153e2c;
  color: #e8f5dc;
}
.dark p {
  color: #bdd1b8;
}
.big {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -1px;
  margin: 24px 0;
}
.card ul {
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: #71816b;
  line-height: 2.3;
}
.card li:before {
  content: "✓";
  color: #428251;
  padding-right: 10px;
}
.card button {
  width: 100%;
  margin-top: 18px;
}
.badge {
  background: #e9f3e4;
  color: #4f7444;
  border-radius: 99px;
  padding: 6px 12px;
  font-size: 12px;
}
.download {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.download button {
  width: auto;
}
.ledger {
  overflow: auto;
  margin-top: 24px;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}
td,
th {
  padding: 14px;
  border-bottom: 1px solid #e7ece1;
  white-space: nowrap;
}
th {
  font-size: 12px;
  color: #6e836c;
  background: #f5f8f1;
}
.empty {
  padding: 40px;
  text-align: center;
  color: #81907b;
}
footer {
  font-size: 12px;
  color: #83917b;
  margin-top: 26px;
}
.balance {
  font-size: 42px;
  font-weight: 700;
  margin: 16px 0;
}
.share {
  overflow-wrap: anywhere;
  font-size: 14px;
  background: #f2f6ee;
  padding: 14px;
  border-radius: 10px;
}
.formcard {
  max-width: 560px;
}
.status {
  border-left: 4px solid #8ebd83;
  padding: 16px;
  background: #f0f6eb;
  margin: 20px 0;
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  padding: 14px 24px;
  background: #153d2d;
  color: white;
  border-radius: 12px;
  display: none;
  z-index: 10;
}
@media (max-width: 800px) {
  .auth {
    grid-template-columns: 1fr;
  }
  .auth aside {
    padding: 28px;
  }
  .auth aside h1 {
    font-size: 30px;
    margin-top: 24px;
  }
  .auth aside footer {
    display: none;
  }
  .auth main {
    padding: 28px 24px;
  }
  .grid,
  .two {
    grid-template-columns: 1fr;
  }
  .wrap {
    margin-top: 24px;
  }
  header {
    padding: 20px 24px;
    flex-wrap: wrap;
  }
  nav {
    width: 100%;
    gap: 0;
    justify-content: space-between;
  }
  nav button {
    padding: 10px;
    font-size: 13px;
  }
  .big {
    margin: 18px 0;
  }
  .card {
    padding: 22px;
  }
  h1 {
    font-size: 28px;
  }
}

select {font:inherit;width:100%;padding:14px;border:1px solid #d4dfd3;border-radius:10px;background:white;color:#183b2c;}
[hidden] {display:none !important;}
.invite-rules {padding-left:22px;color:#617964;font-size:14px;line-height:1.9;}
.invite-rules li {margin:12px 0;}
.invite-rules strong {color:#193b30;}
#wd-error {color:#a94d3c;margin-top:16px;}
.scan-download {display:flex;align-items:center;gap:32px;margin-top:24px;}
.scan-download img {display:block;flex:none;width:192px;height:192px;background:white;}
.scan-download a {display:inline-block;margin-top:12px;font-size:14px;font-weight:600;}
.scan-landing {max-width:560px;padding-top:24px;}
.scan-landing .brand {margin-bottom:32px;}
.scan-landing h1 {font-size:26px;letter-spacing:0;}
.scan-button {display:block;margin:24px 0;padding:16px;text-align:center;border-radius:12px;color:white;background:#17634c;font-weight:600;}
.scan-back {display:inline-block;margin-top:24px;font-size:14px;}
@media(max-width:600px){.scan-download{flex-direction:column;text-align:center;gap:20px;}.scan-landing{padding-top:8px;}}

.selected-plan{outline:2px solid #12664f}.payment-options{margin-top:24px}.payment-options [role=radiogroup]{display:flex;gap:12px;flex-wrap:wrap}.payment-options button[aria-checked=true]{background:#e4f5ec;border:1px solid #12664f;color:#12664f}del{color:#82918b;margin-right:10px}

.pay-link{display:block;text-align:center;padding:16px;background:#12664f;color:white;border-radius:12px;text-decoration:none;margin-bottom:12px}

.checkout-card{text-align:center;margin:0 auto}
.checkout-order{overflow-wrap:anywhere;font-size:13px}
.payment-qr{display:flex;flex-direction:column;align-items:center;margin:20px auto;gap:10px}
.payment-qr img{width:min(280px,100%);height:auto;background:#fff;border:1px solid #e2ece6;border-radius:12px}
.payment-qr strong{font-size:18px}
.payment-qr p{margin:0;font-size:13px}
.checkout-card .secondary{margin:6px 4px}
