/*
 * Task F design-completion contract.
 *
 * Task E remains the verification baseline. This file is the final visual
 * authority for shared chrome and the ten Task F designed routes. It is
 * intentionally loaded after the historical Task A-D calibration layers.
 */

:root {
  /* Compatibility aliases keep historical bundles on the canonical token
   * values while this final cascade layer remains the public-page authority. */
  --wpq-font-ui: var(--wpq-font-sans);
  --wpq-font-body: var(--wpq-font-sans);
  --wpq-bg: var(--wpq-color-surface);
  --wpq-bg-soft: var(--wpq-color-surface-muted);
  --wpq-paper: var(--wpq-color-surface);
  --wpq-ink: var(--wpq-color-ink);
  --wpq-ink-soft: var(--wpq-color-copy);
  --wpq-muted: var(--wpq-color-muted);
  --wpq-blue: var(--wpq-color-blue);
  --wpq-blue-strong: var(--wpq-color-blue);
  --wpq-blue-soft: var(--wpq-color-blue-subtle);
  --wpq-blue-faint: var(--wpq-color-surface-subtle);
  --wpq-green: var(--wpq-color-green);
  --wpq-green-soft: var(--wpq-color-green-subtle);
  --wpq-yellow: var(--wpq-color-orange);
  --wpq-yellow-soft: var(--wpq-color-orange-subtle);
  --wpq-purple: var(--wpq-color-violet);
  --wpq-purple-soft: var(--wpq-color-violet-subtle);
  --wpq-line: var(--wpq-color-line);
  --wpq-line-strong: var(--wpq-color-line-strong);
  --wpq-ui-ink: var(--wpq-color-ink);
  --wpq-ui-copy: var(--wpq-color-copy);
  --wpq-ui-meta: var(--wpq-color-muted);
  --wpq-ui-blue: var(--wpq-color-blue);
  --wpq-ui-green: var(--wpq-color-green);
  --wpq-ui-amber: var(--wpq-color-orange);
  --wpq-ui-violet: var(--wpq-color-violet);
  --wpq-ui-line: var(--wpq-color-line);
  --wpq-ui-line-soft: var(--wpq-color-line-soft);
  --wpq-ui-shell: var(--wpq-shell);
  --wpq-ui-rail: var(--wpq-rail);

  --wpq-f-navy: var(--wpq-color-ink);
  --wpq-f-body: var(--wpq-color-copy);
  --wpq-f-muted: var(--wpq-color-muted);
  --wpq-f-line: var(--wpq-color-line);
  --wpq-f-line-strong: var(--wpq-color-line-strong);
  --wpq-f-blue: var(--wpq-color-blue);
  --wpq-f-green: var(--wpq-color-green);
  --wpq-f-orange: var(--wpq-color-orange);
  --wpq-f-violet: var(--wpq-color-violet);
  --wpq-f-footer: var(--wpq-color-footer);
  --wpq-f-surface: var(--wpq-color-surface);
  --wpq-f-surface-subtle: var(--wpq-color-surface-subtle);
  --wpq-f-blue-subtle: var(--wpq-color-blue-subtle);
  --wpq-f-green-subtle: var(--wpq-color-green-subtle);
  --wpq-f-orange-subtle: var(--wpq-color-orange-subtle);
  --wpq-f-violet-subtle: var(--wpq-color-violet-subtle);
  --wpq-f-shell: var(--wpq-shell);
}

/* Task H closure: keep every page-intro lead on the shared type scale. */
body .wpq-site-main :is(
  .wpq-home-hero__lead,
  .wpq-public-hub__intro > p,
  .wpq-public-discovery__intro > p,
  .wpq-archive-intro > p,
  .wpq-popular-hero__lead,
  .wpq-whats-new-hero__lead,
  .wpq-cheatsheet-v1__intro > p,
  .wpq-trust-v1__intro > p,
  .wpq-privacy-v1__intro > p,
  .wpq-contact-v1__intro > p
) {
  font-family: var(--wpq-font-sans) !important;
  font-size: var(--wpq-type-control) !important;
  font-weight: var(--wpq-weight-regular) !important;
  line-height: var(--wpq-leading-relaxed) !important;
  letter-spacing: var(--wpq-tracking-default) !important;
}

/*
 * The compact popular list previously kept an older 180px grid track because
 * a more specific legacy rule won the cascade. Re-state the production layout
 * with sufficient specificity so the thumbnail, badge and copy never overlap.
 */
@media (min-width: 900px) {
  html body .wpq-site-main .wpq-popular-compact-list > .wpq-popular-card > .wpq-popular-card__link {
    grid-template-columns: minmax(240px, 260px) minmax(0, 1fr) !important;
    grid-template-rows: auto 1fr !important;
    grid-template-areas:
      "popular-thumb popular-eyebrow"
      "popular-thumb popular-body" !important;
    column-gap: var(--wpq-space-4) !important;
    row-gap: var(--wpq-space-2) !important;
  }

  html body .wpq-site-main .wpq-popular-compact-list > .wpq-popular-card .wpq-popular-card__thumb {
    align-self: center !important;
    width: 100% !important;
  }

  html body .wpq-site-main .wpq-popular-compact-list > .wpq-popular-card .wpq-popular-card__body {
    grid-template-rows: minmax(2.9em, auto) minmax(3.2em, auto) auto !important;
    align-content: center !important;
    gap: var(--wpq-space-2) !important;
  }
}

@media (max-width: 899px) {
  body .wpq-site-main :is(
    .wpq-home-hero__lead,
    .wpq-public-hub__intro > p,
    .wpq-public-discovery__intro > p,
    .wpq-archive-intro > p,
    .wpq-popular-hero__lead,
    .wpq-whats-new-hero__lead,
    .wpq-cheatsheet-v1__intro > p,
    .wpq-trust-v1__intro > p,
    .wpq-privacy-v1__intro > p,
    .wpq-contact-v1__intro > p
  ) {
    font-size: var(--wpq-type-body) !important;
  }
}

/* --------------------------------------------------------------------------
 * Task H: reviewer-comment closure (2026-08-14)
 *
 * One component owns each adjacent divider. Typography, spacing and controls
 * below use the shared tokens so route-specific pages no longer drift from the
 * public design system.
 * -------------------------------------------------------------------------- */

/* Search controls use the complete main-content track on every discovery page. */
body .wpq-site-main :is(
    .wpq-search-query-form,
    .wpq-archive-query-form,
    .wpq-trouble-search,
    .wpq-glossary-search
  ) {
  width: 100% !important;
  max-width: none !important;
}

/* Adjacent listing regions have one divider owner, never two empty parallel
 * rules. The individual row owns its lower divider; wrappers own none. */
body .wpq-site-main :is(
    .wpq-archive-card-list,
    .wpq-category-archive-card-list,
    .wpq-search-card-list,
    .wpq-tag-featured__list,
    .wpq-trouble-article-list,
    .wpq-glossary-list
  ) {
  border-block: 0 !important;
}

body .wpq-site-main :is(
    .wpq-archive-card,
    .wpq-category-card,
    .wpq-search-card-list > article,
    .wpq-tag-featured__list > article,
    .wpq-trouble-article-list > a,
    .wpq-glossary-list > a
  ) {
  border-top: 0 !important;
  border-bottom: 1px solid var(--wpq-f-line) !important;
  box-shadow: none !important;
}

body .wpq-site-main :is(
    .wpq-archive-card-list,
    .wpq-category-archive-card-list,
    .wpq-search-card-list,
    .wpq-tag-featured__list,
    .wpq-trouble-article-list,
    .wpq-glossary-list
  ) > :last-child {
  border-bottom: 0 !important;
}

body .wpq-site-main :is(
    .wpq-archive-result-toolbar,
    .wpq-archive-filter-bar,
    .wpq-category-archive-filter-bar,
    .wpq-search-filter-bar
  ) + :is(.wpq-archive-card-list, .wpq-category-archive-card-list, .wpq-search-result-group) {
  margin-top: var(--wpq-space-3) !important;
}

/* Archive excerpts reserve a consistent three-line reading area. */
body .wpq-site-main .wpq-archive-card__excerpt {
  display: -webkit-box !important;
  min-height: calc(3 * 1.65em) !important;
  overflow: hidden !important;
  white-space: normal !important;
  text-overflow: ellipsis !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 3 !important;
}

/* The four route tiles are one reusable responsive pattern. Titles stay at
 * the top while wrapping copy expands downward. */
body .wpq-site-main :is(
    .wpq-home-feature-grid,
    .wpq-hub-route-grid,
    .wpq-archive-journeys__links
  ) > a,
body.home .wpq-site-main .wpq-home-feature-card {
  align-content: start !important;
  align-items: start !important;
}

body .wpq-site-main :is(
    .wpq-hub-route__copy,
    .wpq-archive-journey__copy,
    .wpq-home-feature-card__copy
  ) {
  align-content: start !important;
}

body.home .wpq-site-main .wpq-home-feature-grid {
  margin-bottom: var(--wpq-space-5) !important;
  padding-bottom: var(--wpq-space-4) !important;
}

