/* ═══════════════════════════════════════════════════════════════════
   SIMULATEUR RÉMUNÉRATION AF CD62 / CD80 / CD59 — CASAMAAF 62
   Design moderne, accessible, mobile-first aux couleurs CASAMAAF 62
   ═══════════════════════════════════════════════════════════════════ */

.cd62-sim,
.cd62-sim *,
.cd62-sim *::before,
.cd62-sim *::after {
    box-sizing: border-box;
}

.cd62-sim {
    margin: 36px auto;
    padding: 32px 28px;
    max-width: 860px;
    width: 100%;
    overflow: hidden;
    border: 1.5px solid var(--casa-line, #EFE2EC);
    border-top: 5px solid var(--casa-blue, #51145B);
    border-radius: 20px;
    background: #FFFFFF;
    box-shadow: 0 16px 40px -10px rgba(81, 20, 91, 0.12), 0 4px 12px rgba(0, 0, 0, 0.03);
    font-family: inherit;
    color: var(--casa-ink, #2A1226);
}

.cd62-sim-header {
    text-align: center;
    margin-bottom: 24px;
}

.cd62-badge-top {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 999px;
    background: #F4F7D9;
    color: #444E0E;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid var(--casa-chartreuse, #D5DB2F);
}

.cd62-sim-header h3 {
    margin: 14px 0 8px;
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(22px, 3.5vw, 28px);
    font-weight: 700;
    color: var(--casa-blue, #51145B);
    line-height: 1.25;
}

.cd62-sim-header p {
    margin: 0 auto;
    max-width: 680px;
    color: var(--casa-muted, #6E5A6C);
    font-size: 15px;
    line-height: 1.5;
}

.cd62-sim-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.cd62-sim-field,
.cd62-child-fields label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--casa-ink, #2A1226);
}

.cd62-sim-field > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--casa-blue, #51145B);
}

.cd62-select-wrap {
    position: relative;
    width: 100%;
}

.cd62-select-wrap::after {
    content: "";
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 6px;
    pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%2351145B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
}

.cd62-sim select,
.cd62-sim input {
    width: 100%;
    min-height: 48px;
    padding: 10px 14px;
    border: 1.5px solid var(--casa-line, #EFE2EC);
    border-radius: 10px;
    background: #FFFFFF;
    font-size: 15px;
    color: var(--casa-ink, #2A1226);
    transition: border-color 0.2s, box-shadow 0.2s;
    -webkit-appearance: none;
    appearance: none;
}

.cd62-sim select {
    padding-right: 36px;
    cursor: pointer;
}

.cd62-sim select:focus,
.cd62-sim input:focus {
    border-color: var(--casa-red, #E6007E);
    box-shadow: 0 0 0 3px rgba(230, 0, 126, 0.12);
    outline: none;
}

.cd62-residence-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 18px 0;
    padding: 14px 18px;
    border-radius: 12px;
    background: var(--casa-soft, #FBF3F8);
    border: 1px solid var(--casa-line, #EFE2EC);
    border-left: 4px solid var(--casa-red, #E6007E);
    font-size: 14px;
    line-height: 1.45;
    color: var(--casa-ink, #2A1226);
}

.cd62-residence-info svg {
    color: var(--casa-red, #E6007E);
    flex-shrink: 0;
}

.cd62-config-heading {
    margin: 24px 0 14px;
    padding-bottom: 8px;
    border-bottom: 1px dashed var(--casa-line, #EFE2EC);
}

.cd62-config-heading h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--casa-blue, #51145B);
}

.cd62-config-heading p {
    margin: 4px 0 0;
    font-size: 13px;
    color: var(--casa-muted, #6E5A6C);
}

.cd62-children-settings {
    display: grid;
    gap: 14px;
}

.cd62-child-card {
    background: #FFFFFF;
    border: 1.5px solid var(--casa-line, #EFE2EC);
    border-radius: 16px;
    padding: 18px 20px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.cd62-child-card:hover {
    border-color: #DCC6D8;
    box-shadow: 0 6px 18px rgba(81, 20, 91, 0.05);
}

.cd62-child-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.cd62-child-num-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, #51145B, #8E004D);
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 800;
}

.cd62-child-card-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--casa-blue, #51145B);
}

.cd62-child-fields {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.cd62-child-summary {
    margin-top: 14px;
    padding: 9px 13px;
    border-radius: 8px;
    background: var(--casa-soft, #FBF3F8);
    font-size: 13px;
    color: var(--casa-blue, #51145B);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.cd62-summary-chip {
    background: #FFFFFF;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid var(--casa-line, #EFE2EC);
    font-size: 12px;
}

.cd62-results {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 26px;
    width: 100%;
}

.cd62-res-card {
    padding: 18px 14px;
    border-radius: 14px;
    background: var(--casa-soft, #FBF3F8);
    border: 1px solid var(--casa-line, #EFE2EC);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 6px;
    min-width: 0;
    transition: transform 0.2s;
}

.cd62-res-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--casa-muted, #6E5A6C);
}

.cd62-res-card strong {
    font-size: clamp(18px, 2.2vw, 24px);
    font-weight: 800;
    color: var(--casa-blue, #51145B);
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
    word-break: break-word;
}

.cd62-res-sub {
    font-size: 11px;
    color: var(--casa-muted, #6E5A6C);
    line-height: 1.2;
}

.cd62-results .cd62-result-total {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-radius: 16px;
    background: linear-gradient(135deg, #51145B 0%, #75186A 50%, #9C1B68 100%);
    color: #FFFFFF;
    border: none;
    box-shadow: 0 12px 28px rgba(81, 20, 91, 0.24);
    text-align: left;
    gap: 16px;
}

.cd62-total-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.cd62-total-pill {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 999px;
    background: #D5DB2F;
    color: #3A430B;
    margin-bottom: 2px;
}

.cd62-results .cd62-result-total .cd62-res-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.9);
}

.cd62-results .cd62-result-total .cd62-res-sub {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.cd62-total-amount {
    text-align: right;
    flex-shrink: 0;
}

.cd62-results .cd62-result-total strong {
    color: #FFFFFF;
    font-size: clamp(26px, 3.2vw, 34px);
    font-weight: 900;
    line-height: 1.1;
    display: block;
}

/* ═══════════════════════════════════════════════════════════════════
   COMPARATIF INTERDÉPARTEMENTAL (62 / 59 / 80)
   ═══════════════════════════════════════════════════════════════════ */

.cd62-comparison {
    margin-top: 26px;
    padding: 24px 20px;
    border-radius: 18px;
    background: #FAF6FA;
    border: 1.5px solid var(--casa-line, #EFE2EC);
}

.cd62-comparison-header {
    margin-bottom: 18px;
}

.cd62-comparison-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--casa-blue, #51145B);
}

.cd62-comparison-title svg {
    flex-shrink: 0;
    color: var(--casa-blue, #51145B);
}

.cd62-comparison-title h4 {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    color: var(--casa-blue, #51145B);
}

.cd62-comparison-header p {
    margin: 4px 0 0;
    font-size: 13px;
    color: var(--casa-muted, #6E5A6C);
    line-height: 1.45;
}

.cd62-comp-highlight-msg:not(:empty) {
    margin-top: 12px;
}

.cd62-highlight-pill {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    background: #E8F6E6;
    border: 1px solid #BEE4B9;
    color: #145910;
    font-size: 13px;
    line-height: 1.4;
}

.cd62-highlight-pill.is-somme {
    background: #F3EAF3;
    border: 1px solid #DFCCE0;
    color: #51145B;
}

.cd62-highlight-pill svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.cd62-comparison-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.cd62-comp-card {
    background: #FFFFFF;
    border: 1.5px solid var(--casa-line, #EFE2EC);
    border-radius: 14px;
    padding: 14px 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    box-sizing: border-box;
}

.cd62-comp-card:hover {
    border-color: #DCC6D8;
    box-shadow: 0 6px 18px rgba(81, 20, 91, 0.06);
}

.cd62-comp-card.is-active {
    border: 2px solid var(--casa-blue, #51145B);
    box-shadow: 0 8px 24px -6px rgba(81, 20, 91, 0.16);
    background: #FFFFFF;
}

.cd62-comp-card-top {
    padding-bottom: 10px;
    border-bottom: 1px solid var(--casa-line, #EFE2EC);
}

.cd62-comp-dept-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.cd62-comp-dept-wrap {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
}

.cd62-comp-dept-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: var(--casa-soft, #FBF3F8);
    color: var(--casa-blue, #51145B);
    font-size: 12px;
    font-weight: 800;
    border: 1px solid var(--casa-line, #EFE2EC);
    flex-shrink: 0;
}

.cd62-comp-card.is-active .cd62-comp-dept-badge {
    background: var(--casa-blue, #51145B);
    color: #FFFFFF;
    border-color: var(--casa-blue, #51145B);
}

.cd62-comp-dept-name {
    margin: 0;
    font-size: 14px;
    font-weight: 800;
    color: var(--casa-ink, #2A1226);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cd62-comp-active-pill {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 7px;
    border-radius: 999px;
    background: #D5DB2F;
    color: #3A430B;
    flex-shrink: 0;
    white-space: nowrap;
}

/* Bannière de gain "+ X €" */
.cd62-comp-gain-banner {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 9px;
    border-radius: 8px;
    font-size: 11px;
    line-height: 1.25;
}

.cd62-comp-gain-banner.is-positive {
    background: #E8F6E6;
    border: 1px solid #BEE4B9;
    color: #145910;
}

.cd62-comp-gain-banner.is-positive strong {
    font-size: 14px;
    font-weight: 900;
    color: #12540e;
    letter-spacing: -0.2px;
}

.cd62-comp-gain-banner.is-equal {
    background: #F4F0F4;
    border: 1px solid #E5DFE4;
    color: #5C4D5B;
}

.cd62-comp-gain-banner.is-equal strong {
    font-size: 12px;
    font-weight: 800;
    color: #5C4D5B;
}

.cd62-comp-gain-banner.is-current {
    background: #F8F0F7;
    border: 1px solid #EBD9E8;
    color: #51145B;
}

.cd62-comp-gain-banner.is-current strong {
    font-size: 12px;
    font-weight: 800;
    color: #51145B;
}

.cd62-comp-gain-banner.is-less {
    background: #FDF0ED;
    border: 1px solid #F5CECA;
    color: #9C2E1A;
}

.cd62-comp-gain-banner.is-less strong {
    font-size: 12px;
    font-weight: 800;
    color: #9C2E1A;
}

.cd62-comp-gain-icon {
    font-size: 12px;
    font-weight: 900;
    flex-shrink: 0;
}

.cd62-comp-gain-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.cd62-comp-gain-text small {
    font-size: 10px;
    opacity: 0.85;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Corps des chiffres */
.cd62-comp-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cd62-comp-metric {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cd62-comp-metric-label {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--casa-muted, #6E5A6C);
}

.cd62-comp-metric-amount-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
}

.cd62-comp-metric-value {
    font-size: clamp(16px, 1.7vw, 19px);
    font-weight: 800;
    color: var(--casa-ink, #2A1226);
    font-variant-numeric: tabular-nums;
    line-height: 1.15;
}

.cd62-comp-inline-diff {
    font-size: 10px;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 4px;
    line-height: 1.2;
}

.cd62-comp-inline-diff.is-plus {
    background: #E8F6E6;
    color: #145910;
}

.cd62-comp-inline-diff.is-minus {
    background: #FDF0ED;
    color: #9C2E1A;
}

.cd62-comp-metric-sub {
    font-size: 10px;
    color: var(--casa-muted, #6E5A6C);
}

.cd62-comp-metric-total {
    padding: 8px 10px;
    border-radius: 8px;
    background: #FBF3F9;
    border: 1px solid #F1DFEC;
}

.cd62-comp-metric-total .cd62-comp-metric-label {
    color: var(--casa-blue, #51145B);
}

.cd62-comp-metric-total .cd62-comp-metric-value.cd62-comp-total-val {
    color: var(--casa-blue, #51145B);
    font-size: clamp(17px, 1.9vw, 21px);
    font-weight: 900;
}

/* Pied de carte */
.cd62-comp-footer {
    margin-top: 2px;
}

.cd62-comp-apply-btn {
    width: 100%;
    min-height: 34px;
    border: 1.5px solid var(--casa-blue, #51145B);
    background: #FFFFFF;
    color: var(--casa-blue, #51145B);
    border-radius: 7px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    padding: 6px 8px;
}

.cd62-comp-apply-btn:hover {
    background: var(--casa-blue, #51145B);
    color: #FFFFFF;
}

.cd62-comp-current-tag {
    width: 100%;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--casa-blue, #51145B);
    background: #F8F0F7;
    padding: 7px 8px;
    border-radius: 7px;
    border: 1px dashed #DFCCE0;
}

/* ═══════════════════════════════════════════════════════════════════
   DÉTAILS ET NOTES LÉGALES
   ═══════════════════════════════════════════════════════════════════ */

.cd62-calculation-details {
    margin-top: 20px;
    padding: 18px 20px;
    border-radius: 14px;
    background: #FFFFFF;
    border: 1px solid var(--casa-line, #EFE2EC);
}

.cd62-details-header {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--casa-blue, #51145B);
    margin-bottom: 12px;
}

.cd62-details-header h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
}

.cd62-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-top: 1px solid var(--casa-line, #EFE2EC);
    font-size: 14px;
    gap: 12px;
}

.cd62-detail-child-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--casa-blue, #51145B);
    font-weight: 700;
    font-size: 13px;
    flex-shrink: 0;
}

.cd62-tag-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--casa-red, #E6007E);
}

.cd62-detail-numbers {
    color: var(--casa-ink, #2A1226);
    font-size: 13px;
    text-align: right;
}

.cd62-sep {
    color: var(--casa-line, #EFE2EC);
    margin: 0 6px;
}

.cd62-sim-footer {
    margin-top: 20px;
    padding: 14px 16px;
    border-radius: 10px;
    background: #FAF7F9;
    border: 1px solid var(--casa-line, #EFE2EC);
    font-size: 12px;
    color: var(--casa-muted, #6E5A6C);
}

.cd62-footer-content {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.cd62-footer-content svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--casa-blue, #51145B);
}

.cd62-footer-content p {
    margin: 3px 0;
    line-height: 1.45;
}

@media (max-width: 820px) {
    .cd62-child-fields {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 680px) {
    .cd62-results {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .cd62-results .cd62-result-total {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px 20px;
        gap: 8px;
    }
    .cd62-total-amount {
        text-align: left;
    }
    .cd62-comparison {
        padding: 16px 14px;
    }
    .cd62-comparison-cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

@media (max-width: 600px) {
    .cd62-sim {
        margin: 24px auto;
        padding: 20px 16px;
        border-radius: 16px;
    }
    .cd62-sim-grid,
    .cd62-child-fields {
        grid-template-columns: 1fr;
    }
    .cd62-detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    .cd62-detail-numbers {
        text-align: left;
    }
}

/* Styles spécifiques petite enfance et sujétion Nord */
.cd62-summary-chip.cd62-chip-sujetion {
    background: #E8F5E9;
    border-color: #A5D6A7;
    color: #1B5E20;
}

.cd62-highlight-pill.is-nord {
    background: #E8F5E9;
    border-color: #A5D6A7;
    color: #1B5E20;
}

.cd62-highlight-pill.is-nord svg {
    color: #2E7D32;
}

.cd62-detail-sujetion {
    color: #1B5E20;
    font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════════════
   TABLEAUX ÉDITORIAUX & COMPARATIFS DE BARÈMES
   Design soigné, responsive, typographie noble CASAMAAF 62
   ═══════════════════════════════════════════════════════════════════ */

.casamaaf62-prose .cd62-table-wrap,
.cd62-table-wrap {
    margin: 26px 0 32px;
    border-radius: 16px;
    overflow-x: auto;
    background: #FFFFFF;
    box-shadow: 0 8px 24px -6px rgba(81, 20, 91, 0.08), 0 2px 6px rgba(0, 0, 0, 0.03);
    border: 1.5px solid #EFE2EC;
    -webkit-overflow-scrolling: touch;
}

.casamaaf62-prose .cd62-table-wrap table,
.cd62-table-wrap table {
    width: 100% !important;
    min-width: 520px;
    border-collapse: collapse !important;
    margin: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    font-size: 14.5px;
    font-variant-numeric: tabular-nums;
}

.casamaaf62-prose .cd62-table-wrap thead tr,
.cd62-table-wrap thead tr {
    background: linear-gradient(135deg, #51145B 0%, #6E1B7B 100%) !important;
}

.casamaaf62-prose .cd62-table-wrap th,
.cd62-table-wrap th {
    background: transparent !important;
    color: #FFFFFF !important;
    font-family: inherit;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px;
    padding: 14px 18px !important;
    border: none !important;
    line-height: 1.35;
    vertical-align: middle;
}

.casamaaf62-prose .cd62-table-wrap td,
.cd62-table-wrap td {
    padding: 13px 18px !important;
    border: none !important;
    border-bottom: 1px solid #F0E6EE !important;
    color: #2A1226 !important;
    vertical-align: middle;
    line-height: 1.45;
    background: #FFFFFF !important;
    font-size: 14px;
}

.casamaaf62-prose .cd62-table-wrap tbody tr:nth-child(even) td,
.cd62-table-wrap tbody tr:nth-child(even) td {
    background: #FAF6F9 !important;
}

.casamaaf62-prose .cd62-table-wrap tbody tr:hover td,
.cd62-table-wrap tbody tr:hover td {
    background: #F5EBF3 !important;
}

.casamaaf62-prose .cd62-table-wrap tbody tr:last-child td,
.cd62-table-wrap tbody tr:last-child td {
    border-bottom: none !important;
}

.casamaaf62-prose .cd62-table-wrap td strong,
.cd62-table-wrap td strong {
    color: #51145B !important;
    font-weight: 700;
}

.casamaaf62-prose .cd62-table-wrap .text-left,
.cd62-table-wrap .text-left {
    text-align: left !important;
}

.casamaaf62-prose .cd62-table-wrap .text-center,
.cd62-table-wrap .text-center {
    text-align: center !important;
}

.casamaaf62-prose .cd62-table-wrap .text-right,
.cd62-table-wrap .text-right {
    text-align: right !important;
}

.casamaaf62-prose .cd62-table-wrap tbody td.col-highlight,
.cd62-table-wrap tbody td.col-highlight {
    background: #FCF7FB !important;
}

.casamaaf62-prose .cd62-table-wrap tbody tr:nth-child(even) td.col-highlight,
.cd62-table-wrap tbody tr:nth-child(even) td.col-highlight {
    background: #F5EBF3 !important;
}

/* Cellules et valeurs typographiques de tableau */
.cd62-cell-label {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cd62-cell-label strong {
    font-size: 14.5px;
    color: #2A1226 !important;
    font-weight: 700;
}

.cd62-label-sub {
    font-size: 12px;
    color: #8C7B8A;
}

.cd62-cell-val {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    white-space: nowrap;
}

.cd62-val-daily {
    font-size: 15px;
    font-weight: 700;
    color: #2A1226 !important;
    line-height: 1.2;
}

.cd62-val-daily.is-bonus {
    color: #065F46 !important;
}

.cd62-val-unit {
    font-size: 12px;
    font-weight: 500;
    color: #6E5A6C;
}

.cd62-val-monthly {
    font-size: 12px;
    color: #6E5A6C;
    line-height: 1.25;
}

.cd62-val-monthly.is-bonus {
    color: #047857;
    font-weight: 600;
}

.cd62-val-monthly small {
    color: #8C7B8A;
    font-size: 11px;
}

.cd62-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.25;
    white-space: nowrap;
}

.cd62-pill.is-green {
    background: #ECFDF5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

.cd62-pill.is-purple {
    background: #F3E8FF;
    color: #51145B;
    border: 1px solid #E9D5FF;
}

.cd62-pill.is-gray {
    background: #F1F5F9;
    color: #475569;
    border: 1px solid #E2E8F0;
}
