:root {
    --ppxm-navy: #071a43;
    --ppxm-blue: #0a2c6f;
    --ppxm-orange: #e8622a;
    --ppxm-orange-dark: #c84a18;
    --ppxm-green: #15945f;
    --ppxm-ink: #172033;
    --ppxm-muted: #697489;
    --ppxm-line: #e2e8f1;
    --ppxm-soft: #f3f6fa;
    --ppxm-white: #fff;
    --ppxm-serif: Georgia, "Times New Roman", serif;
    --ppxm-sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --ppxm-shadow: 0 18px 50px rgba(7, 26, 67, .11);
}

body.ppx-member-modernized {
    overflow-x: hidden;
    background: #f2f5f9;
}

body.ppx-member-modernized .ppx-app-dock {
    display: none !important;
}

.ppx-member-auth-layout,
.ppx-member-auth-layout *,
.ppx-member-command,
.ppx-member-command *,
.ppx-member-section-intro,
.ppx-member-section-intro *,
.ppx-member-confidence,
.ppx-member-confidence *,
.ppx-member-mobile-nav,
.ppx-member-mobile-nav * {
    box-sizing: border-box;
}

.ppx-member-auth-layout svg,
.ppx-member-command svg,
.ppx-member-section-intro svg,
.ppx-member-mobile-nav svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Accès membre non connecté */
.ppx-member-auth-layout {
    position: relative;
    left: 50%;
    display: grid;
    width: min(1240px, calc(100vw - 32px));
    min-height: 650px;
    grid-template-columns: minmax(0, 1.42fr) minmax(360px, .78fr);
    margin: clamp(22px, 4vw, 64px) 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 32px;
    background: #fff;
    box-shadow: 0 34px 90px rgba(7, 26, 67, .17);
    font-family: var(--ppxm-sans);
    transform: translateX(-50%);
}

.ppx-member-auth-intro {
    position: relative;
    min-width: 0;
    padding: clamp(34px, 4.4vw, 62px);
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 7%, rgba(232, 98, 42, .25), transparent 19rem),
        linear-gradient(135deg, #061538, #0a2c6f 69%, #174a95);
    color: #fff;
}

.ppx-member-auth-intro::before,
.ppx-member-auth-intro::after {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.ppx-member-auth-intro::before {
    top: -150px;
    right: -130px;
    width: 410px;
    height: 410px;
}

.ppx-member-auth-intro::after {
    bottom: -220px;
    left: -170px;
    width: 460px;
    height: 460px;
}

.ppx-member-auth-copy {
    position: relative;
    z-index: 3;
    width: 59%;
    min-width: 350px;
}

.ppx-member-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 29px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, .19);
    border-radius: 99px;
    background: rgba(255, 255, 255, .1);
    color: #ffd6c3;
    font: 850 10px/1 var(--ppxm-sans);
    letter-spacing: .11em;
}

.ppx-member-auth-copy h1,
.ppx-member-command-copy h1 {
    margin: 18px 0 14px !important;
    color: #fff !important;
    font-family: var(--ppxm-serif) !important;
    font-size: clamp(40px, 4.4vw, 66px) !important;
    font-weight: 800 !important;
    letter-spacing: -.052em !important;
    line-height: 1.01 !important;
}

.ppx-member-auth-copy > p {
    max-width: 530px;
    margin: 0 !important;
    color: rgba(255, 255, 255, .76) !important;
    font: 500 clamp(14px, 1.3vw, 17px)/1.7 var(--ppxm-sans) !important;
}

.ppx-member-benefits {
    display: grid;
    gap: 11px;
    margin-top: 31px;
}

