/* select.css — On the record's dropdown (pairs with select.js). Square, 1px ink border, our font, a chevron, a menu panel
   styled like the header's More menu. Scoped to like the rest of the shared header CSS. */
.osel { position: relative; display: inline-block; vertical-align: middle; max-width: 100%; font: inherit; }
.osel.osel-block { display: block; width: 100%; }
.osel .osel-native { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; opacity: 0; pointer-events: none; margin: 0; }
.osel-btn {
  appearance: none; -webkit-appearance: none; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; min-height: 40px; margin: 0; padding: 8px 12px; box-sizing: border-box; cursor: pointer; text-align: left;
  background: var(--paper, #fff); color: var(--ink, #0F1B2D); border: 1px solid var(--ink, #0F1B2D); border-radius: 0;
  font: 500 15px/1.3 var(--sans, "Public Sans", Arial, sans-serif);
}
.osel-btn:hover { background: var(--wash, #F1F4F9); }
.osel-btn:focus-visible { outline: 2px solid var(--cite, #1F4FD1); outline-offset: 2px; }
.osel-btn:disabled { opacity: .5; cursor: default; }
.osel-txt { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.osel-btn svg { flex: none; transition: transform .15s; }
.osel.is-open .osel-btn svg { transform: rotate(180deg); }
.osel-list {
  position: absolute; z-index: 70; top: calc(100% + 4px); left: 0; min-width: 100%; max-width: min(420px, calc(100vw - 24px)); max-height: 300px;
  overflow: auto; margin: 0; padding: 4px 0; list-style: none; box-sizing: border-box;
  background: var(--paper, #fff); border: 1px solid var(--ink, #0F1B2D); outline: none;
}
.osel.osel-up .osel-list { top: auto; bottom: calc(100% + 4px); }
.osel-list[hidden] { display: none; }
.osel-list li { padding: 9px 14px; font: 500 15px/1.3 var(--sans, "Public Sans", Arial, sans-serif); color: var(--ink, #0F1B2D); cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.osel-list li[data-group]::before { content: attr(data-group); display: block; margin: -2px 0 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--quiet, #586377); }
.osel-list li.is-active { background: var(--wash, #F1F4F9); }
.osel-list li[aria-selected="true"] { font-weight: 700; color: var(--cite, #1F4FD1); }
.osel-list li[aria-selected="true"]::after { content: ""; display: inline-block; width: 6px; height: 10px; margin-left: 10px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px); }
.osel-list li[aria-disabled="true"] { color: var(--quiet, #586377); cursor: default; }
@media (prefers-reduced-motion: reduce) { .osel-btn svg { transition: none; } }
