@font-face {
  font-family: Manrope;
  src: url('./assets/fonts/manrope.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}
:root {
  color-scheme: light;
  --bg: #f7f5ee;
  --paper: #fffefa;
  --sidebar: #eeeee4;
  --ink: #2d382e;
  --muted: #697064;
  --line: #dedfd2;
  --orange: #ed7047;
  --orange-dark: #b44420;
  --orange-soft: #fae4d8;
  --green: #386344;
  --green-soft: #e9efdf;
  --radius: 18px;
  font-family: Manrope, 'Avenir Next', Avenir, system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.6;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  color: inherit;
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
button,
a {
  touch-action: manipulation;
}
button {
  border: 0;
}
a {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #b44420;
  outline-offset: 4px;
}
input:focus {
  outline: 0;
}
input:focus-visible {
  outline: 3px solid var(--orange-dark);
  outline-offset: 5px;
}
input,
output {
  font-variant-numeric: tabular-nums;
}
h1,
h2,
p {
  margin: 0;
}
strong {
  font-weight: 600;
}
.icon {
  width: 21px;
  height: 21px;
  flex: none;
  vertical-align: middle;
}
.skip-link {
  position: fixed;
  left: 20px;
  top: -70px;
  background: var(--paper);
  padding: 14px;
  z-index: 20;
  border-radius: 8px;
}
.skip-link:focus {
  top: 12px;
}
.app-shell {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  min-height: 100dvh;
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100dvh;
  padding: 37px 22px 25px;
  background: var(--sidebar);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 31px;
  font-weight: 600;
  letter-spacing: -1.9px;
  text-decoration: none;
  line-height: 1.1;
  white-space: nowrap;
}
.brand-dot {
  color: var(--orange);
  margin-left: -7px;
}
.brand-symbol {
  position: relative;
  width: 27px;
  height: 31px;
  display: inline-block;
  flex: none;
  margin-right: 3px;
}
.brand-symbol span {
  position: absolute;
  display: block;
  border: 2px solid var(--orange);
  border-radius: 4px;
  width: 15px;
  height: 24px;
  transform: rotate(-13deg);
  left: 0;
  top: 1px;
}
.brand-symbol span + span {
  left: 10px;
  top: 7px;
  transform: rotate(10deg);
  background: var(--sidebar);
}
.nav-label {
  margin: 56px 12px 14px;
  font-size: 12px;
  letter-spacing: 1.6px;
  color: var(--muted);
  font-weight: 600;
}
.sidebar nav {
  display: grid;
  gap: 7px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 10px;
  background: transparent;
  padding: 13px 14px;
  text-align: left;
  font-size: 14px;
  font-weight: 500;
  min-height: 49px;
}
.nav-item.active {
  background: var(--orange-soft);
  color: #9c3d1c;
}
.nav-item:not(.active):hover {
  background: #e6e7dc;
}
.nav-count {
  margin-left: auto;
  font-size: 12px;
  background: #e3e4d9;
  border-radius: 5px;
  padding: 0 6px;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 35px 12px 0;
}
.network-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--green);
}
.network-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  flex: none;
}
.sidebar-bottom > p {
  font-size: 23px;
  line-height: 1.4;
  letter-spacing: -0.7px;
  margin: 33px 0 9px;
  color: #65705f;
}
.sidebar-caption {
  font-size: 12px;
  color: var(--muted);
}
.workspace {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.app-header {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 45px;
  border-bottom: 1px solid var(--line);
  gap: 16px;
}
.header-location {
  font-size: 13px;
  color: var(--muted);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 17px;
}
.demo-badge {
  font-size: 12px;
  font-weight: 500;
  background: var(--orange-soft);
  color: #9b3e21;
  padding: 5px 10px;
  border-radius: 6px;
  white-space: nowrap;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border-radius: 9px;
  flex: none;
}
.icon-button:hover {
  background: #eae9df;
}
.wallet-button {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 25px;
  padding: 8px 13px;
  font-size: 12px;
  min-height: 41px;
}
.wallet-button > .icon {
  width: 17px;
  height: 17px;
}
.wallet-button:hover {
  border-color: #a4ad9b;
}
.avatar {
  display: inline-grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 14px;
  flex: none;
  font-size: 17px;
  font-weight: 500;
}
.avatar.peach {
  background: var(--orange-soft);
  color: #9e4d2e;
}
.avatar.sage {
  background: #e2ebda;
  color: #4f6c46;
}
.avatar.lilac {
  background: #eae3f0;
  color: #766088;
}
.avatar.mini {
  width: 25px;
  height: 25px;
  font-size: 12px;
  border-radius: 50%;
}
main {
  padding: 47px 45px 62px;
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
  flex: 1;
  outline: none;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 1.6px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 9px;
}
.page-heading h1 {
  font-size: 36px;
  line-height: 1.2;
  letter-spacing: -1.4px;
  font-weight: 500;
  margin-bottom: 11px;
}
.page-heading > div > p:last-child {
  font-size: 13px;
  color: var(--muted);
}
.market-note {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--green);
  padding-top: 24px;
  white-space: nowrap;
}
.market-note > .icon {
  width: 17px;
  height: 17px;
}
.market-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(305px, 1fr);
  gap: 32px;
  align-items: start;
}
.filter-bar {
  display: flex;
  gap: 14px;
  margin-bottom: 28px;
}
.filter {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 15px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}
.filter > span {
  font-size: 12px;
  color: var(--muted);
}
.filter > strong {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}
.filter .icon {
  margin-left: auto;
  width: 14px;
  height: 14px;
  color: #7b8276;
}
.currency-disc,
.usdc-disc {
  width: 23px;
  height: 23px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #e9e8dd;
  color: #606857;
  font-size: 14px;
  font-weight: 500;
  flex: none;
}
.usdc-disc {
  background: #2579c5;
  color: white;
  border: 2px solid #2579c5;
  outline: 1px solid #fff;
  outline-offset: -4px;
}
.revolut-mark {
  font-size: 17px;
  font-weight: 700;
  line-height: 23px;
  width: 23px;
  text-align: center;
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 17px;
}
.section-title h2 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.2px;
}
.section-title h2 > span {
  font-size: 12px;
  background: #e9e9df;
  border-radius: 5px;
  padding: 1px 5px;
  margin-left: 5px;
  font-weight: 500;
}
.section-title > span:not(.paired-mark) {
  font-size: 12px;
  color: var(--muted);
}
.offer-list {
  display: grid;
  gap: 12px;
}
.offer {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--paper);
  padding: 18px 19px;
  text-align: left;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.offer:hover {
  border-color: #9b9e8b;
}
.offer.selected {
  border-color: #cc6e4e;
  box-shadow: 0 0 0 1px #cc6e4e;
  background: #fffcf6;
}
.offer-top,
.offer-rate,
.offer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.person {
  display: flex;
  align-items: center;
  gap: 11px;
}
.person > span:last-child {
  display: grid;
  gap: 1px;
}
.person strong {
  font-size: 13px;
}
.person > span > span {
  font-size: 12px;
  color: var(--muted);
}
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  line-height: 1.5;
}
.pill.green {
  color: #42633b;
  background: var(--green-soft);
}
.pill.orange {
  color: #9a482d;
  background: var(--orange-soft);
}
.pill.neutral {
  background: #efeee6;
  color: var(--muted);
}
.offer-rate {
  margin: 17px 0 12px;
}
.offer-rate > strong {
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.7px;
}
.offer-rate > strong > span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0;
  margin-left: 3px;
}
.select-circle {
  width: 21px;
  height: 21px;
  border: 1px solid #d0d4c5;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.selected .select-circle {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--paper);
}
.select-circle > .icon {
  width: 14px;
  height: 14px;
}
.offer-bottom {
  border-top: 1px solid #ebebe2;
  padding-top: 11px;
  font-size: 12px;
  color: var(--muted);
}
.how-it-works {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 25px 0 0;
}
.how-it-works > div {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--muted);
}
.how-it-works .icon {
  width: 14px;
  height: 14px;
}
.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 27px;
  min-width: 0;
}
.quote-panel {
  padding: 25px 25px 22px;
  box-shadow: 0 7px 24px #38422a04;
}
.quote-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
}
.quote-heading > h2 {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.5px;
}
.paired-mark {
  font-size: 24px;
  color: var(--orange);
  letter-spacing: -7px;
  padding-right: 6px;
  line-height: 1;
}
.paired-mark.small {
  font-size: 20px;
}
.money-field {
  display: flex;
  flex-direction: column;
  gap: 9px;
  background: #f5f3e9;
  border: 1px solid #e8e5d9;
  border-radius: 12px;
  padding: 14px 16px;
}
.money-field > span:first-child {
  font-size: 12px;
  color: var(--muted);
}
.money-input {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.money-input > input,
.money-input > output {
  font-size: 31px;
  letter-spacing: -1px;
  line-height: 1.3;
  font-weight: 500;
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 0;
}
.currency-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 500;
  flex: none;
}
.receive-field {
  background: #fffefa;
}
.exchange-divider {
  height: 29px;
  display: grid;
  place-items: center;
  color: #8f9686;
}
.exchange-divider > .icon {
  width: 14px;
  height: 14px;
  transform: rotate(-45deg);
}
.quote-details {
  margin: 20px 0;
}
.detail-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: 14px;
  padding: 12px 0;
  font-size: 12px;
  border-bottom: 1px solid #e9e9df;
}
.detail-row:last-child {
  border-bottom: 0;
}
.detail-row > span {
  color: var(--muted);
}
.detail-row > strong {
  text-align: right;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border-radius: 10px;
  min-height: 47px;
  width: 100%;
  padding: 12px 17px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}
