/**
 * Anex Tour — прототип пошуку (референс-дизайн, desktop)
 * Тексти UA · id полів як у hotel-catalog.php
 */

:root {
  --anex-red: #f31624;
  --anex-red-hover: #de0f1c;
  --anex-text: #1a2233;
  --anex-label: #8b95a8;
  --anex-line: #e8ecf2;
  --anex-panel-active: #1a5dc8;
  --anex-range: #c8e6c9;
  --anex-font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --bar-radius: 14px;
  --bar-height: 68px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--anex-font);
  color: var(--anex-text);
  background: #f4f7fb;
}

.atsp-site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(216, 224, 238, 0.82);
  backdrop-filter: blur(16px);
}

.atsp-site-header__inner,
.atsp-site-footer__inner {
  width: min(1140px, calc(100% - 48px));
  margin: 0 auto;
}

.atsp-site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 72px;
}

.atsp-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: #12213a;
  text-decoration: none;
}

.atsp-brand__img {
  display: block;
  width: auto;
  max-width: 168px;
  max-height: 46px;
  object-fit: contain;
}

.atsp-brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #12213a;
  color: #fff;
  font-size: 19px;
  font-weight: 800;
}

.atsp-brand__text {
  overflow: hidden;
  color: #12213a;
  font-size: 17px;
  line-height: 1.15;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.atsp-site-nav,
.atsp-footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
}

.atsp-site-nav__link,
.atsp-footer-links__link {
  color: #46546a;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 700;
  text-decoration: none;
}

.atsp-site-nav__link:hover,
.atsp-footer-links__link:hover {
  color: #1a5dc8;
}

.atsp-site-call {
  flex: 0 0 auto;
  padding: 11px 16px;
  border-radius: 999px;
  background: #12213a;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(18, 33, 58, 0.16);
}

.atsp-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #12213a;
  cursor: pointer;
  flex-shrink: 0;
}

.atsp-nav-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.atsp-nav-toggle.is-open .atsp-nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.atsp-nav-toggle.is-open .atsp-nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.atsp-nav-toggle.is-open .atsp-nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.atsp-mobile-nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 540;
  background: rgba(11, 18, 34, 0.45);
}

.atsp-mobile-nav-backdrop:not([hidden]) {
  display: block;
}

.atsp-mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 560;
  display: flex;
  flex-direction: column;
  width: min(300px, 86vw);
  height: 100dvh;
  max-height: 100dvh;
  padding: 0;
  margin: 0;
  border: 0;
  background: #fff;
  box-shadow: 12px 0 40px rgba(7, 19, 42, 0.18);
  transform: translateX(-105%);
  transition: transform 0.28s ease;
  overflow: auto;
}

.atsp-mobile-nav:not([hidden]) {
  transform: translateX(0);
}

.atsp-mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--anex-line);
}

.atsp-mobile-nav__title {
  font-size: 17px;
  font-weight: 800;
  color: #12213a;
}

.atsp-mobile-nav__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: #f3f6fb;
  color: #12213a;
  cursor: pointer;
}

.atsp-mobile-nav__links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 10px 24px;
}

.atsp-mobile-nav__link {
  display: block;
  padding: 14px 14px;
  border-radius: 12px;
  color: #12213a;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}

.atsp-mobile-nav__link:hover,
.atsp-mobile-nav__link:focus-visible {
  background: #f3f6fb;
  color: #1a5dc8;
}

body.atsp-nav-open {
  overflow: hidden;
}

.atsp-site-footer {
  padding: 54px 0;
  background:
    linear-gradient(135deg, rgba(18, 33, 58, 0.98), rgba(19, 72, 116, 0.96)),
    #12213a;
  color: #fff;
}

.atsp-site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 48px;
  align-items: start;
}

.atsp-site-footer__brand {
  display: grid;
  gap: 18px;
}

.atsp-brand--footer {
  color: #fff;
}

.atsp-brand--footer .atsp-brand__mark {
  background: #fff;
  color: #12213a;
}

.atsp-brand--footer .atsp-brand__text {
  color: #fff;
}

.atsp-site-footer__brand p {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 15px;
  line-height: 1.65;
  font-weight: 500;
}

.atsp-footer-links__link {
  color: rgba(255, 255, 255, 0.78);
}

.atsp-footer-links__link:hover {
  color: #fff;
}

