/* Product and commercial pages share the homepage's editorial surfaces and type. */
.gx-interior main .phero { background: var(--gx-white); }
.gx-interior main .phero::after { content: none; }
.gx-interior main .gx-product-figure {
  width: min(100%, 34rem);
  margin: clamp(1.35rem, 3.5vw, 2.5rem) auto 0;
}
.gx-interior main .gx-product-figure img {
  display: block;
  width: var(--sketch-width, 100%);
  height: auto;
  margin-inline: auto;
}
.gx-interior main .gx-product-note {
  margin: 0;
  padding: 0;
  max-width: 40ch;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: var(--gx-muted);
  font: 400 .93rem/1.55 var(--sans);
  letter-spacing: normal;
}

@media (min-width: 56rem) {
  .gx-interior main .phero > .wrap {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr);
    gap: .75rem clamp(3rem, 7vw, 7rem);
    padding-inline: var(--gx-gutter);
    align-items: start;
  }
  .gx-interior main .phero > .wrap > * { grid-column: 1; min-width: 0; }
  .gx-interior main .phero > .wrap > .display { margin-block: .22rem .35rem; max-width: 19ch; }
  .gx-interior main .phero > .wrap > .lead { margin: 0; max-width: 60ch; }
  .gx-interior main .phero:not(.gx-product-hero) > .wrap > .lead {
    grid-column: 2; grid-row: 2;
    align-self: end;
    max-width: 46ch;
  }
  .gx-interior main .phero > .wrap > :is(.gx-product-figure, .gx-approval-note, .gx-platform-contents, .gx-control-stages) {
    grid-column: 2; grid-row: 1 / span 4;
    align-self: center;
    margin: 0;
  }
  .gx-interior main .gx-sketch-hero > .wrap {
    grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr);
    align-items: center;
    column-gap: clamp(1.5rem, 4.5vw, 4.5rem);
  }
  .gx-interior main .gx-sketch-hero > .wrap > .gx-product-figure {
    grid-row: 1;
    width: 100%;
  }
  .gx-sketch-intro .display { max-width: 17ch; }
  #p-rails .gx-sketch-hero > .wrap { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
  #p-rails .gx-sketch-intro { grid-column: 2; grid-row: 1; }
  #p-rails .gx-sketch-hero .gx-product-figure { grid-column: 1; }
}

/* Lists of capabilities become a directory with its own introduction. */
.gx-interior main .gx-product-directory :is(.features, .cgrid) {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  align-items: start;
  gap: clamp(1.2rem, 2.3vw, 2rem) clamp(1.4rem, 3vw, 3rem);
}
.gx-interior main .gx-product-directory .feat {
  padding: .95rem 0 0;
  border: 0;
  border-top: 1px solid var(--gx-rule);
  border-radius: 0;
  background: transparent;
  transform: none;
  box-shadow: none;
}
.gx-interior main .gx-product-directory .feat h3 {
  margin: 0;
  color: var(--gx-ink);
  font: 400 clamp(1.28rem, 1.8vw, 1.62rem)/1.15 var(--serif);
  letter-spacing: -.025em;
  text-wrap: pretty;
}
.gx-interior main .gx-product-directory .feat p { color: var(--gx-muted); }
@media (min-width: 68rem) {
  .gx-interior main .gx-product-directory > .wrap {
    display: grid;
    grid-template-columns: minmax(0, .75fr) minmax(0, 1.55fr);
    gap: 1rem clamp(3rem, 5vw, 5.5rem);
  }
  .gx-interior main .gx-product-directory > .wrap > * { grid-column: 2; min-width: 0; }
  .gx-interior main .gx-product-directory > .wrap > .shead {
    display: block;
    grid-column: 1; grid-row: 1 / span 3;
    align-self: start;
    margin: 0;
  }
  .gx-interior main .gx-product-directory .shead h2 { margin-block: .8rem; }
  .gx-interior main .gx-product-directory .shead .lead { margin-block-start: 1rem; }
}