.button > .icon {
  width: 16px;
  height: 16px;
}
.button.primary {
  background: var(--orange);
  color: #2f281b;
  border: 1px solid var(--orange);
}
.button.primary:hover:not(:disabled) {
  background: #e4643b;
  border-color: #e4643b;
}
.button.secondary {
  background: transparent;
  border: 1px solid #d7daca;
}
.button.secondary:hover {
  background: #f1f1e8;
}
.button.compact {
  width: auto;
  padding: 10px 15px;
  font-size: 12px;
  min-height: 40px;
}
.quote-footnote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  margin-top: 14px;
}
.quote-footnote > .icon {
  width: 12px;
  height: 12px;
}
.field-error {
  font-size: 12px;
  color: #ae3d26;
  padding-top: 10px;
}
.field-error:empty {
  display: none;
}
.app-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 19px 45px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.back-link {
  display: block;
  background: transparent;
  font-size: 12px;
  color: var(--muted);
  padding: 0;
  margin: 0 0 23px;
  text-align: left;
  min-height: 30px;
}
.trade-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 27px;
  align-items: start;
}
.steps {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0 0 33px;
  gap: 16px;
}
.steps > li {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  position: relative;
  font-size: 12px;
  color: #7c8275;
  min-width: 0;
}
.steps > li > span {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  background: #eeeee3;
  border: 1px solid #e1e3d5;
  border-radius: 50%;
  flex: none;
  font-size: 12px;
}
.steps > li strong {
  font-weight: 500;
}
.steps .done > span {
  background: var(--green-soft);
  border-color: var(--green-soft);
  color: var(--green);
}
.steps .done > span > .icon {
  width: 13px;
  height: 13px;
}
.steps .current > span {
  background: var(--orange-soft);
  color: #9b482a;
  border-color: #e9bca6;
}
.steps .current {
  color: var(--ink);
}
.trade-summary .section-title h2 {
  font-size: 15px;
  font-weight: 500;
}
.summary-amount {
  margin: 20px 0 18px;
  display: grid;
  gap: 3px;
}
.summary-amount > span {
  font-size: 12px;
  color: var(--muted);
}
.summary-amount > strong {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -1px;
}
.summary-amount > strong > span {
  font-size: 14px;
  letter-spacing: 0;
}
.escrow-note {
  display: flex;
  gap: 9px;
  font-size: 12px;
  color: var(--green);
  background: #eef2e8;
  border-radius: 10px;
  padding: 14px;
  margin-top: 22px;
  align-items: flex-start;
}
.escrow-note > .icon {
  width: 16px;
  height: 16px;
  margin-top: 2px;
}
.payment-panel h2,
.status-panel h2 {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.6px;
}
.payment-panel .section-title {
  align-items: start;
  flex-wrap: wrap;
}
.payment-panel > p,
.status-panel > p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
  margin: 14px 0;
}
.countdown {
  display: flex;
  align-items: center;
  gap: 5px;
  background: #f1eee3;
  border-radius: 6px;
  padding: 3px 7px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.countdown > .icon {
  width: 12px;
  height: 12px;
}
.payment-amount {
  font-size: 44px;
  line-height: 1.4;
  letter-spacing: -2px;
  font-weight: 500;
  margin: 23px 0;
}
.payment-amount > span {
  font-size: 13px;
  letter-spacing: 0;
  color: var(--muted);
}
.recipient-card {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 16px;
  background: #f5f3ea;
  border-radius: 12px;
  margin-bottom: 19px;
}
.recipient-card > span:nth-child(2) {
  display: grid;
  gap: 1px;
  flex: 1;
  min-width: 0;
}
.recipient-card > span:nth-child(2) > strong {
  font-size: 13px;
}
.recipient-card > span:nth-child(2) > span {
  font-size: 12px;
  color: var(--muted);
}
.payment-note {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
  margin: 0 0 24px;
}
.text-button {
  display: block;
  background: transparent;
  font-size: 12px;
  text-align: center;
  min-height: 42px;
  padding: 10px;
  line-height: 1.6;
}
.cancel-link {
  margin: 8px auto 0;
  color: var(--muted);
}
.status-panel {
  padding: 35px 30px;
}
.status-symbol {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  margin-bottom: 21px;
}
.status-symbol > .icon {
  width: 27px;
  height: 27px;
}
.status-symbol.amber {
  color: #a95a31;
  background: #f8e8d7;
}
.status-symbol.neutral {
  background: #f0f0e5;
  color: #6c7761;
}
.status-panel > h2 {
  font-size: 25px;
}
.status-panel > .button {
  margin-top: 25px;
}
.important-note {
  padding: 17px;
  border-radius: 11px;
  background: #f8f0e3;
  font-size: 12px;
  display: grid;
  gap: 5px;
  margin-top: 23px;
}
.important-note > span {
  color: #706654;
  font-size: 12px;
}
.check-list {
  display: grid;
  gap: 14px;
  margin: 25px 0;
}
.check-list > div {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
}
.check-list .icon {
  width: 16px;
  height: 16px;
  color: var(--green);
}
.progress-line {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 16px;
  background: #f3f3e8;
  border-radius: 10px;
  margin: 23px 0;
  font-size: 12px;
}
.pulse-dot {
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
  flex: none;
}
.spinner {
  width: 25px;
  height: 25px;
  border: 2px solid #c1cfb5;
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.small-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
}
.status-panel .small-note {
  font-size: 12px;
}
.receipt-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 45px;
  align-items: start;
}
.receipt-panel {
  position: relative;
  padding: 32px;
  text-align: center;
  border-bottom: 3px double var(--line);
}
.receipt-panel .status-symbol {
  margin-bottom: 15px;
}
.received-label {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}
.receipt-amount {
  font-size: 45px;
  font-weight: 500;
  letter-spacing: -2px;
  line-height: 1.5;
}
.receipt-amount > span {
  font-size: 17px;
  letter-spacing: 0;
}
.receipt-panel > p:last-of-type {
  font-size: 12px;
  color: var(--muted);
  margin: 10px 0 0;
}
.receipt-separator {
  position: relative;
  border-top: 1px dashed #d0d5c4;
  margin: 29px -32px 10px;
}
.receipt-separator > span {
  position: absolute;
  top: -11px;
  left: -11px;
  background: var(--bg);
  width: 20px;
  height: 20px;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.receipt-separator > span + span {
  left: auto;
  right: -11px;
}
.receipt-actions {
  display: grid;
  gap: 10px;
  margin-top: 25px;
}
.activity-panel {
  padding: 24px 0;
}
.activity-panel > h2 {
  font-size: 15px;
  font-weight: 500;
}
.activity-list {
  list-style: none;
  margin: 26px 0 34px;
  padding: 0;
}
.activity-list > li {
  display: flex;
  gap: 15px;
  position: relative;
  padding-bottom: 25px;
}
.activity-list > li:not(:last-child):before {
  content: '';
  position: absolute;
  left: 12px;
  top: 27px;
  bottom: 2px;
  border-left: 1px solid #d4dccb;
}
.activity-check {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  background: var(--green-soft);
  border-radius: 50%;
  color: var(--green);
  flex: none;
}
.activity-check > .icon {
  width: 14px;
  height: 14px;
}
.activity-list > li > div {
  display: grid;
  gap: 3px;
}
.activity-list strong {
  font-size: 12px;
  font-weight: 500;
}
.activity-list > li > div > span {
  font-size: 12px;
  color: var(--muted);
}
.receipt-pair {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #dcded0;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 18px;
}
.receipt-pair > span {
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.7px;
}
.receipt-pair small {
  display: block;
  font-size: 12px;
  letter-spacing: 0;
  color: var(--muted);
  font-weight: 400;
  margin-top: 5px;
}
.receipt-pair .icon {
  color: var(--orange);
  width: 18px;
  height: 18px;
}
.mono {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 12px;
}
.trade-list {
  display: grid;
  gap: 13px;
}
.trade-list-item {
  display: flex;
  align-items: center;
  gap: 17px;
  width: 100%;
  padding: 22px;
  text-align: left;
}
.trade-list-icon {
  background: #f0f0e4;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  flex: none;
}
.trade-list-description {
  display: grid;
  gap: 3px;
  flex: 1;
  min-width: 0;
}
.trade-list-description > strong {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.4px;
}
.trade-list-description > span {
  font-size: 12px;
  color: var(--muted);
}
.trade-list-item > .icon {
  width: 16px;
  height: 16px;
  color: var(--muted);
}
.empty-state {
  padding: 60px 25px;
  text-align: center;
  display: grid;
  justify-items: center;
}
.empty-state > h2 {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.8px;
}
.empty-state > p {
  max-width: 310px;
  font-size: 13px;
  color: var(--muted);
  margin: 15px 0 24px;
}
.empty-state > .button {
  max-width: 250px;
}
dialog {
  position: fixed;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 35px;
  width: min(460px, calc(100% - 32px));
  max-height: calc(100dvh - 48px);
  overflow: auto;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 25px 100px #25311c29;
  font-family: inherit;
}
dialog::backdrop {
  background: #25311c59;
  backdrop-filter: blur(3px);
}
.modal-close {
  position: absolute;
  right: 12px;
  top: 12px;
}
dialog .status-symbol {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
}
dialog .status-symbol > .icon {
  width: 23px;
  height: 23px;
}
dialog h2 {
  font-size: 24px;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -0.8px;
  padding-right: 10px;
  margin-bottom: 15px;
}
dialog > p:not(.eyebrow) {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 22px;
  line-height: 1.8;
}
dialog .button {
  margin-top: 13px;
}
.wallet-demo-card {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px;
  background: #f3f1e7;
  border-radius: 11px;
  margin: 22px 0;
}
.wallet-demo-card > div {
  display: grid;
  gap: 3px;
}
.wallet-demo-card strong {
  font-size: 13px;
}
.wallet-demo-card > div > span {
  font-size: 12px;
  color: var(--muted);
}
.wallet-balance {
  display: grid;
  gap: 7px;
  background: #f2f1e7;
  border-radius: 12px;
  padding: 22px;
  margin: 20px 0;
}
.wallet-balance > span {
  font-size: 12px;
  color: var(--muted);
}
.wallet-balance > strong {
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -0.9px;
}
.disclosure {
  background: #f5f3ea;
  border-radius: 12px;
  padding: 8px 16px;
  margin: 20px 0;
}
.disclosure .detail-row {
  font-size: 12px;
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12px;
  margin: 22px 0;
  cursor: pointer;
}
.consent input {
  accent-color: var(--orange-dark);
  width: 17px;
  height: 17px;
  margin: 1px 0 0;
  flex: none;
}
.settings-label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}
select {
  display: block;
  background: #f4f2e8;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 13px 9px;
  color: var(--ink);
  font-size: 12px;
  width: 100%;
  margin-bottom: 20px;
  min-height: 46px;
}
.reset-demo {
  margin: 16px auto 0;
  color: var(--orange-dark);
}
#toast {
  position: fixed;
  bottom: 23px;
  left: 50%;
  transform: translate(-50%, 12px);
  max-width: calc(100% - 32px);
  padding: 13px 20px;
  background: var(--ink);
  color: #fffefa;
  border-radius: 10px;
  box-shadow: 0 6px 20px #24321b22;
  font-size: 12px;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.15s,
    transform 0.15s;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (min-width: 1500px) {
  main {
    padding-top: 65px;
  }
  .market-layout {
    gap: 45px;
  }
  .sidebar {
    padding-top: 42px;
  }
  .offer {
    padding: 22px;
  }
  .offer-rate {
    margin-top: 22px;
  }
  .quote-panel {
    padding: 30px;
  }
  .app-header {
    padding-right: 60px;
  }
}
@media (max-width: 1160px) {
  .app-shell {
    grid-template-columns: 190px minmax(0, 1fr);
  }
  .sidebar {
    padding: 30px 15px 25px;
  }
  .wordmark {
    font-size: 27px;
  }
  .brand-symbol {
    transform: scale(0.9);
    margin-right: 0;
  }
  .app-header {
    padding: 0 28px;
  }
  main {
    padding: 36px 28px 45px;
  }
  .market-layout {
    gap: 22px;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.95fr);
  }
  .market-note {
    display: none;
  }
  .how-it-works {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .quote-panel {
    padding: 22px;
  }
  .app-footer {
    padding-left: 28px;
    padding-right: 28px;
  }
  .header-actions {
    gap: 10px;
  }
  .trade-layout {
    gap: 20px;
  }
  .panel {
    padding: 23px;
  }
  .receipt-layout {
    gap: 25px;
  }
  .receipt-panel {
    padding: 28px;
  }
  .receipt-separator {
    margin-left: -28px;
    margin-right: -28px;
  }
}
@media (max-width: 940px) {
  .app-shell {
    grid-template-columns: 165px minmax(0, 1fr);
  }
  .wordmark {
    font-size: 24px;
    gap: 5px;
  }
  .brand-symbol {
    display: none;
  }
  .sidebar {
    padding: 30px 12px 22px;
  }
  .nav-item {
    padding: 12px 10px;
    font-size: 12px;
    gap: 9px;
  }
  .nav-label {
    font-size: 12px;
    margin-left: 10px;
  }
  .sidebar-bottom {
    padding-left: 10px;
    padding-right: 0;
  }
  .sidebar-bottom > p {
    font-size: 21px;
  }
  .network-badge {
    font-size: 12px;
  }
  .sidebar-caption {
    font-size: 12px;
  }
  .market-layout {
    grid-template-columns: minmax(0, 1fr) minmax(250px, 1fr);
    gap: 18px;
  }
  .quote-panel {
    padding: 19px;
  }
  .offer {
    padding: 16px;
  }
  .offer-rate > strong {
    font-size: 21px;
  }
  .offer-bottom {
    flex-wrap: wrap;
    gap: 4px;
  }
  .page-heading h1 {
    font-size: 32px;
  }
  .page-heading {
    gap: 15px;
  }
  .money-input > input,
  .money-input > output {
    font-size: 27px;
  }
  .currency-label {
    font-size: 12px;
    gap: 5px;
  }
  .currency-disc,
  .usdc-disc {
    width: 20px;
    height: 20px;
    font-size: 12px;
  }
  .money-field {
    padding: 12px;
  }
  .filter-bar {
    gap: 10px;
  }
  .filter {
    padding: 10px;
  }
  .filter > strong {
    font-size: 12px;
    gap: 5px;
  }
  .demo-badge > span {
    display: none;
  }
  .trade-layout,
  .receipt-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .trade-summary {
    order: 1;
  }
  .receipt-panel {
    max-width: 480px;
    width: 100%;
  }
  .activity-panel {
    max-width: 480px;
    width: 100%;
  }
  .steps {
    gap: 9px;
  }
  .steps > li {
    font-size: 12px;
    gap: 6px;
  }
  .steps > li > span {
    width: 22px;
    height: 22px;
  }
  .app-footer {
    font-size: 12px;
    flex-wrap: wrap;
  }
}
@media (max-width: 760px) {
  .app-shell {
    display: block;
  }
  .sidebar {
    position: static;
    height: auto;
    padding: 20px 23px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    background: var(--bg);
  }
  .wordmark {
    font-size: 28px;
    gap: 8px;
  }
  .brand-symbol {
    display: inline-block;
    transform: scale(0.9);
  }
  .nav-label,
  .sidebar-bottom {
    display: none;
  }
  .sidebar nav {
    display: flex;
    gap: 15px;
    margin-top: 20px;
  }
  .nav-item {
    font-size: 12px;
    min-height: 44px;
    padding: 9px 12px 13px;
    border-radius: 0;
    border-bottom: 2px solid transparent;
  }
  .nav-item.active {
    background: transparent;
    border-bottom-color: var(--orange);
    color: var(--orange-dark);
  }
  .nav-count {
    font-size: 12px;
  }
  .app-header {
    height: 70px;
    padding: 0 24px;
  }
  .header-location {
    font-size: 12px;
  }
  .header-actions {
    gap: 8px;
  }
  .wallet-button {
    font-size: 12px;
    padding: 6px 10px;
    min-height: 36px;
  }
  .icon-button {
    width: 36px;
    height: 36px;
  }
  .icon-button > .icon {
    width: 18px;
    height: 18px;
  }
  main {
    padding: 30px 24px 40px;
    max-width: 700px;
  }
  .page-heading {
    margin-bottom: 25px;
  }
  .page-heading h1 {
    font-size: 31px;
  }
  .page-heading > div > p:last-child {
    font-size: 12px;
  }
  .eyebrow {
    font-size: 12px;
  }
  .market-layout {
    gap: 23px;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 1fr);
  }
  .quote-panel {
    padding: 22px;
  }
  .offer {
    padding: 17px;
  }
  .app-footer {
    padding: 17px 24px;
  }
  .trade-list-item {
    gap: 12px;
    padding: 19px;
  }
  .trade-list-description > strong {
    font-size: 16px;
  }
  .trade-list-description > span {
    font-size: 12px;
  }
  .steps {
    margin-bottom: 26px;
    gap: 12px;
  }
  .steps > li {
    font-size: 12px;
  }
  .steps > li > span {
    width: 25px;
    height: 25px;
  }
  .trade-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 18px;
  }
  .trade-summary .detail-row {
    font-size: 12px;
  }
  .payment-amount {
    font-size: 38px;
  }
  .payment-panel h2 {
    font-size: 17px;
  }
  .panel {
    padding: 23px;
  }
  .receipt-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
    gap: 30px;
  }
  .receipt-panel {
    padding: 28px;
  }
  .receipt-pair {
    padding: 16px;
  }
  .receipt-pair > span {
    font-size: 19px;
  }
  .activity-panel {
    padding-top: 20px;
  }
  .status-panel > h2 {
    font-size: 23px;
  }
}
@media (max-width: 620px) {
  .market-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .quote-panel {
    grid-row: 1;
  }
  .offers-column {
    grid-row: 2;
  }
  .filter-bar {
    margin-bottom: 23px;
  }
  .quote-heading {
    margin-bottom: 20px;
  }
  .quote-details {
    margin: 16px 0;
  }
  .detail-row {
    font-size: 12px;
    padding: 12px 0;
  }
  .money-field {
    padding: 14px 16px;
  }
  .money-field > span:first-child {
    font-size: 12px;
  }
  .money-input > input,
  .money-input > output {
    font-size: 34px;
  }
  .currency-label {
    font-size: 12px;
    gap: 7px;
  }
  .currency-disc,
  .usdc-disc {
    width: 23px;
    height: 23px;
    font-size: 14px;
  }
  .button {
    font-size: 13px;
    min-height: 49px;
  }
  .quote-footnote {
    font-size: 12px;
  }
  .section-title h2 {
    font-size: 15px;
  }
  .section-title > span:not(.paired-mark) {
    font-size: 12px;
  }
  .offer {
    padding: 20px;
  }
  .offer-rate > strong {
    font-size: 26px;
  }
  .offer-rate > strong > span {
    font-size: 12px;
  }
  .person strong {
    font-size: 14px;
  }
  .person > span > span {
    font-size: 12px;
  }
  .offer-bottom {
    font-size: 12px;
    flex-wrap: nowrap;
  }
  .pill {
    font-size: 12px;
  }
  .how-it-works {
    gap: 16px;
    justify-content: center;
    padding-top: 22px;
  }
  .how-it-works > div {
    font-size: 12px;
  }
  .header-location {
    display: none;
  }
  .header-actions {
    width: 100%;
  }
  .demo-badge {
    margin-right: auto;
    font-size: 12px;
  }
  .demo-badge > span {
    display: inline;
  }
  .app-header {
    height: 67px;
  }
  .trade-layout,
  .receipt-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }
  .trade-summary .detail-row {
    font-size: 12px;
  }
  .steps {
    gap: 8px;
  }
  .steps > li {
    flex-direction: column;
    align-items: flex-start;
    font-size: 12px;
    gap: 7px;
  }
  .steps > li > strong {
    white-space: nowrap;
  }
  .steps > li > span {
    width: 27px;
    height: 27px;
  }
  .payment-panel h2 {
    font-size: 20px;
  }
  .payment-panel > p,
  .status-panel > p {
    font-size: 13px;
  }
  .payment-amount {
    font-size: 46px;
  }
  .recipient-card > span:nth-child(2) > strong {
    font-size: 15px;
  }
  .recipient-card > span:nth-child(2) > span {
    font-size: 13px;
  }
  .payment-note {
    font-size: 12px;
  }
  .text-button {
    font-size: 12px;
  }
  .escrow-note {
    font-size: 12px;
  }
  .check-list > div {
    font-size: 12px;
  }
  .receipt-panel {
    max-width: none;
    padding: 30px;
  }
  .receipt-separator {
    margin-left: -30px;
    margin-right: -30px;
  }
  .receipt-amount {
    font-size: 47px;
  }
  .receipt-panel > p:last-of-type {
    font-size: 12px;
  }
  .activity-panel {
    max-width: none;
    padding: 10px;
  }
  .activity-panel > h2 {
    font-size: 17px;
  }
  .activity-list strong {
    font-size: 13px;
  }
  .activity-list > li > div > span {
    font-size: 12px;
  }
  .receipt-pair {
    padding: 23px;
  }
  .receipt-pair > span {
    font-size: 25px;
  }
  .receipt-pair small {
    font-size: 12px;
  }
  .trade-list-item {
    gap: 11px;
    padding: 17px;
  }
  .trade-list-item > .icon {
    display: none;
  }
  .trade-list-description > strong {
    font-size: 17px;
  }
  .trade-list-description > span {
    font-size: 12px;
  }
  .trade-list-item .pill {
    font-size: 12px;
    max-width: 108px;
    white-space: normal;
    text-align: center;
  }
  .page-heading > .button {
    align-self: flex-end;
  }
  .page-heading .button.compact {
    font-size: 12px;
    padding: 9px 10px;
  }
  .app-footer {
    display: grid;
    gap: 5px;
    font-size: 12px;
  }
  dialog {
    padding: 31px 25px;
  }
  dialog > p:not(.eyebrow) {
    font-size: 13px;
  }
  .disclosure .detail-row {
    font-size: 12px;
  }
  .consent {
    font-size: 12px;
  }
  .small-note {
    font-size: 12px;
  }
  .wallet-demo-card strong {
    font-size: 14px;
  }
  .wallet-demo-card > div > span {
    font-size: 12px;
  }
  .settings-label {
    font-size: 12px;
  }
  select {
    font-size: 13px;
  }
}
@media (max-width: 370px) {
  main {
    padding-left: 17px;
    padding-right: 17px;
  }
  .app-header {
    padding-left: 17px;
    padding-right: 17px;
  }
  .sidebar {
    padding-left: 17px;
    padding-right: 17px;
  }
  .header-actions {
    gap: 4px;
  }
  .demo-badge {
    padding: 4px 7px;
    font-size: 12px;
  }
  .wallet-button {
    font-size: 12px;
    padding: 6px 8px;
  }
  .icon-button {
    width: 32px;
    height: 36px;
  }
  .page-heading h1 {
    font-size: 28px;
  }
  .panel,
  .quote-panel {
    padding: 21px;
  }
  .offer-bottom {
    flex-wrap: wrap;
  }
  .how-it-works {
    justify-content: flex-start;
    gap: 10px;
  }
  .steps > li {
    font-size: 12px;
    gap: 5px;
  }
  .steps {
    gap: 6px;
  }
  .receipt-panel {
    padding: 26px;
  }
  .receipt-separator {
    margin-left: -26px;
    margin-right: -26px;
  }
  .trade-list-icon {
    width: 33px;
    height: 33px;
  }
  .trade-list-item {
    padding: 14px;
    gap: 8px;
  }
  .trade-list-description > strong {
    font-size: 15px;
  }
  .trade-list-description > span {
    font-size: 12px;
  }
  .trade-list-item .pill {
    font-size: 12px;
    max-width: 85px;
  }
  .page-heading .button.compact {
    font-size: 12px;
    padding: 8px;
  }
  .page-heading .button.compact > .icon {
    display: none;
  }
  .app-footer {
    padding-left: 17px;
    padding-right: 17px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}

/* Keep supporting product text readable at every breakpoint. */
.nav-label,
.eyebrow,
.sidebar-caption,
.filter > span,
.person > span > span,
.offer-bottom,
.how-it-works > div,
.quote-footnote,
.app-footer,
.activity-list > li > div > span,
.receipt-pair small,
.section-title > span:not(.paired-mark),
.trade-list-description > span,
.mono {
  font-size: 12px;
}
.person strong {
  font-size: 14px;
}
.detail-row {
  font-size: 12px;
}
.button {
  font-size: 13px;
}
.page-heading > div > p:last-child {
  font-size: 14px;
}
.offer-rate > strong > span {
  font-size: 12px;
}
.steps > li {
  font-size: 12px;
}
.pill {
  font-size: 12px;
}
.quote-footnote {
  line-height: 1.6;
}
.how-it-works {
  flex-wrap: wrap;
}
.money-field > span:first-child {
  font-size: 12px;
}
@media (max-width: 370px) {
  .steps > li {
    font-size: 12px;
  }
  .page-heading > div > p:last-child {
    font-size: 13px;
  }
  .trade-list-item {
    flex-wrap: wrap;
  }
  .trade-list-item .pill {
    font-size: 12px;
    max-width: none;
    margin-left: 41px;
  }
  .trade-list-description > span {
    font-size: 12px;
  }
}

.resume-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 12px 17px;
  background: var(--orange-soft);
  border-radius: 11px;
  margin-bottom: 25px;
  font-size: 12px;
}
.resume-banner > div {
  display: flex;
  align-items: center;
  gap: 9px;
}
.resume-banner .icon {
  width: 16px;
  height: 16px;
}
.resume-banner > .text-button {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-weight: 600;
}
.sidebar-caption {
  display: block;
  margin-top: 12px;
}
@media (max-width: 400px) {
  .steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .steps > li {
    flex-direction: row;
    align-items: center;
    font-size: 12px;
  }
  .resume-banner {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }
  .resume-banner > .text-button {
    padding-left: 25px;
  }
}