.atsp-footer-form {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.atsp-footer-form__head {
  display: grid;
  gap: 5px;
  margin-bottom: 2px;
}

.atsp-footer-form__head span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.atsp-footer-form__head strong {
  color: #fff;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 800;
}

.atsp-footer-form label {
  display: grid;
  gap: 6px;
}

.atsp-footer-form label span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 700;
}

.atsp-footer-form input,
.atsp-footer-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  color: #12213a;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  outline: none;
}

.atsp-footer-form input {
  min-height: 46px;
  padding: 0 14px;
}

.atsp-footer-form textarea {
  min-height: 86px;
  padding: 12px 14px;
  resize: vertical;
}

.atsp-footer-form input:focus,
.atsp-footer-form textarea:focus {
  border-color: #8eb7ff;
  box-shadow: 0 0 0 3px rgba(142, 183, 255, 0.28);
}

.atsp-footer-form button {
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  color: #12213a;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.atsp-footer-form button:disabled {
  opacity: 0.68;
  cursor: default;
}

.atsp-footer-form__status {
  min-height: 18px;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 700;
}

.atsp-footer-form__status.is-ok {
  color: #8ff0b2;
}

.atsp-footer-form__status.is-error {
  color: #ffd0d0;
}

.atsp-footer-form__status.is-loading {
  color: #cfe0ff;
}

/* Hero як на сайті */
.proto-hero {
  min-height: 100vh;
  padding: 40px 0 80px;
  background:
    linear-gradient(180deg, rgba(2, 18, 46, 0.62) 0%, rgba(5, 28, 74, 0.58) 52%, rgba(8, 37, 92, 0.54) 100%),
    url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1600&q=80") center / cover no-repeat;
}

.proto-page {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.search-hero-copy {
  max-width: 980px;
  margin: 0 auto 28px;
  text-align: center;
}

.search-hero-copy h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-wrap: balance;
  text-shadow: 0 8px 30px rgba(5, 16, 40, 0.45);
}

.search-hero-copy__lead {
  margin: 14px 0 0;
  color: rgba(236, 244, 255, 0.88);
  font-size: clamp(15px, 1.75vw, 19px);
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-wrap: balance;
  text-shadow: 0 2px 14px rgba(4, 15, 38, 0.35);
}

.search-hero-support {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  max-width: 720px;
  margin: 24px auto 0;
  padding-top: 20px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.search-hero-support__line {
  margin: 0;
  text-shadow: 0 2px 12px rgba(6, 18, 42, 0.32);
}

.search-hero-support__line--primary {
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(14px, 1.45vw, 16px);
  line-height: 1.55;
  font-weight: 500;
  letter-spacing: 0;
  max-width: 52ch;
}

.search-hero-support__line--muted {
  margin-top: 10px;
  color: rgba(228, 238, 255, 0.68);
  font-size: clamp(12px, 1.2vw, 13.5px);
  line-height: 1.45;
  font-weight: 400;
  letter-spacing: 0.01em;
  max-width: 44ch;
}

/* ——— Без білої картки навколо ——— */
.hero-search-card--catalog {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.hero-catalog-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ——— Таби (pill, референс) ——— */
.anex-search-mode-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  position: relative;
  z-index: 210;
}

.anex-search-mode-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  background: #fff;
  color: var(--anex-text);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.anex-tab-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.anex-search-mode-btn:hover {
  border-color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.anex-search-mode-btn.is-active {
  border: 2px solid var(--anex-red);
  color: var(--anex-red);
  padding: 9px 17px;
}

.anex-search-mode-btn.is-active .anex-tab-icon {
  color: var(--anex-red);
}

/* ——— Головна панель пошуку ——— */
.anex-search-bar {
  display: flex;
  align-items: stretch;
  min-height: var(--bar-height);
  background: #fff;
  border-radius: var(--bar-radius);
  box-shadow: 0 12px 40px rgba(7, 19, 42, 0.18);
  overflow: hidden;
}

.anex-search-segment {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 2px;
  padding: 12px 18px;
  border: 0;
  border-right: 1px solid var(--anex-line);
  background: transparent;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  position: relative;
  transition: background 0.15s ease;
}

.anex-search-segment:hover,
.anex-search-segment.is-open {
  background: #f8fafc;
}

.anex-search-segment--chevron {
  padding-right: 36px;
}

.anex-segment-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--anex-label);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.anex-segment-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--anex-text);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.anex-search-segment--country .anex-segment-value,
.anex-search-segment--from .anex-segment-value {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  white-space: normal;
  line-height: 1.2;
}

