/* Click Travel · Avia. Scoped to .av-app inside the 390 × 844 phone.
   Colours, radii and spacing use Coin tokens; raw values are only used where
   the Figma frames use raw values (price var(--av-price-color), hero gradient). */
/* Price colour: raw #5ca8ff in the Figma frames, no matching Coin token. */
.av-app{--av-price-color:#5ca8ff;--av-deal-color:#ff6600;position:absolute;inset:0;overflow:hidden;background:var(--theme-bg-ocean);color:var(--theme-text-primary);font-family:'Euclid Circular A',sans-serif;font-size:17px;line-height:22px;isolation:isolate;-webkit-font-smoothing:antialiased}
.av-app *{box-sizing:border-box}
.av-app :where(h1,h2,h3,p,ul){margin:0;padding:0}
.av-app :where(h1,h2,h3){font-size:inherit;line-height:inherit;font-weight:inherit}
.av-app :where(button:not(.cds-button)){font:inherit;color:inherit;border:0;background:none;padding:0;cursor:pointer;text-align:inherit}
.av-app :where(button:disabled){cursor:default}
.av-app :focus-visible{outline:2px solid var(--theme-stroke-accent);outline-offset:2px}
.av-icon{display:block;flex:none}
.av-screen{position:absolute;inset:0;display:flex;flex-direction:column}
.av-scroll{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none}
.av-scroll::-webkit-scrollbar,.av-scroll-x::-webkit-scrollbar{display:none}
.av-scroll-x{overflow-x:auto;scrollbar-width:none}
.av-home-indicator{position:absolute;left:125px;bottom:8px;width:140px;height:5px;border-radius:var(--radius-rounding);background:var(--theme-text-primary);z-index:40;pointer-events:none}

/* Navbar · 48px, starts below the 34px status area */
.av-navbar{flex:none;margin-top:34px;height:48px;padding:0 8px;display:flex;align-items:center;gap:0;position:relative;z-index:2}
.av-app .av-navbar__title{flex:1;min-width:0;text-align:center;font-weight:600;font-size:17px;line-height:22px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.av-navbar--light .av-navbar__title{color:var(--theme-text-always-white)}
.av-icon-btn{width:44px;height:44px;flex:none;display:grid;place-items:center}

/* Buttons (Coin Button) */
.av-app .av-button{width:100%;min-height:44px;font-size:17px}
.av-app .av-button--muted{background:var(--component-button-primary-disabled-bg);color:var(--component-button-primary-disabled-text)}
.av-app .av-button--ghost{background:transparent;color:var(--theme-text-accent);min-width:0;flex:1}
.av-footer-pair{display:flex;gap:var(--space-base-s)}
.av-footer-pair>.av-button:not(.av-button--ghost){flex:1}

/* Route block (from / to) */
.av-route{position:relative;background:var(--theme-bg-island);border-radius:var(--radius-island);display:flex;flex-direction:column;gap:2px}
.av-route__row{display:flex;align-items:center;gap:var(--space-base-s);padding:16px 72px 16px 10px;min-height:54px;width:100%}
.av-route__text{color:var(--theme-text-accent);font-size:17px;line-height:22px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.av-route__text.is-empty{color:var(--theme-text-tertiary)}
.av-route__swap{position:absolute;right:18px;top:calc(50% - 22.5px);width:44px;height:44px;border-radius:var(--radius-button)}
.av-route__swap :is(img,.av-svg){display:block}
.av-route--compact{background:var(--theme-bg-ocean);border-radius:var(--radius-garden)}
.av-route--compact .av-route__row{min-height:50px;padding-top:14px;padding-bottom:14px}

.av-chip-pair{display:flex;gap:var(--space-base-s)}
.av-pill{flex:1;min-width:0;display:flex;align-items:center;gap:var(--space-base-s);padding:4px 16px;min-height:42px;border-radius:var(--radius-rounding);background:var(--theme-bg-island);font-size:14px;line-height:18px;color:var(--theme-text-primary)}
.av-pill span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.av-pill .is-empty{color:var(--theme-text-secondary)}
.av-chip-pair--ocean .av-pill{background:var(--theme-bg-ocean);flex:none;min-height:34px;color:var(--theme-text-secondary)}
.av-find{margin-top:0}

/* Tab bar */
.av-tabbar{position:absolute;left:0;right:0;bottom:0;background:var(--theme-bg-island);border-top:1px solid var(--theme-bg-ocean);padding-bottom:21px;z-index:3}
.av-tabbar__items{display:flex;gap:var(--space-base-s);padding:0 var(--space-base-l)}
.av-tab{flex:1;min-width:56px;padding:12px 0 8px;display:flex;flex-direction:column;align-items:center;gap:6px;font-size:11px;line-height:14px;color:var(--theme-text-secondary)}
.av-tab.is-active{color:var(--theme-text-accent)}
.av-tabbar .av-home-indicator{bottom:8px}

/* ---------- City search ---------- */
.av-search__body{flex:1;padding:24px var(--space-base-l) 40px;display:flex;flex-direction:column;gap:var(--space-base-l)}
.av-search__field{display:flex;align-items:center;gap:var(--space-base-s);height:54px;padding-left:10px;border-radius:var(--radius-island)}
.av-search__field input{flex:1;min-width:0;height:100%;border:0;outline:0;background:transparent;font:inherit;font-size:17px;color:var(--theme-text-primary);caret-color:var(--theme-icon-accent)}
.av-search__nav{flex:none;width:44px;height:44px;display:grid;place-items:center;padding:0;border:0;background:none;cursor:pointer}
.av-quick{display:flex;gap:var(--space-base-s);margin-top:-8px;overflow-x:auto;scrollbar-width:none;margin-right:-16px;padding-right:16px}
.av-quick__chip{flex:none;height:34px;padding:0 16px;border-radius:var(--radius-chips);background:var(--theme-bg-island);font-size:14px;line-height:18px;color:var(--theme-text-secondary)}
.av-list{display:flex;flex-direction:column;gap:var(--space-base-s)}
.av-app .av-list__title{font-weight:500;font-size:17px;line-height:22px;color:var(--theme-text-secondary)}
.av-city{display:flex;align-items:center;gap:var(--space-base-m);padding:12px;border-radius:var(--radius-cell-button);background:var(--theme-bg-island);font-weight:500;width:100%}
.av-city__meta{color:var(--theme-text-tertiary)}
.av-city--recent .av-city__name{color:var(--theme-text-secondary)}
.av-city--popular .av-city__name{color:var(--theme-text-accent)}
.av-empty{color:var(--theme-text-secondary);font-size:14px;line-height:18px;padding:12px 4px}

/* ---------- Sheets ---------- */
.av-sheet-layer{position:absolute;inset:0;z-index:30}
.av-backdrop{position:absolute;inset:0;background:var(--theme-bg-backdrop);animation:av-fade .2s ease-out}
.av-sheet{position:absolute;left:0;right:0;bottom:0;max-height:calc(100% - 80px);display:flex;flex-direction:column;background:var(--theme-bg-ocean);border-radius:var(--radius-bottom-sheet) var(--radius-bottom-sheet) 0 0;outline:none;animation:av-rise .26s cubic-bezier(.23,1,.32,1)}
.av-sheet--tall{height:calc(100% - 80px)}
.av-sheet__handle{position:absolute;left:50%;top:8px;width:48px;height:5px;margin-left:-24px;border-radius:var(--radius-rounding);background:var(--theme-bg-accent)}
.av-sheet__head{padding:48px var(--space-base-l) 24px;display:flex;flex-direction:column;gap:6px}
.av-app .av-sheet__head h2{font-weight:600;font-size:22.5px;line-height:28px}
.av-app .av-sheet__head p{font-size:14px;line-height:18px;color:var(--theme-text-secondary)}
.av-sheet__body{flex:1;min-height:0;padding:0 var(--space-base-l) var(--space-base-l)}
.av-sheet__footer{flex:none;padding:16px var(--space-base-l) 48px}
.av-sheet:not(:has(.av-sheet__head)) .av-sheet__body{padding-top:48px}
/* Without a footer the list itself keeps 48px above the screen edge (clear of the home indicator). */
.av-sheet:not(:has(.av-sheet__footer)) .av-sheet__body{padding-bottom:48px}
@keyframes av-fade{from{opacity:0}}
@keyframes av-rise{from{transform:translateY(100%)}}
@media (prefers-reduced-motion:reduce){.av-backdrop,.av-sheet{animation:none}}

/* Calendar */
.av-cal{display:flex;flex-direction:column;gap:var(--space-base-s)}
.av-cal__week{display:flex;gap:0;padding:24px 8px;border-radius:var(--radius-island);background:var(--theme-bg-island);font-weight:500;font-size:14px;line-height:18px;text-align:center}
.av-cal__week span{flex:1}.av-cal__week .is-weekend{color:var(--theme-text-secondary)}
.av-cal__month{padding:16px 8px;border-radius:var(--radius-island);background:var(--theme-bg-island);display:flex;flex-direction:column;gap:2px}
.av-app .av-cal__month h3{padding:12px 20px;font-weight:500;font-size:17px;line-height:22px}
.av-cal__grid{display:grid;grid-template-columns:repeat(7,1fr);gap:5px 2px}
.av-day{height:30px;border-radius:var(--radius-garden);display:grid;place-items:center;font-size:14px;line-height:18px;color:var(--theme-text-primary);background:var(--theme-bg-island)}
.av-day.is-disabled{color:var(--theme-text-disabled);opacity:.35}
.av-day.is-past{color:var(--theme-text-secondary)}

.av-day.is-selected{background:var(--theme-bg-accent);color:var(--theme-text-always-white);box-shadow:none}
.av-day:not(:disabled):not(.is-disabled):not(.is-selected):hover{background:var(--theme-bg-hover-accent-component)}

/* Travellers */
.av-stack{display:flex;flex-direction:column;gap:var(--space-base-s)}
.av-cell{display:flex;align-items:center;justify-content:space-between;gap:var(--space-base-m);padding:16px;border-radius:var(--radius-island);background:var(--theme-bg-island)}
.av-cell--pax>div:first-child{display:flex;flex-direction:column;gap:12px}
.av-cell--plain{background:transparent;min-height:64px}
.av-cell__title{font-size:17px;line-height:22px}
.av-cell__hint{font-size:14px;line-height:18px;color:var(--theme-text-secondary)}
.av-stepper{width:94px;padding:4px;display:flex;align-items:center;justify-content:space-between;border-radius:var(--radius-rounding);background:var(--theme-bg-ocean)}
.av-stepper__btn{width:24px;height:24px;border-radius:var(--radius-rounding);display:grid;place-items:center;background:var(--theme-bg-accent)}
.av-stepper__btn:disabled{background:var(--theme-bg-disabled)}
.av-stepper__btn :is(path,rect){fill:var(--theme-icon-always-white)} /* − is white like + on every stepper */
.av-stepper__value{min-width:20px;text-align:center}

/* ---------- Results ---------- */
.av-results__top{flex:none;padding:34px var(--space-base-l) 0;display:flex;flex-direction:column;gap:var(--space-base-m)}
.av-trip{display:flex;align-items:center;gap:var(--space-base-m);padding:12px 4px 12px 0;border-radius:var(--radius-island);background:var(--theme-bg-island)}
.av-trip__back{margin-left:4px}
.av-trip__info{flex:1;min-width:0;display:flex;flex-direction:column;gap:8px}
.av-trip__route{display:flex;align-items:center;gap:8px;font-size:17px;line-height:22px}
.av-trip__route--plain{gap:12px}
.av-trip__dates{display:flex;align-items:center;gap:8px;font-size:14px;line-height:18px;color:var(--theme-text-secondary)}
.av-chips-row{display:flex;gap:var(--space-base-s);margin:0 -16px;padding:0 16px 4px}
.av-chip{flex:none;height:34px;padding:0 12px 0 16px;display:flex;align-items:center;gap:6px;border-radius:var(--radius-chips);background:var(--theme-bg-island);font-size:14px;line-height:18px;color:var(--theme-text-secondary)}
.av-chip.is-active{background:var(--component-chips-active-bg);color:var(--component-chips-active-text)}
.av-chip.is-active :is(img,.av-svg){filter:brightness(0) invert(1)}
.av-chips-row .av-chip .av-svg [fill]:not([fill=none]):not([fill=white]){fill:var(--theme-icon-primary)}
.av-chips-row .av-chip.is-active .av-svg{filter:none}
.av-chips-row .av-chip.is-active .av-svg [fill]:not([fill=none]){fill:var(--component-chips-active-text)}
.av-results__list{flex:1;padding:12px var(--space-base-l) 110px;display:flex;flex-direction:column;gap:var(--space-base-l)}
.av-fab{position:absolute;left:50%;bottom:44px;transform:translateX(-50%);display:flex;align-items:center;gap:8px;height:36px;padding:0 16px;border-radius:var(--radius-rounding);background:var(--theme-bg-ocean);box-shadow:0 2px 12px rgba(20,20,20,.14);font-size:14px;line-height:18px;z-index:5}
.av-empty-card{padding:24px 16px;border-radius:var(--radius-island);background:var(--theme-bg-island);display:flex;flex-direction:column;gap:8px;align-items:flex-start}

/* Ticket card (UI kit · Tickets) */
.av-ticket{display:flex;flex-direction:column;gap:4px;padding:16px 0;width:100%;border-radius:var(--radius-island);background:var(--theme-bg-island);overflow:hidden;flex:none}
.av-ticket--skeleton{padding:16px;gap:12px}
.av-ticket__head{display:flex;align-items:center;justify-content:space-between;padding:0 16px}
.av-ticket__icons{display:flex;gap:4px}
.av-mini-chip{padding:4px 12px;border-radius:var(--radius-chips);background:var(--theme-bg-ocean)}
.av-price{display:inline-flex;align-items:baseline;white-space:nowrap;color:var(--av-price-color)}
.av-price__whole{font-weight:600;font-size:19.5px;line-height:26px}
.av-price__rest,.av-price__cur{font-size:17px;line-height:22px}
.av-price__cur{padding-left:4px}
.av-price--small .av-price__whole{font-size:17px;line-height:22px}
.av-price--small .av-price__rest,.av-price--small .av-price__cur{font-size:14px;line-height:18px}
.av-cut{position:relative;height:24px;display:flex;align-items:center}
.av-cut__dash{flex:1;margin:0 16px;height:1px;background-image:linear-gradient(90deg,var(--theme-bg-ocean) 50%,transparent 50%);background-size:16px 1px}
.av-ticket__segs{display:flex;flex-direction:column;gap:8px;padding:0 16px}
.av-seg{display:flex;align-items:center;gap:12px}
/* Carrier logos shown as round avatars, like the Figma Uzbekistan Airways mark. */
.av-airline-img{flex:none;display:block;border-radius:50%;object-fit:cover;box-shadow:0 0 0 1px var(--theme-stroke-ocean)}
/* Airlines without a logo asset: IATA code on a round badge. */
.av-airline-code{flex:none;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:var(--primitive-colors-primary-electric-blue-c500-trans16);color:var(--theme-text-accent);font-weight:700;letter-spacing:-.2px}
.av-avatar{width:36px;height:36px;flex:none;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}
.av-avatar--stack{justify-content:center}
.av-avatar--stack :is(img,.av-svg):first-child{margin-bottom:-14px;position:relative;z-index:2}
.av-avatar--stack :is(img,.av-svg){margin-left:-2px}
.av-seg__route{flex:1;min-width:0;display:flex;align-items:center;gap:12px}
.av-seg__point{display:flex;flex-direction:column;gap:2px;font-size:14px;line-height:18px;width:38px;flex:none}
.av-seg__point b{font-weight:600;color:var(--theme-text-accent)}
.av-seg__point--end{align-items:flex-end;text-align:right}
.av-seg__line{flex:1;min-width:0;display:flex;align-items:center}
.av-seg__line :is(img,.av-svg){width:100%;height:1px;display:block}
.av-seg__meta{width:72px;flex:none;display:flex;flex-direction:column;align-items:flex-end;gap:2px;font-size:11px;line-height:14px;color:var(--theme-text-secondary);white-space:nowrap}
.av-seg__meta .is-direct{color:var(--primitive-colors-alert-malachite-green-c500)}
.av-seg__meta .is-transfer{color:var(--theme-text-attention)}

/* Filters & sort */
.av-filter-group{display:flex;flex-direction:column;gap:6px;margin-bottom:12px}
.av-filter-group__head{display:flex;align-items:center;justify-content:space-between;padding:6px 4px;font-size:12.5px;line-height:16px;color:var(--theme-text-secondary)}
.av-filter-group__head.is-collapsed :is(img,.av-svg){transform:rotate(-90deg)}
.av-filter-group__rows{display:flex;flex-direction:column;gap:6px}
.av-check-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:46px;padding:0 12px 0 14px;border-radius:var(--radius-island);background:var(--theme-bg-island);font-size:14px;line-height:18px;cursor:pointer}
.av-check-row--lg{min-height:56px;padding:0 16px;font-size:17px;line-height:22px;border-radius:var(--radius-island)}
.av-stack--tight{gap:8px}
.av-sheet--filters .av-sheet__head{padding-bottom:12px}

.av-research{padding:16px;border-radius:var(--radius-island);background:var(--theme-bg-island);display:flex;flex-direction:column;gap:16px}

/* ---------- Flight details ---------- */
.av-details__body,.av-booking__body,.av-mybooking__body{flex:1;padding:24px var(--space-base-l) 40px;display:flex;flex-direction:column;gap:var(--space-base-m)}
.av-leg{display:flex;flex-direction:column;gap:2px}
.av-leg__head{padding:16px;border-radius:var(--radius-island) var(--radius-island) var(--radius-garden) var(--radius-garden);background:var(--theme-bg-island);text-align:center;display:flex;flex-direction:column;gap:4px;position:relative}
.av-leg__head::after{content:'';position:absolute;left:16px;right:16px;bottom:-2px;border-bottom:1px dashed var(--theme-bg-ocean)}
.av-leg__route{display:flex;align-items:center;justify-content:center;gap:10px;font-weight:600}
.av-leg__date{font-weight:500;font-size:14px;line-height:18px;color:var(--theme-text-secondary)}
.av-leg__body{padding:16px;border-radius:var(--radius-garden) var(--radius-garden) var(--radius-island) var(--radius-island);background:var(--theme-bg-island);display:flex;flex-direction:column;gap:20px}
.av-flight{display:flex;flex-direction:column;gap:20px}
.av-flight__airline{display:flex;align-items:center;gap:16px}
.av-flight__name{font-weight:500}
.av-flight__code{margin-left:12px;font-size:14px;color:var(--theme-text-secondary)}
.av-flight__plane{font-size:14px;line-height:18px;color:var(--theme-text-secondary)}
.av-flight__timeline{position:relative;padding-left:20px;display:flex;flex-direction:column;gap:12px}
.av-flight__timeline::before{content:'';position:absolute;left:3px;top:4px;bottom:4px;border-left:1px dashed var(--primitive-colors-primary-electric-blue-c300)}
.av-flight__point{display:flex;flex-direction:column;gap:4px}
.av-flight__row,.av-flight__sub{display:flex;justify-content:space-between;gap:8px}
.av-flight__row>span:first-child{display:flex;align-items:center;gap:8px;font-size:17px}
.av-flight__row>span:last-child{text-align:right}
.av-flight__sub{font-size:14px;line-height:18px;color:var(--theme-text-secondary)}
.av-flight__duration{position:relative;font-size:12.5px;line-height:16px;color:var(--theme-text-accent);margin-left:-20px;padding-left:20px}
.av-flight__duration::before{content:'';position:absolute;left:0;top:4px;width:7px;height:7px;border-radius:50%;background:var(--theme-bg-accent)}
.av-layover{padding:10px 16px;border-radius:var(--radius-garden);background:var(--theme-bg-ocean);color:var(--theme-text-attention);font-size:12.5px;line-height:16px}
.av-card{padding:16px;border-radius:var(--radius-island);background:var(--theme-bg-island);display:flex;flex-direction:column;gap:16px}
.av-app .av-card__title{font-weight:600;font-size:18px;line-height:24px}
.av-card__head{display:flex;justify-content:space-between;align-items:center;gap:8px}
.av-choose-doc{flex:none;cursor:pointer;font:inherit;font-weight:500;font-size:14px;line-height:18px}
.av-tariffs__row{display:flex;gap:8px;margin:0 -16px;padding:0 16px}
.av-tariff{flex:none;width:175px;padding:12px;border-radius:var(--radius-garden);background:var(--theme-bg-ocean);display:flex;flex-direction:column;gap:12px}
.av-tariff ul{list-style:none;display:flex;flex-direction:column;gap:8px}
.av-tariff li{display:flex;align-items:center;gap:6px;font-size:12.5px;line-height:16px;color:var(--theme-text-secondary)}
.av-app .av-tariff__book{min-width:0;width:100%;min-height:36px}

/* ---------- Booking ---------- */
.av-booking__body{padding-top:34px}
.av-buyer{display:flex;justify-content:space-between;align-items:center}
.av-buyer span:last-child{font-size:14px}
.av-note{display:flex;gap:8px;align-items:center;font-size:12.5px;line-height:16px;color:var(--theme-text-secondary)}
.av-form{display:flex;flex-direction:column;gap:8px}
.av-form__pair{display:flex;gap:8px}
.av-form__pair>*{flex:1;min-width:0}
.av-app .av-field .cds-input__label{font-size:14px;line-height:18px}
.av-select{display:flex;flex-direction:column;gap:2px}
.av-select__label{font-size:14px;line-height:18px}
.av-select__field{position:relative;display:flex;align-items:center;height:46px;border:1px solid var(--component-input-on-island-normal-stroke);border-radius:var(--radius-input);background:var(--component-input-on-island-normal-bg)}
.av-select.is-error .av-select__field{border-color:var(--theme-stroke-error)}
.av-select select{appearance:none;width:100%;height:100%;border:0;background:transparent;padding:0 44px 0 12px;font:inherit;font-size:17px;color:var(--theme-text-primary);outline:0;cursor:pointer}
.av-select__field :is(img,.av-svg){position:absolute;right:14px;pointer-events:none}
.av-tourist-slot{display:flex;flex-direction:column;gap:2px}
.av-slot{display:flex;align-items:center;justify-content:space-between;height:46px;padding:0 14px 0 12px;border:1px solid var(--component-input-on-island-normal-stroke);border-radius:var(--radius-input);background:var(--component-input-on-island-normal-bg);color:var(--theme-text-accent);font-size:17px;width:100%}
.av-slot.is-error{border-color:var(--theme-stroke-error)}
.av-summary{margin:12px -16px -40px;padding:16px 16px 48px;border-radius:var(--radius-island) var(--radius-island) 0 0;background:var(--theme-bg-island);display:flex;flex-direction:column;gap:24px}
.av-summary__prices,.av-lines{display:flex;flex-direction:column;gap:8px}
.av-summary__prices p,.av-lines p,.av-paybar>p{display:flex;justify-content:space-between;align-items:center;font-size:14px;line-height:18px;color:var(--theme-text-secondary)}
.av-total{display:inline-flex;align-items:baseline;gap:0;color:var(--theme-text-primary);font-size:14px}
.av-total b{font-weight:600;font-size:17px;line-height:22px}
.av-total__cur{padding-left:4px}
.av-total--accent{color:var(--theme-text-accent)}
.av-hold{display:flex;align-items:center;gap:8px;padding:10px 16px;border-radius:var(--radius-garden);background:var(--theme-bg-ocean);color:var(--primitive-colors-alert-malachite-green-c500);font-size:12.5px;line-height:16px}
.av-sticky-footer{flex:none;padding:16px var(--space-base-l) 48px;background:var(--theme-bg-ocean)}

/* ---------- Мои брони ---------- */
.av-card--joined-top{border-radius:var(--radius-island) var(--radius-island) var(--radius-garden) var(--radius-garden);gap:8px}
.av-card--joined-bottom{margin-top:-8px;border-radius:var(--radius-garden) var(--radius-garden) var(--radius-island) var(--radius-island)}
.av-order{display:flex;justify-content:space-between;align-items:baseline}
.av-order b{font-weight:600}
.av-order span{font-size:14px;color:var(--theme-text-secondary)}
.av-status{display:flex;align-items:center;gap:6px;font-size:14px;line-height:18px;color:var(--theme-text-success)}
.av-pay-timer{display:flex;align-items:center;gap:10px;padding:8px 12px;border-radius:var(--radius-garden);background:var(--theme-bg-ocean);color:var(--theme-text-attention);font-size:14px;line-height:18px}
.av-annul{display:flex;gap:8px;padding:0 12px;font-size:12.5px;line-height:16px;color:var(--theme-text-secondary)}
.av-annul :is(img,.av-svg){margin-top:10px}
.av-annul__title{font-weight:500;font-size:14px;line-height:18px;color:var(--theme-text-primary);margin-bottom:4px}
.av-booked-route{display:flex;align-items:center;gap:16px}
.av-booked-route__title{font-weight:600;white-space:pre}
.av-booked-route__dates{font-size:11px;line-height:14px;color:var(--theme-text-secondary)}
.av-tags{display:flex;flex-wrap:wrap;gap:8px}
.av-tag{display:inline-flex;align-items:center;gap:8px;height:32px;padding:0 12px;border-radius:var(--radius-chips);background:var(--theme-bg-ocean);color:var(--theme-text-accent);font-size:14px;line-height:18px}
.av-soft-button{height:48px;border-radius:var(--radius-island);background:var(--theme-bg-natural);color:var(--theme-text-always-white);font-weight:600;text-align:center!important;width:100%}
.av-docs__head{display:flex;justify-content:space-between;align-items:center}
.av-docs__head span{font-size:14px}.av-docs__head .is-ready{color:var(--theme-text-success)}.av-docs__head .is-waiting{color:var(--theme-text-attention)}
.av-doc{display:flex;justify-content:space-between;align-items:center;height:44px;padding:0 12px;border-radius:var(--radius-garden);background:var(--theme-bg-ocean);color:var(--theme-text-accent);font-size:14px;width:100%}
.av-doc:disabled{color:var(--theme-text-tertiary)}
.av-doc:disabled :is(img,.av-svg),.av-doc-all:disabled :is(img,.av-svg){opacity:.45}
.av-doc-all{display:flex;align-items:center;justify-content:center;gap:12px;height:44px;font-weight:600;color:var(--theme-text-accent);width:100%}
.av-doc-all:disabled{color:var(--theme-text-disabled)}
.av-mybooking__body{padding-bottom:180px}
.av-mybooking:not(:has(.av-paybar)) .av-mybooking__body{padding-bottom:40px}
.av-paybar{position:absolute;left:0;right:0;bottom:0;padding:16px 16px 48px;border-radius:var(--radius-island) var(--radius-island) 0 0;background:var(--theme-bg-island);display:flex;flex-direction:column;gap:24px;box-shadow:0 -4px 16px rgba(20,20,20,.05);z-index:4}
/* Профиль 2.1: fields have no stroke at all (only an error turns red); 44px tall, 12px corners. */
.av-app :is(.cds-input__field,.av-select__field){border:0;min-height:44px}
.av-app :is(.cds-input__field,.av-select__field,.tr-gender__opt){border-radius:12px}
.av-app .av-select__field{height:44px}
.av-app .cds-input[data-error=true] .cds-input__field,.av-app .av-select.is-error .av-select__field{box-shadow:inset 0 0 0 1px var(--theme-stroke-error)}

/* ---------- Главный 3.0 (Новая концепция · 13788:34597) ---------- */
.av-h3{background:var(--theme-bg-ocean)}
.av-h3-header{position:absolute;left:0;right:0;top:0;height:82px;padding:34px 8px 0;display:flex;align-items:center;justify-content:space-between;background:var(--theme-bg-ocean);z-index:3}
.av-h3-logo{display:flex;align-items:center;gap:3px;padding:4px 12px 6px;border-radius:var(--radius-rounding);background:var(--theme-bg-island)}
.av-h3-logo :is(img,.av-svg){display:block}
.av-h3-scroll{position:absolute;inset:0;padding-top:106px;padding-bottom:85px}
.av-h3-content{position:relative;z-index:1;display:flex;flex-direction:column;gap:var(--space-base-xl);padding:0 var(--space-base-l)}
.av-h3-menu{display:flex;flex-direction:column;gap:var(--space-base-m)}
.av-h3-tabs{display:flex;gap:var(--space-base-m)}
.av-h3-tab{flex:1;display:flex;align-items:center;justify-content:center;gap:12px;padding:16px 8px;border-radius:var(--radius-island);background:var(--theme-bg-island);font-size:17px;line-height:22px;color:var(--theme-bg-neutral)}
.av-h3-tab.is-active{color:var(--theme-text-accent);font-weight:500}
.av-h3-route{position:relative;display:flex;flex-direction:column;gap:2px;border-radius:var(--radius-island);background:var(--theme-bg-island)}
.av-h3-route__row{display:flex;align-items:center;gap:8px;height:54px;padding:0 74px 0 10px;width:100%}
.av-h3-route__text{font-size:17px;line-height:22px;color:var(--theme-text-accent);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.av-h3-route__text.is-empty{color:var(--theme-text-tertiary)}
.av-h3-route__swap{position:absolute;right:22px;top:calc(50% - 20px);width:40px;height:40px}
.av-h3-route__swap :is(img,.av-svg){display:block}
.av-h3-chips{display:flex;gap:var(--space-base-m)}
.av-h3-chip{flex:1;min-width:0;display:flex;align-items:center;gap:8px;padding:4px 16px;min-height:42px;border-radius:var(--radius-rounding);background:var(--theme-bg-island);font-size:14px;line-height:18px;color:var(--theme-text-primary)}
.av-h3-chip span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.av-h3-actions{display:flex;gap:8px;padding-top:12px}
.av-h3-action{flex:1;height:58px;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:6px;padding:8px 6px 12px;border-radius:var(--radius-island);background:var(--theme-bg-island);font-size:12.5px;line-height:16px;color:var(--theme-text-primary);text-align:center!important}
.av-h3-action__icon{width:32px;height:32px;position:relative;flex:none}
.av-h3-action__icon :is(img,.av-svg){position:absolute}
.av-h3-head{display:flex;align-items:flex-end;gap:16px}
.av-app .av-h3-head h2{flex:1;font-weight:600;font-size:17px;line-height:22px}
.av-h3-link{font-size:14px;line-height:18px;color:var(--theme-text-accent)}
.av-h3-services{display:flex;flex-direction:column;gap:16px}
.av-h3-services__row{display:flex;gap:12px}
.av-h3-service{flex:1;display:flex;flex-direction:column;align-items:center;gap:8px;font-size:14px;line-height:18px;white-space:nowrap;text-align:center!important}
.av-h3-service__tile{position:relative;width:64px;height:64px;border-radius:var(--radius-island);overflow:hidden}
.av-h3-service__tile :is(img,.av-svg){position:absolute;object-fit:cover;max-width:none}
.av-h3-dots{display:flex;justify-content:center;gap:6px;margin-top:-4px}
.av-h3-banner{display:flex;flex-direction:column;scroll-margin-top:96px}
.av-h3-banner__top{position:relative;display:flex;align-items:center;gap:8px;margin-bottom:-24px;padding:8px 12px 32px;border-radius:var(--radius-island) var(--radius-island) 0 0;overflow:hidden;color:var(--theme-text-always-white);font-size:14px;line-height:18px}
.av-h3-banner__top--pink{background:linear-gradient(90deg,#ff5aa4,#e80078)}
.av-h3-banner__top--green{background:linear-gradient(90deg,#4cda85,#00a843)}
.av-h3-banner__top>div{flex:1}
.av-h3-banner__title{font-weight:600;font-size:17px;line-height:22px}
.av-h3-banner__art{position:absolute;right:12px;pointer-events:none}
.av-h3-banner__art--top{top:-8px;width:89px;height:78px;object-fit:cover}
.av-h3-banner__art--direct{top:-17px;width:95px;height:102px}
.av-h3-banner__art--direct :is(img,.av-svg):first-child{position:absolute;left:1.6px;top:5px;width:62.9px;height:89.7px;object-fit:cover;transform:rotate(-11.73deg)}
.av-h3-banner__art--direct :is(img,.av-svg):last-child{position:absolute;right:.26px;top:-.31px;width:48.7px;height:70.9px;object-fit:cover}
.av-h3-banner__body{position:relative;padding:12px;border-radius:var(--radius-island);background:var(--theme-bg-island);overflow:hidden;display:flex;flex-direction:column;gap:12px}
.av-h3-dest-row,.av-h3-direct-row,.av-h3-uz-row{display:flex;gap:8px;margin:0 -12px;padding:0 12px}
.av-h3-dest{flex:none;width:102px;display:flex;flex-direction:column;gap:4px}
.av-h3-dest__img{position:relative;height:128px;border-radius:var(--radius-garden);overflow:hidden;display:flex;flex-direction:column;align-items:center;padding:4px;color:var(--theme-text-always-white);text-align:center}
.av-h3-dest__img :is(img,.av-svg){position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.av-h3-dest__from{position:relative;font-size:11px;line-height:14px}
.av-h3-dest__name{position:relative;font-weight:600;font-size:17px;line-height:22px;white-space:nowrap;max-width:100%;overflow:hidden}
.av-h3-price-tag{display:flex;align-items:center;justify-content:center;gap:4px;padding:4px 8px;border-radius:var(--radius-rounding);background:var(--primitive-colors-primary-electric-blue-c500-trans16);font-weight:500;font-size:14px;line-height:18px;color:var(--av-price-color);white-space:nowrap}
.av-h3-origin{display:flex;align-items:center;gap:8px;border-radius:var(--radius-rounding);background:var(--theme-bg-ocean)}
.av-h3-origin>span{flex:1;padding-left:12px;font-size:14px;line-height:18px;color:var(--theme-text-secondary)}
.av-h3-origin-pill{display:flex;align-items:center;gap:8px;max-height:32px;padding:7px 12px;border-radius:var(--radius-rounding);background:var(--theme-bg-accent);color:var(--theme-text-always-white);font-weight:500;font-size:12.5px;line-height:16px;white-space:nowrap;flex:none}
.av-h3-direct-row{margin:0 -12px}
.av-h3-direct{position:relative;flex:none;display:flex;align-items:center;gap:32px;padding:12px;border-radius:var(--radius-island);background:var(--theme-bg-ocean)}
.av-h3-direct__info{width:182px;display:flex;align-items:center;gap:8px}
.av-h3-direct__info :is(img,.av-svg){align-self:center}
.av-h3-direct__info>span{display:flex;flex-direction:column;gap:2px;white-space:nowrap}
.av-h3-direct__route{font-weight:600;font-size:17px;line-height:22px;color:var(--theme-text-accent)}
.av-h3-direct__date{display:flex;gap:8px;font-weight:500;font-size:14px;line-height:18px;color:var(--theme-text-secondary)}
.av-h3-direct__date b{font-weight:500;color:var(--theme-text-primary)}
.av-h3-direct__price{width:59px;display:flex;flex-direction:column;align-items:center;color:var(--av-price-color);white-space:nowrap;font-weight:500;font-size:14px;line-height:18px}
.av-h3-direct__price b{font-weight:600;font-size:17px;line-height:22px}
.av-h3-view-all{height:36px;font-weight:600;font-size:15.5px;line-height:20px;color:var(--theme-text-accent);text-align:center!important;width:100%}
.av-h3-uz{position:relative;z-index:0;margin-top:-14px;padding:48px var(--space-base-l);background:var(--theme-bg-island);display:flex;flex-direction:column;gap:12px}
/* Rounded bottom of the page above (Figma «Shape»): drawn in CSS so it spans any width; Coin continent radius. */
.av-h3-uz::before{content:'';position:absolute;left:0;right:0;top:-28px;height:60px;border-radius:0 0 var(--radius-continent) var(--radius-continent);background:var(--theme-bg-ocean);pointer-events:none}
.av-h3-head--uz{position:relative;align-items:center;gap:8px}
.av-h3-head--uz>div{flex:1}
.av-h3-head--uz p{font-size:14px;line-height:18px;color:var(--theme-text-secondary)}
.av-h3-uz-row{margin:0 -16px;padding:0 16px}
.av-h3-uz-city{flex:none;width:111px;display:flex;flex-direction:column;gap:2px;text-align:left}
.av-h3-uz-city>:is(img,.av-svg){width:111px;height:76px;border-radius:var(--radius-garden);object-fit:cover;margin-bottom:6px}
.av-h3-uz-city__name{font-weight:500;font-size:14px;line-height:18px}
.av-h3-uz-city__price{display:flex;align-items:center;gap:4px;font-size:14px;line-height:18px;color:var(--av-price-color);white-space:nowrap}
.av-tab__wrap{position:relative;display:block}
.av-tab__icon{position:relative;display:block;width:24px;height:24px}
.av-tab__lottie{position:absolute;inset:0;pointer-events:none}
.av-tab__lottie svg{display:block}
/* Избранные: one quick heartbeat per tap (squeeze, pop, settle). */
.av-tab__pulse{display:block}
.av-tab__pulse.is-beat{animation:av-tab-beat .45s cubic-bezier(.3,.7,.4,1) both}
@keyframes av-tab-beat{0%{transform:scale(1)}25%{transform:scale(.78)}60%{transform:scale(1.22)}100%{transform:scale(1)}}
@media (prefers-reduced-motion: reduce){.av-tab__pulse.is-beat{animation:none}}
.av-tab__icon.is-playing .av-tab__static{visibility:hidden}
/* Bilet ikonkasi har tomondan 1px kichikroq: 24px maydonda 22px (statik va animatsiya). */
.av-tab[data-av-tab=bookings] .av-tab__icon>*{transform:scale(calc(22/24));transform-origin:center}
/* Active-bookings badge (as in the design: a 14px-high pill, wider than tall, 15px right / 7px above the
   24px icon): attention fill, white number, a ring of the tab bar colour where it overlaps the icon. */
.av-tab__badge{position:absolute;left:15px;top:-7px;min-width:18px;height:14px;padding:0 var(--space-base-2-xs);box-sizing:border-box;border-radius:var(--radius-rounding);background:var(--theme-bg-attention);box-shadow:0 0 0 2px var(--theme-bg-island);color:var(--theme-text-always-white);font-size:11px;line-height:14px;font-weight:400;text-align:center}

/* Inline SVG icons (src/icons.js): the wrapper takes the size, the SVG fills it. */
.av-svg{display:block;flex:none;line-height:0}
.av-svg>svg{display:block;width:100%;height:100%;overflow:visible}.av-app .av-sheet:focus-visible{outline:none}

/* ---------- Results 2.0 (6078:58508 one-way, 5936:10682 round trip) ---------- */
.av-res-head{flex:none;position:relative;z-index:2;padding:34px 0 16px;background:var(--theme-bg-island);border-radius:0 0 var(--radius-island) var(--radius-island);display:flex;flex-direction:column;gap:16px}
.av-res-nav{position:relative;height:48px;padding:0 8px;display:flex;align-items:center}
.av-res-nav__title{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center!important}
.av-res-nav__route{font-weight:600;font-size:17px;line-height:22px;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.av-res-nav__sub{font-size:14px;line-height:18px;color:var(--theme-text-secondary)}
.av-res-nav__drop{position:absolute;left:293px;top:12px;pointer-events:none}
.av-res-head__dates{padding:0 16px}
.av-dates{display:flex;gap:8px}
.av-date{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;gap:2px;padding:4px 8px;border-radius:var(--radius-garden);background:var(--theme-bg-ocean);text-align:center!important}
.av-date__month{font-size:11px;line-height:14px;color:var(--theme-text-secondary)}
.av-date b{font-weight:500;font-size:14px;line-height:18px;color:var(--theme-text-primary)}
.av-date__price{font-size:11px;line-height:14px;color:var(--av-price-color);white-space:nowrap}
.av-date.is-active{background:var(--theme-bg-accent)}
.av-date.is-active>*{color:var(--theme-text-always-white)}
.av-dates--compact{gap:4px}
.av-dates--compact .av-date{flex:none;padding:4px 6px}
.av-dates--compact .av-date b{font-weight:600;font-size:11px;line-height:14px}
.av-dates--compact .av-date__price{width:40px}
.av-date__price.is-cheapest{color:var(--av-deal-color)}
.av-results .av-results__list{padding:16px 16px 40px;gap:8px}
.av-results .av-results__list>.av-chips-row{flex:none;margin:0 -16px 4px}
.av-results .av-ticket{padding:16px 0}
.av-seg__meta--date{gap:2px}
.av-seg__meta--date b{font-weight:500;font-size:14px;line-height:18px;color:var(--theme-text-primary)}

/* Round trip: two columns */
.av-cols{flex:1;min-height:0;display:flex;gap:4px;padding:8px 8px 116px}
.av-col{flex:1;min-width:0;display:flex;flex-direction:column}
.av-col__head{flex:none;padding:8px;border-radius:var(--radius-island) var(--radius-island) 0 0;background:var(--theme-bg-island);display:flex;flex-direction:column;gap:8px}
.av-col__title{display:flex;justify-content:space-between;font-weight:500;font-size:14px;line-height:18px}
.av-col__title>span:first-child{display:flex;gap:8px;align-items:center}
.av-col__route{color:var(--theme-text-accent)}
/* Same 8px inset as the column head above, same 4px gap as the day cells. */
.av-col__chips{flex:none;display:flex;gap:4px;padding:8px;background:var(--theme-bg-island);border-top:2px solid var(--theme-stroke-ocean)}
.av-chip2{flex:none;display:flex;align-items:center;gap:4px;height:26px;padding:0 12px;border-radius:var(--radius-rounding);background:var(--theme-bg-ocean);font-weight:500;font-size:11px;line-height:14px;color:var(--theme-text-secondary);white-space:nowrap}
.av-chip2.is-active{background:var(--theme-bg-accent);color:var(--theme-text-always-white)}
/* Chip icons follow the chip: grey (Icon/Primary) when off, white when on. */
.av-chip2 .av-svg [fill]:not([fill=none]):not([fill=white]){fill:var(--theme-icon-primary)}
.av-chip2.is-active .av-svg [fill]:not([fill=none]){fill:var(--theme-icon-always-white)}
.av-col__list{flex:1;min-height:0;display:flex;flex-direction:column;gap:2px;padding-top:2px}
.av-col__empty{padding:16px 8px;font-size:12.5px;line-height:16px;color:var(--theme-text-secondary);background:var(--theme-bg-island);text-align:center}
.av-leg2{flex:none;display:flex;flex-direction:column;gap:4px;padding:8px 0;width:100%;background:var(--theme-bg-island);border:2px solid transparent;text-align:left}
.av-leg2.is-selected{background:color-mix(in srgb,var(--theme-bg-accent) 5%,var(--theme-bg-island));border-color:var(--theme-stroke-accent)}
.av-leg2--skeleton{padding:8px}
.av-leg2__head{display:flex;align-items:center;justify-content:space-between;padding:0 12px}
.av-mini-chip--small{padding:4px 8px;display:flex}
.av-leg2__route{display:block;padding:0 8px}
.av-leg2__route .av-seg__route{gap:8px;padding:6px 8px;border-radius:var(--radius-garden);background:var(--theme-bg-ocean)}
.av-leg2__foot{display:flex;justify-content:space-between;align-items:center;padding:4px 12px}
.av-leg2__price{font-weight:600;font-size:14px;line-height:18px;color:var(--av-price-color)}
.av-leg2__meta{display:flex;flex-direction:column;align-items:flex-end;gap:2px;font-size:11px;line-height:14px;color:var(--theme-text-secondary)}
.av-leg2__meta b{font-weight:500;color:var(--theme-text-primary)}
.av-leg2__stops{color:var(--theme-text-attention)}
.av-buybar{position:absolute;left:0;right:0;bottom:0;display:flex;align-items:flex-start;gap:24px;padding:16px 16px 48px;border-radius:var(--radius-island) var(--radius-island) 0 0;background:var(--theme-bg-island);z-index:4}
.av-buybar__total{flex:none;width:183px;padding:8px 0}
.av-buybar__total .av-price{color:var(--theme-text-accent)}
.av-buybar__total .av-price__whole{font-size:19.5px;line-height:26px}
.av-buybar__total .av-price__rest,.av-buybar__total .av-price__cur{font-size:17px;line-height:22px}
.av-buybar>.av-cell__hint{flex:1;padding:12px 0}
.av-app .av-buybar__btn{flex:1;min-width:0}
/* Date strips scroll sideways; one-way cells keep the Figma width (65px). */
.av-res-head__dates .av-dates .av-date{flex:none;width:65px}
.av-res-head__dates{padding:0}
.av-res-head__dates .av-dates{padding:0 16px;scroll-padding:0 16px}
.av-col__head .av-dates{margin:0 -8px;padding:0 8px}
.av-scroll-x{cursor:grab;-webkit-overflow-scrolling:touch}
.av-scroll-x:active{cursor:grabbing}
.av-leg2__dur{display:flex;align-items:center;gap:4px}
.av-leg2__stops{display:inline-flex;align-items:center;gap:2px;color:var(--theme-text-attention)}
.av-avatar--h{flex-direction:row;align-items:center;justify-content:flex-start}
.av-avatar--h>:first-child{margin-right:-12px;position:relative;z-index:2;margin-left:-2px}

/* Calendar cells per UI kit «Picker» (43:4146 Today, 426:4185 From, 91:927 To, 43:4164 Selected Mid).
   Tinted fill = accent at 16% (Coin primitive), so it works on light and dark islands. */
/* Like a native app: text can't be selected or copied (no long-press callout); fields still take typing and paste. */
.av-app{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.av-app :is(input,textarea,[contenteditable=true]){-webkit-user-select:text;user-select:text;-webkit-touch-callout:default}
.av-app{--av-tinted:var(--primitive-colors-primary-electric-blue-c500-trans16)}
.av-day{position:relative;z-index:0}
.av-day.is-today{background:var(--theme-bg-island);box-shadow:inset 0 0 0 1px var(--theme-bg-accent);color:var(--theme-text-accent);border-radius:var(--radius-garden)}
.av-app .av-day.is-range{background:var(--av-tinted);color:var(--theme-text-primary);border-radius:0;box-shadow:-1px 0 0 var(--av-tinted),1px 0 0 var(--av-tinted)}
.av-day.is-range.is-today{color:var(--theme-text-accent)}
.av-app .av-day.is-selected{background:var(--theme-bg-accent);color:var(--theme-text-always-white);border-radius:var(--radius-garden);box-shadow:none}
.av-day:not(:disabled):not(.is-disabled):not(.is-selected):not(.is-range):hover{background:var(--av-tinted)}
.av-leg2--skeleton{padding:8px;gap:8px}
.av-leg2--skeleton .av-leg2__head,.av-leg2--skeleton .av-leg2__foot{padding:0 4px}

/* ---------- Ticket cuts (built in CSS, no stretched pictures) ----------
   (The flat mask layers overlap their neighbours by 1px so no hairline shows at fractional scales.)
   A ticket punches its notches out of itself with a mask, so they are exact at any width and show
   whatever lies behind. Two Figma shapes:
   · «Cuter» / «Subtract» (tickets): the ticket is two pieces whose facing corners are rounded with
     --cut-r and meet on the cut line. --cut-x (vertical cut) or --cut-y (horizontal cut, measured by
     cuts.js) is the line's position.
   · «Ellipse» (search card): a half-circle bite of --cut-r on each side at --cut-y. */
.has-cut,.av-h3-direct{position:relative}
.has-cut{--cut-r:var(--radius-island);--c0:calc(var(--cut-y) - var(--cut-r));--d:#000 calc(var(--cut-r) - .5px),#0000 var(--cut-r);
 -webkit-mask:linear-gradient(#000 0 0) 0 0/100% calc(var(--c0) + 1px) no-repeat,linear-gradient(#000 0 0) 0 100%/100% calc(100% - var(--cut-y) - var(--cut-r) + 1px) no-repeat,linear-gradient(#000 0 0) calc(var(--cut-r) - 1px) var(--c0)/calc(100% - 2 * var(--cut-r) + 2px) calc(2 * var(--cut-r)) no-repeat,radial-gradient(circle at 100% 0,var(--d)) 0 var(--c0)/var(--cut-r) var(--cut-r) no-repeat,radial-gradient(circle at 0 0,var(--d)) 100% var(--c0)/var(--cut-r) var(--cut-r) no-repeat,radial-gradient(circle at 100% 100%,var(--d)) 0 var(--cut-y)/var(--cut-r) var(--cut-r) no-repeat,radial-gradient(circle at 0 100%,var(--d)) 100% var(--cut-y)/var(--cut-r) var(--cut-r) no-repeat;
 mask:linear-gradient(#000 0 0) 0 0/100% calc(var(--c0) + 1px) no-repeat,linear-gradient(#000 0 0) 0 100%/100% calc(100% - var(--cut-y) - var(--cut-r) + 1px) no-repeat,linear-gradient(#000 0 0) calc(var(--cut-r) - 1px) var(--c0)/calc(100% - 2 * var(--cut-r) + 2px) calc(2 * var(--cut-r)) no-repeat,radial-gradient(circle at 100% 0,var(--d)) 0 var(--c0)/var(--cut-r) var(--cut-r) no-repeat,radial-gradient(circle at 0 0,var(--d)) 100% var(--c0)/var(--cut-r) var(--cut-r) no-repeat,radial-gradient(circle at 100% 100%,var(--d)) 0 var(--cut-y)/var(--cut-r) var(--cut-r) no-repeat,radial-gradient(circle at 0 100%,var(--d)) 100% var(--cut-y)/var(--cut-r) var(--cut-r) no-repeat}
.bk-card.has-cut{--cut-r:10px}
.av-cut{height:24px}
.av-cut__dash{margin:0 var(--cut-r,16px)}

/* «Прямые рейсы» ticket on Главный: vertical cut between the route and the price (12 + 182 + 16). */
.av-h3-direct{--cut-x:210px;--cut-r:var(--radius-island);--c0:calc(var(--cut-x) - var(--cut-r));--d:#000 calc(var(--cut-r) - .5px),#0000 var(--cut-r);
 -webkit-mask:linear-gradient(#000 0 0) 0 0/calc(var(--c0) + 1px) 100% no-repeat,linear-gradient(#000 0 0) 100% 0/calc(100% - var(--cut-x) - var(--cut-r) + 1px) 100% no-repeat,linear-gradient(#000 0 0) var(--c0) calc(var(--cut-r) - 1px)/calc(2 * var(--cut-r)) calc(100% - 2 * var(--cut-r) + 2px) no-repeat,radial-gradient(circle at 0 100%,var(--d)) var(--c0) 0/var(--cut-r) var(--cut-r) no-repeat,radial-gradient(circle at 100% 100%,var(--d)) var(--cut-x) 0/var(--cut-r) var(--cut-r) no-repeat,radial-gradient(circle at 0 0,var(--d)) var(--c0) 100%/var(--cut-r) var(--cut-r) no-repeat,radial-gradient(circle at 100% 0,var(--d)) var(--cut-x) 100%/var(--cut-r) var(--cut-r) no-repeat;
 mask:linear-gradient(#000 0 0) 0 0/calc(var(--c0) + 1px) 100% no-repeat,linear-gradient(#000 0 0) 100% 0/calc(100% - var(--cut-x) - var(--cut-r) + 1px) 100% no-repeat,linear-gradient(#000 0 0) var(--c0) calc(var(--cut-r) - 1px)/calc(2 * var(--cut-r)) calc(100% - 2 * var(--cut-r) + 2px) no-repeat,radial-gradient(circle at 0 100%,var(--d)) var(--c0) 0/var(--cut-r) var(--cut-r) no-repeat,radial-gradient(circle at 100% 100%,var(--d)) var(--cut-x) 0/var(--cut-r) var(--cut-r) no-repeat,radial-gradient(circle at 0 0,var(--d)) var(--c0) 100%/var(--cut-r) var(--cut-r) no-repeat,radial-gradient(circle at 100% 0,var(--d)) var(--cut-x) 100%/var(--cut-r) var(--cut-r) no-repeat}
/* Its dashed line (Figma «Line»): 3.77px dashes on a 7.54px step, only whole dashes, between the corners. */
.av-h3-direct::after{content:'';position:absolute;left:calc(var(--cut-x) - 1px);top:var(--cut-r);bottom:var(--cut-r);width:2px;background:linear-gradient(180deg,var(--theme-bg-island) 50%,#0000 0) 0 0/2px 7.54px space;pointer-events:none}

/* Search card (Figma «Ellipse» notches + «Vector 1» divider) */
.av-route,.av-h3-route{--cut-r:10px;--d:#0000 var(--cut-r),#000 calc(var(--cut-r) + .5px);
 -webkit-mask:radial-gradient(circle at 0 50%,var(--d)) 0 0/51% 100% no-repeat,radial-gradient(circle at 100% 50%,var(--d)) 100% 0/51% 100% no-repeat;
 mask:radial-gradient(circle at 0 50%,var(--d)) 0 0/51% 100% no-repeat,radial-gradient(circle at 100% 50%,var(--d)) 100% 0/51% 100% no-repeat}
/* Rounded 10.2px dashes on a 22.4px step, laid out with «space» so the row always ends on whole dashes. */
.av-route__divider,.av-h3-route__divider{position:absolute;left:calc(var(--cut-r) + 4px);right:calc(var(--cut-r) + 4px);top:calc(50% - 1px);height:2px;pointer-events:none;--dash:var(--theme-bg-ocean);
 background:radial-gradient(circle at 6.1px 1px,var(--dash) .9px,#0000 1.1px) 0 0/22.4px 2px space,radial-gradient(circle at 16.3px 1px,var(--dash) .9px,#0000 1.1px) 0 0/22.4px 2px space,linear-gradient(90deg,#0000 6.1px,var(--dash) 0 16.3px,#0000 0) 0 0/22.4px 2px space}
.av-route__divider{--dash:var(--theme-bg-natural)}

/* ---------- Included / not included ----------
   One rule for every list of fare and room conditions: what the fare includes is accent (icon and
   text), what it does not include is grey: secondary text with the Coin grey icon (icon-primary). Only accent-coloured icon parts are
   recoloured, so white details inside an icon stay as they are. */
.av-app .av-feat{color:var(--theme-text-accent)}
.av-app .av-feat.is-off{color:var(--theme-text-secondary)}
.av-feat.is-off .av-icon [fill="var(--theme-icon-accent)"]{fill:var(--theme-icon-primary)}
.av-feat.is-off .av-icon [stroke="var(--theme-icon-accent)"]{stroke:var(--theme-icon-primary)}

/* ---------- Search fields: Coin Input states («on ocean») ----------
   The hand-built search fields (city search, tours, Azal) take the Coin Input component tokens:
   normal → hover → focused-empty → filled → focused-filled, shown with the Coin 1px stroke instead of
   the browser focus ring. */
/* Search fields: no stroke unless focused (user rule); focused states keep the Coin stroke. */
.av-search__field,.tr-search,.pr-search{--f-bg:var(--component-input-on-ocean-normal-bg);--f-stroke:transparent;--f-ph:var(--component-input-on-ocean-normal-placeholder-text);--f-text:var(--component-input-on-ocean-filled-input-text);
 background:var(--f-bg);border:1px solid var(--f-stroke);transition:background-color .12s ease,border-color .12s ease;cursor:text}
:is(.av-search__field,.tr-search,.pr-search):has(input:focus:placeholder-shown){--f-bg:var(--component-input-on-ocean-focused-empty-bg);--f-stroke:var(--component-input-on-ocean-focused-empty-stroke);--f-ph:var(--component-input-on-ocean-focused-empty-placeholder-text)}
:is(.av-search__field,.tr-search,.pr-search):has(input:not(:focus):not(:placeholder-shown)){--f-bg:var(--component-input-on-ocean-filled-bg);--f-stroke:transparent}
:is(.av-search__field,.tr-search,.pr-search):has(input:focus:not(:placeholder-shown)){--f-bg:var(--component-input-on-ocean-focused-filled-bg);--f-stroke:var(--component-input-on-ocean-focused-filled-stroke);--f-text:var(--component-input-on-ocean-focused-filled-input-text)}
:is(.av-search__field,.tr-search,.pr-search) input{color:var(--f-text);caret-color:var(--theme-icon-accent)}
:is(.av-search__field,.tr-search,.pr-search) input::placeholder{color:var(--f-ph);opacity:1}
.av-app :is(.av-search__field,.tr-search,.pr-search) input:focus-visible{outline:none}
/* Coin Input shows focus with its own accent stroke; the inner field gets no extra browser ring. */
.av-app .cds-input__control:focus-visible,.av-app .cds-input__control:focus{outline:none}
/* Search fields: the leading icon is grey (--theme-icon-primary) and turns accent only while focused (user rule). */
:is(.av-search__field,.tr-search,.pr-search)>.av-icon:first-child :is(path,circle,rect,ellipse,line,polyline,polygon)[fill]:not([fill=none]){fill:var(--theme-icon-primary);transition:fill .12s ease}
:is(.av-search__field,.tr-search,.pr-search)>.av-icon:first-child :is(path,circle,rect,ellipse,line,polyline,polygon)[stroke]:not([stroke=none]){stroke:var(--theme-icon-primary);transition:stroke .12s ease}
:is(.av-search__field,.tr-search,.pr-search):has(input:focus)>.av-icon:first-child :is(path,circle,rect,ellipse,line,polyline,polygon)[fill]:not([fill=none]){fill:var(--theme-icon-accent)}
:is(.av-search__field,.tr-search,.pr-search):has(input:focus)>.av-icon:first-child :is(path,circle,rect,ellipse,line,polyline,polygon)[stroke]:not([stroke=none]){stroke:var(--theme-icon-accent)}

/* ---------- Calendar prices ----------
   With a route chosen every day shows its cheapest fare under the number in the price colour; the
   days at least 40% below the usual price use --av-deal-color. */
.av-day{grid-auto-flow:row;align-content:center;gap:1px}
.av-cal--prices .av-day{height:40px}
.av-day__price{font-size:10px;line-height:12px;font-weight:400;color:var(--av-price-color);white-space:nowrap}
.av-day__price.is-cheapest{color:var(--av-deal-color);font-weight:500}
.av-app .av-day.is-selected .av-day__price{color:var(--theme-text-always-white);opacity:.85}
.av-app .av-cal__legend{display:flex;justify-content:space-between;gap:8px;padding:0 4px;font-size:12.5px;line-height:16px;color:var(--theme-text-secondary)}
.av-cal__legend-cheap{display:inline-flex;align-items:center;gap:6px;color:var(--av-deal-color)}
.av-cal__legend-cheap i{width:6px;height:6px;border-radius:var(--radius-rounding);background:var(--av-deal-color)}

/* All Coin buttons use the island radius (16), and large ones are 48 high (ghost ones too), as asked. */
.av-app .cds-button{border-radius:var(--radius-island)}
.av-app .cds-button.cds-button--large{height:48px;min-height:48px}

/* Range ends per «Picker» 91:921 (From) / 91:927 (To): the selected edge points into the range.
   Cells take the full row width, so the shape is built in two parts: the rounded body is a CSS block (::before)
   that stretches with the cell, and only the arrow tip is an image (assets/calendar/tip-*, inlined as data URIs so it shows on the same frame as the tap), drawn from the Figma
   shape for the 36px cell and the 48px price cell. The tint behind the tip continues the band.
   The thin #00AAFF outline (Figma Services/200) only marks today, as on the plain «Today» cell. */
.av-app .av-day.is-start,.av-app .av-day.is-end{--tip:15px;--tip-h:30px;border-radius:0;background:var(--tip-img) no-repeat,linear-gradient(var(--av-tinted),var(--av-tinted)) no-repeat;background-size:var(--tip) var(--tip-h),50% 100%;background-position:right center,right center}
.av-app .av-day.is-end{background-position:left center,left center}
.av-app .av-cal--prices .av-day:is(.is-start,.is-end){--tip:20px;--tip-h:40px}
.av-day.is-start{--tip-img:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='30' viewBox='29.0013 0 15.0000 30' fill='none'%3E%3Cpath d='M0.0 12.8C0.0 8.32 0.0 6.079 0.872 4.368C1.639 2.863 2.863 1.639 4.368 0.872C6.079 0.0 8.32 0.0 12.8 0.0H31.031C33.541 0.0 34.795 0.0 35.89 0.395C36.859 0.743 37.733 1.312 38.445 2.055C39.25 2.895 39.76 4.042 40.779 6.335L42.705 10.668C43.414 12.263 43.768 13.061 43.908 13.89C44.032 14.625 44.032 15.375 43.908 16.11C43.768 16.939 43.414 17.737 42.705 19.332L40.779 23.665C39.76 25.958 39.25 27.105 38.445 27.945C37.733 28.689 36.859 29.257 35.89 29.605C34.795 30.0 33.541 30.0 31.031 30.0H12.8C8.32 30.0 6.079 30.0 4.368 29.128C2.863 28.361 1.639 27.137 0.872 25.632C0.0 23.921 0.0 21.68 0.0 17.2V12.8Z' fill='%230077FF'/%3E%3C/svg%3E")}
.av-day.is-end{--tip-img:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='30' viewBox='0 0 15.0000 30' fill='none'%3E%3Cpath d='M44.001 12.8C44.001 8.32 44.001 6.079 43.129 4.368C42.362 2.863 41.139 1.639 39.633 0.872C37.922 0.0 35.682 0.0 31.201 0.0H12.97C10.461 0.0 9.206 0.0 8.111 0.395C7.143 0.743 6.268 1.312 5.556 2.055C4.751 2.895 4.242 4.042 3.222 6.335L1.297 10.668C0.588 12.263 0.233 13.061 0.093 13.89C-0.031 14.625 -0.031 15.375 0.093 16.11C0.233 16.939 0.588 17.737 1.297 19.332L3.222 23.665C4.242 25.958 4.751 27.105 5.556 27.945C6.268 28.689 7.143 29.257 8.111 29.605C9.206 30.0 10.461 30.0 12.97 30.0H31.201C35.682 30.0 37.922 30.0 39.633 29.128C41.139 28.361 42.362 27.137 43.129 25.632C44.001 23.921 44.001 21.68 44.001 17.2V12.8Z' fill='%230077FF'/%3E%3C/svg%3E")}
.av-day.is-start.is-today{--tip-img:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='30' viewBox='29.0013 0 15.0000 30' fill='none'%3E%3Cdefs%3E%3CclipPath id='c'%3E%3Cpath d='M0.0 12.8C0.0 8.32 0.0 6.079 0.872 4.368C1.639 2.863 2.863 1.639 4.368 0.872C6.079 0.0 8.32 0.0 12.8 0.0H31.031C33.541 0.0 34.795 0.0 35.89 0.395C36.859 0.743 37.733 1.312 38.445 2.055C39.25 2.895 39.76 4.042 40.779 6.335L42.705 10.668C43.414 12.263 43.768 13.061 43.908 13.89C44.032 14.625 44.032 15.375 43.908 16.11C43.768 16.939 43.414 17.737 42.705 19.332L40.779 23.665C39.76 25.958 39.25 27.105 38.445 27.945C37.733 28.689 36.859 29.257 35.89 29.605C34.795 30.0 33.541 30.0 31.031 30.0H12.8C8.32 30.0 6.079 30.0 4.368 29.128C2.863 28.361 1.639 27.137 0.872 25.632C0.0 23.921 0.0 21.68 0.0 17.2V12.8Z'/%3E%3C/clipPath%3E%3C/defs%3E%3Cpath d='M0.0 12.8C0.0 8.32 0.0 6.079 0.872 4.368C1.639 2.863 2.863 1.639 4.368 0.872C6.079 0.0 8.32 0.0 12.8 0.0H31.031C33.541 0.0 34.795 0.0 35.89 0.395C36.859 0.743 37.733 1.312 38.445 2.055C39.25 2.895 39.76 4.042 40.779 6.335L42.705 10.668C43.414 12.263 43.768 13.061 43.908 13.89C44.032 14.625 44.032 15.375 43.908 16.11C43.768 16.939 43.414 17.737 42.705 19.332L40.779 23.665C39.76 25.958 39.25 27.105 38.445 27.945C37.733 28.689 36.859 29.257 35.89 29.605C34.795 30.0 33.541 30.0 31.031 30.0H12.8C8.32 30.0 6.079 30.0 4.368 29.128C2.863 28.361 1.639 27.137 0.872 25.632C0.0 23.921 0.0 21.68 0.0 17.2V12.8Z' fill='%230077FF'/%3E%3Cpath d='M0.0 12.8C0.0 8.32 0.0 6.079 0.872 4.368C1.639 2.863 2.863 1.639 4.368 0.872C6.079 0.0 8.32 0.0 12.8 0.0H31.031C33.541 0.0 34.795 0.0 35.89 0.395C36.859 0.743 37.733 1.312 38.445 2.055C39.25 2.895 39.76 4.042 40.779 6.335L42.705 10.668C43.414 12.263 43.768 13.061 43.908 13.89C44.032 14.625 44.032 15.375 43.908 16.11C43.768 16.939 43.414 17.737 42.705 19.332L40.779 23.665C39.76 25.958 39.25 27.105 38.445 27.945C37.733 28.689 36.859 29.257 35.89 29.605C34.795 30.0 33.541 30.0 31.031 30.0H12.8C8.32 30.0 6.079 30.0 4.368 29.128C2.863 28.361 1.639 27.137 0.872 25.632C0.0 23.921 0.0 21.68 0.0 17.2V12.8Z' stroke='%2300AAFF' stroke-width='2' clip-path='url(%23c)'/%3E%3C/svg%3E")}
.av-day.is-end.is-today{--tip-img:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='30' viewBox='0 0 15.0000 30' fill='none'%3E%3Cdefs%3E%3CclipPath id='c'%3E%3Cpath d='M44.001 12.8C44.001 8.32 44.001 6.079 43.129 4.368C42.362 2.863 41.139 1.639 39.633 0.872C37.922 0.0 35.682 0.0 31.201 0.0H12.97C10.461 0.0 9.206 0.0 8.111 0.395C7.143 0.743 6.268 1.312 5.556 2.055C4.751 2.895 4.242 4.042 3.222 6.335L1.297 10.668C0.588 12.263 0.233 13.061 0.093 13.89C-0.031 14.625 -0.031 15.375 0.093 16.11C0.233 16.939 0.588 17.737 1.297 19.332L3.222 23.665C4.242 25.958 4.751 27.105 5.556 27.945C6.268 28.689 7.143 29.257 8.111 29.605C9.206 30.0 10.461 30.0 12.97 30.0H31.201C35.682 30.0 37.922 30.0 39.633 29.128C41.139 28.361 42.362 27.137 43.129 25.632C44.001 23.921 44.001 21.68 44.001 17.2V12.8Z'/%3E%3C/clipPath%3E%3C/defs%3E%3Cpath d='M44.001 12.8C44.001 8.32 44.001 6.079 43.129 4.368C42.362 2.863 41.139 1.639 39.633 0.872C37.922 0.0 35.682 0.0 31.201 0.0H12.97C10.461 0.0 9.206 0.0 8.111 0.395C7.143 0.743 6.268 1.312 5.556 2.055C4.751 2.895 4.242 4.042 3.222 6.335L1.297 10.668C0.588 12.263 0.233 13.061 0.093 13.89C-0.031 14.625 -0.031 15.375 0.093 16.11C0.233 16.939 0.588 17.737 1.297 19.332L3.222 23.665C4.242 25.958 4.751 27.105 5.556 27.945C6.268 28.689 7.143 29.257 8.111 29.605C9.206 30.0 10.461 30.0 12.97 30.0H31.201C35.682 30.0 37.922 30.0 39.633 29.128C41.139 28.361 42.362 27.137 43.129 25.632C44.001 23.921 44.001 21.68 44.001 17.2V12.8Z' fill='%230077FF'/%3E%3Cpath d='M44.001 12.8C44.001 8.32 44.001 6.079 43.129 4.368C42.362 2.863 41.139 1.639 39.633 0.872C37.922 0.0 35.682 0.0 31.201 0.0H12.97C10.461 0.0 9.206 0.0 8.111 0.395C7.143 0.743 6.268 1.312 5.556 2.055C4.751 2.895 4.242 4.042 3.222 6.335L1.297 10.668C0.588 12.263 0.233 13.061 0.093 13.89C-0.031 14.625 -0.031 15.375 0.093 16.11C0.233 16.939 0.588 17.737 1.297 19.332L3.222 23.665C4.242 25.958 4.751 27.105 5.556 27.945C6.268 28.689 7.143 29.257 8.111 29.605C9.206 30.0 10.461 30.0 12.97 30.0H31.201C35.682 30.0 37.922 30.0 39.633 29.128C41.139 28.361 42.362 27.137 43.129 25.632C44.001 23.921 44.001 21.68 44.001 17.2V12.8Z' stroke='%2300AAFF' stroke-width='2' clip-path='url(%23c)'/%3E%3C/svg%3E")}
.av-cal--prices .av-day.is-start{--tip-img:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='40' viewBox='24.0013 0 20.0000 40' fill='none'%3E%3Cpath d='M0.0 12.8C0.0 8.32 0.0 6.079 0.872 4.368C1.639 2.863 2.863 1.639 4.368 0.872C6.079 0.0 8.32 0.0 12.8 0.0H26.708C30.054 0.0 31.726 0.0 33.187 0.526C34.478 0.991 35.643 1.749 36.593 2.739C37.667 3.86 38.346 5.389 39.705 8.446L42.273 14.224C43.218 16.351 43.691 17.414 43.877 18.52C44.043 19.5 44.043 20.5 43.877 21.48C43.691 22.586 43.218 23.649 42.273 25.776L39.705 31.554C38.346 34.611 37.667 36.14 36.593 37.261C35.643 38.251 34.478 39.009 33.187 39.474C31.726 40.0 30.054 40.0 26.708 40.0H12.8C8.32 40.0 6.079 40.0 4.368 39.128C2.863 38.361 1.639 37.137 0.872 35.632C0.0 33.921 0.0 31.68 0.0 27.2V12.8Z' fill='%230077FF'/%3E%3C/svg%3E")}
.av-cal--prices .av-day.is-end{--tip-img:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='40' viewBox='0 0 20.0000 40' fill='none'%3E%3Cpath d='M44.001 12.8C44.001 8.32 44.001 6.079 43.129 4.368C42.362 2.863 41.139 1.639 39.633 0.872C37.922 0.0 35.682 0.0 31.201 0.0H17.293C13.948 0.0 12.275 0.0 10.814 0.526C9.524 0.991 8.358 1.749 7.409 2.739C6.335 3.86 5.655 5.389 4.297 8.446L1.729 14.224C0.783 16.351 0.311 17.414 0.124 18.52C-0.041 19.5 -0.041 20.5 0.124 21.48C0.311 22.586 0.783 23.649 1.729 25.776L4.297 31.554C5.655 34.611 6.335 36.14 7.409 37.261C8.358 38.251 9.524 39.009 10.814 39.474C12.275 40.0 13.948 40.0 17.293 40.0H31.201C35.682 40.0 37.922 40.0 39.633 39.128C41.139 38.361 42.362 37.137 43.129 35.632C44.001 33.921 44.001 31.68 44.001 27.2V12.8Z' fill='%230077FF'/%3E%3C/svg%3E")}
.av-cal--prices .av-day.is-start.is-today{--tip-img:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='40' viewBox='24.0013 0 20.0000 40' fill='none'%3E%3Cdefs%3E%3CclipPath id='c'%3E%3Cpath d='M0.0 12.8C0.0 8.32 0.0 6.079 0.872 4.368C1.639 2.863 2.863 1.639 4.368 0.872C6.079 0.0 8.32 0.0 12.8 0.0H26.708C30.054 0.0 31.726 0.0 33.187 0.526C34.478 0.991 35.643 1.749 36.593 2.739C37.667 3.86 38.346 5.389 39.705 8.446L42.273 14.224C43.218 16.351 43.691 17.414 43.877 18.52C44.043 19.5 44.043 20.5 43.877 21.48C43.691 22.586 43.218 23.649 42.273 25.776L39.705 31.554C38.346 34.611 37.667 36.14 36.593 37.261C35.643 38.251 34.478 39.009 33.187 39.474C31.726 40.0 30.054 40.0 26.708 40.0H12.8C8.32 40.0 6.079 40.0 4.368 39.128C2.863 38.361 1.639 37.137 0.872 35.632C0.0 33.921 0.0 31.68 0.0 27.2V12.8Z'/%3E%3C/clipPath%3E%3C/defs%3E%3Cpath d='M0.0 12.8C0.0 8.32 0.0 6.079 0.872 4.368C1.639 2.863 2.863 1.639 4.368 0.872C6.079 0.0 8.32 0.0 12.8 0.0H26.708C30.054 0.0 31.726 0.0 33.187 0.526C34.478 0.991 35.643 1.749 36.593 2.739C37.667 3.86 38.346 5.389 39.705 8.446L42.273 14.224C43.218 16.351 43.691 17.414 43.877 18.52C44.043 19.5 44.043 20.5 43.877 21.48C43.691 22.586 43.218 23.649 42.273 25.776L39.705 31.554C38.346 34.611 37.667 36.14 36.593 37.261C35.643 38.251 34.478 39.009 33.187 39.474C31.726 40.0 30.054 40.0 26.708 40.0H12.8C8.32 40.0 6.079 40.0 4.368 39.128C2.863 38.361 1.639 37.137 0.872 35.632C0.0 33.921 0.0 31.68 0.0 27.2V12.8Z' fill='%230077FF'/%3E%3Cpath d='M0.0 12.8C0.0 8.32 0.0 6.079 0.872 4.368C1.639 2.863 2.863 1.639 4.368 0.872C6.079 0.0 8.32 0.0 12.8 0.0H26.708C30.054 0.0 31.726 0.0 33.187 0.526C34.478 0.991 35.643 1.749 36.593 2.739C37.667 3.86 38.346 5.389 39.705 8.446L42.273 14.224C43.218 16.351 43.691 17.414 43.877 18.52C44.043 19.5 44.043 20.5 43.877 21.48C43.691 22.586 43.218 23.649 42.273 25.776L39.705 31.554C38.346 34.611 37.667 36.14 36.593 37.261C35.643 38.251 34.478 39.009 33.187 39.474C31.726 40.0 30.054 40.0 26.708 40.0H12.8C8.32 40.0 6.079 40.0 4.368 39.128C2.863 38.361 1.639 37.137 0.872 35.632C0.0 33.921 0.0 31.68 0.0 27.2V12.8Z' stroke='%2300AAFF' stroke-width='2' clip-path='url(%23c)'/%3E%3C/svg%3E")}
.av-cal--prices .av-day.is-end.is-today{--tip-img:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='40' viewBox='0 0 20.0000 40' fill='none'%3E%3Cdefs%3E%3CclipPath id='c'%3E%3Cpath d='M44.001 12.8C44.001 8.32 44.001 6.079 43.129 4.368C42.362 2.863 41.139 1.639 39.633 0.872C37.922 0.0 35.682 0.0 31.201 0.0H17.293C13.948 0.0 12.275 0.0 10.814 0.526C9.524 0.991 8.358 1.749 7.409 2.739C6.335 3.86 5.655 5.389 4.297 8.446L1.729 14.224C0.783 16.351 0.311 17.414 0.124 18.52C-0.041 19.5 -0.041 20.5 0.124 21.48C0.311 22.586 0.783 23.649 1.729 25.776L4.297 31.554C5.655 34.611 6.335 36.14 7.409 37.261C8.358 38.251 9.524 39.009 10.814 39.474C12.275 40.0 13.948 40.0 17.293 40.0H31.201C35.682 40.0 37.922 40.0 39.633 39.128C41.139 38.361 42.362 37.137 43.129 35.632C44.001 33.921 44.001 31.68 44.001 27.2V12.8Z'/%3E%3C/clipPath%3E%3C/defs%3E%3Cpath d='M44.001 12.8C44.001 8.32 44.001 6.079 43.129 4.368C42.362 2.863 41.139 1.639 39.633 0.872C37.922 0.0 35.682 0.0 31.201 0.0H17.293C13.948 0.0 12.275 0.0 10.814 0.526C9.524 0.991 8.358 1.749 7.409 2.739C6.335 3.86 5.655 5.389 4.297 8.446L1.729 14.224C0.783 16.351 0.311 17.414 0.124 18.52C-0.041 19.5 -0.041 20.5 0.124 21.48C0.311 22.586 0.783 23.649 1.729 25.776L4.297 31.554C5.655 34.611 6.335 36.14 7.409 37.261C8.358 38.251 9.524 39.009 10.814 39.474C12.275 40.0 13.948 40.0 17.293 40.0H31.201C35.682 40.0 37.922 40.0 39.633 39.128C41.139 38.361 42.362 37.137 43.129 35.632C44.001 33.921 44.001 31.68 44.001 27.2V12.8Z' fill='%230077FF'/%3E%3Cpath d='M44.001 12.8C44.001 8.32 44.001 6.079 43.129 4.368C42.362 2.863 41.139 1.639 39.633 0.872C37.922 0.0 35.682 0.0 31.201 0.0H17.293C13.948 0.0 12.275 0.0 10.814 0.526C9.524 0.991 8.358 1.749 7.409 2.739C6.335 3.86 5.655 5.389 4.297 8.446L1.729 14.224C0.783 16.351 0.311 17.414 0.124 18.52C-0.041 19.5 -0.041 20.5 0.124 21.48C0.311 22.586 0.783 23.649 1.729 25.776L4.297 31.554C5.655 34.611 6.335 36.14 7.409 37.261C8.358 38.251 9.524 39.009 10.814 39.474C12.275 40.0 13.948 40.0 17.293 40.0H31.201C35.682 40.0 37.922 40.0 39.633 39.128C41.139 38.361 42.362 37.137 43.129 35.632C44.001 33.921 44.001 31.68 44.001 27.2V12.8Z' stroke='%2300AAFF' stroke-width='2' clip-path='url(%23c)'/%3E%3C/svg%3E")}
.av-day:is(.is-start,.is-end)::before{content:'';position:absolute;top:0;bottom:0;z-index:-1;background:var(--theme-bg-accent)}
.av-day.is-start::before{left:0;right:calc(var(--tip) - 1px);border-radius:var(--radius-garden) 0 0 var(--radius-garden)}
.av-day.is-end::before{right:0;left:calc(var(--tip) - 1px);border-radius:0 var(--radius-garden) var(--radius-garden) 0}
.av-day.is-start.is-today::before{box-shadow:inset 1px 1px 0 #00AAFF,inset 0 -1px 0 #00AAFF}
.av-day.is-end.is-today::before{box-shadow:inset -1px 1px 0 #00AAFF,inset 0 -1px 0 #00AAFF}
.av-day.is-start>*{transform:translateX(-2px)}.av-day.is-end>*{transform:translateX(2px)}
/* No band past the row edge. */
.av-app .av-day.is-start.is-row-last,.av-app .av-day.is-end.is-row-first{background-size:var(--tip) var(--tip-h),0 0}
/* The tinted band is rounded where it breaks: at the start and end of each week row and at month edges. */
.av-app .av-day.is-range.is-row-first{border-top-left-radius:var(--radius-garden);border-bottom-left-radius:var(--radius-garden)}
.av-app .av-day.is-range.is-row-last{border-top-right-radius:var(--radius-garden);border-bottom-right-radius:var(--radius-garden)}
/* Cells sit 2px apart; the band bridges the gaps (1px from each side) except at row edges. */
.av-app .av-day.is-range.is-row-first{box-shadow:1px 0 0 var(--av-tinted)}
.av-app .av-day.is-range.is-row-last{box-shadow:-1px 0 0 var(--av-tinted)}
.av-app .av-day.is-range.is-row-first.is-row-last{box-shadow:none}
.av-app .av-day.is-start:not(.is-row-last){box-shadow:1px 0 0 var(--av-tinted)}
.av-app .av-day.is-end:not(.is-row-first){box-shadow:-1px 0 0 var(--av-tinted)}

/* v4: every cell button has 24px corners, every search field 16px (Coin --radius-cell-button* overridden;
   cells built here use the same token). */
:root[data-v="4"]{--radius-cell-button:24px;--radius-cell-button-alert:24px}
:root[data-v="4"] :is(.av-cell,.pf-cell,.tr-country,.tr-country-head,.tr-info-row){border-radius:var(--radius-cell-button)}
/* City search rows (08-Travel 14800:14899): 16px, as in the Figma search screen. */
:root[data-v="4"] .av-city{border-radius:16px}
:root[data-v="4"] :is(.av-search__field,.tr-search,.tr-search--small,.pr-search){border-radius:16px}
/* v4: 24px corners on the white calendar cards (weekdays, months), the passport card in Профиль and the Azal
   «Все направления» cells (which also get the 12px padding of the tours cells). */
:root[data-v="4"] :is(.av-cal__week,.av-cal__month,.pf-card,.pr-item){border-radius:24px}
:root[data-v="4"] .pr-item{padding:var(--space-base-m)}
:root[data-v="4"] .pr-item__text{gap:2px}
:root[data-v="4"] .pr-item>.av-svg:last-child path{fill:var(--theme-icon-accent)}

/* v4: booking blocks with 24px outer corners (joined pairs keep 8px where they meet); the pay bar 32px at the top. */
:root[data-v="4"] .av-card{border-radius:24px}
:root[data-v="4"] .av-card--joined-top{border-radius:24px 24px var(--radius-garden) var(--radius-garden)}
:root[data-v="4"] .av-card--joined-bottom{border-radius:var(--radius-garden) var(--radius-garden) 24px 24px}
:root[data-v="4"] .av-paybar{border-radius:32px 32px 0 0}

/* Stacked airline logos: the logo fills its 28px circle and the separating ring sits outside it (2px, card colour),
   instead of the ring drawn inside the SVG that shrank the logo to 24px. */
.av-avatar--stack .av-svg{border-radius:var(--radius-rounding);box-shadow:0 0 0 2px var(--theme-bg-island)}
.av-avatar--stack .av-svg path[stroke]{display:none}
.av-avatar--stack .av-svg>svg{transform:scale(1.1667)}

/* v4 search rows (08-Travel 14800:14899, 14859:87844, 14860:12783): 48px island tile with a 20px icon, 12px gap,
   SemiBold 17/22 title over a Regular 14/18 secondary subtitle (2px apart); rows 12px apart. */
.av-list--loc{display:flex;flex-direction:column;gap:var(--space-base-m)}
.av-loc{display:flex;align-items:center;gap:var(--space-base-m);width:100%;padding:0;border:0;background:none;font:inherit;text-align:left;cursor:pointer}
.av-loc__tile{flex:none;display:flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:16px;background:var(--theme-bg-island)}
.av-loc__text{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.av-loc__title,.av-loc__sub{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.av-app .av-loc__title{font-size:17px;line-height:22px;font-weight:600;color:var(--theme-text-primary)}
.av-app .av-loc__sub{font-size:14px;line-height:18px;font-weight:400;color:var(--theme-text-secondary)}
.av-loc__badge{flex:none;display:flex;align-items:center;gap:4px;padding:4px var(--space-base-s);border-radius:var(--radius-chips);background:var(--component-badges-success-bg);font-size:14px;line-height:18px;font-weight:500;color:var(--component-badges-success-text);white-space:nowrap}
.av-loc__badge .av-icon :is(path)[fill]:not([fill=none]){fill:var(--component-badges-success-text)}
/* «Недавно искали»: one row, its icon grey (Icon/Primary #76787A, as in 14860:12783). */
.av-loc--recent .av-loc__tile .av-icon :is(path)[fill]:not([fill=none]){fill:var(--theme-icon-primary)}
/* Search results: a city with several airports — the head row with a 44px selector, its airports 16px in. */
.av-loc-group{display:flex;flex-direction:column;gap:var(--space-base-m)}
.av-loc__main{flex:1;min-width:0;display:flex;align-items:center;gap:var(--space-base-m);padding:0;border:0;background:none;font:inherit;text-align:left;cursor:pointer}
.av-loc--head{cursor:default}
.av-loc__toggle{flex:none;width:44px;height:44px;display:flex;align-items:center;justify-content:center;padding:0;border:0;background:none;cursor:pointer}
.av-loc__toggle .av-icon{transform:rotate(-90deg);transition:transform .2s ease}
.av-loc__toggle.is-open .av-icon{transform:none}
.av-loc-group__list{display:flex;flex-direction:column;gap:var(--space-base-m);padding-left:var(--space-base-l)}
/* «Откуда»: sections 24px apart (14800:14899); chips stay 8px under the field. */
.av-search__body--loose{gap:var(--space-base-xl)}
.av-search__body--loose .av-quick{margin-top:-16px}
/* «Посмотреть все»: Coin ghost button, 48px, SemiBold 17/22 accent, full width. */
.av-app .av-hotels-all{align-self:stretch;height:48px;padding:0 var(--space-base-l);border:0;border-radius:var(--radius-button);background:var(--component-button-ghost-normal-bg);font:inherit;font-size:17px;line-height:22px;font-weight:600;color:var(--component-button-ghost-normal-text);text-align:center;cursor:pointer}

/* Service tabs over the tour and hotel searches (08-Travel 14826:63220, 14860:12783): four islands 8px apart, 16px radius,
   16px × 8px padding, Regular 14/18 in Bg/Neutral; the active one Medium with the accent gradient. Field 8px below. */
.av-svc-head{display:flex;flex-direction:column;gap:var(--space-base-s)}
.av-svc{display:flex;gap:var(--space-base-s)}
.av-svc__tab{flex:1 1 0;min-width:0;display:flex;justify-content:center;padding:var(--space-base-l) var(--space-base-s);border:0;border-radius:16px;background:var(--theme-bg-island);font:inherit;cursor:pointer}
.av-app .av-svc__tab>span{font-size:14px;line-height:18px;font-weight:400;color:var(--theme-bg-neutral);white-space:nowrap}
.av-app .av-svc__tab.is-active>span{font-weight:500;color:transparent;background:linear-gradient(14.8deg,var(--primitive-colors-primary-electric-blue-c500) 16.6%,var(--primitive-colors-primary-electric-blue-c400) 54.3%,var(--primitive-colors-primary-electric-blue-c300) 100%);-webkit-background-clip:text;background-clip:text}
.av-app .av-loc__sub.is-success{color:var(--theme-text-success)}
/* v4 search field buttons (14940:37959, 14940:37820): empty — 36px navigator (8px padding, 8px radius, 20px grey icon)
   8px from the edge; typed — a 44px clear button with a 16px grey cross. */
.av-search__locate{flex:none;width:36px;height:36px;margin-right:var(--space-base-s);display:flex;align-items:center;justify-content:center;padding:var(--space-base-s);border:0;border-radius:8px;background:none;cursor:pointer}
.av-search__clear{flex:none;width:44px;height:44px;display:flex;align-items:center;justify-content:center;padding:0;border:0;background:none;cursor:pointer}
.av-loc__flag{display:block;width:20px;height:20px;object-fit:contain}
.av-loc--skel{cursor:default}
.av-app .av-loc__sub.is-attention{color:var(--theme-text-attention)}
/* Search skeleton: one band runs across each row (tile → text), placed in every part by its offset --o in the row. */
@property --skel-x{syntax:'<length>';inherits:true;initial-value:-200px}
.av-loc--skel{animation:av-skel 1.6s linear infinite}
@keyframes av-skel{from{--skel-x:-200px}to{--skel-x:420px}}
.av-skel{display:block;flex:none;background-color:var(--theme-bg-natural);background-image:linear-gradient(90deg,transparent 0,var(--theme-bg-island) 50%,transparent 100%);background-size:200px 100%;background-repeat:no-repeat;background-position:calc(var(--skel-x) - var(--o)) 0}
@media (prefers-reduced-motion:reduce){.av-loc--skel{animation:none}.av-skel{background-image:none}}

/* ---------- v5 · A/B «B» round-trip results (Figma 08-Travel 14963:49314) ---------- */
.av-res-nav__route--b{display:flex;align-items:center;gap:var(--space-base-s);font-weight:500}
.av-res-nav__route--b>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.av-res-nav__route--b .av-icon{flex:none}
.av-results--b .av-res-head{border-radius:0 0 24px 24px}
/* Wide column takes the width (278px on a 390px phone), the narrow one is 100px and runs to the screen edge. */
.avb-cols{flex:1;min-height:0;display:flex;gap:4px;padding:8px 0 0 8px;transition:padding .35s cubic-bezier(.2,.8,.2,1)}
.avb-cols.is-back{padding:8px 8px 0 0}
/* The narrow column keeps its content width (100px) on every phone; all the extra width goes to the wide one. */
.avb-col{min-width:0;display:flex;flex-direction:column;transition:flex-grow .35s cubic-bezier(.2,.8,.2,1),flex-basis .35s cubic-bezier(.2,.8,.2,1)}
.avb-col.is-wide{flex:1 1 0}
.avb-col.is-narrow{flex:0 0 100px}
@media (prefers-reduced-motion:reduce){.avb-cols,.avb-col{transition:none}}
.avb-col__head{flex:none;position:relative;display:flex;flex-direction:column;gap:4px;padding-bottom:var(--space-base-s);background:var(--theme-bg-island);border-radius:var(--radius-island) var(--radius-island) 0 0;overflow:clip}
.avb-col--there.is-narrow .avb-col__head{border-top-left-radius:0}
.avb-col--back.is-narrow .avb-col__head{border-top-right-radius:0}
.avb-col__title{display:flex;justify-content:space-between;align-items:flex-start;gap:8px;width:100%;padding:var(--space-base-s) var(--space-base-m);background:var(--theme-bg-accent);color:var(--theme-text-always-white);font:inherit;font-weight:500;font-size:14px;line-height:18px;border:0;text-align:left;white-space:nowrap;cursor:pointer}
.avb-col.is-wide .avb-col__title{cursor:default}
.avb-col__name{display:flex;align-items:center;gap:8px;min-width:0;overflow:hidden;text-overflow:ellipsis}
.avb-col__name .av-icon{flex:none}
.avb-col__route{flex:none}
.avb-dates-wrap{position:relative}
.avb-dates{display:flex;align-items:center;gap:4px;padding:0 var(--space-base-s);overflow-x:auto;scrollbar-width:none}
.avb-dates::-webkit-scrollbar{display:none}
.avb-date{flex:none;position:relative;display:flex;flex-direction:column;align-items:center;gap:2px;padding:4px 6px;border:0;background:none;font:inherit;font-size:11px;line-height:14px;color:var(--theme-text-secondary);text-align:center;cursor:pointer}
.avb-date b{font-weight:500}
.avb-date span{width:40px;white-space:nowrap}
.avb-date.is-active{color:var(--theme-text-accent)}
.avb-date.is-active b{font-weight:600}
.avb-date.is-active span{font-weight:500}
.avb-date.is-active::after{content:'';position:absolute;left:50%;bottom:-4px;width:16px;height:2px;margin-left:-8px;border-radius:1px;background:var(--theme-bg-accent)}
.avb-date__sep{flex:none;width:1px;height:28px;background:var(--theme-stroke-ocean)}
.avb-dates__fade{position:absolute;top:0;bottom:0;right:0;width:42px;background:linear-gradient(to left,var(--theme-bg-island),transparent);pointer-events:none}
.avb-col__list{flex:1;min-height:0;display:flex;flex-direction:column;gap:2px;padding:4px 0 132px;overflow-y:auto}
/* Tickets */
/* Every ticket is exactly 80px tall (Figma) in both columns, so the rows of the two sides line up. The selected
   outline is an inset shadow, so it does not change the size. */
.avb-t{flex:none;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;gap:8px;width:100%;height:80px;padding:8px 12px;border:0;overflow:hidden;background:var(--theme-bg-island);font:inherit;color:inherit;text-align:left;cursor:pointer}
.avb-t.is-selected{background:color-mix(in srgb,var(--theme-bg-accent) 5%,var(--theme-bg-island));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--theme-bg-accent) 20%,var(--theme-bg-island))}
.avb-t--skeleton{cursor:default}
.avb-t__top{display:flex;align-items:center;justify-content:space-between;min-height:18px}
.avb-t__airline{display:flex;align-items:center;gap:8px;min-width:0}
.avb-logos{display:flex;align-items:center;flex:none}
.avb-logos>*{flex:none;width:18px;height:18px;border-radius:var(--radius-rounding)}
.avb-logos>*+*{margin-left:-4px}
.avb-t__dur{font-size:11px;line-height:14px;color:var(--theme-text-tertiary);white-space:nowrap}
.avb-t__chips{display:flex;gap:4px}
.avb-chip{display:flex;align-items:center;justify-content:center;padding:4px 8px;border-radius:var(--radius-chips);background:var(--theme-bg-ocean)}
.avb-t__info{display:flex;align-items:center;gap:12px}
.avb-t__route{flex:1;min-width:0;display:flex;align-items:center;gap:12px}
.avb-t__pt{display:flex;flex-direction:column;gap:2px;font-weight:500;white-space:nowrap}
.avb-t__pt b{font-weight:500;font-size:17px;line-height:22px;color:var(--theme-text-primary)}
.avb-t__pt span{font-size:11px;line-height:14px;color:var(--theme-text-accent)}
.avb-t__pt--end{align-items:flex-end}
.avb-t__line{flex:1;min-width:0;height:1px;border-radius:1px;background:var(--theme-bg-accent)}
.avb-t__route .av-icon{flex:none}
.avb-t__price{display:flex;flex-direction:column;align-items:flex-end;flex:none;font-weight:600;color:var(--av-price-color);white-space:nowrap}
.avb-t--wide .avb-t__price{width:39px;font-size:14px;line-height:18px}
.avb-t--narrow .avb-t__price{font-size:12.5px;line-height:16px}
.avb-t__price span:first-child{margin-bottom:-4px}
.avb-t__times{display:flex;flex-direction:column}
.avb-t__times b{font-weight:500;font-size:14px;line-height:18px;color:var(--theme-text-primary)}
/* Bottom bar (Figma 14969:54198): 32px top corners, top shadow, price in the light price blue, «Оформить». */
.av-buybar--b{align-items:center;border-radius:var(--radius-continent) var(--radius-continent) 0 0;box-shadow:0 -4px 16px rgba(0,0,0,.08)}
.av-buybar--b .av-buybar__total{width:auto;padding:0}
.av-buybar--b .av-buybar__total .av-price{color:var(--av-price-color)}
/* Figma B: whole sum only («20 358 000 сум»), grey dropdown in the header. */
.avb-total{display:flex;align-items:baseline;gap:4px;color:var(--av-price-color);white-space:nowrap}
.avb-total b{font-weight:600;font-size:19.5px;line-height:26px}
.avb-total span{font-size:17px;line-height:22px}
.av-results--b .av-res-nav__drop .av-svg [fill]:not([fill=none]){fill:var(--theme-icon-disabled)}