/* Keep the exchange action visible on a typical laptop screen. */
@media (min-width: 761px) {
  main {
    padding-top: 24px;
  }
  .page-heading {
    margin-bottom: 24px;
  }
  .quote-heading {
    margin-bottom: 12px;
  }
  .quote-panel .money-field {
    padding: 12px 14px;
  }
  .quote-details {
    margin: 16px 0;
  }
  .quote-details .detail-row {
    padding: 8px 0;
  }
  .quote-footnote {
    margin-top: 10px;
  }
}

.seller-offer-panel > h2 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.6px;
}
.seller-intro {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
  margin: 14px 0 24px;
}
.seller-wallet-note {
  font-size: 12px;
  color: var(--muted);
  margin: 9px 0 24px;
}
.text-input {
  width: 100%;
  min-width: 0;
  background: #f5f3ea;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  padding: 13px 15px;
  font-size: 15px;
}
.seller-offer-panel .field-error {
  margin-bottom: 12px;
}
.seller-offer-panel > .button {
  margin-top: 25px;
}
.seller-demo-note {
  margin-top: 16px;
}
.seller-activity {
  margin-top: 35px;
}
.seller-empty {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
  padding: 23px 0;
  border-top: 1px solid var(--line);
}
@media (max-width: 760px) {
  .sidebar nav {
    gap: 4px;
    justify-content: space-between;
  }
  .sidebar .nav-item {
    gap: 7px;
    padding-left: 8px;
    padding-right: 8px;
  }
  .sidebar .nav-item > .icon {
    width: 18px;
    height: 18px;
  }
}
@media (max-width: 370px) {
  .sidebar nav {
    gap: 0;
  }
  .sidebar .nav-item {
    gap: 5px;
    font-size: 12px;
    padding-left: 6px;
    padding-right: 6px;
  }
  .sidebar .nav-count {
    padding: 0 4px;
    margin-left: -2px;
  }
}

