/* ---------------------------------------------------------------------------
 * Field primitives.
 *
 * Baseline styles for the pieces every form control shares: its label, help
 * text, read-only value and the containers a few controls draw. They render
 * the same everywhere a field appears — the template editor's previews
 * included — and are restyled for documents by `document.css` under `.udoc`.
 *
 * Every class here is prefixed `uf-`: this stylesheet ships inside the uniform
 * remote and is injected into the host application, so a bare selector would
 * restyle the entire product.
 * ------------------------------------------------------------------------ */

.uf-label {
  margin-bottom: 0.25rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--bs-emphasis-color);
}

.uf-required {
  margin-left: 0.25rem;
  color: var(--bs-danger);
}

.uf-help {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  line-height: 1.35;
  color: var(--bs-secondary-color);
}

.uf-value {
  display: block;
  overflow-wrap: anywhere;
}

/* A textarea's answer keeps the line breaks it was written with. */
.uf-value--multiline {
  margin: 0;
  white-space: pre-line;
}

.uf-repeat__item {
  padding: 0.5rem;
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
  background-color: var(--bs-tertiary-bg);
}

.uf-repeat__noun {
  font-size: 0.75rem;
  color: var(--bs-secondary-color);
}

/* Looks like an input; opens the reference picker when clicked. */
.uf-reference {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  height: 31px;
  padding: 0 0.5rem;
  font-size: 0.875rem;
  border: 1px solid var(--bs-secondary-border-subtle);
  border-radius: var(--bs-border-radius-sm);
}
/* ---------------------------------------------------------------------------
 * Documents.
 *
 * How a Uniform document reads and fills in: open sections rather than a card
 * per data schema, so the form uses the full width it is given and the fields
 * — not the boxes around them — carry the page. A section is a heading and a
 * hairline; fields sit on Bootstrap's grid with room between them; inputs are
 * tall enough to hit comfortably and say clearly when they have focus. Read
 * only, the same layout turns into a sheet of labelled answers.
 *
 * Colours come from Bootstrap's custom properties, so the host's theme and
 * colour mode carry through. Everything is scoped under `.udoc` (or prefixed
 * `udoc-`): this stylesheet ships inside the uniform remote and is injected
 * into the host application, so unscoped rules would restyle the product.
 * ------------------------------------------------------------------------ */

.udoc {
  --udoc-accent-rgb: var(--bs-primary-rgb);
  --udoc-accent: rgb(var(--udoc-accent-rgb));
  --udoc-line: var(--bs-border-color-translucent);
  --udoc-radius: 0.625rem;
  --udoc-control-height: 2.75rem;
  --udoc-mono:
    'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ------------------------------ page chrome ----------------------------- */

/* The form below sits in a fluid container, so the chrome around it takes the
   same inset to line up with the fields. */
.udoc-progress,
.udoc-page,
.udoc-callout,
.udoc-nav {
  margin-inline: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
}

.udoc-progress {
  margin-bottom: 2rem;
}

.udoc-progress__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
  font-family: var(--udoc-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bs-secondary-color);
}

.udoc-progress__step {
  color: var(--udoc-accent);
}

/* One segment per page, so the bar says how many pages there are as well as
   how far through them you are. */
.udoc-progress__track {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.udoc-progress__segment {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background-color: var(--bs-secondary-bg);
  transition: background-color 0.3s ease;
}

.udoc-progress__segment.is-done {
  background-color: rgba(var(--udoc-accent-rgb), 0.55);
}

.udoc-progress__segment.is-current {
  background-color: var(--udoc-accent);
}

.udoc-page {
  margin-bottom: 1.75rem;
}

.udoc-page__title {
  margin: 0;
  font-size: clamp(1.375rem, 1.15rem + 0.9vw, 1.75rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--bs-emphasis-color);
}

.udoc-page__note {
  margin: 0.375rem 0 0;
  font-size: 0.875rem;
  color: var(--bs-secondary-color);
}

.udoc-callout {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.125rem 1.25rem;
  border-radius: var(--udoc-radius);
  border: 1px solid rgba(var(--udoc-accent-rgb), 0.25);
  background-color: rgba(var(--udoc-accent-rgb), 0.07);
}

.udoc-callout__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: rgba(var(--udoc-accent-rgb), 0.14);
  color: var(--udoc-accent);
}

.udoc-callout__title {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--bs-emphasis-color);
}

.udoc-callout__text {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--bs-secondary-color);
}

.udoc-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--udoc-line);
}

.udoc-nav .btn {
  min-width: 8.5rem;
  padding: 0.625rem 1.375rem;
  border-radius: 999px;
  font-weight: 500;
}

.udoc-nav .btn-primary:not(:disabled) {
  box-shadow: 0 8px 18px -10px rgba(var(--udoc-accent-rgb), 0.9);
}

/* On a phone the actions share the row rather than huddling at its end. */
@media (max-width: 575.98px) {
  .udoc-nav .btn {
    flex: 1 1 0;
    min-width: 0;
  }
}

/* -------------------------------- sections ------------------------------ */

.udoc-intro,
.udoc-outro {
  margin-bottom: 1.5rem;
  color: var(--bs-body-color);
}

.udoc-intro > :last-child,
.udoc-outro > :last-child {
  margin-bottom: 0;
}

.udoc-section {
  margin-bottom: 2.75rem;
}

.udoc-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid var(--udoc-line);
}

.udoc-section__titles {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.udoc-section__title {
  position: relative;
  margin: 0;
  padding-left: 0.875rem;
  overflow: hidden;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--bs-emphasis-color);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.udoc-section__title::before {
  content: '';
  position: absolute;
  top: 0.15em;
  bottom: 0.15em;
  left: 0;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    var(--udoc-accent),
    rgba(var(--udoc-accent-rgb), 0.45)
  );
}

.udoc-section__entry {
  flex: none;
  padding: 0.1875rem 0.5rem;
  border-radius: 0.375rem;
  background-color: rgba(var(--udoc-accent-rgb), 0.1);
  color: var(--udoc-accent);
  font-family: var(--udoc-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.udoc-section__remove {
  flex: none;
  padding: 0.25rem 0.625rem;
  border: 0;
  border-radius: 999px;
  background: none;
  font-size: 0.8125rem;
  color: var(--bs-secondary-color);
  transition:
    color 0.15s ease,
    background-color 0.15s ease;
}

.udoc-section__remove:hover,
.udoc-section__remove:focus-visible {
  background-color: var(--bs-danger-bg-subtle);
  color: var(--bs-danger-text-emphasis);
}

.udoc-add {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  margin-bottom: 2.75rem;
  padding: 0.875rem 1rem;
  border: 1px dashed rgba(var(--udoc-accent-rgb), 0.45);
  border-radius: var(--udoc-radius);
  background-color: rgba(var(--udoc-accent-rgb), 0.03);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--udoc-accent);
  transition:
    border-color 0.15s ease,
    background-color 0.15s ease;
}

.udoc-add:hover,
.udoc-add:focus-visible {
  border-style: solid;
  border-color: var(--udoc-accent);
  background-color: rgba(var(--udoc-accent-rgb), 0.08);
}

/* --------------------------------- fields ------------------------------- */

.udoc .uf-label {
  display: inline-flex;
  align-items: baseline;
  margin-bottom: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--bs-emphasis-color);
}

.udoc .uf-help {
  margin-top: 0.375rem;
  font-size: 0.8125rem;
}

/* Inputs. Floating labels size their own control, so they are left alone. */
.udoc :not(.form-floating) > .form-control:not([type='file']),
.udoc :not(.form-floating) > .form-select {
  min-height: var(--udoc-control-height);
  padding: 0.625rem 0.875rem;
  font-size: 0.9375rem;
  line-height: 1.4;
  border-color: var(--bs-border-color);
  border-radius: var(--udoc-radius);
  background-color: var(--bs-body-bg);
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.udoc :not(.form-floating) > .form-select {
  padding-right: 2.5rem;
  background-position: right 0.875rem center;
}

.udoc :not(.form-floating) > textarea.form-control {
  min-height: 7.5rem;
  resize: vertical;
}

.udoc .form-control:hover:not(:focus):not(:disabled),
.udoc .form-select:hover:not(:focus):not(:disabled) {
  border-color: rgba(var(--bs-emphasis-color-rgb), 0.35);
}

.udoc .form-control:focus,
.udoc .form-select:focus {
  border-color: rgba(var(--udoc-accent-rgb), 0.75);
  box-shadow: 0 0 0 0.25rem rgba(var(--udoc-accent-rgb), 0.15);
}

.udoc .form-control::placeholder {
  color: var(--bs-tertiary-color);
}

.udoc .form-control.is-invalid,
.udoc .form-select.is-invalid {
  border-color: var(--bs-form-invalid-border-color);
}

.udoc .form-control.is-invalid:focus,
.udoc .form-select.is-invalid:focus {
  box-shadow: 0 0 0 0.25rem rgba(var(--bs-danger-rgb), 0.15);
}

.udoc :not(.form-floating) > .form-control.is-invalid {
  padding-right: 2.5rem;
  background-position: right 0.875rem center;
}

/* Yes/No switches. */
.udoc .form-switch {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  min-height: var(--udoc-control-height);
  margin: 0;
  padding-left: 0;
}

.udoc .form-switch .form-check-input {
  float: none;
  flex: none;
  width: 2.75em;
  height: 1.5em;
  margin: 0;
  cursor: pointer;
}

.udoc .form-check-input:focus {
  box-shadow: 0 0 0 0.25rem rgba(var(--udoc-accent-rgb), 0.15);
}

.udoc .form-switch .form-check-label {
  font-size: 0.9375rem;
  cursor: pointer;
}

/* Choices: each option is a tile you can hit anywhere, and the ones chosen
   take the accent. */
.udoc .uf-options .form-check {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  height: 100%;
  min-height: var(--udoc-control-height);
  margin: 0;
  padding: 0.5rem 0.875rem;
  border: 1px solid var(--bs-border-color);
  border-radius: var(--udoc-radius);
  background-color: var(--bs-body-bg);
  transition:
    border-color 0.15s ease,
    background-color 0.15s ease;
}

.udoc .uf-options .form-check:hover {
  border-color: rgba(var(--bs-emphasis-color-rgb), 0.35);
}

.udoc .uf-options .form-check:has(.form-check-input:checked) {
  border-color: rgba(var(--udoc-accent-rgb), 0.6);
  background-color: rgba(var(--udoc-accent-rgb), 0.06);
}

.udoc .uf-options .form-check-input {
  float: none;
  flex: none;
  margin: 0;
}

.udoc .uf-options .form-check-label {
  flex: 1;
  font-size: 0.9375rem;
  cursor: pointer;
}

.udoc .uf-reference {
  height: auto;
  min-height: var(--udoc-control-height);
  padding: 0.625rem 0.875rem;
  font-size: 0.9375rem;
  line-height: 1.4;
  border-color: var(--bs-border-color);
  border-radius: var(--udoc-radius);
  background-color: var(--bs-body-bg);
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
}

.udoc .uf-repeat__item {
  padding: 1rem 1.125rem;
  border-color: var(--udoc-line);
  border-radius: var(--udoc-radius);
}

.udoc .uf-repeat__noun {
  font-family: var(--udoc-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ------------------------------- read only ------------------------------ */

/* A submitted document reads as a sheet of answers: a quiet label over each
   value, with a hairline to keep the rows straight. */
.udoc-field--read {
  height: 100%;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--udoc-line);
}

.udoc-field--read .uf-label {
  margin-bottom: 0.25rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bs-secondary-color);
}

.udoc-field--read .uf-required {
  display: none;
}

.udoc .uf-value {
  min-height: 1.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--bs-emphasis-color);
}
/* ---------------------------------------------------------------------------
 * Public submission page.
 *
 * The one Atlas surface an anonymous person ever sees, so it is the one that
 * has to explain itself: who is asking, what is being asked, and how far
 * through it you are. The presentation language is the one the Atlas tutorial
 * graphics use — monospaced eyebrows, a card per data schema carrying its
 * version badge, a green check as each is completed — rendered light, because
 * this page is mostly a form.
 *
 * Everything is scoped under `.psub`. This stylesheet ships inside the uniform
 * remote and is injected into the host application, so unscoped rules here
 * would restyle the entire product.
 * ------------------------------------------------------------------------ */