/* The visible step numbers connect long workflows on both wide and narrow screens. */
.gx-interior main .steps { border: 0; }
.gx-interior main .steps .step {
  position: relative;
  display: grid;
  grid-template-columns: 2.25rem minmax(0, .85fr) minmax(0, 1.5fr);
  gap: .45rem clamp(1rem, 3vw, 3rem);
  padding: 0 0 clamp(1.5rem, 3vw, 2.4rem);
  border: 0;
  background: transparent;
  transform: none;
}
.gx-interior main .step:last-child { padding-bottom: 0; }
.gx-interior main .step:not(:last-child)::before {
  content: "";
  position: absolute;
  inset: 2.25rem auto 0 1.1rem;
  width: 1px;
  background: var(--gx-rule);
}
.gx-interior main .step__n {
  display: grid;
  place-items: center;
  width: 2.25rem; height: 2.25rem;
  padding: 0;
  border: 1px solid var(--gx-blue);
  border-radius: 50%;
  color: var(--gx-blue);
  letter-spacing: 0;
}
.gx-interior main .step__t { padding-top: .16rem; letter-spacing: -.03em; }
.gx-interior main .step__d { grid-column: 3; padding-top: .18rem; }
@media (max-width: 48rem) {
  .gx-interior main .steps .step { grid-template-columns: 2.25rem minmax(0, 1fr); }
  .gx-interior main .step__n { grid-row: span 2; }
  .gx-interior main .step__d { grid-column: 2; padding: 0; }
}

.gx-interior main :is(.comp-scroll, .matrix-scroll, .rbac-scroll, .planfull) { border-radius: 1rem; }
.gx-interior main :is(.comp-scroll, .matrix-scroll, .rbac-scroll):focus-visible {
  outline: 2px solid var(--gx-focus);
  outline-offset: 3px;
}
.gx-interior main .band-dark .matrix-scroll:focus-visible { outline-color: var(--accent-bright); }
.gx-interior main .comp thead th, .gx-interior main .matrix thead th {
  font-size: .75rem;
  letter-spacing: .055em;
  line-height: 1.45;
}
.gx-interior main .comp thead th { background: var(--gx-paper); color: var(--gx-muted); }
.gx-interior main .comp td.gx { background: var(--gx-paper); border-left: 1px solid var(--gx-rule); }
.gx-interior main .pipe {
  padding: clamp(1.25rem, 3vw, 2.5rem);
  border-radius: 1rem;
  white-space: normal;
  overflow-wrap: anywhere;
}
@media (max-width: 48rem) {
  .gx-interior main .pipe .a { display: block; width: max-content; transform: rotate(90deg); }
}

/* Issuer operations and permission tables share the typography of the sample console. */
.gx-interior main .rbac-content { gap: clamp(2.5rem, 5vw, 5rem); }
.gx-interior main .rbac-guides { display: block; }
.gx-interior main .rbac-guides .bcard {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr);
  align-items: baseline;
  gap: .45rem 2rem;
  margin: 0;
  padding: 1.1rem .2rem;
  border: 0;
  border-top: 1px solid var(--gx-rule);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}
