/* =====================================================================================================
   Fandaqah brand layer for the PMS web app (Nova admin panel)
   -----------------------------------------------------------------------------------------------------
   Source of the rules: docs/fandaqah PMS UI Redesigning/Fandaqah_Branding.md (identity guide) and the
   "Fandaqah Dev Version (Final)" UI design. Implementation notes and the review checklist:
   docs/fandaqah PMS UI Redesigning/IMPLEMENTATION.md.

   Loaded LAST in resources/views/vendor/nova/layout.blade.php, after Nova, the Theme module and every
   tool stylesheet. Order of this file:
     1. Tokens (--fq-*)            the only place a raw HEX value may appear
     2. Nova variable remap        Nova core and theme.css read these, so Nova itself turns brand
     3. Base                       fonts, text, links, focus, selection, motion
     4. Shell                      fdq-sidebar, fdq-topbar, footer, banners (layout.blade.php)
     7. Auth pages                 login, password reset, sign-up
    10. Design components          buttons, cards, row-card tables (CSS only, no markup change; unit cards live in UnitHousing.vue)
   (Sections 5 components, 6 date pickers, 8 design kit and 9 units housing were removed: the inner
   screens keep their pre-redesign look; only the shell, tokens, fonts and auth pages are redesigned.)
   Logical properties (inline-start/end) are used everywhere so Arabic RTL needs no mirror rules.
   ===================================================================================================== */

/* -----------------------------------------------------------------------------------------------------
   1. TOKENS
   Official swatches (Identity Guide p.7, colour-managed render of the PDF): coral #F15F5A, navy #262E43,
   warm white #F6F6F4, muted #889493, peach #FCC5A9; pattern artwork adds teal #214F5F, ice #B8D7D9,
   salmon #F58985.
   AA shades: the official coral is 3.22:1 with white text and the muted grey 3.13:1 on white, both below
   the guide's own 4.5:1 rule for normal text. --fq-coral-strong (#F15E5A, 5.07:1) and --fq-muted-text
   (#5F6B6A, 5.53:1) are darker shades of the same hues, used wherever the colour carries text. The
   official values stay for surfaces, icons, indicators, focus rings and large display figures.
   ----------------------------------------------------------------------------------------------------- */
:root {
    /* palette */
    --fq-coral: #F15F5A;
    --fq-coral-strong: #F15E5A;
    --fq-coral-hover: #D94B47;
    --fq-coral-soft: #FDECEA;
    --fq-coral-tint: #F9CFCC;
    --fq-navy: #262E43;
    --fq-navy-hover: #3A4460;
    --fq-navy-soft: #E9EAEE;
    --fq-warm: #F6F6F4;
    --fq-muted: #889493;
    --fq-muted-text: #5F6B6A;
    --fq-peach: #FCC5A9;
    --fq-peach-soft: #FEF1EA;
    --fq-teal: #214F5F;
    --fq-teal-soft: #E4EEF0;
    --fq-ice: #B8D7D9;
    --fq-salmon: #F58985;
    --fq-white: #FFFFFF;

    /* semantic surfaces and text */
    --fq-bg: #F6F6F4;
    --fq-surface: #FFFFFF;
    --fq-surface-2: #F1F0EC;
    --fq-surface-3: #FAFAF8;
    --fq-border: #E6E4DE;
    --fq-border-strong: #CFCCC4;
    --fq-text: #262E43;
    --fq-text-muted: #5F6B6A;
    --fq-text-inverse: #FFFFFF;

    /* actions */
    --fq-primary: #F15E5A;
    --fq-primary-hover: #D94B47;
    --fq-primary-soft: #FDECEA;
    --fq-primary-tint: #F9CFCC;
    --fq-secondary: #262E43;
    --fq-secondary-hover: #3A4460;

    /* functional states (kept distinct from the brand coral; always paired with an icon or a word) */
    --fq-success: #1E7F4F;
    --fq-success-soft: #E5F4EC;
    --fq-warning: #8A5A00;
    --fq-warning-fill: #F2B33D;
    --fq-warning-soft: #FFF4DB;
    --fq-danger: #B42318;
    --fq-danger-soft: #FDECEC;
    --fq-info: #F15E5A;
    --fq-info-soft: #E4EEF0;

    /* typography: Latin from Montserrat / El Messiri, Arabic from Almarai (public/fonts/brand/fonts.css) */
    --fq-font-body: 'Fandaqah Sans', 'Montserrat', 'Almarai', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --fq-font-title: 'Fandaqah Title', 'El Messiri', 'Almarai', Georgia, serif;
    --fq-font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    --fq-text-xs: 11px;
    --fq-text-sm: 12px;
    --fq-text-md: 13px;
    --fq-text-lg: 15px;
    --fq-text-xl: 18px;
    --fq-text-2xl: 21px;

    /* shape, depth, space */
    --fq-radius-sm: 6px;
    --fq-radius: 10px;
    --fq-radius-lg: 16px;
    --fq-radius-pill: 999px;
    --fq-shadow-sm: 0 1px 2px rgba(38, 46, 67, .06);
    --fq-shadow: 0 4px 16px rgba(38, 46, 67, .08);
    --fq-shadow-lg: 0 16px 40px rgba(38, 46, 67, .16);
    --fq-space-1: 4px;
    --fq-space-2: 8px;
    --fq-space-3: 12px;
    --fq-space-4: 16px;
    --fq-space-5: 24px;
    --fq-space-6: 32px;
    --fq-focus-ring: 0 0 0 3px rgba(241, 95, 90, .45);
    --fq-control-h: 40px;
    --fq-touch: 44px;

    /* shell */
    --fq-sidebar-w: 252px;
    --fq-sidebar-w-collapsed: 84px;
    --fq-topbar-h: 56px;
}

/* -----------------------------------------------------------------------------------------------------
   2. NOVA VARIABLE REMAP (Nova core app.css and the Theme module read these)
   ----------------------------------------------------------------------------------------------------- */
:root {
    --black: #1B2130;
    --white: #FFFFFF;
    --primary: var(--fq-primary);
    --primary-dark: var(--fq-primary-hover);
    --primary-70: rgba(241, 94, 90, .7);
    --primary-50: rgba(241, 94, 90, .5);
    --primary-30: rgba(241, 94, 90, .3);
    --primary-10: rgba(241, 94, 90, .1);
    --logo: var(--fq-navy);
    --sidebar-icon: var(--fq-muted-text);
    --20: #FAFAF8;
    --30: #F6F6F4;
    --40: #EFEEEA;
    --50: #E6E4DE;
    --60: #CFCCC4;
    --70: #A3AAA9;
    --80: #5F6B6A;
    --90: #262E43;
    --90-half: rgba(38, 46, 67, .5);
    --danger: var(--fq-danger);
    --danger-light: var(--fq-danger-soft);
    --danger-dark: #8F1C13;
    --success: var(--fq-success);
    --success-light: var(--fq-success-soft);
    --success-dark: #165E3A;
    --warning: var(--fq-warning-fill);
    --warning-light: var(--fq-warning-soft);
    --warning-dark: var(--fq-warning);
    --info: var(--fq-info);
    --info-light: var(--fq-info-soft);
    --info-dark: #173A46;
}

/* -----------------------------------------------------------------------------------------------------
   3. BASE
   ----------------------------------------------------------------------------------------------------- */
/* rem-based Nova/Tailwind text (text-sm, text-base, ...) follows this root size */
html { font-size: 14.5px; }
html,
body {
    background: var(--fq-bg);
    color: var(--fq-text);
    font-family: var(--fq-font-body);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
body {
    font-size: var(--fq-text-md);
    line-height: 1.5;
}
/* every element uses the brand stacks; icon fonts and code keep their own face. :where() keeps this at
   the specificity of one id, so the heading rule below (id + element) still wins. */
#nova :where(*:not(i):not(.fa):not([class^="fa-"]):not([class*=" fa-"]):not(.fas):not(.far):not(.fab):not(.material-icons):not([class*="saudi"]):not([class*="riyal"]):not(code):not(pre):not(kbd):not(samp)),
body > .toasted-container :where(*),
body > .swal2-container :where(*:not(.swal2-icon)),
.fandi-ai, .fandi-ai :where(*:not(i):not(.fa):not(code):not(pre)),
.fandi-overlay, .fandi-overlay :where(*:not(i):not(.fa):not(code):not(pre)) {
    font-family: var(--fq-font-body) !important;
}
#nova h1, #nova h2, #nova h3,
#nova h1 :where(*:not(i):not(.fa)), #nova h2 :where(*:not(i):not(.fa)), #nova h3 :where(*:not(i):not(.fa)),
#nova .font-title,
.swal2-title, .sweet-modal .sweet-title h2 {
    font-family: var(--fq-font-title) !important;
    font-weight: 700;
    letter-spacing: 0;
    color: var(--fq-text);
}
#nova h1 { font-size: var(--fq-text-2xl); line-height: 1.25; }
/* the navy dashboard band: its title stays white (beats the #nova h1 colour above) */
#nova .fq-dash .fq-head h1.fq-head__title { color: #fff; }
/* announcement cards: the body is HTML (<b> etc.); as a flex box its inline tags became separate flex items, so keep it a normal block */
#nova .announcement-slider .slide p { display: block; align-content: normal; }
/* announcement card titles (15px, as in the component's scoped style) */
#nova .announcement-slider .slide h1 { font-size: 15px; line-height: 1.3; color: #d2443f; }
/* the description is one size below the title: tags pasted into the HTML body (inline font sizes, headings) never outgrow it */
#nova .announcement-slider .slide p { font-size: 13px !important; }
#nova .announcement-slider .slide p :where(*) { font-size: inherit !important; }
#nova h2 { font-size: var(--fq-text-xl); line-height: 1.3; }
#nova h3 { font-size: var(--fq-text-lg); line-height: 1.35; }
/* Nova's <heading> component */
#nova h1.text-90.font-normal { font-weight: 700; }
code, pre, kbd, samp { font-family: var(--fq-font-mono); }

a { color: var(--fq-primary); }
a:hover { color: var(--fq-primary-hover); }
::selection { background: var(--fq-coral-tint); color: var(--fq-navy); }
input, select, textarea { accent-color: var(--fq-primary); }

/* visible focus everywhere (theme.css removed outlines); keyboard users only */
#nova :focus-visible,
body > .toasted-container :focus-visible {
    outline: 3px solid var(--fq-coral) !important;
    outline-offset: 2px !important;
}
#nova input:focus-visible, #nova select:focus-visible, #nova textarea:focus-visible { outline-offset: 0 !important; }

/* every error toast (Nova's vue-toasted, type 'error', in all modules) uses the brand coral */
body > .toasted-container .toasted.error { background-color: #F15E5A !important; color: #FFFFFF !important; }

.fdq-sr-only {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0);
    white-space: nowrap; border: 0;
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
}
* { scrollbar-width: thin; scrollbar-color: var(--fq-border-strong) transparent; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: var(--fq-border-strong); border-radius: 8px; }
::-webkit-scrollbar-track { background: transparent; }

/* -----------------------------------------------------------------------------------------------------
   4. SHELL (resources/views/vendor/nova/layout.blade.php)
   ----------------------------------------------------------------------------------------------------- */
body.min-w-site { min-width: 0; }
.fdq-shell {
    display: flex;
    min-height: 100vh;
    background: var(--fq-bg);
}

/* ---- sidebar ---- */
.fdq-sidebar {
    position: sticky;
    top: 0;
    flex: none;
    display: flex;
    flex-direction: column;
    width: var(--fq-sidebar-w);
    height: 100vh;
    padding: var(--fq-space-5) var(--fq-space-4) var(--fq-space-5) 0;
    padding-inline-start: 0;
    padding-inline-end: var(--fq-space-4);
    overflow-x: hidden;
    overflow-y: auto;
    background: var(--fq-surface);
    border-inline-end: 1px solid var(--fq-border);
    z-index: 60;
    transition: width .2s ease, transform .25s ease;
}
.fdq-sidebar__brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--fq-space-2);
    padding-inline-start: var(--fq-space-5);
    margin-bottom: var(--fq-space-5);
}
/* logo clearspace = width of the "f" (about 0.2 x the lockup height): 8 px at 40 px height */
.fdq-logo {
    display: inline-flex;
    padding: 8px;
    margin: -8px;
    border-radius: var(--fq-radius-sm);
}
.fdq-logo img { display: block; height: 40px; width: auto; }

.fdq-hotel {
    display: flex;
    align-items: center;
    gap: var(--fq-space-3);
    /* now lives in the sidebar header row, in place of the Fandaqah logo */
    margin: 0;
    flex: 1 1 auto;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--fq-text);
    text-decoration: none;
}
.fdq-hotel:hover { color: var(--fq-text); border-color: var(--fq-border-strong); }
.fdq-hotel__photo {
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--fq-surface-2);
}
.fdq-hotel__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* the hotel block keeps .logo_sidebar/.imgthumb for the Academy recorder; neutralise theme.css's 80 px ring */
.fdq-hotel.logo_sidebar { width: auto; overflow: visible; }
.fdq-hotel .fdq-hotel__photo.imgthumb { width: 40px; height: 40px; margin: 0; padding: 0; background: var(--fq-surface-2); border-radius: 50%; }
.fdq-hotel .fdq-hotel__photo.imgthumb img { border-radius: 50%; }
.fdq-hotel__text { display: flex; flex-direction: column; min-width: 0; }
.fdq-hotel__name {
    font-weight: 700;
    font-size: var(--fq-text-sm);
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.fdq-hotel__id { font-size: var(--fq-text-xs); color: var(--fq-text-muted); }

.fdq-nav { display: flex; flex-direction: column; gap: 2px; padding-bottom: var(--fq-space-5); }
/* nav entries come from resources/views/vendor/nova/dashboard/navigation.blade.php and the tools'
   navigation views; they still carry Nova's text-white/mb-6/text-lg utilities, neutralised here */
.fdq-nav > a,
.fdq-nav > h3,
.fdq-nav > div > a,
.fdq-nav > div > h3 {
    display: flex !important;
    align-items: center;
    gap: var(--fq-space-3);
    min-height: var(--fq-touch);
    margin: 0 !important;
    padding: 10px var(--fq-space-4);
    padding-inline-start: var(--fq-space-5);
    border-start-end-radius: var(--fq-radius-pill);
    border-end-end-radius: var(--fq-radius-pill);
    color: var(--fq-text-muted) !important;
    font-size: var(--fq-text-md) !important;
    font-weight: 500 !important;
    line-height: 1.3;
    text-decoration: none !important;
    cursor: pointer;
    opacity: 1 !important;
    transition: background-color .15s ease, color .15s ease;
}
.fdq-nav > a:hover,
.fdq-nav > div > a:hover,
.fdq-nav > h3:hover {
    background: var(--fq-surface-2);
    color: var(--fq-text) !important;
}
.fdq-nav a.router-link-exact-active,
.fdq-nav a.router-link-active:not([exact]):not([href$="/home"]):not([href$="/home/"]),
.fdq-nav > h3.router-link-active {
    background: var(--fq-primary);
    color: var(--fq-text-inverse) !important;
    font-weight: 700 !important;
    box-shadow: 0 6px 16px rgba(241, 94, 90, .25);
}
.fdq-nav .sidebar-label,
.fdq-nav .text-white {
    color: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
    text-align: start !important;
    font-family: var(--fq-font-body) !important;
}
.fdq-nav .sidebar-icon {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px !important;
    height: 24px !important;
    margin: 0 !important;
}
.fdq-nav .sidebar-icon svg,
.fdq-nav > a > svg {
    width: 22px !important;
    height: 22px !important;
    margin: 0 !important;
    display: block;
}
/* recolour the inline icons (their paths carry fixed fills such as #9fafbb) */
.fdq-nav svg:not([fill]),
.fdq-nav svg[fill]:not([fill="none"]),
.fdq-nav svg [fill]:not([fill="none"]) { fill: currentColor !important; }
.fdq-nav svg [stroke]:not([stroke="none"]),
.fdq-nav svg[stroke]:not([stroke="none"]) { stroke: currentColor !important; }
.fdq-nav svg[fill="none"],
.fdq-nav svg [fill="none"] { fill: none !important; }

.fdq-scrim { display: none; }

/* desktop collapsed rail */
@media (min-width: 1024px) {
    .fdq-sidebar-collapsed .fdq-sidebar { width: var(--fq-sidebar-w-collapsed); }
    .fdq-sidebar-collapsed .fdq-sidebar__brand { flex-direction: column; padding-inline-start: var(--fq-space-4); }
    .fdq-sidebar-collapsed .fdq-logo img { height: 28px; }
    .fdq-sidebar-collapsed .fdq-hotel { justify-content: center; padding: var(--fq-space-2); }
    .fdq-sidebar-collapsed .fdq-hotel__text,
    .fdq-sidebar-collapsed .fdq-nav .sidebar-label {
        position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap;
    }
    .fdq-sidebar-collapsed .fdq-nav > a,
    .fdq-sidebar-collapsed .fdq-nav > div > a { justify-content: center; padding-inline-start: var(--fq-space-4); }
    .fdq-menu-toggle, .fdq-topbar__logo { display: none !important; }
}

/* ---- main column ---- */
.fdq-main {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    position: relative;
}
.fdq-content {
    flex: 1 1 auto;
    width: 100%;
    padding: var(--fq-space-5) !important;
    overflow-x: hidden;
}

/* ---- top bar ---- */
.fdq-topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--fq-space-4);
    min-height: var(--fq-topbar-h);
    padding: 4px var(--fq-space-5);
    /* faded watermark: the pastel art under a white wash (~50% visible), content sits directly on it; no overflow clipping so dropdowns can escape */
    background: #FBF4EE url('/brand/bar-art.svg') no-repeat right center / auto 100%;
    border-bottom: 1px solid var(--fq-border);
    color: var(--fq-navy);
}
/* tray holding all topbar content; same layout the header itself had */
.fdq-topbar__tray {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--fq-space-4);
    width: 100%;
    padding: 0;
    background: transparent;
    border-radius: 0;
}
[dir="rtl"] .fdq-topbar { background-position: right center; transform: none; }
.fdq-topbar .fdq-iconbtn { color: var(--fq-navy); }
.fdq-topbar .fdq-iconbtn:hover { background: rgba(38, 46, 67, .08); color: var(--fq-navy); }
.fdq-topbar .fdq-iconbtn.router-link-active { background: rgba(38, 46, 67, .12); color: var(--fq-navy); }
/* the shortcut icons are inline SVGs with a white fill: turn them navy on the white bar */
.fdq-topbar .fdq-tools [fill="#fff"], .fdq-topbar .fdq-tools [fill="white"], .fdq-topbar .fdq-tools [fill="#ffffff"] { fill: var(--fq-navy); }
.fdq-topbar .fdq-btn--outline { background: transparent !important; border-color: var(--fq-navy) !important; color: var(--fq-navy) !important; }
.fdq-topbar .fdq-btn--outline:hover { background: rgba(38, 46, 67, .08) !important; color: var(--fq-navy) !important; }
.fdq-topbar .fdq-bizdate { background: rgba(38, 46, 67, .08); color: var(--fq-navy); }
.fdq-topbar .fdq-user, .fdq-topbar .fdq-user__name, .fdq-topbar .fdq-user__team { color: var(--fq-navy); }
.fdq-topbar__start,
.fdq-topbar__end {
    display: flex;
    align-items: center;
    gap: var(--fq-space-3);
    min-width: 0;
}
.fdq-topbar__end { justify-content: flex-end; flex-wrap: wrap; }
.fdq-topbar__logo img { display: block; height: 36px; width: 36px; border-radius: 50%; object-fit: cover; background: #fff; }
.fdq-topbar__cta { display: flex; align-items: center; gap: var(--fq-space-2); }
.fdq-tools { display: flex; align-items: center; gap: 2px; }

.fdq-integrations {
    display: flex;
    flex-wrap: nowrap; /* always one row, at any zoom level */
    flex-shrink: 0;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.fdq-integrations > li, .fdq-integrations .fdq-chip { flex-shrink: 0; }
.fdq-topbar__start { flex-shrink: 0; }
.fdq-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 28px;
    padding: 2px 10px;
    border-radius: var(--fq-radius-pill);
    border: 1px solid transparent;
    font-size: var(--fq-text-xs);
    font-weight: 700;
    letter-spacing: .02em;
    text-decoration: none;
    white-space: nowrap;
}
.fdq-chip--ok { background: var(--fq-success-soft); color: var(--fq-success); border-color: #BFE3CF; }
.fdq-chip--off { background: var(--fq-surface-2); color: var(--fq-text-muted); border-color: var(--fq-border); }
.fdq-chip:hover { border-color: currentColor; }
/* top-bar integration chips: plain white circle with the same soft shadow as the table action icons */
.fdq-integrations .fdq-chip {
    width: 40px;
    height: 40px;
    min-height: 40px;
    padding: 0;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .18);
    transition: box-shadow .15s ease;
}
.fdq-integrations .fdq-chip:hover { box-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
.fdq-integrations .fdq-chip img { display: block; margin: 0; }

.fdq-bizdate {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 28px;
    padding: 2px 12px;
    border-radius: var(--fq-radius-pill);
    background: var(--fq-teal-soft);
    color: var(--fq-teal);
    font-size: var(--fq-text-xs);
    white-space: nowrap;
}
.fdq-bizdate__value { font-weight: 700; font-size: var(--fq-text-sm); }

/* icon button (top bar and anywhere else) */
.fdq-iconbtn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: var(--fq-radius);
    background: transparent;
    color: var(--fq-text);
    cursor: pointer;
    text-decoration: none;
    transition: background-color .15s ease, color .15s ease;
}
.fdq-iconbtn:hover { background: var(--fq-surface-2); color: var(--fq-primary); }
.fdq-iconbtn.router-link-active { color: var(--fq-primary); background: var(--fq-primary-soft); }
.fdq-iconbtn > svg { width: 20px !important; height: 20px !important; display: block; }
.fdq-iconbtn > svg,
.fdq-iconbtn > svg [fill]:not([fill="none"]) { fill: currentColor !important; }
.fdq-iconbtn > svg[fill="none"],
.fdq-iconbtn > svg [fill="none"] { fill: none !important; }
.fdq-iconbtn > svg [stroke]:not([stroke="none"]),
.fdq-iconbtn > svg[stroke] { stroke: currentColor !important; }
.fdq-iconbtn .bell-icon { stroke: currentColor !important; fill: none !important; }
.fdq-iconbtn .notification-count {
    position: absolute;
    top: 2px;
    inset-inline-end: 0;
    min-width: 18px;
    padding: 2px 5px;
    border-radius: var(--fq-radius-pill);
    background: var(--fq-coral-strong);
    color: var(--fq-white);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
    box-shadow: 0 0 0 2px var(--fq-surface);
}

/* user menu (partials/user.blade.php inside Nova's <dropdown>) */
.fdq-user { position: relative; flex: none; }
/* Nova's <dropdown-trigger> renders its own <a class="dropdown-trigger"> and drops the class given in the partial */
.fdq-user__trigger,
.fdq-user .dropdown-trigger {
    display: flex !important;
    align-items: center;
    gap: var(--fq-space-2);
    min-height: var(--fq-touch);
    padding: 2px 8px;
    border-radius: var(--fq-radius);
    color: var(--fq-text) !important;
    cursor: pointer;
}
.fdq-user__trigger:hover,
.fdq-user .dropdown-trigger:hover { background: var(--fq-surface-2); }
.fdq-user .dropdown-trigger { width: auto !important; flex-shrink: 0; }
.fdq-user__trigger > svg,
.fdq-user .dropdown-trigger > svg { color: var(--fq-text-muted); fill: currentColor; }
.fdq-avatar {
    flex: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 2px var(--fq-surface), 0 0 0 3px var(--fq-coral);
}
.fdq-avatar--initials {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--fq-navy);
    color: var(--fq-white);
    font-weight: 700;
    font-size: var(--fq-text-md);
}
.fdq-user__text { display: flex; flex-direction: column; line-height: 1.2; text-align: start; max-width: 180px; }
.fdq-user__name { font-weight: 700; font-size: var(--fq-text-md); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fdq-user__team { font-size: var(--fq-text-xs); color: var(--fq-text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fdq-user .dropdown-menu,
.fdq-user [class*="dropdown-menu"] { inset-inline-end: 0; inset-inline-start: auto; }

/* banners */
.fdq-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--fq-space-2);
    padding: 10px var(--fq-space-5);
    font-size: var(--fq-text-sm);
    font-weight: 600;
    text-align: center;
}
.fdq-banner a { color: inherit; text-decoration: underline; font-weight: 700; margin-inline-start: var(--fq-space-2); }
.fdq-banner--info { background: var(--fq-teal); color: var(--fq-white); }
.fdq-banner--danger { background: var(--fq-danger-soft); color: var(--fq-danger); border-bottom: 1px solid #F4C7C3; }

.fdq-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--fq-space-4);
    padding: var(--fq-space-4) var(--fq-space-5);
    /* same faded-watermark tile and wash as the top bar */
    background: #FBF4EE url('/brand/bar-art.svg') no-repeat right center / auto 100%;
    border-top: 1px solid var(--fq-border);
    color: var(--fq-text-muted);
    font-size: var(--fq-text-sm);
}
[dir="rtl"] .fdq-footer { background-position: right center; }
.fdq-footer__logo { display: block; height: 32px; width: auto; }
/* Dashboard "Reservations awaiting payment" header: same faded-watermark art as the top bar and footer.
   Doubled class beats the component's own (runtime-injected) style. */
.fq-ap-head.fq-ap-head.fq-ap-head { background: #FBF4EE url('/brand/bar-art.svg') no-repeat right center / auto 100%; border-bottom: 1px solid var(--fq-border); }
[dir="rtl"] .fq-ap-head.fq-ap-head.fq-ap-head { background-position: right center; }
.fq-ap-head .fq-ap-head-title.fq-ap-head-title { color: var(--fq-text); }
.fq-ap-head .fq-ap-count.fq-ap-count { background: var(--fq-navy); color: #fff; }
.fq-ap-head .fq-ap-head-ic.fq-ap-head-ic { background: #fff; color: var(--fq-primary); box-shadow: 0 1px 4px rgba(38,46,67,.12); }
.fq-ap-head .fq-ap-head-ic svg[stroke] { stroke: var(--fq-primary); }
.fq-ap-body.fq-ap-body { background: var(--fq-warm); }
.fq-ap-row .fq-ap-unit.fq-ap-unit { background: var(--fq-navy-soft); color: var(--fq-navy); }
.fq-ap-row .fq-ap-unit.fq-ap-unit small { color: var(--fq-muted-text); }
.fq-ap-row .fq-ap-nights.fq-ap-nights { background: var(--fq-navy-soft); color: var(--fq-navy); }
.fq-ap-row .fq-ap-cost.fq-ap-cost b { color: var(--fq-navy); }
/* "made in KSA" line sits in the true middle: equal side columns, logo pushed to the end */
.fdq-footer { display: grid; grid-template-columns: 1fr auto 1fr; box-sizing: border-box; height: calc(var(--fq-topbar-h) - 12px); min-height: 0; padding-top: 2px; padding-bottom: 2px; }
.fdq-footer .fdq-footer__logo { height: 24px; }
.fdq-footer__made { text-align: center; }
.fdq-footer__logo { justify-self: end; }
[dir="rtl"] .fdq-footer__logo { justify-self: start; }

/* ---- tablet and phone: the sidebar becomes a drawer ---- */
@media (max-width: 1023.98px) {
    .fdq-sidebar {
        position: fixed;
        top: 0;
        bottom: 0;
        inset-inline-start: 0;
        width: min(300px, 86vw);
        transform: translateX(-100%);
        box-shadow: var(--fq-shadow-lg);
    }
    [dir="rtl"] .fdq-sidebar { transform: translateX(100%); }
    .fdq-sidebar-open .fdq-sidebar { transform: none !important; }
    .fdq-sidebar-open .fdq-scrim {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 55;
        background: rgba(38, 46, 67, .45);
    }
    .fdq-sidebar__collapse { display: none !important; }
    .fdq-topbar { padding: 4px var(--fq-space-4); min-height: 64px; }
    .fdq-topbar__tray { flex-wrap: wrap; }
    .fdq-content { padding: var(--fq-space-4) !important; }
    .fdq-iconbtn { width: var(--fq-touch); height: var(--fq-touch); }
}
@media (max-width: 767.98px) {
    .fdq-topbar { background-size: auto 70%; }
    .fdq-topbar__start { flex: 1 1 100%; flex-wrap: wrap; }
    .fdq-topbar__start .fdq-integrations { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; }
    .fdq-topbar__end { flex: 1 1 100%; justify-content: space-between; }
    .fdq-tools { flex-wrap: wrap; }
    .fdq-user__text { display: none; }
    .fdq-topbar__cta .fdq-btn--outline { display: none; }
    .fdq-bizdate__label { display: none; }
    .fdq-content { padding: var(--fq-space-3) !important; }
    .fdq-footer { grid-template-columns: 1fr; justify-items: center; text-align: center; height: auto; }
    .fdq-footer__logo, [dir="rtl"] .fdq-footer__logo { justify-self: center; }
}

/* topbar buttons (New Booking / New Group Booking); the generic Nova button restyle was removed with the inner screens */
.fdq-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--fq-space-2); min-height: var(--fq-control-h); padding: 0 18px; border: 1px solid transparent; border-radius: var(--fq-radius); font-family: var(--fq-font-body); font-weight: 700; font-size: var(--fq-text-md); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.fdq-btn--primary { background: var(--fq-primary) !important; border-color: var(--fq-primary) !important; color: var(--fq-text-inverse) !important; box-shadow: 0 4px 12px rgba(241, 94, 90, .22); }
.fdq-btn--primary:hover { background: var(--fq-primary-hover) !important; border-color: var(--fq-primary-hover) !important; }
.fdq-btn--outline { background: var(--fq-surface) !important; border: 1px solid var(--fq-primary) !important; color: var(--fq-primary) !important; }
.fdq-btn--outline:hover { background: var(--fq-primary-soft) !important; color: var(--fq-primary-hover) !important; }
.fdq-btn:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }

/* -----------------------------------------------------------------------------------------------------
   7. AUTH PAGES (resources/views/vendor/nova/auth/*: login, password reset; body.fdq-auth)
   ----------------------------------------------------------------------------------------------------- */
.fdq-auth { background: var(--fq-bg); color: var(--fq-text); }
.fdq-auth :where(*:not(i):not(.fa):not(.fab):not(.fas):not(.far)) { font-family: var(--fq-font-body) !important; }
.fdq-auth h1, .fdq-auth h2, .fdq-auth h3 { color: var(--fq-text); }
.fdq-auth h1, .fdq-auth h3, .fdq-auth .login_form h1 { font-family: var(--fq-font-title) !important; font-weight: 700; }
/* logo: at least 40 px high, clearspace of one "f" width */
.fdq-auth header .logo img { height: 48px; width: auto; padding: 10px; box-sizing: content-box; margin: -10px; }
.fdq-auth header .language_switcher a {
    display: inline-flex; align-items: center; min-height: var(--fq-touch); padding: 0 14px;
    gap: 6px; border-radius: var(--fq-radius-pill); color: var(--fq-text) !important; font-weight: 600;
}
.fdq-auth header .language_switcher a:hover { background: var(--fq-surface-2); }
.fdq-auth .login_form {
    background: var(--fq-surface);
    border: 1px solid var(--fq-border);
    border-radius: var(--fq-radius-lg);
    box-shadow: var(--fq-shadow);
    padding: var(--fq-space-6) var(--fq-space-5) !important;
}
.fdq-auth .login_form h1 { font-size: var(--fq-text-2xl) !important; margin-bottom: 6px !important; }
.fdq-auth .login_form h2 { font-size: var(--fq-text-md) !important; color: var(--fq-text-muted) !important; font-weight: 400 !important; }
.fdq-auth .login_form form input,
.fdq-auth form input[type="email"], .fdq-auth form input[type="password"], .fdq-auth form input[type="text"] {
    min-height: 48px !important;
    border: 1px solid var(--fq-border-strong) !important;
    border-radius: var(--fq-radius-sm) !important;
    background-color: var(--fq-surface) !important;
    color: var(--fq-text) !important;
    font-size: var(--fq-text-lg) !important;
}
.fdq-auth form input:focus { border-color: var(--fq-primary) !important; box-shadow: var(--fq-focus-ring) !important; outline: none !important; }
.fdq-auth form ::placeholder { color: var(--fq-text-muted) !important; opacity: 1; }
.fdq-auth .login_form form button[type="submit"],
.fdq-auth button[type="submit"],
.fdq-auth .btn-primary {
    min-height: 48px;
    border: 0 !important;
    border-radius: var(--fq-radius) !important;
    background: var(--fq-primary) !important;
    color: var(--fq-white) !important;
    font-weight: 700 !important;
    font-size: var(--fq-text-lg) !important;
    box-shadow: 0 6px 16px rgba(241, 94, 90, .25);
    cursor: pointer;
}
.fdq-auth .login_form form button[type="submit"]:hover,
.fdq-auth button[type="submit"]:hover,
.fdq-auth .btn-primary:hover { background: var(--fq-primary-hover) !important; }
.fdq-auth .reset_pass a,
.fdq-auth .have_account a,
.fdq-auth a.text-primary { color: var(--fq-primary) !important; font-weight: 700; }
.fdq-auth .have_account p { color: var(--fq-text-muted) !important; }
.fdq-auth .alert-danger { background: var(--fq-danger-soft) !important; color: var(--fq-danger) !important; border: 1px solid #F4C7C3 !important; border-radius: var(--fq-radius-sm); }
.fdq-auth .alert-success { background: var(--fq-success-soft) !important; color: var(--fq-success) !important; border: 1px solid #BFE3CF !important; border-radius: var(--fq-radius-sm); }
.fdq-auth footer, .fdq-auth footer .container { color: var(--fq-text-muted); background: transparent !important; }
.fdq-auth footer .top_footer .contact_whatsapp .name { color: var(--fq-text) !important; font-family: var(--fq-font-title) !important; }
.fdq-auth footer .socialmedia a { color: var(--fq-text) !important; }
.fdq-auth footer .socialmedia a:hover { color: var(--fq-primary) !important; }
.fdq-auth :focus-visible { outline: 3px solid var(--fq-coral) !important; outline-offset: 2px !important; }

/* sidebar illustration (the design's isometric hotel at the foot of the menu) */
.fdq-sidebar__art { display: block; width: 100%; max-width: 220px; margin: auto auto 0; padding-top: 24px; opacity: .95; pointer-events: none; }
.fdq-sidebar-collapsed .fdq-sidebar__art { display: none; }
@media (max-height: 760px) { .fdq-sidebar__art { display: none; } }


/* Services Management (Nova resource index): rounded card, light header, row-card table.
   Scoped to this one resource through Nova's dusk hook; other resource lists are untouched. */
[dusk="services-index-component"] .card {
  border: 0;
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(38, 46, 67, 0.04), 0 10px 24px -6px rgba(38, 46, 67, 0.06);
  overflow: hidden;
}
[dusk="services-index-component"] h1 { font-family: var(--fq-font-title); color: var(--fq-text); font-weight: 700; }
[dusk="services-index-component"] table { border-collapse: separate; border-spacing: 0 8px; padding-inline: 12px; }
[dusk="services-index-component"] table thead th {
  background: var(--fq-surface-2);
  color: var(--fq-text);
  border: 0;
  font-size: 13px;
  font-weight: 700;
  padding-block: 12px;
}
[dusk="services-index-component"] table thead th:first-child { border-start-start-radius: 12px; border-end-start-radius: 12px; }
[dusk="services-index-component"] table thead th:last-child { border-start-end-radius: 12px; border-end-end-radius: 12px; }
[dusk="services-index-component"] table tbody td {
  background: var(--fq-surface);
  border-top: 1px solid var(--fq-border);
  border-bottom: 1px solid var(--fq-border);
  color: var(--fq-text);
}
[dusk="services-index-component"] table tbody td:first-child { border-inline-start: 1px solid var(--fq-border); border-start-start-radius: 14px; border-end-start-radius: 14px; }
[dusk="services-index-component"] table tbody td:last-child { border-inline-end: 1px solid var(--fq-border); border-start-end-radius: 14px; border-end-end-radius: 14px; }
[dusk="services-index-component"] table tbody tr:hover td { background: var(--fq-surface-3); }


/* Table heading, one look everywhere (the Units list is the reference): soft warm-grey bar,
   rounded at both ends, bold dark text, centred, no cell borders. Applies to every table in
   the app (Nova resources and lenses, all modules). !important beats theme.css and the
   modules' scoped Vue styles; only the heading row is touched, body rows keep their design. */
table:has(> thead) { border-collapse: separate !important; border-spacing: 0 !important; }
table thead th,
table thead tr th {
  background: var(--fq-surface-2, #F1F0EC) !important;
  color: var(--fq-text, #262E43) !important;
  border: 0 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: normal !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  padding: 14px 8px !important;
  vertical-align: middle !important;
  text-align: center !important;
}
table thead th span { font-size: 13px !important; font-weight: 700 !important; color: inherit !important; }
table thead th:first-child { border-start-start-radius: 12px; border-end-start-radius: 12px; }
table thead th:last-child { border-start-end-radius: 12px; border-end-end-radius: 12px; }


/* -----------------------------------------------------------------------------------------------------
   10. DESIGN COMPONENTS, CSS ONLY ("Fandaqah Dev Version (Final)": buttons p.24/39/43, row-card tables
   p.39/43, cards p.24, unit cards p.49).
   Visual properties only (colour, border, radius, shadow, type, padding). No markup, order, size of
   the layout or behaviour changes; every button, text and control stays where it is. The #nova prefix
   beats the modules' scoped Vue styles without !important.
   ----------------------------------------------------------------------------------------------------- */

/* ---- buttons: solid coral action, white outline for the rest, 10px radius, bold 13px ---- */
#nova .btn,
#nova a.btn,
#nova button.btn {
    border-radius: var(--fq-radius);
    font-weight: 700;
    font-size: var(--fq-text-sm);
    letter-spacing: 0;
    text-transform: none;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}
#nova .btn.btn-primary,
#nova .btn.btn-default.btn-primary {
    background: var(--fq-primary);
    border: 1px solid var(--fq-primary);
    color: var(--fq-white);
    box-shadow: none;
}
#nova .btn.btn-primary:hover:not(:disabled),
#nova .btn.btn-default.btn-primary:hover:not(:disabled) {
    background: var(--fq-primary-hover);
    border-color: var(--fq-primary-hover);
    color: var(--fq-white);
}
#nova .btn.btn-default:not(.btn-primary):not(.btn-danger):not(.btn-link):not(.btn-outline) {
    background: var(--fq-surface);
    border: 1px solid var(--fq-border-strong);
    color: var(--fq-text);
    box-shadow: none;
}
#nova .btn.btn-default:not(.btn-primary):not(.btn-danger):not(.btn-link):not(.btn-outline):hover:not(:disabled) {
    background: var(--fq-surface-2);
    border-color: var(--fq-muted);
}
#nova .btn.btn-outline {
    background: var(--fq-surface);
    border: 1px solid var(--fq-primary);
    color: var(--fq-primary);
    box-shadow: none;
}
#nova .btn.btn-outline:hover:not(:disabled) { background: var(--fq-primary-soft); color: var(--fq-primary-hover); }
#nova .btn.btn-danger,
#nova .btn.btn-default.btn-danger {
    background: var(--fq-danger);
    border: 1px solid var(--fq-danger);
    color: var(--fq-white);
    box-shadow: none;
}
#nova .btn.btn-danger:hover:not(:disabled) { background: #8F1C13; border-color: #8F1C13; }
#nova .btn.btn-sm { font-size: var(--fq-text-xs); border-radius: 8px; }
#nova .btn:disabled,
#nova .btn.disabled { opacity: .5; cursor: not-allowed; }

