:root {
  color-scheme: dark;
  font-family: Inter, 'Segoe UI', Arial, sans-serif;
  background: #0c151e;
  color: #edf3f8;
  font-variant-numeric: tabular-nums;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header {
  background: #101f2a;
  border-bottom: 1px solid #30404b;
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 36px;
  padding: 0 max(24px, calc((100vw - 1320px) / 2));
}
a {
  color: #a3d6fa;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #eef6fc;
  font-weight: 750;
  font-size: 21px;
  letter-spacing: -0.6px;
}
.brand img {
  width: 26px;
  height: 26px;
}
nav {
  display: flex;
  gap: 24px;
  align-self: stretch;
}
nav a {
  display: flex;
  align-items: center;
  border-bottom: 3px solid transparent;
  color: #b0bfcd;
  font-size: 14px;
  font-weight: 600;
}
nav a[aria-current='page'] {
  border-color: #97d4ff;
  color: white;
}
.desk {
  margin-left: auto;
  font-size: 13px;
  white-space: nowrap;
}
main {
  max-width: 1368px;
  margin: auto;
  padding: 38px 24px 58px;
}
.intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
h1 {
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -1.6px;
  line-height: 1.08;
  margin: 0;
}
p {
  line-height: 1.55;
}
.intro p,
.context,
.pager,
#status {
  color: #a6b9c9;
  font-size: 14px;
}
.intro p {
  margin: 8px 0 0;
}
#status:not(:empty) {
  margin-top: 15px;
  color: #f3cf91;
}
button,
select,
input {
  font: inherit;
  color: #e7f0f6;
  background: #152634;
  border: 1px solid #425a6b;
  border-radius: 5px;
  min-height: 38px;
  padding: 7px 11px;
}
button {
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}
button:hover:enabled {
  border-color: #95d5ff;
  background: #1b3446;
}
button:disabled {
  opacity: 0.45;
  cursor: default;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid #8bd0ff;
  outline-offset: 2px;
}
.primary {
  background: #98d3ff;
  color: #0d2030;
}
.metrics {
  display: flex;
  gap: 0;
  margin: 26px 0;
  border-block: 1px solid #2e424f;
  padding: 16px 0;
}
.metric {
  flex: 1;
  padding: 0 18px;
  border-left: 1px solid #2e424f;
}
.metric:first-child {
  padding-left: 0;
  border-left: 0;
}
.metric span,
.metric strong {
  display: block;
}
.metric span {
  font-size: 12px;
  color: #a8bac7;
  margin-bottom: 5px;
}
.metric strong {
  font-size: 19px;
  line-height: 1.2;
}
.toolbar,
.actions,
.pager {
  display: flex;
  gap: 12px;
  align-items: end;
  flex-wrap: wrap;
}
.search {
  margin-left: auto;
}
.toolbar label,
.formgrid label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-weight: 600;
  font-size: 12px;
  color: #bdcfdd;
}
input,
select {
  font-size: 14px;
  font-weight: 400;
  min-width: 0;
}
.formgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 11px;
}
.actions {
  margin-top: 13px;
}
form {
  background: #13212a;
  border: 1px solid #334b59;
  padding: 16px;
  margin-top: 16px;
  border-radius: 6px;
}
.frame {
  overflow: auto;
  border: 1px solid #2c4251;
  border-radius: 7px;
  background: #101d27;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: right;
}
th {
  font-size: 12px;
  font-weight: 600;
  color: #aac0cf;
  background: #162835;
  white-space: nowrap;
}
td,
th {
  padding: 11px 13px;
  border-bottom: 1px solid #263944;
}
td:first-child,
th:first-child {
  text-align: left;
}
td small {
  display: block;
  font-size: 11px;
  line-height: 1.4;
  color: #a9bdcb;
  margin-top: 3px;
  font-weight: 400;
}
td:first-child strong {
  color: #f7fbff;
}
tr:last-child td {
  border-bottom: 0;
}
.positive {
  color: #7de0b5;
}
.negative {
  color: #ff9b9b;
}
.empty {
  text-align: center !important;
  color: #a5bac8;
  padding: 28px 12px;
}
.pager {
  align-items: center;
  margin-top: 13px;
}
.pager span {
  margin-right: auto;
}
.context {
  margin: 14px 0;
}
.frame button {
  min-height: 28px;
  font-size: 12px;
}
.frame td:nth-child(7) {
  white-space: nowrap;
}
[hidden] {
  display: none !important;
}
@media (max-width: 720px) {
  main {
    padding: 25px 14px;
  }
  header {
    padding: 10px 14px 0;
    gap: 8px 18px;
    flex-wrap: wrap;
  }
  nav {
    order: 3;
    width: 100%;
    gap: 22px;
  }
  nav a {
    padding: 10px 0 9px;
  }
  .metrics {
    flex-wrap: wrap;
    gap: 15px;
    margin: 18px 0;
  }
  .metric {
    min-width: 40%;
    padding: 0;
    border: 0;
  }
  .metric strong {
    font-size: 17px;
  }
  .desk {
    font-size: 12px;
  }
  .toolbar {
    gap: 10px;
  }
  .search {
    margin-left: 0;
  }
  .context {
    font-size: 13px;
  }
  td,
  th {
    padding: 9px 10px;
  }
  table {
    min-width: 700px;
  }
  .toolbar label {
    min-width: 0;
  }
  .formgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .intro {
    align-items: start;
  }
  .frame {
    overscroll-behavior-x: contain;
  }
}
