.mobile-search-toggle { display: none; }

@media (max-width: 800px) {
    .topbar .mobile-search-toggle {
        display: inline-grid;
        place-items: center;
        width: 40px;
        height: 44px;
        flex: 0 0 40px;
        padding: 0;
        border: 1px solid #a9c9e5;
        border-radius: 6px;
        background: rgba(255, 255, 255, .78);
        color: var(--km-navy);
        cursor: pointer;
    }
    .topbar .mobile-search-toggle:focus-visible {
        outline: 2px solid #2d73c9;
        outline-offset: 2px;
    }
    .topbar .mobile-search-toggle[aria-expanded="true"] { background: #d8ecff; }
    .topbar:not(.is-mobile-search-open) .search-box { display: none; }
}

/* Keep the search icon in the same row on narrow phones. */
@media (max-width: 420px) {
    header.topbar { gap: 4px; padding-inline: 8px; }
    .topbar .mobile-nav-toggle { width: 40px; flex-basis: 40px; }
    .topbar .mobile-home-button { min-width: 36px; padding-inline: 4px; }
    .topbar .mobile-search-toggle { width: 36px; flex-basis: 36px; }
    .topbar .topbar-actions { gap: 3px; }
    .topbar .topbar-actions .btn { padding-inline: 6px; }
}
.search-suggestion-status {display:flex;align-items:center;gap:8px;padding:10px 12px;color:#456489;font-size:13px}
.search-suggestion-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;min-width:0}
.search-suggestion-heading strong{min-width:0;overflow-wrap:anywhere}
.search-suggestion-heading .search-suggestion-ticket-status{display:inline-flex;align-items:center;gap:5px;flex:none;max-width:48%;padding:2px 6px;border-radius:4px;font-size:11px;overflow-wrap:anywhere}
.search-suggestion-ticket-status .search-suggestion-marker{display:inline-block;width:7px;height:7px;flex:0 0 7px;background:currentColor;border-radius:1px}
.search-suggestion-spinner {flex:none;width:14px;height:14px;border:2px solid #c8d8ea;border-top-color:#2467ad;border-radius:50%;animation:search-suggestion-spin .7s linear infinite}
@keyframes search-suggestion-spin {to {transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce) {.search-suggestion-spinner {animation:none}}