.psub {
  --psub-node: #578be5;
  --psub-node-strong: #1c57ba;
  --psub-accent: #f2b84b;
  --psub-ok: #3fa97a;
  --psub-paper: #eef0f4;
  --psub-card: #ffffff;
  --psub-line: #dbe0ea;
  --psub-line-soft: #e7eaf1;
  --psub-text: #12192b;
  --psub-text-2: #5b6472;
  --psub-mono:
    'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  min-height: 100%;
  color: var(--psub-text);
  background:
    radial-gradient(
      900px 420px at 82% -12%,
      rgba(87, 139, 229, 0.18),
      transparent 70%
    ),
    radial-gradient(
      680px 360px at -6% 2%,
      rgba(242, 184, 75, 0.1),
      transparent 70%
    ),
    var(--psub-paper);
}

.psub__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ----------------------------- brand bar -------------------------------- */

.psub__bar {
  position: sticky;
  top: 0;
  z-index: 3;
  border-bottom: 1px solid var(--psub-line);
  /* Nearly opaque: the page scrolls under this bar, and a translucent one let
     the hero read through it. */
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
}

.psub__bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  padding-block: 12px;
}

.psub__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.psub__brand-logo {
  max-height: 40px;
  max-width: 220px;
  object-fit: contain;
}

/* Stands in for a logo the organization has not uploaded. */
.psub__monogram {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    var(--psub-node) 0%,
    var(--psub-node-strong) 100%
  );
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.psub__brand-name {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--psub-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.psub__brand-sub {
  font-family: var(--psub-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--psub-text-2);
}

/* ------------------------------- hero ----------------------------------- */

.psub__hero {
  padding-block: 40px 28px;
}

.psub__eyebrow {
  display: block;
  font-family: var(--psub-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--psub-node-strong);
  margin-bottom: 10px;
}

.psub__title {
  margin: 0;
  font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--psub-text);
}

.psub__lede {
  margin: 14px 0 0;
  max-width: 62ch;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--psub-text-2);
  white-space: pre-line;
}

/* ------------------------------- grid ----------------------------------- */

.psub__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding-bottom: 56px;
  align-items: start;
}

@media (min-width: 992px) {
  .psub__grid {
    grid-template-columns: 300px minmax(0, 1fr);
  }
  /* The rail sits above the contact panel in the left column while the form
     spans both rows beside them. Below 992px the three stack in DOM order:
     progress, form, then who is asking. */
  .psub__rail {
    grid-column: 1;
    grid-row: 1;
  }
  .psub__main {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
  .psub__aside {
    grid-column: 1;
    grid-row: 2;
  }
  /* Once the form is done the rail goes with it and the contact panel takes
     the column on its own. */
  .psub__grid--bare .psub__main {
    grid-row: 1;
  }
  .psub__grid--bare .psub__aside {
    grid-row: 1;
  }
}

.psub__panel {
  background: var(--psub-card);
  border: 1px solid var(--psub-line);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(18, 25, 43, 0.07);
  padding: 24px;
}

@media (min-width: 768px) {
  .psub__panel {
    padding: 32px 36px;
  }
}

/* ------------------------------- cards ---------------------------------- */

.psub-card {
  background: var(--psub-card);
  border: 1px solid var(--psub-line);
  border-radius: 16px;
  padding: 20px;
}

.psub-card + .psub-card {
  margin-top: 16px;
}

.psub-card__title {
  display: block;
  font-family: var(--psub-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--psub-text-2);
  margin-bottom: 14px;
}

/* ------------------------------- steps ---------------------------------- */

.psub-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.psub-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--psub-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.6);
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.psub-step.is-active {
  background: var(--psub-card);
  border-color: var(--psub-node);
  box-shadow: 0 0 0 3px rgba(87, 139, 229, 0.16);
}

.psub-step.is-done {
  background: var(--psub-card);
  border-color: rgba(63, 169, 122, 0.4);
}

/* The number, which becomes the check once the step is behind you. */
.psub-step__dot {
  display: grid;
  place-items: center;
  flex: none;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border-radius: 50%;
  border: 1px solid var(--psub-line);
  background: #fff;
  font-family: var(--psub-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--psub-text-2);
}

.psub-step.is-active .psub-step__dot {
  border-color: var(--psub-node);
  background: var(--psub-node);
  color: #fff;
}

.psub-step.is-done .psub-step__dot {
  border-color: var(--psub-ok);
  background: var(--psub-ok);
  color: #fff;
}

.psub-step__body {
  min-width: 0;
  flex: 1;
}

.psub-step__name {
  display: block;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--psub-text);
}

.psub-step__note {
  display: block;
  margin-top: 4px;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--psub-text-2);
}

.psub-badge {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(87, 139, 229, 0.14);
  color: var(--psub-node-strong);
  font-family: var(--psub-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
}

/* ---------------------------- organization ------------------------------ */

.psub-org__name {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--psub-text);
}

.psub-org__desc {
  margin: 6px 0 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--psub-text-2);
}

.psub-org__list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.psub-org__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--psub-text-2);
}

.psub-org__item i {
  width: 16px;
  margin-top: 2px;
  text-align: center;
  color: var(--psub-node);
}

.psub-org__item a {
  color: var(--psub-node-strong);
  text-decoration: none;
  word-break: break-word;
}

.psub-org__item a:hover {
  text-decoration: underline;
}

.psub-org__address {
  font-style: normal;
  margin: 0;
}

/* The user group a link was scoped to, when it carries one. */
.psub-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(87, 139, 229, 0.35);
  background: rgba(87, 139, 229, 0.1);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--psub-node-strong);
  max-width: 100%;
}

.psub-chip > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ------------------------------- notes ---------------------------------- */

.psub-notes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.psub-notes li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--psub-text-2);
}

.psub-notes i {
  width: 16px;
  margin-top: 2px;
  text-align: center;
  color: var(--psub-node);
}

.psub-req {
  color: #c2410c;
  font-weight: 600;
}

/* ------------------------------ footer ---------------------------------- */

.psub__foot {
  border-top: 1px solid var(--psub-line);
  padding-block: 20px 32px;
  font-size: 0.8125rem;
  color: var(--psub-text-2);
}

/* ------------------------------ success --------------------------------- */

.psub-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 56px 20px 72px;
}

.psub-success__mark {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(63, 169, 122, 0.12);
  border: 1px solid rgba(63, 169, 122, 0.35);
  color: var(--psub-ok);
  font-size: 38px;
  margin-bottom: 24px;
}

/* --------------------------- dark rendering ------------------------------
 * The host sets `data-bs-theme` on <html>. The public page is a light surface
 * by design, but a viewer whose host is in dark mode should not get white
 * cards burning out of a dark chrome, so the same tokens are restated here.
 * ---------------------------------------------------------------------- */

[data-bs-theme='dark'] .psub {
  --psub-paper: #0a1322;
  --psub-card: #101c33;
  --psub-line: #24344f;
  --psub-line-soft: #1b2942;
  --psub-text: #edeff1;
  --psub-text-2: #93a1bd;
  --psub-node-strong: #9dbdf5;
}

[data-bs-theme='dark'] .psub__bar {
  background: rgba(16, 28, 51, 0.97);
}

[data-bs-theme='dark'] .psub-step {
  background: rgba(24, 38, 66, 0.5);
}

[data-bs-theme='dark'] .psub-step__dot {
  background: #182642;
}

[data-bs-theme='dark'] .psub-req {
  color: #fb923c;
}
:root, .light, .light-theme {
  --blue-1: #fbfdff;
  --blue-2: #f4faff;
  --blue-3: #e6f4fe;
  --blue-4: #d5efff;
  --blue-5: #c2e5ff;
  --blue-6: #acd8fc;
  --blue-7: #8ec8f6;
  --blue-8: #5eb1ef;
  --blue-9: #0090ff;
  --blue-10: #0588f0;
  --blue-11: #0d74ce;
  --blue-12: #113264;
}

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    :root, .light, .light-theme {
      --blue-1: color(display-p3 0.986 0.992 0.999);
      --blue-2: color(display-p3 0.96 0.979 0.998);
      --blue-3: color(display-p3 0.912 0.956 0.991);
      --blue-4: color(display-p3 0.853 0.932 1);
      --blue-5: color(display-p3 0.788 0.894 0.998);
      --blue-6: color(display-p3 0.709 0.843 0.976);
      --blue-7: color(display-p3 0.606 0.777 0.947);
      --blue-8: color(display-p3 0.451 0.688 0.917);
      --blue-9: color(display-p3 0.247 0.556 0.969);
      --blue-10: color(display-p3 0.234 0.523 0.912);
      --blue-11: color(display-p3 0.15 0.44 0.84);
      --blue-12: color(display-p3 0.102 0.193 0.379);
    }
  }
}

.dark, .dark-theme {
  --blue-1: #0d1520;
  --blue-2: #111927;
  --blue-3: #0d2847;
  --blue-4: #003362;
  --blue-5: #004074;
  --blue-6: #104d87;
  --blue-7: #205d9e;
  --blue-8: #2870bd;
  --blue-9: #0090ff;
  --blue-10: #3b9eff;
  --blue-11: #70b8ff;
  --blue-12: #c2e6ff;
}

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    .dark, .dark-theme {
      --blue-1: color(display-p3 0.057 0.081 0.122);
      --blue-2: color(display-p3 0.072 0.098 0.147);
      --blue-3: color(display-p3 0.078 0.154 0.27);
      --blue-4: color(display-p3 0.033 0.197 0.37);
      --blue-5: color(display-p3 0.08 0.245 0.441);
      --blue-6: color(display-p3 0.14 0.298 0.511);
      --blue-7: color(display-p3 0.195 0.361 0.6);
      --blue-8: color(display-p3 0.239 0.434 0.72);
      --blue-9: color(display-p3 0.247 0.556 0.969);
      --blue-10: color(display-p3 0.344 0.612 0.973);
      --blue-11: color(display-p3 0.49 0.72 1);
      --blue-12: color(display-p3 0.788 0.898 0.99);
    }
  }
}