.gx-interior main .rbac-guides .bcard:last-child { border-bottom: 1px solid var(--gx-rule); }
.gx-interior main .rbac-guides .bcard h3 { color: var(--gx-blue); text-decoration: underline; text-underline-offset: .22em; text-decoration-thickness: 1px; }
.gx-interior main .rbac-guides .bcard:is(:hover, :focus-visible) h3 { color: var(--gx-focus); }
.gx-interior main .rbac-roles > div { border: 0; border-top: 1px solid var(--gx-rule); border-radius: 0; padding: 1rem 0; }
.gx-interior main .rbac-callout, .gx-interior main .rbac-enrollment { background: var(--gx-paper); border: 0; border-radius: 1rem; }
.gx-interior main .rbac-filters button { min-height: 44px; }
#p-administration .gx-administration-intro > .wrap { align-items: end; }
#p-administration .gx-administration-intro h1, #p-administration .gx-administration-intro .lead {
  grid-row: auto;
}
@media (min-width: 56rem) {
  #p-administration .gx-administration-intro h1,
  #p-administration .gx-administration-intro .lead { grid-row: 1; }
  #p-administration .gx-administration-intro h1 { margin: 0; }
  #p-administration .gx-administration-intro .lead {
    align-self: end;
    padding-inline-start: 1.35rem;
    border-inline-start: 2px solid var(--gx-blue);
  }
  #p-administration .rbac-content {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2.2rem, 6vw, 6.5rem);
  }
  #p-administration .rbac-guides .bcard { grid-template-columns: 1fr; gap: .25rem; }
}
@media (max-width: 45rem) {
  .gx-interior main .rbac-guides .bcard { grid-template-columns: minmax(0, 1fr); }
}

/* Keep the comparison matrix, currency, and billing controls aligned to the plan cards. */
#p-pricing .gx-pricing-band {
  margin: 0;
  padding-block: clamp(1rem, 1.8vw, 1.55rem);
  background: var(--gx-coal);
  color: var(--gx-white);
  font: 400 .875rem/1.55 var(--sans);
  letter-spacing: normal;
}
.gx-pricing-statements {
  display: flex;
  align-items: baseline;
  gap: .35rem clamp(.55rem, 1vw, 1rem);
}
.gx-pricing-statements p { margin: 0; min-width: 0; color: inherit; }
.gx-pricing-separator { opacity: .65; }
.gx-pricing-band .wrap { justify-content: center; }
@media (min-width: 75rem) {
  #p-pricing .gx-pricing-band {
    font-size: clamp(.8125rem, 1vw, .9375rem);
    letter-spacing: -.016em;
  }
  .gx-pricing-band .wrap {
    max-width: 100rem;
    padding-inline: clamp(1.125rem, 1.5vw, 2rem);
  }
}
#p-pricing .gx-pricing-band + .section { padding-block-start: clamp(2rem, 3.5vw, 3.5rem); }
@media (max-width: 49rem) {
  .gx-pricing-statements { flex-direction: column; }
  .gx-pricing-separator { display: none; }
}
#p-pricing .pricing-controls { align-items: center; justify-content: space-between; gap: .8rem 1.5rem; }
#p-pricing .ptoggle button { min-height: 44px; }
#p-pricing .plan { border-radius: 1.1rem; box-shadow: none; }
#p-pricing .plan__inc { color: var(--gx-muted); font-size: .68rem; letter-spacing: .06em; }
#p-pricing .plan__name h3 { color: var(--gx-blue); }
#p-pricing .plan__feat svg { color: var(--gx-blue); }
#p-pricing select[data-pricing-currency] { border-radius: var(--gx-pill); padding-inline: .9rem; }
#p-pricing .zero {
  color: var(--gx-ink);
  background: var(--gx-white);
  border-color: var(--gx-rule);
  border-radius: 1.1rem;
}
#p-pricing .zero__pct { color: var(--gx-blue); }
#p-pricing .zero__note { margin-block-start: .3rem; }
#p-primary-market .metrics { border: 0; border-radius: 0; background: transparent; }
#p-primary-market .metrics__in { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#p-primary-market .metric__v { color: var(--gx-blue); }
@media (max-width: 43rem) {
  #p-primary-market .metrics__in { grid-template-columns: minmax(0, 1fr); }
  #p-primary-market .metric {
    display: grid;
    grid-template-columns: minmax(0, .56fr) minmax(0, 1fr);
    gap: .15rem 1rem;
    padding: 1.1rem;
    border: 0;
  }
  #p-primary-market .metric + .metric { border-top: 1px solid var(--gx-rule); }
  #p-primary-market .metric__v { grid-row: span 2; }
}

