/* Adapter for Go-only controls. The original PG.CENTER styles own the visual design. */
[hidden] { display: none !important; }
.skip-link { position: fixed; left: 1rem; top: -8rem; z-index: 200; background: var(--pg-surface); color: var(--pg-ink); padding: .6rem 1rem; }
.skip-link:focus { top: 1rem; }
.table-scroll { width: 100%; max-width: 100%; overflow-x: auto; }
.source-note { color: var(--pg-muted); font-size: 12px; overflow-wrap: anywhere; }
.language-notice, .missing-translation { border-left: 3px solid var(--pg-line-strong); background: var(--pg-wash); padding: 12px 16px; margin: 16px 0; }
.pg-page .pagination { gap: 16px; align-items: center; margin: 24px 0; }
.pg-page .pagination a { padding: 6px 12px; border: 1px solid var(--pg-line); border-radius: var(--pg-radius-sm); }
.message .status { font: 14px var(--pg-font-mono); color: var(--pg-muted); }
/* Keep the two Docs tables aligned, including below the original block-table breakpoint. */
.pg-page.docs .docs-manuals { display: table; table-layout: fixed; min-width: 400px; }
.pg-page.docs .docs-manuals__version { width: clamp(140px, 25vw, 160px); }
.pg-page.docs .docs-manuals__minor { width: 96px; }
.pg-page.docs .docs-manuals > tbody > tr > td:first-child { white-space: nowrap; }
.pg-page.docs #pgContentWrap .docs-manuals__current { font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.pg-page.docs .docs-current-manual { width: auto; max-width: 100%; }

/* Separate Docs navigation and translations while retaining original sidebar typography. */
.pg-page.docs #pgSideNav { padding: 0; border: 0; background: transparent; }
.pg-page.docs #pgSideNav > .docs-sidebar-block { padding: 1rem 0.85rem 1.1rem; border: 1px solid var(--pg-line); border-radius: var(--pg-radius); background: var(--pg-surface); }
.pg-page.docs #pgSideNav > .docs-sidebar-block + .docs-sidebar-block { margin-top: 1rem; }
.pg-page.docs .docs-sidebar-block > ul > li { margin: 1px 0; }

/* Search: the Wiki is opened into its collections, indented under a Wiki row. */
.ds-facet--child { margin-left: 17px; padding: 4px 8px 4px 12px; border-left: 1px solid var(--pg-line); border-radius: 0 7px 7px 0; font-size: 13px; font-weight: 400; }
.ds-facet--child .ds-kind { width: 22px; height: 22px; border-radius: 6px; }
.ds-facet--child.is-active { border-left-color: var(--pg-hover); font-weight: 600; }
@media (max-width: 899px) { .ds-facet--child { margin-left: 0; padding: 5px 8px; border-left: 0; border-radius: 7px; } }
/* Search: the prefixes that choose a scope, listed in the empty preview pane. */
.ds-prefixes { display: grid; grid-template-columns: max-content 1fr; gap: 4px 12px; margin: 14px auto 0; font-size: 12px; color: var(--pg-muted); text-align: left; }
.ds-prefixes dt, .ds-prefixes dd { margin: 0; }
.ds-prefixes dt kbd { color: var(--pg-ink-2); }

/* Native controls fall back to the system face unless told otherwise: select
   options and bare buttons now share the site's type. */
button, select, option, input, textarea { font-family: inherit; }