.anex-seg-primary {
  font-size: 16px;
  font-weight: 700;
  color: var(--anex-text);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.anex-seg-secondary {
  font-size: 12px;
  font-weight: 600;
  color: #6b7792;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.anex-from-transport-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: #6b7792;
}

.anex-segment-value.is-placeholder {
  font-weight: 600;
  color: #9aa3b5;
}

.anex-segment-chevron {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  color: #9aa3b5;
  pointer-events: none;
  transition:
    transform 0.24s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.2s ease;
}

.anex-search-segment.is-open .anex-segment-chevron {
  transform: translateY(-50%) rotate(180deg);
}

/* Поле з вводом (країна / курорт / готель) */
.anex-search-segment--editable {
  cursor: text;
  padding-top: 10px;
  padding-bottom: 10px;
}

.anex-search-segment--editable.is-open,
.anex-search-segment--editable:focus-within {
  background: #f8fafc;
}

.anex-segment-input {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  color: var(--anex-text);
  outline: none;
}

.anex-segment-input::placeholder {
  color: #9aa3b5;
  font-weight: 600;
}

/* Пікер напрямку: 2 колонки + пошук */
.anex-panel--destination {
  padding: 0;
  overflow: hidden;
}

.anex-dest-picker {
  display: block;
}

.anex-dest-browse {
  display: grid;
  grid-template-columns: 196px minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  align-items: stretch;
  min-height: 280px;
  max-height: min(420px, calc(75vh - 48px));
  overflow: hidden;
}

.anex-dest-col--countries {
  border-right: 1px solid var(--anex-line);
  min-height: 0;
  max-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background: #fafbfd;
}

.anex-dest-col--regions {
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-height: 100%;
  overflow: hidden;
  background: #fff;
}

.anex-dest-countries {
  list-style: none;
  margin: 0;
  padding: 6px 0;
}

.anex-dest-country {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--anex-text);
  text-align: left;
  cursor: pointer;
}

.anex-dest-country:hover,
.anex-dest-country:focus-visible {
  background: #eef2f8;
  outline: none;
}

.anex-dest-country.is-active {
  background: #e8eef8;
}

.anex-dest-country-flag {
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
}

.anex-dest-country-name {
  flex: 1;
  min-width: 0;
}

.anex-dest-country-chevron {
  color: #9aa3b5;
  font-size: 16px;
  font-weight: 700;
}

.anex-dest-regions {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 8px 0 4px;
}

.anex-dest-regions-empty {
  margin: 0;
  padding: 20px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--anex-label);
  line-height: 1.45;
}

.anex-dest-exc-pick {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 8px 0 4px;
}

.anex-dest-exc-pick .anex-dest-regions-empty {
  padding: 16px 16px 0;
}

.anex-dest-apply--inline {
  margin: 0 16px 12px;
  width: calc(100% - 32px);
  min-height: 44px;
  border-radius: 10px;
  border: 0;
  border-top: none;
}

.anex-dest-regions-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.anex-dest-regions-section {
  padding: 12px 16px 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--anex-label);
}

.anex-dest-region-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--anex-text);
  text-align: left;
  cursor: pointer;
}

.anex-dest-region-row:hover,
.anex-dest-region-row:focus-visible {
  background: #f3f6fb;
  outline: none;
}

.anex-dest-region-row--child {
  padding-left: 28px;
  font-weight: 600;
}

.anex-dest-region-head {
  display: flex;
  align-items: stretch;
}

.anex-dest-region-head .anex-dest-region-row {
  flex: 1;
  min-width: 0;
}

.anex-dest-region-toggle {
  flex: 0 0 40px;
  border: 0;
  border-left: 1px solid #edf1f8;
  background: transparent;
  color: #6b7792;
  font-size: 14px;
  cursor: pointer;
}

.anex-dest-region-toggle:hover {
  background: #f3f6fb;
}

.anex-dest-region-children {
  display: none;
  border-top: 1px solid #f0f3f8;
}

.anex-dest-region-group.is-open .anex-dest-region-children {
  display: block;
}

.anex-dest-check {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border: 2px solid #d2d8e4;
  border-radius: 6px;
  background: #fff;
  position: relative;
}

.anex-dest-check.is-on {
  border-color: var(--anex-red);
  background: var(--anex-red);
}