@media print {
  .gx-interior main .gx-product-figure { display: none; }
}

/* The platform index and compliance stages use native deep links into the actual workflows. */
.gx-platform-contents, .gx-control-stages { width: 100%; margin-top: 1.75rem; }
.gx-platform-contents { border-block-start: 1px solid var(--gx-blue); }
.gx-platform-contents a {
  position: relative;
  display: block;
  min-height: 44px;
  padding: .85rem 1.6rem .85rem 0;
  border-block-end: 1px solid var(--gx-rule);
  color: var(--gx-ink);
  font: 400 clamp(1.12rem, 1.8vw, 1.55rem)/1.22 var(--serif);
  text-decoration: none;
}
.gx-platform-contents a::after, .gx-matrix-link::after {
  content: "";
  display: inline-block;
  width: .45em;
  height: .45em;
  border: solid currentColor;
  border-width: 0 1px 1px 0;
  transform: rotate(-45deg);
}
.gx-platform-contents a::after {
  position: absolute;
  inset-inline-end: .3rem;
  top: calc(50% - .22em);
}
.gx-control-stages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .5rem;
}
.gx-control-stages a:not(:last-child)::after {
  position: absolute;
  content: "";
  inset: .85rem 0 auto 1.6rem;
  height: 1px;
  background: var(--gx-blue);
  pointer-events: none;
}
.gx-control-stages a {
  display: block;
  position: relative;
  min-width: 0;
  min-height: 44px;
  padding: .42rem 0;
  color: var(--gx-ink);
  font: 500 .95rem/1.4 var(--sans);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.gx-control-stages a::before {
  content: "";
  display: block;
  width: .65rem;
  height: .85rem;
  border: 1.5px solid var(--gx-blue);
  margin-block-end: .55rem;
}
.gx-control-stages a:is(:hover,:focus-visible)::before { background: var(--gx-blue); }
.gx-platform-contents a:is(:hover,:focus-visible), .gx-control-stages a:is(:hover,:focus-visible) {
  color: var(--gx-focus);
  text-decoration: underline;
  text-underline-offset: .2em;
}
/* Two independently held authorities converge at the approval decision. */
.gx-approval-note {
  width: min(100%, 27rem);
  margin-top: 2rem;
}
.gx-approval-path {
  display: grid;
  position: relative;
  width: min(100%, 12.25rem);
  grid-template: repeat(2, 1.6rem) / 1.1rem 1fr 1.35rem;
  align-items: center;
  margin-bottom: 1rem;
  color: var(--gx-blue);
}
.gx-approval-path::before {
  content: "";
  position: absolute;
  inset: .8rem 34% .8rem .48rem;
  border: 1px solid currentColor;
  border-left: 0;
}
.gx-approval-path::after {
  content: "";
  position: absolute;
  inset: 50% 1.35rem auto 66%;
  border-top: 1px solid currentColor;
}
.gx-approval-path i {
  isolation: isolate;
  width: .9rem;
  height: .9rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: var(--gx-white);
}
.gx-approval-path i:nth-child(2) { grid-area: 2 / 1; }
.gx-approval-path i:last-child {
  grid-area: 1 / 3 / span 2;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: .12rem;
  transform: rotate(45deg);
}
.gx-platform-contents a { padding-inline-start: 1.5rem; }
.gx-platform-contents a::before {
  content: "";
  position: absolute;
  inset-inline-start: .12rem;
  top: calc(50% - .24rem);
  width: .48rem;
  height: .48rem;
  border: 1px solid var(--gx-blue);
  background: transparent;
  transform: rotate(45deg);
}
.gx-platform-contents a:is(:hover, :focus-visible)::before { background: var(--gx-blue); }

/* The table is a horizontal scroll container. Reserve the fixed header on the
   page scroller so its first row is visible when a fragment receives focus. */
html:has(#p-compliance) { scroll-padding-block-start: 5.5rem; }
#p-platform h2[id], #p-roles-permissions #permissions { scroll-margin-block-start: 6rem; }
#p-compliance .matrix tr:target > * { background: #243645; color: var(--night-ink); }
#p-compliance .matrix tr:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: -2px; }
.gx-matrix-link::after { margin-inline-start: .35rem; }
.gx-interior main .rbac-callout .gx-matrix-link { margin-block-start: 1rem; }

#p-xrpl .gx-network-facts { margin-block-start: clamp(1.25rem, 3vw, 2rem); }


/* Product registers align availability with the corresponding feature and description. */
.gx-interior main .gx-product-directory .gx-feature-register {
  grid-template-columns: 1fr;
  gap: 0;
  border-bottom: 1px solid var(--gx-rule);
}
.gx-interior main .gx-feature-register .feat {
  display: grid;
  align-items: baseline;
  gap: .45rem;
  padding: 1.1rem 0;
}
.gx-interior main .gx-feature-register .feat h3 {
  font-size: clamp(1.2rem, 1.7vw, 1.5rem);
  overflow-wrap: anywhere;
}
.gx-interior main .gx-feature-register .chip {
  justify-self: start;
  margin: .2rem 0 0;
  white-space: normal;
  max-width: 100%;
  overflow-wrap: anywhere;
}
@media (min-width: 48rem) {
  .gx-interior main .gx-feature-register .feat {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.45fr) minmax(5rem, .55fr);
    column-gap: clamp(.75rem, 1.7vw, 1.6rem);
  }
  .gx-interior main .gx-feature-register .chip { justify-self: end; margin-top: 0; }
}

/* Read short processes across the page, then down the page on small screens. */
@media (min-width: 62rem) {
  .gx-interior main .gx-step-sequence {
    --sequence-gap: clamp(1.1rem, 2.7vw, 2.8rem);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--sequence-gap);
  }
  .gx-interior main .gx-step-sequence--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gx-interior main .gx-step-sequence .step {
    display: flex;
    flex-direction: column;
    gap: .55rem;
    padding: 0;
  }
  .gx-interior main .gx-step-sequence .step__n { margin-bottom: .35rem; }
  .gx-interior main .gx-step-sequence .step:not(:last-child)::before {
    inset: 1.1rem calc(0px - var(--sequence-gap)) auto 2.25rem;
    height: 1px;
    width: auto;
  }
  .gx-interior main .gx-step-sequence .step__d { padding: 0; }
}
@media (min-width: 68rem) {
  .gx-interior main .section:has(.gx-ledger-journey) > .wrap {
    display: grid;
    grid-template-columns: minmax(0, .75fr) minmax(0, 1.55fr);
    gap: 1rem clamp(3rem, 5vw, 5.5rem);
    align-items: start;
  }
  .gx-interior main .gx-ledger-journey .step {
    grid-template-columns: 2.25rem minmax(0, 1fr);
    gap: .4rem 1rem;
  }
  .gx-interior main .gx-ledger-journey .step__n { grid-row: span 2; }
  .gx-interior main .gx-ledger-journey .step__d { grid-column: 2; padding: 0; }
}

