:root { color-scheme: light; --ink: #17211d; --muted: #616a66; --line: #dce2df; --soft: #f5f7f6; --blue: #2452c6; --green: #166440; --mono: "SFMono-Regular", Consolas, monospace; }
* { box-sizing: border-box; letter-spacing: 0; }
body { margin: 0; background: white; color: var(--ink); font: 14px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button { font: inherit; cursor: pointer; min-height: 42px; border: 1px solid #b9c4bf; background: white; color: var(--ink); border-radius: 5px; padding: 9px 15px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-weight: 600; line-height: 1.4; }
button:hover:not(:disabled) { background: var(--soft); border-color: var(--ink); }
button:disabled { cursor: not-allowed; opacity: .48; }
button.primary { background: var(--blue); border-color: var(--blue); color: white; }
button.primary:hover:not(:disabled) { background: #183e9e; }
:focus-visible { outline: 3px solid #8cbbfa; outline-offset: 4px; }
[hidden] { display: none !important; }
h1, h2, p { margin: 0; }
h1 { font-size: 30px; line-height: 1.3; font-weight: 650; }
h2 { font-size: 15px; font-weight: 650; }
svg { width: 17px; height: 17px; flex: none; }
.shell { width: calc(100% - 64px); max-width: 1080px; margin-inline: auto; }
header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { position: relative; display: block; width: 164px; aspect-ratio: 4.95; overflow: hidden; flex: none; }
.brand img { position: absolute; width: 110.5%; height: auto; max-width: none; top: -40%; left: -5.3%; }
.environment { color: var(--green); font-size: 12px; font-weight: 650; text-align: right; }
.environment span { color: var(--muted); }
.page-heading { display: flex; justify-content: space-between; align-items: end; gap: 18px; padding-block: 34px 22px; }
.eyebrow { color: var(--muted); font-size: 11px; text-transform: uppercase; margin-bottom: 6px; }
.local-label { display: inline-flex; gap: 7px; align-items: center; color: var(--muted); font-size: 12px; }
#status { min-height: 46px; padding: 11px 14px; background: #edf4ff; color: #274777; border-left: 3px solid var(--blue); overflow-wrap: anywhere; }
#status[data-kind="error"] { background: #fff2ec; color: #8b3318; border-color: #b34d28; }
#status[data-kind="success"] { background: #edf7f0; color: var(--green); border-color: var(--green); }
.wallet-row { padding-block: 23px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.wallet-row > div { min-width: 0; }
.wallet-row p { font-size: 12px; margin-top: 4px; overflow-wrap: anywhere; }
.mono, pre, code { font-family: var(--mono); }
.muted { color: var(--muted); }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }
.workspace { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); border-bottom: 1px solid var(--line); }
.request-section, .payment-section { padding-block: 25px; min-width: 0; }
.request-section { padding-right: 34px; }
.payment-section { border-left: 1px solid var(--line); padding-left: 34px; }
.section-heading { display: flex; gap: 15px; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.method { color: var(--green); font: 600 11px var(--mono); }
.endpoint { font-size: 12px; overflow-wrap: anywhere; margin-bottom: 12px; }
pre { margin: 0; padding: 17px; background: var(--soft); border: 1px solid var(--line); border-radius: 4px; font-size: 12px; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
dl { margin: 19px 0 23px; font-size: 12px; }
dl > div { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-top: 10px; }
dt { color: var(--muted); flex: none; }
dd { margin: 0; text-align: right; }
.amount { font-size: 30px; line-height: 1.5; font-weight: 600; min-height: 48px; }
.amount span { font-size: 13px; color: var(--muted); font-weight: 400; }
.payment-meta > div { align-items: start; }
.payment-meta .address { max-width: 270px; }
.address { overflow-wrap: anywhere; min-width: 0; }
.state { font-size: 11px; color: var(--green); text-align: right; }
.recovery-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 23px; font-size: 11px; }
.recovery-row > div { min-width: 0; }
.recovery-row code { display: block; margin-top: 3px; overflow-wrap: anywhere; }
.icon-button { width: 38px; min-height: 38px; padding: 0; flex: none; }
.response-section { padding-block: 23px; }
#result { min-height: 122px; max-height: 360px; overflow-y: auto; }
#receipt { font-size: 11px; margin-top: 10px; }
footer { border-top: 1px solid var(--line); padding-block: 16px 24px; display: flex; justify-content: space-between; gap: 12px; font-size: 11px; color: var(--muted); }
@media (max-width: 760px) {
  .shell { width: calc(100% - 36px); }
  .header-inner { min-height: 66px; }
  .brand { width: 140px; }
  .environment span, .local-label { display: none; }
  .page-heading { padding-top: 25px; }
  .wallet-row { align-items: start; flex-direction: column; gap: 16px; }
  .workspace { grid-template-columns: minmax(0, 1fr); }
  .request-section { padding-right: 0; }
  .payment-section { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .payment-meta .address { max-width: 250px; }
}
@media (max-width: 380px) {
  .shell { width: calc(100% - 28px); }
  .environment { max-width: 88px; }
  .payment-meta > div { flex-direction: column; gap: 5px; }
  .payment-meta dd { text-align: left; }
}