.anex-dest-check.is-on::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.anex-dest-apply {
  flex-shrink: 0;
  margin: 0;
  width: 100%;
  min-height: 48px;
  border: 0;
  border-top: 1px solid var(--anex-line);
  background: var(--anex-red);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.anex-dest-apply:hover {
  background: var(--anex-red-hover);
}

.anex-dest-apply--desktop {
  display: block;
}

/* Режим пошуку (≥3 символів) */
.anex-dest-search-list {
  list-style: none;
  margin: 0;
  padding: 6px 0;
  max-height: min(360px, 55vh);
  overflow: auto;
}

.anex-dest-empty {
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--anex-label);
  line-height: 1.45;
}

.anex-dest-item {
  width: 100%;
  border: 0;
  background: #fff;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #edf1f8;
  color: var(--anex-text);
}

.anex-dest-item:hover,
.anex-dest-item:focus-visible {
  background: #f3f6fb;
  outline: none;
}

.anex-dest-item--hotel {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 14px;
}

.anex-dest-icon {
  width: 20px;
  height: 20px;
  color: #6b7792;
}

.anex-dest-body {
  min-width: 0;
}

.anex-dest-name {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
}

.anex-dest-meta {
  font-size: 13px;
  font-weight: 600;
  color: var(--anex-label);
  white-space: nowrap;
}

.anex-dest-sub {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--anex-label);
}

.anex-dest-flag {
  font-size: 20px;
}

/* Пляжні та екскурсійні: місто вильоту обовʼязкове для пакетного пошуку (IT-Tour from_city) */
.anex-search-bar .anex-search-segment--from {
  display: flex;
  overflow: hidden;
  min-height: 0;
}

.anex-search-bar.is-mode-sea .anex-search-segment--from { flex: 0.9; min-width: 0; }
.anex-search-bar.is-mode-sea .anex-search-segment--country { flex: 1.15; }
.anex-search-bar.is-mode-sea .anex-search-segment--dates { flex: 0.95; }
.anex-search-bar.is-mode-sea .anex-search-segment--nights { flex: 0.75; }
.anex-search-bar.is-mode-sea .anex-search-segment--guests { flex: 0.7; }

.anex-search-bar.is-mode-excursion .anex-search-segment--from { flex: 0.95; }
.anex-search-bar.is-mode-excursion .anex-search-segment--country { flex: 1.2; }
.anex-search-bar.is-mode-excursion .anex-search-segment--dates { flex: 0.95; }
.anex-search-bar.is-mode-excursion .anex-search-segment--nights { flex: 0.8; }
.anex-search-bar.is-mode-excursion .anex-search-segment--guests { flex: 0.75; }

.ps-submit {
  flex: 0 0 auto;
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  margin: 0;
  padding: 0 28px;
  border: 0;
  border-radius: 0 var(--bar-radius) var(--bar-radius) 0;
  background: var(--anex-red);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: background 0.18s ease, filter 0.18s ease;
}

.ps-submit:hover {
  background: var(--anex-red-hover);
  filter: brightness(1.03);
}

/* Приховані поля */
.ps-hidden-fields {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* ——— Dropdown / panels ——— */
@keyframes anex-panel-pop {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes anex-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.anex-panel-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: transparent;
}

.anex-panel-backdrop:not([hidden]) {
  animation: anex-backdrop-in 0.18s ease both;
}

.anex-panel-backdrop[hidden] {
  display: none !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

.anex-panel[hidden] {
  display: none !important;
  pointer-events: none !important;
}

.anex-panel {
  position: fixed;
  z-index: 200;
  max-height: min(420px, 70vh);
  overflow: auto;
  padding: 8px 0;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 18px 52px rgba(15, 23, 42, 0.2);
  border: 1px solid var(--anex-line);
  transform-origin: top center;
}

.anex-panel:not([hidden]) {
  animation: anex-panel-pop 0.24s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.anex-panel-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.anex-panel-list button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 18px;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--anex-text);
  text-align: left;
  cursor: pointer;
  transition:
    background 0.18s ease,
    color 0.18s ease;
}

.anex-panel-list button:hover {
  background: #f3f6fb;
}

.anex-panel-list button.is-active {
  background: var(--anex-panel-active);
  color: #fff;
}

.anex-flag {
  font-size: 20px;
  line-height: 1;
}

.anex-panel-hint,
.anex-panel-title,
.anex-panel-sub {
  margin: 0;
  padding: 8px 16px;
  font-size: 12px;
  color: var(--anex-label);
}

.anex-panel-title {
  font-weight: 700;
  color: var(--anex-text);
}

/* Два календарі (дати виїзду) */
.anex-panel--dates {
  width: min(640px, calc(100vw - 32px));
  padding: 16px 12px 18px;
}

.anex-cal {
  display: grid;
  grid-template-columns: 32px 1fr 32px;
  align-items: start;
  gap: 4px;
}

.anex-cal-arrow {
  margin-top: 6px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #9aa3b5;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.anex-cal-arrow:hover {
  background: #eef2f8;
  color: var(--anex-text);
}

.anex-cal-months {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 28px;
}

.anex-cal-month-title {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--anex-text);
  text-align: center;
}

