/* Charte Maison DV — thème graphique commun TEST et PRODUCTION (body.theme-maison-dv) */

.theme-maison-dv {
    --dv-bleu-fonce: #232d5a;
    --dv-bleu: #00509b;
    --dv-rose: #e60050;
    --accent: #00509b;
    --accent-hover: #232d5a;
    --accent-glow: rgba(0, 80, 155, 0.16);
    --accent-faint: rgba(0, 80, 155, 0.12);
}

/* Typographie charte */
.theme-maison-dv,
.theme-maison-dv .discussion-card h1,
.theme-maison-dv .discussion-card h2,
.theme-maison-dv .facturation-header h1,
.theme-maison-dv .menu-link-heading,
.theme-maison-dv .workspace-name,
.theme-maison-dv .modal-header h3 {
    font-family: 'Georama', 'Segoe UI', system-ui, sans-serif;
}

.theme-maison-dv .discussion-card h1,
.theme-maison-dv .discussion-card h2,
.theme-maison-dv .facturation-header h1 {
    color: var(--dv-bleu-fonce) !important;
    font-weight: 700 !important;
}

/* Liens */
.theme-maison-dv a {
    color: var(--dv-bleu);
}
.theme-maison-dv a:hover {
    color: var(--dv-bleu-fonce);
}

/* Boutons */
.theme-maison-dv .btn-primary {
    background: linear-gradient(135deg, var(--dv-bleu-fonce) 0%, var(--dv-bleu) 100%) !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 2px 12px rgba(35, 45, 90, 0.25) !important;
}
.theme-maison-dv .btn-primary:hover {
    background: linear-gradient(135deg, #2d3a6e 0%, #0066b8 100%) !important;
    box-shadow: 0 4px 16px rgba(0, 80, 155, 0.35) !important;
    color: #fff !important;
}
.theme-maison-dv .btn-outline {
    color: var(--dv-bleu) !important;
    border-color: var(--dv-bleu) !important;
    background: transparent !important;
}
.theme-maison-dv .btn-outline:hover {
    background: rgba(0, 80, 155, 0.1) !important;
    border-color: var(--dv-bleu-fonce) !important;
    color: var(--dv-bleu-fonce) !important;
}

/* Cartes & panneaux */
.theme-maison-dv .discussion-card {
    border: 2px solid var(--dv-bleu) !important;
    border-top: 3px solid var(--dv-rose) !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(0, 80, 155, 0.06) 100%) !important;
    box-shadow: 0 4px 18px rgba(35, 45, 90, 0.1);
}
.theme-maison-dv .facturation-table-wrap {
    border: 1px solid rgba(0, 80, 155, 0.22) !important;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.72) !important;
}
/* Espace fournisseur : garder les ascenseurs bas + droite */
.theme-maison-dv.page-espace-fournisseur .facturation-table-wrap.espace-fournisseur-table-wrap {
    overflow: auto !important;
    overflow-x: auto !important;
    overflow-y: auto !important;
    max-height: min(70vh, 820px);
}
.theme-maison-dv .facturation-table th {
    background: linear-gradient(180deg, var(--dv-bleu-fonce) 0%, var(--dv-bleu) 100%) !important;
    color: #fff !important;
    border-bottom-color: var(--dv-bleu-fonce) !important;
}
.theme-maison-dv .facturation-table td {
    border-bottom-color: rgba(0, 80, 155, 0.12) !important;
}
.theme-maison-dv .facturation-table tbody tr:hover td {
    background: rgba(0, 80, 155, 0.06) !important;
}