:root, .light, .light-theme {
  --slate-1: #fcfcfd;
  --slate-2: #f9f9fb;
  --slate-3: #f0f0f3;
  --slate-4: #e8e8ec;
  --slate-5: #e0e1e6;
  --slate-6: #d9d9e0;
  --slate-7: #cdced6;
  --slate-8: #b9bbc6;
  --slate-9: #8b8d98;
  --slate-10: #80838d;
  --slate-11: #60646c;
  --slate-12: #1c2024;
}

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    :root, .light, .light-theme {
      --slate-1: color(display-p3 0.988 0.988 0.992);
      --slate-2: color(display-p3 0.976 0.976 0.984);
      --slate-3: color(display-p3 0.94 0.941 0.953);
      --slate-4: color(display-p3 0.908 0.909 0.925);
      --slate-5: color(display-p3 0.88 0.881 0.901);
      --slate-6: color(display-p3 0.85 0.852 0.876);
      --slate-7: color(display-p3 0.805 0.808 0.838);
      --slate-8: color(display-p3 0.727 0.733 0.773);
      --slate-9: color(display-p3 0.547 0.553 0.592);
      --slate-10: color(display-p3 0.503 0.512 0.549);
      --slate-11: color(display-p3 0.379 0.392 0.421);
      --slate-12: color(display-p3 0.113 0.125 0.14);
    }
  }
}

.dark, .dark-theme {
  --slate-1: #111113;
  --slate-2: #18191b;
  --slate-3: #212225;
  --slate-4: #272a2d;
  --slate-5: #2e3135;
  --slate-6: #363a3f;
  --slate-7: #43484e;
  --slate-8: #5a6169;
  --slate-9: #696e77;
  --slate-10: #777b84;
  --slate-11: #b0b4ba;
  --slate-12: #edeef0;
}

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    .dark, .dark-theme {
      --slate-1: color(display-p3 0.067 0.067 0.074);
      --slate-2: color(display-p3 0.095 0.098 0.105);
      --slate-3: color(display-p3 0.13 0.135 0.145);
      --slate-4: color(display-p3 0.156 0.163 0.176);
      --slate-5: color(display-p3 0.183 0.191 0.206);
      --slate-6: color(display-p3 0.215 0.226 0.244);
      --slate-7: color(display-p3 0.265 0.28 0.302);
      --slate-8: color(display-p3 0.357 0.381 0.409);
      --slate-9: color(display-p3 0.415 0.431 0.463);
      --slate-10: color(display-p3 0.469 0.483 0.514);
      --slate-11: color(display-p3 0.692 0.704 0.728);
      --slate-12: color(display-p3 0.93 0.933 0.94);
    }
  }
}

:root, .light, .light-theme {
  --grass-1: #fbfefb;
  --grass-2: #f5fbf5;
  --grass-3: #e9f6e9;
  --grass-4: #daf1db;
  --grass-5: #c9e8ca;
  --grass-6: #b2ddb5;
  --grass-7: #94ce9a;
  --grass-8: #65ba74;
  --grass-9: #46a758;
  --grass-10: #3e9b4f;
  --grass-11: #2a7e3b;
  --grass-12: #203c25;
}

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    :root, .light, .light-theme {
      --grass-1: color(display-p3 0.986 0.996 0.985);
      --grass-2: color(display-p3 0.966 0.983 0.964);
      --grass-3: color(display-p3 0.923 0.965 0.917);
      --grass-4: color(display-p3 0.872 0.94 0.865);
      --grass-5: color(display-p3 0.811 0.908 0.802);
      --grass-6: color(display-p3 0.733 0.864 0.724);
      --grass-7: color(display-p3 0.628 0.803 0.622);
      --grass-8: color(display-p3 0.477 0.72 0.482);
      --grass-9: color(display-p3 0.38 0.647 0.378);
      --grass-10: color(display-p3 0.344 0.598 0.342);
      --grass-11: color(display-p3 0.263 0.488 0.261);
      --grass-12: color(display-p3 0.151 0.233 0.153);
    }
  }
}

:root, .light, .light-theme {
  --cyan-1: #fafdfe;
  --cyan-2: #f2fafb;
  --cyan-3: #def7f9;
  --cyan-4: #caf1f6;
  --cyan-5: #b5e9f0;
  --cyan-6: #9ddde7;
  --cyan-7: #7dcedc;
  --cyan-8: #3db9cf;
  --cyan-9: #00a2c7;
  --cyan-10: #0797b9;
  --cyan-11: #107d98;
  --cyan-12: #0d3c48;
}

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    :root, .light, .light-theme {
      --cyan-1: color(display-p3 0.982 0.992 0.996);
      --cyan-2: color(display-p3 0.955 0.981 0.984);
      --cyan-3: color(display-p3 0.888 0.965 0.975);
      --cyan-4: color(display-p3 0.821 0.941 0.959);
      --cyan-5: color(display-p3 0.751 0.907 0.935);
      --cyan-6: color(display-p3 0.671 0.862 0.9);
      --cyan-7: color(display-p3 0.564 0.8 0.854);
      --cyan-8: color(display-p3 0.388 0.715 0.798);
      --cyan-9: color(display-p3 0.282 0.627 0.765);
      --cyan-10: color(display-p3 0.264 0.583 0.71);
      --cyan-11: color(display-p3 0.08 0.48 0.63);
      --cyan-12: color(display-p3 0.108 0.232 0.277);
    }
  }
}

:root, .light, .light-theme {
  --amber-1: #fefdfb;
  --amber-2: #fefbe9;
  --amber-3: #fff7c2;
  --amber-4: #ffee9c;
  --amber-5: #fbe577;
  --amber-6: #f3d673;
  --amber-7: #e9c162;
  --amber-8: #e2a336;
  --amber-9: #ffc53d;
  --amber-10: #ffba18;
  --amber-11: #ab6400;
  --amber-12: #4f3422;
}

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    :root, .light, .light-theme {
      --amber-1: color(display-p3 0.995 0.992 0.985);
      --amber-2: color(display-p3 0.994 0.986 0.921);
      --amber-3: color(display-p3 0.994 0.969 0.782);
      --amber-4: color(display-p3 0.989 0.937 0.65);
      --amber-5: color(display-p3 0.97 0.902 0.527);
      --amber-6: color(display-p3 0.936 0.844 0.506);
      --amber-7: color(display-p3 0.89 0.762 0.443);
      --amber-8: color(display-p3 0.85 0.65 0.3);
      --amber-9: color(display-p3 1 0.77 0.26);
      --amber-10: color(display-p3 0.959 0.741 0.274);
      --amber-11: color(display-p3 0.64 0.4 0);
      --amber-12: color(display-p3 0.294 0.208 0.145);
    }
  }
}

:root, .light, .light-theme {
  --red-1: #fffcfc;
  --red-2: #fff7f7;
  --red-3: #feebec;
  --red-4: #ffdbdc;
  --red-5: #ffcdce;
  --red-6: #fdbdbe;
  --red-7: #f4a9aa;
  --red-8: #eb8e90;
  --red-9: #e5484d;
  --red-10: #dc3e42;
  --red-11: #ce2c31;
  --red-12: #641723;
}

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    :root, .light, .light-theme {
      --red-1: color(display-p3 0.998 0.989 0.988);
      --red-2: color(display-p3 0.995 0.971 0.971);
      --red-3: color(display-p3 0.985 0.925 0.925);
      --red-4: color(display-p3 0.999 0.866 0.866);
      --red-5: color(display-p3 0.984 0.812 0.811);
      --red-6: color(display-p3 0.955 0.751 0.749);
      --red-7: color(display-p3 0.915 0.675 0.672);
      --red-8: color(display-p3 0.872 0.575 0.572);
      --red-9: color(display-p3 0.83 0.329 0.324);
      --red-10: color(display-p3 0.798 0.294 0.285);
      --red-11: color(display-p3 0.744 0.234 0.222);
      --red-12: color(display-p3 0.36 0.115 0.143);
    }
  }
}

/** Code mirror */

.mdxeditor .cm-editor {
    --sp-font-mono: var(--font-mono);
    --sp-font-body: var(--font-body);
    padding: var(--sp-space-4) 0;
  }

.mdxeditor .sp-editor .cm-editor {
    padding-bottom: 0;
  }

.mdxeditor .cm-scroller {
    padding: 0 !important;
  }

.mdxeditor .cm-focused {
    outline: none;
  }

.mdxeditor .sp-wrapper {
    overflow: hidden;
  }

.mdxeditor .sp-layout {
    border: none;
  }

.mdxeditor .sp-cm pre {
      white-space: break-spaces;
      word-break: break-word;
      overflow-wrap: anywhere;
      flex-shrink: 1;
    }

/** Diff viewer */

.mdxeditor .cm-mergeView .cm-scroller {
    font-family: var(--font-mono);
    line-height: 1.3rem;
    font-size: var(--text-xs);
  }

/** Diff viewer */

.mdxeditor .cm-sourceView .cm-scroller {
    font-family: var(--font-mono);
    line-height: 1.3rem;
    font-size: var(--text-xs);
  }

.mdxeditor .cm-gutters {
    background: transparent;
    font-size: var(--text-xxs);
  }

.mdxeditor .cm-activeLine {
    background: transparent;
  }

.mdxeditor .cm-tooltip-autocomplete {
    background: var(--baseBgSubtle);
  }

.mdxeditor hr.selected[data-lexical-decorator=true] {
    outline: 2px solid highlight;
  }
