/* MLV V11.5.1 - full application Light/Dark companion guard.
   Loaded after the selected theme to neutralize legacy hard-coded surfaces without changing layout. */
html[data-app-theme]:not([data-app-theme="current-mlv"]){--mode-bg:var(--ui-bg,var(--cream));--mode-panel:var(--ui-panel,var(--white));--mode-panel-soft:var(--ui-panel-soft,var(--sand));--mode-text:var(--ui-text,var(--ink));--mode-muted:var(--ui-muted,var(--muted));--mode-line:var(--ui-line,var(--line));--mode-accent:var(--ui-accent,var(--gold));--mode-accent-contrast:var(--ui-accent-contrast,#17140f)}
html[data-theme="light"][data-app-theme]:not([data-app-theme="current-mlv"]){color-scheme:light}html[data-theme="dark"][data-app-theme]:not([data-app-theme="current-mlv"]){color-scheme:dark}
html[data-app-theme]:not([data-app-theme="current-mlv"]) body.admin-page,
html[data-app-theme]:not([data-app-theme="current-mlv"]) body.account-page{color:var(--mode-text)!important}

/* Admin dashboard home previously carried a hard-coded dark dashboard palette. */
html[data-theme="light"][data-app-theme]:not([data-app-theme="current-mlv"]) body.admin-home-page.dashboard-home{--dash-bg:var(--mode-bg);--dash-panel:var(--mode-panel);--dash-panel-2:var(--mode-panel-soft);--dash-line:var(--mode-line);--dash-text:var(--mode-text);--dash-muted:var(--mode-muted);--dash-accent:var(--mode-accent);background:radial-gradient(circle at 88% 12%,color-mix(in srgb,var(--mode-accent) 8%,transparent),transparent 28%),var(--mode-bg)!important;color:var(--mode-text)!important}
html[data-theme="dark"][data-app-theme]:not([data-app-theme="current-mlv"]) body.admin-home-page.dashboard-home{--dash-panel:var(--mode-panel);--dash-panel-2:var(--mode-panel-soft);--dash-line:var(--mode-line);--dash-text:var(--mode-text);--dash-muted:var(--mode-muted);--dash-accent:var(--mode-accent);color:var(--mode-text)!important}
html[data-app-theme]:not([data-app-theme="current-mlv"]) .command-welcome h1,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .command-welcome p,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .command-footer{color:inherit}
html[data-theme="light"][data-app-theme]:not([data-app-theme="current-mlv"]) .admin-home-page .command-kpis article,
html[data-theme="light"][data-app-theme]:not([data-app-theme="current-mlv"]) .admin-home-page .department-card{background:linear-gradient(145deg,var(--mode-panel),var(--mode-panel-soft))!important;color:var(--mode-text)!important;border-color:var(--mode-line)!important;box-shadow:var(--ui-shadow)!important;backdrop-filter:none}
html[data-theme="light"][data-app-theme]:not([data-app-theme="current-mlv"]) .admin-home-page .department-tools>a{background:color-mix(in srgb,var(--mode-panel-soft) 76%,var(--mode-panel))!important;color:var(--mode-text)!important;border-color:color-mix(in srgb,var(--mode-accent) 24%,var(--mode-line))!important}
html[data-theme="light"][data-app-theme]:not([data-app-theme="current-mlv"]) .admin-home-page .department-card h2,
html[data-theme="light"][data-app-theme]:not([data-app-theme="current-mlv"]) .admin-home-page .department-tools strong{color:var(--mode-text)!important}
html[data-theme="light"][data-app-theme]:not([data-app-theme="current-mlv"]) .admin-home-page .department-card p,
html[data-theme="light"][data-app-theme]:not([data-app-theme="current-mlv"]) .admin-home-page .command-footer{color:var(--mode-muted)!important}
html[data-theme="light"][data-app-theme]:not([data-app-theme="current-mlv"]) .dashboard-template-executive-glass .department-card,
html[data-theme="light"][data-app-theme]:not([data-app-theme="current-mlv"]) .dashboard-template-modern-minimal .department-card,
html[data-theme="light"][data-app-theme]:not([data-app-theme="current-mlv"]) .dashboard-template-cinematic-travel .department-card,
html[data-theme="light"][data-app-theme]:not([data-app-theme="current-mlv"]) .dashboard-template-classic-concierge .department-card,
html[data-theme="light"][data-app-theme]:not([data-app-theme="current-mlv"]) .dashboard-template-moroccan-heritage .department-card{background:linear-gradient(145deg,var(--mode-panel),var(--mode-panel-soft))!important;border-color:var(--mode-line)!important}

/* Admin module surfaces - System Health, AI Hub, System & Updates and every legacy editor. */
html[data-app-theme]:not([data-app-theme="current-mlv"]) .admin-panel,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .stat-grid article,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .management-grid article,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .item-cards article,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .review-admin-list>article,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .category-admin-list article,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .inquiry-list article,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .upgrade-check,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .ai-provider-vault article,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .health-hero,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .health-score,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .health-hero-meta span,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .health-jump a,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .health-metrics article,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .repair-grid article,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .repair-confirm,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .diagnostic-summary article,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .diagnostic-row,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .recurring-errors,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .theme-qa-note,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .system-status-card,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .system-action-card,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .system-check-card,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .system-security-gate,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .system-file-drop,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .about-moment-add,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .about-moment-grid>article{background:var(--mode-panel)!important;color:var(--mode-text)!important;border-color:var(--mode-line)!important}
html[data-app-theme]:not([data-app-theme="current-mlv"]) .system-hero,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .system-action-card>header,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .repair-preview,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .system-backup-list article,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .system-backup-vault,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .system-inspection-pass{background:linear-gradient(135deg,color-mix(in srgb,var(--mode-accent) 7%,var(--mode-panel)),var(--mode-panel-soft))!important;color:var(--mode-text)!important;border-color:var(--mode-line)!important}
html[data-app-theme]:not([data-app-theme="current-mlv"]) .payment-setup code,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .multi-category-picker,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .multi-category-picker .multi-category-option,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .check-card{background:var(--mode-panel-soft)!important;color:var(--mode-text)!important;border-color:var(--mode-line)!important}
html[data-app-theme]:not([data-app-theme="current-mlv"]) .admin-table td,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .admin-table th,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .configuration-list>div,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .detail-list>div,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .error-table-wrap{border-color:var(--mode-line)!important;color:var(--mode-text)!important}
html[data-app-theme]:not([data-app-theme="current-mlv"]) .health-hero p,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .health-metrics span,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .health-metrics small,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .health-hero-meta span,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .repair-grid p,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .system-action-card p,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .system-status-card p{color:var(--mode-muted)!important}
html[data-app-theme]:not([data-app-theme="current-mlv"]) .health-hero h2,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .health-score span,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .health-hero-meta b,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .health-metrics strong,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .system-action-card h2,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .system-status-card strong{color:var(--mode-text)!important}

/* Every editable control inherits the active companion palette. */
html[data-app-theme]:not([data-app-theme="current-mlv"]) .admin-page input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
html[data-app-theme]:not([data-app-theme="current-mlv"]) .admin-page select,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .admin-page textarea,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .ai-provider-vault input,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .health-filter input,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .health-filter select,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .repair-confirm input{background:var(--mode-panel-soft)!important;color:var(--mode-text)!important;border-color:var(--mode-line)!important;caret-color:var(--mode-accent)!important}
html[data-app-theme]:not([data-app-theme="current-mlv"]) .admin-page input::placeholder,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .admin-page textarea::placeholder{color:color-mix(in srgb,var(--mode-muted) 78%,transparent)!important}
html[data-app-theme]:not([data-app-theme="current-mlv"]) .admin-page select option{background:var(--mode-panel)!important;color:var(--mode-text)!important}

/* Client dashboard - same theme tokens in both modes, including notification/support/payment cards. */
html[data-theme="light"][data-app-theme]:not([data-app-theme="current-mlv"]) body.account-home-page{--client-dash-panel:var(--mode-panel);--client-dash-panel-2:var(--mode-panel-soft);--client-dash-text:var(--mode-text);--client-dash-muted:var(--mode-muted);--client-dash-line:var(--mode-line);background:var(--mode-bg)!important;color:var(--mode-text)!important}
html[data-app-theme]:not([data-app-theme="current-mlv"]) .account-panel,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .account-card,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .account-stat,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .favorite-card,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .account-table-wrap,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .account-auth-card,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .client-command-kpis article,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .client-department-card,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .notification-list article{background:var(--mode-panel)!important;color:var(--mode-text)!important;border-color:var(--mode-line)!important}
html[data-app-theme]:not([data-app-theme="current-mlv"]) .client-department-tools>a,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .account-message-thread article,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .message{background:var(--mode-panel-soft)!important;color:var(--mode-text)!important;border-color:var(--mode-line)!important}
html[data-app-theme]:not([data-app-theme="current-mlv"]) .account-page input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
html[data-app-theme]:not([data-app-theme="current-mlv"]) .account-page select,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .account-page textarea{background:var(--mode-panel-soft)!important;color:var(--mode-text)!important;border-color:var(--mode-line)!important}
html[data-app-theme]:not([data-app-theme="current-mlv"]) .account-page select option{background:var(--mode-panel)!important;color:var(--mode-text)!important}

/* Dialogs, overlays and sticky toolbars should never force the opposite mode. */
html[data-app-theme]:not([data-app-theme="current-mlv"]) dialog,
html[data-app-theme]:not([data-app-theme="current-mlv"]) [class*="modal-card"],
html[data-app-theme]:not([data-app-theme="current-mlv"]) [class*="dialog-card"],
html[data-app-theme]:not([data-app-theme="current-mlv"]) .sticky-save{background:color-mix(in srgb,var(--mode-panel) 94%,transparent)!important;color:var(--mode-text)!important;border-color:var(--mode-line)!important}

/* Focus/selection stays visible in every palette. */
html[data-app-theme]:not([data-app-theme="current-mlv"]) :focus-visible{outline-color:var(--mode-accent)!important}
html[data-app-theme]:not([data-app-theme="current-mlv"]) ::selection{background:color-mix(in srgb,var(--mode-accent) 38%,transparent);color:var(--mode-text)}

/* V11.5.1 shell companion pass - headers, navigation and workspace chrome follow the active mode too. */
html[data-app-theme]:not([data-app-theme="current-mlv"]) .admin-topbar,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .admin-topbar-home,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .account-topbar{
  background:color-mix(in srgb,var(--mode-panel) 94%,transparent)!important;
  color:var(--mode-text)!important;
  border-color:var(--mode-line)!important;
  box-shadow:0 10px 34px color-mix(in srgb,#000 10%,transparent)!important;
  backdrop-filter:blur(var(--ui-nav-blur,18px));
}
html[data-app-theme]:not([data-app-theme="current-mlv"]) .admin-topbar .brand strong,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .account-topbar .brand strong,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .admin-topbar nav a,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .account-topbar nav a,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .account-actions>a{color:var(--mode-text)!important}
html[data-app-theme]:not([data-app-theme="current-mlv"]) .admin-topbar nav a:not(.active),
html[data-app-theme]:not([data-app-theme="current-mlv"]) .account-topbar nav a:not(.active){color:var(--mode-muted)!important}

html[data-app-theme]:not([data-app-theme="current-mlv"]) .admin-sidebar{
  background:linear-gradient(180deg,color-mix(in srgb,var(--mode-panel) 97%,var(--mode-bg)),color-mix(in srgb,var(--mode-panel-soft) 90%,var(--mode-bg)))!important;
  color:var(--mode-text)!important;
  border-color:color-mix(in srgb,var(--mode-accent) 24%,var(--mode-line))!important;
  box-shadow:18px 0 45px color-mix(in srgb,#000 9%,transparent)!important;
}
html[data-app-theme]:not([data-app-theme="current-mlv"]) .admin-sidebar-head,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .admin-sidebar-footer{border-color:var(--mode-line)!important}
html[data-app-theme]:not([data-app-theme="current-mlv"]) .admin-sidebar-head strong,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .admin-sidebar-label{color:var(--mode-text)!important}
html[data-app-theme]:not([data-app-theme="current-mlv"]) .admin-sidebar-head small,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .admin-sidebar-nav i,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .admin-sidebar-index{color:var(--mode-accent)!important}
html[data-app-theme]:not([data-app-theme="current-mlv"]) .admin-sidebar-head button,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .admin-organize-trigger{
  background:color-mix(in srgb,var(--mode-panel-soft) 75%,transparent)!important;
  color:var(--mode-text)!important;
  border-color:color-mix(in srgb,var(--mode-accent) 28%,var(--mode-line))!important;
}
html[data-app-theme]:not([data-app-theme="current-mlv"]) .admin-sidebar-nav a{color:var(--mode-muted)!important}
html[data-app-theme]:not([data-app-theme="current-mlv"]) .admin-sidebar-nav a:hover{
  background:color-mix(in srgb,var(--mode-accent) 8%,var(--mode-panel-soft))!important;
  color:var(--mode-text)!important;
}
html[data-app-theme]:not([data-app-theme="current-mlv"]) .admin-sidebar-nav a.is-active,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .admin-sidebar-nav a.active{
  background:linear-gradient(90deg,color-mix(in srgb,var(--mode-accent) 16%,var(--mode-panel-soft)),color-mix(in srgb,var(--mode-panel) 95%,transparent))!important;
  color:var(--mode-text)!important;
  border-color:color-mix(in srgb,var(--mode-accent) 38%,var(--mode-line))!important;
  box-shadow:inset 3px 0 0 var(--mode-accent)!important;
}
html[data-app-theme]:not([data-app-theme="current-mlv"]) .admin-sidebar-footer>small{color:var(--mode-muted)!important}

/* Dashboard template accents remain distinctive, but no template may force the opposite color mode. */
html[data-theme="light"][data-app-theme]:not([data-app-theme="current-mlv"]) .command-center-v10,
html[data-theme="light"][data-app-theme]:not([data-app-theme="current-mlv"]) .client-command-center{
  background:radial-gradient(circle at 88% 8%,color-mix(in srgb,var(--mode-accent) 9%,transparent),transparent 29%),linear-gradient(145deg,var(--mode-bg),color-mix(in srgb,var(--mode-panel-soft) 72%,var(--mode-bg)))!important;
  color:var(--mode-text)!important;
}
html[data-theme="dark"][data-app-theme]:not([data-app-theme="current-mlv"]) .command-center-v10,
html[data-theme="dark"][data-app-theme]:not([data-app-theme="current-mlv"]) .client-command-center{
  background:radial-gradient(circle at 88% 8%,color-mix(in srgb,var(--mode-accent) 10%,transparent),transparent 29%),linear-gradient(145deg,var(--mode-bg),color-mix(in srgb,var(--mode-panel-soft) 62%,var(--mode-bg)))!important;
  color:var(--mode-text)!important;
}
html[data-theme="light"][data-app-theme]:not([data-app-theme="current-mlv"]) .dashboard-template-cinematic-travel .department-card:nth-child(n),
html[data-theme="light"][data-app-theme]:not([data-app-theme="current-mlv"]) .client-command-center.dashboard-template-cinematic-travel .client-department-card:nth-child(n),
html[data-theme="light"][data-app-theme]:not([data-app-theme="current-mlv"]) .dashboard-template-modern-minimal .department-card,
html[data-theme="light"][data-app-theme]:not([data-app-theme="current-mlv"]) .client-command-center.dashboard-template-modern-minimal .client-department-card,
html[data-theme="light"][data-app-theme]:not([data-app-theme="current-mlv"]) .dashboard-template-classic-concierge .department-card,
html[data-theme="light"][data-app-theme]:not([data-app-theme="current-mlv"]) .client-command-center.dashboard-template-classic-concierge .client-department-card{
  background:linear-gradient(145deg,var(--mode-panel),var(--mode-panel-soft))!important;
  color:var(--mode-text)!important;
  border-color:var(--mode-line)!important;
}

/* Legacy headings and action text should never inherit a dark-only literal color in Light mode. */
html[data-app-theme]:not([data-app-theme="current-mlv"]) .admin-title h1,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .admin-title h2,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .admin-panel h1,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .admin-panel h2,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .admin-panel h3,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .account-page-title h1,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .account-panel h2,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .account-card h2{color:var(--mode-text)!important}
html[data-app-theme]:not([data-app-theme="current-mlv"]) .admin-title p,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .admin-panel p:not(.eyebrow),
html[data-app-theme]:not([data-app-theme="current-mlv"]) .account-page-title p:not(.eyebrow),
html[data-app-theme]:not([data-app-theme="current-mlv"]) .account-panel p:not(.eyebrow){color:var(--mode-muted)!important}

/* Moroccan Ivory was authored light-first; its Dark companion must replace the light-only card literals. */
html[data-theme="dark"][data-app-theme="moroccan-ivory"] .department-card,
html[data-theme="dark"][data-app-theme="moroccan-ivory"] .client-department-card,
html[data-theme="dark"][data-app-theme="moroccan-ivory"] .package-card,
html[data-theme="dark"][data-app-theme="moroccan-ivory"] .blog-index-card,
html[data-theme="dark"][data-app-theme="moroccan-ivory"] .review-card,
html[data-theme="dark"][data-app-theme="moroccan-ivory"] .service-card,
html[data-theme="dark"][data-app-theme="moroccan-ivory"] .category-card,
html[data-theme="dark"][data-app-theme="moroccan-ivory"] .detail-related-card,
html[data-theme="dark"][data-app-theme="moroccan-ivory"] .detail-booking-card,
html[data-theme="dark"][data-app-theme="moroccan-ivory"] .contact-panel,
html[data-theme="dark"][data-app-theme="moroccan-ivory"] .contact-form-shell{
  background:linear-gradient(145deg,var(--mode-panel),var(--mode-panel-soft))!important;
  color:var(--mode-text)!important;
  border-color:var(--mode-line)!important;
  box-shadow:var(--ui-shadow)!important;
}
html[data-theme="dark"][data-app-theme="moroccan-ivory"] .department-card h2,
html[data-theme="dark"][data-app-theme="moroccan-ivory"] .client-department-card h2,
html[data-theme="dark"][data-app-theme="moroccan-ivory"] .department-card strong,
html[data-theme="dark"][data-app-theme="moroccan-ivory"] .client-department-card strong,
html[data-theme="dark"][data-app-theme="moroccan-ivory"] .package-card h2,
html[data-theme="dark"][data-app-theme="moroccan-ivory"] .package-card h3,
html[data-theme="dark"][data-app-theme="moroccan-ivory"] .blog-index-card h2,
html[data-theme="dark"][data-app-theme="moroccan-ivory"] .blog-index-card h3{color:var(--mode-text)!important}
html[data-theme="dark"][data-app-theme="moroccan-ivory"] .department-card p,
html[data-theme="dark"][data-app-theme="moroccan-ivory"] .client-department-card p,
html[data-theme="dark"][data-app-theme="moroccan-ivory"] .package-card p,
html[data-theme="dark"][data-app-theme="moroccan-ivory"] .blog-index-card p{color:var(--mode-muted)!important}

/* V17.0.9 — mode contrast must also cover the canonical Current MLV theme.
   Dashboard templates may keep their visual identity, but must never retain a
   dark-only surface after Light mode (or light-only copy after Dark mode). */
html[data-app-theme="current-mlv"]{
  --mode-bg:var(--ui-bg,var(--cream,#faf6ed));
  --mode-panel:var(--ui-panel,var(--white,#fffdf8));
  --mode-panel-soft:var(--ui-panel-soft,var(--sand,#f2eadc));
  --mode-text:var(--ui-text,var(--ink,#18140f));
  --mode-muted:var(--ui-muted,var(--muted,#736b62));
  --mode-line:var(--ui-line,var(--line,rgba(132,94,30,.25)));
  --mode-accent:var(--ui-accent,var(--gold,#c59f54));
}
html[data-theme="light"][data-app-theme="current-mlv"] body.admin-home-page.dashboard-home{
  --dash-bg:var(--mode-bg);--dash-panel:var(--mode-panel);--dash-panel-2:var(--mode-panel-soft);
  --dash-line:var(--mode-line);--dash-text:var(--mode-text);--dash-muted:var(--mode-muted);--dash-accent:var(--mode-accent);
  background:radial-gradient(circle at 88% 12%,color-mix(in srgb,var(--mode-accent) 8%,transparent),transparent 28%),var(--mode-bg)!important;
  color:var(--mode-text)!important;
}
html[data-theme="light"][data-app-theme="current-mlv"] .dashboard-template-executive-glass .department-card:nth-child(n),
html[data-theme="light"][data-app-theme="current-mlv"] .dashboard-template-modern-minimal .department-card:nth-child(n),
html[data-theme="light"][data-app-theme="current-mlv"] .dashboard-template-cinematic-travel .department-card:nth-child(n),
html[data-theme="light"][data-app-theme="current-mlv"] .dashboard-template-classic-concierge .department-card:nth-child(n),
html[data-theme="light"][data-app-theme="current-mlv"] .dashboard-template-moroccan-heritage .department-card:nth-child(n),
html[data-theme="light"][data-app-theme="current-mlv"] .client-command-center .client-department-card:nth-child(n){
  background:linear-gradient(145deg,var(--mode-panel),var(--mode-panel-soft))!important;
  color:var(--mode-text)!important;border-color:var(--mode-line)!important;backdrop-filter:none!important;
}
html[data-theme="light"][data-app-theme="current-mlv"] .department-tools>a,
html[data-theme="light"][data-app-theme="current-mlv"] .client-department-tools>a{
  background:color-mix(in srgb,var(--mode-panel-soft) 76%,var(--mode-panel))!important;
  color:var(--mode-text)!important;border-color:color-mix(in srgb,var(--mode-accent) 24%,var(--mode-line))!important;
}
html[data-theme="light"][data-app-theme="current-mlv"] .department-card h2,
html[data-theme="light"][data-app-theme="current-mlv"] .department-tools strong,
html[data-theme="light"][data-app-theme="current-mlv"] .client-department-card h2,
html[data-theme="light"][data-app-theme="current-mlv"] .client-department-tools strong{color:var(--mode-text)!important}
html[data-theme="light"][data-app-theme="current-mlv"] .department-card p,
html[data-theme="light"][data-app-theme="current-mlv"] .department-open,
html[data-theme="light"][data-app-theme="current-mlv"] .command-footer,
html[data-theme="light"][data-app-theme="current-mlv"] .client-department-card p,
html[data-theme="light"][data-app-theme="current-mlv"] .client-department-open,
html[data-theme="light"][data-app-theme="current-mlv"] .client-command-footer{color:var(--mode-muted)!important}
html[data-theme="dark"] .department-card h2,
html[data-theme="dark"] .department-tools strong,
html[data-theme="dark"] .client-department-card h2,
html[data-theme="dark"] .client-department-tools strong{color:var(--dash-text,var(--client-dash-text,#f7f0e4))!important}
html[data-theme="dark"] .department-card p,
html[data-theme="dark"] .department-open,
html[data-theme="dark"] .client-department-card p,
html[data-theme="dark"] .client-department-open{color:var(--dash-muted,var(--client-dash-muted,#aaa096))!important}

/* Public/account utility surfaces use companion tokens so no alternate theme leaves a white island in Dark mode or a dark island in Light mode. */
html[data-app-theme]:not([data-app-theme="current-mlv"]) .payment-return-card,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .success-card,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .verification-card,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .support-card,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .review-form-card,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .blog-submit-panel,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .verification-shell,
html[data-app-theme]:not([data-app-theme="current-mlv"]) .itinerary-public-shell{
  background:var(--mode-panel)!important;
  color:var(--mode-text)!important;
  border-color:var(--mode-line)!important;
}
