.teacher-picker,.teacher-picker-help{--krp-primary:#2457d6;--krp-primary-soft:#eaf0ff}
.teacher-picker{position:relative;min-width:0}.teacher-picker>input{padding-right:56px!important}
.teacher-picker-toggle{position:absolute;top:2px;right:2px;bottom:2px;width:46px;min-height:44px;border:0;background:transparent;color:var(--krp-primary);border-radius:10px;font-size:14px;display:grid;place-items:center}
.teacher-picker-toggle:disabled{color:var(--krp-muted);cursor:default}
.teacher-picker-panel{position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:20;background:var(--krp-surface,#fff);border:1px solid var(--krp-border,#dfe5ef);border-radius:12px;overflow:hidden;box-shadow:0 8px 24px rgba(23,42,76,.1)}
.teacher-picker-panel[hidden]{display:none}.teacher-picker-panel ul{list-style:none;margin:0;padding:4px;max-height:min(240px,32dvh);overflow-y:auto;overscroll-behavior:contain}
.teacher-picker-panel li{font-size:.9375rem;padding:11px 12px;min-height:44px;line-height:1.65;border-radius:8px;cursor:pointer;color:var(--krp-text,#1c2535);overflow-wrap:anywhere}
.teacher-picker-panel li:hover,.teacher-picker-panel li[aria-selected=true]{background:var(--krp-primary-soft,#eef2ff);color:var(--krp-primary,#4059d8)}
.teacher-picker-result{padding:10px 12px;margin:0;border-top:1px solid var(--krp-border,#dfe5ef);font-size:.75rem;color:var(--krp-muted,#526176);line-height:1.7}
.teacher-picker-help{display:flex;align-items:flex-start;gap:12px;justify-content:space-between;margin:8px 0 20px;font-size:.75rem;line-height:1.7;color:var(--krp-muted,#526176)}
.teacher-picker-help p{margin:0;min-width:0}.teacher-picker-retry{padding:0 4px;min-height:44px;flex-shrink:0;border:0;background:transparent;color:var(--krp-primary,#4059d8);text-decoration:underline;text-underline-offset:3px;font-size:.75rem}
.teacher-picker-retry[hidden]{display:none}
@media(max-width:575.98px){.teacher-picker-help{flex-wrap:wrap;gap:0}.teacher-picker-panel ul{max-height:min(220px,30dvh)}}