@media (min-width: 1200px) {
  body .wpq-site-main :is(
      .wpq-home-feature-grid,
      .wpq-hub-route-grid,
      .wpq-archive-journeys__links
    ) {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 700px) and (max-width: 1199px) {
  body .wpq-site-main :is(
      .wpq-home-feature-grid,
      .wpq-hub-route-grid,
      .wpq-archive-journeys__links
    ) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 699px) {
  body .wpq-site-main :is(
      .wpq-home-feature-grid,
      .wpq-hub-route-grid,
      .wpq-archive-journeys__links
    ) {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* Home rail: the Builder is a CTA card; supporting widgets are unboxed groups
 * separated by a single consistent divider and spacing rhythm. */
body.home .wpq-site-main .wpq-home-side {
  gap: 0 !important;
}

body.home .wpq-site-main .wpq-home-widget:not(.wpq-home-widget--builder),
body.home .wpq-site-main .wpq-mobile-rail-disclosure__body > .wpq-home-widget:not(.wpq-home-widget--builder) {
  margin: 0 !important;
  padding: var(--wpq-space-5) 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--wpq-f-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.home .wpq-site-main .wpq-home-widget--builder {
  margin-bottom: var(--wpq-space-4) !important;
}

/* Parameter directory row rules stop short of the central divider. */
@media (min-width: 700px) {
  body .wpq-site-main .wpq-parameter-index__jump-grid .wpq-reference-hub__jump {
    border-bottom: 0 !important;
    background-image: none !important;
  }

  body .wpq-site-main .wpq-parameter-index__jump-grid .wpq-reference-hub__jump:nth-last-child(-n + 2) {
    background-image: none;
  }
}

body .wpq-site-main .wpq-parameter-detail__table-head {
  align-items: center !important;
  color: var(--wpq-f-navy) !important;
  background: var(--wpq-color-surface-muted) !important;
}

body .wpq-site-main .wpq-parameter-detail__table-head > span {
  display: flex !important;
  min-height: 44px !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

body .wpq-site-main .wpq-parameter-detail__table-row {
  align-items: stretch !important;
}

body .wpq-site-main .wpq-parameter-detail__table-row > * {
  display: flex !important;
  min-width: 0 !important;
  align-items: center !important;
}

body .wpq-site-main .wpq-parameter-detail__table-row > code {
  justify-content: center !important;
  text-align: center !important;
  font-weight: var(--wpq-weight-medium) !important;
}

body .wpq-site-main .wpq-parameter-detail__official {
  margin-top: var(--wpq-space-3) !important;
}

body .wpq-site-main :is(
    .wpq-parameter-detail__questions,
    .wpq-parameter-detail__siblings,
    .wpq-reference-hub__safety,
    .wpq-trouble-results
  ) > .wpq-section-guidance,
body .wpq-site-main :is(
    .wpq-parameter-detail__questions,
    .wpq-parameter-detail__siblings,
    .wpq-reference-hub__safety,
    .wpq-trouble-results
  ) > p:not(:last-child) {
  max-width: none !important;
}

/* Implementation examples use centered visual anchors and stronger code
 * labels. The last recipe yields its divider to the safety section. */
body .wpq-site-main .wpq-reference-hub__placement-card {
  align-items: center !important;
}

body .wpq-site-main .wpq-reference-hub__placement-card > :first-child,
body .wpq-site-main .wpq-reference-hub__example-head > :first-child {
  align-self: center !important;
}

body .wpq-site-main .wpq-reference-hub__placement-card code,
body .wpq-site-main .wpq-reference-hub__example-head code {
  font-family: var(--wpq-font-mono) !important;
  font-size: var(--wpq-type-small-strong) !important;
  font-weight: var(--wpq-weight-medium) !important;
  line-height: 1.5 !important;
}

body .wpq-site-main .wpq-reference-hub__examples > :last-child {
  border-bottom: 0 !important;
}

body .wpq-site-main .wpq-reference-hub__safety {
  margin-top: var(--wpq-space-5) !important;
  padding-top: var(--wpq-space-5) !important;
  border-top: 1px solid var(--wpq-f-line) !important;
}

/* Troubleshooting controls communicate both the default all-state and the
 * click-again-to-clear interaction without stealing width from the main copy. */
body .wpq-site-main .wpq-trouble-recommended__lead,
body .wpq-site-main .wpq-trouble-results > .wpq-section-guidance,
body .wpq-site-main .wpq-trouble-classifications__help {
  width: 100% !important;
  max-width: none !important;
}

body .wpq-site-main .wpq-trouble-classifications {
  display: grid !important;
  gap: var(--wpq-space-3) !important;
}

body .wpq-site-main .wpq-trouble-classifications__heading-row {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: var(--wpq-space-2) var(--wpq-space-4) !important;
  align-items: center !important;
  justify-content: space-between !important;
}

body .wpq-site-main .wpq-trouble-symptom-list > a,
body .wpq-site-main .wpq-trouble-classification {
  align-items: center !important;
}

body .wpq-site-main :is(.wpq-trouble-symptom-list, .wpq-trouble-article-list) svg {
  align-self: center !important;
}

body .wpq-site-main .wpq-trouble-article-list > a {
  font-size: var(--wpq-type-small) !important;
  line-height: var(--wpq-leading-copy) !important;
}

/* Kana and alphabet filters are controls, so their glyphs are optically
 * centered rather than sitting on the text baseline. */
body .wpq-site-main :is(.wpq-glossary-index__row nav, .wpq-tag-initial-index) a {
  display: inline-flex !important;
  min-height: 36px !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}

/* Popular cards: stable title/excerpt areas, no badge collision, and a larger
 * thumbnail in the compact list. */
body .wpq-site-main .wpq-popular-card__link {
  position: relative !important;
}

body .wpq-site-main .wpq-popular-card__eyebrow {
  z-index: 1 !important;
  margin: 0 !important;
  align-self: start !important;
}

body .wpq-site-main .wpq-popular-card__body {
  display: grid !important;
  align-content: start !important;
  gap: var(--wpq-space-2) !important;
  min-width: 0 !important;
}

body .wpq-site-main .wpq-popular-card__body h2 {
  display: flex !important;
  min-height: calc(2 * 1.45em) !important;
  margin: 0 !important;
  align-items: center !important;
}

body .wpq-site-main .wpq-popular-card__body p {
  display: -webkit-box !important;
  min-height: calc(3 * var(--wpq-leading-copy) * 1em) !important;
  margin: 0 !important;
  overflow: hidden !important;
  white-space: normal !important;
  text-overflow: ellipsis !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 3 !important;
}

@media (min-width: 900px) {
  body .wpq-site-main .wpq-popular-compact-list .wpq-popular-card__link {
    grid-template-columns: minmax(190px, 230px) minmax(0, 1fr) !important;
  }

  body .wpq-site-main .wpq-popular-compact-list .wpq-popular-card__thumb {
    width: 100% !important;
  }
}

/* What's New: summary contents are centered inside equal tracks, filter tabs
 * expose semantic icons, and every timeline explanation starts on a shared
 * second line. */
body .wpq-site-main .wpq-whats-new-summary-card {
  justify-content: center !important;
}

body .wpq-site-main .wpq-whats-new-summary-card > * {
  min-width: 0 !important;
}

body .wpq-site-main .wpq-whats-new-type-tabs a {
  display: inline-flex !important;
  gap: var(--wpq-space-1-5) !important;
  align-items: center !important;
  justify-content: center !important;
}

body .wpq-site-main .wpq-whats-new-type-tabs svg {
  width: 16px !important;
  height: 16px !important;
  flex: 0 0 16px !important;
}

body .wpq-site-main .wpq-whats-new-entry__content {
  display: block !important;
}

body .wpq-site-main .wpq-whats-new-entry__meta {
  display: grid !important;
  grid-template-columns: 83px minmax(0, 1fr) !important;
  gap: var(--wpq-space-3) !important;
  align-items: center !important;
}

body .wpq-site-main .wpq-whats-new-entry__meta h2 {
  min-width: 0 !important;
  margin: 0 !important;
}

body .wpq-site-main .wpq-whats-new-entry__content > p {
  display: block !important;
  width: 100% !important;
  margin: var(--wpq-space-2) 0 0 !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
}

body .wpq-site-main .wpq-whats-new-timeline-panel__footer {
  margin-top: var(--wpq-space-5) !important;
  padding-top: 0 !important;
  border-top: 0 !important;
}

body .wpq-site-main .wpq-whats-new-summary-meta {
  margin-top: var(--wpq-space-4) !important;
}

/* Tag counts belong to the far edge of their cards. */
body .wpq-site-main :is(.wpq-tag-popular__grid > a, .wpq-tag-directory__item) > b {
  justify-self: end !important;
  margin-left: auto !important;
  text-align: right !important;
  white-space: nowrap !important;
}

/* Cheatsheet navigation is an equal-width centered control. Its code sample
 * uses the same dark code surface as the implementation and parameter pages. */
body .wpq-site-main .wpq-cheatsheet-v1__section-tabs {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  width: 100% !important;
}

body .wpq-site-main .wpq-cheatsheet-v1__section-tabs a {
  display: flex !important;
  min-height: 48px !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

body .wpq-site-main .wpq-cheatsheet-v1__filters a {
  display: inline-flex !important;
  min-height: 40px !important;
  align-items: center !important;
  justify-content: center !important;
}

body .wpq-site-main .wpq-cheatsheet-v1__code-block {
  overflow: hidden !important;
  border-color: var(--wpq-color-footer-line) !important;
  background: var(--wpq-color-code-surface) !important;
}

body .wpq-site-main .wpq-cheatsheet-v1__code-head {
  border-bottom-color: var(--wpq-color-footer-line) !important;
  color: var(--wpq-color-code-copy) !important;
  background: var(--wpq-color-footer-deep) !important;
}

body .wpq-site-main .wpq-cheatsheet-v1__code-head > strong {
  color: var(--wpq-color-code-copy) !important;
}

body .wpq-site-main .wpq-cheatsheet-v1__copy {
  color: var(--wpq-color-code-variable) !important;
}

body .wpq-site-main .wpq-cheatsheet-v1__code-block pre {
  color: var(--wpq-color-code-copy) !important;
  background: var(--wpq-color-code-surface) !important;
}

/* The cheatsheet shares the canonical dark-code palette with examples and
 * parameter references. These declarations intentionally outrank the legacy
 * light-code syntax colours from public-pages-v1.css. */
body .wpq-site-main .wpq-cheatsheet-v1__code-block .c-var {
  color: var(--wpq-color-code-variable) !important;
}

body .wpq-site-main .wpq-cheatsheet-v1__code-block .c-keyword {
  color: var(--wpq-color-code-keyword) !important;
}

body .wpq-site-main .wpq-cheatsheet-v1__code-block .c-key {
  color: var(--wpq-color-code-key) !important;
}

body .wpq-site-main .wpq-cheatsheet-v1__code-block .c-str {
  color: var(--wpq-color-code-string) !important;
}

body .wpq-site-main .wpq-cheatsheet-v1__code-block .c-num {
  color: var(--wpq-color-code-number) !important;
}

body .wpq-site-main .wpq-cheatsheet-v1__code-block .c-fn {
  color: var(--wpq-color-code-function) !important;
}

body .wpq-site-main .wpq-cheatsheet-v1__code-block .c-comment {
  color: var(--wpq-color-code-comment) !important;
}

/* Contact file input: only the action is button-shaped. The selected filename
 * and accepted formats remain plain adjacent text. */
body .wpq-site-main .wpq-contact-file-shell {
  display: grid !important;
  grid-template-columns: max-content minmax(0, 1fr) !important;
  gap: var(--wpq-space-1) var(--wpq-space-3) !important;
  align-items: center !important;
}

body .wpq-site-main .wpq-contact-file-control {
  display: inline-flex !important;
  width: fit-content !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 32px !important;
  padding: 0 !important;
  border: 1px solid var(--wpq-f-line-strong) !important;
  border-radius: 4px !important;
  background: var(--wpq-color-surface) !important;
  overflow: visible !important;
}

body .wpq-site-main .wpq-contact-file-control__button {
  min-width: 0 !important;
  padding: var(--wpq-space-1-5) var(--wpq-space-3) !important;
  border: 0 !important;
}

body .wpq-site-main .wpq-contact-file-name,
body .wpq-site-main .wpq-contact-file-shell > .wpq-contact-field__help {
  display: block !important;
  min-width: 0 !important;
  color: var(--wpq-f-muted) !important;
  font-size: var(--wpq-type-small) !important;
  line-height: 1.5 !important;
}

body .wpq-site-main .wpq-contact-file-shell > .wpq-contact-field__help {
  grid-column: 2 !important;
}

body .wpq-site-main .wpq-contact-v1__types {
  margin-top: var(--wpq-space-7) !important;
  padding-bottom: var(--wpq-space-7) !important;
}

body .wpq-site-main .wpq-contact-v1__types > .wpq-contact-v1__section-head {
  margin-bottom: var(--wpq-space-4) !important;
  padding-top: var(--wpq-space-4) !important;
  border-top: 1px solid var(--wpq-f-line) !important;
}

/* Fixed trust pages keep their content-specific density but share the same
 * font family, heading scale and rail hierarchy. */
body .wpq-site-main :is(.wpq-trust-v1, .wpq-privacy-v1) {
  font-family: var(--wpq-font-sans) !important;
  font-weight: var(--wpq-weight-regular) !important;
  letter-spacing: var(--wpq-tracking-default) !important;
}

body .wpq-site-main :is(.wpq-trust-v1__main, .wpq-privacy-v1__main) h2 {
  color: var(--wpq-f-navy) !important;
  font-size: var(--wpq-type-section) !important;
  font-weight: var(--wpq-weight-bold) !important;
  line-height: var(--wpq-leading-heading) !important;
}

body .wpq-site-main :is(.wpq-trust-v1__toc, .wpq-trust-v1__related) a {
  font-size: var(--wpq-type-small-strong) !important;
  font-weight: var(--wpq-weight-medium) !important;
  line-height: 1.55 !important;
}

/* Footer meta rows do not stretch to the full column. The external-link icon
 * stays next to the label instead of being pushed to the far edge. */
.wpq-footer-meta-nav a {
  display: inline-flex !important;
  width: fit-content !important;
  max-width: 100% !important;
  gap: var(--wpq-space-2) !important;
  align-items: center !important;
  justify-content: flex-start !important;
  justify-self: start !important;
}

.wpq-footer-meta-nav a svg {
  margin-left: 0 !important;
  flex: 0 0 auto !important;
}

@media (max-width: 699px) {
  body .wpq-site-main .wpq-cheatsheet-v1__section-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    height: auto !important;
    min-height: 48px !important;
    overflow: visible !important;
  }

  body .wpq-site-main .wpq-cheatsheet-v1__section-tabs a {
    height: auto !important;
    min-height: 48px !important;
  }

  body .wpq-site-main .wpq-parameter-index__jump-grid .wpq-reference-hub__jump {
    border-bottom: 0 !important;
    background-image: none !important;
  }

  body .wpq-site-main .wpq-parameter-index__jump-grid .wpq-reference-hub__jump:last-child {
    background-image: none;
  }

  body .wpq-site-main .wpq-whats-new-entry__meta {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body .wpq-site-main .wpq-whats-new-entry__badge {
    justify-self: start !important;
  }

  body .wpq-site-main .wpq-contact-file-shell {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body .wpq-site-main .wpq-contact-file-shell > .wpq-contact-field__help {
    grid-column: 1 !important;
  }
}

/* Parameter directory separators use real one-pixel rules. Each desktop rule
 * stops before the center gutter; on a single-column layout the same inset is
 * applied symmetrically. This avoids gradient-based faux borders and prevents
 * adjacent rules from visually merging into a cross. */
body .wpq-site-main .wpq-parameter-index__jump-grid .wpq-reference-hub__jump {
  position: relative !important;
  border-bottom: 0 !important;
  background-image: none !important;
}

body .wpq-site-main .wpq-parameter-index__jump-grid .wpq-reference-hub__jump::after {
  position: absolute;
  bottom: 0;
  height: 1px;
  background: var(--wpq-f-line);
  content: "";
  pointer-events: none;
}

@media (min-width: 700px) {
  body .wpq-site-main .wpq-parameter-index__jump-grid .wpq-reference-hub__jump:nth-child(odd)::after {
    right: var(--wpq-space-4);
    left: 0;
  }

  body .wpq-site-main .wpq-parameter-index__jump-grid .wpq-reference-hub__jump:nth-child(even)::after {
    right: 0;
    left: var(--wpq-space-4);
  }

  body .wpq-site-main .wpq-parameter-index__jump-grid .wpq-reference-hub__jump:nth-last-child(-n + 2)::after {
    content: none;
  }
}

@media (max-width: 699px) {
  body .wpq-site-main .wpq-parameter-index__jump-grid .wpq-reference-hub__jump::after {
    right: var(--wpq-space-4);
    left: var(--wpq-space-4);
  }

  body .wpq-site-main .wpq-parameter-index__jump-grid .wpq-reference-hub__jump:last-child::after {
    content: none;
  }
}

html,
body,
button,
input,
select,
textarea {
  font-family: var(--wpq-font-sans) !important;
  font-synthesis: none;
  letter-spacing: var(--wpq-tracking-default);
}

body {
  min-width: 320px;
  color: var(--wpq-f-navy);
  background: var(--wpq-f-surface);
  font-size: var(--wpq-type-control);
  font-weight: var(--wpq-weight-regular);
  line-height: var(--wpq-leading-body);
}

/* Public hubs use the selected no-underline link language. Article and
 * glossary detail prose keep their editorial link treatment. */
body:not(.single-wpq_article):not(.single-wpq_glossary) .wpq-site-main a {
  text-decoration: none !important;
}

.home .wpq-home-article-card__thumb.article-thumb {
  background: var(--wpq-color-surface-subtle) !important;
}

.wpq-site-footer {
  background: var(--wpq-f-footer) !important;
}

.wpq-footer-eyebrow {
  color: var(--wpq-color-footer-eyebrow) !important;
}

.wpq-footer-copy {
  color: var(--wpq-color-footer-copy) !important;
}

.wpq-footer-meta-copy,
.wpq-footer-meta-note {
  color: var(--wpq-color-footer-meta) !important;
}

.wpq-footer-menu a,
.wpq-footer-meta-nav a {
  color: var(--wpq-color-footer-muted) !important;
  text-decoration: none !important;
}

body .wpq-site-main :is(
    .wpq-public-hub__intro,
    .wpq-public-discovery__intro,
    .wpq-archive-intro,
    .wpq-public-compact-intro,
    .wpq-trust-v1__intro,
    .wpq-contact-v1__intro,
    .wpq-whats-new-hero__copy,
    .wpq-popular-hero__copy,
    .wpq-sitemap-v1__intro,
    .wpq-category-archive-intro__copy
  ) h1,
body .wpq-site-main .wpq-home-hero h1,
body .wpq-site-main .wpq-404-hero h1,
body .wpq-site-main .wpq-popular-title-row h1,
body .wpq-site-main .wpq-whats-new-hero h1 {
  color: var(--wpq-f-navy) !important;
  font-size: var(--wpq-type-display) !important;
  font-weight: var(--wpq-weight-bold) !important;
  line-height: var(--wpq-leading-tight) !important;
  letter-spacing: var(--wpq-tracking-default) !important;
}

body .wpq-site-main :is(
    .wpq-public-hub,
    .wpq-public-discovery,
    .wpq-popular-shell,
    .wpq-whats-new-shell,
    .wpq-official-reference-v1,
    .wpq-cheatsheet-v1,
    .wpq-trust-v1,
    .wpq-contact-v1,
    .wpq-sitemap-v1
  ) :is(h2, h3, strong, b) {
  font-weight: var(--wpq-weight-bold);
  letter-spacing: var(--wpq-tracking-default);
}

/* Keep exact semantic accents on icons, with AA-safe companions on small text. */
.home .wpq-home-feature-card:nth-child(1) .wpq-home-feature-card__title,
.wpq-category-directory__row.wpq-category-card--tone-blue .wpq-category-directory__copy strong,
.wpq-category-directory__row.wpq-category-card--tone-blue .wpq-category-directory__articles > strong,
.wpq-category-directory__row.wpq-category-card--tone-green .wpq-category-directory__copy strong,
.wpq-category-directory__row.wpq-category-card--tone-green .wpq-category-directory__articles > strong,
body .wpq-site-main .wpq-cheatsheet-v1__support--supported {
  color: var(--wpq-color-green-text);
}

.home .wpq-home-feature-card:nth-child(2) .wpq-home-feature-card__title,
#map-trouble-heading,
#learning-trouble-heading,
.wpq-glossary-group--troubleshooting > strong,
.wpq-category-card--tone-amber > span > strong,
.wpq-category-directory__row.wpq-category-card--tone-amber .wpq-category-directory__copy strong,
.wpq-category-directory__row.wpq-category-card--tone-amber .wpq-category-directory__articles > strong,
body .wpq-site-main .wpq-popular-card__eyebrow--amber {
  color: var(--wpq-color-orange-text);
}

body .wpq-site-main :is(
    .wpq-public-hub,
    .wpq-public-discovery,
    .wpq-popular-shell,
    .wpq-whats-new-shell
  ) * {
  box-shadow: none;
}

.wpq-nav-shell,
.wpq-footer-shell,
.wpq-wrap,
.wpq-public-hub,
.wpq-public-discovery,
.wpq-popular-shell,
.wpq-whats-new-shell,
.wpq-official-reference-v1,
.wpq-cheatsheet-v1,
.wpq-trust-v1,
.wpq-contact-v1,
.wpq-sitemap-v1 {
  width: min(calc(100% - 64px), var(--wpq-f-shell));
  max-width: var(--wpq-f-shell);
  margin-inline: auto;
}

.wpq-nav-shell--top {
  min-height: 72px;
}

.wpq-nav-shell--bottom,
.wpq-nav-menu--desktop a {
  min-height: 52px;
}

.wpq-brand {
  width: fit-content;
  gap: var(--wpq-space-13px);
}

.wpq-brand__logo--icon {
  width: 43px;
  height: 43px;
}

.wpq-brand__name {
  color: var(--wpq-f-navy);
  font-size: var(--wpq-type-brand);
  font-weight: var(--wpq-weight-bold);
  line-height: 1.25;
  letter-spacing: var(--wpq-tracking-default);
}

.wpq-brand__tagline {
  color: var(--wpq-f-muted);
  font-size: var(--wpq-type-label);
  font-weight: var(--wpq-weight-regular);
  line-height: 1.4;
  letter-spacing: var(--wpq-tracking-default);
}

.wpq-header-utility a,
.wpq-nav-menu--desktop a,
.wpq-nav-search-link,
.wpq-builder-cta {
  font-weight: var(--wpq-weight-bold);
  letter-spacing: var(--wpq-tracking-default);
}

.wpq-builder-cta,
.wpq-nav-search-link {
  min-height: 48px;
  border-radius: 5px;
}

@media (min-width: 1160px) {
  body .wpq-site-main :is(
      .wpq-home-content,
      .wpq-public-hub__layout,
      .wpq-public-discovery__layout,
      .wpq-archive-layout,
      .wpq-popular-shell,
      .wpq-official-reference-v1__layout,
      .wpq-cheatsheet-v1__layout,
      .wpq-trust-v1__layout,
      .wpq-contact-v1__layout,
      .wpq-privacy-v1__layout,
      .wpq-sitemap-v1__layout,
      .wpq-content-layout
    ) {
    grid-template-columns: minmax(0, 1fr) 252px !important;
    gap: var(--wpq-space-8) !important;
  }
}

@media (min-width: 900px) and (max-width: 1159px) {
  body {
    font-size: var(--wpq-type-subsection);
  }

  .wpq-nav-shell,
  .wpq-footer-shell,
  .wpq-wrap,
  .wpq-public-hub,
  .wpq-public-discovery,
  .wpq-popular-shell,
  .wpq-whats-new-shell,
  .wpq-official-reference-v1,
  .wpq-cheatsheet-v1,
  .wpq-trust-v1,
  .wpq-contact-v1,
  .wpq-sitemap-v1 {
    width: min(calc(100% - 40px), var(--wpq-f-shell));
  }

  /* Task F keeps a true reading rail at the compact-desktop threshold. The
   * older 768-1023 layer leaves 34px of page padding inside the shared shell
   * and splits some rails into two columns; at exactly 900px that makes the
   * required 620px main + 210px rail overflow by 6px. Give the layout the
   * shell's usable width and keep the rail as one vertical region. */
  body .wpq-site-main > :is(
      .wpq-wrap,
      .wpq-public-hub,
      .wpq-public-discovery,
      .wpq-popular-shell,
      .wpq-whats-new-shell,
      .wpq-official-reference-v1,
      .wpq-cheatsheet-v1,
      .wpq-trust-v1,
      .wpq-contact-v1,
      .wpq-privacy-v1,
      .wpq-sitemap-v1
    ) {
    width: min(calc(100% - 40px), var(--wpq-f-shell)) !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  body .wpq-site-main :is(
      .wpq-home-content,
      .wpq-public-hub__layout,
      .wpq-public-discovery__layout,
      .wpq-archive-layout,
      .wpq-official-reference-v1__layout,
      .wpq-cheatsheet-v1__layout,
      .wpq-trust-v1__layout,
      .wpq-contact-v1__layout,
      .wpq-privacy-v1__layout,
      .wpq-sitemap-v1__layout,
      .wpq-content-layout,
      .wpq-popular-main
    ) {
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: minmax(0, 1fr) 210px !important;
    gap: var(--wpq-space-6) !important;
  }

  body .wpq-site-main :is(
      .wpq-home-main,
      .wpq-public-hub__main,
      .wpq-public-discovery__main,
      .wpq-archive-main,
      .wpq-official-reference-v1__main,
      .wpq-cheatsheet-v1__main,
      .wpq-trust-v1__main,
      .wpq-contact-v1__main,
      .wpq-privacy-v1__main,
      .wpq-sitemap-v1__main,
      .wpq-content-main,
      .wpq-popular-content,
      .wpq-whats-new-list
    ) {
    min-width: 0 !important;
  }

  body .wpq-site-main :is(
      .wpq-home-side,
      .wpq-public-hub__rail,
      .wpq-public-discovery__rail,
      .wpq-archive-side,
      .wpq-official-reference-v1__rail,
      .wpq-cheatsheet-v1__rail,
      .wpq-trust-v1__rail,
      .wpq-contact-v1__rail,
      .wpq-privacy-v1__rail,
      .wpq-sitemap-v1__rail,
      .wpq-side-rail,
      .wpq-popular-rail,
      .wpq-whats-new-side
    ) {
    width: 210px !important;
    min-width: 0 !important;
    max-width: 210px !important;
    margin-left: 0 !important;
    grid-column: auto !important;
    grid-row: auto !important;
    grid-template-columns: minmax(0, 1fr) !important;
    transform: none !important;
  }

  body .wpq-site-main .wpq-reference-hub--parameters .wpq-public-hub__layout {
    grid-template-columns: minmax(0, 1fr) 210px !important;
  }

  body .wpq-site-main .wpq-reference-hub--parameters .wpq-public-hub__rail {
    width: 210px !important;
    max-width: 210px !important;
  }

  body .wpq-site-main .wpq-popular-shell {
    grid-template-columns: minmax(0, 1fr) 210px !important;
    column-gap: var(--wpq-space-6) !important;
  }

  body .wpq-site-main .wpq-popular-board {
    grid-column: 1 !important;
  }

  body .wpq-site-main .wpq-popular-rail {
    grid-column: 2 !important;
  }

  /* Privacy switched to a stacked tablet composition in the old 1023px
   * contract. Task F's rail threshold is 900px, so restore the canonical
   * intro/content + vertical support rail composition here. */
  body .wpq-site-main .wpq-privacy-v1__rail {
    display: grid !important;
    grid-column: 2 !important;
    grid-row: 1 / span 2 !important;
    align-content: start !important;
    gap: 0 !important;
    order: initial !important;
  }

  body .wpq-site-main .wpq-privacy-v1__rail > :is(
      .wpq-privacy-v1__toc-rail,
      .wpq-privacy-v1__related-rail,
      .wpq-privacy-v1__notice-rail
    ) {
    margin-top: 0 !important;
  }

  body .wpq-site-main :is(
      .wpq-public-hub__intro,
      .wpq-public-discovery__intro,
      .wpq-archive-intro,
      .wpq-public-compact-intro,
      .wpq-trust-v1__intro,
      .wpq-contact-v1__intro,
      .wpq-whats-new-hero__copy,
      .wpq-popular-hero__copy,
      .wpq-sitemap-v1__intro,
      .wpq-category-archive-intro__copy
    ) h1,
  body .wpq-site-main .wpq-home-hero h1,
  body .wpq-site-main .wpq-404-hero h1,
  body .wpq-site-main .wpq-popular-title-row h1,
  body .wpq-site-main .wpq-whats-new-hero h1 {
    font-size: var(--wpq-type-page-desktop) !important;
    line-height: 1.38 !important;
  }
}

/* Task F removes the former update-history side rail. The follow/RSS panel is
 * part of the primary flow after the timeline at every width. */
body .wpq-site-main .wpq-whats-new-main {
  width: 100% !important;
  max-width: 100% !important;
  grid-template-columns: minmax(0, 1fr) !important;
  column-gap: 0 !important;
}

body .wpq-site-main .wpq-whats-new-primary {
  grid-column: 1 !important;
  grid-row: auto !important;
  min-width: 0 !important;
}

/* Category hub: retain the approved desktop rows and use the Task F mobile
 * single-column directory instead of the old compact 2-column matrix. */
.wpq-public-discovery--categories .wpq-public-discovery__intro > p {
  color: var(--wpq-f-body);
  font-size: var(--wpq-type-control);
  line-height: 1.78;
}

.wpq-public-discovery--categories .wpq-category-featured h2 {
  color: var(--wpq-f-navy);
  font-weight: var(--wpq-weight-bold);
  letter-spacing: var(--wpq-tracking-default);
}

/* Parameter hub and common detail family. */
.wpq-reference-hub--parameters .wpq-public-hub__kicker {
  color: var(--wpq-f-blue);
  font-size: var(--wpq-type-small);
  font-weight: var(--wpq-weight-bold);
  letter-spacing: var(--wpq-tracking-default);
}

.wpq-reference-hub--parameters .wpq-public-hub__intro > p:last-child {
  max-width: 760px;
  color: var(--wpq-f-body);
  font-size: var(--wpq-type-control);
  line-height: 1.78;
}

.wpq-parameter-index__directory,
.wpq-parameter-index__overview,
.wpq-parameter-index__rules {
  margin-top: var(--wpq-space-8);
}

.wpq-reference-hub--parameters h2.wpq-section-heading {
  display: flex;
  align-items: center;
  gap: var(--wpq-space-11px);
  margin: 0 0 var(--wpq-space-7px);
  color: var(--wpq-f-navy);
  font-size: var(--wpq-type-page-mobile-wide);
  font-weight: var(--wpq-weight-bold);
  line-height: 1.45;
  letter-spacing: var(--wpq-tracking-default);
}

.wpq-reference-hub--parameters .wpq-section-heading__icon,
.wpq-reference-hub--parameters .wpq-section-heading__icon svg {
  width: 25px;
  height: 25px;
}

.wpq-parameter-index__section-lead,
.wpq-parameter-detail__section-lead {
  margin: 0 0 var(--wpq-space-15px);
  color: var(--wpq-f-muted);
  font-size: var(--wpq-type-body);
  line-height: 1.7;
}

.wpq-parameter-index__jump-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--wpq-f-line);
}

.wpq-parameter-index__jump-grid .wpq-reference-hub__jump {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: var(--wpq-space-3-5);
  align-items: center;
  min-height: 82px;
  padding: var(--wpq-space-15px) var(--wpq-space-13px);
  border-bottom: 1px solid var(--wpq-f-line);
}

.wpq-parameter-index__jump-grid .wpq-reference-hub__jump:nth-child(odd) {
  border-right: 1px solid var(--wpq-f-line);
}

.wpq-parameter-index__jump-grid .wpq-reference-hub__jump > span:first-child {
  display: grid;
  place-items: center;
  width: 56px;
  height: 52px;
  border-radius: 6px;
  background: var(--wpq-color-blue-subtle);
}

.wpq-parameter-index__jump-grid .wpq-reference-hub__jump--green > span:first-child {
  background: var(--wpq-color-green-subtle);
}

.wpq-parameter-index__jump-grid .wpq-reference-hub__jump--violet > span:first-child {
  background: var(--wpq-color-violet-subtle);
}

.wpq-parameter-index__jump-grid .wpq-reference-hub__jump--amber > span:first-child {
  background: var(--wpq-color-orange-subtle);
}

.wpq-parameter-index__jump-grid .wpq-reference-hub__jump svg {
  width: 30px;
  height: 30px;
}

.wpq-parameter-index__jump-grid .wpq-reference-hub__jump > span:last-child {
  display: grid;
  gap: var(--wpq-space-3px);
  min-width: 0;
}

.wpq-parameter-index__jump-grid .wpq-reference-hub__jump strong {
  font-size: var(--wpq-type-control);
  line-height: 1.45;
}

.wpq-parameter-index__jump-grid .wpq-reference-hub__jump--blue strong {
  color: var(--wpq-f-blue);
}

.wpq-parameter-index__jump-grid .wpq-reference-hub__jump--green strong {
  color: var(--wpq-f-navy);
}

.wpq-parameter-index__jump-grid .wpq-reference-hub__jump--violet strong {
  color: var(--wpq-f-violet);
}

.wpq-parameter-index__jump-grid .wpq-reference-hub__jump--amber strong {
  color: var(--wpq-f-navy);
}

.wpq-parameter-index__jump-grid .wpq-reference-hub__jump small {
  color: var(--wpq-f-muted);
  font-size: var(--wpq-type-small);
  line-height: 1.55;
}

.wpq-parameter-detail__scope {
  display: flex;
  gap: var(--wpq-space-13px);
  align-items: flex-start;
  margin-block: var(--wpq-space-23px) var(--wpq-space-30px);
  padding: var(--wpq-space-3-5) var(--wpq-space-0-5);
  border-block: 1px solid var(--wpq-f-line);
}

.wpq-parameter-detail__scope > span,
.wpq-parameter-detail__scope > span svg {
  width: 24px;
  height: 24px;
}

.wpq-parameter-detail__scope--blue > span {
  color: var(--wpq-f-blue);
}

.wpq-parameter-detail__scope--green > span {
  color: var(--wpq-f-green);
}

.wpq-parameter-detail__scope--amber > span {
  color: var(--wpq-f-orange);
}

.wpq-parameter-detail__scope--violet > span {
  color: var(--wpq-f-violet);
}

.wpq-parameter-detail__scope > p {
  display: grid;
  gap: var(--wpq-space-0-5);
  margin: 0;
}

.wpq-parameter-detail__scope strong {
  color: var(--wpq-f-navy);
  font-size: var(--wpq-type-body);
}

.wpq-parameter-detail__scope p > span {
  color: var(--wpq-f-muted);
  font-size: var(--wpq-type-copy);
  line-height: 1.7;
}

.wpq-parameter-detail__questions,
.wpq-parameter-detail__catalog,
.wpq-parameter-detail__compatibility,
.wpq-parameter-detail__example,
.wpq-parameter-detail__siblings {
  margin-top: var(--wpq-space-8);
}

.wpq-parameter-detail__questions ul {
  display: grid;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: var(--wpq-space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.wpq-parameter-detail__questions li {
  display: flex;
  gap: var(--wpq-space-2-5);
  align-items: flex-start;
  min-height: 0 !important;
  padding: var(--wpq-space-1) 0 !important;
  border: 0 !important;
  font-size: var(--wpq-type-body);
  line-height: 1.7;
}

.wpq-parameter-detail__questions li svg {
  width: 17px;
  height: 17px;
  margin-top: var(--wpq-space-1);
  color: var(--wpq-f-green);
}

.wpq-parameter-detail__table {
  border-top: 1px solid var(--wpq-f-line-strong);
}

.wpq-parameter-detail__table-head,
.wpq-parameter-detail__table-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.85fr) minmax(150px, 0.75fr) minmax(260px, 1.4fr) !important;
}

.wpq-parameter-detail__table-head {
  min-height: 0;
  color: var(--wpq-f-muted);
  background: var(--wpq-color-surface-muted);
  font-size: var(--wpq-type-meta);
  font-weight: var(--wpq-weight-bold);
}

.wpq-parameter-detail__table-head > span,
.wpq-parameter-detail__table-row > * {
  padding: var(--wpq-space-2-5) var(--wpq-space-3);
}

.wpq-parameter-detail__table-row {
  align-items: start;
  border-bottom: 1px solid var(--wpq-f-line);
}

.wpq-parameter-detail__table-row code {
  color: var(--wpq-f-blue);
  font-size: var(--wpq-type-small);
  overflow-wrap: anywhere;
}

.wpq-parameter-detail__table-row strong {
  font-size: var(--wpq-type-copy);
}

.wpq-parameter-detail__table-row > p {
  display: grid;
  gap: var(--wpq-space-3px);
  margin: 0;
  color: var(--wpq-f-muted);
  font-size: var(--wpq-type-small);
  line-height: var(--wpq-leading-copy);
}

.wpq-parameter-detail__table-row > p small {
  color: var(--wpq-f-muted);
  font-size: var(--wpq-type-meta);
}

.wpq-parameter-index__overview-list {
  border-top: 1px solid var(--wpq-f-line);
}

.wpq-parameter-index__overview-row {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) auto;
  gap: var(--wpq-space-15px);
  align-items: center;
  min-width: 0;
  padding: var(--wpq-space-15px) var(--wpq-space-3);
  border-bottom: 1px solid var(--wpq-f-line);
}

.wpq-parameter-index__overview-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 54px;
  border-radius: 6px;
  background: var(--wpq-color-blue-subtle);
  color: var(--wpq-f-blue);
}

.wpq-parameter-index__overview-icon svg {
  width: 30px;
  height: 30px;
}

.wpq-parameter-index__overview-copy {
  min-width: 0;
}

.wpq-parameter-index__overview-copy h3 {
  margin: 0;
  color: var(--wpq-f-navy);
  font-size: var(--wpq-type-subheading);
  line-height: 1.45;
}

.wpq-parameter-index__overview-copy p {
  margin: var(--wpq-space-0-5) 0 0;
  color: var(--wpq-f-muted);
  font-size: var(--wpq-type-small-strong);
  line-height: var(--wpq-leading-copy);
  overflow-wrap: anywhere;
}

.wpq-parameter-index__key-preview {
  display: flex;
  flex-wrap: wrap;
  gap: var(--wpq-space-5px);
  margin-top: var(--wpq-space-1-5);
}

.wpq-parameter-index__key-preview code {
  padding: var(--wpq-space-0-5) var(--wpq-space-7px);
  border-radius: 3px;
  background: var(--wpq-color-surface-muted);
  color: var(--wpq-color-copy);
  font-size: var(--wpq-type-micro-floor);
}

.wpq-parameter-index__overview-row > a {
  color: var(--wpq-f-blue);
  font-size: var(--wpq-type-small);
  font-weight: var(--wpq-weight-bold);
}

@media (max-width: 899px) {
  body {
    font-size: var(--wpq-type-body);
    line-height: 1.72;
  }

  .wpq-nav-shell,
  .wpq-footer-shell,
  .wpq-wrap,
  .wpq-public-hub,
  .wpq-public-discovery,
  .wpq-popular-shell,
  .wpq-whats-new-shell,
  .wpq-official-reference-v1,
  .wpq-cheatsheet-v1,
  .wpq-trust-v1,
  .wpq-contact-v1,
  .wpq-sitemap-v1 {
    width: min(calc(100% - 32px), 760px) !important;
    max-width: 760px;
  }

  body .wpq-site-main > :is(
      .wpq-wrap,
      .wpq-public-hub,
      .wpq-public-discovery,
      .wpq-popular-shell,
      .wpq-whats-new-shell,
      .wpq-official-reference-v1,
      .wpq-cheatsheet-v1,
      .wpq-trust-v1,
      .wpq-contact-v1,
      .wpq-sitemap-v1
    ) {
    width: min(calc(100% - 32px), 760px) !important;
  }

  .wpq-nav-shell--top {
    width: min(calc(100% - 28px), 760px) !important;
    min-height: 76px !important;
    gap: var(--wpq-space-2-5);
  }

  .wpq-header-utility,
  .wpq-nav-shell--bottom,
  .wpq-nav-shell--top > .wpq-nav-search-link,
  .wpq-nav-shell--top > .wpq-builder-cta,
  .wpq-header-search-panel {
    display: none !important;
  }

  .wpq-mobile-search-link,
  .wpq-nav-toggle {
    display: grid !important;
  }

  .wpq-mobile-search-link {
    justify-items: center;
    font-size: var(--wpq-type-micro-floor);
    line-height: 1.3;
  }

  .wpq-mobile-search-link svg,
  .wpq-nav-toggle__glyph {
    width: 24px !important;
    height: 24px !important;
  }

  .wpq-nav-toggle__label {
    font-size: var(--wpq-type-micro-floor);
    line-height: 1.3;
  }

  .wpq-brand {
    min-width: 0;
    gap: var(--wpq-space-2);
  }

  .wpq-brand__logo--icon {
    width: 42px !important;
    height: 42px !important;
  }

  .wpq-brand__copy {
    min-width: 0;
  }

  .wpq-brand__name {
    font-size: var(--wpq-type-heading) !important;
    font-weight: var(--wpq-weight-bold) !important;
    line-height: 1.25 !important;
    white-space: nowrap;
  }

  .wpq-brand__tagline {
    max-width: 210px;
    overflow: visible;
    font-size: var(--wpq-type-micro-floor) !important;
    font-weight: var(--wpq-weight-regular) !important;
    line-height: 1.4 !important;
    text-overflow: clip;
    white-space: normal;
  }

  .wpq-nav-panel.is-open {
    display: grid;
  }

  :is(
      .wpq-public-hub__layout,
      .wpq-public-discovery__layout,
      .wpq-archive-layout,
      .wpq-popular-main,
      .wpq-whats-new-main
    ) {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0 !important;
  }

  :is(
      .wpq-public-hub__rail,
      .wpq-public-discovery__rail,
      .wpq-archive-side,
      .wpq-popular-rail,
      .wpq-whats-new-side
    ) {
    grid-column: 1 !important;
    width: 100% !important;
    max-width: none !important;
    margin-top: var(--wpq-space-34px) !important;
  }

  body .wpq-site-main :is(
      .wpq-public-hub__intro,
      .wpq-public-discovery__intro,
      .wpq-archive-intro,
      .wpq-public-compact-intro,
      .wpq-trust-v1__intro,
      .wpq-contact-v1__intro,
      .wpq-whats-new-hero__copy,
      .wpq-popular-hero__copy,
      .wpq-sitemap-v1__intro,
      .wpq-category-archive-intro__copy
    ) h1,
  body .wpq-site-main .wpq-home-hero h1,
  body .wpq-site-main .wpq-404-hero h1,
  body .wpq-site-main .wpq-popular-title-row h1,
  body .wpq-site-main .wpq-whats-new-hero h1 {
    font-size: var(--wpq-type-title) !important;
    line-height: 1.42 !important;
    letter-spacing: var(--wpq-tracking-default) !important;
    overflow-wrap: anywhere;
  }

  .wpq-public-discovery--categories {
    padding-top: var(--wpq-space-26px) !important;
  }

  .wpq-public-discovery--categories .wpq-page-breadcrumb {
    margin-bottom: var(--wpq-space-3) !important;
    padding: 0 !important;
    font-size: var(--wpq-type-meta);
  }

  .wpq-public-discovery--categories .wpq-public-discovery__intro {
    margin-bottom: var(--wpq-space-19px);
  }

  .wpq-public-discovery--categories .wpq-public-discovery__intro > p {
    margin-top: var(--wpq-space-7px);
    font-size: var(--wpq-type-body) !important;
    line-height: 1.74 !important;
  }

  .wpq-public-discovery--categories .wpq-category-featured > h2 {
    margin-bottom: var(--wpq-space-7px);
    font-size: var(--wpq-type-subheading);
  }

  .wpq-public-discovery--categories .wpq-category-featured > div {
    grid-template-columns: minmax(0, 1fr) !important;
    border-top: 1px solid var(--wpq-f-line);
  }

  .wpq-public-discovery--categories .wpq-category-featured a,
  .wpq-public-discovery--categories .wpq-category-featured a:nth-child(n) {
    display: grid !important;
    grid-template-columns: 50px minmax(0, 1fr) !important;
    gap: var(--wpq-space-3-5) !important;
    justify-content: flex-start;
    min-height: 75px;
    padding: var(--wpq-space-11px) var(--wpq-space-2);
    border: 0;
    border-bottom: 1px solid var(--wpq-f-line);
  }

  .wpq-public-discovery--categories .wpq-category-featured a > span:first-child {
    width: 50px;
    margin: 0;
  }

  .wpq-public-discovery--categories .wpq-category-featured a svg {
    width: 35px;
    height: 35px;
  }

  .wpq-public-discovery--categories .wpq-category-featured a strong {
    font-size: var(--wpq-type-control) !important;
  }

  .wpq-public-discovery--categories .wpq-category-featured a small {
    font-size: var(--wpq-type-small) !important;
  }

  .wpq-category-directory__row {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: var(--wpq-space-3) !important;
    padding: var(--wpq-space-5) 0 !important;
  }

  .wpq-category-directory__summary {
    grid-template-columns: 64px minmax(0, 1fr) !important;
    gap: var(--wpq-space-3-5) !important;
  }

  .wpq-public-discovery--categories .wpq-category-directory__icon {
    width: 64px !important;
    height: 58px !important;
    border-radius: 6px;
  }

  .wpq-public-discovery--categories .wpq-category-directory__icon svg {
    width: 37px !important;
    height: 37px !important;
  }

  .wpq-category-directory__copy > strong {
    font-size: var(--wpq-type-heading) !important;
    line-height: var(--wpq-leading-tight) !important;
  }

  .wpq-category-directory__copy > small {
    margin-top: var(--wpq-space-1);
    font-size: var(--wpq-type-copy) !important;
    line-height: 1.7 !important;
  }

  .wpq-category-directory__articles {
    padding-left: var(--wpq-category-mobile-detail-indent) !important;
  }

  .wpq-category-directory__articles > strong,
  .wpq-category-directory__articles a {
    font-size: var(--wpq-type-copy) !important;
  }

  .wpq-category-directory__articles a:nth-of-type(n + 3) {
    display: none;
  }

  .wpq-reference-hub--parameters {
    padding-top: var(--wpq-space-26px) !important;
  }

  .wpq-reference-hub--parameters .wpq-page-breadcrumb {
    margin-bottom: var(--wpq-space-3) !important;
    padding: 0 !important;
    font-size: var(--wpq-type-meta);
  }

  .wpq-reference-hub--parameters .wpq-public-hub__intro {
    margin-bottom: var(--wpq-space-19px);
  }

  .wpq-reference-hub--parameters .wpq-public-hub__kicker {
    margin-bottom: var(--wpq-space-0-5);
    font-size: var(--wpq-type-small);
  }

  .wpq-reference-hub--parameters .wpq-public-hub__intro > p:last-child {
    margin-top: var(--wpq-space-7px);
    font-size: var(--wpq-type-body);
    line-height: 1.74;
  }

  .wpq-parameter-index__directory,
  .wpq-parameter-index__overview,
  .wpq-parameter-index__rules,
  .wpq-parameter-detail__questions,
  .wpq-parameter-detail__catalog,
  .wpq-parameter-detail__compatibility,
  .wpq-parameter-detail__example,
  .wpq-parameter-detail__siblings {
    margin-top: var(--wpq-space-8) !important;
  }

  .wpq-reference-hub--parameters h2.wpq-section-heading {
    font-size: var(--wpq-type-heading) !important;
    line-height: 1.45;
  }

  .wpq-reference-hub--parameters .wpq-parameter-index__section-lead {
    font-size: var(--wpq-type-copy) !important;
    line-height: 1.7 !important;
  }

  .wpq-reference-hub--parameters .wpq-parameter-index__jump-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .wpq-reference-hub--parameters .wpq-parameter-index__jump-grid > a {
    grid-template-columns: 56px minmax(0, 1fr) !important;
    gap: var(--wpq-space-3-5) !important;
    min-height: 74px;
    padding: var(--wpq-space-11px) var(--wpq-space-3-5);
    border-right: 0 !important;
    border-bottom: 1px solid var(--wpq-f-line);
  }

  .wpq-reference-hub--parameters .wpq-parameter-index__jump-grid > a > span:first-child {
    width: 56px !important;
    height: 52px !important;
  }

  .wpq-reference-hub--parameters .wpq-parameter-index__jump-grid > a svg {
    width: 30px !important;
    height: 30px !important;
  }

  .wpq-reference-hub--parameters .wpq-parameter-index__jump-grid > a strong {
    font-size: var(--wpq-type-control) !important;
  }

  .wpq-reference-hub--parameters .wpq-parameter-index__jump-grid > a small {
    font-size: var(--wpq-type-small) !important;
    line-height: 1.55 !important;
  }

  .wpq-parameter-detail__intro > p:last-child {
    font-weight: var(--wpq-weight-regular) !important;
  }

  .wpq-parameter-detail__scope {
    gap: var(--wpq-space-2-5);
    margin-block: var(--wpq-space-5) var(--wpq-space-27px);
  }

  .wpq-parameter-detail__scope p > span {
    font-size: var(--wpq-type-small-strong);
  }

  .wpq-parameter-detail__questions li {
    min-height: 0 !important;
    padding: var(--wpq-space-1) 0 !important;
    border: 0 !important;
    font-size: var(--wpq-type-body) !important;
    line-height: 1.7 !important;
  }

  .wpq-parameter-detail__table-head {
    display: none;
  }

  .wpq-parameter-detail__table-row {
    grid-template-columns: minmax(0, 1fr) !important;
    padding-block: var(--wpq-space-3);
  }

  .wpq-parameter-detail__table-row > * {
    padding: var(--wpq-space-0-5) 0;
  }

  .wpq-parameter-index__overview-row {
    grid-template-columns: 55px minmax(0, 1fr);
    gap: var(--wpq-space-13px);
    padding-inline: 0;
  }

  .wpq-parameter-index__overview-icon {
    width: 52px;
    height: 50px;
  }

  .wpq-parameter-index__overview-copy h3 {
    font-size: var(--wpq-type-control);
  }

  .wpq-parameter-index__key-preview {
    display: none;
  }

  .wpq-parameter-index__overview-row > a {
    grid-column: 2;
    width: fit-content;
  }

  .wpq-footer-shell--main {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0 !important;
    padding-block: var(--wpq-space-26px) var(--wpq-space-5) !important;
  }

  .wpq-footer-panel--brand {
    grid-column: 1 / -1 !important;
    padding: 0 0 var(--wpq-space-6) !important;
    border: 0 !important;
  }

  .wpq-footer-panel--nav,
  .wpq-footer-panel--meta {
    grid-column: auto !important;
    padding: var(--wpq-space-4-5) var(--wpq-space-2-5) !important;
    border: 0 !important;
    border-top: 1px solid var(--wpq-color-footer-line) !important;
  }

  .wpq-footer-menu,
  .wpq-footer-meta-nav {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: var(--wpq-space-1) !important;
  }

  .wpq-footer-menu a::before {
    display: none;
  }

  .wpq-footer-heading {
    font-size: var(--wpq-type-small);
  }

  .wpq-footer-menu a,
  .wpq-footer-meta-nav a {
    min-height: 30px !important;
    color: var(--wpq-color-footer-muted);
    font-size: var(--wpq-type-meta) !important;
    line-height: var(--wpq-leading-heading) !important;
  }

  .wpq-footer-shell--bottom {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: var(--wpq-space-1) !important;
  }
}

/* Task G: cross-route typography closure. These selectors describe reusable
 * content roles rather than route-specific scale factors. */
body .wpq-site-main .wpq-breadcrumb,
body .wpq-site-main .wpq-breadcrumb li,
body .wpq-site-main .wpq-breadcrumb a,
body .wpq-site-main .wpq-breadcrumb span {
  font-size: var(--wpq-type-meta) !important;
  line-height: 1.45 !important;
}

body .wpq-site-main .wpq-public-builder-cta__body {
  font-size: var(--wpq-type-small) !important;
  line-height: var(--wpq-leading-copy) !important;
}

body .wpq-site-main :is(.wpq-pagination, .nav-links) :is(a, span) {
  font-size: var(--wpq-type-small) !important;
  line-height: 1.4 !important;
}

body .wpq-site-main :is(
    .wpq-archive-card__eyeline,
    .wpq-archive-card__meta-row,
    .wpq-archive-card__meta,
    .wpq-archive-card__reading
  ),
body .wpq-site-main :is(
    .wpq-archive-card__eyeline,
    .wpq-archive-card__meta-row,
    .wpq-archive-card__meta,
    .wpq-archive-card__reading
  ) span {
  font-size: var(--wpq-type-meta) !important;
  line-height: 1.45 !important;
}

body .wpq-site-main .wpq-archive-journey__copy strong {
  font-size: var(--wpq-type-copy) !important;
}

body .wpq-site-main .wpq-archive-journey__copy small {
  font-size: var(--wpq-type-label) !important;
  line-height: 1.55 !important;
}

body .wpq-site-main :is(.wpq-discovery-count, .wpq-search-summary) {
  font-size: var(--wpq-type-small) !important;
  line-height: 1.55 !important;
}

body .wpq-site-main .wpq-hub-row__copy > strong,
body .wpq-site-main .wpq-hub-timeline__title > strong {
  font-size: var(--wpq-type-copy-strong) !important;
  line-height: var(--wpq-leading-heading) !important;
}

body .wpq-site-main .wpq-hub-row__copy > span:not(.wpq-trouble-tags),
body .wpq-site-main .wpq-hub-timeline__summary,
body .wpq-site-main .wpq-hub-route__copy > span {
  font-size: var(--wpq-type-small) !important;
  line-height: var(--wpq-leading-copy) !important;
}

body .wpq-site-main .wpq-hub-row__reading,
body .wpq-site-main .wpq-trouble-tags small,
body .wpq-site-main .wpq-hub-timeline__title > em {
  font-size: var(--wpq-type-meta) !important;
  line-height: 1.45 !important;
}

body .wpq-site-main .wpq-hub-section__head > div > p {
  font-size: var(--wpq-type-copy) !important;
  line-height: 1.7 !important;
}

body .wpq-site-main .wpq-hub-section__head > div > small {
  font-size: var(--wpq-type-label) !important;
  line-height: 1.55 !important;
}

/* One section-title role replaces the remaining route-specific responsive
 * clamps. It keeps headings visually identical across the map, learning and
 * troubleshooting hubs instead of producing 21.6px/25.6px intermediate sizes. */
body .wpq-site-main .wpq-hub-section__head h2,
body .wpq-site-main .wpq-hub-section > .wpq-section-heading > span,
body .wpq-site-main .wpq-public-hub--troubleshooting .wpq-section-heading > span {
  font-size: var(--wpq-type-page-mobile-wide) !important;
  line-height: 1.45 !important;
}

body .wpq-site-main .wpq-tag-related-pill small {
  font-size: var(--wpq-type-meta) !important;
}

body .wpq-site-main .wpq-tag-usage-list small {
  font-size: var(--wpq-type-small) !important;
  line-height: var(--wpq-leading-copy) !important;
}

body .wpq-site-main .wpq-popular-hero__lead {
  font-size: var(--wpq-type-control) !important;
  line-height: var(--wpq-leading-body) !important;
}

/* Inline editorial links need a non-color cue. Limit the underline to prose;
 * cards, navigation, buttons and directory rows keep the flat link language. */
body:not(.single-wpq_article):not(.single-wpq_glossary) .wpq-site-main :is(
    .wpq-trust-v1__main,
    .wpq-privacy-v1__content
  ) p > a {
  text-decoration-line: underline !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 0.18em !important;
}

@media (max-width: 899px) {
  body .wpq-site-main .wpq-hub-section__head h2,
  body .wpq-site-main .wpq-hub-section > .wpq-section-heading > span,
  body .wpq-site-main .wpq-public-hub--troubleshooting .wpq-section-heading > span {
    font-size: var(--wpq-type-title-compact) !important;
  }

  body .wpq-site-main .wpq-popular-hero__lead {
    font-size: var(--wpq-type-body) !important;
  }
}

/* Contact: labels, explanations, and choices must not inherit the old
 * screenshot-scale micro type. */
body .wpq-site-main .wpq-contact-v1__intro > p:not(.wpq-public-hub__kicker) {
  font-size: var(--wpq-type-body) !important;
  line-height: var(--wpq-leading-body) !important;
}

body .wpq-site-main .wpq-contact-v1__section-head .wpq-section-heading,
body .wpq-site-main .wpq-contact-v1__section-head .wpq-section-heading > span {
  font-size: var(--wpq-type-heading) !important;
  line-height: 1.45 !important;
}

body .wpq-site-main .wpq-contact-v1__section-head > p,
body .wpq-site-main .wpq-contact-type-row p {
  font-size: var(--wpq-type-small-strong) !important;
  line-height: 1.7 !important;
}

body .wpq-site-main .wpq-contact-type-row h3,
body .wpq-site-main .wpq-contact-field__label-row label {
  font-size: var(--wpq-type-copy) !important;
  line-height: var(--wpq-leading-heading) !important;
}

body .wpq-site-main :is(
    .wpq-contact-select__trigger,
    .wpq-contact-select__value,
    .wpq-contact-file-control,
    .wpq-contact-file-control__button,
    .wpq-contact-form .wpq-button--primary,
    .wpq-contact-form .wpq-button--primary > span
  ) {
  font-size: var(--wpq-type-small) !important;
  line-height: var(--wpq-leading-heading) !important;
}

body .wpq-site-main :is(.wpq-contact-field__help, #wpq-contact-attachment-help) {
  font-size: var(--wpq-type-meta) !important;
  line-height: 1.55 !important;
}

body .wpq-site-main .wpq-contact-consent,
body .wpq-site-main .wpq-contact-consent label,
body .wpq-site-main .wpq-contact-consent a {
  font-size: var(--wpq-type-small) !important;
  line-height: var(--wpq-leading-copy) !important;
}

body .wpq-site-main .wpq-contact-v1__rail :is(h2, h3) {
  font-size: var(--wpq-type-body) !important;
}

body .wpq-site-main .wpq-contact-v1__rail-item strong {
  font-size: var(--wpq-type-small-strong) !important;
  line-height: var(--wpq-leading-heading) !important;
}

body .wpq-site-main .wpq-contact-v1__rail-item small,
body .wpq-site-main .wpq-contact-v1__rail-item p {
  font-size: var(--wpq-type-label) !important;
  line-height: 1.6 !important;
}

/* Cheatsheet: compact is useful; 6-8px text is not. */
body .wpq-site-main .wpq-cheatsheet-v1__intro > p:not(.wpq-public-hub__kicker) {
  font-size: var(--wpq-type-body) !important;
  line-height: var(--wpq-leading-body) !important;
}

body .wpq-site-main .wpq-cheatsheet-v1__section-tabs a,
body .wpq-site-main .wpq-cheatsheet-v1__filters a,
body .wpq-site-main .wpq-cheatsheet-v1__keywords :is(a, span),
body .wpq-site-main .wpq-cheatsheet-v1__search button,
body .wpq-site-main .wpq-cheatsheet-v1__copy {
  font-size: var(--wpq-type-label) !important;
  line-height: 1.45 !important;
}

body .wpq-site-main .wpq-cheatsheet-v1__section-heading p,
body .wpq-site-main .wpq-cheatsheet-v1__combinations article > p,
body .wpq-site-main .wpq-cheatsheet-v1__about p,
body .wpq-site-main .wpq-cheatsheet-v1__official :is(li, a) {
  font-size: var(--wpq-type-small) !important;
  line-height: var(--wpq-leading-copy) !important;
}

body .wpq-site-main .wpq-cheatsheet-v1__combination-label {
  font-size: var(--wpq-type-copy) !important;
  line-height: var(--wpq-leading-heading) !important;
}

body .wpq-site-main .wpq-cheatsheet-v1__parameters :is(th, td, td a),
body .wpq-site-main .wpq-cheatsheet-v1__support {
  font-size: var(--wpq-type-meta) !important;
  line-height: var(--wpq-leading-heading) !important;
}

body .wpq-site-main .wpq-cheatsheet-v1__support svg,
.wpq-side-ad__action svg {
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
}

body .wpq-site-main .wpq-cheatsheet-v1__code-block :is(code, .wpq-code-line, .c-fn, .c-num, .c-key, .c-str, .c-keyword, .c-var) {
  font-size: var(--wpq-type-meta) !important;
  line-height: 1.6 !important;
}

/* Policy, profile, about, and privacy pages use one prose scale. */
body .wpq-site-main :is(
    .wpq-trust-v1__intro,
    .wpq-privacy-v1__intro,
    .wpq-operator-v1__identity
  ) > p:not(.wpq-public-hub__kicker):not(.wpq-editorial-v1__updated):not(.wpq-privacy-v1__modified) {
  font-size: var(--wpq-type-body) !important;
  line-height: 1.78 !important;
}

body .wpq-site-main :is(
    .wpq-trust-v1__section,
    .wpq-privacy-v1__content,
    .wpq-editorial-v1__principles,
    .wpq-editorial-v1__standards,
    .wpq-editorial-v1__maintenance,
    .wpq-operator-v1__profile,
    .wpq-operator-v1__timeline,
    .wpq-operator-v1__standards,
    .wpq-about-v1__process,
    .wpq-about-v1__audience
  ) :is(p, li) {
  font-size: var(--wpq-type-copy) !important;
  line-height: var(--wpq-leading-body) !important;
}

body .wpq-site-main .wpq-about-v1__topics small,
body .wpq-site-main .wpq-about-v1__operation-links a,
body .wpq-site-main .wpq-privacy-v1__related-links :is(a, span) {
  font-size: var(--wpq-type-small) !important;
  line-height: 1.6 !important;
}

body .wpq-site-main :is(.wpq-trust-v1__main, .wpq-privacy-v1__content) a {
  text-decoration-line: underline !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 0.18em !important;
}

/* Inline prose links need a non-color cue. Navigation, cards and buttons keep
 * their component-specific undecorated treatment. */
body .wpq-site-main :is(.wpq-trust-v1__main, .wpq-privacy-v1__content) :is(nav, [class*="links"], .wpq-button) a {
  text-decoration: none !important;
}

/* Hub introductions use the same desktop copy role. Mobile intentionally
 * steps down one role below so the first actionable section stays visible. */
body .wpq-site-main .wpq-public-hub__intro > p:not(.wpq-public-hub__kicker),
body .wpq-site-main .wpq-public-discovery__intro > p:not(.wpq-public-hub__kicker),
body .wpq-site-main .wpq-public-compact-intro > p:not(.wpq-public-hub__kicker) {
  font-size: var(--wpq-type-control) !important;
  line-height: var(--wpq-leading-body) !important;
}

body .wpq-site-main .wpq-glossary-term-list > a > span:not(.wpq-glossary-term-list__badge),
body .wpq-site-main .wpq-glossary-term-list > a > p,
body .wpq-site-main .wpq-tag-directory__copy > small,
body .wpq-site-main .wpq-sitemap-v1__group-head > p,
body .wpq-site-main .wpq-official-reference-row__summary,
body .wpq-site-main .wpq-official-reference-matrix__rows > article > p {
  font-size: var(--wpq-type-small) !important;
  line-height: var(--wpq-leading-copy) !important;
}

body .wpq-site-main :is(
    .wpq-glossary-index__row nav a,
    .wpq-glossary-index__disabled,
    .wpq-glossary-term-list__badge,
    .wpq-tag-initial-index a,
    .wpq-tag-group-filter a,
    .wpq-tag-group-filter strong,
    .wpq-tag-directory__item > em,
    .wpq-tag-directory__item > b,
    .wpq-sitemap-v1__tabs a,
    .wpq-official-reference-row__mobile-label
  ) {
  font-size: var(--wpq-type-meta) !important;
  line-height: 1.45 !important;
}

body .wpq-site-main .wpq-sitemap-v1__item-copy strong {
  font-size: var(--wpq-type-copy) !important;
  line-height: var(--wpq-leading-heading) !important;
}

body .wpq-site-main .wpq-sitemap-v1__item-copy small,
body .wpq-site-main .wpq-sitemap-v1__beginner a,
body .wpq-site-main .wpq-sitemap-v1__beginner a > span {
  font-size: var(--wpq-type-label) !important;
  line-height: 1.55 !important;
}

body .wpq-site-main .wpq-official-reference-row__actions a,
body .wpq-site-main .wpq-official-reference-v1__official a {
  font-size: var(--wpq-type-small) !important;
  line-height: var(--wpq-leading-heading) !important;
}

body .wpq-site-main .wpq-404-route > span > span,
body .wpq-site-main .wpq-404-article-list a,
body .wpq-site-main .wpq-404-article-list strong,
body .wpq-site-main .wpq-empty-state :is(p, a) {
  font-size: var(--wpq-type-small) !important;
  line-height: var(--wpq-leading-copy) !important;
}

body.home .wpq-site-main .wpq-home-start-list__body > span {
  font-size: var(--wpq-type-small) !important;
  line-height: 1.6 !important;
}

body.home .wpq-site-main .wpq-home-start-list__meta {
  font-size: var(--wpq-type-meta) !important;
  line-height: 1.45 !important;
}

body .wpq-site-main .wpq-popular-filter-chip,
body .wpq-site-main .wpq-popular-title-row > span {
  font-size: var(--wpq-type-small) !important;
  line-height: 1.45 !important;
}

body .wpq-site-main .wpq-popular-featured-grid .wpq-popular-card:not(:first-child) .wpq-popular-card__body p {
  font-size: var(--wpq-type-copy) !important;
  line-height: var(--wpq-leading-copy) !important;
}

body .wpq-site-main .wpq-popular-compact-list .wpq-popular-card__body p,
body .wpq-site-main .wpq-popular-compact-list .wpq-popular-card:nth-child(n + 1) .wpq-popular-card__body p {
  font-size: var(--wpq-type-copy) !important;
  line-height: var(--wpq-leading-copy) !important;
}

@media (max-width: 899px) {
  /* The side CTA becomes a compact two-row banner after the rail moves below
   * main. Content remains in normal flow; no negative offsets or fixed-height
   * tracks can make the title and button collide. */
  body .wpq-site-main .wpq-public-builder-cta.wpq-public-builder-cta--side {
    grid-template-columns: 76px minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;
    gap: 0 var(--wpq-space-2-5) !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    padding: var(--wpq-space-3) var(--wpq-space-3) 0 !important;
    overflow: visible !important;
  }

  body .wpq-site-main .wpq-public-builder-cta--side .wpq-public-builder-cta__brand {
    grid-column: 1 !important;
    grid-row: 1 !important;
    align-self: center !important;
    justify-content: center !important;
    width: 76px !important;
    height: auto !important;
    padding: 0 !important;
  }

  body .wpq-site-main .wpq-public-builder-cta.wpq-public-builder-cta--side .wpq-public-builder-cta__brand img {
    width: 64px !important;
    height: 64px !important;
  }

  body .wpq-site-main .wpq-public-builder-cta--side .wpq-public-builder-cta__copy {
    grid-column: 2 !important;
    grid-row: 1 !important;
    gap: var(--wpq-space-3px) !important;
    align-content: center !important;
    width: auto !important;
    height: auto !important;
    min-height: 78px !important;
    padding: 0 !important;
    text-align: left !important;
  }

  body .wpq-site-main .wpq-public-builder-cta--side .wpq-public-builder-cta__eyebrow,
  body .wpq-site-main .wpq-public-builder-cta--side .wpq-public-builder-cta__title,
  body .wpq-site-main .wpq-public-builder-cta--side .wpq-public-builder-cta__body {
    position: static !important;
    top: auto !important;
    left: auto !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    transform: none !important;
  }

  body .wpq-site-main .wpq-public-builder-cta--side .wpq-public-builder-cta__title {
    font-size: var(--wpq-type-subsection) !important;
    line-height: 1.45 !important;
  }

  body .wpq-site-main .wpq-public-builder-cta--side .wpq-public-builder-cta__action {
    position: static !important;
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    justify-self: stretch !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    min-height: 40px !important;
    margin: var(--wpq-space-2-5) calc(-1 * var(--wpq-space-3)) 0 !important;
    padding: var(--wpq-space-2) var(--wpq-space-3) !important;
    border-radius: 0 0 5px 5px !important;
    line-height: 1.4 !important;
    transform: none !important;
  }

  body .wpq-site-main .wpq-contact-v1__section-head,
  body .wpq-site-main .wpq-contact-v1__section-head .wpq-section-heading,
  body .wpq-site-main .wpq-contact-v1__section-head .wpq-section-heading > span {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  body .wpq-site-main .wpq-contact-form {
    gap: 0 !important;
  }

  body .wpq-site-main .wpq-contact-field,
  body .wpq-site-main .wpq-contact-form > .wpq-contact-field:nth-of-type(n) {
    height: auto !important;
    min-height: 0 !important;
    gap: var(--wpq-space-7px) !important;
    padding-bottom: var(--wpq-space-3-5) !important;
    overflow: visible !important;
  }

  body .wpq-site-main :is(.wpq-contact-input, .wpq-contact-select, .wpq-contact-file-control),
  body .wpq-site-main :is(.wpq-contact-input input, .wpq-contact-select__trigger) {
    height: auto !important;
    min-height: 44px !important;
  }

  body .wpq-site-main .wpq-contact-field textarea {
    height: auto !important;
    min-height: 112px !important;
  }

  body .wpq-site-main .wpq-contact-consent,
  body .wpq-site-main .wpq-contact-consent label,
  body .wpq-site-main .wpq-contact-submit {
    height: auto !important;
    min-height: 44px !important;
  }

  body .wpq-site-main .wpq-contact-type-list {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: none !important;
    grid-auto-flow: row !important;
  }

  body .wpq-site-main .wpq-contact-type-row,
  body .wpq-site-main .wpq-contact-type-row:nth-child(n),
  body .wpq-site-main .wpq-contact-v1__rail-item {
    height: auto !important;
    min-height: 0 !important;
    padding-block: var(--wpq-space-11px) !important;
    overflow: visible !important;
  }

  body .wpq-site-main .wpq-cheatsheet-v1__table-scroll {
    display: block !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
  }

  body .wpq-site-main .wpq-cheatsheet-v1__table {
    width: 680px !important;
    min-width: 680px !important;
    table-layout: fixed !important;
  }
}

@media (max-width: 339px) {
  .wpq-nav-shell--top {
    width: calc(100% - 20px) !important;
    gap: var(--wpq-space-1-5);
  }

  .wpq-brand {
    gap: var(--wpq-space-1-5);
  }

  .wpq-brand__logo--icon {
    width: 36px !important;
    height: 36px !important;
  }

  .wpq-brand__name {
    font-size: var(--wpq-type-subheading) !important;
  }

  .wpq-brand__tagline {
    max-width: 148px;
    font-size: var(--wpq-type-micro-floor) !important;
  }

  .wpq-mobile-search-link svg,
  .wpq-nav-toggle__glyph {
    width: 22px !important;
    height: 22px !important;
  }
}

@media (max-width: 339px) {
  .wpq-footer-shell--main {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* Examples: Task F uses one placement decision row followed by the real,
 * purpose-led examples. The same examples are not repeated as a jump-card
 * wall. */
.wpq-reference-hub--examples .wpq-reference-hub__intro > p:last-child {
  max-width: 790px;
  margin-top: var(--wpq-space-2);
  color: var(--wpq-f-body);
  font-size: var(--wpq-type-control);
  line-height: 1.78;
}

.wpq-reference-hub--examples .wpq-public-hub__kicker {
  margin-bottom: var(--wpq-space-0-5) !important;
  color: var(--wpq-f-blue) !important;
  font-size: var(--wpq-type-small) !important;
  font-weight: var(--wpq-weight-bold) !important;
  line-height: var(--wpq-leading-heading) !important;
}

.wpq-reference-hub--examples .wpq-reference-hub__placement,
.wpq-reference-hub--examples .wpq-reference-hub__example-directory {
  display: block !important;
  margin-top: var(--wpq-space-8) !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.wpq-reference-hub--examples :is(
    .wpq-reference-hub__placement,
    .wpq-reference-hub__example-directory
  ) .wpq-section-heading {
  margin: 0 0 var(--wpq-space-7px) !important;
}

.wpq-reference-hub--examples :is(
    .wpq-reference-hub__placement,
    .wpq-reference-hub__example-directory
  ) .wpq-section-heading h2 {
  color: var(--wpq-f-navy) !important;
  font-size: var(--wpq-type-page-mobile-wide) !important;
  line-height: 1.45 !important;
}

.wpq-reference-hub--examples .wpq-reference-hub__placement > div:first-child > p,
.wpq-reference-hub--examples .wpq-reference-hub__section-lead {
  max-width: 790px;
  margin: 0 0 var(--wpq-space-15px) !important;
  color: var(--wpq-f-muted) !important;
  font-size: var(--wpq-type-body) !important;
  line-height: var(--wpq-leading-body) !important;
}

.wpq-reference-hub--examples .wpq-reference-hub__placement-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0 !important;
  border-block: 1px solid var(--wpq-f-line) !important;
}

.wpq-reference-hub--examples .wpq-reference-hub__placement-card {
  display: grid !important;
  grid-template-columns: 25px minmax(0, 1fr) !important;
  column-gap: var(--wpq-space-3) !important;
  align-content: start;
  min-height: 130px !important;
  padding: var(--wpq-space-17px) !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.wpq-reference-hub--examples .wpq-reference-hub__placement-card + article {
  border-left: 1px solid var(--wpq-f-line) !important;
}

.wpq-reference-hub--examples .wpq-reference-hub__placement-card > span {
  grid-row: 1 / 4;
  width: 25px !important;
  height: 25px !important;
  color: var(--wpq-f-blue) !important;
  background: transparent !important;
}

.wpq-reference-hub--examples .wpq-reference-hub__placement-card > :is(h3, code, p) {
  grid-column: 2;
}

.wpq-reference-hub--examples .wpq-reference-hub__placement-card h3 {
  margin: 0 !important;
  color: var(--wpq-f-navy) !important;
  font-size: var(--wpq-type-body) !important;
}

.wpq-reference-hub--examples .wpq-reference-hub__placement-card code {
  margin: var(--wpq-space-1px) 0 0 !important;
  padding: 0 !important;
  color: var(--wpq-f-blue) !important;
  background: transparent !important;
  font-size: var(--wpq-type-micro-floor) !important;
}

.wpq-reference-hub--examples .wpq-reference-hub__placement-card p {
  margin: var(--wpq-space-5px) 0 0 !important;
  color: var(--wpq-f-muted) !important;
  font-size: var(--wpq-type-meta) !important;
  line-height: 1.7 !important;
}

.wpq-reference-hub--examples .wpq-reference-hub__example-list {
  border-top: 1px solid var(--wpq-f-line);
}

.wpq-reference-hub--examples .wpq-reference-hub__example-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: var(--wpq-space-4-5);
  align-items: start;
  padding: var(--wpq-space-4-5) var(--wpq-space-3);
  border-bottom: 1px solid var(--wpq-f-line);
  scroll-margin-top: var(--wpq-space-5);
}

.wpq-reference-hub--examples .wpq-reference-hub__example-head {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: var(--wpq-space-3-5);
  min-width: 0;
}

.wpq-reference-hub--examples .wpq-reference-hub__example-head > span {
  display: grid;
  place-items: center;
  width: 56px;
  height: 52px;
  border-radius: 5px;
  color: var(--wpq-f-blue);
  background: var(--wpq-color-blue-subtle);
}

.wpq-reference-hub--examples .wpq-reference-hub__example-head > span svg {
  width: 29px;
  height: 29px;
}

.wpq-reference-hub--examples .wpq-reference-hub__example-row--amber .wpq-reference-hub__example-head > span {
  color: var(--wpq-f-orange);
  background: var(--wpq-color-orange-subtle);
}

.wpq-reference-hub--examples .wpq-reference-hub__example-row--violet .wpq-reference-hub__example-head > span {
  color: var(--wpq-f-violet);
  background: var(--wpq-color-violet-subtle);
}

.wpq-reference-hub--examples .wpq-reference-hub__example-head small {
  color: var(--wpq-f-blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: var(--wpq-type-micro-floor);
}

.wpq-reference-hub--examples .wpq-reference-hub__example-head h3 {
  margin: var(--wpq-space-1px) 0 0;
  color: var(--wpq-f-navy);
  font-size: var(--wpq-type-control);
  line-height: var(--wpq-leading-heading);
}

.wpq-reference-hub--examples .wpq-reference-hub__example-head p {
  margin: var(--wpq-space-3px) 0 0;
  color: var(--wpq-f-muted);
  font-size: var(--wpq-type-small);
  line-height: var(--wpq-leading-copy);
}

.wpq-reference-hub--examples .wpq-reference-hub__example-row .wpq-code-block {
  max-height: 154px;
  margin: 0 !important;
  overflow: auto;
  border: 0 !important;
  border-radius: 4px !important;
  background: var(--wpq-color-footer-deep) !important;
}

.wpq-reference-hub--examples .wpq-reference-hub__example-row .wpq-code-block > pre {
  overflow: visible !important;
}

.wpq-reference-hub--examples .wpq-reference-hub__example-row .wpq-code-head {
  min-height: 30px;
  padding: var(--wpq-space-5px) var(--wpq-space-2-5) !important;
  border-bottom: 1px solid var(--wpq-color-footer-line) !important;
  background: transparent !important;
}

.wpq-reference-hub--examples .wpq-reference-hub__example-row pre {
  margin: 0 !important;
  padding: var(--wpq-space-2-5) var(--wpq-space-3) var(--wpq-space-3-5) !important;
  background: transparent !important;
}

.wpq-reference-hub--examples .wpq-reference-hub__example-row pre code {
  font-size: var(--wpq-type-micro-floor) !important;
  line-height: var(--wpq-leading-copy) !important;
}

.wpq-reference-hub--examples .wpq-reference-hub__safety {
  display: flex !important;
  gap: var(--wpq-space-3-5) !important;
  margin-top: var(--wpq-space-34px) !important;
  padding: var(--wpq-space-17px) var(--wpq-space-3px) !important;
  border: 0 !important;
  border-block: 1px solid var(--wpq-f-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.wpq-reference-hub--examples .wpq-reference-hub__safety > span,
.wpq-reference-hub--examples .wpq-reference-hub__safety > span svg {
  width: 29px !important;
  height: 29px !important;
  color: var(--wpq-f-green) !important;
}

.wpq-reference-hub--examples .wpq-reference-hub__safety h2 {
  font-size: var(--wpq-type-section) !important;
}

.wpq-reference-hub--examples .wpq-reference-hub__safety ul {
  margin: var(--wpq-space-1-5) 0 0 !important;
  color: var(--wpq-f-muted) !important;
  font-size: var(--wpq-type-small) !important;
}

/* Update history: stable five-track summary, resettable filter, one linked
 * timeline row, then the single RSS entry point. */
.wpq-whats-new-hero {
  display: block !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.wpq-whats-new-hero__copy {
  max-width: none !important;
}

.wpq-whats-new-hero__copy .wpq-public-hub__kicker {
  margin: 0 0 var(--wpq-space-0-5) !important;
  color: var(--wpq-f-blue) !important;
  font-size: var(--wpq-type-small) !important;
  font-weight: var(--wpq-weight-bold) !important;
}

.wpq-whats-new-hero__lead {
  max-width: 790px !important;
  margin: var(--wpq-space-2) 0 0 !important;
  color: var(--wpq-f-body) !important;
  font-size: var(--wpq-type-control) !important;
  line-height: 1.78 !important;
}

.wpq-whats-new-summary-meta {
  display: flex !important;
  align-items: baseline !important;
  gap: var(--wpq-space-6) !important;
  margin-top: var(--wpq-space-22px) !important;
  padding: var(--wpq-space-9px) 0 !important;
  border-top: 1px solid var(--wpq-f-line-strong) !important;
  color: var(--wpq-f-muted) !important;
  font-size: var(--wpq-type-small) !important;
}

.wpq-whats-new-summary-meta strong {
  color: var(--wpq-f-navy) !important;
  font-size: var(--wpq-type-control) !important;
}

.wpq-whats-new-summary-meta b {
  margin-left: auto !important;
  color: var(--wpq-f-navy) !important;
  font-size: var(--wpq-type-small) !important;
}

.wpq-whats-new-summary {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  min-height: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--wpq-f-line-strong) !important;
  background: transparent !important;
}

.wpq-whats-new-summary-card,
.wpq-whats-new-summary-card:nth-child(n) {
  grid-column: auto !important;
  display: grid !important;
  grid-template-columns: 34px minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
  column-gap: var(--wpq-space-3) !important;
  align-content: center !important;
  min-width: 0 !important;
  min-height: 91px !important;
  padding: var(--wpq-space-15px) var(--wpq-space-2-5) !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.wpq-whats-new-summary-card + article {
  border-left: 1px solid var(--wpq-f-line) !important;
}

@media (min-width: 900px) and (max-width: 1199px) {
  .wpq-whats-new-summary {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  }

  .wpq-whats-new-summary-card:nth-child(n) {
    grid-column: span 2 !important;
    border-left: 0 !important;
  }

  .wpq-whats-new-summary-card:nth-child(2),
  .wpq-whats-new-summary-card:nth-child(3),
  .wpq-whats-new-summary-card:nth-child(5) {
    border-left: 1px solid var(--wpq-f-line) !important;
  }

  .wpq-whats-new-summary-card:nth-child(4),
  .wpq-whats-new-summary-card:nth-child(5) {
    grid-column: span 3 !important;
    border-top: 1px solid var(--wpq-f-line) !important;
  }
}

.wpq-whats-new-summary-card__icon {
  grid-row: 1 / 3;
  align-self: center;
  width: 34px !important;
  height: 34px !important;
  margin: 0 !important;
  background: transparent !important;
}

.wpq-whats-new-summary-card__icon svg {
  width: 34px !important;
  height: 34px !important;
}

.wpq-whats-new-summary-card__label {
  align-self: end;
  margin: 0 !important;
  color: var(--wpq-f-navy) !important;
  font-size: var(--wpq-type-small) !important;
  font-weight: var(--wpq-weight-bold) !important;
  line-height: 1.4 !important;
  white-space: nowrap;
}

.wpq-whats-new-summary-card__count {
  align-self: start;
  margin: 0 !important;
  color: var(--wpq-f-navy) !important;
  font-size: var(--wpq-type-meta) !important;
  line-height: 1.1 !important;
}

.wpq-whats-new-summary-card__count strong {
  font-size: var(--wpq-type-page-tablet) !important;
  line-height: 1.1 !important;
}

.wpq-whats-new-summary-card__note {
  display: none !important;
}

.wpq-whats-new-timeline-panel {
  margin-top: var(--wpq-space-8) !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.wpq-whats-new-section-lead .wpq-section-heading {
  margin: 0 0 var(--wpq-space-7px) !important;
}

.wpq-whats-new-section-lead .wpq-section-heading h2 {
  font-size: var(--wpq-type-page-mobile-wide) !important;
  line-height: 1.45 !important;
}

.wpq-whats-new-section-lead > p {
  margin: 0 !important;
  color: var(--wpq-f-muted) !important;
  font-size: var(--wpq-type-body) !important;
  line-height: var(--wpq-leading-body) !important;
}

.wpq-whats-new-type-tabs {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: var(--wpq-space-2) !important;
  margin-top: var(--wpq-space-2-5) !important;
  padding: 0 0 var(--wpq-space-15px) !important;
  border-bottom: 1px solid var(--wpq-f-line) !important;
}

.wpq-whats-new-type-tabs a,
.wpq-whats-new-type-tabs a:nth-child(n) {
  display: inline-grid !important;
  place-items: center !important;
  width: auto !important;
  min-height: 38px !important;
  padding: 0 var(--wpq-space-3-5) !important;
  border: 1px solid var(--wpq-f-line) !important;
  border-radius: 4px !important;
  color: var(--wpq-f-navy) !important;
  background: var(--wpq-color-surface) !important;
  font-size: var(--wpq-type-small) !important;
  font-weight: var(--wpq-weight-bold) !important;
  white-space: nowrap;
}

.wpq-whats-new-type-tabs a[aria-current="page"] {
  border-color: var(--wpq-f-blue) !important;
  color: var(--wpq-color-surface) !important;
  background: var(--wpq-f-blue) !important;
}

.wpq-whats-new-timeline {
  margin: 0 !important;
  padding: 0 0 0 var(--wpq-update-timeline-indent) !important;
  list-style: none;
}

.wpq-whats-new-entry {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.wpq-whats-new-entry__row-link {
  position: relative;
  display: grid !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  grid-template-columns: 78px minmax(0, 1fr) !important;
  gap: var(--wpq-space-15px) !important;
  align-items: start !important;
  min-height: 88px !important;
  padding: var(--wpq-space-17px) var(--wpq-space-2) !important;
  border: 0 !important;
  border-bottom: 1px solid var(--wpq-f-line) !important;
  border-radius: 0 !important;
  color: inherit !important;
  background: transparent !important;
}

.wpq-whats-new-entry__date {
  position: absolute !important;
  right: calc(100% + 15px) !important;
  top: 18px !important;
  display: block !important;
  width: 78px !important;
  color: var(--wpq-f-muted) !important;
  font-size: var(--wpq-type-meta) !important;
  text-align: right !important;
}

.wpq-whats-new-entry__date span {
  font-size: inherit !important;
}

.wpq-whats-new-entry__dot {
  display: none !important;
}

.wpq-whats-new-entry__card {
  grid-column: 1 / -1 !important;
  display: grid !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  grid-template-columns: 24px minmax(0, 1fr) auto !important;
  gap: var(--wpq-space-15px) !important;
  align-items: start !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.wpq-whats-new-entry__icon {
  width: 19px !important;
  height: 19px !important;
  margin-top: var(--wpq-space-5px) !important;
  background: transparent !important;
}

.wpq-whats-new-entry__icon svg {
  width: 19px !important;
  height: 19px !important;
}

.wpq-whats-new-entry__content {
  display: grid !important;
  gap: var(--wpq-space-1) !important;
  min-width: 0;
  width: 100% !important;
}

.wpq-whats-new-entry__meta {
  display: grid !important;
  grid-template-columns: 83px minmax(0, 1fr) !important;
  gap: var(--wpq-space-15px) !important;
  align-items: start !important;
}

.wpq-whats-new-entry__badge {
  display: inline-grid !important;
  place-items: center !important;
  min-height: 28px !important;
  padding: var(--wpq-space-0-5) var(--wpq-space-2) !important;
  border-radius: 3px !important;
  font-size: var(--wpq-type-micro-floor) !important;
  white-space: normal !important;
  text-align: center;
}

.wpq-whats-new-entry__meta h2 {
  margin: var(--wpq-space-0-5) 0 0 !important;
  color: var(--wpq-f-navy) !important;
  font-size: var(--wpq-type-body) !important;
  line-height: 1.55 !important;
}

.wpq-whats-new-entry__content > p {
  grid-column: 2;
  margin: 0 !important;
  color: var(--wpq-f-muted) !important;
  font-size: var(--wpq-type-label) !important;
  line-height: 1.55 !important;
}

.wpq-whats-new-entry__action {
  display: none !important;
}

.wpq-whats-new-rss {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: var(--wpq-space-13px);
  align-items: center;
  margin-top: var(--wpq-space-34px);
  padding: var(--wpq-space-17px) var(--wpq-space-0-5);
  border-block: 1px solid var(--wpq-f-line);
}

.wpq-whats-new-rss > svg {
  width: 31px;
  height: 31px;
  color: var(--wpq-f-blue);
}

.wpq-whats-new-rss h2 {
  margin: 0;
  color: var(--wpq-f-navy);
  font-size: var(--wpq-type-control);
}

.wpq-whats-new-rss p {
  margin: var(--wpq-space-0-5) 0 0;
  color: var(--wpq-f-muted);
  font-size: var(--wpq-type-small);
}

.wpq-whats-new-rss > .wpq-rss-subscribe-trigger {
  min-height: 40px;
  padding: 0 var(--wpq-space-4);
  border: 0;
  border-radius: 4px;
  color: var(--wpq-color-surface);
  background: var(--wpq-f-blue);
  font-size: var(--wpq-type-small);
  font-weight: var(--wpq-weight-bold);
}

.wpq-whats-new-rss > .wpq-rss-subscribe-panel {
  position: absolute;
  z-index: 2;
  right: 0;
  top: calc(100% - 8px);
  width: min(360px, 100%);
}

@media (max-width: 899px) {
  .wpq-reference-hub--examples {
    padding-top: var(--wpq-space-5) !important;
  }

  .wpq-reference-hub--examples .wpq-reference-hub__intro > p:last-child,
  .wpq-whats-new-hero__lead {
    font-size: var(--wpq-type-body) !important;
    line-height: 1.74 !important;
  }

  .wpq-reference-hub--examples :is(
      .wpq-reference-hub__placement,
      .wpq-reference-hub__example-directory
    ) {
    margin-top: var(--wpq-space-34px) !important;
  }

  .wpq-reference-hub--examples :is(
      .wpq-reference-hub__placement,
      .wpq-reference-hub__example-directory
    ) .wpq-section-heading h2,
  .wpq-whats-new-section-lead .wpq-section-heading h2 {
    font-size: var(--wpq-type-title-compact) !important;
  }

  .wpq-reference-hub--examples .wpq-reference-hub__placement > div:first-child > p,
  .wpq-reference-hub--examples .wpq-reference-hub__section-lead,
  .wpq-whats-new-section-lead > p {
    font-size: var(--wpq-type-copy) !important;
  }

  .wpq-reference-hub--examples .wpq-reference-hub__placement-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .wpq-reference-hub--examples .wpq-reference-hub__placement-card {
    min-height: 0 !important;
    padding: var(--wpq-space-17px) !important;
  }

  .wpq-reference-hub--examples .wpq-reference-hub__placement-card + article {
    border-top: 1px solid var(--wpq-f-line) !important;
    border-left: 0 !important;
  }

  .wpq-reference-hub--examples .wpq-reference-hub__example-row {
    grid-template-columns: minmax(0, 1fr);
    padding-inline: 0;
  }

  .wpq-reference-hub--examples .wpq-reference-hub__example-row .wpq-code-block {
    max-height: 176px;
  }

  .wpq-whats-new-summary-meta {
    display: grid !important;
    gap: var(--wpq-space-0-5) !important;
  }

  .wpq-whats-new-summary-meta strong {
    font-size: var(--wpq-type-subheading) !important;
  }

  .wpq-whats-new-summary-meta b {
    margin-left: 0 !important;
  }

  .wpq-whats-new-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .wpq-whats-new-summary-card,
  .wpq-whats-new-summary-card:nth-child(n) {
    grid-column: auto !important;
    min-height: 79px !important;
    padding: var(--wpq-space-3-5) var(--wpq-space-2-5) !important;
    border: 0 !important;
  }

  .wpq-whats-new-summary-card:nth-child(even) {
    border-left: 1px solid var(--wpq-f-line) !important;
  }

  .wpq-whats-new-summary-card:nth-child(-n + 4) {
    border-bottom: 1px solid var(--wpq-f-line) !important;
  }

  .wpq-whats-new-summary-card:nth-child(5) {
    grid-column: 1 / -1 !important;
  }

  .wpq-whats-new-summary-card__label {
    font-size: var(--wpq-type-small) !important;
  }

  .wpq-whats-new-summary-card__count strong {
    font-size: var(--wpq-type-page-compact) !important;
  }

  .wpq-whats-new-timeline-panel {
    margin-top: var(--wpq-space-34px) !important;
  }

  .wpq-whats-new-type-tabs {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .wpq-whats-new-type-tabs a,
  .wpq-whats-new-type-tabs a:nth-child(n) {
    min-height: 42px !important;
  }

  .wpq-whats-new-timeline {
    padding-left: 0 !important;
  }

  .wpq-whats-new-entry__row-link {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: var(--wpq-space-7px) !important;
    padding: var(--wpq-space-4) 0 !important;
  }

  .wpq-whats-new-entry__date {
    position: static !important;
    display: flex !important;
    gap: var(--wpq-space-1);
    width: auto !important;
    text-align: left !important;
  }

  .wpq-whats-new-entry__card {
    grid-template-columns: 24px minmax(0, 1fr) !important;
    gap: var(--wpq-space-2-5) !important;
  }

  .wpq-whats-new-entry__content {
    min-width: 0;
  }

  .wpq-whats-new-entry__meta {
    grid-template-columns: 79px minmax(0, 1fr) !important;
    gap: var(--wpq-space-2-5) !important;
  }

  .wpq-whats-new-entry__content > p {
    font-size: var(--wpq-type-small) !important;
  }

  .wpq-whats-new-rss {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .wpq-whats-new-rss > .wpq-rss-subscribe-trigger {
    grid-column: 2;
    width: fit-content;
  }
}

/* Task F keeps update history as one focused reading column without a rail. */
@media (min-width: 1160px) {
  body .wpq-site-main .wpq-whats-new-main {
    grid-template-columns: minmax(0, 988px) !important;
    gap: 0 !important;
  }
}

@media (min-width: 900px) and (max-width: 1159px) {
  body .wpq-site-main .wpq-whats-new-main {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0 !important;
  }
}

/* The Task F examples rail starts with the shared Builder banner. */
.wpq-reference-hub--examples .wpq-public-hub__rail > .wpq-public-builder-cta {
  margin-top: 0 !important;
}

.wpq-reference-hub__rail-updated {
  margin: var(--wpq-space-4) 0 0 !important;
  padding: var(--wpq-space-4) var(--wpq-space-3-5) !important;
  border: 1px solid var(--wpq-f-line) !important;
  border-radius: 4px !important;
  color: var(--wpq-f-muted) !important;
  background: var(--wpq-color-surface) !important;
  font-size: var(--wpq-type-meta) !important;
  line-height: var(--wpq-leading-heading) !important;
}

/* Task F ships only the physical 400/500/700 Noto faces. Normalize every
 * public role so legacy 600/650/750/800/850/900 declarations cannot synthesize
 * a fourth weight or reintroduce route-specific tracking. */
body,
body * {
  letter-spacing: var(--wpq-tracking-default) !important;
  font-synthesis: none !important;
}

body * {
  font-weight: var(--wpq-weight-regular) !important;
}

body :is(
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    strong,
    b,
    th,
    legend,
    label,
    button,
    [role="button"],
    .wpq-public-hub__kicker,
    .wpq-footer-heading,
    .wpq-footer-title,
    .wpq-nav-menu--desktop a,
    .wpq-header-utility a,
    .wpq-builder-cta,
    .wpq-nav-search-link,
    .wpq-nav-toggle,
    .wpq-mobile-search-link,
    .wpq-rss-subscribe-trigger
  ) {
  font-weight: var(--wpq-weight-bold) !important;
}

body :is(
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    strong,
    b,
    th,
    legend,
    label,
    button,
    [role="button"],
    .wpq-public-hub__kicker,
    .wpq-footer-heading,
    .wpq-footer-title,
    .wpq-nav-menu--desktop a,
    .wpq-header-utility a,
    .wpq-builder-cta,
    .wpq-nav-search-link,
    .wpq-nav-toggle,
    .wpq-mobile-search-link,
    .wpq-rss-subscribe-trigger
  ) * {
  font-weight: inherit !important;
}

/* Task G: release-readiness correction.
 * The earlier screenshot-calibration layers reduced several useful text roles
 * below a readable size and left a few old grid-placement rules active. Keep
 * the approved compact rhythm, but make the role hierarchy consistent across
 * routes and prevent content from collapsing at responsive widths. */
:root {
  --wpq-g-copy: var(--wpq-type-copy);
  --wpq-g-small: var(--wpq-type-label);
  --wpq-g-label: var(--wpq-type-meta);
}

/* Shared UI uses flat surfaces. A shadow is reserved for the keyboard-only
 * skip link, never for persistent navigation or Builder calls to action. */
body .wpq-site-main .wpq-public-builder-cta,
body .wpq-builder-cta {
  box-shadow: none !important;
}

body .wpq-builder-cta {
  background-color: var(--wpq-color-blue) !important;
  background-image: none !important;
}

/* Shared type roles. */
body .wpq-site-main .wpq-public-hub__kicker {
  color: var(--wpq-f-blue) !important;
  font-size: var(--wpq-type-small) !important;
  line-height: var(--wpq-leading-heading) !important;
}

body .wpq-site-main .wpq-public-builder-cta__eyebrow {
  font-size: var(--wpq-type-meta) !important;
  line-height: 1.45 !important;
}

body .wpq-site-main :is(
    .wpq-public-builder-cta__title-lead,
    .wpq-public-builder-cta__title-tail
  ) {
  font-size: var(--wpq-type-subsection) !important;
  line-height: 1.45 !important;
}

body .wpq-site-main :is(
    .wpq-public-builder-cta__body-lead,
    .wpq-public-builder-cta__body-tail
  ) {
  font-size: var(--wpq-type-small) !important;
  line-height: var(--wpq-leading-copy) !important;
}

body .wpq-site-main .wpq-public-builder-cta__action {
  min-height: 34px !important;
  font-size: var(--wpq-type-small) !important;
  line-height: 1.3 !important;
}

body .wpq-site-main .wpq-hub-rail-panel > :is(h2, h3) {
  font-size: var(--wpq-type-body) !important;
  line-height: var(--wpq-leading-heading) !important;
}

body .wpq-site-main .wpq-hub-rail-panel > p {
  font-size: var(--wpq-type-small-strong) !important;
  line-height: 1.7 !important;
}

body .wpq-site-main .wpq-hub-rail-link {
  min-height: var(--wpq-space-9) !important;
}

body .wpq-site-main .wpq-hub-rail-link strong {
  font-size: var(--wpq-type-small-strong) !important;
  line-height: var(--wpq-leading-heading) !important;
}

body .wpq-site-main .wpq-hub-rail-link small {
  font-size: var(--wpq-type-label) !important;
  line-height: 1.55 !important;
}

body .wpq-site-main .wpq-privacy-v1__related-links > a {
  position: static !important;
  height: auto !important;
  min-height: 48px !important;
}

/* Parameter hub and detail pages share one readable reference scale. */
.wpq-parameter-index__jump-grid .wpq-reference-hub__jump small,
.wpq-parameter-index__overview-copy p,
.wpq-parameter-index__overview-row > a,
.wpq-parameter-detail__table-row code,
.wpq-parameter-detail__table-row > p {
  font-size: var(--wpq-type-copy-strong) !important;
}

.wpq-parameter-index__key-preview code,
.wpq-parameter-detail__table-head,
.wpq-parameter-detail__table-row > p small,
.wpq-reference-hub__rail-updated {
  font-size: var(--wpq-type-small-strong) !important;
}

.wpq-parameter-detail__table-row strong,
.wpq-parameter-detail__compatibility-card h3,
.wpq-parameter-detail__official strong,
.wpq-parameter-detail__sibling-grid strong {
  font-size: var(--wpq-type-body) !important;
  line-height: 1.55 !important;
}

.wpq-parameter-detail__compatibility-card p,
.wpq-parameter-detail__official {
  font-size: var(--wpq-type-copy) !important;
  line-height: 1.7 !important;
}

.wpq-parameter-detail__table-head > span,
.wpq-parameter-detail__table-row > * {
  padding-block: var(--wpq-space-3) !important;
}

.wpq-parameter-index__rule-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0 !important;
  border-block: 1px solid var(--wpq-f-line) !important;
}

.wpq-parameter-index__rule-grid article,
.wpq-parameter-index__rule-grid article:first-child,
.wpq-parameter-index__rule-grid article:last-child {
  display: grid !important;
  grid-template-columns: 30px minmax(0, 1fr) !important;
  gap: var(--wpq-space-11px) !important;
  align-items: start !important;
  min-width: 0 !important;
  padding: var(--wpq-space-4-5) var(--wpq-space-4) !important;
  border: 0 !important;
  border-right: 1px solid var(--wpq-f-line) !important;
}

.wpq-parameter-index__rule-grid article:first-child {
  padding-left: var(--wpq-space-0-5) !important;
}

.wpq-parameter-index__rule-grid article:last-child {
  padding-right: var(--wpq-space-0-5) !important;
  border-right: 0 !important;
}

.wpq-parameter-index__rule-icon {
  display: grid !important;
  place-items: center !important;
  width: 30px !important;
  height: 30px !important;
  color: var(--wpq-f-green) !important;
}

.wpq-parameter-index__rule-icon svg {
  width: 23px !important;
  height: 23px !important;
}

.wpq-parameter-index__rule-grid strong {
  display: block !important;
  color: var(--wpq-f-navy) !important;
  font-size: var(--wpq-type-subsection) !important;
  line-height: var(--wpq-leading-heading) !important;
}

.wpq-parameter-index__rule-grid p {
  margin: var(--wpq-space-5px) 0 0 !important;
  color: var(--wpq-f-muted) !important;
  font-size: var(--wpq-type-copy) !important;
  line-height: 1.7 !important;
}

/* Update history: force explicit placement. The old implicit-grid rules put
 * the mobile date in a second column and reduced the title track to 0px. */
@media (max-width: 899px) {
  body .wpq-site-main .wpq-whats-new-entry__row-link {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body .wpq-site-main .wpq-whats-new-entry__date,
  body .wpq-site-main .wpq-whats-new-entry__card {
    grid-column: 1 !important;
    grid-row: auto !important;
    width: 100% !important;
  }

  body .wpq-site-main .wpq-whats-new-entry__content {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  body .wpq-site-main .wpq-whats-new-entry__meta {
    display: grid !important;
    grid-template-columns: 79px minmax(0, 1fr) !important;
    gap: var(--wpq-space-2-5) !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  body .wpq-site-main .wpq-whats-new-entry__meta h2 {
    width: auto !important;
    min-width: 0 !important;
  }

  body .wpq-site-main .wpq-whats-new-entry__content > p {
    margin: var(--wpq-space-1-5) 0 0 var(--wpq-update-mobile-copy-indent) !important;
    width: auto !important;
  }
}

/* Article discovery on phones: snapshot-era 70px rows were shorter than the
 * readable title, excerpt and metadata stack. Let every row contain its body
 * instead of allowing later cards to paint over earlier text. */
@media (max-width: 767px) {
  body .wpq-site-main .wpq-public-discovery--articles .wpq-archive-card,
  body .wpq-site-main .wpq-public-discovery--articles .wpq-archive-card:nth-child(n) {
    height: auto !important;
    min-height: 0 !important;
    margin-top: 0 !important;
  }

  body .wpq-site-main .wpq-public-discovery--articles .wpq-archive-card__link,
  body .wpq-site-main .wpq-public-discovery--articles .wpq-archive-card:nth-child(n) .wpq-archive-card__link {
    height: auto !important;
    min-height: 0 !important;
    padding-block: var(--wpq-space-2) !important;
    align-items: start !important;
  }

  body .wpq-site-main .wpq-public-discovery--articles .wpq-archive-card__body {
    height: auto !important;
    min-height: 0 !important;
    grid-template-rows: auto auto auto auto !important;
    align-content: start !important;
    overflow: visible !important;
  }

  body .wpq-site-main :is(.wpq-public-discovery--articles, .wpq-public-discovery--search) .wpq-archive-card__eyeline {
    position: static !important;
    top: auto !important;
    height: auto !important;
    min-height: 16px !important;
    align-items: center !important;
    overflow: visible !important;
  }

  body .wpq-site-main :is(.wpq-public-discovery--articles, .wpq-public-discovery--search) :is(.wpq-archive-card__type, .wpq-archive-card__topic) {
    position: static !important;
    top: auto !important;
    height: auto !important;
    min-height: 16px !important;
  }

  body .wpq-site-main :is(.wpq-public-discovery--articles, .wpq-public-discovery--search) :is(.wpq-archive-card__meta-row, .wpq-archive-card__meta),
  body .wpq-site-main :is(.wpq-public-discovery--articles, .wpq-public-discovery--search) :is(.wpq-archive-card__meta-row, .wpq-archive-card__meta) > span {
    position: static !important;
    top: auto !important;
    height: auto !important;
    min-height: 16px !important;
    overflow: visible !important;
  }
}

/* Task G: readable-type and content-containment closure. These rules replace
 * the last route-specific 7-10px raster calibration values with semantic UI,
 * metadata and body roles. */
body .wpq-site-main .wpq-reference-hub__example-head small,
body .wpq-site-main .wpq-about-v1__operation-links small,
body .wpq-site-main .wpq-operator-v1__standards small,
body .wpq-site-main .wpq-operator-v1__contact small {
  font-size: var(--wpq-type-label) !important;
  line-height: 1.6 !important;
}

body .wpq-site-main .wpq-public-discovery--tag-detail .wpq-tag-compact-list > a > strong {
  font-size: var(--wpq-type-small) !important;
  line-height: var(--wpq-leading-heading) !important;
}

body .wpq-site-main .wpq-public-discovery--tag-detail .wpq-tag-compact-list > a > small {
  font-size: var(--wpq-type-label) !important;
  line-height: 1.6 !important;
}

body .wpq-site-main .wpq-public-discovery--tag-detail .wpq-tag-compact-list > a > span {
  font-size: var(--wpq-type-micro-floor) !important;
  line-height: var(--wpq-leading-heading) !important;
}

body .wpq-site-main .wpq-public-discovery--tag-detail .wpq-tag-compact-list > a,
body .wpq-site-main .wpq-official-reference-v1 article p,
body .wpq-site-main .wpq-official-reference-v1 article a {
  font-size: var(--wpq-type-label) !important;
}

body .wpq-site-main .wpq-editorial-v1__pr,
body .wpq-site-main .wpq-editorial-v1__updated,
body .wpq-site-main .wpq-privacy-v1__modified {
  font-size: var(--wpq-type-meta) !important;
  line-height: 1.55 !important;
}

@media (max-width: 767px) {
  /* Home and overview lists. */
  body.home .wpq-site-main .wpq-home-start-list__body > b {
    font-size: var(--wpq-type-small) !important;
    line-height: var(--wpq-leading-heading) !important;
  }

  body.home .wpq-site-main .wpq-home-article-card__meta {
    font-size: var(--wpq-type-micro-floor) !important;
    line-height: 1.45 !important;
  }

  body.home .wpq-site-main .wpq-home-purpose-filter button,
  body.home .wpq-site-main .wpq-home-purpose-tabs button {
    padding-inline: var(--wpq-space-0-5) !important;
    font-size: var(--wpq-type-micro-floor) !important;
    line-height: 1.4 !important;
    letter-spacing: var(--wpq-tracking-default) !important;
    white-space: nowrap !important;
  }

  body .wpq-site-main .wpq-hub-quick-list > a {
    height: auto !important;
    min-height: 58px !important;
    padding-block: var(--wpq-space-9px) !important;
  }

  body .wpq-site-main .wpq-hub-quick-list__copy strong {
    font-size: var(--wpq-type-small) !important;
    line-height: 1.45 !important;
  }

  body .wpq-site-main .wpq-hub-quick-list__copy > span {
    font-size: var(--wpq-type-meta) !important;
    line-height: 1.55 !important;
  }

  /* Troubleshooting recommendations and filters. */
  body .wpq-site-main .wpq-trouble-recommended > a,
  body .wpq-site-main .wpq-trouble-recommended article,
  body .wpq-site-main .wpq-trouble-recommended li {
    height: auto !important;
    min-height: 66px !important;
  }

  body .wpq-site-main .wpq-trouble-recommended > div {
    grid-template-rows: none !important;
    grid-auto-rows: auto !important;
    height: auto !important;
    min-height: 0 !important;
  }

  body .wpq-site-main .wpq-trouble-recommended > div > a {
    height: auto !important;
    min-height: 70px !important;
    padding-block: var(--wpq-space-2) !important;
    align-items: start !important;
  }

  body .wpq-site-main .wpq-trouble-recommended strong {
    font-size: var(--wpq-type-small-strong) !important;
    line-height: 1.45 !important;
  }

  body .wpq-site-main .wpq-trouble-recommended small {
    font-size: var(--wpq-type-meta) !important;
    line-height: 1.55 !important;
  }

  body .wpq-site-main .wpq-trouble-classifications strong {
    font-size: var(--wpq-type-label) !important;
    line-height: 1.45 !important;
  }

  /* Discovery controls use compact UI text, never micro text. */
  body .wpq-site-main :is(
      .wpq-search-query-form button,
      .wpq-404-search-form button,
      .wpq-archive-sort__trigger,
      .wpq-archive-sort__value,
      .wpq-archive-journeys__label,
      .wpq-tag-intro__category-link,
      .wpq-category-archive-intro__count,
      .wpq-category-archive-intro__all,
      .wpq-glossary-results__head > a
    ) {
    font-size: var(--wpq-type-meta) !important;
    line-height: 1.45 !important;
  }

  body .wpq-site-main .wpq-archive-intro__copy > p,
  body .wpq-site-main .wpq-category-archive-intro__copy > p,
  body .wpq-site-main .wpq-tag-about > p,
  body .wpq-site-main .wpq-sitemap-v1__intro > p {
    font-size: var(--wpq-type-copy) !important;
    line-height: 1.7 !important;
  }

  body .wpq-site-main .wpq-archive-category-route small,
  body .wpq-site-main .wpq-category-next-links small {
    font-size: var(--wpq-type-meta) !important;
    line-height: 1.55 !important;
  }

  body .wpq-site-main .wpq-category-next-links strong,
  body .wpq-site-main .wpq-category-featured b,
  body .wpq-site-main .wpq-category-directory__summary b {
    font-size: var(--wpq-type-label) !important;
    line-height: 1.45 !important;
  }

  body .wpq-site-main .wpq-category-next-links > a,
  body .wpq-site-main .wpq-category-next-links > a > span,
  body .wpq-site-main .wpq-category-featured a,
  body .wpq-site-main .wpq-category-featured a > span {
    font-size: var(--wpq-type-label) !important;
  }

  body .wpq-site-main .wpq-glossary-index__row > strong {
    font-size: var(--wpq-type-label) !important;
    line-height: 1.45 !important;
  }

  body .wpq-site-main .wpq-hub-rail-steps {
    grid-template-rows: none !important;
    grid-auto-rows: auto !important;
  }

  body .wpq-site-main .wpq-hub-rail-steps > li {
    grid-template-columns: 22px minmax(0, 1fr) !important;
    height: auto !important;
    min-height: 34px !important;
    align-items: center !important;
  }

  body .wpq-site-main .wpq-hub-rail-steps > li > span {
    width: 20px !important;
    height: 20px !important;
    font-size: var(--wpq-type-meta) !important;
    line-height: 20px !important;
  }

  body .wpq-site-main .wpq-hub-rail-steps > li > small {
    font-size: var(--wpq-type-meta) !important;
    line-height: var(--wpq-leading-heading) !important;
  }

  /* Popular tags: keep the one-row directory rhythm, but enlarge all labels
   * and allow long descriptions to determine row height. */
  body .wpq-site-main .wpq-tag-popular__grid > a {
    height: auto !important;
    min-height: 60px !important;
    padding-block: var(--wpq-space-2) !important;
    font-size: var(--wpq-type-meta) !important;
  }

  body .wpq-site-main .wpq-tag-popular__grid > a > span {
    font-size: var(--wpq-type-meta) !important;
  }

  body .wpq-site-main .wpq-tag-popular__grid strong {
    font-size: var(--wpq-type-small) !important;
    line-height: 1.45 !important;
  }

  body .wpq-site-main .wpq-tag-popular__grid small {
    font-size: var(--wpq-type-meta) !important;
    line-height: 1.45 !important;
  }

  body .wpq-site-main .wpq-tag-popular__grid b {
    font-size: var(--wpq-type-micro-floor) !important;
    line-height: 1.45 !important;
  }

  body .wpq-site-main .wpq-tag-directory__item {
    height: auto !important;
    min-height: 64px !important;
  }

  body .wpq-site-main .wpq-tag-directory__copy h2 {
    font-size: var(--wpq-type-small) !important;
    line-height: 1.45 !important;
  }

  /* Tag detail: the prior three-column 54px row required 8px copy. On phones,
   * stack title, two-line description and metadata beside a stable type label. */
  body .wpq-site-main .wpq-public-discovery--tag-detail .wpq-tag-section-head p {
    font-size: var(--wpq-type-meta) !important;
    line-height: var(--wpq-leading-heading) !important;
  }

  body .wpq-site-main .wpq-public-discovery--tag-detail .wpq-tag-compact-list > a {
    grid-template-columns: 68px minmax(0, 1fr) !important;
    grid-template-areas:
      "topic title"
      "topic excerpt"
      "topic reading" !important;
    gap: var(--wpq-space-3px) var(--wpq-space-2) !important;
    height: auto !important;
    min-height: 86px !important;
    padding-block: var(--wpq-space-2-5) !important;
    overflow: visible !important;
  }

  body .wpq-site-main .wpq-public-discovery--tag-detail .wpq-tag-compact-list__topic {
    align-self: start !important;
    padding-top: var(--wpq-space-0-5) !important;
    font-size: var(--wpq-type-micro-floor) !important;
  }

  body .wpq-site-main .wpq-public-discovery--tag-detail .wpq-tag-compact-list > a > strong {
    overflow: visible !important;
    font-size: var(--wpq-type-small) !important;
    line-height: var(--wpq-leading-heading) !important;
    text-overflow: clip !important;
    white-space: normal !important;
  }

  body .wpq-site-main .wpq-public-discovery--tag-detail .wpq-tag-compact-list > a > small {
    display: -webkit-box !important;
    overflow: hidden !important;
    font-size: var(--wpq-type-meta) !important;
    line-height: var(--wpq-leading-heading) !important;
    text-overflow: clip !important;
    white-space: normal !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
  }

  body .wpq-site-main .wpq-public-discovery--tag-detail .wpq-tag-compact-list > a > span:last-child {
    align-self: start !important;
    font-size: var(--wpq-type-micro-floor) !important;
    line-height: 1.45 !important;
    white-space: normal !important;
  }

  /* Search results use the same readable article rows as /articles/. */
  body .wpq-site-main .wpq-public-discovery--search .wpq-archive-card,
  body .wpq-site-main .wpq-public-discovery--search .wpq-archive-card:nth-child(n),
  body .wpq-site-main .wpq-public-discovery--search .wpq-archive-card__link,
  body .wpq-site-main .wpq-public-discovery--search .wpq-archive-card:nth-child(n) .wpq-archive-card__link {
    height: auto !important;
    min-height: 0 !important;
    margin-top: 0 !important;
  }

  body .wpq-site-main .wpq-public-discovery--search .wpq-archive-card__link,
  body .wpq-site-main .wpq-public-discovery--search .wpq-archive-card:nth-child(n) .wpq-archive-card__link {
    padding-block: var(--wpq-space-2) !important;
    align-items: start !important;
  }

  body .wpq-site-main .wpq-public-discovery--search .wpq-archive-card__body {
    height: auto !important;
    min-height: 0 !important;
    grid-template-rows: auto auto auto auto !important;
    align-content: start !important;
    overflow: visible !important;
  }

  body .wpq-site-main .wpq-public-discovery--search .wpq-search-exact {
    grid-template-columns: 20px minmax(0, 1fr) auto !important;
    grid-template-areas:
      "icon title action"
      "icon summary action" !important;
    gap: var(--wpq-space-3px) var(--wpq-space-2) !important;
    height: auto !important;
    min-height: 60px !important;
    padding: var(--wpq-space-2) !important;
    font-size: var(--wpq-type-meta) !important;
    line-height: var(--wpq-leading-heading) !important;
  }

  body .wpq-site-main .wpq-public-discovery--search .wpq-search-exact > svg {
    grid-area: icon !important;
  }

  body .wpq-site-main .wpq-public-discovery--search .wpq-search-exact > strong {
    grid-area: title !important;
    font-size: var(--wpq-type-small) !important;
  }

  body .wpq-site-main .wpq-public-discovery--search .wpq-search-exact > span {
    grid-area: summary !important;
    font-size: var(--wpq-type-meta) !important;
  }

  body .wpq-site-main .wpq-public-discovery--search .wpq-search-exact > a {
    grid-area: action !important;
    font-size: var(--wpq-type-meta) !important;
  }

  body .wpq-site-main .wpq-public-discovery--search .wpq-archive-filter-pill {
    font-size: var(--wpq-type-micro-floor) !important;
    letter-spacing: var(--wpq-tracking-default) !important;
  }

  body .wpq-site-main .wpq-public-discovery--search .wpq-search-result-group > h2 {
    font-size: var(--wpq-type-body) !important;
    line-height: var(--wpq-leading-heading) !important;
  }

  body .wpq-site-main .wpq-public-discovery--search .wpq-search-result-group--compact > div > a,
  body .wpq-site-main .wpq-public-discovery--search .wpq-search-result-group--compact:has(#search-glossary-heading) > div > a {
    grid-template-columns: 20px minmax(0, 1fr) !important;
    grid-template-rows: none !important;
    grid-template-areas:
      "icon title"
      "icon excerpt"
      "icon action" !important;
    gap: var(--wpq-space-3px) var(--wpq-space-2) !important;
    height: auto !important;
    min-height: 84px !important;
    padding: var(--wpq-space-2-5) var(--wpq-space-4-5) var(--wpq-space-2-5) 0 !important;
    font-size: var(--wpq-type-meta) !important;
    line-height: var(--wpq-leading-heading) !important;
    overflow: visible !important;
  }

  body .wpq-site-main .wpq-public-discovery--search .wpq-search-result-group--compact svg {
    grid-area: icon !important;
  }

  body .wpq-site-main .wpq-public-discovery--search .wpq-search-result-group--compact strong {
    grid-area: title !important;
    font-size: var(--wpq-type-small) !important;
    line-height: var(--wpq-leading-heading) !important;
  }

  body .wpq-site-main .wpq-public-discovery--search .wpq-search-result-group--compact span {
    grid-area: excerpt !important;
    font-size: var(--wpq-type-meta) !important;
    line-height: var(--wpq-leading-heading) !important;
  }

  body .wpq-site-main .wpq-public-discovery--search .wpq-search-result-group--compact b {
    grid-area: action !important;
    align-self: start !important;
    font-size: var(--wpq-type-meta) !important;
    line-height: var(--wpq-leading-heading) !important;
  }

  body .wpq-site-main .wpq-public-discovery--search .wpq-search-again {
    height: auto !important;
    min-height: 0 !important;
    padding: var(--wpq-space-2-5) !important;
  }

  body .wpq-site-main .wpq-public-discovery--search .wpq-search-again h2 {
    font-size: var(--wpq-type-body) !important;
    line-height: 1.45 !important;
  }

  body .wpq-site-main .wpq-public-discovery--search .wpq-search-again p {
    font-size: var(--wpq-type-small) !important;
    line-height: 1.6 !important;
  }

  body .wpq-site-main .wpq-public-discovery--search .wpq-search-again button {
    font-size: var(--wpq-type-small) !important;
  }

  body .wpq-site-main .wpq-popular-bottom-links strong {
    font-size: var(--wpq-type-small) !important;
    line-height: var(--wpq-leading-heading) !important;
  }

  body .wpq-site-main .wpq-popular-bottom-links > a,
  body .wpq-site-main .wpq-popular-bottom-links > a > span {
    font-size: var(--wpq-type-label) !important;
  }

  /* Reference, trust and utility pages. */
  body .wpq-site-main .wpq-official-reference-row__number {
    font-size: var(--wpq-type-meta) !important;
  }

  body .wpq-site-main .wpq-official-reference-matrix__rows article > p {
    font-size: var(--wpq-type-small) !important;
  }

  body .wpq-site-main .wpq-official-reference-matrix__rows article > a,
  body .wpq-site-main .wpq-official-reference-row__actions a {
    font-size: var(--wpq-type-label) !important;
  }

  body .wpq-site-main .wpq-cheatsheet-v1__code-head strong,
  body .wpq-site-main .wpq-cheatsheet-v1__count {
    font-size: var(--wpq-type-meta) !important;
    line-height: var(--wpq-leading-heading) !important;
  }

  body .wpq-site-main .wpq-cheatsheet-v1__section-heading h2,
  body .wpq-site-main .wpq-cheatsheet-v1__rail section > h2 {
    font-size: var(--wpq-type-body) !important;
    line-height: var(--wpq-leading-heading) !important;
  }

  body .wpq-site-main .wpq-about-v1__topics strong,
  body .wpq-site-main .wpq-about-v1__process strong {
    font-size: var(--wpq-type-small) !important;
    line-height: var(--wpq-leading-heading) !important;
  }

  body .wpq-site-main .wpq-about-v1__step-number {
    font-size: var(--wpq-type-meta) !important;
  }

  body .wpq-site-main .wpq-about-v1__operation-links small,
  body .wpq-site-main .wpq-operator-v1__standards small,
  body .wpq-site-main .wpq-operator-v1__contact small {
    font-size: var(--wpq-type-label) !important;
    line-height: 1.6 !important;
  }

  body .wpq-site-main .wpq-operator-v1__standard h3,
  body .wpq-site-main .wpq-editorial-v1__principles h3,
  body .wpq-site-main .wpq-editorial-v1__standards h3,
  body .wpq-site-main .wpq-editorial-v1__maintenance h3 {
    font-size: var(--wpq-type-copy) !important;
    line-height: var(--wpq-leading-heading) !important;
  }

  body .wpq-site-main .wpq-privacy-v1__toc-toggle {
    font-size: var(--wpq-type-label) !important;
    line-height: var(--wpq-leading-heading) !important;
  }

  body .wpq-site-main .wpq-privacy-v1__content > h2 {
    font-size: var(--wpq-type-subsection) !important;
    line-height: 1.55 !important;
  }

  body .wpq-site-main .wpq-privacy-v1__related-rail > h2 {
    font-size: var(--wpq-type-body) !important;
  }

  body .wpq-site-main .wpq-privacy-v1__notice-rail > p {
    font-size: var(--wpq-type-small) !important;
    line-height: var(--wpq-leading-copy) !important;
  }

  body .wpq-site-main .wpq-sitemap-v1__group-head > h2,
  body .wpq-site-main .wpq-sitemap-v1__beginner > h2 {
    font-size: var(--wpq-type-subsection) !important;
    line-height: var(--wpq-leading-heading) !important;
  }

  body .wpq-site-main .wpq-404-hero__code {
    font-size: var(--wpq-type-meta) !important;
  }

  body .wpq-site-main .wpq-404-hero > p:not(.wpq-404-hero__code) {
    font-size: var(--wpq-type-copy) !important;
    line-height: 1.7 !important;
  }

  body .wpq-site-main .wpq-404-hero__actions a,
  body .wpq-site-main .wpq-404-route strong {
    font-size: var(--wpq-type-label) !important;
    line-height: var(--wpq-leading-heading) !important;
  }
}

/* Popular cards keep their three-line descriptions, but not at micro-copy
 * sizes. The rail occupies only the board row so the next links follow the
 * list without an artificial empty grid track. */
@media (min-width: 900px) {
  body .wpq-site-main .wpq-popular-rail {
    grid-row: 3 !important;
  }

  body .wpq-site-main .wpq-popular-bottom-links {
    grid-row: 4 !important;
  }
}

body .wpq-site-main .wpq-popular-card__body p {
  font-size: var(--wpq-type-copy) !important;
  line-height: var(--wpq-leading-copy) !important;
}

body .wpq-site-main .wpq-popular-card__meta {
  font-size: var(--wpq-type-label) !important;
  line-height: 1.45 !important;
}

body .wpq-site-main .wpq-popular-card__eyebrow {
  font-size: var(--wpq-type-meta) !important;
  line-height: 1.4 !important;
}

body .wpq-site-main .wpq-popular-board__range {
  font-size: var(--wpq-type-small-strong) !important;
  line-height: var(--wpq-leading-copy) !important;
}

/* Side rails share one compact hierarchy. Historical family styles used
 * route-specific negative margins and fractional font sizes, which made the
 * same related-link component feel different from page to page. */
body .wpq-site-main :is(.wpq-hub-rail-panel, .wpq-privacy-v1__related-rail) > h2 {
  font-size: var(--wpq-type-body) !important;
  line-height: var(--wpq-leading-heading) !important;
}

body .wpq-site-main .wpq-hub-rail-link strong {
  font-size: var(--wpq-type-small-strong) !important;
  line-height: var(--wpq-leading-heading) !important;
}

body .wpq-site-main .wpq-hub-rail-link small {
  font-size: var(--wpq-type-label) !important;
  line-height: 1.55 !important;
}

@media (min-width: 900px) {
  body .wpq-site-main .wpq-hub-rail-panel > .wpq-hub-rail-link {
    margin-top: 0 !important;
  }
}

/* Shared discovery/list content: reserve 11px for badges and metadata, 13px
 * for descriptions, and 15px for link titles. */
body .wpq-site-main .wpq-archive-card__title {
  font-size: var(--wpq-type-subsection) !important;
  line-height: var(--wpq-leading-heading) !important;
}

body .wpq-site-main .wpq-archive-card__excerpt {
  font-size: var(--wpq-type-copy) !important;
  line-height: var(--wpq-leading-copy) !important;
}

body .wpq-site-main :is(
    .wpq-archive-card__date,
    .wpq-archive-card__difficulty,
    .wpq-archive-card__type,
    .wpq-archive-card__topic,
    .wpq-sitemap-v1__item-meta,
    .wpq-cheatsheet-v1__badge,
    .wpq-contact-field__badge
  ) {
  font-size: var(--wpq-type-meta) !important;
  line-height: 1.45 !important;
}

body .wpq-site-main .wpq-archive-filter-pill,
body .wpq-site-main .wpq-archive-filter-pill.is-active,
body .wpq-site-main .wpq-popular-filter-chip__label {
  font-size: var(--wpq-type-small) !important;
  line-height: 1.45 !important;
}

/* Home uses the same hierarchy as the other entry pages. */
body.home .wpq-site-main .wpq-home-hero__lead {
  font-size: var(--wpq-type-body) !important;
  line-height: var(--wpq-leading-body) !important;
}

body.home .wpq-site-main .wpq-home-feature-card__text {
  font-size: var(--wpq-type-small-strong) !important;
  line-height: 1.55 !important;
}

body.home .wpq-site-main .wpq-home-article-card__title {
  font-size: var(--wpq-type-copy-strong) !important;
  line-height: var(--wpq-leading-heading) !important;
}

body.home .wpq-site-main .wpq-home-article-card__eyebrow,
body.home .wpq-site-main .wpq-home-article-card__meta > span {
  font-size: var(--wpq-type-micro-floor) !important;
  line-height: 1.45 !important;
}

body.home .wpq-site-main .wpq-home-panel__link--after-list,
body.home .wpq-site-main .wpq-home-purpose-tabs button {
  font-size: var(--wpq-type-small) !important;
  line-height: var(--wpq-leading-heading) !important;
}

/* Supplemental route blocks explain why the linked destinations are useful
 * before their single-owner divider begins. Primary controls, result lists
 * and compact rails intentionally do not inherit this extra copy. */
body .wpq-site-main .wpq-section-guidance {
  width: min(100%, 62rem);
  margin: var(--wpq-space-2) 0 var(--wpq-space-4);
  color: var(--wpq-color-copy);
  font-size: var(--wpq-type-body);
  font-weight: var(--wpq-weight-regular);
  line-height: var(--wpq-leading-copy);
  letter-spacing: var(--wpq-tracking-default);
}

body .wpq-site-main :is(
    .wpq-reference-hub__next-section,
    .wpq-category-next-section,
    .wpq-popular-next-section,
    .wpq-404-section--articles
  ) {
  display: grid;
  gap: 0;
}

body .wpq-site-main :is(
    .wpq-reference-hub__next-section,
    .wpq-category-next-section,
    .wpq-popular-next-section,
    .wpq-404-section--articles
  ) > .wpq-section-heading {
  margin-bottom: 0 !important;
}

body .wpq-site-main :is(
    .wpq-reference-hub__next-section > .wpq-reference-hub__next,
    .wpq-hub-section--related > .wpq-hub-related-links,
    .wpq-category-next-section > .wpq-category-next-links,
    .wpq-popular-next-section > .wpq-popular-bottom-links
  ) {
  margin-top: 0;
}

body .wpq-site-main .wpq-category-next-section {
  margin-top: var(--wpq-space-7);
}

body .wpq-site-main .wpq-popular-shell > .wpq-popular-next-section {
  grid-column: 1 / -1;
  margin-top: var(--wpq-space-5);
}

@media (min-width: 900px) {
  body .wpq-site-main .wpq-popular-shell > .wpq-popular-next-section {
    grid-row: 4;
  }
}

@media (max-width: 899px) {
  body .wpq-site-main .wpq-section-guidance {
    margin-top: var(--wpq-space-1-5);
    margin-bottom: var(--wpq-space-3-5);
    font-size: var(--wpq-type-copy);
    line-height: var(--wpq-leading-copy);
  }

  body .wpq-site-main .wpq-category-next-section {
    margin-top: var(--wpq-space-6);
  }

  body .wpq-site-main .wpq-public-hub__intro > p:not(.wpq-public-hub__kicker),
  body .wpq-site-main .wpq-public-discovery__intro > p:not(.wpq-public-hub__kicker),
  body .wpq-site-main .wpq-public-compact-intro > p:not(.wpq-public-hub__kicker) {
    font-size: var(--wpq-type-body) !important;
  }

  :root {
    --wpq-g-copy: var(--wpq-type-small-strong);
    --wpq-g-small: var(--wpq-type-label);
  }

  .wpq-parameter-index__rule-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .wpq-parameter-index__rule-grid article,
  .wpq-parameter-index__rule-grid article:first-child,
  .wpq-parameter-index__rule-grid article:last-child {
    grid-template-columns: 28px minmax(0, 1fr) !important;
    gap: var(--wpq-space-2-5) !important;
    padding: var(--wpq-space-3-5) 0 !important;
    border-right: 0 !important;
    border-bottom: 1px solid var(--wpq-f-line) !important;
  }

  .wpq-parameter-index__rule-grid article:last-child {
    border-bottom: 0 !important;
  }

  .wpq-parameter-index__rule-grid strong {
    font-size: var(--wpq-type-body) !important;
  }

  .wpq-parameter-index__rule-grid p {
    font-size: var(--wpq-type-small-strong) !important;
  }

  body .wpq-site-main .wpq-popular-filter-chip {
    min-height: 44px !important;
  }

  body .wpq-site-main .wpq-popular-card__body h2,
  body .wpq-site-main .wpq-popular-featured-grid .wpq-popular-card__body h2,
  body .wpq-site-main .wpq-popular-compact-list .wpq-popular-card__body h2 {
    font-size: var(--wpq-type-copy) !important;
    line-height: 1.45 !important;
  }

  body .wpq-site-main .wpq-popular-card__body p {
    font-size: var(--wpq-type-small) !important;
    line-height: 1.55 !important;
  }

  body .wpq-site-main .wpq-popular-card__meta {
    font-size: var(--wpq-type-micro-floor) !important;
  }

  .wpq-footer-heading {
    font-size: var(--wpq-type-copy) !important;
  }

  .wpq-footer-menu a,
  .wpq-footer-meta-nav a {
    min-height: 32px !important;
    font-size: var(--wpq-type-small) !important;
    line-height: 1.55 !important;
  }

  .wpq-footer-menu,
  .wpq-footer-meta-nav {
    gap: 2px !important;
  }

  /* Contact must remain readable in the compact layout. Fixed legacy row
   * heights clipped the rail copy, while the calibrated textarea inherited a
   * 6.5px snapshot value. */
  body .wpq-site-main .wpq-contact-v1__rail-item {
    position: static !important;
    top: auto !important;
    height: auto !important;
    min-height: 60px !important;
    padding-block: var(--wpq-space-11px) !important;
    overflow: visible !important;
  }

  body .wpq-site-main .wpq-contact-v1__rail-list,
  body .wpq-site-main .wpq-contact-v1__rail-section:first-child .wpq-contact-v1__rail-list,
  body .wpq-site-main .wpq-contact-v1__rail-section:last-child .wpq-contact-v1__rail-list {
    grid-template-rows: none !important;
    grid-auto-rows: auto !important;
    gap: 0 !important;
  }

  body .wpq-site-main .wpq-contact-v1__rail-section,
  body .wpq-site-main .wpq-contact-v1__rail-section + .wpq-contact-v1__rail-section {
    height: auto !important;
    min-height: 0 !important;
    gap: var(--wpq-space-2) !important;
  }

  body .wpq-site-main .wpq-contact-field :is(input, textarea),
  body .wpq-site-main .wpq-contact-select__trigger,
  body .wpq-site-main .wpq-contact-file-control {
    font-size: var(--wpq-type-body) !important;
    line-height: 1.6 !important;
  }

  /* Content grows with the calibrated Noto Sans JP metrics. Historical fixed
   * row heights and nowrap rules clipped Japanese labels at 320–430px. */
  body.home .wpq-site-main .wpq-home-feature-card,
  body.home .wpq-site-main .wpq-home-feature-card:nth-child(n) {
    height: auto !important;
    min-height: 64px !important;
    overflow: visible !important;
  }

  body.home .wpq-site-main .wpq-home-article-card,
  body.home .wpq-site-main .wpq-home-article-card__link {
    height: auto !important;
    min-height: 79px !important;
    overflow: visible !important;
  }

  body .wpq-site-main .wpq-glossary-related {
    grid-template-rows: none !important;
    grid-auto-rows: auto !important;
  }

  body .wpq-site-main .wpq-glossary-related > .wpq-hub-rail-link {
    height: auto !important;
  }

  body .wpq-site-main .wpq-cheatsheet-v1__combinations,
  body .wpq-site-main .wpq-cheatsheet-v1__combinations article,
  body .wpq-site-main .wpq-cheatsheet-v1__combinations article > p {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  body .wpq-site-main .wpq-cheatsheet-v1__combinations article > p {
    display: flex !important;
    flex-wrap: wrap !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  body .wpq-site-main .wpq-cheatsheet-v1__code-block,
  body .wpq-site-main .wpq-cheatsheet-v1__code-block pre,
  body .wpq-site-main .wpq-cheatsheet-v1__table-scroll {
    min-width: 0 !important;
    max-width: 100% !important;
    overscroll-behavior-inline: contain;
  }

  body .wpq-site-main .wpq-cheatsheet-v1__code-block pre,
  body .wpq-site-main .wpq-cheatsheet-v1__table-scroll {
    overflow-x: auto !important;
  }

  body .wpq-site-main .wpq-sitemap-v1__item,
  body .wpq-site-main .wpq-sitemap-v1__item-copy,
  body .wpq-site-main .wpq-sitemap-v1__item-copy small {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  body .wpq-site-main .wpq-sitemap-v1__item-copy small {
    display: -webkit-box !important;
    overflow: hidden !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
  }

  body .wpq-site-main .wpq-privacy-v1__related-rail > h2 {
    font-size: var(--wpq-type-body) !important;
    line-height: var(--wpq-leading-heading) !important;
  }

  body .wpq-site-main .wpq-privacy-v1__related-links {
    grid-template-rows: none !important;
    grid-auto-rows: auto !important;
  }

  body .wpq-site-main .wpq-privacy-v1__related-links > a {
    position: static !important;
    height: auto !important;
    min-height: 48px !important;
  }

  body .wpq-site-main .wpq-privacy-v1__notice-rail {
    margin-top: var(--wpq-space-2) !important;
  }
}

/* --------------------------------------------------------------------------
 * Task H final cascade: reviewer-comment closure (2026-08-14)
 *
 * This block is intentionally last. One component owns each divider and all
 * repeated typography, spacing and control patterns resolve to shared tokens.
 * -------------------------------------------------------------------------- */

body .wpq-site-main :is(
    .wpq-search-query-form,
    .wpq-archive-query-form,
    .wpq-trouble-search,
    .wpq-glossary-search,
    .wpq-cheatsheet-v1__search
  ) {
  width: 100% !important;
  max-width: none !important;
}

body .wpq-site-main :is(
    .wpq-archive-card-list,
    .wpq-category-archive-card-list,
    .wpq-search-card-list,
    .wpq-tag-featured__list,
    .wpq-trouble-article-list,
    .wpq-glossary-list
  ) {
  border-block: 0 !important;
  box-shadow: none !important;
}

body .wpq-site-main :is(
    .wpq-archive-card,
    .wpq-category-card,
    .wpq-search-card-list > article,
    .wpq-tag-featured__list > article,
    .wpq-trouble-article-list > a,
    .wpq-glossary-list > a
  ) {
  border-top: 0 !important;
  border-bottom: 1px solid var(--wpq-f-line) !important;
  box-shadow: none !important;
}

body .wpq-site-main :is(
    .wpq-archive-card-list,
    .wpq-category-archive-card-list,
    .wpq-search-card-list,
    .wpq-tag-featured__list,
    .wpq-trouble-article-list,
    .wpq-glossary-list
  ) > :last-child {
  border-bottom: 0 !important;
}

body .wpq-site-main :is(.wpq-archive-result-toolbar, .wpq-search-filter-bar) {
  border-bottom: 0 !important;
}

body .wpq-site-main .wpq-category-archive-filter-bar {
  margin-top: var(--wpq-space-5) !important;
  margin-bottom: var(--wpq-space-5) !important;
  border-bottom: 1px solid var(--wpq-f-line) !important;
}

body .wpq-site-main .wpq-category-archive-card-list {
  margin-top: 0 !important;
}

body .wpq-site-main :is(.wpq-archive-card__excerpt, .wpq-popular-card__body > p) {
  display: -webkit-box !important;
  overflow: hidden !important;
  white-space: normal !important;
  text-overflow: ellipsis !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 3 !important;
}

/* Article and search rows must grow with their real title, three-line summary
 * and metadata stack. Earlier approved-image calibration assigned per-row
 * pixel heights; once the shared typography scale was restored those heights
 * made the body overflow into the following row. */
body .wpq-site-main :is(.wpq-public-discovery--articles, .wpq-public-discovery--search) .wpq-archive-card,
body .wpq-site-main :is(.wpq-public-discovery--articles, .wpq-public-discovery--search) .wpq-archive-card:nth-child(n),
body .wpq-site-main :is(.wpq-public-discovery--articles, .wpq-public-discovery--search) .wpq-archive-card__link,
body .wpq-site-main :is(.wpq-public-discovery--articles, .wpq-public-discovery--search) .wpq-archive-card:nth-child(n) .wpq-archive-card__link {
  box-sizing: border-box !important;
  height: auto !important;
  min-height: 0 !important;
  margin-top: 0 !important;
}

body .wpq-site-main :is(.wpq-public-discovery--articles, .wpq-public-discovery--search) .wpq-archive-card__link,
body .wpq-site-main :is(.wpq-public-discovery--articles, .wpq-public-discovery--search) .wpq-archive-card:nth-child(n) .wpq-archive-card__link {
  padding-block: var(--wpq-space-3) !important;
  align-items: center !important;
}

body .wpq-site-main :is(.wpq-public-discovery--articles, .wpq-public-discovery--search) .wpq-archive-card__body {
  height: auto !important;
  min-height: 0 !important;
  grid-template-columns: fit-content(180px) minmax(0, 1fr) !important;
  grid-template-areas:
    "eyeline title"
    "excerpt excerpt"
    "meta meta" !important;
  grid-template-rows: auto auto auto !important;
  align-content: center !important;
  overflow: visible !important;
}

body .wpq-site-main :is(.wpq-public-discovery--articles, .wpq-public-discovery--search) .wpq-archive-card__excerpt {
  min-height: 0 !important;
}

body .wpq-site-main :is(
    .wpq-home-feature-grid,
    .wpq-hub-route-grid,
    .wpq-archive-journeys__links
  ) {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  align-items: stretch !important;
}

body .wpq-site-main :is(
    .wpq-home-feature-card,
    .wpq-hub-route,
    .wpq-archive-journeys__links > a
  ) {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) !important;
  grid-template-rows: auto 1fr !important;
  align-content: start !important;
  align-items: start !important;
}

body .wpq-site-main :is(
    .wpq-home-feature-card,
    .wpq-hub-route,
    .wpq-archive-journeys__links > a
  ) :is(strong, .wpq-hub-route__title) {
  align-self: start !important;
}

body.home .wpq-site-main .wpq-home-feature-grid {
  margin-bottom: var(--wpq-space-5) !important;
  padding-bottom: var(--wpq-space-5) !important;
}

body.home .wpq-site-main .wpq-home-side {
  gap: 0 !important;
}

body.home .wpq-site-main .wpq-home-widget:not(.wpq-home-widget--builder),
body.home .wpq-site-main .wpq-mobile-rail-disclosure__body > .wpq-home-widget:not(.wpq-home-widget--builder) {
  margin: 0 !important;
  padding: var(--wpq-space-5) 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  border-top: 1px solid var(--wpq-f-line) !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.home .wpq-site-main .wpq-home-widget--builder {
  margin-bottom: var(--wpq-space-4) !important;
  box-shadow: none !important;
}

@media (min-width: 700px) {
  body .wpq-site-main .wpq-parameter-index__jump-grid .wpq-reference-hub__jump:nth-child(odd) {
    border-bottom: 0 !important;
    background-image: none !important;
  }

  body .wpq-site-main .wpq-parameter-index__jump-grid .wpq-reference-hub__jump:nth-child(even) {
    border-bottom: 0 !important;
    background-image: none !important;
  }

  body .wpq-site-main .wpq-parameter-index__jump-grid .wpq-reference-hub__jump:nth-last-child(-n + 2) {
    background-image: none;
  }
}

body .wpq-site-main .wpq-parameter-detail__table-head {
  align-items: center !important;
  color: var(--wpq-f-body) !important;
  background: var(--wpq-f-surface-subtle) !important;
  font-weight: var(--wpq-weight-medium) !important;
}

body .wpq-site-main .wpq-parameter-detail__table-head > * {
  text-align: center !important;
}

body .wpq-site-main .wpq-parameter-detail__table-row {
  align-items: center !important;
}

body .wpq-site-main .wpq-parameter-detail__table-row > :first-child {
  align-self: center !important;
  text-align: center !important;
}

body .wpq-site-main .wpq-parameter-detail__table-row > :nth-child(2) {
  align-self: center !important;
}

body .wpq-site-main .wpq-parameter-detail__official {
  margin-top: var(--wpq-space-3) !important;
}

body .wpq-site-main :is(
    .wpq-reference-hub__placement-card,
    .wpq-reference-hub__example-head
  ) {
  align-items: center !important;
}

body .wpq-site-main .wpq-reference-hub__placement-card > code,
body .wpq-site-main .wpq-reference-hub__example-head code {
  font-family: var(--wpq-font-mono) !important;
  font-size: var(--wpq-type-small-strong) !important;
  font-weight: var(--wpq-weight-medium) !important;
  line-height: 1.5 !important;
}

body .wpq-site-main .wpq-reference-hub__safety {
  margin-top: var(--wpq-space-5) !important;
  padding-top: 0 !important;
  border-top: 0 !important;
}

body .wpq-site-main .wpq-trouble-recommended__lead,
body .wpq-site-main .wpq-trouble-results__lead {
  width: 100% !important;
  max-width: none !important;
}

body .wpq-site-main .wpq-trouble-classifications {
  margin-top: var(--wpq-space-4) !important;
}

body .wpq-site-main .wpq-trouble-classifications__heading-row {
  display: flex !important;
  gap: var(--wpq-space-3) !important;
  align-items: baseline !important;
  justify-content: space-between !important;
}

body .wpq-site-main .wpq-trouble-classifications__help {
  margin: var(--wpq-space-2) 0 var(--wpq-space-3) !important;
  color: var(--wpq-f-muted) !important;
}

body .wpq-site-main .wpq-trouble-symptom-list :is(a, article) > :first-child {
  align-self: center !important;
}

body .wpq-site-main .wpq-glossary-index__row a {
  display: inline-flex !important;
  min-height: 36px !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}

body .wpq-site-main .wpq-popular-card__link {
  align-items: stretch !important;
}

body .wpq-site-main .wpq-popular-card__thumb {
  min-width: 0 !important;
}

body .wpq-site-main .wpq-popular-card__body {
  display: grid !important;
  grid-template-rows: minmax(2.9em, auto) minmax(4.8em, auto) auto !important;
  align-content: center !important;
  gap: var(--wpq-space-2) !important;
  min-width: 0 !important;
}

body .wpq-site-main .wpq-popular-card__body h2 {
  display: flex !important;
  margin: 0 !important;
  padding: 0 !important;
  align-items: center !important;
}

body .wpq-site-main .wpq-popular-card__body > p {
  display: -webkit-box !important;
  min-height: calc(1.65em * 3) !important;
  margin: 0 !important;
  overflow: hidden !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 3 !important;
}

body .wpq-site-main .wpq-popular-card__eyebrow {
  position: static !important;
  justify-self: start !important;
  margin: var(--wpq-space-3) 0 0 var(--wpq-space-3) !important;
}

@media (min-width: 900px) {
  body .wpq-site-main .wpq-popular-compact-list .wpq-popular-card__link {
    grid-template-columns: 280px minmax(0, 1fr) !important;
    grid-template-rows: auto 1fr !important;
    grid-template-areas:
      "popular-thumb popular-eyebrow"
      "popular-thumb popular-body" !important;
    column-gap: var(--wpq-space-5) !important;
    row-gap: var(--wpq-space-2) !important;
  }

  body .wpq-site-main .wpq-popular-compact-list .wpq-popular-card__thumb {
    grid-area: popular-thumb !important;
    align-self: center !important;
  }

  body .wpq-site-main .wpq-popular-compact-list .wpq-popular-card__eyebrow {
    grid-area: popular-eyebrow !important;
    margin: 0 !important;
  }

  body .wpq-site-main .wpq-popular-compact-list .wpq-popular-card__body {
    grid-area: popular-body !important;
  }
}

body .wpq-site-main .wpq-whats-new-summary {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
}

body .wpq-site-main .wpq-whats-new-summary-card {
  justify-content: center !important;
  justify-items: center !important;
  text-align: center !important;
}

body .wpq-site-main .wpq-whats-new-timeline-panel {
  display: block !important;
}

body .wpq-site-main .wpq-whats-new-type-tabs {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  width: 100% !important;
  gap: var(--wpq-space-2) !important;
}

body .wpq-site-main .wpq-whats-new-type-tabs a {
  display: inline-flex !important;
  gap: var(--wpq-space-2) !important;
  align-items: center !important;
  justify-content: center !important;
}

body .wpq-site-main .wpq-whats-new-type-tabs a svg {
  width: 16px !important;
  height: 16px !important;
  flex: 0 0 16px !important;
}

body .wpq-site-main .wpq-whats-new-entry__content {
  display: block !important;
}

body .wpq-site-main .wpq-whats-new-entry__meta {
  display: grid !important;
  grid-template-columns: 83px minmax(0, 1fr) !important;
  gap: var(--wpq-space-3) !important;
  align-items: center !important;
}

body .wpq-site-main .wpq-whats-new-entry__content > p {
  display: block !important;
  width: 100% !important;
  margin: var(--wpq-space-2) 0 0 !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
}

body .wpq-site-main .wpq-whats-new-timeline-panel__footer {
  margin-top: var(--wpq-space-5) !important;
  padding-top: 0 !important;
  border-top: 0 !important;
}

body .wpq-site-main :is(.wpq-tag-popular__grid > a, .wpq-tag-directory__item) > b {
  justify-self: end !important;
  margin-left: auto !important;
  text-align: right !important;
  white-space: nowrap !important;
}

body .wpq-site-main .wpq-cheatsheet-v1__section-tabs {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  width: 100% !important;
}

body .wpq-site-main .wpq-cheatsheet-v1__section-tabs a,
body .wpq-site-main .wpq-cheatsheet-v1__filters a {
  display: flex !important;
  gap: var(--wpq-space-2) !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

body .wpq-site-main .wpq-cheatsheet-v1__section-tabs a {
  min-height: 48px !important;
}

body .wpq-site-main .wpq-cheatsheet-v1__filters a {
  min-height: 40px !important;
}

body .wpq-site-main .wpq-cheatsheet-v1__filters a svg {
  width: 16px !important;
  height: 16px !important;
  flex: 0 0 16px !important;
}

body .wpq-site-main .wpq-cheatsheet-v1__code-block {
  overflow: hidden !important;
  border-color: var(--wpq-color-footer-line) !important;
  background: var(--wpq-color-code-surface) !important;
}

body .wpq-site-main .wpq-cheatsheet-v1__code-head {
  border-bottom-color: var(--wpq-color-footer-line) !important;
  color: var(--wpq-color-code-copy) !important;
  background: var(--wpq-color-footer-deep) !important;
}

body .wpq-site-main .wpq-cheatsheet-v1__code-block pre {
  color: var(--wpq-color-code-copy) !important;
  background: var(--wpq-color-code-surface) !important;
}

body .wpq-site-main .wpq-cheatsheet-v1__combination-section {
  margin-top: var(--wpq-space-7) !important;
}

body .wpq-site-main .wpq-contact-file-shell {
  display: grid !important;
  grid-template-columns: max-content minmax(0, 1fr) !important;
  gap: var(--wpq-space-1) var(--wpq-space-3) !important;
  align-items: center !important;
}

body .wpq-site-main .wpq-contact-file-control {
  display: inline-flex !important;
  width: fit-content !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 34px !important;
  padding: 0 !important;
  overflow: visible !important;
}

body .wpq-site-main .wpq-contact-file-control__button {
  display: inline-flex !important;
  min-height: 34px !important;
  padding: 0 var(--wpq-space-3) !important;
  align-items: center !important;
  justify-content: center !important;
}

body .wpq-site-main .wpq-contact-file-name,
body .wpq-site-main .wpq-contact-file-shell > .wpq-contact-field__help {
  min-width: 0 !important;
  color: var(--wpq-f-muted) !important;
  font-size: var(--wpq-type-small) !important;
  font-weight: var(--wpq-weight-regular) !important;
  line-height: 1.55 !important;
}

body .wpq-site-main .wpq-contact-v1__types {
  margin-bottom: var(--wpq-space-6) !important;
  padding-top: var(--wpq-space-5) !important;
}

body .wpq-site-main .wpq-contact-v1__types > header {
  margin-bottom: var(--wpq-space-3) !important;
}

body .wpq-site-main :is(.wpq-trust-v1, .wpq-privacy-v1) {
  font-family: var(--wpq-font-sans) !important;
  font-weight: var(--wpq-weight-regular) !important;
  letter-spacing: var(--wpq-tracking-default) !important;
}

body .wpq-site-main :is(.wpq-trust-v1__main, .wpq-privacy-v1__main) h2 {
  color: var(--wpq-f-navy) !important;
  font-size: var(--wpq-type-section) !important;
  font-weight: var(--wpq-weight-bold) !important;
  line-height: var(--wpq-leading-heading) !important;
}

body .wpq-site-main .wpq-editorial-v1__pr {
  align-self: center !important;
  margin-left: var(--wpq-space-2) !important;
}

.wpq-footer-meta-nav a {
  display: inline-flex !important;
  width: fit-content !important;
  max-width: 100% !important;
  gap: var(--wpq-space-2) !important;
  align-items: center !important;
  justify-content: flex-start !important;
  justify-self: start !important;
}

.wpq-footer-meta-nav a svg {
  margin-left: 0 !important;
  flex: 0 0 auto !important;
}

@media (max-width: 1199px) {
  body .wpq-site-main :is(
      .wpq-home-feature-grid,
      .wpq-hub-route-grid,
      .wpq-archive-journeys__links
    ) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body .wpq-site-main .wpq-whats-new-type-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 699px) {
  body .wpq-site-main :is(
      .wpq-home-feature-grid,
      .wpq-hub-route-grid,
      .wpq-archive-journeys__links
    ) {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body .wpq-site-main .wpq-whats-new-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body .wpq-site-main .wpq-whats-new-summary-card:last-child {
    grid-column: 1 / -1 !important;
  }

  body .wpq-site-main .wpq-whats-new-type-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body .wpq-site-main .wpq-whats-new-entry__meta,
  body .wpq-site-main .wpq-contact-file-shell {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body .wpq-site-main .wpq-contact-file-shell > .wpq-contact-field__help {
    grid-column: 1 !important;
  }

  body .wpq-site-main :is(.wpq-public-discovery--articles, .wpq-public-discovery--search) .wpq-archive-card__body {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas:
      "eyeline"
      "title"
      "excerpt"
      "meta" !important;
    grid-template-rows: auto auto auto auto !important;
    gap: var(--wpq-space-1) !important;
  }
}

/* Task H final live-browser closure. Keep this block last so legacy page
 * selectors cannot reintroduce the reviewed exceptions. */
html body .wpq-site-main .wpq-home-primary .wpq-home-hero > .wpq-home-hero__lead,
html body .wpq-site-main .wpq-archive-intro p:not(.wpq-public-hub__kicker),
html body .wpq-site-main .wpq-category-archive-intro p:not(.wpq-public-hub__kicker),
html body .wpq-site-main .wpq-public-hub__intro > p:not(.wpq-public-hub__kicker),
html body .wpq-site-main .wpq-public-discovery__intro > p:not(.wpq-public-hub__kicker),
html body .wpq-site-main .wpq-popular-hero__lead,
html body .wpq-site-main .wpq-whats-new-intro > p:not(.wpq-public-hub__kicker),
html body .wpq-site-main .wpq-trust-v1__intro > p:not(.wpq-public-hub__kicker),
html body .wpq-site-main .wpq-privacy-v1__intro > p:not(.wpq-public-hub__kicker),
html body .wpq-site-main .wpq-contact-v1__intro > p:not(.wpq-public-hub__kicker),
html body .wpq-site-main .wpq-cheatsheet-v1__intro > p:not(.wpq-public-hub__kicker) {
  color: var(--wpq-f-muted) !important;
  font-family: var(--wpq-font-sans) !important;
  font-size: var(--wpq-type-body) !important;
  font-weight: var(--wpq-weight-regular) !important;
  line-height: var(--wpq-leading-body) !important;
  letter-spacing: var(--wpq-tracking-default) !important;
}

body.home .wpq-site-main .wpq-home-widget--builder + .wpq-mobile-rail-disclosure
  .wpq-mobile-rail-disclosure__body > .wpq-home-widget:first-child {
  border-top: 0 !important;
}

body .wpq-site-main .wpq-category-archive-main {
  row-gap: var(--wpq-space-5) !important;
}

body .wpq-site-main .wpq-category-archive-main > :is(
    .wpq-category-archive-intro,
    .wpq-category-archive-filter-bar,
    .wpq-category-archive-card-list
  ) {
  margin-block: 0 !important;
}

body .wpq-site-main .wpq-contact-v1__types #contact-types-heading {
  border-left: 0 !important;
  padding-left: 0 !important;
}

/* Individual-article closure: the theme ships physical 400 / 500 / 700 faces.
 * Re-apply component roles after the global weight normalizer so labels and
 * actions keep their intended hierarchy without synthetic font weights. */
body .wpq-site-main :is(
    .inline-code-pill,
    .wpq-toc-list a,
    .toc a,
    .wpq-affiliate-band__brand,
    .wpq-affiliate-card__brand,
    .wpq-affiliate-band__action,
    .wpq-affiliate-card__action
  ) {
  font-weight: var(--wpq-weight-bold) !important;
}

body .wpq-site-main :is(
    .wpq-ranking-card__meta-chip,
    .wpq-affiliate-band__text,
    .wpq-affiliate-card__text
  ) {
  font-weight: var(--wpq-weight-medium) !important;
}

body .wpq-site-main :is(
    .wpq-priority-checks__text,
    .diff-card pre,
    .footnote-demo small
  ) {
  font-weight: var(--wpq-weight-regular) !important;
}

@media (max-width: 899px) {
  html body .wpq-site-main .wpq-home-primary .wpq-home-hero > .wpq-home-hero__lead,
  html body .wpq-site-main .wpq-archive-intro p:not(.wpq-public-hub__kicker),
  html body .wpq-site-main .wpq-category-archive-intro p:not(.wpq-public-hub__kicker),
  html body .wpq-site-main .wpq-public-hub__intro > p:not(.wpq-public-hub__kicker),
  html body .wpq-site-main .wpq-public-discovery__intro > p:not(.wpq-public-hub__kicker),
  html body .wpq-site-main .wpq-popular-hero__lead,
  html body .wpq-site-main .wpq-whats-new-intro > p:not(.wpq-public-hub__kicker),
  html body .wpq-site-main .wpq-trust-v1__intro > p:not(.wpq-public-hub__kicker),
  html body .wpq-site-main .wpq-privacy-v1__intro > p:not(.wpq-public-hub__kicker),
  html body .wpq-site-main .wpq-contact-v1__intro > p:not(.wpq-public-hub__kicker),
  html body .wpq-site-main .wpq-cheatsheet-v1__intro > p:not(.wpq-public-hub__kicker) {
    font-size: var(--wpq-type-control) !important;
  }
}

/* Responsive closure: five update counters fill each breakpoint row without
 * leaving a visually empty column (5 / 3+2 / 2+2+1). */
@media (min-width: 900px) and (max-width: 1199px) {
  html body .wpq-site-main .wpq-whats-new-summary {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  }

  html body .wpq-site-main .wpq-whats-new-summary-card:nth-child(n) {
    grid-column: span 2 !important;
  }

  html body .wpq-site-main .wpq-whats-new-summary-card:nth-child(4),
  html body .wpq-site-main .wpq-whats-new-summary-card:nth-child(5) {
    grid-column: span 3 !important;
  }
}

@media (max-width: 899px) {
  html body .wpq-site-main .wpq-whats-new-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html body .wpq-site-main .wpq-whats-new-summary-card:nth-child(n) {
    grid-column: auto !important;
  }

  html body .wpq-site-main .wpq-whats-new-summary-card:last-child {
    grid-column: 1 / -1 !important;
  }

  /* The two glossary index rows share the same optical height; active Latin
   * links must not make the first row taller than disabled kana labels. */
  html body .wpq-site-main .wpq-glossary-index__row a {
    min-height: 27px !important;
  }

  /* Keep the code header dark while using the shared light separator token. */
  html body .wpq-site-main .wpq-cheatsheet-v1__code-head {
    border-bottom-color: var(--wpq-color-line) !important;
  }
}

/* --------------------------------------------------------------------------
 * Task H re-audit: shared geometry and footer consistency (2026-08-14)
 *
 * These rules close issues that remained visible after the first reviewer
 * closure pass. They deliberately reuse the public design-system values
 * instead of introducing route-specific sizes, colors, or decoration.
 * -------------------------------------------------------------------------- */

/* Home, map, learning and article journeys share the same route-tile anatomy.
 * Copy may grow downward, while every title stays aligned at the top. */
html body .wpq-site-main :is(
    .wpq-home-feature-card,
    .wpq-hub-route,
    .wpq-archive-journeys__links > a
  ) {
  box-sizing: border-box !important;
  grid-template-columns: 34px minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
  align-content: start !important;
  align-items: start !important;
  justify-items: start !important;
  min-height: 74px !important;
  column-gap: 11px !important;
  row-gap: 3px !important;
  padding: 11px 0 !important;
}

html body .wpq-site-main :is(
    .wpq-home-feature-card__icon,
    .wpq-hub-route__icon,
    .wpq-archive-journeys__links > a > svg
  ) {
  align-self: start !important;
  width: 34px !important;
  height: 34px !important;
  transform: none !important;
}

html body .wpq-site-main :is(
    .wpq-home-feature-card__icon,
    .wpq-hub-route__icon,
    .wpq-archive-journeys__links > a > svg
  ) svg {
  width: 27px !important;
  height: 27px !important;
  transform: none !important;
}

html body .wpq-site-main :is(
    .wpq-home-feature-card__title,
    .wpq-hub-route__copy > strong,
    .wpq-archive-journey__copy > strong
  ) {
  align-self: start !important;
  font-family: var(--wpq-font-ui) !important;
  font-size: var(--wpq-type-body) !important;
  font-weight: var(--wpq-weight-bold) !important;
  line-height: 1.45 !important;
  letter-spacing: var(--wpq-tracking-default) !important;
  white-space: normal !important;
}

html body .wpq-site-main :is(
    .wpq-home-feature-card__text,
    .wpq-hub-route__copy > span,
    .wpq-archive-journey__copy > small
  ) {
  align-self: start !important;
  font-family: var(--wpq-font-ui) !important;
  font-size: var(--wpq-type-small) !important;
  font-weight: var(--wpq-weight-medium) !important;
  line-height: 1.55 !important;
  letter-spacing: var(--wpq-tracking-default) !important;
  white-space: normal !important;
}

/* The feature grid already owns its lower rule. Do not stack additional
 * margin and padding below that rule before the next section. */
html body.home .wpq-site-main .wpq-home-feature-grid {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

html body.home .wpq-site-main .wpq-home-panel--featured {
  gap: var(--wpq-space-1) !important;
}

/* Shared section leads begin at the main-content edge rather than inheriting
 * the icon indentation. */
html body .wpq-site-main .wpq-hub-section__head {
  grid-template-columns: 38px minmax(0, 1fr) !important;
  column-gap: var(--wpq-space-3) !important;
  row-gap: 0 !important;
}

html body .wpq-site-main .wpq-hub-section__head > div {
  display: contents !important;
}

html body .wpq-site-main .wpq-hub-section__head > span {
  grid-column: 1 !important;
  grid-row: 1 !important;
}

html body .wpq-site-main .wpq-hub-section__head h2 {
  grid-column: 2 !important;
  grid-row: 1 !important;
  align-self: center !important;
}

html body .wpq-site-main .wpq-hub-section__head > div > p {
  grid-column: 1 / -1 !important;
  grid-row: 2 !important;
  margin-top: var(--wpq-space-2) !important;
}

html body .wpq-site-main .wpq-hub-section__head > div > small {
  grid-column: 1 / -1 !important;
  margin-top: var(--wpq-space-2) !important;
}

/* A normal section divider is one tokenized 1px rule. */
html body .wpq-site-main #map-quick-heading {
  padding-bottom: var(--wpq-space-2) !important;
  border-bottom: 1px solid var(--wpq-f-line) !important;
}

/* Disabled kana controls need the same inline-flex line box as links. */
html body .wpq-site-main .wpq-glossary-index__row nav > :is(a, span) {
  display: inline-flex !important;
  min-height: 36px !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  vertical-align: middle !important;
}

/* The approved footer uses one flat link language. Remove the legacy dots,
 * and keep external-link marks directly after their labels. */
html body .wpq-site-footer :is(.wpq-footer-menu, .wpq-footer-meta-nav) a {
  width: fit-content !important;
  max-width: 100% !important;
  justify-self: start !important;
}

html body .wpq-site-footer .wpq-footer-menu a {
  gap: 0 !important;
}

html body .wpq-site-footer .wpq-footer-menu a::before {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  content: none !important;
}

@media (max-width: 899px) {
  html body .wpq-site-main .wpq-glossary-index__row nav > :is(a, span) {
    min-height: 27px !important;
  }
}

/* --------------------------------------------------------------------------
 * Task I P0 release gate (2026-08-15)
 *
 * Close the remaining shared geometry, discovery and engagement gaps with the
 * canonical tokens. This block remains the cascade terminus for the Task I
 * browser verification pass.
 * -------------------------------------------------------------------------- */

/* Compact header: brand stays intrinsic at the left edge, while Search and
 * Menu form one compact group at the right edge. */
@media (max-width: 899px) {
  html body .wpq-topbar .wpq-nav-shell--top {
    grid-template-columns: minmax(0, 1fr) auto auto !important;
    column-gap: var(--wpq-space-2) !important;
  }

  html body .wpq-topbar .wpq-brand {
    width: fit-content !important;
    max-width: 100% !important;
    justify-self: start !important;
  }

  html body .wpq-topbar .wpq-mobile-search-link {
    grid-column: 2 !important;
    justify-self: end !important;
  }

  html body .wpq-topbar .wpq-nav-toggle {
    grid-column: 3 !important;
    justify-self: end !important;
  }
}

/* Intermediate desktop header: reserve intrinsic space for the full brand,
 * keep the compact utility group content-sized, and let only the spacer grow. */
@media (min-width: 900px) and (max-width: 1023px) {
  html body .wpq-topbar .wpq-nav-shell--top {
    grid-template-columns: max-content minmax(0, 1fr) max-content max-content max-content !important;
  }

  html body .wpq-topbar .wpq-brand {
    grid-column: 1 !important;
  }

  html body .wpq-topbar .wpq-header-utility {
    grid-column: 3 !important;
    width: max-content !important;
    justify-self: end !important;
  }

  html body .wpq-topbar .wpq-builder-cta:not(.wpq-builder-cta--panel) {
    grid-column: 4 !important;
  }

  html body .wpq-topbar .wpq-nav-search-link {
    grid-column: 5 !important;
  }
}

/* Two-column route groups read as centred choices at intermediate widths,
 * while copy still grows down from the shared top baseline. */
@media (min-width: 700px) and (max-width: 1199px) {
  html body .wpq-site-main :is(
      .wpq-home-feature-card,
      .wpq-hub-route,
      .wpq-archive-journeys__links > a
    ) {
    grid-template-columns: var(--wpq-space-34px) minmax(0, max-content) !important;
    justify-content: center !important;
    justify-items: start !important;
  }
}

@media (max-width: 699px) {
  html body .wpq-site-main :is(
      .wpq-home-feature-card,
      .wpq-hub-route,
      .wpq-archive-journeys__links > a
    ) {
    grid-template-columns: var(--wpq-space-34px) minmax(0, 1fr) !important;
    justify-content: stretch !important;
  }
}

html body.home .wpq-site-main .wpq-home-primary {
  gap: var(--wpq-space-4) !important;
}

html body.home .wpq-site-main .wpq-home-panel--featured {
  gap: var(--wpq-space-2) !important;
}

/* Section guidance shares the content edge and available main-column width. */
html body .wpq-site-main .wpq-section-guidance,
html body .wpq-site-main :is(
    .wpq-public-hub__intro,
    .wpq-public-discovery__intro,
    .wpq-archive-intro,
    .wpq-category-archive-intro,
    .wpq-trust-v1__intro,
    .wpq-contact-v1__intro,
    .wpq-privacy-v1__intro,
    .wpq-sitemap-v1__intro
  ) > p:not(.wpq-public-hub__kicker),
html body .wpq-site-main :is(
    .wpq-reference-hub__section-lead,
    .wpq-parameter-index__section-lead,
    .wpq-parameter-detail__section-lead
  ) {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
}

html body .wpq-site-main .wpq-reference-hub--parameters .wpq-public-hub__intro > p:last-child {
  width: 100% !important;
  max-width: none !important;
}

html body .wpq-site-main #map-quick-heading {
  padding-bottom: 0 !important;
  border-bottom: 0 !important;
}

html body .wpq-site-main .wpq-hub-section--quick > .wpq-section-guidance {
  margin-top: var(--wpq-space-2) !important;
}

html body .wpq-site-main .wpq-hub-section--quick > .wpq-hub-quick-list {
  padding-top: var(--wpq-space-3) !important;
  border-top: var(--wpq-space-1px) solid var(--wpq-color-line) !important;
}

/* Examples contain short, complete snippets (currently 9-14 lines). Show the
 * full vertical code for beginners; only genuinely long lines scroll inline. */
html body .wpq-site-main .wpq-reference-hub--examples .wpq-reference-hub__example-row .wpq-code-block {
  max-height: none !important;
  overflow: visible !important;
}

html body .wpq-site-main .wpq-reference-hub--examples .wpq-reference-hub__example-row .wpq-code-block > pre {
  overflow-x: auto !important;
  overflow-y: visible !important;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
}

/* Glossary index rows use the same label and control line boxes. */
html body .wpq-site-main .wpq-glossary-index__row {
  align-items: center !important;
}

html body .wpq-site-main .wpq-glossary-index__row > strong,
html body .wpq-site-main .wpq-glossary-index__row nav > :is(a, span) {
  box-sizing: border-box !important;
  min-height: var(--wpq-space-7-5) !important;
  align-items: center !important;
  line-height: 1 !important;
}

html body .wpq-site-main .wpq-glossary-index__row nav {
  align-items: stretch !important;
}

/* Category discovery keeps the established flat rows and adds explicit Hub ->
 * exhaustive directory navigation without introducing a second visual system. */
html body .wpq-site-main .wpq-category-featured {
  display: grid !important;
  gap: var(--wpq-space-2) !important;
  margin: var(--wpq-space-5) 0 var(--wpq-space-3) !important;
  padding-bottom: var(--wpq-space-4) !important;
  border-bottom: var(--wpq-space-1px) solid var(--wpq-color-line) !important;
}

html body .wpq-site-main .wpq-category-featured > .wpq-section-heading,
html body .wpq-site-main .wpq-category-featured > .wpq-section-guidance {
  margin: 0 !important;
}

html body .wpq-site-main .wpq-category-featured > nav {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  border-top: var(--wpq-space-1px) solid var(--wpq-color-line-soft) !important;
  border-bottom: var(--wpq-space-1px) solid var(--wpq-color-line-soft) !important;
}

html body .wpq-site-main .wpq-category-all-link {
  display: grid !important;
  grid-template-columns: var(--wpq-space-8) minmax(0, 1fr) var(--wpq-space-6) !important;
  gap: var(--wpq-space-3) !important;
  align-items: center !important;
  min-height: var(--wpq-space-9) !important;
  margin: var(--wpq-space-4) 0 var(--wpq-space-5) !important;
  padding: var(--wpq-space-3) var(--wpq-space-4) !important;
  border: var(--wpq-space-1px) solid var(--wpq-color-line-strong) !important;
  border-radius: var(--wpq-radius-control) !important;
  background: var(--wpq-color-surface-subtle) !important;
  color: var(--wpq-color-blue) !important;
  text-decoration: none !important;
}

html body .wpq-site-main .wpq-category-all-link > svg:first-child {
  width: var(--wpq-space-7) !important;
  height: var(--wpq-space-7) !important;
}

html body .wpq-site-main .wpq-category-all-link > svg:last-child {
  width: var(--wpq-space-5) !important;
  height: var(--wpq-space-5) !important;
}

html body .wpq-site-main .wpq-category-all-link > span {
  display: grid !important;
  gap: var(--wpq-space-1) !important;
}

html body .wpq-site-main .wpq-category-all-link strong {
  font-size: var(--wpq-type-body) !important;
  font-weight: var(--wpq-weight-bold) !important;
}

html body .wpq-site-main .wpq-category-all-link small {
  color: var(--wpq-color-copy) !important;
  font-size: var(--wpq-type-small) !important;
}

html body .wpq-site-main .wpq-category-directory-intro {
  display: grid !important;
  gap: var(--wpq-space-2) !important;
  margin-top: var(--wpq-space-5) !important;
  padding-bottom: var(--wpq-space-4) !important;
  border-bottom: var(--wpq-space-1px) solid var(--wpq-color-line) !important;
}

html body .wpq-site-main .wpq-category-directory-intro > :is(.wpq-section-heading, .wpq-section-guidance) {
  margin: 0 !important;
}

html body .wpq-site-main .wpq-category-directory-intro > a {
  display: inline-flex !important;
  gap: var(--wpq-space-2) !important;
  align-items: center !important;
  width: fit-content !important;
  min-height: var(--wpq-space-8-5) !important;
  color: var(--wpq-color-blue) !important;
  font-size: var(--wpq-type-small-strong) !important;
  font-weight: var(--wpq-weight-bold) !important;
}

html body .wpq-site-main .wpq-category-directory-intro > a svg {
  width: var(--wpq-space-4) !important;
  height: var(--wpq-space-4) !important;
}

/* Contact separates the attachment status from consent, and its explanatory
 * lead stays attached to the shared section heading. */
html body .wpq-site-main .wpq-contact-form > .wpq-contact-field:has(#wpq-contact-attachment) {
  height: auto !important;
  min-height: 0 !important;
}

html body .wpq-site-main .wpq-contact-consent {
  margin-top: var(--wpq-space-4) !important;
}

html body .wpq-site-main .wpq-contact-v1__section-head {
  display: grid !important;
  gap: var(--wpq-space-2) !important;
}

html body .wpq-site-main .wpq-contact-v1__section-head > :is(.wpq-section-heading, .wpq-section-guidance) {
  margin: 0 !important;
}

/* Operator contact actions are equal, fully clickable and intentionally
 * restrained rather than one oversized primary action. */
html body .wpq-site-main .wpq-operator-v1__contact > div {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  align-items: stretch !important;
}

html body .wpq-site-main .wpq-operator-v1__contact > div a,
html body .wpq-site-main .wpq-operator-v1__contact > div .wpq-button {
  box-sizing: border-box !important;
  width: 100% !important;
  min-height: var(--wpq-space-9) !important;
  padding: var(--wpq-space-2) var(--wpq-space-3) !important;
  border: var(--wpq-space-1px) solid var(--wpq-color-line-strong) !important;
  border-radius: var(--wpq-radius-control) !important;
  background: var(--wpq-color-surface) !important;
  color: var(--wpq-color-blue) !important;
  text-align: center !important;
}

html body .wpq-site-main .wpq-operator-v1__contact > div a:focus-visible {
  outline: var(--wpq-space-3px) solid var(--wpq-color-blue) !important;
  outline-offset: var(--wpq-space-0-5) !important;
}

/* Editorial detail copy uses the full width of its own main column. Standard
 * articles keep their side rail and glossary details keep their wider shell;
 * both continue to share the same typography and vertical-rhythm contract. */
html body:is(.single-wpq_article, .single-wpq_glossary) .wpq-main-flow .wpq-article-prose > :where(p, ul, ol, blockquote) {
  width: 100% !important;
  max-width: none !important;
}

/* Every approved placement owns its spacing before this shared component.
 * Keep the component itself neutral so it never adds a second section gap. */
html body .wpq-site-main .wpq-article-engagement {
  margin-top: 0;
}

/* The article-purpose routes belong to the listing's main column. Their
 * outer frame follows the site's flat navigation pattern: horizontal edges
 * only, with each internal boundary owned by exactly one tile. */
html body .wpq-site-main .wpq-public-discovery--articles .wpq-archive-main > .wpq-archive-journeys {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: none !important;
  margin-bottom: 0 !important;
}

/* The article intro and search control the main result stream. The intro is
 * the first main-column block so the supporting rail can begin beside it. */
html body .wpq-site-main .wpq-public-discovery--articles .wpq-archive-main > .wpq-archive-intro {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
}

html body .wpq-site-main .wpq-public-discovery--articles .wpq-archive-main > .wpq-archive-query-form {
  margin-top: 0;
}

html body .wpq-site-main .wpq-public-discovery--articles .wpq-archive-journeys__links {
  border: 0 !important;
  border-block: var(--wpq-space-1px) solid var(--wpq-color-line-strong) !important;
  border-radius: 0 !important;
}

html body .wpq-site-main .wpq-public-discovery--articles .wpq-archive-journeys__links > a {
  border: 0 !important;
}

@media (min-width: 1200px) {
  html body .wpq-site-main .wpq-public-discovery--articles .wpq-archive-journeys__links > a:not(:last-child) {
    border-right: var(--wpq-space-1px) solid var(--wpq-color-line) !important;
  }
}

@media (min-width: 700px) and (max-width: 1199px) {
  html body .wpq-site-main .wpq-public-discovery--articles .wpq-archive-journeys__links > a:nth-child(odd) {
    border-right: var(--wpq-space-1px) solid var(--wpq-color-line) !important;
  }

  html body .wpq-site-main .wpq-public-discovery--articles .wpq-archive-journeys__links > a:nth-child(-n + 2) {
    border-bottom: var(--wpq-space-1px) solid var(--wpq-color-line) !important;
  }
}

@media (max-width: 699px) {
  html body .wpq-site-main .wpq-public-discovery--articles .wpq-archive-journeys__links > a:not(:last-child) {
    border-bottom: var(--wpq-space-1px) solid var(--wpq-color-line) !important;
  }
}

@media (max-width: 600px) {
  html body .wpq-site-main .wpq-public-discovery--articles .wpq-archive-main > .wpq-archive-intro {
    gap: 3px;
    margin-bottom: var(--wpq-space-2-5);
  }
}

/* The exhaustive directory must not compress content-rich rows below the
 * comfortable second-row reference. Older screenshot calibration assigned
 * fixed heights and vertical transforms to rows four and five, leaving their
 * article count and final representative link against the lower boundary. */
@media (min-width: 1200px) {
  html body .wpq-site-main .wpq-public-discovery--all-categories {
    --wpq-category-directory-comfortable-row-min: 120px;
  }

  html body .wpq-site-main .wpq-public-discovery--all-categories .wpq-category-directory__row:nth-of-type(4),
  html body .wpq-site-main .wpq-public-discovery--all-categories .wpq-category-directory__row:nth-of-type(5) {
    box-sizing: border-box !important;
    height: auto !important;
    min-height: var(--wpq-category-directory-comfortable-row-min) !important;
    padding-block: var(--wpq-space-3) !important;
  }

  html body .wpq-site-main .wpq-public-discovery--all-categories .wpq-category-directory__row:nth-of-type(4) :is(.wpq-category-directory__summary, .wpq-category-directory__articles),
  html body .wpq-site-main .wpq-public-discovery--all-categories .wpq-category-directory__row:nth-of-type(5) :is(.wpq-category-directory__summary, .wpq-category-directory__articles) {
    transform: none !important;
  }
}

/* Footer navigation uses one flat row contract, including external marks. */
html body .wpq-site-footer :is(.wpq-footer-menu, .wpq-footer-meta-nav) li {
  align-items: start !important;
}

html body .wpq-site-footer :is(.wpq-footer-menu, .wpq-footer-meta-nav) a {
  display: inline-flex !important;
  column-gap: var(--wpq-space-1) !important;
  align-items: center !important;
}

@media (max-width: 899px) {
  html body .wpq-site-main .wpq-glossary-index__row {
    align-items: stretch !important;
  }

  html body .wpq-site-main .wpq-glossary-index__row > strong,
  html body .wpq-site-main .wpq-glossary-index__row nav > :is(a, span) {
    min-height: var(--wpq-space-27px) !important;
  }

  html body .wpq-site-main .wpq-category-featured > nav {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html body .wpq-site-main .wpq-category-featured > nav > a {
    border-bottom: var(--wpq-space-1px) solid var(--wpq-color-line-soft) !important;
  }

  html body .wpq-site-main .wpq-category-featured > nav > a:nth-child(2n) {
    border-right: 0 !important;
  }
}

@media (max-width: 699px) {
  html body .wpq-site-main .wpq-operator-v1__contact > div {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body .wpq-site-main .wpq-category-all-link {
    grid-template-columns: var(--wpq-space-7) minmax(0, 1fr) var(--wpq-space-5) !important;
    padding-inline: var(--wpq-space-3) !important;
  }
}

/* Current editorial copy can wrap beyond the shorter approved-image labels.
 * Let mobile tracks grow with that copy instead of retaining calibration
 * heights that make the following block paint over it. */
@media (max-width: 699px) {
  html body .wpq-site-main .wpq-public-hub.wpq-public-hub--map .wpq-public-hub__intro h1 {
    height: auto !important;
    line-height: 1.35 !important;
  }

  html body .wpq-site-main .wpq-public-discovery--articles .wpq-archive-journeys__links {
    grid-auto-rows: auto !important;
  }
}
