/* Guide compte joint et séparation */
.guide-joint-account-page .guide-hero h1 {
    max-width: 670px;
}

.guide-joint-account-page .guide-answer {
    background: #eff9fb;
}

.guide-joint-account-page .guide-answer-tag {
    color: #176b94;
    background: #f3f8ff;
    border-color: #cfe1f2;
}

.guide-evidence-chain {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr) 28px minmax(0, 1fr) 28px minmax(0, 1fr);
    align-items: stretch;
    gap: 8px;
    margin-top: 24px;
}

.guide-evidence-chain article {
    display: flex;
    min-width: 0;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--guide-line);
    border-top: 3px solid var(--guide-teal);
    border-radius: 12px;
    flex-direction: column;
}

.guide-evidence-chain article.is-blue { border-top-color: #4d91de; }
.guide-evidence-chain article.is-violet { border-top-color: #8979d8; }
.guide-evidence-chain article.is-orange { border-top-color: #e59a46; }

.guide-evidence-chain header {
    display: flex;
    margin-bottom: 16px;
    align-items: center;
    gap: 8px;
}

.guide-evidence-chain header > span {
    display: grid;
    width: 24px;
    height: 24px;
    color: #fff;
    background: var(--guide-teal);
    border-radius: 50%;
    font-size: .68rem;
    font-weight: 800;
    place-items: center;
}

.guide-evidence-chain .is-blue header > span { background: #4d91de; }
.guide-evidence-chain .is-violet header > span { background: #8979d8; }
.guide-evidence-chain .is-orange header > span { background: #e59a46; }

.guide-evidence-chain header > svg {
    width: 18px;
    height: 18px;
    color: var(--guide-teal);
}

.guide-evidence-chain .is-blue header > svg { color: #4d91de; }
.guide-evidence-chain .is-violet header > svg { color: #8979d8; }
.guide-evidence-chain .is-orange header > svg { color: #e59a46; }

.guide-evidence-chain header small {
    color: var(--guide-muted);
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
}

.guide-evidence-chain article > strong {
    min-height: 44px;
    color: var(--guide-ink);
    font-size: .95rem;
    line-height: 1.3;
}

.guide-evidence-chain article > p {
    margin: 9px 0 16px;
    color: var(--guide-muted);
    font-size: .73rem;
    line-height: 1.55;
}

.guide-evidence-chain article > em {
    margin-top: auto;
    color: var(--guide-teal-dark);
    font-size: .68rem;
    font-style: normal;
    font-weight: 750;
}

.guide-chain-arrow {
    width: 18px;
    height: 18px;
    align-self: center;
    color: #8bbcc9;
}

.guide-component-note {
    display: flex;
    margin: 14px 0 0;
    color: var(--guide-muted);
    font-size: .7rem;
    line-height: 1.5;
    align-items: flex-start;
    gap: 8px;
}

.guide-component-note svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    color: var(--guide-teal);
}

.guide-decision-matrix {
    margin-top: 22px;
    overflow-x: auto;
    border: 1px solid var(--guide-line);
    border-radius: 12px;
    scrollbar-color: #9fcad2 #edf5f7;
}

.guide-decision-matrix table {
    width: 100%;
    min-width: 940px;
    border-collapse: collapse;
    table-layout: fixed;
}

.guide-decision-matrix th,
.guide-decision-matrix td {
    padding: 13px 12px;
    border-right: 1px solid var(--guide-line-soft);
    border-bottom: 1px solid var(--guide-line-soft);
    font-size: .66rem;
    line-height: 1.45;
    text-align: left;
    vertical-align: top;
}

.guide-decision-matrix thead th {
    color: #49647d;
    background: #f6fafc;
    font-weight: 800;
}

.guide-decision-matrix thead th:first-child { width: 17%; }
.guide-decision-matrix thead th:nth-child(2) { width: 21%; }
.guide-decision-matrix thead th:nth-child(3) { width: 15%; }
.guide-decision-matrix thead th:nth-child(4) { width: 21%; }

.guide-decision-matrix tbody th {
    color: var(--guide-ink);
    background: #fbfdfe;
    font-weight: 750;
}

.guide-decision-matrix tbody th svg {
    width: 15px;
    height: 15px;
    margin-right: 7px;
    color: #568bd2;
    vertical-align: -3px;
}

.guide-decision-matrix tbody tr:last-child > * { border-bottom: 0; }
.guide-decision-matrix tr > *:last-child { border-right: 0; }

.guide-decision-status {
    display: inline-flex;
    padding: 5px 8px;
    border-radius: 999px;
    font-size: .61rem;
    font-weight: 800;
    line-height: 1.25;
}

.guide-decision-status.is-possible {
    color: #16746d;
    background: #e9f7f3;
}

.guide-decision-status.is-review {
    color: #9a641f;
    background: #fff5dd;
}

.guide-decision-status.is-personal {
    color: #b75b4f;
    background: var(--guide-coral-pale);
}

.guide-dual-analysis {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 128px minmax(0, 1fr);
    margin-top: 24px;
    align-items: stretch;
}

.guide-dual-analysis > article {
    padding: 24px;
    background: #fff;
    border: 1px solid var(--guide-line);
    border-radius: 14px;
}

.guide-dual-analysis > article.is-bank { background: #f7faff; }
.guide-dual-analysis > article.is-partners { background: #f4fbfa; }

.guide-dual-analysis article header {
    display: flex;
    margin-bottom: 16px;
    align-items: center;
    gap: 12px;
}

.guide-dual-analysis article header span {
    display: grid;
    width: 38px;
    height: 38px;
    color: #3f7ccc;
    background: #e8f1ff;
    border-radius: 10px;
    place-items: center;
}

.guide-dual-analysis .is-partners header span {
    color: var(--guide-teal-dark);
    background: var(--guide-teal-pale);
}

.guide-dual-analysis article header svg {
    width: 20px;
    height: 20px;
}

.guide-dual-analysis h3 {
    margin: 0;
    color: var(--guide-ink);
    font-size: .9rem;
}

.guide-dual-analysis ul {
    display: grid;
    margin: 0;
    padding: 0;
    list-style: none;
    gap: 11px;
}

.guide-dual-analysis li {
    display: flex;
    color: #4e667d;
    font-size: .7rem;
    line-height: 1.5;
    align-items: flex-start;
    gap: 8px;
}

.guide-dual-analysis li svg {
    width: 15px;
    height: 15px;
    margin-top: 2px;
    flex: 0 0 auto;
    color: #4a8bd4;
}

.guide-dual-analysis .is-partners li svg { color: var(--guide-teal); }

.guide-dual-center {
    display: flex;
    position: relative;
    z-index: 1;
    color: #506b82;
    text-align: center;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
}

.guide-dual-center::before {
    position: absolute;
    z-index: -1;
    width: calc(100% + 26px);
    height: 1px;
    background: #b9d2dc;
    content: "";
}

.guide-dual-center svg {
    width: 34px;
    height: 34px;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--guide-line);
    border-radius: 50%;
}

.guide-dual-center span {
    max-width: 104px;
    padding: 5px;
    background: #fff;
    font-size: .61rem;
    font-weight: 800;
    line-height: 1.35;
}

.guide-official-references {
    display: flex;
    margin-top: 14px;
    padding: 12px 14px;
    background: #f8fbfc;
    border: 1px solid var(--guide-line-soft);
    border-radius: 9px;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px 14px;
}

.guide-official-references > span {
    color: var(--guide-muted);
    font-size: .65rem;
    font-weight: 800;
    text-transform: uppercase;
}

.guide-official-references a {
    display: inline-flex;
    color: #2f72ba;
    font-size: .66rem;
    font-weight: 700;
    align-items: center;
    gap: 5px;
}

.guide-official-references a:hover { text-decoration: underline; }
.guide-official-references svg { width: 13px; height: 13px; }

.guide-account-reconstruction {
    display: grid;
    grid-template-columns: 1.2fr .7fr 1fr;
    margin-top: 24px;
    overflow: hidden;
    border: 1px solid var(--guide-line);
    border-radius: 14px;
}

.guide-account-reconstruction > section {
    min-width: 0;
    background: #fff;
}

.guide-account-reconstruction > section + section {
    border-left: 1px solid var(--guide-line);
}

.guide-account-reconstruction section > header {
    display: flex;
    min-height: 50px;
    padding: 12px 14px;
    background: #f6fafc;
    align-items: center;
    gap: 9px;
}

.guide-account-reconstruction section > header span {
    display: grid;
    width: 22px;
    height: 22px;
    color: #fff;
    background: #4c8bd4;
    border-radius: 50%;
    font-size: .65rem;
    font-weight: 800;
    place-items: center;
}

.guide-account-reconstruction section > header strong {
    color: var(--guide-ink);
    font-size: .72rem;
}

.guide-reconstruction-list {
    display: grid;
}

.guide-reconstruction-list > div {
    display: grid;
    min-height: 52px;
    padding: 10px 13px;
    border-top: 1px solid var(--guide-line-soft);
    align-items: center;
}

.guide-reconstruction-list.is-operations > div {
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 8px;
}

.guide-reconstruction-list small {
    color: var(--guide-muted);
    font-size: .58rem;
}

.guide-reconstruction-list span {
    color: #425c73;
    font-size: .65rem;
    font-weight: 650;
}

.guide-reconstruction-list strong {
    color: #294f74;
    font-size: .62rem;
}

.guide-reconstruction-list.is-categories > div {
    justify-items: center;
}

.guide-reconstruction-list.is-categories span {
    display: inline-flex;
    min-width: 82px;
    padding: 5px 8px;
    border-radius: 999px;
    justify-content: center;
}

.guide-reconstruction-list .is-green { color: #20735d; background: #e8f7f0; }
.guide-reconstruction-list .is-blue { color: #276db7; background: #edf5ff; }
.guide-reconstruction-list .is-teal { color: #187b7d; background: #eaf8f7; }
.guide-reconstruction-list .is-violet { color: #7564bd; background: #f1efff; }
.guide-reconstruction-list .is-orange { color: #b56c26; background: #fff3e4; }
.guide-reconstruction-list .is-grey { color: #617287; background: #eff3f6; }

.guide-reconstruction-list.is-sources > div {
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 2px 7px;
}

.guide-reconstruction-list.is-sources svg {
    width: 15px;
    height: 15px;
    grid-row: 1 / 3;
    color: var(--guide-teal);
}

.guide-reconstruction-list.is-sources small {
    grid-column: 2;
}

.guide-component-link {
    display: flex;
    width: fit-content;
    margin: 14px auto 0;
    color: #2c79c9;
    font-size: .69rem;
    font-weight: 800;
    align-items: center;
    gap: 6px;
}

.guide-component-link:hover { text-decoration: underline; }
.guide-component-link svg { width: 15px; height: 15px; }

.guide-separation-timeline {
    display: grid;
    position: relative;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-top: 24px;
    gap: 10px;
}

.guide-separation-timeline::before {
    position: absolute;
    top: 23px;
    right: 9%;
    left: 9%;
    height: 2px;
    background: #d7e5eb;
    content: "";
}

.guide-separation-timeline article {
    position: relative;
    z-index: 1;
    text-align: center;
}

.guide-separation-timeline article > span {
    display: grid;
    width: 46px;
    height: 46px;
    margin: 0 auto 10px;
    color: #4d7eaa;
    background: #fff;
    border: 2px solid #bdd4df;
    border-radius: 50%;
    place-items: center;
}

.guide-separation-timeline article.is-separation > span {
    color: #fff;
    background: var(--guide-coral);
    border-color: var(--guide-coral);
}

.guide-separation-timeline article.is-review > span {
    color: #a97729;
    background: #fff7e8;
    border-color: #e8c77f;
}

.guide-separation-timeline article.is-personal > span {
    color: #b95d52;
    background: var(--guide-coral-pale);
    border-color: #efa79e;
}

.guide-separation-timeline svg { width: 20px; height: 20px; }

.guide-separation-timeline strong {
    display: block;
    color: var(--guide-ink);
    font-size: .65rem;
}

.guide-separation-timeline p {
    margin: 5px auto 0;
    color: var(--guide-muted);
    font-size: .61rem;
    line-height: 1.45;
}

.guide-separation-cases {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 20px;
    gap: 14px;
}

.guide-separation-cases article {
    display: flex;
    padding: 18px;
    border: 1px solid var(--guide-line);
    border-radius: 11px;
    align-items: flex-start;
    gap: 12px;
}

.guide-separation-cases article.is-review {
    background: #fffaf0;
    border-color: #eed7aa;
}

.guide-separation-cases article.is-personal {
    background: var(--guide-coral-pale);
    border-color: #f0c7c0;
}

.guide-separation-cases article > svg {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    color: #ba812d;
}

.guide-separation-cases article.is-personal > svg { color: var(--guide-coral); }

.guide-separation-cases h3 {
    margin: 0 0 5px;
    color: var(--guide-ink);
    font-size: .76rem;
}

.guide-separation-cases p {
    margin: 0;
    color: var(--guide-muted);
    font-size: .67rem;
    line-height: 1.5;
}

.guide-deficit-case {
    display: grid;
    grid-template-columns: 1.1fr repeat(3, minmax(0, 1fr));
    margin-top: 24px;
    overflow: hidden;
    border: 1px solid var(--guide-line);
    border-radius: 14px;
}

.guide-deficit-case > * {
    min-width: 0;
    padding: 20px;
    background: #fff;
}

.guide-deficit-case > * + * {
    border-left: 1px solid var(--guide-line);
}

.guide-deficit-total {
    background: #fff7f4;
}

.guide-deficit-total > span {
    display: block;
    color: var(--guide-muted);
    font-size: .64rem;
    font-weight: 800;
    text-transform: uppercase;
}

.guide-deficit-total > strong {
    display: block;
    margin: 7px 0 15px;
    color: #cb594c;
    font-size: 1.34rem;
}

.guide-deficit-total dl {
    display: grid;
    margin: 0;
    gap: 8px;
}

.guide-deficit-total dl div {
    display: flex;
    color: #566d82;
    font-size: .62rem;
    justify-content: space-between;
    gap: 8px;
}

.guide-deficit-total dt,
.guide-deficit-total dd { margin: 0; }

.guide-deficit-total dd {
    color: #b5574d;
    font-weight: 800;
}

.guide-deficit-case article > span {
    display: grid;
    width: 34px;
    height: 34px;
    color: var(--guide-teal-dark);
    background: var(--guide-teal-pale);
    border-radius: 9px;
    place-items: center;
}

.guide-deficit-case article > span svg { width: 18px; height: 18px; }

.guide-deficit-case article h3 {
    margin: 12px 0;
    color: var(--guide-ink);
    font-size: .74rem;
    line-height: 1.35;
}

.guide-deficit-case article ul {
    display: grid;
    margin: 0;
    padding: 0;
    list-style: none;
    gap: 8px;
}

.guide-deficit-case article li {
    display: flex;
    color: var(--guide-muted);
    font-size: .62rem;
    line-height: 1.45;
    align-items: flex-start;
    gap: 7px;
}

.guide-deficit-case article li svg {
    width: 13px;
    height: 13px;
    margin-top: 2px;
    flex: 0 0 auto;
    color: var(--guide-teal);
}

.guide-report-table {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    margin-top: 24px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--guide-line);
    border-radius: 14px;
}

.guide-report-table > aside {
    padding: 22px;
    background: #f3f8ff;
    border-right: 1px solid var(--guide-line);
}

.guide-report-table > aside > span {
    color: var(--guide-ink);
    font-size: .78rem;
    font-weight: 800;
}

.guide-report-table aside ul {
    display: grid;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
    gap: 11px;
}

.guide-report-table aside li {
    display: flex;
    color: #516b83;
    font-size: .65rem;
    line-height: 1.45;
    align-items: flex-start;
    gap: 7px;
}

.guide-report-table aside li svg {
    width: 14px;
    height: 14px;
    margin-top: 2px;
    flex: 0 0 auto;
    color: var(--guide-teal);
}

.guide-report-table > section { min-width: 0; }

.guide-report-table section > header {
    display: flex;
    padding: 16px 18px;
    background: #f9fbfc;
    border-bottom: 1px solid var(--guide-line);
    align-items: center;
    justify-content: space-between;
}

.guide-report-table section > header div {
    display: grid;
    gap: 2px;
}

.guide-report-table section > header span {
    color: #3a82c7;
    font-size: .58rem;
    font-weight: 800;
    text-transform: uppercase;
}

.guide-report-table section > header strong {
    color: var(--guide-ink);
    font-size: .8rem;
}

.guide-report-table section > header svg {
    width: 20px;
    height: 20px;
    color: var(--guide-teal);
}

.guide-report-table section > div { overflow-x: auto; }

.guide-report-table table {
    width: 100%;
    min-width: 710px;
    border-collapse: collapse;
}

.guide-report-table th,
.guide-report-table td {
    padding: 10px 11px;
    border-right: 1px solid var(--guide-line-soft);
    border-bottom: 1px solid var(--guide-line-soft);
    font-size: .59rem;
    text-align: left;
    white-space: nowrap;
}

.guide-report-table th {
    color: #587086;
    background: #fbfdfe;
    font-weight: 800;
}

.guide-report-table tr > *:last-child { border-right: 0; }
.guide-report-table tbody tr:last-child td { border-bottom: 0; }

.guide-report-table section > a {
    display: flex;
    padding: 13px 16px;
    color: #2d78c5;
    border-top: 1px solid var(--guide-line);
    font-size: .65rem;
    font-weight: 800;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}

.guide-report-table section > a:hover { background: #f8fbff; }
.guide-report-table section > a svg { width: 14px; height: 14px; }

@media (max-width: 1080px) {
    .guide-evidence-chain {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .guide-evidence-chain .guide-chain-arrow {
        display: none;
    }

    .guide-dual-analysis {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .guide-dual-center {
        min-height: 58px;
    }

    .guide-dual-center::before {
        width: 1px;
        height: 72px;
    }

    .guide-account-reconstruction {
        grid-template-columns: 1fr 1fr;
    }

    .guide-account-reconstruction > section:last-child {
        grid-column: 1 / -1;
        border-top: 1px solid var(--guide-line);
        border-left: 0;
    }

    .guide-reconstruction-list.is-sources {
        grid-template-columns: repeat(2, 1fr);
    }

    .guide-reconstruction-list.is-sources > div:nth-child(even) {
        border-left: 1px solid var(--guide-line-soft);
    }

    .guide-deficit-case {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .guide-deficit-case > * {
        border-top: 1px solid var(--guide-line);
    }

    .guide-deficit-case > :nth-child(odd) {
        border-left: 0;
    }

    .guide-deficit-case > :nth-child(-n + 2) {
        border-top: 0;
    }
}

@media (max-width: 760px) {
    .guide-evidence-chain {
        grid-template-columns: 1fr;
    }

    .guide-evidence-chain article > strong {
        min-height: auto;
    }

    .guide-dual-analysis > article {
        padding: 19px;
    }

    .guide-official-references {
        align-items: flex-start;
        flex-direction: column;
    }

    .guide-account-reconstruction {
        grid-template-columns: 1fr;
    }

    .guide-account-reconstruction > section + section,
    .guide-account-reconstruction > section:last-child {
        grid-column: auto;
        border-top: 1px solid var(--guide-line);
        border-left: 0;
    }

    .guide-reconstruction-list.is-sources {
        grid-template-columns: 1fr;
    }

    .guide-reconstruction-list.is-sources > div:nth-child(even) {
        border-left: 0;
    }

    .guide-separation-timeline {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .guide-separation-timeline::before {
        top: 24px;
        right: auto;
        bottom: 24px;
        left: 22px;
        width: 2px;
        height: auto;
    }

    .guide-separation-timeline article {
        display: grid;
        min-height: 74px;
        padding-left: 64px;
        text-align: left;
        grid-template-columns: 1fr;
        align-content: center;
    }

    .guide-separation-timeline article > span {
        position: absolute;
        top: 13px;
        left: 0;
        margin: 0;
    }

    .guide-separation-timeline p {
        margin: 4px 0 0;
    }

    .guide-separation-cases {
        grid-template-columns: 1fr;
    }

    .guide-deficit-case {
        grid-template-columns: 1fr;
    }

    .guide-deficit-case > * + * {
        border-top: 1px solid var(--guide-line);
        border-left: 0;
    }

    .guide-deficit-case > :nth-child(2) {
        border-top: 1px solid var(--guide-line);
    }

    .guide-report-table {
        grid-template-columns: 1fr;
    }

    .guide-report-table > aside {
        border-right: 0;
        border-bottom: 1px solid var(--guide-line);
    }
}

