/* =====================================================================================================================
   AYAN AIR office panel, look v4 (AYAN_AGENCY_V4=true, 2026-10-09): calm and compact. Shared look for every office page.
   Loaded only in the office panel with the switch on (filament/brand-head), after every other panel CSS. Every rule is
   scoped to html.ay4 (set in brand-head; html.ay4-page-<page> names the page: home, results, bookings, booking, statement).
   Lavender page, white cards (1px #DDDAE8 border, 14px corners, no shadow), ONE violet accent for primary buttons,
   deep plum text, a slim plum-violet-rose gradient band with an Instrument Serif title on top of each page, Inter for
   all other text. "Compact": every page aims at one laptop screen (1440×800) without scrolling: 54px top bar, slim band,
   small type, one-line table rows, the small floating "Chat with us" (filament.agency.chat-float) instead of a footer.
   Pictures: ayan-compact/*.html (look.css). Page files: ayan-agency-v4-<page>.css. Only the look changes: every page keeps
   its parts, buttons, fields, columns and names (the views are the same, except the Book page and the fares on New booking).

   For page CSS and v4 views (all under html.ay4):
     tokens   var(--v4-canvas | surface | fill | mist | plum | ink | text | muted | fog | line | line2 | violet | violet-h |
              violet-soft | ok | ok-bg | hold | hold-bg | chg | chg-bg | rf | rf-bg | cnx | cnx-bg | r | sans | serif)
     band     .ay4-band (gradient, white text; h1 = big serif title, h1 em = rose italic). Filament page headings
              (.fi-header) get the same band automatically; .ay4-band-sub for the line under the title.
     buttons  .ay4-btn + primary | ghost | soft | glass | white, sizes sm | xs | lg, pill  (links or buttons)
     cards    .ay4-card   section titles .ay4-sec-h (h2 serif + small, .ay4-link "See all")
     tags     .ay4-tag + ok | hold | chg | rf | cnx | off   (Blade: @include('filament.agency.v4.tag', ['b' => $booking]))
     icons    <svg class="ay4-i"><use href="#ay4-plane"/></svg>   (names: filament/agency/v4/icons.blade.php)
   ===================================================================================================================== */

