.nx-page {
  max-width: 1380px;
  margin: 0 auto;
  color: #242830;
  font:
    14px/1.55 Raleway,
    Arial,
    sans-serif;
  overflow-wrap: anywhere;
}
.nx-page *,
.nx-page *::before,
.nx-page *::after {
  box-sizing: border-box;
}
.nx-heading,
.nx-row,
.nx-tabs,
.nx-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.nx-heading {
  justify-content: space-between;
  align-items: start;
  margin-bottom: 20px;
}
.nx-page h1 {
  font-size: clamp(25px, 3vw, 35px);
  letter-spacing: -0.035em;
  margin: 0 0 8px;
  line-height: 1.15;
}
.nx-page h2 {
  font-size: 22px;
  margin: 15px 0 10px;
}
.nx-page h3 {
  font-size: 17px;
  margin: 13px 0 9px;
}
.nx-page h4 {
  font-size: 14px;
  margin: 8px 0;
}
.nx-page p {
  margin: 8px 0 13px;
}
.nx-page .nx-eyebrow {
  font-size: 11px;
  font-weight: 800;
  color: #982637;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 9px;
}
.nx-page a {
  color: #902238;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.nx-tabs {
  border-bottom: 1px solid #cad0d5;
  padding-bottom: 12px;
  margin-bottom: 8px;
}
.nx-page button {
  padding: 9px 13px;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  border: 1px solid #b9c1c8;
  border-radius: 5px;
  background: #fff;
  color: #28313a;
  cursor: pointer;
  line-height: 1.4;
  min-height: 38px;
}
.nx-page button:hover {
  background: #f6ecee;
  border-color: #9b3447;
}
.nx-page button.nx-primary,
.nx-tabs button[aria-current="page"] {
  background: #9f2940;
  border-color: #9f2940;
  color: white;
}
.nx-page button:disabled {
  opacity: 0.55;
  cursor: default;
}
.nx-page
  :is(button, a, summary, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid #a93850;
  outline-offset: 3px;
}
.nx-page label {
  display: block;
  font-size: 12px;
  font-weight: 650;
  margin: 12px 0;
  min-width: 0;
}
.nx-page input:not([type="checkbox"]),
.nx-page select,
.nx-page textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-top: 5px;
  padding: 10px;
  border: 1px solid #b6bfc7;
  border-radius: 4px;
  background: #fff;
  color: #242830;
  font: inherit;
  line-height: 1.4;
}
.nx-page textarea {
  resize: vertical;
  min-height: 82px;
}
.nx-page input[type="checkbox"] {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin: 1px 0;
  accent-color: #982637;
}
.nx-page .nx-check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-weight: 500;
  font-size: 13px;
}
.nx-page fieldset {
  border: 1px solid #dce0e4;
  padding: 12px 16px;
  margin: 18px 0;
  border-radius: 5px;
  min-width: 0;
}
.nx-page legend {
  font-weight: 750;
  padding: 0 5px;
}
.nx-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
}
.nx-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 14px 0 25px;
  align-items: start;
}
.nx-record {
  border: 1px solid #d4d9de;
  border-radius: 6px;
  background: #fff;
  padding: 19px;
  min-width: 0;
  margin: 15px 0;
  box-shadow: inset 0 1px 3px #1d283008;
}
.nx-cards > .nx-record {
  margin: 0;
}
.nx-row {
  justify-content: space-between;
  align-items: baseline;
}
.nx-badge {
  font-size: 10px;
  line-height: 1.4;
  text-transform: uppercase;
  font-weight: 750;
  letter-spacing: 0.02em;
  padding: 4px 7px;
  border-radius: 4px;
  background: #efe9ec;
  color: #703044;
  max-width: 100%;
}
.nx-value {
  font-size: 21px;
  font-weight: 750;
  line-height: 1.3;
}
.nx-value small {
  font-size: 13px;
  font-weight: 500;
}
.nx-muted {
  color: #596573;
  font-size: 12px;
}
.nx-details {
  border: 1px solid #d6dbe0;
  background: #f9fafb;
  border-radius: 5px;
  padding: 12px 14px;
  margin: 12px 0;
  min-width: 0;
}
.nx-details summary {
  cursor: pointer;
  font-weight: 650;
  font-size: 12px;
  color: #343a45;
}
.nx-details[open] > summary {
  margin-bottom: 14px;
}
.nx-page blockquote {
  margin: 12px 0;
  padding: 10px 14px;
  border-left: 3px solid #a74054;
  background: #f5f0f2;
  font-size: 13px;
  white-space: pre-wrap;
}
.nx-source h4 {
  margin-top: 0;
}
.nx-rule {
  border-bottom: 1px solid #dde1e4;
  padding: 10px 0;
}
.nx-rule:last-child {
  border-bottom: 0;
}
.nx-pairs {
  display: grid;
  grid-template-columns: minmax(80px, 0.65fr) minmax(0, 1.35fr);
  gap: 7px 12px;
  margin: 12px 0;
  font-size: 12px;
}
.nx-pairs dt {
  font-weight: 750;
}
.nx-pairs dd {
  margin: 0;
}
.nx-banner {
  border-left: 4px solid #a53b4d;
  padding: 14px 18px;
  background: #f6edef;
  margin: 16px 0;
}
.nx-empty {
  padding: 16px;
  color: #606a75;
  background: #f1f3f5;
  border-radius: 5px;
}
.nx-status {
  font-size: 13px;
  color: #365b47;
  margin: 12px 0;
  min-height: 20px;
}
.nx-error {
  padding: 13px 17px;
  border: 1px solid #c56d7b;
  background: #fbeef1;
  color: #8a2038;
  border-radius: 4px;
  margin: 12px 0;
}
.nx-table {
  max-width: 100%;
  overflow: auto;
  margin: 12px 0;
}
.nx-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.nx-table th,
.nx-table td {
  text-align: left;
  padding: 9px;
  border-bottom: 1px solid #d9dfe4;
}
.nx-page pre {
  font-size: 11px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #f0f2f4;
  padding: 12px;
  max-height: 480px;
  overflow: auto;
}
.nx-page code {
  font-size: 11px;
  overflow-wrap: anywhere;
}
.nx-page [hidden] {
  display: none !important;
}
@media (max-width: 850px) {
  .nx-cards {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .nx-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .nx-heading {
    margin-top: 12px;
  }
  .nx-record {
    padding: 14px;
  }
  .nx-details {
    padding: 11px;
  }
  .nx-tabs {
    gap: 7px;
  }
  .nx-tabs button {
    flex: 1 1 42%;
  }
  .nx-pairs {
    grid-template-columns: minmax(75px, 0.7fr) minmax(0, 1.3fr);
  }
  .nx-actions button {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .nx-page * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