/* Menu latéral */
.theme-maison-dv .workspace-name-accent {
    color: var(--dv-bleu) !important;
}
.theme-maison-dv .menu-title {
    color: rgba(35, 45, 90, 0.55) !important;
}
.theme-maison-dv .menu-link-active {
    background: rgba(0, 80, 155, 0.12) !important;
    color: var(--dv-bleu-fonce) !important;
    border-left-color: var(--dv-bleu) !important;
}
.theme-maison-dv .menu-link:hover {
    background: rgba(0, 80, 155, 0.08) !important;
}
.theme-maison-dv .service-toggle.open {
    background: rgba(0, 80, 155, 0.1) !important;
    color: var(--dv-bleu) !important;
}
.theme-maison-dv .service-panel {
    border-left-color: var(--dv-bleu) !important;
}
.theme-maison-dv .submenu-link {
    font-family: 'Georama', 'Segoe UI', system-ui, sans-serif;
    color: var(--dv-bleu-fonce) !important;
}
.theme-maison-dv .submenu-link:hover {
    background: rgba(0, 80, 155, 0.1) !important;
}
.theme-maison-dv .submenu-link.submenu-link-active {
    background: linear-gradient(135deg, var(--dv-bleu-fonce) 0%, var(--dv-bleu) 100%) !important;
    color: #fff !important;
    font-weight: 600;
}
.theme-maison-dv .studio-maison-menu {
    margin: .35rem 0 .55rem;
    padding: .4rem .4rem .5rem;
    border-radius: 10px;
    border: 2px solid var(--dv-bleu) !important;
    border-top: 3px solid var(--dv-rose) !important;
    background: linear-gradient(180deg, rgba(0, 80, 155, 0.14) 0%, rgba(35, 45, 90, 0.08) 100%) !important;
    box-shadow: 0 2px 10px rgba(35, 45, 90, 0.12);
}
.theme-maison-dv .studio-maison-menu .menu-link-heading {
    font-size: .88rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.theme-maison-dv .studio-maison-menu .service-panel {
    margin: .25rem 0 .15rem .55rem;
    padding: .35rem .4rem .4rem .65rem;
    border-left-width: 3px !important;
    background: linear-gradient(90deg, rgba(0, 80, 155, 0.12) 0%, transparent 85%) !important;
    border-radius: 0 8px 8px 0;
}
.theme-maison-dv .studio-maison-menu .submenu-link {
    position: relative;
    padding: .42rem .5rem .42rem 1.2rem;
}
.theme-maison-dv .studio-maison-menu .submenu-link::before {
    content: "◆";
    position: absolute;
    left: .4rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: .42rem;
    color: var(--dv-bleu);
    opacity: .9;
}
.theme-maison-dv .studio-maison-menu .submenu-link.submenu-link-active::before {
    color: #fff !important;
}
.theme-maison-dv .studio-maison-menu .menu-title {
    color: var(--dv-bleu-fonce) !important;
    letter-spacing: .08em;
    font-family: 'Georama', 'Segoe UI', system-ui, sans-serif;
}
.theme-maison-dv .studio-maison-menu .menu-link {
    color: var(--dv-bleu-fonce) !important;
    border-radius: 6px;
    font-family: 'Georama', 'Segoe UI', system-ui, sans-serif;
}
.theme-maison-dv .studio-maison-menu .menu-link:hover {
    background: rgba(0, 80, 155, 0.1) !important;
}
.theme-maison-dv .studio-maison-menu .menu-link-active,
.theme-maison-dv .studio-maison-menu .menu-link.menu-link-active {
    background: linear-gradient(135deg, var(--dv-bleu-fonce) 0%, var(--dv-bleu) 100%) !important;
    color: #fff !important;
    font-weight: 600;
}
.theme-maison-dv .studio-maison-menu .menu-link-heading.menu-link-active {
    background: rgba(0, 80, 155, 0.12) !important;
    color: var(--dv-bleu-fonce) !important;
}

.theme-maison-dv .btn-toggle-taches {
    color: var(--dv-bleu) !important;
    border-color: rgba(0, 80, 155, 0.35) !important;
}
.theme-maison-dv .btn-toggle-taches:hover {
    background: rgba(0, 80, 155, 0.1) !important;
}
.theme-maison-dv .taches-sous-table th {
    background: rgba(0, 80, 155, 0.12) !important;
    color: var(--dv-bleu-fonce) !important;
}
.theme-maison-dv .projet-row:hover td,
.theme-maison-dv .personnalisation-projet-row:hover td,
.theme-maison-dv .ligne-tache-projet:hover td {
    background: rgba(0, 80, 155, 0.08) !important;
}

/* Tags & badges */
.theme-maison-dv .cell-tag-projet {
    background: rgba(35, 45, 90, 0.12) !important;
    color: var(--dv-bleu-fonce) !important;
    border-color: rgba(0, 80, 155, 0.28) !important;
}
.theme-maison-dv .cell-tag-commun {
    background: rgba(0, 80, 155, 0.14) !important;
    color: var(--dv-bleu-fonce) !important;
    border-color: rgba(0, 80, 155, 0.28) !important;
}
.theme-maison-dv .cell-tag-mon-service {
    background: rgba(35, 45, 90, 0.1) !important;
    color: var(--dv-bleu) !important;
}
.theme-maison-dv .cell-tag-demande {
    background: rgba(230, 0, 80, 0.12) !important;
    color: #a5003a !important;
    border-color: rgba(230, 0, 80, 0.28) !important;
}
.theme-maison-dv .row-msg-badge {
    background: var(--dv-rose) !important;
    color: #fff !important;
}
.theme-maison-dv code {
    color: var(--dv-bleu) !important;
    background: rgba(0, 80, 155, 0.08);
}

/* Modales */
.theme-maison-dv .modal-header-projet-v1,
.theme-maison-dv .studio-maison-projets-modal .modal-header-projet-v1 {
    background: linear-gradient(135deg, var(--dv-bleu-fonce) 0%, var(--dv-bleu) 100%) !important;
    border-bottom: 3px solid var(--dv-rose) !important;
}
.theme-maison-dv .modal-header-projet-v1 h3,
.theme-maison-dv .modal-header h3 {
    color: #fff !important;
}
.theme-maison-dv .projet-section-content .form-section-title {
    color: var(--dv-bleu) !important;
}

/* KPI & filtres facturation */
.theme-maison-dv .facturation-kpi-card {
    border: 1px solid rgba(0, 80, 155, 0.28) !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(0, 80, 155, 0.08) 100%) !important;
    box-shadow: 0 2px 10px rgba(35, 45, 90, 0.08);
}
.theme-maison-dv .facturation-kpi-card:hover {
    border-color: var(--dv-bleu) !important;
    box-shadow: 0 4px 16px rgba(0, 80, 155, 0.12) !important;
}
.theme-maison-dv .facturation-kpi-value {
    color: var(--dv-bleu) !important;
}
.theme-maison-dv .facturation-kpi-label {
    color: var(--dv-bleu-fonce) !important;
}
.theme-maison-dv .facturation-filters-form {
    border-color: rgba(0, 80, 155, 0.25) !important;
    background: rgba(255, 255, 255, 0.85) !important;
}