.ppx-member-benefit {
    display: flex;
    min-height: 76px;
    align-items: center;
    gap: 13px;
    padding: 13px 15px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px;
    background: rgba(255, 255, 255, .08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
    backdrop-filter: blur(8px);
}

.ppx-member-benefit > i {
    display: grid;
    width: 43px;
    height: 43px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 13px;
    background: rgba(232, 98, 42, .2);
    color: #ffad86;
    font-style: normal;
}

.ppx-member-benefit div {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 3px;
}

.ppx-member-benefit strong {
    color: #fff;
    font-size: 13px;
    font-weight: 850;
}

.ppx-member-benefit small {
    color: rgba(255, 255, 255, .64);
    font-size: 11px;
    line-height: 1.45;
}

.ppx-member-auth-photo {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    width: 45%;
    height: 100%;
    margin: 0 !important;
    overflow: hidden;
}

.ppx-member-auth-photo::before {
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(90deg, #09265f 0%, rgba(9, 38, 95, .68) 20%, rgba(7, 26, 67, .04) 72%), linear-gradient(0deg, rgba(7, 26, 67, .72), transparent 46%);
    content: "";
}

.ppx-member-auth-photo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: 61% center;
    filter: saturate(.93) contrast(1.04);
}

.ppx-member-auth-photo figcaption {
    position: absolute;
    z-index: 2;
    right: 28px;
    bottom: 27px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 99px;
    background: rgba(7, 26, 67, .72);
    color: #fff;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .045em;
    backdrop-filter: blur(8px);
}

.ppx-member-auth-photo figcaption > span:first-child {
    display: grid;
    width: 20px;
    height: 20px;
    place-items: center;
    border-radius: 50%;
    background: #dff8ea;
    color: var(--ppxm-green);
}

.ppx-member-auth-layout > .pus-login-wall,
.ppx-member-auth-layout > .pd-login-wall {
    display: flex !important;
    min-height: 100% !important;
    align-items: center !important;
    justify-content: center !important;
    padding: clamp(25px, 3.5vw, 48px) !important;
    background:
        radial-gradient(circle at 100% 0, rgba(232, 98, 42, .09), transparent 18rem),
        linear-gradient(180deg, #fbfcfe, #f4f7fb) !important;
}

.ppx-member-auth-layout .pus-login-card,
.ppx-member-auth-layout .pd-login-card {
    width: 100% !important;
    max-width: 430px !important;
    padding: clamp(27px, 3.5vw, 42px) !important;
    border: 1px solid #e3e9f1 !important;
    border-radius: 24px !important;
    background: rgba(255, 255, 255, .97) !important;
    box-shadow: 0 22px 55px rgba(7, 26, 67, .12) !important;
    font-family: var(--ppxm-sans) !important;
    text-align: center !important;
}

.ppx-member-login-security {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    gap: 7px;
    margin: 0 auto 18px;
    padding: 0 12px;
    border-radius: 99px;
    background: #eaf8f1;
    color: #11794d;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .04em;
}

.ppx-member-login-security svg {
    width: 16px;
    height: 16px;
}

.ppx-member-auth-layout .pus-login-logo,
.ppx-member-auth-layout .pd-sidebar-logo,
.ppx-member-auth-layout .pd-login-logo {
    color: var(--ppxm-navy) !important;
    font-family: var(--ppxm-serif) !important;
    font-size: 22px !important;
}

.ppx-member-auth-layout .pus-login-card h2,
.ppx-member-auth-layout .pd-login-card h2 {
    margin: 8px 0 !important;
    color: var(--ppxm-navy) !important;
    font-family: var(--ppxm-serif) !important;
    font-size: clamp(26px, 2.4vw, 34px) !important;
    line-height: 1.12 !important;
}

.ppx-member-auth-layout .pus-login-card p,
.ppx-member-auth-layout .pd-login-card p {
    color: var(--ppxm-muted) !important;
    line-height: 1.65 !important;
}

.ppx-member-auth-layout .pus-login-card a,
.ppx-member-auth-layout .pd-login-card a,
.ppx-member-auth-layout .pus-login-card button,
.ppx-member-auth-layout .pd-login-card button {
    min-height: 47px;
    border-radius: 13px !important;
}

.ppx-member-auth-layout .ppx-member-login-note {
    margin: 20px 0 0 !important;
    padding-top: 17px;
    border-top: 1px solid var(--ppxm-line);
    color: #8490a1 !important;
    font-size: 10px !important;
    line-height: 1.55 !important;
}

/* Modernisation du tableau de bord existant */
body.ppx-member-dashboard-active .pd-app,
body.ppx-member-dashboard-active .pus-app {
    position: relative;
    left: 50%;
    width: 100vw;
    max-width: 100vw;
    min-height: 100dvh;
    margin-left: 0 !important;
    background:
        radial-gradient(circle at 75% 0, rgba(232, 98, 42, .07), transparent 33rem),
        #f2f5f9 !important;
    color: var(--ppxm-ink);
    font-family: var(--ppxm-sans) !important;
    transform: translateX(-50%);
}

body.ppx-member-dashboard-active #masthead,
body.ppx-member-dashboard-active header.site-header,
body.ppx-member-dashboard-active .elementor-location-header,
body.ppx-member-dashboard-active #colophon,
body.ppx-member-dashboard-active footer.site-footer,
body.ppx-member-dashboard-active .elementor-location-footer,
body.ppx-member-dashboard-active .entry-header > .entry-title {
    display: none !important;
}

body.ppx-member-dashboard-active #page,
body.ppx-member-dashboard-active .site,
body.ppx-member-dashboard-active #content,
body.ppx-member-dashboard-active .site-content,
body.ppx-member-dashboard-active #primary,
body.ppx-member-dashboard-active .content-area,
body.ppx-member-dashboard-active .entry-content {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.ppx-member-dashboard-active .pd-sidebar,
body.ppx-member-dashboard-active .pus-sidebar {
    width: 274px;
    border: 0 !important;
    background:
        radial-gradient(circle at 0 0, rgba(232, 98, 42, .23), transparent 16rem),
        linear-gradient(180deg, #071a43, #09265f 57%, #061538) !important;
    box-shadow: 18px 0 45px rgba(7, 26, 67, .08);
}

body.ppx-member-dashboard-active .pus-sidebar-top,
body.ppx-member-dashboard-active .pus-user-block,
body.ppx-member-dashboard-active .pd-user-card {
    border-color: rgba(255, 255, 255, .1) !important;
    background: transparent !important;
}

body.ppx-member-dashboard-active .pus-logo,
body.ppx-member-dashboard-active .pus-user-name,
body.ppx-member-dashboard-active .pd-sidebar-logo,
body.ppx-member-dashboard-active .pd-user-info strong {
    color: #fff !important;
}

body.ppx-member-dashboard-active .pus-user-email,
body.ppx-member-dashboard-active .pd-user-info span,
body.ppx-member-dashboard-active .pd-credits-mini {
    color: rgba(255, 255, 255, .58) !important;
}

body.ppx-member-dashboard-active .pus-avatar-big,
body.ppx-member-dashboard-active .pd-user-avatar {
    background: linear-gradient(145deg, var(--ppxm-orange), var(--ppxm-orange-dark)) !important;
    box-shadow: 0 9px 22px rgba(232, 98, 42, .28);
}

body.ppx-member-dashboard-active .pus-nav-group,
body.ppx-member-dashboard-active .pd-nav-section {
    color: rgba(255, 255, 255, .36) !important;
    font-size: 10px !important;
    letter-spacing: .12em !important;
}

body.ppx-member-dashboard-active .pus-nav-item,
body.ppx-member-dashboard-active .pd-nav-item {
    min-height: 45px;
    margin-bottom: 4px;
    padding: 10px 13px !important;
    border-radius: 12px !important;
    color: rgba(255, 255, 255, .7) !important;
}

body.ppx-member-dashboard-active .pus-nav-item:hover,
body.ppx-member-dashboard-active .pd-nav-item:hover {
    background: rgba(255, 255, 255, .09) !important;
    color: #fff !important;
}

body.ppx-member-dashboard-active .pus-nav-item.active,
body.ppx-member-dashboard-active .pd-nav-item.active {
    background: rgba(255, 255, 255, .14) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
    color: #fff !important;
}

body.ppx-member-dashboard-active .pus-nav-item.active::before,
body.ppx-member-dashboard-active .pd-nav-item.active::before {
    background: var(--ppxm-orange) !important;
}

body.ppx-member-dashboard-active .pus-topbar,
body.ppx-member-dashboard-active .pd-topbar {
    min-height: 68px;
    border-color: rgba(220, 227, 237, .85) !important;
    background: rgba(255, 255, 255, .9) !important;
    box-shadow: 0 6px 22px rgba(7, 26, 67, .06) !important;
    backdrop-filter: blur(15px);
}

body.admin-bar.ppx-member-dashboard-active .pus-topbar,
body.admin-bar.ppx-member-dashboard-active .pd-topbar {
    top: 32px;
}

body.ppx-member-dashboard-active .pus-content,
body.ppx-member-dashboard-active .pd-content {
    width: 100%;
    max-width: 1460px !important;
    padding: clamp(16px, 2.4vw, 34px) !important;
}

body.ppx-member-dashboard-active .pus-card,
body.ppx-member-dashboard-active .pd-card,
body.ppx-member-dashboard-active .pus-dash-header,
body.ppx-member-dashboard-active .pus-tracking-card,
body.ppx-member-dashboard-active .pus-devis-card,
body.ppx-member-dashboard-active .pus-devis-mini,
body.ppx-member-dashboard-active .pd-devis-card {
    border-color: var(--ppxm-line) !important;
    border-radius: 19px !important;
    background: rgba(255, 255, 255, .96) !important;
    box-shadow: 0 8px 26px rgba(7, 26, 67, .065) !important;
}

body.ppx-member-dashboard-active .pus-card:hover,
body.ppx-member-dashboard-active .pd-card:hover,
body.ppx-member-dashboard-active .pus-devis-card:hover,
body.ppx-member-dashboard-active .pd-devis-card:hover {
    border-color: #ccd7e5 !important;
    box-shadow: 0 15px 34px rgba(7, 26, 67, .095) !important;
}

body.ppx-member-dashboard-active .pus-kpi-big,
body.ppx-member-dashboard-active .pd-kpi-card {
    min-height: 126px;
    border-radius: 19px !important;
    box-shadow: 0 14px 30px rgba(7, 26, 67, .13) !important;
}

body.ppx-member-dashboard-active .pus-btn,
body.ppx-member-dashboard-active .pd-btn,
body.ppx-member-dashboard-active button:not(.ppx-member-mobile-item) {
    min-height: 43px;
    border-radius: 11px;
}

body.ppx-member-dashboard-active .pus-form-input,
body.ppx-member-dashboard-active .pd-form-control,
body.ppx-member-dashboard-active input:not([type="checkbox"]):not([type="radio"]),
body.ppx-member-dashboard-active select,
body.ppx-member-dashboard-active textarea {
    min-height: 48px;
    border-color: #d7e0eb !important;
    border-radius: 12px !important;
    background-color: #fff !important;
    box-shadow: inset 0 1px 2px rgba(7, 26, 67, .025);
    color: var(--ppxm-ink) !important;
}

body.ppx-member-dashboard-active textarea {
    min-height: 118px;
}

body.ppx-member-dashboard-active input:focus,
body.ppx-member-dashboard-active select:focus,
body.ppx-member-dashboard-active textarea:focus {
    border-color: #7b9bc9 !important;
    box-shadow: 0 0 0 4px rgba(10, 44, 111, .09) !important;
    outline: 0 !important;
}

/* Nouveau centre de commande, ajouté sans remplacer les modules */
.ppx-member-command {
    width: 100%;
    margin: 0 0 30px;
    color: var(--ppxm-ink);
    font-family: var(--ppxm-sans);
}

.ppx-member-command-hero {
    position: relative;
    display: grid;
    min-height: 330px;
    grid-template-columns: minmax(0, 1.34fr) minmax(280px, .66fr);
    margin-bottom: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 27px;
    background:
        radial-gradient(circle at 8% 0, rgba(232, 98, 42, .22), transparent 22rem),
        linear-gradient(135deg, #061538, #0a2c6f);
    box-shadow: 0 25px 60px rgba(7, 26, 67, .18);
}

.ppx-member-command-copy {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    padding: clamp(29px, 4vw, 54px);
}

.ppx-member-command-copy h1 {
    max-width: 720px;
    margin: 14px 0 11px !important;
    font-size: clamp(34px, 4vw, 57px) !important;
}

.ppx-member-command-copy > p {
    max-width: 650px;
    margin: 0 !important;
    color: rgba(255, 255, 255, .7) !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
}

.ppx-member-primary-action {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    gap: 11px;
    margin-top: 24px;
    padding: 0 19px;
    border: 1px solid rgba(255, 255, 255, .23);
    border-radius: 14px;
    background: linear-gradient(135deg, var(--ppxm-orange), var(--ppxm-orange-dark));
    box-shadow: 0 13px 28px rgba(232, 98, 42, .3);
    color: #fff !important;
    text-decoration: none !important;
    transition: transform .2s ease, box-shadow .2s ease;
}

.ppx-member-primary-action:hover {
    box-shadow: 0 18px 35px rgba(232, 98, 42, .38);
    color: #fff !important;
    transform: translateY(-2px);
}

.ppx-member-primary-action svg {
    width: 20px;
    height: 20px;
}

.ppx-member-primary-action strong {
    color: inherit;
    font-size: 12px;
    font-weight: 850;
}

.ppx-member-primary-action > b {
    margin-left: 5px;
    color: inherit;
    font-size: 19px;
}

.ppx-member-command-hero > figure {
    position: relative;
    min-width: 0;
    min-height: 330px;
    margin: 0 !important;
    overflow: hidden;
}

.ppx-member-command-hero > figure::before {
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(90deg, #0a2c6f 0%, transparent 40%), linear-gradient(0deg, rgba(6, 21, 56, .85), transparent 58%);
    content: "";
}

.ppx-member-command-hero > figure img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: 63% center;
}

.ppx-member-command-hero figcaption {
    position: absolute;
    z-index: 2;
    right: 25px;
    bottom: 25px;
    left: 25px;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
}

.ppx-member-command-hero figcaption small {
    color: #ffb18c;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .11em;
}

.ppx-member-command-hero figcaption strong {
    max-width: 260px;
    color: #fff;
    font-family: var(--ppxm-serif);
    font-size: 22px;
    line-height: 1.14;
}

.ppx-member-quick {
    margin: 0 0 24px;
}

.ppx-member-quick > h2 {
    margin: 0 0 13px !important;
    color: var(--ppxm-navy) !important;
    font-family: var(--ppxm-sans) !important;
    font-size: 15px !important;
    font-weight: 850 !important;
}

.ppx-member-quick-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(188px, 1fr));
    gap: 12px;
}

.ppx-member-quick-action {
    display: grid;
    min-height: 112px;
    grid-template-columns: 45px 1fr 16px;
    align-items: center;
    gap: 12px;
    padding: 15px;
    border: 1px solid var(--ppxm-line);
    border-radius: 17px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 8px 22px rgba(7, 26, 67, .055);
    color: var(--ppxm-ink) !important;
    text-decoration: none !important;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.ppx-member-quick-action:hover {
    border-color: rgba(232, 98, 42, .45);
    box-shadow: 0 15px 31px rgba(7, 26, 67, .1);
    color: var(--ppxm-ink) !important;
    transform: translateY(-2px);
}

.ppx-member-quick-action > i {
    display: grid;
    width: 45px;
    height: 45px;
    place-items: center;
    border-radius: 14px;
    background: #eef3fa;
    color: var(--ppxm-blue);
    font-style: normal;
}

.ppx-member-quick-action:nth-child(2n) > i {
    background: #fff0e9;
    color: var(--ppxm-orange-dark);
}

.ppx-member-quick-action > span {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 4px;
}

.ppx-member-quick-action strong {
    color: var(--ppxm-navy);
    font-size: 12px;
    font-weight: 850;
}

.ppx-member-quick-action small {
    color: var(--ppxm-muted);
    font-size: 9px;
    line-height: 1.45;
}

.ppx-member-quick-action > b {
    color: #9aa6b7;
    font-size: 22px;
}

.ppx-member-guide {
    padding: clamp(19px, 2.6vw, 29px);
    border: 1px solid var(--ppxm-line);
    border-radius: 22px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 10px 28px rgba(7, 26, 67, .06);
}

.ppx-member-guide > header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 23px;
}

.ppx-member-guide > header > div {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ppx-member-guide > header span {
    display: grid;
    width: 39px;
    height: 39px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 12px;
    background: #fff0e9;
    color: var(--ppxm-orange-dark);
    font-size: 11px;
    font-weight: 900;
}

.ppx-member-guide > header h2 {
    margin: 0 !important;
    color: var(--ppxm-navy) !important;
    font-family: var(--ppxm-serif) !important;
    font-size: clamp(20px, 2.2vw, 29px) !important;
    line-height: 1.1 !important;
}

.ppx-member-guide > header > p {
    max-width: 430px;
    margin: 0 !important;
    color: var(--ppxm-muted) !important;
    font-size: 10px !important;
    line-height: 1.5 !important;
    text-align: right;
}

.ppx-member-guide ol {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.ppx-member-guide li {
    position: relative;
    display: flex;
    min-height: 92px;
    align-items: center;
    gap: 11px;
    padding: 13px;
    border: 1px solid #e7ecf3;
    border-radius: 15px;
    background: #f8fafc;
}

.ppx-member-guide li:not(:last-child)::after {
    position: absolute;
    z-index: 2;
    top: 50%;
    right: -8px;
    width: 15px;
    height: 15px;
    border-top: 1px solid #d8e0eb;
    border-right: 1px solid #d8e0eb;
    background: #f8fafc;
    content: "";
    transform: translateY(-50%) rotate(45deg);
}

.ppx-member-guide li > i {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 12px;
    background: #eaf0f8;
    color: var(--ppxm-blue);
    font-size: 10px;
    font-style: normal;
    font-weight: 900;
}

.ppx-member-guide li > div {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 3px;
}

.ppx-member-guide li strong {
    color: var(--ppxm-navy);
    font-size: 11px;
    font-weight: 850;
}

.ppx-member-guide li small {
    color: var(--ppxm-muted);
    font-size: 8px;
    line-height: 1.45;
}

.ppx-member-truth-note {
    margin: 15px 0 0 !important;
    padding: 10px 12px;
    border-radius: 11px;
    background: #f2f6fb;
    color: #6c788a !important;
    font-size: 9px !important;
    line-height: 1.5 !important;
}

/* Ouverture directe et illustrée de chaque rubrique */
.ppx-member-section-intro {
    position: relative;
    display: grid;
    min-height: 218px;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr);
    margin: 0 0 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 23px;
    background:
        radial-gradient(circle at 7% 0, rgba(232, 98, 42, .24), transparent 19rem),
        linear-gradient(135deg, #061538, #0a2c6f);
    box-shadow: 0 19px 45px rgba(7, 26, 67, .15);
    color: #fff;
    font-family: var(--ppxm-sans);
}

.ppx-member-section-copy {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    padding: clamp(24px, 3vw, 37px);
}

.ppx-member-section-title {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 10px;
}

.ppx-member-section-title > i {
    display: grid;
    width: 43px;
    height: 43px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 13px;
    background: rgba(255, 255, 255, .1);
    color: #ffad86;
    font-style: normal;
}

.ppx-member-section-title h1 {
    margin: 0 !important;
    color: #fff !important;
    font-family: var(--ppxm-serif) !important;
    font-size: clamp(27px, 3.2vw, 43px) !important;
    font-weight: 800 !important;
    letter-spacing: -.042em !important;
    line-height: 1.05 !important;
}

.ppx-member-section-copy > p {
    max-width: 730px;
    margin: 9px 0 0 !important;
    color: rgba(255, 255, 255, .7) !important;
    font-size: 12px !important;
    line-height: 1.6 !important;
}

.ppx-member-section-copy > a {
    display: inline-flex;
    margin-top: 12px;
    color: #ffc4a7 !important;
    font-size: 9px;
    font-weight: 800;
    text-decoration: none !important;
}

.ppx-member-section-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 13px;
}

.ppx-member-section-trust > span {
    display: inline-flex;
    min-height: 25px;
    align-items: center;
    padding: 0 9px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 99px;
    background: rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .8);
    font-size: 8px;
    font-weight: 750;
}

.ppx-member-section-intro > figure {
    position: relative;
    min-width: 0;
    min-height: 218px;
    margin: 0 !important;
    overflow: hidden;
}

.ppx-member-section-intro > figure::before {
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(90deg, #0a2c6f 0%, rgba(10, 44, 111, .13) 44%, transparent 70%), linear-gradient(0deg, rgba(6, 21, 56, .38), transparent);
    content: "";
}

.ppx-member-section-intro > figure img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
}

.ppx-member-section-intro > figure > span {
    position: absolute;
    z-index: 2;
    right: 18px;
    bottom: 18px;
    display: grid;
    width: 43px;
    height: 43px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 14px;
    background: rgba(7, 26, 67, .72);
    color: #fff;
    backdrop-filter: blur(9px);
}

.ppx-member-confidence {
    margin-top: 24px;
    padding: clamp(19px, 2.7vw, 30px);
    border: 1px solid var(--ppxm-line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(7, 26, 67, .06);
}

.ppx-member-confidence > header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 17px;
}

.ppx-member-confidence h2 {
    margin: 0 !important;
    color: var(--ppxm-navy) !important;
    font-family: var(--ppxm-serif) !important;
    font-size: clamp(22px, 2.5vw, 31px) !important;
    line-height: 1.1 !important;
}

.ppx-member-confidence header p {
    max-width: 480px;
    margin: 0 !important;
    color: var(--ppxm-muted) !important;
    font-size: 10px !important;
    line-height: 1.5 !important;
    text-align: right;
}

.ppx-member-confidence > div {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 11px;
}

.ppx-member-confidence figure {
    position: relative;
    height: 185px;
    margin: 0 !important;
    overflow: hidden;
    border-radius: 16px;
    background: var(--ppxm-navy);
}

.ppx-member-confidence figure::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(6, 21, 56, .78), transparent 66%);
    content: "";
}

.ppx-member-confidence img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    transition: transform .35s ease;
}

