.ch-search {
    position: relative;
    display: flex;
    width: 100%;
    margin: 0;
}
.ch-search input[type="search"] {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    margin: 0;
    border-radius: 6px 0 0 6px;
    padding: .65rem .85rem;
}
.ch-search button {
    flex: 0 0 auto;
    border-radius: 0 6px 6px 0;
    padding: .65rem .95rem;
}
.ch-search-panel {
    position: absolute;
    z-index: 1000;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    max-height: 55vh;
    overflow: auto;
    box-shadow: 0 6px 18px #0002;
}
.ch-search-panel[hidden] { display: none; }
.ch-search-panel ul { list-style: none; margin: 0; padding: 0; }
.ch-search-panel a {
    display: flex;
    align-items: center;
    gap: .75rem;
    color: #17243a;
    padding: .55rem .75rem;
    text-decoration: none;
}
.ch-search-panel a:hover, .ch-search-panel a:focus-visible { background: #eef4fb; }
.ch-search-panel img { width: 44px; height: 44px; object-fit: cover; flex: 0 0 44px; }
.ch-search-panel small { display: block; }
.ch-search-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
