.ri-client-space {
    min-height: 100vh;
    color: #26342a;
    background:
        radial-gradient(circle at 80% 0%, rgba(168,128,59,.22), transparent 34rem),
        linear-gradient(180deg, rgba(17,49,32,.2), transparent 19rem),
        #f1ead8;
    font-family: Inter, "Montserrat", system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}
.ri-client-space * { box-sizing: border-box; }
.ri-kicker {
    margin: 0 0 8px;
    color: #a8803b;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.ri-client-space h1,
.ri-client-space h2,
.ri-client-space h3 {
    margin: 0;
    font-family: Georgia, "Cormorant Garamond", serif;
    color: #1b3624;
    line-height: 1.08;
}
.ri-client-space h1 {
    font-size: clamp(34px, 4.2vw, 58px);
    letter-spacing: .01em;
}
.ri-client-space h2 {
    font-size: clamp(25px, 2.9vw, 34px);
    letter-spacing: .005em;
}
.ri-client-space h3 {
    font-size: 19px;
    line-height: 1.18;
}

.ri-login-card {
    width: min(92vw, 560px);
    margin: 8vh auto;
    padding: clamp(26px, 5vw, 46px);
    border: 1px solid rgba(168,128,59,.42);
    border-radius: 18px;
    background:
        linear-gradient(160deg, rgba(251,247,236,.96), rgba(244,237,219,.96)),
        #fbf7ec;
    box-shadow: 0 34px 80px -48px rgba(27,54,36,.8);
}
.ri-login-card p { color: #5a6357; line-height: 1.65; }
.ri-login-card form { display: grid; gap: 16px; margin-top: 24px; }
.ri-client-space label {
    display: grid;
    gap: 8px;
    color: #6f725f;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.ri-client-space input,
.ri-client-space select {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #d9cfb4;
    border-radius: 9px;
    color: #26342a;
    background: #fffaf0;
    outline: none;
}
.ri-client-space select {
    padding-right: 42px;
    appearance: none;
    background:
        linear-gradient(45deg, transparent 50%, #a8803b 50%) calc(100% - 20px) 50% / 7px 7px no-repeat,
        linear-gradient(135deg, #a8803b 50%, transparent 50%) calc(100% - 15px) 50% / 7px 7px no-repeat,
        #fffaf0;
    font-weight: 700;
}
.ri-client-space textarea {
    width: 100%;
    min-height: 104px;
    padding: 12px 14px;
    border: 1px solid #d9cfb4;
    border-radius: 10px;
    color: #26342a;
    background: #fffaf0;
    line-height: 1.6;
    resize: vertical;
    outline: none;
}
.ri-client-space textarea:focus {
    border-color: #a8803b;
    box-shadow: 0 0 0 3px rgba(168,128,59,.14);
}
.ri-client-space input:focus,
.ri-client-space select:focus {
    border-color: #a8803b;
    box-shadow: 0 0 0 3px rgba(168,128,59,.14);
}
.ri-client-space button,
.ri-resource-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 42px;
    padding: 11px 16px;
    border: 1px solid #1b3624;
    border-radius: 8px;
    color: #fffaf0;
    background: linear-gradient(135deg, #1b3624, #2f5e3c);
    text-decoration: none;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .07em;
    text-transform: uppercase;
    cursor: pointer;
}
.ri-error {
    margin-top: 16px;
    color: #9f1239;
    font-weight: 700;
}
.ri-feedback-ok {
    margin-bottom: 18px;
    padding: 14px 16px;
    border: 1px solid rgba(47,125,84,.4);
    border-radius: 12px;
    color: #1b3624;
    background: #dcefe1;
    font-weight: 800;
}
.ri-privacy-note {
    margin: 12px 0 0;
    padding: 10px 12px;
    border-left: 3px solid rgba(168,128,59,.55);
    border-radius: 8px;
    color: #657066;
    background: rgba(255,250,240,.64);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.55;
}

.ri-client-dashboard {
    display: grid;
    grid-template-columns: 242px minmax(0, 1fr);
    min-height: 100vh;
}
.ri-client-side {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 24px 18px;
    color: #fff7df;
    background:
        linear-gradient(180deg, rgba(3,33,18,.94), rgba(2,49,28,.98)),
        #062717;
    border-right: 1px solid rgba(168,128,59,.55);
    overflow-y: auto;
}
.ri-side-logo {
    width: 74px;
    height: 74px;
    display: grid;
    place-items: center;
    margin: 0 auto 14px;
    border: 1px solid #a8803b;
    border-radius: 999px;
    color: #d9b66f;
    font-size: 32px;
    background: rgba(255,255,255,.05);
}
.ri-side-brand {
    font-family: Georgia, serif;
    font-size: 23px;
    letter-spacing: .08em;
    text-align: center;
    text-transform: uppercase;
}
.ri-side-sub {
    margin-top: 4px;
    color: #e6c47b;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .16em;
    text-align: center;
    text-transform: uppercase;
}
.ri-side-nav {
    display: grid;
    gap: 8px;
    margin: 34px 0;
}
.ri-side-nav a {
    min-height: 42px;
    display: flex;
    align-items: center;
    padding: 11px 14px;
    border: 1px solid transparent;
    border-radius: 10px;
    color: #f8edd0;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}
.ri-side-nav a:hover {
    color: #fff;
    background: rgba(255,255,255,.08);
    border-color: rgba(168,128,59,.4);
}
.ri-side-quote,
.ri-side-help {
    margin-top: 20px;
    padding: 18px;
    border: 1px solid rgba(168,128,59,.55);
    border-radius: 14px;
    color: #f8e7ba;
    background: rgba(0,0,0,.18);
    line-height: 1.65;
}
.ri-side-quote {
    font-family: Georgia, serif;
    font-size: 17px;
    font-style: italic;
    text-align: center;
}
.ri-side-help strong,
.ri-side-help span {
    display: block;
}
.ri-side-help span {
    margin-top: 8px;
    color: #e2d6b8;
    font-size: 13px;
}

.ri-client-main {
    min-width: 0;
    padding: clamp(18px, 3vw, 34px);
}
.ri-profile-cover {
    min-height: 160px;
    display: grid;
    align-content: end;
    padding: clamp(22px, 3.4vw, 36px);
    margin: -34px -34px 20px;
    color: #fffaf0;
    background:
        linear-gradient(90deg, rgba(7,48,27,.95), rgba(7,48,27,.55)),
        radial-gradient(circle at 86% 10%, rgba(255,221,150,.25), transparent 20rem),
        #0b3520;
    border-bottom: 1px solid rgba(168,128,59,.55);
}
.ri-profile-cover h1,
.ri-profile-cover .ri-kicker {
    color: #fffaf0;
    text-shadow: 0 10px 30px rgba(0,0,0,.24);
}
.ri-profile-cover p {
    margin: 8px 0 0;
    color: #f4e7c9;
    font-size: 16px;
}
.ri-profile-card {
    display: grid;
    grid-template-columns: auto minmax(220px, 1fr) minmax(320px, .9fr);
    gap: 16px;
    align-items: center;
    margin-bottom: 22px;
    padding: 18px;
    border: 1px solid #d9cfb4;
    border-radius: 16px;
    background: #fbf7ec;
    box-shadow: 0 18px 40px -34px rgba(27,54,36,.8);
}
.ri-avatar {
    width: 82px;
    height: 82px;
    display: grid;
    place-items: center;
    border: 2px solid #1b3624;
    border-radius: 999px;
    color: #fff7df;
    background: radial-gradient(circle at 35% 24%, #d9b66f, #1b3624 64%);
    font-family: Georgia, serif;
    font-size: 36px;
}
.ri-profile-name p {
    margin: 6px 0 10px;
    color: #5a6357;
}
.ri-status {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 999px;
    color: #fffaf0;
    background: #1f5c34;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .07em;
    text-transform: uppercase;
}
.ri-status.en-attente {
    color: #755519;
    background: #f0dfb8;
}
.ri-status.suspendu {
    color: #fffaf0;
    background: #8b2f2f;
}
.ri-status.actif {
    color: #fffaf0;
    background: #1f5c34;
}
.ri-profile-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
}
.ri-profile-meta span {
    min-height: 62px;
    display: grid;
    gap: 5px;
    padding: 11px 12px;
    border-left: 1px solid #d9cfb4;
    color: #26342a;
    font-size: 13px;
}
.ri-profile-meta strong {
    color: #8f7039;
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ri-home-dashboard {
    background:
        radial-gradient(circle at 90% 8%, rgba(47,125,84,.13), transparent 18rem),
        linear-gradient(135deg, rgba(255,250,240,.98), rgba(248,239,217,.95));
}
.ri-home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 13px;
    margin-top: 18px;
}
.ri-home-card {
    min-height: 190px;
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 18px;
    border: 1px solid rgba(168,128,59,.3);
    border-radius: 14px;
    background: rgba(255,250,240,.82);
    box-shadow: 0 18px 36px -32px rgba(27,54,36,.65);
}
.ri-home-card-primary {
    border-color: rgba(47,125,84,.35);
    background:
        radial-gradient(circle at 92% 10%, rgba(47,125,84,.14), transparent 12rem),
        linear-gradient(180deg, #fffaf0, #eef6e9);
}
.ri-home-card-oracle {
    border-color: rgba(123,83,154,.28);
    background:
        radial-gradient(circle at 92% 10%, rgba(123,83,154,.12), transparent 12rem),
        linear-gradient(180deg, #fffaf0, #f4edf8);
}
.ri-home-card-love {
    border-color: rgba(168,80,98,.28);
    background:
        radial-gradient(circle at 92% 10%, rgba(168,80,98,.12), transparent 12rem),
        linear-gradient(180deg, #fffaf0, #faedf0);
}
.ri-home-card span {
    color: #a8803b;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.ri-home-card h3 {
    color: #173620;
    font-size: 22px;
}
.ri-home-card p {
    flex: 1;
    margin: 0;
    color: #5a6357;
    font-size: 14px;
    line-height: 1.55;
}
.ri-home-card small {
    color: #1f5c34;
    font-size: 12px;
    font-weight: 900;
}
.ri-home-progress {
    display: grid;
    grid-template-columns: minmax(210px, .48fr) 1fr auto;
    gap: 14px;
    align-items: center;
    margin-top: 14px;
    padding: 14px;
    border: 1px solid rgba(168,128,59,.34);
    border-radius: 13px;
    background: rgba(255,250,240,.7);
}
.ri-home-progress strong,
.ri-home-progress span {
    display: block;
}
.ri-home-progress strong {
    color: #173620;
    font-weight: 900;
}
.ri-home-progress span {
    margin-top: 3px;
    color: #657066;
    font-size: 13px;
    font-weight: 700;
}
.ri-home-progress small {
    color: #8a703d;
    font-weight: 900;
}
.ri-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 14px;
}
.ri-quick-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 9px 13px;
    border: 1px solid rgba(168,128,59,.36);
    border-radius: 999px;
    color: #173620;
    background: #fffaf0;
    text-decoration: none;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.ri-quick-actions a:hover {
    transform: translateY(-1px);
    border-color: #a8803b;
    background: #f8efd9;
}

.ri-section {
    margin-bottom: 20px;
    padding: clamp(18px, 2.6vw, 24px);
    border: 1px solid #d9cfb4;
    border-radius: 16px;
    background: rgba(251,247,236,.96);
    box-shadow: 0 14px 32px -28px rgba(27,54,36,.55);
}
.ri-bilan-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}
.ri-bilan-grid article,
.ri-guide-note,
.ri-client-item,
.ri-event {
    padding: 18px 20px;
    border: 1px solid #e0d5bd;
    border-radius: 13px;
    background: #fffaf0;
}
.ri-bilan-grid h3,
.ri-guide-note h3,
.ri-client-item h3,
.ri-event h3 {
    margin-bottom: 10px;
}
.ri-bilan-grid p,
.ri-guide-note p,
.ri-client-item p,
.ri-event p {
    margin: 0 0 11px;
    color: #5a6357;
    line-height: 1.62;
}
.ri-readable-text {
    max-width: 72ch;
    color: #5a6357;
    font-size: 16px;
    line-height: 1.66;
}
.ri-readable-text p {
    margin: 0 0 11px;
}
.ri-readable-text h4 {
    margin: 16px 0 6px;
    color: #1b3624;
    font-family: Inter, "Montserrat", system-ui, sans-serif;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0;
}
.ri-readable-text h4:first-child {
    margin-top: 0;
}
.ri-readable-text strong {
    color: #1b3624;
    font-weight: 800;
}
.ri-readable-list {
    display: grid;
    gap: 7px;
    margin: 0 0 12px;
    padding-left: 1.15rem;
}
.ri-readable-list li {
    padding-left: 2px;
    color: #5a6357;
    line-height: 1.62;
}
.ri-guide-note {
    margin-top: 14px;
    border-color: rgba(168,128,59,.55);
    background: #f8efd9;
}
.ri-public-insights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 14px;
}
.ri-public-insight {
    padding: 18px 20px;
    border: 1px solid rgba(168,128,59,.28);
    border-radius: 13px;
    background: linear-gradient(180deg, #fffbf3, #fbf4e6);
}
.ri-public-insight span {
    display: block;
    margin-bottom: 8px;
    color: #a8803b;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.ri-public-insight h3 {
    margin-bottom: 10px;
}
.ri-public-insight-oracle {
    border-color: rgba(123,83,154,.28);
    background:
        radial-gradient(circle at 100% 0%, rgba(123,83,154,.10), transparent 16rem),
        linear-gradient(180deg, #fffbf3, #f5edf8);
}
.ri-public-insight-love {
    border-color: rgba(168,80,98,.28);
    background:
        radial-gradient(circle at 100% 0%, rgba(168,80,98,.10), transparent 16rem),
        linear-gradient(180deg, #fffbf3, #faeef1);
}
.ri-moon-section {
    background:
        radial-gradient(circle at 92% 12%, rgba(22,151,170,.16), transparent 19rem),
        linear-gradient(135deg, #fffaf0, #f6ecd8);
}
.ri-moon-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
    gap: 14px;
    margin-top: 16px;
}
.ri-moon-card,
.ri-moon-calendar article {
    padding: 18px;
    border: 1px solid rgba(168,128,59,.3);
    border-radius: 14px;
    background: rgba(255,250,240,.78);
    box-shadow: 0 14px 32px -28px rgba(27,54,36,.55);
}
.ri-moon-main {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    align-items: center;
}
.ri-moon-orb {
    width: 86px;
    height: 86px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(168,128,59,.38);
    border-radius: 999px;
    background:
        radial-gradient(circle at 35% 30%, rgba(255,255,255,.92), rgba(247,229,178,.74) 38%, rgba(31,54,36,.94) 39%, #13251a 100%);
    box-shadow: inset -12px -14px 28px rgba(0,0,0,.28), 0 18px 36px -26px rgba(27,54,36,.7);
}
.ri-moon-orb span {
    width: var(--ri-moon-light, 50%);
    height: 72px;
    display: block;
    border-radius: 999px;
    background: rgba(255,250,240,.22);
    filter: blur(.4px);
}
.ri-moon-card > strong,
.ri-moon-calendar h3 {
    display: block;
    margin-bottom: 8px;
    color: #8a703d;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.ri-moon-card h3 {
    margin: 0 0 8px;
}
.ri-moon-card p,
.ri-moon-card small,
.ri-moon-empty {
    color: #5a6357;
}
.ri-moon-card small {
    display: block;
    font-weight: 800;
}
.ri-moon-calendar {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}
.ri-moon-calendar article {
    display: grid;
    gap: 5px;
}
.ri-moon-calendar span {
    color: #a8803b;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.ri-moon-calendar strong {
    color: #1b3624;
    font-size: 17px;
}
.ri-moon-calendar small {
    color: #5a6357;
    font-weight: 700;
}
.ri-moon-empty {
    margin-top: 12px;
    padding: 13px 15px;
    border: 1px dashed rgba(168,128,59,.38);
    border-radius: 12px;
    background: rgba(255,250,240,.64);
}
.ri-timeline,
.ri-ritual-grid {
    display: grid;
    gap: 13px;
    margin-top: 18px;
}
.ri-progress-summary {
    display: grid;
    grid-template-columns: minmax(190px, .48fr) 1fr auto;
    gap: 14px;
    align-items: center;
    margin-top: 16px;
    padding: 14px;
    border: 1px solid rgba(168,128,59,.34);
    border-radius: 13px;
    background: linear-gradient(135deg, #f8efd9, #fff8eb);
}
.ri-progress-summary strong,
.ri-progress-summary span {
    display: block;
}
.ri-progress-summary strong {
    color: #1b3624;
    font-weight: 900;
}
.ri-progress-summary span {
    margin-top: 3px;
    color: #657066;
    font-size: 13px;
    font-weight: 700;
}
.ri-progress-summary small {
    color: #8a703d;
    font-size: 13px;
    font-weight: 900;
}
.ri-progress-track {
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: #e8dec8;
}
.ri-progress-track span {
    display: block;
    width: var(--ri-progress, 0%);
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #1f5c34, #2f7d54);
}
.ri-step-dots {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}
.ri-step-dot {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 7px 10px;
    border: 1px solid #d9cfb4;
    border-radius: 999px;
    color: #6f725f;
    background: #fffaf0;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.ri-step-dot.en_cours {
    color: #8a5a14;
    background: #f0dfb8;
}
.ri-step-dot.valide {
    color: #fffaf0;
    border-color: #2f7d54;
    background: #2f7d54;
}
.ri-timeline {
    position: relative;
    padding-left: 16px;
}
.ri-timeline::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 20px;
    bottom: 20px;
    width: 2px;
    background: linear-gradient(#1b3624, #d9cfb4);
}
.ri-timeline .ri-client-item {
    position: relative;
}
.ri-timeline .ri-client-item::before {
    content: "";
    position: absolute;
    left: -20px;
    top: 22px;
    width: 12px;
    height: 12px;
    border: 2px solid #fffaf0;
    border-radius: 999px;
    background: #a8803b;
}
.ri-ritual-grid {
    grid-template-columns: repeat(2, minmax(300px, 1fr));
}
.ri-item-top {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: start;
}
.ri-item-top span {
    flex: 0 0 auto;
    padding: 7px 10px;
    border-radius: 999px;
    color: #6f725f;
    background: #efe5cf;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}
.ri-client-item.en_cours .ri-item-top span {
    color: #8a5a14;
    background: #f0dfb8;
}
.ri-client-item.valide {
    border-color: rgba(47,125,84,.42);
}
.ri-client-item.valide .ri-item-top span {
    color: #fffaf0;
    background: #2f7d54;
}
.ri-short-note {
    margin-top: 8px !important;
    font-weight: 600;
}
.ri-item-dates {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}
.ri-item-dates small {
    padding: 5px 8px;
    border-radius: 999px;
    color: #705d37;
    background: #f3ead9;
    font-weight: 700;
}
.ri-ritual-date {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    margin-top: 13px;
    padding: 12px 14px;
    border: 1px solid rgba(168,128,59,.38);
    border-radius: 11px;
    background: linear-gradient(135deg, #f8efd9, #fff7e8);
}
.ri-ritual-date strong {
    color: #8a703d;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.ri-ritual-date span {
    color: #1b3624;
    font-size: 15px;
    font-weight: 900;
}
.ri-ritual-moon {
    display: grid;
    gap: 5px;
    margin-top: 9px;
    padding: 11px 13px;
    border: 1px solid rgba(22,151,170,.26);
    border-radius: 11px;
    background: linear-gradient(135deg, #eff9f8, #fffaf0);
}
.ri-ritual-moon strong {
    color: #177c8c;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.ri-ritual-moon span {
    color: #26342a;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
}
.ri-confirmation-status {
    display: grid;
    gap: 5px;
    margin-top: 9px;
    padding: 11px 13px;
    border: 1px solid rgba(47,125,84,.34);
    border-radius: 11px;
    background: linear-gradient(135deg, #eef6e9, #fffaf0);
}
.ri-confirmation-status strong {
    color: #1f5c34;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.ri-confirmation-status span {
    color: #173620;
    font-size: 13px;
    font-weight: 900;
}
.ri-confirmation-form {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 12px;
    align-items: center;
    margin-top: 11px;
    padding: 12px;
    border: 1px solid rgba(47,125,84,.24);
    border-radius: 12px;
    background: rgba(238,246,233,.72);
}
.ri-confirmation-form button {
    min-height: 38px;
    padding: 9px 13px;
    border-color: #1f5c34;
    color: #fffaf0;
    background: linear-gradient(135deg, #1f5c34, #2f7d54);
}
.ri-confirmation-form small {
    color: #5a6357;
    font-size: 12px;
    font-weight: 700;
}
.ri-guide-message {
    margin-top: 14px;
    padding: 15px;
    border: 1px solid rgba(47,125,84,.35);
    border-radius: 11px;
    background: #eef6e9;
}
.ri-guide-message strong {
    display: block;
    margin-bottom: 8px;
    color: #1b3624;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.ri-download-pack {
    margin-top: 14px;
    padding: 15px;
    border: 1px solid rgba(168,128,59,.34);
    border-radius: 12px;
    background: linear-gradient(135deg, #fff8e9, #f7ecd4);
}
.ri-download-pack > strong {
    display: block;
    margin-bottom: 11px;
    color: #8a703d;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.ri-download-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}
.ri-download-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: center;
    min-height: 86px;
    padding: 12px;
    border: 1px solid rgba(168,128,59,.38);
    border-radius: 11px;
    color: #26342a;
    background: rgba(255,250,240,.9);
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.ri-download-card:hover {
    transform: translateY(-2px);
    border-color: #a8803b;
    box-shadow: 0 14px 28px -22px rgba(27,54,36,.6);
}
.ri-download-icon,
.ri-resource-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: #fffaf0;
    background: #1b3624;
    font-size: 11px;
    font-weight: 900;
}
.ri-download-icon svg,
.ri-resource-icon svg {
    width: 21px;
    height: 21px;
}
.ri-download-copy {
    display: grid;
    gap: 4px;
}
.ri-download-copy b {
    color: #1b3624;
    font-size: 13px;
    line-height: 1.25;
}
.ri-download-copy small {
    color: #657066;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
}
.ri-resource-links {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
    margin-top: 14px;
}
.ri-resource-links a {
    gap: 8px;
    min-height: 36px;
    padding: 8px 12px 8px 9px;
    color: #1b3624;
    border-color: #d9cfb4;
    background: #f4eddb;
}
.ri-resource-icon {
    width: 30px;
    height: 30px;
    color: #fffaf0;
    background: #a8803b;
}
.ri-resource-icon svg {
    width: 17px;
    height: 17px;
}
.ri-resource-icon-waze {
    background: #177c8c;
}
.ri-feedback-form {
    display: grid;
    gap: 12px;
    margin-top: 16px;
    padding: 15px;
    border: 1px solid rgba(168,128,59,.3);
    border-radius: 12px;
    background: #fbf2df;
}
.ri-feedback-form label {
    color: #8a703d;
}
.ri-sensation-fieldset {
    margin: 0;
    padding: 0;
    border: 0;
}
.ri-sensation-fieldset legend {
    margin-bottom: 8px;
    color: #8a703d;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.ri-sensation-dropdown {
    position: relative;
}
.ri-sensation-dropdown summary {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    min-height: 44px;
    padding: 10px 13px;
    border: 1px solid rgba(168,128,59,.34);
    border-radius: 10px;
    color: #26342a;
    background: rgba(255,250,240,.84);
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}
.ri-sensation-dropdown summary::-webkit-details-marker {
    display: none;
}
.ri-sensation-dropdown summary::after {
    content: "+";
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: #fffaf0;
    background: #a8803b;
    font-size: 16px;
    line-height: 1;
}
.ri-sensation-dropdown[open] summary::after {
    content: "−";
}
.ri-sensation-dropdown summary small {
    margin-left: auto;
    color: #8a703d;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .02em;
}
.ri-sensation-options {
    display: grid;
    gap: 7px;
    max-height: 230px;
    margin-top: 8px;
    padding: 9px;
    border: 1px solid rgba(168,128,59,.26);
    border-radius: 10px;
    background: rgba(255,250,240,.62);
    overflow-y: auto;
}
.ri-sensation-choice {
    display: flex !important;
    align-items: center;
    gap: 9px;
    min-height: 36px;
    padding: 7px 9px;
    border: 1px solid rgba(168,128,59,.28);
    border-radius: 8px;
    color: #26342a !important;
    background: rgba(255,250,240,.72);
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    cursor: pointer;
}
.ri-sensation-choice input {
    width: 17px !important;
    min-width: 17px;
    height: 17px;
    min-height: 17px !important;
    margin: 0;
    accent-color: #2f7d54;
}
.ri-sensation-choice span {
    line-height: 1.35;
}
.ri-sensation-other {
    display: grid !important;
    gap: 6px;
    margin-top: 2px;
    padding: 9px;
    border: 1px dashed rgba(168,128,59,.36);
    border-radius: 8px;
    color: #8a703d !important;
    background: rgba(255,250,240,.82);
    font-size: 11px !important;
    font-weight: 900 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
}
.ri-sensation-other input {
    width: 100%;
    min-height: 36px !important;
    padding: 8px 10px;
    border: 1px solid rgba(168,128,59,.34);
    border-radius: 8px;
    color: #26342a;
    background: #fffaf0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
}
.ri-feedback-form button {
    justify-self: start;
    min-height: 38px;
    padding: 9px 13px;
    border-color: #a8803b;
    color: #fffaf0;
    background: linear-gradient(135deg, #9b7335, #c99b4b);
}
.ri-event {
    margin-top: 13px;
}
.ri-event-note {
    border-left: 4px solid #a8803b;
}
.ri-event-rituel {
    border-left: 4px solid #2f7d54;
}
.ri-event-parcours {
    border-left: 4px solid #177c8c;
}
.ri-event span {
    color: #a8803b;
    font-size: 12px;
    font-weight: 900;
}
@media (max-width: 1100px) {
    .ri-client-dashboard { grid-template-columns: 1fr; }
    .ri-client-side { position: relative; height: auto; }
    .ri-profile-cover { margin: -18px -18px 20px; }
    .ri-profile-card { grid-template-columns: auto 1fr; }
    .ri-profile-meta { grid-column: 1 / -1; }
    .ri-progress-summary,
    .ri-home-progress { grid-template-columns: 1fr; }
    .ri-home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .ri-profile-card,
    .ri-profile-meta,
    .ri-bilan-grid,
    .ri-public-insights,
    .ri-home-grid,
    .ri-moon-grid,
    .ri-download-grid,
    .ri-ritual-grid {
        grid-template-columns: 1fr;
    }
    .ri-avatar { width: 76px; height: 76px; font-size: 34px; }
    .ri-client-main { padding: 18px; }
}

/* Finition premium: lecture plus douce et interface plus proche du site public. */
.ri-client-space {
    background:
        radial-gradient(circle at 92% 0%, rgba(168,128,59,.24), transparent 32rem),
        radial-gradient(circle at 8% 8%, rgba(47,125,84,.16), transparent 30rem),
        linear-gradient(180deg, #f6efe1 0%, #efe4cf 100%);
}

.ri-client-main {
    max-width: 1480px;
    margin: 0 auto;
}

.ri-client-side {
    background:
        linear-gradient(180deg, rgba(2,27,16,.97), rgba(4,46,27,.98)),
        radial-gradient(circle at 50% 0%, rgba(216,179,92,.18), transparent 18rem),
        #061f13;
    box-shadow: 18px 0 50px -42px rgba(0,0,0,.8);
}

.ri-side-nav a {
    letter-spacing: 0;
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.ri-side-nav a:hover {
    transform: translateX(2px);
}

.ri-side-nav a[href*="espace-client"],
.ri-side-nav a[href="#ri-dashboard"],
.ri-side-nav a[href="#ri-bilan"] {
    background: rgba(255,255,255,.07);
    border-color: rgba(168,128,59,.36);
}

.ri-profile-cover {
    min-height: 190px;
    border-bottom: 1px solid rgba(168,128,59,.5);
    background:
        linear-gradient(90deg, rgba(7,48,27,.97), rgba(7,48,27,.68)),
        radial-gradient(circle at 80% 8%, rgba(216,179,92,.32), transparent 20rem),
        linear-gradient(135deg, #0b3520, #123e28);
}

.ri-profile-card,
.ri-section {
    border-color: rgba(168,128,59,.34);
    background: rgba(255,250,240,.94);
    box-shadow: 0 22px 55px -44px rgba(27,54,36,.8);
}

.ri-profile-meta span {
    border-left-color: rgba(168,128,59,.32);
    background: rgba(248,239,217,.48);
    border-radius: 10px;
}

.ri-section > h2 {
    margin-bottom: 4px;
}

.ri-bilan-grid article,
.ri-guide-note,
.ri-client-item,
.ri-event {
    border-color: rgba(168,128,59,.28);
    background: linear-gradient(180deg, #fffbf3, #fbf4e6);
}

.ri-bilan-grid article {
    min-height: 260px;
}

.ri-bilan-grid h3,
.ri-guide-note h3,
.ri-client-item h3,
.ri-event h3 {
    color: #173620;
    font-weight: 800;
}

.ri-readable-text {
    max-width: none;
    color: #4d5a4f;
}

.ri-readable-text p,
.ri-readable-list li {
    font-size: 15.5px;
}

.ri-readable-text h4,
.ri-readable-text strong {
    color: #173620;
}

.ri-progress-summary {
    background:
        linear-gradient(135deg, rgba(248,239,217,.94), rgba(255,250,240,.96)),
        radial-gradient(circle at 100% 0%, rgba(47,125,84,.12), transparent 16rem);
}

.ri-client-item {
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.ri-client-item:hover {
    transform: translateY(-1px);
    border-color: rgba(168,128,59,.48);
    box-shadow: 0 16px 36px -30px rgba(27,54,36,.7);
}

.ri-ritual-grid .ri-client-item {
    min-height: 220px;
}

.ri-guide-message,
.ri-feedback-form,
.ri-download-pack {
    box-shadow: inset 0 1px 0 rgba(255,255,255,.48);
}

.ri-sensation-dropdown summary {
    background: #fffaf0;
}

.ri-client-space button:hover,
.ri-resource-links a:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px -20px rgba(27,54,36,.7);
}

@media (max-width: 1100px) {
    .ri-client-side {
        position: relative;
        height: auto;
        border-right: 0;
        border-bottom: 1px solid rgba(168,128,59,.45);
    }

    .ri-side-nav {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        margin: 24px 0;
    }
}

@media (max-width: 760px) {
    .ri-profile-cover {
        min-height: 150px;
    }

    .ri-bilan-grid article {
        min-height: auto;
    }

    .ri-side-nav {
        grid-template-columns: 1fr;
    }
}
