/* —— Layout espace client —— */
html:has(.client-space-layout),
body:has(.client-space-layout) {
    background: #efefef;
    overflow-x: hidden;
}

body:has(.client-space-layout) .preloader-bg,
body:has(.client-space-layout) #preloader {
    display: none !important;
}

.client-space-layout {
    --sidebar-width: 218px;
    --topbar-height: 54px;
    --client-surface: #ffffff;
    --client-bg: #efefef;
    --client-border: #ebe6dc;
    --client-gold: #b8860b;
    --client-navy: #1a202c;
    --client-muted: #718096;
    --client-shell-pad: 12px;
    background-color: var(--client-bg) !important;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
    column-gap: 10px;
    min-height: 100vh;
    height: auto;
    padding: var(--client-shell-pad);
    padding-left: 0;
    align-items: start;
}

.client-space-layout .supplier-main {
    min-width: 0;
}

.client-space-layout .supplier-main {
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - (var(--client-shell-pad) * 2));
}

.client-space-layout .supplier-main > .supplier-topbar,
.client-space-layout .supplier-main > .client-topbar {
    flex-shrink: 0;
}

.client-space-layout .supplier-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0 !important;
    padding-top: 10px;
    padding-bottom: 0;
    gap: 10px;
}

body:has(.client-space-layout) .progress-wrap {
    display: none;
}

/* —— Top bar espace client (compact, maquette) —— */
.client-topbar {
    height: var(--topbar-height);
    min-height: var(--topbar-height);
    padding: 0 12px 0 14px;
    border-radius: 14px;
    border: 1px solid #ebe6dc;
    background: #fff;
    box-shadow: 0 6px 22px rgba(26, 32, 44, 0.07);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-width: 0;
}

.client-menu-toggle {
    flex-shrink: 0;
    display: none;
    border-color: #ebe6dc;
}

.client-menu-toggle span {
    background: #1a202c;
}

.client-topbar__lead {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.client-topbar__page-icon {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #f5f0e6;
    border: 1px solid #ebe3d4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.client-topbar__page-icon i {
    font-size: 1rem;
    color: #b8860b;
    line-height: 1;
}

.client-topbar__titles {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.client-topbar__kicker {
    margin: 0;
    font-size: 0.62rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #b8860b;
    line-height: 1.2;
}

.client-topbar__title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 400;
    font-family: "Gilda Display", serif;
    color: var(--client-navy);
    line-height: 1.15;
    letter-spacing: 0;
}

.client-topbar__actions {
    gap: 8px;
}

.client-topbar__divider {
    width: 1px;
    height: 28px;
    background: #e8e4dc;
    flex-shrink: 0;
    margin-right: 2px;
}

.client-topbar__icon-btn {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    border: 1px solid #ebe6dc;
    font-size: 0.92rem;
    color: #b8860b;
}

.client-topbar__icon-btn .supplier-icon-btn__badge {
    top: -5px;
    right: -5px;
    min-width: 15px;
    height: 15px;
    font-size: 9px;
    line-height: 15px;
}

.client-topbar__profile {
    width: 36px;
    height: 36px;
    box-shadow: inset 0 0 0 2px rgba(184, 134, 11, 0.35);
}

/* —— Sidebar espace client (compact, maquette) —— */

.client-sidebar {
    margin: 0 0 0 var(--client-shell-pad);
    padding: 12px 10px;
    border-radius: 16px;
    background: #fafaf8;
    border: 1px solid #ebe6dc;
    box-shadow: 0 8px 28px rgba(26, 32, 44, 0.08);
    color: #1a202c;
    display: flex;
    flex-direction: column;
    height: calc(100vh - (var(--client-shell-pad) * 2));
    min-height: calc(100vh - (var(--client-shell-pad) * 2));
    max-height: calc(100vh - (var(--client-shell-pad) * 2));
    gap: 0;
    box-sizing: border-box;
}

.client-sidebar__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 2px 4px 10px;
}