/* ---- cards: white, 16px radius, no border, soft shadow ---- */
#nova .card {
    background: var(--fq-surface);
    border: 0;
    border-radius: var(--fq-radius-lg);
    box-shadow: 0 1px 2px rgba(38, 46, 67, .04), 0 10px 24px -6px rgba(38, 46, 67, .06);
}

/* ---- Nova resource tables: each body row is its own rounded card (heading bar is section above) ---- */
#nova table[data-testid="resource-table"],
#nova table.table.w-full:not([class*="-table"]):not(.table-auto) {
    border-collapse: separate !important;
    border-spacing: 0 8px !important;
    padding-inline: 12px;
}
#nova table[data-testid="resource-table"] tbody td,
#nova table.table.w-full:not([class*="-table"]):not(.table-auto) tbody td {
    background: var(--fq-surface);
    border-top: 1px solid var(--fq-border);
    border-bottom: 1px solid var(--fq-border);
    color: var(--fq-text);
    font-size: var(--fq-text-md);
    font-weight: 500;
    vertical-align: middle;
}
#nova table[data-testid="resource-table"] tbody td:first-child,
#nova table.table.w-full:not([class*="-table"]):not(.table-auto) tbody td:first-child {
    border-inline-start: 1px solid var(--fq-border);
    border-start-start-radius: 14px;
    border-end-start-radius: 14px;
}
#nova table[data-testid="resource-table"] tbody td:last-child,
#nova table.table.w-full:not([class*="-table"]):not(.table-auto) tbody td:last-child {
    border-inline-end: 1px solid var(--fq-border);
    border-start-end-radius: 14px;
    border-end-end-radius: 14px;
}
#nova table[data-testid="resource-table"] tbody tr:hover td,
#nova table.table.w-full:not([class*="-table"]):not(.table-auto) tbody tr:hover td { background: var(--fq-surface-3); }

/* Unit number badge: a circle for short numbers, a capsule that truncates for long names (e.g. "Chalet 9 Al Dana Resort"),
   so text never spills out of the unit card. The card layout itself is in UnitHousing.vue. */
#nova [data-tour="un-housing"] .units-dash-home .unit_col .unit_item .unit_number {
    width: 84px;
    min-width: 84px;
    max-width: 84px;
    padding-inline: 10px;
    border-radius: 23px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
}
/* The menu (gear) button and status dot sit beside the fixed-width badge, not on top of it:
   card padding 16 + badge 84 + gap 10 = 110. */
#nova [data-tour="un-housing"] .units-dash-home .unit_col .unit_item .control .buttonarea,
#nova [data-tour="un-housing"] .units-dash-home .unit_col .unit_item .control .showStatusIndicator {
    inset-inline-end: 110px;
}


/* -----------------------------------------------------------------------------------------------------
   11. PAGE CARD LAYOUT, reusable ("Fandaqah Dev Version (Final)" p.73, Customers is the reference).
   A page is a stack of separate white cards on the warm page background, 10px apart:
     .fq-page-head   header card: icon + title, divider, breadcrumb on one line, subtitle below
     .fq-card        card shell (+ .fq-card__title light header strip, .fq-card__body)
     .fq-filter-grid 4-column filter grid (2 columns on tablets, 1 on phones)
     .fq-toolbar     row above a table: count on the start side, export / print / add on the end side
     .fq-row-table   table whose heading is one rounded band and whose body rows are separate mini-cards
   CSS only; logical properties so Arabic RTL needs no mirror rules; tokens only, no new colours.
   Selectors repeat their class (.fq-card.fq-card) on purpose: the pages still carry their old
   per-page rules (#some_page .content_page ...) which are injected after this file and are more
   specific, so these must out-rank them without !important.
   ----------------------------------------------------------------------------------------------------- */
#nova .fq-page-head,
#nova .fq-card.fq-card {
    background: var(--fq-surface);
    border: 1px solid var(--fq-border);
    border-radius: var(--fq-radius);
    box-shadow: none;
    margin: 0 0 10px;
    overflow: visible; /* row action menus open outside the card */
}
#nova .fq-page-head { padding: 14px 16px; }
.fq-page-head__row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.fq-page-head__title { display: inline-flex; align-items: center; gap: 10px; color: var(--fq-text); text-decoration: none; }
.fq-page-head__title :is(h1, h2) { margin: 0; font-size: var(--fq-text-lg); font-weight: 700; color: var(--fq-text); }
.fq-page-head__icon { display: inline-flex; width: 24px; height: 24px; }
.fq-page-head__icon svg { width: 24px; height: 24px; }
.fq-page-head__divider { align-self: stretch; width: 1px; min-height: 20px; background: var(--fq-border-strong); }
.fq-page-head .breadcrumbs { margin: 0; padding: 0; }
/* Standalone breadcrumb (nova-breadcrumbs, every page without its own .fq-page-head): same white card as the
   Reservations Management header, one 52px line. Inside .fq-page-head the reset below keeps it plain. */
#nova nav:is(:has(> ul.breadcrumbs), :has(> ul.breadcrumb)):not(.fq-page-head nav) {
    display: flex; align-items: center; gap: 12px; width: 100%;
    min-height: 52px; box-sizing: border-box;
    margin: 0 0 10px; padding: 0 16px;
    background: var(--fq-surface);
    border: 1px solid var(--fq-border);
    border-radius: var(--fq-radius);
}
.fq-crumb-title { display: inline-flex; align-items: center; gap: 10px; color: var(--fq-text); }
.fq-crumb-title b { font-size: 15px; font-weight: 700; line-height: 1.2; }
.fq-crumb-icon, .fq-crumb-icon svg { display: inline-flex; width: 20px; height: 20px; }
.fq-crumb-divider { width: 1px; height: 20px; margin-inline-start: 2px; background: var(--fq-border-strong); }
.fq-page-head .fq-crumb-title { display: none; }
#nova :is(ul.breadcrumbs, ul.breadcrumb) {
    display: flex; align-items: center; flex-wrap: wrap;
    margin: 0; padding: 0; list-style: none;
    background: transparent; border: 0; border-radius: 0; box-shadow: none;
}
#nova :is(ul.breadcrumbs, ul.breadcrumb) .breadcrumbs__item,
#nova :is(ul.breadcrumbs, ul.breadcrumb) .breadcrumbs__item a { font-size: 12px; font-weight: 500; line-height: 1.2; }
#nova .fq-page-head ul.breadcrumbs {
    display: flex; min-height: 0; margin: 0; padding: 0;
    background: transparent; border: 0; border-radius: 0;
}
.fq-page-head__sub { display: block; margin-block-start: 4px; font-size: var(--fq-text-xs); text-decoration: none; }
/* compact header card: one 52px line (icon + title, divider, breadcrumb), no subtitle; for pages that stack their own gaps */
#nova .fq-page-head.fq-page-head--compact { display: flex; align-items: center; min-height: 52px; padding: 0 16px; }
.fq-page-head--compact .fq-page-head__row { flex-wrap: nowrap; gap: 12px; min-width: 0; }
.fq-page-head--compact .fq-page-head__icon, .fq-page-head--compact .fq-page-head__icon svg { width: 20px; height: 20px; }
.fq-page-head--compact .fq-page-head__title :is(h1, h2) { font-size: 15px; line-height: 1.2; }
.fq-page-head--compact .fq-page-head__divider { align-self: center; min-height: 0; height: 20px; }
.fq-page-head--compact .breadcrumbs { border: 0; font-size: var(--fq-text-xs); }
.fq-page-head--compact .breadcrumbs .breadcrumbs__item a { font-size: var(--fq-text-xs); }

#nova .fq-card.fq-card > .title.fq-card__title {
    background: var(--fq-surface-3);
    border: 0;
    border-bottom: 1px solid var(--fq-border);
    border-start-start-radius: var(--fq-radius);
    border-start-end-radius: var(--fq-radius);
    padding: 10px 16px;
    font-size: var(--fq-text-md);
    font-weight: 700;
    color: var(--fq-text);
}
#nova .fq-card.fq-card > .content_page.fq-card__body { padding: 14px 16px; background: transparent; }

#nova .fq-card.fq-card .fq-card__body .filter_area.fq-filter-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px 12px;
    margin: 0;
    align-items: center;
}
#nova .fq-card.fq-card .fq-card__body .fq-filter-grid .item { width: auto; padding: 0; margin: 0; }
#nova .fq-card.fq-card .fq-card__body .fq-filter-grid .item input,
#nova .fq-card.fq-card .fq-card__body .fq-filter-grid .item select {
    height: 34px;
    min-width: 0;
    font-size: var(--fq-text-xs);
    border: 1px solid var(--fq-border) !important;
    border-radius: var(--fq-radius-sm) !important;
    background-color: var(--fq-surface-3) !important;
    box-shadow: none;
    padding-inline: 10px;
}
#nova .fq-card.fq-card .fq-card__body .fq-filter-grid .item select {
    background-position: calc(100% - 10px) center;
    padding-inline-end: 30px;
}
[dir="rtl"] #nova .fq-card.fq-card .fq-card__body .fq-filter-grid .item select { background-position: 10px center; }
#nova .fq-card.fq-card .fq-card__body .fq-filter-grid .item input::placeholder { color: var(--fq-muted); }
#nova .fq-card.fq-card .fq-card__body .fq-filter-grid .reset_filters { width: auto; padding: 0; gap: 8px; justify-content: flex-end; grid-column: -2 / -1; }
#nova .fq-card.fq-card .fq-card__body .fq-filter-grid .reset_filters button {
    height: 34px; width: 34px; min-width: 34px; margin: 0; padding: 0; border-radius: var(--fq-radius-sm); background-size: 16px;
}

.fq-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-block-end: 10px; }
.fq-toolbar .table_title { display: contents; }
.fq-toolbar .table_title span.table { order: 0; margin: 0; font-size: var(--fq-text-sm); font-weight: 700; margin-inline-end: auto; }
.fq-toolbar .action_buttons { order: 1; margin: 0; margin-inline-start: auto; gap: 8px; }
.fq-toolbar .table_title > div { order: 2; }
.fq-toolbar .table_title button.table { margin: 0; height: 34px; line-height: 34px; padding-inline: 14px; font-size: var(--fq-text-xs); border-radius: var(--fq-radius-sm) !important; }
.fq-toolbar .table_title button.table::before { content: "+"; margin-inline-end: 6px; font-weight: 700; font-size: 14px; }
#nova .fq-card.fq-card .fq-toolbar .action_buttons .buttons_area button {
    height: 34px; width: 34px; margin: 0; margin-inline-end: 8px;
    border: 1px solid var(--fq-border-strong); border-radius: var(--fq-radius-sm); background-color: var(--fq-surface); background-size: 18px;
}

/* ---- row-card table ---- */
#nova .fq-card.fq-card .fq-row-table.fq-row-table :is(.table-responsive, .fq-table-wrap) { margin-block-end: 8px; }
#nova .fq-card.fq-card .fq-row-table.fq-row-table :is(.table-responsive, .fq-table-wrap) table {
    border: 0; border-collapse: separate !important; border-spacing: 0 6px !important;
}
#nova .fq-card.fq-card .fq-row-table.fq-row-table table thead th { height: 34px; padding-block: 0 !important; font-size: 12px !important; border-radius: 0; }
#nova .fq-card.fq-card .fq-row-table.fq-row-table table thead th:first-child { border-start-start-radius: 8px; border-end-start-radius: 8px; }
#nova .fq-card.fq-card .fq-row-table.fq-row-table table thead th:last-child { border-start-end-radius: 8px; border-end-end-radius: 8px; }
#nova .fq-card.fq-card .fq-row-table.fq-row-table :is(.table-responsive, .fq-table-wrap) table tbody tr td {
    height: 44px; font-size: 12px; line-height: 1.3; background: var(--fq-surface); color: var(--fq-text);
    border: 0; border-top: 1px solid var(--fq-border); border-bottom: 1px solid var(--fq-border); vertical-align: middle;
}
#nova .fq-card.fq-card .fq-row-table.fq-row-table :is(.table-responsive, .fq-table-wrap) table tbody tr td:first-child { border-inline-start: 1px solid var(--fq-border); border-start-start-radius: 8px; border-end-start-radius: 8px; }
#nova .fq-card.fq-card .fq-row-table.fq-row-table :is(.table-responsive, .fq-table-wrap) table tbody tr td:last-child { border-inline-end: 1px solid var(--fq-border); border-start-end-radius: 8px; border-end-end-radius: 8px; }
/* the actions cell was display:flex (breaks the row); keep it a cell, icons inline */
#nova .fq-card.fq-card .fq-row-table.fq-row-table :is(.table-responsive, .fq-table-wrap) table tbody tr td:is(.td-fit, .actions_cell) { display: table-cell; white-space: nowrap; border-bottom: 1px solid var(--fq-border); }
#nova .fq-card.fq-card .fq-row-table.fq-row-table :is(.table-responsive, .fq-table-wrap) table tbody tr td:is(.td-fit, .actions_cell) > * { display: inline-flex; align-items: center; vertical-align: middle; }

/* wide screens: no scroll container, so action menus are never clipped; narrow: scroll inside the card */
@media (max-width: 1199px) {
    #nova .fq-card.fq-card .fq-row-table.fq-row-table :is(.table-responsive, .fq-table-wrap) { overflow-x: auto; }
    #nova .fq-card.fq-card .fq-row-table.fq-row-table :is(.table-responsive, .fq-table-wrap) table { min-width: 880px; }
}
@media (max-width: 991px) { #nova .fq-card.fq-card .fq-card__body .filter_area.fq-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) {
    #nova .fq-card.fq-card .fq-card__body .filter_area.fq-filter-grid { grid-template-columns: minmax(0, 1fr); }
    #nova .fq-card.fq-card .fq-card__body .fq-filter-grid .reset_filters { grid-column: auto; }
}
/* ---- header card with actions + card head + grid row-card table + column key (PMS group reports; reusable) ---- */
.fq-page-head__crumbs { font-size: var(--fq-text-xs); color: var(--fq-muted-text, var(--fq-muted)); min-width: 0; }
.fq-page-head__crumbs a { color: inherit; text-decoration: none; }
.fq-page-head__crumbs a:first-child { color: var(--fq-coral-strong); }
.fq-page-head__actions { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
.fq-page-head--compact .fq-page-head__title { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.2; }
.fq-page-head--compact h1.fq-page-head__title { color: var(--fq-text); }
#nova .fq-card.fq-card > .fq-card__head { padding: 14px 16px 12px; }
#nova .fq-card.fq-card > .fq-card__head > :is(h1, h2, h3) { margin: 0; font-size: 15px; font-weight: 500; color: var(--fq-text); }
#nova .fq-card.fq-card > .fq-card__head > p { margin: 4px 0 0; font-size: 11px; color: var(--fq-muted-text, var(--fq-muted)); }
/* one grid template (--fq-cols numeric columns) shared by the band, the rows and the totals, so they always align.
   The body scrolls on its own; the band stays above it. Scrollbar is 8px wide, the band reserves the same room. */
#nova .fq-card.fq-card .fq-grid-table-wrap { padding: 0 16px 14px; max-height: none; overflow-x: auto; overflow-y: visible; }
#nova .fq-card.fq-card .fq-grid-table {
    --fq-grid-template: minmax(160px, 1.6fr) repeat(var(--fq-cols, 4), minmax(84px, 1fr));
    --fq-sb: 8px; --fq-sb-gap: 6px;
    display: block; width: 100%; min-width: 640px; border: 0; background: transparent; font-size: 12px; color: var(--fq-text);
}
#nova .fq-card.fq-card .fq-grid-table :is(thead, tbody, tfoot) { display: block; position: static; background: transparent; }
#nova .fq-card.fq-card .fq-grid-table tr { display: grid; grid-template-columns: var(--fq-grid-template); align-items: center; column-gap: 0; }
#nova .fq-card.fq-card .fq-grid-table thead {
    background: var(--fq-surface-3); border-radius: 8px; min-height: 44px;
    overflow-y: scroll; overflow-x: hidden; padding-inline-end: var(--fq-sb-gap); /* same scrollbar room as tbody, so columns line up */
}
#nova .fq-card.fq-card .fq-grid-table thead::-webkit-scrollbar { width: var(--fq-sb); }
#nova .fq-card.fq-card .fq-grid-table thead::-webkit-scrollbar-thumb, #nova .fq-card.fq-card .fq-grid-table thead::-webkit-scrollbar-track { background: transparent; }
#nova .fq-card.fq-card .fq-grid-table :is(thead, tfoot, tbody)::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
#nova .fq-card.fq-card .fq-grid-table thead tr { min-height: 44px; border: 1px solid transparent; }
#nova .fq-card.fq-card .fq-grid-table :is(th, td) {
    display: block; min-width: 0; max-width: none; padding: 0 12px; border: 0; background: transparent;
    font-size: 12px; line-height: 1.3; text-align: center; color: var(--fq-text); font-variant-numeric: tabular-nums;
}
#nova .fq-card.fq-card .fq-grid-table thead th { font-size: 11px !important; font-weight: 500; padding-block: 6px !important; white-space: nowrap; background: transparent !important; border: 0 !important; border-radius: 0 !important; height: auto !important; text-align: center; color: var(--fq-text) !important; }
#nova .fq-card.fq-card .fq-grid-table thead th.rpt-grp-hotel { text-align: start !important; }
#nova .fq-card.fq-card .fq-grid-table thead th.is-pair { display: flex; flex-direction: column; align-items: center; }
#nova .fq-card.fq-card .fq-grid-table thead th.is-pair > abbr { width: 4.6em; text-align: start; }
#nova .fq-card.fq-card .fq-grid-table abbr.rpt-grp-head { text-decoration: none; color: var(--fq-text); }
#nova .fq-card.fq-card .fq-grid-table .rpt-grp-hotel { position: static; text-align: start; font-weight: 500; white-space: normal; }
#nova .fq-card.fq-card .fq-grid-table tbody { max-height: 300px; overflow-y: auto; padding-block-start: 6px; padding-inline-end: var(--fq-sb-gap); }
#nova .fq-card.fq-card .fq-grid-table tbody::-webkit-scrollbar { width: var(--fq-sb); }
#nova .fq-card.fq-card .fq-grid-table tbody::-webkit-scrollbar-thumb { background: var(--fq-border-strong); border-radius: 4px; }
#nova .fq-card.fq-card .fq-grid-table tbody tr {
    min-height: 38px; margin-block-end: 5px; background: var(--fq-surface); border: 1px solid var(--fq-border); border-radius: 8px;
}
#nova .fq-card.fq-card .fq-grid-table.has-pairs tbody tr { min-height: 50px; }
#nova .fq-card.fq-card .fq-grid-table tbody tr:hover td { background: transparent; }
#nova .fq-card.fq-card .fq-grid-table tbody td[colspan] { grid-column: 2 / -1; }
#nova .fq-card.fq-card .fq-grid-table tfoot { padding-block-start: 6px; overflow-y: scroll; overflow-x: hidden; padding-inline-end: var(--fq-sb-gap); }
#nova .fq-card.fq-card .fq-grid-table tfoot::-webkit-scrollbar { width: var(--fq-sb); }
#nova .fq-card.fq-card .fq-grid-table tfoot::-webkit-scrollbar-thumb, #nova .fq-card.fq-card .fq-grid-table tfoot::-webkit-scrollbar-track { background: transparent; }
#nova .fq-card.fq-card .fq-grid-table tfoot tr { min-height: 44px; background: var(--fq-surface-3); border-radius: 8px; border: 1px solid transparent; }
#nova .fq-card.fq-card .fq-grid-table tfoot th { font-weight: 700; }
/* column key: a strip at the foot of the card; opens into a wrapping grid */
.fq-key-list { margin: 0; border-top: 1px solid var(--fq-border); font-size: var(--fq-text-xs); }
.fq-key-list > summary { display: flex; align-items: center; gap: 8px; padding: 11px 16px; list-style: none; cursor: pointer; font-size: 12px; font-weight: 500; color: var(--fq-info); }
.fq-key-list > summary::-webkit-details-marker { display: none; }
.fq-key-list > summary::before { content: ""; width: 7px; height: 7px; border-inline-end: 2px solid currentColor; border-block-end: 2px solid currentColor; transform: rotate(-45deg); transition: transform .15s; }
[dir="rtl"] .fq-key-list > summary::before { transform: rotate(135deg); }
.fq-key-list[open] > summary::before { transform: rotate(45deg); }
.fq-key-list dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 8px 18px; margin: 0; padding: 12px 16px 14px; border-top: 1px solid var(--fq-border); }
.fq-key-list dl > div { display: flex; gap: 8px; align-items: baseline; }
.fq-key-list dt { flex: none; min-width: 52px; font-weight: 700; color: var(--fq-text); }
.fq-key-list dd { margin: 0; font-size: 11px; color: var(--fq-muted-text, var(--fq-muted)); }
/* group report pages keep free room at the end for the floating chat / assistant buttons */
@media (min-width: 768px) { .rpt-grp-page { padding-inline-end: 64px; } }

/* a toolbar with nothing in it (e.g. export buttons hidden until there are rows) takes no space */
.fq-toolbar:not(:has(*)) { display: none; }

/* Reservations management keeps its own grouped table markup (.main_reservations_table); beat the generic section-10
   Nova table rule so its rows are the same 44px / 12px / 8px mini-cards as .fq-row-table */
#nova .fq-card.fq-card .main_reservations_table .table.w-full tbody td { font-size: 12px; border-radius: 0; line-height: 1.3; }
#nova .fq-card.fq-card .main_reservations_table .table.w-full tbody td:first-child { border-start-start-radius: 8px; border-end-start-radius: 8px; }
#nova .fq-card.fq-card .main_reservations_table .table.w-full tbody td:last-child { border-start-end-radius: 8px; border-end-end-radius: 8px; }

/* report pages: the "Total ... Count" line inside the action buttons row stays on the start side */
.fq-toolbar .action_buttons { flex: 1 1 auto; }
.fq-toolbar .action_buttons > p { margin: 0; margin-inline-end: auto; font-size: var(--fq-text-sm); font-weight: 700; }

/* count + Excel + Print + Add button stay on ONE line (the count shrinks/ellipsis before the buttons wrap) */
.fq-toolbar:has(.table_title button.table) { flex-wrap: nowrap; }
.fq-toolbar:has(.table_title button.table) .action_buttons { flex: 0 0 auto; margin-inline-start: auto; }
.fq-toolbar:has(.table_title button.table) .buttons_area { flex-wrap: nowrap; white-space: nowrap; }
.fq-toolbar:has(.table_title button.table) .table_title > div { flex: 0 0 auto; white-space: nowrap; }
.fq-toolbar:has(.table_title button.table) .table_title span.table { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fq-toolbar:has(.table_title button.table) { align-items: center; }
#nova .fq-toolbar:has(.table_title button.table) .table_title button.table { margin: 0 !important; align-self: center; display: inline-flex; align-items: center; height: 34px; line-height: 1; }
#nova .fq-toolbar:has(.table_title button.table) .table_title span.table { margin: 0 !important; }
#nova .fq-toolbar:has(.table_title button.table) .action_buttons, #nova .fq-toolbar:has(.table_title button.table) .buttons_area { margin: 0 !important; align-items: center; }
#nova .fq-toolbar:has(.table_title button.table) .action_buttons { margin-inline-start: auto !important; justify-content: flex-end; }
#nova .fq-toolbar:has(.table_title button.table) .buttons_area button:last-child { margin-inline-end: 8px !important; }
.fq-toolbar:has(.table_title button.table) .buttons_area button:last-child { margin-inline-end: 0 !important; }

/* ===== Summary stat cards (.statistics_area.fq-stats) - same look as the Reservations summary cards ===== */
#nova .statistics_area.fq-stats ul {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 14px;
    margin: 0 0 6px;
    padding: 0;
    list-style: none;
}
#nova .statistics_area.fq-stats ul li {
    position: relative;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 16px 70px 16px 18px;
    padding-inline: 18px 70px;
    background: var(--fq-surface);
    border: 1px solid var(--fq-border);
    border-radius: 16px;
    box-shadow: 0 1px 2px rgba(38, 46, 67, 0.04), 0 10px 24px -6px rgba(38, 46, 67, 0.06);
}
#nova .statistics_area.fq-stats ul li > span,
#nova .statistics_area.fq-stats ul li > div > span { display: block; color: #5F6B6A; font-size: 13px; font-weight: 600; margin: 0; }
#nova .statistics_area.fq-stats ul li p { color: var(--fq-text); font-size: 22px; font-weight: 700; margin: 4px 0 0; align-items: center; gap: 4px; }
#nova .statistics_area.fq-stats ul li::after {
    content: "";
    position: absolute;
    inset-block-start: 16px;
    inset-inline-end: 16px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #F1F0EC no-repeat center / 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23262E43' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='6' width='20' height='12' rx='2'/%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3C/svg%3E");
}
#nova .statistics_area.fq-stats ul li:nth-child(4n+1)::after { background-color: #E5F4EC; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%231E7F4F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M5 12l7 7 7-7'/%3E%3C/svg%3E"); }
#nova .statistics_area.fq-stats ul li:nth-child(4n+2)::after { background-color: #FDECEA; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23F15E5A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5M5 12l7-7 7 7'/%3E%3C/svg%3E"); }
#nova .statistics_area.fq-stats ul li:nth-child(4n+3)::after { background-color: #E4EEF0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23214F5F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='6' width='20' height='12' rx='2'/%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3C/svg%3E"); }
#nova .statistics_area.fq-stats ul li:nth-child(4n)::after { background-color: #FEF1EA; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23B4541C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11l9-8 9 8v10a1 1 0 0 1-1 1h-5v-7H9v7H4a1 1 0 0 1-1-1z'/%3E%3C/svg%3E"); }
@media (max-width: 600px) {
    #nova .statistics_area.fq-stats ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    #nova .statistics_area.fq-stats ul li { padding: 62px 14px 14px; }
    #nova .statistics_area.fq-stats ul li::after { inset-block-start: 12px; }
}

/* ===== Transaction tables: keep headers readable, scroll sideways instead of squeezing ===== */
#nova :is(#deposit_transactions_page, #withdraw_transactions_page) .table_responsive,
#nova #deposit_management_page_table_card .table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
#nova :is(#deposit_transactions_page, #withdraw_transactions_page) .table_responsive table { width: 100%; min-width: 900px; }
#nova :is(#deposit_transactions_page, #withdraw_transactions_page) .table_responsive table :is(th, td) { padding-inline: 12px; vertical-align: middle; }
#nova :is(#deposit_transactions_page, #withdraw_transactions_page) .table_responsive table th { white-space: nowrap; }
#nova :is(#deposit_transactions_page, #withdraw_transactions_page) .table_responsive table td { word-break: break-word; }

/* stat cards: win over the pages' older scoped .statistics_area rules (width 20%, padding 0 10px, small type) */
#nova .statistics_area.fq-stats ul {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
    gap: 16px !important;
    margin: 0 0 16px !important;
    align-items: stretch !important;
}
#nova .statistics_area.fq-stats ul li {
    width: auto !important;
    margin: 0 !important;
    min-height: 112px;
    padding: 22px 78px 22px 24px !important;
    padding-inline: 24px 78px !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}
#nova .statistics_area.fq-stats ul li > div { display: block; }
#nova .statistics_area.fq-stats ul li span:not([class*="icon-"]) {
    display: block;
    font-size: 15px !important;
    font-weight: 600;
    color: #262E43 !important;
    margin: 0 0 8px !important;
    line-height: 1.3;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    overflow-wrap: anywhere;
}
/* Reservations management cards do not carry .fq-stats: let long labels wrap instead of running under the icon */
#nova #reservations_table_card .statistics_area ul li { padding-inline-end: 80px !important; }
#nova #reservations_table_card .statistics_area ul li > span {
    display: block !important;
    max-width: 100%;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    overflow-wrap: anywhere;
    line-height: 1.3;
}
#nova .statistics_area.fq-stats ul li p {
    display: flex !important;
    align-items: center;
    gap: 4px;
    font-size: 28px !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    margin: 0 !important;
    color: #262E43;
    white-space: nowrap;
}
#nova .statistics_area.fq-stats ul li p span { display: inline !important; font-size: 20px !important; margin: 0 !important; color: inherit !important; font-weight: 700; }
#nova .statistics_area.fq-stats ul li p.totalDebtor { color: #B42318; }
#nova .statistics_area.fq-stats ul li p.totalCreditor { color: #1E7F4F; }
#nova .statistics_area.fq-stats ul li::after { inset-block-start: 50%; transform: translateY(-50%); inset-inline-end: 20px; width: 52px; height: 52px; background-size: 24px; }
@media (max-width: 600px) {
    #nova .statistics_area.fq-stats ul { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }
    #nova .statistics_area.fq-stats ul li { padding: 64px 14px 16px !important; min-height: 0; }
    #nova .statistics_area.fq-stats ul li::after { inset-block-start: 14px; transform: none; inset-inline-end: 14px; width: 40px; height: 40px; background-size: 20px; }
    #nova .statistics_area.fq-stats ul li p { font-size: 22px !important; }
}
/* grid-table scrollbars: no arrow buttons, so the invisible header/footer scrollbars keep exactly the body's width */
#nova .fq-card.fq-card .fq-grid-table :is(thead, tbody, tfoot)::-webkit-scrollbar-button { display: none; width: 0; height: 0; }

/* -----------------------------------------------------------------------------------------------------
   Reservation wizards: price summary (total_result) at a normal size. The components' scoped styles had
   52px / 17-21px; these ids beat them without a module rebuild.
   ----------------------------------------------------------------------------------------------------- */
#nova .total_result .top_rows .col_right .tr_date { font-size: 15px; }
#nova .total_result .top_rows .col_right .tr_label,
#nova .total_result .top_rows .col_left .tr_total_label { font-size: 12px; }
#nova .total_result .top_rows .col_right .tr_nights { font-size: 12px; padding: 6px 12px; }
#nova .total_result .top_rows .col_right .tr_date_box { min-width: 220px; padding: 8px 16px; }
#nova .total_result .top_rows .col_left p,
#nova .total_result .top_rows .col_left p span { font-size: 28px; }
#nova .total_result .bottom_rows ul li { height: 38px; }
#nova .total_result .bottom_rows ul li,
#nova .total_result .bottom_rows ul li span,
#nova .total_result .bottom_rows ul li p { font-size: 14px; }
#nova .total_result .bottom_rows ul li:last-child { height: 44px; }
#nova .total_result .bottom_rows ul li:last-child span,
#nova .total_result .bottom_rows ul li:last-child p { font-size: 16px; }

/* sidebar: the multi-colour brand pattern behind the white menu, along the end edge and fading towards the text
   (same dots and pills as the dashboard hero, light palette; files from the sidebar art generator). Stays put while the menu scrolls. */
.fdq-sidebar { background-image: url('/brand/sidebar-art.svg'); background-repeat: no-repeat; background-position: right top; background-size: 100% auto; }
[dir="rtl"] .fdq-sidebar { background-image: url('/brand/sidebar-art-rtl.svg'); background-position: left top; }
.fdq-sidebar-collapsed .fdq-sidebar { background-image: none; }

/* Reservations table: sticky unit-name column must sit below the sticky top bar (z-index 50) */
.units_names .title { z-index: 6 !important; }
.units_names .unit_name { z-index: 5 !important; }


/* -----------------------------------------------------------------------------------------------------
   12. ONE BUTTON THEME + ONE EXPORT BUTTON (PMS-wide, CSS only)
   Every action button is brand coral; secondary ones are white with a coral outline; nothing else.
   Export buttons (.excel_button, .pdf_button, .print_button, .open-res-btn-export) all share one pill:
   brand icon + written label (Excel / PDF / Print). The old per-page icon backgrounds are removed.
   ----------------------------------------------------------------------------------------------------- */