/* The diagram retains the translated stage descriptions as selectable text. */
.gx-interior main .gx-settlement-flow {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1.2fr);
  align-items: baseline;
  gap: .5rem 1rem;
  line-height: 1.5;
  color: var(--night-ink2);
}
.gx-interior main .gx-settlement-flow b {
  align-self: start;
  color: var(--night-ink);
  font: 400 clamp(1.25rem, 2.1vw, 1.75rem)/1.15 var(--serif);
}
.gx-interior main .gx-settlement-flow .a {
  grid-column: 1 / -1;
  width: max-content;
  color: var(--accent-bright);
  transform: rotate(90deg);
}
@media (min-width: 54rem) {
  .gx-interior main .gx-settlement-flow {
    grid-auto-flow: column;
    grid-template-rows: auto auto;
    grid-template-columns: repeat(3, minmax(0, 1fr) auto) minmax(0, 1fr);
  }
  .gx-interior main .gx-settlement-flow .a {
    grid-column: auto;
    grid-row: span 2;
    align-self: center;
    transform: none;
  }
}

.gx-role-overview { display: grid; gap: clamp(1.5rem, 3vw, 3rem); align-items: start; }
@media (min-width: 60rem) {
  .gx-role-overview { grid-template-columns: minmax(0, 2fr) minmax(0, .9fr); }
  .gx-role-overview .rbac-roles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.gx-interior main .rbac-guides .bcard {
  position: relative;
  padding-inline-end: 1.5rem;
}
.gx-interior main .rbac-guides .bcard::after {
  content: "";
  position: absolute;
  inset-inline-end: .3rem;
  top: 1.55rem;
  width: .5rem;
  height: .5rem;
  border: solid var(--gx-blue);
  border-width: 1px 1px 0 0;
  transform: rotate(45deg);
}
@media (max-width: 42rem) {
  .gx-interior main :is(.matrix, .comp) th[scope="row"] {
    position: sticky;
    inset-inline-start: 0;
    z-index: 1;
    width: clamp(6rem, 28vw, 10rem);
    max-width: clamp(6rem, 28vw, 10rem);
    white-space: normal;
    overflow-wrap: anywhere;
    background: var(--gx-white);
    box-shadow: inset -1px 0 var(--gx-rule);
  }
  .gx-interior main .matrix th[scope="row"] {
    background: var(--night);
    box-shadow: inset -1px 0 var(--night-line);
  }
}

/* The primary market catalogue keeps the availability qualification beside its title. */
#p-primary-market .gx-primary-capabilities { background: var(--gx-paper); }
#p-primary-market .gx-primary-capabilities .shead {
  max-width: 58rem;
  margin-bottom: clamp(1.7rem, 3.3vw, 3rem);
}
#p-primary-market .gx-primary-capabilities h2 {
  max-width: 29ch;
  text-wrap: balance;
}
#p-primary-market .gx-primary-register {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  border-radius: 1rem;
  overflow: hidden;
  background: var(--gx-rule);
}
#p-primary-market .gx-primary-register .feat {
  display: grid;
  grid-template: "title" auto "description" 1fr / minmax(0, 1fr);
  align-content: start;
  align-items: baseline;
  gap: .65rem 1rem;
  padding: clamp(1.1rem, 2.1vw, 2rem);
  border: 0;
  border-radius: 0;
  background: var(--gx-white);
  box-shadow: none;
  transform: none;
}
#p-primary-market .gx-primary-register .feat:has(> .chip) {
  grid-template: "title status" auto "description description" 1fr / minmax(0, 1fr) fit-content(38%);
}
#p-primary-market .gx-primary-register h3 {
  grid-area: title;
  margin: 0;
  color: var(--gx-ink);
  font: 400 clamp(1.35rem, 1.8vw, 1.8rem)/1.14 var(--serif);
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
}
#p-primary-market .gx-primary-register p {
  grid-area: description;
  align-self: start;
  max-width: 59ch;
  margin: 0;
  color: var(--gx-muted);
  line-height: 1.55;
}
#p-primary-market .gx-primary-register .chip {
  grid-area: status;
  align-self: start;
  justify-self: end;
  margin: .1rem 0 0;
  white-space: normal;
  overflow-wrap: anywhere;
}
#p-primary-market .gx-primary-register .chip--road {
  background: #f4eddf;
  border-color: #a99570;
  color: #674e28;
}
@media (max-width: 48rem) {
  #p-primary-market .gx-primary-register { grid-template-columns: minmax(0, 1fr); }
}