._editorRoot_1e2ox_53 {
  --accentBase: var(--blue-1);
  --accentBgSubtle: var(--blue-2);
  --accentBg: var(--blue-3);
  --accentBgHover: var(--blue-4);
  --accentBgActive: var(--blue-5);
  --accentLine: var(--blue-6);
  --accentBorder: var(--blue-7);
  --accentBorderHover: var(--blue-8);
  --accentSolid: var(--blue-9);
  --accentSolidHover: var(--blue-10);
  --accentText: var(--blue-11);
  --accentTextContrast: var(--blue-12);

  --basePageBg: white;
  --baseBase: var(--slate-1);
  --baseBgSubtle: var(--slate-2);
  --baseBg: var(--slate-3);
  --baseBgHover: var(--slate-4);
  --baseBgActive: var(--slate-5);
  --baseLine: var(--slate-6);
  --baseBorder: var(--slate-7);
  --baseBorderHover: var(--slate-8);
  --baseSolid: var(--slate-9);
  --baseSolidHover: var(--slate-10);
  --baseText: var(--slate-11);
  --baseTextContrast: var(--slate-12);

  --admonitionTipBg: var(--cyan-4);
  --admonitionTipBorder: var(--cyan-8);

  --admonitionInfoBg: var(--grass-4);
  --admonitionInfoBorder: var(--grass-8);

  --admonitionCautionBg: var(--amber-4);
  --admonitionCautionBorder: var(--amber-8);

  --admonitionDangerBg: var(--red-4);
  --admonitionDangerBorder: var(--red-8);

  --admonitionNoteBg: var(--slate-4);
  --admonitionNoteBorder: var(--slate-8);

  --error-color: var(--red-10);

  --spacing-0: 0px;
  --spacing-px: 1px;
  --spacing-0_5: 0.125rem;
  --spacing-1: 0.25rem;
  --spacing-1_5: 0.375rem;
  --spacing-2: 0.5rem;
  --spacing-2_5: 0.625rem;
  --spacing-3: 0.75rem;
  --spacing-3_5: 0.875rem;
  --spacing-4: 1rem;
  --spacing-5: 1.25rem;
  --spacing-6: 1.5rem;
  --spacing-7: 1.75rem;
  --spacing-8: 2rem;
  --spacing-9: 2.25rem;
  --spacing-10: 2.5rem;
  --spacing-11: 2.75rem;
  --spacing-12: 3rem;
  --spacing-14: 3.5rem;
  --spacing-16: 4rem;
  --spacing-20: 5rem;
  --spacing-24: 6rem;
  --spacing-28: 7rem;
  --spacing-32: 8rem;
  --spacing-36: 9rem;
  --spacing-40: 10rem;
  --spacing-44: 11rem;
  --spacing-48: 12rem;
  --spacing-52: 13rem;
  --spacing-56: 14rem;
  --spacing-60: 15rem;
  --spacing-64: 16rem;
  --spacing-72: 18rem;
  --spacing-80: 20rem;
  --spacing-96: 24rem;

  --radius-none: 0px;
  --radius-small: var(--spacing-0_5);
  --radius-base: var(--spacing-1);
  --radius-medium: var(--spacing-1_5);
  --radius-large: var(--spacing-2);
  --radius-extra-large: var(--spacing-3);
  --radius-full: 9999px;

  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue',
    sans-serif;

  --text-base: 1rem;
  --text-sm: 0.875rem;
  --text-xs: 0.75rem;
  --text-xxs: 0.6rem;

  font-family: var(--font-body);
  color: var(--baseText);
}

._editorWrapper_1e2ox_155 {
}

._nestedListItem_1e2ox_158 {
  list-style: none;
}

._toolbarRoot_1e2ox_162 {
  z-index: 2;
  display: flex;
  flex-direction: row;
  gap: var(--spacing-1);
  border-radius: var(--radius-medium);
  padding: var(--spacing-1_5);
  align-items: center;
  overflow-x: auto;
  position: sticky;
  top: 0;
  background-color: var(--baseBg);
  width: inherit;
}

._toolbarRoot_1e2ox_162 div[role='separator'] {
    margin: var(--spacing-2) var(--spacing-1);
    border-left: 1px solid var(--baseBorder);
    border-right: 1px solid var(--baseBase);
    height: var(--spacing-4);
  }

._toolbarRoot_1e2ox_162 svg {
    color: var(--baseTextContrast);
    display: block;
  }

._readOnlyToolbarRoot_1e2ox_189 {
  pointer-events: none;
  background: var(--baseBase);
}

._readOnlyToolbarRoot_1e2ox_189 > div {
    opacity: 0.5;
  }

._toolbarModeSwitch_1e2ox_198 {
  opacity: 1 !important;
  margin-left: auto;
  align-self: stretch;
  align-items: stretch;
  display: flex;
  border: 1px solid var(--baseBg);
  border-radius: var(--radius-medium);
  font-size: var(--text-xs);
}

._toolbarModeSwitch_1e2ox_198 ._toolbarToggleItem_1e2ox_208 {
    padding-inline-end: var(--spacing-4);
    padding-inline-start: var(--spacing-4);
  }

._toolbarModeSwitch_1e2ox_198 ._toolbarToggleItem_1e2ox_208:active,
    ._toolbarModeSwitch_1e2ox_198 ._toolbarToggleItem_1e2ox_208[data-state='on'] {
      background-color: var(--baseBorder);
    }

._toolbarGroupOfGroups_1e2ox_219 {
  display: flex;
  margin: 0 var(--spacing-1);
}

._toolbarToggleSingleGroup_1e2ox_224:first-of-type ._toolbarToggleItem_1e2ox_208:only-child,
._toolbarToggleSingleGroup_1e2ox_224:only-child ._toolbarToggleItem_1e2ox_208:first-child,
._toolbarModeSwitch_1e2ox_198 ._toolbarToggleItem_1e2ox_208:first-child {
  border-top-left-radius: var(--radius-base);
  border-bottom-left-radius: var(--radius-base);
}

._toolbarToggleSingleGroup_1e2ox_224:last-of-type ._toolbarToggleItem_1e2ox_208:only-child,
._toolbarToggleSingleGroup_1e2ox_224:only-child ._toolbarToggleItem_1e2ox_208:last-child,
._toolbarModeSwitch_1e2ox_198 ._toolbarToggleItem_1e2ox_208:last-child {
  border-top-right-radius: var(--radius-base);
  border-bottom-right-radius: var(--radius-base);
}

._toolbarToggleItem_1e2ox_208,
._toolbarButton_1e2ox_239 {
  border: 0;
  background-color: transparent;
  font-size: inherit;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  all: unset;
  box-sizing: border-box;
  cursor: default;
  padding: var(--spacing-0_5);
}

@media (hover: hover) {
    ._toolbarToggleItem_1e2ox_208:hover, ._toolbarButton_1e2ox_239:hover {
      background-color: var(--baseBgActive);
    }
  }

._toolbarToggleItem_1e2ox_208:active svg, ._toolbarButton_1e2ox_239:active svg {
    transform: translate(1px, 1px);
  }

._toolbarToggleItem_1e2ox_208[data-state='on'],
  ._toolbarButton_1e2ox_239[data-state='on'],
  ._toolbarToggleItem_1e2ox_208:active,
  ._toolbarButton_1e2ox_239:active {
    color: var(--baseTextContrast);
    background-color: var(--baseBgActive);
  }

._toolbarToggleItem_1e2ox_208[data-disabled], ._toolbarButton_1e2ox_239[data-disabled] {
    pointer-events: none;
  }

._toolbarToggleItem_1e2ox_208[data-disabled] svg, ._toolbarButton_1e2ox_239[data-disabled] svg {
      color: var(--baseBorderHover);
    }

._toolbarButton_1e2ox_239 {
  border-radius: var(--radius-base);
}

._toolbarButton_1e2ox_239 + ._toolbarButton_1e2ox_239 {
  margin-left: var(--spacing-1);
}

._activeToolbarButton_1e2ox_275 {
  color: var(--accentText);
}

._toolbarToggleSingleGroup_1e2ox_224 {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

._toolbarNodeKindSelectContainer_1e2ox_285,
._toolbarButtonDropdownContainer_1e2ox_286,
._toolbarCodeBlockLanguageSelectContent_1e2ox_287,
._selectContainer_1e2ox_288 {
  filter: drop-shadow(0 2px 2px rgb(0 0 0 / 0.2));
  z-index: 3;
  width: var(--spacing-36);
  border-bottom-left-radius: var(--radius-base);
  border-bottom-right-radius: var(--radius-base);
  background-color: var(--basePageBg);
  font-size: var(--text-sm);
}

._toolbarButtonDropdownContainer_1e2ox_286 {
  border-top-right-radius: var(--radius-base);
}

._toolbarButtonDropdownContainer_1e2ox_286 ._selectItem_1e2ox_301:first-child {
    border-top-right-radius: var(--radius-base);
  }

._toolbarNodeKindSelectTrigger_1e2ox_306,
._toolbarButtonSelectTrigger_1e2ox_307,
._selectTrigger_1e2ox_308 {
  border: 0;
  background-color: transparent;
  display: flex;
  color: inherit;
  align-items: center;
  width: var(--spacing-36);
  padding: var(--spacing-0_5) var(--spacing-1);
  padding-inline-start: var(--spacing-2);
  border-radius: var(--radius-medium);
  white-space: nowrap;
  flex-wrap: nowrap;
  font-size: var(--text-sm);
  background-color: var(--basePageBg);
  margin: 0 var(--spacing-1);
}

._toolbarNodeKindSelectTrigger_1e2ox_306[data-state='open'], ._toolbarButtonSelectTrigger_1e2ox_307[data-state='open'], ._selectTrigger_1e2ox_308[data-state='open'] {
    filter: drop-shadow(0 2px 2px rgb(0 0 0 / 0.2));
    border-bottom-right-radius: var(--radius-none);
    border-bottom-left-radius: var(--radius-none);
  }

._selectTrigger_1e2ox_308[data-placeholder] > span:first-child {
  color: var(--baseBorderHover);
}

/** used in the sandpack */
._toolbarButtonSelectTrigger_1e2ox_307 {
  width: auto;
  padding-inline-start: var(--spacing-2);
  padding-inline-end: var(--spacing-1);
  padding-block: var(--spacing-0_5);
}

._toolbarCodeBlockLanguageSelectTrigger_1e2ox_343,
._toolbarCodeBlockLanguageSelectContent_1e2ox_287 {
  width: var(--spacing-48);
}

._toolbarNodeKindSelectItem_1e2ox_348,
._selectItem_1e2ox_301 {
  cursor: default;
  display: flex;
  padding: var(--spacing-2);
}

._toolbarNodeKindSelectItem_1e2ox_348[data-highlighted], ._selectItem_1e2ox_301[data-highlighted] {
    background-color: var(--baseBg);
  }

._toolbarNodeKindSelectItem_1e2ox_348[data-state='checked'], ._selectItem_1e2ox_301[data-state='checked'] {
    color: var(--baseTextContrast);
    background-color: var(--baseBg);
  }

._toolbarNodeKindSelectItem_1e2ox_348[data-highlighted], ._selectItem_1e2ox_301[data-highlighted] {
    outline: none;
  }

._toolbarNodeKindSelectItem_1e2ox_348:last-child, ._selectItem_1e2ox_301:last-child {
    border-bottom-left-radius: var(--radius-base);
    border-bottom-right-radius: var(--radius-base);
  }

._toolbarNodeKindSelectDropdownArrow_1e2ox_373,
._selectDropdownArrow_1e2ox_374 {
  margin-left: auto;
  display: flex;
  align-items: center;
}

._contentEditable_1e2ox_380 {
  box-sizing: border-box;
  width: 100%;
  color: var(--baseTextContrast);

  padding: var(--spacing-3);
}

._contentEditable_1e2ox_380:focus {
    outline: none;
  }

._codeMirrorWrapper_1e2ox_392 {
  margin-bottom: var(--spacing-5);
  border: 1px solid var(--baseLine);
  border-radius: var(--radius-medium);
  overflow: hidden;
  padding: 0.8rem;
  position: relative;
}

._sandPackWrapper_1e2ox_401 {
  margin-bottom: var(--spacing-5);
  border: 1px solid var(--baseLine);
  border-radius: var(--radius-medium);
  overflow: hidden;
  position: relative;
}

._codeMirrorToolbar_1e2ox_409 {
  position: absolute;
  right: 0;
  top: 0;
  display: flex;
  gap: var(--spacing-1);
  padding: var(--spacing-1);
  z-index: 1;
  background-color: var(--baseBase);
  border-bottom-left-radius: var(--radius-base);
}

._frontmatterWrapper_1e2ox_413 {
  border-radius: var(--radius-medium);
  padding: var(--spacing-3);
  background-color: var(--baseBgSubtle);
}

._frontmatterWrapper_1e2ox_413[data-expanded='true'] {
    margin-bottom: var(--spacing-10);
  }

._frontmatterToggleButton_1e2ox_423 {
  border: 0;
  background-color: transparent;
  font-size: inherit;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  all: unset;
  box-sizing: border-box;
  cursor: default;
  display: flex;
  align-items: center;
  gap: var(--spacing-1);
  font-size: var(--text-sm);
}

._propertyPanelTitle_1e2ox_431 {
  font-size: var(--text-xs);
  font-weight: 400;
  margin: 0;
  padding-top: var(--spacing-2);
  padding-left: var(--spacing-2);
}

._propertyEditorTable_1e2ox_439 {
  table-layout: fixed;
  border-spacing: var(--spacing-2);
}

._propertyEditorTable_1e2ox_439 th {
    text-align: left;
    font-size: var(--text-sm);
    padding: var(--spacing-2) var(--spacing-3);
  }

._propertyEditorTable_1e2ox_439 col:nth-child(1) {
    width: 30%;
  }

._propertyEditorTable_1e2ox_439 col:nth-child(2) {
    width: 70%;
  }

._propertyEditorTable_1e2ox_439 td:last-child ._iconButton_1e2ox_457 {
    margin-left: var(--spacing-4);
    margin-right: var(--spacing-4);
  }

._propertyEditorTable_1e2ox_439 ._readOnlyColumnCell_1e2ox_462 {
    padding-left: 0;
  }

._propertyEditorLabelCell_1e2ox_467 {
  font-weight: 400;
}

._readOnlyColumnCell_1e2ox_462 {
  padding-left: 0;
}

._buttonsFooter_1e2ox_475 {
  display: flex;
  justify-content: flex-end;
  gap: var(--spacing-2);
}

._propertyEditorInput_1e2ox_481 {
  border: 0;
  background-color: transparent;
  font-size: inherit;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  all: unset;
  box-sizing: border-box;
  cursor: default;
  width: 100%;
  padding: var(--spacing-2) var(--spacing-3);
  border-radius: var(--radius-base);
  border: 1px solid var(--baseBorder);
  background-color: var(--baseBase);
  font-size: var(--text-sm);
}

._iconButton_1e2ox_457 {
  border: 0;
  background-color: transparent;
  font-size: inherit;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  all: unset;
  box-sizing: border-box;
  cursor: default;
  color: var(--baseText);
}

@media (hover: hover) {
    ._iconButton_1e2ox_457:hover {
      color: var(--baseTextContrast);
    }
  }

._iconButton_1e2ox_457:disabled,
  ._iconButton_1e2ox_457:disabled:hover {
    color: var(--baseLine);
  }

._primaryButton_1e2ox_507,
._secondaryButton_1e2ox_508 {
  border: 0;
  background-color: transparent;
  font-size: inherit;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  all: unset;
  box-sizing: border-box;
  cursor: default;
  padding: var(--spacing-2) var(--spacing-3);
  border: 1px solid var(--accentBorder);
  background-color: var(--accentSolidHover);
  color: var(--baseBase);
  font-size: var(--text-xs);
  border-radius: var(--radius-medium);
}

._primaryButton_1e2ox_507:disabled, ._secondaryButton_1e2ox_508:disabled {
    background: var(--accentLine);
    border-color: var(--accentBg);
  }

._smallButton_1e2ox_523 {
  font-size: var(--text-xs);
  padding: var(--spacing-1) var(--spacing-2);
  border-radius: var(--radius-base);
}

._secondaryButton_1e2ox_508 {
  border: 1px solid var(--baseBorder);
  background-color: var(--baseSolidHover);
  color: var(--baseBase);
}

._dialogForm_1e2ox_535 {
  display: flex;
  flex-direction: row;
  gap: var(--spacing-2);
}

._linkDialogEditForm_1e2ox_541 {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--spacing-2);
  padding: 0;
}