#nova :is(.btn-primary, .ops_btn_primary, .fd-btn-primary, button[type="submit"].btn, .btn-success, .btn-info, .btn-warning) {
    background: var(--fq-primary) !important; border: 1px solid var(--fq-primary) !important; color: var(--fq-white) !important; box-shadow: none !important;
}
#nova :is(.btn-primary, .ops_btn_primary, .fd-btn-primary, .btn-success, .btn-info, .btn-warning):hover:not(:disabled) {
    background: var(--fq-primary-hover) !important; border-color: var(--fq-primary-hover) !important;
}
#nova :is(.btn-default, .btn-secondary, .btn-outline, .ops_btn_outline, .btn-light):not(.btn-primary):not(.btn-danger):not(.btn-link) {
    background: var(--fq-surface) !important; border: 1px solid var(--fq-primary) !important; color: var(--fq-primary) !important; box-shadow: none !important;
}
#nova :is(.btn-default, .btn-secondary, .btn-outline, .ops_btn_outline, .btn-light):not(.btn-primary):not(.btn-danger):not(.btn-link):hover:not(:disabled) {
    background: var(--fq-primary-soft) !important; color: var(--fq-primary-hover) !important;
}
#nova :is(.btn-link, a.btn-link) { color: var(--fq-primary) !important; background: transparent !important; border-color: transparent !important; }
#nova :is(.btn-link, a.btn-link):hover { color: var(--fq-primary-hover) !important; }
#nova :is(.btn, button):focus-visible { outline: 2px solid var(--fq-primary-tint); outline-offset: 2px; }

#nova :is(.excel_button, .pdf_button, .print_button, .open-res-btn-export) {
    display: inline-flex !important; align-items: center; justify-content: center; gap: 7px;
    width: auto !important; height: 34px !important; min-width: 0 !important; padding: 0 14px !important; margin-inline: 0 8px !important;
    background: var(--fq-primary-soft) !important; background-image: none !important;
    border: 1px solid var(--fq-primary-tint) !important; border-radius: var(--fq-radius-pill) !important;
    color: var(--fq-primary) !important; font-family: var(--fq-font-body); font-size: var(--fq-text-sm); font-weight: 700; line-height: 1;
    text-decoration: none !important; cursor: pointer; box-shadow: none !important; outline: none;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
#nova :is(.excel_button, .pdf_button, .print_button, .open-res-btn-export):hover {
    background: var(--fq-primary) !important; border-color: var(--fq-primary) !important; color: var(--fq-white) !important;
}
#nova :is(.excel_button, .pdf_button, .print_button, .open-res-btn-export)::before {
    content: ""; width: 16px; height: 16px; flex: 0 0 16px; background: currentColor;
    -webkit-mask: var(--fq-exp-icon) center / contain no-repeat; mask: var(--fq-exp-icon) center / contain no-repeat;
}
#nova .excel_button { --fq-exp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8zm-1 7V3.5L18.5 9zM8.2 18l2.3-3.5L8.3 11h1.6l1.4 2.3L12.7 11h1.6l-2.2 3.5 2.3 3.5h-1.6l-1.5-2.4L9.8 18z'/%3E%3C/svg%3E"); }
#nova .pdf_button { --fq-exp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8zm-1 7V3.5L18.5 9zM8 17v-5h1.8c1 0 1.7.6 1.7 1.5S10.800 15 9.800 15H9v2zm1-3h.700c.4 0 .6-.2.6-.5s-.2-.5-.6-.5H9zm3-2h1.700c1.100 0 1.800.8 1.800 2.500S15.800 17 14.700 17H13zm1 1v3h.600c.6 0 .9-.5.9-1.500s-.3-1.500-.9-1.500z'/%3E%3C/svg%3E"); }
#nova :is(.print_button, .open-res-btn-export) { --fq-exp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17 8V3H7v5H5a2 2 0 0 0-2 2v6h4v5h10v-5h4v-6a2 2 0 0 0-2-2zM9 5h6v3H9zm6 14H9v-5h6z'/%3E%3C/svg%3E"); }
#nova .excel_button::after { content: "Excel"; }
#nova .pdf_button::after { content: "PDF"; }
#nova .print_button::after { content: "Print"; }
#nova .open-res-btn-export:empty::after { content: "Export"; }
html[dir="rtl"] #nova .excel_button::after, [dir="rtl"] #nova .excel_button::after { content: "إكسل"; }
html[dir="rtl"] #nova .print_button::after, [dir="rtl"] #nova .print_button::after { content: "طباعة"; }
html[dir="rtl"] #nova .open-res-btn-export:empty::after, [dir="rtl"] #nova .open-res-btn-export:empty::after { content: "تصدير"; }
/* export buttons that already carry their own text keep it, no second label */
#nova :is(.excel_button, .pdf_button, .print_button, .open-res-btn-export):not(:empty)::after { content: none !important; }


/* -----------------------------------------------------------------------------------------------------
   13. NAVY SIDEBAR (readable): navy panel, white labels, coral active item. Contrast: white on #262E43
   is 13.6:1, #E4EAEE on navy 11:1, active white on coral #F15E5A 5.1:1.
   ----------------------------------------------------------------------------------------------------- */
.fdq-sidebar { background-color: var(--fq-navy); border-inline-end: 0; --fq-side-text: #E4EAEE; --fq-side-muted: #B9C4CB; }
.fdq-sidebar .fdq-hotel,
.fdq-sidebar .fdq-hotel:hover { color: #FFFFFF; }
.fdq-sidebar .fdq-hotel__name { color: #FFFFFF; font-size: 13px; }
.fdq-sidebar .fdq-hotel__id { color: var(--fq-side-muted); }
.fdq-sidebar .fdq-hotel__photo,
.fdq-sidebar .fdq-hotel .fdq-hotel__photo.imgthumb { background: rgba(255, 255, 255, .12); box-shadow: 0 0 0 2px rgba(255, 255, 255, .28); }
.fdq-sidebar .fdq-iconbtn { color: #FFFFFF; }
.fdq-sidebar .fdq-iconbtn:hover { background: rgba(255, 255, 255, .12); color: #FFFFFF; }

.fdq-sidebar .fdq-nav > a,
.fdq-sidebar .fdq-nav > h3,
.fdq-sidebar .fdq-nav > div > a,
.fdq-sidebar .fdq-nav > div > h3 { color: var(--fq-side-text) !important; font-weight: 600 !important; }
.fdq-sidebar .fdq-nav > a:hover,
.fdq-sidebar .fdq-nav > div > a:hover,
.fdq-sidebar .fdq-nav > h3:hover { background: rgba(255, 255, 255, .12); color: #FFFFFF !important; }
.fdq-sidebar .fdq-nav a.router-link-exact-active,
.fdq-sidebar .fdq-nav a.router-link-active:not([exact]):not([href$="/home"]):not([href$="/home/"]),
.fdq-sidebar .fdq-nav > h3.router-link-active { background: var(--fq-primary); color: #FFFFFF !important; box-shadow: none; }
.fdq-sidebar .fdq-nav .sidebar-label { color: inherit !important; }
.fdq-sidebar:focus-within .fdq-nav a:focus-visible { outline: 2px solid #FFFFFF; outline-offset: -2px; }
.fdq-sidebar::-webkit-scrollbar { width: 6px; }
.fdq-sidebar::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .25); border-radius: 6px; }
.fdq-sidebar { scrollbar-color: rgba(255, 255, 255, .25) transparent; scrollbar-width: thin; }
/* the isometric hotel picture at the bottom was drawn for a light panel */
.fdq-sidebar .fdq-sidebar__art { opacity: .9; filter: brightness(1.05); }


/* -----------------------------------------------------------------------------------------------------
   14. STATUS LABEL + DOT ON ONE LINE, AND BRAND-COLOUR ICONS (sweep)
   ----------------------------------------------------------------------------------------------------- */
#nova span.indicators { display: inline-flex !important; align-items: center; gap: 8px; white-space: nowrap; font-weight: 600; }
/* no dot after the status word, on any page (the word alone carries the status) */
#nova span.indicators::after, #nova span.indicators::before { content: none !important; display: none !important; }
#nova span.indicators.enabled { color: var(--fq-teal); }
#nova span.indicators.not_enabled { color: var(--fq-primary); }
#nova span.indicators.timeout, #nova span.indicators.maintenance { color: var(--fq-muted-text); }
#nova span.indicators.cleaning { color: var(--fq-coral-strong); }
#nova span.indicators.awaiting_payment { color: var(--fq-navy); }

/* icons: the coloured Font Awesome / Nova helpers become brand colours */
#nova :is(.text-success, .text-green, .text-green-dark, .text-green-light, .fa-check, .fa-check-circle) { color: var(--fq-teal) !important; }
#nova :is(.text-danger, .text-red, .text-red-dark, .text-red-light, .fa-times, .fa-times-circle, .fa-exclamation-circle, .fa-exclamation-triangle) { color: var(--fq-primary) !important; }
#nova :is(.text-warning, .text-yellow, .text-orange, .text-orange-dark, .text-yellow-dark) { color: var(--fq-primary-hover) !important; }
#nova :is(.text-info, .text-blue, .text-blue-dark, .text-blue-light, .text-primary, .text-purple, .text-indigo) { color: var(--fq-navy) !important; }
#nova :is(.fa, .fas, .far, .fal, .fab, i[class*="icon-"]):not(.fa-spin) { color: inherit; }
#nova :is(.fa-star, .fa-star-o) { color: var(--fq-primary) !important; }
#nova svg [fill="#38c172"], #nova svg [fill="#28a745"], #nova svg [fill="#22a244"], #nova svg [fill="#3dae5b"] { fill: var(--fq-teal) !important; }
#nova svg [fill="#ff0000"], #nova svg [fill="#f6574b"], #nova svg [fill="#e0455a"], #nova svg [fill="#ff5a5f"] { fill: var(--fq-primary) !important; }
#nova svg [fill="#0a80d8"], #nova svg [fill="#2b8fd6"], #nova svg [fill="#5b8def"], #nova svg [fill="#3490dc"] { fill: var(--fq-navy) !important; }
#nova svg [fill="#ff9100"], #nova svg [fill="#f59e0b"], #nova svg [fill="#f2b33d"], #nova svg [fill="#f59a0c"] { fill: var(--fq-coral) !important; }
#nova svg [fill="#9b59b6"], #nova svg [fill="#a020f0"] { fill: var(--fq-navy-hover) !important; }


/* -----------------------------------------------------------------------------------------------------
   15. SIDEBAR ART (header and footer stay light)
   ----------------------------------------------------------------------------------------------------- */
/* sidebar art: the same colourful pattern drawn twice, so it reads clearly but stays light on the navy */
.fdq-sidebar { background-image: url('/brand/sidebar-art.svg'); background-repeat: no-repeat; background-position: right top; background-size: 100% auto; }
[dir="rtl"] .fdq-sidebar { background-image: url('/brand/sidebar-art-rtl.svg'); background-position: left top; }
.fdq-sidebar-collapsed .fdq-sidebar { background-image: none; }

/* -----------------------------------------------------------------------------------------------------
   16. ICONS: the glossy multicolour 3D card icons are shown colourless (CSS grayscale filter).
   ----------------------------------------------------------------------------------------------------- */
#nova img.fm-3d-icon,
#nova .icon_item > img:not([src$=".svg"]):not([src*="logo"]) {
    filter: none;
}
#nova .icon_item img.fm-3d-icon { width: 44px; height: 44px; }


/* -----------------------------------------------------------------------------------------------------
   17. LOGIN PAGE, split layout (idea: the Academy demo start page): navy art panel with the logo on the
   start side, white form card on the other. CSS only; the markup of login.blade.php is unchanged.
   ----------------------------------------------------------------------------------------------------- */
html:has(body.fdq-auth), body.fdq-auth { background: #EEF0F3; }
.fdq-auth > .container { position: relative; width: 100%; max-width: 1180px; margin: 0 auto; padding: 28px 24px 0; box-sizing: border-box; }
.fdq-auth > .container > header { position: static; display: block; margin: 0; padding: 0; height: 0; }
.fdq-auth header .logo { display: none; }
.fdq-auth header .language_switcher { position: absolute; z-index: 3; inset-block-start: 56px; inset-inline-end: 56px; }
.fdq-auth > .container > .row { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 24px; margin: 0; align-items: stretch; }
.fdq-auth > .container > .row > [class*="col-"] { width: auto !important; max-width: none !important; flex: none; padding: 0; display: block; }
.fdq-auth > .container > .row > [class*="col-"]:last-child { order: -1; }
/* start-side art panel */
.fdq-auth .login_icon {
    position: relative; overflow: hidden; height: 100% !important; min-height: 640px; box-sizing: border-box; width: 100%;
    display: flex; align-items: flex-end; justify-content: center; padding: 170px 40px 40px; margin: 0;
    border-radius: 28px; background-color: #262E43;
    background-image: url('/brand/sidebar-art.svg'), url('/brand/sidebar-art.svg'), url('/brand/topbar-tile.svg');
    background-repeat: no-repeat, no-repeat, repeat;
    background-position: right top, right top, center;
    background-size: 100% auto, 100% auto, auto 72px;
}
[dir="rtl"] .fdq-auth .login_icon { background-image: url('/brand/sidebar-art-rtl.svg'), url('/brand/sidebar-art-rtl.svg'), url('/brand/topbar-tile.svg'); background-position: left top, left top, center; }
.fdq-auth .login_icon::before { content: ""; position: absolute; z-index: 2; inset-block-start: 48px; inset-inline-start: 52px; width: 170px; height: 64px; background: url('/images/logo.svg') no-repeat center / contain; filter: brightness(0) invert(1); }
.fdq-auth .login_icon img { position: relative; max-width: 100%; max-height: 360px; width: auto; height: auto; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .35)); }
/* end-side form card */
.fdq-auth > .container .row .login_form { width: 100% !important; max-width: none !important; min-width: 0 !important; margin: 0 !important; float: none !important; height: 100% !important; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; padding: 72px 64px 40px !important; border-radius: 28px; box-shadow: 0 1px 2px rgba(38, 46, 67, .04), 0 18px 40px -16px rgba(38, 46, 67, .14); }
.fdq-auth .login_form h1 { font-size: 28px !important; }
.fdq-auth footer { margin-block-start: 8px; }
@media (max-width: 899px) {
    .fdq-auth > .container > .row { grid-template-columns: minmax(0, 1fr); }
    .fdq-auth .login_icon { min-height: 0; padding: 130px 24px 24px; }
    .fdq-auth > .container .row .login_form { height: auto !important; }
    .fdq-auth .login_icon img { max-height: 200px; }
    .fdq-auth .login_form { padding: 32px 22px !important; }
    .fdq-auth .login_icon::before { inset-block-start: 32px; inset-inline-start: 28px; }
    .fdq-auth header .language_switcher { inset-inline-end: 32px; inset-block-start: 36px; }
}
.fdq-auth > .container > .row > [class*="col-"] { display: flex !important; }
.fdq-auth > .container .row .login_form { flex: 1 1 auto; }
.fdq-auth > .container .row .login_icon { flex: 1 1 auto; }
.fdq-auth header .language_switcher { inset-block-start: 36px; }
.fdq-auth > .container .row .login_form { height: auto !important; align-self: stretch; margin: 0 !important; }
.fdq-auth > .container .row .login_icon { height: auto !important; align-self: stretch; }
.fdq-auth > .container > .row { align-items: stretch !important; }
.fdq-auth > .container > .row > [class*="col-"] { align-self: stretch !important; }

/* FM card icons: line icons in the brand coral (same line style as the sidebar), swapped in through `content` on the existing <img> */
#nova img.fm-3d-icon { filter: none; object-fit: contain; }
#nova img.fm-3d-icon[src*="acc-overview.png"] { content: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23F15E5A%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%223%22 y=%2212%22 width=%224%22 height=%229%22 rx=%221%22/%3E%3Crect x=%2210%22 y=%227%22 width=%224%22 height=%2214%22 rx=%221%22/%3E%3Crect x=%2217%22 y=%223%22 width=%224%22 height=%2218%22 rx=%221%22/%3E%3C/svg%3E"); }
#nova img.fm-3d-icon[src*="acc-vouchers.png"] { content: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23F15E5A%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z%22/%3E%3Cpath d=%22M14 3v5h5M9 13h6M9 17h4%22/%3E%3C/svg%3E"); }
#nova img.fm-3d-icon[src*="acc-receivables.png"] { content: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23F15E5A%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 4h16v10l-3 3H4z%22/%3E%3Cpath d=%22M8 9h8M8 13h4M20 17l-3 3v-3z%22/%3E%3C/svg%3E"); }
#nova img.fm-3d-icon[src*="acc-payables.png"] { content: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23F15E5A%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%223%22 y=%226%22 width=%2218%22 height=%2213%22 rx=%222%22/%3E%3Cpath d=%22M3 10h18M7 15h4%22/%3E%3C/svg%3E"); }
#nova img.fm-3d-icon[src*="acc-expenses.png"] { content: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23F15E5A%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%222%22 y=%226%22 width=%2220%22 height=%2212%22 rx=%222%22/%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%223%22/%3E%3Cpath d=%22M6 12h.01M18 12h.01%22/%3E%3C/svg%3E"); }
#nova img.fm-3d-icon[src*="acc-budgets.png"] { content: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23F15E5A%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M21 12A9 9 0 1 1 12 3v9z%22/%3E%3Cpath d=%22M15 3.5A9 9 0 0 1 20.5 9H15z%22/%3E%3C/svg%3E"); }
#nova img.fm-3d-icon[src*="acc-periods.png"] { content: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23F15E5A%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%223%22 y=%225%22 width=%2218%22 height=%2216%22 rx=%222%22/%3E%3Cpath d=%22M3 10h18M8 3v4M16 3v4M8 15h3%22/%3E%3C/svg%3E"); }
#nova img.fm-3d-icon[src*="acc-rules.png"] { content: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23F15E5A%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%229%22 y=%223%22 width=%226%22 height=%225%22 rx=%221%22/%3E%3Crect x=%223%22 y=%2216%22 width=%226%22 height=%225%22 rx=%221%22/%3E%3Crect x=%2215%22 y=%2216%22 width=%226%22 height=%225%22 rx=%221%22/%3E%3Cpath d=%22M12 8v4M6 16v-4h12v4%22/%3E%3C/svg%3E"); }
#nova img.fm-3d-icon[src*="acc-settings.png"] { content: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23F15E5A%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%223%22/%3E%3Cpath d=%22M19.4 15a1.7 1.7 0 0 0 .3 1.8l.1.1a2 2 0 1 1-2.8 2.8l-.1-.1a1.7 1.7 0 0 0-1.8-.3 1.7 1.7 0 0 0-1 1.5V21a2 2 0 1 1-4 0v-.1a1.7 1.7 0 0 0-1.1-1.5 1.7 1.7 0 0 0-1.8.3l-.1.1a2 2 0 1 1-2.8-2.8l.1-.1a1.7 1.7 0 0 0 .3-1.8 1.7 1.7 0 0 0-1.5-1H3a2 2 0 1 1 0-4h.1a1.7 1.7 0 0 0 1.5-1.1 1.7 1.7 0 0 0-.3-1.8l-.1-.1a2 2 0 1 1 2.8-2.8l.1.1a1.7 1.7 0 0 0 1.8.3H9a1.7 1.7 0 0 0 1-1.5V3a2 2 0 1 1 4 0v.1a1.7 1.7 0 0 0 1 1.5 1.7 1.7 0 0 0 1.8-.3l.1-.1a2 2 0 1 1 2.8 2.8l-.1.1a1.7 1.7 0 0 0-.3 1.8V9a1.7 1.7 0 0 0 1.5 1H21a2 2 0 1 1 0 4h-.1a1.7 1.7 0 0 0-1.5 1z%22/%3E%3C/svg%3E"); }
#nova img.fm-3d-icon[src*="acc-queue.png"] { content: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23F15E5A%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M6 3h12M6 21h12M7 3v4l5 5-5 5v4M17 3v4l-5 5 5 5v4%22/%3E%3C/svg%3E"); }
#nova img.fm-3d-icon[src*="acc-controls.png"] { content: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23F15E5A%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M9 11l2 2 4-4%22/%3E%3Crect x=%224%22 y=%223%22 width=%2216%22 height=%2218%22 rx=%222%22/%3E%3Cpath d=%22M8 17h8%22/%3E%3C/svg%3E"); }
#nova img.fm-3d-icon[src*="acc-bank.png"] { content: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23F15E5A%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M3 10l9-6 9 6M5 10v8M9.5 10v8M14.5 10v8M19 10v8M3 21h18%22/%3E%3C/svg%3E"); }
#nova img.fm-3d-icon[src*="acc-opening.png"] { content: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23F15E5A%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M5 21V4M5 4h12l-2 4 2 4H5%22/%3E%3C/svg%3E"); }
#nova img.fm-3d-icon[src*="acc-import.png"] { content: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23F15E5A%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 15V4M8 8l4-4 4 4%22/%3E%3Cpath d=%22M4 15v4a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-4%22/%3E%3C/svg%3E"); }
#nova img.fm-3d-icon[src*="fin-accounts-mapping.png"] { content: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23F15E5A%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%226%22 cy=%226%22 r=%222.5%22/%3E%3Ccircle cx=%2218%22 cy=%2218%22 r=%222.5%22/%3E%3Cpath d=%22M8.5 6H14a3 3 0 0 1 3 3v6.5M6 8.5V15a3 3 0 0 0 3 3h6.5%22/%3E%3C/svg%3E"); }
#nova img.fm-3d-icon[src*="fin-cashier-shifts.png"] { content: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23F15E5A%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%229%22/%3E%3Cpath d=%22M12 7v5l3 2%22/%3E%3C/svg%3E"); }
#nova img.fm-3d-icon[src*="fin-chart-of-accounts.png"] { content: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23F15E5A%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 5h16M4 12h16M4 19h16%22/%3E%3Ccircle cx=%227%22 cy=%225%22 r=%220.5%22/%3E%3Cpath d=%22M9 8.5h11M9 15.5h11%22/%3E%3C/svg%3E"); }
#nova img.fm-3d-icon[src*="fin-city-ledger.png"] { content: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23F15E5A%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M3 21V9l6-3v15M9 21V5l6-2v18M15 21V11l6 2v8M3 21h18M12 8h.01M12 12h.01M12 16h.01%22/%3E%3C/svg%3E"); }
#nova img.fm-3d-icon[src*="fin-credit-notes.png"] { content: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23F15E5A%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z%22/%3E%3Cpath d=%22M14 3v5h5M9 14h6M12 11v6%22/%3E%3C/svg%3E"); }
#nova img.fm-3d-icon[src*="fin-journal-ledger.png"] { content: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23F15E5A%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M5 4a2 2 0 0 1 2-2h12v18H7a2 2 0 0 0-2 2z%22/%3E%3Cpath d=%22M5 4v18M9 7h6M9 11h6%22/%3E%3C/svg%3E"); }
#nova img.fm-3d-icon[src*="fin-journal-templates.png"] { content: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23F15E5A%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%228%22 y=%228%22 width=%2213%22 height=%2213%22 rx=%222%22/%3E%3Cpath d=%22M16 8V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h3%22/%3E%3C/svg%3E"); }
#nova img.fm-3d-icon[src*="fin-online-payments.png"] { content: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23F15E5A%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%222%22 y=%225%22 width=%2220%22 height=%2214%22 rx=%222%22/%3E%3Cpath d=%22M2 10h20M6 15h3%22/%3E%3Ccircle cx=%2217%22 cy=%2215%22 r=%221.5%22/%3E%3C/svg%3E"); }
#nova img.fm-3d-icon[src*="fin-safe-report.png"] { content: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23F15E5A%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%223%22 y=%224%22 width=%2218%22 height=%2216%22 rx=%222%22/%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%223.5%22/%3E%3Cpath d=%22M12 12l2-2M7 20v1M17 20v1%22/%3E%3C/svg%3E"); }
#nova img.fm-3d-icon[src*="fin-zatca.png"] { content: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23F15E5A%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z%22/%3E%3Cpath d=%22M14 3v5h5M9 17l6-6M9.5 11.5h.01M14.5 16.5h.01%22/%3E%3C/svg%3E"); }
#nova .icon_item img.fm-3d-icon { width: 34px; height: 34px; padding: 5px; }

/* -----------------------------------------------------------------------------------------------------
   18. ONE BUTTON SIZE: every text button is 36px high, 13px bold, 10px radius. Icon-only buttons (empty) keep their own size.
   ----------------------------------------------------------------------------------------------------- */
#nova :is(button, a.btn, a.main_button, input[type="button"], input[type="submit"]):not(:empty):is(
    .btn, .main_button, .more, .add_invoice, [class*="_button"], [class*="_btn"], [class*="-btn"], [class*="button_"]
):not(.excel_button):not(.pdf_button):not(.print_button):not(.trash_button):not(.rt_nav_btn):not(.rt_refresh):not(.fdq-iconbtn):not(.close):not(.btn-link):not(.btn-sm):not(.rpt-star):not(.fq-filter-toggle):not(.rm-filter-toggle) {
    height: 36px !important; min-height: 36px !important; padding: 0 16px !important; min-width: 0 !important;
    font-size: 13px !important; font-weight: 700 !important; line-height: 1 !important; border-radius: 10px !important;
    display: inline-flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap;
}
#nova .btn-sm { height: 30px; padding: 0 12px; font-size: 12px; }
#nova .fdq-btn { min-height: 36px; height: 36px; padding: 0 16px; font-size: 13px; }
/* the "add_*" action buttons (Add Services, Add a note, ...) follow the same size */
#nova :is(button, a):not(:empty):is([class^="add_"], [class*=" add_"], [class^="send_"], [class*=" send_"], [class^="save_"], [class*=" save_"]):not(.add_to_cart):not(.trash_button) {
    height: 36px !important; min-height: 36px !important; padding: 0 16px !important; min-width: 0 !important;
    font-size: 13px !important; font-weight: 700 !important; line-height: 1 !important; border-radius: 10px !important;
    display: inline-flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap;
}

/* §19 Reservations Table: calendar writing is dark (navy ink), as the rest of the PMS; coral stays on buttons and pills only */
#nova .all_units_inside .price-wrapper,
#nova .all_units_inside .price-wrapper .price,
#nova .all_units_inside .price-wrapper [class^="icon-"],
#nova .all_units_inside .group_row .group_cell,
#nova .all_units_inside .day_name,
#nova .all_units_inside .day_date { color: var(--fq-navy, #262E43) !important; }

/* §20 art: topbar, footer and sidebar art starts at the end edge and covers about half */
[dir="rtl"] .fdq-topbar, [dir="rtl"] .fdq-footer, [dir="rtl"] .fq-ap-head.fq-ap-head.fq-ap-head { background-image: url('/brand/bar-art-rtl.svg'); background-position: left center; }
#nova .units_names .group_name .group_count, #nova .all_units_inside .group_count { color: var(--fq-navy, #262E43) !important; }

/* §21 top bar and footer: same navy as the sidebar; the art stays as it is, writing and icons turn light */
.fdq-topbar, .fdq-footer { background-color: var(--fq-navy); border-color: transparent; color: #FFFFFF; }
.fdq-topbar .fdq-iconbtn,
.fdq-topbar .fdq-iconbtn:hover,
.fdq-topbar .fdq-iconbtn.router-link-active { color: #FFFFFF; }
.fdq-topbar .fdq-iconbtn:hover { background: rgba(255, 255, 255, .12); }
.fdq-topbar .fdq-iconbtn.router-link-active { background: rgba(255, 255, 255, .18); }
.fdq-topbar .fdq-tools [fill="#fff"], .fdq-topbar .fdq-tools [fill="white"], .fdq-topbar .fdq-tools [fill="#ffffff"] { fill: #FFFFFF; }
.fdq-topbar .fdq-btn--outline { border-color: #FFFFFF !important; color: #FFFFFF !important; }
.fdq-topbar .fdq-btn--outline:hover { background: rgba(255, 255, 255, .14) !important; color: #FFFFFF !important; }
.fdq-topbar .fdq-bizdate { background: rgba(255, 255, 255, .14); color: #FFFFFF; }
.fdq-topbar .fdq-user, .fdq-topbar .fdq-user__name, .fdq-topbar .fdq-user__team { color: #FFFFFF; }
.fdq-footer, .fdq-footer a, .fdq-footer__made { color: #E4EAEE; }
/* §21b top bar and footer art as colourful as the sidebar's: the same art drawn twice (as the sidebar does),
   still on the end half only */
.fdq-topbar, .fdq-footer {
    background-image: url('/brand/bar-art.svg'), url('/brand/bar-art.svg');
    background-repeat: no-repeat, no-repeat;
    background-position: right center, right center;
    background-size: auto 100%, auto 100%;
}
/* the footer is shorter than the top bar, so "auto 100%" made its art narrower: draw it at the top bar's size (1600x72 art) and crop */
.fdq-footer { background-size: calc(var(--fq-topbar-h) * 22.2222) auto, calc(var(--fq-topbar-h) * 22.2222) auto; }
[dir="rtl"] .fdq-topbar, [dir="rtl"] .fdq-footer {
    background-image: url('/brand/bar-art-rtl.svg'), url('/brand/bar-art-rtl.svg');
    background-position: left center, left center;
}
/* user menu trigger on the navy top bar: translucent hover, light chevron */
.fdq-topbar .fdq-user__trigger:hover,
.fdq-topbar .fdq-user .dropdown-trigger:hover { background: rgba(255, 255, 255, .14); }
.fdq-topbar .fdq-user__trigger > svg,
.fdq-topbar .fdq-user .dropdown-trigger > svg { color: #FFFFFF; }
.fdq-topbar .fdq-user__team { color: #E4EAEE; }

/* §22 footer: white logo first, then the copyright, side by side at the start; floating buttons sit above the footer */
.fdq-footer { display: flex; justify-content: flex-start; align-items: center; gap: var(--fq-space-4); }
.fdq-footer .fdq-footer__logo, [dir="rtl"] .fdq-footer .fdq-footer__logo { height: 40px; width: auto; justify-self: auto; }
/* full-colour logo (dark lettering, coral mark) on a clean white plate, so it reads on the coral footer */
.fdq-footer .fdq-footer__logo {
    box-sizing: content-box; height: 30px; padding: 6px 14px;
    background: #FFFFFF; border-radius: 8px; box-shadow: 0 1px 4px rgba(38, 46, 67, .15);
}
.fdq-footer__copy { text-align: start; }
.fandi-ai { bottom: 84px !important; }
.fq-support-fab { bottom: 84px !important; }
.fq-support-fab.beside-fandi { bottom: 154px !important; }

/* ---- PMS-wide icon colour: outline icons drawn in the brand red (same #F15E5A as the Financial Management card
   icons above), colouring only the stroke / glyph path, never a fill panel. One place on purpose: the icons
   themselves keep currentColor, so changing --fq-icon recolours them all. Not covered: <img>, brand logos,
   status dots, charts, icon fonts (fa-*, icon-saudi_riyal), and icons with fixed colours inside module markup. */
:root { --fq-icon: #F15E5A; }
/* module tab / section cards (Crm, Hrm, Housekeeping, Maintenance, Purchasing, PosV2, Banquet, Academy,
   NightAudit, PmsReports, FinancialManagement): stroke svg on currentColor */
#nova .fq-tab-card-icon,
#nova .fq-tab-card.is-active .fq-tab-card-icon { color: var(--fq-icon); }
/* sidebar: the sidebar is dark navy, so its icons stay white (red was tried and reverted). */
.fdq-nav .sidebar-icon { color: #fff; }
/* top bar icon buttons (bell, language, etc.): active state keeps its soft red pill */
.fdq-iconbtn { color: var(--fq-icon); }

/* ---- PMS-wide icon colour, part 2: icons whose colour is hard-coded inside module markup / module CSS
   (so the currentColor rule above cannot reach them). Same --fq-icon red, line work only.
   Not covered on purpose: sidebar, logos, illustrations (empty states, 404), icon fonts, icons on coloured buttons. */

/* (a) page header icons: `.fq-page-head__icon` (Units, Customers, FM, Settings, Calender ...) and the per-module
   `.fq-header-icon` (Purchasing, Crm, Hrm, Housekeeping, Maintenance, PosV2, Banquet, Academy, NightAudit, PmsReports,
   RateManagement). Their svgs carry stroke="#333b45" / fill="#333b45" attributes; CSS beats presentation attributes. */
#nova .fq-page-head__icon,
#nova .fq-header-icon { color: var(--fq-icon) !important; }
#nova :is(.fq-page-head__icon, .fq-header-icon) svg [stroke]:not([stroke="none"]),
#nova :is(.fq-page-head__icon, .fq-header-icon) svg[stroke]:not([stroke="none"]) { stroke: var(--fq-icon) !important; }
/* fill-drawn line art: only the dark greys used by the old icons; white cut-outs and fill="none" keep their value */
#nova :is(.fq-page-head__icon, .fq-header-icon) svg :is([fill="#333b45"], [fill="#333B45"], [fill="#333B44"], [fill="#333"], [fill="#000"], [fill="#000000"], [fill="#23313f"], [fill="currentColor"]),
#nova :is(.fq-page-head__icon, .fq-header-icon) svg:is([fill="#333b45"], [fill="#333B45"], [fill="#333B44"], [fill="#333"], [fill="#000"], [fill="#000000"], [fill="#23313f"]) { fill: var(--fq-icon) !important; }

/* (b) card tiles drawn as filled line art whose module CSS forces `fill: #000` / `#8f8e8e` on svg and path:
   Units (#units_page .unit_item), Settings (.setting_item), Users (.setting .icon_item), reports landing pages
   (#reports_page .report_item: Transactions, Calender dashboard). Only the glyph fill is recoloured, no stroke is added,
   so there are no blobs. Svgs that use fill="none" groups (outline icons) are left to rule (c). */
#nova :is(.unit_item, .setting_item, .report_item) .icon svg:not(:has([fill="none"])),
#nova :is(.unit_item, .setting_item, .report_item) .icon svg:not(:has([fill="none"])) :is(g, path, circle, rect, polygon, ellipse):not([fill="none"]):not([fill="#fff"]):not([fill="#FFF"]):not([fill="#ffffff"]),
#nova .setting .icon_item svg:not(:has([fill="none"])),
#nova .setting .icon_item svg:not(:has([fill="none"])) :is(g, path, circle, rect, polygon, ellipse):not([fill="none"]):not([fill="#fff"]):not([fill="#FFF"]):not([fill="#ffffff"]) { fill: var(--fq-icon) !important; }
/* (c) the same tiles' outline icons (stroke attribute) */
#nova :is(.unit_item, .setting_item, .report_item) .icon svg [stroke]:not([stroke="none"]):not([stroke="#fff"]):not([stroke="#ffffff"]),
#nova .setting .icon_item svg [stroke]:not([stroke="none"]) { stroke: var(--fq-icon) !important; }

/* ---- PMS-wide outline rule for secondary controls (appended after the icon-colour block; global, no rebuild).
   (1) Export pills (.excel_button, .pdf_button, .print_button, .open-res-btn-export) were pink-filled with red text;
       now white/transparent with a 1px red border, red text + icon, same size and pill radius (the Rate Management
       Simple / Advanced look). Hover is only a very light red tint. Beats section 12 above by order + !important.
   (2) The round icon badge on the stat cards (li::after) loses its pink fill and keeps a 1px red ring. Only the pink
       badges are touched (Reservations management cards, and .fq-stats 4n+2); green / blue / orange badges stay.
   Not touched on purpose: solid coral primary buttons, buttons on dark backgrounds, table action circles
   (td.td-fit, .fq-icon-btn, fq-action-circle). */
#nova :is(.excel_button, .pdf_button, .print_button, .open-res-btn-export) {
    background: transparent !important; border: 1px solid var(--fq-icon) !important; color: var(--fq-icon) !important;
}
#nova :is(.excel_button, .pdf_button, .print_button, .open-res-btn-export):hover {
    background: rgba(241, 94, 90, .06) !important; border-color: var(--fq-icon) !important; color: var(--fq-icon) !important;
}
#nova #reservations_table_card .statistics_area ul li::after,
#nova #reservations_management_page .statistics_area ul li::after,
#nova .statistics_area.fq-stats ul li:nth-child(4n+2)::after {
    background-color: transparent !important; border: 1px solid var(--fq-icon) !important; box-sizing: border-box;
}

/* ===== Stat-card icon badges, every page: border-only red ring, no fill, red outline icon (all four variants) ===== */
#nova .statistics_area.fq-stats ul li:nth-child(4n+1)::after { background-color: transparent !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23F15E5A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M5 12l7 7 7-7'/%3E%3C/svg%3E") !important; border: 1px solid var(--fq-icon) !important; box-sizing: border-box; }
#nova .statistics_area.fq-stats ul li:nth-child(4n+2)::after { background-color: transparent !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23F15E5A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5M5 12l7-7 7 7'/%3E%3C/svg%3E") !important; border: 1px solid var(--fq-icon) !important; box-sizing: border-box; }
#nova .statistics_area.fq-stats ul li:nth-child(4n+3)::after { background-color: transparent !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23F15E5A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='6' width='20' height='12' rx='2'/%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3C/svg%3E") !important; border: 1px solid var(--fq-icon) !important; box-sizing: border-box; }
#nova .statistics_area.fq-stats ul li:nth-child(4n)::after { background-color: transparent !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23F15E5A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11l9-8 9 8v10a1 1 0 0 1-1 1h-5v-7H9v7H4a1 1 0 0 1-1-1z'/%3E%3C/svg%3E") !important; border: 1px solid var(--fq-icon) !important; box-sizing: border-box; }

/* -----------------------------------------------------------------------------------------------------
   Reservation page status banners (checked-in / checked-out / promissory): light Fandaqah palette
   ----------------------------------------------------------------------------------------------------- */
#nova .checkin_checkout .reservation_checked { border-radius: 12px !important; }
#nova .checkin_checkout .reservation_checked.checkedin { color: var(--fq-teal) !important; background-color: var(--fq-teal-soft) !important; border-color: var(--fq-ice) !important; }
#nova .checkin_checkout .reservation_checked.checkedin span { background-color: var(--fq-ice) !important; filter: hue-rotate(-14deg); }
#nova .checkin_checkout .reservation_checked.checkedout { color: var(--fq-coral-strong) !important; background-color: var(--fq-coral-soft) !important; border-color: var(--fq-coral-tint) !important; }
#nova .checkin_checkout .reservation_checked.checkedout span { background-color: var(--fq-coral-tint) !important; }
#nova .checkin_checkout .reservation_checked.promissory { color: var(--fq-navy) !important; background-color: var(--fq-peach-soft) !important; border-color: var(--fq-peach) !important; }
#nova .checkin_checkout .reservation_checked.promissory span { background-color: var(--fq-peach) !important; }

/* Reports Plus cards: the favourite star is white on the navy card head (beats the coral star rule above) */
#nova .reports-plus .rpt-rc .rpt-star, #nova .reports-plus .rpt-rc .rpt-star .fa, #nova .reports-plus .rpt-rc .rpt-star .fa-star, #nova .reports-plus .rpt-rc .rpt-star .fa-star-o { color: #fff !important; }



/* -----------------------------------------------------------------------------------------------------
   23. ONE BUTTON, ONE BADGE, RED HEADER AND FOOTER (2026-11-18 round, CSS only, kept last on purpose)
   (a) every text button and the floating buttons: one size (34px, 12px, 600, 10px radius), one font, one colour #F15E5A (--fq-one).
       Not buttons in the sense of this rule: link-style buttons (.btn-link, *link-btn), close (X), icon-only table actions
       (edit / delete / trash, *icon-btn), steppers and +/- quantity, tab / segment / filter toggles, pagination, POS keypad tiles.
   (b) every badge: one pill (22px, 11px, 600), colour #F15E5A, except status badges (they keep their status colour).
   (c) top bar and footer background #F15E5A.
   (d) Units Housing reservation card: the sidebar's art, a smaller #F15E5A gear, one type style inside the card.
   (e) Reservations Table: today's column #F15E5A.
   ----------------------------------------------------------------------------------------------------- */
:root { --fq-one: #F15E5A; --fq-one-hover: #D94B47; }

/* (a) buttons */
#nova :is(button, a, input[type="button"], input[type="submit"]):is(
    .btn, .fdq-btn, .main_button, .more, .add_invoice, .fc-button, .rt_today, .fandi-button, .fq-support-btn,
    [class*="_button"], [class*="_btn"], [class*="-btn"], [class*="button_"],
    [class^="add_"], [class*=" add_"], [class^="send_"], [class*=" send_"], [class^="save_"], [class*=" save_"], [type="submit"]
):not(:empty):not(.btn-link):not(.close):not([class*="close"]):not([class*="link-btn"]):not([class*="link_btn"]):not(.ops_btn_link):not(.fdq-iconbtn):not([class*="icon-btn"]):not([class*="icon_btn"]):not(.edit_button):not(.delete_button):not(.trash_button):not(.rt_nav_btn):not(.rt_refresh):not(.rpt-star):not(.fq-filter-toggle):not(.rm-filter-toggle):not([class*="stepper-btn"]):not([class*="qty-btn"]):not([class*="tab_btn"]):not([class*="tab-btn"]):not([class*="seg-btn"]):not([class*="toggle_btn"]):not([class*="toggle-btn"]):not([class*="pagination"]):not(.pos-touch-btn):not(.nav-button):not(.add_to_cart):not(.whatsapp_button),
#nova div.whatsapp-button, #nova div.receipt_report {
    height: var(--fq-btn-h) !important; min-height: var(--fq-btn-h) !important; padding: 0 var(--fq-btn-px) !important; min-width: 0 !important; width: auto;
    display: inline-flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap;
    font-family: var(--fq-font-body) !important; font-size: var(--fq-fs-button) !important; font-weight: var(--fq-btn-weight) !important; line-height: 1 !important;
    letter-spacing: 0 !important; text-transform: none !important; border-radius: var(--fq-btn-radius) !important;
    background: var(--fq-one) !important; background-image: none !important; border: 1px solid var(--fq-one) !important;
    color: #fff !important; box-shadow: none !important;
}
#nova :is(button, a, input[type="button"], input[type="submit"]):is(
    .btn, .fdq-btn, .main_button, .more, .add_invoice, .fc-button, .rt_today, .fandi-button, .fq-support-btn,
    [class*="_button"], [class*="_btn"], [class*="-btn"], [class*="button_"],
    [class^="add_"], [class*=" add_"], [class^="send_"], [class*=" send_"], [class^="save_"], [class*=" save_"], [type="submit"]
):not(:empty):not(.btn-link):not(.close):not([class*="close"]):not([class*="link-btn"]):not([class*="link_btn"]):not(.ops_btn_link):not(.fdq-iconbtn):not([class*="icon-btn"]):not([class*="icon_btn"]):not(.edit_button):not(.delete_button):not(.trash_button):not(.rt_nav_btn):not(.rt_refresh):not(.rpt-star):not(.fq-filter-toggle):not(.rm-filter-toggle):not([class*="stepper-btn"]):not([class*="qty-btn"]):not([class*="tab_btn"]):not([class*="tab-btn"]):not([class*="seg-btn"]):not([class*="toggle_btn"]):not([class*="toggle-btn"]):not([class*="pagination"]):not(.pos-touch-btn):not(.nav-button):not(.add_to_cart):not(.whatsapp_button):hover:not(:disabled),
#nova div.whatsapp-button:hover, #nova div.receipt_report:hover { background: var(--fq-one-hover) !important; border-color: var(--fq-one-hover) !important; color: #fff !important; }
/* the label and icon inside follow the button (some pages colour or size their inner spans / icons) */
#nova :is(.btn, .fdq-btn, .main_button, [class*="_button"], [class*="_btn"], [class*="-btn"], div.whatsapp-button):not(.btn-link):not(.edit_button):not(.delete_button):not(.trash_button):not([class*="icon-btn"]):not([class*="icon_btn"]) > :is(span, b, strong, small) { font-size: inherit !important; font-weight: inherit !important; color: inherit !important; }
#nova div.whatsapp-button svg { width: 16px; height: 16px; flex: none; margin: 0 !important; }
/* buttons sitting on the red top bar keep a white edge so they stay visible */
#nova .fdq-topbar :is(a, button).fdq-btn:not(#fq-x1):not(#fq-x2) { border-color: #fff !important; }
/* floating buttons (Ask Fandi, Email us): one round 48px #F15E5A button */
.fandi-ai-fab.fandi-ai-fab, .fq-support-fab.fq-support-fab {
    width: 48px !important; height: 48px !important; min-width: 48px; padding: 0 !important; border: 0 !important; border-radius: 50% !important;
    background: var(--fq-one) !important; color: #fff !important;
}
.fandi-ai-fab.fandi-ai-fab:hover, .fq-support-fab.fq-support-fab:hover { background: var(--fq-one-hover) !important; }
.fandi-ai-fab.fandi-ai-fab svg, .fq-support-fab.fq-support-fab svg { width: 22px; height: 22px; }

/* (b) badges: one shape and size for every badge; the colour only on badges that are not a status
   (a status badge carries a status / tone class or attribute and keeps its own colour) */
#nova [class*="badge"]:not(:empty):not([class*="badge-wrap"]):not([class*="badge-line"]):not([class*="badge-dot"]):not([class*="step-badge"]):not([class*="icon_badge"]) {
    display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box;
    height: var(--fq-badge-h) !important; min-height: var(--fq-badge-h) !important; min-width: var(--fq-badge-h) !important; width: auto !important; max-width: 100%;
    padding: 0 10px !important; border-radius: 999px !important;
    font-family: var(--fq-font-body) !important; font-size: var(--fq-fs-badge) !important; font-weight: var(--fq-btn-weight) !important; line-height: 1 !important;
    letter-spacing: 0 !important; text-transform: none !important; white-space: nowrap; box-shadow: none !important;
}
#nova [class*="badge"]:not(:empty):not([class*="badge-wrap"]):not([class*="badge-line"]):not([class*="badge-dot"]):not([class*="step-badge"]):not([class*="icon_badge"]):not([class*="status"]):not([class*="badge-"]):not([class*="badge_"]):not([class*="--"]):not([class*="is-"]):not([data-tone]):not([data-status]):not([class*="tone"]):not([class*="success"]):not([class*="warn"]):not([class*="danger"]):not([class*="info"]):not([class*="error"]):not([class*="fail"]):not([class*="done"]):not([class*="green"]):not([class*="red"]):not([class*="amber"]):not([class*="grey"]):not([class*="gray"]):not([class*="good"]):not([class*="bad"]):not([class*="neutral"]):not([class*="muted"]):not([class*="-light"]):not([class*="bg-primary"]):not([class*="posted"]):not([class*="void"]):not([class*="legacy"]):not([class*="draft"]):not([class*="open"]):not([class*="closed"]):not([class*="approved"]):not([class*="applied"]):not([class*="reversed"]):not([class*="pending"]):not([class*="paid"]):not([class*="cancel"]):not([class*="active"]):not([class*="state"]):not([class*="ready"]) {
    background: var(--fq-one) !important; background-image: none !important; border: 1px solid var(--fq-one) !important; color: #fff !important;
}
#nova [class*="badge"]:not(:empty):not([class*="badge-wrap"]):not([class*="badge-line"]):not([class*="badge-dot"]):not([class*="step-badge"]):not([class*="icon_badge"]):not([class*="status"]):not([class*="badge-"]):not([class*="badge_"]):not([class*="--"]):not([class*="is-"]):not([data-tone]):not([data-status]):not([class*="tone"]):not([class*="success"]):not([class*="warn"]):not([class*="danger"]):not([class*="info"]):not([class*="error"]):not([class*="fail"]):not([class*="done"]):not([class*="green"]):not([class*="red"]):not([class*="amber"]):not([class*="grey"]):not([class*="gray"]):not([class*="good"]):not([class*="bad"]):not([class*="neutral"]):not([class*="muted"]):not([class*="-light"]):not([class*="bg-primary"]):not([class*="posted"]):not([class*="void"]):not([class*="legacy"]):not([class*="draft"]):not([class*="open"]):not([class*="closed"]):not([class*="approved"]):not([class*="applied"]):not([class*="reversed"]):not([class*="pending"]):not([class*="paid"]):not([class*="cancel"]):not([class*="active"]):not([class*="state"]):not([class*="ready"]) * { color: inherit !important; }
#nova .fdq-topbar [class*="badge"]:not(:empty), #nova .fdq-footer [class*="badge"]:not(:empty) { border-color: #fff !important; }

/* (c) top bar and footer */
.fdq-topbar, .fdq-footer { background-color: var(--fq-one) !important; }

/* (d) Units Housing reservation card */
#nova [data-tour="un-housing"] .uh-rooms .units-dash-home .unit_col .unit_item::after {
    background-color: var(--fq-navy, #262e43) !important;
    background-image: url('/brand/card-art.svg') !important;
    background-repeat: no-repeat !important; background-position: right top !important; background-size: 264px auto !important;
    bottom: 31px !important;
}
[dir="rtl"] #nova [data-tour="un-housing"] .uh-rooms .units-dash-home .unit_col .unit_item::after {
    background-image: url('/brand/card-art-rtl.svg') !important; background-position: left top !important;
}
#nova [data-tour="un-housing"] .uh-rooms .unit_item .control .buttonarea { width: 32px !important; height: 32px !important; }
#nova [data-tour="un-housing"] .uh-rooms .unit_item .control .buttonarea button {
    width: 32px !important; height: 32px !important; border: 1px solid var(--fq-one) !important; border-radius: 10px !important; background: var(--fq-one) !important;
}
#nova [data-tour="un-housing"] .uh-rooms .unit_item .control .buttonarea button svg { width: 16px !important; height: 16px !important; }
#nova [data-tour="un-housing"] .uh-rooms .unit_item, #nova [data-tour="un-housing"] .uh-rooms .unit_item * { font-family: var(--fq-font-body) !important; letter-spacing: 0 !important; }
#nova [data-tour="un-housing"] .uh-rooms .unit_item :is(.unit_name, .customer_name, .customer_name a, .customer_name span) {
    font-size: 12px !important; font-weight: 600 !important; line-height: 1.3 !important;
}
#nova [data-tour="un-housing"] .uh-rooms .unit_item .customer_name { bottom: 54px !important; }
#nova [data-tour="un-housing"] .uh-rooms .unit_item .customer_name:has(> div) { bottom: 63px !important; }
#nova [data-tour="un-housing"][data-tour="un-housing"][data-tour="un-housing"][data-tour="un-housing"] .uh-rooms .units-dash-home .unit_col .unit_item .buttons_area .right_button button:not(#fq-x1) {
    width: 34px !important; min-width: 34px !important; height: 34px !important; border-radius: 10px !important;
    background: var(--fq-one) !important; color: #fff !important; font-size: 12px !important; font-weight: 600 !important;
}

/* the card's main action keeps its status colour (green available, blue reserved, orange cleaning, ...) */
#nova [data-tour="un-housing"] .uh-rooms .unit_item .buttons_area .reservation_button:not(#fq-x1):not(#fq-x2):not(#fq-x3) {
    background: var(--uh-btn) !important; border-color: var(--uh-btn) !important;
}

/* (e) Reservations Table: today's column */
#nova [data-tour="un-status"] .dayes_head .day.time_today { background: var(--fq-one) !important; }
#nova [data-tour="un-status"] .dayes_head .day.time_today :is(.day_name, .day_date) { color: #fff !important; text-decoration: none !important; }
#nova [data-tour="un-status"] .dayes_head .day.time_today .day_occ { background: #fff !important; color: var(--fq-one) !important; text-decoration: none !important; }
#nova [data-tour="un-status"] .all_units_inside .group_row .group_cell.is-today { background: var(--fq-one) !important; color: #fff !important; }
/* the room-type rows' cells line up with the day heads: no extra 1px row border, and the column line on the same (end) side as the head */
#nova [data-tour="un-status"] .all_units_inside .group_row { border-inline-start-width: 0 !important; border-inline-end-width: 0 !important; }
#nova [data-tour="un-status"] .all_units_inside .group_row .group_cell { border-inline-start: 0 !important; border-inline-end: 1px solid var(--fq-border, #E6E4DE) !important; }
/* Units Housing card: the room type name stays on one line, across the card's full width (ends with … if longer) */
#nova [data-tour="un-housing"] .uh-rooms .units-dash-home .unit_col .unit_item .unit_name { grid-column: 1 / -1 !important; white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; overflow-wrap: normal !important; }
/* sidebar: the hotel logo and name stay at the top while the menu scrolls under them (same navy and art as the sidebar behind) */
.fdq-sidebar .fdq-sidebar__brand {
    position: sticky; top: calc(-1 * var(--fq-space-5)); z-index: 3;
    margin-top: calc(-1 * var(--fq-space-5)); padding-top: var(--fq-space-5); padding-bottom: var(--fq-space-3);
    margin-bottom: var(--fq-space-3);
    background-color: var(--fq-navy);
    background-image: url('/brand/sidebar-art.svg'); background-repeat: no-repeat;
    background-position: left top; background-size: calc(100% + var(--fq-space-4)) auto;
}
[dir="rtl"] .fdq-sidebar .fdq-sidebar__brand { background-image: url('/brand/sidebar-art-rtl.svg'); background-position: right top; }
.fdq-sidebar-collapsed .fdq-sidebar .fdq-sidebar__brand { background-image: none; }
/* top bar as tall as the footer (44px) on desktop; its chips, icons and user menu shrink to fit; the art is drawn at the footer's size */
@media (min-width: 1024px) {
    .fdq-topbar { min-height: 0; height: calc(var(--fq-topbar-h) - 12px); padding-top: 2px; padding-bottom: 2px;
        background-size: calc(var(--fq-topbar-h) * 22.2222) auto, calc(var(--fq-topbar-h) * 22.2222) auto; }
    .fdq-topbar .fdq-topbar__tray, .fdq-topbar .fdq-topbar__start { height: 40px; }
    .fdq-topbar .fdq-integrations > li { height: auto; }
    /* integration logos: small white circles; the logo is clipped to the circle so no square corner shows */
    .fdq-topbar .fdq-integrations .fdq-chip { width: 32px; height: 32px; min-height: 32px; border-radius: 50%; overflow: hidden; }
    .fdq-topbar .fdq-integrations .fdq-chip img { width: 24px; height: 24px; max-width: 24px; max-height: 24px; border-radius: 50%; object-fit: contain; }
    .fdq-topbar .fdq-iconbtn { width: 34px; height: 34px; }
    .fdq-topbar .fdq-iconbtn svg { width: 20px; height: 20px; }
    .fdq-topbar .fdq-user .dropdown-trigger, .fdq-topbar .fdq-user__trigger { height: 38px; }
    .fdq-topbar .fdq-avatar { width: 30px; height: 30px; }
}
/* Reports Plus cards: "Open report" is a button like every other (one colour and size); the card keeps its category colour */
#nova .reports-plus .rpt-rc-btn:not(.is-off) { min-height: 34px; height: 34px; border-radius: 10px; font-size: 12px; font-weight: 600; background: var(--fq-one) !important; color: #fff !important; }
#nova .reports-plus .rpt-rc:hover .rpt-rc-btn:not(.is-off) { background: var(--fq-one-hover) !important; }

/* -----------------------------------------------------------------------------------------------------
   24. NO HIJRI LINE UNDER DATE INPUTS (2026-11-18, CSS only, appended)
   The Hijri companion text that sat under / beside a date input or date field is hidden PMS-wide. Only the
   line that belongs to a date input goes (the hint directly after the input); Hijri in tables, headers,
   printed documents, PDFs and invoices stays. PmsReports dropped its lines in source (FiltersPanel, EtlAdmin);
   the modules below are hidden here so no module bundle needs rebuilding.
   Units Housing date field · HRM forms (.hr-hint) · Events forms (.bq-hijri) · Night Audit settings (.na-hijri) ·
   Accounts Mapping start date (.na-gl-hint) · Rate Management date field (.rm-hijri) · Operational reports filters (.ops_hint).
   ----------------------------------------------------------------------------------------------------- */
#nova .uh-datefield .uh-datefield__sep,
#nova .uh-datefield .uh-datefield__hij,
#nova :is(input[type="date"], input[data-fdq-kind="date"]) + :is(.hr-hint, .bq-hijri, .na-hijri, .na-gl-hint),
#nova .bq-datetime + .bq-hijri,
#nova .rm-date-field > .rm-hijri,
#nova .ops_date_input > .ops_hint { display: none !important; }
/* Units Housing cards: the status line always takes the gear row's height (32px), so status, number, room type and guest
   sit at the same heights whether the card has a gear button or not */
#nova [data-tour="un-housing"][data-tour="un-housing"][data-tour="un-housing"] .uh-rooms .units-dash-home .unit_col .unit_item .unit_status_label { display: flex !important; align-items: center; min-height: 32px !important; }
/* Units Housing cards: show the most colourful band of the sidebar art (its top rows are mostly navy), and keep the
   guest / Inspect line above the button area so the Inspect link can be clicked */
#nova [data-tour="un-housing"][data-tour="un-housing"] .uh-rooms .units-dash-home .unit_col .unit_item::after { background-position: right -400px !important; }
[dir="rtl"] #nova [data-tour="un-housing"][data-tour="un-housing"] .uh-rooms .units-dash-home .unit_col .unit_item::after { background-position: left -400px !important; }
#nova [data-tour="un-housing"][data-tour="un-housing"][data-tour="un-housing"] .uh-rooms .units-dash-home .unit_col .unit_item .customer_name { z-index: 3 !important; }
/* Customers page: the "Control & Manage Companies & Group Reservations" subtitle is a link; show it in black, not link red */
#nova a.fq-page-head__sub { color: #000 !important; }
/* Technical support: the customer-service card's content a little smaller and more compact */
#nova #technical_support_page > .card { padding: 22px 24px !important; }
#nova #technical_support_page > .card > * { zoom: .85; }
/* text buttons whose only class is "table" (Add New Customer, Add Note, Add New Ticket): the shared button size, font and colour */
#nova button.table:not(:empty):not(#fq-x1) {
    height: var(--fq-btn-h) !important; min-height: var(--fq-btn-h) !important; padding: 0 var(--fq-btn-px) !important; min-width: 0 !important; width: auto;
    display: inline-flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap;
    font-family: var(--fq-font-body) !important; font-size: var(--fq-fs-button) !important; font-weight: var(--fq-btn-weight) !important; line-height: 1 !important;
    letter-spacing: 0 !important; text-transform: none !important; border-radius: var(--fq-btn-radius) !important;
    background: var(--fq-one) !important; background-image: none !important; border: 1px solid var(--fq-one) !important;
    color: #fff !important; box-shadow: none !important;
}
#nova button.table:not(:empty):not(#fq-x1):hover { background: var(--fq-one-hover) !important; border-color: var(--fq-one-hover) !important; }
/* modal close (x): the icon sits exactly in the middle of its round hover circle in every modal (the Theme module's
   fixed 9px margin and 24px width pushed it off-centre inside the 32px circle) */
html body .sweet-modal .sweet-box-actions .sweet-action-close { display: inline-flex !important; align-items: center; justify-content: center; padding: 0 !important; line-height: 1 !important; border-radius: 50% !important; }
html body .sweet-modal .sweet-box-actions .sweet-action-close svg { margin: 0 !important; width: 18px !important; height: 18px !important; flex: none; vertical-align: middle; }
/* Units Housing: "Show Arrivals" / "Show Departures" and the date field's "Today" follow the shared button size, font and colour */
#nova [data-tour="un-housing"] :is(button.ad-show, .col_today button):not(:empty):not(#fq-x1):not(#fq-x2) {
    height: var(--fq-btn-h) !important; min-height: var(--fq-btn-h) !important; padding: 0 var(--fq-btn-px) !important; margin: 0 !important;
    display: inline-flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap;
    font-family: var(--fq-font-body) !important; font-size: var(--fq-fs-button) !important; font-weight: var(--fq-btn-weight) !important; line-height: 1 !important;
    letter-spacing: 0 !important; text-transform: none !important; border-radius: var(--fq-btn-radius) !important;
    background: var(--fq-one) !important; border: 1px solid var(--fq-one) !important; color: #fff !important; box-shadow: none !important;
}
#nova [data-tour="un-housing"] :is(button.ad-show, .col_today button):not(:empty):not(#fq-x1):not(#fq-x2):hover:not(:disabled) { background: var(--fq-one-hover) !important; border-color: var(--fq-one-hover) !important; }
/* "Today" at full strength (the component's old 0.65 opacity faded it) and the round reset-filters button in the same #F15E5A */
#nova [data-tour="un-housing"] .col_today button { opacity: 1 !important; }
#nova [data-tour="un-housing"] .reset_filters button { background-color: var(--fq-one) !important; }
#nova [data-tour="un-housing"] .reset_filters button:hover { background-color: var(--fq-one-hover) !important; }