.anex-cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-bottom: 4px;
}

.anex-cal-weekdays span {
  font-size: 10px;
  font-weight: 700;
  color: var(--anex-label);
  text-align: center;
  padding: 4px 0;
}

.anex-cal-weekdays span.is-weekend {
  color: #e85d5d;
}

.anex-cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.anex-cal-day {
  aspect-ratio: 1;
  min-height: 34px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--anex-text);
  cursor: pointer;
}

.anex-cal-day:hover:not(:disabled) {
  background: #eef2f8;
}

.anex-cal-day:disabled {
  color: #d0d5df;
  cursor: default;
}

.anex-cal-day.is-other-month {
  visibility: hidden;
  pointer-events: none;
}

.anex-cal-day.in-range {
  border-radius: 0;
  background: var(--anex-range);
}

.anex-cal-day.range-start,
.anex-cal-day.range-end {
  border-radius: 50%;
  background: var(--anex-panel-active);
  color: #fff;
}

.anex-cal-day.in-range:not(.range-start):not(.range-end) {
  border-radius: 0;
}

.anex-dest-picker-hint {
  margin: 0;
  padding: 10px 16px 0;
  font-size: 12px;
  font-weight: 600;
  color: #6b7792;
  line-height: 1.35;
}

.anex-from-group-head {
  padding: 10px 16px 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9aa3b5;
  list-style: none;
}

.anex-nights-presets {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 16px;
}

.anex-nights-presets button {
  min-height: 48px;
  border: 1px solid var(--anex-line);
  border-radius: 10px;
  background: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  color: var(--anex-text);
  cursor: pointer;
}

.anex-nights-presets button:hover {
  border-color: #c5d0e4;
  background: #f6f8fc;
}

.anex-nights-presets button.is-selected {
  border-color: var(--anex-red);
  background: #fff5f6;
  color: var(--anex-red);
}

.anex-sheet-body--nights {
  padding: 0 0 8px;
}

/* Сітка ночей (референс) */
.anex-panel--nights {
  width: 320px;
  padding-bottom: 12px;
}

.anex-nights-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  padding: 4px 14px 12px;
}

.anex-nights-grid button {
  aspect-ratio: 1;
  border: 0;
  border-radius: 50%;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--anex-text);
  cursor: pointer;
}

.anex-nights-grid button:hover {
  background: #eef2f8;
}

.anex-nights-grid button.in-range {
  background: var(--anex-range);
}

.anex-nights-grid button.is-selected {
  background: var(--anex-panel-active);
  color: #fff;
}

/* Учасники — stepper */
.anex-panel--guests {
  width: 300px;
  padding: 12px 16px;
}

.anex-stepper-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.anex-stepper-row + .anex-stepper-row {
  border-top: 1px solid var(--anex-line);
}

.anex-stepper-row strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
}

.anex-stepper-row span {
  font-size: 12px;
  color: var(--anex-label);
}

.anex-stepper {
  display: flex;
  align-items: center;
  gap: 4px;
}

.anex-stepper button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: #eef1f6;
  font-size: 18px;
  font-weight: 700;
  color: var(--anex-text);
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.anex-stepper span {
  pointer-events: none;
}

.anex-stepper button:hover {
  background: #dde3ed;
}

.anex-stepper span {
  min-width: 28px;
  text-align: center;
  font-size: 16px;
  font-weight: 800;
  color: var(--anex-text);
}

/* Кнопка «Шукати» під карткою (mobile) */
.ps-submit--mobile {
  display: none;
}

.anex-search-segment--country-btn {
  display: none;
}

.anex-search-segment--country-edit {
  display: flex;
}