._linkDialogInputContainer_1e2ox_549 {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

._linkDialogInputWrapper_1e2ox_555 {
  display: flex;
  align-items: center;
  background-color: var(--baseBase);

  border-radius: var(--radius-base);
  border: 1px solid var(--baseBorder);
}

._linkDialogInputWrapper_1e2ox_555[data-visible-dropdown='true'] {
    border-bottom-left-radius: var(--radius-none);
    border-bottom-right-radius: var(--radius-none);
    border-bottom-width: 0;
  }

._linkDialogInputWrapper_1e2ox_555 > button {
    border: 0;
    background-color: transparent;
    font-size: inherit;
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
    all: unset;
    box-sizing: border-box;
    cursor: default;
    padding-right: var(--spacing-2);
  }

._linkDialogInput_1e2ox_549,
._dialogInput_1e2ox_576 {
  border: 0;
  background-color: transparent;
  font-size: inherit;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  all: unset;
  box-sizing: border-box;
  cursor: default;
  width: 20rem;
  padding: var(--spacing-2) var(--spacing-3);
  font-size: var(--text-sm);
}

._linkDialogInput_1e2ox_549::-moz-placeholder, ._dialogInput_1e2ox_576::-moz-placeholder {
    color: var(--baseBorder);
  }

._linkDialogInput_1e2ox_549::placeholder, ._dialogInput_1e2ox_576::placeholder {
    color: var(--baseBorder);
  }

._linkDialogAnchor_1e2ox_587 {
  position: fixed;
  background-color: highlight;
  z-index: -1;
}

._linkDialogAnchor_1e2ox_587[data-visible='true'] {
    visibility: visible;
  }

._linkDialogAnchor_1e2ox_587[data-visible='false'] {
    visibility: hidden;
  }

._linkDialogPopoverContent_1e2ox_601,
._tableColumnEditorPopoverContent_1e2ox_602,
._dialogContent_1e2ox_603 {
  filter: drop-shadow(0 2px 2px rgb(0 0 0 / 0.2));
  display: flex;
  align-items: center;
  gap: var(--spacing-0_5);
  border-radius: var(--radius-medium);
  border: 1px solid var(--baseBg);
  background-color: var(--basePageBg);
  padding: var(--spacing-1) var(--spacing-1);
  font-size: var(--text-sm);
}

._largeDialogContent_1e2ox_615 {
  filter: drop-shadow(0 2px 2px rgb(0 0 0 / 0.2));
  gap: var(--spacing-0_5);
  border-radius: var(--radius-medium);
  border: 1px solid var(--baseBorder);
  background-color: var(--baseBgSubtle);
  padding: var(--spacing-4);
  font-size: var(--text-sm);
}

._dialogTitle_1e2ox_625 {
  font-size: var(--text-base);
  font-weight: 600;
  padding-left: var(--spacing-2);
}

._dialogCloseButton_1e2ox_631 {
  border: 0;
  background-color: transparent;
  font-size: inherit;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  all: unset;
  box-sizing: border-box;
  cursor: default;
  position: absolute;
  top: 10px;
  right: 10px;
}

._popoverContent_1e2ox_638 {
  filter: drop-shadow(0 2px 2px rgb(0 0 0 / 0.2));
  display: flex;
  align-items: center;
  gap: var(--spacing-0_5);
  border-radius: var(--radius-medium);
  background-color: var(--baseBgSubtle);
  padding: var(--spacing-2) var(--spacing-2);
  font-size: var(--text-sm);
  z-index: 1;
}

._popoverArrow_1e2ox_650 {
  fill: var(--basePageBg);
}

._linkDialogPreviewAnchor_1e2ox_654 {
  margin-right: var(--spacing-1);
  display: flex;
  align-items: center;
  color: var(--accentText);
  text-decoration: none;

  border: 1px solid transparent;
}

@media (hover: hover) {
    ._linkDialogPreviewAnchor_1e2ox_654:hover {
      color: var(--accentSolidHover);
    }
  }

._linkDialogPreviewAnchor_1e2ox_654 span {
    max-width: 14rem;
    overflow-x: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

._tooltipTrigger_1e2ox_677 {
  align-self: center;
}

._tooltipContent_1e2ox_681 {
  z-index: 2;
  position: relative;
  border-radius: var(--radius-medium);
  padding: var(--spacing-1) var(--spacing-2);
  font-size: var(--text-xs);
  background-color: var(--baseText);
  color: var(--baseBase);
}

._tooltipContent_1e2ox_681 svg {
    fill: var(--baseText);
  }

._actionButton_1e2ox_695 {
  border: 0;
  background-color: transparent;
  font-size: inherit;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  all: unset;
  box-sizing: border-box;
  cursor: default;
  padding: var(--spacing-1);
  color: var(--baseTextContrast);
  padding: var(--spacing-1) var(--spacing-1);
  border-radius: var(--radius-medium);
  color: var(--baseTextContrast);
}

._actionButton_1e2ox_695 svg {
    display: block;
  }

@media (hover: hover) {
    ._actionButton_1e2ox_695:hover {
      background-color: var(--baseBg);
    }
  }

._actionButton_1e2ox_695:active svg {
    transform: translate(1px, 1px);
  }

._actionButton_1e2ox_695[data-state='on'],
  ._actionButton_1e2ox_695:active {
    background-color: var(--baseBg);
    color: var(--baseTextContrast);
  }

._primaryActionButton_1e2ox_702 {
  background-color: var(--accentSolid);
  color: var(--baseBase);
}

@media (hover: hover) {
    ._primaryActionButton_1e2ox_702:hover {
      background-color: var(--accentSolidHover);
      color: var(--baseBase);
    }
  }

._tableEditor_1e2ox_714 {
  table-layout: fixed;
  width: 100%;
  height: 100%;
  border-spacing: 0;
  border-collapse: collapse;
}

._tableEditor_1e2ox_714 thead > tr > th {
    text-align: right;
  }

._tableEditor_1e2ox_714 > tbody > tr > td:not(._toolCell_1e2ox_725),
  ._tableEditor_1e2ox_714 > tbody > tr > th:not(._toolCell_1e2ox_725):not([data-tool-cell='true']) {
    border: 1px solid var(--baseBgActive);
    padding: var(--spacing-1) var(--spacing-2);
    white-space: normal;
  }

:is(._tableEditor_1e2ox_714 > tbody > tr > td:not(._toolCell_1e2ox_725),._tableEditor_1e2ox_714 > tbody > tr > th:not(._toolCell_1e2ox_725):not([data-tool-cell='true'])) > div {
      outline: none;
    }

:is(._tableEditor_1e2ox_714 > tbody > tr > td:not(._toolCell_1e2ox_725),._tableEditor_1e2ox_714 > tbody > tr > th:not(._toolCell_1e2ox_725):not([data-tool-cell='true'])) > div > p {
        margin: 0;
      }

[data-active='true']:is(._tableEditor_1e2ox_714 > tbody > tr > td:not(._toolCell_1e2ox_725),._tableEditor_1e2ox_714 > tbody > tr > th:not(._toolCell_1e2ox_725):not([data-tool-cell='true'])) {
      outline: solid 1px var(--baseSolid);
    }

._tableEditor_1e2ox_714 ._tableColumnEditorTrigger_1e2ox_744,
  ._tableEditor_1e2ox_714 ._tableRowEditorTrigger_1e2ox_745,
  ._tableEditor_1e2ox_714 ._addRowButton_1e2ox_746,
  ._tableEditor_1e2ox_714 ._addColumnButton_1e2ox_747,
  ._tableEditor_1e2ox_714 ._iconButton_1e2ox_457 {
    opacity: 0.15;
  }

@media (hover: hover) {
      ._tableEditor_1e2ox_714:hover ._tableColumnEditorTrigger_1e2ox_744,
      ._tableEditor_1e2ox_714:hover ._tableRowEditorTrigger_1e2ox_745,
      ._tableEditor_1e2ox_714:hover ._addRowButton_1e2ox_746,
      ._tableEditor_1e2ox_714:hover ._addColumnButton_1e2ox_747,
      ._tableEditor_1e2ox_714:hover ._iconButton_1e2ox_457 {
        opacity: 0.3;
      }

        ._tableEditor_1e2ox_714:hover ._tableColumnEditorTrigger_1e2ox_744:hover, ._tableEditor_1e2ox_714:hover ._tableRowEditorTrigger_1e2ox_745:hover, ._tableEditor_1e2ox_714:hover ._addRowButton_1e2ox_746:hover, ._tableEditor_1e2ox_714:hover ._addColumnButton_1e2ox_747:hover, ._tableEditor_1e2ox_714:hover ._iconButton_1e2ox_457:hover {
          opacity: 1;
        }
  }

._toolCell_1e2ox_725 {
  text-align: right;
}

._toolCell_1e2ox_725 button {
    margin: auto;
    display: block;
  }

._tableColumnEditorTrigger_1e2ox_744 {
  border: 0;
  background-color: transparent;
  font-size: inherit;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  all: unset;
  box-sizing: border-box;
  cursor: default;
  padding: var(--spacing-1);
  color: var(--baseTextContrast);
  padding: var(--spacing-1);
  border-radius: var(--radius-full);
  opacity: 0.2;
}

._tableColumnEditorTrigger_1e2ox_744 svg {
    display: block;
  }

@media (hover: hover) {
    ._tableColumnEditorTrigger_1e2ox_744:hover {
      background-color: var(--baseBg);
    }
  }

._tableColumnEditorTrigger_1e2ox_744:active svg {
    transform: translate(1px, 1px);
  }

._tableColumnEditorTrigger_1e2ox_744[data-state='on'],
  ._tableColumnEditorTrigger_1e2ox_744:active {
    background-color: var(--baseBg);
    color: var(--baseTextContrast);
  }

._tableColumnEditorTrigger_1e2ox_744[data-active='true'] {
    opacity: 1 !important;
  }

._tableColumnEditorToolbar_1e2ox_789 {
  display: flex;
}

._tableColumnEditorToolbar_1e2ox_789 > button {
    border: 0;
    background-color: transparent;
    font-size: inherit;
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
    all: unset;
    box-sizing: border-box;
    cursor: default;
    padding: var(--spacing-1);
    color: var(--baseTextContrast);
  }

._tableColumnEditorToolbar_1e2ox_789 > button svg {
    display: block;
  }

@media (hover: hover) {
    ._tableColumnEditorToolbar_1e2ox_789 > button:hover {
      background-color: var(--baseBg);
    }
  }

._tableColumnEditorToolbar_1e2ox_789 > button:active svg {
    transform: translate(1px, 1px);
  }

._tableColumnEditorToolbar_1e2ox_789 > button[data-state='on'],
  ._tableColumnEditorToolbar_1e2ox_789 > button:active {
    background-color: var(--baseBg);
    color: var(--baseTextContrast);
  }

._tableColumnEditorToolbar_1e2ox_789 [role='separator'] {
    margin-left: var(--spacing-1);
    margin-right: var(--spacing-1);
  }

._toggleGroupRoot_1e2ox_802 {
  display: inline-flex;
}

._toggleGroupRoot_1e2ox_802 button {
    border: 0;
    background-color: transparent;
    font-size: inherit;
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
    all: unset;
    box-sizing: border-box;
    cursor: default;
    padding: var(--spacing-1);
    color: var(--baseTextContrast);
  }

._toggleGroupRoot_1e2ox_802 button svg {
    display: block;
  }

@media (hover: hover) {
    ._toggleGroupRoot_1e2ox_802 button:hover {
      background-color: var(--baseBg);
    }
  }

._toggleGroupRoot_1e2ox_802 button:active svg {
    transform: translate(1px, 1px);
  }

._toggleGroupRoot_1e2ox_802 button[data-state='on'],
  ._toggleGroupRoot_1e2ox_802 button:active {
    background-color: var(--baseBg);
    color: var(--baseTextContrast);
  }

._toggleGroupRoot_1e2ox_802 button:first-child {
      border-top-left-radius: var(--radius-base);
      border-bottom-left-radius: var(--radius-base);
    }

._toggleGroupRoot_1e2ox_802 button:last-child {
      border-top-right-radius: var(--radius-base);
      border-bottom-right-radius: var(--radius-base);
    }

._tableToolsColumn_1e2ox_820 {
  width: 2rem;
}

._tableToolsColumn_1e2ox_820 button {
    margin: auto;
    display: block;
  }

._leftAlignedCell_1e2ox_829 {
  text-align: left;
}

._rightAlignedCell_1e2ox_833 {
  text-align: right;
}

._centeredCell_1e2ox_837 {
  text-align: center;
}

._addColumnButton_1e2ox_747,
._addRowButton_1e2ox_746 {
  border: 0;
  background-color: transparent;
  font-size: inherit;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  all: unset;
  box-sizing: border-box;
  cursor: default;
  padding: var(--spacing-1);
  color: var(--baseTextContrast);
  background-color: var(--baseBase);

  display: flex;
  align-items: center;
}

._addColumnButton_1e2ox_747 svg, ._addRowButton_1e2ox_746 svg {
    display: block;
  }

@media (hover: hover) {
    ._addColumnButton_1e2ox_747:hover, ._addRowButton_1e2ox_746:hover {
      background-color: var(--baseBg);
    }
  }

._addColumnButton_1e2ox_747:active svg, ._addRowButton_1e2ox_746:active svg {
    transform: translate(1px, 1px);
  }

._addColumnButton_1e2ox_747[data-state='on'],
  ._addRowButton_1e2ox_746[data-state='on'],
  ._addColumnButton_1e2ox_747:active,
  ._addRowButton_1e2ox_746:active {
    background-color: var(--baseBg);
    color: var(--baseTextContrast);
  }

._addColumnButton_1e2ox_747 svg, ._addRowButton_1e2ox_746 svg {
    margin: auto;
  }

._addRowButton_1e2ox_746 {
  width: 100%;
  margin-top: var(--spacing-px);
  box-sizing: border-box;
  border-bottom-right-radius: var(--radius-medium);
  border-bottom-left-radius: var(--radius-medium);
}

._addColumnButton_1e2ox_747 {
  margin-left: var(--spacing-px);
  height: 100%;
  border-top-right-radius: var(--radius-medium);
  border-bottom-right-radius: var(--radius-medium);
}

/** Dialog */
._dialogOverlay_1e2ox_870 {
  position: fixed;
  inset: 0;
  animation: _overlayShow_1e2ox_1 150ms cubic-bezier(0.16, 1, 0.3, 1);
  background-color: var(--baseBase);
  z-index: 51;
  opacity: 0.5;
}

._dialogContent_1e2ox_603,
._largeDialogContent_1e2ox_615 {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: _contentShow_1e2ox_1 150ms cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 52;
}

._dialogContent_1e2ox_603:focus,
._largeDialogContent_1e2ox_615:focus {
  outline: none;
}

@keyframes _overlayShow_1e2ox_1 {
  from {
    opacity: 0;
  }

  to {
    opacity: 0.5;
  }
}

@keyframes _contentShow_1e2ox_1 {
  from {
    opacity: 0;
    transform: translate(-50%, -48%) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

._focusedImage_1e2ox_916 {
  outline: highlight solid 2px;
}

._imageWrapper_1e2ox_920 {
  display: inline-block;
  position: relative;
}

._imageWrapper_1e2ox_920[draggable='true'] {
  cursor: move;
  /* fallback if grab cursor is unsupported */
  cursor: grab;
  cursor: -webkit-grab;
}

._editImageToolbar_1e2ox_933 {
  position: absolute;
  right: 0;
  top: 0;
  display: flex;
  gap: var(--spacing-1);
  padding: var(--spacing-1);
  z-index: 1;
  background-color: var(--baseBase);
  border-bottom-left-radius: var(--radius-base);
}

._editImageButton_1e2ox_937 svg {
    display: block;
  }

._inlineEditor_1e2ox_943 {
  display: inline-flex;
  border-radius: var(--radius-medium);
  padding: var(--spacing-1);
  gap: var(--spacing-2);
  align-items: center;
  background: var(--baseBg);
}

._blockEditor_1e2ox_952 {
  display: flex;
  justify-content: stretch;
  border-radius: var(--radius-medium);
  padding: var(--spacing-2);
  gap: var(--spacing-2);
  align-items: center;
  background: var(--baseBg);
}

._blockEditor_1e2ox_952 ._nestedEditor_1e2ox_961 {
    flex-grow: 1;
  }

._nestedEditor_1e2ox_961 {
  background: var(--basePageBg);
  padding: var(--spacing-1) var(--spacing-2);
  border-radius: var(--radius-medium);
}

._nestedEditor_1e2ox_961 > p {
    margin: 0;
  }

._nestedEditor_1e2ox_961:focus {
    outline: none;
  }

._genericComponentName_1e2ox_980 {
  font-size: var(--text-sm);
  color: var(--baseText);
  padding-right: var(--spacing-2);
}

._diffSourceToggleWrapper_1e2ox_986 {
  margin-left: auto;
  pointer-events: auto;
  opacity: 1;
  position: sticky;
  right: 0;
}

._ggDiffSourceToggle_1e2ox_994 {
}

._diffSourceToggle_1e2ox_986 {
  border-radius: var(--radius-medium);
  background-color: var(--baseBase);
  display: flex;
}

._diffSourceToggle_1e2ox_986 ._toolbarToggleItem_1e2ox_208 {
    padding: 0;
  }

._diffSourceToggle_1e2ox_986 ._toolbarToggleItem_1e2ox_208 > span {
      display: block;
      padding: var(--spacing-1) var(--spacing-1);
    }

._selectWithLabel_1e2ox_1012 {
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
  margin-left: var(--spacing-2);
}

._selectWithLabel_1e2ox_1012 > label {
    font-size: var(--text-sm);
  }

._selectWithLabel_1e2ox_1012 ._selectTrigger_1e2ox_308 {
    border: 1px solid var(--baseBorder);
  }

._toolbarTitleMode_1e2ox_1027 {
  font-size: var(--text-sm);
  margin-left: var(--spacing-2);
}

._imageControlWrapperResizing_1e2ox_1032 {
  touch-action: none;
}

._imageResizer_1e2ox_1036 {
  display: block;
  width: 7px;
  height: 7px;
  position: absolute;
  background-color: var(--accentText);
  border: 1px solid var(--baseBg);
}

._imageResizer_1e2ox_1036._imageResizerN_1e2ox_1045 {
  top: -6px;
  left: 48%;
  cursor: n-resize;
}

._imageResizer_1e2ox_1036._imageResizerNe_1e2ox_1051 {
  top: -6px;
  right: -6px;
  cursor: ne-resize;
}

._imageResizer_1e2ox_1036._imageResizerE_1e2ox_1057 {
  bottom: 48%;
  right: -6px;
  cursor: e-resize;
}

._imageResizer_1e2ox_1036._imageResizerSe_1e2ox_1063 {
  bottom: -2px;
  right: -6px;
  cursor: nwse-resize;
}

._imageResizer_1e2ox_1036._imageResizerS_1e2ox_1063 {
  bottom: -2px;
  left: 48%;
  cursor: s-resize;
}

._imageResizer_1e2ox_1036._imageResizerSw_1e2ox_1075 {
  bottom: -2px;
  left: -6px;
  cursor: sw-resize;
}

._imageResizer_1e2ox_1036._imageResizerW_1e2ox_1081 {
  bottom: 48%;
  left: -6px;
  cursor: w-resize;
}

._imageResizer_1e2ox_1036._imageResizerNw_1e2ox_1087 {
  top: -6px;
  left: -6px;
  cursor: nw-resize;
}

._imagePlaceholder_1e2ox_1093 {
  border: 2px dashed;
  padding: 48px;
  margin: 12px;
  width: -moz-fit-content;
  width: fit-content;
  height: -moz-fit-content;
  height: fit-content;
}

._imageDimensionsContainer_1e2ox_1101 {
  display: flex;
  gap: var(--spacing-4);
}

._placeholder_1e2ox_1106 {
  color: var(--baseSolid);
  overflow: hidden;
  position: absolute;
  top: 0;
  padding: var(--spacing-3);
  text-overflow: ellipsis;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  white-space: nowrap;
  display: inline-block;
  pointer-events: none;
}

._rootContentEditableWrapper_1e2ox_1119 {
  position: relative;
}

._downshiftContainer_1e2ox_1123 {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

._downshiftInputWrapper_1e2ox_1129 {
  display: flex;
  align-items: center;
  background-color: var(--baseBase);

  border-radius: var(--radius-base);
  border: 1px solid var(--baseBorder);
}

._downshiftInputWrapper_1e2ox_1129[data-visible-dropdown='true'] {
    border-bottom-left-radius: var(--radius-none);
    border-bottom-right-radius: var(--radius-none);
    border-bottom-width: 0;
  }

._downshiftInputWrapper_1e2ox_1129 > button {
    border: 0;
    background-color: transparent;
    font-size: inherit;
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
    all: unset;
    box-sizing: border-box;
    cursor: default;
    padding-right: var(--spacing-2);
  }

._downshiftInput_1e2ox_1129 {
  border: 0;
  background-color: transparent;
  font-size: inherit;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  all: unset;
  box-sizing: border-box;
  cursor: default;
  width: 20rem;
  padding: var(--spacing-2) var(--spacing-3);
  font-size: var(--text-sm);
}

._downshiftInput_1e2ox_1129::-moz-placeholder {
    color: var(--baseBorder);
  }

._downshiftInput_1e2ox_1129::placeholder {
    color: var(--baseBorder);
  }

._downshiftAutocompleteContainer_1e2ox_1160 {
  position: relative;
}

._downshiftAutocompleteContainer_1e2ox_1160 ul {
    all: unset;
    box-sizing: border-box;
    position: absolute;
    font-size: var(--text-sm);
    width: 100%;
    display: none;
    border-bottom-left-radius: var(--radius-medium);
    border-bottom-right-radius: var(--radius-medium);
    max-height: var(--spacing-48);
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid var(--baseBorder);
    border-top-width: 0;
    background-color: var(--baseBase);
  }

._downshiftAutocompleteContainer_1e2ox_1160 ul[data-visible='true'] {
      display: block;
    }

._downshiftAutocompleteContainer_1e2ox_1160 ul li {
      padding: var(--spacing-2) var(--spacing-3);
      white-space: nowrap;
      margin-bottom: var(--spacing-1);
      overflow-x: hidden;
      text-overflow: ellipsis;
    }

._downshiftAutocompleteContainer_1e2ox_1160 ul li[data-selected='true'] {
        background-color: var(--baseBgSubtle);
      }

._downshiftAutocompleteContainer_1e2ox_1160 ul li[data-highlighted='true'] {
        background-color: var(--baseBgHover);
      }

._downshiftAutocompleteContainer_1e2ox_1160 ul li:last-of-type {
        border-bottom-left-radius: var(--radius-medium);
        border-bottom-right-radius: var(--radius-medium);
      }

._textInput_1e2ox_1206 {
  all: unset;
  border-radius: var(--radius-base);
  border: 1px solid var(--baseBorder);
  background-color: var(--baseBase);
  padding: var(--spacing-2) var(--spacing-3);
}

form._multiFieldForm_1e2ox_1214 {
  display: flex;
  flex-direction: column;
  padding: var(--spacing-2);
  gap: var(--spacing-2);
}

form._multiFieldForm_1e2ox_1214 ._formField_1e2ox_1220 {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-2);
  }

form._multiFieldForm_1e2ox_1214 ._formField_1e2ox_1220 label {
      font-size: var(--text-xs);
    }

._markdownParseError_1e2ox_1231 {
  border-radius: var(--radius-base);
  border: 1px solid var(--error-color);
  padding: var(--spacing-2);
  margin-block: var(--spacing-2);
  color: var(--error-color);
  font-size: var(--text-xs);
}

._popupContainer_1e2ox_1240 {
  position: relative;
  z-index: 2;
}

._inputSizer_1e2ox_1245 {
  display: inline-grid;
  vertical-align: baseline;
  align-items: center;
  position: relative;
}

._inputSizer_1e2ox_1245::after,
  ._inputSizer_1e2ox_1245 input {
    width: auto;
    min-width: 1rem;
    grid-area: 1 / 2;
    font: inherit;
    margin: 0;
    padding: 0 2px;
    resize: none;
    background: none;
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
    border: none;
    color: inherit;
  }

._inputSizer_1e2ox_1245 span {
    padding: 0.25em;
  }

._inputSizer_1e2ox_1245::after {
    content: attr(data-value);
    white-space: pre-wrap;
  }
:root, ._light_1tncs_1, ._light-theme_1tncs_1 {
  --blue-1: #fbfdff;
  --blue-2: #f4faff;
  --blue-3: #e6f4fe;
  --blue-4: #d5efff;
  --blue-5: #c2e5ff;
  --blue-6: #acd8fc;
  --blue-7: #8ec8f6;
  --blue-8: #5eb1ef;
  --blue-9: #0090ff;
  --blue-10: #0588f0;
  --blue-11: #0d74ce;
  --blue-12: #113264;
}

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    :root, ._light_1tncs_1, ._light-theme_1tncs_1 {
      --blue-1: color(display-p3 0.986 0.992 0.999);
      --blue-2: color(display-p3 0.96 0.979 0.998);
      --blue-3: color(display-p3 0.912 0.956 0.991);
      --blue-4: color(display-p3 0.853 0.932 1);
      --blue-5: color(display-p3 0.788 0.894 0.998);
      --blue-6: color(display-p3 0.709 0.843 0.976);
      --blue-7: color(display-p3 0.606 0.777 0.947);
      --blue-8: color(display-p3 0.451 0.688 0.917);
      --blue-9: color(display-p3 0.247 0.556 0.969);
      --blue-10: color(display-p3 0.234 0.523 0.912);
      --blue-11: color(display-p3 0.15 0.44 0.84);
      --blue-12: color(display-p3 0.102 0.193 0.379);
    }
  }
}

._dark_1tncs_1, ._dark-theme_1tncs_1 {
  --blue-1: #0d1520;
  --blue-2: #111927;
  --blue-3: #0d2847;
  --blue-4: #003362;
  --blue-5: #004074;
  --blue-6: #104d87;
  --blue-7: #205d9e;
  --blue-8: #2870bd;
  --blue-9: #0090ff;
  --blue-10: #3b9eff;
  --blue-11: #70b8ff;
  --blue-12: #c2e6ff;
}

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    ._dark_1tncs_1, ._dark-theme_1tncs_1 {
      --blue-1: color(display-p3 0.057 0.081 0.122);
      --blue-2: color(display-p3 0.072 0.098 0.147);
      --blue-3: color(display-p3 0.078 0.154 0.27);
      --blue-4: color(display-p3 0.033 0.197 0.37);
      --blue-5: color(display-p3 0.08 0.245 0.441);
      --blue-6: color(display-p3 0.14 0.298 0.511);
      --blue-7: color(display-p3 0.195 0.361 0.6);
      --blue-8: color(display-p3 0.239 0.434 0.72);
      --blue-9: color(display-p3 0.247 0.556 0.969);
      --blue-10: color(display-p3 0.344 0.612 0.973);
      --blue-11: color(display-p3 0.49 0.72 1);
      --blue-12: color(display-p3 0.788 0.898 0.99);
    }
  }
}

