        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { 
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Arial, sans-serif; 
            line-height: 1.6; 
            background: #fbf4e8; 
            color: #333;
        }
        .container { 
            width: 100%; 
            margin: 0 auto; 
            padding: 0 15px;
            max-width: 1400px;
        }
        
        /* Header - Mobile First */
        header { 
            background: #fbf4e8; 
            color: #356b37; 
            padding: 15px 0; 
            margin-bottom: 15px;
        }
        
        .header-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 15px;
            position: relative;
        }
        
        .logo {
            max-height: 140px;
            width: auto;
        }
        
        .header-title {
            display: block;
            margin: auto;
            text-align: center;
            width: 100%;
        }
        
        .header-title h1 {
            font-size: 1.5rem;
            margin: 0;
        }
        
        .credit { 
            color: #356b37; 
            font-size: 0.9rem;
            margin-top: 5px;
        }
        
        .lang-selector {
            display: flex;
            gap: 5px;
            justify-content: center;
            flex-wrap: wrap;
            margin-top: 10px;
        }
        
        .lang-selector a {
            color: #356b37;
            text-decoration: none;
            padding: 8px 12px;
            border-radius: 4px;
            font-size: 0.9rem;
            background: rgba(255,255,255,0.5);
            border: 1px solid #356b37;
        }
        
        .lang-selector a.active {
            background: #356b37;
            color: white;
            font-weight: bold;
        }
        
        .lang-selector a:hover {
            background: #356b37;
            color: white;
        }
        
        /* Navigation */
        nav { 
            background: #fbf4e8; 
            padding: 10px 0; 
            margin-bottom: 15px;
        }
        
        nav ul { 
            list-style: none; 
            display: flex;
            flex-direction: column;
            gap: 10px;
            padding: 0;
            margin: 0;
        }
        
        nav ul li a {
            color: #356b37;
            text-decoration: none;
            padding: 10px 15px;
            border-radius: 4px;
            display: block;
            text-align: center;
            background: rgba(255,255,255,0.5);
            border: 1px solid #356b37;
            font-weight: 500;
        }
        
        nav ul li a:hover {
            background: #356b37;
            color: white;
        }
        
        /* Main Content */
        .content { 
            background: white; 
            padding: 15px; 
            border-radius: 8px; 
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        
        /* Tables - Responsive */
        .table-container {
            overflow: auto;
            margin: 15px 0;
            border-radius: 8px;
            border: 1px solid #ddd;
            max-height: calc(100vh - 200px);
        }
        
        /* Masquage des colonnes */
        .table-container.data-column-hidden-0 th:nth-child(1),
        .table-container.data-column-hidden-0 td:nth-child(1) { display: none; }
        .table-container.data-column-hidden-1 th:nth-child(2),
        .table-container.data-column-hidden-1 td:nth-child(2) { display: none; }
        .table-container.data-column-hidden-2 th:nth-child(3),
        .table-container.data-column-hidden-2 td:nth-child(3) { display: none; }
        .table-container.data-column-hidden-3 th:nth-child(4),
        .table-container.data-column-hidden-3 td:nth-child(4) { display: none; }
        .table-container.data-column-hidden-4 th:nth-child(5),
        .table-container.data-column-hidden-4 td:nth-child(5) { display: none; }
        .table-container.data-column-hidden-5 th:nth-child(6),
        .table-container.data-column-hidden-5 td:nth-child(6) { display: none; }
        .table-container.data-column-hidden-6 th:nth-child(7),
        .table-container.data-column-hidden-6 td:nth-child(7) { display: none; }
        
        /* Menu de sélection des colonnes */
        .column-selector {
            margin: 10px 0;
            padding: 10px;
            background: #f5f5f5;
            border-radius: 4px;
            font-size: 0.9rem;
        }
        .column-selector label {
            display: inline-block;
            margin: 0 10px 0 0;
            font-weight: normal;
            color: #333;
        }
        .column-selector input[type="checkbox"] {
            margin-right: 5px;
        }
        
        table { 
            width: 100%; 
            border-collapse: collapse; 
            margin: 0;
            min-width: 600px;
            table-layout: auto;
        }
        
        th, td { 
            padding: 10px 8px; 
            text-align: left; 
            border-bottom: 1px solid #ddd;
            border-right: 1px solid #eee;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 300px;
        }
        
        th { 
            background: #ecf0f1; 
            font-weight: 600;
            position: sticky;
            top: 0;
        }
        
        th:last-child, td:last-child {
            border-right: none;
        }
        
        /* Poignée de redimensionnement */
        th::after {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 4px;
            height: 100%;
            cursor: col-resize;
            background: transparent;
        }
        
        th:hover::after {
            background: #ccc;
        }
        
        tr:hover { background: #f8f9fa; }
        
        /* Buttons */
        .btn { 
            display: inline-block; 
            padding: 10px 18px; 
            background: #356b37; 
            color: white; 
            text-decoration: none; 
            border-radius: 4px; 
            margin: 5px 3px;
            border: none;
            cursor: pointer;
            font-size: 0.95rem;
            min-height: 44px;
            line-height: 1.2;
        }
        
        .btn:hover { 
            background: #2a522a;
            opacity: 0.95;
        }
        
        .btn-danger { 
            background: #e74c3c; 
        }
        .btn-danger:hover { 
            background: #c0392b; 
        }
        
        .btn-success { 
            background: #27ae60; 
        }
        .btn-success:hover { 
            background: #219653; 
        }
        
        /* Forms */
        form { 
            margin: 15px 0; 
            padding: 15px; 
            background: #f9f9f9; 
            border-radius: 8px;
        }
        
        label { 
            display: block; 
            margin: 8px 0 5px; 
            font-weight: 600;
            color: #356b37;
        }
        
        input[type="text"], 
        input[type="number"], 
        input[type="email"],
        select, 
        textarea { 
            width: 100%; 
            padding: 10px 12px; 
            border: 1px solid #ddd; 
            border-radius: 4px; 
            font-size: 1rem;
            background: white;
        }
        
        input:focus, select:focus, textarea:focus {
            outline: none;
            border-color: #356b37;
            box-shadow: 0 0 0 2px rgba(53, 107, 55, 0.2);
        }
        
        textarea { 
            resize: vertical; 
            min-height: 100px;
        }
        
        button[type="submit"],
        input[type="submit"] {
            background: #356b37;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 1rem;
            width: 100%;
            margin-top: 5px;
        }
        
        button[type="submit"]:hover,
        input[type="submit"]:hover {
            background: #2a522a;
        }
        
        /* Alerts */
        .alert { 
            padding: 12px 15px; 
            margin: 10px 0; 
            border-radius: 4px; 
            font-size: 0.95rem;
        }
        
        .alert-success { 
            background: #d4edda; 
            color: #155724; 
            border-left: 4px solid #27ae60;
        }
        
        .alert-error { 
            background: #f8d7da; 
            color: #721c24; 
            border-left: 4px solid #e74c3c;
        }
        
        /* Pagination */
        .pager { 
            display: flex; 
            justify-content: center; 
            flex-wrap: wrap;
            gap: 8px; 
            margin: 20px 0;
        }
        
        .pager a, .pager span { 
            padding: 10px 14px; 
            border: 1px solid #ddd; 
            text-decoration: none;
            border-radius: 4px;
            min-width: 40px;
            text-align: center;
        }
        
        .pager a { 
            color: #356b37;
            background: white;
        }
        
        .pager a:hover { 
            background: #356b37;
            color: white;
            border-color: #356b37;
        }
        
        .pager .active { 
            background: #356b37; 
            color: white; 
            border-color: #356b37; 
            font-weight: bold;
        }
        
        /* Stats */
        .stats { 
            background: #ecf0f1; 
            padding: 15px; 
            border-radius: 8px; 
            margin: 15px 0;
            font-size: 0.95rem;
        }
        
        /* Links styling */
        a {
            color: #356b37;
            word-break: break-word;
        }

        /* Listes dans le contenu (page pri, etc.) */
        .content ul {
            padding-left: 2em;
            margin: 10px 0;
        }
        .content li {
            margin: 4px 0;
        }

        /* Séparateur de section */
        .content hr.section-separator {
            border: none;
            border-top: 1px solid #ddd;
            margin: 20px 0;
        }
        
        /* Desktop Breakpoint */
        @media (min-width: 768px) {
            .container {
                padding: 0 20px;
            }
            
            .header-content {
                flex-direction: row;
                justify-content: space-between;
                align-items: center;
            }
            
            .logo {
                position: static;
                left: 0;
                top: 50%;
            }
            
            .header-title {
                text-align: center;
            }
            
            .header-title h1 {
                font-size: 1.8rem;
            }
            
            .lang-selector {
                position: absolute;
                right: 0;
                top: 50%;
                transform: translateY(-50%);
                justify-content: flex-end;
            }
            
            .lang-selector a {
                padding: 6px 10px;
                font-size: 0.85rem;
            }
            
            .lang-selector a.active {
                background: #86b9db;
                border-color: #86b9db;
            }
            
            nav ul {
                flex-direction: row;
                justify-content: center;
                gap: 20px;
            }
            
            nav ul li a {
                padding: 8px 16px;
            }
            
            .btn {
                padding: 8px 15px;
                min-height: auto;
            }
            
            .table-container {
                border-radius: 0;
                border: none;
            }
            
            .pager {
                gap: 10px;
            }
            
            .pager a, .pager span {
                padding: 8px 12px;
            }
        }
        
        /* Large Desktop */
        @media (min-width: 1024px) {
            .container {
                padding: 0 30px;
            }
            
            header {
                padding: 20px 0;
                margin-bottom: 20px;
            }
            
            .content {
                padding: 20px;
            }
            
            .stats {
                padding: 15px 20px;
            }
        }
        
        /* Search Form Styles */
        .search-form .search-row {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }
        
        .search-form .search-library,
        .search-form .search-field,
        .search-form .search-value,
        .search-form .search-submit {
            width: 100%;
        }
        
        .search-form .search-submit button {
            width: 100%;
            margin-bottom: 0;
        }
        
        /* Year range fields */
        .search-year-range {
            display: flex !important;
            justify-content: center !important;
            align-items: center !important;
            gap: 5px !important;
            white-space: nowrap !important;
            flex-basis: 100% !important;
            width: 100% !important;
            margin-bottom: 10px !important;
        }
        .search-year-range label,
        .search-year-range input[type="number"] {
            display: inline !important;
            margin: 0 !important;
            width: auto !important;
            flex: none !important;
        }
        .search-year-range input[type="number"] {
            width: 120px !important;
        }

        @media (min-width: 768px) {
            .search-form .search-row {
                flex-direction: row;
                flex-wrap: wrap;
                align-items: flex-end;
                gap: 10px;
            }
            
            .search-form .search-library {
                flex: 1;
                min-width: 150px;
            }
            
            .search-form .search-field {
                flex: 1;
                min-width: 200px;
            }
            
            .search-form .search-value {
                flex: 2;
                min-width: 200px;
            }
            
            .search-form .search-submit {
                flex: 0 0 auto;
            }
            
            .search-form .search-submit button {
                width: auto;
                white-space: nowrap;
            }
        }
        
        /* Touch targets for mobile */
        @media (hover: none) and (pointer: coarse) {
            .btn {
                min-height: 48px;
                padding: 12px 20px;
            }
            
            .pager a, .pager span {
                min-height: 44px;
                padding: 12px 16px;
            }
            
            nav ul li a {
                padding: 12px 15px;
            }
            
            .lang-selector a {
                padding: 10px 14px;
            }
        }