/* Studio Factu (staging) — remplace le jaune/vert inline de home.html */
.theme-maison-dv .studio-factu-panel,
.theme-maison-dv .studio-factu-calendar,
.theme-maison-dv .studio-factu-nav,
.theme-maison-dv .studio-factu-toolbar {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(0, 80, 155, 0.08) 100%) !important;
    border-color: rgba(0, 80, 155, 0.28) !important;
    color: var(--dv-bleu-fonce) !important;
}
.theme-maison-dv .studio-factu-panel h2 {
    color: var(--dv-bleu-fonce) !important;
}
.theme-maison-dv .studio-factu-tab {
    background: rgba(0, 80, 155, 0.08) !important;
    border-color: rgba(0, 80, 155, 0.25) !important;
    color: var(--dv-bleu-fonce) !important;
}
.theme-maison-dv .studio-factu-tab.is-active {
    background: linear-gradient(135deg, var(--dv-bleu-fonce) 0%, var(--dv-bleu) 100%) !important;
    border-color: var(--dv-bleu-fonce) !important;
    color: #fff !important;
}
.theme-maison-dv .studio-factu-create button {
    background: linear-gradient(135deg, var(--dv-bleu-fonce) 0%, var(--dv-bleu) 100%) !important;
    border-color: var(--dv-bleu-fonce) !important;
    color: #fff !important;
}
.theme-maison-dv .studio-factu-view-modes {
    border-color: rgba(0, 80, 155, 0.3) !important;
    background: #fff !important;
}
.theme-maison-dv .studio-factu-view-btn {
    background: rgba(0, 80, 155, 0.08) !important;
    border-color: rgba(0, 80, 155, 0.22) !important;
    color: var(--dv-bleu-fonce) !important;
}
.theme-maison-dv .studio-factu-view-btn.is-active {
    background: var(--dv-bleu) !important;
    color: #fff !important;
}
.theme-maison-dv .studio-factu-view-btn:hover:not(.is-active) {
    background: rgba(0, 80, 155, 0.14) !important;
}
.theme-maison-dv .studio-factu-nav-btn {
    border-color: rgba(0, 80, 155, 0.3) !important;
    color: var(--dv-bleu-fonce) !important;
    background: #fff !important;
}
.theme-maison-dv .studio-factu-nav-btn:hover {
    background: rgba(0, 80, 155, 0.1) !important;
}
.theme-maison-dv .studio-factu-cal-head {
    background: linear-gradient(180deg, var(--dv-bleu-fonce) 0%, var(--dv-bleu) 100%) !important;
    border-bottom-color: var(--dv-bleu-fonce) !important;
}
.theme-maison-dv .studio-factu-cal-head div {
    border-left-color: rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
}
.theme-maison-dv .studio-factu-day,
.theme-maison-dv .studio-factu-month-cell {
    background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.95) 0, rgba(255, 255, 255, 0.95) 38px, rgba(0, 80, 155, 0.05) 39px) !important;
    border-color: rgba(0, 80, 155, 0.12) !important;
}
.theme-maison-dv .studio-factu-month-cell.is-today {
    outline-color: var(--dv-bleu) !important;
}
.theme-maison-dv .studio-factu-card-kind {
    background: rgba(0, 80, 155, 0.15) !important;
    color: var(--dv-bleu-fonce) !important;
}
.theme-maison-dv .studio-factu-card[data-kind="action"] .studio-factu-card-kind {
    background: rgba(230, 0, 80, 0.12) !important;
    color: #a5003a !important;
}
.theme-maison-dv .studio-factu-event,
.theme-maison-dv .studio-factu-month-event {
    border-left-color: var(--dv-bleu) !important;
    background: rgba(0, 80, 155, 0.1) !important;
}
.theme-maison-dv .studio-factu-right .studio-factu-progress span {
    background: var(--dv-bleu) !important;
}
.theme-maison-dv .studio-factu-duplicates {
    background: rgba(230, 0, 80, 0.08) !important;
    border-color: rgba(230, 0, 80, 0.25) !important;
    color: #7a1030 !important;
}
.theme-maison-dv .infos-stat-value,
.theme-maison-dv .compta-tableau-section h2 {
    color: var(--dv-bleu) !important;
}

