/* =====================================================================================================================
   AYAN AIR office panel, airline look (2026-10-30): navy + gold, sky photo band, boarding-pass cards.
   Loaded by filament/brand-head after every ayan-agency-v4*.css file, only when AYAN_AGENCY_V4 is on.
   Only the look changes: the v4 tokens get the AYAN AIR colours, the bands get the sky photo, the serif titles become
   Plus Jakarta Sans. Every page keeps its parts, fields and buttons. Remove the <link> in brand-head to go back to v4.
   ===================================================================================================================== */

html.ay4 {
    --v4-canvas: #EEF2F8; --v4-surface: #FFFFFF; --v4-fill: #F5F7FB; --v4-mist: #E3E9F5;
    --v4-plum: #0B1B3A; --v4-ink: #0B1B3A; --v4-text: #3B4763; --v4-muted: #6A7690; --v4-fog: #8D97AE;
    --v4-line: #D8DEEA; --v4-line2: #E8ECF4;
    --v4-violet: #0B1B3A; --v4-violet-h: #16295A; --v4-violet-p: #0A1128; --v4-violet-soft: #E8EDF7;
    --v4-chg: #1D4FA8; --v4-chg-bg: #E6EEFB; --v4-rf: #5B6478; --v4-rf-bg: #EDF0F5;
    --v4-gold: #C9A45C; --v4-gold-h: #B8924A; --v4-gold-soft: #FBF4E6;
    --v4-sans: 'Plus Jakarta Sans', 'Vazirmatn', system-ui, sans-serif;
    --v4-serif: 'Plus Jakarta Sans', 'Vazirmatn', system-ui, sans-serif;
    --v4-band: linear-gradient(180deg, rgba(6,24,58,.62) 0%, rgba(6,24,58,.28) 50%, rgba(6,24,58,.70) 100%),
               url('/img/agency/sky-wing.jpg') 30% 45% / cover no-repeat, #0B1B3A;
    --v4-pop: 0 18px 40px -12px rgba(6,24,58,.24), 0 2px 6px rgba(6,24,58,.06);
    --font-family: 'Plus Jakarta Sans', 'Vazirmatn', system-ui, sans-serif;
}
/* Filament's own colour scale (buttons, links, toggles) follows the navy */
html.ay4 .fi-panel-agency, html.ay4 body > :is(.fi-dropdown-panel, .fi-modal) {
    --primary-50: #F2F5FB; --primary-100: #E8EDF7; --primary-200: #CDD7EA; --primary-300: #A3B3D3; --primary-400: #6F85B4; --primary-500: #3F5891;
    --primary-600: #0B1B3A; --primary-700: #16295A; --primary-800: #0B1B3A; --primary-900: #0A1128; --primary-950: #060B1A;
    --fz-navy: #0B1B3A; --fz-navy2: #16295A; --fz-blue: #1D4FA8; --fz-gold: #C9A45C; --fz-gold-soft: #FBF4E6;
    --v2-navy: #0B1B3A; --v2-navy2: #16295A; --v2-blue: #1D4FA8; --v2-gold: #C9A45C; --v2-gold-soft: #FBF4E6;
}

