:root {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    sans-serif;
  color: #182a33;
  background: #f3f5f4;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header {
  height: 80px;
  background: #fff;
  border-bottom: 1px solid #dae2de;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(28px, calc((100vw - 1240px) / 2));
}
a {
  color: inherit;
  text-decoration: none;
}
.brand {
  font-size: 29px;
  font-weight: 750;
  letter-spacing: -1.5px;
}
.brand span {
  color: #18866b;
}
.brand small {
  font-size: 10px;
  letter-spacing: 2px;
  margin-left: 16px;
  color: #64756e;
}
header > a:last-child {
  font-size: 13px;
}
main {
  max-width: 1296px;
  margin: auto;
  padding: 36px 28px;
}
.heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 2px;
  color: #18866b;
  margin: 0 0 10px;
}
h1 {
  font-size: 38px;
  letter-spacing: -1.5px;
  margin: 0 0 10px;
  font-weight: 650;
}
.heading p:last-child {
  color: #63746e;
  font-size: 14px;
  margin: 0;
}
.badge {
  padding: 7px 10px;
  border: 1px solid #dbe5df;
  border-radius: 6px;
  font-size: 10px;
  color: #486056;
  background: #f8fbf9;
  white-space: nowrap;
}
.pipeline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #e8eee9;
  padding: 22px 26px;
  border: 1px solid #d9e3dc;
  border-radius: 10px;
  margin: 27px 0 20px;
}
.pipeline span {
  font-size: 11px;
  color: #788b7f;
}
.pipeline b {
  color: #26483a;
  margin-left: 9px;
  font-size: 13px;
}
.pipeline small {
  display: block;
  margin: 7px 0 0 24px;
  color: #60766a;
  font-size: 11px;
}
.pipeline i {
  font-style: normal;
  color: #95a89b;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.metrics article {
  padding: 20px 22px;
  background: white;
  border: 1px solid #dce5df;
  border-radius: 9px;
}
.metrics span,
.summary span {
  font-size: 12px;
  color: #63776c;
  display: block;
}
.metrics strong {
  display: block;
  font-size: 31px;
  font-weight: 600;
  margin-top: 9px;
  font-variant-numeric: tabular-nums;
}
.caption {
  color: #728079;
  font-size: 11px;
  line-height: 1.7;
}
.workspace {
  display: grid;
  grid-template-columns: 350px minmax(0, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.panel {
  background: #fff;
  border: 1px solid #dce5df;
  border-radius: 10px;
  padding: 24px;
  min-width: 0;
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  gap: 10px;
}
h2 {
  font-size: 17px;
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.3px;
}
.dot {
  font-size: 9px;
  letter-spacing: 1px;
  color: #18866b;
}
label {
  display: block;
  font-size: 11px;
  font-weight: 550;
  color: #4b6256;
}
input,
select,
button {
  font: inherit;
}
input,
select {
  display: block;
  width: 100%;
  height: 40px;
  padding: 9px 10px;
  border: 1px solid #d5dfd8;
  border-radius: 5px;
  background: #fcfdfc;
  font-size: 12px;
  color: #24392e;
  margin: 7px 0 15px;
  min-width: 0;
}
input:focus,
select:focus {
  outline: 2px solid #48a387;
  outline-offset: 1px;
}
button {
  border: 1px solid #d4dfd7;
  border-radius: 5px;
  background: #fff;
  color: #355544;
  padding: 10px 12px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
}
button:hover {
  background: #eef5ef;
}
button:disabled {
  opacity: 0.45;
  cursor: default;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid #168467;
  outline-offset: 3px;
}
.pair {
  display: grid;
  grid-template-columns: 1fr 105px;
  gap: 12px;
}
.input-action {
  display: flex;
  align-items: start;
  gap: 5px;
}
.input-action input {
  flex: 1;
}
.input-action button {
  margin-top: 7px;
  height: 40px;
  white-space: nowrap;
}
.primary {
  width: 100%;
  background: #177958;
  color: #fff;
  border-color: #177958;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  padding: 13px 15px;
}
.primary:hover {
  background: #116647;
}
.secondary {
  width: 100%;
  margin-top: 9px;
  background: #f8faf8;
}
#send-status {
  font-size: 12px;
  background: #f2f6f3;
  padding: 12px;
  border-radius: 5px;
  overflow-wrap: anywhere;
  line-height: 1.6;
}
.lookup {
  display: flex;
  gap: 10px;
  align-items: center;
}
.lookup label {
  flex: 1;
}
.lookup button {
  height: 40px;
}
.summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0 24px;
  border-bottom: 1px solid #e4ebe6;
  margin-bottom: 22px;
}
.summary strong {
  display: block;
  margin-top: 9px;
  font-size: 28px;
  font-weight: 600;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
.summary > div:first-child strong {
  color: #187857;
}
.filters {
  display: flex;
  gap: 10px;
  align-items: center;
}
.filters label {
  flex: 1;
  min-width: 0;
}
.filters button {
  height: 40px;
}
.filters input {
  font-size: 11px;
}
.table-wrap {
  overflow: auto;
  min-height: 260px;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 12px;
}
th {
  font-size: 10px;
  font-weight: 600;
  color: #748579;
  padding: 12px 8px;
  background: #f7f9f7;
  white-space: nowrap;
}
td {
  border-bottom: 1px solid #edf0ed;
  padding: 14px 8px;
  max-width: 230px;
  overflow-wrap: anywhere;
}
td small {
  display: block;
  color: #829085;
  font-size: 10px;
  margin-top: 5px;
}
th:not(:first-child),
td:not(:first-child) {
  text-align: right;
}
td:last-child {
  font-weight: 600;
  color: #197553;
}
.empty {
  text-align: center !important;
  color: #78867d !important;
  padding: 65px 10px !important;
  font-weight: 400 !important;
}
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  border-top: 1px solid #e6ece7;
  padding-top: 16px;
  font-size: 11px;
  color: #6f8075;
}
.pagination button {
  padding: 8px;
}
#ledger-status {
  color: #a23f30;
  font-size: 12px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 25px;
  color: #7c8981;
  font-size: 10px;
  line-height: 1.8;
}
@media (max-width: 900px) {
  .workspace {
    grid-template-columns: 300px minmax(0, 1fr);
  }
  .panel {
    padding: 18px;
  }
  .filters {
    flex-wrap: wrap;
  }
  .filters label {
    flex-basis: 100%;
  }
  .summary {
    flex-direction: column;
  }
  .metrics article {
    padding: 16px;
  }
  .pipeline {
    padding: 18px 12px;
  }
  .pipeline small {
    font-size: 10px;
  }
}
@media (max-width: 680px) {
  header {
    height: 64px;
    padding: 0 20px;
  }
  .brand small {
    display: none;
  }
  main {
    padding: 25px 16px;
  }
  .heading {
    align-items: start;
  }
  h1 {
    font-size: 29px;
  }
  .heading p:last-child {
    font-size: 12px;
  }
  .metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .workspace {
    grid-template-columns: 1fr;
  }
  .pipeline {
    gap: 8px;
    overflow: auto;
  }
  .pipeline small {
    display: none;
  }
  .pipeline b {
    margin-left: 3px;
    white-space: nowrap;
  }
  .pipeline span {
    font-size: 9px;
  }
  .pipeline b {
    font-size: 10px;
  }
  .summary {
    flex-direction: row;
  }
  .summary strong {
    font-size: 22px;
  }
  .filters label {
    flex-basis: 40%;
  }
  .pagination {
    flex-wrap: wrap;
  }
  footer {
    flex-direction: column;
    gap: 5px;
  }
}
