.q-modal-page__paragraph {
  font-size: 14px;
  line-height: 20px;
  margin: 0;
}
.q-modal-page__fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.q-modal-page__fields .q-label__text {
  line-height: 20px;
}
.q-modal-page__action-group {
  display: flex;
  gap: 16px;
}
.q-modal-page__inset {
  margin: 0 -20px;
  padding: 24px 20px;
  background: #fafafa;
  border-top: 1px solid #eaeaea;
  border-bottom: 1px solid #eaeaea;
}
.q-modal-page__outside {
  padding-top: 20px;
}
.q-modal-page__inset--last {
  margin-bottom: -20px;
  border-bottom: 0;
}
.q-modal-page__label {
  display: block;
  font-size: 13px;
  line-height: 20px;
  margin-bottom: 8px;
  color: #666;
}
[data-theme='dark'] .q-modal-page__inset {
  background: #111;
  border-color: #333;
}
[data-theme='dark'] .q-modal-page__label {
  color: #a1a1a1;
}

/* Include the fixed 64px docs header; the reference supplies this via root scroll padding. */
.q-modal-page__guidance .q-docs-example__anchor {
  scroll-margin-top: 96px;
}
.q-modal-page__guidance-body {
  margin-top: 16px;
}
.q-modal-page__guidance-body > .q-docs-example__anchor {
  margin-top: 16px;
}
.q-modal-page__guidance h3 {
  margin: 0;
  font-size: 20px;
  line-height: 26px;
  font-weight: 600;
  letter-spacing: -0.4px;
}
.q-modal-page__guidance ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: disc;
}
.q-modal-page__guidance li {
  margin: 8px 0 0 32px;
  padding: 2px 0;
  line-height: 24px;
  color: #4d4d4d;
}
[data-theme='dark'] .q-modal-page__guidance li {
  color: #a1a1a1;
}

:is(.q-modal-page__guidance, .q-modal-page .q-docs-example__description) code {
  font-family: QuoterGeistMono, monospace;
  font-size: 0.857142857em;
  line-height: inherit;
  padding: 2px 3.6px;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  background: var(--q-gray-100);
  color: var(--q-gray-900);
}
[data-theme='dark'] :is(.q-modal-page__guidance, .q-modal-page .q-docs-example__description) code {
  border-color: #292929;
}

.q-modal-page .q-docs-example__description > p {
  margin: 0;
}

.q-modal-page__component-link {
  color: inherit;
  font-weight: inherit;
  text-decoration: none;
}
.q-modal-page__component-link:hover {
  text-decoration: underline;
}

.q-modal-page__guidance .q-modal-page__component-link {
  color: var(--q-gray-1000);
  font-weight: 500;
}
