/* ===================================================================
   FROM: admin-mbb-skin.php
   =================================================================== */
    
        /* ============================================================
           SKIN MBB COMPLET - applique sur TOUTES les pages admin WP
           Override le look gris WordPress par le visuel MBB beige/sauge
           ============================================================ */

        /* ===== BODY + LAYOUT ===== */
        html.wp-toolbar { background: #FAF7F2 !important; }
        body.wp-admin {
            background-color: #FAF7F2 !important;
            color: #3D3D3D !important;
            font-family: 'Nunito', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
            font-size: 14px !important;
            line-height: 1.55 !important;
        }
        #wpbody-content {
            background: transparent !important;
            padding-bottom: 60px;
        }
        #wpcontent {
            background: transparent !important;
        }
        #wpfooter {
            background: transparent !important;
            color: #6B6B6B !important;
            padding: 16px 22px !important;
        }
        #wpfooter a {
            color: #5A6B4F !important;
        }

        /* ===== HEADINGS ===== */
        .wrap h1,
        .wrap h2,
        .wrap h3,
        .wrap h4,
        .metabox-holder h2,
        .metabox-holder h3,
        h1.wp-heading-inline,
        .nav-tab-wrapper h2 {
            font-family: 'Poppins', system-ui, sans-serif !important;
            color: #5A6B4F !important;
            font-weight: 700 !important;
        }

        /* ===== EXCEPTION HEROES VERTS : titres + textes en BLANC =====
           Sans cette regle, les h1/h2/h3 dans les heros sauge-vert sont
           dark-green-on-green-background = invisibles.
           ===== */
        /* IMPORTANT : ces règles white-text sur heros sont pour les HEROES
           ADMIN MBB (fond gradient vert sauge). Préfixées par body.wp-admin
           pour NE PAS s'appliquer en frontend où les mêmes classes (notamment
           .mbb-article-hero) sont utilisées avec un fond clair beige → blanc
           sur beige = invisible. En frontend, le theme style.css gère via
           var(--mbb-accent-strong). */
        body.wp-admin .mbb-amh-hero h1, body.wp-admin .mbb-amh-hero h2, body.wp-admin .mbb-amh-hero h3, body.wp-admin .mbb-amh-hero h4,
        body.wp-admin .mbb-amh-hero p, body.wp-admin .mbb-amh-hero .mbb-amh-eyebrow, body.wp-admin .mbb-amh-hero .mbb-amh-subtitle,
        body.wp-admin .mbb-article-hero h1, body.wp-admin .mbb-article-hero h2, body.wp-admin .mbb-article-hero h3, body.wp-admin .mbb-article-hero p,
        body.wp-admin .mbb-wpn-hero h1, body.wp-admin .mbb-wpn-hero h2, body.wp-admin .mbb-wpn-hero h3, body.wp-admin .mbb-wpn-hero p,
        body.wp-admin .mbb-wpn-hero-title, body.wp-admin .mbb-wpn-hero-eyebrow, body.wp-admin .mbb-wpn-hero-desc,
        body.wp-admin .mbb-tm-hero h1, body.wp-admin .mbb-tm-hero h2, body.wp-admin .mbb-tm-hero h3, body.wp-admin .mbb-tm-hero p,
        body.wp-admin .mbb-tm-hero .mbb-tm-eyebrow, body.wp-admin .mbb-tm-hero .mbb-tm-subtitle,
        body.wp-admin .mbb-stats-modern-hero h1, body.wp-admin .mbb-stats-modern-hero h2, body.wp-admin .mbb-stats-modern-hero p,
        body.wp-admin .mbb-stats-modern-hero .mbb-sm-eyebrow,
        body.wp-admin .mbb-dash-hero h1, body.wp-admin .mbb-dash-hero h2, body.wp-admin .mbb-dash-hero h3, body.wp-admin .mbb-dash-hero p,
        body.wp-admin .mbb-dash-hero .mbb-dash-eyebrow,
        body.wp-admin .mbb-brand-save-bar h1, body.wp-admin .mbb-brand-save-bar h2, body.wp-admin .mbb-brand-save-bar h3,
        body.wp-admin .mbb-brand-save-bar strong, body.wp-admin .mbb-brand-save-bar span,
        /* Generic admin : tout heading sur fond gradient sauge MBB */
        body.wp-admin [style*="linear-gradient(135deg, #5A6B4F"] h1,
        body.wp-admin [style*="linear-gradient(135deg, #5A6B4F"] h2,
        body.wp-admin [style*="linear-gradient(135deg, #5A6B4F"] h3,
        body.wp-admin [style*="linear-gradient(135deg, #5A6B4F"] h4,
        body.wp-admin [style*="linear-gradient(135deg, #5A6B4F"] p,
        body.wp-admin [style*="linear-gradient(135deg, #7A8B6F"] h1,
        body.wp-admin [style*="linear-gradient(135deg, #7A8B6F"] h2,
        body.wp-admin [style*="linear-gradient(135deg, #7A8B6F"] h3 {
            color: #ffffff !important;
            text-shadow: 0 1px 2px rgba(0,0,0,0.10);
        }
        /* Eyebrows / subtitles : blanc semi-transparent (ADMIN UNIQUEMENT) */
        body.wp-admin .mbb-amh-hero .mbb-amh-eyebrow,
        body.wp-admin .mbb-article-hero-eyebrow,
        body.wp-admin .mbb-wpn-hero-eyebrow,
        body.wp-admin .mbb-tm-hero .mbb-tm-eyebrow,
        body.wp-admin .mbb-stats-modern-hero .mbb-sm-eyebrow,
        body.wp-admin .mbb-dash-hero .mbb-dash-eyebrow {
            color: rgba(255,255,255,0.92) !important;
            opacity: 1 !important;
        }
        body.wp-admin .mbb-amh-hero p:not(.mbb-amh-title):not(.mbb-amh-eyebrow),
        body.wp-admin .mbb-article-hero p:not(.mbb-article-hero-eyebrow),
        body.wp-admin .mbb-wpn-hero-desc,
        body.wp-admin .mbb-tm-hero .mbb-tm-subtitle,
        body.wp-admin .mbb-tm-hero p:not(.mbb-tm-eyebrow),
        body.wp-admin .mbb-stats-modern-hero p:not(.mbb-sm-eyebrow),
        body.wp-admin .mbb-dash-hero p:not(.mbb-dash-eyebrow) {
            color: rgba(255,255,255,0.95) !important;
        }
        body.wp-admin .mbb-amh-hero strong, body.wp-admin .mbb-article-hero strong, body.wp-admin .mbb-wpn-hero strong,
        body.wp-admin .mbb-tm-hero strong, body.wp-admin .mbb-stats-modern-hero strong, body.wp-admin .mbb-dash-hero strong {
            color: #ffffff !important;
            font-weight: 700 !important;
        }
        /* Liens dans les heros admin (texte blanc) */
        body.wp-admin .mbb-amh-hero a:not(.button):not(.mbb-dash-btn-primary):not(.mbb-amh-btn-primary):not(.mbb-tm-btn-primary):not(.mbb-stats-modern-btn-primary),
        body.wp-admin .mbb-article-hero a:not(.button):not(.mbb-dash-btn-primary),
        body.wp-admin .mbb-wpn-hero a:not(.button),
        body.wp-admin .mbb-tm-hero a:not(.button):not(.mbb-tm-btn-primary),
        body.wp-admin .mbb-stats-modern-hero a:not(.button):not(.mbb-stats-modern-btn-primary),
        body.wp-admin .mbb-dash-hero a:not(.button):not(.mbb-dash-btn-primary) {
            color: #ffffff !important;
            text-decoration: underline;
        }
        /* Boutons primaires (fond blanc) : texte vert sauge — visible */
        .mbb-dash-hero .mbb-dash-btn-primary,
        .mbb-dash-hero .mbb-dash-btn-primary:hover,
        .mbb-dash-hero .mbb-dash-btn-primary:focus,
        .mbb-dash-hero .mbb-dash-btn-primary:visited {
            color: #5A6B4F !important;
            text-decoration: none !important;
        }
        /* Boutons secondaires (fond translucide) : texte blanc, sans soulignement */
        .mbb-dash-hero .mbb-dash-btn-secondary {
            text-decoration: none !important;
        }
        .wrap h1.wp-heading-inline {
            font-size: 1.6rem !important;
            margin-bottom: 8px !important;
        }
        .wrap h1 + .page-title-action {
            background: #7A8B6F !important;
            border-color: #5A6B4F !important;
            color: #fff !important;
            border-radius: 8px !important;
            padding: 6px 14px !important;
            text-decoration: none !important;
            font-weight: 600 !important;
            transition: all 0.15s ease;
        }
        .wrap h1 + .page-title-action:hover {
            background: #5A6B4F !important;
            transform: translateY(-1px);
        }

        /* ===== NOTICES (arrondies, branded) ===== */
        .notice,
        .updated,
        .error,
        div.error,
        div.updated {
            border-radius: 12px !important;
            border-left-width: 5px !important;
            box-shadow: 0 4px 12px rgba(122,139,111,0.10) !important;
            padding: 14px 18px !important;
            margin: 16px 0 !important;
            background: #fff !important;
            color: #3D3D3D !important;
        }
        .notice p,
        .updated p,
        .error p {
            margin: 0 !important;
            line-height: 1.55 !important;
            font-size: 0.94rem !important;
        }
        .notice-success,
        div.updated {
            border-left-color: #5A8B3F !important;
        }
        .notice-error,
        div.error {
            border-left-color: #C00 !important;
        }
        .notice-warning {
            border-left-color: #C28A00 !important;
        }
        .notice-info {
            border-left-color: #7A8B6F !important;
        }
        .notice-dismiss::before {
            color: #6B6B6B !important;
        }

        /* ===== FORMS / INPUTS ===== */
        .form-table th {
            color: #5A6B4F !important;
            font-weight: 600 !important;
            padding: 16px 10px 16px 0 !important;
            font-size: 0.94rem !important;
        }
        .form-table td {
            padding: 14px 10px !important;
        }
        input[type="text"]:not(.mbb-tm-input):not(.mbb-pp-search):not(.mbb-pp-tarif-input),
        input[type="email"],
        input[type="url"],
        input[type="password"],
        input[type="search"],
        input[type="number"]:not(.mbb-tm-price-input),
        input[type="tel"],
        input[type="date"],
        textarea:not(.mbb-tm-textarea),
        select {
            border: 1.5px solid rgba(122,139,111,0.30) !important;
            border-radius: 8px !important;
            padding: 8px 12px !important;
            background: #fff !important;
            color: #3D3D3D !important;
            font-family: inherit !important;
            transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
            box-shadow: none !important;
        }
        input:focus, textarea:focus, select:focus {
            outline: 0 !important;
            border-color: #7A8B6F !important;
            box-shadow: 0 0 0 3px rgba(122,139,111,0.15) !important;
        }
        .regular-text { width: 100% !important; max-width: 400px; }
        .large-text { width: 100% !important; }
        .small-text { width: 100px !important; }

        /* ===== BOUTONS ===== */
        .wp-core-ui .button,
        .wp-core-ui .button-secondary {
            border-radius: 8px !important;
            border: 1.5px solid rgba(122,139,111,0.40) !important;
            color: #5A6B4F !important;
            background: #fff !important;
            font-weight: 600 !important;
            font-family: inherit !important;
            padding: 7px 14px !important;
            line-height: 1.5 !important;
            min-height: 36px !important;
            box-shadow: none !important;
            transition: all 0.15s ease;
        }
        .wp-core-ui .button:hover {
            background: #f5f0e8 !important;
            border-color: #7A8B6F !important;
            color: #5A6B4F !important;
            transform: translateY(-1px);
        }
        .wp-core-ui .button-primary {
            background: linear-gradient(135deg, #7A8B6F 0%, #5A6B4F 100%) !important;
            border: 0 !important;
            color: #fff !important;
            text-shadow: none !important;
            box-shadow: 0 3px 8px rgba(122,139,111,0.25) !important;
            padding: 8px 18px !important;
        }
        .wp-core-ui .button-primary:hover,
        .wp-core-ui .button-primary:focus {
            background: linear-gradient(135deg, #5A6B4F 0%, #3F5A2F 100%) !important;
            transform: translateY(-1px);
            box-shadow: 0 5px 14px rgba(122,139,111,0.35) !important;
        }
        .wp-core-ui .button-large,
        .wp-core-ui .button-hero {
            padding: 10px 22px !important;
            font-size: 1rem !important;
            min-height: 42px !important;
        }
        .wp-core-ui .button-link {
            background: transparent !important;
            border: 0 !important;
            box-shadow: none !important;
            color: #5A6B4F !important;
            text-decoration: underline !important;
            min-height: auto !important;
        }
        .wp-core-ui .button-link:hover {
            color: #7A8B6F !important;
            transform: none !important;
        }

        /* ===== TABLES ===== */
        .wp-list-table,
        table.widefat,
        table.fixed {
            border: 1px solid rgba(122,139,111,0.18) !important;
            border-radius: 12px !important;
            overflow: hidden !important;
            box-shadow: 0 2px 8px rgba(122,139,111,0.06) !important;
            background: #fff !important;
        }
        .wp-list-table thead th,
        .wp-list-table tfoot th,
        table.widefat thead th {
            background: #f5f0e8 !important;
            color: #5A6B4F !important;
            border-bottom: 1px solid rgba(122,139,111,0.20) !important;
            font-weight: 700 !important;
            padding: 12px 10px !important;
            font-size: 0.86rem !important;
        }
        .wp-list-table tbody td,
        table.widefat tbody td {
            padding: 12px 10px !important;
            border-bottom: 1px solid rgba(122,139,111,0.10) !important;
            background: #fff;
        }
        .wp-list-table tbody tr:hover td {
            background: #faf7f2 !important;
        }
        .row-actions {
            color: #6B6B6B !important;
        }
        .row-actions a {
            color: #5A6B4F !important;
        }
        .row-actions a:hover {
            color: #7A8B6F !important;
        }
        .wp-list-table .check-column {
            background: transparent !important;
        }

        /* ===== PAGINATION ===== */
        .tablenav-pages a,
        .tablenav-pages-navspan {
            border-radius: 8px !important;
            border: 1.5px solid rgba(122,139,111,0.30) !important;
            color: #5A6B4F !important;
            font-weight: 600 !important;
        }
        .tablenav-pages a:hover {
            background: #7A8B6F !important;
            color: #fff !important;
            border-color: #5A6B4F !important;
        }
        .tablenav-pages-navspan.current,
        .tablenav-pages span.current {
            background: linear-gradient(135deg, #5A6B4F, #7A8B6F) !important;
            color: #fff !important;
            border: 0 !important;
        }

        /* ===== METABOXES ===== */
        .postbox {
            background: #fff !important;
            border: 1px solid rgba(122,139,111,0.18) !important;
            border-radius: 12px !important;
            box-shadow: 0 2px 8px rgba(122,139,111,0.06) !important;
            margin-bottom: 18px !important;
            overflow: hidden;
        }
        .postbox-header,
        .postbox > .hndle {
            background: linear-gradient(135deg, #faf7f2 0%, #f5f0e8 100%) !important;
            border-bottom: 1px solid rgba(122,139,111,0.18) !important;
            padding: 14px 18px !important;
            color: #5A6B4F !important;
            font-weight: 700 !important;
            font-family: 'Poppins', sans-serif !important;
        }
        .postbox-header h2 {
            margin: 0 !important;
            color: #5A6B4F !important;
            font-size: 1rem !important;
            padding: 0 !important;
        }
        .handlediv,
        .handlediv .toggle-indicator::before {
            color: #5A6B4F !important;
        }
        .inside { padding: 18px !important; margin: 0 !important; }

        /* ===== TABS (nav-tab) ===== */
        h2.nav-tab-wrapper,
        .nav-tab-wrapper {
            border-bottom: 2px solid rgba(122,139,111,0.30) !important;
            padding: 0 !important;
        }
        .nav-tab {
            background: #faf7f2 !important;
            border: 1px solid rgba(122,139,111,0.30) !important;
            border-bottom: 0 !important;
            border-radius: 10px 10px 0 0 !important;
            color: #5A6B4F !important;
            font-weight: 600 !important;
            margin-right: 4px !important;
            padding: 8px 18px !important;
        }
        .nav-tab:hover {
            background: #f5f0e8 !important;
            color: #5A6B4F !important;
        }
        .nav-tab-active,
        .nav-tab-active:focus,
        .nav-tab-active:focus:active,
        .nav-tab-active:hover {
            background: #fff !important;
            color: #5A6B4F !important;
            border-bottom: 2px solid #fff !important;
            margin-bottom: -2px !important;
            font-weight: 700 !important;
        }

        /* ===== LIENS ===== */
        a {
            color: #5A6B4F;
            transition: color 0.15s ease;
        }
        a:hover, a:focus {
            color: #7A8B6F;
        }

        /* ===== USERS PAGE ===== */
        body.users-php .avatar {
            border-radius: 50% !important;
            border: 2px solid #f5f0e8;
        }
        body.users-php h1.wp-heading-inline {
            color: #5A6B4F !important;
        }

        /* ===== UPLOAD / MEDIA LIBRARY ===== */
        body.upload-php .attachments-browser .media-toolbar,
        body.upload-php .media-frame-router {
            background: #faf7f2 !important;
            border-bottom: 1px solid rgba(122,139,111,0.15) !important;
        }
        .attachment.selected,
        .attachment:focus {
            box-shadow: 0 0 0 3px rgba(122,139,111,0.50), 0 0 0 5px rgba(122,139,111,0.20) !important;
        }
        .attachment.selected .check {
            background: #7A8B6F !important;
            border-color: #5A6B4F !important;
        }

        /* ===== ECRAN BIENVENUE ===== */
        #welcome-panel,
        .welcome-panel {
            background: linear-gradient(135deg, #f5f0e8 0%, #faf7f2 100%) !important;
            border: 1px solid rgba(122,139,111,0.20) !important;
            border-radius: 14px !important;
            box-shadow: 0 4px 12px rgba(122,139,111,0.08) !important;
        }
        .welcome-panel h2 {
            color: #5A6B4F !important;
        }

        /* ===== FILTRES + SUBSUBSUB ===== */
        .subsubsub {
            background: #fff;
            padding: 8px 14px;
            border-radius: 10px;
            border: 1px solid rgba(122,139,111,0.18);
            margin: 12px 0 !important;
            box-shadow: 0 2px 6px rgba(122,139,111,0.05);
        }
        .subsubsub a {
            color: #5A6B4F !important;
            font-weight: 600 !important;
        }
        .subsubsub a.current {
            /* Pill active : bg sauge (heritage design-system) + TEXTE BEIGE pour visibilite */
            background: #5A6B4F !important;
            color: #F5F0E8 !important;
            border-radius: 999px !important;
            padding: 4px 12px !important;
            border-bottom: 0 !important;
        }
        .subsubsub a.current .count { color: #F5F0E8 !important; }
        .subsubsub a .count {
            color: #6B6B6B;
            font-weight: 500;
        }

        /* ===== SEARCH BOX ===== */
        .search-box {
            background: #fff;
            padding: 8px;
            border-radius: 10px;
            border: 1px solid rgba(122,139,111,0.18);
        }

        /* ===== FOOTER ADMIN ===== */
        #footer-thankyou {
            color: #5A6B4F !important;
            font-style: italic;
            font-weight: 500;
        }

        /* ===== EDIT-TAGS (taxonomies) ===== */
        body.edit-tags-php .form-wrap label {
            color: #5A6B4F !important;
            font-weight: 700 !important;
        }
        body.edit-tags-php .form-wrap p {
            color: #6B6B6B !important;
            font-size: 0.86rem;
        }

        /* ===== STRIPE / OPTIONS-GENERAL ===== */
        body.options-general-php .wrap > h1 {
            font-size: 1.6rem !important;
            margin-bottom: 16px !important;
        }
        body.options-general-php .wrap > p {
            color: #6B6B6B;
            font-size: 0.96rem;
        }

        /* ===== PROFILE ===== */
        body.profile-php .form-table th,
        body.user-edit-php .form-table th {
            color: #5A6B4F !important;
        }
        body.profile-php .user-profile-picture img {
            border-radius: 50% !important;
            border: 3px solid #f5f0e8;
        }

        /* ===== SCROLL BARS ===== */
        body.wp-admin {
            scrollbar-width: thin;
            scrollbar-color: rgba(122,139,111,0.4) transparent;
        }
        body.wp-admin ::-webkit-scrollbar { width: 10px; height: 10px; }
        body.wp-admin ::-webkit-scrollbar-track { background: transparent; }
        body.wp-admin ::-webkit-scrollbar-thumb {
            background: rgba(122,139,111,0.4);
            border-radius: 999px;
            border: 2px solid #FAF7F2;
            background-clip: padding-box;
        }
        body.wp-admin ::-webkit-scrollbar-thumb:hover {
            background: #7A8B6F;
            background-clip: padding-box;
        }

        /* ===== SCREEN OPTIONS / HELP ===== */
        #screen-meta,
        #screen-options-link-wrap,
        #contextual-help-link-wrap {
            background: #fff !important;
            border: 1px solid rgba(122,139,111,0.15) !important;
            border-radius: 0 0 10px 10px !important;
        }
        .screen-meta-toggle .button {
            background: #fff !important;
            border-color: rgba(122,139,111,0.20) !important;
            color: #5A6B4F !important;
        }

        /* ===== DASHBOARD WIDGETS ===== */
        #dashboard-widgets .meta-box-sortables .postbox {
            background: #fff !important;
            border: 1px solid rgba(122,139,111,0.18) !important;
            border-radius: 12px !important;
            overflow: hidden;
        }

        /* ===== Selection text ===== */
        body.wp-admin ::selection { background: #7A8B6F; color: #fff; }

        /* ===== WP-CORE inline notice de gestion compte ===== */
        .toplevel_page_mbb-manager .wrap > .notice,
        .wrap > .notice:not(.below-h2):first-child {
            margin-top: 0 !important;
        }
    

/* ===================================================================
   FROM: admin-deep-polish.php
   =================================================================== */
    
    /* =========================================================
       DEEP POLISH MBB - residus WordPress sur toutes pages admin
       ========================================================= */

    /* === HANDLES METABOX (fleches expand/collapse) === */
    .postbox .handlediv,
    .postbox-header .handlediv,
    .handle-actions button {
        color: #5A6B4F !important;
        opacity: 0.7;
        transition: opacity 0.15s ease, transform 0.15s ease;
    }
    .postbox .handlediv:hover,
    .postbox-header .handlediv:hover,
    .handle-actions button:hover {
        opacity: 1;
        transform: scale(1.1);
        background: rgba(122,139,111,0.10) !important;
        border-radius: 6px !important;
    }
    .handle-order-higher::before,
    .handle-order-lower::before,
    .toggle-indicator::before {
        color: #5A6B4F !important;
    }

    /* === BULK ACTIONS DROPDOWNS === */
    select#bulk-action-selector-top,
    select#bulk-action-selector-bottom,
    select[name="action"],
    select[name="action2"] {
        border-radius: 8px !important;
        border: 1.5px solid rgba(122,139,111,0.30) !important;
        padding: 6px 10px !important;
        background: #fff !important;
        color: #5A6B4F !important;
        height: 36px !important;
        min-height: 36px !important;
    }
    #doaction, #doaction2,
    #post-query-submit,
    #search-submit,
    .actions input[type="submit"],
    .actions .button,
    #filter-by-date,
    .tablenav .actions select {
        height: 36px !important;
        min-height: 36px !important;
        line-height: 1.4 !important;
        vertical-align: middle !important;
    }

    /* === SCREEN OPTIONS / HELP PANELS === */
    #screen-meta {
        background: #fff !important;
        border: 1px solid rgba(122,139,111,0.18) !important;
        border-top: 0 !important;
        border-radius: 0 0 12px 12px !important;
        margin: 0 20px 0 0 !important;
        box-shadow: 0 4px 12px rgba(122,139,111,0.10) !important;
    }
    #screen-options-wrap, #contextual-help-wrap {
        background: #fff !important;
        padding: 18px 24px !important;
    }
    #screen-meta-links {
        margin: 0 20px 0 0 !important;
    }
    #screen-meta-links .show-settings {
        background: #fff !important;
        border: 1px solid rgba(122,139,111,0.20) !important;
        border-top: 0 !important;
        border-radius: 0 0 8px 8px !important;
        color: #5A6B4F !important;
        font-weight: 600 !important;
        padding: 6px 14px !important;
    }
    #screen-meta-links .show-settings:hover {
        background: #f5f0e8 !important;
        color: #5A6B4F !important;
    }

    /* === SUB-TABS settings (nav-tab inside pages) === */
    .nav-tab-wrapper, h2.nav-tab-wrapper {
        margin-bottom: 18px !important;
    }
    .nav-tab {
        background: rgba(255,255,255,0.6) !important;
        border: 1.5px solid rgba(122,139,111,0.20) !important;
        border-bottom: 0 !important;
        color: #5A6B4F !important;
        padding: 10px 18px !important;
        font-weight: 600 !important;
    }

    /* === SPINNER (loading) === */
    .spinner {
        background-image: none !important;
        position: relative !important;
        width: 22px !important;
        height: 22px !important;
        border: 2.5px solid rgba(122,139,111,0.2) !important;
        border-top-color: #7A8B6F !important;
        border-radius: 50% !important;
        animation: mbbDeepSpin 0.8s linear infinite;
        margin: 0 6px !important;
    }
    @keyframes mbbDeepSpin {
        to { transform: rotate(360deg); }
    }

    /* === QUICK EDIT / INLINE EDIT === */
    .quick-edit-row {
        background: #faf7f2 !important;
        border-radius: 12px !important;
        padding: 16px !important;
        border: 1px solid rgba(122,139,111,0.20) !important;
    }
    .quick-edit-row .button {
        border-radius: 8px !important;
    }

    /* === WP POINTER TOOLTIPS === */
    .wp-pointer .wp-pointer-content {
        background: #fff !important;
        border: 1px solid rgba(122,139,111,0.25) !important;
        border-radius: 12px !important;
        box-shadow: 0 8px 24px rgba(122,139,111,0.20) !important;
    }
    .wp-pointer .wp-pointer-content h3 {
        background: linear-gradient(135deg, #7A8B6F, #5A6B4F) !important;
        color: #fff !important;
        border-radius: 11px 11px 0 0 !important;
        font-family: 'Poppins', sans-serif !important;
    }
    .wp-pointer .wp-pointer-content h3::before {
        background: rgba(255,255,255,0.20) !important;
        color: #fff !important;
    }

    /* === ROW ACTIONS hover === */
    .wp-list-table tr:hover .row-actions {
        opacity: 1 !important;
    }
    .row-actions span a {
        color: #5A6B4F !important;
        font-weight: 600 !important;
    }
    .row-actions span.delete a,
    .row-actions span.trash a {
        color: #c00 !important;
    }
    .row-actions span a:hover {
        text-decoration: underline !important;
    }

    /* === WELCOME PANEL CLOSE === */
    #welcome-panel .welcome-panel-close {
        background: rgba(255,255,255,0.50) !important;
        border-radius: 50% !important;
        width: 28px !important;
        height: 28px !important;
        line-height: 28px !important;
    }
    #welcome-panel .welcome-panel-close::before {
        color: #5A6B4F !important;
    }

    /* === MEDIA LIBRARY MODAL === */
    .media-modal {
        border-radius: 16px !important;
        overflow: hidden !important;
        box-shadow: 0 20px 60px rgba(0,0,0,0.30) !important;
    }
    .media-frame-title h1 {
        color: #5A6B4F !important;
        font-family: 'Poppins', sans-serif !important;
    }
    .media-frame-toolbar .media-toolbar-primary .button {
        background: linear-gradient(135deg, #7A8B6F, #5A6B4F) !important;
        color: #fff !important;
        border: 0 !important;
    }
    .media-frame .media-router .media-menu-item {
        color: #5A6B4F !important;
    }
    .media-frame .media-router .media-menu-item.active {
        color: #fff !important;
        background: #7A8B6F !important;
        border-radius: 8px 8px 0 0 !important;
        box-shadow: none !important;
    }
    .attachment.selected,
    .attachment.details {
        box-shadow: 0 0 0 3px rgba(122,139,111,0.50), inset 0 0 0 1px rgba(255,255,255,0.40) !important;
    }
    .media-modal-close::before {
        color: #5A6B4F !important;
    }

    /* === SUBMIT BOX (publish) === */
    #submitdiv .misc-pub-section {
        border-bottom: 1px dashed rgba(122,139,111,0.18) !important;
        padding: 10px 14px !important;
        color: #5A6B4F !important;
    }
    #publishing-action .spinner {
        margin-left: 0 !important;
    }
    #publish:active,
    .editor-post-publish-button:active {
        transform: translateY(1px) !important;
    }

    /* === FILTRES "TOUS / PUBLIES / BROUILLONS" === */
    .subsubsub li {
        color: rgba(122,139,111,0.30) !important;
    }
    .subsubsub li::after {
        color: rgba(122,139,111,0.30) !important;
    }

    /* === ABOUT / CREDITS PAGE === */
    body.about-php .about__container,
    body.credits-php .about__container {
        background: #fff !important;
        border: 1px solid rgba(122,139,111,0.18) !important;
        border-radius: 14px !important;
        padding: 24px !important;
    }

    /* === Métabox dragging state === */
    .postbox.ui-sortable-helper {
        box-shadow: 0 12px 32px rgba(122,139,111,0.30) !important;
        opacity: 0.95;
        transform: rotate(0.5deg);
    }

    /* === TINYMCE editor toolbar === */
    .mce-toolbar-grp,
    .mce-statusbar {
        background: #faf7f2 !important;
        border-color: rgba(122,139,111,0.18) !important;
    }
    .mce-btn button {
        color: #5A6B4F !important;
    }
    .mce-btn:hover button {
        background: rgba(122,139,111,0.10) !important;
    }
    .mce-btn.mce-active button,
    .mce-btn.mce-active:hover button {
        background: rgba(122,139,111,0.20) !important;
    }
    .quicktags-toolbar {
        background: #faf7f2 !important;
        border-color: rgba(122,139,111,0.15) !important;
    }
    .quicktags-toolbar input[type="button"] {
        border-radius: 6px !important;
        border-color: rgba(122,139,111,0.20) !important;
        color: #5A6B4F !important;
        background: #fff !important;
    }

    /* === ADMIN BAR (top) === */
    #wpadminbar {
        background: linear-gradient(135deg, #5A6B4F, #3F5A2F) !important;
        height: 40px !important;
    }
    #wpadminbar .ab-empty-item,
    #wpadminbar a.ab-item,
    #wpadminbar > #wp-toolbar span.ab-label,
    #wpadminbar > #wp-toolbar span.noticon {
        color: #fff !important;
        height: 40px !important;
        line-height: 40px !important;
    }
    #wpadminbar .ab-top-menu > li > .ab-item:focus,
    #wpadminbar .ab-top-menu > li.hover > .ab-item,
    #wpadminbar .ab-top-menu > li > .ab-item:hover {
        background: rgba(255,255,255,0.10) !important;
        color: #fff !important;
    }
    #wpadminbar .ab-sub-wrapper {
        background: #fff !important;
        border: 1px solid rgba(122,139,111,0.18) !important;
        border-radius: 0 0 12px 12px !important;
        box-shadow: 0 8px 24px rgba(122,139,111,0.18) !important;
        overflow: hidden !important;
    }
    #wpadminbar .ab-submenu .ab-item {
        color: #5A6B4F !important;
    }
    #wpadminbar .ab-submenu .ab-item:hover {
        background: #f5f0e8 !important;
        color: #5A6B4F !important;
    }
    #wpadminbar #wp-admin-bar-my-account.with-avatar > .ab-item img {
        border-radius: 50% !important;
        border: 2px solid rgba(255,255,255,0.30) !important;
    }

    /* === SIDEBAR ADMIN MENU (renforce) === */
    body.wp-admin #adminmenu li.wp-has-current-submenu .wp-submenu li > a,
    body.wp-admin #adminmenu li.current .wp-submenu li > a {
        color: #C8D9BA !important;
    }
    body.wp-admin #adminmenu .wp-submenu li.current a,
    body.wp-admin #adminmenu .wp-submenu li.current a:hover {
        background: #5A6B4F !important;
        color: #fff !important;
    }

    /* === CHECKBOX / RADIO === */
    input[type="checkbox"],
    input[type="radio"] {
        accent-color: #7A8B6F !important;
        width: 18px !important;
        height: 18px !important;
        border-radius: 4px !important;
        border: 1.5px solid rgba(122,139,111,0.40) !important;
    }
    input[type="checkbox"]:checked::before,
    input[type="radio"]:checked::before {
        color: #fff !important;
    }

    /* === CODE / PRE BLOCS === */
    code, pre, kbd, samp {
        background: #faf7f2 !important;
        color: #5A6B4F !important;
        border: 1px solid rgba(122,139,111,0.15) !important;
        padding: 2px 8px !important;
        border-radius: 6px !important;
        font-size: 0.86em !important;
    }
    pre {
        padding: 12px 16px !important;
        line-height: 1.5 !important;
    }

    /* === PROFILE / USER edit avatar select === */
    body.profile-php #wpbody-content,
    body.user-edit-php #wpbody-content {
        max-width: 100% !important;
    }
    body.profile-php h2,
    body.user-edit-php h2 {
        color: #5A6B4F !important;
        font-family: 'Poppins', sans-serif !important;
        font-size: 1.2rem !important;
        border-bottom: 2px solid rgba(122,139,111,0.20) !important;
        padding-bottom: 8px !important;
        margin-top: 32px !important;
    }

    /* === SHORTCUTS HELP MODAL (TinyMCE) === */
    .wp-color-picker {
        border-radius: 8px !important;
        border-color: rgba(122,139,111,0.30) !important;
    }
    .wp-color-result {
        border-radius: 8px !important;
        border-color: rgba(122,139,111,0.30) !important;
    }

    /* === TAGS metabox (chosen-like style) === */
    .tagchecklist {
        margin-top: 8px !important;
    }
    .tagchecklist .ntdelbutton {
        background: rgba(122,139,111,0.15) !important;
        color: #5A6B4F !important;
        border-radius: 999px !important;
        padding: 2px 10px !important;
        margin-right: 4px !important;
    }
    .tagchecklist .ntdelbutton:hover {
        background: #c00 !important;
        color: #fff !important;
    }

    /* === SETTING ERRORS (success message after save) === */
    div.notice.settings-error,
    div.notice.updated.settings-error {
        background: rgba(255, 95, 95, 0.10) !important;
        border-left-color: #c00 !important;
    }
    div.notice.updated.settings-updated {
        background: rgba(90, 139, 63, 0.10) !important;
        border-left-color: #5A8B3F !important;
    }
    div.notice strong {
        color: #5A6B4F !important;
    }

    /* === Responsive : hero mobile === */
    @media (max-width: 782px) {
        .mbb-wpn-hero {
            margin: 8px -8px 14px !important;
            padding: 14px 16px !important;
        }
    }
    

