





.filters-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.filters-container {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  flex-wrap: nowrap;
  
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: none; 
}

.filters-container > * {
  flex: 0 0 auto;
}

.filter-class-group-divider {
  align-self: stretch;
  width: 1px;
  min-height: 28px;
  margin: 8px 2px;
  background: color-mix(in srgb, #111 20%, transparent);
  background: color-mix(in srgb, var(--fg, #111) 20%, transparent);
  border-radius: 999px;
  pointer-events: none;
}

.theme-dark .filter-class-group-divider {
  background: color-mix(in srgb, #fff 30%, transparent);
  background: color-mix(in srgb, var(--fg, #fff) 30%, transparent);
}


.filters-strip {
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: none; 
  cursor: grab;
}


.filters-strip::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
}

.filters-strip.dragging {
  cursor: grabbing;
}


.filter-btn {
  margin: 6px 4px;
  min-width: auto;
  padding: clamp(8px, 0.7vw, 10px) clamp(8px, 1vw, 14px);
  border: 1px solid #ccc;
  border: 1px solid var(--border, #ccc);
  border-radius: 7px;
  cursor: pointer;
  background-color: transparent;
  color: inherit;
  color: var(--chip-fg, inherit);
  font-weight: 600;
  transition:
    background-color .15s ease,
    box-shadow .15s ease,
    border-color .15s ease,
    transform .15s ease;
  white-space: nowrap;
  user-select: none;
  
  display: inline-flex;         
  align-items: center;          
  justify-content: center;
  vertical-align: middle;       
  
  flex: 0 1 auto;
  transform: translateY(0);     
  will-change: transform;  
    user-select: none;
  -webkit-user-select: none; 
  -ms-user-select: none;          
-webkit-tap-highlight-color: transparent;
touch-action: manipulation;
}

.filter-btn {
    min-width: auto!important;
}


@media (hover: hover) {
.filter-btn:hover {
  transform: scale(1.12);

  background: linear-gradient(
    to top,
    color-mix(
      in oklab,
      var(--card) 80%,
      #6ea8fe 12%
    ),
    color-mix(
      in oklab,
      #fff 85%,
      #6ea8fe 15%
    )
  );

  background: linear-gradient(
    to top,
    color-mix(
      in oklab,
      var(--chip-bg, var(--card)) 80%,
      var(--accent, #6ea8fe) 12%
    ),
    color-mix(
      in oklab,
      var(--bg, #fff) 85%,
      var(--accent, #6ea8fe) 15%
    )
  );

  box-shadow:
    0 4px 12px rgba(0,0,0, .18),
    0 0 18px color-mix(
      in oklab,
      #6ea8fe 28%,
      transparent
    );

  box-shadow:
    0 4px 12px rgba(0,0,0, var(--hover-shadow, .18)),
    0 0 18px color-mix(
      in oklab,
      var(--accent, #6ea8fe) 28%,
      transparent
    );

  -webkit-backdrop-filter: blur(6px) saturate(150%);

          backdrop-filter: blur(6px) saturate(150%);
}


.theme-dark .filter-btn:hover {
  --hover-shadow: .38;

  background: linear-gradient(
    to top,
    color-mix(
      in oklab,
      var(--card) 70%,
      #6ea8fe 22%
    ),
    color-mix(
      in oklab,
      #0b0f14 65%,
      #6ea8fe 35%
    )
  );

  background: linear-gradient(
    to top,
    color-mix(
      in oklab,
      var(--chip-bg, var(--card)) 70%,
      var(--accent, #6ea8fe) 22%
    ),
    color-mix(
      in oklab,
      var(--bg, #0b0f14) 65%,
      var(--accent, #6ea8fe) 35%
    )
  );

  box-shadow:
    0 6px 16px rgba(0,0,0,.55),
    0 0 26px color-mix(
      in oklab,
      #6ea8fe 45%,
      transparent
    );

  box-shadow:
    0 6px 16px rgba(0,0,0,.55),
    0 0 26px color-mix(
      in oklab,
      var(--accent, #6ea8fe) 45%,
      transparent
    );
}
}


.filter-btn.active {
  transform: scale(1.12);
  background: linear-gradient(
    to top,
    color-mix(in srgb, #6ea8fe 20%, transparent),
    color-mix(in srgb, #6ea8fe 35%, transparent)
  );
  background: linear-gradient(
    to top,
    color-mix(in srgb, var(--accent, #6ea8fe) 20%, transparent),
    color-mix(in srgb, var(--accent, #6ea8fe) 35%, transparent)
  );
  border-color: #6ea8fe;
  border-color: var(--accent, #6ea8fe);
  box-shadow:
    0 4px 16px rgba(0,0,0,.15),
    0 0 25px color-mix(in srgb, #6ea8fe 35%, transparent);
  box-shadow:
    0 4px 16px rgba(0,0,0,.15),
    0 0 25px color-mix(in srgb, var(--accent, #6ea8fe) 35%, transparent);
  color: #111;
  color: var(--fg, #111);
  animation: chipPulseAccent 2.6s ease-in-out infinite;
}


.filters-strip .filter-btn:nth-of-type(1).active {
  animation: none !important;
  transform: scale(1.12) !important;
}

.filters-strip
  .filter-btn:nth-of-type(2).active:not(:has(~ .filter-btn.active))
  :not(.dummy) {
  animation: chipPulseAccent 2.6s ease-in-out infinite;
}

.filters-strip:has(.filter-btn.active:nth-of-type(n + 3)) .filter-btn.active {
  animation: none !important;
  transform: scale(1.12) !important;
}


@keyframes chipPulseAccent {
  0%, 100% {
    transform: scale(1.12);
    box-shadow:
      0 4px 16px rgba(0,0,0,.15),
      0 0 25px color-mix(in srgb, #6ea8fe 25%, transparent);
    box-shadow:
      0 4px 16px rgba(0,0,0,.15),
      0 0 25px color-mix(in srgb, var(--accent, #6ea8fe) 25%, transparent);
  }
  50% {
    transform: scale(1.18);
    box-shadow:
      0 6px 22px rgba(0,0,0,.18),
      0 0 30px color-mix(in srgb, #6ea8fe 55%, transparent);
    box-shadow:
      0 6px 22px rgba(0,0,0,.18),
      0 0 30px color-mix(in srgb, var(--accent, #6ea8fe) 55%, transparent);
  }
}


.filters-search-section {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
}



.filters-mask-wrapper {
  position: relative;
  flex: 1 1;
  overflow: visible;
}

@media (orientation: landscape) and (pointer: coarse) and (max-width:900px)
{

.theme-dark .reagent-analyze-content .searchbar-wrap {
  margin: 0px 0 0px 
}
.theme-dark .reagent-analyze-content .reagents-toolbar--hscroll {
  padding: 17px 0px 17px;
}
.reagent-analyze-content .filters-strip .filters-container {
  padding: 5px 15px 10px
}
.reagent-analyze-content .filters-search-section .searchbar-wrap {
  padding-bottom: 0;
}
.reagent-analyze-content .reagents-toolbar--hscroll {
  padding: 2px 0px 17px;
}
.filter-btn.active {
    transform: scale(1.12);
    background: linear-gradient(
to top,
color-mix(in srgb, #6ea8fe 20%, transparent),
color-mix(in srgb, #6ea8fe 35%, transparent)
);
    background: linear-gradient(
to top,
color-mix(in srgb, var(--accent, #6ea8fe) 20%, transparent),
color-mix(in srgb, var(--accent, #6ea8fe) 35%, transparent)
);
    border-color: #6ea8fe;
    border-color: var(--accent, #6ea8fe);
    box-shadow: 0 3px 12px rgba(0,0,0,.15),
0 0 15px color-mix(in srgb, #6ea8fe 35%, transparent);
    box-shadow: 0 3px 12px rgba(0,0,0,.15),
0 0 15px color-mix(in srgb, var(--accent, #6ea8fe) 35%, transparent);
    color: #111;
    color: var(--fg, #111);
    animation: chipPulseAccent 2.6s ease-in-out infinite;
}

}

@media (hover: none) and (pointer: coarse) {
  .filter-btn:active {
    transform: scale(1.08);
  }
}
@supports not selector(:has(*)) {
  .filters-strip .filter-btn.active {
    animation: none;
  }
}

.theme-dark .filter-btn:not(.active) {
  background: none;
}

@media (max-width: 900px), (pointer: coarse) {
  .filter-btn--more-categories {
    display: none;
  }
}


.filters-strip .filter-btn {
  border-color: color-mix(in srgb, #111 14%, transparent);
  border-color: color-mix(in srgb, var(--fg, #111) 14%, transparent);
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
}

@media (hover: hover) and (pointer: fine) {
  .filters-strip .filter-btn:hover {
    transform: scale(1.025);
    border-color: color-mix(in srgb, #6ea8fe 38%, transparent);
    border-color: color-mix(in srgb, var(--accent, #6ea8fe) 38%, transparent);
    background: color-mix(in srgb, #6ea8fe 7%, transparent);
    background: color-mix(in srgb, var(--accent, #6ea8fe) 7%, transparent);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
    -webkit-backdrop-filter: blur(10px) saturate(120%);
            backdrop-filter: blur(10px) saturate(120%);
  }
}

.filters-strip .filter-btn.active {
  transform: scale(1.035) !important;
  border-color: color-mix(in srgb, #6ea8fe 62%, transparent);
  border-color: color-mix(in srgb, var(--accent, #6ea8fe) 62%, transparent);
  background: color-mix(in srgb, #6ea8fe 13%, transparent);
  background: color-mix(in srgb, var(--accent, #6ea8fe) 13%, transparent);
  box-shadow:
    0 2px 8px rgba(0, 0, 0, .07),
    0 0 0 1px color-mix(in srgb, #6ea8fe 7%, transparent);
  box-shadow:
    0 2px 8px rgba(0, 0, 0, .07),
    0 0 0 1px color-mix(in srgb, var(--accent, #6ea8fe) 7%, transparent);
  color: #111;
  color: var(--fg, #111);
  animation: none !important;
}

.theme-dark .filters-strip .filter-btn {
  border-color: color-mix(in srgb, #fff 18%, transparent);
  border-color: color-mix(in srgb, var(--fg, #fff) 18%, transparent);
}

.theme-dark .filters-strip .filter-btn.active {
  background: color-mix(in srgb, #6ea8fe 17%, transparent);
  background: color-mix(in srgb, var(--accent, #6ea8fe) 17%, transparent);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .2);
}


.filters-strip .filter-btn--reset {
  gap: 5px;
  border-color: transparent;
  background: transparent;
  color: color-mix(in srgb, #111 68%, transparent);
  color: color-mix(in srgb, var(--fg, #111) 68%, transparent);
  font-weight: 650;
}

.filters-strip .filter-btn--reset::before {
  content: "↺";
  font-size: 1.05em;
  font-weight: 500;
  line-height: 1;
  transition: transform .18s ease;
}

@media (hover: hover) and (pointer: fine) {
  .filters-strip .filter-btn--reset:hover {
    border-color: transparent;
    background: color-mix(in srgb, #111 5%, transparent);
    background: color-mix(in srgb, var(--fg, #111) 5%, transparent);
    color: #111;
    color: var(--fg, #111);
    box-shadow: none;
  }

  .filters-strip .filter-btn--reset:hover::before {
    transform: rotate(-35deg);
  }
}

.theme-dark .filters-strip .filter-btn--reset {
  border-color: transparent;
  background: transparent;
  color: color-mix(in srgb, #fff 72%, transparent);
  color: color-mix(in srgb, var(--fg, #fff) 72%, transparent);
}

@media (hover: hover) and (pointer: fine) {
  .theme-dark .filters-strip .filter-btn--reset:hover {
    background: color-mix(in srgb, #fff 8%, transparent);
    background: color-mix(in srgb, var(--fg, #fff) 8%, transparent);
    color: #fff;
    color: var(--fg, #fff);
  }
}

.filters-strip .filter-btn--reset:active {
  transform: scale(.97);
  border-color: transparent;
  background: color-mix(in srgb, #6ea8fe 10%, transparent);
  background: color-mix(in srgb, var(--accent, #6ea8fe) 10%, transparent);
  color: #111;
  color: var(--fg, #111);
  box-shadow: none;
}



.filters-wrapper,.filter-btn, .filters-strip.dragging, .filters-strip,
.filters-search-section, .filters-container, .filters-wrapper * {
  user-select: none!important;
  -webkit-user-select: none!important;
  -ms-user-select: none!important;
  -webkit-touch-callout: none!important;
}



.search-field-center-placeholder {
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
}

.search-field-center-placeholder > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}




.search-field--prominent {
  --search-field-surface: rgba(118, 118, 128, 0.12);
  --search-field-surface-focus: rgba(118, 118, 128, 0.18);
  --search-field-action-hover: rgba(60, 60, 67, 0.09);
  --search-field-action-active: rgba(60, 60, 67, 0.14);
  position: relative;
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  height: 56px;
  box-sizing: border-box;
  padding: 0 6px 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--search-field-surface);
  box-shadow: none;
  -webkit-backdrop-filter: blur(16px) saturate(1.12);
  backdrop-filter: blur(16px) saturate(1.12);
  transition: background 160ms ease;
}

.search-field--prominent:focus-within {
  background: var(--search-field-surface-focus);
}

.search-field-leading {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-inline-end: 10px;
  color: rgba(60, 60, 67, 0.66);
  color: var(--sub, rgba(60, 60, 67, 0.66));
  pointer-events: none;
}

.search-field-leading > :is(.mdi, .dp-icon) {
  display: block;
  width: 20px;
  height: 20px;
  font-size: 20px;
  line-height: 1;
}

.search-field-control-slot {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  align-self: stretch;
  min-width: 0;
}

.search-field--prominent .search-field-control {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  height: 100%;
  box-sizing: border-box;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
  color: #1c1c1e;
  color: var(--fg, #1c1c1e);
  font: 500 16px/1.2 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  text-align: start;
  caret-color: #dcaa2e;
  caret-color: var(--accent-strong, var(--accent, #dcaa2e));
  -webkit-appearance: none;
  appearance: none;
}

.search-field--prominent .search-field-control::placeholder {
  color: transparent;
  opacity: 0;
}

.search-field-prominent-placeholder {
  position: absolute;
  inset-inline: 0;
  min-width: 0;
  overflow: hidden;
  color: rgba(60, 60, 67, 0.64);
  color: var(--sub, rgba(60, 60, 67, 0.64));
  font: 500 16px/1.2 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  pointer-events: none;
  text-align: start;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-field-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  gap: 2px;
  margin-inline-start: 6px;
}

.search-field--prominent .search-field-actions > button,
.search-field--prominent .search-field-clear {
  all: unset;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  min-width: 44px;
  height: 44px;
  box-sizing: border-box;
  border-radius: 999px;
  color: rgba(60, 60, 67, 0.72);
  color: var(--sub, rgba(60, 60, 67, 0.72));
  cursor: pointer;
  touch-action: manipulation;
  transition: color 150ms ease, background 150ms ease, transform 120ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .search-field--prominent .search-field-actions > button:hover,
  .search-field--prominent .search-field-clear:hover {
    background: var(--search-field-action-hover);
    color: #1c1c1e;
    color: var(--fg, #1c1c1e);
  }
}

.search-field--prominent .search-field-actions > button:active,
.search-field--prominent .search-field-clear:active {
  background: var(--search-field-action-active);
  transform: scale(0.94);
}

.search-field--prominent .search-field-actions > button:focus-visible,
.search-field--prominent .search-field-clear:focus-visible {
  outline: 2px solid #dcaa2e;
  outline: 2px solid var(--accent-strong, var(--accent, #dcaa2e));
  outline-offset: -2px;
}

.search-field--prominent .search-field-actions > button.is-active {
  background: rgba(220, 170, 46, 0.18);
  background: var(--accent-tint-active, rgba(220, 170, 46, 0.18));
  color: #1f2328;
  color: var(--fg, #1f2328);
}

.search-field--prominent .search-field-actions > .lab-search-reset {
  width: auto;
  min-width: 44px;
  flex-basis: auto;
  padding-inline: 12px;
  font: 600 14px/1 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.theme-dark .search-field--prominent,
[data-theme="dark"] .search-field--prominent {
  --search-field-surface: rgba(118, 118, 128, 0.26);
  --search-field-surface-focus: rgba(118, 118, 128, 0.34);
  --search-field-action-hover: rgba(255, 255, 255, 0.1);
  --search-field-action-active: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.theme-dark .search-field-leading,
.theme-dark .search-field-prominent-placeholder,
.theme-dark .search-field--prominent .search-field-actions > button,
.theme-dark .search-field--prominent .search-field-clear,
[data-theme="dark"] .search-field-leading,
[data-theme="dark"] .search-field-prominent-placeholder,
[data-theme="dark"] .search-field--prominent .search-field-actions > button,
[data-theme="dark"] .search-field--prominent .search-field-clear {
  color: rgba(235, 235, 245, 0.72);
}

.theme-dark .search-field--prominent .search-field-control,
[data-theme="dark"] .search-field--prominent .search-field-control {
  
  background: transparent;
  color: #fff;
  color: var(--fg, #fff);
}

@media (prefers-reduced-motion: reduce) {
  .search-field--prominent,
  .search-field--prominent .search-field-actions > button,
  .search-field--prominent .search-field-clear {
    transition: none;
  }
}

.lab-search-row--native-toolbar .lab-search-bar:empty,
.lab-search-row--native-toolbar:has(> .lab-search-bar:only-child:empty) {
  display: none;
}
.lab-search-row--native-toolbar {
  justify-content: flex-end;
}

.searchbar-input-wrap {
  position: relative;
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  max-width: 100%;
}

.searchbar-row--prominent {
  gap: 0;
}

.searchbar-input {
  width: 100%;
  padding: 10px 42px 10px 12px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  font-size: 14px;
  outline: none;
  background: #fff;
  background: var(--card-bg, #fff);
  caret-color: #dcaa2e;
  caret-color: var(--accent-strong, var(--accent, #dcaa2e));
}


.searchbar-input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

.searchbar-input::placeholder {
  color: transparent;
}

.searchbar-center-placeholder {
  position: absolute;
  inset: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  pointer-events: none;
  opacity: 0.72;
  font-size: 14px;
}


.searchbar-clear {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 10px;
  margin-block: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(0, 0, 0, 0.48);
  color: var(--sub, rgba(0, 0, 0, 0.48));
  cursor: pointer;
}

.searchbar-clear > :is(.mdi, .dp-icon) {
  display: block;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  font-size: 18px;
  line-height: 1;
  pointer-events: none;
}

.searchbar-toggle.is-active {
  color: #1f2328;
  color: var(--fg, #1f2328);
}

.theme-dark .searchbar-input {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

.theme-dark .searchbar-clear {
  color: rgba(255, 255, 255, 0.82);
}

.theme-dark .searchbar-center-placeholder {
  opacity: 0.85;
}


.searchbar-row--native-toolbar {
  min-height: 0;
  justify-content: flex-end;
}
.searchbar-row--native-toolbar:empty,
.searchbar-wrap:has(> .searchbar-row--native-toolbar:empty) {
  display: none;
}