.resolution-panel {
  margin-bottom: 24px;
}
.resolution-panel > h2 {
  font-size: 23px;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -0.6px;
}
.resolution-panel > p {
  font-size: 13px;
  color: var(--muted);
  margin: 14px 0;
}
.resolution-panel > .button {
  margin-top: 12px;
}
@media (max-width: 620px) {
  .steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .steps > li {
    flex-direction: row;
    align-items: center;
    font-size: 12px;
  }
}

/* Focused app polish: retain the existing Pactlane palette and layout. */
:root {
  --muted: #5d685b;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #285236;
  outline-offset: 4px;
}
[aria-invalid='true'] {
  border-color: #a23b25;
  box-shadow: 0 0 0 1px #a23b25;
}
.input-hint {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  margin-top: 8px;
}
.field-error {
  color: #a23b25;
  line-height: 1.6;
}
.field-error:not(:empty) {
  margin: 8px 0 14px;
  padding-left: 10px;
  border-left: 3px solid #a23b25;
}
.button {
  font-size: 14px;
  min-height: 48px;
}
.button.secondary {
  border-color: #b9bfaf;
}
.text-button {
  min-height: 44px;
}
.wallet-short-label {
  display: none;
}
.app-header {
  min-height: 80px;
  height: auto;
  padding-top: 12px;
  padding-bottom: 12px;
}
.demo-badge {
  display: grid;
  gap: 2px;
  background: transparent;
  border-radius: 0;
  color: var(--muted);
  padding: 0;
  font-size: 12px;
  white-space: normal;
  line-height: 1.45;
}
.demo-badge strong {
  font-size: 12px;
  color: var(--ink);
}
.demo-badge > span {
  display: block;
}
.header-actions {
  flex: none;
}
.page-heading {
  align-items: flex-start;
}
.page-heading h1 {
  font-size: clamp(28px, 2.8vw, 36px);
  max-width: 640px;
}
.page-heading > div > p:last-child {
  line-height: 1.65;
  max-width: 640px;
}
.market-note {
  display: none;
}
.quote-terms {
  display: grid;
  gap: 4px;
  margin: 16px 0;
  color: var(--muted);
  font-size: 12px;
}
.quote-terms strong {
  color: var(--ink);
}
.quote-breakdown {
  margin-top: 12px;
  border-top: 1px solid var(--line);
  padding-top: 4px;
}
.quote-breakdown > summary,
.trust-details > summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  cursor: pointer;
  color: var(--ink);
}
.quote-breakdown > summary::before,
.trust-details > summary::before {
  content: '+';
  font-size: 18px;
  color: var(--green);
}
.quote-breakdown[open] > summary::before,
.trust-details[open] > summary::before {
  content: '−';
}
.quote-footnote {
  text-align: center;
  font-size: 12px;
  line-height: 1.55;
}
.offer:disabled {
  opacity: 1;
  cursor: default;
  background: #f1f1e8;
  border-color: var(--line);
  box-shadow: none;
}
.handoff-guide {
  margin-top: 28px;
}
.handoff-guide h2 {
  font-size: 17px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: -0.4px;
}
.handoff-guide ol {
  counter-reset: handoff;
  list-style: none;
  padding: 0;
  margin: 18px 0;
  display: grid;
  gap: 11px;
}
.handoff-guide li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.handoff-guide li::before {
  counter-increment: handoff;
  content: counter(handoff);
  display: inline-grid;
  place-items: center;
  width: 23px;
  height: 23px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 12px;
  border-radius: 50%;
  flex: none;
}
.trust-details {
  border-top: 1px solid var(--line);
  margin-top: 20px;
}
.trust-details > p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  margin: 8px 0 14px;
}
.trade-status {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid #cbd7c3;
  border-radius: 12px;
  background: #eef2e7;
  padding: 16px 18px;
  margin: 0 0 22px;
}
.trade-status.attention {
  background: #fbefdf;
  border-color: #e4c9a6;
}
.trade-status-copy {
  display: flex;
  gap: 11px;
  min-width: 0;
}
.trade-status-copy > .icon {
  margin-top: 2px;
  color: var(--green);
}
.trade-status-copy strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}
.trade-status-copy p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  margin-top: 3px;
  max-width: 530px;
}
.next-actor {
  display: inline-block;
  font-size: 12px;
  margin-top: 5px;
  color: var(--green);
  font-weight: 500;
}
.funds-status {
  display: grid;
  gap: 2px;
  text-align: right;
  flex: none;
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.funds-status > strong {
  font-size: 18px;
  line-height: 1.3;
  color: var(--ink);
  white-space: nowrap;
}
.funds-status > strong > span {
  font-size: 12px;
  font-weight: 400;
}
.step-summary {
  display: none;
}
.lock-consent {
  border-left: 3px solid #a9bb9e;
  background: #f1f3e9;
  border-radius: 0 8px 8px 0;
  padding: 12px 14px;
  margin: 18px 0;
}
.lock-consent > strong {
  font-size: 12px;
}
.lock-consent > p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 4px;
}
.detail-row {
  font-size: 13px;
}
.status-panel > p,
.payment-panel > p,
.seller-intro,
.resolution-panel > p {
  font-size: 14px;
  line-height: 1.7;
}
.status-panel .small-note,
.small-note {
  font-size: 12px;
}
.important-note {
  margin-top: 16px;
  font-size: 13px;
}
.important-note > span {
  font-size: 13px;
}
.status-panel > .button {
  margin-top: 16px;
}
.resolution-panel > .button {
  margin-top: 12px;
}
.receipt-amount,
.summary-amount > strong,
.wallet-balance > strong {
  overflow-wrap: anywhere;
}
@media (max-width: 760px) {
  .sidebar {
    padding-top: 14px;
  }
  .wordmark {
    font-size: 26px;
  }
  .sidebar nav {
    margin-top: 12px;
  }
  .sidebar .nav-item {
    min-height: 44px;
    font-size: 12px;
  }
  .app-header {
    min-height: 78px;
    padding: 10px 20px;
    gap: 10px;
  }
  .header-actions {
    width: auto;
    gap: 6px;
  }
  .demo-badge {
    max-width: 220px;
  }
  main {
    padding-top: 22px;
  }
  .page-heading h1 {
    font-size: 28px;
  }
  .back-link {
    margin-bottom: 10px;
  }
  .icon-button {
    width: 44px;
    height: 44px;
  }
  .wallet-button {
    min-height: 44px;
  }
}
@media (max-width: 620px) {
  .demo-badge {
    max-width: 132px;
  }
  .demo-badge > span {
    display: block;
  }
  .wallet-full-label {
    display: none;
  }
  .wallet-short-label {
    display: inline;
  }
  .wallet-button {
    padding: 7px 9px;
    gap: 6px;
  }
  .wallet-button > .avatar {
    width: 24px;
    height: 24px;
  }
  .nav-count {
    display: none;
  }
  .app-header {
    padding-left: 17px;
    padding-right: 17px;
  }
  main {
    padding-top: 18px;
  }
  .page-heading {
    margin-bottom: 20px;
    gap: 12px;
  }
  .page-heading > div > p:last-child {
    font-size: 13px;
  }
  .quote-panel {
    padding: 20px;
  }
  .quote-panel form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
  }
  .quote-panel .money-field {
    padding: 11px;
    gap: 7px;
  }
  .quote-panel .money-input {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .quote-panel .money-input > input,
  .quote-panel .money-input > output {
    font-size: clamp(21px, 6vw, 27px);
    line-height: 1.25;
    flex-basis: 100%;
    overflow-wrap: anywhere;
  }
  .quote-panel .exchange-divider {
    display: none;
  }
  .quote-panel .money-field > span:first-child {
    font-size: 12px;
  }
  .quote-panel .currency-label {
    font-size: 12px;
  }
  .quote-panel .quote-terms,
  .quote-panel #quote-error,
  .quote-panel #reserve-button,
  .quote-panel #quote-note {
    grid-column: 1 / -1;
  }
  .quote-panel .quote-terms {
    margin: 0;
  }
  .quote-panel #quote-note {
    margin-top: 0;
  }
  .quote-heading {
    margin-bottom: 16px;
  }
  .trade-status {
    padding: 12px 14px;
    gap: 8px;
    margin-bottom: 16px;
  }
  .trade-status-copy {
    gap: 8px;
  }
  .trade-status-copy > .icon {
    width: 17px;
    height: 17px;
  }
  .trade-status-copy p {
    display: none;
  }
  .trade-status-copy strong {
    font-size: 13px;
  }
  .next-actor {
    margin-top: 3px;
  }
  .funds-status {
    font-size: 12px;
  }
  .funds-status > strong {
    font-size: 16px;
  }
  .funds-status > span:last-child {
    display: none;
  }
  .step-summary {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 12px;
    margin-bottom: 8px;
    color: var(--muted);
  }
  .step-summary > strong {
    font-weight: 500;
    color: var(--ink);
  }
  .steps {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
  }
  .steps > li {
    flex: 1;
    min-width: 0;
    display: flex;
    justify-content: center;
  }
  .steps > li > strong {
    position: absolute;
    clip-path: inset(50%);
    width: 1px;
    height: 1px;
    overflow: hidden;
    white-space: nowrap;
  }
  .steps > li > span {
    width: 23px;
    height: 23px;
  }
  .steps > li:not(:last-child)::after {
    content: '';
    position: absolute;
    height: 1px;
    background: var(--line);
    left: calc(50% + 16px);
    width: calc(100% - 24px);
    top: 11px;
  }
  .status-panel {
    padding: 22px;
  }
  .status-panel > .status-symbol {
    display: none;
  }
  .status-panel > h2 {
    font-size: 22px;
    line-height: 1.3;
  }
  .status-panel > p,
  .payment-panel > p {
    font-size: 13px;
    margin: 10px 0;
  }
  .lock-consent {
    margin: 12px 0;
    padding: 9px 11px;
  }
  .lock-consent > p {
    font-size: 12px;
  }
  .trade-summary .detail-row,
  .disclosure .detail-row {
    font-size: 12px;
  }
  .receipt-pair {
    gap: 8px;
    padding: 18px;
  }
  .receipt-pair > span {
    font-size: 21px;
    overflow-wrap: anywhere;
  }
  .consent {
    min-height: 44px;
    font-size: 13px;
  }
  dialog {
    padding: 30px 23px;
  }
  dialog .button {
    font-size: 13px;
  }
  input:not([readonly]),
  select {
    font-size: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .spinner {
    animation: none;
    border-top-color: currentColor;
  }
}

