.custom-header__system-messages:has(div.custom-header__system-message-header) {
  margin-bottom: 1rem;
  margin-top: -0.5rem;
  z-index: 19;
}

.custom-header__system-message-header {
  padding: 0.5rem var(--section-padding);
  margin: 0;
  display: flex;
  align-items: center;
  border-radius: 0;
}

.ch-dismiss-link {
  margin-left: auto;
  display: inline-flex;
  border-radius: 0.25rem;
  background: color-mix(in sRGB, var(--red) 15%, transparent);
}

.ch-dismiss-link svg {
  color: var(--red);
  width: 20px;
  height: 20px;
}

.custom-header__title {
  opacity: 0.9;
}

.custom-header__system-message-header a {
  color: inherit;
  text-decoration: underline;
}

.custom-header__system-message-header a:hover,
.custom-header__system-message-header a:focus,
.custom-header__system-message-header a:active {
  text-decoration: underline;
}

.ch-sm-label {
  padding: 5px 10px;
  margin-right: 20px;
}

.ch-samples {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: var(--section-padding);
}

.ch-sample {
  min-width: 150px;
  min-height: 50px;
  font-weight: 450;
  box-shadow: inset 0 0 0 1.5px var(--input-border);
  justify-content: start;
}

#ch-classic-search {
  position: relative;
  font-family: var(--font-family-sans);
  display: inline-flex;
  height: 2.5rem;
}

.ch-classic-search {
  padding: 0.25rem 0.25rem 0.25rem 2.5rem;
  margin: 0;
  line-height: var(--line-height-base);
  border-radius: var(--form-input-border-radius);
  background: color-mix(in sRGB, var(--card-background) 85%, var(--background));
  width: 200px;
  &::placeholder {
    font-weight: normal;
  }
  &:active,
  &:focus {
    border-color: var(--focus-input-border);
    box-shadow: 0 0 0 2px var(--focus-input-glow);
  }
  &::placeholder {
    color: oklch(from var(--text-color) 50% c h) !important;
  }
}

.ch-search-symbol {
  position: absolute;
  display: inline-flex;
  height: 2.5rem;
  width: 2.5rem;
  justify-content: center;
  align-items: center;
  background: transparent;
  color: var(--text-color);
  left: 0;
  pointer-events: none;
  svg {
    width: 16px;
    height: 16px;
  }
}

#ch-classic-search--results {
  position: absolute;
  -webkit-backdrop-filter: var(--dropdown-backdrop-filter);
  backdrop-filter: var(--dropdown-backdrop-filter);
  background: color-mix(in sRGB, var(--card-background) 85%, transparent);
  color: var(--text-color);
  box-shadow: var(--dropdown-box-shadow);
  border-radius: 1rem;
  z-index: 9999;
  margin-top: .25rem;
  margin-right: .25rem;
  min-width: 300px;
}

#ch-classic-search--results a {
  justify-content: left;
  padding: .5rem;
  white-space: initial;
}