/* -----------------------------------------------------------------------------------------------------
   25. WIDE MODAL (opt-in: add `fd-modal-wide` to a <sweet-modal class="fd-modal ...">). Layout only: the fields,
   labels, inputs, pickers and buttons keep their own design. Reference: "Add New Customer – wide modal.html".
   ----------------------------------------------------------------------------------------------------- */
/* the modal sits inside the main content, clear of the sidebar, with 24px on each side: it is centred in the space
   beside the sidebar (264px, 84px collapsed, none below 1024px where the sidebar is a drawer) */
:root { --fq-modal-side: var(--fq-sidebar-w); }
.fdq-sidebar-collapsed { --fq-modal-side: var(--fq-sidebar-w-collapsed); }
@media (max-width: 1023.98px) { :root, .fdq-sidebar-collapsed { --fq-modal-side: 0px; } }
html body .fd-modal-wide.sweet-modal-overlay .sweet-modal {
    width: min(1080px, calc(100vw - var(--fq-modal-side) - 48px)) !important; max-width: 1080px !important; border-radius: 14px !important;
    left: calc(50% + var(--fq-modal-side) / 2) !important;
}
html[dir="rtl"] body .fd-modal-wide.sweet-modal-overlay .sweet-modal { left: calc(50% - var(--fq-modal-side) / 2) !important; }
html body .fd-modal-wide.sweet-modal-overlay .sweet-modal .sweet-content { overflow-x: hidden !important; }
/* one 4-column grid per section; long fields take two columns */
html body .fd-modal.fd-modal-wide .fd-grid,
html body .fd-modal.fd-modal-wide .fd-grid.fd-grid-2 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 14px 18px !important; }
html body .fd-modal.fd-modal-wide .fd-col-span-2,
html body .fd-modal.fd-modal-wide .fd-col-span-3 { grid-column: span 2 !important; }
html body .fd-modal.fd-modal-wide .fd-col-full,
html body .fd-modal.fd-modal-wide .fd-col-span-full { grid-column: 1 / -1 !important; }
/* sections: a 1px divider between them, none above the first */
html body .fd-modal.fd-modal-wide .fd-modal-section { margin: 0 !important; padding: 16px 0 20px !important; border-bottom: 0 !important; border-top: 0; }
html body .fd-modal.fd-modal-wide .fd-modal-section ~ .fd-modal-section { border-top: 1px solid #e6e8ec !important; }
html body .fd-modal.fd-modal-wide .fd-modal-section:not(.fd-modal-section ~ .fd-modal-section) { padding-top: 0 !important; }
/* top action row: the passport / visa import button and its note on one line */
html body .fd-modal.fd-modal-wide .fd-import-row { margin-bottom: 18px !important; }
html body .fd-modal.fd-modal-wide .document_import > .flex,
html body .fd-modal.fd-modal-wide .document_import_row { display: flex !important; align-items: center; gap: 14px; flex-wrap: wrap; }
html body .fd-modal.fd-modal-wide .document_import_hint { margin: 0 !important; flex: 1 1 220px; min-width: 0; white-space: normal !important; overflow-wrap: anywhere; }
/* footer: buttons on the end side */
html body .fd-modal-wide.sweet-modal-overlay .sweet-modal .sweet-buttons { display: flex; justify-content: flex-end; padding: 14px 24px 22px !important; }
html body .fd-modal.fd-modal-wide .fd-modal-actions { gap: 10px; margin-inline-start: auto; }
@media (max-width: 900px) {
  html body .fd-modal.fd-modal-wide .fd-grid,
  html body .fd-modal.fd-modal-wide .fd-grid.fd-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 560px) {
  html body .fd-modal.fd-modal-wide .fd-grid,
  html body .fd-modal.fd-modal-wide .fd-grid.fd-grid-2 { grid-template-columns: minmax(0, 1fr) !important; }
  html body .fd-modal.fd-modal-wide .fd-col-span-2,
  html body .fd-modal.fd-modal-wide .fd-col-span-3,
  html body .fd-modal.fd-modal-wide .fd-col-full,
  html body .fd-modal.fd-modal-wide .fd-col-span-full { grid-column: auto !important; }
}

/* -----------------------------------------------------------------------------------------------------
   26. 2026-11-19 POLISH BATCH (presentation only, every module; no rebuild)
   ----------------------------------------------------------------------------------------------------- */

/* Units Housing, Arrivals / Departures today: Print is a #F15E5A button with a white printer, as the other buttons */
#nova .tools > a.print {
    width: 34px !important; height: 34px !important; border-radius: 10px;
    background-color: var(--fq-one) !important; background-size: 18px 18px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='19.339' height='19.339' viewBox='0 0 19.339 19.339'%3E%3Cpath d='M17.471,17.471v1.934a1.934,1.934,0,0,1-1.934,1.934H7.8a1.934,1.934,0,0,1-1.934-1.934V17.471H3.934A1.934,1.934,0,0,1,2,15.537v-5.8A1.94,1.94,0,0,1,3.934,7.8H5.868V3.934A1.94,1.94,0,0,1,7.8,2h7.735a1.934,1.934,0,0,1,1.934,1.934V7.8H19.4a1.934,1.934,0,0,1,1.934,1.934v5.8A1.934,1.934,0,0,1,19.4,17.471Zm0-1.934H19.4v-5.8H3.934v5.8H5.868V13.6A1.94,1.94,0,0,1,7.8,11.669h7.735A1.934,1.934,0,0,1,17.471,13.6ZM15.537,7.8V3.934H7.8V7.8ZM7.8,13.6v5.8h7.735V13.6Z' transform='translate(-2 -2)' fill='%23ffffff'/%3E%3C/svg%3E") !important;
}
#nova .tools > a.print:hover { background-color: var(--fq-one-hover) !important; }

/* Reservations Management: space between the title and "Show filters"; with the filters hidden the
   Reservations / Unassigned toggle sits in the middle of its band (the empty filter body is not drawn) */
#nova #reservations_management_page .rm-title-row { display: flex; align-items: center; gap: 16px; }
#nova #reservations_management_page .reservations_tabs { padding-block: 14px !important; }
#nova #reservations_management_page .content_page.fq-card__body:has(> .filter_area[style*="display: none"]) { display: none; }
/* reservation number column: a gap between the number and the main-reservation (group) icon */
#nova .main_reservations_table .table tbody tr td .res_number { gap: 8px; }
#nova .main_reservations_table .table tbody tr td .res_number svg { margin: 0 !important; flex: none; }

/* every reset-filters button in #F15E5A, as on Units Housing (white icon) */
#nova .reset_filters button,
#nova button.reset_button[aria-label],
#nova .item_button.reset button,
#nova button.btn_reset {
    background-color: var(--fq-one) !important; border-color: var(--fq-one) !important; color: #FFFFFF !important;
}
#nova .reset_filters button:hover:not(:disabled),
#nova button.reset_button[aria-label]:hover:not(:disabled),
#nova .item_button.reset button:hover:not(:disabled),
#nova button.btn_reset:hover:not(:disabled) { background-color: var(--fq-one-hover) !important; border-color: var(--fq-one-hover) !important; }
#nova :is(button.reset_button[aria-label], .item_button.reset button, button.btn_reset) :is(i, svg) { color: #FFFFFF !important; }

/* breadcrumb header icon (the card the layout script adds to Nova pages: Evaluations, Services Category, ...)
   in the same red as Units Housing, not black */
#nova .fq-crumb-icon { color: var(--fq-icon) !important; }
#nova .fq-crumb-icon svg [stroke]:not([stroke="none"]), #nova .fq-crumb-icon svg[stroke]:not([stroke="none"]) { stroke: var(--fq-icon) !important; }

/* Customer reviews: the Evaluation score chip in the brand orange instead of navy */
#nova #customer_reviews_page .eval_chip { background: var(--fq-one) !important; border-color: var(--fq-one) !important; color: #FFFFFF !important; }

/* Services Category list: the action buttons centred in their column */
#nova div[dusk="services-categories-index-component"] table[data-testid="resource-table"] tbody tr td.td-fit:last-child { text-align: center !important; }
#nova div[dusk="services-categories-index-component"] table[data-testid="resource-table"] tbody tr td.td-fit:last-child > div { display: flex !important; justify-content: center !important; width: 100%; }

/* Rate Management (simple home): the card icons in the header icon's red; the done step keeps its circle, white tick */
#nova #rate-management-page .rm2-home-icon,
#nova #rate-management-page .rm2-home-icon i { color: var(--fq-icon) !important; }
#nova #rate-management-page .rm2-check-item.is-done .rm2-check-n,
#nova #rate-management-page .rm2-check-item.is-done .rm2-check-n i { color: #FFFFFF !important; }

/* HRM filter rows (Employees: search, status, department): the fields share the row in equal widths */
#nova .fq-theme .hr-filters > :is(input[type="search"], select.form-control) { flex: 1 1 0; min-width: 12rem !important; max-width: 24rem; }
#nova .fq-theme .hr-filters > .flex-1:empty { flex: 0 0 0; }

/* Reports Plus / main dashboard section bar: under Nova's modal backdrop (z-20), so an open modal hides it */
#nova .fq-secnav { z-index: 15 !important; }

/* ---- the PMS segmented toggle, in the Owner app design (white thumb on a warm well) ---------------------------
   well #EDEBE6 with 4px padding, the chosen option a raised white pill with a hairline border, navy text;
   the others muted. Night Audit and Rate Management Simple / Advanced, Reservations / Unassigned, the
   search-criteria radios, Events, CRM, the dashboards' period / view toggles and the group-report switches. */
#nova #reservations_management_page .reservations_tabs .tabs,
#nova .nr-seg,
#nova .na-mode-switch,
#nova .rm-segmented,
#nova .bq-segmented,
#nova .crm-segmented,
#nova .rpt-gd-seg,
#nova .segmented,
#nova .fq-toggle {
    background: #EDEBE6 !important; border: 0 !important; border-radius: 12px !important; padding: 4px !important; gap: 2px !important; box-shadow: none !important;
}
#nova #reservations_management_page .reservations_tabs .tabs > a,
#nova .nr-seg label p,
#nova .na-mode-switch .na-mode-option,
#nova .rm-segmented > .btn,
#nova .bq-segmented > :is(button, a),
#nova .crm-segmented > :is(button, a),
#nova .rpt-gd-seg .rpt-gd-seg-btn,
#nova .segmented > .segment,
#nova .fq-toggle > button {
    background: transparent !important; border: 1px solid transparent !important; border-radius: 9px !important; box-shadow: none !important;
    color: #76807F !important; font-weight: 500 !important;
}
#nova #reservations_management_page .reservations_tabs .tabs > a:hover,
#nova .na-mode-switch .na-mode-option:hover,
#nova .rm-segmented > .btn:hover,
#nova .bq-segmented > :is(button, a):hover,
#nova .crm-segmented > :is(button, a):hover,
#nova .rpt-gd-seg .rpt-gd-seg-btn:hover,
#nova .segmented > .segment:hover,
#nova .fq-toggle > button:hover { color: #262E43 !important; }
#nova #reservations_management_page .reservations_tabs .tabs > a.active,
#nova .nr-seg input:checked ~ p,
#nova .na-mode-switch .na-mode-option.is-on,
#nova .rm-segmented > .btn.is-on,
#nova .bq-segmented > .is-active,
#nova .crm-segmented > .is-active,
#nova .rpt-gd-seg .rpt-gd-seg-btn.is-active,
#nova .segmented > .segment.active,
#nova .fq-toggle > button[aria-pressed="true"] {
    background: #FFFFFF !important; border-color: #ECE9E3 !important; color: #262E43 !important; font-weight: 600 !important;
    box-shadow: 0 1px 2px rgba(38, 46, 67, .06) !important;
}

/* Units list (/resources/units): the Category column's link in the table's dark text colour, still bold */
#nova #all_units_page table.fq-table tbody td a[href*="/resources/unit-categories/"] { color: var(--fq-text) !important; font-weight: 700 !important; }
#nova #all_units_page table.fq-table tbody td a[href*="/resources/unit-categories/"]:hover { color: var(--fq-text) !important; text-decoration: underline; }