@media (max-width: 620px) {
  .resolution-panel > .status-symbol {
    display: none;
  }
  .resolution-panel > p {
    font-size: 13px;
    line-height: 1.6;
  }
  .resolution-panel .detail-row {
    padding-top: 9px;
    padding-bottom: 9px;
  }
}
.deadline-note {
  margin: 12px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.deadline-note time {
  color: var(--ink);
  font-weight: 500;
}

@media (max-width: 620px) {
  .trade-heading > .pill {
    display: none;
  }
  .payment-amount {
    font-size: 38px;
    line-height: 1.25;
    margin: 8px 0;
  }
  .payment-panel > .lock-confirmed-label {
    margin: 8px 0;
    color: var(--green);
    font-size: 12px;
    line-height: 1.5;
  }
  .payment-panel > .pay-deadline {
    font-size: 12px;
    line-height: 1.5;
    margin: 10px 0 14px;
    color: var(--muted);
  }
  .pay-deadline time {
    color: var(--ink);
    font-weight: 500;
  }
  .payment-panel > .payment-note {
    margin: 12px 0 0;
    font-size: 12px;
  }
}

@media (max-width: 620px) {
  .sidebar {
    padding-top: 12px;
  }
  .sidebar nav {
    margin-top: 8px;
  }
  .app-header {
    padding-top: 6px;
    padding-bottom: 6px;
  }
  .back-link {
    min-height: 28px;
    margin-bottom: 6px;
  }
  .page-heading {
    margin-bottom: 14px;
  }
  .trade-status {
    margin-bottom: 12px;
  }
  .steps {
    margin-bottom: 12px;
  }
  .payment-panel .section-title {
    margin-bottom: 10px;
  }
  .payment-panel .recipient-card {
    padding: 12px;
  }
  .payment-amount {
    margin: 6px 0;
  }
}
