/* ═══════════════════════════════════════════════════════════════════════════
   Simulation immersive du module Hébergement (2026-11-11)
   Partiel : app/Views/public/demos/hebergement.php · script : hebergement.js
   Préfixe unique : dm-hb-. Aucun sélecteur d’élément nu hors de .dm-hb.
   - habillage : jetons de la home v2 (nuit, aurore, Newsreader en italique) ;
   - face voyageur : page d’une maison d’hôtes fictive ;
   - face hôte : recopie du LOOK de bo.css (section « Hébergement : écran du
     jour + planning », refonte 2026-10-23, et socle bo-) sans charger bo.css.
   Desktop : deux faces côte à côte ; sous 960 px : onglets.
   Si le back-office Hébergement change d’apparence, mettre ce fichier à jour.
   ═══════════════════════════════════════════════════════════════════════════ */

.dm-hb{
    /* Maison (home v2) */
    --dmhb-nuit: oklch(0.16 0.02 280);
    --dmhb-violet: oklch(0.58 0.21 288);
    --dmhb-bleu: oklch(0.62 0.17 250);
    --dmhb-aurore: linear-gradient(118deg, var(--dmhb-bleu) 0%, var(--dmhb-violet) 55%, oklch(0.52 0.22 315) 100%);
    --dmhb-encre: oklch(0.20 0.02 282);
    --dmhb-gris: oklch(0.48 0.02 282);
    --dmhb-pale: oklch(0.68 0.015 282);
    --dmhb-trait: oklch(0.90 0.01 285);
    --dmhb-voile: oklch(0.975 0.006 288);
    /* Back-office (bo.css, .bo-page) */
    --hb-violet: oklch(0.52 0.20 285);
    --hb-violet-fonce: oklch(0.42 0.18 285);
    --hb-bleu: oklch(0.56 0.16 252);
    --hb-encre: oklch(0.24 0.03 282);
    --hb-gris: oklch(0.52 0.025 282);
    --hb-pale: oklch(0.66 0.02 282);
    --hb-trait: oklch(0.91 0.012 285);
    --hb-trait-doux: oklch(0.95 0.008 285);
    --hb-teinte: oklch(0.985 0.005 285);
    --hb-vert: oklch(0.55 0.14 155);
    --hb-orange: oklch(0.62 0.15 60);
    --hb-rouge: oklch(0.55 0.19 25);
    --hb-degrade: linear-gradient(118deg, var(--hb-bleu) 0%, var(--hb-violet) 62%, var(--hb-violet-fonce) 100%);
    --hb-ombre: 0 1px 2px rgba(40,30,80,.04), 0 6px 20px rgba(40,30,80,.06);
    /* Page du voyageur */
    --v-encre: #23281f;
    --v-gris: #6c7064;
    --v-trait: #e6e3d8;
    --v-fond: #fbfaf5;
    --v-creme: #f3f0e6;
    --v-accent: #4f6b48;
    --v-accent-fonce: #3b5236;
    --v-glycine: #8a74b6;

    position: relative; overflow: hidden; isolation: isolate;
    padding: 76px 24px 84px;
    background: var(--dmhb-voile);
    border-bottom: 1px solid var(--dmhb-trait);
    color: var(--dmhb-encre);
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    scroll-margin-top: 80px;
}
.dm-hb *, .dm-hb *::before, .dm-hb *::after{ box-sizing: border-box; }
.dm-hb .dm-hb-halo{ position:absolute; inset:-10% -10% auto; height:560px; z-index:-1; pointer-events:none; filter: blur(60px); opacity:.55;
    background: radial-gradient(30% 50% at 22% 30%, oklch(0.82 0.08 140 / .5), transparent 70%),
                radial-gradient(30% 50% at 80% 20%, oklch(0.80 0.10 288 / .5), transparent 70%); }
