/* src/style.css */
:root {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    sans-serif;
  color: #493326;
  background: #faf4e9;
  font-synthesis: none;
  --ink:#493326;
  --muted:#77604d;
  --crust:#885432;
  --cream:#fffaf2;
  --line:#e4d3bd;
  --toast:#f0dfc7;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(
      ellipse at 50% 5%,
      #f2dfc3 0,
      transparent 55%),
    #faf4e9;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5%;
  border-bottom: 1px solid var(--line);
  background: #fffaf2e8;
}
.brand {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--ink);
  text-decoration: none;
}
.header-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}
.badge {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 1px;
  padding: 8px 12px;
  border-radius: 24px;
  background: #eee0c9;
  color: #644b35;
}
main {
  max-width: 1040px;
  margin: auto;
  padding: 28px 24px;
}
button {
  cursor: pointer;
  border: 0;
  border-radius: 12px;
  padding: 12px 18px;
  background: var(--crust);
  color: #fffaf2;
  font: 650 13px system-ui;
  transition: background .15s;
}
button:hover {
  background: #6d4126;
}
button:disabled {
  opacity: .55;
  cursor: not-allowed;
}
.tabs {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 0 auto 26px;
}
.tabs button {
  background: transparent;
  color: #74543d;
  border-radius: 24px;
}
.tabs button[aria-pressed=true] {
  background: #e8ceb0;
  color: #493326;
}
.trade-card,
.panel {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
}
.trade-card {
  max-width: 490px;
  margin: auto;
  box-shadow: 0 12px 40px #805b2710;
}
.panel {
  margin-bottom: 24px;
}
h1 {
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -.6px;
  margin: 0;
}
h2 {
  font-size: 16px;
  margin: 0 0 16px;
}
h3 {
  font-size: 14px;
}
p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.subtitle {
  margin: 10px 0 16px;
}
.section-head,
.actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.subtle {
  background: #efdfca;
  color: #63472f;
  font-size: 12px;
}
.subtle:hover {
  background: #e5ccb0;
}
.token-box {
  background: #f5ead8;
  border: 1px solid #e8d6bc;
  border-radius: 17px;
  padding: 16px;
}
.token-box label {
  margin: 0 0 12px;
  color: #7a6047;
  font-weight: 500;
}
.amount-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.amount-row input,
.amount-row output {
  min-width: 0;
  width: 55%;
  border: 0;
  background: transparent;
  font-size: 28px;
  padding: 5px 0;
  margin: 0;
  overflow-wrap: anywhere;
}
.amount-row select {
  width: 45%;
  margin: 0;
  font-size: 13px;
  padding: 10px;
  background: #e8d2b6;
  border: 0;
  border-radius: 24px;
}
.reverse {
  display: block;
  position: relative;
  margin: -3px auto;
  padding: 7px 15px;
  border: 4px solid var(--cream);
  background: #dfc19d;
  color: #533821;
  font-size: 19px;
  border-radius: 14px;
}
.balance {
  font-size: 11px;
  margin: 7px 4px;
}
.primary {
  width: 100%;
  font-size: 15px;
  padding: 16px;
  margin-top: 18px;
}
.trade-options {
  font-size: 12px;
  color: #76573d;
  margin-top: 18px;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 650;
  margin: 14px 0;
}
input,
select,
textarea {
  display: block;
  width: 100%;
  padding: 12px;
  margin-top: 8px;
  border: 1px solid #cdb697;
  border-radius: 10px;
  background: #fffaf2;
  color: var(--ink);
  font: inherit;
}
input::placeholder,
textarea::placeholder {
  color: #927c65;
}
textarea {
  min-height: 94px;
}
input:focus,
select:focus,
textarea:focus,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid #a36b37;
  outline-offset: 3px;
}
summary {
  cursor: pointer;
  font-weight: 650;
}
details form {
  padding-top: 12px;
}
#quick-quotes {
  border-top: 1px solid var(--line);
  margin-top: 25px;
  padding-top: 20px;
}
#available-orders {
  max-height: 270px;
  overflow: auto;
}
.quote-row {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.6;
}
.quote-row span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.quote-row button {
  flex-shrink: 0;
  padding: 10px;
  font-size: 11px;
}
.under-card {
  max-width: 490px;
  margin: 20px auto;
  color: #77573d;
  font-size: 13px;
}
.under-card details {
  margin: 18px 0;
}
.grid,
.orders-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.orders-layout {
  align-items: start;
  margin-bottom: 24px;
}
.orders-layout .trade-card {
  width: 100%;
  margin: 0;
}
.orders-layout .panel {
  margin: 0;
}
#view-settings,
#view-activity {
  max-width: 720px;
  margin: auto;
}
#status {
  max-width: 650px;
  text-align: center;
  margin: 22px auto;
  font-size: 12px;
  overflow-wrap: anywhere;
}
#status.notice {
  border: 1px solid #c7a16d;
  background: #fff0ce;
  color: #674921;
  padding: 16px;
  border-radius: 12px;
}
footer {
  text-align: center;
  color: #866d54;
  font-size: 12px;
  padding: 16px;
}
.empty {
  padding: 24px;
  background: #f3e6d3;
  color: #775f48;
  border-radius: 12px;
}
#catalog-results {
  max-height: 340px;
  overflow: auto;
}
.catalog-row {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.catalog-row span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.catalog-row button {
  flex-shrink: 0;
  font-size: 11px;
}
.book-scroll {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
}
td,
th {
  border-bottom: 1px solid var(--line);
  padding: 14px 8px;
  text-align: left;
  overflow-wrap: anywhere;
}
th {
  color: var(--muted);
  font-weight: 500;
}
code,
pre {
  font-size: 12px;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
dialog {
  max-width: 680px;
  width: calc(100% - 32px);
  color: var(--ink);
  background: var(--cream);
  border: 1px solid #c7ac88;
  border-radius: 20px;
  padding: 24px;
}
dialog pre {
  line-height: 1.8;
}
dialog::backdrop {
  background: #37251270;
}
#wallet-dialog {
  max-width: 460px;
}
#close-wallet {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 2;
}
a {
  color: #80502d;
}
#wallet-address {
  overflow-wrap: anywhere;
}
.connected-account {
  font-size: 11px;
  text-align: center;
  overflow-wrap: anywhere;
  max-width: 650px;
  margin: 0 auto 16px;
}
.connected-account:empty {
  display: none;
}
.activity-row {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.activity-row p {
  margin: 0 0 8px;
}
.activity-row a,
.activity-row small {
  font-size: 12px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 700px) {
  header {
    padding: 16px;
    gap: 8px;
  }
  .header-actions {
    gap: 8px;
  }
  .header-actions button {
    padding: 11px;
    font-size: 12px;
  }
  .badge {
    margin: 0;
    padding: 6px;
    font-size: 9px;
  }
  .brand {
    font-size: 22px;
  }
  main {
    padding: 22px 12px;
  }
  .trade-card,
  .panel {
    padding: 20px;
    border-radius: 20px;
  }
  .grid,
  .orders-layout {
    grid-template-columns: 1fr;
  }
  .amount-row input,
  .amount-row output {
    font-size: 24px;
  }
  .amount-row select {
    font-size: 12px;
  }
  .quote-row {
    gap: 8px;
  }
  .tabs {
    gap: 0;
    margin-bottom: 22px;
  }
  .tabs button {
    padding: 11px 14px;
  }
  .section-head {
    align-items: center;
  }
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand img {
  display: block;
  border-radius: 12px;
  object-fit: contain;
}
@media (max-width: 700px) {
  .brand {
    gap: 7px;
    font-size: 19px;
  }
  .brand img {
    width: 36px;
    height: 36px;
    border-radius: 9px;
  }
}
/*# sourceMappingURL=main.css.map */
