/* _content/Spectrometre/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-ki40zfv8tb] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-ki40zfv8tb] {
    flex: 1;
}

.sidebar[b-ki40zfv8tb] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-ki40zfv8tb] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-ki40zfv8tb]  a, .top-row[b-ki40zfv8tb]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-ki40zfv8tb]  a:hover, .top-row[b-ki40zfv8tb]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-ki40zfv8tb]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-ki40zfv8tb] {
        justify-content: space-between;
    }

    .top-row[b-ki40zfv8tb]  a, .top-row[b-ki40zfv8tb]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-ki40zfv8tb] {
        flex-direction: row;
    }

    .sidebar[b-ki40zfv8tb] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-ki40zfv8tb] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-ki40zfv8tb]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-ki40zfv8tb], article[b-ki40zfv8tb] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-ki40zfv8tb] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-ki40zfv8tb] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/Spectrometre/Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-0yfj7q7ox3] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-0yfj7q7ox3] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-0yfj7q7ox3] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-0yfj7q7ox3] {
    font-size: 1.1rem;
}

.bi[b-0yfj7q7ox3] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-0yfj7q7ox3] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-0yfj7q7ox3] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-0yfj7q7ox3] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.bi-lock-nav-menu[b-0yfj7q7ox3] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath d='M8 1a2 2 0 0 1 2 2v4H6V3a2 2 0 0 1 2-2zm3 6V3a3 3 0 0 0-6 0v4a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2zM5 8h6a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1z'/%3E%3C/svg%3E");
}

.bi-person-nav-menu[b-0yfj7q7ox3] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person' viewBox='0 0 16 16'%3E%3Cpath d='M8 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm2-3a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm4 8c0 1-1 1-1 1H3s-1 0-1-1 1-4 6-4 6 3 6 4Zm-1-.004c-.001-.246-.154-.986-.832-1.664C11.516 10.68 10.289 10 8 10c-2.29 0-3.516.68-4.168 1.332-.678.678-.83 1.418-.832 1.664h10Z'/%3E%3C/svg%3E");
}

.bi-person-badge-nav-menu[b-0yfj7q7ox3] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-badge' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3zM11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0z'/%3E%3Cpath d='M4.5 0A2.5 2.5 0 0 0 2 2.5V14a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2.5A2.5 2.5 0 0 0 11.5 0h-7zM3 2.5A1.5 1.5 0 0 1 4.5 1h7A1.5 1.5 0 0 1 13 2.5v10.795a4.2 4.2 0 0 0-.776-.492C11.392 12.387 10.063 12 8 12s-3.392.387-4.224.803a4.2 4.2 0 0 0-.776.492V2.5z'/%3E%3C/svg%3E");
}

.bi-person-fill-nav-menu[b-0yfj7q7ox3] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-fill' viewBox='0 0 16 16'%3E%3Cpath d='M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3Zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z'/%3E%3C/svg%3E");
}

.bi-arrow-bar-left-nav-menu[b-0yfj7q7ox3] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-arrow-bar-left' viewBox='0 0 16 16'%3E%3Cpath d='M12.5 15a.5.5 0 0 1-.5-.5v-13a.5.5 0 0 1 1 0v13a.5.5 0 0 1-.5.5ZM10 8a.5.5 0 0 1-.5.5H3.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L3.707 7.5H9.5a.5.5 0 0 1 .5.5Z'/%3E%3C/svg%3E");
}

.nav-item[b-0yfj7q7ox3] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-0yfj7q7ox3] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-0yfj7q7ox3] {
        padding-bottom: 1rem;
    }

    .nav-item[b-0yfj7q7ox3]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-0yfj7q7ox3]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-0yfj7q7ox3]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-0yfj7q7ox3] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-0yfj7q7ox3] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-0yfj7q7ox3] {
        display: none;
    }

    .nav-scrollable[b-0yfj7q7ox3] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* _content/Spectrometre/Components/Pages/Evaluations/Profil.razor.rz.scp.css */
/* Profile Page Styles */
.profile-page-wrap[b-r5y35y8afq] {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.header-section-profile[b-r5y35y8afq] {
    background: white;
    border: none;
    border-radius: 12px;
    padding: 1.5rem 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.page-title-profile[b-r5y35y8afq] {
    font-size: 2rem;
    font-weight: 700;
    color: var(--foreground);
    margin: 0;
}

/* Timeline Navigation - Sticky */
.timeline-navigation[b-r5y35y8afq] {
    position: sticky;
    top: 0;
    z-index: 100;
    background: white;
    border: none;
    border-radius: 16px;
    padding: 1rem 0.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.timeline-container[b-r5y35y8afq] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: none;
    margin: 0;
    padding: 0 0.75rem;
    gap: 0.5rem;
}

.timeline-item[b-r5y35y8afq] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    cursor: default;
    transition: all 0.3s ease;
}

    .timeline-item.clickable[b-r5y35y8afq] {
        cursor: pointer;
    }

        .timeline-item.clickable:hover[b-r5y35y8afq] {
            transform: translateY(-2px);
        }

    .timeline-item:not(.clickable)[b-r5y35y8afq] {
        cursor: not-allowed;
        opacity: 0.5;
    }

    .timeline-item.active .timeline-marker[b-r5y35y8afq] {
        background: linear-gradient(135deg, var(--bs-primary) 0%, hsl(18, 80%, 54%) 100%);
        color: white;
        transform: scale(1.1);
        box-shadow: 0 4px 12px rgba(234, 119, 61, 0.3);
    }

    .timeline-item.completed .timeline-marker[b-r5y35y8afq] {
        background: #10b981;
        color: white;
    }

    .timeline-item:not(.active):not(.completed) .timeline-marker[b-r5y35y8afq] {
        background: #f1f5f9;
        color: #94a3b8;
        border: 2px solid #e2e8f0;
    }

.timeline-marker[b-r5y35y8afq] {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.timeline-number[b-r5y35y8afq] {
    font-size: 1.125rem;
    font-weight: 700;
}

.timeline-label[b-r5y35y8afq] {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--muted-foreground);
    text-align: center;
    max-width: 100px;
}

.timeline-item.active .timeline-label[b-r5y35y8afq] {
    color: var(--bs-primary);
    font-weight: 600;
}

.timeline-item.completed .timeline-label[b-r5y35y8afq] {
    color: #10b981;
}

.timeline-connector[b-r5y35y8afq] {
    position: absolute;
    top: 24px;
    left: calc(50% + 24px);
    width: calc(100% - 48px);
    height: 2px;
    background: #e2e8f0;
    z-index: -1;
}

.timeline-item.completed .timeline-connector[b-r5y35y8afq] {
    background: #10b981;
}

.timeline-item:last-child .timeline-connector[b-r5y35y8afq] {
    display: none;
}

/* Section Navigation Buttons */
.section-navigation[b-r5y35y8afq] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
    gap: 1rem;
}