/* Connexion */
.theme-maison-dv.page-login .login-col-form {
    border-right-color: rgba(0, 80, 155, 0.2) !important;
}
.theme-maison-dv.page-login .login-brand-accent {
    color: var(--dv-bleu) !important;
}
.theme-maison-dv.page-login input:focus {
    border-color: var(--dv-bleu) !important;
    box-shadow: 0 0 0 3px rgba(0, 80, 155, 0.15) !important;
}

/* Scrollbar */
.theme-maison-dv ::-webkit-scrollbar-thumb {
    background: rgba(0, 80, 155, 0.25);
}
.theme-maison-dv ::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 80, 155, 0.45);
}

/* Fond page (remplace halos dorés) */
.theme-maison-dv.page-home .main-panel {
    background-image:
        radial-gradient(ellipse 55% 35% at 80% 5%, rgba(0, 80, 155, 0.08) 0%, transparent 65%),
        radial-gradient(ellipse 40% 50% at 5% 90%, rgba(35, 45, 90, 0.06) 0%, transparent 65%) !important;
}
.theme-maison-dv.page-home .sidebar-logo {
    filter: drop-shadow(0 0 4px rgba(0, 80, 155, 0.45));
}
.theme-maison-dv.page-home .menu-title {
    color: rgba(35, 45, 90, 0.55) !important;
}
.theme-maison-dv.page-home .tag,
.theme-maison-dv.page-home a.tag.tag-link {
    border-color: rgba(0, 80, 155, 0.35) !important;
    color: var(--dv-bleu-fonce) !important;
}
.theme-maison-dv.page-home .formats-details-trigger:hover {
    color: var(--dv-bleu) !important;
}
.theme-maison-dv.page-home .private-user-btn.active,
.theme-maison-dv.page-home .private-msg-item.me {
    border-color: var(--dv-bleu) !important;
    background: rgba(0, 80, 155, 0.1) !important;
}
.theme-maison-dv.page-home .pdp-rail-btn:hover,
.theme-maison-dv.page-home .pdp-rail-btn.active {
    border-color: var(--dv-bleu) !important;
    color: var(--dv-bleu-fonce) !important;
    background: rgba(0, 80, 155, 0.12) !important;
}
.theme-maison-dv.page-home .recap-bulle {
    border-color: rgba(0, 80, 155, 0.3) !important;
}
.theme-maison-dv.page-home .quick-action-btn.is-active {
    outline-color: var(--dv-bleu) !important;
}