:root, ._light_1tncs_1, ._light-theme_1tncs_1 {
  --slate-1: #fcfcfd;
  --slate-2: #f9f9fb;
  --slate-3: #f0f0f3;
  --slate-4: #e8e8ec;
  --slate-5: #e0e1e6;
  --slate-6: #d9d9e0;
  --slate-7: #cdced6;
  --slate-8: #b9bbc6;
  --slate-9: #8b8d98;
  --slate-10: #80838d;
  --slate-11: #60646c;
  --slate-12: #1c2024;
}

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    :root, ._light_1tncs_1, ._light-theme_1tncs_1 {
      --slate-1: color(display-p3 0.988 0.988 0.992);
      --slate-2: color(display-p3 0.976 0.976 0.984);
      --slate-3: color(display-p3 0.94 0.941 0.953);
      --slate-4: color(display-p3 0.908 0.909 0.925);
      --slate-5: color(display-p3 0.88 0.881 0.901);
      --slate-6: color(display-p3 0.85 0.852 0.876);
      --slate-7: color(display-p3 0.805 0.808 0.838);
      --slate-8: color(display-p3 0.727 0.733 0.773);
      --slate-9: color(display-p3 0.547 0.553 0.592);
      --slate-10: color(display-p3 0.503 0.512 0.549);
      --slate-11: color(display-p3 0.379 0.392 0.421);
      --slate-12: color(display-p3 0.113 0.125 0.14);
    }
  }
}

