/* The same themed picker used by the site header, extended for documentation. */
.doc-select { display: inline-block; vertical-align: middle; max-width: 100%; }
.doc-select > .doc-select__native { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; clip-path: inset(50%) !important; overflow: hidden !important; opacity: 0 !important; pointer-events: none !important; }
.doc-select > .site-select__trigger { min-height: 36px; padding: 7px 11px; box-sizing: border-box; }
.doc-select .site-select__value { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.doc-select .site-select__trigger:disabled { opacity: .5; cursor: not-allowed; }
.doc-select .site-select__trigger[aria-invalid="true"] { border-color: var(--bluui-danger, #c93745); }
.doc-select__options { position: fixed; inset: auto; margin: 0; box-sizing: border-box; z-index: 2147483000; overflow-y: auto; overscroll-behavior: contain; max-height: 300px; font-family: inherit; }
.doc-select__options:popover-open { display: block; }
.doc-select__options [hidden] { display: none !important; }
.doc-select__group { padding: 9px 11px 4px; font-size: 11px; font-weight: 700; color: var(--bluui-text-muted); }
.doc-select__options .site-select__option { box-sizing: border-box; white-space: normal; }
.doc-select__options .site-select__option[aria-disabled="true"] { pointer-events: none; }
.doc-select__options .site-select__option.is-active { outline: 2px solid var(--bluui-primary); outline-offset: -2px; }
.palette-toolbar .doc-select, .screen-actions .doc-select, .screen-export .doc-select, .blu-pagination__size .doc-select { width: auto; min-width: 90px; }
.doc-select__error { display: block; margin-top: 6px; color: var(--bluui-danger, #c93745); font-size: 12px; }

/* Picker captions and custom controls are separate elements. Keep the control
   full-width and aligned with the year/arrows, including compact popups. */
.blu-picker__select-field > .doc-select { display: block; width: 100%; margin: 0; font-weight: 400; }
.blu-picker__dialog .doc-select > .site-select__trigger { width: 100%; min-height: 36px; padding: 5px 7px; font-size: 14px; line-height: 1.2; }
.blu-picker .blu-picker__dialog .blu-picker__input { min-height: 36px; padding: 5px 7px; }
.blu-picker__dialog[data-compact=true] .doc-select > .site-select__trigger { min-height: 32px; padding: 4px 5px; }
.blu-picker .blu-picker__dialog[data-compact=true] .blu-picker__input { min-height: 32px; padding: 4px 5px; }