/* Dark chapters mark the point where a product introduction becomes an operating workflow. */
.gx-interior main .gx-product-chapter {
  --gx-ink: var(--night-ink);
  --gx-muted: var(--night-ink2);
  --gx-blue: var(--accent-bright);
  --gx-rule: var(--night-line);
  --surface: var(--night-2);
  --ink: var(--night-ink);
  --ink-2: var(--night-ink2);
  --ink-3: var(--night-ink2);
  --line: var(--night-line);
  --accent: var(--accent-bright);
  background-color: var(--gx-coal);
  color: var(--night-ink);
}
.gx-interior main .gx-product-chapter .eyebrow { color: var(--night-ink2); }
.gx-interior main .gx-product-chapter .step__n { border-color: #617686; }
.gx-interior main .gx-product-chapter .step__t { color: var(--night-ink); }
.gx-interior main .gx-product-chapter .steps .step:hover { background: transparent; }
.gx-interior main .gx-chapter-inset {
  align-self: start;
  padding: clamp(1.3rem, 3.75vw, 3.3rem);
  border-radius: var(--radius);
}
#p-administration .gx-chapter-inset .bcard { padding-inline: 0 1.3rem; }
#p-administration .gx-chapter-inset .bcard:last-child { border-bottom: 0; }
#p-administration .gx-chapter-inset .bcard h3 { color: var(--night-ink); }
#p-administration .gx-chapter-inset .bcard:is(:hover, :focus-visible) h3 { color: var(--accent-bright); }
#p-roles-permissions .gx-chapter-inset .display { max-width: 34ch; }
#p-roles-permissions .rbac-tiers { border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; }
#p-roles-permissions .rbac-tiers > div { padding-inline: 0; }
#p-roles-permissions .rbac-tiers .rbac-ttl { color: var(--accent-bright); }

#p-primary-market .gx-timing .metrics__in { border-top: 1px solid var(--gx-rule); }
#p-primary-market .gx-timing .metric__v { font-size: clamp(2.1rem, 3.8vw, 4.3rem); }
#p-primary-market .gx-timing .metric { padding: clamp(1.25rem, 2.8vw, 2.6rem) clamp(.9rem, 2vw, 2rem); }
#p-primary-market .gx-timing .metrics__note { margin-top: clamp(1.2rem, 2vw, 1.8rem); }
.gx-interior main .gx-ledger-functions .comp-scroll { border-color: var(--night-line); }
.gx-interior main .gx-ledger-functions .comp thead th,
.gx-interior main .gx-ledger-functions .comp th[scope="row"] { background: var(--night-2); }
.gx-interior main .gx-ledger-functions .comp td.gx { background: #19232c; }
.gx-interior main .gx-ledger-functions .comp tbody td:nth-child(2) { color: var(--accent-bright); }
.gx-interior main .gx-settlement-flow { border: 1px solid var(--night-line); background-color: var(--night-2); }

.gx-control-stages { gap: 0; }
.gx-control-stages a { padding-inline-end: .45rem; }
.gx-control-stages a::before {
  box-sizing: border-box;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  border-width: 1px;
  margin-block-end: .9rem;
}
.gx-control-stages a:nth-child(2)::before { border-radius: .15rem; }
.gx-control-stages a:nth-child(3)::before { border: 4px double var(--gx-blue); }
.gx-control-stages a:not(:last-child)::after { inset: 1.12rem 0 auto 1.4rem; background: var(--gx-rule); }

@media print {
  .gx-interior main .gx-product-chapter {
    --gx-ink: #000;
    --gx-blue: #26323c;
    --gx-rule: #bbb;
    --night-ink: #000;
    --night-ink2: #333;
    --night-line: #bbb;
    --night-2: white;
    --accent-bright: #26323c;
    color: black;
    background: white;
  }
  .gx-interior main .gx-ledger-functions .comp td.gx { background: white; }
}
