.mlps-global-search {
    display: flex;
    flex: 0 1 222px;
    align-items: center;
    min-width: 122px;
    margin: 0;
    border: 1px solid #d8e3f1;
    border-radius: 9px;
    background: #f4f7fb;
}
.mlps-global-search:focus-within { border-color: #4081ce; box-shadow: 0 0 0 2px #dceaff; }
.mlps-global-search input {
    flex: 1;
    min-width: 0;
    width: 100%;
    min-height: 37px;
    padding: 6px 4px 6px 10px;
    border: none;
    background: transparent;
    font-size: 14px;
    outline: none;
    color: #21364e;
}
.mlps-global-search button {
    display: inline-grid;
    place-items: center;
    flex: none;
    width: 36px;
    height: 34px;
    padding: 0;
    margin-right: 2px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #29588d;
}
.mlps-global-search button:hover, .mlps-global-search button:focus-visible { background: #e6eefb; }
.mlps-global-search .ui-icon { width: 18px; height: 18px; }
.mlps-search-query { margin: 0 0 12px; color: #50647e; overflow-wrap: anywhere; }
.mlps-search-tabs { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 15px; border-bottom: 1px solid #dce5f0; }
.mlps-search-tabs a {
    padding: 7px 13px;
    border-radius: 8px 8px 0 0;
    border-bottom: 2px solid transparent;
    font-size: 14px;
    font-weight: 730;
    color: #36587e;
}
.mlps-search-tabs a:hover, .mlps-search-tabs a[aria-current="page"] {
    background: #e9f1fc;
    border-bottom-color: #3675be;
    color: #204f88;
    text-decoration: none;
}
.mlps-search-group h2 { margin: 0 0 9px; font-size: 17px; }
.mlps-search-person, .mlps-search-post-author { display: flex; align-items: center; gap: 10px; }
.mlps-search-group .avatar { width: 37px; height: 37px; font-size: 15px; }
.mlps-search-person { min-width: 0; padding: 8px 6px; border-radius: 8px; color: #243e5d; overflow-wrap: anywhere; }
.mlps-search-person:hover { background: #edf3fd; text-decoration: none; }
.mlps-search-person small, .mlps-search-post time { display: block; font-size: 12px; color: #586e89; }
.mlps-search-post { padding: 12px 3px; border-bottom: 1px solid #e0e8f2; }
.mlps-search-post:last-child { border-bottom: 0; padding-bottom: 4px; }
.mlps-search-post-text { display: block; margin-top: 6px; color: #263c56; overflow-wrap: anywhere; }
.mlps-search-post-text:hover { color: #1b528f; }
.mlps-search-more { display: inline-block; margin: 11px 3px 0; font-size: 13px; font-weight: 730; }

@media (max-width:800px) {
    .topbar-inner { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 4px; }
    .topnav { order: 3; width: 100%; justify-content: space-around; }
    .account-tools { margin-left: auto; }
    .mlps-global-search { order: 2; flex: 0 0 100%; }
    .mlps-global-search input { font-size: 16px; }
    .mlps-profile-tabs-content, .profile-updates-heading, #mlps-post-comments { scroll-margin-top: 145px; }
}

.mlps-mention { color: #1d5092; font-weight: 750; overflow-wrap: anywhere; }
.mlps-mention-list {
    position: fixed;
    z-index: 90;
    overflow: auto;
    width: min(310px, calc(100% - 16px));
    max-height: min(250px, 45vh);
    padding: 5px;
    border: 1px solid #cad9ec;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 6px 18px #1e3a5e30;
    color: #233954;
}
.mlps-mention-list[hidden] { display: none; }
.mlps-mention-list button {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    width: 100%; min-height: 40px; padding: 5px 8px; border: 0; border-radius: 6px;
    text-align: left; background: #fff; color: inherit;
}
.mlps-mention-list button[aria-selected="true"], .mlps-mention-list button:hover { background: #e8f1fc; }
.mlps-mention-list small, .mlps-mention-list strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mlps-mention-list small { color: #596e89; }
.mlps-hashtag{color:#1764b0;font-weight:700;overflow-wrap:anywhere;text-decoration:none}.mlps-hashtag:hover,.mlps-mention:hover{text-decoration:underline}.mlps-mention-list{z-index:2147483000}.mlps-relationship{display:inline-flex;align-items:center;flex-wrap:wrap;gap:6px}.mlps-relationship form{margin:0}.mlps-relationship [disabled]{opacity:.65;cursor:wait}[data-relationship-status]{font-size:.8rem;max-width:100%;overflow-wrap:anywhere}.mlps-relationship .friend-pending{display:flex;gap:6px;flex-wrap:wrap}
