﻿        /* ===== PAGE HERO (partagé entre toutes les pages) ===== */
        .page-hero {
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: linear-gradient(120deg, var(--primary-dark) 0%, var(--deep-koamaru) 60%, #1a1060 100%);
            border-radius: 14px;
            padding: 24px 28px;
            margin-bottom: var(--space-5);
            overflow: hidden;
            position: relative;
        }

        .page-hero::before {
            content: '';
            position: absolute;
            top: -40px; right: 120px;
            width: 180px; height: 180px;
            background: radial-gradient(circle, rgba(245,10,99,0.2) 0%, transparent 65%);
            pointer-events: none;
        }

        .page-hero-label {
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 0.2em;
            color: rgba(255,255,255,0.45);
            margin-bottom: 8px;
        }

        .page-hero-title {
            font-size: 22px;
            font-weight: 800;
            color: white;
            line-height: 1.1;
            text-shadow: 0 0 30px rgba(245,10,99,0.4);
        }

        .page-hero-sub {
            font-size: 13px;
            color: rgba(255,255,255,0.45);
            margin-top: 8px;
            letter-spacing: 0.04em;
        }

        .page-hero-icon {
            flex-shrink: 0;
            width: 100px;
            height: 100px;
            position: relative;
        }

        .page-hero-icon img,
        .page-hero-icon svg {
            width: 100%;
            height: 100%;
            object-fit: contain;
            display: block;
            filter: drop-shadow(0 4px 16px rgba(245,10,99,0.35));
        }

        /* ===== TOOLTIPS ===== */
        [data-tooltip] { cursor: help; }

        /* ===== MULTI-SELECT ===== */
        .ms-wrapper {
            position: relative;
            display: inline-block;
        }

        .ms-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px var(--space-3) 8px 16px;
            border: 1.5px solid var(--border);
            border-radius: 8px;
            font-size: 13px;
            font-family: inherit;
            font-weight: 500;
            cursor: pointer;
            background: #fff;
            white-space: nowrap;
            min-width: 155px;
            justify-content: space-between;
            color: var(--text-light);
            transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
            box-shadow: 0 1px 3px rgba(0,0,0,0.06);
        }

        .ms-btn:hover {
            border-color: var(--primary);
            color: var(--text);
            box-shadow: 0 2px 6px rgba(0,0,153,0.10);
        }

        .ms-btn--active {
            border-color: var(--accent);
            color: var(--accent);
            background: var(--surface-accent);
            box-shadow: 0 2px 6px rgba(245,10,99,0.10);
        }

        .ms-btn--active .ms-chevron {
            stroke: var(--accent);
            opacity: 0.8;
        }

        .ms-btn-label {
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            max-width: 200px;
        }

        .ms-chevron {
            flex-shrink: 0;
            opacity: 0.45;
            transition: transform 0.2s, opacity 0.18s;
        }

        .ms-btn:hover .ms-chevron {
            opacity: 0.7;
        }

        .ms-dropdown {
            position: absolute;
            top: calc(100% + 6px);
            left: 0;
            min-width: 100%;
            background: #fff;
            border: 1.5px solid #e0e0f0;
            border-radius: 10px;
            box-shadow: 0 8px 28px rgba(0,0,0,0.12), 0 2px 6px rgba(0,0,0,0.06);
            z-index: 2000;
            padding: 8px 0;
            max-height: 300px;
            overflow-y: auto;
        }

        .ms-dropdown--fixed {
            position: fixed;
            left: 16px;
            right: 16px;
            width: auto;
            min-width: 0;
        }

        /* scrollbar fine dans le dropdown */
        .ms-dropdown::-webkit-scrollbar { width: 4px; }
        .ms-dropdown::-webkit-scrollbar-track { background: transparent; }
        .ms-dropdown::-webkit-scrollbar-thumb { background: #d0d0e8; border-radius: 2px; }

        .ms-item {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: var(--space-2) var(--space-4);
            cursor: pointer;
            font-size: 13px;
            color: var(--text);
            user-select: none;
            transition: background 0.12s;
        }

        .ms-item:hover {
            background: #f0f0ff;
        }

        .ms-item--all {
            border-bottom: 1px solid #ebebf5;
            margin-bottom: var(--space-1);
            padding-bottom: 8px;
            font-size: 12px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: var(--text-light);
        }

        .ms-item--all:hover {
            background: #f8f8ff;
        }

        /* Checkbox stylée */
        .ms-check {
            appearance: none;
            -webkit-appearance: none;
            width: 15px;
            height: 15px;
            border: 1.5px solid #c0c0d8;
            border-radius: 4px;
            background: #fff;
            flex-shrink: 0;
            pointer-events: none;
            transition: background 0.15s, border-color 0.15s;
            position: relative;
        }

        .ms-check:checked {
            background: var(--accent);
            border-color: var(--accent);
        }

        .ms-check:checked::after {
            content: '';
            position: absolute;
            left: 3px;
            top: 0px;
            width: 5px;
            height: 9px;
            border: 2px solid #fff;
            border-top: none;
            border-left: none;
            transform: rotate(45deg);
        }

        /* Badge compteur */
        .ms-badge {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 18px;
            height: 18px;
            padding: 0 4px;
            border-radius: 9px;
            background: var(--accent);
            color: #fff;
            font-size: 11px;
            font-weight: 700;
            line-height: 1;
            flex-shrink: 0;
        }

        /* ===== MES PROJETS À SUIVRE ===== */
        .my-proj-pill {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 12px;
            border: 1.5px solid var(--border);
            border-radius: 20px;
            cursor: pointer;
            font-size: 13px;
            font-weight: 500;
            color: var(--text-light);
            background: #fff;
            transition: border-color 0.15s, background 0.15s, color 0.15s, box-shadow 0.15s;
            user-select: none;
        }

        .my-proj-pill:hover {
            border-color: var(--accent);
            color: var(--text);
            box-shadow: 0 2px 6px rgba(245,10,99,0.10);
        }

        .my-proj-pill--active {
            border-color: var(--accent);
            background: var(--surface-accent);
            color: var(--accent);
            box-shadow: 0 2px 6px rgba(245,10,99,0.12);
        }

        .my-proj-check-icon {
            flex-shrink: 0;
            opacity: 0.3;
            transition: opacity 0.15s, fill 0.15s;
        }

        .my-proj-pill:hover .my-proj-check-icon {
            opacity: 0.6;
        }

        .my-proj-pill--active .my-proj-check-icon {
            opacity: 1;
            stroke: var(--accent);
            fill: var(--accent);
        }

        .my-proj-badge {
            font-size: 10px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.4px;
            padding: 2px 8px;
            border-radius: 4px;
            background: #f0f0f0;
            color: var(--text-light);
        }

        .my-proj-pill--active .my-proj-badge {
            background: #ffe0ec;
            color: var(--accent);
        }

        /* ===== FOCUS STATES (WCAG 2.1 AA) =====
           outline !important : un indicateur de focus clavier ne doit jamais
           etre supprime. Neutralise tout outline:none (CSS ou inline) pour le
           clavier, sans affecter la souris (:focus-visible ne matche pas la souris). */
        :focus-visible {
            outline: 2px solid var(--accent) !important;
            outline-offset: 3px;
            border-radius: 4px;
        }
        button:focus-visible,
        .nav-item:focus-visible,
        .btn:focus-visible {
            outline: 2px solid var(--accent) !important;
            outline-offset: 2px;
        }
        input:focus-visible,
        select:focus-visible,
        textarea:focus-visible {
            outline: 2px solid var(--primary) !important;
            outline-offset: 0;
        }

        /* ===== SKELETON LOADERS ===== */
        .skeleton {
            background: linear-gradient(90deg, #ebebeb 25%, #d8d8d8 50%, #ebebeb 75%);
            background-size: 200% 100%;
            animation: shimmer 1.5s infinite;
            border-radius: 6px;
            display: block;
        }
        @keyframes shimmer {
            0%   { background-position:  200% 0; }
            100% { background-position: -200% 0; }
        }
        .skeleton-row {
            display: flex;
            align-items: center;
            gap: var(--space-3);
            padding: 16px var(--space-4);
            border-bottom: 1px solid #f0f0f0;
        }
        .skeleton-row:last-child { border-bottom: none; }
        .skeleton-table {
            width: 100%;
        }
        .skeleton-text {
            height: 13px;
            border-radius: 4px;
        }
        .skeleton-badge {
            height: 22px;
            width: 72px;
            border-radius: 20px;
        }
        .skeleton-avatar {
            width: 36px; height: 36px;
            border-radius: 50%;
            flex-shrink: 0;
        }

        /* Skeleton graphique */
        .skeleton-chart {
            height: 180px;
            border-radius: var(--radius);
        }
        .skeleton-chart-bar {
            height: 120px;
            width: 32px;
            border-radius: 4px 4px 0 0;
        }
        .skeleton-chart-row {
            display: flex;
            align-items: flex-end;
            gap: 8px;
            padding: var(--space-4) var(--space-5) var(--space-2);
        }

        /* ===== TABLES ===== */
        .table-card {
            background: var(--card);
            border-radius: var(--radius);
            box-shadow: var(--shadow-sm);
            overflow: hidden;
            margin-bottom: var(--space-6);
        }

        .table-header {
            padding: var(--space-4) var(--space-5);
            border-bottom: 2px solid rgba(0, 0, 153, 0.15);
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .table-header h3 {
            font-size: 16px;
            font-weight: 700;
            color: var(--primary);
        }

        .search-input {
            padding: var(--space-2) var(--space-3);
            border: 1.5px solid var(--border);
            border-radius: 6px;
            font-size: 13px;
            outline: none;
            width: 240px;
            background: rgba(255,255,255,0.06);
            color: var(--text);
        }

        .search-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,0,153,0.2); }

        table {
            width: 100%;
            border-collapse: collapse;
        }

        th {
            text-align: left;
            padding: 8px var(--space-4);
            font-size: 11.5px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: var(--deep-koamaru);
            background: rgba(0, 0, 153, 0.05);
            border-bottom: 1px solid var(--border);
        }

        td {
            padding: 12px var(--space-4);
            font-size: 14px;
            border-bottom: 1px solid #f0f0f0;
        }

        td strong {
            color: #111827;
            font-weight: 600;
        }

        .text-empty {
            color: var(--text-light);
        }

        /* Etat vide / erreur centre (remplace les styles inline repetes) */
        .empty-state {
            text-align: center;
            color: var(--text-light);
            padding: var(--space-10);
            font-size: var(--fs-md);
        }
        .empty-state--error {
            color: var(--danger);
        }

        tbody tr:nth-child(even) td {
            background: rgba(0, 0, 153, 0.03);
        }

        .report-table tbody tr:nth-child(even) td {
            background: transparent;
        }

        tr:hover td {
            background: rgba(245, 10, 99, 0.07) !important;
        }

        /* ===== BADGES (style soft avec border) ===== */
        .badge {
            display: inline-flex;
            align-items: center;
            padding: 3px 8px;
            border-radius: 20px;
            font-size: 11.5px;
            font-weight: 600;
            white-space: nowrap;
            border: 1px solid transparent;
        }

        .badge-new {
            background: rgba(0, 0, 153, 0.07);
            color: var(--primary);
            border-color: rgba(0, 0, 153, 0.18);
        }
        .badge-in-progress {
            background: rgba(245, 10, 99, 0.10);
            color: #9c0038;
            border-color: rgba(245, 10, 99, 0.28);
        }
        .badge-closed, .badge-done {
            background: rgba(46, 125, 50, 0.07);
            color: #1b5e20;
            border-color: rgba(46, 125, 50, 0.18);
        }
        .badge-rejected {
            background: rgba(198, 40, 40, 0.07);
            color: #b71c1c;
            border-color: rgba(198, 40, 40, 0.18);
        }
        .badge-on-hold {
            background: rgba(245, 10, 99, 0.08);
            color: #9c0038;
            border-color: rgba(245, 10, 99, 0.22);
        }
        .badge-default {
            background: rgba(84, 110, 127, 0.07);
            color: #546e7f;
            border-color: rgba(84, 110, 127, 0.15);
        }

        /* ===== PROGRESS BAR ===== */
        .progress-bar {
            width: 100%;
            height: 8px;
            background: rgba(0, 0, 153, 0.08);
            border-radius: 4px;
            overflow: hidden;
        }

        .progress-bar .fill {
            height: 100%;
            border-radius: 4px;
            transition: width 0.5s ease;
        }

        .progress-info {
            display: flex;
            align-items: center;
            gap: var(--space-2);
        }

        .progress-info span {
            font-size: 13px;
            font-weight: 600;
            white-space: nowrap;
            min-width: 38px;
            text-align: right;
            font-variant-numeric: tabular-nums;
        }

        /* ===== DROPDOWNS TABLEAU COMPLETED ===== */
        .wp-select {
            background: rgba(0, 0, 153, 0.03);
            border: 1.5px solid rgba(0, 0, 153, 0.18);
            color: var(--deep-koamaru);
            font-weight: 600;
            cursor: pointer;
            outline: none;
        }

        tbody tr:nth-child(even) .wp-select {
            background: rgba(0, 0, 153, 0.07);
        }

        /* ===== LOADING ===== */
        .loading {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 60px;
            color: var(--text-light);
        }

        .spinner {
            width: 40px; height: 40px;
            border: 4px solid var(--border);
            border-top-color: var(--primary);
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
            margin-bottom: var(--space-4);
        }

        @keyframes spin { to { transform: rotate(360deg); } }

        .empty-state {
            text-align: center;
            padding: 56px var(--space-5);
            color: var(--text-light);
        }

        .empty-state-icon {
            width: 52px; height: 52px;
            background: rgba(245, 10, 99, 0.08);
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto var(--space-4);
        }

        .empty-state-icon svg {
            width: 26px; height: 26px;
            color: var(--accent);
            opacity: 0.7;
        }

        .empty-state svg:not(.empty-state-icon svg) {
            width: 64px; height: 64px;
            margin-bottom: var(--space-4);
            opacity: 0.3;
            color: var(--accent);
        }

        .empty-state h3 {
            font-size: 16px;
            font-weight: 700;
            margin-bottom: 8px;
            color: var(--text);
        }

        .empty-state p {
            font-size: 13.5px;
            color: var(--text-light);
            margin-bottom: var(--space-4);
        }

        /* ===== TOAST ===== */
        .toast {
            position: fixed;
            bottom: 24px;
            right: 24px;
            background: var(--primary);
            color: white;
            padding: var(--space-3) var(--space-5);
            border-radius: 8px;
            font-size: 14px;
            box-shadow: var(--shadow-lg);
            transform: translateY(100px);
            opacity: 0;
            transition: transform 0.3s ease, opacity 0.3s ease;
            z-index: 999;
        }

        .toast.show {
            transform: translateY(0);
            opacity: 1;
        }

        .toast.error { background: var(--danger); }
        .toast.warning { background: var(--warning-dark); }
        .toast.success { background: var(--success); }

        /* ===== WP DETAIL ===== */
        .wp-detail-item {
            margin-bottom: var(--space-4);
        }

        .wp-detail-item .wp-label {
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: var(--text-light);
            font-weight: 700;
            margin-bottom: var(--space-1);
        }

        .wp-detail-item .wp-value {
            font-size: 14px;
        }

        .wp-detail-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: var(--space-4);
        }

        /* ===== DETAIL PANEL — transition fluide ===== */
        .detail-panel {
            transition: transform var(--transition-smooth) !important;
        }
        .detail-overlay {
            opacity: 0;
            transition: opacity 200ms ease;
            pointer-events: none;
        }
        .detail-overlay.active {
            opacity: 1;
            pointer-events: auto;
        }

        /* ===== TOAST — amélioration ===== */
        /* ===== BOUTONS — cursor + états ===== */
        .btn, button, [role="button"], .nav-item, .tab-btn,
        .consultant-card, .stat-card[data-stat], .ms-btn {
            cursor: pointer;
        }
        .btn:disabled, button:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            pointer-events: none;
        }

        /* ===== BTN LOADING STATE ===== */
        .btn--loading {
            pointer-events: none;
            opacity: 0.8;
        }
        .btn--loading::after {
            content: '';
            display: inline-block;
            width: 13px;
            height: 13px;
            border: 2px solid rgba(255,255,255,0.35);
            border-top-color: white;
            border-radius: 50%;
            animation: spin 0.7s linear infinite;
            margin-left: var(--space-2);
            vertical-align: middle;
            flex-shrink: 0;
        }
        .btn--loading.btn-outline::after {
            border-color: rgba(0,0,153,0.2);
            border-top-color: var(--primary);
        }

        #menuBtn { display: none; }

        /* ===== RESPONSIVE ===== */
        /* Tablette */
        @media (max-width: 1024px) and (min-width: 769px) {
            .content { padding: var(--space-5) var(--space-6); }
            .topbar { padding: 0 var(--space-6); }
            .stats-grid { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
            .detail-panel { width: min(640px, 90vw); }
        }

        /* Mobile large */
        @media (max-width: 900px) {
            .sidebar { transform: translateX(-100%); }
            .sidebar.open { transform: translateX(0); }
            .main { margin-left: 0 !important; }
            .content { padding: var(--space-4); }
            .topbar { padding: 0 var(--space-4); height: 54px; }
            .consultant-grid { grid-template-columns: 1fr; }
            .project-grid { grid-template-columns: 1fr; }
            .stats-grid { grid-template-columns: repeat(2, 1fr); }
            .table-card { overflow-x: auto; }
            .tab-row {
                overflow-x: auto;
                flex-wrap: nowrap;
                -webkit-overflow-scrolling: touch;
            }
            .tab-btn {
                white-space: nowrap;
                flex-shrink: 0;
            }
            .btn, .tab-btn, .ms-item {
                min-height: 44px;
            }
            /* M3 : !important necessaire pour neutraliser les font-size inline
               (login, selects tickets/entretiens) et .pm-search-input (config.css)
               qui sinon rouvrent le zoom auto iOS malgre cette regle. */
            input, select, textarea {
                font-size: 16px !important;
            }
            #menuBtn { display: flex; }
        }

        /* M14 : cartes empilees (mobile) en alternative aux tables larges.
           Masquees par defaut ; le breakpoint bascule table <-> cartes. */
        .ticket-cards { display: none; }
        .ticket-card-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            padding: 4px 0;
            font-size: 13px;
        }
        .ticket-card-row .tc-key {
            color: var(--text-light);
            font-size: 12px;
            flex-shrink: 0;
        }

        /* Mobile small */
        @media (max-width: 640px) {
            .stats-grid { grid-template-columns: 1fr; }
            .detail-panel { width: 100vw; max-width: 100vw; }
            .topbar h1 { font-size: 16px; }
            td, th { padding: 8px var(--space-3); }
            .page-hero-icon { display: none; }
            .ticket-table-wrap { display: none; }
            .ticket-cards { display: flex; flex-direction: column; gap: var(--space-3); }
        }

        /* Mobile tres etroit : M17 — masquer les horodatages de sync pour
           liberer toute la largeur au titre de page. */
        @media (max-width: 480px) {
            #syncTimestamps { display: none; }
        }

        /* Overlay sidebar mobile (P3) — fermeture au clic en dehors */
        .sidebar-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(21, 22, 72, 0.45);
            z-index: 99;
        }
        .sidebar-overlay.show { display: block; }

        /* Page hidden by default */
        .page { display: none; }
        .page.active { display: block; }

        /* Config sub-tab contents */
        .config-tab-content { display: none; }
        .config-tab-content.active { display: block; }

        .tab-row {
            display: flex;
            gap: 0;
            margin-bottom: var(--space-5);
            border-bottom: 2px solid var(--border);
        }

        .tab-btn {
            padding: 8px var(--space-5);
            border: none;
            background: none;
            font-size: 14px;
            font-weight: 600;
            color: var(--text-light);
            cursor: pointer;
            border-bottom: 2px solid transparent;
            margin-bottom: -2px;
            transition: color var(--transition-base), border-color var(--transition-base);
        }

        .tab-btn:hover { color: var(--accent); }
        .tab-btn.active {
            color: var(--accent);
            border-bottom-color: var(--accent);
        }

        .link-op {
            color: var(--primary);
            text-decoration: none;
            font-weight: 600;
        }
        .link-op:hover { text-decoration: underline; color: var(--primary-light); }

        /* ===== FOCUS / HOVER — remplacent les onfocus/onblur/onmouseover inline ===== */

        /* Focus générique sur tous les champs de saisie */
        input:focus, select:focus, textarea:focus { border-color: var(--primary); }

        /* Bouton SSO (modal login) */
        .btn-sso:hover { border-color: var(--primary) !important; box-shadow: 0 2px 8px rgba(0,0,153,0.12) !important; }

        /* Bouton connexion mot de passe (modal login) */
        .btn-login-pw:hover { opacity: .88; }

        /* Bouton de suppression d'assignation chef de projet */
        .pm-remove-assignment-btn { opacity: 0.6; transition: opacity 0.15s; }
        .pm-remove-assignment-btn:hover { opacity: 1 !important; }

        /* Bouton "Annuler la résiliation" dans config projets */
        .btn-unterminate:hover { background: #fff0f5 !important; }

        /* Labels type WP dans le panneau de filtre */
        .pm-type-label:hover { border-color: var(--primary) !important; }

        /* ===== TICKETS TERMINÉS — sections "À revoir" / "Validés" ===== */
        .completed-section {
            margin-top: 36px;
            border-top: 2px solid var(--border);
            padding-top: 28px;
        }
        .completed-section-title {
            font-size: 16px;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 16px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .completed-subsection { margin-bottom: 28px; }
        .completed-subsection-header {
            display: flex;
            align-items: center;
            gap: var(--space-2);
            margin-bottom: var(--space-3);
            padding: 8px var(--space-4);
            border-radius: 8px;
            font-size: 13px;
            font-weight: 700;
        }
        .completed-subsection-header.a-revoir {
            background: linear-gradient(135deg, #fff0f5, #ffe8ef);
            border: 1px solid var(--accent-pale);
            color: var(--accent);
        }
        .completed-subsection-header.valide {
            background: linear-gradient(135deg, #f0f0ff, #e8e8ff);
            border: 1px solid var(--primary);
            color: var(--primary);
        }
        .badge-a-revoir {
            background: var(--accent);
            color: #fff;
            font-size: 11px;
            font-weight: 700;
            border-radius: 20px;
            padding: 2px 8px;
        }
        .badge-valide-count {
            background: var(--primary);
            color: #fff;
            font-size: 11px;
            font-weight: 700;
            border-radius: 20px;
            padding: 2px 8px;
        }
        .btn-valider {
            padding: var(--space-1) var(--space-3);
            background: linear-gradient(135deg, var(--accent), var(--accent-light));
            color: #fff;
            border: none;
            border-radius: 6px;
            font-size: 12px;
            font-weight: 600;
            cursor: pointer;
            white-space: nowrap;
            transition: opacity 0.15s;
        }
        .btn-valider:hover { opacity: 0.85; }
        .btn-devalider {
            padding: var(--space-1) var(--space-3);
            background: #fff;
            color: #777;
            border: 1.5px solid #ccc;
            border-radius: 6px;
            font-size: 12px;
            font-weight: 600;
            cursor: pointer;
            white-space: nowrap;
            transition: border-color 0.15s, color 0.15s;
        }
        .btn-devalider:hover { border-color: #999; color: #333; }
        .wp-select-small {
            font-size: 11px;
            border-radius: 4px;
            padding: 2px var(--space-1);
            border: 1px solid var(--border);
            background: var(--bg);
            cursor: pointer;
            max-width: 110px;
        }

        /* ===== A11Y — RESPECT DE prefers-reduced-motion (P1) =====
           Neutralise les animations/transitions decoratives (shimmer, spin,
           rankGoldPulse, podium, etc.) pour les utilisateurs qui le demandent. */
        @media (prefers-reduced-motion: reduce) {
            *, *::before, *::after {
                animation-duration: 0.001ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.001ms !important;
                scroll-behavior: auto !important;
            }
        }
