/* web/styles.css */
:root {
  color-scheme: light;
  --bg:#f6f7f2;
  --paper:#fff;
  --ink:#193d35;
  --muted:#727d72;
  --line:#e1e6dc;
  --green:#163e36;
  --lime:#e6efcc;
  --error:#ad4237;
  font-family:
    Arial,
    "Helvetica Neue",
    sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #8aad61;
  outline-offset: 4px;
}
input:focus-visible {
  outline: 2px solid #638564;
  outline-offset: 3px;
}
button[hidden],
[hidden] {
  display: none !important;
}
p,
h1,
h2 {
  margin: 0;
}
a {
  color: inherit;
}
.shell {
  max-width: 1016px;
  margin: auto;
  padding: 36px 40px 20px;
}
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 18px;
  letter-spacing: -.5px;
  font-weight: 700;
}
.brand-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: var(--green);
  border-radius: 15px;
}
.brand-icon svg {
  width: 27px;
  fill: none;
  stroke: #e9f0d3;
  stroke-width: 1.4;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.brand-subtitle {
  display: block;
  font-size: 8px;
  letter-spacing: 1.5px;
  color: var(--muted);
  margin-top: 6px;
}
.network-pill {
  border: 1px solid var(--line);
  padding: 9px 14px;
  border-radius: 99px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
}
.network-pill span {
  width: 6px;
  height: 6px;
  background: #819979;
  border-radius: 50%;
}
.preparation {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  background: #eef1e6;
  border: 1px solid #e0e6d7;
  border-radius: 14px;
  font-size: 12px;
  line-height: 1.5;
}
.preparation strong {
  font-weight: 600;
  font-size: 13px;
}
.preparation p {
  margin-top: 3px;
  color: #66715f;
}
.status-dot {
  width: 7px;
  height: 7px;
  min-width: 7px;
  border-radius: 50%;
  background: #a3ad78;
  margin-top: 6px;
}
.intro {
  padding: 48px 0 34px;
  max-width: 670px;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 1.9px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 18px;
}
h1 {
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-size: 48px;
  line-height: 1.13;
  letter-spacing: -1.8px;
  font-weight: 400;
}
h1 span {
  color: #73846a;
}
.intro-copy {
  max-width: 480px;
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}
.wallet-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 19px 0 12px;
}
.wallet-description {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.small-icon {
  width: 37px;
  height: 37px;
  min-width: 37px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.small-icon svg {
  width: 19px;
  stroke: var(--ink);
  fill: none;
  stroke-width: 1.3;
  stroke-linejoin: round;
}
h2 {
  font-size: 17px;
  line-height: 1.4;
  letter-spacing: -.4px;
  font-weight: 600;
}
.wallet-description h2 {
  font-size: 12px;
  letter-spacing: 0;
}
.wallet-description p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.55;
  margin-top: 3px;
  overflow-wrap: anywhere;
}
.connection-note {
  margin-bottom: 25px;
  max-width: 640px;
}
.helper {
  font-size: 11px;
  line-height: 1.65;
  color: var(--muted);
}
.button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 18px;
  border-radius: 12px;
  border: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  min-height: 47px;
  transition: background .15s, color .15s;
}
.button-small {
  font-size: 11px;
  white-space: nowrap;
  padding: 11px 16px;
  min-height: 39px;
}
.button-primary {
  color: white;
  background: var(--green);
}
.button-primary:disabled {
  color: #e2e8df;
  background: #60746a;
}
.button-primary:not(:disabled):hover {
  background: #285447;
}
.button-outline {
  border: 1px solid #cfd9ca;
  color: var(--green);
  background: transparent;
}
.button-outline:disabled {
  color: #8a9585;
  border-color: #dce2d6;
  background: #f8faf4;
}
.button-wide {
  width: 100%;
}
.balance-card {
  padding: 28px 30px 21px;
  background: var(--paper);
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: 0 4px 12px #29452e03;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.muted-badge {
  font-size: 10px;
  color: #7b856f;
  border: 1px solid #e4e8dc;
  border-radius: 99px;
  padding: 5px 9px;
  white-space: nowrap;
}
.assets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 30px 0 18px;
  gap: 26px;
}
.asset-block + .asset-block {
  border-left: 1px solid var(--line);
  padding-left: 26px;
}
.asset-name {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .6px;
}
.coin {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 400;
}
.coin-gram {
  background: #edf2e7;
  color: #5e7655;
}
.coin-usdt {
  background: #e7f3ef;
  color: #428976;
}
.asset-total {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 43px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -1px;
  margin-top: 6px;
}
.asset-total > span {
  font-size: 11px;
  color: #8c9587;
  letter-spacing: .4px;
}
.asset-breakdown {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  font-size: 11px;
  color: var(--muted);
}
.asset-breakdown > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.asset-breakdown strong {
  font-size: 16px;
  color: #45604a;
  font-weight: 400;
}
.balance-note {
  border-top: 1px solid #edf0e8;
  padding-top: 15px;
  font-size: 10px;
  line-height: 1.65;
  color: #8a9385;
  margin-bottom: 18px;
}
.balance-card .button {
  justify-content: space-between;
  padding-left: 20px;
  padding-right: 20px;
}
.balance-card .button span:last-child {
  font-size: 19px;
  line-height: 1;
}
.centered {
  text-align: center;
  margin-top: 10px;
}
.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}
.card {
  padding: 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
}
.step-label {
  font-family: Georgia, serif;
  color: #adb6a3;
  font-size: 20px;
}
.tabs {
  margin-top: 24px;
  display: flex;
  padding: 4px;
  background: #f0f3ec;
  border-radius: 11px;
  gap: 3px;
}
.tab {
  flex: 1;
  background: transparent;
  border: 0;
  padding: 10px;
  border-radius: 8px;
  color: #7b8574;
  font-size: 12px;
  min-height: 38px;
}
.tab.is-active {
  background: white;
  box-shadow: 0 2px 5px #29452e0b;
  color: var(--ink);
  font-weight: 600;
}
form label {
  font-size: 11px;
  color: var(--muted);
  display: block;
  line-height: 1.5;
  margin-bottom: 8px;
}
#deposit-form {
  margin-top: 23px;
}
.amount-field {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  padding: 12px 14px;
  border-radius: 12px;
  gap: 12px;
  background: #fcfdf9;
}
.amount-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 28px;
  padding: 0;
  line-height: 1.3;
}
.amount-field input::placeholder {
  color: #c4cbbe;
}
.amount-field span {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .5px;
}
#amount-help {
  margin-top: 12px;
  min-height: 55px;
}
.field-error {
  color: var(--error);
  font-size: 10px;
  line-height: 1.6;
  margin-top: 5px;
  min-height: 17px;
}
.deposit-card .button {
  margin-top: 6px;
}
.inline-note {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 20px;
  font-size: 11px;
  line-height: 1.65;
  color: var(--muted);
}
.inline-note > span {
  font-size: 22px;
  line-height: 1.2;
  color: #9aab86;
}
.draft-badge {
  display: inline-block;
  color: #8b947f;
  font-size: 10px;
  margin-top: 12px;
}
.rules-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  margin-top: 20px;
}
.rules-fields label {
  font-size: 10px;
}
.compact-field {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fcfdf9;
  border: 1px solid var(--line);
  padding: 12px;
  border-radius: 11px;
}
.compact-field input {
  min-width: 0;
  width: 100%;
  background: transparent;
  border: 0;
  color: var(--ink);
  font-size: 20px;
  appearance: textfield;
  -moz-appearance: textfield;
}
.compact-field input::-webkit-inner-spin-button,
.compact-field input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.compact-field span {
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
}
.rule-summary {
  background: #f0f4e7;
  border-radius: 12px;
  padding: 17px 16px;
  margin: 5px 0 15px;
}
.summary-label {
  font-size: 8px;
  letter-spacing: 1.1px;
  color: #859273;
}
.rule-summary p {
  font-size: 12px;
  line-height: 1.75;
  margin-top: 10px;
  min-height: 43px;
}
.timeline {
  display: flex;
  align-items: center;
  margin-top: 18px;
}
.timeline span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #94a57a;
  min-width: 7px;
}
.timeline span:first-child {
  width: 9px;
  height: 9px;
  background: var(--green);
  min-width: 9px;
}
.timeline i {
  height: 1px;
  flex: 1;
  background: #ced8bc;
}
.timeline .timeline-last {
  background: #edf2e3;
  border: 1px solid #98aa7c;
}
.timeline-labels {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #869474;
  font-size: 8px;
  margin-top: 8px;
}
.rules-footnote {
  margin-top: 13px;
}
.how-card {
  padding: 29px 7px 24px;
}
.how-card h2 {
  font-size: 15px;
}
.how-items {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  margin-top: 22px;
}
.how-items > div {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.how-number {
  font-family: Georgia, serif;
  color: #8c9d7e;
  border: 1px solid #dfe6d6;
  border-radius: 50%;
  min-width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  font-size: 12px;
}
.how-items strong {
  display: block;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 600;
}
.how-items p span {
  display: block;
  font-size: 10px;
  line-height: 1.65;
  color: var(--muted);
  margin-top: 6px;
}
.how-note {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 22px;
  max-width: 720px;
}
.technical-card {
  border: 1px solid var(--line);
  border-radius: 13px;
  font-size: 12px;
  background: #f9faf6;
}
.technical-card summary {
  padding: 16px 18px;
  cursor: pointer;
  color: #748269;
  list-style-position: inside;
}
.technical-content {
  padding: 0 18px 18px;
}
.technical-content p {
  margin-top: 14px;
  line-height: 1.6;
}
.technical-content p > span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-bottom: 4px;
}
.technical-content code {
  font-size: 11px;
  overflow-wrap: anywhere;
}
.technical-content strong {
  font-size: 11px;
  font-weight: 400;
}
.network-check {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0;
}
.text-button {
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 7px 0;
  min-height: 32px;
  background: none;
  border: 0;
  color: var(--ink);
}
.network-check span {
  font-size: 10px;
  color: var(--muted);
}
footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 34px 0 12px;
  font-size: 11px;
  color: #849178;
}
footer p > span {
  display: block;
  font-size: 9px;
  line-height: 1.7;
  color: #a1aa98;
  margin-top: 4px;
}
.footer-mark {
  font-size: 23px;
  color: #9daa8c;
}
.status-error {
  color: var(--error) !important;
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (min-width: 1100px) {
  .intro {
    padding-top: 53px;
  }
  .work-grid {
    gap: 20px;
  }
  .card {
    padding: 29px;
  }
  .rule-summary p {
    min-height: 43px;
  }
  .connection-note {
    max-width: 620px;
  }
}
@media (max-width: 700px) {
  .shell {
    padding: 22px 20px 16px;
  }
  .header {
    margin-bottom: 24px;
  }
  .brand {
    font-size: 16px;
  }
  .brand-icon {
    width: 41px;
    height: 41px;
    border-radius: 13px;
  }
  .brand-subtitle {
    font-size: 7px;
    letter-spacing: 1.3px;
  }
  .network-pill {
    font-size: 10px;
    padding: 8px 11px;
  }
  .preparation {
    font-size: 11px;
    padding: 14px 15px;
    gap: 10px;
  }
  .preparation strong {
    font-size: 12px;
  }
  .intro {
    padding: 33px 0 23px;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1.2px;
    margin-bottom: 15px;
  }
  h1 {
    font-size: 39px;
    letter-spacing: -1.6px;
  }
  .intro-copy {
    font-size: 12px;
    line-height: 1.8;
    margin-top: 16px;
  }
  .wallet-strip {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 13px;
    padding: 12px 0;
  }
  .wallet-description {
    flex: 1 1 200px;
  }
  .wallet-description p {
    font-size: 10px;
  }
  .wallet-strip > .button,
  #wallet-connect {
    margin-left: 49px;
  }
  #wallet-connect:empty {
    display: none;
  }
  .wallet-strip > .button {
    font-size: 10px;
    min-height: 36px;
    padding: 9px 12px;
  }
  .connection-note {
    font-size: 10px;
    margin-bottom: 20px;
  }
  .balance-card {
    padding: 23px 21px 18px;
    border-radius: 19px;
  }
  .section-heading h2 {
    font-size: 16px;
  }
  .muted-badge {
    font-size: 8px;
    padding: 5px 7px;
  }
  .assets {
    gap: 17px;
    margin-top: 27px;
  }
  .asset-block + .asset-block {
    padding-left: 17px;
  }
  .asset-total {
    font-size: 38px;
    gap: 7px;
  }
  .asset-total > span {
    font-size: 9px;
  }
  .asset-breakdown {
    grid-template-columns: 1fr;
    gap: 12px;
    font-size: 9px;
  }
  .asset-breakdown > div {
    gap: 5px;
  }
  .asset-breakdown strong {
    font-size: 15px;
  }
  .asset-name {
    font-size: 10px;
    gap: 7px;
  }
  .coin {
    width: 23px;
    height: 23px;
    font-size: 13px;
  }
  .balance-note {
    font-size: 9px;
  }
  .button {
    font-size: 12px;
  }
  .centered {
    font-size: 10px;
  }
  .work-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 16px;
  }
  .card {
    padding: 23px 21px;
    border-radius: 18px;
  }
  .tabs {
    margin-top: 21px;
  }
  .rules-fields label {
    font-size: 11px;
  }
  .rule-summary p {
    min-height: 0;
    font-size: 13px;
  }
  .rule-summary {
    padding: 18px;
  }
  .timeline {
    margin-top: 23px;
  }
  .timeline-labels {
    font-size: 9px;
  }
  .how-card {
    padding: 30px 4px 24px;
  }
  .how-items {
    grid-template-columns: 1fr;
    gap: 19px;
    margin-top: 23px;
  }
  .how-items strong {
    font-size: 12px;
  }
  .how-items p span {
    font-size: 11px;
    margin-top: 4px;
  }
  .how-number {
    width: 28px;
    height: 28px;
    min-width: 28px;
  }
  .how-items > div {
    gap: 13px;
  }
  .how-note {
    font-size: 10px;
  }
  .technical-card summary {
    font-size: 11px;
  }
  .helper {
    font-size: 10px;
  }
  .technical-content code {
    font-size: 10px;
  }
  .technical-content .button {
    font-size: 11px;
  }
  footer {
    padding-top: 27px;
    font-size: 10px;
  }
  footer p > span {
    font-size: 8px;
  }
}
@media (max-width: 360px) {
  .shell {
    padding-left: 15px;
    padding-right: 15px;
  }
  h1 {
    font-size: 34px;
  }
  .preparation {
    padding: 12px;
  }
  .balance-card,
  .card {
    padding-left: 17px;
    padding-right: 17px;
  }
  .rules-fields {
    gap: 9px;
  }
  .rules-fields label {
    font-size: 10px;
  }
  .muted-badge {
    font-size: 7px;
  }
  .brand-subtitle {
    letter-spacing: .8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
@media (max-width: 700px) {
  .intro h1 {
    font-size: 32px;
    letter-spacing: -1.3px;
  }
}
@media (max-width: 360px) {
  .intro h1 {
    font-size: 29px;
    letter-spacing: -1.2px;
  }
}
.asset-total b {
  font: inherit;
  min-width: 0;
  overflow-wrap: anywhere;
}
.operation-card {
  padding: 15px 4px 0;
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
}
.operation-card > a {
  display: block;
  font-size: 11px;
  color: var(--green);
  margin-top: 8px;
}
dialog {
  width: min(460px, calc(100% - 30px));
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--ink);
  background: var(--paper);
  max-height: 90dvh;
}
dialog::backdrop {
  background: #14271dc4;
}
.review-content {
  padding: 25px;
}
.review-content h2 {
  font-size: 23px;
}
.review-content > p:not(.eyebrow) {
  margin-top: 18px;
  line-height: 1.7;
  font-size: 12px;
}
.review-content dl {
  font-size: 11px;
  line-height: 1.6;
  margin: 20px 0;
}
.review-content dt {
  color: var(--muted);
  margin-top: 12px;
}
.review-content dd {
  margin: 5px 0 0;
  overflow-wrap: anywhere;
}
.review-content .button {
  margin-top: 12px;
}
.operation-card .text-button + .text-button {
  margin-left: 16px;
}
#deployment-card {
  margin: 0 0 20px;
}
#deployment-card > p {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.65;
}
#deployment-card > .button {
  margin-top: 20px;
}
/*# sourceMappingURL=app.css.map */