/* every reset-filters button the same rounded square (some modules drew it as a full circle) */
#nova .reset_filters button,
#nova .fq-card.fq-card .fq-card__body .fq-filter-grid .reset_filters button,
#nova [data-tour="un-housing"] .reset_filters button,
#nova button.reset_button[aria-label],
#nova .item_button.reset button,
#nova button.btn_reset { border-radius: 8px !important; }

/* "Compare with last year" when on: the warm #EDEBE6 of the period toggle with navy text, on the main dashboard
   as on Reports Plus (its small switch stays coral) */
#nova .fq-chip[aria-pressed="true"] { background: #EDEBE6 !important; border-color: #EDEBE6 !important; color: #262E43 !important; }

/* ---- top bar and footer (approved look 2026-11-19): plain coral, the brand dots and pills in full colour on the
   end edge only (right in English, left in Arabic), at half strength against that edge and fading out towards
   the middle of the bar (960x48 art: 60 x 3 cells, drawn at the bar's height, so 20x the height wide).
   Replaces the faint end-edge art above. */
.fdq-topbar, .fdq-footer {
    background-color: var(--fq-one) !important;
    background-image: url('/brand/bar-start-art-rtl.svg') !important;
    background-repeat: no-repeat !important;
    background-position: right center !important;
    background-size: auto 100% !important;
}
[dir="rtl"] .fdq-topbar, [dir="rtl"] .fdq-footer {
    background-image: url('/brand/bar-start-art.svg') !important;
    background-position: left center !important;
}
/* footer logo: the identity's dark-background logo (white wordmark, coral door-hanger mark with a white dot,
   logo-coral-mark-footer.svg) straight on the navy footer, no plate */
.fdq-footer .fdq-footer__logo,
[dir="rtl"] .fdq-footer .fdq-footer__logo {
    box-sizing: content-box; height: 30px; width: auto; padding: 0; background: none; border-radius: 0; box-shadow: none;
}
@media (max-width: 767.98px) {
    .fdq-footer { background-image: none !important; }
}

/* ---- top bar buttons on the patterned end of the bar (2026-11-19): New Booking / New Group Booking keep their
   white outline, drawn brighter and a little thicker so it holds against the light dots (no fill, no shadow) */
#nova .fdq-topbar .fdq-btn.fdq-btn--outline:not(#fq-x1):not(#fq-x2) {
    border: 2px solid #FFFFFF !important; color: #FFFFFF !important; box-shadow: none !important;
    /* a faint white tint inside keeps the dots from showing through, so the white line reads as crisp as the bell */
    background: rgba(255, 255, 255, .14) !important;
}
#nova .fdq-topbar .fdq-btn.fdq-btn--outline:not(#fq-x1):not(#fq-x2):hover { background: rgba(255, 255, 255, .24) !important; }
/* the icons on the right (support, settings, activity log, feedback, QR code, website): their own white lines drawn a
   little heavier (a white stroke round each white shape), so they read as clearly as the bell; no ring, no plate */
#nova .fdq-topbar .fdq-topbar__end .fdq-iconbtn svg :is(path, circle, rect, polygon, ellipse):is([fill="#fff"], [fill="#ffffff"], [fill="#FFF"], [fill="#FFFFFF"], [fill="white"]) {
    stroke: #FFFFFF; stroke-width: .9px; stroke-linejoin: round; paint-order: stroke;
}
/* the bell is drawn with a stroke already: a touch heavier to match */
#nova .fdq-topbar .fdq-topbar__end .notification-bell svg path { stroke-width: 2.3px; }

/* ---- Financial Management landing cards (/financial-management): compact, as the Units Management top tab cards.
   Same background, radius, shadow and icons; only size, spacing and type change. 5 / 3 / 1 columns. */
#nova #financials_page {
    display: grid !important; grid-template-columns: repeat(5, minmax(0, 1fr)) !important; grid-gap: 16px !important; gap: 16px !important;
}
@media (max-width: 1279.98px) { #nova #financials_page { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (max-width: 767.98px) { #nova #financials_page { grid-template-columns: minmax(0, 1fr) !important; } }
#nova #financials_page > a { display: block; min-width: 0; height: 100%; }
#nova #financials_page .financial_item { height: 100%; }
#nova #financials_page .financial_item .setting {
    height: 100%; min-height: 0 !important; padding: 14px 18px !important; align-items: center !important;
}
#nova #financials_page .icon_item {
    flex: 0 0 28px; width: 28px; height: 28px; margin: 0 !important; margin-inline-end: 14px !important;
    display: flex; align-items: center; justify-content: center;
}
#nova #financials_page .icon_item :is(img, img.fm-3d-icon, svg) { width: 28px !important; height: 28px !important; object-fit: contain; }
#nova #financials_page .fm-card-text { min-width: 0; }
#nova #financials_page .fm-card-text .title {
    font-family: 'Montserrat', var(--fq-font-body) !important; font-size: 15px !important; font-weight: 500 !important;
    line-height: 19px !important; color: #262E43 !important; margin: 0;
}
#nova #financials_page .fm-card-text .desc {
    font-family: 'Montserrat', var(--fq-font-body) !important; font-size: 13px !important; font-weight: 400 !important;
    line-height: 18px !important; color: #555555 !important; margin: 4px 0 0;
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; text-overflow: ellipsis;
}

/* Units Housing and the Units list: no extra 64px on the inline end, so the gap on both sides is the same, as on the
   Reservations Table (the floating email / assistant buttons sit over the page edge there too) */
#nova [data-tour="un-housing"][data-tour="un-housing"][data-tour="un-housing"][data-tour="un-housing"] { padding-inline-end: 0 !important; }
body.fq-units-index #nova [dusk="units-index-component"][dusk="units-index-component"] { padding-inline-end: 0 !important; }

/* Report Library cards in POS Pro, Housekeeping, Maintenance, Inventory and Purchasing: the favourite star in white */
#nova .rpt-module-reports:is([data-module="pos"], [data-module="housekeeping"], [data-module="maintenance"], [data-module="inventory"], [data-module="purchasing"]) .rpt-rc .rpt-star,
#nova .rpt-module-reports:is([data-module="pos"], [data-module="housekeeping"], [data-module="maintenance"], [data-module="inventory"], [data-module="purchasing"]) .rpt-rc .rpt-star i { color: #FFFFFF !important; }

/* PMS Reports filters (every report's Filters card): every field the same height, dates, dropdowns, text and number
   inputs alike (the date fields were shorter than the dropdowns) */
#nova .rpt-filters .rpt-field :is(input.form-control, select.form-control, .rpt-select-trigger.form-control, .rpt-select-trigger) {
    box-sizing: border-box !important; height: 44px !important; min-height: 44px !important; max-height: 44px !important;
    padding-top: 0 !important; padding-bottom: 0 !important;
}
#nova .rpt-filters .rpt-field .rpt-select-trigger { display: flex !important; align-items: center !important; }

/* PMS Reports filters: the fields always share the full width of the card (as Arrivals and Checked in Today's three
   do), however many a report has; each at least 200px, wrapping to a new row when they no longer fit */
#nova .rpt-filters .rpt-filters-grid { display: flex !important; flex-wrap: wrap; gap: 12px 14px; }
#nova .rpt-filters .rpt-filters-grid > .rpt-field { flex: 1 1 200px; min-width: 0; width: auto !important; }

/* New group reservation: "Add Individual" exactly as "Add Company" beside it, whose look comes from Calender's
   nr-page.scss (.companies_component .label_with_button .nr-add-company: 28px high, 0 10px, radius 8, coral, white
   12px / 500, a 14px + icon with a 5px gap). The individual button has no class, so its + is drawn here; the selector
   is as strong as nr-page.scss's and only reaches the button in the company / individual search row. */
html body #nova #new_reservation_page#new_reservation_page#new_reservation_page.nr-page .search_company > .label_with_button > button:not([class]) {
    display: inline-flex !important; align-items: center !important; gap: 5px !important;
    min-width: 0 !important; height: 28px !important; padding: 0 10px !important;
    border-radius: 8px !important; border: 0 !important; background: #F15E5A !important; color: #fff !important;
    font-size: 12px !important; font-weight: 500 !important; line-height: 1 !important; white-space: nowrap; box-shadow: none !important;
}
html body #nova #new_reservation_page#new_reservation_page#new_reservation_page.nr-page .search_company > .label_with_button > button:not([class]):hover { background: #bf322d !important; }
html body #nova #new_reservation_page#new_reservation_page#new_reservation_page.nr-page .search_company > .label_with_button > button:not([class])::before {
    content: ""; flex: 0 0 14px; width: 14px; height: 14px; background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* =====================================================================================================
   27. DESIGN TOKENS + IDENTITY ROUND (2026-11-20, CSS only, kept last on purpose)
   One place for the shared sizes: change a value here and every rule that reads it follows (the button and
   badge rules of sections 23-26 read these too). Colours: --fq-one / --fq-one-hover (section 23) is the one
   button and badge colour; the identity palette is in section 1 (--fq-coral, --fq-navy, --fq-warm, --fq-muted,
   --fq-peach, plus the pattern colours --fq-teal, --fq-ice, --fq-salmon). Art: public/brand/*-art*.svg, drawn
   from the Identity Guide pattern by scripts/brand/identity-art.py.
   ===================================================================================================== */
:root {
    /* type */
    --fq-fs-title: 13px;          /* titles: card titles and the sidebar menu */
    --fq-fs-button: 12px;         /* button labels */
    --fq-fs-body: 12px;           /* body text */
    --fq-fs-badge: 11px;          /* badge / pill labels */
    /* buttons */
    --fq-btn-h: 34px;
    --fq-btn-px: 14px;
    --fq-btn-radius: 10px;
    --fq-btn-weight: 600;
    /* badges */
    --fq-badge-h: 22px;
    /* top bar and footer: the sidebar navy */
    --fq-bar-bg: var(--fq-navy);
    /* navy-band cards (Units Housing reservation card, Reports Plus and Report Library cards) */
    --fq-ncard-radius: 18px;      /* card corners */
    --fq-ncard-curve: 26px;       /* the curve where the navy band meets the white */
    --fq-ncard-strip: 6px;        /* status / category strip on the start edge */
    --fq-ncard-pad-bottom: 14px;  /* white space under the button */
    --fq-ncard-shadow: 0 4px 14px rgba(20, 30, 40, .10), 0 1px 3px rgba(20, 30, 40, .08);
    --fq-ncard-shadow-hover: 0 8px 22px rgba(20, 30, 40, .16), 0 2px 5px rgba(20, 30, 40, .10);
    /* identity art */
    --fq-art-side: url('/brand/sidebar-art.svg');
    --fq-art-card: url('/brand/card-art.svg');   /* lighter: unit and report cards */
    --fq-art-band: url('/brand/band-art.svg');
}
[dir="rtl"] {
    --fq-art-side: url('/brand/sidebar-art-rtl.svg');
    --fq-art-card: url('/brand/card-art-rtl.svg');
    --fq-art-band: url('/brand/band-art-rtl.svg');
}

/* (a) font sizes: body text 12, titles (card titles, sidebar menu) 13; buttons 12 come from section 23 via --fq-fs-button */
body, #nova { font-size: var(--fq-fs-body); }
#nova :where(p, label, td, th, dd, dt, input, select, textarea, .form-control) { font-size: var(--fq-fs-body); }
.fdq-sidebar .sidebar-label, .fdq-nav .sidebar-label, .fdq-nav a { font-size: var(--fq-fs-title) !important; }
#nova :is(.fq-card__title, .fdq-card__title, .fq-card-title, .fd-card-title, .fqv-card-title, .nr-card-title, .fq-tab-card-title,
    .oa-card__title, .cashier_card_title, .pos-tile-title, .pos-viz-card-title, .rpt-chart-card-title, .ops_card_title, .msg-card-title,
    .ac-mcard-title, .title-card, .rpt-report-title, #financials_page .fm-card-text .title) { font-size: var(--fq-fs-title) !important; }

/* (b) top bar and footer: the sidebar navy (the identity art stays on the end edge) */
.fdq-topbar, .fdq-footer { background-color: var(--fq-bar-bg) !important; }

/* (c) identity art where it was drawn by script: dashboard heads (hero, top band, announcements) and the
   Arrivals / Departures card heads show the art file instead of the generated dots */
#nova .fq-pattern > svg { display: none !important; }
#nova .fq-pattern, #nova .ad-art {
    background-image: var(--fq-art-band) !important; background-repeat: no-repeat !important;
    background-position: right center !important; background-size: auto 100% !important;
}
[dir="rtl"] #nova .fq-pattern, [dir="rtl"] #nova .ad-art { background-position: left center !important; }

/* (d) Reports Plus and Report Library cards: the Units Housing reservation card. Navy band with the identity art at
   the top, curving into white; the "Open" button sits on the joint, half on the navy and half on the white. */
#nova :is(.reports-plus, .rpt-module-reports) .rpt-rc {
    position: relative; overflow: hidden; border-radius: var(--fq-ncard-radius); background: #FFFFFF;
    box-shadow: var(--fq-ncard-shadow);
}
#nova :is(.reports-plus, .rpt-module-reports) a.rpt-rc:hover { box-shadow: var(--fq-ncard-shadow-hover); }
#nova :is(.reports-plus, .rpt-module-reports) .rpt-rc::before { width: var(--fq-ncard-strip); z-index: 3; }
#nova :is(.reports-plus, .rpt-module-reports) .rpt-rc::after {
    content: ""; position: absolute; top: 0; inset-inline: 0; z-index: 0; pointer-events: none;
    bottom: calc(var(--fq-ncard-pad-bottom) + var(--fq-btn-h) / 2);
    border-radius: 0 0 var(--fq-ncard-curve) var(--fq-ncard-curve);
    background-color: var(--fq-navy); background-image: var(--fq-art-card); background-repeat: no-repeat;
    background-position: right -400px; background-size: 264px auto;
}
[dir="rtl"] #nova :is(.reports-plus, .rpt-module-reports) .rpt-rc::after { background-position: left -400px; }
#nova :is(.reports-plus, .rpt-module-reports) .rpt-rc-head { position: relative; z-index: 1; background: transparent; }
#nova :is(.reports-plus, .rpt-module-reports) .rpt-rc-head::after { display: none; }
#nova :is(.reports-plus, .rpt-module-reports) .rpt-rc-foot {
    position: relative; z-index: 1; background: transparent; padding-top: 0; padding-bottom: var(--fq-ncard-pad-bottom);
}
#nova :is(.reports-plus, .rpt-module-reports) .rpt-rc-btn:not(.is-off) {
    height: var(--fq-btn-h); min-height: var(--fq-btn-h); padding: 0 var(--fq-btn-px); border-radius: var(--fq-btn-radius);
    font-size: var(--fq-fs-button); font-weight: var(--fq-btn-weight);
    background: var(--fq-one) !important; color: #FFFFFF !important;
}
#nova :is(.reports-plus, .rpt-module-reports) .rpt-rc:hover .rpt-rc-btn:not(.is-off) { background: var(--fq-one-hover) !important; }
#nova :is(.reports-plus, .rpt-module-reports) .rpt-rc-btn.is-off {
    height: var(--fq-btn-h); min-height: var(--fq-btn-h); border-radius: var(--fq-btn-radius); font-size: var(--fq-fs-button);
    background: var(--fq-warm); color: var(--fq-muted-text); border: 1px solid var(--fq-border);
}
#nova :is(.reports-plus, .rpt-module-reports) .rpt-rc.is-disabled::after { filter: grayscale(.85); }

/* (e) Reports Plus and Report Library colours: the identity palette only. Each report category keeps a colour of
   its own, moved to the nearest identity colour (strip on the card edge, light label on the navy). The category
   colours are set on each card by script, so they are matched here by value. */
#nova :is(.reports-plus, .rpt-module-reports) .rpt-rc { --rc-btn: var(--fq-one) !important; }
#nova :is(.reports-plus, .rpt-module-reports) .rpt-rc[style*="#2563C9"] { --rc-strip: var(--fq-ice) !important; --rc-label: var(--fq-ice) !important; }
#nova :is(.reports-plus, .rpt-module-reports) .rpt-rc[style*="#B8561E"] { --rc-strip: var(--fq-peach) !important; --rc-label: var(--fq-peach) !important; }
#nova :is(.reports-plus, .rpt-module-reports) .rpt-rc[style*="#23805A"] { --rc-strip: var(--fq-teal) !important; --rc-label: var(--fq-ice) !important; }
#nova :is(.reports-plus, .rpt-module-reports) .rpt-rc[style*="#D63B3B"] { --rc-strip: var(--fq-coral) !important; --rc-label: var(--fq-salmon) !important; }
#nova :is(.reports-plus, .rpt-module-reports) .rpt-rc[style*="#8A4BBF"] { --rc-strip: var(--fq-salmon) !important; --rc-label: var(--fq-salmon) !important; }
#nova :is(.reports-plus, .rpt-module-reports) .rpt-rc[style*="#1F7F8C"] { --rc-strip: var(--fq-teal) !important; --rc-label: var(--fq-peach) !important; }
#nova :is(.reports-plus, .rpt-module-reports) .rpt-rc[style*="#6B7770"] { --rc-strip: var(--fq-muted) !important; --rc-label: var(--fq-warm) !important; }
#nova :is(.reports-plus, .rpt-module-reports) .rpt-rc[style*="#F15E5A"] { --rc-strip: var(--fq-coral) !important; --rc-label: var(--fq-salmon) !important; }
#nova :is(.reports-plus, .rpt-module-reports) .rpt-rc.is-disabled { --rc-strip: var(--fq-muted) !important; }
/* the other non-identity colours on these screens (blue selection, amber stars and notes, blue focus rings) */
#nova :is(.reports-plus, .rpt-module-reports) .rpt-category.is-active { background: var(--fq-coral-soft) !important; color: var(--fq-coral-strong) !important; }
#nova :is(.reports-plus, .rpt-module-reports) :is(.rpt-star-icon, .rpt-star:hover, .rpt-star.is-on):not(.rpt-rc .rpt-star) { color: var(--fq-coral) !important; }
#nova :is(.reports-plus, .rpt-module-reports) .rpt-grp-key-list summary { color: var(--fq-navy) !important; }
#nova :is(.reports-plus, .rpt-module-reports) .rpt-progress { background: var(--fq-coral-soft) !important; }
#nova :is(.reports-plus, .rpt-module-reports) .rpt-switch input:focus + .rpt-switch-track { box-shadow: var(--fq-focus-ring) !important; }

/* (f) sidebar and top bar art a little lighter (2026-11-20): their own files, so the footer, Units Housing cards,
   report cards and login keep the shared art */
.fdq-sidebar, .fdq-sidebar .fdq-sidebar__brand { background-image: url('/brand/sidebar-nav-art.svg'); }
[dir="rtl"] .fdq-sidebar, [dir="rtl"] .fdq-sidebar .fdq-sidebar__brand { background-image: url('/brand/sidebar-nav-art-rtl.svg'); }
.fdq-sidebar-collapsed .fdq-sidebar .fdq-sidebar__brand { background-image: none; }
.fdq-topbar { background-image: url('/brand/topbar-start-art-rtl.svg') !important; }
[dir="rtl"] .fdq-topbar { background-image: url('/brand/topbar-start-art.svg') !important; }

/* =====================================================================================================
   28. APPEARANCE: SYSTEM / LIGHT / DARK (2026-11-20)
   The top bar menu (layout.blade.php, .fdq-theme) sets <html data-fq-theme="light|dark">; the choice is kept per
   browser ("fdq.theme" in localStorage), System follows the device. Dark mode uses only the five colours of the
   Identity Guide colour page: navy #262E43, coral #F15F5A, warm #EDEBE6, grey #889594, peach #FCC5A9. Deeper or
   lighter surfaces are those colours mixed with each other (warm or coral over navy), never another hue.
   To change the dark look, change the tokens in the :root[data-fq-theme="dark"] block below.
   ===================================================================================================== */
/* the menu (both themes) */
.fdq-theme { position: relative; flex: none; }
.fdq-theme .fdq-iconbtn > svg.fdq-theme__ico { display: none !important; }
[data-fq-theme="light"] .fdq-theme .fdq-iconbtn > svg.fdq-theme__ico--light, [data-fq-theme="dark"] .fdq-theme .fdq-iconbtn > svg.fdq-theme__ico--dark,
html:not([data-fq-theme]) .fdq-theme .fdq-iconbtn > svg.fdq-theme__ico--light { display: block !important; }
.fdq-theme__menu {
    display: none; position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 60; min-width: 168px;
    padding: 6px; border-radius: var(--fq-btn-radius); background: var(--fq-surface); border: 1px solid var(--fq-border);
    box-shadow: var(--fq-shadow-lg);
}
.fdq-theme-open .fdq-theme__menu { display: block; }
.fdq-topbar .fdq-theme__opt,
.fdq-theme__opt {
    display: flex; align-items: center; gap: 10px; width: 100%; height: var(--fq-btn-h); padding: 0 10px; border: 0;
    border-radius: 8px; background: transparent; color: var(--fq-text); font-size: var(--fq-fs-body); font-weight: 600;
    text-align: start; cursor: pointer;
}
.fdq-theme__opt svg { width: 16px; height: 16px; flex: none; }
.fdq-topbar .fdq-theme__opt:hover { background: var(--fq-surface-2); }
.fdq-topbar .fdq-theme__opt[aria-checked="true"] { background: var(--fq-primary-soft); color: var(--fq-coral); }
.fdq-theme__opt:focus-visible, .fdq-theme__btn:focus-visible { outline: none; box-shadow: var(--fq-focus-ring); }

/* dark: the tokens (every rule that reads them follows) */
:root[data-fq-theme="dark"] {
    color-scheme: dark;
    --fq-id-navy: #262E43; --fq-id-coral: #F15F5A; --fq-id-warm: #EDEBE6; --fq-id-grey: #889594; --fq-id-peach: #FCC5A9;
    /* translucent identity washes (2026-11-21): fills that read over any dark surface */
    --fq-peach-wash: color-mix(in srgb, var(--fq-id-peach) 14%, transparent);
    --fq-peach-line: color-mix(in srgb, var(--fq-id-peach) 40%, transparent);
    --fq-coral-wash: color-mix(in srgb, var(--fq-id-coral) 14%, transparent);
    --fq-coral-line: color-mix(in srgb, var(--fq-id-coral) 40%, transparent);
    --fq-grey-wash: color-mix(in srgb, var(--fq-id-grey) 24%, transparent);
    --fq-grey-line: color-mix(in srgb, var(--fq-id-grey) 28%, transparent);
    /* dark surface roles (2026-11-21, section 31) */
    --fq-dk-surface: color-mix(in srgb, var(--fq-id-grey) 14%, transparent);         /* generic container wash */
    --fq-dk-surface-strong: color-mix(in srgb, var(--fq-id-grey) 20%, transparent);  /* named components: chips, tabs, inputs, stat cards */
    --fq-dk-line: color-mix(in srgb, var(--fq-id-grey) 35%, transparent);            /* hairlines and borders */
    --fq-dk-track: color-mix(in srgb, var(--fq-id-grey) 18%, transparent);           /* progress and chart tracks */
    --fq-dk-active: var(--fq-id-coral);                                              /* selected segment, active tab */
    --fq-bg: #262E43;                 /* navy */
    --fq-surface: color-mix(in srgb, var(--fq-id-grey) 14%, var(--fq-id-navy));   /* gray-green over navy (opaque: menus, dialogs) */
    --fq-surface-2: color-mix(in srgb, var(--fq-id-grey) 22%, var(--fq-id-navy));
    --fq-surface-3: color-mix(in srgb, var(--fq-id-grey) 8%, var(--fq-id-navy));
    --fq-border: color-mix(in srgb, var(--fq-id-grey) 35%, var(--fq-id-navy));
    --fq-border-strong: color-mix(in srgb, var(--fq-id-grey) 50%, var(--fq-id-navy));
    --fq-text: #EDEBE6;               /* warm */
    --fq-text-muted: #B6BCB9;         /* grey + 45% warm: secondary writing reads at 5:1 or more */
    --fq-muted-text: #B6BCB9;
    --fq-text-inverse: #262E43;
    --fq-warm: color-mix(in srgb, var(--fq-id-grey) 22%, var(--fq-id-navy));   /* the light theme warm fills become gray-green */
    --fq-navy-soft: color-mix(in srgb, var(--fq-id-grey) 22%, var(--fq-id-navy));
    --fq-navy-hover: #42485A;
    --fq-primary: #F15F5A; --fq-coral-strong: #F15F5A;
    --fq-primary-hover: #F15F5A; --fq-coral-hover: #F15F5A;
    --fq-primary-soft: #473647;       /* navy + 16% coral */
    --fq-coral-soft: #473647;
    --fq-primary-tint: #6A3E4A;       /* navy + 33% coral */
    --fq-coral-tint: #6A3E4A;
    --fq-peach-soft: #4A4655;         /* navy + 18% peach */
    --fq-secondary: #EDEBE6; --fq-secondary-hover: #889594;
    /* states, identity colours only: danger coral, warning and info peach, success warm */
    --fq-success: #EDEBE6; --fq-success-soft: #383F52;
    --fq-warning: #FCC5A9; --fq-warning-fill: #FCC5A9; --fq-warning-soft: #4A4655;
    --fq-danger: #F15F5A; --fq-danger-soft: #473647;
    --fq-info: #FCC5A9; --fq-info-soft: #383F52;
    --fq-shadow-sm: 0 1px 2px rgba(38, 46, 67, .6);
    --fq-shadow: 0 4px 16px rgba(38, 46, 67, .7);
    --fq-shadow-lg: 0 16px 40px rgba(38, 46, 67, .8);
    --fq-ncard-shadow: 0 0 0 1px #42485A;
    --fq-ncard-shadow-hover: 0 0 0 1px #565B6A;
    /* Nova core variables */
    --white: #30374B; --black: #EDEBE6;
    --20: #2C3448; --30: #262E43; --40: #262E43; --50: #42485A; --60: #565B6A; --70: #B6BCB9; --80: #B6BCB9; --90: #EDEBE6;
    --90-half: rgba(237, 235, 230, .5);
    --logo: #EDEBE6; --sidebar-icon: #889594;
    --danger: #F15F5A; --danger-light: #473647; --danger-dark: #F15F5A;
    --success: #EDEBE6; --success-light: #383F52; --success-dark: #EDEBE6;
    --warning: #FCC5A9; --warning-light: #4A4655; --warning-dark: #FCC5A9;
    --info: #FCC5A9; --info-light: #383F52; --info-dark: #FCC5A9;
}

/* dark: page, shell and the common building blocks (cards, tables, forms, menus, dialogs) */
[data-fq-theme="dark"], [data-fq-theme="dark"] body, [data-fq-theme="dark"] #nova { background-color: var(--fq-bg); color: var(--fq-text); }
[data-fq-theme="dark"] .fdq-sidebar { box-shadow: inset -1px 0 0 var(--fq-border); }
[dir="rtl"][data-fq-theme="dark"] .fdq-sidebar { box-shadow: inset 1px 0 0 var(--fq-border); }
[data-fq-theme="dark"] .fdq-topbar { box-shadow: inset 0 -1px 0 var(--fq-border); }
[data-fq-theme="dark"] .fdq-footer { box-shadow: inset 0 1px 0 var(--fq-border); }
[data-fq-theme="dark"] #nova :is(h1, h2, h3, h4, h5, h6, .text-black, .text-90, .text-80) { color: var(--fq-text); }
[data-fq-theme="dark"] #nova :is(.text-70, .text-60, .text-muted, small) { color: var(--fq-text-muted); }
[data-fq-theme="dark"] #nova :is(.bg-white, .card, .card-header, .card-body, .card-footer, .modal-content, .modal-header,
    .modal-footer, .popover, .list-group-item, .panel, .box, .tab-content, .nav-tabs .nav-link.active) {
    background-color: var(--fq-surface) !important; color: var(--fq-text); border-color: var(--fq-border) !important;
}
[data-fq-theme="dark"] #nova :is(.bg-20, .bg-30, .bg-40, .bg-50, .bg-light, .bg-gray-100, .bg-gray-50) { background-color: var(--fq-surface-3) !important; }
[data-fq-theme="dark"] :is(.dropdown-menu, .dropdown-content, .multiselect__content-wrapper, .vs__dropdown-menu,
    .autocomplete-results, .flatpickr-calendar, .swal2-popup, .el-popper, .tooltip-inner) {
    background-color: var(--fq-surface-2) !important; color: var(--fq-text) !important; border-color: var(--fq-border) !important;
}
[data-fq-theme="dark"] :is(.dropdown-menu a, .dropdown-menu .dropdown-item, .dropdown-menu li) { color: var(--fq-text) !important; }
[data-fq-theme="dark"] :is(.dropdown-menu a, .dropdown-item):hover { background-color: var(--fq-border) !important; }
/* tables */
[data-fq-theme="dark"] #nova :is(table, .table) { color: var(--fq-text); background-color: transparent; }
[data-fq-theme="dark"] #nova :is(table, .table) :is(th, thead td) { background-color: var(--fq-surface-2) !important; color: var(--fq-text) !important; border-color: var(--fq-border) !important; }
[data-fq-theme="dark"] #nova :is(table, .table) td { border-color: var(--fq-border) !important; }
[data-fq-theme="dark"] #nova :is(table, .table) tbody tr { background-color: transparent; }
[data-fq-theme="dark"] #nova :is(table, .table) tbody tr:hover > td { background-color: var(--fq-surface-3); }
[data-fq-theme="dark"] #nova .table-striped tbody tr:nth-of-type(odd) { background-color: var(--fq-surface-3); }
/* form controls */
[data-fq-theme="dark"] #nova :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]), select, textarea,
    .form-control, .form-input, .form-select, .multiselect__tags, .multiselect__single, .multiselect__input, .vs__dropdown-toggle,
    .input-group-text, .custom-select) {
    background-color: var(--fq-surface-3) !important; color: var(--fq-text) !important; border-color: var(--fq-border-strong) !important;
}
[data-fq-theme="dark"] #nova :is(input, textarea)::placeholder { color: var(--fq-text-muted) !important; opacity: 1; }
[data-fq-theme="dark"] #nova :is(input, select, textarea, .form-control):disabled { background-color: var(--fq-surface-2) !important; color: var(--fq-text-muted) !important; }
[data-fq-theme="dark"] :is(.multiselect__option--highlight, .vs__dropdown-option--highlight) { background: var(--fq-coral) !important; color: var(--fq-id-warm) !important; }
[data-fq-theme="dark"] :is(.multiselect__option, .vs__dropdown-option, .vs__selected) { color: var(--fq-text); }
/* buttons that are white or light in the light theme */
[data-fq-theme="dark"] #nova :is(.btn-white, .btn-light, .btn-default:not(.btn-primary), .btn-outline-secondary, .btn-secondary) {
    background-color: var(--fq-surface-2) !important; color: var(--fq-text) !important; border-color: var(--fq-border-strong) !important;
}
/* borders and rules */
[data-fq-theme="dark"] #nova :is(hr, .border, .border-b, .border-t, .border-l, .border-r, .border-50, .border-40) { border-color: var(--fq-border) !important; }
/* dialogs outside #nova */
[data-fq-theme="dark"] :is(.swal2-title, .swal2-html-container, .swal2-content) { color: var(--fq-text) !important; }

/* dark: the forms design system (fandaqah-forms.css) and the module chart cards (.fqv) read variables */
:root[data-fq-theme="dark"] {
    --fd-ink: #EDEBE6; --fd-muted: #B6BCB9; --fd-border: #42485A; --fd-border-strong: #565B6A; --fd-surface: #30374B;
    --fd-page: #262E43; --fd-disabled-bg: #383F52; --fd-secondary-bg: #383F52; --fd-secondary-hover: #42485A;
    --fd-switch-off: #565B6A; --fd-input-bg: #2C3448; --fd-primary: #F15F5A; --fd-primary-hover: #F15F5A; --fd-danger: #F15F5A;
}

/* dark: the shared look of the new modules (.fq-theme: headers, tab cards, cards, forms, tables, chips) */
[data-fq-theme="dark"] #nova :is(.fq-header, .fq-tab-card, .fq-card, .fq-doc, .fq-doc-box, .bq-panel, .bq-stat, .ac-panel, .ac-mcard,
    .ac-step-card, .ac-next-card, .ac-page-head, .pur-prompt) {
    background: var(--fq-surface) !important; color: var(--fq-text); border-color: var(--fq-border) !important; box-shadow: none !important;
}
[data-fq-theme="dark"] #nova .fq-tab-card:hover { background: var(--fq-surface-2) !important; }
[data-fq-theme="dark"] #nova .fq-tab-card.is-active { background: var(--fq-surface-2) !important; box-shadow: inset 0 -3px 0 var(--fq-coral) !important; }
[data-fq-theme="dark"] #nova :is(.fq-card-title, .bq-panel-head, .fq-doc-table th, .fq-doc-table tfoot td, .fq-doc-table tr.is-total td) {
    background: var(--fq-surface-2) !important; color: var(--fq-text) !important; border-color: var(--fq-border) !important;
}
[data-fq-theme="dark"] #nova :is(.fq-tab-card-title, .fq-card-title, .fq-header h1, .fq-header h2, .fq-header h3) { color: var(--fq-text) !important; }
[data-fq-theme="dark"] #nova .fq-theme :is(.hk-table, .inventory-table, .hr-table, .fq-doc-table, table) td { background: transparent !important; color: var(--fq-text); }
[data-fq-theme="dark"] #nova .fq-theme :is(.hk-table, .inventory-table, .hr-table, table) tbody tr:hover td { background: var(--fq-surface-3) !important; }
[data-fq-theme="dark"] #nova .fq-theme :is(.hk-modal, .inventory-modal) > .bg-30,
[data-fq-theme="dark"] #nova .fq-theme :is(.hk-modal, .inventory-modal) .bg-30.px-6,
[data-fq-theme="dark"] #nova .fq-theme .modal .bg-20.rounded { background: var(--fq-surface-2) !important; }
[data-fq-theme="dark"] #nova .fq-theme :is(.hk-chip, .hk-badge, .inventory-badge, .hr-badge, .pur-switch button, .ac-count, .ac-state-chip, .ac-lang) {
    background: var(--fq-surface-2) !important; color: var(--fq-text) !important; border-color: var(--fq-border) !important;
}
[data-fq-theme="dark"] #nova :is(.fq-status.is-neutral, .fq-status.is-primary) { background: var(--fq-surface-2) !important; color: var(--fq-text) !important; }
[data-fq-theme="dark"] #nova .fq-status.is-warning { background: var(--fq-peach-soft) !important; color: var(--fq-id-peach) !important; }
[data-fq-theme="dark"] #nova .fq-status.is-danger { background: var(--fq-coral-soft) !important; color: var(--fq-coral) !important; }
[data-fq-theme="dark"] #nova .fq-theme :is(.bg-warning-light.text-warning-dark) { background: var(--fq-peach-soft) !important; color: var(--fq-id-peach) !important; }
[data-fq-theme="dark"] #nova .fq-theme :is(.bg-danger-light.text-danger-dark) { background: var(--fq-coral-soft) !important; color: var(--fq-coral) !important; }
[data-fq-theme="dark"] #nova .fq-theme :is(.btn-link, .btn-link.text-primary, .btn-link.text-success) { color: var(--fq-id-peach) !important; }
[data-fq-theme="dark"] #nova :is(.pur-note, .bq-note, .ac-hash, .ac-chapter) { background: var(--fq-surface-2) !important; color: var(--fq-text) !important; }