/* ===================================================================
   FROM: admin-polish-final.php
   =================================================================== */
    
        body.wp-admin .mbb-polish-hero {
            background: linear-gradient(135deg, #5A6B4F 0%, #7A8B6F 100%);
            color: #fff;
            padding: 24px 30px;
            margin: -10px -20px 22px -20px;
            border-radius: 0 0 14px 14px;
            box-shadow: 0 6px 18px rgba(90,107,79,0.15);
        }
        .mbb-polish-hero-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 18px;
            flex-wrap: wrap;
        }
        .mbb-polish-hero-text { flex: 1; min-width: 240px; }
        .mbb-polish-hero-eyebrow {
            text-transform: uppercase;
            letter-spacing: 0.10em;
            font-size: 0.74rem;
            font-weight: 700;
            opacity: 0.88;
            margin-bottom: 6px;
        }
        .mbb-polish-hero-title {
            margin: 0 0 6px !important;
            font-size: 1.5rem !important;
            color: #fff !important;
            font-weight: 700 !important;
        }
        .mbb-polish-hero-greeting {
            margin: 0 !important;
            color: rgba(255,255,255,0.92);
            font-size: 0.94rem;
            line-height: 1.5;
        }
        .mbb-polish-hero-greeting strong { color: #fff; }
        .mbb-polish-hero-actions {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }
        .mbb-polish-hero-actions .button,
        .mbb-polish-hero-actions a {
            background: rgba(255,255,255,0.18) !important;
            color: #fff !important;
            border: 1px solid rgba(255,255,255,0.30) !important;
            border-radius: 8px !important;
            padding: 8px 16px !important;
            font-weight: 600 !important;
            text-decoration: none !important;
            font-size: 0.92rem !important;
            line-height: 1.4 !important;
            height: auto !important;
        }
        .mbb-polish-hero-actions .button:hover,
        .mbb-polish-hero-actions a:hover {
            background: rgba(255,255,255,0.28) !important;
            transform: translateY(-1px);
        }
        .mbb-polish-hero-actions .button-primary {
            background: #fff !important;
            color: #5A6B4F !important;
            border-color: #fff !important;
        }
        .mbb-polish-hero-actions .button-primary:hover {
            background: #faf7f2 !important;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }
        /* Cache le H1 WP par défaut sur ces pages (notre hero le remplace) */
        body.wp-admin .mbb-polish-hide-default-h1 .wrap > h1.wp-heading-inline,
        body.wp-admin .mbb-polish-hide-default-h1 .wrap > .page-title-action {
            display: none !important;
        }
    
    
        /* ========================================================
           Responsive mobile pour l'admin WP (< 782px standard WP breakpoint)
           ======================================================== */
        @media (max-width: 782px) {
            /* Hero MBB compact */
            .mbb-polish-hero,
            .mbb-article-hero,
            .mbb-admin-modern-hero,
            .mbb-stats-hero {
                padding: 18px 16px !important;
                margin: -8px -10px 16px -10px !important;
                border-radius: 0 0 10px 10px !important;
            }
            .mbb-polish-hero-title,
            .mbb-article-hero h1,
            .mbb-amh-title {
                font-size: 1.25rem !important;
            }
            .mbb-polish-hero-inner,
            .mbb-article-hero,
            .mbb-amh-inner {
                flex-direction: column !important;
                align-items: flex-start !important;
                gap: 12px !important;
            }
            .mbb-polish-hero-actions,
            .mbb-article-hero-actions {
                width: 100% !important;
                flex-wrap: wrap !important;
            }
            .mbb-polish-hero-actions .button,
            .mbb-article-hero-actions .button {
                flex: 1 1 auto !important;
                font-size: 0.86rem !important;
                padding: 8px 12px !important;
            }

            /* Tableaux : meilleur scroll horizontal */
            .wp-list-table {
                font-size: 0.86rem;
            }
            .wp-list-table th,
            .wp-list-table td {
                padding: 8px 6px !important;
            }

            /* Kanban grids : 1 colonne sur mobile */
            .mbb-ku-grid,
            .mbb-ku-cols-3,
            .mbb-ku-cols-4,
            .mbb-smk-grid,
            .mbb-articles-kanban,
            .mbb-pp-programmes-grid {
                grid-template-columns: 1fr !important;
                gap: 10px !important;
            }
            .mbb-ku-card,
            .mbb-smk-card {
                min-height: auto !important;
            }
            .mbb-ku-thumb {
                aspect-ratio: 16/9 !important;
            }

            /* Filtres statut : scroll horizontal */
            .mbb-ku-status-filters,
            .mbb-temo-view-toggle,
            .mbb-cpt-view-toggle,
            .mbb-smk-toggle {
                overflow-x: auto !important;
                flex-wrap: nowrap !important;
                padding: 4px !important;
                -webkit-overflow-scrolling: touch;
                scrollbar-width: thin;
            }
            .mbb-ku-filter {
                flex-shrink: 0 !important;
                padding: 8px 12px !important;
                font-size: 0.86rem !important;
            }

            /* Brand assets : 1 colonne sur mobile */
            .mbb-brand-grid {
                grid-template-columns: 1fr !important;
            }

            /* Pack picker : sticky devient inline */
            .mbb-pp-search,
            .mbb-pp-selected-list,
            .mbb-pp-tarif-grid {
                font-size: 0.92rem !important;
            }
            .mbb-pp-tarif-grid {
                grid-template-columns: 1fr !important;
            }

            /* Editeur article : sidebar passe sous le contenu */
            #post-body.columns-2 {
                grid-template-columns: 1fr !important;
            }
            #postbox-container-1 {
                position: static !important;
                max-height: none !important;
                margin-top: 16px !important;
            }
            #titlediv #title {
                font-size: 1.3rem !important;
                padding: 14px 18px !important;
            }
            #wp-content-wrap.tmce-active #content_ifr {
                min-height: 50vh !important;
            }

            /* Tabs picker mobile */
            .mbb-smk-picker-tabs,
            .mbb-sp-tabs {
                overflow-x: auto !important;
                flex-wrap: nowrap !important;
            }
            .mbb-smk-picker-tab {
                flex-shrink: 0 !important;
                font-size: 0.78rem !important;
                padding: 8px 10px !important;
            }

            /* Modal picker emoji : full screen mobile */
            .mbb-smk-picker-box {
                width: 96vw !important;
                max-height: 92vh !important;
            }
            .mbb-smk-picker-panel.is-active {
                grid-template-columns: repeat(auto-fill, minmax(50px, 1fr)) !important;
            }
            .mbb-smk-picker-emoji {
                font-size: 28px !important;
                padding: 8px 4px !important;
            }

            /* Forms : labels plus lisibles */
            .form-table th {
                padding-bottom: 4px !important;
                width: auto !important;
                display: block !important;
            }
            .form-table td {
                padding-top: 0 !important;
                padding-bottom: 12px !important;
            }
            .form-table input[type="text"],
            .form-table input[type="email"],
            .form-table input[type="password"],
            .form-table input[type="url"] {
                width: 100% !important;
                max-width: 100% !important;
            }
        }

        /* Tablette */
        @media (min-width: 783px) and (max-width: 1280px) {
            .mbb-ku-grid,
            .mbb-ku-cols-3,
            .mbb-ku-cols-4 {
                grid-template-columns: repeat(2, 1fr) !important;
            }
            .mbb-brand-grid {
                grid-template-columns: repeat(2, 1fr) !important;
            }
        }
    
    
        @media (max-width: 600px) {
            .mbb-container { padding: 0 16px !important; }
            .mbb-section { padding: 40px 0 !important; }
            .mbb-hero { padding: 56px 0 32px !important; }
            .mbb-hero-title { font-size: clamp(1.6rem, 7vw, 2.2rem) !important; line-height: 1.2 !important; }
            .mbb-hero-text { font-size: 1rem !important; }
            .mbb-cta-banner {
                padding: 24px 20px !important;
                flex-direction: column !important;
                text-align: center !important;
                gap: 16px !important;
            }
            .mbb-cta-banner h2 { font-size: 1.4rem !important; }
            .mbb-cta-banner p { font-size: 0.95rem !important; }
            .mbb-card-body { padding: 16px 18px !important; }
            .mbb-card-body h3 { font-size: 1rem !important; }
            .mbb-pricing-card { padding: 24px 18px !important; }
            .mbb-pricing-price strong { font-size: 1.8rem !important; }
            .mbb-header { padding: 10px 0 !important; }
            .mbb-logo-text { font-size: 1rem !important; }
            .mbb-blog-cats { gap: 6px !important; padding: 0 12px !important; }
            .mbb-blog-cats a { padding: 6px 12px !important; font-size: 0.82rem !important; }
            .mbb-pagination .page-numbers { min-width: 36px !important; height: 36px !important; padding: 0 10px !important; }
            .mbb-article-content { font-size: 0.98rem !important; }
            .mbb-article-content h2 { font-size: 1.3rem !important; margin: 28px 0 10px !important; }
            .mbb-article-content h3 { font-size: 1.1rem !important; margin: 22px 0 8px !important; }
            .mbb-article-hero { padding: 32px 0 14px !important; }
            .mbb-article-title { font-size: 1.5rem !important; }
            .mbb-prog-hero { padding: 32px 0 24px !important; }
            .mbb-module-item {
                flex-direction: row !important;
                gap: 12px !important;
                padding: 14px 16px !important;
            }
            .mbb-module-num {
                width: 32px !important;
                height: 32px !important;
                font-size: 0.86rem !important;
            }
            .mbb-module-content h3 { font-size: 0.96rem !important; }
            .mbb-module-tips { font-size: 0.86rem !important; }
            .mbb-module-meta { font-size: 0.78rem !important; gap: 8px !important; }
            .mbb-footer { padding: 36px 0 16px !important; }
            .mbb-footer h4 { font-size: 0.92rem !important; }
            .mbb-footer a, .mbb-footer p { font-size: 0.86rem !important; }
            .mbb-welcome { font-size: 1.15rem !important; }
            .mbb-smiley-item { padding: 16px 12px !important; min-height: 110px !important; }
            .mbb-smiley-emoji { font-size: 36px !important; }
            .mbb-smiley-item span { font-size: 12px !important; }
        }
        @media (max-width: 400px) {
            .mbb-hero-cta { flex-direction: column !important; width: 100% !important; }
            .mbb-hero-cta .mbb-btn { width: 100% !important; }
        }
    