.btn-next-section[b-r5y35y8afq],
.btn-prev-section[b-r5y35y8afq] {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-next-section[b-r5y35y8afq] {
    background: linear-gradient(135deg, var(--bs-primary) 0%, hsl(18, 80%, 54%) 100%);
    border: none;
    color: white;
    margin-left: auto;
}

    .btn-next-section:hover[b-r5y35y8afq] {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(234, 119, 61, 0.3);
    }

.btn-prev-section[b-r5y35y8afq] {
    background: white;
    border: 1px solid #e2e8f0;
    color: var(--foreground);
}

    .btn-prev-section:hover[b-r5y35y8afq] {
        border-color: var(--bs-primary);
        color: var(--bs-primary);
        background: #f8fafc;
    }

.profile-section[b-r5y35y8afq] {
    animation: fadeIn-b-r5y35y8afq 0.3s ease;
}

@keyframes fadeIn-b-r5y35y8afq {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-card-profile[b-r5y35y8afq] {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.avatar-profile[b-r5y35y8afq] {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--bs-primary) 0%, hsl(18, 80%, 54%) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: 600;
    flex-shrink: 0;
}

.profile-info-profile[b-r5y35y8afq] {
    flex: 1;
}

.profile-name-profile[b-r5y35y8afq] {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.profile-id-profile[b-r5y35y8afq] {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.progress-wrapper-profile[b-r5y35y8afq] {
    flex-shrink: 0;
    width: 200px;
}

.progress-label-profile[b-r5y35y8afq] {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--muted-foreground);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.progress-bar-clean-profile[b-r5y35y8afq] {
    height: 6px;
    background: #f1f5f9;
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill-profile[b-r5y35y8afq] {
    height: 100%;
    background: linear-gradient(90deg, var(--bs-primary) 0%, hsl(18, 80%, 54%) 100%);
    border-radius: 3px;
    transition: width 0.5s ease;
}

.progress-value-profile[b-r5y35y8afq] {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--foreground);
    margin-top: 0.5rem;
}

.section-card-profile[b-r5y35y8afq] {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.section-header-profile[b-r5y35y8afq] {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.section-icon-profile[b-r5y35y8afq] {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--bs-primary) 0%, hsl(18, 80%, 54%) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.section-title-profile[b-r5y35y8afq] {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
    margin: 0;
}

.form-label-profile[b-r5y35y8afq] {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted-foreground);
    margin-bottom: 0.5rem;
}

.form-control-clean-profile[b-r5y35y8afq],
.form-select-clean-profile[b-r5y35y8afq] {
    border: 1px solid #e2e8f0;
    background: white;
    font-size: 0.875rem;
    font-weight: 400;
    padding: 0.625rem 0.75rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

    .form-control-clean-profile:focus[b-r5y35y8afq],
    .form-select-clean-profile:focus[b-r5y35y8afq] {
        border-color: var(--bs-primary);
        box-shadow: 0 0 0 3px rgba(52, 95, 109, 0.1);
        outline: none;
    }

.input-group-profile[b-r5y35y8afq] {
    display: flex;
}

.input-group-text-profile[b-r5y35y8afq] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-right: none;
    color: var(--muted-foreground);
    padding: 0.625rem 0.75rem;
    border-radius: 8px 0 0 8px;
    display: flex;
    align-items: center;
}

.input-group-profile .form-control-clean-profile[b-r5y35y8afq] {
    border-left: none;
    border-radius: 0 8px 8px 0;
}

.table-container-profile[b-r5y35y8afq] {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
}

.table-clean-profile[b-r5y35y8afq] {
    margin: 0;
    width: 100%;
}

    .table-clean-profile thead[b-r5y35y8afq] {
        background: #f8fafc;
    }

        .table-clean-profile thead th[b-r5y35y8afq] {
            border: none;
            border-bottom: 1px solid #e2e8f0;
            font-weight: 600;
            color: var(--muted-foreground);
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            padding: 0.75rem 1rem;
        }

    .table-clean-profile tbody td[b-r5y35y8afq] {
        border: none;
        border-bottom: 1px solid #f1f5f9;
        padding: 1rem;
        vertical-align: middle;
    }

    .table-clean-profile tbody tr:last-child td[b-r5y35y8afq] {
        border-bottom: none;
    }

    .table-clean-profile tbody tr:hover[b-r5y35y8afq] {
        background: #f8fafc;
    }

.row-number-profile[b-r5y35y8afq] {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--bs-primary) 0%, hsl(18, 80%, 54%) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
}

.badge-clean-profile[b-r5y35y8afq] {
    background: var(--bs-primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
}

.action-card-profile[b-r5y35y8afq] {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.2s ease;
    cursor: pointer;
    height: 100%;
}

    .action-card-profile:hover[b-r5y35y8afq] {
        border-color: var(--bs-primary);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }

.action-icon-profile[b-r5y35y8afq] {
    width: 48px;
    height: 48px;
    background: #f8fafc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: var(--bs-primary);
}

.action-title-profile[b-r5y35y8afq] {
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.action-description-profile[b-r5y35y8afq] {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.btn-primary-clean-profile[b-r5y35y8afq] {
    background: linear-gradient(135deg, var(--bs-primary) 0%, hsl(18, 80%, 54%) 100%);
    border: none;
    color: white;
    font-weight: 500;
    padding: 0.625rem 1.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

    .btn-primary-clean-profile:hover[b-r5y35y8afq] {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(234, 119, 61, 0.3);
        color: white;
    }

.btn-secondary-clean-profile[b-r5y35y8afq] {
    background: white;
    border: 1px solid #e2e8f0;
    color: var(--foreground);
    font-weight: 500;
    padding: 0.625rem 1.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

    .btn-secondary-clean-profile:hover[b-r5y35y8afq] {
        border-color: var(--bs-primary);
        color: var(--bs-primary);
    }

.btn-action-profile[b-r5y35y8afq] {
    width: 100%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: var(--foreground);
    font-weight: 500;
    padding: 0.625rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    text-decoration: none;
    display: block;
    text-align: center;
}

    .btn-action-profile:hover[b-r5y35y8afq] {
        border-color: var(--bs-primary);
        background: white;
        color: var(--bs-primary);
    }

.actions-bar-profile[b-r5y35y8afq] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

/* Avatar Selection Styles */
.avatar-selection-section[b-r5y35y8afq] {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.avatar-selection-header[b-r5y35y8afq] {
    margin-bottom: 2rem;
    text-align: center;
}

.avatar-selection-title[b-r5y35y8afq] {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.avatar-selection-subtitle[b-r5y35y8afq] {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.avatar-options-grid[b-r5y35y8afq] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.avatar-option-card[b-r5y35y8afq] {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: white;
    transition: all 0.2s ease;
    overflow: hidden;
}

    .avatar-option-card:hover[b-r5y35y8afq] {
        border-color: var(--bs-primary);
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    }

    .avatar-option-card.selected[b-r5y35y8afq] {
        border-color: var(--bs-primary);
        background: rgba(52, 95, 109, 0.05);
        box-shadow: 0 4px 12px rgba(52, 95, 109, 0.15);
    }

.avatar-option-header[b-r5y35y8afq] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    cursor: pointer;
    position: relative;
}

.avatar-chevron[b-r5y35y8afq] {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    transition: transform 0.3s ease;
}

    .avatar-chevron.expanded[b-r5y35y8afq] {
        transform: rotate(180deg);
        color: var(--bs-primary);
    }

.avatar-option-header.no-chevron .avatar-chevron[b-r5y35y8afq] {
    display: none !important;
}

.avatar-preview[b-r5y35y8afq] {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 600;
    color: white;
    flex-shrink: 0;
    overflow: hidden;
}

.avatar-preview-img[b-r5y35y8afq] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-emoji-large[b-r5y35y8afq] {
    font-size: 2.5rem;
    line-height: 1;
}

.initials-avatar[b-r5y35y8afq] {
    background: linear-gradient(135deg, var(--bs-primary) 0%, hsl(18, 80%, 54%) 100%);
}

.icon-avatar[b-r5y35y8afq] {
    background: linear-gradient(135deg, var(--gscv-teal) 0%, hsl(178, 45%, 45%) 100%);
    font-size: 2rem;
}

.upload-avatar[b-r5y35y8afq] {
    background: linear-gradient(135deg, var(--gscv-green) 0%, hsl(90, 42%, 55%) 100%);
    font-size: 2rem;
}

/* Panneau de choix d'avatars */
.avatar-choices-panel[b-r5y35y8afq] {
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.3s ease;
    padding: 0;
    opacity: 0;
    display: none;
}

    .avatar-choices-panel.expanded[b-r5y35y8afq] {
        display: block;
        max-height: 500px;
        padding: 1rem;
        opacity: 1;
        overflow-y: auto;
    }

    .avatar-choices-panel.collapsed[b-r5y35y8afq] {
        display: none;
        max-height: 0;
        padding: 0;
        opacity: 0;
    }

.no-chevron .avatar-chevron[b-r5y35y8afq] {
    display: none !important;
}

.avatar-choices-grid[b-r5y35y8afq] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: 0.75rem;
    max-height: 300px;
    overflow-y: auto;
    padding: 0.5rem;
}

    .avatar-choices-grid.emoji-grid[b-r5y35y8afq] {
        grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
    }

.avatar-choice[b-r5y35y8afq] {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: white;
}

    .avatar-choice:hover[b-r5y35y8afq] {
        border-color: var(--bs-primary);
        transform: scale(1.1);
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

    .avatar-choice.choice-selected[b-r5y35y8afq] {
        border-color: var(--bs-primary);
        border-width: 3px;
        box-shadow: 0 0 0 3px rgba(52, 95, 109, 0.2);
    }

    .avatar-choice img[b-r5y35y8afq] {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .avatar-choice.emoji-choice[b-r5y35y8afq] {
        font-size: 2rem;
        background: #f8fafc;
    }

.avatar-emoji[b-r5y35y8afq] {
    font-size: 2rem;
    line-height: 1;
}

.avatar-option-label[b-r5y35y8afq] {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
    text-align: center;
}

.avatar-upload-section[b-r5y35y8afq] {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
    text-align: center;
}

.file-input-hidden[b-r5y35y8afq] {
    display: none !important;
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
}

.btn-upload-avatar[b-r5y35y8afq] {
    background: linear-gradient(135deg, var(--bs-primary) 0%, hsl(18, 80%, 54%) 100%);
    border: none;
    color: white;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    cursor: pointer;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .btn-upload-avatar:hover[b-r5y35y8afq] {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(234, 119, 61, 0.3);
    }

    .btn-upload-avatar:active[b-r5y35y8afq] {
        transform: translateY(0);
    }

.uploaded-avatar-preview[b-r5y35y8afq] {
    margin-top: 1rem;
    position: relative;
    display: inline-block;
}

    .uploaded-avatar-preview img[b-r5y35y8afq] {
        width: 120px;
        height: 120px;
        border-radius: 50%;
        object-fit: cover;
        border: 3px solid var(--bs-primary);
    }

.btn-remove-avatar[b-r5y35y8afq] {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 32px;
    height: 32px;
    background: #ef4444;
    border: none;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.25rem;
    transition: all 0.2s ease;
}

    .btn-remove-avatar:hover[b-r5y35y8afq] {
        background: #dc2626;
        transform: scale(1.1);
    }

.avatar-preview-section[b-r5y35y8afq] {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
    text-align: center;
}

.avatar-preview-label[b-r5y35y8afq] {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--muted-foreground);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.avatar-large[b-r5y35y8afq] {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.initials-avatar-large[b-r5y35y8afq] {
    background: linear-gradient(135deg, var(--bs-primary) 0%, hsl(18, 80%, 54%) 100%);
    color: white;
    font-size: 3rem;
    font-weight: 600;
}

.icon-avatar-large[b-r5y35y8afq] {
    background: linear-gradient(135deg, var(--gscv-teal) 0%, hsl(178, 45%, 45%) 100%);
    color: white;
    font-size: 3.5rem;
}

.emoji-avatar-large[b-r5y35y8afq] {
    background: #f8fafc;
    border: 3px solid var(--bs-primary);
}

.avatar-emoji-preview[b-r5y35y8afq] {
    font-size: 4rem;
    line-height: 1;
}

.image-avatar-large[b-r5y35y8afq] {
    object-fit: cover;
    border: 3px solid var(--bs-primary);
}


@media (max-width: 768px) {
    .profile-page-wrap[b-r5y35y8afq] {
        padding: 1.25rem;
    }

    /* Headers */
    .header-section-profile[b-r5y35y8afq] {
        padding: 1.25rem;
        margin-bottom: 1rem;
        max-width: 350px;
    }

    .page-title-profile[b-r5y35y8afq] {
        font-size: 1.5rem;
    }
    /* Timeline Navigation */
    .timeline-navigation[b-r5y35y8afq] {
        padding: 0.75rem 0.25rem;
        margin-bottom: 1rem;
        max-width: 348px;

    }

    .timeline-container[b-r5y35y8afq] {
        overflow-x: auto;
        justify-content: flex-start;
        gap: 1rem;
        -webkit-overflow-scrolling: touch;
        padding: 0.25rem 0.75rem 0.75rem;
    }

    .timeline-item[b-r5y35y8afq] {
        flex: 0 0 auto;
        min-width: 110px;
    }

    .timeline-connector[b-r5y35y8afq] {
        display: none;
    }

    .timeline-marker[b-r5y35y8afq] {
        width: 40px;
        height: 40px;
    }

    .timeline-label[b-r5y35y8afq] {
        max-width: 120px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    /* Cards */
    .section-card-profile[b-r5y35y8afq] {
        padding: 1.25rem;
    }
    /* Navigation */
    .section-navigation[b-r5y35y8afq] {
        flex-direction: column;
        align-items: center;
    }

    .btn-next-section[b-r5y35y8afq],
    .btn-prev-section[b-r5y35y8afq] {
        width: 100%;
        justify-content: center;
        max-width: 360px;
    }
    /* Profile Card */
    .profile-card-profile[b-r5y35y8afq] {
        flex-direction: column;
        align-items: flex-start;
    }

    .progress-wrapper-profile[b-r5y35y8afq] {
        width: 100%;
    }
    /* Tables */
    .table-container-profile[b-r5y35y8afq] {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .table-clean-profile[b-r5y35y8afq] {
        min-width: 680px;
    }
    /* Section Headers */
    .section-header-profile[b-r5y35y8afq] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .section-icon-profile[b-r5y35y8afq] {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }

    .section-title-profile[b-r5y35y8afq] {
        font-size: 1.05rem;
    }
    /* Avatar Options */
    .avatar-options-grid[b-r5y35y8afq] {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        justify-items: center;
        max-width: 420px;
        margin: 0 auto;
    }

    .avatar-option-card[b-r5y35y8afq] {
        width: 100%;
    }

    .avatar-option-header[b-r5y35y8afq] {
        justify-content: center;
        text-align: center;
    }

    .avatar-option-header[b-r5y35y8afq] {
        padding: 0.85rem;
        gap: 0.5rem;
    }

    .avatar-option-label[b-r5y35y8afq] {
        font-size: 0.85rem;
    }

    .avatar-preview[b-r5y35y8afq] {
        width: 60px;
        height: 60px;
        font-size: 1.25rem;
    }

    .avatar-large[b-r5y35y8afq] {
        width: 100px;
        height: 100px;
    }

    .initials-avatar-large[b-r5y35y8afq] {
        font-size: 2.5rem;
    }

    .icon-avatar-large[b-r5y35y8afq] {
        font-size: 3rem;
    }

    .avatar-preview-section[b-r5y35y8afq] {
        padding: 1rem;
    }

    /* Section 2: champs centrés (mobile) */
    .profile-section .row.g-3[b-r5y35y8afq] {
        justify-content: center;
    }

    .profile-section .row.g-3 > [class*="col-"][b-r5y35y8afq] {
        width: 100%;
        max-width: 520px;
        margin-left: 0;
        margin-right: auto;
    }

    /* S'assurer que les contrôles ne débordent jamais */
    .profile-section .form-control-clean-profile[b-r5y35y8afq],
    .profile-section .form-select-clean-profile[b-r5y35y8afq],
    .profile-section .input-group-profile[b-r5y35y8afq] {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .profile-section .input-group-profile[b-r5y35y8afq] {
        flex-wrap: nowrap;
        overflow: hidden;
    }

    .profile-section .input-group-text-profile[b-r5y35y8afq] {
        flex: 0 0 auto;
    }

    .profile-section .input-group-profile .form-control-clean-profile[b-r5y35y8afq] {
        min-width: 0; /* évite overflow horizontal sur iOS */
    }
}

@media (max-width: 600px) {
    /* Container principal avec padding réduit */
    .profile-page-wrap[b-r5y35y8afq] {
        padding: 0.75rem !important;
    }

    /* Section 2: garder le formulaire centré et entièrement visible */
    .profile-section .row.g-3[b-r5y35y8afq] {
        margin-left: 0 !important;
        margin-right: auto !important;
        justify-content: center !important;
    }

    .profile-section .row.g-3 > [class*="col-"][b-r5y35y8afq] {
        width: 100% !important;
        max-width: 400px !important;
        margin-left: 0 !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    /* Cards avec padding réduit */
    .section-card-profile[b-r5y35y8afq],
    .avatar-selection-section[b-r5y35y8afq] {
        padding: 1rem !important;
        border-radius: 12px !important;
        margin-bottom: 0.75rem !important;
    }

    /* Centrer les boutons Précédent / Suivant */
    .section-navigation[b-r5y35y8afq] {
        align-items: center !important;
        justify-content: center !important;
    }

    .btn-next-section[b-r5y35y8afq],
    .btn-prev-section[b-r5y35y8afq] {
        margin-left: 0 !important;
        margin-right: auto !important;
    }

    /* Section 1: forcer l’empilement des cartes avatar */
    .avatar-options-grid[b-r5y35y8afq] {
        grid-template-columns: 1fr !important;
        justify-items: center !important;
        max-width: 380px !important;
        margin: 0 !important;
    }

    .avatar-option-card[b-r5y35y8afq] {
        width: 100% !important;
    }

    /* Centrer l’aperçu de l’avatar sur l’écran */
    .avatar-preview-section[b-r5y35y8afq] {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .avatar-preview-label[b-r5y35y8afq] {
        width: 100%;
        text-align: center;
    }

    .avatar-large[b-r5y35y8afq] {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Section 6 (Rendez-vous) : layout mobile en cartes */
    #section-6 .section-header-profile[b-r5y35y8afq] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    #section-6 .btn-rdv-new[b-r5y35y8afq] {
        width: 100%;
        justify-content: center;
    }

    #section-6 .table-container-profile[b-r5y35y8afq] {
        background: transparent;
        border: none;
        overflow: visible !important;
    }

    #section-6 .table-clean-profile[b-r5y35y8afq] {
        min-width: 0 !important;
        width: 100%;
    }

    #section-6 .table-clean-profile thead[b-r5y35y8afq] {
        display: none;
    }

    #section-6 .table-clean-profile tbody[b-r5y35y8afq],
    #section-6 .table-clean-profile tr[b-r5y35y8afq],
    #section-6 .table-clean-profile td[b-r5y35y8afq] {
        display: block;
        width: 100%;
    }

    #section-6 .table-clean-profile tbody tr[b-r5y35y8afq] {
        background: white;
        border: 1px solid #e2e8f0;
        border-radius: 14px;
        padding: 0.75rem 0.75rem;
        margin-bottom: 0.75rem;
        box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    }

    #section-6 .table-clean-profile tbody td[b-r5y35y8afq] {
        border: none !important;
        padding: 0.5rem 0 !important;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        text-align: left;
        white-space: normal;
    }

    #section-6 .table-clean-profile tbody td[b-r5y35y8afq]::before {
        content: attr(data-label);
        font-size: 0.75rem;
        font-weight: 700;
        color: var(--muted-foreground);
        text-transform: uppercase;
        letter-spacing: 0.5px;
        flex: 0 0 auto;
        min-width: 110px;
    }

    #section-6 .row-number-profile[b-r5y35y8afq] {
        margin: 0;
    }

    /* Empty state */
    #section-6 .table-clean-profile tbody tr.rdv-empty-row[b-r5y35y8afq] {
        text-align: center;
        padding: 1rem;
    }

    #section-6 .table-clean-profile tbody tr.rdv-empty-row td[b-r5y35y8afq] {
        display: block;
        padding: 0 !important;
        text-align: center;
    }

    #section-6 .table-clean-profile tbody tr.rdv-empty-row td[b-r5y35y8afq]::before {
        content: "";
        display: none;
    }
    /* Timeline sticky avec padding réduit */
    .timeline-navigation[b-r5y35y8afq] {
        position: sticky;
        top: 0;
        z-index: 100;
        background: white;
        border-bottom: 2px solid #e2e8f0;
        padding: 0.5rem 0 !important;
        margin-bottom: 0.75rem !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        overflow: hidden; /* évite un scroll horizontal global sur mobile */
    }
    /* Timeline scrollable horizontalement */
    .timeline-container[b-r5y35y8afq] {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        gap: 0.75rem !important;
        padding: 0.75rem 1rem !important;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        scrollbar-width: none;
        scroll-snap-type: x mandatory;
    }

        .timeline-container[b-r5y35y8afq]::-webkit-scrollbar {
            display: none;
        }
    /* Carousel: afficher 3 points visibles */
    .timeline-item[b-r5y35y8afq] {
        flex: 0 0 auto !important;
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
        width: calc((100% - (0.75rem * 2)) / 3) !important;
        min-width: calc((100% - (0.75rem * 2)) / 3) !important;
        max-width: calc((100% - (0.75rem * 2)) / 3) !important;
        text-align: center;
        padding: 0.75rem 0.5rem !important;
        border-radius: 8px;
        transition: all 0.3s ease;
        scroll-snap-align: start;
    }

        .timeline-item:active[b-r5y35y8afq] {
            background: rgba(20, 184, 166, 0.05);
        }
    /* Marker TOUCH-FRIENDLY (44x44px minimum Apple/Google) */
    .timeline-marker[b-r5y35y8afq] {
        width: 44px !important;
        height: 44px !important;
        margin: 0 auto 0.5rem !important;
        font-size: 1rem !important;
        box-shadow: 0 2px 6px rgba(0,0,0,0.1) !important;
    }
    /* Label LISIBLE - 2 lignes maximum */
    .timeline-label[b-r5y35y8afq] {
        font-size: 0.75rem !important;
        line-height: 1.3 !important;
        font-weight: 600 !important;
        max-width: 110px !important;
        white-space: normal !important;
        overflow: hidden !important;
        height: 2.6em !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        margin: 0 auto;
    }
    /* Connectors cachés sur mobile */
    .timeline-connector[b-r5y35y8afq] {
        display: none !important;
    }
    /* Headers compacts */
    .header-section-profile[b-r5y35y8afq] {
        padding: 0.75rem 1rem !important;
        margin-bottom: 0.75rem !important;
    }

    .page-title-profile[b-r5y35y8afq] {
        font-size: 1.25rem !important;
        line-height: 1.3 !important;
        text-align: center;
        padding: 0;
        margin: 0;
        max-width: 28ch;
        word-break: break-word;
    }

    .section-header-profile[b-r5y35y8afq] {
        flex-direction: row !important;
        gap: 0.75rem !important;
        margin-bottom: 1rem !important;
    }

    .section-icon-profile[b-r5y35y8afq] {
        width: 32px !important;
        height: 32px !important;
        flex-shrink: 0;
    }

    .section-title-profile[b-r5y35y8afq] {
        font-size: 1rem !important;
        line-height: 1.3 !important;
    }

    .section-subtitle-profile[b-r5y35y8afq] {
        font-size: 0.8rem !important;
        line-height: 1.4 !important;
    }
    /* Gradient pour indiquer qu'on peut scroller la timeline */
    .timeline-navigation[b-r5y35y8afq]::after {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        width: 28px;
        background: linear-gradient(to left, white 30%, transparent);
        pointer-events: none;
        z-index: 2;
    }

    .timeline-navigation[b-r5y35y8afq]::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 28px;
        background: linear-gradient(to right, white 30%, transparent);
        pointer-events: none;
        z-index: 2;
    }
    /* Support des zones sûres pour iPhone */
    .timeline-navigation[b-r5y35y8afq] {
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }

    .section-card-profile[b-r5y35y8afq],
    .avatar-selection-section[b-r5y35y8afq] {
        margin-left: max(0.5rem, env(safe-area-inset-left));
        margin-right: max(0.5rem, env(safe-area-inset-right));
        max-width: 340px;
    }

    .modal-overlay-upload[b-r5y35y8afq],
    .modal-overlay-avatar[b-r5y35y8afq] {
        padding-bottom: env(safe-area-inset-bottom);
    }
    /* Accessibilité */
    .timeline-item:focus-visible[b-r5y35y8afq],
    button:focus-visible[b-r5y35y8afq],
    .form-control-profile:focus-visible[b-r5y35y8afq] {
        outline: 3px solid #14b8a6 !important;
        outline-offset: 2px !important;
    }

    .timeline-item:active[b-r5y35y8afq],
    button:active[b-r5y35y8afq] {
        transform: scale(0.97);
    }
    /* Réduire les animations pour perfs */
    *[b-r5y35y8afq] {
        animation-duration: 0.2s !important;
        transition-duration: 0.2s !important;
    }

    .btn-next-section[b-r5y35y8afq],
    .btn-prev-section[b-r5y35y8afq] {
        width: 100%;
        justify-content: center;
        max-width: 400px;
    }
    /* Hover désactivé sur touch devices */
    @media (hover: none) {
        .avatar-option-card:hover[b-r5y35y8afq], .timeline-item:hover[b-r5y35y8afq], button:hover[b-r5y35y8afq] {
            transform: none !important;
        }
    }
}

@media (max-width: 480px) {
    /* Avatar en 1 colonne */
    .avatar-options-grid[b-r5y35y8afq] {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .avatar-selection-section[b-r5y35y8afq] {
        padding: 1.25rem;
    }
    /* Modal plein écran */
    .modal-overlay-upload[b-r5y35y8afq],
    .modal-overlay-avatar[b-r5y35y8afq] {
        padding: 0 !important;
        align-items: flex-end !important;
    }

    .modal-content-upload[b-r5y35y8afq],
    .modal-content-avatar[b-r5y35y8afq] {
        max-width: 100% !important;
        max-height: 95vh !important;
        border-radius: 16px 16px 0 0 !important;
        margin: 0 !important;
    }

    .modal-header-upload[b-r5y35y8afq],
    .modal-header-avatar[b-r5y35y8afq] {
        padding: 1.25rem !important;
    }

    .modal-title-upload[b-r5y35y8afq],
    .modal-title-avatar[b-r5y35y8afq] {
        font-size: 1.1rem !important;
    }

    .modal-body-upload[b-r5y35y8afq],
    .modal-body-avatar[b-r5y35y8afq] {
        padding: 1.25rem !important;
    }

    .modal-footer-upload[b-r5y35y8afq],
    .modal-footer-avatar[b-r5y35y8afq] {
        padding: 1rem 1.25rem !important;
        flex-direction: column-reverse !important;
    }

    .btn-secondary-modal[b-r5y35y8afq],
    .btn-primary-modal[b-r5y35y8afq] {
        width: 100% !important;
        justify-content: center !important;
        min-height: 44px !important;
    }
    /* Upload zone compact */
    .drop-zone[b-r5y35y8afq],
    .upload-zone[b-r5y35y8afq] {
        padding: 2rem 1rem !important;
        min-height: 180px !important;
    }

    .drop-icon[b-r5y35y8afq] {
        font-size: 2.5rem !important;
    }

    .drop-zone-content h4[b-r5y35y8afq] {
        font-size: 1rem !important;
    }

    .drop-zone-content p[b-r5y35y8afq] {
        font-size: 0.85rem !important;
    }

    .btn-upload[b-r5y35y8afq] {
        padding: 0.625rem 1.25rem !important;
        font-size: 0.9rem !important;
    }

    .uploaded-preview-modal img[b-r5y35y8afq] {
        width: 150px !important;
        height: 150px !important;
    }

    .btn-remove-preview[b-r5y35y8afq] {
        width: 32px !important;
        height: 32px !important;
        font-size: 1rem !important;
        right: calc(50% - 83px) !important;
    }
    /* Cards et sections */
    .section-card-profile[b-r5y35y8afq] {
        padding: 1rem;
        border-radius: 14px;
    }
    /* Tables */
    .table-clean-profile[b-r5y35y8afq] {
        min-width: 620px;
    }
}

@media (max-width: 414px) {
    /* Headers */
    .header-section-profile[b-r5y35y8afq] {
        padding: 0.75rem 0;
    }

    .page-title-profile[b-r5y35y8afq] {
        font-size: 1.35rem;
    }
    /* Timeline */
    .timeline-navigation[b-r5y35y8afq] {
        padding: 0.5rem 0;
    }

    .timeline-container[b-r5y35y8afq] {
        padding: 0 0.75rem 0.5rem;
        gap: 0.75rem;
    }

    .timeline-marker[b-r5y35y8afq] {
        width: 34px;
        height: 34px;
    }

    .timeline-number[b-r5y35y8afq] {
        font-size: 0.95rem;
    }

    .timeline-label[b-r5y35y8afq] {
        font-size: 0.68rem;
        max-width: 100px;
    }
    /* Avatar Section */
    .avatar-selection-section[b-r5y35y8afq] {
        padding: 1rem;
        border-radius: 14px;
    }

    .avatar-selection-title[b-r5y35y8afq] {
        font-size: 1.25rem;
    }

    .avatar-selection-subtitle[b-r5y35y8afq] {
        font-size: 0.82rem;
    }
    /* Avatar Grid - 1 colonne */
    .avatar-options-grid[b-r5y35y8afq] {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }

    .avatar-option-card[b-r5y35y8afq] {
        border-radius: 12px !important;
    }

    .avatar-option-header[b-r5y35y8afq] {
        padding: 0.875rem !important;
        gap: 0.75rem !important;
    }
    /* Avatar Preview */
    .avatar-preview[b-r5y35y8afq] {
        width: 56px !important;
        height: 56px !important;
        font-size: 1.2rem !important;
        flex-shrink: 0;
    }

    .avatar-emoji-large[b-r5y35y8afq] {
        font-size: 2rem !important;
    }

    .avatar-option-label[b-r5y35y8afq] {
        font-size: 0.9rem !important;
        font-weight: 600;
    }
    /* Avatar Large Preview */
    .avatar-preview-section[b-r5y35y8afq] {
        margin-top: 1.25rem;
        padding: 1rem !important;
    }

    .avatar-large[b-r5y35y8afq] {
        width: 100px !important;
        height: 100px !important;
    }

    .initials-avatar-large[b-r5y35y8afq] {
        font-size: 2.5rem !important;
    }

    .icon-avatar-large[b-r5y35y8afq] {
        font-size: 2.8rem !important;
    }

    .emoji-avatar-large[b-r5y35y8afq] {
        font-size: 3.5rem !important;
    }

    .avatar-emoji-preview[b-r5y35y8afq] {
        font-size: 3rem;
    }
    /* Avatar Choices */
    .avatar-choices-grid[b-r5y35y8afq] {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 0.5rem !important;
        padding: 0.75rem 0 !important;
    }

    .avatar-choice[b-r5y35y8afq] {
        width: 48px !important;
        height: 48px !important;
    }

    .emoji-choice[b-r5y35y8afq] {
        font-size: 1.5rem !important;
    }
    /* Forms - Colonne unique */
    .form-row-profile[b-r5y35y8afq] {
        grid-template-columns: 1fr !important;
        gap: 0.875rem !important;
    }

    .form-group-profile[b-r5y35y8afq] {
        margin-bottom: 0 !important;
    }

        .form-group-profile label[b-r5y35y8afq] {
            font-size: 0.875rem !important;
            margin-bottom: 0.4rem !important;
        }

    .form-control-profile[b-r5y35y8afq],
    .form-select-profile[b-r5y35y8afq] {
        padding: 0.75rem !important;
        font-size: 0.95rem !important;
        min-height: 44px !important;
    }

    textarea.form-control-profile[b-r5y35y8afq] {
        min-height: 100px !important;
    }
    /* Buttons Touch-Friendly */
    .btn-next-section[b-r5y35y8afq],
    .btn-prev-section[b-r5y35y8afq],
    .btn-save-profile[b-r5y35y8afq] {
        min-height: 44px !important;
        padding: 0.75rem 1.25rem !important;
        font-size: 0.95rem !important;
    }
    /* Navigation Full Width */
    .section-navigation[b-r5y35y8afq] {
        flex-direction: column !important;
        gap: 0.75rem !important;
        padding: 1rem !important;
        margin-top: 1.5rem !important;
    }

        .section-navigation .btn-prev-section[b-r5y35y8afq],
        .section-navigation .btn-next-section[b-r5y35y8afq] {
            width: 100% !important;
            justify-content: center !important;
            /* Override desktop rule `.btn-next-section { margin-left: auto; }` */
            margin-left: 0 !important;
            margin-right: 0 !important;
        }
    /* Cards */
    .section-card-profile[b-r5y35y8afq] {
        padding: 0.95rem;
    }
    /* Tables */
    .table-container-profile[b-r5y35y8afq] {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        margin: 0 -1rem !important;
        padding: 0 1rem !important;
    }

    .table-clean-profile[b-r5y35y8afq] {
        min-width: 600px !important;
        font-size: 0.85rem !important;
    }

        .table-clean-profile th[b-r5y35y8afq],
        .table-clean-profile td[b-r5y35y8afq] {
            padding: 0.625rem !important;
        }
    /* Progress */
    .progress-wrapper-profile[b-r5y35y8afq] {
        height: 6px !important;
    }

    .progress-text-profile[b-r5y35y8afq] {
        font-size: 0.8rem !important;
    }
    /* Text Sizes */
    body[b-r5y35y8afq] {
        font-size: 14px !important;
        line-height: 1.5 !important;
    }

    h1[b-r5y35y8afq] {
        font-size: 1.5rem !important;
    }

    h2[b-r5y35y8afq] {
        font-size: 1.25rem !important;
    }

    h3[b-r5y35y8afq] {
        font-size: 1.1rem !important;
    }

    p[b-r5y35y8afq], span[b-r5y35y8afq], label[b-r5y35y8afq], input[b-r5y35y8afq], select[b-r5y35y8afq], textarea[b-r5y35y8afq] {
        font-size: 0.9rem !important;
    }

    small[b-r5y35y8afq] {
        font-size: 0.8rem !important;
    }
}

@media (max-width: 375px) {
    /* Container ultra-compact */
    .profile-container[b-r5y35y8afq] {
        padding: 0.25rem !important;
    }

    .section-card-profile[b-r5y35y8afq],
    .avatar-selection-section[b-r5y35y8afq] {
        padding: 0.875rem !important;
        margin-bottom: 0.5rem !important;
    }
    /* Timeline encore plus compact */
    .timeline-item[b-r5y35y8afq] {
        min-width: 110px !important;
        max-width: 110px !important;
        width: 110px !important;
        padding: 0.5rem 0.25rem !important;
    }

    .timeline-marker[b-r5y35y8afq] {
        width: 40px !important;
        height: 40px !important;
        margin-bottom: 0.4rem !important;
        font-size: 0.9rem !important;
    }

    .timeline-label[b-r5y35y8afq] {
        font-size: 0.7rem !important;
        max-width: 100px !important;
    }
    /* Titles plus petits */
    .page-title-profile[b-r5y35y8afq] {
        font-size: 1.15rem !important;
    }

    .section-title-profile[b-r5y35y8afq] {
        font-size: 0.95rem !important;
    }

    .section-subtitle-profile[b-r5y35y8afq] {
        font-size: 0.75rem !important;
    }
    /* Avatar compacts */
    .avatar-preview[b-r5y35y8afq] {
        width: 52px !important;
        height: 52px !important;
        font-size: 1.1rem !important;
    }

    .avatar-option-label[b-r5y35y8afq] {
        font-size: 0.85rem !important;
    }

    .avatar-large[b-r5y35y8afq] {
        width: 90px !important;
        height: 90px !important;
    }
    /* Form ultra-compact */
    .form-control-profile[b-r5y35y8afq],
    .form-select-profile[b-r5y35y8afq] {
        padding: 0.625rem !important;
        font-size: 0.9rem !important;
    }
    /* Table encore plus responsive */
    .table-clean-profile[b-r5y35y8afq] {
        min-width: 550px !important;
        font-size: 0.8rem !important;
    }
}

@media (max-width: 360px) {
    .timeline-item[b-r5y35y8afq] {
        min-width: 95px;
    }

    .timeline-label[b-r5y35y8afq] {
        font-size: 0.7rem;
    }
}

@media (max-width: 896px) and (orientation: landscape) {
    /* Timeline plus compact en paysage */
    .timeline-navigation[b-r5y35y8afq] {
        padding: 0.4rem 0 !important;
    }

    .timeline-marker[b-r5y35y8afq] {
        width: 32px !important;
        height: 32px !important;
    }

    .timeline-label[b-r5y35y8afq] {
        font-size: 0.7rem !important;
    }
    /* Modal adapté en landscape */
    .modal-content-upload[b-r5y35y8afq],
    .modal-content-avatar[b-r5y35y8afq] {
        max-height: 85vh !important;
    }

    .drop-zone[b-r5y35y8afq],
    .upload-zone[b-r5y35y8afq] {
        min-height: 140px !important;
        padding: 1.5rem 1rem !important;
    }
}

@media print {
    .timeline-navigation[b-r5y35y8afq],
    .section-navigation[b-r5y35y8afq],
    button[b-r5y35y8afq] {
        display: none !important;
    }

    .section-card-profile[b-r5y35y8afq] {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

/* Modal Upload Avatar */
.modal-overlay-avatar[b-r5y35y8afq],
.modal-overlay-upload[b-r5y35y8afq] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    padding: 1rem;
    animation: fadeIn-b-r5y35y8afq 0.2s ease;
}

.modal-content-avatar[b-r5y35y8afq],
.modal-content-upload[b-r5y35y8afq] {
    background: white;
    border-radius: 16px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp-b-r5y35y8afq 0.3s ease;
}

@keyframes fadeIn-b-r5y35y8afq {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp-b-r5y35y8afq {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header-avatar[b-r5y35y8afq],
.modal-header-upload[b-r5y35y8afq] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.modal-title-avatar[b-r5y35y8afq],
.modal-title-upload[b-r5y35y8afq] {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin: 0;
}

.btn-close-modal[b-r5y35y8afq] {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--muted-foreground);
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
}

    .btn-close-modal:hover[b-r5y35y8afq] {
        background: #f1f5f9;
        color: var(--foreground);
    }

.modal-body-avatar[b-r5y35y8afq],
.modal-body-upload[b-r5y35y8afq] {
    padding: 1.5rem;
    flex: 1;
    overflow-y: auto;
}

.modal-footer-avatar[b-r5y35y8afq],
.modal-footer-upload[b-r5y35y8afq] {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.btn-secondary-modal[b-r5y35y8afq] {
    background: white;
    border: 1px solid #e2e8f0;
    color: var(--foreground);
    font-weight: 500;
    padding: 0.625rem 1.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    cursor: pointer;
}

    .btn-secondary-modal:hover[b-r5y35y8afq] {
        border-color: var(--bs-primary);
        color: var(--bs-primary);
    }

.btn-primary-modal[b-r5y35y8afq] {
    background: linear-gradient(135deg, var(--bs-primary) 0%, hsl(18, 80%, 54%) 100%);
    border: none;
    color: white;
    font-weight: 500;
    padding: 0.625rem 1.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    cursor: pointer;
}

    .btn-primary-modal:hover:not(:disabled)[b-r5y35y8afq] {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(234, 119, 61, 0.3);
    }

    .btn-primary-modal:disabled[b-r5y35y8afq] {
        opacity: 0.5;
        cursor: not-allowed;
    }

.uploaded-preview-modal[b-r5y35y8afq] {
    margin-top: 1.5rem;
    position: relative;
    display: inline-block;
    width: 100%;
    text-align: center;
}

    .uploaded-preview-modal img[b-r5y35y8afq] {
        width: 200px;
        height: 200px;
        border-radius: 50%;
        object-fit: cover;
        border: 3px solid var(--bs-primary);
    }

.btn-remove-preview[b-r5y35y8afq] {
    position: absolute;
    top: -8px;
    right: calc(50% - 108px);
    width: 36px;
    height: 36px;
    background: #ef4444;
    border: none;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.25rem;
    transition: all 0.2s ease;
}

    .btn-remove-preview:hover[b-r5y35y8afq] {
        background: #dc2626;
        transform: scale(1.1);
    }

.no-chevron .avatar-chevron[b-r5y35y8afq] {
    display: none;
}

.drop-zone[b-r5y35y8afq],
.upload-zone[b-r5y35y8afq] {
    border: 2px dashed #e2e8f0;
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8fafc;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .upload-zone:hover[b-r5y35y8afq] {
        border-color: var(--bs-primary);
        background: rgba(52, 95, 109, 0.05);
    }

    .upload-zone.dragging[b-r5y35y8afq] {
        border-color: #14b8a6;
        background: rgba(20, 184, 166, 0.05);
        transform: scale(1.02);
    }

.drop-zone-content[b-r5y35y8afq],
.upload-zone-content[b-r5y35y8afq] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.drop-icon[b-r5y35y8afq] {
    font-size: 3rem;
    color: var(--bs-primary);
    margin-bottom: 1rem;
}

.drop-zone-content h4[b-r5y35y8afq] {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
    margin: 0.5rem 0;
}

.drop-zone-content p[b-r5y35y8afq] {
    color: var(--muted-foreground);
    margin: 0.25rem 0;
}

.btn-upload[b-r5y35y8afq] {
    background: linear-gradient(135deg, var(--bs-primary) 0%, hsl(18, 80%, 54%) 100%);
    border: none;
    color: white;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem 0;
}

    .btn-upload:hover[b-r5y35y8afq] {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(234, 119, 61, 0.3);
    }

.preview-container[b-r5y35y8afq] {
    position: relative;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.preview-image[b-r5y35y8afq] {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 2px solid var(--bs-primary);
}

.btn-cancel[b-r5y35y8afq] {
    background: white;
    border: 1px solid #e2e8f0;
    color: var(--foreground);
    font-weight: 500;
    padding: 0.625rem 1.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    cursor: pointer;
}

    .btn-cancel:hover[b-r5y35y8afq] {
        border-color: var(--bs-primary);
        color: var(--bs-primary);
    }

.btn-confirm[b-r5y35y8afq] {
    background: linear-gradient(135deg, var(--bs-primary) 0%, hsl(18, 80%, 54%) 100%);
    border: none;
    color: white;
    font-weight: 500;
    padding: 0.625rem 1.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    cursor: pointer;
}

    .btn-confirm:hover:not(:disabled)[b-r5y35y8afq] {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(234, 119, 61, 0.3);
    }

    .btn-confirm:disabled[b-r5y35y8afq] {
        opacity: 0.5;
        cursor: not-allowed;
    }

.upload-icon[b-r5y35y8afq] {
    font-size: 3rem;
    color: var(--bs-primary);
}

.upload-text[b-r5y35y8afq] {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
    margin: 0;
}

.upload-subtext[b-r5y35y8afq] {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin: 0;
}

.upload-hint[b-r5y35y8afq] {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    margin: 0;
    margin-top: 0.5rem;
}

.upload-preview[b-r5y35y8afq] {
    position: relative;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.upload-preview-img[b-r5y35y8afq] {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 2px solid var(--bs-primary);
}

.btn-remove-preview[b-r5y35y8afq] {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 36px;
    height: 36px;
    background: #ef4444;
    border: none;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.25rem;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

    .btn-remove-preview:hover[b-r5y35y8afq] {
        background: #dc2626;
        transform: scale(1.1);
    }

.modal-footer-upload[b-r5y35y8afq] {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.btn-secondary-modal[b-r5y35y8afq] {
    background: white;
    border: 1px solid #e2e8f0;
    color: var(--foreground);
    font-weight: 500;
    padding: 0.625rem 1.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    cursor: pointer;
}

    .btn-secondary-modal:hover[b-r5y35y8afq] {
        border-color: var(--bs-primary);
        color: var(--bs-primary);
    }

.btn-primary-modal[b-r5y35y8afq] {
    background: linear-gradient(135deg, var(--bs-primary) 0%, hsl(18, 80%, 54%) 100%);
    border: none;
    color: white;
    font-weight: 500;
    padding: 0.625rem 1.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    cursor: pointer;
}

    .btn-primary-modal:hover:not(:disabled)[b-r5y35y8afq] {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(234, 119, 61, 0.3);
    }

    .btn-primary-modal:disabled[b-r5y35y8afq] {
        opacity: 0.5;
        cursor: not-allowed;
    }