/* dark: main dashboard, Units Housing, Reports Plus and Report Library (their own component styles) */
[data-fq-theme="dark"] #nova :is(.fq-msgbar, .fq-secnav, .fq-secnav__links, .fq-toggle, .oa-kpi, .uh-tile, .image-container, .image-wrapper,
    .rpt-panel, .rpt-categories, .rpt-search, .uh-actions) {
    background: var(--fq-surface) !important; color: var(--fq-text); border-color: var(--fq-border) !important; box-shadow: none !important;
}
[data-fq-theme="dark"] #nova .fq-secnav { background: var(--fq-bg) !important; box-shadow: 0 1px 0 var(--fq-border) !important; }
[data-fq-theme="dark"] #nova :is(.fq-toggle, .fq-secnav__links) { background: var(--fq-surface-3) !important; }
[data-fq-theme="dark"] #nova :is(.fq-toggle, .fq-secnav__links) > :is(button, a) { color: var(--fq-text-muted) !important; background: transparent !important; }
[data-fq-theme="dark"] #nova :is(.fq-toggle, .fq-secnav__links) > :is(button, a):is(.is-active, .active, .on, [aria-pressed="true"], [aria-selected="true"], [aria-current]:not([aria-current="false"]), .router-link-exact-active) {
    background: var(--fq-dk-active) !important; color: var(--fq-id-warm) !important; box-shadow: none !important;
}
[data-fq-theme="dark"] #nova :is(.fq-toggle, .fq-secnav__links) > :is(button, a):is(.is-active, .active, .on, [aria-pressed="true"], [aria-selected="true"], [aria-current]:not([aria-current="false"]), .router-link-exact-active) * { color: inherit !important; }
[data-fq-theme="dark"] #nova .fq-chip { background: var(--fq-surface-2) !important; color: var(--fq-text) !important; }
[data-fq-theme="dark"] #nova :is(.oa-kpi__value, .oa-kpi__label, .oa-kpi__title, .fq-card__title) { color: var(--fq-text) !important; }
[data-fq-theme="dark"] #nova :is(.oa-kpi__text, .fq-cmp-note, .fq-card__caption, .oa-kpi__sub) { color: var(--fq-text-muted) !important; }
[data-fq-theme="dark"] #nova .fq-msgbar :is(.message, li) { background: transparent !important; color: var(--fq-text) !important; }
/* Units Housing reservation card and report cards: the white lower part follows the theme */
[data-fq-theme="dark"] #nova [data-tour="un-housing"] .uh-rooms .unit_item { background: var(--fq-surface) !important; }
[data-fq-theme="dark"] #nova :is(.reports-plus, .rpt-module-reports) .rpt-rc { background: var(--fq-surface) !important; }
[data-fq-theme="dark"] #nova :is(.reports-plus, .rpt-module-reports) .rpt-rc::after { box-shadow: 0 0 0 1px var(--fq-border); }

/* dark: other module surfaces and the text that kept its light-theme ink */
[data-fq-theme="dark"] #nova :is(.fqv-dial-disc, .pur-stat, .pur-kpi, .pos-chip, .pos-viz-tile, .pos-viz-card, .na-s-card, .na-s-hero,
    .crm-stat, .setting_item, .na-mode-switch) {
    background: var(--fq-surface) !important; color: var(--fq-text); border-color: var(--fq-border) !important; box-shadow: none !important;
}
[data-fq-theme="dark"] #nova :is(.na-s-hero.is-danger, .pur-kpi.is-danger, .pur-stat.is-danger) { background: var(--fq-coral-soft) !important; }
[data-fq-theme="dark"] #nova :is(.fq-tab-card-desc, .fq-header-subtitle, .fq-header-crumbs, .fq-header-crumbs a, .fq-header-crumbs span,
    .rpt-level span, .rpt-prefix, .rpt-search-label, .fm-card-text .desc, .ann-body p, .ann-body b) { color: var(--fq-text-muted) !important; }
[data-fq-theme="dark"] #nova :is(.rpt-category:not(.is-active) span, .rpt-sublevel span, .fm-card-text .title, .uh-actions__title) { color: var(--fq-text) !important; }
[data-fq-theme="dark"] #nova :is(.uh-actions__label, .uh-actions__hint) { color: var(--fq-text-muted) !important; }
[data-fq-theme="dark"] #nova .ann-body { border-top-color: var(--fq-border) !important; }
[data-fq-theme="dark"] #nova .ann-body::before { background: rgba(48, 55, 75, .9) !important; }
[data-fq-theme="dark"] #nova :is(.rpt-category-count, .rpt-count-pill, .oa-kpi__chip.is-flat, .uh-actions__tile) {
    background: var(--fq-surface-2) !important; color: var(--fq-text) !important; border-color: var(--fq-border) !important;
}
[data-fq-theme="dark"] #nova .rpt-category.is-active .rpt-category-count { background: var(--fq-coral) !important; color: var(--fq-id-warm) !important; }
/* dark: one hover wash for every row of the Reports Plus / Report Library sidebar (levels, sub-levels, reports and the
   Dashboards links). The light #f3f4f6 hover was tagged by the layout script (bh/bt = transparent), most visibly on the
   Dashboards entries, which are <a> links; the extra #fq-nw ids beat those tags. The selected row keeps its coral. */
[data-fq-theme="dark"] :is(body, #fq-nw#fq-nw#fq-nw#fq-nw#fq-nw#fq-nw#fq-nw) #nova :is(.reports-plus, .rpt-module-reports)
    :is(.rpt-level, .rpt-sublevel, .rpt-category:not(.is-active)):is(:hover, :focus-visible) {
    background-color: var(--fq-surface-2) !important;
}
[data-fq-theme="dark"] #nova .uh-meter { background: var(--fq-border) !important; }
[data-fq-theme="dark"] :is(.scroll_up, .scroll_down, .add_notes_popup) > button { background: var(--fq-surface-2) !important; color: var(--fq-text) !important; border-color: var(--fq-border) !important; }

/* dark: no white anywhere. The white token is the identity warm; whatever a screen still draws in white is marked
   by the layout script (data-fq-nw, data-fq-nwh while hovered) and changed here: text, icons and borders to warm,
   white surfaces to the raised navy (their navy writing to warm). */
:root[data-fq-theme="dark"] { --fq-white: #EDEBE6; --white-50: rgba(237, 235, 230, .5); }
[data-fq-theme="dark"] :is(body, #fq-nw#fq-nw#fq-nw#fq-nw#fq-nw#fq-nw) :is([data-fq-nw~="c"], [data-fq-nwh~="c"]) { color: #EDEBE6 !important; }
[data-fq-theme="dark"] :is(body, #fq-nw#fq-nw#fq-nw#fq-nw#fq-nw#fq-nw) :is([data-fq-nw~="f"], [data-fq-nwh~="f"]) { fill: #EDEBE6 !important; stop-color: #EDEBE6 !important; }
/* dark: writing on peach stays navy (warm on peach does not read) */
[data-fq-theme="dark"] :is(body, #fq-nw#fq-nw#fq-nw#fq-nw#fq-nw#fq-nw#fq-nw) :is(.units_counter, .units_counter *) { color: #262E43 !important; }

/* dark: reading colours as in other admin panels (2026-11-21). Secondary writing is the identity grey lifted toward warm
   (grey + 45% warm, set in the dark tokens above); writing that still fails 4.5:1 gets an identity tone from the
   layout script (flag tx, colour in --fq-nw-tc). Light mode is not affected. */
[data-fq-theme="dark"] :is(body, #fq-nw#fq-nw#fq-nw#fq-nw#fq-nw#fq-nw#fq-nw#fq-nw) :is([data-fq-nw~="tx"], [data-fq-nwh~="tx"]) { color: var(--fq-nw-tc) !important; }

/* =====================================================================================================
   29. UAT FIXES (2026-11-21)
   ===================================================================================================== */
/* (a) identity art lighter: the sidebar menu and top bar files are regenerated lighter (scripts/brand/identity-art.py);
   the footer and the dashboard hero get files of their own, so the other users of bar-start-art / band-art keep theirs */
.fdq-footer { background-image: url('/brand/footer-start-art-rtl.svg') !important; }
[dir="rtl"] .fdq-footer { background-image: url('/brand/footer-start-art.svg') !important; }
#nova .fq-hero .fq-pattern { background-image: url('/brand/hero-art.svg') !important; }
[dir="rtl"] #nova .fq-hero .fq-pattern { background-image: url('/brand/hero-art-rtl.svg') !important; }

/* (b) action buttons centred in their cell on every table: a last cell holding only text buttons (Soft close / Close,
   Edit / Delete), directly or in one wrapper. Icon cells (td.td-fit) keep their own alignment. */
#nova .fq-table tbody tr td:last-child:not(.td-fit):not(:only-child):has(> :is(.btn, button)):not(:has(> :not(.btn, button))) { text-align: center !important; }
#nova .fq-table tbody tr td:last-child:not(.td-fit):not(:only-child) > :only-child:is(div, span):has(> :is(.btn, button)):not(:has(> :not(.btn, button))) {
    display: flex !important; justify-content: center !important; align-items: center; flex-wrap: nowrap;
}
#nova .fq-table thead tr th:last-child:empty { text-align: center !important; }
/* Financial Settings term mapping: the GL account badge centred under its heading */
#nova .acc-ui1-table :is(th, td):nth-child(2) { text-align: center !important; }

/* (c) Safe Movement Report (/reports/safe): statistics at 13px, and the transaction tables fit their card
   (headings may wrap; the table scrolls inside the card when it still does not fit) */
#nova :is(#safe_movement_report_page, #safe_movement_report_page_table_card) .bonds_statistics .col_content li,
#nova :is(#safe_movement_report_page, #safe_movement_report_page_table_card) .bonds_statistics .col_content li :is(p, span) { font-size: 13px !important; }
#nova :is(#safe_movement_report_page, #safe_movement_report_page_table_card) .bonds_statistics .col_title { font-size: 13px !important; }
#nova :is(#safe_movement_report_page, #safe_movement_report_page_table_card) .bonds_row .col { min-width: 0; }
#nova :is(#safe_movement_report_page, #safe_movement_report_page_table_card) .bonds_row .col_content { min-width: 0; overflow: hidden; }
#nova :is(#safe_movement_report_page, #safe_movement_report_page_table_card) .bonds_row .table-responsive { overflow-x: auto !important; max-width: 100%; }
#nova :is(#safe_movement_report_page, #safe_movement_report_page_table_card) .bonds_row table { width: 100%; }
#nova :is(#safe_movement_report_page, #safe_movement_report_page_table_card) .bonds_row table :is(th, td) {
    font-size: 12px !important; white-space: normal !important; padding-inline: 8px !important;
}

/* (d) Credit Notes: names wrap inside their cell, the date columns are centred and stay inside theirs */
#nova #creditNotesManagement_table_card .fq-table tbody tr td:not(.td-fit) { white-space: normal !important; overflow-wrap: anywhere; word-break: normal; }
#nova #creditNotesManagement_table_card .fq-table :is(th, td):is(:nth-child(7), :nth-child(8), :nth-child(9), :nth-child(10)) { text-align: center !important; }
#nova #creditNotesManagement_table_card .credit-notes-table table thead th:nth-child(1)  { width: 6% !important; }
#nova #creditNotesManagement_table_card .credit-notes-table table thead th:nth-child(2)  { width: 6% !important; }
#nova #creditNotesManagement_table_card .credit-notes-table table thead th:nth-child(3)  { width: 7% !important; }
#nova #creditNotesManagement_table_card .credit-notes-table table thead th:nth-child(4)  { width: 16% !important; }
#nova #creditNotesManagement_table_card .credit-notes-table table thead th:nth-child(5)  { width: 10% !important; }
#nova #creditNotesManagement_table_card .credit-notes-table table thead th:nth-child(6)  { width: 8% !important; }
#nova #creditNotesManagement_table_card .credit-notes-table table thead th:nth-child(7)  { width: 11% !important; }
#nova #creditNotesManagement_table_card .credit-notes-table table thead th:nth-child(8)  { width: 11% !important; }
#nova #creditNotesManagement_table_card .credit-notes-table table thead th:nth-child(9)  { width: 8% !important; }
#nova #creditNotesManagement_table_card .credit-notes-table table thead th:nth-child(10) { width: 8% !important; }
#nova #creditNotesManagement_table_card .credit-notes-table table thead th:nth-child(11) { width: 9% !important; }

/* (e) filter grids: every field fills its column (Cashier Shifts' own min-width left them short) */
#nova .fq-card.fq-card .fq-card__body .fq-filter-grid .item :is(input, select) { width: 100% !important; min-width: 0 !important; }

/* (f) report search bars (Finance Reports, each module's Report Library): the magnifier no longer sits on the text
   (the global 12px field padding overrode the room left for it); white field with the table-tools border */
#nova#nova#nova#nova .rpt-search input:is([type="search"], [type="text"]) {
    height: 38px !important; background: var(--fq-surface, #FFFFFF) !important; border: 1px solid var(--fq-border) !important;
    border-radius: 8px !important; box-shadow: none !important;
}
#nova#nova#nova#nova .rpt-search:has(> .fa) input:is([type="search"], [type="text"]) { padding-inline: 38px 12px !important; }
#nova .rpt-search > .fa { inset-inline-start: 14px !important; z-index: 1; font-size: 13px; color: var(--fq-text-muted) !important; }

/* (g) filter-card buttons (search + reset) the same on every page: 34px rounded squares, 8px apart, 16px icons,
   level with the fields and flush with the last field's end edge (some screens set 40px, margins or padding inline) */
#nova .fq-card.fq-card .fq-card__body .fq-filter-grid .reset_filters {
    display: flex !important; align-items: center !important; justify-content: flex-end !important;
    gap: 8px !important; padding: 0 !important; margin: 0 !important; width: auto !important;
}
#nova .fq-card.fq-card .fq-card__body .fq-filter-grid .reset_filters > button {
    width: 34px !important; min-width: 34px !important; height: 34px !important; padding: 0 !important; margin: 0 !important;
    border: 0 !important; border-radius: 8px !important; display: inline-flex !important; align-items: center !important; justify-content: center !important;
    background-size: 16px !important; background-position: center !important; background-repeat: no-repeat !important; flex: none;
}
#nova .fq-card.fq-card .fq-card__body .fq-filter-grid .reset_filters > button > svg { width: 16px !important; height: 16px !important; flex: none; }
/* Cashier Shifts drew its own reset arrow: the shared reset icon instead */
#nova #cashierShiftsPage .fq-filter-grid .reset_filters > button:last-child:not(.fq-filter-search) > svg { display: none !important; }
#nova #cashierShiftsPage .fq-filter-grid .reset_filters > button:last-child:not(.fq-filter-search) { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16.866' height='18.447' viewBox='0 0 16.866 18.447'%3E%3Cg transform='translate(0 0)'%3E%3Cpath d='M24.417,3.658a7.354,7.354,0,0,1,9.56-.252l-2.189.083a.509.509,0,0,0,.019,1.017h.019l3.36-.124a.508.508,0,0,0,.49-.509v-.06h0L35.552.49a.509.509,0,1,0-1.017.038l.079,2.083A8.364,8.364,0,0,0,23.735,2.9a8.367,8.367,0,0,0-2.516,8.178.506.506,0,0,0,.493.388.441.441,0,0,0,.121-.015.509.509,0,0,0,.373-.614A7.349,7.349,0,0,1,24.417,3.658Z' transform='translate(-20.982 0)' fill='%23ffffff'/%3E%3Cpath d='M91.8,185.6a.508.508,0,1,0-.987.241,7.348,7.348,0,0,1-11.832,7.387l2.215-.2a.509.509,0,1,0-.094-1.013l-3.349.3a.508.508,0,0,0-.46.554l.3,3.349a.508.508,0,0,0,.5.463.183.183,0,0,0,.045,0,.508.508,0,0,0,.46-.554l-.181-2.038a8.308,8.308,0,0,0,4.833,1.842c.143.008.286.011.426.011A8.365,8.365,0,0,0,91.8,185.6Z' transform='translate(-75.175 -178.237)' fill='%23ffffff'/%3E%3C/g%3E%3C/svg%3E") !important; }

/* (h) Credit Notes columns again: number columns wide enough for their headings, Period From / To on one line */
#nova #creditNotesManagement_table_card .credit-notes-table table thead th:nth-child(1)  { width: 7% !important; }
#nova #creditNotesManagement_table_card .credit-notes-table table thead th:nth-child(2)  { width: 7% !important; }
#nova #creditNotesManagement_table_card .credit-notes-table table thead th:nth-child(3)  { width: 8% !important; }
#nova #creditNotesManagement_table_card .credit-notes-table table thead th:nth-child(4)  { width: 14% !important; }
#nova #creditNotesManagement_table_card .credit-notes-table table thead th:nth-child(5)  { width: 9% !important; }
#nova #creditNotesManagement_table_card .credit-notes-table table thead th:nth-child(6)  { width: 7% !important; }
#nova #creditNotesManagement_table_card .credit-notes-table table thead th:nth-child(7)  { width: 10% !important; }
#nova #creditNotesManagement_table_card .credit-notes-table table thead th:nth-child(8)  { width: 10% !important; }
#nova #creditNotesManagement_table_card .credit-notes-table table thead th:nth-child(9)  { width: 9% !important; }
#nova #creditNotesManagement_table_card .credit-notes-table table thead th:nth-child(10) { width: 9% !important; }
#nova #creditNotesManagement_table_card .credit-notes-table table thead th:nth-child(11) { width: 10% !important; }
#nova #creditNotesManagement_table_card .fq-table thead th:is(:nth-child(2), :nth-child(3)) { overflow-wrap: normal; word-break: keep-all; }
#nova #creditNotesManagement_table_card .fq-table tbody tr td:is(:nth-child(9), :nth-child(10)) { white-space: nowrap !important; overflow-wrap: normal !important; }

/* (i) dark mode: the four integration logos in the top bar sit on the identity warm, never white and never navy
   (their logos vanish on navy). The chips are left out of the dark-mode white check (data-fq-nw-skip in the layout),
   so hovering elsewhere no longer flips them between white and navy. */

/* =====================================================================================================
   30. DARK MODE: ANNOUNCEMENT TICKER AND TABLE HEADINGS (2026-11-21)
   In dark mode the ticker pills and the table heading row lost their fills (the white check turned them the same
   navy as the card). Both are now left out of the white check (layout.blade.php, NW_SKIP) and drawn here with the
   translucent identity washes (tokens in the dark :root block of section 28). Light mode is not touched.
   ===================================================================================================== */
/* ticker bar (fq-msgbar, DashboardUnits MessageDisplay.vue): navy strip, peach pill, coral bullet, warm writing */
[data-fq-theme="dark"] #nova#nova .fq-msgbar { background: var(--fq-bg) !important; border-bottom-color: var(--fq-border) !important; }
[data-fq-theme="dark"] #nova#nova .fq-msgbar .fq-msgbar__icon { color: var(--fq-id-warm) !important; }
[data-fq-theme="dark"] #nova#nova .fq-msgbar .message {
    background-color: var(--fq-peach-wash) !important; border: 1px solid var(--fq-peach-line) !important; color: var(--fq-id-warm) !important;
}
[data-fq-theme="dark"] #nova#nova .fq-msgbar .message::before { background: var(--fq-id-coral) !important; }
[data-fq-theme="dark"] #nova#nova .fq-msgbar .message * { color: inherit !important; }
/* a warning / danger message keeps its meaning: coral wash instead of peach */
[data-fq-theme="dark"] #nova#nova .fq-msgbar .message-danger { background-color: var(--fq-coral-wash) !important; border-color: var(--fq-coral-line) !important; }
/* a success message (the welcome line) stays green, drawn the dark theme's way: a translucent green wash and line
   (as the peach / coral pills above) with a lighter green writing and dot that reads on the navy strip */
[data-fq-theme="dark"] #nova#nova .fq-msgbar .message-success {
    background-color: color-mix(in srgb, #2E8B57 18%, transparent) !important;
    border-color: color-mix(in srgb, #2E8B57 45%, transparent) !important;
    color: #6FCF97 !important;
}
[data-fq-theme="dark"] #nova#nova .fq-msgbar .message-success::before { background: #6FCF97 !important; }

/* table heading row: grey-green wash, warm writing, grey-green sort arrows (the active one stays coral). Corners come
   from the light rules (12px, 8px on row tables, none on .fq-table). Report grids (.fq-grid-table) have no heading
   fill in light mode either, so they are left out. #nova#nova lifts these over the light !important heading rules. */
[data-fq-theme="dark"] #nova#nova table:not(.fq-grid-table) > thead > tr > :is(th, td) {
    background: var(--fq-grey-wash) !important; color: var(--fq-id-warm) !important; border-color: var(--fq-grey-line) !important;
}
[data-fq-theme="dark"] #nova#nova table:not(.fq-grid-table) > thead > tr > :is(th, td) :is(span, a, div, label, abbr) { color: inherit !important; }
[data-fq-theme="dark"] #nova#nova table:not(.fq-grid-table) > thead > tr > :is(th, td) svg:not([fill="none"]) { fill: var(--fq-id-grey); }
[data-fq-theme="dark"] #nova#nova th[data-fq-tt-th="1"]:not([data-fq-tt-dir="asc"]):not([data-fq-tt-dir="desc"])::after { background-color: var(--fq-id-grey) !important; opacity: 1 !important; }
[data-fq-theme="dark"] #nova#nova th[data-fq-tt-dir]:is([data-fq-tt-dir="asc"], [data-fq-tt-dir="desc"])::after { background-color: var(--fq-id-coral) !important; }
/* the Units Housing / Reservations Table board keeps its coral "today" heading */
[data-fq-theme="dark"] #nova#nova table:not(.fq-grid-table) > thead > tr > :is(th, td):is(.time_today, .is-today, .col_today) { background: var(--fq-id-coral) !important; }

/* row dividers: a faint grey-green hairline, quieter than the heading */
[data-fq-theme="dark"] #nova#nova :is(table, .table) > tbody > tr > td { border-color: var(--fq-grey-line) !important; }


/* (b) every other heading row on the screens (audit 2026-11-21), in the same grey-green wash:
   - tables whose heading row is not in a <thead> (Guests, Check-in / Check-out charges ...): a row of <th> only;
   - Reservations Table and Units status board: the "Units" corner and the day headings (divs, not a table);
   - Events calendar (CRM > Events): the head row.
   Row headings next to data (<th> beside <td>), the report grids and the coral "today" day are left as they are. */
[data-fq-theme="dark"] #nova#nova table:not(.fq-grid-table) tr:has(> th):not(:has(> td)) > th,
[data-fq-theme="dark"] #nova#nova .dayes_head .day:not(.time_today),
[data-fq-theme="dark"] #nova#nova .units_names > .title,
[data-fq-theme="dark"] #nova#nova .bq-cal-head-row > * {
    background: var(--fq-grey-wash) !important; color: var(--fq-id-warm) !important; border-color: var(--fq-grey-line) !important;
}
[data-fq-theme="dark"] #nova#nova :is(table:not(.fq-grid-table) tr:has(> th):not(:has(> td)) > th, .dayes_head .day:not(.time_today), .units_names > .title, .bq-cal-head-row > *)
    :is(span, p, small, b, strong, a, div, label):not(.day_occ) { color: inherit !important; }
/* the day's occupancy pill: coral wash on the grey-green, warm pill on the coral "today" */
[data-fq-theme="dark"] #nova#nova .dayes_head .day:not(.time_today) .day_occ { background: var(--fq-coral-wash) !important; color: var(--fq-id-peach) !important; }
[data-fq-theme="dark"] #nova#nova .dayes_head .day.time_today :is(.day_name, .day_date, span, p, small) { color: var(--fq-id-warm) !important; }

/* =====================================================================================================
   31. DARK MODE: NO WHITE OR OFF-WHITE SURFACES (2026-11-21)
   Identity Guide p.7 only: navy page, gray-green surfaces, coral accent, peach highlight, off-white writing.
   Off-white is for writing and icons only; the one fill allowed is the top-bar integration chip (logos are dark
   artwork) and tiny chart markers. Everything here is inside [data-fq-theme="dark"]; light mode is not touched.

   How white is found: the layout script (layout.blade.php, "Dark mode never shows white") reads every element's
   colours in dark mode and tags what is white, near-white or pastel in data-fq-nw (data-fq-nwh while hovered).
   Surface tags by role, so translucent washes never stack more than two deep:
     b    outermost generic white container        -> gray-green wash
     bn   named component (badge, chip, tab, toggle track, stat card, progress track, input, button, tile)
                                                   -> gray-green wash, kept even when nested (unless 2 washes above)
     bh   generic container inside a surface, or a 3rd wash -> no fill (hairline only)
     bt   white table cell / list item / inline element      -> no fill, no hairline
     h    hairline: added to b / bn / bh when the element has no border of its own
     bm   tiny white marker or knob (<= 28px)                -> solid gray-green
     act  white selected segment, tab or menu entry (.active, .on, aria-current, a checked radio beside it)
                                                   -> solid coral, off-white writing
     pc / pp / pg  pastel fill (status chips, alerts) by hue -> coral / peach / gray-green wash with matching writing
     r    white or light-grey border                         -> gray-green line
     f / si  small white icon fill / stroke                  -> off-white (icons)
     fl   large white SVG shape (donut plate, chart panel)   -> gray-green fill, as the light disc
     bo   sticky or fixed white bar (content scrolls under it) -> solid gray-green over navy
     s    white or light chart stroke (rings, halos, arc tracks) -> faint gray-green track
     fn / sn  navy or pale neutral chart series              -> gray-green
     st   pale neutral or navy gradient stop (donuts, gauges, line fills) -> gray-green
     bb / ab, bbm / abm  white ::before / ::after: wash, or solid gray-green when tiny (switch knobs, dots)
   Whatever changes (a tab is selected, a row opens) is read again from scratch, so a tag never outlives the look it
   was read from; hover tags go as soon as the pointer leaves. Tags are cleared when the theme goes back to light, so
   they never apply in light mode.
   ===================================================================================================== */
