body .ls-header-row .ls-search-trigger {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #dce6f4;
  border-radius: 8px;
  background: #ffffffad;
  color: #344b69;
  font: inherit;
  font-size: 13px;
  white-space: nowrap;
  cursor: pointer;
}

body .ls-header-row .ls-search-trigger:hover { color: #1859bb; background: #edf4ff; }
body .ls-header-row .ls-search-desktop { order: -1; min-width: 132px; justify-content: flex-start; }
body .ls-header-row .ls-search-mobile { display: none; }

#ls-search-dialog {
  box-sizing: border-box;
  position: fixed;
  inset: var(--lss-top, 68px) auto auto var(--lss-left, 10px);
  width: min(460px, calc(100% - 20px));
  max-width: none;
  max-height: calc(100vh - var(--lss-top, 68px) - 12px);
  max-height: calc(100dvh - var(--lss-top, 68px) - 12px);
  margin: 0;
  padding: 0;
  overflow: auto;
  border: 1px solid #e0e9f6;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 60px #142c5233;
  color: #203653;
  font: inherit;
  font-size: 14px;
  line-height: 1.5;
}

#ls-search-dialog::backdrop { background: #152b4d26; }
#ls-search-dialog .lss-card { padding: 20px 24px 24px; }
#ls-search-dialog header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
#ls-search-dialog h2 { margin: 0; font-size: 18px; font-weight: 650; }
#ls-search-dialog h3 { margin: 0 0 10px; font-size: 14px; font-weight: 600; }
#ls-search-dialog button { cursor: pointer; }
#ls-search-dialog a, #ls-search-dialog button, #ls-search-dialog input { font: inherit; }
#ls-search-dialog [hidden] { display: none !important; }
#ls-search-dialog .lss-close { min-width: 44px; min-height: 44px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: #465f7e; font-size: 24px; }
#ls-search-dialog .lss-tabs { display: flex; gap: 6px; border-bottom: 1px solid #e2eaf6; margin-bottom: 16px; }
#ls-search-dialog .lss-tabs button { min-height: 44px; padding: 0 12px; border: 0; border-bottom: 2px solid transparent; background: #fff; color: #405977; white-space: nowrap; }
#ls-search-dialog .lss-tabs button[aria-pressed="true"] { color: #175ac5; border-color: #2563d9; font-weight: 600; }
#ls-search-dialog form { display: flex; border: 1px solid #dae6f5; border-radius: 8px; background: #f6f9fe; }
#ls-search-dialog input { flex: 1; min-width: 0; min-height: 44px; padding: 0 12px; border: 0; background: transparent; color: #203653; }
#ls-search-dialog input::placeholder { color: #5d728e; }
#ls-search-dialog form button { width: 46px; border: 0; background: transparent; color: #1e61ca; }
#ls-search-dialog form button:hover, #ls-search-dialog .lss-close:hover { background: #edf4ff; }
#ls-search-dialog .lss-presets { margin-top: 18px; }
#ls-search-dialog .lss-presets div { display: flex; flex-wrap: wrap; gap: 8px; }
#ls-search-dialog .lss-presets a, #ls-search-dialog .lss-presets button, #ls-search-dialog .lss-more {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 5px 10px;
  border: 1px solid #e1e9f6;
  border-radius: 6px;
  background: #fff;
  color: #344e72;
  text-decoration: none;
  overflow-wrap: anywhere;
}
#ls-search-dialog .lss-presets :is(a,button):hover, #ls-search-dialog .lss-more:hover { color: #1859bb; background: #edf4ff; }
#ls-search-dialog .lss-status { margin: 15px 0 6px; color: #526984; font-size: 13px; }
#ls-search-dialog .lss-status:empty { display: none; }
#ls-search-dialog .lss-results a { display: flex; flex-direction: column; justify-content: center; min-height: 44px; padding: 9px 10px; border-bottom: 1px solid #edf2fa; color: #174984; text-decoration: none; overflow-wrap: anywhere; }
#ls-search-dialog .lss-results a:hover { background: #f4f8ff; }
#ls-search-dialog .lss-results small { color: #526984; }
#ls-search-dialog .lss-more { margin-top: 10px; }
#ls-search-dialog :is(a,button,input):focus-visible, body .ls-header-row .ls-search-trigger:focus-visible { outline: 2px solid #2563d9; outline-offset: 2px; }

@media (min-width: 1101px) and (max-width: 1279px) {
  body .ls-header-row .ls-search-desktop { min-width: 44px; padding: 0; justify-content: center; }
  body .ls-header-row .ls-search-desktop span { display: none; }
}

@media (max-width: 1100px) {
  body .ls-header-row.ls-has-site-search { grid-template-columns: minmax(0,1fr) 44px 52px auto; }
  body .ls-header-row.ls-has-site-search .ls-menu-toggle { grid-column: 3; }
  body .ls-header-row.ls-has-site-search .ls-mobile-avatar { grid-column: 4; }
  body .ls-header-row.ls-has-site-search .ls-account { grid-column: 4; }
  body .ls-header-row .ls-search-desktop { display: none; }
  body .ls-header-row .ls-search-mobile {
    display: inline-flex;
    grid-column: 2;
    grid-row: 1;
    order: 2;
    width: 44px;
    padding: 0;
    border-color: transparent;
    background: transparent;
  }
  #ls-search-dialog .lss-card { padding: 14px 16px 18px; }
}
