/* Hub Paiements (PaymentEntry) — réutilise .sh-* / .mh-* ; accent bleu */

.payment-entry-hub-page.sh-hub-page,
.payment-entry-hub-page .sh-hub {
    --sh-accent: #0b90ce;
    --sh-accent-2: #38a9db;
    --sh-accent-dark: #0a6f9e;
    --sh-accent-soft: #e0f2fe;
    --sh-accent-ring: rgba(11, 144, 206, .22);
}

.payment-entry-hub-page .sh-header {
    background:
        radial-gradient(1200px 300px at 85% -60%, rgba(255, 255, 255, .14), transparent 60%),
        linear-gradient(120deg, #0a5d86 0%, #0b90ce 50%, #38bdf8 100%);
}

.payment-entry-hub-page .sh-header .sh-header-btn {
    width: auto;
    height: auto;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    gap: 8px;
    display: inline-flex;
    align-items: center;
    color: #fff;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .28);
    text-decoration: none;
}

.payment-entry-hub-page .sh-header .sh-header-btn:hover {
    background: rgba(255, 255, 255, .24);
    color: #fff;
}

/* KPI */
.payment-entry-hub-page .pe-kpis {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

.payment-entry-hub-page .pe-kpis.pe-kpis-status {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 8px;
    margin-bottom: 14px;
}

.payment-entry-hub-page .sh-kpi {
    align-items: center;
    min-height: 78px;
    cursor: pointer;
}

.payment-entry-hub-page .pe-kpis-status .sh-kpi {
    min-height: 52px;
    padding: 8px 12px;
    gap: 10px;
}

.payment-entry-hub-page .pe-kpis-status .sh-kpi-icon {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    font-size: 12px;
}

.payment-entry-hub-page .sh-kpi-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.payment-entry-hub-page .sh-kpi-value {
    display: block;
    font-size: 22px;
    font-weight: 750;
    line-height: 1.15;
    color: #0f172a;
}

.payment-entry-hub-page .pe-kpis-status .sh-kpi-value {
    font-size: 17px;
}

.payment-entry-hub-page .sh-kpi-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    line-height: 1.25;
}

.payment-entry-hub-page .sh-kpi-label.pe-kpi-sub {
    font-size: 11px;
    font-weight: 500;
    color: #94a3b8;
}

.payment-entry-hub-page .pe-kpis-status .sh-kpi-label.pe-kpi-sub {
    display: none;
}

.payment-entry-hub-page .sh-kpi.is-on {
    border-color: var(--sh-accent);
    box-shadow: 0 0 0 2px var(--sh-accent-ring);
}

.payment-entry-hub-page .sh-kpi.tone-ok .sh-kpi-icon { background: #dcfce7; color: #15803d; }
.payment-entry-hub-page .sh-kpi.tone-info .sh-kpi-icon { background: #e0f2fe; color: #0369a1; }
.payment-entry-hub-page .sh-kpi.tone-warn .sh-kpi-icon { background: #fef3c7; color: #b45309; }
.payment-entry-hub-page .sh-kpi.tone-danger .sh-kpi-icon { background: #fee2e2; color: #b91c1c; }
.payment-entry-hub-page .sh-kpi.tone-neutral .sh-kpi-icon { background: #f1f5f9; color: #475569; }

/* Filtres */
.payment-entry-hub-page .ph-filter-bar {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-left: auto;
}

.payment-entry-hub-page .ph-filter-bar .custom-applied-filters-wrap {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.payment-entry-hub-page .ph-filter-bar .custom-filter-btn {
    white-space: nowrap;
}

/*
 * Tableau paiements — annule les min-width 100/128px de mh-hub
 * (sinon SEPA / Achat / Facture se font écraser).
 * Largeurs en % + plancher léger (~1280) : lisible, peu de scroll.
 */
.payment-entry-hub-page .sh-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.payment-entry-hub-page .mh-table {
    table-layout: fixed;
    width: 100%;
    min-width: 1420px;
    border-collapse: separate;
    border-spacing: 0;
}

.payment-entry-hub-page .mh-table th,
.payment-entry-hub-page .mh-table td,
.payment-entry-hub-page .mh-table th.mh-col-link,
.payment-entry-hub-page .mh-table td.mh-col-link,
.payment-entry-hub-page .mh-table th.mh-col-text,
.payment-entry-hub-page .mh-table td.mh-col-text,
.payment-entry-hub-page .mh-table th.mh-col-link.is-main,
.payment-entry-hub-page .mh-table td.mh-col-link.is-main {
    min-width: 0 !important;
    max-width: none !important;
}

.payment-entry-hub-page .mh-table th,
.payment-entry-hub-page .mh-table td {
    padding: 6px 6px;
    white-space: nowrap;
    overflow: hidden !important;
    text-overflow: ellipsis;
    vertical-align: middle;
    box-sizing: border-box;
}

.payment-entry-hub-page .mh-table thead th {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Liens longs : 2 lignes max, clipés dans la cellule (pas SEPA) */
.payment-entry-hub-page .mh-table td.ph-col-entite a,
.payment-entry-hub-page .mh-table td.ph-col-account a,
.payment-entry-hub-page .mh-table td.ph-col-achat a,
.payment-entry-hub-page .mh-table td.ph-col-method a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal !important;
    word-break: break-word;
    overflow-wrap: anywhere;
    line-height: 1.3;
    max-width: 100%;
    font-size: 12.5px;
}

/* Répartition — Facture / Achat / SEPA priorisés */
.payment-entry-hub-page .mh-table th.ph-col-entite,
.payment-entry-hub-page .mh-table td.ph-col-entite { width: 8%; }
.payment-entry-hub-page .mh-table th.ph-col-number,
.payment-entry-hub-page .mh-table td.ph-col-number { width: 8.5%; }
.payment-entry-hub-page .mh-table th.ph-col-datePaid,
.payment-entry-hub-page .mh-table td.ph-col-datePaid { width: 6.5%; }
.payment-entry-hub-page .mh-table th.ph-col-method,
.payment-entry-hub-page .mh-table td.ph-col-method { width: 9%; }
.payment-entry-hub-page .mh-table th.ph-col-status,
.payment-entry-hub-page .mh-table td.ph-col-status {
    width: 92px !important;
    min-width: 88px !important;
    max-width: 100px !important;
    overflow: visible !important;
    text-overflow: unset;
}
.payment-entry-hub-page .mh-table td.ph-col-status .sh-badge {
    display: inline-flex;
    align-items: center;
    max-width: none;
    white-space: nowrap;
}
.payment-entry-hub-page .mh-table th.ph-col-account,
.payment-entry-hub-page .mh-table td.ph-col-account { width: 8%; }
.payment-entry-hub-page .mh-table th.ph-col-facture,
.payment-entry-hub-page .mh-table td.ph-col-facture { width: 9.5%; }
.payment-entry-hub-page .mh-table th.ph-col-accountNumeroIban,
.payment-entry-hub-page .mh-table td.ph-col-accountNumeroIban {
    width: 210px !important;
    min-width: 200px !important;
    max-width: 240px !important;
    font-variant-numeric: tabular-nums;
    font-size: 11.5px;
    letter-spacing: .02em;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis;
}
.payment-entry-hub-page .mh-table th.ph-col-achat,
.payment-entry-hub-page .mh-table td.ph-col-achat { width: 11%; }
.payment-entry-hub-page .mh-table th.ph-col-amount,
.payment-entry-hub-page .mh-table td.ph-col-amount {
    width: 8%;
    white-space: nowrap;
    overflow: hidden !important;
    text-overflow: ellipsis;
    text-align: right;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: #0f172a;
}
/* SEPA : largeur garantie + une seule ligne (évite wrap lettre à lettre) */
.payment-entry-hub-page .mh-table th.ph-col-sepaexport,
.payment-entry-hub-page .mh-table td.ph-col-sepaexport {
    width: 170px !important;
    min-width: 160px !important;
    max-width: 200px !important;
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    overflow: hidden !important;
    text-overflow: ellipsis;
    font-size: 12px;
}
.payment-entry-hub-page .mh-table td.ph-col-sepaexport a {
    display: inline-block;
    max-width: 100%;
    white-space: nowrap !important;
    word-break: normal !important;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
}

.payment-entry-hub-page .mh-table th.mh-col-acts,
.payment-entry-hub-page .mh-table td.mh-col-acts {
    width: 42px !important;
    min-width: 42px !important;
    max-width: 46px !important;
    padding-left: 2px;
    padding-right: 4px;
}

/* Numéro : lien + badge empilés, jamais lettre-à-lettre */
.payment-entry-hub-page .mh-table td.ph-col-number,
.payment-entry-hub-page .mh-table td.ph-col-number.mh-col-link {
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    overflow: hidden !important;
}
.payment-entry-hub-page .mh-table td.ph-col-number .sh-row-title,
.payment-entry-hub-page .mh-table td.ph-col-number .pe-number-cell {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    max-width: 100%;
    white-space: normal !important;
    word-break: normal !important;
    overflow: hidden;
}
.payment-entry-hub-page .mh-table td.ph-col-number .pe-number-cell > a,
.payment-entry-hub-page .mh-table td.ph-col-number .sh-row-title > a {
    display: inline-block;
    max-width: 100%;
    white-space: nowrap !important;
    word-break: normal !important;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 700;
}
.payment-entry-hub-page .mh-table td.ph-col-number .pe-number-meta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex-wrap: nowrap;
    max-width: 100%;
}

.payment-entry-hub-page .mh-table th.ph-col-datePaid,
.payment-entry-hub-page .mh-table td.ph-col-datePaid {
    white-space: nowrap;
    overflow: hidden !important;
    text-overflow: ellipsis;
}

/* Facture / IBAN : clip strict (plus de chevauchement) */
.payment-entry-hub-page .mh-table td.ph-col-facture,
.payment-entry-hub-page .mh-table td.ph-col-accountNumeroIban {
    overflow: hidden !important;
    text-overflow: ellipsis;
    white-space: nowrap !important;
    word-break: normal !important;
}
.payment-entry-hub-page .mh-table td.ph-col-facture .pe-facture-cell {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    max-width: 100%;
    overflow: hidden;
}
.payment-entry-hub-page .mh-table td.ph-col-facture .pe-affectation-link {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/*
 * Clients (Inbound) — moins de colonnes
 */
.payment-entry-hub-page.is-inbound .mh-table {
    min-width: 980px;
}
.payment-entry-hub-page.is-inbound .mh-table th.ph-col-entite,
.payment-entry-hub-page.is-inbound .mh-table td.ph-col-entite { width: 12%; }
.payment-entry-hub-page.is-inbound .mh-table th.ph-col-number,
.payment-entry-hub-page.is-inbound .mh-table td.ph-col-number { width: 12%; }
.payment-entry-hub-page.is-inbound .mh-table th.ph-col-datePaid,
.payment-entry-hub-page.is-inbound .mh-table td.ph-col-datePaid { width: 9%; }
.payment-entry-hub-page.is-inbound .mh-table th.ph-col-account,
.payment-entry-hub-page.is-inbound .mh-table td.ph-col-account { width: 18%; }
.payment-entry-hub-page.is-inbound .mh-table th.ph-col-facture,
.payment-entry-hub-page.is-inbound .mh-table td.ph-col-facture { width: 14%; }
.payment-entry-hub-page.is-inbound .mh-table th.ph-col-amount,
.payment-entry-hub-page.is-inbound .mh-table td.ph-col-amount { width: 11%; }
.payment-entry-hub-page.is-inbound .mh-table th.ph-col-method,
.payment-entry-hub-page.is-inbound .mh-table td.ph-col-method { width: 14%; }
.payment-entry-hub-page.is-inbound .mh-table th.ph-col-status,
.payment-entry-hub-page.is-inbound .mh-table td.ph-col-status { width: 8%; }

/* Badges type (Fournisseur / Client) */
.payment-entry-hub-page .pe-lock-icon {
    color: #b45309;
    margin-left: 6px;
    font-size: 12px;
}

.payment-entry-hub-page .pe-type-badge {
    display: inline-flex;
    align-items: center;
    padding: 1px 7px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1.5;
    white-space: nowrap;
}

.payment-entry-hub-page .pe-type-badge.is-outbound {
    background: #fef3c7;
    color: #92400e;
}

.payment-entry-hub-page .pe-type-badge.is-inbound {
    background: #dcfce7;
    color: #166534;
}

/* Statuts (pe-status-*) — complète .sh-badge.b-* */
.payment-entry-hub-page .sh-badge.pe-status-draft { background: #f1f5f9; color: #475569; border-color: #e2e8f0; }
.payment-entry-hub-page .sh-badge.pe-status-progress { background: #fef3c7; color: #92400e; border-color: #fde68a; }
.payment-entry-hub-page .sh-badge.pe-status-paid { background: #dcfce7; color: #166534; border-color: #bbf7d0; }
.payment-entry-hub-page .sh-badge.pe-status-completed { background: #d1fae5; color: #065f46; border-color: #a7f3d0; }
.payment-entry-hub-page .sh-badge.pe-status-canceled { background: #fee2e2; color: #991b1b; border-color: #fecaca; }

.payment-entry-hub-page .pe-empty-cell {
    color: #94a3b8;
}

/* Cases à cocher + bandeau total (comme Prépa / Achat / Factures) */
.payment-entry-hub-page .sh-check-cell {
    width: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;
    padding-left: 4px !important;
    padding-right: 2px !important;
    text-align: center;
    overflow: visible !important;
}
.payment-entry-hub-page .sh-check-cell input[type="checkbox"] {
    margin: 0;
    cursor: pointer;
}

.payment-entry-hub-page .ph-selection-bar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin: 0 0 8px;
    padding: 8px 12px;
    width: 100%;
    box-sizing: border-box;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    font-size: 13px;
}
.payment-entry-hub-page .ph-selection-count {
    font-size: 15px;
    font-weight: 700;
    color: #212529;
    margin-left: 6px;
}
.payment-entry-hub-page .ph-selection-label,
.payment-entry-hub-page .ph-selection-title {
    color: #6c757d;
}
.payment-entry-hub-page .ph-selection-sep {
    color: #adb5bd;
    margin: 0 4px;
}
.payment-entry-hub-page .ph-selection-amount {
    font-size: 18px;
    font-weight: 700;
    color: #212529;
    white-space: nowrap;
}
.payment-entry-hub-page .ph-selection-clear {
    margin-left: 4px;
}

.payment-entry-hub-page .mh-table tfoot.ph-list-totals tr.ph-totals-row td {
    border-top: 2px solid #dee2e6;
    background: #f8f9fa;
    font-weight: 700;
    padding-top: 8px;
    padding-bottom: 8px;
}
.payment-entry-hub-page .mh-table tfoot.ph-list-totals .ph-totals-cell {
    text-align: right;
    font-variant-numeric: tabular-nums;
    color: #0f172a;
}
.payment-entry-hub-page .mh-table tr.sh-row-selected > td {
    background: rgba(11, 144, 206, .06);
}

/* Inbound : facture = affectations (Invoice / CreditNote) */
.payment-entry-hub-page .pe-facture-cell {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
}

.payment-entry-hub-page .pe-invoice-pdf {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #b91c1c;
    font-size: 13px;
    line-height: 1;
    padding: 1px 2px;
    text-decoration: none !important;
    flex-shrink: 0;
}

.payment-entry-hub-page .pe-invoice-pdf:hover {
    color: #7f1d1d;
}

.payment-entry-hub-page .pe-invoice-pdf::after,
.payment-entry-hub-page a.pe-invoice-pdf[target="_blank"]::after {
    content: none !important;
    display: none !important;
}

.payment-entry-hub-page .pe-affectation-link {
    color: #0f766e;
    font-weight: 650;
    text-decoration: none;
    white-space: nowrap;
}
.payment-entry-hub-page .pe-affectation-link:hover {
    color: #115e59;
    text-decoration: underline;
}
.payment-entry-hub-page .pe-affectation-sep {
    color: #94a3b8;
}

/* ModernTheme ajoute ::after sur a[target=_blank] — éviter le double icône. */
.payment-entry-hub-page .pe-affectation-link::after,
.payment-entry-hub-page a.pe-affectation-link[target="_blank"]::after {
    display: none !important;
    content: none !important;
}

/* ---- Fiche détail (pe-detail-page) ---- */
body:has(.pe-detail-page) .container,
body:has(.pe-detail-page) #content,
body:has(.pe-detail-page).has-navbar > .content,
body:has(.pe-detail-page)[data-navbar="side"].minimized #content,
body:has(.pe-detail-page)[data-navbar="side"].has-navbar > .content {
    max-width: none !important;
    width: 100%;
}

.payment-entry-hub-page.pe-detail-page .pe-detail-head-text {
    min-width: 0;
}

.payment-entry-hub-page.pe-detail-page .sh-subtitle {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.payment-entry-hub-page.pe-detail-page .pe-detail-amount-sub {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.payment-entry-hub-page.pe-detail-page .pe-detail-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.payment-entry-hub-page.pe-detail-page .sh-header .sh-header-btn.is-danger:hover {
    background: rgba(220, 38, 38, .55);
}

.payment-entry-hub-page.pe-detail-page .pe-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(260px, .8fr);
    gap: 14px;
    align-items: start;
}

@media (max-width: 900px) {
    .payment-entry-hub-page.pe-detail-page .pe-detail-grid {
        grid-template-columns: 1fr;
    }
}

.payment-entry-hub-page.pe-detail-page .pe-detail-main {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

.payment-entry-hub-page.pe-detail-page .pe-detail-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}

.payment-entry-hub-page.pe-detail-page .pe-detail-card-h {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 750;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 12px;
}

.payment-entry-hub-page.pe-detail-page .pe-detail-card-h .fas {
    color: #0b90ce;
}

.payment-entry-hub-page.pe-detail-page .pe-detail-amount {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    font-variant-numeric: tabular-nums;
    margin-bottom: 12px;
}

.payment-entry-hub-page.pe-detail-page .pe-detail-dl {
    margin: 0;
}

.payment-entry-hub-page.pe-detail-page .pe-detail-dl-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 24px;
}

@media (max-width: 640px) {
    .payment-entry-hub-page.pe-detail-page .pe-detail-dl-grid {
        grid-template-columns: 1fr;
    }
}

.payment-entry-hub-page.pe-detail-page .pe-detail-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 8px 0;
    border-bottom: 1px dashed #e2e8f0;
}

.payment-entry-hub-page.pe-detail-page .pe-detail-row:last-child {
    border-bottom: 0;
}

.payment-entry-hub-page.pe-detail-page .pe-detail-row dt {
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    text-align: left;
}

.payment-entry-hub-page.pe-detail-page .pe-detail-row dd {
    margin: 0;
    min-width: 0;
    width: 100%;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    overflow-wrap: anywhere;
}

.payment-entry-hub-page.pe-detail-page .pe-detail-row dd a {
    color: #0a6f9e;
    text-decoration: none;
}

.payment-entry-hub-page.pe-detail-page .pe-detail-row dd a:hover {
    text-decoration: underline;
}

.payment-entry-hub-page.pe-detail-page .pe-detail-p {
    margin: 0;
    white-space: pre-wrap;
    color: #334155;
    font-size: 13.5px;
    line-height: 1.55;
}

.payment-entry-hub-page.pe-detail-page .pe-detail-muted {
    margin: 0;
    color: #94a3b8;
    font-size: 13px;
}

.payment-entry-hub-page.pe-detail-page .pe-alloc-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.payment-entry-hub-page.pe-detail-page .pe-alloc-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px dashed #e2e8f0;
}

.payment-entry-hub-page.pe-detail-page .pe-alloc-target {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.payment-entry-hub-page.pe-detail-page .pe-alloc-target .fas {
    font-size: 10px;
    opacity: .7;
}

.payment-entry-hub-page.pe-detail-page .pe-alloc-type {
    font-size: 10.5px;
    font-weight: 700;
    color: #64748b;
    background: #f1f5f9;
    border-radius: 999px;
    padding: 1px 7px;
}

.payment-entry-hub-page.pe-detail-page .pe-alloc-amount {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    color: #0f172a;
}

.payment-entry-hub-page.pe-detail-page .pe-alloc-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    padding: 10px 12px;
    background: #e0f2fe;
    border-radius: 10px;
    font-size: 13px;
    color: #0a6f9e;
}

.payment-entry-hub-page.pe-detail-page .pe-alloc-total strong {
    font-variant-numeric: tabular-nums;
    color: #0f172a;
}

.payment-entry-hub-page.pe-detail-page .pe-detail-empty {
    text-align: center;
    padding: 48px 16px;
    color: #64748b;
}

.payment-entry-hub-page.pe-detail-page .pe-detail-empty .fas {
    font-size: 24px;
    margin-bottom: 8px;
}

/* Édition inline fiche hub */
.payment-entry-hub-page.pe-detail-page .pe-detail-card.is-editing {
    box-shadow: inset 0 0 0 1px rgba(11, 144, 206, .28);
}
.payment-entry-hub-page.pe-detail-page .pe-edit-pill {
    display: inline-block;
    margin-left: 8px;
    padding: 1px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    background: #e0f2fe;
    color: #0a6f9e;
    vertical-align: middle;
}
.payment-entry-hub-page.pe-detail-page .pe-detail-row--edit dd {
    min-width: 0;
}
.payment-entry-hub-page.pe-detail-page .pe-edit-input,
.payment-entry-hub-page.pe-detail-page .pe-edit-textarea {
    width: 100%;
    max-width: 320px;
    height: 36px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 13px;
    background: #fff;
}
.payment-entry-hub-page.pe-detail-page .pe-edit-textarea {
    height: auto;
    max-width: 100%;
    min-height: 96px;
    resize: vertical;
}
.payment-entry-hub-page.pe-detail-page .pe-edit-amount-wrap {
    display: flex;
    gap: 8px;
    max-width: 320px;
}
.payment-entry-hub-page.pe-detail-page .pe-edit-amount-wrap .pe-edit-input {
    max-width: none;
}
.payment-entry-hub-page.pe-detail-page .pe-edit-currency {
    width: 72px;
    flex: none;
    text-transform: uppercase;
}