.client-sidebar__logo {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #ebe6dc;
    box-shadow: 0 2px 8px rgba(26, 32, 44, 0.06);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.client-sidebar__logo img {
    width: 34px;
    height: auto;
    display: block;
}

.client-sidebar__titles {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.client-sidebar__titles strong {
    font-size: 0.92rem;
    font-weight: 700;
    color: #1a202c;
    line-height: 1.2;
    letter-spacing: 0.01em;
}

.client-sidebar__titles span {
    font-size: 0.72rem;
    color: #718096;
    line-height: 1.2;
}

.client-sidebar__divider {
    height: 1px;
    background: #e8e4dc;
    margin: 0 2px 8px;
}

.client-sidebar__nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1 1 auto;
    min-height: 0;
    padding-bottom: 6px;
}

.client-sidebar__link,
.client-sidebar__logout {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 7px 10px 7px 12px;
    border-radius: 10px;
    text-decoration: none;
    color: #2d3748;
    font-size: 0.84rem;
    line-height: 1.2;
    border: 1px solid transparent;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.client-sidebar__link::before,
.client-sidebar__link::after,
.client-sidebar__logout::before,
.client-sidebar__logout::after {
    content: none !important;
    display: none !important;
}

.client-sidebar__link:hover {
    background: rgba(245, 240, 230, 0.85);
    color: #1a202c;
    text-decoration: none;
}

.client-sidebar__link.is-active {
    background: #f5f0e6;
    color: #1a202c;
    font-weight: 600;
    border-color: rgba(184, 134, 11, 0.12);
}

.client-sidebar__link.is-active::before {
    content: "" !important;
    display: block !important;
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: linear-gradient(180deg, #c9a227 0%, #9a7b2e 100%);
}

.client-sidebar__link-icon {
    flex: 0 0 18px;
    width: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.client-sidebar__link-icon i {
    font-size: 0.95rem;
    color: #b8860b;
    line-height: 1;
}

.client-sidebar__link-label,
.client-sidebar__logout-label {
    flex: 1 1 auto;
    min-width: 0;
}

.client-sidebar__logout {
    margin-top: auto;
    cursor: pointer;
}

.client-sidebar__logout:hover {
    background: rgba(254, 226, 226, 0.35);
    text-decoration: none;
    color: #1a202c;
}

.client-sidebar__logout-icon {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #fee2e2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.client-sidebar__logout-icon i {
    font-size: 0.88rem;
    color: #dc2626;
    line-height: 1;
}

.client-space-overlay.supplier-overlay {
    z-index: 25;
}

@media (max-width: 991px) {
    body:has(.client-space-layout).supplier-menu-open {
        overflow: hidden;
    }

    .client-space-layout {
        grid-template-columns: 1fr;
        column-gap: 0;
        padding: 10px;
        padding-left: 10px;
    }

    .client-space-layout .client-sidebar {
        margin: 0;
        position: fixed;
        top: 0;
        left: 0;
        width: min(82vw, 260px);
        height: 100vh;
        max-height: 100vh;
        min-height: 100vh;
        border-radius: 0 16px 16px 0;
        padding: 16px 12px;
        z-index: 30;
        transform: translateX(-104%);
        transition: transform 0.28s ease;
        overflow-y: auto;
    }

    body.supplier-menu-open .client-space-layout .client-sidebar {
        transform: translateX(0);
    }

    body.supplier-menu-open .client-space-layout .client-space-overlay {
        opacity: 1;
        pointer-events: auto;
    }

    .client-menu-toggle {
        display: inline-flex;
    }

    .client-topbar {
        padding: 0 10px;
    }

    .client-topbar__divider {
        display: none;
    }

    .client-space-layout .supplier-dashboard-top {
        grid-template-columns: 1fr;
        grid-template-areas:
            "welcome"
            "metrics"
            "side";
    }

    .client-space-layout .supplier-metrics {
        grid-template-columns: 1fr;
    }

    .client-space-layout .supplier-land-grid {
        grid-template-columns: 1fr;
    }

    .client-space-layout .supplier-land-panel .supplier-search {
        width: 100%;
    }

    .client-space-layout .supplier-section-head h2 {
        font-size: clamp(1.15rem, 4vw, 1.35rem);
    }

    .evenement-detail__columns {
        grid-template-columns: 1fr;
    }

    .compromis-plan-table-shell,
    .mutation-timeline-scroller {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .mutation-tabs,
    .compromis-tabs {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        max-width: 100%;
    }

    .mutation-tab,
    .compromis-tab {
        flex: 0 0 auto;
        white-space: nowrap;
    }
}

/* Espace client specific tweaks */

.supplier-list-card__status {
    color: #415a24;
    background: #edf4e3;
    border-color: #d7e6c0;
}

.supplier-list-card__status--validation {
    color: #ffffff;
    background: #f39c12;
    border-color: #f39c12;
}

.supplier-list-card__status--payment {
    color: #ffffff;
    background: #1e88e5;
    border-color: #1e88e5;
}

.supplier-list-card__status--complete {
    color: #ffffff;
    background: #30a122;
    border-color: #30a122;
}

.client-user-menu {
    position: relative;
}

.client-user-menu__dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 170px;
    background: #fff;
    border: 1px solid #e7dfd2;
    border-radius: 10px;
    padding: 0.4rem;
    z-index: 40;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.client-user-menu.is-open .client-user-menu__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.client-user-menu__dropdown a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #2f2b24;
    text-decoration: none;
    padding: 0.45rem 0.55rem;
    border-radius: 8px;
}

.client-user-menu__dropdown a:hover {
    background: rgba(170, 132, 83, 0.16);
}

.client-user-menu__name {
    padding: 6px 10px;
    margin: 0;
    font-size: 0.82rem;
    color: var(--client-navy);
    font-weight: 600;
    border-bottom: 1px solid #ebe6dc;
}

.supplier-land-panel .supplier-search {
    margin-bottom: 0.95rem;
}

/* —— Panneau principal & contenu —— */
.client-space-content--bare {
    padding-top: 8px;
}

.client-space-page {
    flex: 0 1 auto;
    min-height: 0;
}

.client-space-panel {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 0 1 auto;
    background: var(--client-surface);
    border: 1px solid var(--client-border);
    border-radius: 14px;
    padding: 14px 14px 12px;
    box-shadow: 0 6px 22px rgba(26, 32, 44, 0.06);
}

.client-space-panel__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.client-space-panel__intro {
    flex: 1 1 200px;
    min-width: 0;
}

.client-space-panel__title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.client-space-panel__title-row h2 {
    flex: 1 1 auto;
    min-width: 0;
}

.client-space-back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-shrink: 0;
    border-radius: 8px;
    border: 1px solid #d4bc8a;
    background: #fff;
    color: #8a6a35;
    text-decoration: none;
    padding: 5px 11px;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.18s ease;
}

.client-space-back-link i {
    font-size: 0.72rem;
    line-height: 1;
}

.client-space-back-link:hover {
    text-decoration: none;
    background: #faf6ef;
    color: #6f5428;
    border-color: #c9a227;
}

.client-space-panel__head h2 {
    margin: 0;
    color: var(--client-navy);
    font-family: "Gilda Display", serif;
    font-size: clamp(1.2rem, 1.6vw, 1.5rem);
    font-weight: 400;
    line-height: 1.15;
}

.client-space-panel__head p {
    margin: 5px 0 0;
    color: var(--client-muted);
    font-size: 0.82rem;
    line-height: 1.4;
}

.client-space-panel__body {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    min-height: 0;
    width: 100%;
}

.client-space-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 9px;
    padding: 7px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.client-space-btn--primary {
    background: linear-gradient(180deg, #c9a227 0%, #a67c2e 100%);
    border-color: #9a7b2e;
    color: #fff;
    box-shadow: 0 2px 8px rgba(154, 123, 46, 0.28);
}

.client-space-btn--primary:hover {
    background: linear-gradient(180deg, #d4ad32 0%, #b08834 100%);
    color: #fff;
    text-decoration: none;
}

.client-space-btn--outline {
    background: #fff;
    border-color: #d4bc8a;
    color: #8a6a35;
}

.client-space-btn--outline:hover {
    background: #faf6ef;
    color: #6f5428;
    text-decoration: none;
}

.client-space-state {
    margin: 0;
    font-size: 0.84rem;
    line-height: 1.45;
    padding: 10px 12px;
    border-radius: 9px;
}

.client-space-state--loading {
    color: #5a534c;
    background: #f8f6f2;
    border: 1px dashed var(--client-border);
}

.client-space-state--error {
    color: #b42318;
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.client-space-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 28px 20px 32px;
    border: 1px dashed #d8d0c4;
    border-radius: 12px;
    background: #fcfbfa;
    min-height: 220px;
}

.client-space-empty__illus {
    position: relative;
    width: 72px;
    height: 72px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-space-empty__illus > i:first-of-type {
    font-size: 2.4rem;
    color: #c9a227;
    opacity: 0.85;
}

.client-space-empty__illus-search {
    position: absolute;
    right: -4px;
    bottom: 2px;
    font-size: 1.1rem !important;
    color: #9a7b2e !important;
    opacity: 0.7 !important;
}

.client-space-empty__title {
    margin: 0 0 6px;
    font-family: "Gilda Display", serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--client-navy);
}

.client-space-empty__desc {
    margin: 0 0 14px;
    max-width: 36ch;
    font-size: 0.82rem;
    color: var(--client-muted);
    line-height: 1.45;
}

.client-space-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    flex-shrink: 0;
    margin-top: auto;
    width: 100%;
    padding: 10px 4px 0;
    font-size: 0.72rem;
    color: #a0aec0;
    background: transparent;
}

.client-space-footer__secure {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.client-space-footer__secure i {
    font-size: 0.78rem;
    color: #b8860b;
}

.client-space-footer__copy {
    margin: 0;
}

.client-space-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(272px, 1fr));
    gap: 10px;
}

.client-space-card {
    background: #fff;
    border: 1px solid #ebe6dc;
    border-radius: 11px;
    padding: 12px;
    box-shadow: 0 2px 6px rgba(26, 32, 44, 0.04);
    transition: box-shadow 0.18s ease, border-color 0.18s ease;
}

.client-space-card:hover {
    border-color: #e0d6c8;
    box-shadow: 0 4px 14px rgba(26, 32, 44, 0.07);
}

.client-space-card h3 {
    margin: 0;
    font-size: 0.94rem;
    font-weight: 600;
    color: var(--client-navy);
}

.client-space-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.client-space-card__meta {
    margin: 0 0 8px;
    color: var(--client-muted);
    font-size: 0.8rem;
    line-height: 1.45;
}

.client-space-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 4px;
}

.client-space-list li {
    font-size: 0.8rem;
    color: #4a5568;
}

.client-space-list strong {
    color: #2a241e;
}

.client-pill {
    display: inline-flex;
    align-items: center;
    font-size: 0.72rem;
    font-weight: 600;
    border: 1px solid #d5c3ab;
    background: #f7efe3;
    color: #8a5f2f;
    border-radius: 999px;
    padding: 3px 8px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.client-pill--confirmed,
.client-pill--done {
    background: #e8f7eb;
    border-color: #b4dfbc;
    color: #21743a;
}

.client-space-tags {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.client-space-actions {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.client-space-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid #d4bc8a;
    background: #fff;
    color: #8a6a35;
    text-decoration: none;
    padding: 5px 11px;
    font-size: 0.78rem;
    font-weight: 600;
    transition: all 0.18s ease;
}

.client-space-link-btn:hover {
    text-decoration: none;
    background: #faf6ef;
    color: #6f5428;
    border-color: #c9a227;
}

.client-space-simulation .client-space-card {
    max-width: 520px;
}

.client-space-simulation .client-space-card p {
    margin: 6px 0 0;
    font-size: 0.82rem;
    color: var(--client-muted);
    line-height: 1.45;
}

.client-space-layout .supplier-dashboard-top {
    gap: 10px;
}

.client-space-layout .supplier-welcome {
    border-radius: 14px;
    padding: 14px 16px;
}

.client-space-layout .supplier-welcome h2 {
    font-family: "Gilda Display", serif;
    font-size: clamp(1.2rem, 1.6vw, 1.45rem);
}

.client-space-layout .supplier-card,
.client-space-layout .supplier-list-card {
    border-radius: 11px;
}

.client-space-layout .supplier-land-panel {
    background: var(--client-surface);
    border: 1px solid var(--client-border);
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 6px 22px rgba(26, 32, 44, 0.06);
}

.client-chip {
    border: 1px solid #e4d6c5;
    background: #fcf8f3;
    color: #6d563d;
    border-radius: 999px;
    padding: 3px 10px;
    font-size: 0.79rem;
}

.client-space-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
}

.client-space-detail {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.client-space-stack {
    display: grid;
    gap: 10px;
}

.client-space-subcard {
    border: 1px solid #eadfce;
    border-radius: 9px;
    padding: 10px;
    background: #fff;
}

.client-space-subcard h4 {
    margin: 0 0 8px;
    font-size: 0.95rem;
    color: #352819;
}

.client-space-subcard__notes {
    margin-top: 8px;
}

.mutation-detail {
    gap: 14px;
}

.mutation-summary__head h3 {
    margin: 0;
}

.mutation-summary__step {
    margin: 4px 0 0;
    font-size: 0.82rem;
    color: #718096;
    line-height: 1.35;
}

.mutation-summary__badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.mutation-summary__delai {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin: 10px 0 4px;
    padding: 8px 10px;
    background: #faf8f4;
    border: 1px solid #f0ebe3;
    border-radius: 8px;
    font-size: 0.76rem;
    color: #4a5568;
}

.mutation-summary__delai strong {
    color: #8a6a35;
    font-weight: 600;
    margin-right: 4px;
}

.mutation-summary__compteur {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    color: #2d3748;
}

.mutation-delai {
    display: inline-flex;
    align-items: center;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 3px 8px;
    line-height: 1.2;
    border: 1px solid transparent;
}

.mutation-delai--ok {
    background: #e8f7eb;
    border-color: #b4dfbc;
    color: #21743a;
}

.mutation-delai--warn {
    background: #fef6e7;
    border-color: #f0d9a8;
    color: #b45309;
}

.mutation-delai--danger {
    background: #fef2f2;
    border-color: #fecaca;
    color: #b91c1c;
}

.mutation-delai--muted {
    background: #f1f5f9;
    border-color: #e2e8f0;
    color: #64748b;
}

.mutation-tl-suivi.is-highlighted {
    border-color: #c9a227;
    background: #fffdf6;
    box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.35);
}

.client-space-subcard.is-highlighted {
    border-color: #c9a227;
    box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.25);
}

.mutation-suivi-badge {
    display: inline-flex;
    margin-left: 8px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #8a6a35;
    background: #fef6e7;
    border: 1px solid #f0d9a8;
    border-radius: 999px;
    padding: 2px 7px;
    vertical-align: middle;
}

.mutation-timeline-empty {
    margin: 0;
    font-size: 0.85rem;
    color: #718096;
}

.mutation-summary__meta {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 8px;
}

.mutation-summary__meta li {
    display: flex;
    flex-direction: column;
    gap: 2px;
    border: 1px dashed #eadfce;
    border-radius: 8px;
    padding: 8px;
    background: #fff;
}

.mutation-summary__meta span {
    color: #7b7268;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.mutation-summary__meta strong {
    color: #2d251c;
    font-size: 0.9rem;
}

.mutation-tabs {
    display: inline-flex;
    gap: 0;
    border: 0;
    border-bottom: 1px solid #ddd2c2;
    border-radius: 0;
    margin-bottom: 0;
    padding: 0;
}

.mutation-tab {
    border: 0;
    background: transparent;
    color: #6a5d4f;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 10px 18px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
    border-radius: 0;
}

.mutation-tab:hover {
    color: #4a3824;
}

.mutation-tab.is-active {
    background: transparent;
    color: #3f3121;
    font-weight: 600;
    border-bottom-color: #8b6a45;
}

.mutation-tabs-card {
    overflow: hidden;
    padding-top: 4px !important;
}

.mutation-timeline-wrap {
    margin-top: 14px;
    background: #f6f1e9;
    border: 1px solid #e3d8c8;
    border-radius: 8px;
    padding: 14px 12px 16px;
}

.mutation-timeline-title {
    margin: 0 0 14px;
    font-family: "Barlow", Arial, sans-serif;
    text-transform: uppercase;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #6b4f30;
}

.mutation-timeline-scroller {
    overflow-x: auto;
    padding-bottom: 4px;
}

.mutation-timeline {
    position: relative;
    min-width: max-content;
    padding: 8px 4px 12px;
}

.mutation-timeline__rail {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: #c9b8a5;
    transform: translateY(-50%);
    z-index: 0;
}

.mutation-timeline__steps {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: stretch;
}

/* —— Colonne étape —— */
.mutation-tl-col {
    flex: 0 0 214px;
    display: grid;
    grid-template-rows: 1fr 48px 1fr;
    align-items: center;
    min-height: 260px;
}

.mutation-tl-col--top .mutation-tl-col__card {
    grid-row: 1;
    align-self: end;
    padding-bottom: 0;
}

.mutation-tl-col--top .mutation-tl-col__axis {
    grid-row: 2;
}

.mutation-tl-col--top .mutation-tl-label {
    grid-row: 3;
    align-self: start;
    margin-top: 10px;
}

.mutation-tl-col--bottom .mutation-tl-label {
    grid-row: 1;
    align-self: end;
    margin-bottom: 10px;
}

.mutation-tl-col--bottom .mutation-tl-col__axis {
    grid-row: 2;
}

.mutation-tl-col--bottom .mutation-tl-col__card {
    grid-row: 3;
    align-self: start;
    padding-top: 0;
}

.mutation-tl-col__card {
    position: relative;
    padding: 0 10px;
}

.mutation-tl-col--top .mutation-tl-col__card::after,
.mutation-tl-col--bottom .mutation-tl-col__card::after {
    content: "";
    position: absolute;
    left: 50%;
    width: 1px;
    background: #c9b8a5;
    transform: translateX(-50%);
    z-index: 0;
}

.mutation-tl-col--top .mutation-tl-col__card::after {
    bottom: -26px;
    height: 26px;
}

.mutation-tl-col--bottom .mutation-tl-col__card::after {
    top: -26px;
    height: 26px;
}

.mutation-tl-col__axis {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.mutation-tl-col__tick {
    flex: 1;
    height: 10px;
    position: relative;
}

.mutation-tl-col__tick.is-hidden {
    visibility: hidden;
}

.mutation-tl-col__tick::before {
    content: "";
    position: absolute;
    top: 50%;
    width: 1px;
    height: 12px;
    background: #c9b8a5;
    transform: translateY(-50%);
}

.mutation-tl-col__tick--left::before {
    right: 0;
}

.mutation-tl-col__tick--right::before {
    left: 0;
}

.mutation-tl-node {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    border: 2px dashed #c4b49a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    line-height: 1;
    color: #fff;
    z-index: 2;
    box-sizing: border-box;
}

.mutation-tl-node.is-done {
    border: none;
    background: #8f6a45;
}

.mutation-tl-node.is-done .ti-check {
    font-size: 11px;
    font-weight: 700;
}

.mutation-tl-node.is-current {
    border-color: #a88962;
    border-style: dashed;
}

/* —— Libellé étape (pill) —— */
.mutation-tl-label {
    justify-self: center;
    text-align: center;
    font-family: "Barlow", Arial, sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #4a3824;
    background: linear-gradient(180deg, #faf6f0 0%, #efe6d8 100%);
    border: 1px solid #e0d2c0;
    border-radius: 6px;
    padding: 6px 16px 8px;
    box-shadow: 0 2px 6px rgba(74, 56, 36, 0.12);
    border-bottom: 4px solid #6b4f30;
    white-space: nowrap;
    max-width: calc(100% - 8px);
    overflow: hidden;
    text-overflow: ellipsis;
}

/* —— Carte Suivis —— */
.mutation-tl-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e0d5c8;
    box-shadow: 0 2px 10px rgba(40, 28, 12, 0.07);
    padding: 14px 16px 12px;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    width: 100%;
    box-sizing: border-box;
}

.mutation-tl-card__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.mutation-tl-card__tag {
    font-family: "Barlow", Arial, sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: #3d5a73;
    letter-spacing: 0;
    flex-shrink: 0;
}

.mutation-tl-card--label-bottom {
    padding-bottom: 10px;
}

.mutation-tl-card--label-bottom .mutation-tl-card__tag {
    margin-top: auto;
    padding-top: 6px;
}

.mutation-tl-card--empty .mutation-tl-card__content {
    flex: 1;
}

.mutation-tl-card__empty {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    min-height: 52px;
    font-size: 0.95rem;
    font-weight: 400;
    color: #a39b92;
    text-align: center;
}

.mutation-tl-card__rules {
    flex-shrink: 0;
}

.mutation-tl-card__rule {
    border: 0;
    border-top: 1px dashed #ddd4c8;
    margin: 0 0 5px;
    height: 0;
}

.mutation-tl-card__rule:last-child {
    margin-bottom: 0;
}

.mutation-tl-card__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mutation-tl-suivi {
    display: flex;
    gap: 10px;
    align-items: stretch;
    border: 1px solid #e8dfd2;
    border-radius: 6px;
    padding: 0;
    background: #fff;
    overflow: hidden;
}

.mutation-tl-suivi__date {
    flex: 0 0 54px;
    background: #8f6a45;
    color: #fff;
    border-radius: 0;
    padding: 8px 4px;
    font-size: 0.6rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mutation-tl-suivi__text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px 10px 8px 0;
}

.mutation-tl-suivi__text strong {
    font-size: 0.7rem;
    color: #4a3824;
    letter-spacing: 0.03em;
    display: block;
    margin-bottom: 2px;
}

.mutation-tl-suivi__text span {
    font-size: 0.72rem;
    color: #5c554c;
    line-height: 1.35;
    display: block;
}

/* —— Étape finale —— */
.mutation-tl-card--final {
    border: 2px dashed #d5cbb9;
    background: #faf7f2;
    text-align: center;
    min-height: 100px;
    justify-content: center;
}

.mutation-tl-card__final-flag {
    margin: 0;
    font-size: 1.1rem;
}

.mutation-tl-card__final-title {
    margin: 4px 0;
    font-size: 0.82rem;
    font-weight: 700;
    color: #4a3824;
    letter-spacing: 0.04em;
}

.mutation-tl-card__final-note {
    margin: 0;
    font-size: 0.7rem;
    color: #7a7268;
    font-style: italic;
    line-height: 1.4;
}

.mutation-tl-col--final.is-done .mutation-tl-card--final {
    border-style: solid;
    border-color: #c4b49a;
}

/* Annule le `header { position: fixed }` du thème public sur l'espace client */
.supplier-layout header {
    position: static;
    width: auto;
    left: auto;
    top: auto;
    z-index: auto;
    padding: 0;
}

/* —— Détail compromis (maquette) —— */
.client-space-content--bare {
    padding-top: 0.65rem;
}

.compromis-detail {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.compromis-detail__state {
    margin: 0;
    color: #5f5a53;
    font-size: 0.92rem;
}

.compromis-detail__state--error {
    color: #b42318;
}

.compromis-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 16px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 10px;
    padding: 10px 14px;
    box-shadow:
        0 4px 16px rgba(33, 24, 11, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.compromis-summary__main {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1 1 280px;
}

.compromis-summary__icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: #f3e8d8;
    color: #8b6a45;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.compromis-summary__ref {
    min-width: 0;
}

.compromis-summary__ref-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 3px;
}

.compromis-summary__ref strong {
    font-size: 0.95rem;
    color: #2b241d;
    font-weight: 700;
    line-height: 1.2;
}

.compromis-summary__status {
    display: inline-flex;
    align-items: center;
    font-size: 0.65rem;
    font-weight: 600;
    border: 1px solid #e0d2c0;
    background: #f7efe3;
    color: #8a5f2f;
    border-radius: 999px;
    padding: 2px 8px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.compromis-summary__meta-line {
    margin: 0;
    font-size: 0.78rem;
    color: #6a635a;
    line-height: 1.35;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.compromis-summary__dot {
    color: #c5bdb3;
}

.compromis-summary__figures {
    display: grid;
    grid-template-columns: repeat(2, minmax(108px, 1fr));
    gap: 6px;
    flex-shrink: 0;
    min-width: 220px;
}

.compromis-summary__chip {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1px;
    padding: 5px 8px;
    border-radius: 8px;
    background: rgba(246, 241, 233, 0.9);
    border: 1px solid #ebe3d6;
    min-width: 0;
}

.compromis-summary__chip-label {
    font-size: 0.62rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #9a9288;
}

.compromis-summary__chip strong {
    font-size: 0.82rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: #2d251c;
    white-space: nowrap;
}

.compromis-summary__chip--warning {
    background: rgba(253, 244, 236, 0.95);
    border-color: rgba(199, 106, 26, 0.25);
}

.compromis-summary__chip--warning strong {
    color: #c76a1a;
}

.compromis-summary__chip--paid {
    background: rgba(244, 251, 246, 0.95);
    border-color: rgba(45, 138, 71, 0.22);
}

.compromis-summary__chip--paid strong {
    color: #2d8a47;
}

.compromis-summary__chip--next {
    background: rgba(246, 242, 252, 0.95);
    border-color: rgba(107, 79, 168, 0.2);
}

.compromis-summary__chip-next-value {
    color: #5b4a8a;
    font-size: 0.72rem;
    font-weight: 600;
    text-align: right;
    line-height: 1.25;
    white-space: normal;
}

.compromis-summary__chip-pct {
    font-style: normal;
    font-weight: 500;
    font-size: 0.72rem;
    color: #6b9a78;
}

.compromis-info-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.compromis-info-row--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.compromis-tabs-card {
    background: rgba(255, 252, 248, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 14px;
    padding: 10px 12px 12px;
    box-shadow:
        0 8px 32px rgba(33, 24, 11, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.compromis-tabs {
    display: inline-flex;
    gap: 0;
    border-bottom: 1px solid #ddd2c2;
    margin-bottom: 10px;
    width: 100%;
}

.compromis-tab {
    border: 0;
    background: transparent;
    color: #6a5d4f;
    font-size: 0.86rem;
    font-weight: 500;
    padding: 8px 14px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.compromis-tab:hover {
    color: #4a3824;
}

.compromis-tab.is-active {
    color: #3f3121;
    font-weight: 600;
    border-bottom-color: #8b6a45;
}

.compromis-tab__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: #f3e8d8;
    color: #8b6a45;
    font-size: 0.72rem;
    font-weight: 700;
}

.compromis-tab.is-active .compromis-tab__count {
    background: #8b6a45;
    color: #fff;
}

.compromis-tab-panel {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.compromis-tab-panel--flush {
    gap: 0;
    margin-top: 2px;
}

.compromis-historique-table {
    min-width: 640px;
}

.compromis-historique-total {
    margin: 4px 0 0;
    text-align: right;
    font-size: 0.88rem;
    color: #6a635a;
}

.compromis-historique-total strong {
    color: #21743a;
    font-weight: 700;
}

.compromis-info-card {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e8edf2;
    border-radius: 10px;
    box-shadow: 0 4px 18px rgba(30, 58, 95, 0.07);
    min-height: 0;
}

.compromis-info-card--lots {
    border-left: 3px solid #3b82f6;
}

.compromis-info-card--reservations {
    border-left: 3px solid #22c55e;
}

.compromis-info-card__inner {
    position: relative;
    z-index: 1;
    padding: 14px 52px 14px 14px;
}

.compromis-info-card__watermark {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 0;
    font-size: 3.6rem;
    line-height: 1;
    pointer-events: none;
    opacity: 0.12;
}

.compromis-info-card--lots .compromis-info-card__watermark {
    color: #3b82f6;
}

.compromis-info-card--reservations .compromis-info-card__watermark {
    color: #22c55e;
}

.compromis-info-card__head {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

.compromis-info-card__title-wrap {
    min-width: 0;
}

.compromis-info-card__head h2 {
    margin: 0 0 6px;
    font-family: "Gilda Display", serif;
    font-size: 1.05rem;
    font-weight: 400;
    color: #1e3a5f;
    line-height: 1.2;
}

.compromis-info-card__rule {
    display: block;
    width: 36px;
    height: 3px;
    border-radius: 999px;
}

.compromis-info-card--lots .compromis-info-card__rule {
    background: #3b82f6;
}

.compromis-info-card--reservations .compromis-info-card__rule {
    background: #22c55e;
}

.compromis-info-card__icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.compromis-info-card--lots .compromis-info-card__icon {
    background: #eff6ff;
    color: #2563eb;
}

.compromis-info-card--reservations .compromis-info-card__icon {
    background: #f0fdf4;
    color: #16a34a;
}

.compromis-info-card__text {
    margin: 0 0 4px;
    font-size: 0.84rem;
    color: #4a5568;
    line-height: 1.4;
}

.compromis-info-card__text:last-child {
    margin-bottom: 0;
}

.compromis-plan-card__head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.compromis-plan-card__head h2 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #2b241d;
}

.compromis-plan-card__icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f6f1e9;
    color: #8b6a45;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Plan de paiement — liste compacte (pas tableau HTML) */
.compromis-schedule {
    border: 1px solid rgba(235, 227, 214, 0.85);
    border-radius: 10px;
    background: rgba(250, 247, 242, 0.5);
    padding: 4px 4px 6px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.compromis-schedule__legend {
    display: grid;
    grid-template-columns: 28px 1fr 34px;
    align-items: center;
    gap: 6px;
    padding: 2px 6px 4px 2px;
    margin-bottom: 2px;
}

.compromis-schedule__legend-body {
    display: grid;
    grid-template-columns: minmax(108px, 1fr) minmax(120px, 1.1fr);
    gap: 8px;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #a39b92;
}

.compromis-schedule__legend-pay {
    text-align: right;
}

.compromis-schedule__legend-actions {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #a39b92;
    text-align: center;
}

.compromis-schedule__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.compromis-schedule-item {
    display: grid;
    grid-template-columns: 28px 1fr 34px;
    align-items: center;
    gap: 6px;
    padding: 4px 6px 4px 2px;
    border-radius: 7px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.62);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 1px 4px rgba(33, 24, 11, 0.04);
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.compromis-schedule-item:hover {
    border-color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 4px 14px rgba(33, 24, 11, 0.06);
}

.compromis-schedule-item.is-settled {
    background: rgba(244, 251, 246, 0.75);
    border-color: rgba(186, 224, 196, 0.65);
}

.compromis-schedule-item__rail {
    position: relative;
    width: 28px;
    min-height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
}

.compromis-schedule-item__connector {
    position: absolute;
    left: 13px;
    top: calc(50% + 9px);
    bottom: -2px;
    width: 2px;
    background: #e0d8cc;
    z-index: 0;
    pointer-events: none;
}

.compromis-schedule-item__connector.is-settled {
    background: #9ed4ad;
}

.compromis-step {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #ddd4c8;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    box-sizing: border-box;
    color: transparent;
}

.compromis-step.is-settled {
    border-color: #2d8a47;
    background: linear-gradient(145deg, #3fbf5f 0%, #2d8a47 100%);
    color: #fff;
    font-size: 10px;
    box-shadow: 0 1px 6px rgba(45, 138, 71, 0.25);
}

.compromis-schedule-item__body {
    display: grid;
    grid-template-columns: minmax(108px, 1fr) minmax(120px, 1.1fr);
    gap: 8px;
    align-items: center;
    min-width: 0;
}

.compromis-schedule-item__lead {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.compromis-schedule-item__index {
    flex: 0 0 auto;
    font-size: 0.7rem;
    font-weight: 700;
    color: #b5ada3;
    line-height: 1;
}

.compromis-schedule-item__date {
    font-size: 0.78rem;
    font-weight: 600;
    color: #2d251c;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.compromis-schedule-item__pay {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.compromis-schedule-item__pay-line {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    font-size: 0.76rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: #2d251c;
    white-space: nowrap;
}

.compromis-schedule-item__pay-sep {
    font-size: 0.68rem;
    font-weight: 500;
    color: #c5bdb3;
}

.compromis-schedule-item__pay-line strong.is-zero {
    color: #2d8a47;
}

.compromis-row-progress {
    height: 3px;
    border-radius: 999px;
    background: rgba(224, 216, 204, 0.55);
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(33, 24, 11, 0.06);
}

.compromis-row-progress__fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #3fbf5f 0%, #6aab6e 40%, #8b6a45 100%);
    transition: width 0.35s ease;
}

.compromis-schedule-item.is-settled .compromis-row-progress__fill {
    background: linear-gradient(90deg, #3fbf5f 0%, #2d8a47 100%);
}

.compromis-schedule-item__actions {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Historique — tableau classique compact */
.compromis-plan-table-shell {
    border: 1px solid #ebe3d6;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.compromis-plan-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 560px;
}

.compromis-plan-table th,
.compromis-plan-table td {
    padding: 10px 14px;
    text-align: left;
    font-size: 0.84rem;
    color: #3f3830;
    border-bottom: 1px solid #f0ebe3;
    vertical-align: middle;
}

.compromis-plan-table thead th {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #9a9288;
    background: #faf8f5;
    padding-top: 9px;
    padding-bottom: 9px;
}

.compromis-plan-table tbody tr:last-child td {
    border-bottom: 0;
}

.compromis-row-actions {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.compromis-row-actions--done {
    color: #c5bdb3;
    font-size: 0.85rem;
}

.compromis-row-actions__trigger {
    width: 26px;
    height: 26px;
    font-size: 0.85rem;
    border: 1px solid #e4d6c5;
    background: #fff;
    border-radius: 8px;
    color: #6a5d4f;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 1px 2px rgba(33, 24, 11, 0.04);
}

.compromis-row-actions__trigger:hover,
.compromis-row-actions__trigger[aria-expanded="true"] {
    background: #faf7f2;
    border-color: #d5c3ab;
}

.compromis-row-actions__dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 148px;
    background: #fff;
    border: 1px solid #ebe3d6;
    border-radius: 10px;
    padding: 6px;
    z-index: 20;
    box-shadow: 0 12px 32px rgba(33, 24, 11, 0.12);
}

.compromis-row-actions__pay {
    width: 100%;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    background: transparent;
    color: #2d251c;
    font-size: 0.84rem;
    font-weight: 600;
    padding: 9px 10px;
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    transition: background 0.18s ease;
}

.compromis-row-actions__pay i {
    color: #8b6a45;
    font-size: 0.95rem;
}

.compromis-row-actions__pay:hover {
    background: linear-gradient(180deg, #faf6f0 0%, #f3ebe0 100%);
    color: #5c3f1f;
}

@media (max-width: 1199px) {
    .compromis-info-row,
    .compromis-info-row--two {
        grid-template-columns: 1fr;
    }

    .compromis-tabs {
        flex-wrap: wrap;
    }

    .compromis-summary__figures {
        width: 100%;
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    .compromis-summary {
        flex-direction: column;
        align-items: stretch;
    }

    .compromis-summary__chip {
        flex: 1;
        min-width: 0;
    }

    .compromis-schedule__legend {
        display: none;
    }

    .compromis-schedule-item {
        grid-template-columns: 28px 1fr 34px;
    }

    .compromis-schedule-item__body {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .compromis-schedule-item__pay-line {
        justify-content: flex-start;
    }
}

/* —— Liste réservations compacte —— */
.reservation-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.reservation-card {
    display: flex;
    align-items: stretch;
    background: #fff;
    border: 1px solid #ebe6dc;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(26, 32, 44, 0.06);
    overflow: hidden;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.reservation-card:hover {
    border-color: #e0d6c8;
    box-shadow: 0 6px 22px rgba(26, 32, 44, 0.08);
}

.reservation-card__body {
    flex: 1 1 auto;
    min-width: 0;
    padding: 12px 14px 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.reservation-card__head {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.reservation-card__ribbon {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #b8860b;
    font-size: 1rem;
    line-height: 1;
}

.reservation-card__ref {
    margin: 0;
    flex: 1 1 auto;
    min-width: 0;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--client-navy);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.reservation-card__facts {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.reservation-card__fact {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.reservation-card__fact dt {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    font-size: 0.76rem;
    font-weight: 400;
    color: #718096;
    line-height: 1.25;
}

.reservation-card__fact dt i {
    flex: 0 0 14px;
    width: 14px;
    font-size: 0.82rem;
    color: #b8860b;
    text-align: center;
    line-height: 1;
}

.reservation-card__fact dd {
    margin: 0;
    font-size: 0.76rem;
    font-weight: 600;
    color: #2d3748;
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.reservation-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 2px;
    padding-top: 8px;
    border-top: 1px solid #f0ebe3;
}

.reservation-card__lots {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    min-width: 0;
}

.reservation-card__lots .client-chip {
    padding: 2px 8px;
    font-size: 0.72rem;
}

.reservation-card__detail-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border-radius: 8px;
    border: 1px solid #d4bc8a;
    background: #fff;
    color: #8a6a35;
    text-decoration: none;
    padding: 4px 10px;
    font-size: 0.74rem;
    font-weight: 600;
    line-height: 1.2;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.reservation-card__detail-btn i {
    font-size: 0.72rem;
    line-height: 1;
}

.reservation-card__detail-btn:hover {
    text-decoration: none;
    background: #faf6ef;
    color: #6f5428;
    border-color: #c9a227;
}

.reservation-card__expiry {
    position: relative;
    flex: 0 0 188px;
    width: 188px;
    padding: 12px 14px 10px;
    background: linear-gradient(145deg, #faf6ef 0%, #f3ebe0 100%);
    border-left: 1px solid #ebe3d6;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    overflow: hidden;
}

.reservation-card__expiry.is-expired {
    background: linear-gradient(145deg, #faf5f5 0%, #f3e8e8 100%);
    border-left-color: #ecd8d8;
}

.reservation-card__expiry-kicker {
    margin: 0;
    font-size: 0.68rem;
    font-weight: 500;
    color: #718096;
    line-height: 1.2;
}

.reservation-card__expiry-value {
    margin: 0;
    display: flex;
    align-items: baseline;
    gap: 4px;
    line-height: 1;
    color: #b8860b;
}

.reservation-card__expiry-value strong {
    font-family: "Gilda Display", serif;
    font-size: 1.85rem;
    font-weight: 400;
    line-height: 1;
    color: #b8860b;
}

.reservation-card__expiry-value span {
    font-size: 0.82rem;
    font-weight: 600;
    color: #8a6a35;
}

.reservation-card__expiry-value--expired {
    font-family: "Gilda Display", serif;
    font-size: 1.35rem;
    font-weight: 400;
    color: #b45309;
}

.reservation-card__progress {
    height: 4px;
    border-radius: 999px;
    background: rgba(224, 216, 204, 0.65);
    overflow: hidden;
    margin: 2px 0 1px;
}

.reservation-card__progress-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #c9a227 0%, #b8860b 100%);
    transition: width 0.35s ease;
}

.reservation-card__expiry.is-expired .reservation-card__progress-fill {
    background: linear-gradient(90deg, #d97706 0%, #b45309 100%);
}

.reservation-card__expiry-date {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.68rem;
    color: #718096;
    line-height: 1.3;
    position: relative;
    z-index: 1;
}

.reservation-card__expiry-date i {
    font-size: 0.72rem;
    color: #b8860b;
    line-height: 1;
}

.reservation-card__hourglass {
    position: absolute;
    right: -6px;
    bottom: -8px;
    font-size: 3.2rem;
    line-height: 1;
    color: #b8860b;
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
}

@media (max-width: 767px) {
    .reservation-card {
        flex-direction: column;
    }

    .reservation-card__expiry {
        flex: 0 0 auto;
        width: 100%;
        border-left: 0;
        border-top: 1px solid #ebe3d6;
        padding: 10px 14px;
    }

    .reservation-card__hourglass {
        right: 8px;
        bottom: 4px;
        font-size: 2.6rem;
    }

    .reservation-detail__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .reservation-detail__hero {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        align-self: stretch;
        width: 100%;
        min-width: 0;
        gap: 10px;
        padding: 10px 12px 10px 52px;
        min-height: 0;
    }

    .reservation-detail__ribbon {
        left: 10px;
        width: 28px;
        height: 44px;
        padding-bottom: 8px;
    }

    .reservation-detail__ribbon i {
        font-size: 0.8125rem;
    }

    .reservation-detail__hero-main {
        flex: 1 1 100%;
    }

    .reservation-detail__hero-badge {
        margin: 4px 0 0;
        width: 100%;
        justify-content: center;
        margin-left: 0;
    }

    .reservation-detail__lot {
        flex-direction: column;
    }

    .reservation-detail__lot {
        padding: 10px;
    }

    .reservation-detail__lot-illus {
        align-self: center;
        max-width: 88px;
        max-height: 56px;
    }

    .reservation-detail__tl-card {
        flex-wrap: wrap;
    }

    .reservation-detail__tl-action {
        margin-left: auto;
    }

    .compromis-card__metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .evenement-grid {
        grid-template-columns: 1fr;
    }

    .evenement-card__actions {
        grid-template-columns: 1fr;
    }

    .evenement-detail__hero {
        flex-direction: column;
    }

    .evenement-detail__hero-media {
        width: 100%;
        min-height: 160px;
        max-height: 200px;
    }

    .evenement-detail__hero-tiles {
        grid-template-columns: 1fr;
    }

    .compromis-card__history-link {
        margin-left: 0;
        width: 100%;
        justify-content: flex-end;
    }

    .mutation-card__grid {
        grid-template-columns: 1fr;
    }

    .mutation-card__col + .mutation-card__col {
        border-left: 0;
        border-top: 1px solid #f0ebe3;
        padding-left: 0;
        padding-top: 2px;
    }

    .mutation-card__head-meta {
        width: 100%;
    }
}

/* —— Détail réservation (maquette) —— */
.reservation-detail {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.reservation-detail__hero,
.reservation-detail__stats,
.reservation-detail__lot,
.reservation-detail__enc {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.reservation-detail__lot,
.reservation-detail__enc {
    background: #fff;
    border: 1px solid #ebe6dc;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(26, 32, 44, 0.06);
}

.client-space-panel__body > .reservation-detail {
    width: 100%;
}

/* En-tête réservation — pleine largeur, compact */
.reservation-detail__hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 58px;
    padding: 10px 16px 10px 58px;
    background: #fff;
    border: 1px solid #eaecf0;
    border-radius: 10px;
    box-shadow:
        0 1px 2px rgba(16, 24, 40, 0.05),
        0 1px 2px rgba(16, 24, 40, 0.03);
}

/* Ruban signet — accroché en haut de la carte */
.reservation-detail__ribbon {
    position: absolute;
    top: 0;
    left: 14px;
    z-index: 2;
    width: 32px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 10px;
    color: #b5934a;
    box-sizing: border-box;
    pointer-events: none;
}

.reservation-detail__ribbon-shape {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.reservation-detail__ribbon i {
    position: relative;
    z-index: 1;
    display: block;
    font-size: 0.875rem;
    line-height: 1;
    font-weight: 400;
}

.reservation-detail__hero-main {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    padding: 0;
}

.reservation-detail__hero-main h2 {
    margin: 0;
    font-family: "Gilda Display", serif;
    font-size: 1.25rem;
    font-weight: 400;
    color: #101828;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.reservation-detail__hero-sub {
    margin: 0;
    font-family: "Barlow", Arial, sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    color: #667085;
    line-height: 1.35;
}

.reservation-detail__hero-badge {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: auto;
    border-radius: 999px;
    padding: 4px 6px 4px 10px;
    background: #f0fdf4;
    border: 1px solid #6ce9a6;
}

.reservation-detail__hero-badge-text {
    font-family: "Barlow", Arial, sans-serif;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #027a48;
    line-height: 1;
}

.reservation-detail__hero-badge-icon {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #12b76a;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.reservation-detail__hero-badge-icon i {
    font-size: 0.5625rem;
    font-weight: 700;
    line-height: 1;
}

.reservation-detail__stats {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
}

@media (max-width: 1199px) {
    .reservation-detail__stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.reservation-detail__stat-card {
    background: #fff;
    border: 1px solid #eaecf0;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
    padding: 8px 6px 7px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 3px;
    min-width: 0;
}

.reservation-detail__stat-icon {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #faf6ef;
    color: #b8860b;
    font-size: 0.8125rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.reservation-detail__stat-label {
    font-family: "Barlow", Arial, sans-serif;
    font-size: 0.66rem;
    font-weight: 400;
    color: #667085;
    line-height: 1.2;
}

.reservation-detail__stat-value {
    font-family: "Barlow", Arial, sans-serif;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #1a202c;
    line-height: 1.15;
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}

.reservation-detail__stat-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    margin-top: 1px;
    font-family: "Barlow", Arial, sans-serif;
    font-size: 0.6rem;
    font-weight: 600;
    color: #8a6a35;
    background: #faf6ef;
    border: 1px solid #ebe3d4;
    border-radius: 999px;
    padding: 2px 6px;
    line-height: 1.15;
}

.reservation-detail__stat-pill i {
    font-size: 0.6rem;
    line-height: 1;
    color: #b8860b;
}

.reservation-detail__stat-pill--warn {
    color: #b45309;
    background: #fef6e7;
    border-color: #f0d9a8;
}

.reservation-detail__lot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px;
    overflow: hidden;
    border: 1px solid #eaecf0;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.reservation-detail__lot-content {
    flex: 1 1 auto;
    min-width: 0;
}

.reservation-detail__lot-head {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.reservation-detail__lot-head .reservation-detail__panel-icon {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    font-size: 0.75rem;
}

.reservation-detail__panel-icon {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #f5f0e6;
    border: 1px solid #ebe3d4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #b8860b;
    font-size: 0.88rem;
    line-height: 1;
}

.reservation-detail__lot-head h3 {
    margin: 0;
    font-family: "Gilda Display", serif;
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--client-navy);
    line-height: 1.15;
}

.reservation-detail__enc-head h3 {
    margin: 0;
    font-family: "Gilda Display", serif;
    font-size: 1rem;
    font-weight: 400;
    color: var(--client-navy);
    line-height: 1.2;
}

.reservation-detail__lot-lines {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.reservation-detail__lot-lines li {
    font-size: 0.75rem;
    color: #4a5568;
    line-height: 1.35;
}

.reservation-detail__lot-illus {
    flex: 0 0 auto;
    width: auto;
    max-width: 80px;
    height: auto;
    max-height: 64px;
    object-fit: contain;
    object-position: center right;
    display: block;
    align-self: center;
}

.reservation-detail__enc {
    padding: 10px 12px 12px;
    border: 1px solid #eaecf0;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.reservation-detail__enc-head {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.reservation-detail__enc-head .reservation-detail__panel-icon {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    font-size: 0.75rem;
}

.reservation-detail__enc-head h3 {
    font-size: 0.9375rem;
}

.reservation-detail__timeline {
    display: flex;
    flex-direction: column;
    position: relative;
}

.reservation-detail__tl-item {
    display: flex;
    align-items: stretch;
    gap: 10px;
    padding: 0 0 10px;
    position: relative;
}

.reservation-detail__tl-item:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 11px;
    top: 26px;
    bottom: 0;
    width: 2px;
    background: #d4bc8a;
}

.reservation-detail__tl-item--next {
    padding-bottom: 0;
}

.reservation-detail__tl-node {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    margin-top: 10px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    line-height: 1;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
}

.reservation-detail__tl-node--done {
    background: linear-gradient(180deg, #d4ad32 0%, #b8860b 100%);
    border: none;
    color: #fff;
    box-shadow: 0 1px 4px rgba(184, 134, 11, 0.35);
}

.reservation-detail__tl-node--pending {
    background: #fff;
    border: 2px dashed #d4bc8a;
    color: #b8860b;
}

.reservation-detail__tl-card {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-radius: 8px;
    padding: 10px 12px;
}

.reservation-detail__tl-card--done {
    background: #ecfdf3;
    border: 1px solid #abefc6;
}

.reservation-detail__tl-card--next {
    background: #fff;
    border: 1px dashed #d0d5dd;
    align-items: flex-start;
}

.reservation-detail__tl-card--prolong {
    flex-wrap: wrap;
    align-items: center;
}

.reservation-detail__prolong-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1px solid #d4bc8a;
    background: #fff;
    color: #8a6a35;
    border-radius: 999px;
    padding: 5px 12px;
    font-family: "Barlow", Arial, sans-serif;
    font-size: 0.66rem;
    font-weight: 600;
    line-height: 1.15;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.reservation-detail__prolong-btn:hover:not(:disabled) {
    background: #faf6ef;
    border-color: #c9a227;
    color: #6f5428;
}

.reservation-detail__prolong-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.reservation-detail__prolong-btn--primary {
    background: linear-gradient(180deg, #c9a227 0%, #a67c2e 100%);
    border-color: #9a7b2e;
    color: #fff;
}

.reservation-detail__prolong-btn--primary:hover:not(:disabled) {
    background: linear-gradient(180deg, #d4ad32 0%, #b08834 100%);
    color: #fff;
}

.reservation-detail__prolong-btn--ghost {
    background: #fff;
}

.reservation-detail__prolong-form {
    flex: 1 1 100%;
    width: 100%;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed #e4d6c5;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.reservation-detail__prolong-hint {
    margin: 0;
    font-family: "Barlow", Arial, sans-serif;
    font-size: 0.72rem;
    color: #667085;
}

.reservation-detail__prolong-hint strong {
    color: #344054;
    font-weight: 600;
}

.reservation-detail__prolong-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-family: "Barlow", Arial, sans-serif;
    font-size: 0.72rem;
    color: #475467;
}

.reservation-detail__prolong-field input {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    padding: 7px 10px;
    font-family: "Barlow", Arial, sans-serif;
    font-size: 0.8125rem;
    color: #101828;
}

.reservation-detail__prolong-field input:focus {
    outline: none;
    border-color: #c9a227;
    box-shadow: 0 0 0 2px rgba(201, 162, 39, 0.2);
}

.reservation-detail__prolong-provider {
    font-size: 0.68rem;
    color: #8a6a35;
    font-weight: 600;
}

.reservation-detail__prolong-error {
    margin: 0;
    font-size: 0.72rem;
    color: #b42318;
    line-height: 1.35;
}

.reservation-detail__prolong-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.reservation-detail__tl-main {
    flex: 1 1 auto;
    min-width: 0;
}

.reservation-detail__tl-date {
    margin: 0 0 2px;
    font-family: "Barlow", Arial, sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    color: #475467;
    line-height: 1.3;
}

.reservation-detail__tl-amount {
    margin: 0 0 2px;
    font-family: "Barlow", Arial, sans-serif;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #067647;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}

.reservation-detail__tl-meta {
    margin: 0;
    font-family: "Barlow", Arial, sans-serif;
    font-size: 0.7rem;
    color: #667085;
    line-height: 1.35;
}

.reservation-detail__tl-next-title {
    margin: 0 0 2px;
    font-family: "Barlow", Arial, sans-serif;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #344054;
    line-height: 1.3;
}

.reservation-detail__tl-meta--muted {
    font-style: normal;
    color: #667085;
}

.reservation-detail__tl-action {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-radius: 999px;
    padding: 4px 10px 4px 6px;
    font-family: "Barlow", Arial, sans-serif;
    font-size: 0.66rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.reservation-detail__tl-action-icon {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.5rem;
    line-height: 1;
}

.reservation-detail__tl-action--success {
    background: #fff;
    border: 1px solid #6ce9a6;
    color: #067647;
}

.reservation-detail__tl-action--success .reservation-detail__tl-action-icon {
    background: #12b76a;
    color: #fff;
}

.reservation-detail__tl-action--pending {
    background: #fff;
    border: 1px solid #f0d9a8;
    color: #b45309;
}

.reservation-detail__tl-action--neutral {
    background: #fff;
    border: 1px solid #e4d6c5;
    color: #6d563d;
}

.reservation-detail__empty {
    margin: 0;
    font-size: 0.8rem;
    color: var(--client-muted);
    line-height: 1.4;
}

/* —— Liste compromis ultra compacte —— */
.compromis-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.compromis-card {
    background: #fff;
    border: 1px solid #ebe6dc;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(26, 32, 44, 0.06);
    padding: 10px 12px 9px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.compromis-card:hover {
    border-color: #e0d6c8;
    box-shadow: 0 6px 22px rgba(26, 32, 44, 0.08);
}

.compromis-card__head {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    padding-bottom: 7px;
    border-bottom: 1px solid #f0ebe3;
}

.compromis-card__ribbon {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #b8860b;
    font-size: 0.92rem;
    line-height: 1;
}

.compromis-card__ref {
    margin: 0;
    flex: 1 1 auto;
    min-width: 0;
    font-family: "Gilda Display", serif;
    font-size: 0.98rem;
    font-weight: 400;
    color: var(--client-navy);
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.compromis-card__metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px 10px;
}

.compromis-card__metric {
    display: grid;
    grid-template-columns: 16px 1fr;
    grid-template-rows: auto auto;
    column-gap: 6px;
    row-gap: 1px;
    align-items: start;
    min-width: 0;
    padding: 4px 0;
}

.compromis-card__metric-icon {
    grid-row: 1 / span 2;
    display: inline-flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 1px;
    color: #b8860b;
    font-size: 0.82rem;
    line-height: 1;
}

.compromis-card__metric-label {
    font-size: 0.64rem;
    font-weight: 500;
    color: #718096;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.compromis-card__metric-value {
    font-size: 0.76rem;
    font-weight: 700;
    color: #2d3748;
    line-height: 1.25;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.compromis-card__history {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 6px 8px;
    border-radius: 8px;
    background: #faf8f5;
    border: 1px solid #f0ebe3;
}

.compromis-card__history-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    color: #718096;
    line-height: 1.2;
}

.compromis-card__history-label i {
    font-size: 0.76rem;
    color: #b8860b;
    line-height: 1;
}

.compromis-card__history-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #f5f0e6;
    border: 1px solid #ebe3d4;
    font-size: 0.68rem;
    font-weight: 700;
    color: #8a6a35;
    line-height: 1;
}

.compromis-card__history-link {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #b8860b;
    text-decoration: none;
    line-height: 1.2;
    white-space: nowrap;
    transition: color 0.18s ease;
}

.compromis-card__history-link i {
    font-size: 0.68rem;
    line-height: 1;
}

.compromis-card__history-link:hover {
    color: #8a6a35;
    text-decoration: none;
}

.compromis-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 7px;
    border-top: 1px solid #f0ebe3;
}

.compromis-card__lots {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    min-width: 0;
}

.compromis-card__lots .client-chip {
    padding: 2px 8px;
    font-size: 0.72rem;
}

.compromis-card__detail-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border-radius: 8px;
    border: 1px solid #d4bc8a;
    background: #fff;
    color: #8a6a35;
    text-decoration: none;
    padding: 4px 10px;
    font-size: 0.74rem;
    font-weight: 600;
    line-height: 1.2;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.compromis-card__detail-btn i {
    font-size: 0.72rem;
    line-height: 1;
}

.compromis-card__detail-btn:hover {
    text-decoration: none;
    background: #faf6ef;
    color: #6f5428;
    border-color: #c9a227;
}

/* —— Liste mutations ultra compacte —— */
.mutation-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mutation-card {
    background: #fff;
    border: 1px solid #ebe6dc;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(26, 32, 44, 0.06);
    padding: 10px 12px 9px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.mutation-card:hover {
    border-color: #e0d6c8;
    box-shadow: 0 6px 22px rgba(26, 32, 44, 0.08);
}

.mutation-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    padding-bottom: 7px;
    border-bottom: 1px solid #f0ebe3;
}

.mutation-card__head-main {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    min-width: 0;
    flex: 1 1 200px;
}

.mutation-card__titles {
    flex: 1 1 auto;
    min-width: 0;
}

.mutation-card__step {
    margin: 3px 0 0;
    font-size: 0.72rem;
    color: #718096;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mutation-card__head-badges {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
    flex-shrink: 0;
}

.mutation-card__delai {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    padding: 6px 8px;
    background: #faf8f4;
    border: 1px solid #f0ebe3;
    border-radius: 8px;
    font-size: 0.7rem;
    color: #4a5568;
}

.mutation-card__delai-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    line-height: 1.25;
}

.mutation-card__delai-item i {
    color: #b8860b;
    font-size: 0.74rem;
}

.mutation-card__delai-item--counter {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: #2d3748;
}

.mutation-card__ribbon {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #b8860b;
    font-size: 0.92rem;
    line-height: 1;
}

.mutation-card__ref {
    margin: 0;
    flex: 1 1 auto;
    min-width: 0;
    font-family: "Gilda Display", serif;
    font-size: 0.98rem;
    font-weight: 400;
    color: var(--client-navy);
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mutation-card__status {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 3px 8px;
    line-height: 1.2;
    background: #fef6e7;
    border: 1px solid #f0d9a8;
    color: #b45309;
}

.mutation-card__status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ea580c;
    flex-shrink: 0;
}

.mutation-card__status--done {
    background: #e8f7eb;
    border-color: #b4dfbc;
    color: #21743a;
}

.mutation-card__head-meta {
    margin: 0;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    color: #718096;
    line-height: 1.2;
    white-space: nowrap;
}

.mutation-card__head-meta i {
    font-size: 0.76rem;
    color: #b8860b;
    line-height: 1;
}

.mutation-card__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
}

.mutation-card__col {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mutation-card__col + .mutation-card__col {
    border-left: 0;
    border-top: 1px solid #f0ebe3;
    padding-left: 0;
    padding-top: 6px;
}

.mutation-card__field {
    display: grid;
    grid-template-columns: minmax(130px, 38%) minmax(0, 1fr);
    align-items: baseline;
    gap: 8px 12px;
    padding: 6px 0;
    border-bottom: 1px solid #f5f1eb;
    min-width: 0;
}

.mutation-card__field:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.mutation-card__field dt {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    font-size: 0.72rem;
    font-weight: 400;
    color: #718096;
    line-height: 1.25;
}

.mutation-card__field dt span {
    min-width: 0;
}

.mutation-card__field dt i {
    flex: 0 0 14px;
    width: 14px;
    font-size: 0.8rem;
    color: #b8860b;
    text-align: center;
    line-height: 1;
}

.mutation-card__field dd {
    margin: 0;
    font-size: 0.74rem;
    font-weight: 600;
    color: #2d3748;
    text-align: right;
    line-height: 1.35;
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    font-variant-numeric: tabular-nums;
}

@media (min-width: 900px) {
    .mutation-card__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 20px;
    }

    .mutation-card__col + .mutation-card__col {
        border-top: 0;
        border-left: 1px solid #f0ebe3;
        padding-top: 0;
        padding-left: 20px;
    }
}

.mutation-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 7px;
    border-top: 1px solid #f0ebe3;
}

.mutation-card__lots {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    min-width: 0;
}

.mutation-card__lots .client-chip {
    padding: 2px 8px;
    font-size: 0.72rem;
}

.mutation-card__detail-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border-radius: 8px;
    border: 1px solid #d4bc8a;
    background: #fff;
    color: #8a6a35;
    text-decoration: none;
    padding: 4px 10px;
    font-size: 0.74rem;
    font-weight: 600;
    line-height: 1.2;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.mutation-card__detail-btn i {
    font-size: 0.72rem;
    line-height: 1;
}

.mutation-card__detail-btn:hover {
    text-decoration: none;
    background: #faf6ef;
    color: #6f5428;
    border-color: #c9a227;
}

/* —— Liste événements (grille cartes) —— */
.evenement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.evenement-card {
    background: #fff;
    border: 1px solid #ebe6dc;
    border-radius: 14px;
    box-shadow: 0 6px 22px rgba(26, 32, 44, 0.07);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 0;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.evenement-card:hover {
    border-color: #e0d6c8;
    box-shadow: 0 10px 28px rgba(26, 32, 44, 0.1);
}

.evenement-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    background: #e8e4dc;
    overflow: hidden;
}

.evenement-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.evenement-card__badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 4px 10px;
    line-height: 1.2;
    box-shadow: 0 2px 8px rgba(26, 32, 44, 0.12);
}

.evenement-card__badge--confirmed {
    background: #e8c96a;
    border: 1px solid #d4b356;
    color: #2d251c;
}

.evenement-card__badge--pending {
    background: #ececec;
    border: 1px solid #d8d8d8;
    color: #4a5568;
}

.evenement-card__badge--cancelled {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b42318;
}

.evenement-card__badge--neutral {
    background: #f7f4ef;
    border: 1px solid #e4d6c5;
    color: #6d563d;
}

.evenement-card__body {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1 1 auto;
}

.evenement-card__title {
    margin: 0;
    font-family: "Gilda Display", serif;
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--client-navy);
    line-height: 1.2;
}

.evenement-card__desc {
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.45;
    color: #718096;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.evenement-card__meta {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.evenement-card__meta li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.76rem;
    line-height: 1.35;
    color: #4a5568;
    min-width: 0;
}

.evenement-card__meta i {
    flex: 0 0 14px;
    width: 14px;
    margin-top: 2px;
    font-size: 0.82rem;
    color: #9a9288;
    text-align: center;
    line-height: 1;
}

.evenement-card__meta span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.evenement-card__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: auto;
    padding-top: 4px;
}

.evenement-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 999px;
    padding: 8px 10px;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
    white-space: nowrap;
}

.evenement-card__btn i {
    font-size: 0.78rem;
    line-height: 1;
    flex-shrink: 0;
}

.evenement-card__btn--primary {
    background: linear-gradient(180deg, #e8c96a 0%, #d4b356 100%);
    border-color: #c9a227;
    color: #2d251c;
    box-shadow: 0 2px 8px rgba(201, 162, 39, 0.25);
}

.evenement-card__btn--primary:hover {
    text-decoration: none;
    color: #1a202c;
    background: linear-gradient(180deg, #f0d47a 0%, #dbbe62 100%);
}

.evenement-card__btn--outline {
    background: #fff;
    border-color: #2d3748;
    color: #2d3748;
}

.evenement-card__btn--outline:hover:not(:disabled) {
    background: #f8f6f2;
}

.evenement-card__btn--outline:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

/* —— Détail événement (maquette) —— */
.evenement-detail {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.evenement-detail__hero,
.evenement-detail__card {
    background: #fff;
    border: 1px solid #eaecf0;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
}

.evenement-detail__hero {
    display: flex;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    padding: 0;
}

.evenement-detail__hero-media {
    flex: 0 0 38%;
    max-width: 320px;
    min-height: 200px;
    background: #f3f4f6;
}

.evenement-detail__hero-media img {
    width: 100%;
    height: 100%;
    min-height: 200px;
    object-fit: cover;
    display: block;
}

.evenement-detail__hero-body {
    flex: 1 1 auto;
    min-width: 0;
    padding: 16px 18px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.evenement-detail__hero-top {
    display: flex;
    justify-content: flex-end;
}

.evenement-detail__hero-title {
    margin: 0;
    font-family: "Gilda Display", serif;
    font-size: clamp(1.2rem, 1.8vw, 1.5rem);
    font-weight: 400;
    color: var(--client-navy);
    line-height: 1.15;
}

.evenement-detail__hero-desc {
    margin: 0;
    font-family: "Barlow", Arial, sans-serif;
    font-size: 0.8125rem;
    color: #667085;
    line-height: 1.5;
}

.evenement-detail__status {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: "Barlow", Arial, sans-serif;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 4px 10px;
    line-height: 1.2;
    background: #f7f4ef;
    border: 1px solid #e4d6c5;
    color: #6d563d;
}

.evenement-detail__status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.evenement-detail__status--confirmed {
    background: #e8f7eb;
    border-color: #b4dfbc;
    color: #21743a;
}

.evenement-detail__status--confirmed .evenement-detail__status-dot {
    background: #22c55e;
}

.evenement-detail__status--pending {
    background: #fef6e7;
    border-color: #f0d9a8;
    color: #b45309;
}

.evenement-detail__status--pending .evenement-detail__status-dot {
    background: #ea580c;
}

.evenement-detail__status--cancelled {
    background: #fef2f2;
    border-color: #fecaca;
    color: #b42318;
}

.evenement-detail__hero-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 8px;
    margin-top: auto;
}

.evenement-detail__hero-tile {
    border: 1px solid #eaecf0;
    border-radius: 8px;
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.evenement-detail__hero-tile i {
    font-size: 0.875rem;
    color: #b8860b;
    line-height: 1;
}

.evenement-detail__hero-tile-label {
    font-family: "Barlow", Arial, sans-serif;
    font-size: 0.625rem;
    color: #667085;
    line-height: 1.2;
}

.evenement-detail__hero-tile strong {
    font-family: "Barlow", Arial, sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: #1a202c;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.evenement-detail__hero-tile--code strong {
    font-size: 0.68rem;
    font-weight: 500;
}

.evenement-detail__columns {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.evenement-detail__card {
    padding: 14px 16px 12px;
}

.evenement-detail__card-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0ebe3;
}

.evenement-detail__card-icon {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #f5f0e6;
    border: 1px solid #ebe3d4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #b8860b;
    font-size: 0.88rem;
    line-height: 1;
}

.evenement-detail__card-head h3 {
    margin: 0;
    font-family: "Gilda Display", serif;
    font-size: 1rem;
    font-weight: 400;
    color: var(--client-navy);
    line-height: 1.2;
}

.evenement-detail__rows {
    margin: 0;
    padding: 0;
}

.evenement-detail__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid #f5f1eb;
    min-width: 0;
}

.evenement-detail__row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.evenement-detail__row dt {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: "Barlow", Arial, sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    color: #667085;
    line-height: 1.25;
    min-width: 0;
}

.evenement-detail__row dt i {
    flex: 0 0 14px;
    width: 14px;
    font-size: 0.82rem;
    color: #b8860b;
    text-align: center;
    line-height: 1;
}

.evenement-detail__row dd {
    margin: 0;
    font-family: "Barlow", Arial, sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: #1a202c;
    text-align: right;
    line-height: 1.35;
    min-width: 0;
    max-width: 58%;
    overflow-wrap: anywhere;
}

.evenement-detail__row--multiline {
    grid-template-columns: 1fr;
    align-items: start;
}

.evenement-detail__row--multiline dd {
    max-width: none;
    text-align: left;
    font-weight: 400;
    color: #475467;
    margin-top: 4px;
    padding-left: 22px;
}

.evenement-detail__practical {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.evenement-detail__practical-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
}

.evenement-detail__practical-item > i {
    flex: 0 0 16px;
    margin-top: 2px;
    font-size: 0.9rem;
    color: #b8860b;
    line-height: 1;
}

.evenement-detail__practical-item div {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.evenement-detail__practical-label {
    font-family: "Barlow", Arial, sans-serif;
    font-size: 0.72rem;
    color: #667085;
    line-height: 1.25;
}

.evenement-detail__practical-item strong {
    font-family: "Barlow", Arial, sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #1a202c;
    line-height: 1.35;
}

.evenement-detail__card--enc {
    margin-top: 0;
}

.evenement-detail__rows--enc .evenement-detail__row dd {
    max-width: none;
}

.evenement-detail__enc-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.68rem;
    font-weight: 600;
    border-radius: 999px;
    padding: 2px 8px;
    text-transform: capitalize;
    line-height: 1.3;
}

.evenement-detail__enc-badge--success {
    background: #e8f7eb;
    border: 1px solid #b4dfbc;
    color: #21743a;
}

.evenement-detail__enc-badge--pending {
    background: #fef6e7;
    border: 1px solid #f0d9a8;
    color: #b45309;
}

.evenement-detail__enc-badge--neutral {
    background: #f7f4ef;
    border: 1px solid #e4d6c5;
    color: #6d563d;
}

@media (max-width: 991px) {
    .evenement-detail__hero-media {
        flex: 0 0 auto;
        max-width: none;
    }

    .evenement-detail__hero-tiles {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991px) {
    .client-space-layout .supplier-main {
        min-height: calc(100vh - 20px);
    }

    .client-space-panel {
        padding: 12px;
    }

    .client-space-panel__head {
        flex-direction: column;
        align-items: stretch;
    }

    .client-space-btn--primary {
        width: 100%;
    }

    .client-space-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .client-space-grid {
        grid-template-columns: 1fr;
    }

    .mutation-summary__meta {
        grid-template-columns: 1fr;
    }

    .mutation-tl-col {
        flex: 0 0 170px;
        min-height: 220px;
    }
}

@media (max-width: 575px) {
    .client-space-layout {
        padding: 8px;
    }

    .client-topbar {
        height: auto;
        min-height: 48px;
        padding: 8px 10px;
        flex-wrap: wrap;
    }

    .client-topbar__lead {
        flex: 1 1 auto;
        min-width: 0;
    }

    .client-topbar__kicker {
        display: none;
    }

    .client-topbar__title {
        font-size: 0.88rem;
    }

    .client-topbar__actions {
        flex-shrink: 0;
        gap: 6px;
    }

    .client-topbar__icon-btn {
        width: 32px;
        height: 32px;
    }

    .client-topbar__profile {
        width: 32px;
        height: 32px;
    }

    .client-space-panel {
        padding: 10px;
        border-radius: 12px;
    }

    .client-space-panel__title-row {
        flex-direction: column;
        align-items: stretch;
    }

    .client-space-panel__title-row h2 {
        font-size: 1.15rem;
    }

    .client-space-back-link {
        width: 100%;
        justify-content: center;
    }

    .client-space-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .client-space-actions .client-space-link-btn,
    .client-space-actions .client-space-btn {
        width: 100%;
    }

    .client-space-footer {
        font-size: 0.68rem;
        padding: 8px 2px 0;
    }

    .reservation-detail__stats {
        grid-template-columns: 1fr;
    }

    .compromis-card__metrics {
        grid-template-columns: 1fr;
    }

    .compromis-summary__figures {
        grid-template-columns: 1fr;
    }

    .mutation-card__field {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .mutation-card__field dd {
        text-align: left;
    }

    .mutation-card__head {
        flex-direction: column;
        align-items: stretch;
    }

    .mutation-card__head-badges {
        align-items: flex-start;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .reservation-card__foot,
    .compromis-card__foot,
    .mutation-card__foot {
        flex-direction: column;
        align-items: stretch;
    }

    .reservation-card__detail-btn,
    .compromis-card__detail-btn,
    .mutation-card__detail-btn {
        width: 100%;
        justify-content: center;
    }

    .evenement-detail__row {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .evenement-detail__row dd {
        max-width: none;
        text-align: left;
    }

    .evenement-detail__row--multiline dd {
        padding-left: 0;
    }

    .mutation-summary__head {
        flex-direction: column;
        align-items: stretch;
    }

    .mutation-summary__badges {
        justify-content: flex-start;
    }
}
