.search-title {
    font-size: 1.5rem;
    line-height: 1.35;
    margin-bottom: 0.25rem;
}
.search-query {
    color: var(--hl-color);
    font-weight: bold;
}
.search-place {
    color: var(--muted);
    font-size: 1.1rem;
}
.search-summary-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    margin: 0.75rem 0 0.25rem;
}
.search-summary {
    color: var(--muted);
}
.search-summary-note::before {
    content: ".";
    margin-right: 0.6rem;
}
#search-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}
#search-toolbar.invis {
    display: none;
}
#active-chips {
    margin-top: 0.5rem;
}
.search-empty {
    margin-top: 1.5rem;
}
.search-result-head {
    line-height: 1.35;
}
.result-num {
    display: inline-block;
    min-width: 1.6rem;
    margin-right: 0.35rem;
    color: var(--muted);
    font-size: 0.85rem;
    font-variant-numeric: tabular-nums;
}
.search-snippets {
    margin: 0.4rem 0 0;
    padding-left: 1.95rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #d3d9df;
}
.search-snippets li::marker {
    color: var(--muted);
}
.search-snippets .larger-bold {
    color: #fff;
}
@media (max-width: 575.98px) {
    .search-snippets {
        padding-left: 1.1rem;
    }
}

#search-toolbar .dropdown-menu {
    max-height: 60vh;
    overflow-y: auto;
}
#search-toolbar .dropdown-menu label {
    display: block;
    padding: 0.2em 1em;
    cursor: pointer;
    white-space: nowrap;
}
#search-toolbar .dropdown-menu input {
    margin-right: 0.5em;
}
#search-toolbar .dropdown-menu label.facet-zero {
    opacity: 0.4;
    cursor: default;
}
.facet-count {
    color: #ced4da;
    font-size: smaller;
    margin-left: 0.5em;
}
.facet-chip {
    display: inline-block;
    background-color: var(--surface);
    border: 1px solid var(--border-color-hover);
    border-radius: 1em;
    padding: 0.1em 0.8em;
    margin: 0.15em 0.3em 0.15em 0;
    cursor: pointer;
    font-size: smaller;
}
.facet-chip:hover {
    border-color: var(--hl-color);
}
.facet-chip .x {
    color: var(--muted);
    margin-left: 0.4em;
}
.facet-reset {
    border-style: dashed;
}

/* Phones: let long dictionary names wrap instead of being clipped by the menu width */
@media (max-width: 575.98px) {
    #search-toolbar .dropdown-menu {
        max-width: 92vw;
    }
    #search-toolbar .dropdown-menu label {
        white-space: normal;
    }
}