[data-fq-theme="dark"] :is(body, #fq-nw#fq-nw#fq-nw#fq-nw#fq-nw#fq-nw) :is([data-fq-nw~="b"], [data-fq-nwh~="b"]) { background-color: var(--fq-dk-surface) !important; }
[data-fq-theme="dark"] :is(body, #fq-nw#fq-nw#fq-nw#fq-nw#fq-nw#fq-nw) :is([data-fq-nw~="bn"], [data-fq-nwh~="bn"]) { background-color: var(--fq-dk-surface-strong) !important; }
[data-fq-theme="dark"] :is(body, #fq-nw#fq-nw#fq-nw#fq-nw#fq-nw#fq-nw) :is([data-fq-nw~="bh"], [data-fq-nwh~="bh"], [data-fq-nw~="bt"], [data-fq-nwh~="bt"]) { background-color: transparent !important; }
[data-fq-theme="dark"] :is(body, #fq-nw#fq-nw#fq-nw#fq-nw#fq-nw#fq-nw) :is([data-fq-nw~="h"], [data-fq-nwh~="h"]) { box-shadow: inset 0 0 0 1px var(--fq-dk-line) !important; }
[data-fq-theme="dark"] :is(body, #fq-nw#fq-nw#fq-nw#fq-nw#fq-nw#fq-nw) :is([data-fq-nw~="bm"], [data-fq-nwh~="bm"]) { background-color: var(--fq-id-grey) !important; }
[data-fq-theme="dark"] :is(body, #fq-nw#fq-nw#fq-nw#fq-nw#fq-nw#fq-nw) :is([data-fq-nw~="act"], [data-fq-nwh~="act"]) { background-color: var(--fq-dk-active) !important; color: var(--fq-id-warm) !important; box-shadow: none !important; }
[data-fq-theme="dark"] :is(body, #fq-nw#fq-nw#fq-nw#fq-nw#fq-nw#fq-nw) :is([data-fq-nw~="act"], [data-fq-nwh~="act"]) * { color: inherit !important; }
[data-fq-theme="dark"] :is(body, #fq-nw#fq-nw#fq-nw#fq-nw#fq-nw#fq-nw) :is([data-fq-nw~="pc"], [data-fq-nwh~="pc"]) { background-color: var(--fq-coral-wash) !important; color: var(--fq-id-coral) !important; border-color: var(--fq-coral-line) !important; }
[data-fq-theme="dark"] :is(body, #fq-nw#fq-nw#fq-nw#fq-nw#fq-nw#fq-nw) :is([data-fq-nw~="pp"], [data-fq-nwh~="pp"]) { background-color: var(--fq-peach-wash) !important; color: var(--fq-id-peach) !important; border-color: var(--fq-peach-line) !important; }
[data-fq-theme="dark"] :is(body, #fq-nw#fq-nw#fq-nw#fq-nw#fq-nw#fq-nw) :is([data-fq-nw~="pg"], [data-fq-nwh~="pg"]) { background-color: var(--fq-dk-surface-strong) !important; color: var(--fq-id-warm) !important; border-color: var(--fq-dk-line) !important; }
[data-fq-theme="dark"] :is(body, #fq-nw#fq-nw#fq-nw#fq-nw#fq-nw#fq-nw) :is([data-fq-nw~="pc"], [data-fq-nw~="pp"], [data-fq-nw~="pg"], [data-fq-nwh~="pc"], [data-fq-nwh~="pp"], [data-fq-nwh~="pg"]) :not(svg, svg *) { color: inherit !important; }
[data-fq-theme="dark"] :is(body, #fq-nw#fq-nw#fq-nw#fq-nw#fq-nw#fq-nw) :is([data-fq-nw~="r"], [data-fq-nwh~="r"]) { border-color: var(--fq-dk-line) !important; }
[data-fq-theme="dark"] :is(body, #fq-nw#fq-nw#fq-nw#fq-nw#fq-nw#fq-nw) :is([data-fq-nw~="si"], [data-fq-nwh~="si"]) { stroke: var(--fq-id-warm) !important; }
[data-fq-theme="dark"] :is(body, #fq-nw#fq-nw#fq-nw#fq-nw#fq-nw#fq-nw) :is([data-fq-nw~="fl"], [data-fq-nwh~="fl"]) { fill: var(--fq-dk-surface-strong) !important; }
[data-fq-theme="dark"] :is(body, #fq-nw#fq-nw#fq-nw#fq-nw#fq-nw#fq-nw) :is([data-fq-nw~="bo"], [data-fq-nwh~="bo"]) { background-color: var(--fq-surface) !important; }
[data-fq-theme="dark"] :is(body, #fq-nw#fq-nw#fq-nw#fq-nw#fq-nw#fq-nw) :is([data-fq-nw~="s"], [data-fq-nwh~="s"]) { stroke: var(--fq-dk-track) !important; }
[data-fq-theme="dark"] :is(body, #fq-nw#fq-nw#fq-nw#fq-nw#fq-nw#fq-nw) :is([data-fq-nw~="fn"], [data-fq-nwh~="fn"]) { fill: var(--fq-id-grey) !important; }
[data-fq-theme="dark"] :is(body, #fq-nw#fq-nw#fq-nw#fq-nw#fq-nw#fq-nw) :is([data-fq-nw~="sn"], [data-fq-nwh~="sn"]) { stroke: var(--fq-id-grey) !important; }
[data-fq-theme="dark"] :is(body, #fq-nw#fq-nw#fq-nw#fq-nw#fq-nw#fq-nw) :is([data-fq-nw~="st"], [data-fq-nwh~="st"]) { stop-color: var(--fq-id-grey) !important; }
[data-fq-theme="dark"] :is(body, #fq-nw#fq-nw#fq-nw#fq-nw#fq-nw#fq-nw) :is([data-fq-nw~="bb"], [data-fq-nwh~="bb"])::before { background-color: var(--fq-dk-surface) !important; }
[data-fq-theme="dark"] :is(body, #fq-nw#fq-nw#fq-nw#fq-nw#fq-nw#fq-nw) :is([data-fq-nw~="ab"], [data-fq-nwh~="ab"])::after { background-color: var(--fq-dk-surface) !important; }
[data-fq-theme="dark"] :is(body, #fq-nw#fq-nw#fq-nw#fq-nw#fq-nw#fq-nw) :is([data-fq-nw~="bbm"], [data-fq-nwh~="bbm"])::before { background-color: var(--fq-id-grey) !important; }
[data-fq-theme="dark"] :is(body, #fq-nw#fq-nw#fq-nw#fq-nw#fq-nw#fq-nw) :is([data-fq-nw~="abm"], [data-fq-nwh~="abm"])::after { background-color: var(--fq-id-grey) !important; }
[data-fq-theme="dark"] :is(body, #fq-nw#fq-nw#fq-nw#fq-nw#fq-nw#fq-nw) :is([data-fq-nw~="bc"], [data-fq-nwh~="bc"])::before { color: var(--fq-id-warm) !important; border-color: var(--fq-dk-line) !important; }
[data-fq-theme="dark"] :is(body, #fq-nw#fq-nw#fq-nw#fq-nw#fq-nw#fq-nw) :is([data-fq-nw~="ac"], [data-fq-nwh~="ac"])::after { color: var(--fq-id-warm) !important; border-color: var(--fq-dk-line) !important; }

/* (b) overlays must stay opaque to be readable (menus, pickers, dialogs, tooltips, SweetAlert): the same gray-green
   over navy, mixed solid (the dark tokens --fq-surface / -2 / -3 above now hold these mixes) */
[data-fq-theme="dark"] :is(.dropdown-menu, .dropdown-content, .multiselect__content-wrapper, .vs__dropdown-menu, .autocomplete-results,
    .flatpickr-calendar, .swal2-popup, .el-popper, .popover, .modal-content, .sweet-modal, .v-popover .popover-inner, .tooltip .tooltip-inner) {
    border: 1px solid var(--fq-dk-line) !important;
}
[data-fq-theme="dark"] .flatpickr-calendar :is(.flatpickr-months, .flatpickr-month, .flatpickr-weekdays, .flatpickr-weekday, .flatpickr-days, .dayContainer,
    .flatpickr-current-month .flatpickr-monthDropdown-months, .numInputWrapper) { background: transparent !important; color: var(--fq-text) !important; fill: var(--fq-text) !important; }
[data-fq-theme="dark"] .flatpickr-calendar .flatpickr-day { color: var(--fq-text) !important; border-color: transparent; }
[data-fq-theme="dark"] .flatpickr-calendar .flatpickr-day:is(.prevMonthDay, .nextMonthDay, .flatpickr-disabled) { color: var(--fq-text-muted) !important; opacity: .6; }
[data-fq-theme="dark"] .flatpickr-calendar .flatpickr-day:hover { background: var(--fq-dk-surface-strong) !important; }
[data-fq-theme="dark"] .flatpickr-calendar .flatpickr-day:is(.selected, .startRange, .endRange) { background: var(--fq-dk-active) !important; border-color: var(--fq-dk-active) !important; color: var(--fq-id-warm) !important; }
[data-fq-theme="dark"] .flatpickr-calendar .flatpickr-day.inRange { background: var(--fq-coral-wash) !important; box-shadow: none !important; }
[data-fq-theme="dark"] .flatpickr-calendar .flatpickr-day.today { border-color: var(--fq-id-peach) !important; }
[data-fq-theme="dark"] .flatpickr-calendar :is(.flatpickr-prev-month, .flatpickr-next-month) svg { fill: var(--fq-text) !important; }
[data-fq-theme="dark"] .flatpickr-calendar.arrowTop::after, [data-fq-theme="dark"] .flatpickr-calendar.arrowTop::before { border-bottom-color: var(--fq-surface-2) !important; }
[data-fq-theme="dark"] .flatpickr-calendar.arrowBottom::after, [data-fq-theme="dark"] .flatpickr-calendar.arrowBottom::before { border-top-color: var(--fq-surface-2) !important; }
[data-fq-theme="dark"] :is(.swal2-popup) :is(.swal2-icon.swal2-success [class^="swal2-success-circular-line"], .swal2-icon.swal2-success .swal2-success-fix) { background: transparent !important; }
[data-fq-theme="dark"] .tooltip .tooltip-arrow { border-color: var(--fq-surface-2) !important; }
[data-fq-theme="dark"] :is(.multiselect__option--selected, .vs__dropdown-option--selected) { background: var(--fq-coral-wash) !important; color: var(--fq-text) !important; }
[data-fq-theme="dark"] :is(.multiselect__tag) { background: var(--fq-peach-wash) !important; color: var(--fq-id-peach) !important; }

/* (c) the module chart and tile kit (.fqv: CRM, HRM, Housekeeping, Maintenance, Inventory, Purchasing, POS Pro, Events):
   translucent tiles with a hairline, faint gray-green tracks and grid, series in the identity order without off-white
   (gray-green, coral, light gray-green, peach). Housekeeping's cleaning state is peach in every series (--fqv-warning). */
[data-fq-theme="dark"] #nova .fqv {
    --fqv-surface: var(--fq-dk-surface); --fqv-canvas: transparent; --fqv-ink: var(--fq-id-warm); --fqv-ink-2: var(--fq-text-muted);
    --fqv-muted: var(--fq-text-muted); --fqv-grid: var(--fq-dk-line); --fqv-track: var(--fq-dk-track); --fqv-border: var(--fq-dk-line);
    --fqv-coral-text: var(--fq-id-coral); --fqv-shadow: none;
    --fqv-c1: var(--fq-id-grey); --fqv-c2: var(--fq-id-coral); --fqv-c3: var(--fq-text-muted); --fqv-c4: var(--fq-id-peach);
    --fqv-c5: color-mix(in srgb, var(--fq-id-grey) 60%, var(--fq-id-navy)); --fqv-c6: color-mix(in srgb, var(--fq-id-coral) 60%, var(--fq-id-peach));
    --fqv-c7: color-mix(in srgb, var(--fq-id-grey) 40%, var(--fq-id-navy)); --fqv-c8: color-mix(in srgb, var(--fq-id-peach) 50%, var(--fq-id-navy));
    --fqv-good: var(--fq-id-grey); --fqv-warning: var(--fq-id-peach); --fqv-serious: color-mix(in srgb, var(--fq-id-coral) 60%, var(--fq-id-peach));
    --fqv-critical: var(--fq-id-coral); --fqv-neutral: color-mix(in srgb, var(--fq-id-grey) 50%, var(--fq-id-navy));
    --fqv-o1: color-mix(in srgb, var(--fq-id-grey) 85%, var(--fq-id-navy)); --fqv-o2: color-mix(in srgb, var(--fq-id-grey) 65%, var(--fq-id-navy));
    --fqv-o3: color-mix(in srgb, var(--fq-id-grey) 45%, var(--fq-id-navy)); --fqv-o4: color-mix(in srgb, var(--fq-id-grey) 28%, var(--fq-id-navy));
    --fqv-o5: color-mix(in srgb, var(--fq-id-grey) 14%, var(--fq-id-navy));
}

/* (d) the integration chips: the one off-white fill allowed in dark mode (their logos are dark artwork and vanish on
   navy or gray-green). Small rounded chips, no shadow or other decoration. */
[data-fq-theme="dark"] .fdq-integrations .fdq-chip { background: var(--fq-id-warm) !important; box-shadow: none !important; border-radius: 50% !important; }
/* Reservations Table: today's occupancy pill is a peach wash with peach writing (no off-white fill) */
[data-fq-theme="dark"] #nova#nova .dayes_head .day.time_today .day_occ { background: var(--fq-peach-wash) !important; color: var(--fq-id-peach) !important; box-shadow: inset 0 0 0 1px var(--fq-peach-line) !important; }

/* (e) dialogs: Nova's modal backdrop (Modal.vue adds "fixed pin bg-80 opacity-75", and --80 is a light gray in dark)
   dims with navy instead of a light veil; SweetAlert buttons in the identity colours instead of its default blue / gray */
[data-fq-theme="dark"] body > .fixed.pin.bg-80.opacity-75 { background-color: var(--fq-id-navy) !important; }
[data-fq-theme="dark"] .swal2-container.swal2-backdrop-show { background: color-mix(in srgb, var(--fq-id-navy) 75%, transparent) !important; }
[data-fq-theme="dark"] .swal2-popup .swal2-styled.swal2-confirm { background: var(--fq-dk-active) !important; color: var(--fq-id-warm) !important; border: 0 !important; box-shadow: none !important; }
[data-fq-theme="dark"] .swal2-popup .swal2-styled:is(.swal2-cancel, .swal2-deny) { background: var(--fq-dk-surface-strong) !important; color: var(--fq-id-warm) !important; box-shadow: inset 0 0 0 1px var(--fq-dk-line) !important; }
[data-fq-theme="dark"] .swal2-popup .swal2-icon.swal2-warning { border-color: var(--fq-id-peach) !important; color: var(--fq-id-peach) !important; }
[data-fq-theme="dark"] .swal2-popup .swal2-icon:is(.swal2-error) { border-color: var(--fq-id-coral) !important; }
[data-fq-theme="dark"] .swal2-popup .swal2-icon.swal2-error [class^="swal2-x-mark-line"] { background-color: var(--fq-id-coral) !important; }
[data-fq-theme="dark"] .swal2-popup .swal2-icon:is(.swal2-info, .swal2-question) { border-color: var(--fq-id-grey) !important; color: var(--fq-id-grey) !important; }
[data-fq-theme="dark"] .swal2-popup .swal2-icon.swal2-success { border-color: var(--fq-id-grey) !important; }
[data-fq-theme="dark"] .swal2-popup .swal2-icon.swal2-success [class^="swal2-success-line"] { background-color: var(--fq-id-grey) !important; }
[data-fq-theme="dark"] .swal2-popup .swal2-icon.swal2-success .swal2-success-ring { border-color: var(--fq-dk-line) !important; }

/* (f) while the layout script reads an element again (data-fq-nw-reading, a few microseconds) its fades are paused, so
   clearing and setting its tags never starts a fade towards the light look */
[data-fq-theme="dark"] [data-fq-nw-reading], [data-fq-theme="dark"] [data-fq-nw-reading]::before, [data-fq-theme="dark"] [data-fq-nw-reading]::after { transition: none !important; }
/* (g) colours never fade in dark mode on what the layout script recolours (data-fq-nw / data-fq-nwh) and their
   writing: a page's own "transition: all" (report tiles, setting tiles, unit cards ...) otherwise animates every
   re-tag, so a tile caught mid-fade shows white or grey with faint writing, and each fade's end (transitionend)
   reads it again and starts the next: the tiles kept flashing while hovered (UAT 2026-11-22, seen at 125% scaling).
   Movement and opacity still animate. */
[data-fq-theme="dark"] :is([data-fq-nw], [data-fq-nwh]), [data-fq-theme="dark"] :is([data-fq-nw], [data-fq-nwh]) *,
[data-fq-theme="dark"] :is([data-fq-nw], [data-fq-nwh])::before, [data-fq-theme="dark"] :is([data-fq-nw], [data-fq-nwh])::after {
    transition-property: opacity, transform !important;
}
/* (g) Arrivals / Departures panel (Units Housing): its empty-state note sits over the identity art, which the layout
   script does not judge, so its gray writing is set here to the readable muted tone */
[data-fq-theme="dark"] #nova .ad-empty :is(.ad-empty-sub, p) { color: var(--fq-text-muted) !important; }

/* =====================================================================================================
   32. UAT ROUND 3 (2026-11-22)
   ===================================================================================================== */
/* (a) Search button of the filter sections: it replaced the Reset button (users asked for one Search button per filter
   section). A 34px coral rounded button reading "Search" (no magnifier, UAT 2026-11-22); the buttons are empty in the
   markup of every module, so the word is drawn here: the Arabic one where the page is in Arabic ("Search" in ar.json). */
#nova#nova button.fq-filter-search {
    width: auto !important; min-width: 72px !important; height: 34px !important; padding: 0 16px !important; margin: 0 !important;
    border: 0 !important; border-radius: 8px !important; display: inline-flex !important; align-items: center !important; justify-content: center !important;
    flex: none; cursor: pointer; color: transparent !important; font-size: 0 !important;
    background: var(--fq-one) none !important;
}
#nova#nova button.fq-filter-search::before {
    content: "Search"; color: #FFFFFF; font-size: 13px; font-weight: 600; line-height: 1; white-space: nowrap;
}
html:lang(ar) #nova#nova button.fq-filter-search::before { content: "\0627\0644\0628\062D\062B"; }
#nova#nova button.fq-filter-search:hover:not(:disabled) { background-color: var(--fq-one-hover) !important; }
#nova#nova button.fq-filter-search:disabled { opacity: .5; cursor: default; }

/* (b) one header card per page, as on Reports Plus (layout.blade.php breadcrumb script): the page's own header block
   moves into the breadcrumb card (data-fq-ph). Card title and breadcrumb on the first line, the description under
   them, the page's buttons (Take a tour, Simple / Advanced...) at the end. The repeated title is hidden. */
#nova nav[data-fq-merged] {
    display: grid !important; grid-template-columns: auto auto minmax(0, 1fr); grid-auto-columns: auto;
    align-items: center; column-gap: 12px; row-gap: 0; padding: 10px 16px !important;
}
#nova nav[data-fq-merged]::after { content: ''; grid-column: 3; grid-row: 1 / span 2; }
#nova nav[data-fq-merged] > .fq-crumb-title { grid-column: 1; grid-row: 1; }
#nova nav[data-fq-merged] > :is(ul.breadcrumbs, ul.breadcrumb) { grid-column: 2; grid-row: 1; }
#nova nav[data-fq-merged] > [data-fq-ph],
#nova nav[data-fq-merged] [data-fq-ph-text] { display: contents !important; }
#nova nav[data-fq-merged] > [data-fq-ph] > * { grid-row: 1 / span 2; align-self: center; margin: 0 !important; }
#nova nav[data-fq-merged] > [data-fq-ph] > .fq-header-icon,
#nova [data-fq-ph-hide] { display: none !important; }
#nova nav[data-fq-merged] [data-fq-ph-sub] {
    grid-column: 1 / 4; grid-row: 2; margin: 4px 0 0 !important; padding: 0 !important;
    font-size: 12px !important; font-weight: 400 !important; line-height: 1.4 !important; color: var(--fq-text-muted) !important;
}
@media (max-width: 767px) {
    #nova nav[data-fq-merged] { display: flex !important; flex-wrap: wrap; }
    #nova nav[data-fq-merged]::after { display: none; }
    #nova nav[data-fq-merged] [data-fq-ph-sub] { flex-basis: 100%; order: 3; }
    #nova nav[data-fq-merged] > [data-fq-ph] > * { order: 4; }
}
/* the last crumb when it only repeats the card title, and the slash it leaves at the edge */
#nova [data-fq-crumb-dup] { display: none !important; }
html[dir="rtl"] #nova .breadcrumbs .breadcrumbs__item:has(+ [data-fq-crumb-dup]) a::after,
html[dir="ltr"] #nova .breadcrumbs .breadcrumbs__item:first-child:has(+ [data-fq-crumb-dup]) a::after { content: none !important; }

/* (b2) Units Management tiles: "Control of General Features" broke into three lines (its second line was a few px wider
   than the text column), unlike "Control of Special Features". Side padding 14 -> 10px and icon gap 10 -> 6px give
   every tile title 12px more, so both read on two lines. The 42px icon slot (5px empty on each side) keeps the look. */
#nova#nova #units_page .unit_item { padding-inline: 10px !important; gap: 6px !important; }

/* (c) announcement ticker text 12px */
#nova#nova .fq-msgbar :is(.scroller__inner, .message, .message *) { font-size: 12px !important; }

/* (d) identity art over half the top bar and the footer, fading out at the middle (files drawn edge to edge into
   the box: scripts/brand/identity-art.py, fit=True), and over the whole art strip of the Arrivals / Departures Today
   heads on Units Housing (.ad-art is already half the head) */
html .fdq-topbar { background-image: url('/brand/topbar-half-art-rtl.svg') !important; background-size: 50% 100% !important; background-position: right center !important; }
html[dir="rtl"] .fdq-topbar { background-image: url('/brand/topbar-half-art.svg') !important; background-position: left center !important; }
html .fdq-footer { background-image: url('/brand/footer-half-art-rtl.svg') !important; background-size: 50% 100% !important; background-position: right center !important; }
html[dir="rtl"] .fdq-footer { background-image: url('/brand/footer-half-art.svg') !important; background-position: left center !important; }
html #nova .ad-art { background-image: url('/brand/arrival-head-art.svg') !important; background-size: 100% 100% !important; background-position: right center !important; }
html[dir="rtl"] #nova .ad-art { background-image: url('/brand/arrival-head-art-rtl.svg') !important; background-position: left center !important; }

/* (e) every header-card / breadcrumb title in the title face (El Messiri) at exactly 15px: the standalone breadcrumb
   card, the .fq-page-head cards (Companies Management, Reservations Management, reports...) and Reports Plus */
#nova#nova :is(.fq-crumb-title b, .fq-page-head__title :is(h1, h2), .fq-page-head__title > span:not(.fq-page-head__icon), .fq-header-line .fq-header-title) {
    font-family: var(--fq-font-title) !important; font-size: 15px !important; line-height: 1.2 !important;
}

/* (f) expandable tables (Common ExpandableDataTable: Customers, Reservations Management...): the "flex" column no
   longer takes all the spare width (width 100%), so the space is shared by every column instead of one wide gap.
   Its text still truncates, at a wider limit. */
#nova .xdt .xdt-table :is(th, td).xdt-flex { width: auto !important; max-width: none !important; }
#nova .xdt .xdt-table td.xdt-flex :is(.xdt-main, .xdt-sub) { max-width: 24em !important; }

/* (g) expandable tables: a cell whose content is buttons or icon links (Actions) no longer clips them. The cell text
   wrapper (.xdt-main) hides overflow for its "…" truncation, which cut the round action buttons and their shadow. */
#nova .xdt .xdt-table :is(.xdt-main, .xdt-sub):has(button, a > svg, a > i, .btn, [class*="actions"]) {
    overflow: visible !important; max-width: none !important; text-overflow: clip !important;
}

/* (h) a merged header card without a description: buttons and title share one row, so the title sits in the
   vertical middle of the card (the empty second row pushed it up) */
#nova nav[data-fq-merged]:not(:has([data-fq-ph-sub])) > [data-fq-ph] > *,
#nova nav[data-fq-merged]:not(:has([data-fq-ph-sub]))::after { grid-row: 1 !important; }

/* (i) Settings landing (/settings): the Financial Management card size and type (5 / 3 / 1 columns, 16px gap,
   87px cards, 14px 18px padding, 28px icons, 13px Montserrat 500 title); its "Settings" heading at 15px El Messiri */
#nova h1:has(+ #settings_page) { font-family: var(--fq-font-title) !important; font-size: 15px !important; line-height: 1.2 !important; }
#nova #settings_page {
    display: grid !important; grid-template-columns: repeat(5, minmax(0, 1fr)) !important; gap: 16px !important; grid-gap: 16px !important;
}
@media (max-width: 1279.98px) { #nova #settings_page { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (max-width: 767.98px) { #nova #settings_page { grid-template-columns: minmax(0, 1fr) !important; } }
#nova #settings_page > a { display: block; min-width: 0; text-decoration: none; }
#nova #settings_page > .setting_item , #nova #settings_page > a > .setting_item {
    display: flex !important; align-items: center !important; width: auto !important; min-width: 0; height: 87px !important; min-height: 0 !important;
    margin: 0 !important; padding: 14px 18px !important; border-radius: 7.25px !important; box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .05) !important;
}
#nova #settings_page > .setting_item .icon , #nova #settings_page > a > .setting_item .icon {
    flex: 0 0 28px; width: 28px !important; height: 28px !important; margin: 0 !important; margin-inline-end: 14px !important;
    display: flex; align-items: center; justify-content: center;
}
#nova #settings_page > .setting_item .icon :is(svg, img), #nova #settings_page > a > .setting_item .icon :is(svg, img) { width: 28px !important; height: 28px !important; }
#nova #settings_page > .setting_item .title , #nova #settings_page > a > .setting_item .title {
    min-width: 0; margin: 0 !important; font-family: 'Montserrat', var(--fq-font-body) !important; font-size: 13px !important;
    font-weight: 500 !important; line-height: 19px !important; color: #262E43 !important;
}

/* (j) Customers (/new/customers): its header card is titled Companies Management, so the "Customers" crumb goes too */
#nova [data-tour="customers-guests"] .fq-page-head .breadcrumbs .breadcrumbs__item:last-child:not(:first-child) { display: none !important; }
html[dir="rtl"] #nova [data-tour="customers-guests"] .fq-page-head .breadcrumbs .breadcrumbs__item:has(+ .breadcrumbs__item:last-child) a::after,
html[dir="ltr"] #nova [data-tour="customers-guests"] .fq-page-head .breadcrumbs .breadcrumbs__item:first-child:has(+ .breadcrumbs__item:last-child) a::after { content: none !important; }

/* (k) every table heading as on the previous design (staging-2, and .fq-table in fandaqah-tables.css): a flat light
   band, no rounded ends, 12px medium-weight dark labels, a thin line between columns. Sort arrows only show on hover
   and on the sorted column. Calendar / schedule grids (.fq-grid-table) keep their own heading. Colours for light mode
   only; dark mode keeps its washes (section 30). Alignment stays as each table sets it, so headings line up with their
   cells. */
#nova#nova table:not(.fq-grid-table) > thead > tr > th {
    border-radius: 0 !important; border: 0 !important; box-shadow: none !important;
    font-size: 12px !important; font-weight: 500 !important; line-height: 1.3 !important; letter-spacing: 0 !important;
    text-transform: none !important; padding-block: 12px !important; vertical-align: middle !important;
}
#nova#nova table:not(.fq-grid-table) > thead > tr > th :is(span, a, div, button) { font-size: 12px !important; font-weight: 500 !important; }
#nova#nova table:not(.fq-grid-table) > thead > tr > th + th { border-inline-start: 0.5px solid var(--fq-th-line, #DFE2E7) !important; }
#nova#nova table:not(.fq-grid-table) > thead > tr:not(:first-child) > th { border-top: 0.5px solid var(--fq-th-line, #DFE2E7) !important; }
:root:not([data-fq-theme="dark"]) #nova#nova table:not(.fq-grid-table) > thead > tr > th {
    background: var(--fq-th-bg, #F6F7F9) !important; color: var(--fq-th-text, #111827) !important;
}
[data-fq-theme="dark"] #nova#nova table:not(.fq-grid-table) > thead > tr > th + th { border-inline-start-color: var(--fq-grey-line) !important; }
:is(#nova, body) th[data-fq-tt-th="1"]:not([data-fq-tt-dir="asc"]):not([data-fq-tt-dir="desc"]):not(:hover)::after { opacity: 0 !important; }

/* (l) every table: the Actions column is only as wide as its buttons, so the spare width is shared by the data
   columns instead of opening a wide gap before the buttons (Credit Notes, Promissories, Customers...).
   width: 1% on an auto-layout table = shrink to the content; nowrap keeps the buttons on one line.
   Expandable tables (Common ExpandableDataTable): the Actions heading is the one marked data-fq-sort="off"
   (sortable: false). Plain tables: the td-fit / actions_cell cell and the actions_th heading. */
#nova .xdt table.xdt-table > thead > tr > th[data-fq-sort="off"]:not(.xdt-flex):not(.xdt-hidden),
#nova table:not(.fq-grid-table):not(.fq-table--fixed) > thead > tr > th.actions_th,
#nova table:not(.fq-grid-table):not(.fq-table--fixed) > tbody > tr > td:is(.td-fit, .actions_cell) {
    width: 1% !important; white-space: nowrap !important;
}

/* ===== Stat cards, every page: icon on the start side (left in English, right in Arabic), no ring, the same size as
   the Financial Management home card icons (28px box, ~18px drawn icon);
   title and amount beside it - the same layout as the Financial Management home cards.
   Covers .statistics_area.fq-stats (reports, safe, deposits ...) and the Reservations management cards. ===== */
#nova .statistics_area.fq-stats ul li,
#nova :is(#reservations_management_page, #reservations_table_card) .statistics_area ul li {
    padding-inline: 62px 18px !important;
}
#nova .statistics_area.fq-stats ul li::after,
#nova :is(#reservations_management_page, #reservations_table_card) .statistics_area ul li::after {
    inset-block-start: 50% !important;
    transform: translateY(-50%) !important;
    inset-inline-start: 20px !important;
    inset-inline-end: auto !important;
    width: 28px !important;
    height: 28px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background-color: transparent !important;
    background-size: 18px 18px !important;
}
@media (max-width: 600px) {
    #nova .statistics_area.fq-stats ul li,
    #nova :is(#reservations_management_page, #reservations_table_card) .statistics_area ul li {
        padding: 52px 14px 14px !important;
    }
    #nova .statistics_area.fq-stats ul li::after,
    #nova :is(#reservations_management_page, #reservations_table_card) .statistics_area ul li::after {
        inset-block-start: 14px !important;
        transform: none !important;
        inset-inline-start: 14px !important;
    }
}


/* ===== Stat cards, every page: the same type and icon size as the Reservations management summary cards
   (title 13px / 600, amount 17px / 700, riyal sign 13px; 18px icon in a 28px box with no ring).
   :nth-child(n) lifts the icon rule over the ring rules ("Stat-card icon badges, every page") above. ===== */
#nova .statistics_area.fq-stats ul li span:not([class*="icon-"]) {
    font-size: 13px !important;
    font-weight: 600 !important;
    margin: 0 0 5px !important;
}
#nova .statistics_area.fq-stats ul li p {
    font-size: 17px !important;
    font-weight: 700 !important;
    margin: 4px 0 0 !important;
}
#nova .statistics_area.fq-stats ul li p span,
#nova .statistics_area.fq-stats ul li p span:not([class*="icon-"]) {
    font-size: 13px !important;
    margin: 0 !important;
}
#nova .statistics_area.fq-stats ul li:nth-child(n)::after {
    width: 28px !important;
    height: 28px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background-color: transparent !important;
    background-size: 18px 18px !important;
}
@media (max-width: 600px) {
    #nova .statistics_area.fq-stats ul li p { font-size: 17px !important; }
}

/* ===== Reports landing page (/reports, #reports_page): tiles take the Reservations summary-card sizes too -
   18px icon in a 28px box, title 13px / 600 (single tiles and the grouped journal / NTMP tiles) ===== */
#nova #reports_page :is(.report_item .icon, .reporting_item .icon_item) {
    flex: 0 0 28px;
    width: 28px !important;
    height: 28px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}
#nova #reports_page :is(.report_item .icon, .reporting_item .icon_item) :is(svg, img) {
    width: 18px !important;
    height: 18px !important;
}
#nova #reports_page :is(.report_item, .reporting_item) .title {
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
}

/* ===== New modules' summary tiles (Housekeeping, Maintenance, Inventory, POS Pro, Purchasing, CRM with Events, HRM):
   the same type as the Reservations summary cards - figure 17px / 700, title 13px / 600.
   These tiles have no icon. Sub-lines, comparisons, badges and the POS floor counters keep their size. ===== */
#nova :is(.fqv-stat-value, .pos-viz-tile-value, .pos-stat-value, .pur-stat-value, .crm-stat-value, .hr-stat-value:not(.hr-stat-badge), .bq-stat-value),
#nova .pur-kpi .pur-stat-value {
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
}
#nova :is(.fqv-stat-label, .pos-viz-tile-label, .pos-stat-label, .pur-stat-label, .crm-stat-label, .hr-stat-label, .bq-stat-label),
#nova .pur-kpi .pur-stat-label {
    font-size: 13px !important;
    font-weight: 600 !important;
}

/* ===== Module tab cards (.fq-tab-card: Housekeeping, Maintenance, Inventory, POS Pro, Purchasing, CRM, Events, HRM,
   Night Audit, Rate Management, Financial Management settings): the Reservations summary-card sizes -
   18px icon in a 28px box, title 13px / 600, description 12px in the muted ink ===== */
#nova .fq-tab-card .fq-tab-card-icon {
    flex: 0 0 28px !important;
    width: 28px !important;
    height: 28px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}
#nova .fq-tab-card .fq-tab-card-icon :is(svg, img) {
    width: 18px !important;
    height: 18px !important;
    stroke-width: 1.8;
}
#nova .fq-tab-card .fq-tab-card-title {
    display: block;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    margin: 0 0 2px !important;
}
#nova .fq-tab-card .fq-tab-card-desc {
    display: block;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;
    color: var(--fq-text-muted, #5F6B6A) !important;
}

/* ===== POS Pro Overview period buttons (Today / Last 7 days / Last 30 days / This month): the same label size and
   height as the page's other buttons (Show); the till, payment and refund chips keep their touch size ===== */
#nova .pos-filters .pos-chips .pos-chip {
    min-height: var(--fq-btn-h, 34px) !important;
    height: var(--fq-btn-h, 34px) !important;
    padding: 0 14px !important;
    font-size: var(--fq-fs-button, 12px) !important;
    font-weight: var(--fq-btn-weight, 600) !important;
    line-height: 1 !important;
}

/* (m) every donut in dark mode looks like the main dashboard's (UAT 2026-11-22): the outer plate, the groove and the
   centre disc each get the gray-green wash with a hairline. The layout script gives a round plate that wash only when it
   sits in fewer than two washed cards, so deeper donuts (Customer Reviews' score ring, module and report charts) lost
   their outer plate and groove to the navy page. Seven ids beat the script's six-id tag rules. Light mode is untouched. */
[data-fq-theme="dark"] :is(body, #fq-nw#fq-nw#fq-nw#fq-nw#fq-nw#fq-nw#fq-nw) :is(
    .oa-donut__disc, .oa-donut__groove, .cr-ring__disc, .cr-ring__groove, .fqv-dial-disc, .fqv-dial-groove,
    .rpt-neu-disc, .rpt-neu-groove, .fr-donut__disc, .fr-donut__groove) {
    background: var(--fq-dk-surface-strong) !important;
    box-shadow: inset 0 0 0 1px var(--fq-dk-line) !important;
}

/* ===== POS Pro, every screen (terminal, bills, session, costing, setup, modals): the selection buttons take the
   page's button size - chips (sections, order type, quick cash, refund / discount type, report switch) are 34px
   high with 12px labels; option buttons (variants, modifiers, reasons), the terminal category rail and the
   sub-tabs drop from 15px to the 13px title size and keep their own height. Supersedes the Overview-only rule above. ===== */
#nova .pos-chips .pos-chip,
#nova .fq-theme .pos-chip,
#nova .pos-chip {
    min-height: var(--fq-btn-h, 34px) !important;
    height: var(--fq-btn-h, 34px) !important;
    padding: 0 14px !important;
    font-size: var(--fq-fs-button, 12px) !important;
    font-weight: var(--fq-btn-weight, 600) !important;
    line-height: 1 !important;
}
#nova :is(.pos-option, .pos-rail-item, .pos-rail-item.is-child, .pos-subtab) {
    font-size: var(--fq-fs-title, 13px) !important;
}
#nova .pos-option .pos-option-price { font-size: var(--fq-fs-button, 12px) !important; }

/* ===== Dark mode loading skeletons (2026-11-22): the placeholders shown while a card's data loads
   (.fq-skeleton on Reports Plus and the main dashboard, .rm-skeleton-line in Rate Management, the chart
   skeleton bars .fqv-skel-bar) were warm/near-white in dark mode. They now shimmer between two navy +
   grey-green tints from the identity palette, a little lighter than the cards. Light mode is unchanged. ===== */
:root[data-fq-theme="dark"] {
    --fq-skel-base: color-mix(in srgb, var(--fq-id-grey) 18%, var(--fq-id-navy));
    --fq-skel-glow: color-mix(in srgb, var(--fq-id-grey) 32%, var(--fq-id-navy));
}
[data-fq-theme="dark"] #nova :is(.fq-skeleton, .rm-skeleton-line) {
    background: linear-gradient(90deg, var(--fq-skel-base) 0%, var(--fq-skel-glow) 40%, var(--fq-skel-base) 80%) !important;
    background-size: 200% 100% !important;
}
[data-fq-theme="dark"] #nova .fqv-skel-bar { background: var(--fq-skel-glow) !important; }

/* ===== Units Housing, Arrivals Today / Departures Today: both heads on the same navy (the Departures / sidebar
   colour, #262E43); Arrivals used teal #214F5F (--ad-head in DashboardUnits partial/ad-card.scss) ===== */
#nova .ad-card { --ad-head: #262E43 !important; }

/* ===== Top bar, user menu: the dropdown arrow beside the name is white. Nova's DropdownTrigger paints the arrow
   through a fill attribute on an inner <g> (activeIconColor), so the svg's own colour never reached it ===== */
.fdq-topbar .fdq-user .dropdown-trigger > svg,
.fdq-topbar .fdq-user .dropdown-trigger > svg :is(g[fill], path) { color: #FFFFFF !important; fill: #FFFFFF !important; }
.fdq-topbar .fdq-user .dropdown-trigger > svg > g[fill="none"] { fill: none !important; }

/* ===== Reports Plus dashboards (/pms-reports/dashboards/<key>), the navy headline card:
   (1) the identity art stops halfway and fades out towards the text, as on the main dashboard. This card stretches
       to the taller key-figures card beside it, so the art (sized to the card's height) grew wide enough to cover it all;
   (2) the Rooms / F&B / Other boxes take only the height of their content instead of filling the rest of the card.
       Everything else in the card stays as it is. ===== */
#nova .rdb-dash .fq-hero .fq-pattern {
    -webkit-mask-image: linear-gradient(to left, #000 0%, #000 30%, transparent 62%);
            mask-image: linear-gradient(to left, #000 0%, #000 30%, transparent 62%);
}
[dir="rtl"] #nova .rdb-dash .fq-hero .fq-pattern {
    -webkit-mask-image: linear-gradient(to right, #000 0%, #000 30%, transparent 62%);
            mask-image: linear-gradient(to right, #000 0%, #000 30%, transparent 62%);
}
#nova .rdb-dash .fq-hero .fq-hero__boxes {
    flex: 0 0 auto !important;
    min-height: 0 !important;
    align-items: start !important;
}
#nova .rdb-dash .fq-hero .fq-hero__box {
    justify-content: flex-start !important;
}
/* the navy headline card is as tall as the key-figures card beside it again, with no empty navy part at the bottom:
   the height left over goes to the headline (amount and period line, centred in it); the bar and the compact
   Rooms / F&B / Other boxes sit at the bottom of the card */
#nova .rdb-dash .fq-hero .fq-hero__main {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

/* =====================================================================================================
   §24 UAT round 2026-11-22 (b): one type scale everywhere, coral labels and headings, docked floating buttons.
   CSS only, last in the file so it wins over the module styles. The defined scale (section 23): body 12,
   titles 13, card / breadcrumb heading 15 (El Messiri), figures 17 / 700, badges 11.
   ===================================================================================================== */

/* (a) breadcrumb / header-card title on the icon's line. El Messiri draws its Latin capitals about 2px above the
   middle of the line box, so next to the centred 20px icon the English title looked raised. Arabic glyphs already
   sit in the middle, so only left-to-right pages move the title down. Every header variant: the standalone
   breadcrumb card, the merged module header card, .fq-page-head cards and Reports Plus. */
#nova#nova :is(.fq-crumb-title, .fq-page-head__title) { align-items: center !important; }
#nova#nova :is(.fq-crumb-icon, .fq-page-head__icon) {
    display: inline-flex !important; align-items: center; justify-content: center;
    width: 20px !important; height: 20px !important; flex: 0 0 20px;
}
#nova#nova :is(.fq-crumb-icon, .fq-page-head__icon) svg { width: 20px !important; height: 20px !important; display: block; }
html:not([dir="rtl"]) #nova#nova :is(.fq-crumb-title b, .fq-page-head__title :is(h1, h2), .fq-page-head__title > span:not(.fq-page-head__icon), .fq-header-line .fq-header-title) {
    position: relative; top: .13em;
}
/* the breadcrumb links: one size on every page */
#nova#nova :is(nav, .fq-page-head) :is(ul.breadcrumbs, ul.breadcrumb) :is(li, a) { font-size: 12px !important; line-height: 1.2 !important; }

/* (b) field labels in the logo coral (#F15E5A) everywhere: New Booking and every form, filter and modal.
   Labels that wrap a choice (checkbox, radio, switch, segmented option) keep their own colour. */