/* titles: the serif lines become bold sans */
html.ay4 .ay4-band h1,
html.ay4 .fi-panel-agency .fi-header .fi-header-heading,
html.ay4 .fi-modal-heading,
html.ay4 .ay4-sec-h h2,
html.ay4 .fi-panel-agency .fz-news h3,
html.ay4 .fi-panel-agency .fz-nc b,
html.ay4 .ay4-home .ay4-stats i,
html.ay4 .fi-panel-agency :is(.fv-pnr b, .fv-ht, .fv-price tr.tot .big, .fv-paytotal b),
html.ay4 .ay4-res :is(.fl.empty b, .ay4-sum .hint, .ay4-sum h3, .ay4-sum .pay b),
html.ay4.ay4-page-results :is(.fz-band-route, .fz-spage-hd h2),
html.ay4.ay4-page-statement :is(.ay4-st-line .close b, .fi-section-header-heading) { font-weight: 800 !important; letter-spacing: -.01em !important; }
html.ay4 .ay4-band h1 em { font-style: normal; color: #E5C987; }

/* bands: the sky photo, white text; a little shade under the words */
html.ay4 .ay4-band, html.ay4:not(.ay4-page-booking) .fi-panel-agency .fi-page-header-main-ctn > .fi-header { background: var(--v4-band); }
html.ay4 .ay4-band::after, html.ay4 .fi-panel-agency .fi-page-header-main-ctn > .fi-header::after { background: none; }
html.ay4 .ay4-band h1, html.ay4:not(.ay4-page-booking) .fi-panel-agency .fi-header .fi-header-heading { text-shadow: 0 2px 14px rgba(0,0,0,.25); }

/* New booking: the "Where are you flying?" line sits on the navy panel, so it is white */
html.ay4.ay4-page-results .fz-spage-hd h2 { color: #fff; }
/* one booking (Find reservation): the PNR and the gold details in AYAN AIR gold */
html.ay4 .fi-panel-agency .fv { --fv-gold: #E5C987; --fv-blue: #1D4FA8; --fv-sky: #1D4FA8; }

/* buttons: the main one is gold with navy words, as on the website */
html.ay4 .ay4-btn.primary { background: var(--v4-gold); color: var(--v4-plum); font-weight: 700; box-shadow: 0 6px 16px -6px rgba(201,164,92,.7); }
html.ay4 .ay4-btn.primary:hover { background: var(--v4-gold-h); color: var(--v4-plum); }
html.ay4 .ay4-btn.lg .arr { background: rgba(11,27,58,.12); }
html.ay4 .ay4-btn:focus-visible { outline-color: var(--v4-gold); }
html.ay4 .fi-panel-agency .fi-topbar .fi-icon-btn-badge-ctn .fi-badge { background: var(--v4-gold) !important; color: var(--v4-plum) !important; }
html.ay4 .fi-panel-agency .fi-topbar .fi-topbar-item.fi-active .fi-topbar-item-btn { box-shadow: inset 0 -2px 0 var(--v4-gold) !important; border-radius: 10px !important; }
html.ay4 .fi-panel-agency .fi-topbar .fz-balpill b { font-weight: 800 !important; }

/* tags: the change tag is blue, not violet */
html.ay4 .ay4-tag.chg { color: var(--v4-chg); background: var(--v4-chg-bg); }

/* ---------- Book (home) ---------- */
html.ay4 .ay4-home .ay4-hero { padding: 28px 30px 92px; min-height: 120px; }
html.ay4 .ay4-home .ay4-hero h1 { font-size: 34px; line-height: 1.12; }
html.ay4 .ay4-home .ay4-date { color: rgba(255,255,255,.88); font-size: 13px; margin-bottom: 6px; }
html.ay4 .ay4-home .ay4-search { margin-top: -66px; padding: 14px 16px; border-radius: 20px; }
html.ay4 .ay4-home .ay4-seg > .on { background: var(--v4-plum); color: #fff; box-shadow: none; }
html.ay4 .ay4-home .ay4-f > small:first-child { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
html.ay4 .ay4-home :is(.from, .to) .v { font-size: 24px; font-weight: 800; letter-spacing: .03em; min-height: 30px; align-items: baseline; }
html.ay4 .ay4-home :is(.from, .to) .v input { font-weight: 800; }
html.ay4 .ay4-home :is(.from, .to) .v em { font-size: 13px; letter-spacing: 0; }
html.ay4 .ay4-home :is(.dep, .ret) .v { font-size: 16px; font-weight: 700; }
html.ay4 .ay4-home .ay4-swap { width: 34px; height: 34px; background: var(--v4-fill); }
html.ay4 .ay4-home .ay4-go { padding-left: 24px; font-size: 16px; }
html.ay4 .ay4-home .ay4-chips a:hover, html.ay4 .ay4-home .ay4-paxbox .cnt button:hover, html.ay4 .ay4-home .ay4-swap:hover { border-color: var(--v4-gold); color: var(--v4-plum); }
html.ay4 .ay4-home .fz-cal-m .g.d button:is(.st, .en) { background: var(--v4-plum) !important; }

/* the three figures as a boarding pass: notches on both sides, dashed lines between the parts */
html.ay4 .ay4-home .ay4-stats { position: relative; overflow: visible; border-radius: 16px; }
html.ay4 .ay4-home .ay4-stats::before, html.ay4 .ay4-home .ay4-stats::after { content: ""; position: absolute; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%;
    background: var(--v4-canvas); border: 1px solid var(--v4-line); }
html.ay4 .ay4-home .ay4-stats::before { left: -10px; clip-path: inset(0 0 0 50%); }
html.ay4 .ay4-home .ay4-stats::after { right: -10px; clip-path: inset(0 50% 0 0); }
html.ay4 .ay4-home .ay4-stats .s { padding: 14px 20px; border-left: 2px dashed var(--v4-line); }
html.ay4 .ay4-home .ay4-stats .s:first-child { border-radius: 16px 0 0 16px; }
html.ay4 .ay4-home .ay4-stats i { font-size: 26px; }
html.ay4 .ay4-home .ay4-stats b { font-weight: 700; }
html.ay4 .ay4-home .ay4-stats em { color: var(--v4-plum); background: var(--v4-gold); border-radius: 999px; padding: 5px 12px; font-weight: 700; }

/* latest bookings: bold PNR and route codes */
html.ay4 .ay4-home .ay4-list .row { padding-block: 9px; }
html.ay4 .ay4-home .ay4-list .pnr { font-weight: 800; }
html.ay4 .ay4-home .ay4-list .route { font-weight: 700; letter-spacing: .03em; }
html.ay4 .ay4-home .ay4-list .amt { font-weight: 800; }

@media (max-width: 760px) {
    html.ay4 .ay4-home .ay4-hero { padding: 22px 18px 92px; }
    html.ay4 .ay4-home .ay4-hero h1 { font-size: 27px; }
    html.ay4 .ay4-home .ay4-search { margin-top: -72px; }
    html.ay4 .ay4-home .ay4-box .ay4-swap { top: 50px; }
    html.ay4 .ay4-home .ay4-stats::before, html.ay4 .ay4-home .ay4-stats::after { display: none; }
    html.ay4 .ay4-home .ay4-stats .s { border-left: 0; border-top: 2px dashed var(--v4-line); padding: 12px 16px; }
    html.ay4 .ay4-home .ay4-stats .s:first-child { border-top: 0; border-radius: 16px 16px 0 0; }
}

/* ---------- the last violet bits from the v4 files ---------- */
html.ay4 .fi-panel-agency .fi-btn.fi-color-primary:not(.fi-outlined), html.ay4 .fi-modal .fi-btn.fi-color-primary:not(.fi-outlined),
html.ay4 .fi-panel-agency .fv .fv-a.solid .fi-btn, html.ay4 .fi-panel-agency .fv .fv-pay .fv-a .fi-btn,
html.ay4 .fi-panel-agency .tx-btn.tx-go { box-shadow: 0 6px 16px -6px rgba(11,27,58,.45) !important; }
html.ay4 .fi-panel-agency .fi-input-wrp:focus-within, html.ay4 .fi-modal .fi-input-wrp:focus-within { box-shadow: 0 0 0 3px rgba(201,164,92,.25) !important; }
html.ay4 .fi-panel-agency :is(.fv input:focus, .fv select.fv-in:focus, .tx-f input:focus, .tx-f select:focus) { box-shadow: 0 0 0 3px rgba(201,164,92,.25); }
/* New booking: the search button and the step buttons in gold, like Search on the Book page */
html.ay4.ay4-page-results .fz-gold { background: var(--v4-gold) !important; color: var(--v4-plum) !important; font-weight: 700 !important; box-shadow: 0 6px 16px -6px rgba(201,164,92,.7) !important; }
html.ay4.ay4-page-results .fz-gold:hover { background: var(--v4-gold-h) !important; }
html.ay4.ay4-page-results .fz-band-route .arr { color: #E5C987 !important; }
html.ay4 .ay4-res .fare:hover, html.ay4 .ay4-res .ay4-flt .dp label:hover { border-color: var(--v4-gold); }
html.ay4 .ay4-res .ay4-flt .hist i { background: #A3B3D3; }
html.ay4 .ay4-res .ay4-sum :is(.terms li .ay4-i, .rl) { color: #E5C987; }
html.ay4 .ay4-res .ay4-sum :is(.terms li.no b, .err) { color: #FFC9C2; }
html.ay4 .fi-panel-agency .fz-nc.offer a { color: #E5C987; }
html.ay4 .ay-chat-btn:hover { background: #16295A; }

/* sign-in page: the side panel gets the sky photo, like the Book page band */
html.ay4.ay4-guest .fz-auth-side { background: linear-gradient(180deg, rgba(6,24,58,.80) 0%, rgba(6,24,58,.45) 55%, rgba(6,24,58,.85) 100%),
    url('/img/agency/sky-wing.jpg') 35% 50% / cover no-repeat, #0B1B3A !important; }
html.ay4.ay4-guest .fz-auth-copy h1 { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-weight: 800; text-shadow: 0 2px 14px rgba(0,0,0,.3); }
html.ay4.ay4-guest .fz-auth-copy li::before { color: #C9A45C; }

/* ---------- Book page in the airline layout: tall photo band, big airport codes, route photo cards, side column ---------- */
html.ay4 .ay4-home .ay4-hero { padding: 54px 44px 120px; min-height: 0; border-radius: 22px; background-position: center, 30% 40%; }
html.ay4 .ay4-home .ay4-hero .ay4-date { font-size: 15px; margin-bottom: 8px; }
html.ay4 .ay4-home .ay4-hero .ay4-date b { font-weight: 700; color: #fff; }
html.ay4 .ay4-home .ay4-hero h1 { font-size: 46px; line-height: 1.08; max-width: 640px; }
html.ay4 .ay4-home .ay4-hero .ay4-band-sub { margin-top: 10px; font-size: 15px; color: rgba(255,255,255,.9); }
html.ay4 .ay4-home .ay4-search { margin: -86px 36px 0; padding: 18px 20px; border-radius: 22px; box-shadow: 0 24px 50px -18px rgba(6,24,58,.35), 0 2px 6px rgba(6,24,58,.06); }
html.ay4 .ay4-home .ay4-box { background: #fff; border-color: var(--v4-line); }
html.ay4 .ay4-home :is(.from, .to) .v { font-size: 30px; }
html.ay4 .ay4-home .ay4-f { padding: 10px 18px; }
html.ay4 .ay4-home .ay4-go { min-height: 64px; padding-left: 28px; font-size: 17px; border-radius: 16px; }
html.ay4 .ay4-home .ay4-chips { margin: 14px 36px 0; }

html.ay4 .ay4-home .ay4-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; margin-top: 18px; align-items: start; }
html.ay4 .ay4-home .ay4-main, html.ay4 .ay4-home .ay4-side { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
html.ay4 .ay4-home .ay4-sec-h { margin: 6px 2px 0; }
html.ay4 .ay4-home .ay4-sec-h h2 { font-size: 22px; }

html.ay4 .ay4-home .ay4-routes { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
html.ay4 .ay4-home .ay4-routes a { position: relative; height: 210px; border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px;
    color: #fff; text-decoration: none; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.78) 100%), var(--photo) center / cover no-repeat, #0B1B3A; transition: transform .15s; }
html.ay4 .ay4-home .ay4-routes a:hover { transform: translateY(-2px); }
html.ay4 .ay4-home .ay4-routes small { font-size: 12px; font-weight: 700; letter-spacing: .06em; opacity: .9; }
html.ay4 .ay4-home .ay4-routes b { font-size: 24px; font-weight: 800; line-height: 1.15; }
html.ay4 .ay4-home .ay4-routes span { font-size: 13px; opacity: .9; }

/* the three figures: one tall boarding pass in the side column */
html.ay4 .ay4-home .ay4-side .ay4-stats { flex-direction: column; margin-top: 0; }
html.ay4 .ay4-home .ay4-side .ay4-stats::before, html.ay4 .ay4-home .ay4-side .ay4-stats::after { top: 33.3%; }
html.ay4 .ay4-home .ay4-side .ay4-stats .s { border-left: 0; border-top: 2px dashed var(--v4-line); padding: 16px 18px; flex-wrap: wrap; }
html.ay4 .ay4-home .ay4-side .ay4-stats .s:first-child { border-top: 0; border-radius: 16px 16px 0 0; }
html.ay4 .ay4-home .ay4-side .ay4-stats i { font-size: 30px; min-width: 40px; }
html.ay4 .ay4-home .ay4-side .ay4-stats em { margin-left: 52px; margin-top: 4px; }
html.ay4 .ay4-home .ay4-topup { display: grid; gap: 4px; padding: 18px; border-radius: 16px; background: #0B1B3A; color: #fff; text-decoration: none; }
html.ay4 .ay4-home .ay4-topup small { font-size: 12px; color: #AEB9D2; }
html.ay4 .ay4-home .ay4-topup b { font-size: 14px; font-weight: 700; }
html.ay4 .ay4-home .ay4-topup .ay4-btn { margin-top: 10px; justify-self: stretch; font-weight: 800; }

@media (max-width: 1180px) {
    html.ay4 .ay4-home .ay4-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
    html.ay4 .ay4-home .ay4-hero { padding: 30px 20px 100px; border-radius: 18px; }
    html.ay4 .ay4-home .ay4-hero h1 { font-size: 30px; }
    html.ay4 .ay4-home .ay4-hero .ay4-band-sub { font-size: 13px; }
    html.ay4 .ay4-home .ay4-search { margin: -76px 8px 0; padding: 14px; }
    html.ay4 .ay4-home :is(.from, .to) .v { font-size: 28px; }
    html.ay4 .ay4-home .ay4-go { min-height: 54px; }
    html.ay4 .ay4-home .ay4-chips { margin: 12px -14px 0; }
    html.ay4 .ay4-home .ay4-routes { display: flex; overflow-x: auto; scrollbar-width: none; margin: 0 -14px; padding: 0 14px; scroll-snap-type: x mandatory; }
    html.ay4 .ay4-home .ay4-routes a { flex: 0 0 74%; height: 240px; scroll-snap-align: start; }
    html.ay4 .ay4-home .ay4-side { order: -1; }
    html.ay4 .ay4-home .ay4-side .ay4-stats::before, html.ay4 .ay4-home .ay4-side .ay4-stats::after { display: none; }
}

/* Book and Choose flight pages, full-width sky (like the design board): the photo band runs edge to edge and starts under the top bar,
   so the logo, menu and balance sit on the photo in white. */
html.ay4:not(.ay4-guest) .fi-panel-agency.fi-body { overflow-x: clip; }
html.ay4.ay4-page-home .ay4-home .ay4-hero {
    border-radius: 0; margin-inline: calc(50% - var(--ayvw50, 50vw)); margin-top: -64px;
    padding: 118px calc(var(--ayvw50, 50vw) - 50% + 44px) 120px;
}
html.ay4:not(.ay4-guest) .fi-panel-agency .fi-topbar-item-label,
html.ay4:not(.ay4-guest) .fi-panel-agency .fi-topbar .fi-topbar-item .fi-topbar-item-btn:hover .fi-topbar-item-label { color: rgba(255,255,255,.86) !important; }
html.ay4:not(.ay4-guest) .fi-panel-agency .fi-topbar-item.fi-active .fi-topbar-item-label { color: #fff !important; }
html.ay4:not(.ay4-guest) .fi-panel-agency .fi-topbar .fi-topbar-item.fi-active .fi-topbar-item-btn { background: rgba(255,255,255,.14) !important; }
html.ay4:not(.ay4-guest) .fi-panel-agency .fi-topbar .fi-logo { filter: brightness(0) invert(1); }
html.ay4:not(.ay4-guest) .fi-panel-agency .fi-topbar-end :is(.fi-icon-btn, .fi-topbar-open-sidebar-btn) { color: #fff !important; }
html.ay4:not(.ay4-guest) .fi-panel-agency .fi-topbar :is(.fi-topbar-open-sidebar-btn, .fi-topbar-close-sidebar-btn) { color: #fff; }
@media (max-width: 760px) {
    html.ay4.ay4-page-home .ay4-home .ay4-hero { margin-top: -58px; padding: 96px calc(var(--ayvw50, 50vw) - 50% + 20px) 100px; }
}
html.ay4:not(.ay4-guest) .fi-panel-agency .fi-topbar .fi-global-search-field:not(:focus-within):not(:hover) .fi-input-wrp svg,
html.ay4:not(.ay4-guest) .fi-panel-agency .fi-topbar .fi-topbar-database-notifications-btn,
html.ay4:not(.ay4-guest) .fi-panel-agency .fi-topbar .fi-topbar-database-notifications-btn svg { color: #fff !important; }

/* Choose flight (results), like the design board: the band edge to edge under the top bar, gold day, navy cards */
html.ay4.ay4-page-results .ay4-res .ay4-rs {
    border-radius: 0; margin-inline: calc(50% - var(--ayvw50, 50vw)); margin-top: -64px;
    padding: 84px calc(var(--ayvw50, 50vw) - 50% + 44px) 22px; background-position: center, 30% 40%;
}
html.ay4 .ay4-res .ay4-rs h1 { font-size: 34px; font-weight: 800; }
html.ay4 .ay4-res .dates .dt { padding: 7px 6px; background: rgba(255,255,255,.10); }
html.ay4 .ay4-res .dates .dt.on { background: var(--v4-gold); border-color: var(--v4-gold); color: #0B1B3A; }
html.ay4 .ay4-res .dates .dt.on b { color: #0B1B3A; }
html.ay4 .ay4-res .bdg { background: #0B1B3A !important; color: #E5C987 !important; }
html.ay4 .ay4-res .fare.economy:not(.on) { background: var(--v4-surface); }
html.ay4 .ay4-res .fare.on { border-color: #0B1B3A; background: var(--v4-gold-soft); box-shadow: 0 0 0 1px #0B1B3A; }
html.ay4 .ay4-res .ay4-sum { background: linear-gradient(180deg, rgba(6,24,58,.35), #0B1B3A 120px), url('/img/agency/cities/default.jpg') center top / 100% auto no-repeat, #0B1B3A; padding-top: 70px; }
html.ay4 .ay4-res .ay4-sum::before { background: none; }
@media (max-width: 760px) {
    html.ay4.ay4-page-results .ay4-res .ay4-rs { margin-top: -58px; padding: 76px calc(var(--ayvw50, 50vw) - 50% + 16px) 16px; }
    html.ay4 .ay4-res .ay4-rs h1 { font-size: 24px; }
}
html.ay4:not(.ay4-guest) .fi-panel-agency .fi-topbar :is(.fi-topbar-open-sidebar-btn, .fi-topbar-close-sidebar-btn),
html.ay4:not(.ay4-guest) .fi-panel-agency .fi-topbar :is(.fi-topbar-open-sidebar-btn, .fi-topbar-close-sidebar-btn) svg { color: #fff !important; }

/* ---------- Book (home), as the design board (2026-10-30): tabs over the search, one box per field ---------- */
html.ay4 .ay4-home .ay4-search { padding: 16px 22px 18px; }
html.ay4 .ay4-home .ay4-s-top { margin: 0 0 14px; justify-content: flex-start; }
html.ay4 .ay4-home .ayd-tabs { display: flex; gap: 26px; }
html.ay4 .ay4-home .ayd-tabs > * { padding: 16px 0 13px; font-size: 14px; color: var(--v4-muted); text-decoration: none; border-bottom: 2.5px solid transparent; display: inline-flex; align-items: center; gap: 7px; }
html.ay4 .ay4-home .ayd-tabs > .on { color: var(--v4-plum); font-weight: 700; border-bottom-color: var(--v4-gold); }
html.ay4 .ay4-home .ayd-tabs > a:hover { color: var(--v4-plum); }
html.ay4 .ay4-home .ayd-tabs i { font-style: normal; font-size: 11px; font-weight: 700; color: #9A5B00; background: #FDF0DA; border-radius: 999px; padding: 1px 8px; }
html.ay4 .ay4-home .ayd-tabs i::before { content: "● "; font-size: 8px; vertical-align: 1px; }
html.ay4 .ay4-home .ay4-seg { background: none; border: 0; padding: 0; gap: 8px; }
html.ay4 .ay4-home .ay4-seg > :is(button, a) { border: 1px solid var(--v4-line); border-radius: 999px; padding: 5px 14px; font-size: 12.5px; font-weight: 600; color: var(--v4-plum); background: var(--v4-surface); }
html.ay4 .ay4-home .ay4-seg > .on { background: var(--v4-plum); border-color: var(--v4-plum); color: #fff; }

html.ay4 .ay4-home .ay4-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(130px, .3fr) 150px; gap: 10px; }
html.ay4 .ay4-home .ay4-box { align-items: stretch; display: grid; grid-template-columns: minmax(0, 1fr) 0 minmax(0, 1fr) 0 minmax(0, 2fr); gap: 10px; background: none; border: 0; border-radius: 0; }
html.ay4 .ay4-home .ay4-box .ay4-vline { visibility: hidden; width: 0; }   /* keeps its 0 column */
html.ay4 .ay4-home .ay4-box .ay4-swap { justify-self: center; position: relative; z-index: 3; width: 30px; height: 30px; margin: 0 -15px; }
html.ay4 .ay4-home .ay4-dates { gap: 10px; margin: 0 !important; padding: 0 !important; }
html.ay4 .ay4-home .ay4-box .ay4-swap { align-self: center; }
html.ay4 .ay4-home :is(.ay4-box .ay4-f, .ayd-paxbtn) { height: 100%; align-content: center; padding: 12px 14px; background: var(--v4-surface); border: 1px solid var(--v4-line); border-radius: 12px; box-shadow: none; }
html.ay4 .ay4-home :is(.ay4-box .ay4-f, .ayd-paxbtn):hover { border-color: var(--v4-gold); background: var(--v4-surface); box-shadow: none; }
html.ay4 .ay4-home :is(.ay4-box .ay4-f, .ayd-paxbtn):focus-within, html.ay4 .ay4-home :is(.ay4-f, .ayd-paxbtn).on { border-color: var(--v4-plum); box-shadow: 0 0 0 3px rgba(201,164,92,.22); background: var(--v4-surface); }
html.ay4 .ay4-home .ay4-f > small:first-child { color: var(--v4-muted); }
html.ay4 .ay4-home :is(.from, .to) .v { font-size: 26px; }
html.ay4 .ay4-home :is(.dep, .ret, .ayd-paxbtn) .v { font-size: 15px; }
html.ay4 .ay4-home .ayd-paxcell { position: relative; min-width: 0; }
html.ay4 .ay4-home .ayd-paxcell .ay4-pax { height: 100%; }
html.ay4 .ay4-home .ayd-paxbtn { width: 100%; text-align: left; display: grid; gap: 2px; cursor: pointer; font-family: inherit; color: inherit; }
html.ay4 .ay4-home .ayd-cabin select { border: 1px solid var(--v4-line); border-radius: 8px; padding: 5px 26px 5px 8px; font: inherit; font-size: 13px; color: var(--v4-plum); background-color: var(--v4-surface); }
html.ay4 .ay4-home .ay4-go { min-height: 0; height: 100%; border-radius: 12px; padding: 0 18px; justify-content: center; font-size: 15.5px; }
html.ay4 .ay4-home .ay4-search .ay4-chips { margin: 14px 0 0; }
html.ay4 .ay4-home .ay4-chips .lb { font-weight: 700; color: var(--v4-muted); }
html.ay4 .ay4-home .ay4-chips a { padding: 5px 14px; font-size: 12.5px; }
html.ay4 .ay4-home .ay4-chips a b { font-weight: 700; }

/* the two columns */
html.ay4 .ay4-home .ay4-grid { gap: 24px; margin-top: 30px; }
html.ay4 .ay4-home .ay4-sec-h { align-items: flex-end; margin: 0 0 12px; }
html.ay4 .ay4-home .ay4-sec-h h2 { font-size: 20px; }
html.ay4 .ay4-home .ayd-sub { margin: 2px 0 0; font-size: 12.5px; color: var(--v4-muted); }
html.ay4 .ay4-home .ay4-link { font-weight: 700; color: #1D4FA8; }
html.ay4 .ay4-home .ay4-routes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 28px; }
html.ay4 .ay4-home .ay4-routes a { min-height: 190px; border-radius: 14px; position: relative; }
html.ay4 .ay4-home .ayd-best { position: absolute; top: 12px; left: 14px; font-style: normal; font-size: 10.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
    background: var(--v4-gold); color: var(--v4-plum); padding: 2px 9px; border-radius: 6px; }

/* latest bookings: PNR, passenger, route, flight, status, you paid */
html.ay4 .ay4-home .ayd-list { border-radius: 14px; }
html.ay4 .ay4-home .ayd-list .row { grid-template-columns: 80px minmax(0, 1.25fr) 86px minmax(0, 1.3fr) minmax(0, 1.25fr) 100px; padding: 13px 14px; gap: 10px; }
html.ay4 .ay4-home .ayd-list .row.head { background: var(--v4-surface); padding-block: 12px; font-weight: 700; }
html.ay4 .ay4-home .ayd-list .pnr { color: #1D4FA8; }
html.ay4 .ay4-home .ayd-list .pax { color: var(--v4-text); font-size: 12.5px; text-transform: uppercase; }
html.ay4 .ay4-home .ayd-list .date { color: var(--v4-muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; }
html.ay4 .ay4-home .ayd-list .ay4-tag { justify-self: start; white-space: nowrap; }
html.ay4 .ay4-home .ayd-list .ay4-tag::before { content: "●"; font-size: 7px; margin-right: 5px; vertical-align: 2px; }

/* Needs you today */
html.ay4 .ay4-home .ayd-hold { display: grid; grid-template-columns: minmax(0, 1fr) 76px; background: var(--v4-surface); border: 1px solid var(--v4-line); border-radius: 14px;
    text-decoration: none; color: inherit; position: relative; overflow: hidden; }
html.ay4 .ay4-home .ayd-hold .l { padding: 16px 16px 16px; display: grid; gap: 4px; border-right: 2px dashed var(--v4-line); }
html.ay4 .ay4-home .ayd-hold .l small { font-size: 10.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: #9A5B00; }
html.ay4 .ay4-home .ayd-hold .l b { font-size: 14.5px; color: var(--v4-plum); font-weight: 800; line-height: 1.3; }
html.ay4 .ay4-home .ayd-hold .l em { font-style: normal; font-size: 12.5px; color: var(--v4-muted); }
html.ay4 .ay4-home .ayd-hold .r { display: grid; place-content: center; text-align: center; }
html.ay4 .ay4-home .ayd-hold .r i { font-style: normal; font-size: 28px; font-weight: 800; color: #B26A00; line-height: 1.1; }
html.ay4 .ay4-home .ayd-hold:not(.has) .r i { color: var(--v4-fog); }
html.ay4 .ay4-home .ayd-hold .r small { font-size: 11.5px; color: var(--v4-muted); }
html.ay4 .ay4-home .ayd-hold:hover { border-color: var(--v4-gold); }
html.ay4 .ay4-home .ayd-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
html.ay4 .ay4-home .ayd-fig { background: var(--v4-surface); border: 1px solid var(--v4-line); border-radius: 14px; padding: 14px 16px; display: grid; gap: 4px; align-content: start; }
html.ay4 .ay4-home .ayd-fig small { font-size: 10.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--v4-muted); }
html.ay4 .ay4-home .ayd-fig i { font-style: normal; font-size: 26px; font-weight: 800; color: var(--v4-plum); line-height: 1.15; font-variant-numeric: tabular-nums; }
html.ay4 .ay4-home .ayd-fig.earn i { color: #138A4B; }
html.ay4 .ay4-home .ayd-fig em { font-style: normal; font-size: 12px; color: var(--v4-muted); }
html.ay4 .ay4-home .ayd-target { display: grid; gap: 8px; margin-top: 10px; background: var(--v4-surface); border: 1px solid var(--v4-line); border-radius: 14px; padding: 14px 16px; text-decoration: none; color: inherit; }
html.ay4 .ay4-home .ayd-target .t { display: flex; justify-content: space-between; align-items: baseline; }
html.ay4 .ay4-home .ayd-target small { font-size: 10.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--v4-muted); }
html.ay4 .ay4-home .ayd-target b { font-size: 13px; color: var(--v4-plum); font-weight: 800; }
html.ay4 .ay4-home .ayd-target .bar { height: 7px; border-radius: 99px; background: var(--v4-line2); overflow: hidden; }
html.ay4 .ay4-home .ayd-target .bar span { display: block; height: 100%; background: var(--v4-gold); border-radius: 99px; }
html.ay4 .ay4-home .ayd-target em { font-style: normal; font-size: 12px; color: var(--v4-muted); }
html.ay4 .ay4-home .ayd-target:hover, html.ay4 .ay4-home .ayd-fig:hover { border-color: var(--v4-gold); }
html.ay4 .ay4-home .ay4-topup { margin-top: 12px; border-radius: 14px; }

@media (max-width: 1180px) {
    html.ay4 .ay4-home .ayd-list .row { grid-template-columns: 76px minmax(0, 1fr) 80px minmax(0, 1fr) 100px; }
    html.ay4 .ay4-home .ayd-list .row .date { display: none; }
}
@media (max-width: 1023px) {
    html.ay4 .ay4-home .ay4-fields { grid-template-columns: 1fr 1fr; }
    html.ay4 .ay4-home .ay4-box { grid-column: 1 / -1; }
    html.ay4 .ay4-home .ay4-go { min-height: 52px; }
}
@media (max-width: 760px) {
    html.ay4 .ay4-home .ay4-search { padding: 14px; }
    html.ay4 .ay4-home .ayd-tabs { gap: 18px; width: 100%; overflow-x: auto; }
    html.ay4 .ay4-home .ayd-tabs > * { white-space: nowrap; padding: 13px 0 10px; }
    html.ay4 .ay4-home .ay4-seg > :is(button, a) { flex: 1; }
    html.ay4 .ay4-home .ay4-fields { grid-template-columns: 1fr; }
    html.ay4 .ay4-home .ay4-box { grid-template-columns: 1fr 1fr; gap: 8px; position: relative; }
    html.ay4 .ay4-home .ay4-box :is(.from, .to) { grid-column: auto; border-bottom: 1px solid var(--v4-line); border-radius: 12px; }
    html.ay4 .ay4-home .ay4-box .ay4-swap { position: absolute; left: 50%; top: 26px; margin: 0 0 0 -15px; right: auto; }
    html.ay4 .ay4-home .ay4-box .ay4-dates { grid-column: 1 / -1; gap: 8px; }
    html.ay4 .ay4-home .ay4-box .ay4-dates :is(.dep, .ret) { border-radius: 12px; border-left: 1px solid var(--v4-line); }
    html.ay4 .ay4-home .ay4-go { height: 50px; }
    html.ay4 .ay4-home .ay4-routes { grid-template-columns: repeat(3, minmax(220px, 1fr)); overflow-x: auto; margin-inline: -4px; padding-inline: 4px; scrollbar-width: none; }
    html.ay4 .ay4-home .ay4-routes a { min-height: 160px; }
    html.ay4 .ay4-home .ayd-list .row { grid-template-columns: minmax(0, 1fr) auto; }
    html.ay4 .ay4-home .ayd-list .row .pax { grid-column: 1; grid-row: 2; }
    html.ay4 .ay4-home .ayd-list .row .meta { grid-row: 3; }
    html.ay4 .ay4-home .ayd-list .row .ay4-tag { grid-row: 4; }
    html.ay4 .ay4-home .ayd-list .row .amt { grid-row: 1 / 5; }
}

/* ---------- top bar: "Agency portal" under the logo, the gold Top up button beside the balance ---------- */
html.ay4 .fi-panel-agency .fi-topbar-start > a:has(> .fi-logo) { position: relative; display: block; padding-bottom: 12px; margin-right: 18px; }
html.ay4 .fi-panel-agency .fi-topbar-start > a:has(> .fi-logo)::after { content: "Agency portal"; position: absolute; left: 0; right: 0; top: 24px; text-align: right; white-space: nowrap;
    font-size: 8.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--v4-gold); }
html.ay4 .fi-panel-agency .fi-topbar .ayd-topbtn { order: 2; display: inline-flex; align-items: center; height: 34px; padding: 0 14px; margin-inline-start: 8px; border-radius: 10px;
    background: var(--v4-gold); color: var(--v4-plum); font-size: 13px; font-weight: 800; text-decoration: none; white-space: nowrap; box-shadow: 0 6px 16px -6px rgba(201,164,92,.7); }
html.ay4 .fi-panel-agency .fi-topbar .ayd-topbtn:hover { background: var(--v4-gold-h); }
@media (max-width: 760px) { html.ay4 .fi-panel-agency .fi-topbar .ayd-topbtn { display: none; } }

/* ---------- Choose flight, as the design board (2026-10-30): big route codes, day prices in a dark panel, boarding-pass cards ---------- */
html.ay4 .ay4-res .ay4-rs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); grid-template-areas: "top top" "route dates" "meta dates"; column-gap: 32px; align-items: end; }
html.ay4 .ay4-res .ay4-rs .rs-top { grid-area: top; }
html.ay4 .ay4-res .ay4-rs h1.ayd-route { grid-area: route; display: grid; grid-template-columns: auto minmax(40px, 1fr) auto; align-items: center; gap: 16px; margin: 12px 0 0; }
html.ay4 .ay4-res .ayd-route .c { display: grid; line-height: 1; }
html.ay4 .ay4-res .ayd-route .c b { font-size: 54px; font-weight: 800; letter-spacing: .01em; color: #fff; }
html.ay4 .ay4-res .ayd-route .c small { font-size: 13px; font-weight: 700; color: rgba(255,255,255,.9); margin-top: 6px; letter-spacing: 0; }
html.ay4 .ay4-res .ayd-route .c.r { text-align: right; }
html.ay4 .ay4-res .ayd-route .ln { position: relative; height: 20px; display: grid; place-items: center; margin-top: -18px; }
html.ay4 .ay4-res .ayd-route .ln::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 2px dotted rgba(255,255,255,.7); }
html.ay4 .ay4-res .ayd-route .ln .ay4-i { position: relative; width: 22px; height: 22px; color: #fff; background: transparent; }
html.ay4 .ay4-res .ay4-rs .rs-meta { grid-area: meta; margin: 10px 0 2px; color: rgba(255,255,255,.88); font-size: 13px; }
html.ay4 .ay4-res .ay4-rs .dates { grid-area: dates; align-self: center; flex-wrap: wrap; margin: 12px 0 0; padding: 12px 12px 12px; gap: 6px; border-radius: 16px;
    background: rgba(6,16,40,.55); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(6px); }
html.ay4 .ay4-res .ayd-dk { flex: 1 0 100%; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.8); margin: 0 2px 4px; }
html.ay4 .ay4-res .ay4-rs .dates .dt { min-width: 0; flex: 1 1 0; padding: 8px 4px; border-radius: 12px; }
html.ay4 .ay4-res .ay4-rs .dates .dt span { font-size: 11.5px; }
html.ay4 .ay4-res .ay4-rs .dates .dt b { font-size: 15px; font-weight: 800; }
html.ay4 .ay4-res .ay4-rs .dates .arr { width: 26px; }

/* the flight card: airline line on top, one block per journey with big airport codes, the classes in a column on the right */
html.ay4 .ay4-res .fl { border-radius: 16px; position: relative; }
html.ay4 .ay4-res .ayd-flh { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 14px 18px 0; margin-right: 232px; }
html.ay4 .ay4-res .ayd-flh .bdg { width: 28px; height: 28px; border-radius: 7px; display: inline-grid; place-items: center; font-size: 11px; font-weight: 800; }
html.ay4 .ay4-res .ayd-flh > b { font-size: 14px; font-weight: 800; color: var(--v4-plum); }
html.ay4 .ay4-res .ayd-chip { font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: var(--v4-fill); color: var(--v4-muted); }
html.ay4 .ay4-res .ayd-chip::before { content: "● "; font-size: 7px; vertical-align: 2px; }
html.ay4 .ay4-res .ayd-chip.warn { background: #FDF0DA; color: #9A5B00; }
html.ay4 .ay4-res .ayd-chip.ok { background: #E7F6EE; color: #138A4B; }
html.ay4 .ay4-res .fl-top { grid-template-columns: minmax(0, 1fr) 216px; align-items: stretch; gap: 0; padding: 0; }
html.ay4 .ay4-res .fl-legs { padding: 6px 18px 4px; }
html.ay4 .ay4-res .leg { grid-template-columns: auto minmax(90px, 1fr) auto; grid-template-areas: "lb lb lb" "a p b"; padding: 10px 0; row-gap: 4px; }
html.ay4 .ay4-res .leg .air { display: none; }
html.ay4 .ay4-res .ayd-lb { grid-area: lb; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--v4-muted); }
html.ay4 .ay4-res .leg > .tm:not(.r) { grid-area: a; }
html.ay4 .ay4-res .leg > .path { grid-area: p; }
html.ay4 .ay4-res .leg > .tm.r { grid-area: b; }
html.ay4 .ay4-res .leg .tm { display: flex; flex-direction: column-reverse; gap: 2px; }
html.ay4 .ay4-res .leg .tm span { font-size: 0; color: transparent; }
html.ay4 .ay4-res .leg .tm span em { font-size: 28px; font-weight: 800; font-style: normal; color: var(--v4-plum); letter-spacing: .01em; line-height: 1; }
html.ay4 .ay4-res .leg .tm b { font-size: 15px; font-weight: 600; color: var(--v4-text); }
html.ay4 .ay4-res .leg .tm.r { align-items: flex-end; }
html.ay4 .ay4-res .leg .path .ln { opacity: .6; }
html.ay4 .ay4-res .fares { flex-direction: column; gap: 0; border-left: 2px dashed var(--v4-line); position: relative; }
html.ay4 .ay4-res .fl-top > .fares::before, html.ay4 .ay4-res .fl-top > .fares::after { content: ""; position: absolute; left: -10px; width: 18px; height: 18px; border-radius: 50%; background: var(--v4-canvas); border: 1px solid var(--v4-line); }
html.ay4 .ay4-res .fl-top > .fares::before { top: -10px; clip-path: inset(50% 0 0 0); }
html.ay4 .ay4-res .fl-top > .fares::after { bottom: -10px; clip-path: inset(0 0 50% 0); }
html.ay4 .ay4-res .fl-top > .fares .fare { width: auto; flex: 1; border: 0; border-radius: 0; padding: 14px 16px; align-content: center; background: var(--v4-surface); box-shadow: none; }
html.ay4 .ay4-res .fl-top > .fares .fare + .fare { border-top: 1px solid var(--v4-line2); }
html.ay4 .ay4-res .fl-top > .fares .fare:first-child { border-top-right-radius: 15px; }
html.ay4 .ay4-res .fl-top > .fares .fare .pr { font-size: 24px; font-weight: 800; }
html.ay4 .ay4-res .fl-top > .fares .fare.on { background: var(--v4-gold-soft); box-shadow: none; }
html.ay4 .ay4-res .fl-top > .fares .fare .cab { font-weight: 800; }
html.ay4 .ay4-res .fl:has(.fare.on) { box-shadow: 0 0 0 2px var(--v4-plum); }
html.ay4 .ay4-res .fl-links { margin-right: 216px; border-top: 0; background: none; padding: 0 18px 14px; }
html.ay4 .ay4-res .fl-links button { color: #1D4FA8; font-weight: 700; }
html.ay4 .ay4-res .rs-head { display: none; }

/* the selected fare: photo head with the route, gold Next button */
html.ay4 .ay4-res .ay4-sum { background: var(--v4-plum); padding: 0 16px 16px; }
html.ay4 .ay4-res .ay4-sum > .k, html.ay4 .ay4-res .ay4-sum > .hint { display: block; }
html.ay4 .ay4-res .ay4-sum > .k { margin: 0 -16px; padding: 70px 16px 4px; background: linear-gradient(180deg, rgba(6,24,58,.1), rgba(6,24,58,.85)), url('/img/agency/cities/default.jpg') center 40% / cover no-repeat; color: #fff; font-weight: 800; }
html.ay4 .ay4-res .ay4-sum:has(.sel:not([style*="none"])) > .k { display: none; }
html.ay4 .ay4-res .ayd-sh { margin: 0 -16px 10px; padding: 78px 16px 12px; display: grid; gap: 2px; background: linear-gradient(180deg, rgba(6,24,58,.05), rgba(6,24,58,.85)), url('/img/agency/cities/default.jpg') center 40% / cover no-repeat; }
html.ay4 .ay4-res .ayd-sh small { font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #E5C987; }
html.ay4 .ay4-res .ayd-sh b { font-size: 21px; font-weight: 800; color: #fff; }
html.ay4 .ay4-res .ay4-sum .next { background: var(--v4-gold); color: var(--v4-plum); }

@media (max-width: 1180px) {
    html.ay4 .ay4-res .ay4-rs { grid-template-columns: 1fr; grid-template-areas: "top" "route" "meta" "dates"; }
}
@media (max-width: 760px) {
    html.ay4 .ay4-res .ayd-route .c b { font-size: 38px; }
    html.ay4 .ay4-res .ayd-flh, html.ay4 .ay4-res .fl-links { margin-right: 0; }
    html.ay4 .ay4-res .fl-top { grid-template-columns: 1fr; }
    html.ay4 .ay4-res .fares { border-left: 0; border-top: 2px dashed var(--v4-line); flex-direction: row; }
    html.ay4 .ay4-res .fl-top > .fares::before, html.ay4 .ay4-res .fl-top > .fares::after { display: none; }
    html.ay4 .ay4-res .fl-top > .fares .fare:first-child { border-radius: 0; }
    html.ay4 .ay4-res .fl-top > .fares .fare + .fare { border-top: 0; border-left: 1px solid var(--v4-line2); }
    html.ay4 .ay4-res .fl-top > .fares .fare .pr { font-size: 19px; }
    html.ay4 .ay4-res .leg .tm span em { font-size: 24px; }
}
/* the class column runs the full height of the card (its notches sit on the card's edges) */
@media (min-width: 761px) {
    html.ay4 .ay4-res .fl { display: grid; grid-template-columns: minmax(0, 1fr) 216px; }
    html.ay4 .ay4-res .fl > * { grid-column: 1 / -1; }
    html.ay4 .ay4-res .fl > .ayd-flh { grid-column: 1; grid-row: 1; margin-right: 0; }
    html.ay4 .ay4-res .fl > .fl-top { display: contents; }
    html.ay4 .ay4-res .fl > .fl-top > .fl-legs { grid-column: 1; grid-row: 2; }
    html.ay4 .ay4-res .fl > .fl-top > .fares { grid-column: 2; grid-row: 1 / 4; }
    /* "from" price + View fares in the middle of the flight's height, beside it (owner 2026-10-31: like the website) */
    html.ay4 .ay4-res .fl > .fl-top > .vf-box { grid-column: 2; grid-row: 1 / 4; align-self: stretch; justify-content: center; width: auto; padding: 16px 18px; border-left: 2px dashed var(--v4-line); }
    html.ay4 .ay4-res .fl > .fl-links { grid-column: 1; grid-row: 3; margin-right: 0; }
    html.ay4 .ay4-res .fl-top > .fares .fare:last-child { border-bottom-right-radius: 15px; }
}
@media (max-width: 760px) {
    html.ay4 .ay4-res .ay4-rs .dates { flex-wrap: nowrap; overflow-x: auto; position: relative; padding-top: 34px; }
    html.ay4 .ay4-res .ayd-dk { position: absolute; left: 14px; top: 12px; margin: 0; }
    html.ay4 .ay4-res .ay4-rs .dates .dt { flex: none; min-width: 72px; }
    html.ay4 .ay4-res .ay4-rs .dates .dt span { white-space: nowrap; }
}

/* ---------- Sign in, as the design board: sky photo on the left, white form side, navy Sign in button ---------- */
html.ay4.ay4-guest .fi-panel-agency .fi-simple-layout,
html.ay4.ay4-guest .fi-panel-agency .fi-simple-layout > .fi-simple-main-ctn { background: #fff; }
html.ay4.ay4-guest .fi-panel-agency .fi-simple-layout > .fi-simple-main-ctn::after { display: none; }
html.ay4.ay4-guest .fi-panel-agency .fz-auth-side { flex: 1 1 53%; }
html.ay4.ay4-guest .fi-panel-agency .fz-auth-copy h1 em { font-style: normal; color: #E5C987; display: block; }
html.ay4.ay4-guest .fi-panel-agency .fz-auth-copy h1 { font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1.08; }
html.ay4.ay4-guest .fi-panel-agency .fz-auth-copy p { max-width: 30rem; }
html.ay4.ay4-guest .fi-panel-agency .ayd-pts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.3rem; }
html.ay4.ay4-guest .fi-panel-agency .ayd-pts span { display: grid; gap: 2px; padding: 10px 14px; border-radius: 12px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(6px); }
html.ay4.ay4-guest .fi-panel-agency .ayd-pts b { font-size: 17px; font-weight: 800; color: #fff; }
html.ay4.ay4-guest .fi-panel-agency .ayd-pts small { font-size: 11.5px; color: rgba(255,255,255,.8); }
html.ay4.ay4-guest .fi-panel-agency .fi-simple-main { max-width: 330px; }
html.ay4.ay4-guest .fi-panel-agency .fi-simple-header-heading { color: #0B1B3A; font-size: 1.75rem; font-weight: 800; letter-spacing: -.01em; }
html.ay4.ay4-guest .fi-panel-agency .fi-simple-header-subheading { color: #5B6782; margin-top: 2px; }
html.ay4.ay4-guest .fi-panel-agency .fi-simple-main .fi-fo-field-label-content { color: #3B4763; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
html.ay4.ay4-guest .fi-panel-agency .fi-simple-main .fi-fo-field-label-required-mark { display: none; }
html.ay4.ay4-guest .fi-panel-agency .fi-simple-main .fi-input-wrp { border-radius: 12px; box-shadow: 0 0 0 1px #D8DEEA !important; min-height: 3.1rem; background: #fff; }
html.ay4.ay4-guest .fi-panel-agency .fi-simple-main .fi-input-wrp:focus-within { box-shadow: 0 0 0 1.5px #0B1B3A, 0 0 0 4px rgba(201,164,92,.25) !important; }
html.ay4.ay4-guest .fi-panel-agency .fi-simple-main .fi-input-wrp-suffix { border-color: #E8ECF4; }
html.ay4.ay4-guest .fi-panel-agency .fi-simple-main .fi-checkbox-input { border-color: #8D97AE; }
html.ay4.ay4-guest .fi-panel-agency .fi-simple-main :is(.fi-fo-checkbox-list-option-label, label span) { color: #3B4763; }
html.ay4.ay4-guest .fi-panel-agency .fi-simple-main .fi-ac-link-action.fi-link:not([class*="fi-color"]) { color: #5B6782; }
html.ay4.ay4-guest .fi-panel-agency .fi-simple-main .fi-sc-action > .fi-ac-link-action.fi-color-primary,
html.ay4.ay4-guest .fi-panel-agency .fi-simple-main .fi-sc-action > .fi-ac-link-action.fi-color-primary .fi-link-label { color: #1D4FA8; font-weight: 700; }
html.ay4.ay4-guest .fi-panel-agency .fi-simple-main .fi-btn.fi-color-primary,
html.ay4.ay4-guest .fi-panel-agency .fi-simple-main .fi-btn.fi-color-primary:not(.fi-outlined),
html.ay4.ay4-guest .fi-panel-agency .fi-simple-main .fi-btn.fi-color-primary:disabled { background: #0B1B3A !important; color: #fff !important; border-radius: 12px !important; height: 3.1rem; font-weight: 800; }
html.ay4.ay4-guest .fi-panel-agency .fi-simple-main .fi-btn.fi-color-primary:not(.fi-outlined):hover { background: #16295A !important; }
html.ay4.ay4-guest .fi-panel-agency .fi-simple-main .fi-btn.fi-color-primary .fi-icon { color: #fff !important; }
html.ay4.ay4-guest .fi-panel-agency .fi-simple-main .fi-fo-field-wrp-error-message { color: #B42318; }
@media (max-width: 900px) {
    html.ay4.ay4-guest .fi-panel-agency .ayd-pts { display: none; }
    html.ay4.ay4-guest .fi-panel-agency .fz-auth-copy h1 em { display: inline; }
}
html.ay4.ay4-guest .fi-panel-agency .fi-simple-main .fi-fo-field-label:has(.fi-checkbox-input) .fi-fo-field-label-content { text-transform: none; letter-spacing: 0; font-size: 13.5px; font-weight: 500; }
html.ay4.ay4-guest .fi-panel-agency .fi-simple-main .fi-checkbox-input { background-color: #fff !important; border: 1.5px solid #8D97AE !important; }
html.ay4.ay4-guest .fi-panel-agency .fi-simple-main .fi-checkbox-input:checked { background-color: #0B1B3A !important; border-color: #0B1B3A !important; }
html.ay4.ay4-guest .fi-panel-agency .ayd-pts { flex-wrap: nowrap; gap: 8px; }
html.ay4.ay4-guest .fi-panel-agency .ayd-pts span { padding: 9px 12px; }
html.ay4.ay4-guest .fi-panel-agency .ayd-pts b { font-size: 15.5px; }
html.ay4.ay4-guest .fi-panel-agency .ayd-pts small { font-size: 11px; }
html.ay4.ay4-guest .fi-panel-agency .ayd-pts small { white-space: nowrap; }
html.ay4.ay4-guest .fi-panel-agency .fi-simple-main .fi-fo-field-label-ctn .fi-link, html.ay4.ay4-guest .fi-panel-agency .fi-simple-main .fi-fo-field-wrp-hint .fi-link { color: #1D4FA8 !important; font-weight: 700; font-size: 13px; }

/* owner 2026-10-31 ("why so small, not nice"): the form was squeezed to about 235px; now a full 400px column with bigger type,
   and on a narrow window (tablet, small laptop, phone) the sky panel stays as a band on top instead of disappearing */
html.ay4.ay4-guest .fi-panel-agency .fi-simple-layout > .fi-simple-main-ctn { padding: 2.5rem max(20px, env(safe-area-inset-right, 0px)) 2.5rem max(20px, env(safe-area-inset-left, 0px)); }
html.ay4.ay4-guest .fi-panel-agency .fi-simple-main { width: 100%; max-width: 400px; margin-inline: auto; padding: 0; }
html.ay4.ay4-guest .fi-panel-agency .fi-simple-header { align-items: flex-start; text-align: left; margin-bottom: .6rem; }
html.ay4.ay4-guest .fi-panel-agency .fi-simple-header-heading { font-size: 2.25rem; line-height: 1.1; }
html.ay4.ay4-guest .fi-panel-agency .fi-simple-header-subheading { font-size: 15px; margin-top: 6px; }
html.ay4.ay4-guest .fi-panel-agency .fi-simple-main .fi-fo-field-label-content { font-size: 11.5px; }
html.ay4.ay4-guest .fi-panel-agency .fi-simple-main .fi-input-wrp { min-height: 3.4rem; }
html.ay4.ay4-guest .fi-panel-agency .fi-simple-main .fi-input { font-size: 15px; }
html.ay4.ay4-guest .fi-panel-agency .fi-simple-main .fi-btn.fi-color-primary { height: 3.4rem; font-size: 16px; width: 100%; }
html.ay4.ay4-guest .fi-panel-agency .fi-simple-main :is(.cf-turnstile, .g-recaptcha, iframe[src*="turnstile"]) { max-width: 100%; }
@media (max-width: 900px) {
    html.ay4.ay4-guest .fi-panel-agency .fi-simple-layout { flex-direction: column; }
    html.ay4.ay4-guest .fi-panel-agency .fz-auth-side { display: flex; flex: none; min-height: 210px; padding: 1.5rem max(20px, env(safe-area-inset-left, 0px)); justify-content: space-between; gap: 1rem; }
    html.ay4.ay4-guest .fi-panel-agency .fz-auth-copy { margin-top: 0; }
    html.ay4.ay4-guest .fi-panel-agency .fz-auth-copy p, html.ay4.ay4-guest .fi-panel-agency .fz-auth-foot { display: none; }
    html.ay4.ay4-guest .fi-panel-agency .fz-auth-copy h1 { font-size: 1.9rem; margin: 0; }
    html.ay4.ay4-guest .fi-panel-agency .fz-auth-brand img { height: 42px !important; }
    html.ay4.ay4-guest .fi-panel-agency .fi-simple-header .fi-logo { display: none; }
    html.ay4.ay4-guest .fi-panel-agency .fi-simple-layout > .fi-simple-main-ctn { align-items: flex-start; padding-top: 2rem; }
}

/* the selected fare: net, commission and the markup calculator (display only) */
html.ay4 .ay4-res .ayd-off { margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.14); display: grid; gap: 7px; }
html.ay4 .ay4-res .ayd-off .ln2 { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; }
html.ay4 .ay4-res .ayd-off .ln2 small { margin-inline-start: 6px; font-size: 11px; font-weight: 400; color: rgba(255,255,255,.55); }
html.ay4 .ay4-res .ayd-off .ln2.com, html.ay4 .ay4-res .ayd-off .ln2.com b { color: #7EE2A8; font-weight: 700; }
html.ay4 .ay4-res .ayd-off .ln2.net b { font-weight: 800; }
/* Choose flight: the floating "Chat with us" sat on the price panel; it stays under Help */
html.ay4:has(.ay4-res) .ay-chat { display: none; }

/* ---------- Passengers, "Who is travelling?" (design board 2026-10-30): the form left, flight + price + hold right ---------- */
html.ay4 .ayd-px .ay4-rs { display: block; }
html.ay4 .ayd-px .px-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; margin-top: 14px; }
html.ay4 .ayd-px .px-h h1 { margin: 0; font-size: 40px; font-weight: 800; color: #fff; }
html.ay4 .ayd-px .px-h .rs-meta { margin: 0 0 6px; font-weight: 600; }
html.ay4 .ayd-px .px-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; margin-top: 22px; }
html.ay4 .ayd-px .px-main > .fi-sc, html.ay4 .ayd-px .px-main .fi-sc-form { gap: 14px; }
/* the form's cards */
html.ay4 .ayd-px .px-main .fi-section { border-radius: 18px; border: 0; box-shadow: 0 1px 2px rgba(10,17,40,.05), 0 8px 24px rgba(10,17,40,.06); background: #fff; }
html.ay4 .ayd-px .px-main .fi-section-header { padding-bottom: 4px; }
html.ay4 .ayd-px .px-main .fi-section .fi-section-header h2.fi-section-header-heading { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #6B7286; }
html.ay4 .ayd-px .px-main .fi-section .fi-section-header p.fi-section-header-description { margin-top: 2px; font-size: 17px; font-weight: 800; color: #0A1128; }
/* one box per field, the label inside it */
html.ay4 .ayd-px .px-main .fi-section .fi-grid.lg\:fi-grid-cols { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 10px; }
html.ay4 .ayd-px .px-main .fi-section .fi-grid.lg\:fi-grid-cols > * { grid-column: auto !important; }
html.ay4 .ayd-px .px-main .fi-section:has(input[type=email]) .fi-grid.lg\:fi-grid-cols > :last-child { grid-column: span 2 !important; }
html.ay4 .ayd-px .px-main .fi-grid.lg\:fi-grid-cols .fi-fo-field { gap: 2px; padding: 8px 12px 6px; border: 1px solid #DCE1EA; border-radius: 12px; background: #fff; transition: border-color .15s; }
html.ay4 .ayd-px .px-main .fi-grid.lg\:fi-grid-cols .fi-fo-field:focus-within { border-color: #0A1128; box-shadow: 0 0 0 1px #0A1128; }
html.ay4 .ayd-px .px-main .fi-grid.lg\:fi-grid-cols .fi-fo-field-label-content { font-size: 10.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #6B7286; }
html.ay4 .ayd-px .px-main .fi-grid.lg\:fi-grid-cols .fi-input-wrp { border: 0 !important; box-shadow: none !important; background: transparent !important; --tw-ring-shadow: 0 0 #0000; min-height: 0; }
html.ay4 .ayd-px .px-main .fi-grid.lg\:fi-grid-cols :is(.fi-input, .fi-select-input, .fi-select-input-btn, input, select) { padding-inline: 0 !important; padding-block: 2px !important; min-height: 0; font-size: 15px; font-weight: 700; color: #0A1128; background: transparent; border: 0; box-shadow: none; }
html.ay4 .ayd-px .px-main .fi-accept, html.ay4 .ayd-px .px-main .fz-accept { border-radius: 18px; }
/* the right column */
html.ay4 .ayd-px .px-side { position: sticky; top: 76px; display: grid; gap: 14px; }
html.ay4 .ayd-px .px-card { border-radius: 18px; background: #fff; box-shadow: 0 1px 2px rgba(10,17,40,.05), 0 8px 24px rgba(10,17,40,.06); padding: 16px; }
html.ay4 .ayd-px .px-rt { display: grid; grid-template-columns: auto minmax(30px, 1fr) auto; align-items: center; gap: 10px; }
html.ay4 .ayd-px .px-rt + .px-rt { margin-top: 10px; }
html.ay4 .ayd-px .px-rt .c { display: grid; line-height: 1.1; }
html.ay4 .ayd-px .px-rt .c b { font-size: 26px; font-weight: 800; color: #0A1128; }
html.ay4 .ayd-px .px-rt .c small { font-size: 11px; color: #6B7286; margin-top: 3px; }
html.ay4 .ayd-px .px-rt .c.r { text-align: right; }
html.ay4 .ayd-px .px-rt .ln { border-top: 2px dotted #B7BECC; margin-top: -14px; }
html.ay4 .ayd-px .px-acts { display: flex; gap: 14px; margin-top: 10px; }
html.ay4 .ayd-px .px-acts .lk { border: 0; background: none; padding: 0; font: inherit; font-size: 12.5px; font-weight: 700; color: #1F5FD6; cursor: pointer; }
html.ay4 .ayd-px .px-legs { margin-top: 10px; font-size: 12.5px; }
html.ay4 .ayd-px .px-money { display: grid; gap: 8px; margin: 14px -16px 0; padding: 14px 16px 0; border-top: 2px dashed #E3E7EF; }
html.ay4 .ayd-px .ln2 { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; color: #3A4256; }
html.ay4 .ayd-px .ln2 b { color: #0A1128; font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
html.ay4 .ayd-px .ln2 small { margin-inline-start: 6px; font-size: 11px; color: #6B7286; }
html.ay4 .ayd-px .ln2.com, html.ay4 .ayd-px .ln2.com b { color: #13804B; font-weight: 700; }
html.ay4 .ayd-px .px-btn { width: 100%; height: 48px; border: 0; border-radius: 12px; background: #C9A45C; color: #0A1128; font: inherit; font-size: 15px; font-weight: 800; cursor: pointer; }
html.ay4 .ayd-px .px-btn:hover { background: #BF9748; }
html.ay4 .ayd-px .px-btn[disabled] { opacity: .6; }
html.ay4 .ayd-px .px-go p { margin: 10px 0 0; font-size: 12px; color: #6B7286; }
html.ay4 .ayd-px .px-go p b { color: #3A4256; }
html.ay4:has(.ayd-px) .ay-chat { display: none; }
@media (max-width: 1100px) {
    html.ay4 .ayd-px .px-grid { grid-template-columns: 1fr; }
    html.ay4 .ayd-px .px-side { position: static; }
}
@media (max-width: 760px) {
    html.ay4 .ayd-px .px-h h1 { font-size: 28px; }
    html.ay4 .ayd-px .px-main .fi-section .fi-grid.lg\:fi-grid-cols { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
/* (the form is wire:submit.prevent so the older v4 passenger rules for form[wire:submit="reserve"] stay off here) */
html.ay4 .ayd-px .px-main .fi-section-content-ctn { border: 0; }
html.ay4 .ayd-px .px-main .fi-section-content { padding: 6px 18px 16px; }
html.ay4 .ayd-px .px-main .fi-section-header { padding: 16px 18px 4px; }
html.ay4 .ayd-px .px-main .fzp-box { padding: 0; border: 0; background: none; }
html.ay4 .ayd-px .px-main .fzp-row { gap: 8px; }
html.ay4 .ayd-px .px-main .fzp-btn { height: 34px; padding: 0 14px; border-radius: 10px; font-size: 13px; background: #0A1128; }
html.ay4 .ayd-px .px-main .fzp-paste { height: 34px; min-height: 34px; padding: 7px 10px; font-size: 12px; border-radius: 10px; }
html.ay4 .ayd-px .px-main .fzp-hint { display: none; }
html.ay4 .ayd-px .px-main .fzp-status:empty { display: none; }
@media (min-width: 900px) {
    html.ay4 .ayd-px .px-main .fi-section:has(.fzp-box) { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: end; column-gap: 16px; padding: 16px 18px; }
    html.ay4 .ayd-px .px-main .fi-section:has(.fzp-box) > .fi-section-header { padding: 0; grid-column: 1; grid-row: 1; }
    html.ay4 .ayd-px .px-main .fi-section:has(.fzp-box) :is(.fi-section-content-ctn, .fi-section-content) { display: contents; }
    html.ay4 .ayd-px .px-main .fi-section:has(.fzp-box) .fi-section-content > .fi-grid-col:first-child { grid-column: 2; grid-row: 1; }
    html.ay4 .ayd-px .px-main .fi-section:has(.fzp-box) .fi-section-content > .fi-grid-col:last-child { grid-column: 1 / -1; grid-row: 2; margin-top: 14px; }
}
html.ay4 .ayd-px .px-main .fi-fo-field-label-content { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.ay4 .ayd-px .px-main .fi-section .fi-grid.lg\:fi-grid-cols > .fi-grid-col > .fi-sc-component, html.ay4 .ayd-px .px-main .fi-section .fi-grid.lg\:fi-grid-cols .fi-fo-field { height: 100%; }
html.ay4 .ayd-px .px-main .fi-section .fi-grid.lg\:fi-grid-cols .fi-fo-field { align-content: start; min-height: 62px; }
html.ay4 .ayd-px .px-main .fz-country .fi-select-input > div { min-height: 0; }
/* Passengers, smaller and denser (owner 2026-10-30 "names and details too big"): five boxes a row, light small type */
html.ay4 .ayd-px .px-main .fi-section .fi-section-header h2.fi-section-header-heading { font-size: 10.5px; }
html.ay4 .ayd-px .px-main .fi-section .fi-section-header p.fi-section-header-description { font-size: 13px; font-weight: 600; color: #3A4256; }
html.ay4 .ayd-px .px-main .fi-section .fi-grid.lg\:fi-grid-cols { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; gap: 8px; }
html.ay4 .ayd-px .px-main .fi-section:has(input[type=email]) .fi-grid.lg\:fi-grid-cols { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
html.ay4 .ayd-px .px-main .fi-section .fi-grid.lg\:fi-grid-cols .fi-fo-field { min-height: 0; padding: 5px 10px 4px; border-radius: 10px; gap: 0; }
html.ay4 .ayd-px .px-main .fi-grid.lg\:fi-grid-cols .fi-fo-field-label-content { font-size: 9.5px; font-weight: 600; letter-spacing: .05em; }
html.ay4 .ayd-px .px-main .fi-grid.lg\:fi-grid-cols :is(.fi-input, .fi-select-input, .fi-select-input-btn, input, select) { font-size: 13px !important; font-weight: 500 !important; padding-block: 1px !important; line-height: 1.4; }
html.ay4 .ayd-px .px-main .fi-section .fi-grid.lg\:fi-grid-cols .fi-fo-field :is(svg) { width: 14px; height: 14px; }
html.ay4 .ayd-px .px-main .fi-section-content { padding: 4px 16px 12px; }
html.ay4 .ayd-px .px-main > .fi-sc, html.ay4 .ayd-px .px-main .fi-sc-form { gap: 10px; }
@media (min-width: 900px) {
    html.ay4 .ayd-px .px-main .fi-section:has(.fzp-box) { padding: 12px 16px; align-items: center; }
    html.ay4 .ayd-px .px-main .fi-section:has(.fzp-box) .fi-section-content > .fi-grid-col:last-child { margin-top: 10px; }
}
html.ay4 .ayd-px .px-main .fzp-btn { height: 30px; font-size: 12px; }
html.ay4 .ayd-px .px-main .fzp-paste { height: 30px; min-height: 30px; padding: 6px 10px; font-size: 11.5px; }
@media (max-width: 1100px) { html.ay4 .ayd-px .px-main .fi-section .fi-grid.lg\:fi-grid-cols { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (max-width: 760px) { html.ay4 .ayd-px .px-main .fi-section .fi-grid.lg\:fi-grid-cols, html.ay4 .ayd-px .px-main .fi-section:has(input[type=email]) .fi-grid.lg\:fi-grid-cols { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }

/* ---------- Bookings list, as the design board (2026-10-30): the sky band edge to edge, the tabs as pills on it, the table as one white card ---------- */
html.ay4.ay4-page-bookings .fi-page-header-main-ctn > .fi-header {
    border-radius: 0; margin-inline: calc(50% - var(--ayvw50, 50vw)); margin-top: -64px;
    padding: 90px calc(var(--ayvw50, 50vw) - 50% + 44px) 74px; align-items: flex-end;
}
html.ay4.ay4-page-bookings .fi-header .fi-breadcrumbs { display: none; }
html.ay4.ay4-page-bookings .fi-header .fi-header-heading { font: 800 40px/1.1 var(--v4-sans, inherit) !important; letter-spacing: 0 !important; }
html.ay4.ay4-page-bookings .fi-page-header-main-ctn > .fi-header .fi-header-actions-ctn .fi-btn { background: var(--v4-gold) !important; border: 0 !important; box-shadow: none !important; height: 38px; padding: 0 16px; border-radius: 10px; }
html.ay4.ay4-page-bookings .fi-page-header-main-ctn > .fi-header .fi-header-actions-ctn .fi-btn :is(.fi-icon, svg, .fi-btn-label) { color: #0A1128 !important; font-weight: 700; }
html.ay4.ay4-page-bookings .fi-page-content .fi-sc-tabs > nav.fi-tabs { margin: -60px 0 22px !important; padding: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important; gap: 6px; }
html.ay4.ay4-page-bookings .fi-tabs .fi-tabs-item { height: 32px; padding: 0 14px; border-radius: 999px; background: transparent !important; }
html.ay4.ay4-page-bookings .fi-tabs .fi-tabs-item .fi-tabs-item-label { color: rgba(255,255,255,.88) !important; font-size: 13px; font-weight: 600; }
html.ay4.ay4-page-bookings .fi-tabs .fi-tabs-item .fi-badge { background: transparent !important; color: rgba(255,255,255,.88) !important; box-shadow: none !important; padding: 0; min-width: 0; }
html.ay4.ay4-page-bookings .fi-tabs .fi-tabs-item:hover { background: rgba(255,255,255,.12) !important; }
html.ay4.ay4-page-bookings .fi-tabs .fi-tabs-item.fi-active { background: #fff !important; }
html.ay4.ay4-page-bookings .fi-tabs .fi-tabs-item.fi-active :is(.fi-tabs-item-label, .fi-badge) { color: #0A1128 !important; }
html.ay4.ay4-page-bookings .fi-ta-ctn { border: 0 !important; border-radius: 16px !important; box-shadow: 0 1px 2px rgba(10,17,40,.05), 0 8px 24px rgba(10,17,40,.06) !important; overflow: hidden; }
html.ay4.ay4-page-bookings .fi-ta-header-cell { background: #fff !important; }
html.ay4.ay4-page-bookings .fi-ta-header-cell :is(span, .fi-ta-header-cell-sort-btn) { font-size: 10.5px !important; font-weight: 700 !important; letter-spacing: .07em; color: #6B7286 !important; }
html.ay4.ay4-page-bookings .fi-ta-cell-pnr .fi-ta-text-item, html.ay4.ay4-page-bookings .fi-ta-cell-pnr .fi-ta-text-item-label { color: #1F5FD6 !important; font-weight: 700; }
html.ay4.ay4-page-bookings .fi-ta-row { box-shadow: none !important; }
html.ay4.ay4-page-bookings .fi-ta-row:hover { background: #F7F8FB; }
@media (max-width: 760px) {
    html.ay4.ay4-page-bookings .fi-page-header-main-ctn > .fi-header { margin-top: -58px; padding: 80px calc(var(--ayvw50, 50vw) - 50% + 16px) 66px; }
    html.ay4.ay4-page-bookings .fi-header .fi-header-heading { font-size: 28px !important; }
    html.ay4.ay4-page-bookings .fi-page-content .fi-sc-tabs > nav.fi-tabs { margin: -54px 0 18px !important; }
}
html.ay4.ay4-page-bookings .fi-page-content .fi-sc-tabs > nav.fi-tabs { margin-inline: 34px 0 !important; }
html.ay4.ay4-page-bookings .fi-header .fi-header-actions-ctn :is(.fi-btn, .fi-ac-btn-action) :is(.fi-btn-label, span, svg, .fi-icon) { color: #0A1128 !important; }
html.ay4.ay4-page-bookings .fi-header .fi-header-actions-ctn :is(.fi-btn, .fi-ac-btn-action) { background: var(--v4-gold) !important; }
html.ay4.ay4-page-bookings .fi-ta-table thead :is(th, tr) { background: #fff !important; }
@media (max-width: 760px) { html.ay4.ay4-page-bookings .fi-page-content .fi-sc-tabs > nav.fi-tabs { margin-inline: 0 !important; } }
@media (max-width: 760px) { html.ay4.ay4-page-bookings .fi-page-header-main-ctn > .fi-header { flex-direction: column; align-items: flex-start; justify-content: flex-end; } }
html.ay4.ay4-page-bookings .fi-panel-agency .fi-page-header-main-ctn > .fi-header .fi-header-actions-ctn .fi-btn :is(.fi-icon, svg, .fi-btn-label) { color: #0A1128 !important; }
html.ay4.ay4-page-bookings .fi-panel-agency .fi-page-header-main-ctn > .fi-header .fi-header-actions-ctn .fi-btn { color: #0A1128 !important; font-weight: 700; }

/* ---------- One booking (Find reservation), as the design board (2026-10-30): the sky band edge to edge behind the title,
   the find box and the PNR; white cards below with soft shadows ---------- */
html.ay4.ay4-page-booking .fi-page { position: relative; isolation: isolate; }
html.ay4.ay4-page-booking .fi-page::before { content: ""; position: absolute; z-index: -1; top: -64px; left: calc(50% - var(--ayvw50, 50vw)); width: var(--ayvw100, 100vw); height: 400px; background: var(--v4-band); background-size: cover; background-position: center, 30% 40%; }
html.ay4.ay4-page-booking .fi-page-header-main-ctn > .fi-header { padding: 0; }
html.ay4.ay4-page-booking .fi-header .fi-header-heading { color: #fff !important; font: 800 22px/1.2 var(--v4-sans, inherit) !important; }
html.ay4.ay4-page-booking .fi-header .fi-breadcrumbs :is(.fi-breadcrumbs-item-label, a) { color: rgba(255,255,255,.78) !important; }
html.ay4.ay4-page-booking .fi-panel-agency .fv-obal { background: rgba(255,255,255,.95); }
html.ay4.ay4-page-booking .fi-panel-agency .fv-find .fi-input-wrp { border-radius: 12px; border: 0; box-shadow: none; }
html.ay4.ay4-page-booking .fi-panel-agency .fv-find > .fi-btn { background: var(--v4-gold) !important; color: #0A1128 !important; }
html.ay4.ay4-page-booking .fi-panel-agency .fv-find > .fi-btn :is(svg, .fi-icon, span) { color: #0A1128 !important; }
html.ay4.ay4-page-booking .fi-panel-agency .fv-hero-top { background: transparent; padding: 14px 4px 46px; }
html.ay4.ay4-page-booking .fi-panel-agency .fv-hero-top::after { content: none; }
html.ay4.ay4-page-booking .fi-panel-agency .fv-pnr b { font: 800 46px/1 var(--v4-sans, inherit); letter-spacing: .02em; }
html.ay4.ay4-page-booking .fi-panel-agency .fv-acts { margin-inline: 0; border-radius: 16px; box-shadow: 0 1px 2px rgba(10,17,40,.05), 0 8px 24px rgba(10,17,40,.08); }
html.ay4.ay4-page-booking .fi-panel-agency .fv-card { border: 0 !important; border-radius: 16px !important; box-shadow: 0 1px 2px rgba(10,17,40,.05), 0 8px 24px rgba(10,17,40,.06) !important; background: #fff; }
html.ay4.ay4-page-booking .fi-panel-agency .fv-card :is(h2, h3, .fv-card-title) { font-family: var(--v4-sans, inherit) !important; font-weight: 800 !important; color: #0A1128; }
html.ay4.ay4-page-booking .fi-panel-agency .fv-tabs { background: #fff; border: 0; box-shadow: 0 1px 2px rgba(10,17,40,.05), 0 8px 24px rgba(10,17,40,.06); }
html.ay4.ay4-page-booking .fi-panel-agency .fv .fv-a .fi-btn { background: #fff !important; border-color: #0A1128 !important; }
html.ay4.ay4-page-booking .fi-panel-agency .fv .fv-a .fi-btn :is(.fi-icon, svg) { color: #0A1128 !important; }
html.ay4.ay4-page-booking .fi-panel-agency .fv .fv-a.cx .fi-btn, html.ay4.ay4-page-booking .fi-panel-agency .fv .fv-a .fi-btn.fi-color-danger { background: #FDECEC !important; border-color: #F3B8B8 !important; }
html.ay4.ay4-page-booking .fi-panel-agency .fv .fv-pay .fi-btn, html.ay4.ay4-page-booking .fi-panel-agency .fv .fv-a.pay .fi-btn { background: var(--v4-gold) !important; border-color: var(--v4-gold) !important; }
@media (max-width: 760px) {
    html.ay4.ay4-page-booking .fi-page::before { top: -58px; height: 380px; }
    html.ay4.ay4-page-booking .fi-panel-agency .fv-pnr b { font-size: 34px; }
}
/* Pay & issue: the one gold button, bigger, so the office sees it first on a held booking */
html.ay4.ay4-page-booking .fi-panel-agency .fv .fv-pay .fi-btn { height: 40px !important; min-height: 40px !important; padding: 0 22px !important; font-size: 14.5px !important; font-weight: 800 !important; }
html.ay4.ay4-page-booking .fi-panel-agency .fv .fv-pay .fi-btn :is(> span, .fi-btn-label, .fi-icon, svg) { color: #0A1128 !important; }
/* Payments tab: Pay & Confirm in gold too (the button that issues) */
html.ay4.ay4-page-booking .fi-panel-agency .fv .fv-a.big:not(.ghost) .fi-btn { background: var(--v4-gold) !important; border-color: var(--v4-gold) !important; height: 40px !important; min-height: 40px !important; padding: 0 22px !important; font-weight: 800 !important; }
html.ay4.ay4-page-booking .fi-panel-agency .fv .fv-a.big:not(.ghost) .fi-btn :is(> span, .fi-btn-label, .fi-icon, svg) { color: #0A1128 !important; }

/* ---------- Account pages with report tabs (Statement, Bookings report, Credit report, Commission), as the design board (2026-10-30):
   the sky band edge to edge, the tabs as pills on it; the statement's figures as cards, the closing balance in navy ---------- */
html.ay4 .fi-panel-agency .fi-page:has(.fz-report-tabs) .fi-page-header-main-ctn > .fi-header {
    border-radius: 0; margin-inline: calc(50% - var(--ayvw50, 50vw)); margin-top: -64px; padding: 90px calc(var(--ayvw50, 50vw) - 50% + 44px) 76px;
}
html.ay4 .fi-panel-agency .fi-page:has(.fz-report-tabs) .fi-header .fi-breadcrumbs { display: none; }
html.ay4 .fi-panel-agency .fi-page:has(.fz-report-tabs) .fi-header .fi-header-heading { font: 800 40px/1.1 var(--v4-sans, inherit) !important; letter-spacing: 0 !important; }
html.ay4 .fi-panel-agency .fz-report-tabs { margin: -62px 0 26px 20px !important; }
html.ay4 .fi-panel-agency .fz-report-tabs .fi-tabs { background: transparent !important; box-shadow: none !important; padding: 0; gap: 6px; }
html.ay4 .fi-panel-agency .fz-report-tabs .fi-tabs-item { height: 32px; padding: 0 14px; border-radius: 999px; background: transparent !important; }
html.ay4 .fi-panel-agency .fz-report-tabs .fi-tabs-item .fi-tabs-item-label { color: rgba(255,255,255,.88) !important; font-size: 13px; font-weight: 600; }
html.ay4 .fi-panel-agency .fz-report-tabs .fi-tabs-item:hover { background: rgba(255,255,255,.12) !important; }
html.ay4 .fi-panel-agency .fz-report-tabs .fi-tabs-item.fi-active { background: #fff !important; }
html.ay4 .fi-panel-agency .fz-report-tabs .fi-tabs-item.fi-active .fi-tabs-item-label { color: #0A1128 !important; }
html.ay4 .fi-panel-agency .fi-page:has(.fz-report-tabs) :is(.fi-section, .fi-ta-ctn, .ay4-card, .fz-card) { border: 0 !important; border-radius: 16px !important; box-shadow: 0 1px 2px rgba(10,17,40,.05), 0 8px 24px rgba(10,17,40,.06) !important; }
html.ay4.ay4-page-statement .ay4-st { background: transparent; border: 0; }
html.ay4.ay4-page-statement .ay4-st-line { gap: 12px; align-items: stretch; }
html.ay4.ay4-page-statement .ay4-st-line > div { padding: 14px 16px; border: 0 !important; border-radius: 16px; background: #fff; box-shadow: 0 1px 2px rgba(10,17,40,.05), 0 8px 24px rgba(10,17,40,.06); }
html.ay4.ay4-page-statement .ay4-st-line > div.acts { background: transparent; box-shadow: none; padding: 0; align-items: center; }
html.ay4.ay4-page-statement .ay4-st-line span { font-size: 10.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #6B7286; }
html.ay4.ay4-page-statement .ay4-st-line b { font-size: 22px; font-weight: 800; color: #0A1128; }
html.ay4.ay4-page-statement .ay4-st-line .close { background: #0A1128 !important; }
html.ay4.ay4-page-statement .ay4-st-line .close span { color: rgba(255,255,255,.7); }
html.ay4.ay4-page-statement .ay4-st-line .close b { font: 800 26px/1.1 var(--v4-sans, inherit); color: #fff; }
html.ay4.ay4-page-statement .ay4-st > :not(.ay4-st-line) { margin-top: 10px; padding: 10px 16px; background: #fff; border-radius: 16px; box-shadow: 0 1px 2px rgba(10,17,40,.05), 0 8px 24px rgba(10,17,40,.06); }
@media (max-width: 760px) {
    html.ay4 .fi-panel-agency .fi-page:has(.fz-report-tabs) .fi-page-header-main-ctn > .fi-header { margin-top: -58px; padding: 80px calc(var(--ayvw50, 50vw) - 50% + 16px) 68px; }
    html.ay4 .fi-panel-agency .fi-page:has(.fz-report-tabs) .fi-header .fi-header-heading { font-size: 28px !important; }
    html.ay4 .fi-panel-agency .fz-report-tabs { margin: -56px 0 20px 0 !important; overflow-x: auto; scrollbar-width: none; }
}
html.ay4.ay4-page-statement .ay4-st-line > div:nth-child(2) b { color: #B42318; }
html.ay4.ay4-page-statement .ay4-st-line > div:nth-child(3) b { color: #13804B; }
@media (max-width: 760px) {
    html.ay4 .fi-panel-agency .fz-report-tabs .fi-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
    html.ay4 .fi-panel-agency .fz-report-tabs .fi-tabs-item { flex: none; }
    html.ay4 .fi-panel-agency .fi-page:has(.fz-report-tabs) .fi-page-header-main-ctn > .fi-header { justify-content: flex-start; text-align: start; }
    html.ay4.ay4-page-statement .ay4-st-line b { font-size: 18px; }
    html.ay4.ay4-page-statement .ay4-st-line .close b { font-size: 20px; }
}
@media (max-width: 760px) { html.ay4 .fi-panel-agency .fi-page:has(.fz-report-tabs) .fi-header :is(.fi-header-heading, div) { text-align: start !important; margin-inline: 0 !important; } }
@media (max-width: 760px) { html.ay4 .fi-panel-agency .fi-page:has(.fz-report-tabs) .fi-page-header-main-ctn > .fi-header { align-items: flex-start; } }

/* ---------- Every other office page (Add balance, My target, Help, Fare calendar, Settings …), as the design board (2026-10-30):
   the page heading is the sky band edge to edge under the white top bar; cards white with soft shadows ---------- */
html.ay4:not(.ay4-page-booking):not(.ay4-guest) .fi-panel-agency .fi-page:not(:has(.fz-report-tabs)) .fi-page-header-main-ctn > .fi-header {
    border-radius: 0; margin-inline: calc(50% - var(--ayvw50, 50vw)); margin-top: -64px; padding: 92px calc(var(--ayvw50, 50vw) - 50% + 44px) 30px; margin-bottom: 8px;
}
html.ay4:not(.ay4-guest) .fi-panel-agency .fi-header .fi-breadcrumbs { display: none; }
html.ay4:not(.ay4-guest):not(.ay4-page-booking) .fi-panel-agency .fi-header .fi-header-heading { font: 800 36px/1.1 var(--v4-sans, inherit) !important; letter-spacing: 0 !important; }
html.ay4:not(.ay4-guest) .fi-panel-agency .fi-section { border: 0 !important; border-radius: 16px !important; box-shadow: 0 1px 2px rgba(10,17,40,.05), 0 8px 24px rgba(10,17,40,.06) !important; }
html.ay4:not(.ay4-guest) .fi-panel-agency .fi-ta-ctn { border: 0 !important; border-radius: 16px !important; box-shadow: 0 1px 2px rgba(10,17,40,.05), 0 8px 24px rgba(10,17,40,.06) !important; }
@media (max-width: 760px) {
    html.ay4:not(.ay4-page-booking):not(.ay4-guest) .fi-panel-agency .fi-page:not(:has(.fz-report-tabs)) .fi-page-header-main-ctn > .fi-header { margin-top: -58px; padding: 80px calc(var(--ayvw50, 50vw) - 50% + 16px) 24px; align-items: flex-start; flex-direction: column; }
    html.ay4:not(.ay4-guest):not(.ay4-page-booking) .fi-panel-agency .fi-header .fi-header-heading { font-size: 28px !important; text-align: start !important; }
}

/* owner 2026-10-31: the status pills sat on the "Bookings" title; the band is taller so they sit under it */
html.ay4.ay4-page-bookings .fi-page-header-main-ctn > .fi-header { padding-bottom: 76px !important; }

/* Flight search as ONE slim white bar (owner's handoff 2026-10-31, "After" picture): trip type as a glass pill on the sky,
   From ⇄ To · Dates · Travellers with small gold icons, a gold Search pill inside the bar. Wide screens only; phones keep the boxes. */
@media (min-width: 1000px) {
    html.ay4 .ay4-home .ay4-search { background: transparent !important; box-shadow: none !important; padding: 0 !important; margin: -112px 36px 0 !important; border: 0 !important; }
    html.ay4 .ay4-home .ay4-s-top { margin-bottom: 12px; }
    html.ay4 .ay4-home .ay4-seg { display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(8px); }
    html.ay4 .ay4-home .ay4-seg > :is(button, a) { border: 0; background: transparent; color: #fff; padding: 6px 16px; font-size: 13px; font-weight: 600; border-radius: 999px; }
    html.ay4 .ay4-home .ay4-seg > .on { background: #fff; color: #0A1128; }
    html.ay4 .ay4-home .ay4-fields { display: flex; align-items: center; gap: 0; height: 68px; padding: 6px; background: #fff; border-radius: 999px; box-shadow: 0 18px 40px -16px rgba(6,24,58,.35), 0 2px 6px rgba(6,24,58,.06); }
    html.ay4 .ay4-home .ay4-box { display: flex; flex: 1 1 auto; align-items: center; gap: 0; min-width: 0; }
    html.ay4 .ay4-home .ay4-box .ay4-vline { display: none; }
    html.ay4 .ay4-home .ay4-dates { display: flex; align-items: center; flex: 1.2 1 0; min-width: 0; }
    html.ay4 .ay4-home :is(.ay4-box .ay4-f, .ayd-paxbtn) { position: relative; height: 56px; display: grid; align-content: center; gap: 0; padding: 4px 14px 4px 46px; background: transparent; border: 0; border-radius: 999px; box-shadow: none; min-width: 0; }
    html.ay4 .ay4-home :is(.ay4-box .ay4-f, .ayd-paxbtn):hover { background: #F4F6FA; border: 0; }
    html.ay4 .ay4-home :is(.ay4-box .ay4-f, .ayd-paxbtn):focus-within, html.ay4 .ay4-home :is(.ay4-f, .ayd-paxbtn).on { background: #F2F4F8; box-shadow: inset 0 0 0 1px #0A1128; border: 0; }
    html.ay4 .ay4-home .ay4-box .ay4-f.from, html.ay4 .ay4-home .ay4-box .ay4-f.to { flex: 1 1 0; }
    html.ay4 .ay4-home .ay4-box .ay4-f.dep { flex: 0 1 auto; padding-right: 4px; }
    html.ay4 .ay4-home .ay4-box .ay4-f.ret { flex: 1 1 auto; padding-left: 6px; }
    html.ay4 .ay4-home .ay4-box .ay4-f.ret::before { display: none; }
    html.ay4 .ay4-home .ay4-box .ay4-f.ret > small:first-child { visibility: hidden; }
    html.ay4 .ay4-home .ay4-box .ay4-f.ret.off .v { color: #6B7488; font-weight: 500; }
    html.ay4 .ay4-home .ay4-box .ay4-f.to, html.ay4 .ay4-home .ay4-dates, html.ay4 .ay4-home .ayd-paxcell { border-left: 1px solid #E6E9F0; }
    html.ay4 .ay4-home .ay4-f > small:first-child { font-size: 11.5px !important; font-weight: 500 !important; letter-spacing: 0 !important; text-transform: none !important; color: #6B7488 !important; }
    html.ay4 .ay4-home .ay4-f .sub { display: none !important; }
    html.ay4 .ay4-home .ay4-f .v { font-size: 15.5px; font-weight: 700; color: #0A1128; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: baseline; gap: 6px; line-height: 1.3; }
    html.ay4 .ay4-home .ay4-f .v input { width: 3.4ch; font-size: 16px; font-weight: 800; padding: 0; border: 0; background: transparent; }
    html.ay4 .ay4-home .ay4-f .v em { font-style: normal; font-weight: 400; font-size: 14px; color: #3D4D66; }
    html.ay4 .ay4-home .ay4-box .ay4-swap { width: 32px; height: 32px; margin: 0 -16px; flex: none; z-index: 3; background: #fff; border: 1px solid #E1E5EE; border-radius: 50%; box-shadow: 0 2px 6px rgba(6,24,58,.08); }
    html.ay4 .ay4-home .ayd-paxcell { flex: 0 1 230px; min-width: 0; }
    html.ay4 .ay4-home .ayd-paxbtn { width: 100%; }
    html.ay4 .ay4-home .ay4-go { flex: none; height: 56px !important; min-height: 0 !important; padding: 0 26px !important; border-radius: 999px !important; display: inline-flex; align-items: center; gap: 8px; font-size: 15.5px !important; margin-left: 6px; }
    html.ay4 .ay4-home .ay4-go .ay4-i { width: 17px; height: 17px; }
    /* small gold icons */
    html.ay4 .ay4-home :is(.ay4-box .ay4-f, .ayd-paxbtn)::before { content: ""; position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; margin-top: -10px; background: #C9A45C;
        -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; }
    html.ay4 .ay4-home .ay4-f.from { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 20h20M4.5 13.5l3 1.5 4-2-6-4.5 2-.8 8 3 3.4-1.6a1.8 1.8 0 0 1 1.6 3.2L8 17.5l-4.5-2.2z'/%3E%3C/svg%3E"); }
    html.ay4 .ay4-home .ay4-f.to { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 20h20M3.5 9.5l2.5-.5 3 3 5-.6-3.6-6.4 2.2.1 5.6 6.3 3.7.6a1.8 1.8 0 0 1-.4 3.5L5.6 13.6 3.5 9.5z'/%3E%3C/svg%3E"); }
    html.ay4 .ay4-home .ay4-f.dep { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Crect x='3.5' y='5' width='17' height='15' rx='3'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
    html.ay4 .ay4-home .ayd-paxbtn { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E"); }
    html.ay4 .ay4-home .ay4-search .ay4-chips { margin: 14px 6px 0; }
}

/* Home search: "Direct only" and "± 3 days" as glass toggles next to the trip type (owner 2026-10-31) */
html.ay4 .ay4-home .ay4-s-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
html.ay4 .ay4-home .ay4-tog { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; user-select: none; padding: 7px 14px 7px 10px; border-radius: 999px; font-size: 13px; font-weight: 600;
    color: #fff; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(8px); }
html.ay4 .ay4-home .ay4-tog input { appearance: none; -webkit-appearance: none; width: 16px; height: 16px; margin: 0; border-radius: 5px; border: 1.5px solid rgba(255,255,255,.8); background: transparent; display: grid; place-content: center; }
html.ay4 .ay4-home .ay4-tog input:checked { background: #C9A45C; border-color: #C9A45C; }
html.ay4 .ay4-home .ay4-tog input:checked::after { content: ""; width: 8px; height: 5px; border: 2px solid #0A1128; border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); }
html.ay4 .ay4-home .ay4-tog:has(input:checked) { background: #fff; color: #0A1128; border-color: #fff; }
html.ay4 .ay4-home .ay4-tog:has(input:checked) input { border-color: #C9A45C; }
@media (max-width: 999px) { html.ay4 .ay4-home .ay4-tog { color: #0A1128; background: #fff; border-color: #E1E5EE; } html.ay4 .ay4-home .ay4-tog input { border-color: #8A93A6; } }
/* results: the cheapest day of the strip ("± 3 days") */
html.ay4 .ay4-res .dates .dt { position: relative; }
html.ay4 .ay4-res .dates .dt.best { box-shadow: inset 0 0 0 1.5px #C9A45C; }
html.ay4 .ay4-res .dates .dt .cheap { position: absolute; top: -7px; left: 50%; transform: translateX(-50%); font-style: normal; font-size: 9.5px; font-weight: 700; letter-spacing: .02em; padding: 1px 7px; border-radius: 999px; background: #C9A45C; color: #0A1128; white-space: nowrap; }
/* owner 2026-10-31 ("like my picture"): the two as switches on the right of the band, plain white words, no pill */
@media (min-width: 1000px) {
    html.ay4 .ay4-home .ay4-s-top .ay4-seg + .ay4-tog { margin-left: auto; }
    html.ay4 .ay4-home .ay4-s-top .ay4-tog, html.ay4 .ay4-home .ay4-s-top .ay4-tog:has(input:checked) { background: none; border: 0; backdrop-filter: none; color: #fff; padding: 4px 0 4px 18px; font-size: 14px; font-weight: 500; }
}
html.ay4 .ay4-home .ay4-tog input, html.ay4 .ay4-home .ay4-tog:has(input:checked) input { width: 34px; height: 20px; border-radius: 999px; border: 0; background: rgba(255,255,255,.35); position: relative; display: block; transition: background .15s; }
html.ay4 .ay4-home .ay4-tog input::after, html.ay4 .ay4-home .ay4-tog input:checked::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border: 0; border-radius: 50%; background: #fff; transform: none; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: left .15s; }
html.ay4 .ay4-home .ay4-tog input:checked { background: #C9A45C; }
html.ay4 .ay4-home .ay4-tog input:checked::after { left: 16px; }
@media (max-width: 999px) { html.ay4 .ay4-home .ay4-tog input { background: #C8CDD8; } }
html.ay4 .ay4-home .ay4-tog:has(input:checked) input:checked { background: #C9A45C; }

/* ===== Reports of the office (owner's design 2026-10-31): Account Statement and Sales Report ===== */
html.ay4 .ay4-rb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding: 12px 16px; background: #fff; border-radius: 18px; box-shadow: 0 18px 40px -18px rgba(6,24,58,.35), 0 1px 3px rgba(6,24,58,.06); }
html.ay4 .ay4-rb a, html.ay4 .ay4-rb button, html.ay4 .ay4-rb summary { font: inherit; cursor: pointer; text-decoration: none; }
html.ay4 .ay4-rb-tabs { display: inline-flex; gap: 2px; padding: 4px; border-radius: 12px; background: #F2F4F8; }
html.ay4 .ay4-rb-tabs a { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 9px; font-size: 13.5px; font-weight: 700; color: #0A1128; }
html.ay4 .ay4-rb-tabs a .ay4-i { width: 15px; height: 15px; color: #C9A45C; }
html.ay4 .ay4-rb-tabs a.on { background: #0A1128; color: #fff; }
html.ay4 .ay4-rb-sep { width: 1px; height: 28px; background: #E6E9F0; }
html.ay4 .ay4-rb-per { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
html.ay4 .ay4-rb-per > a, html.ay4 .ay4-rb-range > summary, html.ay4 .ay4-rb-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; border: 1px solid #E1E5EE; background: #fff; font-size: 13px; font-weight: 500; color: #0A1128; white-space: nowrap; }
html.ay4 .ay4-rb-per > a:hover, html.ay4 .ay4-rb-range > summary:hover { border-color: #0A1128; }
html.ay4 .ay4-rb-per > a.on { background: #0A1128; border-color: #0A1128; color: #fff; font-weight: 600; }
html.ay4 .ay4-rb-range { position: relative; }
html.ay4 .ay4-rb-range > summary { list-style: none; }
html.ay4 .ay4-rb-range > summary::-webkit-details-marker { display: none; }
html.ay4 .ay4-rb-range .ay4-i { width: 14px; height: 14px; color: #C9A45C; }
html.ay4 .ay4-rb-range form { position: absolute; z-index: 30; top: calc(100% + 8px); left: 0; display: grid; gap: 10px; padding: 14px; min-width: 230px; background: #fff; border-radius: 14px; box-shadow: 0 18px 40px -12px rgba(6,24,58,.35); border: 1px solid #E6E9F0; }
html.ay4 .ay4-rb-range label { display: grid; gap: 4px; font-size: 12px; color: #6B7488; }
html.ay4 .ay4-rb-range input { font: inherit; font-size: 14px; color: #0A1128; padding: 7px 10px; border: 1px solid #E1E5EE; border-radius: 10px; }
html.ay4 .ay4-rb-range button { padding: 9px; border: 0; border-radius: 999px; background: #C9A45C; color: #0A1128; font-weight: 700; }
html.ay4 .ay4-rb-dl { display: flex; gap: 8px; margin-left: auto; }
html.ay4 .ay4-rb-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 10px; border: 1.5px solid #0A1128; background: #fff; color: #0A1128 !important; font-size: 13px; font-weight: 700; }
html.ay4 .ay4-rb-btn .ay4-i { width: 14px; height: 14px; }
html.ay4 .ay4-rb-btn:hover { background: #0A1128; color: #fff !important; }

html.ay4 .ay4-acc { display: grid; gap: 16px; }
html.ay4 .ay4-acc-card { background: #fff; border-radius: 18px; box-shadow: 0 1px 3px rgba(6,24,58,.06), 0 10px 30px -20px rgba(6,24,58,.25); }
html.ay4 .ay4-acc-empty { padding: 22px; color: #6B7488; }
html.ay4 .ay4-acc-sum { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding: 12px 20px; }
html.ay4 .ay4-acc-sum > div > span { display: block; font-size: 12px; color: #6B7488; }
html.ay4 .ay4-acc-sum > div > b { font-size: 19px; font-weight: 700; color: #0A1128; font-variant-numeric: tabular-nums; }
html.ay4 .ay4-acc-sum b.pos { color: #1B8A4B; } html.ay4 .ay4-acc-sum b.neg { color: #C0392B; }
html.ay4 .ay4-acc-sum > i { font-style: normal; color: #9AA3B5; font-size: 18px; }
html.ay4 .ay4-acc-sum .bal { background: #0A1128; border-radius: 12px; padding: 10px 16px; }
html.ay4 .ay4-acc-sum .bal span { color: #C9D2E4; } html.ay4 .ay4-acc-sum .bal b { color: #fff; font-size: 21px; }
html.ay4 .ay4-acc-sum .inv { margin-left: auto; display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: #6B7488; }
html.ay4 .ay4-acc-sum .inv a { display: inline-flex; align-items: center; gap: 5px; color: #1F4FA3; font-weight: 600; }
html.ay4 .ay4-acc-sum .inv .ay4-i { width: 14px; height: 14px; }
html.ay4 .ay4-acc-pill { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px; background: #E7F6EE; color: #1B8A4B; font-size: 12px; font-weight: 600; }
html.ay4 .ay4-acc-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
html.ay4 .ay4-acc-pill.due { background: #FFF4E0; color: #A86400; }
html.ay4 .ay4-acc-mv { overflow: hidden; }
html.ay4 .ay4-acc-h { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 16px 20px 8px; }
html.ay4 .ay4-acc-h h2 { margin: 0 auto 0 0; font-size: 18px; font-weight: 800; color: #0A1128; }
html.ay4 .ay4-acc-h .chips { display: flex; flex-wrap: wrap; gap: 6px; }
html.ay4 .ay4-acc-h button { font: inherit; cursor: pointer; padding: 6px 12px; border-radius: 999px; border: 1px solid #E1E5EE; background: #fff; font-size: 13px; font-weight: 500; color: #0A1128; }
html.ay4 .ay4-acc-h button.on { background: #0A1128; border-color: #0A1128; color: #fff; font-weight: 600; }
html.ay4 .ay4-acc-scroll { overflow-x: auto; }
html.ay4 .ay4-acc-t { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 13.5px; color: #0A1128; }
html.ay4 .ay4-acc-t th { text-align: left; padding: 10px 12px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #6B7488; border-bottom: 1px solid #E6E9F0; }
html.ay4 .ay4-acc-t td { padding: 12px; border-bottom: 1px solid #EEF0F5; vertical-align: middle; }
html.ay4 .ay4-acc-t th:first-child, html.ay4 .ay4-acc-t td:first-child { padding-left: 20px; }
html.ay4 .ay4-acc-t th:last-child, html.ay4 .ay4-acc-t td:last-child { padding-right: 20px; }
html.ay4 .ay4-acc-t .n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
html.ay4 .ay4-acc-t td.in { color: #1B8A4B; }
html.ay4 .ay4-acc-t td.d { color: #3D4D66; white-space: nowrap; }
html.ay4 .ay4-acc-t .doc { color: #1F4FA3; white-space: nowrap; font-variant-numeric: tabular-nums; }
html.ay4 .ay4-acc-t a.doc:hover { text-decoration: underline; }
html.ay4 .ay4-acc-t td.w { max-width: 460px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.ay4 .ay4-acc-t .tag { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; margin-right: 4px; border-radius: 999px; font-size: 12px; font-weight: 600; vertical-align: 1px; }
html.ay4 .ay4-acc-t .tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
html.ay4 .ay4-acc-t .t-top, html.ay4 .ay4-acc-t .t-ref { background: #E7F6EE; color: #1B8A4B; }
html.ay4 .ay4-acc-t .t-tkt { background: #E8EFFC; color: #1F4FA3; }
html.ay4 .ay4-acc-t .t-fee { background: #FFF1E3; color: #B45A00; }
html.ay4 .ay4-acc-t .t-x { background: #FDECEC; color: #B42318; }
html.ay4 .ay4-acc-t tr.op td { border-bottom-color: #E6E9F0; }
html.ay4 .ay4-acc-t tfoot td { background: #F5F7FB; font-weight: 700; border-bottom: 0; }
html.ay4 .ay4-acc-t .none { color: #6B7488; }
html.ay4 .ay4-acc-foot { margin: 0; font-size: 13px; }
html.ay4 .ay4-acc-foot a { display: inline-flex; align-items: center; gap: 5px; color: #1F4FA3; font-weight: 600; }
html.ay4 .ay4-acc-foot .ay4-i { width: 14px; height: 14px; }
/* Sales Report */
html.ay4 .ay4-rb-air .dn { width: 12px; height: 12px; color: #6B7488; }
html.ay4 .ay4-rb-menu { position: absolute; z-index: 30; top: calc(100% + 8px); left: 0; display: grid; min-width: 200px; padding: 6px; background: #fff; border-radius: 14px; border: 1px solid #E6E9F0; box-shadow: 0 18px 40px -12px rgba(6,24,58,.35); }
html.ay4 .ay4-rb-menu a { padding: 8px 12px; border-radius: 9px; font-size: 13.5px; color: #0A1128; }
html.ay4 .ay4-rb-menu a:hover { background: #F2F4F8; } html.ay4 .ay4-rb-menu a.on { font-weight: 700; }
html.ay4 .ay4-sales-sum { gap: 10px 0; padding: 14px 20px; }
html.ay4 .ay4-sales-sum > div:not(.com) { padding: 0 22px; border-left: 1px solid #E6E9F0; }
html.ay4 .ay4-sales-sum > div:first-child { padding-left: 0; border-left: 0; }
html.ay4 .ay4-sales-sum em { font-style: normal; font-size: 13px; color: #3D4D66; }
html.ay4 .ay4-sales-sum .com { margin-left: auto; padding: 10px 16px; border-radius: 12px; background: #E7F6EE; }
html.ay4 .ay4-sales-sum .com span { color: #1B8A4B; font-weight: 600; } html.ay4 .ay4-sales-sum .com b { color: #1B8A4B; font-size: 21px; }
html.ay4 .ay4-acc-h a.ay4-acc-ev { padding: 6px 12px; border-radius: 999px; border: 1px solid #E1E5EE; font-size: 13px; color: #0A1128; text-decoration: none; }
html.ay4 .ay4-acc-h a.ay4-acc-ev:hover { border-color: #0A1128; }
html.ay4 .ay4-sales .ay4-acc-t { min-width: 1000px; }
html.ay4 .ay4-sales .ay4-acc-t td.pnr { white-space: nowrap; }
html.ay4 .ay4-sales .ay4-acc-t td.pnr .tag { margin-left: 4px; }
html.ay4 .ay4-sales .ay4-acc-t td.tk, html.ay4 .ay4-sales .ay4-acc-t td.rt { white-space: nowrap; font-variant-numeric: tabular-nums; }
html.ay4 .ay4-sales .ay4-acc-t td.w { max-width: 220px; }
html.ay4 .ay4-sales .ay4-acc-t td small { color: #6B7488; font-size: 12px; }
html.ay4 .ay4-acc-more { margin: 0; padding: 10px 20px 14px; font-size: 12.5px; color: #6B7488; }
@media print { html.ay4 .ay4-rb { display: none !important; } }
/* the toolbar on one line on a laptop: slimmer chips */
@media (min-width: 1000px) {
    html.ay4 .ay4-rb { gap: 8px 10px; padding: 10px 12px; }
    html.ay4 .ay4-rb-per { gap: 6px; }
    html.ay4 .ay4-rb-per > a, html.ay4 .ay4-rb-range > summary { padding: 6px 11px; font-size: 12.5px; }
    html.ay4 .ay4-rb-tabs a { padding: 7px 12px; font-size: 13px; }
    html.ay4 .ay4-rb-btn { padding: 6px 11px; font-size: 12.5px; }
}
/* "Chat with us" (owner 2026-10-31: it sat on the pages): a small round button in the corner, the words only on hover */
html.ay4 .ay-chat { bottom: 14px; inset-inline-end: 14px; }
html.ay4 .ay-chat-btn { position: relative; width: 44px; height: 44px; padding: 0; justify-content: center; border-radius: 50%; background: #0A1128; box-shadow: 0 8px 20px -6px rgba(6,24,58,.5); }
html.ay4 .ay-chat-btn span { display: none; }
html.ay4 .ay-chat-btn::before { content: ""; width: 20px; height: 20px; background: #C9A45C;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a8 8 0 0 1-11.6 7.1L4 20.5l1.4-4.9A8 8 0 1 1 21 12z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a8 8 0 0 1-11.6 7.1L4 20.5l1.4-4.9A8 8 0 1 1 21 12z'/%3E%3C/svg%3E") center / contain no-repeat; }
html.ay4 .fi-panel-agency .fi-main { padding-bottom: 70px; }
/* owner 2026-11-12 (phone): the round button showed the 💬 emoji over the gold icon, and covered buttons such as "Add note".
   Only the gold icon; on a phone a smaller button closer to the corner. */
html.ay4 .ay-chat-btn { font-size: 0; }
@media (max-width: 640px) {
    html.ay4 .ay-chat { bottom: 10px; inset-inline-end: 10px; }
    html.ay4 .ay-chat-btn { width: 38px; height: 38px; opacity: .92; }
    html.ay4 .ay-chat-btn::before { width: 17px; height: 17px; }
    html.ay4 .fi-panel-agency .fi-main { padding-bottom: 64px; }
}

/* Office search bar (2026-11-04 owner): the two dates were cut ("Wed 11 Nov", "– Wed 18 Nov" and "Dates · 7 nights" on two
   lines). The dates take the room they need; From and To give way. */
@media (min-width: 1000px) {
    html.ay4 .ay4-home .ay4-box .ay4-dates { flex: 0 0 auto !important; }
    html.ay4 .ay4-home .ay4-box .ay4-dates :is(.ay4-f.dep, .ay4-f.ret) { flex: 0 0 auto !important; }
    html.ay4 .ay4-home .ay4-box .ay4-dates .ay4-f > small:first-child { white-space: nowrap; }
    html.ay4 .ay4-home .ay4-box .ay4-dates .ay4-f .v { overflow: visible; text-overflow: clip; }
    html.ay4 .ay4-home .ay4-box .ay4-f.from, html.ay4 .ay4-home .ay4-box .ay4-f.to { min-width: 120px; }
}

/* Back button (2026-11-04): it takes no room here, so the sky band still starts under the top menu (with room it pushed
   the band down and the top menu showed on a light strip, owner screenshot of Training). It sits on the band. */
html.ay4:not(.ay4-guest) .fi-panel-agency .ay-back-wrap { height: 0; margin: 0; overflow: visible; align-items: flex-start; }
html.ay4:not(.ay4-guest) .fi-panel-agency .ay-back-wrap .ay-back { margin-top: 4px; }
/* owner 2026-11-12: Back now sits in a bar at the bottom of every page (filament/partials/back-button), so the title needs no room */

/* owner 2026-11-14: "everything is glued together" — the search bar gets room: a taller white bar with soft corners,
   each field its own cell with a thin line between, three lines in each (label, value, small line under), the swap
   button on the line between From and To, Departure and Return each with its own label, a full-height Search button. */
@media (min-width: 1000px) {
    html.ay4 .ay4-home .ay4-s-top { margin-bottom: 16px; }
    html.ay4 .ay4-home .ay4-fields { height: auto; padding: 8px; gap: 0; border-radius: 22px; align-items: stretch;
        box-shadow: 0 22px 48px -20px rgba(6,24,58,.42), 0 2px 8px rgba(6,24,58,.07); }
    html.ay4 .ay4-home .ay4-box { align-items: stretch; }
    html.ay4 .ay4-home .ay4-dates { flex: 0 0 auto; align-items: stretch; padding-left: 1px !important; }
    html.ay4 .ay4-home .ay4-box .ay4-f.dep { padding-left: 56px; }
    html.ay4 .ay4-home :is(.ay4-box .ay4-f, .ayd-paxbtn) { height: 72px; padding: 10px 22px 10px 54px; gap: 3px; border-radius: 16px; }
    html.ay4 .ay4-home .ay4-box .ay4-f.from { padding-right: 30px; }
    html.ay4 .ay4-home .ay4-box .ay4-f.to { padding-left: 66px; }
    html.ay4 .ay4-home .ay4-box .ay4-f.to::before { left: 30px; }
    html.ay4 .ay4-home .ay4-box .ay4-f.dep { padding-right: 22px; min-width: 150px; }
    html.ay4 .ay4-home .ay4-box .ay4-f.ret { padding-left: 22px; min-width: 140px; border-left: 0; border-radius: 16px; }
    html.ay4 .ay4-home .ay4-box .ay4-f.ret > small:first-child { visibility: visible; }
    html.ay4 .ay4-home .ay4-box .ay4-f.ret.off .v { color: #9A6F1E; font-weight: 600; }
    html.ay4 .ay4-home :is(.ay4-box .ay4-f, .ayd-paxbtn)::before { left: 20px; width: 22px; height: 22px; margin-top: -11px; }
    html.ay4 .ay4-home .ay4-box .ay4-f.to, html.ay4 .ay4-home .ay4-dates, html.ay4 .ay4-home .ayd-paxcell { border-left: 0; }
    /* thin lines between the cells, not touching the bar's edge */
    html.ay4 .ay4-home :is(.ay4-box .ay4-f.to, .ay4-dates .ay4-f.dep, .ay4-box .ay4-f.ret, .ayd-paxcell) { background-image: linear-gradient(#E6E9F0, #E6E9F0); background-size: 1px 44px; background-position: left center; background-repeat: no-repeat; }
    html.ay4 .ay4-home .ay4-f > small:first-child { font-size: 12px !important; color: #7A8296 !important; }
    html.ay4 .ay4-home .ay4-f .sub { display: block !important; font-size: 12px; color: #8A93A6; line-height: 1.2; }
    html.ay4 .ay4-home .ay4-f .v { font-size: 17px; line-height: 1.25; }
    html.ay4 .ay4-home .ay4-f .v input { font-size: 18px; width: 3.6ch; height: 22px; line-height: 22px; }
    html.ay4 .ay4-home .ay4-f .v { min-height: 0; height: 22px; align-items: center; }
    html.ay4 .ay4-home .ay4-f .v em { font-size: 14.5px; color: #4A5872; }
    html.ay4 .ay4-home .ay4-box .ay4-swap { align-self: center; width: 36px; height: 36px; margin: 0 -18px; }
    html.ay4 .ay4-home .ayd-paxcell { flex: 0 1 220px; }
    html.ay4 .ay4-home .ay4-go { height: auto !important; align-self: stretch; padding: 0 34px !important; border-radius: 16px !important; font-size: 16.5px !important; margin-left: 8px; }
    html.ay4 .ay4-home .ay4-search .ay4-chips { margin: 16px 8px 0; }
}

/* owner 2026-11-14: the top of the office home was "all on top of each other" (title, line, trip pills, search bar).
   Air between them: a taller sky, the search card sits wholly on the photo with sky under it, room before the next part. */
@media (min-width: 1000px) {
    html.ay4.ay4-page-home .ay4-home .ay4-hero { padding-top: 132px; padding-bottom: 236px; }
    html.ay4 .ay4-home .ay4-hero .ay4-date { margin: 0 0 14px; font-size: 16px; }
    html.ay4 .ay4-home .ay4-hero h1 { margin: 0; font-size: 50px; line-height: 1.06; max-width: none; }
    html.ay4 .ay4-home .ay4-hero .ay4-band-sub { margin-top: 16px; font-size: 16px; }
    html.ay4 .ay4-home .ay4-search { margin-top: -186px !important; }
    html.ay4 .ay4-home .ay4-s-top { margin-bottom: 18px; }
    html.ay4 .ay4-home .ay4-search .ay4-chips { margin-top: 22px; }
    html.ay4 .ay4-home .ay4-grid { margin-top: 84px !important; }   /* the card hangs 36px over the sky's end: 48px clear under the sky */
    /* finer type (owner: "nask"): lighter weights, softer whites, a slimmer Search */
    html.ay4 .ay4-home .ay4-hero .ay4-date { font-size: 15px; font-weight: 400; color: rgba(255,255,255,.82); letter-spacing: .01em; }
    html.ay4 .ay4-home .ay4-hero .ay4-date b { font-weight: 600; }
    html.ay4 .ay4-home .ay4-hero h1 { font-size: 44px !important; font-weight: 600; letter-spacing: -.025em; }
    html.ay4 .ay4-home .ay4-hero .ay4-band-sub { font-size: 15px; font-weight: 400; color: rgba(255,255,255,.78); }
    html.ay4 .ay4-home .ay4-seg > :is(button, a) { font-weight: 500; padding: 6px 18px; }
    html.ay4 .ay4-home .ay4-s-top .ay4-tog, html.ay4 .ay4-home .ay4-s-top .ay4-tog:has(input:checked) { font-size: 13.5px; font-weight: 400; color: rgba(255,255,255,.9); }
    html.ay4 .ay4-home .ay4-f .v { font-size: 16px; font-weight: 600; }
    html.ay4 .ay4-home .ay4-f .v input { font-size: 17px; font-weight: 700; }
    html.ay4 .ay4-home .ay4-f > small:first-child { font-size: 11.5px !important; font-weight: 400 !important; }
    html.ay4 .ay4-home .ay4-f .sub { font-size: 11.5px; }
    html.ay4 .ay4-home .ay4-go { font-size: 15px !important; font-weight: 600; padding: 0 30px !important; box-shadow: 0 8px 18px -8px rgba(201,164,92,.7); }
}
/* owner 2026-11-14: with recent searches the chips sat on the sky's lower edge ("RECENT" dark on the photo). Owner: "lower is
   nicer" - the chips go under the sky, on the light page, then the next part. */
@media (min-width: 1000px) {
    html.ay4 .ay4-home .ay4-search .ay4-chips { margin-top: 58px; }
    html.ay4 .ay4-home .ay4-search:has(.ay4-chips) + .ay4-grid, html.ay4 .ay4-home:has(.ay4-search .ay4-chips) .ay4-grid { margin-top: 36px !important; }
}

/* owner 2026-11-14 (phone): the search boxes were big and heavy - "like the PC". One white card, the fields as slim rows with
   small gold icons and thin lines (From, To with the swap on their line, Departure | Return, Travellers), small type, no capitals. */
@media (max-width: 999px) {
    html.ay4 body .ay4-home .ay4-search { padding: 14px; border-radius: 20px; }
    html.ay4 body .ay4-home .ay4-s-top { gap: 8px; margin-bottom: 12px; }
    html.ay4 body .ay4-home .ay4-seg > :is(button, a) { padding: 7px 6px; font-size: 13px; font-weight: 500; }
    html.ay4 body .ay4-home .ay4-tog { padding: 5px 12px 5px 8px; font-size: 12.5px; font-weight: 500; }
    html.ay4 body .ay4-home .ay4-tog input { width: 30px !important; height: 18px !important; }
    html.ay4 body .ay4-home .ay4-tog input::after { width: 14px !important; height: 14px !important; }
    html.ay4 body .ay4-home .ay4-tog input:checked::after { left: 14px !important; }
    html.ay4 body .ay4-home .ay4-fields { gap: 10px; }
    html.ay4 body .ay4-home .ay4-box { display: grid; grid-template-columns: 1fr 1fr; gap: 0; position: relative; border: 1px solid #E3E7EF; border-radius: 16px; overflow: visible; background: #fff; }
    html.ay4 body .ay4-home :is(.ay4-box .ay4-f, .ayd-paxbtn) { position: relative; height: auto; min-height: 0; padding: 9px 14px 9px 44px; gap: 1px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
    html.ay4 body .ay4-home .ay4-box :is(.ay4-f.from, .ay4-f.to) { grid-column: 1 / -1; border-bottom: 1px solid #EEF0F5; }
    html.ay4 body .ay4-home .ay4-box .ay4-f.from { border-radius: 16px 16px 0 0; }
    html.ay4 body .ay4-home .ay4-box .ay4-dates { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
    html.ay4 body .ay4-home .ay4-box .ay4-dates :is(.dep, .ret) { border: 0; border-radius: 0 0 0 16px; }
    html.ay4 body .ay4-home .ay4-box .ay4-dates .ret { border-left: 1px solid #EEF0F5; border-radius: 0 0 16px 0; padding-left: 14px; }
    html.ay4 body .ay4-home .ay4-box .ay4-dates .ret::before { display: none; }
    html.ay4 body .ay4-home .ayd-paxcell .ayd-paxbtn { border: 1px solid #E3E7EF !important; border-radius: 16px !important; }
    html.ay4 body .ay4-home :is(.ay4-box .ay4-f, .ayd-paxbtn):focus-within, html.ay4 body .ay4-home :is(.ay4-f, .ayd-paxbtn).on { background: #F6F7FA; box-shadow: none; }
    html.ay4 body .ay4-home .ay4-f > small:first-child { font-size: 11.5px !important; font-weight: 400 !important; letter-spacing: 0 !important; text-transform: none !important; color: #7A8296 !important; }
    html.ay4 body .ay4-home .ay4-f .v { font-size: 15.5px; font-weight: 600; line-height: 1.3; min-height: 0; }
    html.ay4 body .ay4-home .ay4-f .v input { font-size: 16px; font-weight: 700; }
    html.ay4 body .ay4-home .ay4-f .v em { font-size: 13.5px; }
    html.ay4 body .ay4-home .ay4-f .sub { display: block !important; font-size: 11.5px; color: #8A93A6; min-height: 0; }
    html.ay4 body .ay4-home :is(.ay4-box .ay4-f, .ayd-paxbtn)::before { content: ""; display: block; position: absolute; left: 14px; top: 50%; width: 19px; height: 19px; margin-top: -9.5px; background: #C9A45C;
        -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; }
    html.ay4 body .ay4-home .ay4-f.from { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 20h20M4.5 13.5l3 1.5 4-2-6-4.5 2-.8 8 3 3.4-1.6a1.8 1.8 0 0 1 1.6 3.2L8 17.5l-4.5-2.2z'/%3E%3C/svg%3E"); }
    html.ay4 body .ay4-home .ay4-f.to { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 20h20M3.5 9.5l2.5-.5 3 3 5-.6-3.6-6.4 2.2.1 5.6 6.3 3.7.6a1.8 1.8 0 0 1-.4 3.5L5.6 13.6 3.5 9.5z'/%3E%3C/svg%3E"); }
    html.ay4 body .ay4-home .ay4-f.dep { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Crect x='3.5' y='5' width='17' height='15' rx='3'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
    html.ay4 body .ay4-home .ayd-paxbtn { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E"); }
    /* the swap button on the line between From and To, at the right */
    html.ay4 body .ay4-home .ay4-box .ay4-swap { position: absolute; right: 14px; left: auto; top: 0; margin: 0; transform: translateY(var(--sw-y, 76px)) translateY(-50%); width: 32px; height: 32px; z-index: 3;
        background: #fff; border: 1px solid #E1E5EE; border-radius: 50%; box-shadow: 0 2px 6px rgba(6,24,58,.08); }
    html.ay4 body .ay4-home .ay4-go { height: 50px !important; min-height: 0 !important; border-radius: 14px !important; font-size: 15px !important; font-weight: 600; justify-content: center !important; gap: 8px; }
}

/* 11-14: New booking search card title was white on white ("Where are you flying?" invisible, empty top) */
html.ay4 .fi-panel-agency .fz-spage-hd h2 { color: #0A1128 !important; text-shadow: none !important; margin: 0 0 4px; }

/* 11-26 owner: Book page lower part, design 4 (.ayw) - "the same design as the top". Titles like the band title (bold,
   one gold word), white bars built like the search bar (gold icon, small label, bold value, small line, gold button),
   and a sky band like the top for Special offers. Width = the search bar. */
html.ay4 .ay4-home .ayw { display: flex; flex-direction: column; gap: 46px; margin-top: 54px; }
html.ay4 .ay4-home .ayw-title { margin: 0 4px 18px; }
html.ay4 .ay4-home .ayw-title.row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
html.ay4 .ay4-home .ayw-title h2 { margin: 0; font-size: 32px; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; color: #0B1B3A; }
html.ay4 .ay4-home .ayw-title h2 em { font-style: normal; color: #B8924A; }
html.ay4 .ay4-home .ayw-title p { margin: 8px 0 0; font-size: 15px; color: #6A7690; }
html.ay4 .ay4-home .ayw-link { font-size: 14px; font-weight: 700; color: #0B1B3A; text-decoration: none; padding: 9px 16px; border-radius: 99px; background: #fff; box-shadow: 0 2px 8px rgba(6,24,58,.08); white-space: nowrap; }
html.ay4 .ay4-home .ayw-link:hover { color: #B8924A; }
/* the figures bar = the search bar */
html.ay4 .ay4-home .ayw-bar { display: flex; align-items: stretch; background: #fff; border-radius: 22px; padding: 8px; gap: 0;
    box-shadow: 0 24px 50px -18px rgba(6,24,58,.30), 0 2px 6px rgba(6,24,58,.06); }
html.ay4 .ay4-home .ayw-f { flex: 1; display: flex; align-items: center; gap: 14px; padding: 12px 22px; min-width: 0; color: inherit; text-decoration: none; border-radius: 14px; position: relative; }
html.ay4 .ay4-home .ayw-f + .ayw-f::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 1px; background: #E6EAF1; }
html.ay4 .ay4-home a.ayw-f:hover { background: #F6F7FA; }
html.ay4 .ay4-home .ayw-ic { width: 24px; height: 24px; flex: 0 0 auto; fill: none; stroke: #C9A45C; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
html.ay4 .ay4-home .ayw-f > span { display: grid; gap: 1px; min-width: 0; }
html.ay4 .ay4-home .ayw-f small { font-size: 12px; color: #7A8296; }
html.ay4 .ay4-home .ayw-f b { font-size: 20px; font-weight: 700; color: #0B1B3A; line-height: 1.25; font-variant-numeric: tabular-nums; white-space: nowrap; }
html.ay4 .ay4-home .ayw-f b.g { color: #138A4B; }
html.ay4 .ay4-home .ayw-f.warn b { color: #B26A00; }
html.ay4 .ay4-home .ayw-f em { font-style: normal; font-size: 12px; color: #8A93A6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.ay4 .ay4-home .ayw-act { margin-left: 6px; font-style: normal; font-size: 13px; font-weight: 800; color: #0B1B3A; background: #C9A45C; padding: 7px 14px; border-radius: 99px; white-space: nowrap; }
html.ay4 .ay4-home .ayw-go { align-self: stretch; display: inline-flex; align-items: center; justify-content: center; min-width: 150px; padding: 0 28px; border-radius: 16px; font-size: 16px; text-decoration: none; }
/* latest bookings: each a white bar with the search bar's cells */
html.ay4 .ay4-home .ayw-list { display: grid; gap: 10px; }
html.ay4 .ay4-home .ayw-row { display: grid; grid-template-columns: 110px minmax(0, 1fr) 150px minmax(0, 1fr) 120px 140px; align-items: center; background: #fff; border-radius: 18px; padding: 6px 8px;
    color: inherit; text-decoration: none; box-shadow: 0 1px 2px rgba(6,24,58,.05), 0 10px 26px -18px rgba(6,24,58,.28); transition: transform .15s, box-shadow .15s; }
html.ay4 .ay4-home .ayw-row:hover { transform: translateY(-1px); box-shadow: 0 2px 4px rgba(6,24,58,.06), 0 16px 30px -18px rgba(6,24,58,.35); }
html.ay4 .ay4-home .ayw-row .c { display: grid; gap: 1px; padding: 10px 16px; min-width: 0; position: relative; }
html.ay4 .ay4-home .ayw-row .c + .c::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 1px; background: #EEF1F5; }
html.ay4 .ay4-home .ayw-row small { font-size: 11.5px; color: #8A93A6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.ay4 .ay4-home .ayw-row b { font-size: 15px; font-weight: 700; color: #0B1B3A; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.ay4 .ay4-home .ayw-row .pnr b { font-size: 16px; font-weight: 800; letter-spacing: .03em; color: #1D4FA8; }
html.ay4 .ay4-home .ayw-row .px b { font-size: 13.5px; font-weight: 600; }
html.ay4 .ay4-home .ayw-row .st { justify-items: start; }
html.ay4 .ay4-home .ayw-row .am { text-align: right; }
html.ay4 .ay4-home .ayw-row .am b { font-weight: 800; }
html.ay4 .ay4-home .ayw-empty { background: #fff; border-radius: 18px; padding: 22px; color: #6A7690; }
/* Special offers (ads): first, a cream showcase in the posters' own colours, each poster with its button */
html.ay4 .ay4-home .ayw-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
html.ay4 .ay4-home .ayw-chips small { font-size: 12px; color: #7A8296; margin-right: 4px; }
html.ay4 .ay4-home .ayw-chips a { padding: 9px 16px; border-radius: 99px; background: #fff; color: #0B1B3A; font-size: 13.5px; font-weight: 700; text-decoration: none; box-shadow: 0 2px 8px rgba(6,24,58,.08); }
html.ay4 .ay4-home .ayw-chips a:hover { color: #B8924A; }
html.ay4 .ay4-home .ayw-show { position: relative; border-radius: 26px; padding: 30px 30px 26px; overflow: hidden;
    background: radial-gradient(90% 120% at 50% 0%, #FFFBF3 0%, #F6EDDC 60%, #EFE2C8 100%); border: 1px solid #E8D9BC;
    box-shadow: 0 24px 50px -24px rgba(120,90,30,.35); }
html.ay4 .ay4-home .ayw-show::before { content: ""; position: absolute; left: 30px; right: 30px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, transparent, #C9A45C, transparent); }
html.ay4 .ay4-home .ayw-show .ay-posters { margin: 0; }
html.ay4 .ay4-home .ayw-show .ay-posters h3 { display: none; }
html.ay4 .ay4-home .ayw-show .ay-posters-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 250px)); justify-content: center; gap: 30px; }
html.ay4 .ay4-home .ayw-show .ay-poster { border: 0; border-radius: 16px; background: transparent; overflow: visible; display: grid; gap: 14px; justify-items: center; }
html.ay4 .ay4-home .ayw-show .ay-poster img { border-radius: 16px; box-shadow: 0 2px 4px rgba(60,40,10,.08), 0 22px 40px -20px rgba(60,40,10,.45); transition: transform .2s, box-shadow .2s; }
html.ay4 .ay4-home .ayw-show a.ay-poster:hover { transform: none; box-shadow: none; }
html.ay4 .ay4-home .ayw-show a.ay-poster:hover img { transform: translateY(-4px); box-shadow: 0 4px 8px rgba(60,40,10,.10), 0 30px 50px -22px rgba(60,40,10,.55); }
html.ay4 .ay4-home .ayw-show .ay-poster span { position: static; transform: none; opacity: 1; padding: 10px 22px; border-radius: 99px; background: #C9A45C; color: #0B1B3A; font-size: 13.5px; font-weight: 800;
    box-shadow: 0 8px 18px -10px rgba(201,164,92,.9); }
html.ay4 .ay4-home .ayw-show a.ay-poster:hover span { background: #B8924A; }
@media (min-width: 1000px) { html.ay4 .ay4-home .ayw > .ayw-sec { padding-inline: 32px; } html.ay4 .ay4-home .ayw { margin-top: 96px; } html.ay4 .ay4-home:has(.ay4-chips) .ayw { margin-top: 44px; } }
@media (max-width: 999px) {
    html.ay4 .ay4-home .ayw { gap: 30px; margin-top: 30px; }
    html.ay4 .ay4-home .ayw-title h2 { font-size: 25px; }
    html.ay4 .ay4-home .ayw-title.row { align-items: center; }
    html.ay4 .ay4-home .ayw-title.row p { display: none; }
    html.ay4 .ay4-home .ayw-bar { flex-wrap: wrap; padding: 6px; }
    html.ay4 .ay4-home .ayw-f { flex: 1 1 45%; padding: 12px 14px; }
    html.ay4 .ay4-home .ayw-f + .ayw-f::before { display: none; }
    html.ay4 .ay4-home .ayw-f:first-child { flex-basis: 100%; }
    html.ay4 .ay4-home .ayw-act { margin-left: auto; }
    html.ay4 .ay4-home .ayw-go { flex: 1 1 100%; min-height: 50px; margin-top: 4px; }
    html.ay4 .ay4-home .ayw-row { grid-template-columns: 1fr auto; padding: 4px; }
    html.ay4 .ay4-home .ayw-row .c + .c::before { display: none; }
    html.ay4 .ay4-home .ayw-row .c { padding: 8px 12px; }
    html.ay4 .ay4-home .ayw-row .rt { grid-column: 1; grid-row: 1; }
    html.ay4 .ay4-home .ayw-row .pnr { grid-column: 2; grid-row: 1; text-align: right; }
    html.ay4 .ay4-home .ayw-row .c:nth-child(3) { grid-column: 1; grid-row: 2; }
    html.ay4 .ay4-home .ayw-row .am { grid-column: 2; grid-row: 2; }
    html.ay4 .ay4-home .ayw-row :is(.px, .st) { display: none; }
    html.ay4 .ay4-home .ayw-ads .ayw-title.row { flex-direction: column; align-items: flex-start; }
    html.ay4 .ay4-home .ayw-show { padding: 20px 0 18px; border-radius: 20px; }
    html.ay4 .ay4-home .ayw-show .ay-posters-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 16px; padding: 0 20px 6px; justify-content: flex-start; }
    html.ay4 .ay4-home .ayw-show .ay-poster { flex: 0 0 64%; scroll-snap-align: center; }
}
/* 11-26 owner: the lower part on the same sky as the top (one sky for the whole Book page) */
html.ay4.ay4-page-home body.fi-panel-agency.fi-body { background: linear-gradient(180deg, rgba(6,24,58,.80) 0%, rgba(6,24,58,.62) 45%, rgba(6,24,58,.84) 100%), url('/img/agency/sky-wing.jpg') 30% 60% / cover no-repeat fixed, #0B1B3A !important; }
html.ay4.ay4-page-home .ay4-home .ayw-title h2 { color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,.25); }
html.ay4.ay4-page-home .ay4-home .ayw-title h2 em { color: #E5C987; }
html.ay4.ay4-page-home .ay4-home .ayw-title p { color: rgba(255,255,255,.78); }
html.ay4.ay4-page-home .ay4-home .ayw-chips small { color: rgba(255,255,255,.72); }
html.ay4.ay4-page-home .ay4-home > .ay4-chips > :first-child, html.ay4.ay4-page-home .ay4-home .ay4-chips .lbl, html.ay4.ay4-page-home .ay4-home .ay4-chips > span { color: rgba(255,255,255,.75); }
html.ay4.ay4-page-home .ay4-home .ayw-show { border-color: rgba(229,201,135,.45); box-shadow: 0 30px 60px -28px rgba(0,0,0,.6); }
@media (max-width: 999px) { html.ay4.ay4-page-home body.fi-panel-agency.fi-body { background-attachment: scroll, scroll; background-size: auto, 260% auto; background-position: 0 0, 30% 100%; } }
/* 11-27 owner: offer cards in the page's own look (the cream posters broke it) */
html.ay4 .ay4-home .ayw-ads .ayw-show { background: none; border: 0; box-shadow: none; padding: 0; overflow: visible; border-radius: 0; }
html.ay4 .ay4-home .ayw-ads .ayw-show::before { display: none; }
html.ay4 .ay4-home .ayw-offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
html.ay4 .ay4-home .ayw-offer { display: flex; flex-direction: column; background: #fff; border-radius: 22px; overflow: hidden; color: #0B1B3A; text-decoration: none;
    box-shadow: 0 24px 50px -18px rgba(6,24,58,.45), 0 2px 6px rgba(6,24,58,.08); transition: transform .2s, box-shadow .2s; }
html.ay4 .ay4-home a.ayw-offer:hover { transform: translateY(-3px); box-shadow: 0 30px 60px -20px rgba(6,24,58,.55), 0 2px 6px rgba(6,24,58,.08); }
html.ay4 .ay4-home .ayw-offer .ph { position: relative; display: block; height: 170px; overflow: hidden; background: #0B1B3A; }
html.ay4 .ay4-home .ayw-offer .ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 80%; transform: scale(1.18); transform-origin: 50% 80%; display: block; }
html.ay4 .ay4-home .ayw-offer .ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,24,58,.05) 40%, rgba(6,24,58,.45) 100%); }
html.ay4 .ay4-home .ayw-offer .ph i { position: absolute; z-index: 1; top: 14px; left: 14px; font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
    padding: 5px 11px; border-radius: 99px; background: rgba(255,255,255,.9); color: #0B1B3A; }
html.ay4 .ay4-home .ayw-offer .tx { display: flex; flex-direction: column; gap: 2px; padding: 18px 20px 20px; flex: 1; }
html.ay4 .ay4-home .ayw-offer .tx > small { font-size: 12px; color: #7A8296; }
html.ay4 .ay4-home .ayw-offer .tx > b { font-size: 25px; font-weight: 800; letter-spacing: -.01em; line-height: 1.15; }
html.ay4 .ay4-home .ayw-offer .fr { display: grid; grid-template-columns: 1fr 1fr; margin: 14px 0 16px; border: 1px solid #E6EAF1; border-radius: 14px; }
html.ay4 .ay4-home .ayw-offer .fr > span { display: grid; gap: 1px; padding: 10px 14px; }
html.ay4 .ay4-home .ayw-offer .fr > span + span { border-left: 1px solid #E6EAF1; }
html.ay4 .ay4-home .ayw-offer .fr small { font-size: 11.5px; color: #7A8296; }
html.ay4 .ay4-home .ayw-offer .fr em { font-style: normal; font-size: 22px; font-weight: 800; color: #0B1B3A; font-variant-numeric: tabular-nums; }
html.ay4 .ay4-home .ayw-offer .fr sup { font-size: 10.5px; font-weight: 700; color: #B8924A; margin-left: 3px; vertical-align: 6px; }
html.ay4 .ay4-home .ayw-offer .go { margin-top: auto; align-self: stretch; text-align: center; padding: 12px 16px; border-radius: 14px; background: #C9A45C; color: #0B1B3A; font-size: 14.5px; font-weight: 800;
    box-shadow: 0 8px 18px -10px rgba(201,164,92,.9); }
html.ay4 .ay4-home a.ayw-offer:hover .go { background: #B8924A; }
@media (max-width: 999px) {
    html.ay4 .ay4-home .ayw-offers { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 14px; margin: 0 -16px; padding: 4px 16px 24px; }
    html.ay4 .ay4-home .ayw-offer { flex: 0 0 78%; scroll-snap-align: center; }
    html.ay4 .ay4-home .ayw-offer .ph { height: 150px; }
    html.ay4 .ay4-home .ayw-offer .ph img { object-position: 50% 86%; transform: scale(1.2); transform-origin: 50% 92%; }
}
/* 11-27 owner: one sky behind the whole Book page, no line between top and bottom */
html.ay4.ay4-page-home .ay4-home .ay4-hero.ay4-band { background: transparent !important; box-shadow: none !important; }
html.ay4.ay4-page-home .ay4-home .ay4-hero.ay4-band::before, html.ay4.ay4-page-home .ay4-home .ay4-hero.ay4-band::after { background: none !important; }
@media (max-width: 999px) {
    html.ay4.ay4-page-home { background: #0B1B3A !important; }
    html.ay4.ay4-page-home body.fi-panel-agency.fi-body { background: transparent !important; }
    html.ay4.ay4-page-home body.fi-panel-agency.fi-body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
        background: linear-gradient(180deg, rgba(6,24,58,.80) 0%, rgba(6,24,58,.62) 45%, rgba(6,24,58,.84) 100%), url('/img/agency/sky-wing.jpg') 30% 60% / cover no-repeat, #0B1B3A; }
}
/* 11-27 owner: PC only - the sky photo only behind the top (search), the lower part on the light page. Phone keeps one sky. */
@media (min-width: 1000px) {
    html.ay4.ay4-page-home, html.ay4.ay4-page-home body.fi-panel-agency.fi-body { background: #F4F6FA !important; }
    html.ay4.ay4-page-home .ay4-home .ay4-hero.ay4-band { background: linear-gradient(180deg, rgba(6,24,58,.80) 0%, rgba(6,24,58,.55) 60%, rgba(6,24,58,.80) 100%), url('/img/agency/sky-wing.jpg') 30% 60% / cover no-repeat, #0B1B3A !important; }
    html.ay4.ay4-page-home .ay4-home .ayw-title h2 { color: #0B1B3A; text-shadow: none; }
    html.ay4.ay4-page-home .ay4-home .ayw-title h2 em { color: #B8924A; }
    html.ay4.ay4-page-home .ay4-home .ayw-title p, html.ay4.ay4-page-home .ay4-home .ayw-chips small { color: #7A8296; }
    html.ay4.ay4-page-home .ay4-home :is(.ay4-chips a, .ayw-chips a) { border: 1px solid #D8DEEA; box-shadow: 0 2px 8px rgba(6,24,58,.06); }
    html.ay4.ay4-page-home .ay4-home :is(.ay4-chips a, .ayw-chips a):hover { border-color: #C9A45C; }
    html.ay4.ay4-page-home .ay4-home > .ay4-chips > :first-child, html.ay4.ay4-page-home .ay4-home .ay4-chips .lbl, html.ay4.ay4-page-home .ay4-home .ay4-chips > span { color: #7A8296; }
}
/* 11-27 owner: all 6 recent searches on ONE row on PC (no second row); a long chip shortens with ... */
@media (min-width: 1000px) {
    html.ay4 .ay4-home .ay4-chips { flex-wrap: nowrap; gap: 6px; }
    html.ay4 .ay4-home .ay4-chips .lb { flex: none; }
    html.ay4 .ay4-home .ay4-chips a { flex: 0 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 5px 12px; font-size: 12.5px; }
    html.ay4 .ay4-home .ay4-chips a .px-l { display: none; }
}
@media (max-width: 999px) { html.ay4 .ay4-home .ay4-chips a .px-s { display: none; } }
/* 11-27 owner: pictures behind the top that change every 6 s, like the website (sky, plane, Tehran, Shanghai, Guangzhou, Beijing, Moscow, Vietnam) */
html.ay4.ay4-page-home .ay4-home .ay4-hero .ayh-bgs { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
html.ay4.ay4-page-home .ay4-home .ay4-hero .ayh-bg { position: absolute; inset: 0; background: center 55% / cover no-repeat; opacity: 0; transition: opacity 1.4s ease; }
html.ay4.ay4-page-home .ay4-home .ay4-hero .ayh-bg:first-child { background-position: 30% 60%; }
html.ay4.ay4-page-home .ay4-home .ay4-hero .ayh-bg.on { opacity: 1; }
html.ay4.ay4-page-home .ay4-home .ay4-hero .ayh-bgs::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,24,58,.80) 0%, rgba(6,24,58,.55) 60%, rgba(6,24,58,.80) 100%); }
html.ay4.ay4-page-home .ay4-home .ay4-hero .ayh-bg span { position: absolute; z-index: 1; right: 28px; bottom: 16px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.72); }
html.ay4.ay4-page-home .ay4-home .ay4-hero .ayh-bg span::before { content: "✈ "; color: #E5C987; }
@media (max-width: 999px) {
    /* phone: the picture fades into the page's sky under it (no line) */
    html.ay4.ay4-page-home .ay4-home .ay4-hero .ayh-bgs { -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }
    html.ay4.ay4-page-home .ay4-home .ay4-hero .ayh-bg span { display: none; }
}
html.ay4.ay4-page-home .ay4-home .ay4-hero .ayh-bg.dark::after { content: ""; position: absolute; inset: 0; background: rgba(6,24,58,.30); }
html.ay4.ay4-page-home .ay4-home .ay4-hero .ayh-bg.top { background-position: center 12%; }
/* 11-27 owner: the city must show like the website: dark only on the left behind the words, the picture clear on the right */
html.ay4.ay4-page-home .ay4-home .ay4-hero .ayh-bgs::after { background: linear-gradient(90deg, rgba(6,24,58,.78) 0%, rgba(6,24,58,.50) 38%, rgba(6,24,58,.12) 75%, rgba(6,24,58,.05) 100%), linear-gradient(180deg, rgba(6,24,58,.45) 0%, rgba(6,24,58,0) 22%, rgba(6,24,58,0) 70%, rgba(6,24,58,.40) 100%); }
html.ay4.ay4-page-home .ay4-home .ay4-hero .ayh-bg.dark::after { background: rgba(6,24,58,.12); }
html.ay4.ay4-page-home .ay4-home .ay4-hero .ayh-bg span { top: 96px; bottom: auto; right: max(32px, calc(50% - 640px)); padding: 7px 16px; border: 1px solid rgba(229,201,135,.7); border-radius: 99px; background: rgba(6,24,58,.35); backdrop-filter: blur(4px); font-size: 13px; letter-spacing: .06em; text-transform: none; color: #E5C987; }
html.ay4.ay4-page-home .ay4-home .ay4-hero .ayh-bg span::before { content: none; }
@media (max-width: 999px) { html.ay4.ay4-page-home .ay4-home .ay4-hero .ayh-bgs::after { background: linear-gradient(180deg, rgba(6,24,58,.55) 0%, rgba(6,24,58,.35) 50%, rgba(6,24,58,.6) 100%); } }
@media (min-width: 1000px) { html.ay4.ay4-page-home .ay4-home .ay4-hero ~ * .ay4-tog, html.ay4.ay4-page-home .ay4-home .ay4-search .ay4-tog { padding: 5px 12px 5px 6px; border-radius: 99px; background: rgba(6,24,58,.42); backdrop-filter: blur(4px); } }
html.ay4.ay4-page-home .ay4-home .ay4-search .ay4-tog span, html.ay4.ay4-page-home .ay4-home .ay4-hero :is(h1, p) { text-shadow: 0 1px 10px rgba(6,24,58,.55); }
/* 11-27 owner: like the website - a taller picture (more of the city shows) and the search bar on its bottom edge, half on the picture, half on the page (PC) */
@media (min-width: 1000px) {
    html.ay4.ay4-page-home .ay4-home .ay4-hero { padding-top: 190px !important; padding-bottom: 350px !important; }
    html.ay4.ay4-page-home .ay4-home .ay4-hero + .ay4-search, html.ay4.ay4-page-home .ay4-home .ay4-search { margin-top: -114px !important; }
    html.ay4.ay4-page-home .ay4-home .ay4-search .ay4-chips { margin-top: 30px !important; }
    html.ay4.ay4-page-home .ay4-home .ay4-search .ay4-s-bar, html.ay4.ay4-page-home .ay4-home .ay4-search > .ay4-s-row { box-shadow: 0 22px 50px -18px rgba(6,24,58,.45), 0 2px 8px rgba(6,24,58,.10); }
}
/* 11-27 owner: the title changes with the picture (Mahan Air), one short line under it */
html.ay4.ay4-page-home .ay4-home .ay4-hero h1.ayh-tts { display: grid; }
html.ay4.ay4-page-home .ay4-home .ay4-hero .ayh-tt { grid-area: 1 / 1; opacity: 0; transform: translateY(8px); transition: opacity .9s ease, transform .9s ease; }
html.ay4.ay4-page-home .ay4-home .ay4-hero .ayh-tt.on { opacity: 1; transform: none; }
@media (min-width: 1000px) { html.ay4.ay4-page-home .ay4-home .ay4-hero h1.ayh-tts { font-size: 58px; line-height: 1.08; } }
/* 11-27 owner: less empty space above the search, so the offers come up */
@media (min-width: 1000px) { html.ay4.ay4-page-home .ay4-home .ay4-hero { padding-top: 170px !important; padding-bottom: 250px !important; } }
/* 11-27 owner: no Direct only / ± 3 days on the Book page search */
html.ay4.ay4-page-home .ay4-home .ay4-search .ay4-s-top .ay4-tog { display: none !important; }

/* ---------- 11-27 owner: balance with a wallet, smaller Top up, office name in the avatar menu ---------- */
html.ay4 .fi-panel-agency .fi-topbar .fz-balpill { display: inline-grid !important; grid-template-columns: 30px auto; grid-template-rows: auto auto; column-gap: 9px; align-content: center; align-items: center;
    height: 42px; padding: 0 18px 0 6px !important; border: 1px solid rgba(201,164,92,.45) !important; box-shadow: 0 6px 18px -10px rgba(6,24,58,.45); }
html.ay4 .fi-panel-agency .fi-topbar .fz-balpill .ayd-balic { grid-row: 1 / 3; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(145deg, #F3E3BC, #E2C27F); color: var(--v4-plum); }
html.ay4 .fi-panel-agency .fi-topbar .fz-balpill .ayd-balic svg { width: 16px; height: 16px; }
html.ay4 .fi-panel-agency .fi-topbar .fz-balpill span { grid-column: 2; font-size: 9.5px !important; font-weight: 700 !important; letter-spacing: .14em !important; text-transform: uppercase; color: #A08348 !important; line-height: 1.1; }
html.ay4 .fi-panel-agency .fi-topbar .fz-balpill b { grid-column: 2; font-size: 16px !important; font-weight: 800 !important; letter-spacing: -.01em; line-height: 1.15; }
html.ay4 .fi-panel-agency .fi-topbar .ayd-topbtn { gap: 5px; height: 32px; padding: 0 13px 0 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; letter-spacing: .01em;
    background: linear-gradient(180deg, #D9B872, #C6A15A); box-shadow: 0 4px 12px -6px rgba(201,164,92,.8), inset 0 1px 0 rgba(255,255,255,.35); }
html.ay4 .fi-panel-agency .fi-topbar .ayd-topbtn svg { width: 13px; height: 13px; }
html.ay4 .fi-panel-agency .fi-topbar .ayd-topbtn:hover { background: linear-gradient(180deg, #E2C27F, #CFAB63); }
.fi-panel-agency .ayd-umhead { display: grid; gap: 2px; padding: 12px 16px 11px; border-bottom: 1px solid rgba(6,24,58,.08); }
.fi-panel-agency .ayd-umhead b { font-size: 14.5px; font-weight: 800; color: #1B1036; line-height: 1.25; }
.fi-panel-agency .ayd-umhead span { font-size: 11.5px; color: #7B8296; }
@media (max-width: 760px) {
    html.ay4 .fi-panel-agency .fi-topbar .fz-balpill { height: 36px; padding: 0 12px 0 4px !important; grid-template-columns: 26px auto; column-gap: 7px; }
    html.ay4 .fi-panel-agency .fi-topbar .fz-balpill .ayd-balic { width: 26px; height: 26px; }
    html.ay4 .fi-panel-agency .fi-topbar .fz-balpill b { font-size: 13.5px !important; }
}
.fi-panel-agency .ayd-umhead em { justify-self: start; margin-top: 4px; padding: 2px 8px; border-radius: 99px; background: #F6EEDB; color: #8A6D33; font-size: 10.5px; font-style: normal; font-weight: 700; letter-spacing: .06em; }
html.ay4 .fi-panel-agency .fi-topbar .fi-user-menu-trigger.ayd-unamed { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px 0 5px; border-radius: 999px;
    background: rgba(255,255,255,.96); border: 1px solid rgba(201,164,92,.45); box-shadow: 0 6px 18px -10px rgba(6,24,58,.45); }
html.ay4 .fi-panel-agency .fi-topbar .fi-user-menu-trigger.ayd-unamed .fi-avatar { width: 30px !important; height: 30px !important; }
html.ay4 .fi-panel-agency .fi-topbar .fi-user-menu-trigger .ayd-uname { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13.5px; font-weight: 800; color: #1B1036; letter-spacing: .01em; }
html.ay4 .fi-panel-agency .fi-topbar .fi-user-menu-trigger .ayd-uname::after { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 9px; border-right: 2px solid #A08348; border-bottom: 2px solid #A08348; transform: rotate(45deg); }
@media (max-width: 760px) {
    html.ay4 .fi-panel-agency .fi-topbar .fi-user-menu-trigger.ayd-unamed { height: auto; padding: 0; background: none; border: 0; box-shadow: none; }
    html.ay4 .fi-panel-agency .fi-topbar .fi-user-menu-trigger .ayd-uname { display: none; }
}
/* one look for the top bar (owner 11-27: white boxes ugly): balance and office name are glass on the photo, like the search toggles; Top up gold; all 40px */
html.ay4 .fi-panel-agency .fi-topbar .fz-balpill, html.ay4 .fi-panel-agency .fi-topbar .fi-user-menu-trigger.ayd-unamed {
    height: 40px; background: rgba(6,24,58,.32) !important; border: 1px solid rgba(229,201,135,.55) !important; box-shadow: none !important;
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
html.ay4 .fi-panel-agency .fi-topbar .fz-balpill:hover, html.ay4 .fi-panel-agency .fi-topbar .fi-user-menu-trigger.ayd-unamed:hover { background: rgba(6,24,58,.46) !important; }
html.ay4 .fi-panel-agency .fi-topbar .fz-balpill span { color: #E5C987 !important; }
html.ay4 .fi-panel-agency .fi-topbar .fz-balpill b { color: #fff !important; }
html.ay4 .fi-panel-agency .fi-topbar .fz-balpill b.neg { color: #FFB4A3 !important; }
html.ay4 .fi-panel-agency .fi-topbar .fz-balpill .ayd-balic { width: 28px; height: 28px; background: rgba(229,201,135,.18); color: #E5C987; border: 1px solid rgba(229,201,135,.5); }
html.ay4 .fi-panel-agency .fi-topbar .fi-user-menu-trigger.ayd-unamed { padding: 0 14px 0 5px; }
html.ay4 .fi-panel-agency .fi-topbar .fi-user-menu-trigger.ayd-unamed .fi-avatar { width: 28px !important; height: 28px !important; box-shadow: 0 0 0 1px rgba(229,201,135,.6); }
html.ay4 .fi-panel-agency .fi-topbar .fi-user-menu-trigger .ayd-uname { max-width: 320px; color: #fff; font-weight: 700; font-size: 13px; letter-spacing: .03em; }
html.ay4 .fi-panel-agency .fi-topbar .fi-user-menu-trigger .ayd-uname::after { border-color: #E5C987; }
html.ay4 .fi-panel-agency .fi-topbar .ayd-topbtn { height: 40px; padding: 0 16px 0 13px; font-size: 13px; }
@media (max-width: 760px) { html.ay4 .fi-panel-agency .fi-topbar .fi-user-menu-trigger.ayd-unamed { height: auto; padding: 0; background: none !important; border: 0 !important; backdrop-filter: none; } }

/* "Mahan Air | AYAN AIR B2B" switch beside the logo (owner 2026-11-28, design A): thin glass pill, gold for AYAN */
html.ay4 .fi-panel-agency .ayd-b2bsw { display: inline-flex; align-items: center; gap: 2px; margin-right: 18px; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: 12.5px; font-weight: 600; line-height: 1; white-space: nowrap; }
html.ay4 .fi-panel-agency .ayd-b2bsw a { display: inline-flex; align-items: center; gap: 5px; padding: 7px 13px; border-radius: 999px; color: #fff; text-decoration: none; transition: background .15s; }
html.ay4 .fi-panel-agency .ayd-b2bsw a.on { background: #fff; color: #0A1128; }
html.ay4 .fi-panel-agency .ayd-b2bsw a.ay { color: #F0D28E; }
html.ay4 .fi-panel-agency .ayd-b2bsw a.ay:hover { background: rgba(240,210,142,.16); }
html.ay4 .fi-panel-agency .ayd-b2bsw small { font-size: 10.5px; font-weight: 500; opacity: .8; }
html.ay4 .fi-panel-agency .fi-topbar-start:has(> .ayd-b2bsw) { flex-direction: row; align-items: center; width: auto; }
html.ay4 .fi-panel-agency .ayd-b2bsw svg { width: 12px; height: 12px; }
html.ay4 .fi-panel-agency .ayd-b2bsw .s { display: none; }
@media (max-width: 1023px) {
    html.ay4 .fi-panel-agency .ayd-b2bsw { position: absolute; left: 146px; top: 50px; margin: 0; z-index: 30; font-size: 12px; transform: scale(.8); transform-origin: left center; }
    html.ay4 .fi-panel-agency .ayd-b2bsw .l { display: none; }
    html.ay4 .fi-panel-agency .ayd-b2bsw .s { display: inline; }
}