/* Personnalisation — charte Maison DV (test) */
.theme-maison-dv.page-personnalisation.page-home .main-panel,
.theme-maison-dv.page-personnalisation .extranet-main {
    background: #eef2f7 !important;
    background-image:
        radial-gradient(ellipse 55% 35% at 80% 5%, rgba(0, 80, 155, 0.08) 0%, transparent 65%),
        radial-gradient(ellipse 40% 50% at 5% 90%, rgba(35, 45, 90, 0.06) 0%, transparent 65%) !important;
    color: var(--dv-bleu-fonce) !important;
}
.theme-maison-dv.page-personnalisation.page-home .sidebar,
.theme-maison-dv.page-personnalisation .extranet-sidebar {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(0, 80, 155, 0.06) 100%) !important;
    background-image: none !important;
}
.theme-maison-dv.page-personnalisation .workspace-name {
    color: var(--dv-bleu-fonce) !important;
    font-family: 'Georama', 'Segoe UI', system-ui, sans-serif;
}
.theme-maison-dv.page-personnalisation .panel-header h1,
.theme-maison-dv.page-personnalisation .discussion-card h1,
.theme-maison-dv.page-personnalisation .discussion-card h2 {
    color: var(--dv-bleu-fonce) !important;
    font-family: 'Georama', 'Segoe UI', system-ui, sans-serif;
}
.theme-maison-dv.page-personnalisation .discussion-card {
    border: 2px solid var(--dv-bleu) !important;
    border-top: 3px solid var(--dv-rose) !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(0, 80, 155, 0.06) 100%) !important;
    box-shadow: 0 4px 18px rgba(35, 45, 90, 0.1);
}
.theme-maison-dv.page-personnalisation .btn-primary,
.theme-maison-dv.page-personnalisation .perso-btn-primary,
.theme-maison-dv.page-personnalisation .btn-upload {
    background: linear-gradient(135deg, var(--dv-bleu-fonce) 0%, var(--dv-bleu) 100%) !important;
    border-color: var(--dv-bleu-fonce) !important;
    color: #fff !important;
}
.theme-maison-dv.page-personnalisation .btn-outline {
    color: var(--dv-bleu) !important;
    border-color: var(--dv-bleu) !important;
    background: transparent !important;
}
.theme-maison-dv.page-personnalisation .btn-outline:hover {
    background: rgba(0, 80, 155, 0.1) !important;
}
.theme-maison-dv.page-personnalisation .personnalisation-list-link {
    background: rgba(255, 255, 255, 0.92) !important;
    border: 1px solid rgba(0, 80, 155, 0.22) !important;
    color: var(--dv-bleu-fonce) !important;
}
.theme-maison-dv.page-personnalisation .personnalisation-list-link:hover {
    background: rgba(0, 80, 155, 0.08) !important;
    border-color: var(--dv-bleu) !important;
}
.theme-maison-dv.page-personnalisation .personnalisation-ref,
.theme-maison-dv.page-personnalisation .p-sidebar-ref,
.theme-maison-dv.page-personnalisation .client-code,
.theme-maison-dv.page-personnalisation .bat-numero,
.theme-maison-dv.page-personnalisation .dv-choix-desc em {
    color: var(--dv-bleu) !important;
}
.theme-maison-dv.page-personnalisation .personnalisation-task-badge,
.theme-maison-dv.page-personnalisation .personnalisation-partage,
.theme-maison-dv.page-personnalisation .personnalisation-scope {
    background: rgba(0, 80, 155, 0.12) !important;
    color: var(--dv-bleu-fonce) !important;
}
.theme-maison-dv.page-personnalisation .acc-section,
.theme-maison-dv.page-personnalisation .acc-section-studio {
    background: rgba(255, 255, 255, 0.92) !important;
    border-color: rgba(0, 80, 155, 0.25) !important;
}
.theme-maison-dv.page-personnalisation .acc-header,
.theme-maison-dv.page-personnalisation .acc-section-studio .acc-header {
    background: rgba(0, 80, 155, 0.1) !important;
}
.theme-maison-dv.page-personnalisation .acc-header:hover,
.theme-maison-dv.page-personnalisation .acc-section-studio .acc-header:hover {
    background: rgba(0, 80, 155, 0.16) !important;
}
.theme-maison-dv.page-personnalisation .acc-body,
.theme-maison-dv.page-personnalisation .acc-section-studio .acc-body {
    background: rgba(255, 255, 255, 0.96) !important;
    border-top-color: rgba(0, 80, 155, 0.2) !important;
    color: var(--dv-bleu-fonce) !important;
}
.theme-maison-dv.page-personnalisation .acc-num {
    border-color: var(--dv-bleu) !important;
    color: var(--dv-bleu-fonce) !important;
}
.theme-maison-dv.page-personnalisation .acc-section.done .acc-num,
.theme-maison-dv.page-personnalisation .config-step-badge {
    background: var(--dv-bleu) !important;
    border-color: var(--dv-bleu) !important;
    color: #fff !important;
}
.theme-maison-dv.page-personnalisation .modele-card.selected,
.theme-maison-dv.page-personnalisation .prepare-card.selected {
    border-color: var(--dv-bleu) !important;
    background: rgba(0, 80, 155, 0.12) !important;
    color: var(--dv-bleu-fonce) !important;
}
.theme-maison-dv.page-personnalisation .modele-card:hover,
.theme-maison-dv.page-personnalisation .garn-card:hover,
.theme-maison-dv.page-personnalisation .prepare-card:hover,
.theme-maison-dv.page-personnalisation .p-sidebar-link:hover {
    border-color: rgba(0, 80, 155, 0.35) !important;
    background: rgba(0, 80, 155, 0.08) !important;
}
.theme-maison-dv.page-personnalisation .p-input:focus,
.theme-maison-dv.page-personnalisation .opt-input:focus,
.theme-maison-dv.page-personnalisation .modele-search:focus,
.theme-maison-dv.page-personnalisation .ctrl-input:focus {
    border-color: var(--dv-bleu) !important;
    box-shadow: 0 0 0 3px rgba(0, 80, 155, 0.15) !important;
}
.theme-maison-dv.page-personnalisation .boite-spec-item input,
.theme-maison-dv.page-personnalisation .reassort-filter-check input,
.theme-maison-dv.page-personnalisation .bat-drop-gloss-toggle input {
    accent-color: var(--dv-bleu) !important;
}
.theme-maison-dv.page-personnalisation .attest-section-title,
.theme-maison-dv.page-personnalisation .attest-pdf-panel {
    color: var(--dv-bleu-fonce) !important;
    border-color: rgba(0, 80, 155, 0.35) !important;
}
.theme-maison-dv.page-personnalisation .ia-opt:has(input:checked) {
    border-color: var(--dv-bleu) !important;
    background: rgba(0, 80, 155, 0.12) !important;
    color: var(--dv-bleu-fonce) !important;
}
.theme-maison-dv.page-personnalisation .studio-boite-btn.active {
    background: rgba(0, 80, 155, 0.14) !important;
    border-color: var(--dv-bleu) !important;
    color: var(--dv-bleu-fonce) !important;
}
.theme-maison-dv.page-personnalisation .studio-main,
.theme-maison-dv.page-personnalisation .studio-topbar,
.theme-maison-dv.page-personnalisation .studio-controls,
.theme-maison-dv.page-personnalisation .studio-stage {
    background: rgba(255, 255, 255, 0.85) !important;
    border-color: rgba(0, 80, 155, 0.22) !important;
}
.theme-maison-dv.page-personnalisation .tarif-ligne-pu,
.theme-maison-dv.page-personnalisation .tarif-detail-formule {
    color: var(--dv-bleu) !important;
}
.theme-maison-dv.page-personnalisation .workflow-step-current {
    border-color: var(--dv-bleu) !important;
    background: rgba(0, 80, 155, 0.12) !important;
}
.theme-maison-dv.page-personnalisation .workflow-step-current .workflow-step-num {
    background: var(--dv-bleu) !important;
    color: #fff !important;
}
.theme-maison-dv.page-personnalisation .workflow-action-card--current {
    border-color: var(--dv-bleu) !important;
    box-shadow: 0 0 0 2px rgba(0, 80, 155, 0.25) !important;
}
.theme-maison-dv.page-personnalisation .workflow-action-card--current .workflow-action-num {
    background: var(--dv-bleu) !important;
    color: #fff !important;
}
.theme-maison-dv.page-personnalisation .workflow-start-callout {
    border-left-color: var(--dv-rose) !important;
    background: rgba(255, 255, 255, 0.92) !important;
    border-color: rgba(0, 80, 155, 0.25) !important;
    color: var(--dv-bleu-fonce) !important;
}
.theme-maison-dv.page-personnalisation .workflow-start-callout strong,
.theme-maison-dv.page-personnalisation .workflow-start-callout span,
.theme-maison-dv.page-personnalisation .workflow-start-callout .workflow-start-commercial-name {
    color: var(--dv-bleu-fonce) !important;
}
.theme-maison-dv.page-personnalisation .workflow-start-callout .workflow-start-commercial-name {
    font-weight: 700;
    font-size: 1rem;
}
.theme-maison-dv.page-personnalisation .workflow-hero {
    background: linear-gradient(135deg, var(--dv-bleu-fonce) 0%, var(--dv-bleu) 100%) !important;
    border-color: var(--dv-bleu-fonce) !important;
}
.theme-maison-dv.page-personnalisation .workflow-eyebrow {
    color: rgba(255, 255, 255, 0.85) !important;
}
.theme-maison-dv.page-personnalisation .workflow-hero h2,
.theme-maison-dv.page-personnalisation .workflow-hero .workflow-current-text {
    color: #fff !important;
}
.theme-maison-dv.page-personnalisation .personnalisation-statut {
    background: rgba(0, 80, 155, 0.12) !important;
    border-color: rgba(0, 80, 155, 0.35) !important;
    color: var(--dv-bleu-fonce) !important;
}
.theme-maison-dv.page-personnalisation .reassort-client-card:hover,
.theme-maison-dv.page-personnalisation .bat-card:hover,
.theme-maison-dv.page-personnalisation .back-link:hover {
    border-color: rgba(0, 80, 155, 0.35) !important;
}
.theme-maison-dv.page-personnalisation .menu-link-banque:hover,
.theme-maison-dv.page-personnalisation .img-quality-info:hover {
    background: rgba(0, 80, 155, 0.12) !important;
    color: var(--dv-bleu-fonce) !important;
    border-color: var(--dv-bleu) !important;
}
.theme-maison-dv.page-personnalisation .btn-add-boite:hover {
    border-color: var(--dv-bleu) !important;
    color: var(--dv-bleu-fonce) !important;
    background: rgba(0, 80, 155, 0.08) !important;
}

