/* Espaces client et prestataire — design 2026 (s'appuie sur helpplace-theme.css) */
.hp-esp{max-width:1220px;margin:0 auto;padding:28px 20px 64px;display:grid;grid-template-columns:268px minmax(0,1fr);gap:28px;align-items:start}
.hp-esp-side{position:sticky;top:96px;background:#fff;border:1px solid var(--hp-line);border-radius:var(--hp-radius-lg);padding:16px}
.hp-esp-who{display:flex;gap:12px;align-items:center;padding:6px 6px 14px;border-bottom:1px solid var(--hp-line);margin-bottom:10px}
.hp-esp-av{width:46px;height:46px;border-radius:14px;background:var(--hp-brand-soft);color:var(--hp-brand);display:grid;place-items:center;font-weight:800;font-size:19px;flex:0 0 46px;overflow:hidden}
.hp-esp-av img{width:100%;height:100%;object-fit:cover}
.hp-esp-who b{display:block;line-height:1.2;overflow-wrap:anywhere}
.hp-esp-who small{color:var(--hp-muted)}
.hp-esp-nav{display:flex;flex-direction:column;gap:2px}
.hp-esp-nav a{display:flex;align-items:center;gap:11px;padding:10px 12px;border-radius:12px;color:var(--hp-ink);text-decoration:none;font-weight:500;font-size:15px}
.hp-esp-nav a i{font-size:17px;color:var(--hp-muted);width:20px;text-align:center}
.hp-esp-nav a:hover{background:var(--hp-surface);color:var(--hp-ink)}
.hp-esp-nav a.actif{background:var(--hp-brand-soft);color:var(--hp-brand);font-weight:700}
.hp-esp-nav a.actif i{color:var(--hp-brand)}
.hp-esp-nav .sep{height:1px;background:var(--hp-line);margin:8px 4px}
.hp-esp-nav a.danger{color:#b3261e}.hp-esp-nav a.danger i{color:#b3261e}
.hp-esp-nav .n{margin-left:auto;font-size:12px;font-weight:700;background:var(--hp-accent);color:#101010;border-radius:99px;padding:1px 8px}
.hp-esp-nav .n:empty{display:none}
.hp-esp-toggle{display:none}
.hp-esp-main{min-width:0}
.hp-esp-main h1.hp-esp-titre,.hp-esp-titre{font-size:28px;margin:0 0 4px}
.hp-esp-sous{color:var(--hp-muted);margin:0 0 22px}
.hp-esp-fil{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:18px;font-size:14px}
.hp-esp-fil a{font-weight:600;text-decoration:none}
.hp-attente{display:flex;gap:12px;align-items:flex-start;background:#fff8e1;border:1px solid #ffe08a;border-radius:var(--hp-radius);padding:14px 16px;margin-bottom:20px}
.hp-attente i{font-size:20px;color:#8a6100;margin-top:2px}
.hp-attente b{display:block}
.hp-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:14px;margin-bottom:26px}
.hp-kpi{background:#fff;border:1px solid var(--hp-line);border-radius:var(--hp-radius-lg);padding:18px;text-decoration:none;color:var(--hp-ink);display:block;transition:box-shadow .15s,transform .15s}
a.hp-kpi:hover{box-shadow:0 8px 24px rgba(20,26,107,.10);transform:translateY(-2px);color:var(--hp-ink)}
.hp-kpi i{font-size:20px;color:var(--hp-brand);background:var(--hp-brand-soft);border-radius:10px;width:38px;height:38px;display:grid;place-items:center;margin-bottom:12px}
.hp-kpi b{display:block;font-size:30px;line-height:1.05;letter-spacing:-.02em}
.hp-kpi span{color:var(--hp-muted);font-size:14px}
.hp-card{background:#fff;border:1px solid var(--hp-line);border-radius:var(--hp-radius-lg);padding:20px;margin-bottom:20px}
.hp-card h2{font-size:19px;margin:0 0 14px}
.hp-card-tete{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}
.hp-card-tete h2{margin:0}
.hp-liste{list-style:none;margin:0;padding:0}
.hp-liste li{display:flex;gap:14px;align-items:center;justify-content:space-between;padding:13px 0;border-top:1px solid var(--hp-line)}
.hp-liste li:first-child{border-top:0;padding-top:0}
.hp-liste .txt{min-width:0}
.hp-liste .txt b{display:block;overflow-wrap:anywhere}
.hp-liste .txt small{color:var(--hp-muted)}
.hp-vide{text-align:center;color:var(--hp-muted);padding:26px 10px}
.hp-vide i{font-size:34px;display:block;margin-bottom:8px;color:#b9bad0}
.hp-bd{display:inline-block;border-radius:99px;padding:3px 11px;font-size:12.5px;font-weight:700;white-space:nowrap}
.hp-bd.ok{background:#e4f6ec;color:#116b3a}.hp-bd.att{background:#fff3cd;color:#8a6100}.hp-bd.ko{background:#fde7e5;color:#b3261e}.hp-bd.inf{background:var(--hp-brand-soft);color:var(--hp-brand)}.hp-bd.neu{background:var(--hp-surface);color:var(--hp-muted)}
.hp-acces{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px}
.hp-acces>div{border:1px solid var(--hp-line);border-radius:var(--hp-radius);padding:14px;display:flex;gap:12px;align-items:flex-start}
.hp-acces i{font-size:20px;color:var(--hp-brand)}
.hp-ent{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:16px}
.hp-ent-c{background:#fff;border:1px solid var(--hp-line);border-radius:var(--hp-radius-lg);padding:18px;display:flex;flex-direction:column;gap:12px}
.hp-ent-c .tete{display:flex;gap:12px;align-items:center}
.hp-ent-c h3{font-size:18px;margin:0}
.hp-ent-ajout{border:2px dashed var(--hp-line);background:transparent;align-items:center;justify-content:center;text-align:center;color:var(--hp-brand);text-decoration:none;min-height:150px;font-weight:700}
.hp-ent-ajout:hover{background:var(--hp-brand-soft)}
/* Harmonisation des anciens écrans à l'intérieur de l'espace */
.hp-esp-main .lika-card,.hp-esp-main .assie-card,.hp-esp-main .card{background:#fff;border:1px solid var(--hp-line)!important;border-radius:var(--hp-radius-lg)!important;box-shadow:none!important;margin-bottom:16px}
.hp-esp-main .table{--bs-table-bg:transparent;margin-bottom:0;vertical-align:middle}
.hp-esp-main .table thead th{background:var(--hp-surface);border-bottom:1px solid var(--hp-line);font-size:13px;text-transform:uppercase;letter-spacing:.04em;color:var(--hp-muted)}
.hp-esp-main .table-responsive,.hp-esp-main .lika-card-body{overflow-x:auto}
.hp-esp-main hr{border-color:var(--hp-line);opacity:1}
.hp-esp-main .list-group-item{border-color:var(--hp-line)}
.hp-esp-main .container,.hp-esp-main .container-fluid,.hp-esp-main .fix-container{max-width:100%;padding-left:0;padding-right:0}
.hp-esp-main .form-control,.hp-esp-main .form-select{border-radius:12px;border-color:var(--hp-line);padding:.6rem .85rem}
@media (max-width:900px){
	.hp-esp{grid-template-columns:1fr;padding:16px 14px 48px;gap:16px}
	.hp-esp-side{position:static;padding:12px}
	.hp-esp-toggle{display:flex;width:100%;justify-content:space-between;align-items:center;background:none;border:0;font-weight:700;padding:6px}
	.hp-esp-nav{display:none;margin-top:8px}
	.hp-esp-side.ouvert .hp-esp-nav{display:flex}
	.hp-esp-titre{font-size:23px}
	.hp-kpi b{font-size:26px}
}
/* Back-office : mêmes composants, appliqués aux anciennes pages d'administration */
.hp-admin .hp-esp-av{font-size:22px}
.hp-esp-main>h3:first-child,.hp-esp-main>br+br+h3,.hp-esp-main h3.text-center{font-size:28px;text-align:left!important;margin:0 0 6px;letter-spacing:-.01em}
.hp-esp-main>br{display:none}
.hp-esp-main>hr:first-of-type{display:none}
.hp-esp-main .assie-card-title,.hp-esp-main .lika-card-title{padding:0}
.hp-esp-main .assie-card,.hp-esp-main .lika-card{padding:18px}
.hp-esp-main .dataTables_wrapper{padding-top:6px;font-size:14px}
.hp-esp-main .dataTables_wrapper input,.hp-esp-main .dataTables_wrapper select{border:1px solid var(--hp-line);border-radius:10px;padding:5px 10px}
.hp-esp-main table.dataTable thead th{border-bottom:1px solid var(--hp-line)!important}
.hp-esp-main table.dataTable.no-footer{border-bottom:1px solid var(--hp-line)}
.hp-esp-main .table-striped>tbody>tr:nth-of-type(odd)>*{--bs-table-accent-bg:var(--hp-surface)}
.hp-esp-main .btn-group .btn{border-radius:10px}
.hp-esp-main .btn-primary{background:var(--hp-brand);border-color:var(--hp-brand);border-radius:12px;font-weight:600}
.hp-esp-main .btn-primary:hover{filter:brightness(1.08)}
.hp-esp-main label{font-weight:600;font-size:14px}
.hp-esp-main .row>[class*=col-]{min-width:0}
.hp-esp-main img{max-width:100%}
.hp-esp-main .badge{border-radius:99px;font-weight:700;padding:.4em .8em}
.hp-esp-main textarea.form-control{min-height:110px}
.hp-esp-main .modal-content{border-radius:var(--hp-radius-lg)}
.hp-onglets{display:flex;gap:6px;flex-wrap:wrap;align-items:center;margin-bottom:16px}
.hp-onglets a{padding:8px 16px;border-radius:99px;border:1px solid var(--hp-line);background:#fff;color:var(--hp-ink);text-decoration:none;font-weight:600;font-size:14px}
.hp-onglets a.actif{background:var(--hp-brand);border-color:var(--hp-brand);color:#fff}
.hp-onglets a small{opacity:.75}
.hp-sect{font-size:18px;margin:26px 0 12px}
/* Produits */
.hp-prods{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:18px}
.hp-prod{background:#fff;border:1px solid var(--hp-line);border-radius:var(--hp-radius-lg);overflow:hidden;display:flex;flex-direction:column;transition:box-shadow .15s}
.hp-prod:hover{box-shadow:0 8px 24px rgba(20,26,107,.10)}
.hp-prod-img{position:relative;aspect-ratio:4/3;background:var(--hp-surface)}
.hp-prod-img>a:first-child,.hp-prod-img img{display:block;width:100%;height:100%}
.hp-prod-img img{object-fit:cover}
.hp-prod-chg{position:absolute;right:10px;bottom:10px;width:38px;height:38px;border-radius:12px;background:rgba(255,255,255,.92);color:var(--hp-ink);display:grid;place-items:center;text-decoration:none;box-shadow:0 2px 8px rgba(0,0,0,.15)}
.hp-prod-vide{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;height:100%;color:var(--hp-muted);text-decoration:none;border:2px dashed var(--hp-line);margin:12px;height:calc(100% - 24px);border-radius:14px;font-weight:600}
.hp-prod-vide i{font-size:32px}
.hp-prod-corps{padding:14px 16px 6px;flex:1}
.hp-prod-corps h2{font-size:17px;margin:0 0 4px;overflow-wrap:anywhere}
.hp-prod-prix{font-weight:800;color:var(--hp-brand);font-size:17px}
.hp-prod-mini{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}
.hp-prod-mini .m{position:relative;width:48px;height:48px;border-radius:10px;overflow:hidden;border:1px solid var(--hp-line)}
.hp-prod-mini img{width:100%;height:100%;object-fit:cover;display:block}
.hp-prod-mini .x{position:absolute;right:2px;top:2px;width:18px;height:18px;border-radius:50%;background:rgba(0,0,0,.6);color:#fff;display:grid;place-items:center;font-size:14px;line-height:1;text-decoration:none;padding:0}
.hp-prod-actions{display:flex;gap:6px;flex-wrap:wrap;padding:12px 16px 16px}
.hp-drop{display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center;border:2px dashed #c9cbe6;background:var(--hp-surface);border-radius:var(--hp-radius-lg);padding:26px 16px;cursor:pointer;transition:border-color .15s,background .15s;position:relative}
.hp-drop:hover{border-color:var(--hp-brand);background:var(--hp-brand-soft)}
.hp-drop>i{font-size:34px;color:var(--hp-brand)}
.hp-drop span{color:var(--hp-muted);font-size:14px}
.hp-drop input[type=file]{margin-top:10px;max-width:100%;font-size:14px}
.hp-drop input[type=file]::file-selector-button{border:0;background:var(--hp-brand);color:#fff;border-radius:10px;padding:8px 14px;margin-right:10px;font-weight:600;cursor:pointer}
.hp-champs .form-group{margin-bottom:18px}
.hp-champs label,.hp-esp-main form label.required{font-weight:600;font-size:14px;margin-bottom:6px}
.hp-champs .form-control{height:50px;border-radius:14px;border:1.5px solid var(--hp-line)}
.hp-champs textarea.form-control{height:auto}
.hp-champs .form-control:focus{border-color:var(--hp-brand);box-shadow:0 0 0 4px var(--hp-brand-soft)}
.hp-champs .ck-editor__editable{min-height:140px}
.hp-champs .ck.ck-editor__main>.ck-editor__editable,.hp-champs .ck.ck-toolbar{border-color:var(--hp-line)}
.hp-prod-envoi{display:flex;gap:10px;justify-content:flex-end;position:sticky;bottom:0;background:linear-gradient(to top,#fff 70%,transparent);padding:14px 0 6px;margin-top:6px}
.hp-prod-envoi .btn{height:48px;border-radius:14px;padding:0 24px}
.hp-prod-actuelle{display:block;max-width:260px;width:100%;border-radius:14px;margin:0 auto 16px;border:1px solid var(--hp-line)}
@media (max-width:600px){.hp-prods{grid-template-columns:1fr 1fr;gap:12px}.hp-prod-actions .btn{flex:1}.hp-prod-envoi .btn{flex:1}}
/* Tableau de bord administrateur */
.hp-adm-hero{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;background:linear-gradient(155deg,var(--hp-brand-deep),var(--hp-brand) 80%);color:#fff;border-radius:var(--hp-radius-lg);padding:28px 30px;margin-bottom:8px;position:relative;overflow:hidden}
.hp-adm-hero::after{content:"";position:absolute;width:300px;height:300px;border-radius:50%;background:rgba(255,210,26,.13);right:-90px;top:-130px}
.hp-adm-hero>*{position:relative;z-index:1}
.hp-adm-hero h1{color:#fff;font-size:28px;margin:4px 0 4px;text-align:left}
.hp-adm-hero p{color:#d8dbff;margin:0}
.hp-adm-date{font-size:13px;font-weight:600;background:rgba(255,255,255,.14);border-radius:99px;padding:3px 12px}
.hp-todo{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px}
.hp-todo a{display:grid;grid-template-columns:auto 1fr auto;grid-template-areas:"i n go" "i l go";column-gap:14px;align-items:center;background:#fff;border:1px solid var(--hp-line);border-radius:var(--hp-radius-lg);padding:14px 16px;text-decoration:none;color:var(--hp-ink);transition:transform .15s,box-shadow .15s}
.hp-todo a:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(20,26,107,.10)}
.hp-todo a>i:first-child{grid-area:i;width:44px;height:44px;border-radius:14px;background:var(--hp-surface);color:var(--hp-muted);display:grid;place-items:center;font-size:20px}
.hp-todo b{grid-area:n;font-size:26px;line-height:1}
.hp-todo span{grid-area:l;color:var(--hp-muted);font-size:13.5px}
.hp-todo .go{grid-area:go;color:var(--hp-muted)}
.hp-todo a.urgent{border-color:#ffe08a;background:#fffbea}
.hp-todo a.urgent>i:first-child{background:var(--hp-accent);color:#101010}
.hp-kpis-4{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.hp-kpi small{display:block;color:var(--hp-muted);font-size:12.5px;margin-top:4px}
.hp-kpi span{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.hp-delta{font-style:normal;font-size:12px;font-weight:700;border-radius:99px;padding:1px 8px}
.hp-delta.hausse{background:#e4f6ec;color:#116b3a}.hp-delta.baisse{background:#fde7e5;color:#b3261e}
.hp-card-tete a{margin-left:12px}
.hp-barres{display:grid;gap:12px}
.hp-barres>div{display:grid;grid-template-columns:minmax(90px,1.2fr) 3fr auto;gap:12px;align-items:center;font-size:14px}
.hp-barres .bar{height:10px;border-radius:99px;background:var(--hp-surface);overflow:hidden}
.hp-barres .bar i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,var(--hp-brand),#5a60d6)}
@media (max-width:600px){.hp-adm-hero{padding:22px 18px}.hp-adm-hero h1{font-size:23px}}
/* Administration : tableaux, avatars, en-têtes de page */
.hp-page-tete{display:flex;justify-content:space-between;align-items:flex-end;gap:14px;flex-wrap:wrap;margin-bottom:20px}
.hp-page-tete .hp-esp-sous{margin:0}
.hp-mini{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:18px}
.hp-mini>div{background:#fff;border:1px solid var(--hp-line);border-radius:16px;padding:12px 18px;min-width:130px}
.hp-mini b{display:block;font-size:24px;line-height:1.1;letter-spacing:-.02em}
.hp-mini span{color:var(--hp-muted);font-size:13px}
.hp-mini .alerte{background:#fffbea;border-color:#ffe08a}
.hp-tab-ligne{padding:0!important;overflow:hidden}
.hp-tab-ligne .dataTables_wrapper{padding:14px 16px 12px}
.hp-card.table-responsive table{width:100%}
table.hp-dt{width:100%!important;border-collapse:collapse!important}
table.hp-dt thead th{background:var(--hp-surface);font-size:12.5px;text-transform:uppercase;letter-spacing:.04em;color:var(--hp-muted);font-weight:700;border-bottom:1px solid var(--hp-line)!important;padding:12px 14px}
table.hp-dt tbody td{padding:13px 14px;border-top:1px solid var(--hp-line);vertical-align:middle}
table.hp-dt tbody tr:hover{background:#fafaff}
table.hp-dt.no-footer{border-bottom:0}
.dataTables_wrapper .dataTables_filter input{border:1.5px solid var(--hp-line);border-radius:12px;padding:8px 14px;margin-left:0;min-width:240px;font-size:14.5px;outline:0}
.dataTables_wrapper .dataTables_filter input:focus{border-color:var(--hp-brand);box-shadow:0 0 0 4px var(--hp-brand-soft)}
.dataTables_wrapper .dataTables_length select{border:1.5px solid var(--hp-line);border-radius:10px;padding:5px 8px}
.dataTables_wrapper .dataTables_info{color:var(--hp-muted);font-size:13.5px;padding-top:16px}
.dataTables_wrapper .dataTables_paginate{padding-top:12px}
.dataTables_wrapper .dataTables_paginate .paginate_button{border-radius:10px!important;border:0!important;background:transparent!important;color:var(--hp-ink)!important;padding:6px 12px}
.dataTables_wrapper .dataTables_paginate .paginate_button.current{background:var(--hp-brand)!important;color:#fff!important}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover{background:var(--hp-brand-soft)!important;color:var(--hp-brand)!important}
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled{opacity:.35}
.hp-ident{display:flex;align-items:center;gap:12px;min-width:0}
.hp-ident .av{flex:0 0 40px;height:40px;border-radius:12px;background:var(--hp-brand-soft);color:var(--hp-brand);display:grid;place-items:center;font-weight:800}
.hp-ident .av.pro{background:#fff3cd;color:#8a6100}
.hp-ident b{display:block;line-height:1.25;overflow-wrap:anywhere}
.hp-ident small{color:var(--hp-muted);display:block;overflow-wrap:anywhere}
.hp-actions{display:flex;gap:6px;justify-content:flex-end;flex-wrap:wrap}
.hp-actions .btn,.hp-actions form{margin:0}
.hp-actions .btn{padding:.35rem .7rem;font-size:13.5px;border-radius:10px;display:inline-flex;align-items:center;gap:5px}
.hp-champs .hp-fichier{margin-top:6px}
.hp-conv{display:flex;flex-direction:column;gap:12px;margin-bottom:18px}
.hp-msg{background:#fff;border:1px solid var(--hp-line);border-radius:var(--hp-radius-lg);padding:16px 18px}
.hp-msg.moi{background:var(--hp-brand-soft);border-color:#d5d9ff}
.hp-msg .qui{font-weight:700;font-size:14px;margin-bottom:6px;display:flex;justify-content:space-between;gap:8px}
.hp-msg .qui small{color:var(--hp-muted);font-weight:400}
.hp-pills{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:16px}
.hp-pills .nav-link{border-radius:99px;border:1px solid var(--hp-line);color:var(--hp-ink);font-weight:600;padding:7px 16px;font-size:14px;background:#fff}
.hp-pills .nav-link.active{background:var(--hp-brand);border-color:var(--hp-brand);color:#fff}
@media (max-width:700px){.dataTables_wrapper .dataTables_filter input{min-width:0;width:100%}.dataTables_wrapper .dataTables_filter{text-align:left}}
/* En-tête commun des pages d'administration */
.hp-adm-page{justify-content:flex-start;gap:18px;padding:22px 26px;margin-bottom:22px}
.hp-adm-ico{flex:0 0 54px;height:54px;border-radius:16px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.2);display:grid;place-items:center;font-size:26px;color:var(--hp-accent)}
.hp-adm-txt{flex:1 1 240px;min-width:0}
.hp-adm-page h1{font-size:26px;margin:0;line-height:1.2}
.hp-adm-page p{margin:2px 0 0;font-size:15px}
.hp-adm-page .btn-accent{margin-left:auto}
.btn-accent{background:var(--hp-accent);border-color:var(--hp-accent);color:#101010;font-weight:700;border-radius:12px;padding:.65rem 1.2rem}
.btn-accent:hover{background:#f2c400;border-color:#f2c400;color:#101010}
.hp-mini>div{box-shadow:0 2px 10px rgba(20,26,107,.04)}
.hp-card{box-shadow:0 2px 12px rgba(20,26,107,.04)}
.hp-esp-fil+.hp-card,.hp-esp-fil+.hp-adm-page{margin-top:0}
@media (max-width:600px){.hp-adm-page{padding:18px}.hp-adm-page h1{font-size:21px}.hp-adm-ico{flex-basis:44px;height:44px;font-size:21px}.hp-adm-page .btn-accent{width:100%;margin-left:0}}
/* Puces de filtre */
.hp-filtres button{text-align:left;cursor:pointer;background:#fff;border:1.5px solid var(--hp-line);border-radius:16px;padding:12px 18px;min-width:130px;box-shadow:0 2px 10px rgba(20,26,107,.04);transition:border-color .12s,box-shadow .12s}
.hp-filtres button b{display:block;font-size:24px;line-height:1.1;letter-spacing:-.02em;color:var(--hp-ink)}
.hp-filtres button span{color:var(--hp-muted);font-size:13px}
.hp-filtres button:hover{border-color:var(--hp-brand)}
.hp-filtres button.on{border-color:var(--hp-brand);background:var(--hp-brand-soft);box-shadow:0 0 0 3px var(--hp-brand-soft)}
.hp-filtres button.alerte{background:#fffbea;border-color:#ffe08a}
.hp-filtres button.alerte.on{border-color:#e0a800}
#fListe li{justify-content:flex-start;align-items:flex-start}
#fListe .txt small{display:block;color:var(--hp-muted);font-size:12.5px}
/* Tableaux : en-tête de liste, cartes sur mobile */
.hp-dt-top{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding-bottom:12px}
.hp-dt-top .dataTables_filter{float:none;text-align:left;margin:0}
.hp-dt-top .dataTables_length{float:none;margin:0;color:var(--hp-muted);font-size:14px}
.hp-dt-bot{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.hp-dt-bot .dataTables_info,.hp-dt-bot .dataTables_paginate{float:none}
table.hp-dt thead th.sorting::before,table.hp-dt thead th.sorting::after,table.hp-dt thead th.sorting_asc::before,table.hp-dt thead th.sorting_asc::after,table.hp-dt thead th.sorting_desc::before,table.hp-dt thead th.sorting_desc::after{right:8px}
table.hp-dt thead th.col-actions{cursor:default}
table.hp-dt thead th.col-actions::before,table.hp-dt thead th.col-actions::after{display:none}
table.hp-dt tbody tr:last-child td{border-bottom:0}
table.hp-dt td.dataTables_empty{padding:0;border:0}
.hp-vide{padding:36px 10px}
.hp-chip{display:inline-flex;align-items:center;gap:6px;background:var(--hp-surface);border-radius:99px;padding:3px 11px;font-size:13px;font-weight:600;margin:2px 4px 2px 0}
.hp-chip .pt{width:8px;height:8px;border-radius:50%;display:inline-block}
.hp-chip .pt.ok{background:#1a9b5a}.hp-chip .pt.att{background:#e0a800}
.hp-fsec{font-size:15px;margin:18px 0 8px;color:var(--hp-muted);text-transform:uppercase;letter-spacing:.04em;font-weight:700}
.hp-fent{display:flex;align-items:center;gap:10px;border:1px solid var(--hp-line);border-radius:14px;padding:10px 12px;margin-bottom:8px;flex-wrap:wrap}
.hp-fent .txt{flex:1 1 200px;min-width:0}
.hp-fent .txt small{display:block;color:var(--hp-muted);font-size:12.5px}
.hp-pieces{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.hp-piece{display:block;border:1px solid var(--hp-line);border-radius:12px;overflow:hidden;text-decoration:none;color:var(--hp-muted);text-align:center;font-size:12px;background:var(--hp-surface)}
.hp-piece img{width:100%;height:110px;object-fit:cover;display:block}
.hp-piece span{display:block;padding:4px;text-transform:capitalize}
@media (max-width:760px){
	table.hp-dt thead{display:none}
	table.hp-dt,table.hp-dt tbody,table.hp-dt tr,table.hp-dt td{display:block;width:100%!important}
	table.hp-dt tbody tr{border:1px solid var(--hp-line);border-radius:16px;margin-bottom:12px;padding:8px 4px;background:#fff}
	table.hp-dt tbody td{display:flex;justify-content:space-between;align-items:center;gap:12px;border:0;padding:8px 14px;text-align:right}
	table.hp-dt tbody td::before{content:attr(data-label);flex:0 0 auto;color:var(--hp-muted);font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.03em;text-align:left}
	table.hp-dt tbody td:first-child{justify-content:flex-start;text-align:left;border-bottom:1px solid var(--hp-line);padding-bottom:12px;margin-bottom:4px}
	table.hp-dt tbody td:first-child::before{display:none}
	table.hp-dt tbody td .hp-actions{justify-content:flex-end}
	.hp-tab-ligne .dataTables_wrapper{padding:12px}
	.hp-pieces{grid-template-columns:1fr 1fr 1fr}
}
.hp-pieces4{grid-template-columns:repeat(4,1fr)}
.hp-decision{margin-top:12px}
.hp-fsec .hp-bd{margin-left:8px;text-transform:none;letter-spacing:0}
@media (max-width:600px){.hp-pieces4{grid-template-columns:1fr 1fr}}
/* Abonnement (identique à l'application) */
.hp-abo-actuel{display:flex;align-items:center;gap:14px;background:var(--hp-brand-soft);border:1px solid #d5d9ff;border-radius:20px;padding:18px;margin-bottom:6px}
.hp-abo-actuel>i{font-size:30px;color:var(--hp-brand)}
.hp-abo-actuel .txt{flex:1;min-width:0}
.hp-abo-actuel small{display:block;color:var(--hp-muted);font-weight:700;letter-spacing:.06em;font-size:11.5px}
.hp-abo-actuel b{display:block;font-size:20px}
.hp-abo-actuel .txt span{color:var(--hp-muted);font-size:14px}
.hp-abo-actif{background:#2d8a4f;color:#fff;font-weight:700;font-size:12px;border-radius:99px;padding:5px 12px;letter-spacing:.04em}
.hp-abo-actuel.expire{background:#fff3cd;border-color:#ffe08a}
.hp-abo-actuel.expire>i{color:#8a6100}
.hp-formules{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px;max-width:760px}
.hp-formule{position:relative;background:#fff;border:1.5px solid #e7e4db;border-radius:20px;padding:18px;display:flex;flex-direction:column;gap:14px}
.hp-formule.pop{border:2px solid var(--hp-brand)}
.hp-pop{position:absolute;top:-12px;right:16px;background:var(--hp-brand);color:#fff;font-size:11.5px;font-weight:700;letter-spacing:.06em;border-radius:99px;padding:4px 12px}
.hp-formule .tete{display:flex;justify-content:space-between;align-items:baseline;gap:10px}
.hp-formule h3{font-size:20px;margin:0}
.hp-formule .prix b{font-size:22px;letter-spacing:-.01em}
.hp-formule .prix span{color:var(--hp-muted);font-size:14px}
.hp-formule ul{list-style:none;margin:0;padding:0;display:grid;gap:9px;flex:1}
.hp-formule li{display:flex;gap:10px;align-items:flex-start;font-size:15px}
.hp-formule li i{color:#2d8a4f;font-size:18px;line-height:1.3}
.hp-formule-btn{height:50px;border-radius:14px;font-weight:700}
.hp-ops{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.hp-op{margin:0;cursor:pointer}
.hp-op input{position:absolute;opacity:0;pointer-events:none}
.hp-op span{display:block;text-align:center;padding:12px 8px;border:1.5px solid var(--hp-line);border-radius:14px;font-weight:600;transition:all .12s;background:#fff}
.hp-op input:checked+span{background:var(--hp-brand-soft);border-color:var(--hp-brand);color:var(--hp-brand)}
.hp-op input:focus-visible+span{box-shadow:0 0 0 4px var(--hp-brand-soft)}
.hp-ussd{display:flex;justify-content:space-between;align-items:center;gap:10px;background:var(--hp-surface);border-radius:14px;padding:12px 14px;margin-top:6px}
.hp-ussd small{display:block;color:var(--hp-muted)}
.hp-ussd b{font-size:18px;letter-spacing:.04em}
/* Offres reçues (espace client) */
.hp-demande{padding:0;overflow:hidden}
.hp-demande-tete{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;padding:18px 20px;flex-wrap:wrap}
.hp-demande-tete h2{font-size:18px;margin:0 0 4px}
.hp-demande-tete h2 a{color:var(--hp-ink);text-decoration:none}
.hp-demande-tete h2 a:hover{color:var(--hp-brand)}
.hp-demande-tete small{color:var(--hp-muted)}
.hp-demande-vide{margin:0;padding:14px 20px 18px;color:var(--hp-muted);background:var(--hp-surface);font-size:14.5px}
.hp-offres{list-style:none;margin:0;padding:0;border-top:1px solid var(--hp-line)}
.hp-offres li{display:flex;gap:14px;align-items:flex-start;padding:16px 20px;border-top:1px solid var(--hp-line)}
.hp-offres li:first-child{border-top:0}
.hp-offres li.retenue{background:#f3fbf6}
.hp-offres .av{flex:0 0 46px;height:46px;border-radius:14px;background:var(--hp-brand-soft);color:var(--hp-brand);display:grid;place-items:center;font-weight:800;overflow:hidden}
.hp-offres .av img{width:100%;height:100%;object-fit:cover}
.hp-offres .txt{flex:1;min-width:0}
.hp-offres .txt b a{color:var(--hp-ink);text-decoration:none}
.hp-offres .txt small{display:block;color:var(--hp-muted)}
.hp-offres .txt p{margin:6px 0 0;color:#3a3b47;font-size:14.5px;overflow-wrap:anywhere}
.hp-offres .prix{text-align:right;display:flex;flex-direction:column;gap:6px;align-items:flex-end}
.hp-offres .prix>b{font-size:20px;letter-spacing:-.01em;white-space:nowrap}
.hp-offres .prix>b small{font-size:12px;color:var(--hp-muted);font-weight:600}
@media (max-width:640px){.hp-offres li{flex-wrap:wrap}.hp-offres .prix{width:100%;flex-direction:row;justify-content:space-between;align-items:center}}
/* Favoris */
.hp-barre-fav{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-bottom:18px}
.hp-barre-fav .hp-in{position:relative;flex:1 1 260px;max-width:360px}
.hp-barre-fav .hp-in .ico{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:var(--hp-muted)}
.hp-barre-fav .form-control{height:48px;border-radius:14px;border:1.5px solid var(--hp-line);padding-left:42px}
.hp-favoris{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px}
.hp-fav{background:#fff;border:1px solid var(--hp-line);border-radius:var(--hp-radius-lg);padding:16px;display:grid;grid-template-columns:72px 1fr;gap:6px 14px;align-items:start;transition:box-shadow .15s,transform .15s}
.hp-fav:hover{box-shadow:0 8px 24px rgba(20,26,107,.10);transform:translateY(-2px)}
.hp-fav[hidden]{display:none}
.hp-fav-img{width:72px;height:72px;border-radius:18px;background:var(--hp-brand-soft);color:var(--hp-brand);display:grid;place-items:center;font-weight:800;font-size:26px;overflow:hidden;text-decoration:none}
.hp-fav-img img{width:100%;height:100%;object-fit:cover}
.hp-fav-corps{min-width:0}
.hp-fav .cat{color:var(--hp-brand);font-weight:700;font-size:12px;text-transform:uppercase;letter-spacing:.05em}
.hp-fav h2{font-size:17px;margin:2px 0 6px;overflow-wrap:anywhere}
.hp-fav h2 a{color:var(--hp-ink);text-decoration:none}
.hp-fav .meta{display:flex;flex-direction:column;gap:3px;font-size:13.5px;color:#3a3b47}
.hp-fav .meta i{color:var(--hp-muted)}
.hp-fav-actions{grid-column:1 / -1;display:flex;gap:8px;justify-content:space-between;margin-top:8px;padding-top:12px;border-top:1px solid var(--hp-line)}
.hp-fav-actions form{margin:0}
.hp-fav-actions .btn-primary{flex:1}
