.pe-localized-file-picker {
    display: flex;
    align-items: center;
    gap: .65rem;
    flex-wrap: wrap;
}
.pe-localized-file-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: .7rem 1rem;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 12px;
    background: rgba(255,255,255,.11);
    color: inherit;
    font-weight: 750;
    cursor: pointer;
}
.pe-localized-file-name {
    min-width: 0;
    color: var(--muted, #c4b9c0);
    overflow-wrap: anywhere;
}
.pe-localized-file-input {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}


/* ============================================================
   V99.67 - Import profil : alignement et contraste du sélecteur
   ============================================================ */
.v88-file-field.pe-localized-file-picker.v9967-file-picker {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: .55rem 1rem;
    width: 100%;
}

.v9967-file-picker .v9967-file-label {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    font-weight: 800;
    line-height: 1.25;
}

.v9967-file-picker .v9967-file-button {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    min-width: 168px;
    min-height: 46px;
    padding: .72rem 1.05rem;
    border: 1px solid rgba(234, 174, 205, .30);
    background: rgba(255, 255, 255, .10);
    box-shadow: 0 5px 14px rgba(0, 0, 0, .12);
    transition: background .16s ease, border-color .16s ease, box-shadow .16s ease, transform .08s ease;
}

.v9967-file-picker .v9967-file-button:hover,
.v9967-file-picker .v9967-file-button:focus-visible {
    border-color: rgba(238, 145, 194, .58);
    background: rgba(255, 255, 255, .15);
    box-shadow: 0 7px 17px rgba(0, 0, 0, .16);
}

.v9967-file-picker .v9967-file-button:active {
    transform: translateY(1px);
}

.v9967-file-picker .v9967-file-meta {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex;
    align-items: baseline;
    gap: .45rem .65rem;
    min-width: 0;
    flex-wrap: wrap;
}

.v9967-file-picker .v9967-file-meta .pe-localized-file-name {
    font-weight: 700;
}

.v9967-file-picker .v9967-file-meta small {
    margin: 0;
}

html[data-theme="light"] .v9967-file-picker .v9967-file-button {
    border: 1px solid rgba(148, 77, 108, .42);
    background: linear-gradient(180deg, #fffefd 0%, #f6e7ed 100%);
    color: #3d2731;
    box-shadow: 0 5px 13px rgba(104, 57, 77, .13), inset 0 1px 0 rgba(255, 255, 255, .90);
}

html[data-theme="light"] .v9967-file-picker .v9967-file-button:hover,
html[data-theme="light"] .v9967-file-picker .v9967-file-button:focus-visible {
    border-color: #a64670;
    background: linear-gradient(180deg, #ffffff 0%, #efd6e0 100%);
    box-shadow: 0 7px 17px rgba(104, 57, 77, .18), 0 0 0 3px rgba(185, 31, 104, .10);
}

html[data-theme="light"] .v9967-file-picker .pe-localized-file-name,
html[data-theme="light"] .v9967-file-picker small {
    color: #6d5661;
}

@media (max-width: 360px) {
    .v88-file-field.pe-localized-file-picker.v9967-file-picker {
        grid-template-columns: 1fr;
        gap: .6rem;
        align-items: stretch;
    }

    .v9967-file-picker .v9967-file-label,
    .v9967-file-picker .v9967-file-button,
    .v9967-file-picker .v9967-file-meta {
        grid-column: 1;
    }

    .v9967-file-picker .v9967-file-label {
        grid-row: 1;
    }

    .v9967-file-picker .v9967-file-button {
        grid-row: 2;
        justify-self: stretch;
        width: 100%;
        min-width: 0;
    }

    .v9967-file-picker .v9967-file-meta {
        grid-row: 3;
        display: grid;
        gap: .35rem;
    }
}
