.search-interaction {
  display: flex;
  width: 950px;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  overflow: visible;
  background: var(--background-color);
}

.search-panel {
  display: flex;
  width: 100%;
  min-height: 434px;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  overflow: visible;
  padding-top: 50px;
  background: var(--background-color);
}

.flow-menu {
  height: 26px;
  flex: 0 0 26px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--secondary-color);
}

.flow-menu strong {
  font-weight: 900;
}

.flow-menu a {
  text-decoration: none;
  white-space: nowrap;
}

.search-heading-row {
  display: flex;
  width: 100%;
  height: 68px;
  flex: 0 0 68px;
  align-items: flex-start;
  padding: 20px 0;
}

.search-heading-row h2,
.search-heading-row .search-step-heading {
  width: 255px;
  height: 28px;
  margin: 0;
  color: var(--secondary-color);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.1;
  white-space: nowrap;
}

.search-tabs {
  display: flex;
  width: 100%;
  height: 46px;
  flex: 0 0 46px;
  gap: 10px;
  align-items: center;
  overflow: hidden;
}

.figma-button {
  display: flex;
  height: 46px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--secondary-color);
  border-radius: 0;
  padding: 12px 20px 8px;
  background: var(--secondary-color);
  color: var(--primary-color);
  font-family: var(--font-family-brand);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.1;
  white-space: nowrap;
  cursor: pointer;
}

.figma-button.is-outline {
  background: transparent;
  color: var(--secondary-color);
}

.figma-button:hover,
.figma-button:focus-visible {
  background: transparent;
  color: var(--secondary-color);
  outline: 0;
}

.figma-button.is-outline:hover,
.figma-button.is-outline:focus-visible {
  background: var(--secondary-color);
  color: var(--primary-color);
}

.figma-input {
  display: flex;
  width: 100%;
  height: 46px;
  flex: 0 0 46px;
  gap: 40px;
  align-items: center;
  overflow: hidden;
  padding: 10px 20px;
  background: var(--secondary-color);
  color: var(--primary-color);
}

.figma-input input {
  min-width: 0;
  height: 26px;
  flex: 1 1 auto;
  border: 0;
  border-radius: 0;
  padding: 0;
  outline: 0;
  background: transparent;
  color: var(--primary-color);
  font-family: var(--font-family-brand);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.1;
}

.figma-input input::placeholder {
  color: var(--primary-color);
  opacity: 1;
}

.figma-input > button {
  width: auto;
  height: 26px;
  flex: 0 0 auto;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--primary-color);
  font-family: var(--font-family-brand);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.1;
  cursor: pointer;
}

.figma-input > button {
  margin-left: auto;
}

.autocomplete-field {
  position: relative;
  z-index: 2;
  width: 100%;
  flex: 0 0 46px;
}

.autocomplete-field:focus-within {
  z-index: 4;
}

.autocomplete-control {
  position: relative;
}

.autocomplete-field.has-error .autocomplete-control {
  outline: 3px solid #8c2525;
  outline-offset: -3px;
}

.autocomplete-popup {
  position: absolute;
  z-index: 20;
  top: calc(100% + 2px);
  left: 0;
  width: 100%;
  border: 1px solid var(--secondary-color);
  background: var(--secondary-color);
  color: var(--primary-color);
  box-shadow: 0 6px 18px rgb(0 0 0 / 0.22);
}

.autocomplete-popup[hidden] {
  display: none;
}

.autocomplete-message {
  min-height: 46px;
  margin: 0;
  padding: 11px 20px 9px;
  font-size: 20px;
  line-height: 1.2;
}

.autocomplete-message:empty {
  display: none;
}

.autocomplete-list {
  max-height: 460px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.autocomplete-option {
  display: flex;
  min-height: 46px;
  flex-direction: column;
  justify-content: center;
  border-top: 1px solid rgb(var(--color-primary-rgb) / 0.22);
  padding: 8px 20px 6px;
  font-size: 20px;
  line-height: 1.15;
  cursor: pointer;
}

.autocomplete-option:hover,
.autocomplete-option.is-active,
.autocomplete-option[aria-selected="true"] {
  background: var(--primary-color);
  color: var(--secondary-color);
}

.autocomplete-option-label {
  font-weight: 900;
}

.autocomplete-option-meta {
  margin-top: 3px;
  font-size: 16px;
}

.autocomplete-option--info {
  min-height: 42px;
  background: rgb(255 255 255 / 0.08);
  cursor: default;
}

.autocomplete-option--info:hover {
  background: rgb(255 255 255 / 0.08);
  color: var(--primary-color);
}

.autocomplete-option--info .autocomplete-option-label {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
}

.autocomplete-option--refine .autocomplete-option-meta {
  font-weight: 600;
}

.autocomplete-field[data-autocomplete-state="loading"] .autocomplete-message::before {
  content: "";
  display: inline-block;
  width: 0.7em;
  height: 0.7em;
  margin-right: 0.5em;
  border: 2px solid currentcolor;
  border-right-color: transparent;
  border-radius: 50%;
  vertical-align: 0.02em;
  animation: autocomplete-loading 0.8s linear infinite;
}

@keyframes autocomplete-loading {
  to { transform: rotate(360deg); }
}

.search-status {
  min-height: 26px;
  margin: 0;
  color: var(--secondary-color);
  font-size: 18px;
  line-height: 1.25;
}

.search-status:empty {
  display: none;
}

.search-submit {
  font-weight: 900;
}

.search-submit:disabled {
  cursor: wait;
  opacity: 0.78;
}

.search-submit.is-loading {
  min-width: 196px;
  gap: 10px;
}

.search-submit.is-loading::before {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border: 2px solid currentcolor;
  border-right-color: transparent;
  border-radius: 50%;
  content: "";
  animation: search-spinner 0.8s linear infinite;
}

@keyframes search-spinner {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .autocomplete-field[data-autocomplete-state="loading"] .autocomplete-message::before,
  .search-submit.is-loading::before {
    animation-duration: 1.6s;
  }
}

.faq-list a,
.information a {
  color: inherit;
  text-decoration: none;
}

.information nav,
.information a {
  display: flex;
  width: 100%;
  min-height: 26px;
  flex-direction: column;
}

@media (max-width: 1100px) {
  .search-interaction {
    width: 100%;
    overflow: visible;
  }
}

@media (max-width: 700px) {
  .search-interaction,
  .search-panel {
    width: 100%;
    height: auto;
    flex-basis: auto;
    overflow: visible;
  }

  .search-panel {
    padding-top: 0;
  }

  .flow-menu,
  .search-heading-row h2,
  .search-heading-row .search-step-heading,
  .figma-button,
  .figma-input input,
  .figma-input > button {
    font-size: 20px;
  }

  .autocomplete-control input {
    font-size: 17px;
  }

  .autocomplete-list {
    max-height: 322px;
  }

  .flow-menu {
    max-width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .search-tabs {
    height: auto;
    flex-basis: auto;
    flex-wrap: wrap;
  }

  .figma-button {
    max-width: 100%;
    white-space: normal;
  }
}