.ppx-member-confidence figure:hover img {
    transform: scale(1.025);
}

.ppx-member-confidence figcaption {
    position: absolute;
    z-index: 1;
    right: 15px;
    bottom: 13px;
    left: 15px;
    color: #fff;
    font-size: 11px;
    font-weight: 850;
}

/* Finition de tous les modules existants, sans modifier leur logique */
body.ppx-member-dashboard-active .pd-page-header,
body.ppx-member-dashboard-active .pus-page-header,
body.ppx-member-dashboard-active .pus-detail-header {
    margin-bottom: 16px !important;
    padding: 18px 20px;
    border: 1px solid var(--ppxm-line);
    border-radius: 17px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 7px 22px rgba(7, 26, 67, .055);
}

body.ppx-member-dashboard-active .pd-page-header h2,
body.ppx-member-dashboard-active .pus-page-header h2,
body.ppx-member-dashboard-active .pus-detail-header h2 {
    color: var(--ppxm-navy) !important;
    font-family: var(--ppxm-serif) !important;
    font-size: clamp(21px, 2vw, 28px) !important;
    letter-spacing: -.025em;
}

body.ppx-member-dashboard-active .pd-marche-card,
body.ppx-member-dashboard-active .pd-pack-card,
body.ppx-member-dashboard-active .pd-plan-block,
body.ppx-member-dashboard-active .pd-module-card,
body.ppx-member-dashboard-active .pus-artisan-card,
body.ppx-member-dashboard-active .pus-conv-item,
body.ppx-member-dashboard-active .pus-avis-card {
    border-color: var(--ppxm-line) !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, .97) !important;
    box-shadow: 0 8px 25px rgba(7, 26, 67, .06) !important;
}