.dm-hb .dm-hb-dedans{ max-width: 1400px; margin: 0 auto; }
.dm-hb .dm-hb-serif{ font-family: 'Newsreader', Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.dm-hb .dm-hb-ico{ width: 18px; height: 18px; flex: 0 0 auto; display: inline-block; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dm-hb button{ font: inherit; color: inherit; }
.dm-hb :focus-visible{ outline: 2px solid var(--dmhb-violet); outline-offset: 2px; }

/* ── En-tête de section ─────────────────────────────────────────────────── */
.dm-hb .dm-hb-entete{ max-width: 880px; margin: 0 auto 30px; text-align: center; }
.dm-hb .dm-hb-murmure{ display:inline-block; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700;
    background: var(--dmhb-aurore); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dm-hb .dm-hb-titre{ margin: 12px 0 14px; font-family: 'Schibsted Grotesk', 'Inter', sans-serif; font-size: clamp(1.8rem, 3.8vw, 2.9rem);
    line-height: 1.08; font-weight: 700; letter-spacing: -0.035em; color: var(--dmhb-encre); }
.dm-hb .dm-hb-titre .dm-hb-serif{ font-weight: 400; background: var(--dmhb-aurore); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.dm-hb .dm-hb-chapo{ margin: 0 auto; max-width: 700px; font-size: 17px; line-height: 1.6; color: var(--dmhb-gris); }
.dm-hb .dm-hb-bandeau{ display: inline-flex; align-items: center; gap: 8px; margin: 18px 0 0; padding: 7px 14px; border-radius: 999px;
    font-size: 13px; font-weight: 600; color: oklch(0.45 0.12 60); background: oklch(0.96 0.05 80); border: 1px solid oklch(0.87 0.08 75); }
.dm-hb .dm-hb-bandeau span{ font-size: 9px; color: oklch(0.70 0.15 70); }

/* ── Fil conducteur ─────────────────────────────────────────────────────── */
.dm-hb .dm-hb-pilote{ display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.dm-hb .dm-hb-fil{ list-style: none; margin: 0; padding: 6px; display: flex; gap: 6px; border-radius: 18px; background: #fff;
    border: 1px solid var(--dmhb-trait); box-shadow: 0 1px 2px rgba(40,30,80,.04), 0 10px 30px -12px rgba(40,30,80,.16); }
.dm-hb .dm-hb-fil li{ display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 13px; min-width: 0; transition: background .3s, opacity .3s; }
.dm-hb .dm-hb-fil li b{ display: block; font-size: 14px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
.dm-hb .dm-hb-fil li small{ display: block; font-size: 12px; color: var(--dmhb-gris); line-height: 1.3; margin-top: 1px; }
.dm-hb .dm-hb-fil-rond{ width: 32px; height: 32px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 13.5px;
    background: var(--dmhb-voile); color: var(--dmhb-pale); border: 1.5px solid var(--dmhb-trait); transition: background .3s, color .3s; }
.dm-hb .dm-hb-fil-rond .dm-hb-ico{ width: 15px; height: 15px; stroke-width: 3; }
.dm-hb .dm-hb-fil li[data-etat="afaire"]{ opacity: .6; }
.dm-hb .dm-hb-fil li[data-etat="courant"]{ background: oklch(0.58 0.21 288 / .07); }
.dm-hb .dm-hb-fil li[data-etat="courant"] .dm-hb-fil-rond{ background: var(--dmhb-aurore); color: #fff; border-color: transparent; box-shadow: 0 0 0 5px oklch(0.58 0.21 288 / .15); }
.dm-hb .dm-hb-fil li[data-etat="fait"] .dm-hb-fil-rond{ background: oklch(0.62 0.15 155); color: #fff; border-color: transparent; }
.dm-hb .dm-hb-recommencer{ display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 999px; cursor: pointer;
    background: #fff; border: 1px solid var(--dmhb-trait); font-size: 14px; font-weight: 600; color: var(--dmhb-encre); transition: border-color .2s; }
.dm-hb .dm-hb-recommencer:hover{ border-color: var(--dmhb-violet); }
.dm-hb .dm-hb-recommencer svg{ width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.dm-hb .dm-hb-consigne{ margin: 16px auto 22px; max-width: 780px; text-align: center; font-size: 15px; font-weight: 600; color: var(--hb-violet-fonce); min-height: 1.5em; }
.dm-hb.dm-hb-termine .dm-hb-consigne{ color: oklch(0.45 0.13 155); }

/* ── Onglets (téléphone) ────────────────────────────────────────────────── */
.dm-hb .dm-hb-onglets{ display: none; }

/* ── Scène : deux fenêtres ──────────────────────────────────────────────── */
.dm-hb .dm-hb-scene{ display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: 22px; align-items: start; }
.dm-hb .dm-hb-face{ min-width: 0; }
.dm-hb .dm-hb-legende{ display: flex; align-items: baseline; gap: 8px; margin: 0 0 10px 6px; font-size: 13px; color: var(--dmhb-gris); }
.dm-hb .dm-hb-legende span{ font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; color: var(--dmhb-encre); }
.dm-hb .dm-hb-fenetre{ position: relative; display: flex; flex-direction: column; height: 820px; border-radius: 20px; overflow: hidden; background: #fff;
    border: 1px solid oklch(0.88 0.012 285); box-shadow: 0 2px 4px rgba(40,30,80,.04), 0 30px 60px -28px rgba(40,30,80,.35); }
.dm-hb .dm-hb-chrome{ flex: 0 0 auto; display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; background: oklch(0.965 0.006 285); border-bottom: 1px solid var(--dmhb-trait); }
.dm-hb .dm-hb-chrome i{ width: 10px; height: 10px; border-radius: 50%; background: oklch(0.86 0.01 285); }
.dm-hb .dm-hb-chrome span{ flex: 1; margin-left: 10px; max-width: 380px; padding: 4px 12px; border-radius: 8px; background: #fff; font-size: 11.5px; color: var(--dmhb-gris);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border: 1px solid var(--dmhb-trait); }
.dm-hb .dm-hb-vitrine, .dm-hb .dm-hb-bo{ flex: 1 1 auto; min-height: 0; overflow: auto; overscroll-behavior: contain; container-type: inline-size; scrollbar-width: thin; }
.dm-hb .dm-hb-noscript{ padding: 30px; text-align: center; color: var(--dmhb-gris); }

/* ═══ Face voyageur : la page de la maison d’hôtes ═══════════════════════ */
.dm-hb .dm-hb-vitrine{ position: relative; background: var(--v-fond); color: var(--v-encre); padding: 0 0 20px; }
.dm-hb .dm-hb-v-tete{ position: sticky; top: 0; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 18px; background: rgba(251,250,245,.94);
    backdrop-filter: blur(8px); border-bottom: 1px solid var(--v-trait); }
.dm-hb .dm-hb-v-logo{ width: 42px; height: 42px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center; font-family: 'Newsreader', Georgia, serif;
    font-style: italic; font-weight: 600; font-size: 16px; color: #fff; background: radial-gradient(circle at 30% 25%, #8fa886, var(--v-accent) 70%); box-shadow: 0 4px 10px -4px rgba(59,82,54,.6); }
.dm-hb .dm-hb-v-nom{ flex: 1; min-width: 0; }
.dm-hb .dm-hb-v-nom b{ display: block; font-family: 'Newsreader', Georgia, serif; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.1; }
.dm-hb .dm-hb-v-nom small{ display: block; font-size: 12px; color: var(--v-gris); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dm-hb .dm-hb-v-hero{ position: relative; margin: 14px 18px 0; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 7.4; background: #dfe8d6; }
.dm-hb .dm-hb-v-hero svg{ display: block; width: 100%; height: 100%; }
.dm-hb .dm-hb-v-hero-txt{ position: absolute; left: 14px; bottom: 12px; right: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.dm-hb .dm-hb-v-puce-info{ display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 99px; background: rgba(255,255,255,.9); font-size: 11.5px; font-weight: 600; color: var(--v-encre); }
.dm-hb .dm-hb-v-puce-info .dm-hb-ico{ width: 13px; height: 13px; }
.dm-hb .dm-hb-v-intro{ margin: 14px 18px 0; font-size: 13.5px; line-height: 1.55; color: var(--v-gris); }
.dm-hb .dm-hb-v-h2{ margin: 18px 18px 10px; font-family: 'Newsreader', Georgia, serif; font-size: 21px; font-weight: 600; letter-spacing: -0.01em; color: var(--v-encre); }
.dm-hb .dm-hb-v-h2:focus{ outline: none; }
.dm-hb .dm-hb-v-logements{ list-style: none; margin: 0; padding: 0 18px; display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0,1fr)); }
.dm-hb .dm-hb-v-carte{ display: flex; flex-direction: column; width: 100%; padding: 0; border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--v-trait);
    cursor: pointer; text-align: left; transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, border-color .2s; }
.dm-hb .dm-hb-v-carte:hover{ transform: translateY(-2px); box-shadow: 0 12px 24px -16px rgba(40,50,30,.4); border-color: #cdd6c4; }
.dm-hb .dm-hb-v-carte-img{ position: relative; aspect-ratio: 16 / 10; display: block; }
.dm-hb .dm-hb-v-carte-img svg{ display: block; width: 100%; height: 100%; }
.dm-hb .dm-hb-v-type{ position: absolute; top: 8px; right: 8px; padding: 2px 8px; border-radius: 99px; background: rgba(255,255,255,.92); font-size: 10.5px; font-weight: 600; color: var(--v-encre); }
.dm-hb .dm-hb-v-carte-txt{ display: block; padding: 9px 11px 11px; }
.dm-hb .dm-hb-v-carte-txt b{ display: block; font-size: 13.5px; font-weight: 650; letter-spacing: -0.01em; }
.dm-hb .dm-hb-v-carte-txt small{ display: block; margin-top: 2px; font-size: 11.5px; color: var(--v-gris); line-height: 1.35; }
.dm-hb .dm-hb-v-prix{ display: block; margin-top: 7px; font-size: 12px; color: var(--v-gris); }
.dm-hb .dm-hb-v-prix b{ display: inline; font-size: 15px; color: var(--v-encre); font-weight: 750; }
.dm-hb .dm-hb-v-regles{ margin: 16px 18px 0; padding: 12px 14px; border-radius: 14px; background: var(--v-creme); font-size: 12.5px; line-height: 1.55; display: grid; gap: 3px; }
.dm-hb .dm-hb-v-regles b{ font-weight: 650; }
.dm-hb .dm-hb-v-barre{ position: sticky; bottom: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 14px 12px 0;
    padding: 10px 10px 10px 16px; border-radius: 16px; background: var(--v-encre); color: #fff; font-size: 13.5px; box-shadow: 0 14px 30px -12px rgba(30,35,25,.6); }
.dm-hb .dm-hb-v-barre span{ min-width: 0; }
.dm-hb .dm-hb-v-barre small{ display: block; font-size: 11.5px; color: rgba(255,255,255,.7); }
.dm-hb .dm-hb-v-btn{ display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 10px 16px; border-radius: 12px; cursor: pointer;
    background: #fff; color: var(--v-encre); border: 1px solid var(--v-trait); font-size: 13.5px; font-weight: 650; white-space: nowrap; text-decoration: none; }
.dm-hb .dm-hb-v-btn:hover{ border-color: var(--v-accent); }
.dm-hb .dm-hb-v-btn-plein{ background: var(--v-accent); border-color: var(--v-accent); color: #fff; }
.dm-hb .dm-hb-v-btn-plein:hover{ background: var(--v-accent-fonce); border-color: var(--v-accent-fonce); }
.dm-hb .dm-hb-v-btn:disabled{ cursor: not-allowed; opacity: .5; }

/* Étapes (Dates · Chambre · Extras · Paiement) */
.dm-hb .dm-hb-v-etape-tete{ position: sticky; top: 0; z-index: 3; display: flex; align-items: center; gap: 8px; padding: 8px 14px; background: rgba(251,250,245,.95);
    backdrop-filter: blur(8px); border-bottom: 1px solid var(--v-trait); }
.dm-hb .dm-hb-v-retour{ display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 6px 10px 6px 6px; border-radius: 10px; border: 0; background: transparent;
    cursor: pointer; font-size: 13px; font-weight: 600; color: var(--v-gris); }
.dm-hb .dm-hb-v-retour:hover{ color: var(--v-encre); background: var(--v-creme); }
.dm-hb .dm-hb-v-retour .dm-hb-ico{ width: 16px; height: 16px; stroke-width: 2.4; }
.dm-hb .dm-hb-v-pas{ list-style: none; margin: 0 0 0 auto; padding: 0; display: flex; gap: 4px; }
.dm-hb .dm-hb-v-pas li{ display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 99px; font-size: 11px; font-weight: 650; color: var(--v-gris); }
.dm-hb .dm-hb-v-pas li i{ width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 10px; font-weight: 800; background: var(--v-creme); }
.dm-hb .dm-hb-v-pas li.dm-hb-actif{ background: #e8eee3; color: var(--v-accent-fonce); }
.dm-hb .dm-hb-v-pas li.dm-hb-actif i{ background: var(--v-accent); color: #fff; }
.dm-hb .dm-hb-v-pas li.dm-hb-fait i{ background: #cfdcc8; color: var(--v-accent-fonce); }
@container (max-width: 470px){ .dm-hb .dm-hb-v-pas li span{ display: none; } .dm-hb .dm-hb-v-pas li.dm-hb-actif span{ display: inline; } }
.dm-hb .dm-hb-v-corps{ padding: 0 18px; }
.dm-hb .dm-hb-v-aide{ margin: 0 0 12px; font-size: 12.5px; color: var(--v-gris); line-height: 1.5; }

/* Calendrier */
.dm-hb .dm-hb-cal{ padding: 12px; border-radius: 16px; background: #fff; border: 1px solid var(--v-trait); }
.dm-hb .dm-hb-cal-tete{ display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.dm-hb .dm-hb-cal-tete b{ font-family: 'Newsreader', Georgia, serif; font-size: 18px; font-weight: 600; text-transform: capitalize; }
.dm-hb .dm-hb-cal-nav{ width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--v-trait); background: #fff; cursor: pointer; color: var(--v-encre); }
.dm-hb .dm-hb-cal-nav:hover:not(:disabled){ border-color: var(--v-accent); }
.dm-hb .dm-hb-cal-nav:disabled{ opacity: .3; cursor: not-allowed; }
.dm-hb .dm-hb-cal-grille{ display: grid; grid-template-columns: repeat(7, minmax(0,1fr)); gap: 2px 0; }
.dm-hb .dm-hb-cal-jsem{ padding: 4px 0 6px; text-align: center; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--v-gris); }
.dm-hb .dm-hb-cal-j{ position: relative; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; font-size: 13.5px; font-weight: 600; color: var(--v-encre); }
.dm-hb .dm-hb-cal-j span{ position: relative; z-index: 1; width: 40px; max-width: 100%; height: 40px; margin: 0 auto; display: grid; place-items: center; border-radius: 12px; transition: background .15s; }
.dm-hb .dm-hb-cal-j:hover:not(:disabled) span{ background: var(--v-creme); }
.dm-hb .dm-hb-cal-j:disabled{ cursor: default; color: #c5c6bd; }
.dm-hb .dm-hb-cal-j.dm-hb-we{ color: var(--v-accent-fonce); }
.dm-hb .dm-hb-cal-j.dm-hb-we:disabled{ color: #c5c6bd; }
.dm-hb .dm-hb-cal-j.dm-hb-dans::before{ content: ''; position: absolute; inset: 2px 0; background: #e8eee3; }
.dm-hb .dm-hb-cal-j.dm-hb-debut::before{ content: ''; position: absolute; inset: 2px 0 2px 50%; background: #e8eee3; }
.dm-hb .dm-hb-cal-j.dm-hb-fin::before{ content: ''; position: absolute; inset: 2px 50% 2px 0; background: #e8eee3; }
.dm-hb .dm-hb-cal-j.dm-hb-debut.dm-hb-seul::before{ content: none; }
.dm-hb .dm-hb-cal-j.dm-hb-debut span, .dm-hb .dm-hb-cal-j.dm-hb-fin span{ background: var(--v-accent); color: #fff; }
.dm-hb .dm-hb-cal-j.dm-hb-debut:hover span, .dm-hb .dm-hb-cal-j.dm-hb-fin:hover span{ background: var(--v-accent-fonce); }
.dm-hb .dm-hb-cal-j.dm-hb-auj span{ box-shadow: inset 0 0 0 1.5px var(--v-glycine); }
.dm-hb .dm-hb-cal-pied{ display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--v-trait); font-size: 12.5px; color: var(--v-gris); }
.dm-hb .dm-hb-cal-pied b{ color: var(--v-encre); }
.dm-hb .dm-hb-v-lien{ min-height: 44px; padding: 8px 10px; border: 0; background: transparent; cursor: pointer; font-size: 12.5px; font-weight: 600; color: var(--v-gris); text-decoration: underline; text-underline-offset: 3px; }
.dm-hb .dm-hb-v-personnes{ margin-top: 12px; display: grid; gap: 8px; }
.dm-hb .dm-hb-v-personne{ display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 8px 8px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--v-trait); }
.dm-hb .dm-hb-v-personne b{ display: block; font-size: 13.5px; font-weight: 650; }
.dm-hb .dm-hb-v-personne small{ display: block; font-size: 11.5px; color: var(--v-gris); }
.dm-hb .dm-hb-v-qte{ display: inline-flex; align-items: center; border-radius: 12px; border: 1px solid var(--v-trait); background: var(--v-fond); }
.dm-hb .dm-hb-v-qte button{ width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: transparent; cursor: pointer; color: var(--v-encre); border-radius: 11px; }
.dm-hb .dm-hb-v-qte button:hover:not(:disabled){ background: var(--v-creme); }
.dm-hb .dm-hb-v-qte button:disabled{ opacity: .3; cursor: not-allowed; }
.dm-hb .dm-hb-v-qte .dm-hb-ico{ width: 15px; height: 15px; stroke-width: 2.6; }
.dm-hb .dm-hb-v-qte output{ min-width: 22px; text-align: center; font-weight: 700; font-size: 14px; }
.dm-hb .dm-hb-v-suite{ display: flex; margin: 16px 0 0; }
.dm-hb .dm-hb-v-suite .dm-hb-v-btn{ flex: 1; min-height: 50px; font-size: 14.5px; }

/* Chambres pour ces dates */
.dm-hb .dm-hb-v-sejour{ display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 12px; padding: 10px 8px 10px 14px; border-radius: 14px; background: var(--v-creme); font-size: 12.5px; }
.dm-hb .dm-hb-v-sejour b{ display: block; font-size: 13.5px; }
.dm-hb .dm-hb-v-choix{ list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dm-hb .dm-hb-v-ch{ display: flex; gap: 12px; width: 100%; padding: 10px; border-radius: 16px; background: #fff; border: 1.5px solid var(--v-trait); text-align: left; cursor: pointer;
    transition: border-color .2s, box-shadow .2s, transform .2s; }
.dm-hb .dm-hb-v-ch:hover:not(:disabled){ border-color: #b9c9b0; transform: translateY(-1px); }
.dm-hb .dm-hb-v-ch.dm-hb-choisi{ border-color: var(--v-accent); box-shadow: 0 0 0 3px rgba(79,107,72,.15); }
.dm-hb .dm-hb-v-ch:disabled{ cursor: not-allowed; background: #f6f5f0; }
.dm-hb .dm-hb-v-ch:disabled .dm-hb-v-ch-img{ filter: grayscale(.8); opacity: .55; }
.dm-hb .dm-hb-v-ch-img{ width: 96px; flex: 0 0 auto; border-radius: 11px; overflow: hidden; aspect-ratio: 4 / 3.2; }
.dm-hb .dm-hb-v-ch-img svg{ display: block; width: 100%; height: 100%; }
.dm-hb .dm-hb-v-ch-txt{ flex: 1; min-width: 0; display: flex; flex-direction: column; }
.dm-hb .dm-hb-v-ch-txt b{ font-size: 14px; font-weight: 650; }
.dm-hb .dm-hb-v-ch-txt small{ font-size: 11.5px; color: var(--v-gris); line-height: 1.35; margin-top: 2px; }
.dm-hb .dm-hb-v-ch-prix{ margin-top: auto; padding-top: 6px; display: flex; align-items: baseline; justify-content: space-between; gap: 6px; flex-wrap: wrap; font-size: 11.5px; color: var(--v-gris); }
.dm-hb .dm-hb-v-ch-prix b{ font-size: 15.5px; color: var(--v-encre); font-weight: 750; }
.dm-hb .dm-hb-v-indispo{ display: inline-flex; align-items: center; gap: 5px; margin-top: auto; padding-top: 6px; font-size: 12px; font-weight: 650; color: #9a4b12; }
.dm-hb .dm-hb-v-indispo .dm-hb-ico{ width: 14px; height: 14px; }
.dm-hb .dm-hb-v-vide{ padding: 16px; border-radius: 14px; background: #fff7ec; border: 1px solid #f1d7b0; font-size: 13px; color: #8a4a16; }

/* Extras + récap */
.dm-hb .dm-hb-v-extras{ margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 8px; }
.dm-hb .dm-hb-v-extras legend{ padding: 0; margin-bottom: 8px; font-size: 13.5px; font-weight: 700; }
.dm-hb .dm-hb-v-extras legend small{ font-weight: 400; color: var(--v-gris); }
.dm-hb .dm-hb-v-extra{ position: relative; display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 10px 14px 10px 12px; border-radius: 14px; cursor: pointer;
    background: #fff; border: 1.5px solid var(--v-trait); transition: border-color .2s, background .2s, box-shadow .2s; }
.dm-hb .dm-hb-v-extra:hover{ border-color: #c6d3be; }
.dm-hb .dm-hb-v-extra input{ position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.dm-hb .dm-hb-v-case{ width: 24px; height: 24px; flex: 0 0 auto; border-radius: 7px; border: 2px solid #c3c8b8; display: grid; place-items: center; color: transparent; background: #fff; transition: background .15s, border-color .15s; }
.dm-hb .dm-hb-v-case .dm-hb-ico{ width: 14px; height: 14px; stroke-width: 3.2; }
.dm-hb .dm-hb-v-extra:has(input:checked){ border-color: var(--v-accent); background: #f4f8f1; box-shadow: 0 0 0 3px rgba(79,107,72,.1); }
.dm-hb .dm-hb-v-extra:has(input:checked) .dm-hb-v-case{ background: var(--v-accent); border-color: var(--v-accent); color: #fff; }
.dm-hb .dm-hb-v-extra:has(input:focus-visible){ outline: 2px solid var(--dmhb-violet); outline-offset: 2px; }
.dm-hb .dm-hb-v-extra-txt{ flex: 1; min-width: 0; }
.dm-hb .dm-hb-v-extra-txt b{ display: block; font-size: 13.5px; font-weight: 650; }
.dm-hb .dm-hb-v-extra-txt small{ display: block; font-size: 11.5px; color: var(--v-gris); line-height: 1.35; }
.dm-hb .dm-hb-v-extra-prix{ text-align: right; font-size: 11.5px; color: var(--v-gris); white-space: nowrap; }
.dm-hb .dm-hb-v-extra-prix b{ display: block; font-size: 13.5px; color: var(--v-encre); }
.dm-hb .dm-hb-v-total{ margin: 14px 0 0; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--v-trait); display: grid; gap: 6px; font-size: 13px; }
.dm-hb .dm-hb-v-total div{ display: flex; justify-content: space-between; gap: 10px; }
.dm-hb .dm-hb-v-total dt{ color: var(--v-gris); }
.dm-hb .dm-hb-v-total dd{ margin: 0; font-weight: 600; text-align: right; }
.dm-hb .dm-hb-v-total .dm-hb-v-fort{ padding-top: 8px; border-top: 1px dashed var(--v-trait); font-size: 15.5px; }
.dm-hb .dm-hb-v-total .dm-hb-v-fort dt{ color: var(--v-encre); font-weight: 700; }
.dm-hb .dm-hb-v-total .dm-hb-v-fort dd{ font-weight: 800; }
.dm-hb .dm-hb-v-total .dm-hb-v-acompte{ color: var(--v-accent-fonce); }
.dm-hb .dm-hb-v-total .dm-hb-v-acompte dt{ color: inherit; font-weight: 650; }
.dm-hb .dm-hb-v-total .dm-hb-v-solde dt, .dm-hb .dm-hb-v-total .dm-hb-v-solde dd{ color: #9a5a12; }
.dm-hb .dm-hb-v-coord{ margin: 0 0 12px; padding: 12px 14px; border-radius: 14px; background: var(--v-creme); font-size: 12.5px; display: grid; gap: 2px; }
.dm-hb .dm-hb-v-coord b{ font-size: 13px; }
.dm-hb .dm-hb-v-coord small{ color: var(--v-gris); font-style: italic; }
.dm-hb .dm-hb-v-message{ margin: 0 0 12px; padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px dashed var(--v-trait); font-size: 12.5px; color: var(--v-gris); }
.dm-hb .dm-hb-v-message b{ display: block; color: var(--v-encre); font-size: 12px; margin-bottom: 2px; }
.dm-hb .dm-hb-v-payer{ display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 54px; margin: 14px 0 0; border-radius: 15px; cursor: pointer;
    border: 0; background: var(--v-encre); color: #fff; font-size: 15px; font-weight: 700; letter-spacing: -0.01em; box-shadow: 0 12px 24px -12px rgba(30,35,25,.7); transition: transform .15s, background .2s; }
.dm-hb .dm-hb-v-payer:hover{ background: #3a4134; transform: translateY(-1px); }
.dm-hb .dm-hb-v-payer:disabled{ cursor: wait; opacity: .85; transform: none; }
.dm-hb .dm-hb-v-note{ margin: 10px 0 0; font-size: 11.5px; line-height: 1.45; color: var(--v-gris); text-align: center; }
.dm-hb .dm-hb-v-note b{ color: var(--v-encre); font-weight: 600; }

/* Merci */
.dm-hb .dm-hb-v-merci{ padding: 26px 20px 10px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.dm-hb .dm-hb-v-coche{ width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: oklch(0.6 0.12 140);
    box-shadow: 0 0 0 8px oklch(0.6 0.12 140 / .14); animation: dm-hb-pop .5s cubic-bezier(.2,.9,.3,1.4); }
.dm-hb .dm-hb-v-coche .dm-hb-ico{ width: 30px; height: 30px; stroke-width: 3; }
.dm-hb .dm-hb-v-merci .dm-hb-v-h2{ margin: 16px 0 4px; font-size: 25px; }
.dm-hb .dm-hb-v-merci-sous{ margin: 0; font-size: 13.5px; color: var(--v-gris); }
.dm-hb .dm-hb-v-billet{ width: 100%; margin: 16px 0 0; display: flex; gap: 12px; padding: 10px; border-radius: 16px; background: #fff; border: 1px solid var(--v-trait); text-align: left; }
.dm-hb .dm-hb-v-billet .dm-hb-v-ch-img{ width: 84px; }
.dm-hb .dm-hb-v-billet-txt{ flex: 1; min-width: 0; font-size: 12.5px; color: var(--v-gris); line-height: 1.45; }
.dm-hb .dm-hb-v-billet-txt b{ display: block; font-size: 14px; color: var(--v-encre); }
.dm-hb .dm-hb-v-dates{ width: 100%; margin: 10px 0 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; padding: 12px 14px; border-radius: 14px; background: var(--v-creme); text-align: left; }
.dm-hb .dm-hb-v-dates span{ display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--v-gris); }
.dm-hb .dm-hb-v-dates b{ display: block; font-size: 14.5px; color: var(--v-encre); }
.dm-hb .dm-hb-v-dates small{ display: block; font-size: 11.5px; color: var(--v-gris); }
.dm-hb .dm-hb-v-dates > div:last-child{ text-align: right; }
.dm-hb .dm-hb-v-dates em{ font-style: normal; padding: 3px 9px; border-radius: 99px; background: #fff; font-size: 11.5px; font-weight: 700; color: var(--v-accent-fonce); }
.dm-hb .dm-hb-v-mail{ width: 100%; margin: 10px 0 0; display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 14px; border-radius: 14px; text-align: left;
    background: #f4f8f1; border: 1px solid #d5e2cc; font-size: 12.5px; line-height: 1.4; color: var(--v-accent-fonce); animation: dm-hb-entre .45s cubic-bezier(.2,.8,.2,1) backwards; }
.dm-hb .dm-hb-v-mail span{ flex: 1; min-width: 0; }
.dm-hb .dm-hb-v-mail.dm-hb-v-mail-rappel{ background: #f6f2fb; border-color: #e1d8f0; color: #5b4790; }
.dm-hb .dm-hb-v-merci > .dm-hb-v-btn-plein{ width: 100%; margin-top: 12px; }
.dm-hb .dm-hb-mobile-seul{ display: none; }

/* ═══ Face hôte : le back-office (look bo.css) ═══════════════════════════ */
.dm-hb .dm-hb-bo{ background: oklch(0.982 0.004 285); color: var(--hb-encre); font-family: 'Schibsted Grotesk', Inter, system-ui, sans-serif; letter-spacing: -0.01em; }
.dm-hb .dm-hb-b-page{ padding: 18px 22px 26px; }
.dm-hb .dm-hb-b-tete{ display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; margin: 4px 0 16px; }
.dm-hb .dm-hb-b-tete-txt{ min-width: 0; }
.dm-hb .dm-hb-b-h1{ margin: 0; font-size: 1.6rem; font-weight: 700; line-height: 1.15; letter-spacing: -0.025em; color: var(--hb-encre); }
.dm-hb .dm-hb-b-h1:focus{ outline: none; }
.dm-hb .dm-hb-b-h1 .dm-hb-serif, .dm-hb .dm-hb-b-h2 .dm-hb-serif{ font-weight: 500; }
.dm-hb .dm-hb-b-sous{ margin: 5px 0 0; font-size: 13px; color: var(--hb-gris); }
.dm-hb .dm-hb-b-actions{ display: flex; gap: 8px; flex-wrap: wrap; }
.dm-hb .dm-hb-b-deco{ pointer-events: none; }
.dm-hb .dm-hb-b-retour{ display: inline-flex; align-items: center; gap: 5px; min-height: 40px; margin: -6px 0 2px -6px; padding: 6px 10px 6px 6px; border: 0; border-radius: 10px; background: transparent; cursor: pointer;
    font-size: 12.5px; font-weight: 600; color: var(--hb-gris); }
.dm-hb .dm-hb-b-retour:hover{ color: var(--hb-violet-fonce); background: var(--hb-trait-doux); }
.dm-hb .dm-hb-b-retour .dm-hb-ico{ width: 14px; height: 14px; stroke-width: 2.4; }
.dm-hb .dm-hb-b-section{ margin: 0 0 22px; }
.dm-hb .dm-hb-b-h2{ margin: 0 0 12px; font-size: 1.05rem; font-weight: 700; letter-spacing: -0.025em; color: var(--hb-encre); }
.dm-hb .dm-hb-b-h2 small{ margin-left: 8px; font-size: 12.5px; font-weight: 500; color: var(--hb-gris); letter-spacing: 0; }

/* Boutons */
.dm-hb .dm-hb-btn{ display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 9px 15px; border-radius: 11px; cursor: pointer;
    font-size: 13.5px; font-weight: 600; line-height: 1.2; white-space: nowrap; border: 1px solid transparent; text-decoration: none; transition: transform .15s, box-shadow .2s, border-color .2s, background .2s; }
.dm-hb .dm-hb-btn .dm-hb-ico{ width: 16px; height: 16px; }
.dm-hb .dm-hb-btn-primaire{ background: var(--hb-degrade); color: #fff; box-shadow: 0 6px 16px -8px oklch(0.42 0.18 285 / .7); }
.dm-hb .dm-hb-btn-primaire:hover{ transform: translateY(-1px); box-shadow: 0 10px 22px -10px oklch(0.42 0.18 285 / .8); }
.dm-hb .dm-hb-btn-sobre{ background: #fff; color: var(--hb-encre); border-color: var(--hb-trait); }
.dm-hb .dm-hb-btn-sobre:hover{ border-color: var(--hb-violet); color: var(--hb-violet-fonce); }
.dm-hb .dm-hb-btn-mini{ min-height: 44px; padding: 7px 12px; font-size: 12.5px; border-radius: 10px; }
.dm-hb .dm-hb-btn-grand{ min-height: 50px; padding: 13px 20px; font-size: 15px; border-radius: 14px; }
.dm-hb .dm-hb-btn-bloc{ width: 100%; }
.dm-hb .dm-hb-btn:disabled{ cursor: not-allowed; opacity: .5; transform: none; }

/* Onglets du module */
.dm-hb .dm-hb-b-onglets{ display: flex; gap: 4px; padding: 4px; margin: 0 0 18px; max-width: 100%; width: max-content; overflow-x: auto; border-radius: 14px; background: #fff;
    border: 1px solid var(--hb-trait); box-shadow: var(--hb-ombre); scrollbar-width: none; }
.dm-hb .dm-hb-b-onglets::-webkit-scrollbar{ display: none; }
.dm-hb .dm-hb-b-onglet{ flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 8px 13px; border-radius: 10px; border: 0; background: transparent; cursor: pointer;
    font-size: 13px; font-weight: 600; color: var(--hb-gris); white-space: nowrap; transition: background .2s, color .2s; }
.dm-hb button.dm-hb-b-onglet:hover{ background: var(--hb-trait-doux); color: var(--hb-encre); }
.dm-hb .dm-hb-b-onglet.dm-hb-actif, .dm-hb button.dm-hb-b-onglet.dm-hb-actif:hover{ background: var(--hb-encre); color: #fff; }
.dm-hb .dm-hb-b-inerte{ cursor: default; opacity: .5; }
.dm-hb .dm-hb-compteur{ min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; display: inline-grid; place-items: center; font-size: 10.5px; font-weight: 800;
    background: oklch(0.62 0.15 60 / .18); color: oklch(0.48 0.14 55); animation: dm-hb-pop .35s cubic-bezier(.2,.9,.3,1.4); }
.dm-hb .dm-hb-actif .dm-hb-compteur{ background: rgba(255,255,255,.2); color: #fff; }

/* Messages */
.dm-hb .dm-hb-message{ display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 14px; margin: 0 0 14px; font-size: 13px; line-height: 1.45; border: 1px solid var(--hb-trait); background: #fff; }
.dm-hb .dm-hb-message > span, .dm-hb .dm-hb-message > div{ flex: 1; min-width: 0; }
.dm-hb .dm-hb-message > .dm-hb-ico{ width: 20px; height: 20px; }
.dm-hb .dm-hb-message b{ font-weight: 700; }
.dm-hb .dm-hb-message p{ margin: 3px 0 0; }
.dm-hb .dm-hb-message-ok{ background: oklch(0.97 0.03 155); border-color: oklch(0.85 0.07 155); color: oklch(0.38 0.1 155); }
.dm-hb .dm-hb-message-erreur{ background: oklch(0.97 0.02 25); border-color: oklch(0.86 0.06 25); color: oklch(0.45 0.15 25); }
.dm-hb .dm-hb-message-info{ background: oklch(0.97 0.02 288); border-color: oklch(0.88 0.05 288); color: var(--hb-violet-fonce); }
.dm-hb .dm-hb-message-alerte{ background: oklch(0.97 0.04 80); border-color: oklch(0.87 0.08 75); color: oklch(0.45 0.12 60); }
.dm-hb .dm-hb-message-bloc{ align-items: flex-start; }
/* Commande de la démo (pas dans le vrai logiciel) : avancer le calendrier */
.dm-hb .dm-hb-saut{ display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 16px; padding: 12px 14px; border-radius: 14px;
    background: oklch(0.58 0.21 288 / .05); border: 1.5px dashed oklch(0.58 0.21 288 / .45); font-size: 13px; color: var(--hb-violet-fonce); animation: dm-hb-entre .5s cubic-bezier(.2,.8,.2,1); }
.dm-hb .dm-hb-saut > span{ flex: 1 1 240px; min-width: 0; line-height: 1.45; }
.dm-hb .dm-hb-saut small{ display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--hb-pale); }

/* Chiffres */
.dm-hb .dm-hb-kpis{ display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 128px), 1fr)); margin: 0 0 18px; }
.dm-hb .dm-hb-kpis.dm-hb-kpis-4{ grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); }
.dm-hb .dm-hb-chiffre{ position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 3px; min-width: 0; padding: 14px 15px; border-radius: 16px; background: #fff;
    border: 1px solid var(--hb-trait); box-shadow: var(--hb-ombre); color: var(--hb-encre); text-align: left; }
.dm-hb button.dm-hb-chiffre{ cursor: pointer; font: inherit; transition: transform .2s, border-color .2s; }
.dm-hb button.dm-hb-chiffre:hover{ transform: translateY(-2px); border-color: var(--hb-violet); }
.dm-hb .dm-hb-chiffre.dm-hb-principal{ background: var(--hb-degrade); border-color: transparent; color: #fff; }
.dm-hb .dm-hb-lbl{ display: flex; align-items: center; gap: 8px; margin-bottom: 4px; font-size: 12px; font-weight: 600; color: var(--hb-gris); }
.dm-hb .dm-hb-principal .dm-hb-lbl, .dm-hb .dm-hb-principal .dm-hb-sous{ color: rgba(255,255,255,.88); }
.dm-hb .dm-hb-val{ font-size: 1.5rem; font-weight: 800; letter-spacing: -.035em; line-height: 1.1; white-space: nowrap; }
.dm-hb .dm-hb-val small{ font-size: .52em; font-weight: 600; color: var(--hb-pale); letter-spacing: 0; }
.dm-hb .dm-hb-principal .dm-hb-val small{ color: rgba(255,255,255,.7); }
.dm-hb .dm-hb-sous{ font-size: 11.5px; color: var(--hb-gris); line-height: 1.4; }
.dm-hb .dm-hb-sous b{ color: var(--hb-encre); }
.dm-hb .dm-hb-pastille-ico{ width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; flex: 0 0 auto; }
.dm-hb .dm-hb-pastille-ico .dm-hb-ico{ width: 15px; height: 15px; }
.dm-hb .dm-hb-t-violet .dm-hb-pastille-ico{ background: oklch(0.58 0.21 288 / .12); color: var(--hb-violet-fonce); }
.dm-hb .dm-hb-t-vert .dm-hb-pastille-ico{ background: oklch(0.78 0.15 155 / .18); color: oklch(0.45 0.13 155); }
.dm-hb .dm-hb-t-orange .dm-hb-pastille-ico{ background: oklch(0.80 0.15 65 / .22); color: oklch(0.52 0.15 55); }
.dm-hb .dm-hb-t-bleu .dm-hb-pastille-ico{ background: oklch(0.70 0.13 245 / .16); color: oklch(0.46 0.14 250); }
.dm-hb .dm-hb-t-rose .dm-hb-pastille-ico{ background: oklch(0.75 0.15 0 / .15); color: oklch(0.50 0.17 5); }
.dm-hb .dm-hb-monte{ animation: dm-hb-monte 1.4s ease-out; }
.dm-hb .dm-hb-jauge{ display: block; height: 8px; border-radius: 99px; background: rgba(255,255,255,.22); overflow: hidden; margin: 8px 0 6px; }
.dm-hb .dm-hb-jauge i{ display: block; height: 100%; width: var(--w, 0%); border-radius: 99px; background: #fff; transition: width 1.1s cubic-bezier(.45,.1,.2,1); }
.dm-hb .dm-hb-repartition{ display: flex; height: 12px; border-radius: 99px; overflow: hidden; background: var(--hb-trait-doux); gap: 2px; }
.dm-hb .dm-hb-repartition i{ display: block; height: 100%; min-width: 3px; transition: width .8s cubic-bezier(.45,.1,.2,1); }
.dm-hb .dm-hb-sigle{ padding: 1px 6px; border-radius: 6px; background: var(--hb-trait-doux); font-size: 10px; font-weight: 800; letter-spacing: .04em; color: var(--hb-pale); }

/* Navigation de date ‹ libellé › */
.dm-hb .dm-hb-nav-date{ display: inline-flex; align-items: center; gap: 2px; padding: 4px; border-radius: 14px; background: #fff; border: 1px solid var(--hb-trait); box-shadow: var(--hb-ombre); }
.dm-hb .dm-hb-nav-date button, .dm-hb .dm-hb-nav-date span{ display: inline-flex; align-items: center; justify-content: center; min-height: 40px; border-radius: 10px; border: 0; background: transparent;
    font-size: 13px; font-weight: 600; color: var(--hb-gris); white-space: nowrap; cursor: pointer; }
.dm-hb .dm-hb-nav-date .dm-hb-nav-fleche{ width: 40px; color: var(--hb-encre); }
.dm-hb .dm-hb-nav-date .dm-hb-nav-fleche:disabled{ opacity: .3; cursor: not-allowed; }
.dm-hb .dm-hb-nav-date .dm-hb-nav-libelle{ padding: 0 12px; color: var(--hb-encre); font-weight: 700; cursor: default; text-transform: capitalize; }
.dm-hb .dm-hb-nav-date button:hover:not(:disabled){ background: var(--hb-trait-doux); color: var(--hb-violet-fonce); }
.dm-hb .dm-hb-nav-date .dm-hb-nav-ici{ padding: 0 12px; background: oklch(0.58 0.21 288 / .1); color: var(--hb-violet-fonce); }
.dm-hb .dm-hb-nav-date span.dm-hb-nav-ici{ background: var(--hb-trait-doux); color: var(--hb-pale); cursor: default; }

/* Légende courte */
.dm-hb .dm-hb-legende-courte{ display: inline-flex; align-items: center; gap: 4px 8px; flex-wrap: wrap; font-size: 12px; color: var(--hb-gris); }
.dm-hb .dm-hb-legende-courte > span{ display: inline-flex; align-items: center; gap: 6px; margin-right: 6px; white-space: nowrap; }
.dm-hb .dm-hb-legende-courte i{ display: inline-block; width: 10px; height: 10px; border-radius: 3px; }
.dm-hb .dm-hb-legende-courte i.dm-hb-plan-libre-leg{ background: #fff; border: 1px solid var(--hb-trait); }
.dm-hb .dm-hb-legende-courte i.dm-hb-plan-indispo{ border: 1px solid var(--hb-trait); }
.dm-hb .dm-hb-plan-outils{ display: flex; justify-content: space-between; align-items: center; gap: 12px 16px; flex-wrap: wrap; margin-bottom: 12px; }

/* ── Planning : grille logements × nuits (bo-planning) ─────────────────── */
.dm-hb .dm-hb-planning-cadre{ overflow-x: auto; overscroll-behavior-x: contain; border-radius: 18px; border: 1px solid var(--hb-trait); background: #fff; box-shadow: var(--hb-ombre); scrollbar-width: thin; }
.dm-hb .dm-hb-planning{ --plan-res: 168px; --plan-nuit: 36px; border-collapse: separate; border-spacing: 0; font-size: 12px; table-layout: fixed; width: 100%;
    min-width: calc(var(--plan-res) + var(--plan-n, 30) * var(--plan-nuit)); }
.dm-hb .dm-hb-planning col.dm-hb-plan-col-res{ width: var(--plan-res); }
.dm-hb .dm-hb-planning th, .dm-hb .dm-hb-planning td{ padding: 0; border-right: 1px solid var(--hb-trait-doux); border-bottom: 1px solid var(--hb-trait-doux); }
.dm-hb .dm-hb-planning tbody tr:last-child td, .dm-hb .dm-hb-planning tbody tr:last-child th{ border-bottom: 0; }
.dm-hb .dm-hb-planning thead th{ background: var(--hb-teinte); border-bottom-color: var(--hb-trait); }
.dm-hb .dm-hb-planning .dm-hb-plan-ressource{ position: sticky; left: 0; z-index: 2; padding: 8px 12px; text-align: left; background: #fff; border-right: 1px solid var(--hb-trait); box-shadow: 6px 0 10px -8px rgba(40,30,80,.18); }
.dm-hb .dm-hb-planning thead .dm-hb-plan-ressource{ background: var(--hb-teinte); z-index: 3; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--hb-pale); }
.dm-hb .dm-hb-plan-ressource b{ display: block; font-size: 13px; font-weight: 600; color: var(--hb-encre); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dm-hb .dm-hb-plan-ressource small{ display: block; margin-top: 1px; font-size: 11px; color: var(--hb-pale); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 400; }
.dm-hb .dm-hb-plan-jour{ height: 46px; text-align: center; font-weight: 500; }
.dm-hb .dm-hb-plan-jour small{ display: block; font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--hb-pale); }
.dm-hb .dm-hb-plan-jour span{ display: inline-grid; place-items: center; min-width: 24px; height: 22px; margin-top: 1px; border-radius: 7px; font-size: 12.5px; font-weight: 700; color: var(--hb-encre); }
.dm-hb .dm-hb-planning thead .dm-hb-plan-we{ background: oklch(0.96 0.015 288); }
.dm-hb .dm-hb-plan-jour.dm-hb-plan-auj span{ background: var(--hb-degrade); color: #fff; }
.dm-hb .dm-hb-plan-jour.dm-hb-plan-auj small{ color: var(--hb-violet-fonce); }
.dm-hb .dm-hb-planning col.dm-hb-plan-col-auj{ background: oklch(0.58 0.21 288 / .07); }
.dm-hb .dm-hb-planning col.dm-hb-plan-col-we{ background: oklch(0.58 0.21 288 / .025); }
.dm-hb .dm-hb-plan-case{ height: 48px; }
.dm-hb .dm-hb-plan-libre{ display: block; width: 100%; height: 100%; min-height: 48px; padding: 0; border: 0; background: transparent; cursor: pointer; transition: background .15s; }
.dm-hb .dm-hb-plan-libre:hover{ background: oklch(0.58 0.21 288 / .1); }
.dm-hb .dm-hb-plan-libre:focus-visible{ outline: 2px solid var(--hb-violet); outline-offset: -2px; }
.dm-hb .dm-hb-plan-passe{ cursor: default; }
.dm-hb .dm-hb-plan-passe:hover{ background: transparent; }
.dm-hb .dm-hb-plan-barre{ position: relative; display: flex; align-items: center; gap: 6px; width: calc(100% - 4px); height: 34px; margin: 0 2px; padding: 0 9px; border: 0; border-radius: 9px;
    font: inherit; font-size: 11.5px; font-weight: 700; line-height: 1; color: #fff; text-decoration: none; white-space: nowrap; overflow: hidden; cursor: pointer;
    box-shadow: 0 2px 6px -3px rgba(40,30,80,.35); transition: filter .15s, transform .15s; }
.dm-hb .dm-hb-plan-barre > span{ min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.dm-hb .dm-hb-plan-barre:hover{ filter: brightness(1.07); }
.dm-hb .dm-hb-plan-barre:focus-visible{ outline: 2px solid var(--hb-encre); outline-offset: 1px; }
.dm-hb .dm-hb-plan-barre.dm-hb-plan-avant{ border-top-left-radius: 0; border-bottom-left-radius: 0; margin-left: 0; width: calc(100% - 2px); }
.dm-hb .dm-hb-plan-barre.dm-hb-plan-apres{ border-top-right-radius: 0; border-bottom-right-radius: 0; margin-right: 0; width: calc(100% - 2px); }
.dm-hb .dm-hb-plan-barre.dm-hb-plan-avant.dm-hb-plan-apres{ width: 100%; }
.dm-hb .dm-hb-plan-barre.dm-hb-plan-court{ justify-content: center; gap: 3px; padding: 0 2px; }
.dm-hb .dm-hb-plan-barre.dm-hb-plan-court > span{ text-overflow: clip; }
.dm-hb .dm-hb-plan-origine{ flex: 0 0 auto; width: 17px; height: 17px; border-radius: 5px; display: grid; place-items: center; font-size: 10px; font-weight: 800; font-style: normal; background: rgba(255,255,255,.28); color: #fff; }
.dm-hb .dm-hb-plan-confirme{ background: var(--hb-violet); }
.dm-hb .dm-hb-plan-en_attente{ background: oklch(0.70 0.15 62); }
.dm-hb .dm-hb-plan-termine{ background: oklch(0.60 0.10 250); }
.dm-hb .dm-hb-plan-indispo{ color: var(--hb-gris); box-shadow: none; background: repeating-linear-gradient(135deg, oklch(0.92 0.01 285) 0 6px, oklch(0.95 0.008 285) 6px 12px); border: 1px solid var(--hb-trait); }
/* Séjour qui vient d’arriver (propre à la démo : liseré pulsé) */
.dm-hb .dm-hb-plan-barre.dm-hb-plan-nouvelle{ box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--hb-violet); animation: dm-hb-pulse-barre 1.6s ease-out 3; }
.dm-hb .dm-hb-plan-barre.dm-hb-plan-ota-neuve{ box-shadow: 0 0 0 2px #fff, 0 0 0 4px oklch(0.56 0.16 252); }
.dm-hb .dm-hb-plan-barre.dm-hb-arrive{ animation: dm-hb-arrive-barre .9s cubic-bezier(.2,.9,.3,1.2), dm-hb-pulse-barre 1.6s ease-out .9s 3; transform-origin: left center; }
.dm-hb .dm-hb-b-note{ margin: 10px 2px 0; font-size: 12px; line-height: 1.5; color: var(--hb-gris); }

/* ── Aujourd’hui : cartes de mouvement (bo-sejour) ──────────────────────── */
.dm-hb .dm-hb-grille-2{ display: grid; gap: 14px; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: start; }
.dm-hb .dm-hb-grille-2.dm-hb-inegales{ grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); }
@container (max-width: 700px){ .dm-hb .dm-hb-grille-2, .dm-hb .dm-hb-grille-2.dm-hb-inegales{ grid-template-columns: minmax(0,1fr); } }
.dm-hb .dm-hb-sejours{ display: grid; gap: 12px; }
.dm-hb .dm-hb-sejour{ overflow: hidden; border-radius: 16px; background: #fff; border: 1px solid var(--hb-trait); box-shadow: var(--hb-ombre); min-width: 0; }
.dm-hb .dm-hb-sejour.dm-hb-sejour-neuf{ border-color: oklch(0.58 0.21 288 / .55); box-shadow: 0 0 0 3px oklch(0.58 0.21 288 / .12), var(--hb-ombre); }
.dm-hb .dm-hb-sejour-etat{ display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; padding: 8px 16px; font-size: 12px; font-weight: 700;
    background: var(--hb-teinte); border-bottom: 1px solid var(--hb-trait-doux); color: var(--hb-gris); }
.dm-hb .dm-hb-sejour-etat .dm-hb-pastille{ font-size: 11px; }
.dm-hb .dm-hb-sejour-corps{ padding: 14px 16px 16px; }
.dm-hb .dm-hb-sejour-nom{ display: block; font-size: 1.05rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; overflow-wrap: anywhere; }
.dm-hb .dm-hb-sejour-infos{ display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px; font-size: 12.5px; color: var(--hb-gris); }
.dm-hb .dm-hb-sejour-infos span{ display: inline-flex; align-items: center; gap: 5px; }
.dm-hb .dm-hb-sejour-infos .dm-hb-ico{ width: 13px; height: 13px; }
.dm-hb .dm-hb-sejour-infos b{ color: var(--hb-encre); font-weight: 600; }
.dm-hb .dm-hb-sejour .dm-hb-message{ margin: 12px 0 0; padding: 9px 12px; font-size: 13px; }
.dm-hb .dm-hb-sejour-actions{ display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 14px; }
.dm-hb .dm-hb-sejour-liens{ display: flex; gap: 6px; margin-left: auto; }
.dm-hb .dm-hb-sejour.dm-hb-fait{ background: var(--hb-teinte); box-shadow: none; }
.dm-hb .dm-hb-sejour.dm-hb-fait .dm-hb-sejour-etat{ background: oklch(0.97 0.03 155); color: oklch(0.42 0.12 155); border-bottom-color: oklch(0.90 0.05 155); }
.dm-hb .dm-hb-sejour.dm-hb-fait .dm-hb-sejour-nom{ color: var(--hb-gris); }
.dm-hb .dm-hb-deplier-ouvert{ background: #fff !important; color: var(--hb-encre) !important; border-color: var(--hb-trait) !important; box-shadow: none !important; }
.dm-hb .dm-hb-pile-form{ flex: 1 1 100%; display: flex; flex-direction: column; gap: 8px; margin: 2px 0 0; padding: 12px; border-radius: 14px; background: var(--hb-teinte); border: 1px solid var(--hb-trait-doux);
    animation: dm-hb-entre .35s cubic-bezier(.2,.8,.2,1); }
.dm-hb .dm-hb-aide{ margin: 0; font-size: 12px; line-height: 1.45; color: var(--hb-gris); }
.dm-hb .dm-hb-colonnes-2{ display: grid; gap: 0 12px; grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
@container (max-width: 420px){ .dm-hb .dm-hb-colonnes-2{ grid-template-columns: minmax(0,1fr); } }
.dm-hb .dm-hb-champ{ display: flex; flex-direction: column; gap: 5px; margin-bottom: 8px; min-width: 0; }
.dm-hb .dm-hb-champ label{ font-size: 12.5px; font-weight: 600; color: var(--hb-encre); }
.dm-hb .dm-hb-champ input, .dm-hb .dm-hb-champ select{ width: 100%; min-height: 44px; padding: 9px 11px; border-radius: 11px; border: 1px solid var(--hb-trait); background: #fff;
    font: inherit; font-size: 14px; color: var(--hb-encre); transition: border-color .2s, box-shadow .2s; }
.dm-hb .dm-hb-champ input:focus, .dm-hb .dm-hb-champ select:focus{ outline: none; border-color: var(--hb-violet); box-shadow: 0 0 0 3px oklch(0.58 0.21 288 / .15); }
.dm-hb .dm-hb-champ input[aria-invalid="true"]{ border-color: var(--hb-rouge); box-shadow: 0 0 0 3px oklch(0.55 0.19 25 / .12); }
.dm-hb .dm-hb-champ-demo{ font-size: 11.5px; font-style: italic; color: var(--hb-pale); }

/* Tuiles d’action (raccourcis) */
.dm-hb .dm-hb-actions{ display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.dm-hb .dm-hb-action{ display: flex; gap: 12px; align-items: center; min-height: 64px; padding: 12px 14px; border-radius: 16px; background: #fff; border: 1px solid var(--hb-trait);
    box-shadow: var(--hb-ombre); color: var(--hb-encre); text-align: left; cursor: pointer; transition: transform .2s, border-color .2s; }
.dm-hb button.dm-hb-action:hover{ transform: translateY(-2px); border-color: var(--hb-violet); }
.dm-hb .dm-hb-action.dm-hb-b-inerte{ cursor: default; }
.dm-hb .dm-hb-action .dm-hb-n{ flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: oklch(0.58 0.21 288 / .12); color: var(--hb-violet-fonce); }
.dm-hb .dm-hb-action b{ display: block; font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.dm-hb .dm-hb-action .dm-hb-d{ display: block; font-size: 12px; color: var(--hb-gris); margin-top: 1px; }
.dm-hb .dm-hb-calme{ padding: 14px 16px; border-radius: 14px; background: var(--hb-teinte); border: 1px solid var(--hb-trait-doux); font-size: 13.5px; color: var(--hb-gris); line-height: 1.5; }
.dm-hb .dm-hb-calme b{ color: var(--hb-encre); }

/* Pastilles + étiquettes */
.dm-hb .dm-hb-pastille{ display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.dm-hb .dm-hb-pastille::before{ content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.dm-hb .dm-hb-pastille-ok{ background: oklch(0.94 0.06 155); color: oklch(0.45 0.13 155); }
.dm-hb .dm-hb-pastille-alerte{ background: oklch(0.95 0.06 75); color: oklch(0.50 0.13 60); }
.dm-hb .dm-hb-pastille-erreur{ background: oklch(0.95 0.04 25); color: var(--hb-rouge); }
.dm-hb .dm-hb-pastille-info{ background: oklch(0.95 0.04 250); color: oklch(0.46 0.14 252); }
.dm-hb .dm-hb-pastille-neutre{ background: var(--hb-trait-doux); color: var(--hb-gris); }
.dm-hb .dm-hb-pastille-grande{ font-size: 13px; padding: 6px 12px; }
.dm-hb .dm-hb-etiquette{ display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 7px; font-size: 11.5px; font-weight: 700; white-space: nowrap; background: var(--hb-trait-doux); color: var(--hb-gris); }
.dm-hb .dm-hb-c-bleu{ background: oklch(0.70 0.13 245 / .14); color: oklch(0.44 0.14 250); }
.dm-hb .dm-hb-c-violet{ background: oklch(0.58 0.21 288 / .12); color: var(--hb-violet-fonce); }
.dm-hb .dm-hb-c-vert{ background: oklch(0.78 0.15 155 / .18); color: oklch(0.42 0.12 155); }
.dm-hb .dm-hb-c-orange{ background: oklch(0.80 0.15 65 / .22); color: oklch(0.48 0.14 55); }
.dm-hb .dm-hb-c-rose{ background: oklch(0.75 0.15 0 / .14); color: oklch(0.48 0.17 5); }
.dm-hb .dm-hb-c-cyan{ background: oklch(0.80 0.10 210 / .2); color: oklch(0.42 0.11 220); }
.dm-hb .dm-hb-neuf{ display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 99px; font-size: 10.5px; font-weight: 800; color: #fff; background: var(--hb-degrade); vertical-align: 1px; }
.dm-hb .dm-hb-discret{ display: block; font-size: 11.5px; font-weight: 400; color: var(--hb-pale); margin-top: 2px; }
.dm-hb .dm-hb-mono{ font-family: ui-monospace, 'Cascadia Mono', Menlo, Consolas, monospace; font-size: 12px; letter-spacing: .04em; }

/* Tableau (bo-tableau, cartes sous 560 px) */
.dm-hb .dm-hb-tableau-cadre{ overflow-x: auto; border-radius: 16px; border: 1px solid var(--hb-trait); background: #fff; box-shadow: var(--hb-ombre); }
.dm-hb .dm-hb-tableau{ width: 100%; border-collapse: collapse; font-size: 13px; }
.dm-hb .dm-hb-tableau th{ text-align: left; padding: 10px 12px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--hb-pale);
    background: var(--hb-teinte); border-bottom: 1px solid var(--hb-trait); white-space: nowrap; }
.dm-hb .dm-hb-tableau td{ padding: 10px 12px; border-bottom: 1px solid var(--hb-trait-doux); vertical-align: middle; }
.dm-hb .dm-hb-tableau tbody tr:last-child td{ border-bottom: 0; }
.dm-hb .dm-hb-tableau tbody tr:hover td{ background: var(--hb-teinte); }
.dm-hb .dm-hb-tableau tfoot td{ padding: 11px 12px; font-weight: 800; border-top: 1px solid var(--hb-trait); background: var(--hb-teinte); }
.dm-hb .dm-hb-num{ text-align: right; white-space: nowrap; }
.dm-hb .dm-hb-nw{ white-space: nowrap; }
.dm-hb .dm-hb-fort{ font-weight: 700; }
.dm-hb .dm-hb-ligne-neuve td{ background: oklch(0.58 0.21 288 / .045); }
.dm-hb .dm-hb-ligne-neuve td:first-child{ box-shadow: inset 3px 0 0 var(--hb-violet); }
.dm-hb .dm-hb-personne{ display: flex; align-items: center; gap: 10px; min-width: 0; text-align: left; }
.dm-hb .dm-hb-personne-txt{ min-width: 0; }
.dm-hb .dm-hb-personne-txt b{ display: block; font-weight: 600; }
.dm-hb .dm-hb-avatar{ width: 34px; height: 34px; flex: 0 0 auto; border-radius: 11px; display: grid; place-items: center; font-size: 12px; font-weight: 800; letter-spacing: .02em;
    background: oklch(0.58 0.21 288 / .1); color: var(--hb-violet-fonce); }
.dm-hb .dm-hb-lien-ligne{ display: inline; padding: 0; border: 0; background: none; cursor: pointer; font-weight: 600; text-align: left; color: var(--hb-encre); }
.dm-hb .dm-hb-lien-ligne:hover{ color: var(--hb-violet-fonce); text-decoration: underline; }

/* Fiche réservation (show.php) */
.dm-hb .dm-hb-carte{ margin: 0 0 12px; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--hb-trait); box-shadow: var(--hb-ombre); min-width: 0; animation: dm-hb-entre .45s cubic-bezier(.2,.8,.2,1) backwards; }
.dm-hb .dm-hb-carte-tete{ display: flex; justify-content: space-between; align-items: baseline; gap: 6px 10px; flex-wrap: wrap; margin-bottom: 12px; }
.dm-hb .dm-hb-carte-tete h4{ margin: 0; font-size: 14.5px; font-weight: 700; letter-spacing: -0.02em; color: var(--hb-encre); }
.dm-hb .dm-hb-carte-tete h4 .dm-hb-serif{ font-weight: 500; }
.dm-hb .dm-hb-intervalle{ display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--hb-teinte); border: 1px solid var(--hb-trait-doux); margin-bottom: 8px; }
.dm-hb .dm-hb-intervalle-borne{ min-width: 0; }
.dm-hb .dm-hb-intervalle-borne:last-child{ text-align: right; }
.dm-hb .dm-hb-intervalle-borne > span{ display: block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--hb-pale); }
.dm-hb .dm-hb-intervalle-borne > b{ display: block; margin-top: 3px; font-size: 1.2rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.dm-hb .dm-hb-intervalle-borne > small{ display: block; margin-top: 2px; font-size: 12px; color: var(--hb-gris); }
.dm-hb .dm-hb-intervalle-duree{ position: relative; display: flex; align-items: center; justify-content: center; min-width: 74px; }
.dm-hb .dm-hb-intervalle-duree::before{ content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 2px; border-radius: 2px; background: var(--hb-trait); }
.dm-hb .dm-hb-intervalle-duree > span{ position: relative; padding: 3px 9px; border-radius: 99px; background: #fff; border: 1px solid var(--hb-trait); font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.dm-hb .dm-hb-fiche{ margin: 0; display: grid; }
.dm-hb .dm-hb-fiche-ligne{ display: grid; grid-template-columns: 112px minmax(0,1fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--hb-trait-doux); font-size: 13px; }
.dm-hb .dm-hb-fiche-ligne:last-child{ border-bottom: 0; }
.dm-hb .dm-hb-fiche dt{ color: var(--hb-gris); font-weight: 600; }
.dm-hb .dm-hb-fiche dd{ margin: 0; overflow-wrap: anywhere; }
.dm-hb .dm-hb-reponse{ margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: var(--hb-teinte); border-left: 3px solid var(--hb-violet); font-size: 13px; }
.dm-hb .dm-hb-reponse b{ display: block; font-size: 12px; color: var(--hb-gris); }
.dm-hb .dm-hb-reponse p{ margin: 3px 0 0; }
.dm-hb .dm-hb-totaux{ margin: 0; display: grid; gap: 6px; font-size: 13.5px; }
.dm-hb .dm-hb-totaux div{ display: flex; justify-content: space-between; gap: 16px; }
.dm-hb .dm-hb-totaux dt{ color: var(--hb-gris); }
.dm-hb .dm-hb-totaux dd{ margin: 0; font-variant-numeric: tabular-nums; }
.dm-hb .dm-hb-totaux .dm-hb-total-final{ margin-top: 4px; padding-top: 9px; border-top: 1px solid var(--hb-trait); font-size: 1.1rem; font-weight: 800; }
.dm-hb .dm-hb-totaux .dm-hb-total-final dt{ color: var(--hb-encre); }
.dm-hb .dm-hb-totaux .dm-hb-deduit dd{ color: oklch(0.45 0.13 155); }
.dm-hb .dm-hb-totaux .dm-hb-reste{ margin-top: 4px; padding-top: 9px; border-top: 1px dashed var(--hb-trait); font-weight: 800; color: oklch(0.50 0.13 60); }
.dm-hb .dm-hb-totaux .dm-hb-reste dt{ color: inherit; }
.dm-hb .dm-hb-pile{ display: flex; flex-direction: column; gap: 10px; }
.dm-hb .dm-hb-pile .dm-hb-btn{ width: 100%; min-height: 44px; }
.dm-hb .dm-hb-pile .dm-hb-message{ margin: 0; }
.dm-hb .dm-hb-chrono{ list-style: none; margin: 0; padding: 0 0 0 18px; position: relative; }
.dm-hb .dm-hb-chrono::before{ content: ''; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 2px; border-radius: 2px; background: var(--hb-trait); }
.dm-hb .dm-hb-chrono li{ position: relative; padding: 0 0 14px; font-size: 13px; animation: dm-hb-entre .45s cubic-bezier(.2,.8,.2,1) backwards; }
.dm-hb .dm-hb-chrono li:last-child{ padding-bottom: 0; }
.dm-hb .dm-hb-chrono li::before{ content: ''; position: absolute; left: -17px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--hb-violet); box-shadow: 0 0 0 3px #fff; }
.dm-hb .dm-hb-chrono li.dm-hb-chrono-ok::before{ background: var(--hb-vert); }
.dm-hb .dm-hb-chrono li.dm-hb-chrono-bleu::before{ background: var(--hb-bleu); }
.dm-hb .dm-hb-chrono b{ display: block; font-weight: 600; }
.dm-hb .dm-hb-chrono-msg{ display: block; color: var(--hb-gris); margin-top: 2px; }

/* Statistiques : légende des canaux */
.dm-hb .dm-hb-canaux{ list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.dm-hb .dm-hb-canaux li{ display: flex; align-items: flex-start; gap: 9px; font-size: 13px; }
.dm-hb .dm-hb-canaux .dm-hb-canal-lbl{ flex: 1; min-width: 0; color: var(--hb-gris); }
.dm-hb .dm-hb-canaux .dm-hb-canal-lbl b{ color: var(--hb-encre); }
.dm-hb .dm-hb-canaux small{ color: var(--hb-pale); font-size: 11.5px; }
.dm-hb .dm-hb-pastille-couleur{ width: 11px; height: 11px; border-radius: 4px; flex: 0 0 auto; margin-top: 4px; }

/* Notifications */
.dm-hb .dm-hb-toast-zone{ position: absolute; top: 50px; right: 14px; left: 14px; z-index: 8; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; pointer-events: none; }
.dm-hb .dm-hb-toast{ pointer-events: auto; display: flex; align-items: center; gap: 10px; width: min(440px, 100%); min-width: 0; padding: 10px 8px 10px 10px; border-radius: 16px; background: var(--hb-encre); color: #fff;
    box-shadow: 0 20px 40px -16px rgba(20,10,60,.55); font-family: 'Schibsted Grotesk', Inter, sans-serif; animation: dm-hb-toast .55s cubic-bezier(.2,.9,.3,1.2); }
.dm-hb .dm-hb-toast-ico{ width: 38px; height: 38px; flex: 0 0 auto; border-radius: 12px; display: grid; place-items: center; background: var(--hb-degrade); font-weight: 800; font-size: 15px; }
.dm-hb .dm-hb-toast-ico.dm-hb-toast-ota{ background: #1f5fbf; }
.dm-hb .dm-hb-toast-ico .dm-hb-ico{ animation: dm-hb-sonne 1s ease-in-out 2; transform-origin: 50% 10%; }
.dm-hb .dm-hb-toast-txt{ flex: 1; min-width: 0; }
.dm-hb .dm-hb-toast-txt b{ display: block; font-size: 14px; }
.dm-hb .dm-hb-toast-txt small{ display: block; font-size: 12px; color: rgba(255,255,255,.75); line-height: 1.35; }
.dm-hb .dm-hb-toast .dm-hb-btn-primaire{ background: #fff; color: var(--hb-violet-fonce); box-shadow: none; }
.dm-hb .dm-hb-toast-x{ width: 44px; height: 44px; flex: 0 0 auto; display: grid; place-items: center; border: 0; border-radius: 10px; background: transparent; color: rgba(255,255,255,.7); cursor: pointer; }
.dm-hb .dm-hb-toast-x:hover{ color: #fff; background: rgba(255,255,255,.1); }

/* ═══ Fenêtres modales (e-mails, bloquer une période) ═════════════════════ */
.dm-hb .dm-hb-calque{ display: none; }
.dm-hb .dm-hb-calque.dm-hb-ouvert{ position: absolute; inset: 38px 0 0; z-index: 10; display: grid; place-items: center; padding: 18px; }
.dm-hb .dm-hb-voile{ position: absolute; inset: 0; background: oklch(0.2 0.03 282 / .45); backdrop-filter: blur(2px); animation: dm-hb-fondu .25s ease; }
.dm-hb .dm-hb-modale{ position: relative; width: min(100%, 470px); max-height: 100%; overflow: auto; padding: 18px; border-radius: 18px; background: #fff;
    box-shadow: 0 30px 60px -20px rgba(20,10,60,.5); font-family: 'Inter', system-ui, sans-serif; color: var(--hb-encre); animation: dm-hb-modale .35s cubic-bezier(.2,.9,.3,1.15); }
.dm-hb .dm-hb-modale-x{ position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 12px; background: transparent; color: var(--hb-gris); cursor: pointer; }
.dm-hb .dm-hb-modale-x:hover{ background: var(--hb-trait-doux); color: var(--hb-encre); }
.dm-hb .dm-hb-m-tete{ padding-right: 44px; margin-bottom: 12px; }
.dm-hb .dm-hb-m-type{ display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .02em; color: var(--hb-violet-fonce); }
.dm-hb .dm-hb-m-type .dm-hb-ico{ width: 16px; height: 16px; }
.dm-hb .dm-hb-m-titre{ margin: 0; font-family: 'Schibsted Grotesk', Inter, sans-serif; font-size: 1.15rem; font-weight: 700; letter-spacing: -.02em; }
.dm-hb .dm-hb-m-entetes{ margin: 0 0 12px; display: grid; gap: 3px; font-size: 12.5px; }
.dm-hb .dm-hb-m-entetes div{ display: flex; gap: 8px; }
.dm-hb .dm-hb-m-entetes dt{ width: 44px; flex: 0 0 auto; color: var(--hb-pale); }
.dm-hb .dm-hb-m-entetes dd{ margin: 0; min-width: 0; overflow-wrap: anywhere; }
.dm-hb .dm-hb-m-mail{ padding: 16px; border-radius: 14px; background: var(--v-fond); border: 1px solid var(--v-trait); font-size: 13px; line-height: 1.55; color: var(--v-encre); }
.dm-hb .dm-hb-m-mail p{ margin: 0 0 10px; }
.dm-hb .dm-hb-m-marque{ display: flex; align-items: center; gap: 10px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--v-trait);
    font-family: 'Newsreader', Georgia, serif; font-size: 17px; font-weight: 600; }
.dm-hb .dm-hb-m-marque .dm-hb-v-logo{ width: 32px; height: 32px; font-size: 12px; }
.dm-hb .dm-hb-m-table{ width: 100%; border-collapse: collapse; margin: 0 0 10px; font-size: 12.5px; }
.dm-hb .dm-hb-m-table td{ padding: 5px 0; border-bottom: 1px dashed var(--v-trait); }
.dm-hb .dm-hb-m-table tr.dm-hb-fort td{ padding-top: 8px; border-bottom: 0; font-weight: 700; }
.dm-hb .dm-hb-m-encart{ padding: 10px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--v-trait); }
.dm-hb .dm-hb-m-pj{ display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 9px; background: #fff; border: 1px solid var(--v-trait); font-size: 12px; font-weight: 600; }
.dm-hb .dm-hb-m-pj .dm-hb-ico{ width: 15px; height: 15px; color: var(--v-accent); }
.dm-hb .dm-hb-m-pied{ margin: 14px 0 0 !important; padding-top: 10px; border-top: 1px solid var(--v-trait); font-size: 11px; color: var(--v-gris); }
.dm-hb .dm-hb-m-boutons{ display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.dm-hb .dm-hb-m-boutons .dm-hb-btn{ min-height: 44px; }

/* ── Atouts et fin ──────────────────────────────────────────────────────── */
.dm-hb .dm-hb-atouts{ list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0,1fr)); }
.dm-hb .dm-hb-atouts li{ padding: 18px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--dmhb-trait); }
.dm-hb .dm-hb-atouts b{ display: block; font-family: 'Schibsted Grotesk', 'Inter', sans-serif; font-size: 17px; letter-spacing: -0.02em; margin-bottom: 4px; }
.dm-hb .dm-hb-atouts li:first-child b{ background: var(--dmhb-aurore); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dm-hb .dm-hb-atouts span{ font-size: 14px; line-height: 1.55; color: var(--dmhb-gris); }
.dm-hb .dm-hb-fin{ position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap; margin-top: 14px;
    padding: 24px 28px; border-radius: 22px; background: var(--dmhb-nuit); color: #fff; }
.dm-hb .dm-hb-fin::before{ content: ''; position: absolute; inset: -40%; pointer-events: none; filter: blur(50px); opacity: .7;
    background: radial-gradient(30% 50% at 15% 50%, oklch(0.55 0.22 288 / .55), transparent 70%), radial-gradient(30% 50% at 85% 50%, oklch(0.58 0.14 150 / .4), transparent 70%); }
.dm-hb .dm-hb-fin > *{ position: relative; }
.dm-hb .dm-hb-fin > div{ flex: 1 1 420px; min-width: 0; }
.dm-hb .dm-hb-fin b{ display: block; font-family: 'Schibsted Grotesk', 'Inter', sans-serif; font-size: 20px; letter-spacing: -0.02em; }
.dm-hb .dm-hb-fin span{ display: block; margin-top: 4px; font-size: 14.5px; line-height: 1.5; color: oklch(0.84 0.012 285); }
.dm-hb .dm-hb-cta{ display: inline-flex; align-items: center; min-height: 50px; padding: 14px 28px; border-radius: 999px; background: #fff; color: var(--dmhb-encre);
    font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s; }
.dm-hb .dm-hb-cta:hover{ transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0,0,0,.3); }
.dm-hb.dm-hb-termine .dm-hb-fin{ box-shadow: 0 0 0 3px oklch(0.58 0.21 288 / .35); }
.dm-hb .dm-hb-annonce{ position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ═══ Petits écrans de BO (container) : tableaux en cartes ═══════════════ */
@container (max-width: 560px){
    .dm-hb .dm-hb-b-page{ padding: 16px 14px 22px; }
    .dm-hb .dm-hb-b-h1{ font-size: 1.4rem; }
    .dm-hb .dm-hb-kpis{ grid-template-columns: 1fr 1fr; }
    .dm-hb .dm-hb-kpis > :last-child:nth-child(odd){ grid-column: 1 / -1; }
    .dm-hb .dm-hb-tableau-cadre{ border: 0; background: transparent; box-shadow: none; overflow: visible; }
    .dm-hb .dm-hb-tableau thead{ display: none; }
    .dm-hb .dm-hb-tableau, .dm-hb .dm-hb-tableau tbody, .dm-hb .dm-hb-tableau tfoot{ display: block; }
    .dm-hb .dm-hb-tableau tr{ display: block; margin-bottom: 10px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--hb-trait); }
    .dm-hb .dm-hb-tableau td{ display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 5px 0; border: 0; text-align: right; }
    .dm-hb .dm-hb-tableau td::before{ content: attr(data-label); font-size: 12px; font-weight: 600; color: var(--hb-gris); text-align: left; }
    .dm-hb .dm-hb-tableau tbody tr:hover td{ background: transparent; }
    .dm-hb .dm-hb-tableau td.dm-hb-titre-carte{ justify-content: flex-start; text-align: left; padding: 0 0 10px; margin-bottom: 4px; border-bottom: 1px solid var(--hb-trait-doux); }
    .dm-hb .dm-hb-tableau td.dm-hb-titre-carte::before, .dm-hb .dm-hb-tableau td[data-label=""]::before{ content: none; }
    .dm-hb .dm-hb-tableau tfoot td{ background: transparent; border-top: 0; }
    .dm-hb .dm-hb-ligne-neuve{ border-color: var(--hb-violet) !important; box-shadow: 0 0 0 3px oklch(0.58 0.21 288 / .12); }
    .dm-hb .dm-hb-ligne-neuve td{ background: transparent; }
    .dm-hb .dm-hb-ligne-neuve td:first-child{ box-shadow: none; }
    .dm-hb .dm-hb-planning{ --plan-res: 118px; --plan-nuit: 40px; }
    .dm-hb .dm-hb-planning .dm-hb-plan-ressource{ padding: 8px 10px; }
    .dm-hb .dm-hb-plan-ressource b{ font-size: 12.5px; }
    .dm-hb .dm-hb-plan-outils .dm-hb-nav-date{ width: 100%; justify-content: space-between; }
    .dm-hb .dm-hb-sejour-actions > .dm-hb-btn{ flex: 1 1 100%; }
    .dm-hb .dm-hb-sejour-liens{ margin-left: 0; width: 100%; }
    .dm-hb .dm-hb-sejour-liens .dm-hb-btn{ flex: 1; }
    .dm-hb .dm-hb-b-tete .dm-hb-b-deco{ display: none; }
    .dm-hb .dm-hb-intervalle{ gap: 8px; padding: 12px; }
    .dm-hb .dm-hb-intervalle-duree{ min-width: 54px; }
    .dm-hb .dm-hb-fiche-ligne{ grid-template-columns: 96px minmax(0,1fr); }
}
@container (max-width: 300px){
    .dm-hb .dm-hb-v-logements{ grid-template-columns: minmax(0,1fr); }
}
@container (max-width: 380px){
    .dm-hb .dm-hb-v-ch-img{ width: 78px; }
}

/* ═══ Responsive de la section ═══════════════════════════════════════════ */
@media (max-width: 1240px){
    .dm-hb .dm-hb-scene{ grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 16px; }
    .dm-hb .dm-hb-fil li small{ display: none; }
}
@media (max-width: 959px){
    .dm-hb{ padding: 56px 16px 60px; }
    .dm-hb .dm-hb-entete{ margin-bottom: 22px; }
    .dm-hb .dm-hb-chapo{ font-size: 15.5px; }
    .dm-hb .dm-hb-pilote{ flex-direction: column; align-items: stretch; gap: 10px; }
    .dm-hb .dm-hb-fil{ width: 100%; }
    .dm-hb .dm-hb-fil li{ flex: 1 1 0; flex-direction: column; text-align: center; gap: 6px; padding: 8px 4px; }
    .dm-hb .dm-hb-fil li b{ font-size: 12px; }
    .dm-hb .dm-hb-recommencer{ align-self: center; }
    .dm-hb .dm-hb-consigne{ margin: 12px 0 14px; font-size: 14px; }
    .dm-hb .dm-hb-onglets{ position: sticky; top: 72px; z-index: 20; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin: 0 0 14px; border-radius: 15px;
        background: #fff; border: 1px solid var(--dmhb-trait); box-shadow: 0 8px 24px -14px rgba(40,30,80,.3); }
    .dm-hb .dm-hb-onglets button{ position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border: 0; border-radius: 11px;
        background: transparent; cursor: pointer; font-size: 14.5px; font-weight: 650; color: var(--dmhb-gris); }
    .dm-hb .dm-hb-onglets button[aria-selected="true"]{ background: var(--dmhb-encre); color: #fff; }
    .dm-hb .dm-hb-pastille-tab{ min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; display: inline-grid; place-items: center; font-size: 11px; font-weight: 800; color: #fff;
        background: oklch(0.62 0.2 25); animation: dm-hb-pop .4s cubic-bezier(.2,.9,.3,1.4); }
    .dm-hb .dm-hb-pastille-tab[hidden]{ display: none; }
    .dm-hb .dm-hb-scene{ display: block; }
    .dm-hb[data-onglet="voyageur"] .dm-hb-face-hote, .dm-hb[data-onglet="hote"] .dm-hb-face-voyageur{ display: none; }
    .dm-hb .dm-hb-legende{ display: none; }
    .dm-hb .dm-hb-fenetre{ height: auto; min-height: 560px; border-radius: 18px; }
    .dm-hb .dm-hb-vitrine, .dm-hb .dm-hb-bo{ overflow: visible; }
    .dm-hb .dm-hb-v-tete, .dm-hb .dm-hb-v-etape-tete{ position: static; }
    .dm-hb .dm-hb-v-barre{ bottom: 12px; }
    .dm-hb .dm-hb-calque.dm-hb-ouvert{ position: fixed; inset: 0; z-index: 70; padding: 16px; }
    .dm-hb .dm-hb-modale{ max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); }
    .dm-hb .dm-hb-mobile-seul{ display: inline-flex; }
    .dm-hb .dm-hb-atouts{ grid-template-columns: 1fr; gap: 10px; margin-top: 22px; }
    .dm-hb .dm-hb-fin{ padding: 22px 20px; }
    .dm-hb .dm-hb-cta{ width: 100%; justify-content: center; }
}

/* ═══ Tactile (comme bo.css) ═════════════════════════════════════════════ */
@media (hover: none), (pointer: coarse){
    .dm-hb .dm-hb-nav-date .dm-hb-nav-fleche{ width: 44px; }
    .dm-hb .dm-hb-nav-date button, .dm-hb .dm-hb-nav-date span{ min-height: 44px; }
    .dm-hb .dm-hb-b-onglet{ min-height: 44px; }
    .dm-hb .dm-hb-plan-libre:hover{ background: transparent; }
    .dm-hb .dm-hb-plan-libre:active{ background: oklch(0.58 0.21 288 / .14); }
    .dm-hb .dm-hb-plan-barre:hover{ filter: none; }
}

/* ═══ Animations ═════════════════════════════════════════════════════════ */
@keyframes dm-hb-pop{ 0%{ transform: scale(.4); opacity: 0; } 100%{ transform: scale(1); opacity: 1; } }
@keyframes dm-hb-entre{ from{ opacity: 0; transform: translate3d(0, 10px, 0); } }
@keyframes dm-hb-fondu{ from{ opacity: 0; } }
@keyframes dm-hb-modale{ from{ opacity: 0; transform: translateY(14px) scale(.97); } }
@keyframes dm-hb-toast{ from{ opacity: 0; transform: translate3d(30px, -10px, 0) scale(.95); } }
@keyframes dm-hb-sonne{ 0%, 100%{ transform: rotate(0); } 20%{ transform: rotate(16deg); } 40%{ transform: rotate(-14deg); } 60%{ transform: rotate(9deg); } 80%{ transform: rotate(-5deg); } }
@keyframes dm-hb-tourne{ to{ transform: rotate(360deg); } }
@keyframes dm-hb-monte{ 0%{ box-shadow: 0 0 0 0 oklch(0.62 0.15 155 / .5); } 100%{ box-shadow: 0 0 0 12px oklch(0.62 0.15 155 / 0); } }
@keyframes dm-hb-arrive-barre{ 0%{ opacity: 0; transform: scaleX(.2); } 60%{ opacity: 1; } 100%{ transform: scaleX(1); } }
@keyframes dm-hb-pulse-barre{ 0%{ box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--hb-violet), 0 0 0 4px oklch(0.58 0.21 288 / .5); } 100%{ box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--hb-violet), 0 0 0 14px oklch(0.58 0.21 288 / 0); } }
.dm-hb .dm-hb-roue{ width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; animation: dm-hb-tourne .7s linear infinite; }

@media (prefers-reduced-motion: reduce){
    .dm-hb *, .dm-hb *::before, .dm-hb *::after{ animation: none !important; transition: none !important; }
}
