/* A compact, non-modal term selector. No native select popup metrics or blank
   platform shell; option height follows the actual text and current type size. */
.topbar-actions .term-picker{position:relative;flex:0 1 16rem;width:clamp(6rem,20vw,16rem);min-width:0;max-width:16rem}
#termScheduleSelect[hidden]{display:none!important}
.topbar-actions .term-picker .term-picker-trigger{display:flex;align-items:center;justify-content:space-between;gap:.5rem;width:100%;min-width:0;padding:0 .8rem;white-space:nowrap;line-height:1.35;font:inherit;font-weight:600;overflow:hidden}
.term-picker-label{display:block;flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.term-picker-chevron{flex:none;width:1rem;height:1rem;min-width:1rem}
.term-picker-trigger[aria-expanded="true"] .term-picker-chevron{transform:rotate(180deg)}
.term-picker-trigger:disabled{opacity:.72;cursor:not-allowed}
.term-picker-trigger[aria-busy="true"]{cursor:wait}
.term-picker-trigger:focus-visible{outline:2px solid #fff;outline-offset:2px}
.term-picker-listbox{position:fixed;z-index:2200;box-sizing:border-box;width:max-content;max-width:calc(100vw - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px) - 1.5rem);overflow:auto;overscroll-behavior:contain;padding:.25rem;background:var(--card,#fff);color:var(--text,#172033);border:1px solid var(--border,#c7dfeb);border-radius:.65rem;box-shadow:0 .5rem 1.5rem rgba(15,23,42,.16);font-family:inherit;line-height:1.45;scrollbar-gutter:stable;touch-action:pan-y}
.term-picker-listbox[hidden]{display:none!important}
.term-picker-listbox:focus{outline:2px solid var(--sky2,#008dcc);outline-offset:2px}
.term-picker-option{display:flex;align-items:center;gap:.5rem;box-sizing:border-box;min-height:2.75rem;padding:.55rem .65rem;border-radius:.4rem;cursor:pointer;line-height:1.45;font-weight:500;white-space:normal;overflow-wrap:anywhere}
.term-picker-option-label{flex:1;min-width:0}
.term-picker-option-check{flex:none;display:inline-flex;align-items:center;justify-content:center;width:1rem;min-width:1rem;color:var(--sky2,#008dcc);font-weight:700}
.term-picker-option[aria-selected="true"]{background:var(--sky-light,#e8f6ff);font-weight:700}
.term-picker-option[data-active="true"]{box-shadow:inset 0 0 0 2px var(--sky2,#008dcc);background:var(--sky-light,#e8f6ff)}
.term-picker-option[aria-disabled="true"]{opacity:.55;cursor:not-allowed}
@media(min-width:1100px) and (max-width:1439px){.topbar-actions .term-picker{max-width:11rem}}
@media(max-width:599px){.topbar-actions .term-picker{width:clamp(6rem,30vw,8.5rem);max-width:8.5rem}.topbar-actions .term-picker .term-picker-trigger{padding-inline:.5rem;gap:.3rem}}
@media(pointer:coarse){.term-picker-option{min-height:44px}.topbar-actions .term-picker .term-picker-trigger{min-height:44px}}