/* Extranet (base_extranet) */
.theme-maison-dv.page-extranet .text-primary-600 {
    color: var(--dv-bleu) !important;
}
.theme-maison-dv.page-extranet a:hover {
    color: var(--dv-bleu-fonce) !important;
}

/* Priorité finale — écrase theme-light.css + inline home.html */
.theme-maison-dv.page-home .facturation-filter-apply,
.theme-maison-dv.page-home .facturation-filter-export {
    background: linear-gradient(135deg, var(--dv-bleu-fonce) 0%, var(--dv-bleu) 100%) !important;
    border-color: var(--dv-bleu-fonce) !important;
    color: #fff !important;
}
.theme-maison-dv.page-home .facturation-filter-today {
    border-color: var(--dv-bleu) !important;
    color: var(--dv-bleu) !important;
    background: transparent !important;
}
.theme-maison-dv.page-home .facturation-filter-today:hover {
    background: rgba(0, 80, 155, 0.1) !important;
}
.theme-maison-dv.page-home .facturation-table th {
    background: linear-gradient(180deg, var(--dv-bleu-fonce) 0%, var(--dv-bleu) 100%) !important;
    color: #fff !important;
}
.theme-maison-dv.page-home .facturation-kpi-card {
    border: 1px solid rgba(0, 80, 155, 0.28) !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(0, 80, 155, 0.08) 100%) !important;
    box-shadow: 0 2px 10px rgba(35, 45, 90, 0.08) !important;
}
.theme-maison-dv.page-home .facturation-kpi-card:hover {
    border-color: var(--dv-bleu) !important;
    box-shadow: 0 4px 16px rgba(0, 80, 155, 0.12) !important;
}
.theme-maison-dv.page-home .facturation-kpi-value {
    color: var(--dv-bleu) !important;
}
.theme-maison-dv.page-home .tag,
.theme-maison-dv.page-home a.tag.tag-link {
    background: rgba(0, 80, 155, 0.08) !important;
    border-color: rgba(0, 80, 155, 0.35) !important;
    color: var(--dv-bleu-fonce) !important;
}
.theme-maison-dv.page-home a.tag.tag-link:hover {
    background: rgba(0, 80, 155, 0.14) !important;
    border-color: var(--dv-bleu) !important;
    color: var(--dv-bleu-fonce) !important;
}
.theme-maison-dv.page-home .facturation-filters-form {
    border-color: rgba(0, 80, 155, 0.25) !important;
    background: rgba(255, 255, 255, 0.92) !important;
}
.theme-maison-dv.page-home .facturation-budget-usage h3 {
    color: var(--dv-bleu-fonce) !important;
}
.theme-maison-dv.page-home .facturation-recap-bar .btn-outline {
    color: var(--dv-bleu) !important;
    border-color: var(--dv-bleu) !important;
}
.theme-maison-dv.page-home .panel-header .btn-outline#open-infos-panel,
.theme-maison-dv.page-home .panel-tags .tag {
    border-color: rgba(0, 80, 155, 0.35) !important;
}
