.home-lookup { position: relative; flex: 1; min-width: 0; width: 100%; max-width: 740px; }
.home-lookup .search-form { margin: 0; }
.home-lookup .search-form input { font-size: 1rem; }
.home-lookup :focus-visible, .spelling-result:focus-visible { outline: 3px solid #446dba; outline-offset: 3px; }
.lookup-options { position: absolute; z-index: 10; top: calc(100% + 5px); inset-inline: 0; margin: 0; padding: 4px; list-style: none; border: 1px solid #c3ccd6; border-radius: 6px; box-shadow: 0 7px 20px #14263a20; background: white; color: #223449; max-height: min(440px, 55vh); overflow-y: auto; }
.lookup-options[hidden], .lookup-options img[hidden] { display: none; }
.lookup-options li { margin: 0; }
.lookup-options li a { display: grid; grid-template-columns: 42px minmax(0,1fr); gap: 12px; align-items: center; min-height: 48px; padding: 7px 11px; text-decoration: none; color: inherit; border-radius: 3px; }
.lookup-options a[aria-selected=true], .lookup-options a:hover { background: #eaf0fa; }
.lookup-options img { width: 40px; height: 42px; grid-column: 1; grid-row: 1; object-fit: contain; background: #f8f9fb; border-radius: 3px; }
.lookup-options li a > span { grid-column: 2; grid-row: 1; min-width: 0; overflow-wrap: anywhere; }
.lookup-options li a:not(:has(img:not([hidden]))) > span { grid-column: 1 / -1; }
.lookup-options strong, .lookup-options small { display: block; font-family: var(--sans, sans-serif); }
.lookup-options strong { font-weight: 600; font-size: .98rem; line-height: 1.35; }
.lookup-options small { font-size: .875rem; font-weight: 400; line-height: 1.35; color: #536278; margin-top: 2px; }
.lookup-options .lookup-all a { border-top: 1px solid #d9e1eb; border-radius: 0; color: #264c8c; }
.lookup-status { position: absolute; height: 1px; width: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.spelling-result { white-space: normal; overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .lookup-options { position: relative; top: auto; margin: 5px 0 0; max-height: none; box-shadow: none; }
  .lookup-options li a { gap: 9px; padding: 6px 7px; }
}