._dark_1tncs_1, ._dark-theme_1tncs_1 {
  --slate-1: #111113;
  --slate-2: #18191b;
  --slate-3: #212225;
  --slate-4: #272a2d;
  --slate-5: #2e3135;
  --slate-6: #363a3f;
  --slate-7: #43484e;
  --slate-8: #5a6169;
  --slate-9: #696e77;
  --slate-10: #777b84;
  --slate-11: #b0b4ba;
  --slate-12: #edeef0;
}

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    ._dark_1tncs_1, ._dark-theme_1tncs_1 {
      --slate-1: color(display-p3 0.067 0.067 0.074);
      --slate-2: color(display-p3 0.095 0.098 0.105);
      --slate-3: color(display-p3 0.13 0.135 0.145);
      --slate-4: color(display-p3 0.156 0.163 0.176);
      --slate-5: color(display-p3 0.183 0.191 0.206);
      --slate-6: color(display-p3 0.215 0.226 0.244);
      --slate-7: color(display-p3 0.265 0.28 0.302);
      --slate-8: color(display-p3 0.357 0.381 0.409);
      --slate-9: color(display-p3 0.415 0.431 0.463);
      --slate-10: color(display-p3 0.469 0.483 0.514);
      --slate-11: color(display-p3 0.692 0.704 0.728);
      --slate-12: color(display-p3 0.93 0.933 0.94);
    }
  }
}