html.ay4 {
    --v4-canvas: #F2F1F8; --v4-surface: #FFFFFF; --v4-fill: #F7F6FC; --v4-mist: #E9E6FE;
    --v4-plum: #14072A; --v4-ink: #17132A; --v4-text: #3E3B52; --v4-muted: #66637D; --v4-fog: #8E8BA6;
    --v4-line: #DDDAE8; --v4-line2: #ECEAF3;
    --v4-violet: #5B1AF0; --v4-violet-h: #4C10D6; --v4-violet-p: #3F0BB5; --v4-violet-soft: #EEE9FF;
    --v4-ok: #0E7A4E; --v4-ok-bg: #E2F4EB; --v4-hold: #A45A00; --v4-hold-bg: #FFF0D9; --v4-chg: #5B1AF0; --v4-chg-bg: #EEE9FF;
    --v4-rf: #5D5A70; --v4-rf-bg: #EDECF2; --v4-cnx: #B0243F; --v4-cnx-bg: #FCEAEE;
    --v4-r: 14px;
    --v4-sans: 'Inter', 'Vazirmatn', system-ui, sans-serif;
    --v4-serif: 'Instrument Serif', Georgia, serif;
    --v4-band: radial-gradient(60% 120% at 88% 110%, rgba(255,181,206,.75) 0%, rgba(255,181,206,0) 60%),
               radial-gradient(55% 110% at 70% 20%, rgba(124,81,250,.85) 0%, rgba(124,81,250,0) 65%),
               linear-gradient(120deg, #1A0636 0%, #2E0B5E 45%, #4A1A9E 100%);
    --v4-pop: 0 18px 40px -12px rgba(21,0,44,.22), 0 2px 6px rgba(21,0,44,.05);
    --font-family: 'Inter', 'Vazirmatn', system-ui, sans-serif;
    background: var(--v4-canvas);
}
/* the older panel styles read these: their bits (search forms, results, finder) follow the v4 colours */
html.ay4 .fi-panel-agency {
    --fz-navy: var(--v4-plum); --fz-navy2: #2E0B5E; --fz-blue: var(--v4-violet); --fz-gold: #C9B8FF; --fz-gold-soft: var(--v4-violet-soft);
    --fz-ink: var(--v4-ink); --fz-muted: var(--v4-muted); --fz-line: var(--v4-line); --fz-bg: var(--v4-canvas); --fz-radius: 14px; --fz-shadow: none;
    --v2-navy: var(--v4-plum); --v2-navy2: #2E0B5E; --v2-blue: var(--v4-violet); --v2-gold: #C9B8FF; --v2-gold-soft: var(--v4-violet-soft);
    --v2-ink: var(--v4-ink); --v2-text: var(--v4-text); --v2-muted: var(--v4-muted); --v2-line: var(--v4-line); --v2-line2: var(--v4-line2); --v2-bg: var(--v4-canvas);
}

/* ---------- type and page ---------- */
html.ay4 .fi-panel-agency.fi-body,
html.ay4 .fi-panel-agency :is(button, input, select, textarea),
html.ay4 body > :is(.fi-dropdown-panel, .fi-modal) { font-family: var(--v4-sans); }
html.ay4 .fi-panel-agency.fi-body { background: var(--v4-canvas) !important; color: var(--v4-ink); font-size: 14px; line-height: 1.45; word-spacing: 0;
    -webkit-font-smoothing: antialiased; font-feature-settings: 'ss01', 'cv11'; }
html.ay4 .fi-panel-agency :is(.num, td, .fi-ta-text) { font-variant-numeric: tabular-nums; }
html.ay4 .ay4-i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
html.ay4 .fi-panel-agency svg[stroke-width="1.5"], html.ay4 .fi-panel-agency .fi-icon[stroke] { stroke-width: 1.5; }

/* one centred column like the pictures: 1300px with 24px sides (14px on phones) */
html.ay4 .fi-panel-agency .fi-main { max-width: 1300px !important; width: 100%; margin-inline: auto; padding: 2px 24px 20px !important; }
html.ay4 .fi-panel-agency .fi-page-header-main-ctn { padding-block: 0 !important; row-gap: 12px; }
html.ay4 .fi-panel-agency .fi-page-main { row-gap: 12px; }
html.ay4 .fi-panel-agency .fi-page-content { row-gap: 12px; }
html.ay4 .fi-panel-agency .fi-page { padding-block: 0 !important; }

/* ---------- top bar: on the lavender page, 54px, same column as the page ---------- */
html.ay4 .fi-panel-agency .fi-topbar-ctn { position: relative; background: transparent !important; box-shadow: none !important; border: 0 !important; z-index: 30; }
html.ay4 .fi-panel-agency .fi-topbar { background: transparent !important; border: 0 !important; box-shadow: none !important; min-height: 54px; height: 54px;
    max-width: 1300px; margin-inline: auto; padding: 0 24px !important; gap: 16px; }
html.ay4 .fi-panel-agency .fi-topbar-start { background: transparent !important; width: auto !important; margin: 0 !important; padding: 0 !important; border: 0 !important; box-shadow: none !important; flex: none; }
html.ay4 .fi-panel-agency .fi-topbar-start::after { content: none !important; }
html.ay4 .fi-panel-agency .fi-topbar a:has(> .fi-logo) { display: flex !important; align-items: center; background: transparent !important; padding: 0 !important; border-radius: 0; box-shadow: none !important; }
html.ay4 .fi-panel-agency .fi-topbar .fi-logo { height: 19px !important; width: auto; display: block !important; background: transparent !important; padding: 0 !important; margin: 0 !important; }
html.ay4 .fi-panel-agency .fi-topbar :is(.fi-topbar-open-sidebar-btn, .fi-topbar-close-sidebar-btn) { color: var(--v4-plum); }

/* menu: quiet words, the open page in a white pill */
html.ay4 .fi-panel-agency .fi-topbar-nav-groups { gap: 4px !important; margin: 0 !important; align-items: center !important; align-self: center; flex-wrap: nowrap; }
html.ay4 .fi-panel-agency .fi-topbar-item, html.ay4 .fi-panel-agency .fi-topbar-item > * { height: auto; }
html.ay4 .fi-panel-agency .fi-topbar .fi-topbar-item .fi-topbar-item-btn { display: flex; align-items: center; gap: 6px; height: auto; min-height: 0 !important; margin: 0 !important;
    padding: 6px 12px !important; border: 0 !important; border-radius: 999px !important; background: transparent !important; box-shadow: none !important; white-space: nowrap; }
html.ay4 .fi-panel-agency .fi-topbar .fi-topbar-item .fi-topbar-item-btn::after { content: none !important; display: none !important; }
html.ay4 .fi-panel-agency .fi-topbar-item-icon, html.ay4 .fi-panel-agency .fi-topbar-group-toggle-icon { display: none !important; }
html.ay4 .fi-panel-agency .fi-topbar-item-label { color: var(--v4-text) !important; font-size: 13.5px !important; font-weight: 400 !important; letter-spacing: 0; }
html.ay4 .fi-panel-agency .fi-topbar .fi-topbar-item .fi-topbar-item-btn:hover .fi-topbar-item-label { color: var(--v4-plum) !important; }
html.ay4 .fi-panel-agency .fi-topbar .fi-topbar-item.fi-active .fi-topbar-item-btn { background: var(--v4-surface) !important; }
html.ay4 .fi-panel-agency .fi-topbar-item.fi-active .fi-topbar-item-label { color: var(--v4-plum) !important; font-weight: 500 !important; }

/* right side, as today: search, balance, bell, avatar */
html.ay4 .fi-panel-agency .fi-topbar-end { gap: 10px; margin-inline-start: auto; align-items: center; }
html.ay4 .fi-panel-agency .fi-topbar-end > .fi-no-database { margin-inline: 4px 2px; }
html.ay4 .fi-panel-agency .fi-topbar-end > .fi-global-search-ctn { order: 1; }
html.ay4 .fi-panel-agency .fi-topbar-end > .fz-balpill { order: 2; }
html.ay4 .fi-panel-agency .fi-topbar-end > .fi-no-database { order: 3; }
html.ay4 .fi-panel-agency .fi-topbar-end > .fi-user-menu { order: 4; }

/* search (Filament global search): a round button that opens into a field */
html.ay4 .fi-panel-agency .fi-topbar .fi-global-search-field { width: 34px; transition: width .2s ease; }
html.ay4 .fi-panel-agency .fi-topbar .fi-global-search-field:focus-within { width: 240px; }
html.ay4 .fi-panel-agency .fi-topbar .fi-global-search-field .fi-input-wrp { height: 34px; border-radius: 999px !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
html.ay4 .fi-panel-agency .fi-topbar .fi-global-search-field .fi-input-wrp:hover, html.ay4 .fi-panel-agency .fi-topbar .fi-global-search-field:focus-within .fi-input-wrp { background: var(--v4-surface) !important; box-shadow: inset 0 0 0 1px var(--v4-line) !important; }
html.ay4 .fi-panel-agency .fi-topbar .fi-global-search-field .fi-input-wrp-prefix { padding-inline: 8px 0; }
html.ay4 .fi-panel-agency .fi-topbar .fi-global-search-field .fi-input-wrp svg { color: var(--v4-ink) !important; }
html.ay4 .fi-panel-agency .fi-topbar .fi-global-search-field input { color: var(--v4-ink) !important; font-size: 13.5px; cursor: pointer; }
html.ay4 .fi-panel-agency .fi-topbar .fi-global-search-field:focus-within input { cursor: text; }
html.ay4 .fi-panel-agency .fi-topbar .fi-global-search-field:not(:focus-within) input::placeholder { color: transparent !important; }
html.ay4 .fi-panel-agency .fi-topbar .fi-global-search-field input::placeholder { color: var(--v4-fog) !important; }

/* balance pill (the same link as today: Balance, the amount, opens the statement): white, the label over the amount */
html.ay4 .fi-panel-agency .fi-topbar .fz-balpill { display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; height: 34px; margin: 0;
    padding: 0 14px !important; background: var(--v4-surface) !important; border: 1px solid var(--v4-line) !important; border-radius: 999px !important; text-decoration: none; line-height: 1.15; }
html.ay4 .fi-panel-agency .fi-topbar .fz-balpill:hover { border-color: var(--v4-fog) !important; }
html.ay4 .fi-panel-agency .fi-topbar .fz-balpill span { display: block !important; font-size: 9.5px !important; color: var(--v4-fog) !important; letter-spacing: .04em; font-weight: 400; }
html.ay4 .fi-panel-agency .fi-topbar .fz-balpill b { white-space: nowrap; font-weight: 600 !important; font-size: 13.5px !important; color: var(--v4-plum) !important; font-variant-numeric: tabular-nums; }
html.ay4 .fi-panel-agency .fi-topbar .fz-balpill b.neg { color: var(--v4-cnx) !important; }

/* bell */
html.ay4 .fi-panel-agency .fi-topbar .fi-topbar-database-notifications-btn { width: 34px; height: 34px; border-radius: 10px; color: var(--v4-ink) !important; }
html.ay4 .fi-panel-agency .fi-topbar .fi-topbar-database-notifications-btn:hover { background: var(--v4-surface); }
html.ay4 .fi-panel-agency .fi-topbar .fi-topbar-database-notifications-btn svg { color: var(--v4-ink) !important; width: 20px; height: 20px; }
html.ay4 .fi-panel-agency .fi-topbar .fi-icon-btn-badge-ctn { top: 4px !important; inset-inline-start: auto !important; right: 3px !important; translate: none !important; transform: none !important; background: transparent !important; }
html.ay4 .fi-panel-agency .fi-topbar .fi-icon-btn-badge-ctn .fi-badge { min-width: 17px; height: 17px; padding: 0 4px !important; border-radius: 9px !important; background: var(--v4-violet) !important; color: #fff !important;
    font-size: 10.5px !important; font-weight: 600 !important; line-height: 17px; justify-content: center; box-shadow: 0 0 0 2px var(--v4-canvas) !important; border: 0; }
html.ay4 .fi-panel-agency .fi-icon-btn-badge-ctn .fi-badge::before { content: none !important; }

/* avatar: plum circle, white initials (App\Support\AgencyV4AvatarProvider) */
html.ay4 .fi-panel-agency .fi-topbar .fi-user-avatar { width: 32px !important; height: 32px !important; }
html.ay4 .fi-panel-agency .fi-topbar .fi-user-menu-trigger { border-radius: 50%; }

/* menus that open from the top bar and elsewhere */
html.ay4 .fi-dropdown-panel { border-radius: 14px !important; border: 1px solid var(--v4-line) !important; box-shadow: var(--v4-pop) !important; padding: 6px; background: var(--v4-surface); }
html.ay4 .fi-dropdown-panel .fi-dropdown-list { padding: 0; gap: 2px; }
html.ay4 .fi-dropdown-panel .fi-dropdown-list + .fi-dropdown-list { border-top: 1px solid var(--v4-line2); margin-top: 4px; padding-top: 4px; }
html.ay4 .fi-dropdown-panel .fi-dropdown-list-item { border-radius: 10px; padding: 9px 12px; }
html.ay4 .fi-dropdown-panel .fi-dropdown-list-item:hover, html.ay4 .fi-dropdown-panel .fi-dropdown-list-item:focus-visible { background: var(--v4-fill) !important; }
html.ay4 .fi-dropdown-panel .fi-dropdown-list-item-label { color: var(--v4-ink) !important; font-weight: 400; font-size: 14px; }
html.ay4 .fi-dropdown-panel .fi-dropdown-list-item .fi-icon { color: var(--v4-fog) !important; }
html.ay4 .fi-dropdown-panel .fi-dropdown-list-item[aria-current="page"] .fi-dropdown-list-item-label { color: var(--v4-violet) !important; font-weight: 500; }
html.ay4 .fi-dropdown-panel .fi-dropdown-list-item[aria-current="page"] .fi-icon { color: var(--v4-violet) !important; }
html.ay4 .fi-dropdown-header { border-radius: 10px; }

/* phone menu drawer (☰) */
html.ay4 .fi-panel-agency .fi-sidebar { background: var(--v4-surface) !important; border-inline-end: 1px solid var(--v4-line); }
html.ay4 .fi-panel-agency .fi-sidebar-header { background: var(--v4-surface) !important; border-bottom: 1px solid var(--v4-line2); }
html.ay4 .fi-panel-agency .fi-sidebar-header .fi-logo { height: 20px !important; }
html.ay4 .fi-panel-agency .fi-sidebar-group-label { color: var(--v4-fog) !important; letter-spacing: .08em; }
html.ay4 .fi-panel-agency .fi-sidebar-item-btn { border-radius: 10px; }
html.ay4 .fi-panel-agency .fi-sidebar-item-label { color: var(--v4-text) !important; font-size: 14px !important; }
html.ay4 .fi-panel-agency .fi-sidebar-item-icon { color: var(--v4-fog) !important; }
html.ay4 .fi-panel-agency .fi-sidebar-item.fi-active > .fi-sidebar-item-btn { background: var(--v4-violet-soft) !important; box-shadow: none !important; }
html.ay4 .fi-panel-agency .fi-sidebar-item.fi-active :is(.fi-sidebar-item-label, .fi-sidebar-item-icon) { color: var(--v4-violet) !important; }
html.ay4 .fi-panel-agency .fi-sidebar-item-grouped-border-part { background: var(--v4-line) !important; }
html.ay4 .fi-panel-agency .fi-sidebar-close-overlay { background: rgba(20,7,42,.35); }

/* ---------- the gradient band: our own (.ay4-band) and every Filament page heading ---------- */
html.ay4 .ay4-band,
html.ay4 .fi-panel-agency .fi-page-header-main-ctn > .fi-header {
    position: relative; overflow: hidden; border-radius: 18px; color: #fff; background: var(--v4-band); isolation: isolate;
}
html.ay4 .ay4-band::after,
html.ay4 .fi-panel-agency .fi-page-header-main-ctn > .fi-header::after {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(40% 60% at 15% 0%, rgba(255,255,255,.08), transparent 70%);
}
html.ay4 .ay4-band h1 { margin: 0; font: 400 30px/1.1 var(--v4-serif); letter-spacing: -.01em; color: #fff; }
html.ay4 .ay4-band h1 em { font-style: italic; color: #FFD9E6; }
html.ay4 .ay4-band-sub { margin: 2px 0 0; font-size: 12px; color: rgba(255,255,255,.72); letter-spacing: .01em; }

/* Filament page heading as a slim band (My bookings, Reports …): serif title left, header buttons as glass pills right */
html.ay4 .fi-panel-agency .fi-page-header-main-ctn > .fi-header { padding: 14px 26px; min-height: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; }
html.ay4 .fi-panel-agency .fi-header .fi-header-heading { font: 400 30px/1.1 var(--v4-serif) !important; letter-spacing: -.01em !important; color: #fff !important; margin: 0; }
html.ay4 .fi-panel-agency .fi-header .fi-header-subheading { margin-top: 2px; font-size: 12px !important; color: rgba(255,255,255,.72) !important; max-width: 70ch; }
html.ay4 .fi-panel-agency .fi-header .fi-breadcrumbs { margin-bottom: 2px; }
html.ay4 .fi-panel-agency .fi-header .fi-breadcrumbs :is(.fi-breadcrumbs-item-label, a) { color: rgba(255,255,255,.72) !important; font-size: 12px; }
html.ay4 .fi-panel-agency .fi-header .fi-breadcrumbs .fi-breadcrumbs-item-separator { color: rgba(255,255,255,.45) !important; }
html.ay4 .fi-panel-agency .fi-page-header-main-ctn > .fi-header .fi-header-actions-ctn .fi-btn,
html.ay4 .fi-panel-agency .fi-page-header-main-ctn > .fi-header .fi-header-actions-ctn .fi-ac-btn-action {
    height: 30px; padding: 0 12px !important; border-radius: 999px !important; font-size: 12.5px !important; font-weight: 500 !important;
    background: rgba(255,255,255,.12) !important; color: #fff !important; border: 1px solid rgba(255,255,255,.28) !important; box-shadow: none !important; backdrop-filter: blur(8px);
}
html.ay4 .fi-panel-agency .fi-page-header-main-ctn > .fi-header .fi-header-actions-ctn .fi-btn:hover { background: rgba(255,255,255,.22) !important; }
html.ay4 .fi-panel-agency .fi-page-header-main-ctn > .fi-header .fi-header-actions-ctn .fi-btn :is(.fi-icon, svg, .fi-btn-label) { color: #fff !important; }

/* ---------- buttons (v4 views) ---------- */
html.ay4 .ay4-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: var(--v4-r); border: 0;
    font: 500 14px/1 var(--v4-sans); letter-spacing: .005em; white-space: nowrap; text-decoration: none; cursor: pointer; color: inherit; background: none;
    transition: background .15s, transform .15s, box-shadow .15s, border-color .15s, color .15s; }
html.ay4 .ay4-btn.primary { background: var(--v4-violet); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 6px 16px -6px rgba(91,26,240,.55); }
html.ay4 .ay4-btn.primary:hover { background: var(--v4-violet-h); transform: translateY(-1px); }
html.ay4 .ay4-btn.ghost { border: 1.5px solid var(--v4-plum); color: var(--v4-plum); background: transparent; }
html.ay4 .ay4-btn.ghost:hover { background: var(--v4-plum); color: #fff; }
html.ay4 .ay4-btn.soft { background: var(--v4-fill); color: var(--v4-ink); border: 1px solid var(--v4-line); }
html.ay4 .ay4-btn.soft:hover { border-color: var(--v4-fog); }
html.ay4 .ay4-btn.glass { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(8px); border-radius: 999px; }
html.ay4 .ay4-btn.glass:hover { background: rgba(255,255,255,.22); }
html.ay4 .ay4-btn.white { background: #fff; color: var(--v4-plum); }
html.ay4 .ay4-btn.white:hover { background: var(--v4-violet-soft); }
html.ay4 .ay4-btn.pill { border-radius: 999px; }
html.ay4 .ay4-btn.sm { height: 34px; padding: 0 14px; font-size: 13.5px; }
html.ay4 .ay4-btn.xs { height: 30px; padding: 0 12px; font-size: 13px; gap: 5px; }
html.ay4 .ay4-btn.xs .ay4-i { width: 15px; height: 15px; }
html.ay4 .ay4-btn.lg { height: 60px; padding: 0 10px 0 26px; font-size: 16px; gap: 16px; }
html.ay4 .ay4-btn.lg .arr { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.16); display: grid; place-items: center; transition: transform .2s; }
html.ay4 .ay4-btn.lg:hover .arr { transform: translateX(3px); }
html.ay4 .ay4-btn:focus-visible { outline: 2px solid var(--v4-violet); outline-offset: 2px; }

/* ---------- cards, section titles, links, tags ---------- */
html.ay4 .ay4-card { background: var(--v4-surface); border: 1px solid var(--v4-line); border-radius: var(--v4-r); }
html.ay4 .ay4-sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 14px 4px 6px; }
html.ay4 .ay4-sec-h h2 { margin: 0; font: 400 21px/1.1 var(--v4-serif); color: var(--v4-plum); }
html.ay4 .ay4-sec-h h2 small { font: 400 13px var(--v4-sans); color: var(--v4-fog); margin-left: 10px; }
html.ay4 .ay4-link { display: inline-flex; align-items: center; gap: 6px; color: var(--v4-violet); font-weight: 500; font-size: 13px; text-decoration: none; }
html.ay4 .ay4-link .ay4-i { width: 16px; height: 16px; transition: transform .2s; }
html.ay4 .ay4-link:hover .ay4-i { transform: translateX(3px); }

html.ay4 .ay4-tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 500; line-height: 1.3; white-space: nowrap; justify-self: start; width: max-content; }
html.ay4 .ay4-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
html.ay4 .ay4-tag > span { font-weight: 400; opacity: .8; }
html.ay4 .ay4-tag.ok { color: var(--v4-ok); background: var(--v4-ok-bg); }
html.ay4 .ay4-tag.hold { color: var(--v4-hold); background: var(--v4-hold-bg); }
html.ay4 .ay4-tag.chg { color: var(--v4-chg); background: var(--v4-chg-bg); }
html.ay4 .ay4-tag.rf { color: var(--v4-rf); background: var(--v4-rf-bg); }
html.ay4 .ay4-tag.cnx { color: var(--v4-cnx); background: var(--v4-cnx-bg); }
html.ay4 .ay4-tag.off { color: var(--v4-muted); background: var(--v4-fill); box-shadow: inset 0 0 0 1px var(--v4-line2); }
html.ay4 .ay4-tag.off::before { background: var(--v4-fog); }

/* ---------- Filament pieces in the v4 look ---------- */
/* buttons: primary = violet (panel colour), others white with a thin line, all 14px corners */
html.ay4 .fi-panel-agency .fi-btn, html.ay4 .fi-modal .fi-btn { border-radius: 12px; font-weight: 500; letter-spacing: .005em; }
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) {
    background: var(--v4-violet) !important; color: #fff !important; box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 6px 16px -6px rgba(91,26,240,.55); }
html.ay4 .fi-panel-agency .fi-btn.fi-color-primary:not(.fi-outlined):hover, html.ay4 .fi-modal .fi-btn.fi-color-primary:not(.fi-outlined):hover { background: var(--v4-violet-h) !important; }
html.ay4 .fi-panel-agency .fi-btn.fi-color-gray:not(.fi-outlined), html.ay4 .fi-modal .fi-btn.fi-color-gray:not(.fi-outlined) {
    background: var(--v4-surface) !important; color: var(--v4-ink) !important; box-shadow: inset 0 0 0 1px var(--v4-line) !important; }
html.ay4 .fi-panel-agency .fi-btn.fi-color-gray:not(.fi-outlined):hover, html.ay4 .fi-modal .fi-btn.fi-color-gray:not(.fi-outlined):hover { background: var(--v4-fill) !important; }
html.ay4 .fi-panel-agency .fi-link.fi-color-primary, html.ay4 .fi-modal .fi-link.fi-color-primary { color: var(--v4-violet) !important; }
html.ay4 .fi-panel-agency .fi-btn:focus-visible { outline: 2px solid var(--v4-violet); outline-offset: 2px; }

/* inputs and selects: white, thin lavender line, violet ring when typing */
html.ay4 .fi-panel-agency .fi-input-wrp, html.ay4 .fi-modal .fi-input-wrp { border-radius: 12px; background: var(--v4-surface); box-shadow: none !important; border: 1px solid var(--v4-line) !important; }
html.ay4 .fi-panel-agency .fi-input-wrp:focus-within, html.ay4 .fi-modal .fi-input-wrp:focus-within { border-color: var(--v4-violet) !important; box-shadow: 0 0 0 3px rgba(91,26,240,.12) !important; }
html.ay4 .fi-panel-agency .fi-input-wrp.fi-invalid, html.ay4 .fi-modal .fi-input-wrp.fi-invalid { border-color: var(--v4-cnx) !important; }
html.ay4 .fi-panel-agency .fi-fo-field-label-content, html.ay4 .fi-modal .fi-fo-field-label-content { color: var(--v4-text); font-weight: 500; }
/* the login side is navy: its labels (Agent code, Username, Password, the 2-step code) light, as in the older look */
html.ay4 .fi-panel-agency .fi-simple-main .fi-fo-field-label-content { color: #C9D5E6; }
html.ay4 .fi-panel-agency .fi-simple-main .fi-modal .fi-fo-field-label-content { color: var(--v4-text); }
html.ay4 .fi-panel-agency :is(.fi-checkbox-input, .fi-radio-input):checked { background-color: var(--v4-violet) !important; border-color: var(--v4-violet) !important; }

/* sections and table boxes: white cards, 14px corners, no shadow */
html.ay4 .fi-panel-agency :is(.fi-section:not(.fi-section-not-contained), .fi-ta-ctn, .fi-wi-stats-overview-stat, .fi-in-entry-wrp > .fi-section),
html.ay4 .fi-modal .fi-section:not(.fi-section-not-contained) {
    background: var(--v4-surface) !important; border: 1px solid var(--v4-line) !important; border-radius: var(--v4-r) !important; box-shadow: none !important; }
html.ay4 .fi-panel-agency .fi-section-header-heading { font-weight: 600; color: var(--v4-plum); }
html.ay4 .fi-panel-agency .fi-section-header-description { color: var(--v4-muted); }

/* tables: light column names on a pale strip, thin lines, plum PNR-like bold text */
html.ay4 .fi-panel-agency .fi-ta-ctn { overflow: hidden; }
html.ay4 .fi-panel-agency .fi-ta-header-cell { background: var(--v4-fill) !important; }
html.ay4 .fi-panel-agency .fi-ta-header-cell-label, html.ay4 .fi-panel-agency .fi-ta-header-cell :is(span, button) { font-size: 11.5px !important; font-weight: 500 !important; color: var(--v4-fog) !important; letter-spacing: .06em; text-transform: uppercase; }
html.ay4 .fi-panel-agency .fi-ta-table > tbody > tr { border-color: var(--v4-line2) !important; }
html.ay4 .fi-panel-agency .fi-ta-table :is(tbody, thead) { border-color: var(--v4-line2) !important; }
html.ay4 .fi-panel-agency .fi-ta-row:hover { background: var(--v4-fill) !important; }
html.ay4 .fi-panel-agency .fi-ta-text-item-label { color: var(--v4-text); font-size: 13.5px; }
html.ay4 .fi-panel-agency .fi-ta-text-item-label.fi-font-bold, html.ay4 .fi-panel-agency .fi-ta-text-item-label.fi-font-semibold { color: var(--v4-plum); }
html.ay4 .fi-panel-agency :is(.fi-ta-header-toolbar, .fi-ta-header) { border-color: var(--v4-line2) !important; }
html.ay4 .fi-panel-agency .fi-ta-header-toolbar { background: var(--v4-surface); }
html.ay4 .fi-panel-agency .fi-pagination { border-color: var(--v4-line2) !important; background: var(--v4-fill); }
html.ay4 .fi-panel-agency .fi-pagination-item.fi-active .fi-pagination-item-btn { background: var(--v4-surface) !important; box-shadow: inset 0 0 0 1px var(--v4-line); color: var(--v4-plum) !important; }
html.ay4 .fi-panel-agency .fi-pagination-item-label { color: var(--v4-text); }
html.ay4 .fi-panel-agency .fi-ta-empty-state-heading { color: var(--v4-plum); font-weight: 500; }

/* status badges (Filament): tinted pills with a dot, the v4 status colours */
html.ay4 :is(.fi-panel-agency, .fi-modal) .fi-badge { border-radius: 999px !important; padding: 3px 10px !important; font-size: 12.5px !important; font-weight: 500 !important; box-shadow: none !important; border: 0 !important; gap: 6px; }
html.ay4 :is(.fi-panel-agency, .fi-modal) .fi-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
html.ay4 :is(.fi-panel-agency, .fi-modal) .fi-badge.fi-color-success { color: var(--v4-ok) !important; background: var(--v4-ok-bg) !important; }
html.ay4 :is(.fi-panel-agency, .fi-modal) .fi-badge.fi-color-warning { color: var(--v4-hold) !important; background: var(--v4-hold-bg) !important; }
html.ay4 :is(.fi-panel-agency, .fi-modal) .fi-badge:is(.fi-color-info, .fi-color-primary) { color: var(--v4-chg) !important; background: var(--v4-chg-bg) !important; }
html.ay4 :is(.fi-panel-agency, .fi-modal) .fi-badge.fi-color-danger { color: var(--v4-cnx) !important; background: var(--v4-cnx-bg) !important; }
html.ay4 :is(.fi-panel-agency, .fi-modal) .fi-badge.fi-color-gray { color: var(--v4-rf) !important; background: var(--v4-rf-bg) !important; }
html.ay4 :is(.fi-panel-agency, .fi-modal) .fi-badge .fi-icon { display: none; }

/* tabs (Filament): one white bar, the open tab in soft violet */
html.ay4 .fi-panel-agency .fi-tabs { background: var(--v4-surface); border: 1px solid var(--v4-line); border-radius: var(--v4-r); padding: 4px; box-shadow: none !important; gap: 2px; }
html.ay4 .fi-panel-agency .fi-tabs-item { border-radius: 10px; box-shadow: none !important; }
html.ay4 .fi-panel-agency .fi-tabs-item-label { color: var(--v4-text) !important; font-weight: 400; }
html.ay4 .fi-panel-agency .fi-tabs-item.fi-active { background: var(--v4-violet-soft) !important; }
html.ay4 .fi-panel-agency .fi-tabs-item.fi-active .fi-tabs-item-label { color: var(--v4-violet) !important; font-weight: 500; }
html.ay4 .fi-panel-agency .fi-tabs-item .fi-badge { padding: 1px 7px !important; font-size: 11.5px !important; }
html.ay4 .fi-panel-agency .fi-tabs-item .fi-badge::before { content: none !important; }

/* windows (modals) and side panels (slide-overs) */
html.ay4 .fi-modal-close-overlay { background: rgba(20,7,42,.42) !important; backdrop-filter: blur(2px); }
html.ay4 .fi-modal-window { border-radius: 20px !important; border: 1px solid var(--v4-line); box-shadow: 0 30px 70px -20px rgba(21,0,44,.4) !important; background: var(--v4-surface); }
html.ay4 .fi-modal.fi-modal-slide-over .fi-modal-window { border-radius: 20px 0 0 20px !important; }
html.ay4 .fi-modal-heading { font: 400 26px/1.15 var(--v4-serif) !important; color: var(--v4-plum) !important; letter-spacing: 0; }
html.ay4 .fi-modal-description { color: var(--v4-muted); }
html.ay4 .fi-modal-header { border-color: var(--v4-line2) !important; }
html.ay4 .fi-modal-footer { border-color: var(--v4-line2) !important; }
html.ay4 .fi-modal-icon-bg { background: var(--v4-violet-soft) !important; }
html.ay4 .fi-modal-icon-bg .fi-icon { color: var(--v4-violet) !important; }

/* notifications: pop-up messages and the bell's list */
html.ay4 .fi-no-notification { border-radius: var(--v4-r) !important; border: 1px solid var(--v4-line) !important; box-shadow: var(--v4-pop) !important; background: var(--v4-surface) !important; }
html.ay4 .fi-no-notification-title { color: var(--v4-plum) !important; font-weight: 600; }
html.ay4 .fi-no-notification-body, html.ay4 .fi-no-notification-date { color: var(--v4-muted) !important; }
html.ay4 .fi-no-notification.fi-status-success > .fi-icon { color: var(--v4-ok) !important; }
html.ay4 .fi-no-notification.fi-status-warning > .fi-icon { color: var(--v4-hold) !important; }
html.ay4 .fi-no-notification.fi-status-danger > .fi-icon { color: var(--v4-cnx) !important; }
html.ay4 .fi-no-notification.fi-status-info > .fi-icon { color: var(--v4-violet) !important; }
html.ay4 .fi-no-database .fi-modal-window .fi-no-notification { box-shadow: none !important; border-width: 0 0 1px !important; border-radius: 0 !important; }
html.ay4 .fi-no-database .fi-no-notification-unread-ctn { background: var(--v4-fill); }
html.ay4 .fi-no-database .fi-no-notification-unread-ctn::before { background: var(--v4-violet) !important; }

/* notice bar (Admin → Announcements, "Notice") and Offers & news */
html.ay4 .fi-panel-agency .fz-notice { background: var(--v4-surface); border: 1px solid var(--v4-line); border-radius: var(--v4-r); color: var(--v4-text); font-family: var(--v4-sans); }
html.ay4 .fi-panel-agency .fz-notice .tag { background: var(--v4-violet-soft); color: var(--v4-violet); }
html.ay4 .fi-panel-agency .fz-notice a { color: var(--v4-violet); }
html.ay4 .fi-panel-agency .fz-news h3 { font: 400 28px/1.1 var(--v4-serif); color: var(--v4-plum); }
html.ay4 .fi-panel-agency .fz-nc { background: var(--v4-surface); border: 1px solid var(--v4-line); border-radius: var(--v4-r); box-shadow: none; }
html.ay4 .fi-panel-agency .fz-nc b { font: 400 22px/1.15 var(--v4-serif); color: var(--v4-plum); }
html.ay4 .fi-panel-agency .fz-nc.offer { background: var(--v4-band); border: 0; }
html.ay4 .fi-panel-agency .fz-nc.offer :is(b, p) { color: #fff; }
html.ay4 .fi-panel-agency .fz-nc .tag { background: var(--v4-violet-soft); color: var(--v4-violet); }
html.ay4 .fi-panel-agency .fz-nc a { color: var(--v4-violet); }
html.ay4 .fi-panel-agency .fz-nc.offer a { color: #FFD9E6; }

/* ---------- "Chat with us" (filament.agency.chat-float, as today): a small plum button bottom right ---------- */
html.ay4 .ay-chat { bottom: 16px; inset-inline-end: 18px; gap: 8px; }
html.ay4 .ay-chat-btn { height: 36px; padding: 0 16px; border-radius: 999px; background: var(--v4-plum); color: #fff; font: 500 0/1 var(--v4-sans);
    box-shadow: 0 10px 24px -8px rgba(20,7,42,.55); }
html.ay4 .ay-chat-btn span { font-size: 13px; }   /* the speech-bubble emoji before the words is hidden (font-size 0) */
html.ay4 .ay-chat-btn:hover { background: #2E0B5E; }
html.ay4 .ay-chat-box { color: var(--v4-plum); border-radius: var(--v4-r); border: 1px solid var(--v4-line); box-shadow: var(--v4-pop); font-family: var(--v4-sans); }
html.ay4 .ay-chat-box small { color: var(--v4-muted); }
html.ay4 .ay-chat-box a { border-color: var(--v4-line); font-weight: 500; color: var(--v4-plum); }
html.ay4 .ay-chat-box a:hover { background: var(--v4-fill); }
html.ay4 .ay-chat-box a.wa { background: var(--v4-violet); border-color: var(--v4-violet); color: #fff; }

/* ---------- compact Filament pieces: dense one-line rows, small type ---------- */
html.ay4 .fi-panel-agency .fi-ta-header-cell { padding-block: 6px !important; }
html.ay4 .fi-panel-agency .fi-ta-header-cell-label, html.ay4 .fi-panel-agency .fi-ta-header-cell :is(span, button) { font-size: 10.5px !important; }
html.ay4 .fi-panel-agency .fi-ta-cell { padding-block: 0 !important; }
html.ay4 .fi-panel-agency .fi-ta-cell > .fi-ta-col { padding-block: 6px !important; }
html.ay4 .fi-panel-agency .fi-ta-cell .fi-ta-text { padding-block: 0 !important; }
html.ay4 .fi-panel-agency .fi-ta-cell .fi-ta-actions { padding-block: 4px !important; gap: 10px; }
html.ay4 .fi-panel-agency .fi-ta-cell .fi-ta-actions .fi-link { font-size: 12.5px; }
html.ay4 .fi-panel-agency .fi-ta-cell .fi-font-mono { font-family: var(--v4-sans) !important; letter-spacing: .04em; }
html.ay4 .fi-panel-agency .fi-ta-summary-row > :is(td, th) { padding-block: 4px !important; font-size: 12.5px; }
html.ay4 .fi-panel-agency .fi-ta-summary-row .fi-ta-text-summary { padding-block: 0 !important; }
html.ay4 .fi-panel-agency .fi-ta-text-item-label { font-size: 13px; line-height: 1.25; }
html.ay4 .fi-panel-agency .fi-ta-text-description, html.ay4 .fi-panel-agency .fi-ta-text-item-description { font-size: 11px; line-height: 1.15; }
html.ay4 :is(.fi-panel-agency, .fi-modal) .fi-badge { padding: 2px 8px !important; font-size: 11.5px !important; }
html.ay4 .fi-panel-agency .fi-ta-header-toolbar { padding-block: 6px !important; }
html.ay4 .fi-panel-agency .fi-pagination { padding-block: 6px !important; }
html.ay4 .fi-panel-agency .fi-tabs { padding: 3px; }
html.ay4 .fi-panel-agency .fi-tabs-item { padding: 5px 12px !important; }
html.ay4 .fi-panel-agency .fi-tabs-item-label { font-size: 13px !important; }
html.ay4 .fi-panel-agency .fi-section-header { padding-block: 10px !important; }
html.ay4 .fi-panel-agency .fi-section-content { padding-block: 12px !important; }
html.ay4 .fi-panel-agency .fi-section-header-heading { font-size: 14px; }
html.ay4 .fi-panel-agency .fi-btn { min-height: 0; }
html.ay4 .fi-panel-agency .fi-btn.fi-size-md { padding-block: 6px; font-size: 13.5px; }
html.ay4 .fi-panel-agency .fi-input-wrp input, html.ay4 .fi-panel-agency .fi-input-wrp select { padding-block: 6px; font-size: 13.5px; }
html.ay4 .fi-panel-agency .fi-fo-field-label-content { font-size: 13px; }
html.ay4 .fi-panel-agency .fi-fo-component-ctn { gap: 12px; }

/* ---------- Reports (Statement, Transactions, Receipts, Bookings report, Credit report, Commission): the report tabs sit in a
   white bar over the foot of the band, the period and buttons in one slim row ---------- */
html.ay4 .fi-panel-agency .fi-page:has(.fz-report-tabs) .fi-page-header-main-ctn > .fi-header { padding-bottom: 40px; }
html.ay4 .fi-panel-agency .fz-report-tabs { position: relative; z-index: 2; margin: -44px 18px 0 !important; }
html.ay4 .fi-panel-agency .fz-report-tabs .fi-tabs { width: 100%; max-width: none; justify-content: flex-start; border: 0; border-radius: 14px; padding: 5px; box-shadow: var(--v4-pop) !important; }
html.ay4 .fi-panel-agency .fz-noprint .fz-row { gap: 6px; }
html.ay4 .fi-panel-agency .fz-noprint .fz-row .fi-btn.fi-size-sm { height: 30px; padding-inline: 10px; font-size: 12.5px; }
html.ay4 .fi-panel-agency .fz-noprint .fz-row > .fi-btn:first-child { height: 30px; }
html.ay4 .fi-panel-agency .fi-section .fz-table th { padding: 5px 10px; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--v4-fog); background: var(--v4-fill); font-weight: 500; }
html.ay4 .fi-panel-agency .fi-section .fz-table td { padding: 5px 10px; font-size: 13px; border-color: var(--v4-line2); }
html.ay4 .fi-panel-agency .fz-pill.g { background: var(--v4-ok-bg); color: var(--v4-ok); }
html.ay4 .fi-panel-agency .fz-pill.y { background: var(--v4-hold-bg); color: var(--v4-hold); }

/* Transactions (filament/shared/transactions: its own bar and table) in the v4 colours */
html.ay4 .fi-panel-agency .tx { --tx-line: var(--v4-line2); --tx-head: var(--v4-plum); --tx-muted: var(--v4-muted); --tx-link: var(--v4-violet); --tx-stripe: var(--v4-fill); font-size: 12.5px; }
html.ay4 .fi-panel-agency .tx-card { border-color: var(--v4-line); border-radius: 14px; overflow: hidden; }
html.ay4 .fi-panel-agency .tx-bar { padding: 8px 12px; }
html.ay4 .fi-panel-agency .tx-f { font-size: 11px; font-weight: 400; color: var(--v4-fog); }
html.ay4 .fi-panel-agency .tx-f :is(input, select) { height: 32px; border: 1px solid var(--v4-line); border-radius: 10px; font-size: 13px; color: var(--v4-ink); background: var(--v4-surface); }
html.ay4 .fi-panel-agency .tx-f :is(input, select):focus { outline: 0; border-color: var(--v4-violet); box-shadow: 0 0 0 3px rgba(91,26,240,.12); }
html.ay4 .fi-panel-agency .tx-btn { height: 32px; border-radius: 12px; font-weight: 500; font-size: 13px; background: var(--v4-surface); border: 1px solid var(--v4-line); color: var(--v4-plum); }
html.ay4 .fi-panel-agency .tx-btn:hover { background: var(--v4-fill); }
html.ay4 .fi-panel-agency .tx-btn.tx-go { background: var(--v4-violet); border-color: var(--v4-violet); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 6px 16px -6px rgba(91,26,240,.55); }
html.ay4 .fi-panel-agency .tx-btn.tx-go:hover { background: var(--v4-violet-h); }
html.ay4 .fi-panel-agency .tx-btn.tx-dl svg { color: var(--v4-violet); }
html.ay4 .fi-panel-agency .tx-table th { font-size: 10.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--v4-fog); background: var(--v4-fill); }
html.ay4 .fi-panel-agency .tx-table a { color: var(--v4-violet); }
html.ay4 .fi-panel-agency .tx-sub b { color: var(--v4-plum); }

/* ---------- phones and small tablets: Filament's own ☰ menu, as today ---------- */
@media (max-width: 1023px) {
    html.ay4 .fi-panel-agency .fi-topbar { height: 54px; min-height: 54px; padding: 0 14px !important; gap: 8px; }
    html.ay4 .fi-panel-agency .fi-topbar-start { display: flex !important; }
    html.ay4 .fi-panel-agency .fi-topbar .fi-logo { height: 17px !important; }
    html.ay4 .fi-panel-agency .fi-topbar-end { gap: 6px; }
    html.ay4 .fi-panel-agency .fi-topbar .fz-balpill { padding: 0 10px !important; height: 32px; }
}
@media (max-width: 760px) {
    html.ay4 .fi-panel-agency .fi-main { padding: 0 14px 72px !important; }
    html.ay4 .ay4-band h1 { font-size: 26px; }
    html.ay4 .fi-panel-agency .fi-page-header-main-ctn > .fi-header { border-radius: 16px; padding: 14px 18px; }
    html.ay4 .fi-panel-agency .fi-header .fi-header-heading { font-size: 26px !important; }
    html.ay4 .ay4-sec-h { margin: 8px 2px -6px; }
    html.ay4 .ay4-sec-h h2 { font-size: 20px; }
    html.ay4 .fi-modal.fi-modal-slide-over .fi-modal-window { border-radius: 0 !important; }
    html.ay4 .fi-panel-agency .fi-topbar .fz-balpill span { display: none !important; }
}
@media (max-width: 640px) {
    html.ay4 .ay-chat-btn { width: 44px; height: 44px; padding: 0; font-size: 18px; }   /* as today on phones: the round button with the bubble */
}
@media print {
    html.ay4 .ay-chat { display: none !important; }
}

/* ---------- every report, smaller (2026-10-09: Bookings report and Credit report "too big"): the period, the filters and the
   buttons in one row, the figures as ONE slim strip instead of big cards, short notes. Same fields, figures and texts. ---------- */
html.ay4 .fi-panel-agency .fi-page:has(.fz-report-tabs) .fi-page-content { row-gap: 10px; }
html.ay4 .fi-panel-agency .fi-page:has(.fz-report-tabs) .fz-noprint > form { display: flex; align-items: flex-end; gap: 8px 12px; flex-wrap: wrap; }
html.ay4 .fi-panel-agency .fi-page:has(.fz-report-tabs) .fz-noprint > form > .fi-sc { flex: 0 1 600px; gap: 10px !important; }
html.ay4 .fi-panel-agency .fi-page:has(.fz-report-tabs) .fz-noprint > form > .fz-row { flex: 1 1 600px; margin-top: 0 !important; gap: 6px; }
html.ay4 .fi-panel-agency .fi-page:has(.fz-report-tabs) .fz-noprint > form .fi-fo-field { gap: 2px; }
html.ay4 .fi-panel-agency .fi-page:has(.fz-report-tabs) .fz-noprint > form .fi-fo-field-label-content { font-size: 11px; color: var(--v4-fog); font-weight: 400; }
html.ay4 .fi-panel-agency .fi-page:has(.fz-report-tabs) .fz-noprint > form .fi-input-wrp { height: 32px; }
html.ay4 .fi-panel-agency .fi-page:has(.fz-report-tabs) .fz-noprint > form .fi-select-input-btn { min-height: 0; padding-block: 4px; }
html.ay4 .fi-panel-agency .fi-page:has(.fz-report-tabs) .fi-page-content > p.fz-muted { margin: 0; font-size: 12px; line-height: 1.45; }
html.ay4 .fi-panel-agency .fi-page:has(.fz-report-tabs) .fz-cards { display: flex !important; flex-wrap: wrap; gap: 0 !important; background: var(--v4-surface); border: 1px solid var(--v4-line); border-radius: var(--v4-r); overflow: hidden; }
html.ay4 .fi-panel-agency .fi-page:has(.fz-report-tabs) .fz-cards > .fz-card { flex: 1 1 112px; min-width: 0; margin: 0; padding: 7px 12px !important; background: transparent; border: 0 !important; border-radius: 0 !important;
    box-shadow: none !important; border-inline-start: 1px solid var(--v4-line2) !important; }
html.ay4 .fi-panel-agency .fi-page:has(.fz-report-tabs) .fz-cards > .fz-card:first-child { border-inline-start: 0 !important; }
html.ay4 .fi-panel-agency .fi-page:has(.fz-report-tabs) .fz-cards > .fz-card::before, html.ay4 .fi-panel-agency .fi-page:has(.fz-report-tabs) .fz-cards > .fz-card::after { content: none !important; display: none !important; }
html.ay4 .fi-panel-agency .fi-page:has(.fz-report-tabs) .fz-card .fz-label { font-size: 10.5px; font-weight: 500; letter-spacing: .02em; text-transform: none; color: var(--v4-fog); }
html.ay4 .fi-panel-agency .fi-page:has(.fz-report-tabs) .fz-card .fz-value { margin-top: 1px; font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--v4-plum); font-variant-numeric: tabular-nums; white-space: nowrap; }
html.ay4 .fi-panel-agency .fi-page:has(.fz-report-tabs) .fz-card :is(.br-note, .cr-sub) { margin-top: 0; font-size: 10.5px; line-height: 1.3; color: var(--v4-fog); }
html.ay4 .fi-panel-agency .fi-page:has(.fz-report-tabs) .fz-card.br-total { background: var(--v4-plum); }
html.ay4 .fi-panel-agency .fi-page:has(.fz-report-tabs) .fz-card.br-total :is(.fz-label, .br-note) { color: rgba(255,255,255,.7); }
html.ay4 .fi-panel-agency .fi-page:has(.fz-report-tabs) .fz-card.br-total .fz-value { color: #fff; }
html.ay4 .fi-panel-agency .fi-page:has(.fz-report-tabs) .fi-section-header { padding-block: 10px; }
html.ay4 .fi-panel-agency .fz-report-views { margin: 2px 0 0; }
html.ay4 .fi-panel-agency .fz-report-views a.on { color: var(--v4-violet); }
html.ay4 .fi-panel-agency .fi-page:has(.fz-report-tabs) .fz-table :is(td, th) { padding-top: 5px; padding-bottom: 5px; }
html.ay4 .fi-panel-agency .fi-page:has(.fz-report-tabs) .fi-section-header-description { margin-top: 0; font-size: 12px; }