:root { --fq-label: var(--fq-accent, #F15E5A); }
:is(#nova, .sweet-modal-overlay) :is(label, legend, .fd-label, .nr-label, .form-label, .control-label, .field-label, .fq-field__label, .rpt-search-label) {
    color: var(--fq-label) !important;
}
:is(#nova, .sweet-modal-overlay) label:is(:has(input[type="checkbox"], input[type="radio"]), [class*="switch"], [class*="toggle"], [class*="check"], [class*="radio"], [class*="chip"], [class*="option"], [class*="btn"], [class*="segment"], [class*="tab"]),
:is(#nova, .sweet-modal-overlay) :is(.btn, button, [class*="segment"], [class*="switch"]) label {
    color: inherit !important;
}
/* labels on navy surfaces (unit cards, heroes, report cards) stay light */
#nova :is(.unit_item, .fq-hero, .rpt-rc, .oa-hero) :is(label, legend) { color: inherit !important; }

/* (c) field titles and main headings in #F15E5A: header-card titles, card and section titles, form section headings.
   Headings on navy or coloured surfaces (unit cards, heroes, report cards, coloured heads) keep their own colour. */
#nova#nova :is(.fq-crumb-title, .fq-page-head__title),
#nova#nova :is(.fq-crumb-title b, .fq-page-head__title :is(h1, h2), .fq-page-head__title > span:not(.fq-page-head__icon), .fq-header-line .fq-header-title),
#nova :is(.fq-card__title, .fdq-card__title, .fq-card-title, .fd-card-title, .fqv-card-title, .nr-card-title,
    .oa-card__title, .cashier_card_title, .pos-viz-card-title, .rpt-chart-card-title, .ops_card_title, .msg-card-title,
    .ac-mcard-title, .title-card, .card-title, .section-title, .fd-section-title,
    .search_criteria .title, .reservation_details .title, .customer_details .title, .total_result .title,
    .na-s-section-title, .rpt-group-title, .fq-section-title),
#nova :is(.card, .fq-card, .fdq-card, section, form) > :is(h1, h2, h3, h4),
#nova :is(.card, .fq-card, .fdq-card, section, form) > :is(header, [class$="head"], [class$="header"]) > :is(h1, h2, h3, h4),
.sweet-modal-overlay .sweet-modal .sweet-title :is(h1, h2, h3) {
    color: var(--fq-accent, #F15E5A) !important;
}
#nova#nova :is(.unit_item, .fq-hero, .rpt-rc, .ad-card__head, .oa-hero, .fqv-hero, .rdb-dash .fq-hero) :is(h1, h2, h3, h4, [class*="title"]) { color: inherit !important; }

/* (d) New Booking price summary at the defined sizes: the unit / dates lines at the title size, the amount at the
   figure size (it was 28px, the lines 14-16px) */
#nova#nova .total_result .top_rows .col_right span { font-size: 13px !important; font-weight: 500 !important; margin: 0 0 4px !important; line-height: 1.35 !important; }
#nova#nova .total_result .top_rows .col_left { font-size: 13px !important; }
#nova#nova .total_result .top_rows .col_left p { font-family: var(--fq-font-body) !important; font-size: 17px !important; font-weight: 700 !important; line-height: 1.2 !important; }
#nova#nova .total_result .top_rows .col_left p span { font-size: 13px !important; }
#nova#nova .total_result .bottom_rows ul li { height: auto !important; min-height: 38px; }
#nova#nova .total_result .bottom_rows ul li :is(span, p, .total_ewa) { font-size: 12px !important; }
#nova#nova .total_result .bottom_rows ul li:last-child :is(span, p, .total_ewa) { font-size: 13px !important; font-weight: 600 !important; }
#nova#nova .total_result .bottom_rows input { font-size: 12px !important; }

/* (e) Night Audit at the defined sizes (night-audit*.css used rem sizes up to 1.75rem = 25px): the status line and
   numbers at the figure size, section and day titles at the card-heading size */
#nova #night-audit-page .na-s-status { font-size: 17px !important; line-height: 1.3 !important; }
#nova #night-audit-page :is(.na-s-section-title, .na-s-day-title, .na-snapshot-title) { font-size: 15px !important; line-height: 1.3 !important; }
#nova #night-audit-page .na-s-date-value { font-size: 15px !important; }
#nova #night-audit-page :is(.na-s-date-value .na-hijri, .na-s-day-title .na-hijri) { font-size: 12px !important; }
#nova #night-audit-page :is(.na-s-summary dd, .na-kpi-value, .na-count-value, .na-fact-value, .na-fact-main .na-fact-value) { font-size: 17px !important; }
#nova #night-audit-page :is(.na-s-primary, .na-readiness-title strong, .na-payload-title) { font-size: 13px !important; }
#nova #night-audit-page :is(.na-s-date-label, .na-mode-option, .na-s-stage, .na-s-problem-refs, .na-s-help-sub, .na-s-glossary) { font-size: 12px !important; }
#nova #night-audit-page :is(.na-s-summary dt, .na-s-stage-mark, .na-s-num-label, .na-s-pill, .na-quick-print-head) { font-size: 11px !important; }
.na-modal .na-detail-message { font-size: 13px !important; }

/* (f) Units Housing room actions ("Move room to", the gear on a card): the defined sizes and a calmer look -
   13px titles, 11px hints, 32px coral-tint icon tiles, no heavy red ring on the item that takes focus when the
   menu opens (keyboard focus keeps a thin ring) */
#nova .unit_item .uh-actions { padding: 6px !important; gap: 2px !important; }
#nova .unit_item .uh-actions .uh-actions__head { padding-block: 6px 8px !important; padding-inline: 10px 6px !important; margin-block-end: 2px !important; }
#nova .unit_item .uh-actions .uh-actions__label { font-size: 11px !important; font-weight: 600 !important; color: var(--fq-accent, #F15E5A) !important; }
#nova .unit_item .uh-actions .uh-actions__item { min-height: 44px !important; padding: 6px 10px !important; gap: 10px !important; border-radius: 8px !important; }
#nova .unit_item .uh-actions .uh-actions__item:focus { outline: none !important; }
#nova .unit_item .uh-actions .uh-actions__item:focus-visible { outline: 1px solid var(--fq-accent, #F15E5A) !important; outline-offset: -1px !important; }
#nova .unit_item .uh-actions .uh-actions__item:hover { background: var(--fq-coral-soft, #FDECEA) !important; }
#nova .unit_item .uh-actions .uh-actions__tile {
    width: 32px !important; height: 32px !important; border-radius: 8px !important;
    background: var(--fq-coral-soft, #FDECEA) !important; color: var(--fq-accent, #F15E5A) !important;
}
#nova .unit_item .uh-actions .uh-actions__tile svg { width: 16px !important; height: 16px !important; }
#nova .unit_item .uh-actions .uh-actions__title { font-size: 13px !important; font-weight: 600 !important; }
#nova .unit_item .uh-actions .uh-actions__hint { font-size: 11px !important; }

/* (g) Reports Plus and every module Report Library: every report card in one colour, the logo coral (strip on the
   card edge, light category label, Open button); replaces the per-category colours of section 23 (e) */
#nova#nova :is(.reports-plus, .rpt-module-reports) .rpt-rc:not(.is-disabled) {
    --rc-strip: var(--fq-accent, #F15E5A) !important; --rc-label: var(--fq-salmon, #F58985) !important; --rc-btn: var(--fq-accent, #F15E5A) !important;
}

/* (h) the announcement bar's megaphone tile in the logo coral, whatever the message tone */
.fq-msgbar .fq-msgbar__icon, .fq-msgbar[class*="fq-msgbar--"] .fq-msgbar__icon { background: var(--fq-accent, #F15E5A) !important; color: #FFFFFF !important; }

/* (i) summary-card icons a little bigger on every page: 32px drawn in a 42px box (they were 18px in 32px; 22 in 32 was still small) */
#nova .statistics_area.fq-stats ul li,
#nova :is(#reservations_management_page, #reservations_table_card) .statistics_area ul li { padding-inline-start: 78px !important; }
#nova .statistics_area.fq-stats ul li:nth-child(n)::after,
#nova :is(#reservations_management_page, #reservations_table_card) .statistics_area ul li:nth-child(n)::after {
    width: 42px !important; height: 42px !important; background-size: 32px 32px !important;
}
#nova #reports_page :is(.report_item .icon, .reporting_item .icon_item) { flex: 0 0 42px !important; width: 42px !important; height: 42px !important; }
#nova #reports_page :is(.report_item .icon, .reporting_item .icon_item) :is(svg, img) { width: 32px !important; height: 32px !important; }
#nova .fq-tab-card .fq-tab-card-icon { flex: 0 0 42px !important; width: 42px !important; height: 42px !important; }
#nova .fq-tab-card .fq-tab-card-icon :is(svg, img) { width: 32px !important; height: 32px !important; }

/* (i2) every summary / section card on the same icon and type, whatever page it is on (UAT 2026-11-22 c): the icon is
   drawn 32px edge to edge in a 42px slot (Financial Management drew its icon 18px: 5px padding inside a 32px image;
   Units Management had 24px; Settings 32px), the card title 13px / 600, the description 12px / 400. */
#nova #financials_page .icon_item,
#nova :is(#settings_page, #units_page) :is(.setting_item, .unit_item) .icon,
#nova .unit_item > .icon, #nova .setting_item > .icon {
    flex: 0 0 42px !important; width: 42px !important; height: 42px !important;
    display: flex !important; align-items: center; justify-content: center;
}
#nova #financials_page .icon_item :is(img, img.fm-3d-icon, svg),
#nova#nova#nova :is(.unit_item, .setting_item) > .icon :is(svg, img) {
    width: 32px !important; height: 32px !important; padding: 0 !important; object-fit: contain;
}
#nova#nova :is(#financials_page .fm-card-text .title, .unit_item > .title, .setting_item > .title, .report_item .title, .reporting_item .title,
    .fq-tab-card .fq-tab-card-title, .fq-card__title) {
    font-family: var(--fq-font-body) !important; font-size: 13px !important; font-weight: 600 !important; line-height: 1.3 !important;
}
#nova#nova :is(#financials_page .fm-card-text .desc, .fq-tab-card .fq-tab-card-desc, .fq-card__caption) {
    font-family: var(--fq-font-body) !important; font-size: 12px !important; font-weight: 400 !important; line-height: 1.4 !important;
}

/* (k) headings found above the defined size in the page survey: Nova's resource index heading (21px, it repeats the
   header-card title, e.g. Services Category) and the Reservations Table card heading (18px) take the 15px card
   heading in the title face and coral */
#nova#nova h1.text-90.font-normal,
#nova#nova .rt_title h2 {
    font-family: var(--fq-font-title) !important; font-size: 15px !important; font-weight: 700 !important; line-height: 1.3 !important; color: var(--fq-accent, #F15E5A) !important;
}

/* (l) the other headings off the scale in the survey, all to the 15px card heading: report group headings in Reports Plus
   and the module Report Libraries (18px), main dashboard section headings (18px), Rate Management home titles (15.95px),
   CRM Overview section titles (14.5px), the Support banner heading (21px). Chart part / bar labels 11.8px -> 11px. */
#nova#nova :is(.rpt-group-title, .fq-title, .rm2-home-title, .hk-section-title) {
    font-family: var(--fq-font-title) !important; font-size: 15px !important; font-weight: 700 !important; line-height: 1.3 !important; color: var(--fq-accent, #F15E5A) !important;
}
#nova#nova h1.text-lg { font-size: 15px !important; line-height: 1.4 !important; }
#nova#nova :is(.fqv-part-label, .fqv-bar-label) { font-size: 11px !important; }

/* (m) module Report Library side menu (CRM, HRM, Housekeeping ... on .rpt-module-reports): the same type as the
   Reports Plus side menu - item 13px / 400, count pill 11px, row 34px */
#nova#nova .rpt-module-reports .rpt-category { min-height: 34px !important; padding-block: 6px !important; font-size: 13px !important; }
#nova#nova .rpt-module-reports .rpt-category > span:not(.rpt-category-count),
#nova#nova .rpt-module-reports .rpt-category > span:not(.rpt-category-count) * { font-size: 13px !important; font-weight: 400 !important; }
#nova#nova .rpt-module-reports .rpt-category.is-active > span:not(.rpt-category-count) { font-weight: 600 !important; }
#nova#nova .rpt-module-reports .rpt-category .rpt-category-count { font-size: 11px !important; }
/* Reports Plus's own side menu drew its items at 12.5px: the same 13px title size, so both menus match */
#nova#nova .reports-plus :is(.rpt-category, .rpt-sublevel) > span:not(.rpt-category-count) { font-size: 13px !important; }

/* (j) Ask Fandi and Email us docked on the end edge of the window, low down, as two 40px tabs stacked one above the
   other (the same edge-tab idea as the Units Housing scroll arrows). They now cover only the page margin instead of
   the content; each can still be dragged elsewhere (layout.blade.php), and the Fandi panel opens above its tab. */
.fandi-ai { bottom: 16px !important; inset-inline-end: 0 !important; }
.fandi-ai-panel { margin-inline-end: 16px; }
.fandi-ai-fab.fandi-ai-fab, .fq-support-fab.fq-support-fab {
    width: 40px !important; height: 40px !important; min-width: 40px; border-radius: 10px 0 0 10px !important;
    box-shadow: 0 2px 10px rgba(38, 46, 67, .22) !important;
}
[dir="rtl"] .fandi-ai-fab.fandi-ai-fab, [dir="rtl"] .fq-support-fab.fq-support-fab { border-radius: 0 10px 10px 0 !important; }
.fandi-ai-fab.fandi-ai-fab svg, .fq-support-fab.fq-support-fab svg { width: 20px !important; height: 20px !important; }
.fq-support-fab, .fq-support-fab.beside-fandi { bottom: 62px !important; inset-inline-end: 0 !important; }

/* =====================================================================================================
   §25 Theme colour (Appearance menu, per browser, 2026-11-22). window.fdqAccent (layout.blade.php head) sets
   --fq-accent, --fq-accent-hover, --fq-accent-soft, --fq-accent-tint and --fq-accent-rgb on <html>, and
   data-fq-accent when the colour is not the Fandaqah coral. With no choice nothing below changes the page.
   ===================================================================================================== */
/* (a) every brand token that carried the coral now carries the chosen colour (light and dark) */
:root[data-fq-accent][data-fq-accent] {
    --fq-coral: var(--fq-accent); --fq-coral-strong: var(--fq-accent); --fq-coral-hover: var(--fq-accent-hover);
    --fq-coral-soft: var(--fq-accent-soft); --fq-coral-tint: var(--fq-accent-tint);
    --fq-primary: var(--fq-accent); --fq-primary-hover: var(--fq-accent-hover);
    --fq-primary-soft: var(--fq-accent-soft); --fq-primary-tint: var(--fq-accent-tint);
    --fq-info: var(--fq-accent); --fq-icon: var(--fq-accent); --fq-label: var(--fq-accent);
    --fq-one: var(--fq-accent); --fq-one-hover: var(--fq-accent-hover);
    --fq-focus-ring: 0 0 0 3px rgba(var(--fq-accent-rgb), .45);
}
:root[data-fq-accent][data-fq-accent][data-fq-theme="dark"] {
    --fq-primary-soft: color-mix(in srgb, var(--fq-accent) 16%, var(--fq-id-navy, #262E43));
    --fq-coral-soft: color-mix(in srgb, var(--fq-accent) 16%, var(--fq-id-navy, #262E43));
}
/* (b) coral written straight into module styles: the elements the scan tagged */
[data-fq-accent] :is([data-fq-ac~="c"], #fq-ac#fq-ac#fq-ac#fq-ac#fq-ac#fq-ac#fq-ac) { color: var(--fq-accent) !important; }
[data-fq-accent] :is([data-fq-ac~="b"], #fq-ac#fq-ac#fq-ac#fq-ac#fq-ac#fq-ac#fq-ac) { background-color: var(--fq-accent) !important; }
[data-fq-accent] :is([data-fq-ac~="b"], #fq-ac#fq-ac#fq-ac#fq-ac#fq-ac#fq-ac#fq-ac):is(button, a, [role="button"]):hover { background-color: var(--fq-accent-hover) !important; }
[data-fq-accent] :is([data-fq-ac~="ba"], #fq-ac#fq-ac#fq-ac#fq-ac#fq-ac#fq-ac#fq-ac) { background-color: rgba(var(--fq-accent-rgb), var(--fq-ac-a, .15)) !important; }
[data-fq-accent] :is([data-fq-ac~="bs"], #fq-ac#fq-ac#fq-ac#fq-ac#fq-ac#fq-ac#fq-ac) { background-color: var(--fq-accent-soft) !important; }
[data-fq-accent] :is([data-fq-ac~="bt"], #fq-ac#fq-ac#fq-ac#fq-ac#fq-ac#fq-ac#fq-ac) { background-color: var(--fq-accent-tint) !important; }
[data-fq-accent] :is([data-fq-ac~="r"], #fq-ac#fq-ac#fq-ac#fq-ac#fq-ac#fq-ac#fq-ac) { border-color: var(--fq-accent) !important; }
[data-fq-accent] :is([data-fq-ac~="f"], #fq-ac#fq-ac#fq-ac#fq-ac#fq-ac#fq-ac#fq-ac) { fill: var(--fq-accent) !important; }
[data-fq-accent] :is([data-fq-ac~="s"], #fq-ac#fq-ac#fq-ac#fq-ac#fq-ac#fq-ac#fq-ac) { stroke: var(--fq-accent) !important; }
[data-fq-theme="dark"][data-fq-accent] :is([data-fq-ac~="bs"], #fq-ac#fq-ac#fq-ac#fq-ac#fq-ac#fq-ac#fq-ac),
[data-fq-theme="dark"][data-fq-accent] :is([data-fq-ac~="bt"], #fq-ac#fq-ac#fq-ac#fq-ac#fq-ac#fq-ac#fq-ac) { background-color: var(--fq-coral-soft) !important; }

/* (c) the Theme colour group in the Appearance menu: six swatches and the user's own colour, Reset under them */
.fdq-theme__menu { min-width: 220px; }
.fdq-accent { margin-top: 6px; padding: 8px 6px 4px; border-top: 1px solid var(--fq-border); }
.fdq-accent__title { margin: 0 4px 8px; font-size: 11px; font-weight: 600; color: var(--fq-text-muted); }
.fdq-accent__row { display: grid; grid-template-columns: repeat(7, 22px); gap: 6px; padding: 0 4px; }
.fdq-topbar .fdq-accent__sw, .fdq-accent__sw {
    position: relative; width: 22px; height: 22px; min-width: 0; padding: 0; margin: 0; border-radius: 50%;
    border: 2px solid var(--fq-surface); background: var(--sw); box-shadow: 0 0 0 1px var(--fq-border); cursor: pointer;
}
.fdq-accent__sw[aria-checked="true"] { box-shadow: 0 0 0 2px var(--sw); }
.fdq-accent__sw:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--fq-text); }
.fdq-accent__custom { overflow: hidden; background: conic-gradient(#F15E5A, #B8621B, #23805A, #214F5F, #2563C9, #7A4BB8, #F15E5A); }
.fdq-accent__custom[aria-checked="true"] { background: var(--sw); }
.fdq-accent__custom input { position: absolute; inset: -6px; width: 34px; height: 34px; padding: 0; border: 0; opacity: 0; cursor: pointer; }
.fdq-topbar .fdq-accent__reset, .fdq-accent__reset {
    display: block; width: auto; height: auto; min-height: 0; margin: 8px 4px 2px; padding: 0; border: 0; background: none !important;
    color: var(--fq-accent, #F15E5A) !important; font-size: 11px; font-weight: 600; cursor: pointer;
}
[data-fq-accent] .fdq-topbar .fdq-theme__opt[aria-checked="true"] { color: var(--fq-accent); }

/* =====================================================================================================
   §26 UAT 2026-11-22 (d): status badges, Housekeeping type, Academy art and type
   ===================================================================================================== */
/* (a) status badges everywhere (.fq-status: Housekeeping, Maintenance, Inventory, Purchasing, CRM, HRM, POS Pro, Events)
   at the PMS badge size: 11px / 600, 22px high, like the reservation badges (they were 12.5px, 25px high) */
#nova#nova .fq-status {
    font-size: var(--fq-fs-badge, 11px) !important; font-weight: 600 !important; line-height: 1.2 !important;
    min-height: 22px !important; padding: 3px 9px !important; gap: 5px !important; white-space: nowrap !important;
}
#nova#nova .fq-status .fq-status-dot { width: 6px !important; height: 6px !important; flex: none; }
/* several badges for one row (In Progress + Overdue) sit on one line, in tables and in the expanded row */
#nova#nova :is(.hk-chips, .fq-status-group, .fq-chips) { flex-wrap: nowrap !important; gap: 4px !important; }
#nova#nova .xdt :is(.xdt-main, .xdt-sub):has(.fq-status) { overflow: visible !important; max-width: none !important; text-overflow: clip !important; }
#nova#nova .xdt-table td:has(.fq-status + .fq-status, .hk-chips) { white-space: nowrap !important; }
/* the expanded row's details card: a value made of badges goes to the end of its line, as every other value there */
#nova#nova dd > :is(.hk-chips, .fq-status-group, .fq-chips) { justify-content: flex-end !important; margin-inline-start: auto; }
#nova#nova dd:has(> .fq-status) { text-align: end !important; }

/* (b) Housekeeping on the defined scale: Room Board counters (15px) at the body size, room numbers (16px) and
   checklist names (16px) at the card-heading size, Overview dial figure (20px) at the figure size; Nova's text-xs
   (10.9px) at 11px everywhere */
#nova#nova .hk-chip, #nova#nova .hk-chip :is(strong, b) { font-size: 12px !important; line-height: 1.3 !important; }
#nova#nova .hk-chip { padding: 5px 10px !important; }
#nova#nova :is(.hk-room, .hk-checklist-head) :is(.text-lg, .text-xl) { font-size: 15px !important; line-height: 1.3 !important; }
#nova#nova .fqv-dial-value { font-size: 17px !important; font-weight: 700 !important; }
#nova#nova :is(.fqv-stat-sub, .fqv-stat-flag, .fqv-card-sub, .fqv-card-toggle, .fqv-dial-sub, .fqv-part-pct) { font-size: 11px !important; }
#nova .text-xs { font-size: 11px; }

/* (c) Academy: the navy card heads, video thumbnails and the Live Demo welcome panel use the sidebar's identity art,
   on the end half only and fading out towards the text (as on the dashboard headline); the drawn pattern
   (ArtBackground / HeroPattern) is hidden, the navy stays */
#nova :is(.ac-mcard-art, .ac-thumb, .ac-demo-hero) { position: relative; isolation: isolate; background: linear-gradient(160deg, #303A54 0%, #262E43 55%, #1F2638 100%) !important; }
#nova :is(.ac-mcard-art, .ac-thumb, .ac-demo-hero)::before {
    content: ''; position: absolute; inset-block: 0; inset-inline-end: 0; width: 60%; z-index: 0; pointer-events: none;
    background: url('/brand/sidebar-art.svg') right top / cover no-repeat;
    -webkit-mask-image: linear-gradient(to left, #000 0%, #000 35%, transparent 95%);
            mask-image: linear-gradient(to left, #000 0%, #000 35%, transparent 95%);
}
[dir="rtl"] #nova :is(.ac-mcard-art, .ac-thumb, .ac-demo-hero)::before {
    background-image: url('/brand/sidebar-art-rtl.svg'); background-position: left top;
    -webkit-mask-image: linear-gradient(to right, #000 0%, #000 35%, transparent 95%);
            mask-image: linear-gradient(to right, #000 0%, #000 35%, transparent 95%);
}
#nova .ac-demo-hero::before { width: 55%; }
#nova :is(.ac-mcard-art, .ac-thumb) svg.ac-art { position: relative; z-index: 1; }
#nova :is(.ac-mcard-art, .ac-thumb) svg.ac-art > g:first-child { display: none; }
#nova .ac-demo-hero .ac-demo-hero-pattern { display: none !important; }
#nova .ac-demo-hero > :not(.ac-demo-hero-pattern) { position: relative; z-index: 1; }

/* (d) Academy type, colour and icons on the system scale: card heading 15 (title face, coral), titles 13 / 600,
   body 12, small text and chips 11; the hero mark is a plain coral icon like the page-header icons */
#nova#nova :is(.ac-hero-title, .ac-section-title, .ac-demo-form-title, .ac-demo-confirm-title) {
    font-family: var(--fq-font-title) !important; font-size: 15px !important; font-weight: 700 !important; line-height: 1.3 !important;
    color: var(--fq-accent, #F15E5A) !important;
}
#nova#nova :is(.ac-mcard-title, .ac-step-title, .ac-hero-progress-label, .ac-demo-points strong, .ac-demo-menu-title, .ac-chat-title, .ac-chat-intro-title, .ac-demo-bar-hello, .ac-demo-lang) {
    font-size: 13px !important; font-weight: 600 !important; line-height: 1.35 !important;
}
#nova#nova :is(.ac-mcard-summary, .ac-step-summary, .ac-section-meta, .ac-hero-tagline, .ac-demo-hero-text, .ac-demo-points li, .ac-demo-facts,
    .ac-demo-form-text, .ac-demo-form-alert, .ac-demo-chip, .ac-demo-consent-label, .ac-demo-menu-text, .ac-demo-menu-item, .ac-demo-confirm-text,
    .ac-chat-intro-text, .ac-chat-suggestion, .ac-bubble, .ac-chat-video-title, .fq-theme .ac-demo-field input.form-control.form-input) {
    font-size: 12px !important; line-height: 1.5 !important;
}
#nova#nova :is(.ac-state-chip, .ac-group-tag, .ac-demo-badge, .ac-demo-hint, .ac-demo-error, .ac-demo-privacy, .ac-demo-menu-sub, .ac-demo-bar-sub,
    .ac-chat-sub, .ac-chat-suggestions-label, .ac-chat-video-meta, .ac-chat-video-at, .ac-chat-video-time) {
    font-size: 11px !important;
}
#nova#nova .ac-demo-label { font-size: 12px !important; color: var(--fq-label, #F15E5A) !important; }
#nova#nova .fq-theme :is(.ac-demo-submit, .ac-demo-bar-actions .btn) { font-size: var(--fq-fs-button, 12px) !important; }
#nova#nova .ac-demo-hero-title { font-size: 21px !important; line-height: 1.25 !important; }
#nova#nova .ac-hero-mark { width: 42px !important; height: 42px !important; background: transparent !important; box-shadow: none !important; color: var(--fq-accent, #F15E5A) !important; }
#nova#nova .ac-hero-mark svg { width: 32px !important; height: 32px !important; color: var(--fq-accent, #F15E5A) !important; stroke: currentColor; }

/* =====================================================================================================
   33. SLIDING TOGGLE THUMB, AS IN THE OWNER APP (2026-11-22)
   ===================================================================================================== */
/* Every segmented toggle (the boxes listed in GROUPS of /brand/fandaqah-seg.js: front office, Night Audit,
   Rate Management, Events, CRM, Reports Plus, the main dashboard's period / view / headline toggles; not the
   scrolling section bar, which keeps its own highlight)
   draws its chosen pill once, as the box's ::before, and the script springs it to the option that is chosen.
   The pill's look is read from that option (--fq-seg-bg / -bd / -r / -sh), whose own pill is then hidden.
   isolation keeps the pill above the box's well and under the options' text, without touching the options. */
#nova [data-fq-seg-on] { position: relative; isolation: isolate; }
#nova [data-fq-seg-on]::before {
    content: ''; position: absolute; top: 0; left: 0; z-index: -1; pointer-events: none; box-sizing: border-box;
    width: var(--fq-seg-w, 0); height: var(--fq-seg-h, 0);
    transform: translate3d(var(--fq-seg-x, 0), var(--fq-seg-y, 0), 0);
    background: var(--fq-seg-bg, #FFFFFF); border: var(--fq-seg-bd, 1px solid #ECE9E3);
    border-radius: var(--fq-seg-r, 9px); box-shadow: var(--fq-seg-sh, 0 1px 2px rgba(38, 46, 67, .06));
    will-change: transform, width;
}
#nova#nova [data-fq-seg-on] :is(
    a.active, input:checked ~ p, .is-on, .is-active, .segment.active, button[aria-pressed="true"]
) { background: transparent !important; background-image: none !important; border-color: transparent !important; box-shadow: none !important; }
/* while the script reads the chosen option's own look, nothing animates */
#nova [data-fq-seg-cap] * { transition: none !important; }
/* no black focus border on a toggle option after a click (UAT 2026-11-22), on every toggle box of §33 (and the
   section bars); keyboard focus keeps a soft coral ring so the chosen option can still be found */
#nova#nova :is(#reservations_management_page .reservations_tabs .tabs, .nr-seg, .na-mode-switch, .rm-segmented, .bq-segmented,
    .crm-segmented, .rpt-gd-seg, .segmented, .fq-toggle, .fq-hero__tabs, .fq-secnav__links) :is(a, button, label, p, input, .btn, .segment):is(:focus, :active) {
    outline: none !important;
}
#nova#nova :is(#reservations_management_page .reservations_tabs .tabs, .nr-seg, .na-mode-switch, .rm-segmented, .bq-segmented,
    .crm-segmented, .rpt-gd-seg, .segmented, .fq-toggle, .fq-hero__tabs, .fq-secnav__links) :is(a, button, .btn, .segment):focus:not(:focus-visible) {
    box-shadow: none !important;
}
#nova#nova [data-fq-seg-on] :is(a, button, .btn, .segment):focus:not(:focus-visible) { border-color: transparent !important; }
#nova#nova :is(#reservations_management_page .reservations_tabs .tabs, .nr-seg, .na-mode-switch, .rm-segmented, .bq-segmented,
    .crm-segmented, .rpt-gd-seg, .segmented, .fq-toggle, .fq-hero__tabs, .fq-secnav__links) :is(a, button, .btn, .segment):focus-visible {
    outline: 2px solid rgba(241, 94, 90, .45) !important; outline-offset: 1px !important;
}
#nova#nova .nr-seg label:has(input:focus-visible) p { outline: 2px solid rgba(241, 94, 90, .45) !important; outline-offset: 1px !important; }

/* =====================================================================================================
   34. DARK MODE: NIGHT AUDIT SIMPLE / ADVANCED TOGGLE (2026-11-22)
   In dark the toggle lost its well and its chosen pill: the layout script tags the box as a nested container
   (data-fq-nw "bh", no fill), and the chosen option has no fill of its own, so §33 had no pill colour to read.
   Here the well is the gray-green wash with a hairline (as other dark toggle tracks) and the chosen option is
   coral with warm writing (the dark selected segment). The ids outweigh the layout script's tags (up to 8).
   Light mode is not touched. Other toggles: to follow.
   ===================================================================================================== */
[data-fq-theme="dark"] :is(body, #fq-nw#fq-nw#fq-nw#fq-nw#fq-nw#fq-nw#fq-nw#fq-nw#fq-nw) #nova .na-mode-switch {
    background-color: var(--fq-dk-surface-strong) !important; box-shadow: inset 0 0 0 1px var(--fq-dk-line) !important;
}
[data-fq-theme="dark"] :is(body, #fq-nw#fq-nw#fq-nw#fq-nw#fq-nw#fq-nw#fq-nw#fq-nw#fq-nw) #nova .na-mode-switch .na-mode-option {
    background-color: transparent !important; border-color: transparent !important; box-shadow: none !important; color: var(--fq-text-muted) !important;
}
[data-fq-theme="dark"] :is(body, #fq-nw#fq-nw#fq-nw#fq-nw#fq-nw#fq-nw#fq-nw#fq-nw#fq-nw) #nova .na-mode-switch .na-mode-option:hover { color: var(--fq-text) !important; }
/* the chosen option: coral itself, until the slide script (§33) takes its colour for the sliding pill */
[data-fq-theme="dark"] :is(body, #fq-nw#fq-nw#fq-nw#fq-nw#fq-nw#fq-nw#fq-nw#fq-nw#fq-nw) #nova .na-mode-switch:not([data-fq-seg-on]) .na-mode-option.is-on {
    background-color: var(--fq-dk-active) !important;
}
[data-fq-theme="dark"] :is(body, #fq-nw#fq-nw#fq-nw#fq-nw#fq-nw#fq-nw#fq-nw#fq-nw#fq-nw) #nova .na-mode-switch .na-mode-option.is-on { color: var(--fq-id-warm) !important; }
[data-fq-theme="dark"] :is(body, #fq-nw#fq-nw#fq-nw#fq-nw#fq-nw#fq-nw#fq-nw#fq-nw#fq-nw) #nova .na-mode-switch[data-fq-seg-on]::before {
    background: var(--fq-dk-active) !important; border: 0 !important; box-shadow: none !important;
}

/* ---- 2026-11-23 UAT fixes -------------------------------------------------------------------------------------- */
/* (a) top bar at high zoom (150%): the bar used to keep its fixed 44px height while its items wrapped, so the user menu
   (white "Dyafa Owner" text) dropped below the navy bar onto the white page. The bar now grows with its content:
   one row whenever everything fits (as before), a second navy row when it does not. "Biz Date" drops its label first. */
@media (min-width: 1024px) {
    .fdq-topbar { height: auto; min-height: calc(var(--fq-topbar-h) - 12px); }
    .fdq-topbar .fdq-topbar__tray { height: auto; min-height: 40px; flex-wrap: wrap; row-gap: 4px; }
    .fdq-topbar .fdq-topbar__start { height: 40px; }
    .fdq-topbar .fdq-topbar__end { flex: 1 1 auto; flex-wrap: nowrap; }
    .fdq-topbar .fdq-user { flex-shrink: 0; }
}
@media (min-width: 1024px) and (max-width: 1439.98px) {
    .fdq-topbar .fdq-bizdate__label { display: none; }
    .fdq-topbar .fdq-topbar__end { gap: var(--fq-space-2); }
}
/* (b) sidebar menu labels stay on one line (sidebar narrowed to 252px) */
.fdq-nav .sidebar-label { white-space: nowrap; }

/* (c) Academy Live Demo: the welcome title is white on the navy panel; the name / email / mobile inputs keep room
   for their icon (the #nova#nova#nova input rule in fandaqah-forms.css reset the padding, so the icon sat on the text) */
#nova#nova .ac-demo-hero .ac-demo-hero-title { color: #FFFFFF !important; font-family: var(--fq-font-title) !important; }
#nova#nova#nova#nova .ac-demo-control input.form-control.form-input { padding-inline-start: 42px !important; padding-inline-end: 14px !important; }
[dir="rtl"] #nova#nova#nova#nova .ac-demo-control input.form-control.form-input[dir="ltr"] { padding-left: 14px !important; padding-right: 42px !important; }
#nova#nova .ac-demo-control .ac-demo-control-icon { z-index: 1; }

/* (d) message bar: a message whose text was saved inside a code / pre / paragraph block (app-dev's "<a href...>" one)
   brought that block's padding, line height and monospace font, so its pill filled the 34px bar edge to edge.
   Anything inside a message now reads as plain inline text in the pill. */
#nova .fq-msgbar .message { line-height: 20px; max-height: 26px; }
#nova .fq-msgbar .message * {
    display: inline !important; margin: 0 !important; padding: 0 !important; border: 0 !important;
    background: none !important; font: inherit !important; line-height: inherit !important;
    white-space: nowrap !important; box-shadow: none !important;
}
/* the editor also saves empty <div><br></div> lines after the text: no line breaks inside the one-line bar */
#nova .fq-msgbar .message br { display: none !important; }

/* (e) Units Management tiles (/resources/units) as the Financial Management landing cards: same 5 / 3 / 1 column grid
   and 16px gap, white card with an 8px radius and the same light shadow (no border), 14 x 18px padding, 42px icon
   slot, title 13 / 600 and a description of up to two lines (12 / 400, grey) under it. */
#nova#nova#nova #units_page {
    display: grid !important; grid-template-columns: repeat(5, minmax(0, 1fr)) !important; gap: 16px !important; margin: 0 !important;
}
@media (max-width: 1279.98px) { #nova#nova#nova #units_page { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (max-width: 767.98px) { #nova#nova#nova #units_page { grid-template-columns: minmax(0, 1fr) !important; } }
#nova#nova#nova #units_page .unit_item {
    height: 100%; min-height: 0 !important; margin: 0 !important; padding: 14px 18px !important; gap: 0 !important;
    align-items: center !important; background: var(--fq-surface, #FFFFFF) !important; border: 0 !important;
    border-radius: .5rem !important; box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .05) !important;
}
#nova#nova#nova #units_page .unit_item:hover { background: #FAFAFA !important; }
[data-fq-theme="dark"] #nova#nova#nova #units_page .unit_item:hover { background: var(--fq-surface-2) !important; }
#nova#nova#nova #units_page .unit_item > .icon { margin: 0 !important; margin-inline-end: 14px !important; }
#nova#nova#nova #units_page .unit_item > .text { flex: 1 1 auto; min-width: 0; gap: 0; text-align: start; }
#nova#nova#nova #units_page .unit_item .text > .title {
    font-family: var(--fq-font-body) !important; font-size: 13px !important; font-weight: 600 !important; line-height: 1.3 !important;
    color: var(--fq-text, #262E43) !important; margin: 0 !important; overflow-wrap: normal !important;
}
#nova#nova#nova #units_page .unit_item .text > .desc {
    font-family: var(--fq-font-body) !important; font-size: 12px !important; font-weight: 400 !important; line-height: 1.4 !important;
    color: #555555 !important; margin: 4px 0 0 !important; white-space: normal !important;
    display: -webkit-box !important; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; text-overflow: ellipsis;
}
[data-fq-theme="dark"] #nova#nova#nova #units_page .unit_item .text > .desc { color: var(--fq-text-muted) !important; }

/* (f) top bar under 1024 px (2026-11-23): row 1 = menu and business date on the start side, the four integration logos
   (ZATCA Phase II, SHMS, SCTH, NTMP) and the user avatar on the end side; the hotel logo is not repeated here (it is in
   the sidebar drawer). Row 2 = New Booking, New Group Booking and the shortcuts button, which opens row 3: the
   shortcut icons (up to eight), centred. __start / __end become display: contents so their items share one flex tray. */
.fdq-tools-toggle { display: none !important; }
@media (max-width: 1023.98px) {
    .fdq-topbar .fdq-topbar__tray { display: flex; flex-wrap: wrap; align-items: center; column-gap: var(--fq-space-2); row-gap: 6px; padding: 4px 0; }
    .fdq-topbar .fdq-topbar__start, .fdq-topbar .fdq-topbar__end { display: contents; }
    .fdq-topbar .fdq-topbar__logo { display: none !important; }
    .fdq-topbar .fdq-menu-toggle { order: 1; }
    .fdq-topbar .fdq-bizdate { order: 2; }
    .fdq-topbar .fdq-integrations { order: 3; margin-inline-start: auto; flex-wrap: nowrap; overflow: visible; max-width: none; }
    .fdq-topbar .fdq-user { order: 4; }
    .fdq-topbar .fdq-user__text { display: none; }
    .fdq-topbar .fdq-topbar__cta { order: 5; flex: 1 1 100%; flex-wrap: nowrap; }
    .fdq-topbar .fdq-topbar__cta .fdq-btn--outline { display: inline-flex; }
    .fdq-topbar .fdq-tools-toggle { display: inline-flex !important; align-items: center; justify-content: center; flex-shrink: 0; }
    .fdq-tools-open .fdq-topbar .fdq-tools-toggle { background: rgba(255, 255, 255, .18); }
    .fdq-topbar .fdq-tools { order: 6; flex: 1 1 100%; display: none; flex-wrap: wrap; justify-content: center; }
    .fdq-tools-open .fdq-topbar .fdq-tools { display: flex; }
}
@media (max-width: 479.98px) {
    .fdq-topbar .fdq-integrations { gap: 4px; }
    .fdq-topbar .fdq-integrations .fdq-chip { width: 30px; height: 30px; min-height: 30px; padding: 0; border-radius: 50%; overflow: hidden; }
    .fdq-topbar .fdq-integrations .fdq-chip img { width: 24px; height: 24px; }
    .fdq-topbar .fdq-topbar__cta .fdq-btn { padding-inline: 10px; font-size: 13px; white-space: nowrap; }
}

/* (g) Academy Live Demo start screen (2026-11-23): the welcome panel and the "Start your demo" form drawn a little
   smaller (zoomed out), as they look on production; nothing else about them changes */
#nova .ac-demo-start { zoom: .9; }