/* ===================================================================
   FROM: admin-pages-polish.php
   =================================================================== */
    
        /* =========================================================
           CIBLAGE FORT : ces 8 URLs admin doivent ETRE 100% MBB
           Liste : edit.php?post_type=mbb_temoignage / mbb_faq / page,
           admin.php?page=mbb-manager-tarifs / -stats / -settings,
           admin.php?page=mbb-newsletter, users.php
           ========================================================= */
        body.post-type-mbb_temoignage,
        body.post-type-mbb_faq,
        body.post-type-page,
        body.post-type-mbb_programme,
        body.post-type-mbb_module,
        body.post-type-mbb_smiley,
        body.post-type-mbb_pack,
        body.users-php,
        body.toplevel_page_mbb-manager,
        body[class*="mbb-manager_page_mbb-manager-"],
        body[class*="mbb-manager_page_mbb-newsletter"],
        body[class*="mbb-manager_page_mbb-smtp"] {
            background: linear-gradient(180deg, #faf7f2 0%, #f5f0e8 200px, #faf7f2 200px) !important;
        }
        body.post-type-mbb_temoignage #wpcontent,
        body.post-type-mbb_faq #wpcontent,
        body.post-type-page #wpcontent,
        body.users-php #wpcontent,
        body[class*="mbb-manager_page_"] #wpcontent {
            padding: 16px 22px 0 !important;
        }
        body.post-type-mbb_temoignage .wrap > h1,
        body.post-type-mbb_faq .wrap > h1,
        body.post-type-page .wrap > h1,
        body.users-php .wrap > h1,
        body[class*="mbb-manager_page_"] .wrap > h1 {
            background: linear-gradient(135deg, #5A6B4F 0%, #7A8B6F 100%) !important;
            color: #fff !important;
            padding: 22px 28px !important;
            border-radius: 14px !important;
            margin: 0 0 22px !important;
            border: 0 !important;
            box-shadow: 0 8px 24px rgba(90,107,79,0.18) !important;
            display: flex !important;
            align-items: center !important;
            justify-content: space-between !important;
        }
        body.post-type-mbb_temoignage .wrap > h1 .page-title-action,
        body.post-type-mbb_faq .wrap > h1 .page-title-action,
        body.post-type-page .wrap > h1 .page-title-action,
        body.users-php .wrap > h1 .page-title-action,
        body[class*="mbb-manager_page_"] .wrap > h1 .page-title-action {
            background: #fff !important;
            color: #5A6B4F !important;
            border: 0 !important;
            border-radius: 8px !important;
            padding: 8px 18px !important;
            margin-left: 16px !important;
            font-weight: 700 !important;
            box-shadow: 0 2px 6px rgba(0,0,0,0.10) !important;
        }

        /* =========================================================
           POLISH GLOBAL : applies to ALL admin pages
           ========================================================= */

        /* Form-table : meilleure aération + accents MBB */
        .form-table {
            background: #fff;
            border: 1px solid rgba(122,139,111,0.15);
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 1px 4px rgba(122,139,111,0.06);
        }
        .form-table th {
            background: linear-gradient(135deg, #faf7f2 0%, #f5f0e8 100%) !important;
            color: #5A6B4F !important;
            font-weight: 700 !important;
            padding: 18px 20px !important;
            border-bottom: 1px solid rgba(122,139,111,0.10) !important;
            vertical-align: top !important;
            width: 220px;
        }
        .form-table td {
            padding: 18px 20px !important;
            border-bottom: 1px solid rgba(122,139,111,0.08) !important;
            vertical-align: top !important;
        }
        .form-table tr:last-child th,
        .form-table tr:last-child td { border-bottom: 0 !important; }
        .form-table .description {
            color: #6B6B6B;
            margin-top: 6px;
            font-size: 0.86rem;
            line-height: 1.5;
        }

        /* Headings dans wrap */
        .wrap > h1 {
            color: #5A6B4F !important;
            font-weight: 700 !important;
            padding: 18px 0 !important;
            font-size: 1.6rem !important;
            border-bottom: 2px solid rgba(122,139,111,0.20);
            margin-bottom: 18px !important;
        }
        .wrap > h1 .page-title-action,
        .wrap > h1 + .page-title-action {
            font-size: 0.9rem !important;
            padding: 8px 18px !important;
            margin-left: 16px !important;
            border-radius: 8px !important;
        }
        .wrap > h2:not(.nav-tab-wrapper) {
            color: #5A6B4F !important;
            margin-top: 32px !important;
            padding-bottom: 10px;
            border-bottom: 1px dashed rgba(122,139,111,0.20);
        }

        /* =========================================================
           MEDIAS (upload.php)
           ========================================================= */
        body.upload-php .attachments-browser .media-toolbar {
            background: linear-gradient(135deg, #faf7f2 0%, #f5f0e8 100%) !important;
            border-radius: 10px;
            padding: 12px 16px !important;
            border: 1px solid rgba(122,139,111,0.15) !important;
            margin-bottom: 14px;
        }
        body.upload-php .attachment {
            transition: transform 0.15s ease, box-shadow 0.15s ease !important;
        }
        body.upload-php .attachment:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(122,139,111,0.18) !important;
        }
        body.upload-php .attachment.selected .thumbnail {
            box-shadow: 0 0 0 4px #7A8B6F !important;
        }
        body.upload-php .attachment .thumbnail {
            border-radius: 10px !important;
            overflow: hidden;
        }

        /* =========================================================
           MEMBRES (users.php)
           ========================================================= */
        body.users-php .wp-list-table .username strong a {
            color: #5A6B4F !important;
            font-weight: 700 !important;
        }
        body.users-php .wp-list-table .username strong a:hover { color: #7A8B6F !important; }
        body.users-php .avatar {
            border-radius: 50% !important;
            border: 2px solid #f5f0e8 !important;
            box-shadow: 0 2px 6px rgba(122,139,111,0.15);
        }
        body.users-php .row-actions { color: #999; }
        body.users-php .row-actions a { color: #7A8B6F; }
        body.users-php .row-actions .delete a { color: #c00; }

        /* =========================================================
           PROFIL (profile.php / user-edit.php)
           ========================================================= */
        body.profile-php .form-table h2,
        body.user-edit-php .form-table h2 {
            background: #5A6B4F;
            color: #fff !important;
            padding: 14px 22px !important;
            margin: 32px 0 0 !important;
            border-radius: 10px 10px 0 0;
            font-size: 1rem !important;
        }
        body.profile-php .form-table h2 + tr th,
        body.user-edit-php .form-table h2 + tr th {
            border-top: 0 !important;
        }
        body.profile-php #profile-page #your-profile h2,
        body.user-edit-php #profile-page h2 {
            color: #5A6B4F !important;
            margin: 32px 0 16px !important;
            padding: 0 0 8px !important;
            border-bottom: 2px solid rgba(122,139,111,0.25) !important;
            background: transparent !important;
            border-radius: 0 !important;
        }
        body.profile-php .user-profile-picture img,
        body.user-edit-php .user-profile-picture img {
            border-radius: 50% !important;
            border: 4px solid #f5f0e8;
            box-shadow: 0 4px 14px rgba(122,139,111,0.25);
        }

        /* =========================================================
           RÉGLAGES (options-general.php et autres)
           ========================================================= */
        body[class*="options-"] .submit {
            margin-top: 24px;
            padding: 20px 0;
            border-top: 1px dashed rgba(122,139,111,0.20);
        }

        /* =========================================================
           MISES À JOUR (update-core.php)
           ========================================================= */
        body.update-core-php .core-updates,
        body.update-core-php .plugins,
        body.update-core-php .themes {
            background: #fff;
            border: 1px solid rgba(122,139,111,0.15) !important;
            border-radius: 12px;
            padding: 20px 24px;
            margin-bottom: 16px;
        }
        body.update-core-php h2 {
            color: #5A6B4F !important;
            border-bottom: 2px solid rgba(122,139,111,0.20);
            padding-bottom: 8px;
        }

        /* =========================================================
           OUTILS (tools.php)
           ========================================================= */
        body.tools-php .card {
            border: 1px solid rgba(122,139,111,0.15) !important;
            border-radius: 12px !important;
            box-shadow: 0 2px 8px rgba(122,139,111,0.06);
            padding: 22px 26px !important;
        }
        body.tools-php .card h2 {
            color: #5A6B4F !important;
            margin-top: 0 !important;
        }

        /* =========================================================
           PERMALIENS (options-permalink.php)
           ========================================================= */
        body.options-permalink-php fieldset {
            background: #fff;
            border: 1px solid rgba(122,139,111,0.15) !important;
            border-radius: 12px;
            padding: 18px 22px;
            margin-bottom: 12px;
        }
        body.options-permalink-php fieldset label {
            display: block;
            padding: 6px 0;
        }

        /* =========================================================
           NOTIFICATIONS GÉNÉRIQUES
           ========================================================= */
        .notice, div.notice {
            border-radius: 10px !important;
            border-left-width: 5px !important;
            box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
            padding: 14px 18px !important;
        }
        .notice-success { border-left-color: #5A8B3F !important; }
        .notice-warning { border-left-color: #C28A00 !important; }
        .notice-error   { border-left-color: #DC3545 !important; }
        .notice-info    { border-left-color: #7A8B6F !important; }

        /* =========================================================
           TABLES WP_LIST_TABLE (commun)
           ========================================================= */
        .wp-list-table {
            border: 1px solid rgba(122,139,111,0.15) !important;
            border-radius: 12px !important;
            overflow: hidden !important;
            box-shadow: 0 2px 8px rgba(122,139,111,0.05) !important;
        }
        .wp-list-table thead {
            background: linear-gradient(135deg, #faf7f2 0%, #f5f0e8 100%) !important;
        }
        .wp-list-table thead th {
            color: #5A6B4F !important;
            font-weight: 700 !important;
            padding: 14px 12px !important;
            border-bottom: 1px solid rgba(122,139,111,0.20) !important;
        }
        .wp-list-table tbody tr {
            background: #fff;
            transition: background 0.1s ease;
        }
        .wp-list-table tbody tr:hover {
            background: #faf7f2 !important;
        }

        /* =========================================================
           INPUTS / TEXTAREA / SELECTS uniformes
           ========================================================= */
        input[type="text"], input[type="email"], input[type="url"],
        input[type="password"], input[type="search"], input[type="number"],
        input[type="tel"], input[type="date"], input[type="time"],
        textarea, select {
            border-radius: 8px !important;
            border-color: rgba(122,139,111,0.30) !important;
            padding: 8px 12px !important;
            transition: border-color 0.15s ease, box-shadow 0.15s ease;
        }
        input[type="text"]:focus, input[type="email"]:focus, input[type="url"]:focus,
        input[type="password"]:focus, input[type="search"]:focus, input[type="number"]:focus,
        input[type="tel"]:focus, input[type="date"]:focus, input[type="time"]:focus,
        textarea:focus, select:focus {
            border-color: #7A8B6F !important;
            box-shadow: 0 0 0 3px rgba(122,139,111,0.18) !important;
            outline: 0 !important;
        }

        /* =========================================================
           BUTTONS (uniformisé)
           ========================================================= */
        .wp-core-ui .button {
            border-radius: 8px !important;
            padding: 6px 16px !important;
            border-color: rgba(122,139,111,0.40) !important;
            color: #5A6B4F !important;
            font-weight: 600 !important;
            transition: all 0.15s ease !important;
        }
        .wp-core-ui .button:hover {
            border-color: #7A8B6F !important;
            background: #f5f0e8 !important;
            color: #5A6B4F !important;
        }
        .wp-core-ui .button-primary {
            background: linear-gradient(135deg, #7A8B6F 0%, #5A6B4F 100%) !important;
            border: 0 !important;
            color: #fff !important;
            font-weight: 700 !important;
            box-shadow: 0 2px 8px rgba(122,139,111,0.30) !important;
            text-shadow: none !important;
        }
        .wp-core-ui .button-primary:hover {
            background: linear-gradient(135deg, #5A6B4F 0%, #3F5A2F 100%) !important;
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(122,139,111,0.40) !important;
        }
        .wp-core-ui .button.button-large,
        .wp-core-ui .button-primary.button-large {
            padding: 10px 22px !important;
            font-size: 0.96rem !important;
        }
    

/* ===================================================================
   FROM: admin-wp-native-polish.php
   =================================================================== */
    ">
        /* Cache le H1 natif WP de la page (notre hero le remplace) */
        .wrap > h1.wp-heading-inline,
        .wrap > h1:first-of-type,
        .wrap > .wp-header-end {
            display: none !important;
        }
        /* Cache aussi le bouton "Ajouter" qui suit le H1 (on le remettra dans le hero) */
        body[class*="settings_page_mbb-stripe"] .wrap > .page-title-action {
            display: none !important;
        }

        /* HERO MBB pour pages WP natives */
        .mbb-wpn-hero {
            display: flex;
            align-items: center;
            gap: 22px;
            padding: 22px 28px;
            margin: 14px -10px 22px;
            background: linear-gradient(135deg, #5A6B4F 0%, #7A8B6F 100%);
            border-radius: 14px;
            box-shadow: 0 8px 24px rgba(90,107,79,0.18);
            color: #fff;
            position: relative;
            overflow: hidden;
        }
        .mbb-wpn-hero::before {
            content: '';
            position: absolute;
            top: -40%;
            right: -10%;
            width: 220px;
            height: 220px;
            background: radial-gradient(circle, rgba(255,255,255,0.10) 0%, transparent 65%);
            pointer-events: none;
        }
        .mbb-wpn-hero-icon {
            font-size: 56px;
            line-height: 1;
            background: rgba(255,255,255,0.14);
            border-radius: 14px;
            width: 78px;
            height: 78px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            box-shadow: inset 0 1px 2px rgba(255,255,255,0.20), 0 4px 12px rgba(0,0,0,0.10);
        }
        .mbb-wpn-hero-text { flex: 1; min-width: 0; }
        .mbb-wpn-hero-eyebrow {
            text-transform: uppercase;
            letter-spacing: 0.10em;
            font-size: 0.74rem;
            font-weight: 700;
            opacity: 0.85;
            margin-bottom: 4px;
        }
        .mbb-wpn-hero-title {
            color: #fff !important;
            margin: 0 0 6px !important;
            font-size: 1.8rem !important;
            font-weight: 700 !important;
            font-family: 'Poppins', system-ui, sans-serif !important;
            line-height: 1.2 !important;
        }
        .mbb-wpn-hero-desc {
            color: rgba(255,255,255,0.92) !important;
            margin: 0 !important;
            font-size: 0.95rem !important;
            line-height: 1.55 !important;
            max-width: 720px;
        }
        .mbb-wpn-hero-desc strong {
            color: #fff !important;
            font-weight: 700;
        }
        .mbb-wpn-hero-desc a {
            color: #fff !important;
            text-decoration: underline;
        }

        /* Mobile : hero compact */
        @media (max-width: 782px) {
            .mbb-wpn-hero {
                flex-direction: column;
                text-align: center;
                padding: 18px 20px;
                gap: 12px;
                margin: 8px -8px 16px;
            }
            .mbb-wpn-hero-icon {
                width: 64px;
                height: 64px;
                font-size: 40px;
            }
            .mbb-wpn-hero-title { font-size: 1.4rem !important; }
            .mbb-wpn-hero-desc { font-size: 0.86rem !important; }
        }

        /* === POLISH SPÉCIFIQUE PAR PAGE === */

        /* Permaliens : carte options stylée */
        body.options-permalink-php .form-table th {
            color: #5A6B4F !important;
        }
        body.options-permalink-php fieldset code {
            background: #faf7f2 !important;
            color: #5A6B4F !important;
            border: 1px solid rgba(122,139,111,0.20) !important;
            padding: 4px 8px !important;
            border-radius: 6px !important;
        }

        /* Plugins : cards de plugins */
        body.plugins-php tr.active {
            background: #fafefa !important;
            border-left: 3px solid #5A8B3F;
        }
        body.plugins-php .row-actions a.delete {
            color: #c00 !important;
        }

        /* Thèmes : cards thèmes */
        body.themes-php .theme.active::after {
            background: #7A8B6F !important;
            border-color: #5A6B4F !important;
        }
        body.themes-php .theme-actions .button {
            background: linear-gradient(135deg, #7A8B6F 0%, #5A6B4F 100%) !important;
            color: #fff !important;
            border: 0 !important;
        }

        /* Update-core : badge versions */
        body.update-core-php h2 {
            color: #5A6B4F !important;
        }
        body.update-core-php .core-updates {
            background: #fff;
            padding: 18px 22px;
            border-radius: 12px;
            border: 1px solid rgba(122,139,111,0.18);
            box-shadow: 0 2px 8px rgba(122,139,111,0.06);
        }

        /* Profile : avatar + sections */
        body.profile-php .user-profile-picture {
            background: linear-gradient(135deg, #faf7f2 0%, #f5f0e8 100%);
            padding: 24px;
            border-radius: 14px;
            border: 1px solid rgba(122,139,111,0.18);
            margin-top: 18px;
        }
        body.profile-php .user-profile-picture td > img {
            border-radius: 50% !important;
            border: 4px solid #fff !important;
            box-shadow: 0 4px 16px rgba(122,139,111,0.20) !important;
        }
        body.profile-php h2 {
            color: #5A6B4F !important;
            border-bottom: 2px solid rgba(122,139,111,0.20) !important;
            padding-bottom: 8px !important;
            margin-top: 32px !important;
        }

        /* Stripe : hero + sections clés */
        body[class*="settings_page_mbb-stripe"] .form-table {
            background: #fff;
            padding: 20px 24px;
            border-radius: 12px;
            border: 1px solid rgba(122,139,111,0.18);
            box-shadow: 0 2px 8px rgba(122,139,111,0.06);
            margin-bottom: 20px;
        }
        body[class*="settings_page_mbb-stripe"] h2 {
            color: #5A6B4F !important;
            margin-top: 28px !important;
        }
        body[class*="settings_page_mbb-stripe"] code {
            background: #faf7f2 !important;
            color: #5A6B4F !important;
            padding: 4px 8px !important;
            border-radius: 6px !important;
            border: 1px solid rgba(122,139,111,0.15) !important;
        }

        /* Edit-tags (taxonomies) : 2 colonnes nettes */
        body.edit-tags-php .col-wrap {
            background: #fff;
            border: 1px solid rgba(122,139,111,0.18);
            border-radius: 12px;
            box-shadow: 0 2px 8px rgba(122,139,111,0.06);
            padding: 18px 22px;
        }
        body.edit-tags-php .form-wrap h2 {
            color: #5A6B4F !important;
            margin-top: 0 !important;
            font-family: 'Poppins', sans-serif !important;
        }
        body.edit-tags-php .form-wrap label {
            color: #5A6B4F !important;
            font-weight: 700 !important;
        }
        body.edit-tags-php .form-wrap p.description {
            color: #6B6B6B !important;
            font-size: 0.86rem !important;
            font-style: italic;
        }

        /* Médiathèque : grid plus aérée + actions stylées */
        body.upload-php .attachments-browser {
            background: #fff !important;
            border-radius: 12px !important;
            padding: 12px !important;
            margin-top: 6px !important;
        }
        body.upload-php .attachment {
            border-radius: 10px !important;
            overflow: hidden;
        }
        body.upload-php .attachment.selected .check {
            background: #7A8B6F !important;
            border-color: #5A6B4F !important;
        }


/* ===========================================================
   MASQUE le widget "Discuter avec Kodee" (Hostinger AI Assistant)
   — sur frontend ET admin. Demande explicite admin : pollue l'UI.
   Couche A (CSS étendu) : couvre #vue-app + patterns Vue Teleport
   qui montent le widget HORS de #vue-app, directement sur <body>.
   =========================================================== */
#vue-app,
.kodee-widget,
.hostinger-chatbot-widget,
.hostinger-ai-widget,
.hts-chatbot,
[id^="hostinger-chatbot"],
[class*="chatbot-widget"],
.hts-floating-action,
.hostinger-ai-assistant-fab,
/* Patterns d'attribut large (Vue Teleport, Web Component, etc.) */
[id*="kodee" i],
[class*="kodee" i],
[id*="hostinger-chat" i],
[class*="hostinger-chat" i],
[id*="hostinger-ai" i],
[class*="hostinger-ai" i],
[data-kodee],
[data-hostinger-chat],
/* Enfants directs du body injectés par Vue Teleport */
body > div[class*="hostinger"]:not(#wpwrap):not(.wp-toolbar),
body > div[id*="hostinger"]:not(#wpwrap):not(.wp-toolbar),
/* iframes externes Hostinger */
iframe[src*="hostinger.com/kodee"],
iframe[src*="hostinger.com"][src*="kodee"],
iframe[src*="hostinger.com"][src*="chat"] {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* ==========================================================================
   HEADER ADMIN UNIFIE — titre + page-title-action + notices collés en haut
   sur TOUTES les pages admin. Supprime l'espace blanc parasite signalé par
   l'utilisateur sur edit.php (Articles) et pages similaires.
   ========================================================================== */
body.wp-admin #wpbody-content {
    padding-top: 0 !important;
}
body.wp-admin .wrap {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
body.wp-admin .wrap > h1.wp-heading-inline,
body.wp-admin .wrap > h1:first-child,
body.wp-admin .wrap > h1:first-of-type {
    margin-top: 0 !important;
    padding-top: 12px !important;
}
/* page-title-action ("Ajouter un article") collée au h1, pas de margin-top inutile */
body.wp-admin .wrap > .page-title-action,
body.wp-admin .wrap > a.page-title-action,
body.wp-admin .wrap > h1 + a.page-title-action {
    margin-top: 0 !important;
}
/* Notices admin (incluant 2FA) : compactes en haut, pas d'espace excessif */
body.wp-admin .wrap > .notice:first-of-type,
body.wp-admin .wrap > div.updated:first-of-type,
body.wp-admin .wrap > div.error:first-of-type {
    margin-top: 4px !important;
}
/* Cache les espaceurs WP parasites qui prennent de la place pour rien */
body.wp-admin .wrap > .clear:first-child,
body.wp-admin .wrap > br.clear:first-child,
body.wp-admin .wrap > div.clear:first-child {
    display: none !important;
}
/* hr.wp-header-end : marge supérieure 0 (séparateur WP nu sinon trop haut) */
body.wp-admin .wrap > hr.wp-header-end {
    margin: 0 !important;
    border: 0 !important;
    height: 0 !important;
}

/* ===========================================================
   BOUTONS PRIMARY MBB — texte BLANC garanti (sans .wp-core-ui)
   Bug observe : sur certaines pages MBB custom (cpt-manager,
   smtp, etc.) le wrapper .wp-core-ui peut manquer, donc le
   color:#fff scoped a .wp-core-ui .button-primary ne s'applique
   pas → texte gris-vert sur fond vert (illisible).
   On force la couleur AVEC ou SANS .wp-core-ui parent.
   =========================================================== */
.button.button-primary,
.button-primary,
button.button-primary,
input[type="submit"].button-primary {
    background: linear-gradient(135deg, #7A8B6F 0%, #5A6B4F 100%) !important;
    color: #ffffff !important;
    border: 0 !important;
    text-shadow: none !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}
.button.button-primary:hover,
.button-primary:hover,
button.button-primary:hover,
input[type="submit"].button-primary:hover,
.button.button-primary:focus,
.button-primary:focus {
    background: linear-gradient(135deg, #5A6B4F 0%, #3F5A2F 100%) !important;
    color: #ffffff !important;
}
/* Inclut explicitement les enfants (emoji + text) pour battre tout
   filter rgba ou color inherit dans certains thèmes admin override */
.button.button-primary *,
.button-primary *,
button.button-primary *,
input[type="submit"].button-primary * {
    color: #ffffff !important;
}