/* ——— Mobile (референс) ——— */
@media (max-width: 768px) {
  @keyframes anex-sheet-slide {
    from {
      opacity: 0;
      transform: translateY(12px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .proto-hero {
    padding: 20px 0 48px;
  }

  .atsp-site-header__inner,
  .atsp-site-footer__inner {
    width: min(100% - 32px, 1140px);
  }

  .atsp-site-header__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    min-height: 60px;
    gap: 8px 12px;
  }

  .atsp-brand {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    justify-self: start;
  }

  .atsp-nav-toggle {
    display: inline-flex;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .atsp-site-call {
    display: none !important;
  }

  .atsp-brand__img {
    max-width: 126px;
    max-height: 38px;
  }

  .atsp-brand__mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .atsp-brand__text {
    max-width: 132px;
    font-size: 15px;
  }

  .atsp-site-nav {
    display: none;
  }

  .atsp-site-footer {
    padding: 38px 0;
  }

  .atsp-site-footer__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .atsp-footer-form {
    padding: 18px;
    border-radius: 16px;
  }

  .atsp-footer-form__head strong {
    font-size: 21px;
  }

  .proto-page {
    padding: 0 16px;
  }

  .search-hero-copy {
    margin-bottom: 18px;
    text-align: left;
  }

  .search-hero-copy h1 {
    font-size: 30px;
    line-height: 1.1;
  }

  .search-hero-copy__lead {
    margin-top: 10px;
    font-size: 15px;
    line-height: 1.38;
  }

  .search-hero-support {
    align-items: flex-start;
    margin-top: 16px;
    padding-top: 14px;
    text-align: left;
  }

  .search-hero-support__line--primary {
    font-size: 13.5px;
    max-width: none;
  }

  .search-hero-support__line--muted {
    margin-top: 8px;
    font-size: 12px;
    max-width: none;
  }

  .hero-catalog-form {
    gap: 12px;
  }

  .anex-search-mode-switch {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 8px;
    padding-bottom: 2px;
  }

  .anex-search-mode-switch::-webkit-scrollbar {
    display: none;
  }

  .anex-search-mode-btn {
    flex-shrink: 0;
    padding: 9px 14px;
    font-size: 13px;
  }

  .anex-search-mode-btn.is-active {
    padding: 8px 13px;
  }

  .anex-tab-icon {
    width: 16px;
    height: 16px;
  }

  .anex-search-bar {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 32px rgba(7, 19, 42, 0.16);
  }

  .anex-search-segment--country-edit {
    display: none !important;
  }

  .anex-search-segment--country-btn {
    display: flex;
  }

  .anex-search-segment {
    flex: none;
    width: 100%;
    min-height: 52px;
    padding: 10px 16px;
    border-right: 0;
    border-bottom: 1px solid var(--anex-line);
  }

  .anex-search-segment--guests {
    border-bottom: 0 !important;
  }

  .anex-search-bar > .ps-submit {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
  }

  .anex-search-segment--chevron {
    padding-right: 40px;
  }

  .anex-segment-chevron {
    right: 16px;
    width: 16px;
    height: 16px;
  }

  .anex-segment-label {
    font-size: 12px;
    font-weight: 600;
    color: #9aa3b5;
  }

  .anex-segment-value {
    font-size: 15px;
  }

  .anex-search-bar .ps-submit {
    display: none;
  }

  .ps-submit--mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    margin-top: 10px;
    border: 0;
    border-radius: 12px;
    background: var(--anex-red);
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(243, 22, 36, 0.28);
  }

  .anex-search-bar .anex-search-segment--from {
    display: flex;
  }

  /* Sheets */
  body.anex-sheet-open {
    overflow: hidden;
  }

  .anex-panel-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1400;
    background: rgba(11, 18, 34, 0.45);
  }

  .anex-panel-backdrop[hidden] {
    display: none !important;
    pointer-events: none !important;
    visibility: hidden !important;
  }

  .anex-panel {
    position: fixed !important;
    inset: 0 !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    z-index: 1410;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
  }

  .anex-panel:not([hidden]) {
    animation: anex-sheet-slide 0.26s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .anex-panel[hidden] {
    display: none !important;
  }

  .anex-sheet {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 100dvh;
    background: #fff;
  }

  .anex-sheet-head {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    padding: 14px 16px;
    border-bottom: 1px solid var(--anex-line);
  }

  .anex-sheet-title {
    flex: 1;
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    color: var(--anex-text);
    text-align: left;
  }

  .anex-sheet-sub {
    margin: -8px 16px 12px;
    padding: 0;
    font-size: 13px;
    line-height: 1.4;
    color: var(--anex-muted, #6b7280);
  }

  .anex-search-segment--from.is-disabled,
  .anex-search-segment--from:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
  }

  .anex-sheet-back,
  .anex-sheet-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--anex-text);
    cursor: pointer;
    flex-shrink: 0;
  }

  .anex-sheet-back[hidden] {
    display: none !important;
  }

  .anex-sheet-back:hover,
  .anex-sheet-close:hover {
    background: #f0f3f8;
  }

  .anex-sheet-search {
    position: relative;
    flex-shrink: 0;
    padding: 12px 16px;
    border-bottom: 1px solid var(--anex-line);
  }

  .anex-sheet-search-input {
    width: 100%;
    min-height: 44px;
    padding: 0 44px 0 14px;
    border: 1px solid var(--anex-line);
    border-radius: 10px;
    background: #f4f6f9;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    color: var(--anex-text);
    -webkit-appearance: none;
    appearance: none;
  }

  .anex-sheet-search-input:focus {
    outline: none;
    border-color: var(--anex-accent);
    background: #fff;
  }

  .anex-sheet-search-icon {
    position: absolute;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    color: #9aa3b5;
    pointer-events: none;
  }

  .anex-sheet-body {
    flex: 1;
    min-height: 0;
    overflow: auto;
    padding: 0;
    -webkit-overflow-scrolling: touch;
  }

  .anex-sheet-body--flush {
    padding: 0;
  }

  .anex-sheet-foot {
    flex-shrink: 0;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--anex-line);
    background: #fff;
  }

  .anex-sheet-apply {
    width: 100%;
    min-height: 48px;
    border: 0;
    border-radius: 12px;
    background: var(--anex-red);
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
  }

  .anex-sheet-apply:hover {
    background: var(--anex-red-hover);
  }

  /* Напрямок mobile: одна колонка */
  .anex-panel--destination {
    padding: 0;
  }

  .anex-dest-browse {
    display: block;
    min-height: 0;
    max-height: none;
  }

  .anex-dest-col--countries {
    border-right: 0;
    background: #fff;
  }

  .anex-dest-col--regions {
    display: none;
  }

  .anex-dest-browse.is-regions-step .anex-dest-col--countries {
    display: none;
  }

  .anex-dest-browse.is-regions-step .anex-dest-col--regions {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow: hidden;
  }

  .anex-dest-browse.is-regions-step .anex-dest-regions {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .anex-panel--destination .anex-sheet-body--flush {
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
  }

  .anex-panel--destination .anex-dest-picker {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  .anex-dest-country {
    padding: 14px 16px;
    font-size: 15px;
  }

  .anex-dest-country-chevron {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--anex-line);
    border-radius: 6px;
    font-size: 14px;
  }

  .anex-dest-apply--desktop {
    display: none !important;
  }

  .anex-panel--destination .anex-sheet-foot--dest {
    display: none;
  }

  .anex-panel--destination.is-regions-step .anex-sheet-foot--dest {
    display: block;
  }

  .anex-panel--destination.is-excursion-picker .anex-sheet-foot--dest {
    display: none;
  }

  .anex-panel--destination.is-excursion-picker .anex-dest-col--regions {
    display: flex;
    flex-direction: column;
  }

  .anex-panel--destination.is-excursion-picker .anex-dest-browse {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .anex-dest-regions {
    padding-bottom: 8px;
  }

  .anex-dest-search-list {
    max-height: none;
  }

  /* Календар: 1 місяць */
  .anex-cal {
    grid-template-columns: 40px 1fr 40px;
    padding: 8px 8px 16px;
  }

  .anex-cal-months {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .anex-cal-month:nth-child(2) {
    display: none;
  }

  .anex-cal-day:disabled {
    text-decoration: line-through;
    color: #d0d5df;
  }

  .anex-panel--dates {
    padding: 0;
  }

  /* Ночі */
  .anex-nights-grid {
    grid-template-columns: repeat(7, 1fr);
    padding: 16px;
    gap: 8px;
  }

  .anex-panel-sub--mobile {
    padding: 0 16px 12px;
    margin: 0;
  }

  .anex-panel--nights .anex-panel-title {
    display: none;
  }

  /* Гості */
  .anex-panel--guests .anex-sheet-body {
    padding: 8px 16px;
  }

  .anex-stepper-row {
    padding: 16px 0;
  }

  .anex-stepper button {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .anex-search-mode-btn {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .anex-search-segment {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .anex-panel-list button {
    padding: 14px 16px;
    font-size: 15px;
  }
}

@media (min-width: 769px) {
  .anex-panel-backdrop:not([hidden]) {
    pointer-events: none;
    background: transparent;
  }

  .anex-search-segment--country-btn {
    display: none !important;
  }

  .anex-search-segment--country-edit {
    display: flex;
  }

  .ps-submit--mobile {
    display: none !important;
  }

  .anex-sheet-head,
  .anex-sheet-foot,
  .anex-sheet-search,
  .anex-sheet-back {
    display: none;
  }

  .anex-panel--sheet .anex-sheet {
    display: block;
    height: auto;
  }

  .anex-panel--sheet:not(.anex-panel--destination) .anex-sheet-body {
    overflow: visible;
  }

  /* Пікер напрямку: скрол усередині колонок, «Обрати» завжди видно */
  .anex-panel--destination.anex-panel--sheet {
    overflow: hidden;
    max-height: min(520px, 78vh);
    padding: 0;
    display: flex;
    flex-direction: column;
  }

  .anex-panel--destination .anex-sheet {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    max-height: inherit;
    height: 100%;
  }

  .anex-panel--destination .anex-sheet-body,
  .anex-panel--destination .anex-sheet-body--flush {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
  }

  .anex-panel--destination .anex-dest-picker-hint {
    flex-shrink: 0;
    padding: 8px 14px 6px;
  }

  .anex-panel--destination .anex-dest-picker {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .anex-panel--destination .anex-dest-browse {
    flex: 1 1 auto;
    min-height: 0;
    max-height: 100%;
    height: auto;
    overflow: hidden;
  }

  .anex-panel--destination .anex-sheet-foot--dest {
    display: none !important;
  }

  .anex-panel--destination .anex-dest-apply--desktop {
    display: block !important;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    box-shadow: 0 -4px 12px rgba(15, 23, 38, 0.06);
  }

  .anex-panel--destination.is-excursion-picker .anex-dest-apply--desktop {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .anex-search-mode-btn,
  .ps-submit,
  .anex-search-segment,
  .anex-segment-chevron,
  .anex-panel,
  .anex-panel-backdrop {
    transition: none;
    animation: none !important;
  }
}

.anex-child-ages {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--anex-line);
}

.anex-child-ages-hint {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--anex-label);
  line-height: 1.4;
}

.anex-child-age-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.anex-child-age-row label {
  font-size: 14px;
  font-weight: 700;
}

.anex-child-age-select {
  min-width: 120px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--anex-line);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  background: #fff;
  cursor: pointer;
}

.anex-from-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 16px;
  border: 0;
  border-bottom: 1px solid var(--anex-line);
  background: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.anex-from-row:hover,
.anex-from-row.is-active,
.anex-from-row:focus-visible {
  background: rgba(26, 93, 200, 0.08);
  outline: none;
}

.anex-from-row__icon {
  flex-shrink: 0;
  width: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7792;
}

.anex-from-row__body {
  flex: 1;
  min-width: 0;
}

.anex-from-row__name {
  display: block;
  font-size: 15px;
  font-weight: 700;
}

.anex-from-row__meta {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--anex-label);
  margin-top: 2px;
}

.anex-from-row--check {
  display: flex;
  align-items: center;
  cursor: pointer;
  margin: 0;
}

.anex-from-row--check input {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin: 0 10px 0 0;
  accent-color: #1f6feb;
}

.anex-search-segment--from .anex-segment-value.ps-from-chips {
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 4px;
  width: 100%;
  max-width: 100%;
  max-height: 22px;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(26, 34, 51, 0.22) transparent;
}

.anex-search-segment--from .anex-segment-value.ps-from-chips::-webkit-scrollbar {
  height: 3px;
}

.anex-search-segment--from .anex-segment-value.ps-from-chips::-webkit-scrollbar-thumb {
  background: rgba(26, 34, 51, 0.2);
  border-radius: 99px;
}

.ps-from-chip {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #eef2f8;
  font-size: 12px;
  font-weight: 700;
  color: var(--anex-text);
  line-height: 1.3;
  white-space: nowrap;
}

.ps-from-chip__x {
  border: 0;
  background: transparent;
  padding: 0 2px;
  font-size: 14px;
  line-height: 1;
  color: #6b7792;
  cursor: pointer;
}

.ps-from-chip__x:hover {
  color: #e31e24;
}