body.ppx-member-dashboard-active .pd-marche-card:hover,
body.ppx-member-dashboard-active .pd-pack-card:hover,
body.ppx-member-dashboard-active .pd-plan-block:hover,
body.ppx-member-dashboard-active .pd-module-card:hover,
body.ppx-member-dashboard-active .pus-artisan-card:hover,
body.ppx-member-dashboard-active .pus-conv-item:hover {
    border-color: rgba(232, 98, 42, .45) !important;
    box-shadow: 0 16px 36px rgba(7, 26, 67, .1) !important;
    transform: translateY(-2px);
}

body.ppx-member-dashboard-active .pd-packs-grid,
body.ppx-member-dashboard-active .pd-plans-compare,
body.ppx-member-dashboard-active .pd-modules-grid,
body.ppx-member-dashboard-active .pus-artisans-grid {
    gap: 15px !important;
}

body.ppx-member-dashboard-active .pus-detail-grid {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 330px) !important;
    gap: 18px !important;
}

body.ppx-member-dashboard-active .pus-info-item,
body.ppx-member-dashboard-active .pd-reponse-box,
body.ppx-member-dashboard-active .pus-devis-detail-txt,
body.ppx-member-dashboard-active .pd-total-preview {
    border: 1px solid #e6ebf2;
    border-radius: 12px !important;
    background: #f7f9fc !important;
}

