@font-face {
  font-family: "DM Sans";
  src: url("/fonts/dm-sans.ttf") format("truetype");
  font-weight: 100 1000;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #172a3c;
  --muted: #536676;
  --line: #dce3e9;
  --paper: #f7f9fb;
  --white: #fff;
  --forest: #102c23;
  --link: #165e9b;
  --lime: #c8f58a;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "DM Sans", Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 15px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
}
button,
a,
select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #397fb4;
  outline-offset: 3px;
}
.wrap,
.bar-inner {
  width: min(1240px, calc(100% - 80px));
  margin: auto;
}
.topbar {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.bar-inner {
  display: flex;
  align-items: center;
  gap: 38px;
  min-height: 73px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  white-space: nowrap;
  font-size: 17px;
  font-weight: 560;
  letter-spacing: -0.6px;
}
.brand b {
  font-size: 30px;
  letter-spacing: -2px;
  font-weight: 830;
  line-height: 1;
}
.brand-divider {
  width: 1px;
  height: 20px;
  background: #cbd6cc;
  margin: 0 1px;
}
.mark,
.mini-mark {
  display: inline-block;
  position: relative;
  background: var(--forest);
  border-radius: 9px;
  width: 36px;
  height: 36px;
}
.mark:before,
.mini-mark:before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 4px solid var(--lime);
  border-radius: 6px 6px 4px 6px;
  transform: rotate(-3deg);
}
.mark:after,
.mini-mark:after {
  content: "";
  position: absolute;
  right: 5px;
  bottom: 6px;
  width: 10px;
  height: 5px;
  background: var(--lime);
  transform: rotate(43deg);
}
.main-nav {
  display: flex;
  align-self: stretch;
  align-items: stretch;
  gap: 23px;
  margin-left: auto;
}
.main-nav a {
  font-size: 14px;
  color: var(--muted);
  display: flex;
  align-items: center;
  position: relative;
  font-weight: 575;
}
.main-nav a[aria-current="page"],
.main-nav a:hover {
  color: var(--ink);
}
.main-nav a[aria-current="page"]:after {
  content: "";
  position: absolute;
  height: 3px;
  bottom: 0;
  left: 0;
  right: 0;
  border-radius: 2px;
  background: var(--link);
}
.network,
.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 30px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.2;
}
.network {
  color: #4b5a52;
  border: 1px solid var(--line);
  background: #f6f8f5;
  padding: 7px 11px;
  letter-spacing: 0.25px;
}
.network i {
  border-radius: 50%;
  width: 7px;
  height: 7px;
  background: #849087;
  display: inline-block;
}
.network.online i {
  background: #67b74a;
}
.network.offline i {
  background: #cc7c3d;
}
main.wrap {
  padding: 32px 0 48px;
  min-height: calc(100vh - 151px);
}
.hero {
  background: #183347;
  color: white;
  padding: clamp(22px, 4vw, 40px);
  border-radius: 14px;
}
.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(25px, 3.2vw, 39px);
  line-height: 1.15;
  letter-spacing: -1.1px;
  font-weight: 650;
}
.hero .search {
  max-width: 760px;
}
.search {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}
.search .field {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  color: var(--ink);
  border: 1px solid #cbd7cf;
  min-height: 49px;
  border-radius: 9px;
  padding: 5px 5px 5px 16px;
  flex: 1;
  min-width: 0;
}
.search input {
  min-width: 0;
  flex: 1;
  width: 100%;
  border: none;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
}
.search input:focus-visible {
  outline: 0;
}
.field:focus-within {
  outline: 2px solid #6ba9d3;
  outline-offset: 2px;
}
.search input::placeholder {
  color: #647269;
}
.search button,
.solid {
  border: 0;
  background: var(--lime);
  border-radius: 6px;
  padding: 8px 15px;
  color: #19351d;
  font-weight: 700;
  display: inline-flex;
  gap: 9px;
  align-items: center;
  white-space: nowrap;
}
.search button:hover,
.solid:hover {
  background: #aff075;
}
.search .mag {
  position: relative;
  width: 14px;
  height: 14px;
  border: 1.7px solid #506256;
  border-radius: 50%;
  flex: none;
}
.mag:after {
  content: "";
  position: absolute;
  width: 6px;
  height: 1.7px;
  right: -5px;
  bottom: -2px;
  transform: rotate(45deg);
  background: #506256;
}
.search-error {
  color: #8b3436;
  font-size: 13px;
  margin: 7px 0 0;
}
.hero .search-error {
  color: #ffd6b5;
}
.search-error:empty {
  display: none;
}
.compact-search {
  max-width: 525px;
  margin: 0 0 23px;
}
.compact-search .field {
  min-height: 41px;
}
.compact-search button {
  padding: 5px 11px;
}
.compact-search input {
  font-size: 13px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  margin: 18px 0 27px;
}
.metric {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 17px 19px 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px;
  align-items: start;
  transition: border-color 0.15s;
}
.metric:hover,
.panel-foot:hover {
  border-color: #aabfab;
}
.metric-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 570;
}
.metric strong {
  font-size: 31px;
  line-height: 1.08;
  font-weight: 670;
  letter-spacing: -1.45px;
  grid-column: 1;
}
.metric-icon {
  display: grid;
  place-items: center;
  border-radius: 9px;
  font-family: var(--sans);
  font-weight: 530;
}
.metric-icon {
  grid-column: 2;
  grid-row: 1 / span 2;
  color: #496a4a;
  background: #f0f5eb;
  width: 35px;
  height: 35px;
  font-size: 21px;
}
.cards {
  display: grid;
  grid-template-columns: minmax(0, 1.09fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.panel {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  overflow: hidden;
}
.panel-head {
  padding: 18px 21px 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.panel h2,
.subheading {
  font-size: 19px;
  font-weight: 665;
  letter-spacing: -0.65px;
  margin: 0;
}
.panel-link,
.json-link {
  font-size: 12px;
  font-weight: 620;
  color: var(--link);
  white-space: nowrap;
}
.panel-link:hover,
.json-link:hover,
.textlink:hover {
  text-decoration: underline;
}
.panel-head .panel-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.feed {
  list-style: none;
  margin: 0;
  padding: 0 20px;
}
.feed li {
  border-top: 1px solid #edf0eb;
}
.feed a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 63px;
  padding: 8px 1px;
}
.feed a:hover .feed-main b {
  color: var(--link);
  text-decoration: underline;
}
.feed-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.feed-main b {
  font-size: 14px;
  font-weight: 650;
}
.feed-main .mono {
  font-size: 13px;
  letter-spacing: -0.5px;
}
.feed small,
.muted {
  color: var(--muted);
}
.feed small {
  font-size: 12px;
}
.feed-side {
  margin-left: auto;
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  font-size: 13px;
  white-space: nowrap;
}
.feed-side strong {
  font-weight: 575;
  font-variant-numeric: tabular-nums;
}
.panel-foot {
  display: block;
  text-align: center;
  padding: 11px 15px;
  background: #f9fbf8;
  color: var(--link);
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
}
.panel-foot:hover {
  background: #f0f6eb;
}
.mono,
.hash {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}
.hash {
  font-size: 12px;
  overflow-wrap: anywhere;
}
.foot {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.foot-in {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.foot-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
}
.mini-mark {
  width: 16px;
  height: 16px;
  border-radius: 4px;
}
.mini-mark:before {
  inset: 3px;
  border-width: 2px;
  border-radius: 3px;
}
.mini-mark:after {
  width: 5px;
  height: 2px;
  right: 2px;
  bottom: 3px;
}
.crumb {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 10px;
}
.crumb a:hover {
  text-decoration: underline;
}
.page-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 17px;
}
.page-title h1 {
  margin: 0;
  font-size: clamp(29px, 3.4vw, 42px);
  line-height: 1.15;
  letter-spacing: -1.8px;
  font-weight: 640;
}
.json-link,
.outline,
.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid #cfdbd0;
  background: white;
  border-radius: 7px;
  padding: 7px 11px;
}
.outline,
.page-link {
  color: var(--ink);
  font-size: 13px;
  font-weight: 550;
}
.outline:hover,
.page-link:hover {
  background: #eff5ec;
}
.section-gap {
  margin-top: 19px;
}
.filters {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.filters a {
  font-size: 13px;
  padding: 5px 10px;
  border-radius: 6px;
  color: var(--muted);
  font-weight: 550;
}
.filters a.active {
  background: #eaf4e5;
  color: #2a5736;
}
.table-box {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 14px;
}
th {
  background: #f7f9fb;
  color: var(--muted);
  font-size: 12px;
  font-weight: 590;
  white-space: nowrap;
}
td,
th {
  padding: 12px 18px;
  border-top: 1px solid #e6ece5;
}
td {
  vertical-align: middle;
}
td .hash {
  white-space: nowrap;
}
td .textlink,
.detail a.textlink,
.output-card a,
.detail-line a {
  color: var(--link);
}
.pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding: 12px 18px;
  color: var(--muted);
  font-size: 13px;
}
.pager .buttons {
  display: flex;
  gap: 7px;
}
.tag {
  background: #edf1ec;
  color: #516356;
  padding: 5px 9px;
}
.tag.green {
  background: #e4f3dc;
  color: #2d6534;
}
.tag.lilac {
  background: #f0edf7;
  color: #645080;
}
.tag.warn {
  background: #fbf0da;
  color: #79591f;
}
.detail {
  margin: 0;
  padding: 4px 21px;
}
.detail-line {
  display: grid;
  grid-template-columns: minmax(132px, 0.34fr) minmax(0, 1fr);
  gap: 18px;
  border-top: 1px solid #ebefea;
  padding: 12px 0;
  align-items: start;
}
.payment-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.payment-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 8px 16px;
  padding: 5px 0;
}
.payment-list li + li { border-top: 1px solid var(--line); }
.payment-list strong { white-space: nowrap; font-variant-numeric: tabular-nums; }
.payment-list .selected-payment strong, .received-amount { color: #176641; }
.received-amount { font-size: 20px; }
.technical {
  padding: 0 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.technical summary {
  padding: 14px 0;
  cursor: pointer;
  font-weight: 600;
}
.technical summary:focus-visible { outline: 2px solid var(--link); }
.technical-api { padding: 12px 0; }
main > .json-link { margin-top: 12px; }
@media (max-width: 600px) {
  .payment-list li { gap: 6px; }
  .metric-icon { display: none; }
  .metric { grid-template-columns: minmax(0, 1fr); }
  .metric-label { font-size: 12px; }
}
.detail-line:first-child {
  border-top: 0;
}
.detail-line dt {
  color: var(--muted);
  font-size: 13px;
}
.detail-line dd {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}
.copy {
  position: relative;
  width: 25px;
  height: 24px;
  display: inline-block;
  vertical-align: middle;
  margin-left: 5px;
  border: 0;
  border-radius: 4px;
  background: #f1f5ef;
  color: #58705b;
}
.copy:before,
.copy:after {
  content: "";
  position: absolute;
  border: 1px solid currentColor;
  border-radius: 2px;
  width: 7px;
  height: 8px;
}
.copy:before {
  left: 7px;
  top: 6px;
}
.copy:after {
  left: 10px;
  top: 9px;
  background: #f1f5ef;
}
.copy.done:before {
  content: "✓";
  width: auto;
  height: auto;
  left: 6px;
  top: 0;
  font-size: 16px;
  border: 0;
}
.copy.done:after {
  display: none;
}
.output-card {
  border-top: 1px solid #ebefea;
  padding: 13px 21px;
  overflow-wrap: anywhere;
}
.output-card strong {
  display: block;
  font-size: 17px;
  margin-bottom: 3px;
}
.output-card p {
  margin: 5px 0;
  color: var(--muted);
  font-size: 13px;
}
.output-card .hash {
  line-height: 1.6;
}
.empty,
.loading {
  padding: 24px 20px;
  color: var(--muted);
}
.error {
  border: 1px solid #dac8bd;
  background: #fffaf3;
  border-radius: 12px;
  padding: 18px 21px;
}
.error h1 {
  font-size: 22px;
  margin: 0 0 5px;
}
.error p {
  margin: 5px 0 13px;
}
.api-docs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.endpoints {
  list-style: none;
  padding: 0;
  margin: 0;
}
.endpoints li {
  border-top: 1px solid var(--line);
}
.endpoints button {
  display: flex;
  gap: 10px;
  text-align: left;
  align-items: center;
  border: 0;
  background: transparent;
  padding: 11px 18px;
  width: 100%;
  color: var(--ink);
}
.endpoints button:hover,
.endpoints button.active {
  background: #eff6eb;
}
.verb {
  font: 600 10px var(--mono);
  color: var(--link);
  background: #e3efde;
  border-radius: 4px;
  padding: 4px;
}
.endpoint {
  font: 12px var(--mono);
  overflow-wrap: anywhere;
}
.api-preview {
  background: var(--forest);
  color: #d8e9dc;
  border: 0;
}
.api-preview .panel-head {
  color: white;
}
.api-preview a {
  color: var(--lime);
}
.api-preview pre {
  overflow: auto;
  max-height: 460px;
  padding: 16px 20px;
  margin: 0;
  border-top: 1px solid #375144;
  font: 12px/1.65 var(--mono);
  tab-size: 2;
}
.hint {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 17px;
}
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2;
}
.skip:focus {
  left: 8px;
  background: white;
  padding: 9px;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.toast {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--forest);
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  z-index: 5;
}
@media (min-width: 1500px) {
  main.wrap {
    padding-top: 40px;
  }
  .hero {
    padding: 38px 42px;
  }
}
@media (max-width: 960px) {
  .wrap,
  .bar-inner {
    width: calc(100% - 48px);
  }
  .bar-inner {
    gap: 22px;
  }
  .main-nav {
    gap: 16px;
  }
  .cards {
    grid-template-columns: 1fr 1fr;
  }
  .feed,
  .panel-head {
    padding-left: 14px;
    padding-right: 14px;
  }
  .feed a {
    gap: 8px;
  }
  .feed-main .mono {
    font-size: 11px;
  }
  .metric {
    padding: 14px;
  }
  .metric-icon {
    height: 29px;
    width: 29px;
    font-size: 17px;
  }
}
@media (max-width: 730px) {
  .wrap,
  .bar-inner {
    width: calc(100% - 32px);
  }
  .bar-inner {
    flex-wrap: wrap;
    gap: 0 8px;
    min-height: 0;
    padding-top: 12px;
  }
  .brand b {
    font-size: 27px;
  }
  .mark {
    width: 32px;
    height: 32px;
  }
  .main-nav {
    order: 3;
    margin-left: 0;
    width: 100%;
    gap: 19px;
    overflow: auto;
  }
  .main-nav a {
    padding: 10px 0 9px;
    font-size: 13px;
  }
  .network {
    margin-left: auto;
  }
  .metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    margin: 12px 0 18px;
  }
  .metric strong {
    font-size: 27px;
  }
  .cards,
  .api-docs {
    grid-template-columns: 1fr;
  }
  .feed-main .mono {
    font-size: 13px;
  }
  .panel-head {
    padding-top: 16px;
  }
  .feed,
  .panel-head {
    padding-left: 16px;
    padding-right: 16px;
  }
  .feed a {
    gap: 12px;
  }
  .detail-line {
    grid-template-columns: minmax(90px, 0.35fr) minmax(0, 1fr);
    gap: 12px;
  }
  .page-title h1 {
    font-size: 31px;
  }
  main.wrap {
    padding-top: 20px;
  }
  .detail {
    padding: 3px 15px;
  }
  .foot-in {
    min-height: 52px;
  }
  .pager {
    flex-wrap: wrap;
  }
}
@media (max-width: 420px) {
  .hero {
    padding: 19px 16px;
  }
  .search button {
    padding: 8px 11px;
  }
  .search .field {
    gap: 9px;
    padding-left: 11px;
  }
  .search input {
    font-size: 12px;
  }
  .brand {
    gap: 8px;
  }
  .main-nav {
    gap: 15px;
  }
  .metric-icon {
    display: none;
  }
  .metric {
    padding: 12px;
  }
  .feed-side {
    font-size: 12px;
  }
  .detail-line {
    grid-template-columns: 1fr;
    gap: 3px;
  }
  .panel-head {
    align-items: flex-start;
  }
  .panel-head:has(.filters) {
    flex-wrap: wrap;
  }
  .compact-search {
    margin-bottom: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.contract {
  font-weight: 650;
  color: var(--link);
  margin-right: 8px;
}
