/* =====================================================================================================================
   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% - 50vw); margin-top: -64px;
    padding: 118px calc(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(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% - 50vw); margin-top: -64px;
    padding: 84px calc(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(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; }
    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; }

/* 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% - 50vw); margin-top: -64px;
    padding: 90px calc(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(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% - 50vw); width: 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% - 50vw); margin-top: -64px; padding: 90px calc(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(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% - 50vw); margin-top: -64px; padding: 92px calc(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(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; }
}