body.ppx-member-dashboard-active .pd-info-banner,
body.ppx-member-dashboard-active .pus-protection-card,
body.ppx-member-dashboard-active .pus-invite-avis {
    border-radius: 16px !important;
    box-shadow: 0 7px 20px rgba(7, 26, 67, .05);
}

body.ppx-member-dashboard-active .pd-credits-hero {
    min-height: 235px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    padding: clamp(25px, 4vw, 44px) !important;
    overflow: hidden;
    border-radius: 21px !important;
    background:
        linear-gradient(90deg, rgba(6, 21, 56, .98) 0%, rgba(10, 44, 111, .84) 47%, rgba(10, 44, 111, .2) 100%),
        url("member-gestion.webp") center / cover no-repeat !important;
    box-shadow: 0 18px 42px rgba(7, 26, 67, .17);
    text-align: left !important;
}

body.ppx-member-dashboard-active .pd-sort-bar,
body.ppx-member-dashboard-active .pus-sort-bar,
body.ppx-member-dashboard-active .pd-page-actions {
    min-height: 46px;
    padding: 7px 10px;
    border: 1px solid var(--ppxm-line);
    border-radius: 13px;
    background: rgba(255, 255, 255, .94);
}

body.ppx-member-dashboard-active .pd-filter-btn {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 10px !important;
}

