.m15-wallet,
.m15-market {
  padding: 20px;
  border: 1px solid #d7c9ae;
  border-radius: 20px;
  background: #fff9ef;
  color: #243d43;
  overflow-wrap: anywhere;
  margin-bottom: 20px;
}
.m15-wallet h1,
.m15-market h1 {
  font-size: 28px;
  margin: 10px 0;
}
.m15-wallet h2,
.m15-market h2 {
  font-size: 21px;
  line-height: 1.3;
}
.m15-wallet p,
.m15-market p {
  font-size: 14px;
  line-height: 1.6;
}
.m15-balances {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0;
}
.m15-balances article {
  background: #e8f1eb;
  padding: 16px;
  border-radius: 14px;
  min-width: 0;
}
.m15-balances small,
.m15-balances strong {
  display: block;
}
.m15-balances strong {
  font-size: 24px;
  margin-top: 8px;
}
.m15-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.m15-order-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0;
}
.m15-card {
  border: 1px solid #ddceb4;
  background: #fff;
  padding: 16px;
  min-width: 0;
  border-radius: 16px;
  margin: 12px 0;
}
.m15-card .h5-goods {
  width: 56px;
  height: 56px;
  display: block;
}
.m15-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 0;
  border-top: 1px solid #ded2bc;
}
.m15-row > div {
  min-width: 0;
  flex: 1;
}
.m15-row small {
  display: block;
  margin-top: 6px;
  font-size: 12px;
}
.m15-ledger {
  max-height: 340px;
  overflow: auto;
}
.m15-ledger p {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
}
.m15-wallet code,
dialog code {
  display: block;
  white-space: normal;
  overflow-wrap: anywhere;
  padding: 12px;
  background: #e8eee6;
  border-radius: 10px;
  font-size: 14px;
}
.m15-wallet details,
.m15-market details {
  padding: 12px;
  border-top: 1px solid #ddceb4;
}
.manual-iban-mode .h5-trade-next,
.manual-iban-mode .h5-commerce-harbor-links {
  display: none;
}
@media (max-width: 650px) {
  .m15-balances {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .m15-balances article {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px;
  }
  .m15-balances strong {
    font-size: 22px;
    margin: 0;
  }
  .m15-order-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .m15-card {
    padding: 12px;
  }
  .m15-card h2 {
    font-size: 17px;
  }
  .m15-card .btn {
    font-size: 12px;
    padding: 11px 7px;
  }
  .m15-wallet,
  .m15-market {
    padding: 16px;
  }
}