:root, ._light_1tncs_1, ._light-theme_1tncs_1 {
  --grass-1: #fbfefb;
  --grass-2: #f5fbf5;
  --grass-3: #e9f6e9;
  --grass-4: #daf1db;
  --grass-5: #c9e8ca;
  --grass-6: #b2ddb5;
  --grass-7: #94ce9a;
  --grass-8: #65ba74;
  --grass-9: #46a758;
  --grass-10: #3e9b4f;
  --grass-11: #2a7e3b;
  --grass-12: #203c25;
}

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    :root, ._light_1tncs_1, ._light-theme_1tncs_1 {
      --grass-1: color(display-p3 0.986 0.996 0.985);
      --grass-2: color(display-p3 0.966 0.983 0.964);
      --grass-3: color(display-p3 0.923 0.965 0.917);
      --grass-4: color(display-p3 0.872 0.94 0.865);
      --grass-5: color(display-p3 0.811 0.908 0.802);
      --grass-6: color(display-p3 0.733 0.864 0.724);
      --grass-7: color(display-p3 0.628 0.803 0.622);
      --grass-8: color(display-p3 0.477 0.72 0.482);
      --grass-9: color(display-p3 0.38 0.647 0.378);
      --grass-10: color(display-p3 0.344 0.598 0.342);
      --grass-11: color(display-p3 0.263 0.488 0.261);
      --grass-12: color(display-p3 0.151 0.233 0.153);
    }
  }
}

:root, ._light_1tncs_1, ._light-theme_1tncs_1 {
  --cyan-1: #fafdfe;
  --cyan-2: #f2fafb;
  --cyan-3: #def7f9;
  --cyan-4: #caf1f6;
  --cyan-5: #b5e9f0;
  --cyan-6: #9ddde7;
  --cyan-7: #7dcedc;
  --cyan-8: #3db9cf;
  --cyan-9: #00a2c7;
  --cyan-10: #0797b9;
  --cyan-11: #107d98;
  --cyan-12: #0d3c48;
}

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    :root, ._light_1tncs_1, ._light-theme_1tncs_1 {
      --cyan-1: color(display-p3 0.982 0.992 0.996);
      --cyan-2: color(display-p3 0.955 0.981 0.984);
      --cyan-3: color(display-p3 0.888 0.965 0.975);
      --cyan-4: color(display-p3 0.821 0.941 0.959);
      --cyan-5: color(display-p3 0.751 0.907 0.935);
      --cyan-6: color(display-p3 0.671 0.862 0.9);
      --cyan-7: color(display-p3 0.564 0.8 0.854);
      --cyan-8: color(display-p3 0.388 0.715 0.798);
      --cyan-9: color(display-p3 0.282 0.627 0.765);
      --cyan-10: color(display-p3 0.264 0.583 0.71);
      --cyan-11: color(display-p3 0.08 0.48 0.63);
      --cyan-12: color(display-p3 0.108 0.232 0.277);
    }
  }
}

:root, ._light_1tncs_1, ._light-theme_1tncs_1 {
  --amber-1: #fefdfb;
  --amber-2: #fefbe9;
  --amber-3: #fff7c2;
  --amber-4: #ffee9c;
  --amber-5: #fbe577;
  --amber-6: #f3d673;
  --amber-7: #e9c162;
  --amber-8: #e2a336;
  --amber-9: #ffc53d;
  --amber-10: #ffba18;
  --amber-11: #ab6400;
  --amber-12: #4f3422;
}

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    :root, ._light_1tncs_1, ._light-theme_1tncs_1 {
      --amber-1: color(display-p3 0.995 0.992 0.985);
      --amber-2: color(display-p3 0.994 0.986 0.921);
      --amber-3: color(display-p3 0.994 0.969 0.782);
      --amber-4: color(display-p3 0.989 0.937 0.65);
      --amber-5: color(display-p3 0.97 0.902 0.527);
      --amber-6: color(display-p3 0.936 0.844 0.506);
      --amber-7: color(display-p3 0.89 0.762 0.443);
      --amber-8: color(display-p3 0.85 0.65 0.3);
      --amber-9: color(display-p3 1 0.77 0.26);
      --amber-10: color(display-p3 0.959 0.741 0.274);
      --amber-11: color(display-p3 0.64 0.4 0);
      --amber-12: color(display-p3 0.294 0.208 0.145);
    }
  }
}

:root, ._light_1tncs_1, ._light-theme_1tncs_1 {
  --red-1: #fffcfc;
  --red-2: #fff7f7;
  --red-3: #feebec;
  --red-4: #ffdbdc;
  --red-5: #ffcdce;
  --red-6: #fdbdbe;
  --red-7: #f4a9aa;
  --red-8: #eb8e90;
  --red-9: #e5484d;
  --red-10: #dc3e42;
  --red-11: #ce2c31;
  --red-12: #641723;
}

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    :root, ._light_1tncs_1, ._light-theme_1tncs_1 {
      --red-1: color(display-p3 0.998 0.989 0.988);
      --red-2: color(display-p3 0.995 0.971 0.971);
      --red-3: color(display-p3 0.985 0.925 0.925);
      --red-4: color(display-p3 0.999 0.866 0.866);
      --red-5: color(display-p3 0.984 0.812 0.811);
      --red-6: color(display-p3 0.955 0.751 0.749);
      --red-7: color(display-p3 0.915 0.675 0.672);
      --red-8: color(display-p3 0.872 0.575 0.572);
      --red-9: color(display-p3 0.83 0.329 0.324);
      --red-10: color(display-p3 0.798 0.294 0.285);
      --red-11: color(display-p3 0.744 0.234 0.222);
      --red-12: color(display-p3 0.36 0.115 0.143);
    }
  }
}

._bold_1tncs_10 {
  font-weight: bold;
}

._italic_1tncs_14 {
  font-style: italic;
}

._underline_1tncs_18 {
  text-decoration: underline;
}

._bold_1tncs_10 {
  font-weight: 700;
}

._italic_1tncs_14 {
  font-style: italic;
}

._underline_1tncs_18 {
  text-decoration: underline
}

._strikethrough_1tncs_34 {
  text-decoration: line-through
}

._underlineStrikethrough_1tncs_38 {
  text-decoration: underline line-through
}

._subscript_1tncs_42 {
  font-size: .8em;
  vertical-align: sub !important
}

._superscript_1tncs_47 {
  font-size: .8em;
  vertical-align: super
}

._code_1tncs_52 {
  background-color: var(--baseBg);
  padding: 1px .25rem;
  font-family: var(--font-mono);
  font-size: 94%
}

._nestedListItem_1tncs_59 {
  list-style: none;
  list-style-type: none;
}

._nestedListItem_1tncs_59:before,
._nestedListItem_1tncs_59:after {
  display: none;
}

._listitem_1tncs_69 {
  margin: var(--spacing-2) 0;
}

._listItemChecked_1tncs_73,
._listItemUnchecked_1tncs_74 {
  position: relative;
  margin-left: 0;
  margin-right: 0;
  margin-inline-start: -1rem;
  padding-left: var(--spacing-6);
  padding-right: var(--spacing-6);
  list-style-type: none;
  outline: none;
}

._listItemChecked_1tncs_73 {
  text-decoration: line-through;
}

._listItemUnchecked_1tncs_74:before,
._listItemChecked_1tncs_73:before {
  content: '';
  width: var(--spacing-4);
  height: var(--spacing-4);
  top: 0;
  left: 0;
  cursor: pointer;
  display: block;
  background-size: cover;
  position: absolute;
}

._listItemUnchecked_1tncs_74[dir='rtl']:before,
._listItemChecked_1tncs_73[dir='rtl']:before {
  left: auto;
  right: 0;
}

._listItemUnchecked_1tncs_74:focus:before,
._listItemChecked_1tncs_73:focus:before {
  box-shadow: 0 0 0 2px var(--accentBgActive);
  border-radius: var(--radius-small);
}

._listItemUnchecked_1tncs_74:before {
  border: 1px solid var(--baseBorder);
  border-radius: var(--radius-small);
}

._listItemChecked_1tncs_73:before {
  border: 1px solid var(--accentBorder);
  border-radius: var(--radius-small);
  background-color: var(--accentSolid);
  background-repeat: no-repeat;
}

._listItemChecked_1tncs_73:after {
  content: '';
  cursor: pointer;
  border-color: var(--baseBase);
  border-style: solid;
  position: absolute;
  display: block;
  top: var(--spacing-0_5);
  width: var(--spacing-1);
  left: var(--spacing-1_5);
  right: var(--spacing-1_5);
  height: var(--spacing-2);
  transform: rotate(45deg);
  border-width: 0 var(--spacing-0_5) var(--spacing-0_5) 0;
}

._nestedListItem_1tncs_59 {
  list-style-type: none;
}

._nestedListItem_1tncs_59:before,
._nestedListItem_1tncs_59:after {
  display: none;
}

._admonitionDanger_1tncs_151,
._admonitionInfo_1tncs_152,
._admonitionNote_1tncs_153,
._admonitionTip_1tncs_154,
._admonitionCaution_1tncs_155 {
  padding: var(--spacing-2);
  margin-top: var(--spacing-2);
  margin-bottom: var(--spacing-2);
  border-left: 3px solid var(--admonitionBorder);
  background-color: var(--admonitionBg);
}

._admonitionInfo_1tncs_152 {
  --admonitionBorder: var(--admonitionInfoBorder);
  --admonitionBg: var(--admonitionInfoBg);
}

._admonitionTip_1tncs_154 {
  --admonitionBorder: var(--admonitionTipBorder);
  --admonitionBg: var(--admonitionTipBg);
}

._admonitionCaution_1tncs_155 {
  --admonitionBorder: var(--admonitionCautionBorder);
  --admonitionBg: var(--admonitionCautionBg);
}

._admonitionDanger_1tncs_151 {
  --admonitionBorder: var(--admonitionDangerBorder);
  --admonitionBg: var(--admonitionDangerBg);
}

._admonitionNote_1tncs_153 {
  --admonitionBorder: var(--admonitionNoteBorder);
  --admonitionBg: var(--admonitionNoteBg);
}

._mdxExpression_1tncs_188 {
  font-family: var(--font-mono);
  font-size: 84%;
  color: var(--accentText);
}

._mdxExpression_1tncs_188 input:focus-visible {
    outline: none;
  }
/*$vite$:1*/