body.ppx-member-dashboard-active .pus-breadcrumb {
    min-height: 38px;
    padding: 7px 11px;
    border: 1px solid var(--ppxm-line);
    border-radius: 11px;
    background: #fff;
}

body.ppx-member-dashboard-active .pus-chat-box {
    min-height: 290px !important;
    max-height: 520px !important;
    border-radius: 16px !important;
    background: #f5f8fc !important;
}

body.ppx-member-dashboard-active .pus-msg-bubble {
    padding: 11px 15px !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 12px rgba(7, 26, 67, .06);
}

body.ppx-member-dashboard-active .pd-table,
body.ppx-member-dashboard-active .pus-table {
    overflow: hidden;
    border: 1px solid var(--ppxm-line);
    border-radius: 14px;
    background: #fff;
}

body.ppx-member-dashboard-active .pd-table th,
body.ppx-member-dashboard-active .pus-table th {
    padding: 13px 14px !important;
    background: #f2f5f9 !important;
    color: var(--ppxm-navy) !important;
}

body.ppx-member-dashboard-active .pd-table td,
body.ppx-member-dashboard-active .pus-table td {
    padding: 14px !important;
}

body.ppx-member-dashboard-active .pd-empty,
body.ppx-member-dashboard-active .pus-empty,
body.ppx-member-dashboard-active .pus-table-empty {
    margin: 8px 0;
    padding: 45px 24px !important;
    border: 1px dashed #cdd7e4;
    border-radius: 17px;
    background: linear-gradient(180deg, #fff, #f7f9fc);
}

body.ppx-member-dashboard-active .pd-ligne {
    padding: 9px;
    border: 1px solid #e4eaf2;
    border-radius: 12px;
    background: #f8fafc;
}

/* Navigation mobile propre à chaque rôle */
.ppx-member-mobile-nav {
    display: none;
}

@media (max-width: 1024px) {
    .ppx-member-auth-layout {
        grid-template-columns: minmax(0, 1.15fr) minmax(330px, .85fr);
    }

    .ppx-member-auth-copy {
        width: 65%;
        min-width: 320px;
    }

    .ppx-member-command-hero {
        grid-template-columns: minmax(0, 1.15fr) minmax(250px, .85fr);
    }

    .ppx-member-guide ol {
        grid-template-columns: 1fr 1fr;
    }

    .ppx-member-guide li:nth-child(2)::after {
        display: none;
    }
}

@media (max-width: 782px) {
    body.admin-bar.ppx-member-dashboard-active .pus-topbar,
    body.admin-bar.ppx-member-dashboard-active .pd-topbar {
        top: 46px;
    }
}

@media (max-width: 760px) {
    .ppx-member-auth-layout {
        width: min(100% - 20px, 620px);
        min-height: 0;
        grid-template-columns: 1fr;
        margin: 10px 0 30px;
        border-radius: 25px;
    }

    .ppx-member-auth-intro {
        display: flex;
        min-height: 0;
        flex-direction: column;
        padding: 29px 24px 0;
    }

    .ppx-member-auth-copy {
        width: 100%;
        min-width: 0;
    }

    .ppx-member-auth-copy h1 {
        font-size: clamp(37px, 10vw, 50px) !important;
    }

    .ppx-member-benefits {
        gap: 8px;
        margin-top: 24px;
    }

    .ppx-member-benefit {
        min-height: 65px;
    }

    .ppx-member-auth-photo {
        position: relative;
        right: auto;
        width: calc(100% + 48px);
        height: 270px;
        margin: 26px -24px 0 !important;
    }

    .ppx-member-auth-photo::before {
        background: linear-gradient(180deg, #09265f 0%, transparent 33%), linear-gradient(0deg, rgba(7, 26, 67, .62), transparent 50%);
    }

    .ppx-member-auth-layout > .pus-login-wall,
    .ppx-member-auth-layout > .pd-login-wall {
        min-height: 0 !important;
        padding: 22px 14px !important;
    }

    body.ppx-member-dashboard-active .pus-content,
    body.ppx-member-dashboard-active .pd-content {
        padding: 13px 13px calc(104px + env(safe-area-inset-bottom)) !important;
    }

    .ppx-member-section-intro {
        min-height: 174px;
        grid-template-columns: minmax(0, 1fr) 112px;
        margin-bottom: 13px;
        border-radius: 19px;
    }

    .ppx-member-section-copy {
        padding: 18px 16px;
    }

    .ppx-member-section-copy .ppx-member-eyebrow {
        min-height: 23px;
        padding: 0 8px;
        font-size: 7px;
    }

    .ppx-member-section-title {
        gap: 8px;
        margin-top: 8px;
    }

    .ppx-member-section-title > i {
        width: 34px;
        height: 34px;
        border-radius: 10px;
    }

    .ppx-member-section-title > i svg {
        width: 18px;
        height: 18px;
    }

    .ppx-member-section-title h1 {
        font-size: clamp(21px, 6.5vw, 29px) !important;
    }

    .ppx-member-section-copy > p {
        display: -webkit-box;
        margin-top: 7px !important;
        overflow: hidden;
        font-size: 9px !important;
        line-height: 1.45 !important;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .ppx-member-section-copy > a {
        margin-top: 8px;
        font-size: 8px;
    }

    .ppx-member-section-trust {
        gap: 4px;
        margin-top: 8px;
    }

    .ppx-member-section-trust > span {
        min-height: 20px;
        padding: 0 6px;
        font-size: 6px;
    }

    .ppx-member-section-trust > span:nth-child(3) {
        display: none;
    }

    .ppx-member-section-intro > figure {
        min-height: 174px;
    }

    .ppx-member-section-intro > figure::before {
        background: linear-gradient(90deg, #0a2c6f, rgba(10, 44, 111, .08) 55%);
    }

    .ppx-member-section-intro > figure > span {
        right: 9px;
        bottom: 9px;
        width: 34px;
        height: 34px;
        border-radius: 10px;
    }

    .ppx-member-confidence > header {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

    .ppx-member-confidence header p {
        text-align: left;
    }

    .ppx-member-confidence > div {
        grid-template-columns: repeat(3, minmax(220px, 78vw));
        overflow-x: auto;
        padding-bottom: 5px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .ppx-member-confidence figure {
        height: 155px;
        scroll-snap-align: start;
    }

    body.ppx-member-dashboard-active .pus-detail-grid {
        grid-template-columns: 1fr !important;
    }

    body.ppx-member-dashboard-active .pd-page-header,
    body.ppx-member-dashboard-active .pus-page-header,
    body.ppx-member-dashboard-active .pus-detail-header {
        padding: 15px !important;
    }

    body.ppx-member-dashboard-active .pd-ligne {
        align-items: stretch;
        flex-direction: column;
    }

    body.ppx-member-dashboard-active .pd-page-actions,
    body.ppx-member-dashboard-active .pus-sort-bar {
        width: 100%;
        flex-wrap: nowrap !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    body.ppx-member-dashboard-active .pd-credits-hero {
        min-height: 210px;
        background:
            linear-gradient(90deg, rgba(6, 21, 56, .97), rgba(10, 44, 111, .7)),
            url("member-gestion.webp") center / cover no-repeat !important;
    }

    .ppx-member-command {
        margin-bottom: 22px;
    }

    .ppx-member-command-hero {
        grid-template-columns: 1fr;
        border-radius: 22px;
    }

    .ppx-member-command-copy {
        min-height: 330px;
        padding: 29px 24px;
    }

    .ppx-member-command-copy h1 {
        font-size: clamp(35px, 9.5vw, 49px) !important;
    }

    .ppx-member-command-hero > figure {
        min-height: 245px;
    }

    .ppx-member-command-hero > figure::before {
        background: linear-gradient(180deg, #0a2c6f 0%, transparent 38%), linear-gradient(0deg, rgba(6, 21, 56, .84), transparent 60%);
    }

    .ppx-member-quick-grid {
        grid-template-columns: 1fr 1fr;
        gap: 9px;
    }

    .ppx-member-quick-action {
        min-height: 118px;
        grid-template-columns: 40px 1fr;
        align-content: center;
        gap: 10px;
        padding: 13px;
    }

    .ppx-member-quick-action > i {
        width: 40px;
        height: 40px;
    }

    .ppx-member-quick-action > b {
        display: none;
    }

    .ppx-member-guide > header {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .ppx-member-guide > header > p {
        text-align: left;
    }

    .ppx-member-guide ol {
        grid-template-columns: 1fr;
    }

    .ppx-member-guide li:not(:last-child)::after {
        top: auto;
        right: auto;
        bottom: -8px;
        left: 31px;
        transform: rotate(135deg);
    }

    .ppx-member-mobile-nav {
        position: fixed;
        z-index: 10020;
        right: 9px;
        bottom: max(9px, env(safe-area-inset-bottom));
        left: 9px;
        display: grid;
        min-height: 72px;
        grid-template-columns: repeat(5, 1fr);
        align-items: center;
        padding: 7px;
        border: 1px solid rgba(255, 255, 255, .92);
        border-radius: 21px;
        background: rgba(255, 255, 255, .96);
        box-shadow: 0 18px 48px rgba(7, 26, 67, .24);
        font-family: var(--ppxm-sans);
        backdrop-filter: blur(18px);
    }

    .ppx-member-mobile-item {
        position: relative;
        display: flex;
        min-width: 0;
        min-height: 56px !important;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 4px;
        padding: 4px 2px !important;
        border: 0 !important;
        border-radius: 14px !important;
        background: transparent !important;
        box-shadow: none !important;
        color: #748094 !important;
        cursor: pointer;
    }

    .ppx-member-mobile-item i {
        display: grid;
        width: 25px;
        height: 25px;
        place-items: center;
        font-style: normal;
    }

    .ppx-member-mobile-item svg {
        width: 21px;
        height: 21px;
    }

    .ppx-member-mobile-item b {
        max-width: 100%;
        overflow: hidden;
        color: inherit;
        font-size: 8px;
        font-weight: 800;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .ppx-member-mobile-item.is-active:not(.is-featured) {
        background: #edf3fb !important;
        color: var(--ppxm-blue) !important;
    }

    .ppx-member-mobile-item.is-featured {
        margin-top: -20px;
        background: linear-gradient(145deg, var(--ppxm-orange), var(--ppxm-orange-dark)) !important;
        box-shadow: 0 10px 24px rgba(232, 98, 42, .33) !important;
        color: #fff !important;
    }

    body.ppx-member-dashboard-active .ppx-install-banner {
        bottom: calc(96px + env(safe-area-inset-bottom));
    }

    body.ppx-member-dashboard-active table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 420px) {
    .ppx-member-auth-intro {
        padding-right: 20px;
        padding-left: 20px;
    }

    .ppx-member-auth-photo {
        width: calc(100% + 40px);
        margin-right: -20px !important;
        margin-left: -20px !important;
    }

    .ppx-member-auth-photo figcaption {
        right: 17px;
        bottom: 17px;
        left: 17px;
        justify-content: center;
    }

    .ppx-member-auth-layout .pus-login-card,
    .ppx-member-auth-layout .pd-login-card {
        padding: 26px 18px !important;
    }

    .ppx-member-command-copy {
        min-height: 350px;
        padding: 27px 20px;
    }

    .ppx-member-primary-action {
        width: 100%;
        justify-content: center;
        padding: 0 13px;
    }

    .ppx-member-primary-action > b {
        display: none;
    }

    .ppx-member-quick-action {
        min-height: 125px;
        grid-template-columns: 1fr;
        justify-items: start;
    }

    .ppx-member-guide {
        padding: 18px 15px;
    }

    .ppx-member-mobile-nav {
        right: 5px;
        left: 5px;
        padding: 5px 3px;
        border-radius: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ppx-member-primary-action,
    .ppx-member-quick-action {
        transition: none !important;
    }
}
