/* Feuille de Buno Beauty (point d'extension public/css/metier.css) : l'étape « Ton envie » de la page publique et le bloc
   « Souhait de la cliente » de l'appli du pro. Chargée après les feuilles du socle ; couleurs du thème par ses variables
   (--card, --soft, --line, --ink, --mut, --acc), jamais d'attribut style. Les teintes de peau des pastilles sont des
   repères neutres, pas une mesure. */
/* Étape « Ton envie » (refaite le 17/11/2026, modèle du configurateur d'une autre appli Buno) : un choix par page, grandes cartes photo
   avec le prix et la durée de la pro, récapitulatif collé en bas (position, fond et place réservée : .cl-colle-bas du
   socle ; ici seulement sa mise en page). */
.bb-souhait .bb-partie { gap: 14px; }
.bb-souhait .bb-titre { margin: 0; font-family: var(--police-titre, inherit); font-size: 22px; line-height: 1.2; font-weight: 600; text-wrap: balance; }
.bb-rangee { display: flex; flex-wrap: wrap; gap: 8px; }
.bb-liste { display: grid; gap: 8px; }
.bb-teinte, .bb-choix, .bb-cran, .bb-carte {
  font: inherit; color: var(--ink); background: var(--card); border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer;
}
.bb-choix { text-align: start; padding: 14px 16px; min-height: 48px; }
.bb-choix[aria-pressed="true"], .bb-cran[aria-pressed="true"], .bb-carte[aria-pressed="true"] {
  border-color: var(--acc); box-shadow: 0 0 0 2px var(--acc);
}
.bb-choix[aria-pressed="true"] .bb-libelle, .bb-cran[aria-pressed="true"] .bb-libelle, .bb-carte[aria-pressed="true"] .bb-libelle { font-weight: 700; }
/* Nouvelle / remplissage / dépose / retouche : pastilles du socle (.chip), sur toute la largeur s'il le faut */
.bb-genres { display: flex; flex-wrap: wrap; gap: 8px; }
.bb-genres .chip { flex: 1 1 auto; min-height: 44px; }
.bb-genres .chip[aria-pressed="true"] { font-weight: 700; }
/* Grandes cartes photo : deux par ligne sur téléphone, trois ou plus quand il y a la place */
.bb-cartes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(150px, 100%), 1fr)); gap: 12px; }
.bb-cartes > .bb-groupe-titre { grid-column: 1 / -1; margin: 6px 0 -4px; font-weight: 700; }
.bb-carte { display: flex; flex-direction: column; gap: 0; padding: 0; overflow: hidden; text-align: start; border-radius: 16px; min-width: 0; }
.bb-carte .bb-tuile { border-radius: 0; aspect-ratio: 4 / 3; }
.bb-carte-texte { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 12px; min-width: 0; }
.bb-carte .bb-libelle { font-size: 15.5px; line-height: 1.25; overflow-wrap: break-word; hyphens: manual; text-wrap: balance; }
.bb-carte-sous { font-size: 13.5px; line-height: 1.3; color: var(--mut); }
/* Petite description écrite par la pro (rapport 41, P3) : trois lignes au plus, coupée proprement */
.bb-carte-desc { font-size: 13px; line-height: 1.35; color: var(--mut); overflow-wrap: break-word; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
/* Clavier (P13) : le contour de la carte, de la pastille ou du cran qui a la main se voit toujours */
.bb-carte:focus-visible, .bb-teinte:focus-visible, .bb-cran:focus-visible, .bb-choix:focus-visible, .bb-conseil-bouton:focus-visible, .bb-genres .chip:focus-visible {
  outline: 3px solid var(--acc); outline-offset: 2px;
}
/* Tablette et ordinateur (P14) : trois cartes par ligne, puis des cartes qui ne s'étirent plus au-delà de 240 px,
   centrées dans la colonne comme les pastilles de teinte (18/11/2026) */
@media (min-width: 700px) {
  .bb-cartes { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
  .bb-souhait .bb-titre { font-size: 24px; }
}
@media (min-width: 1000px) {
  .bb-cartes { grid-template-columns: repeat(auto-fill, minmax(200px, 240px)); justify-content: center; }
  .bb-crans { max-width: 560px; }
}
.bb-groupe { gap: 8px; }
.bb-groupe-titre, .bb-famille-titre { margin: 4px 0 0; }
.bb-tuile {
  position: relative; display: block; width: 100%; aspect-ratio: 1 / 1; border-radius: 10px; overflow: hidden;
  background: var(--soft);
}
.bb-tuile-grande { max-width: 360px; margin: 0 auto; aspect-ratio: 4 / 3; border-radius: 16px; }
.bb-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bb-img[hidden] { display: none; }
.bb-tuile-repli { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 10px; color: var(--mut); font-size: 13px; text-align: center; }
.bb-img:not([hidden]) + .bb-tuile-repli { display: none; }
/* Dépose : pas de photo, le dessin de la pratique (masque coloré par le thème) */
.bb-tuile-dessin { display: flex; align-items: center; justify-content: center; }
.bb-dessin { display: block; width: 60%; height: 70%; background: var(--acc); -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
/* Première page (rapport 52, retours de Marco du 19/11/2026 : plus de visage photo) : le croquis dessiné de la peau
   choisie, recadré sur la zone de la pratique (yeux, sourcil, sourire et son cristal, nez et pommettes, lèvres), sur
   papier clair dans les deux thèmes ; le dessin de la pratique reste dessous tant que le croquis n'est pas chargé. La
   toile (image entière, 540 x 720) est agrandie et décalée par data-zone et data-femme : mêmes chiffres que
   cadreCarte() de tete.js (un test refait le calcul). */
.bb-carte .bb-tuile-tete { aspect-ratio: 4 / 3; background: #FBF7FA; }
.bb-tuile-tete .bb-dessin { opacity: .35; }
.bb-tete-zoom { position: absolute; display: block; }
.bb-tete-zoom img { position: absolute; inset: 0; width: 100%; height: 100%; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.bb-tete-zoom img.bb-tete-trait { mix-blend-mode: darken; }
.bb-tuile-tete[data-zone="cils"][data-femme="blanche"] .bb-tete-zoom { width: 168.75%; height: 300%; left: -33.44%; top: -63.75%; }
.bb-tuile-tete[data-zone="cils"][data-femme="typee"] .bb-tete-zoom { width: 168.75%; height: 300%; left: -34.69%; top: -63.75%; }
.bb-tuile-tete[data-zone="cils"][data-femme="metisse"] .bb-tete-zoom { width: 168.75%; height: 300%; left: -35.62%; top: -77.5%; }
.bb-tuile-tete[data-zone="cils"][data-femme="noire"] .bb-tete-zoom { width: 168.75%; height: 300%; left: -34.69%; top: -82.08%; }
.bb-tuile-tete[data-zone="sourcils"][data-femme="blanche"] .bb-tete-zoom { width: 270%; height: 480%; left: -47.5%; top: -124%; }
.bb-tuile-tete[data-zone="sourcils"][data-femme="typee"] .bb-tete-zoom { width: 270%; height: 480%; left: -50%; top: -126%; }
.bb-tuile-tete[data-zone="sourcils"][data-femme="metisse"] .bb-tete-zoom { width: 270%; height: 480%; left: -51%; top: -144%; }
.bb-tuile-tete[data-zone="sourcils"][data-femme="noire"] .bb-tete-zoom { width: 270%; height: 480%; left: -50%; top: -150%; }
.bb-tuile-tete[data-zone="strass"][data-femme="blanche"] .bb-tete-zoom { width: 245.45%; height: 436.36%; left: -57.27%; top: -152.12%; }
.bb-tuile-tete[data-zone="strass"][data-femme="typee"] .bb-tete-zoom { width: 245.45%; height: 436.36%; left: -59.09%; top: -150.3%; }
.bb-tuile-tete[data-zone="strass"][data-femme="metisse"] .bb-tete-zoom { width: 245.45%; height: 436.36%; left: -56.82%; top: -152.12%; }
.bb-tuile-tete[data-zone="strass"][data-femme="noire"] .bb-tete-zoom { width: 245.45%; height: 436.36%; left: -56.82%; top: -151.52%; }
.bb-tuile-tete[data-zone="taches"][data-femme="blanche"] .bb-tete-zoom { width: 180%; height: 320%; left: -40%; top: -96.89%; }
.bb-tuile-tete[data-zone="taches"][data-femme="typee"] .bb-tete-zoom { width: 180%; height: 320%; left: -40%; top: -96.89%; }
.bb-tuile-tete[data-zone="taches"][data-femme="metisse"] .bb-tete-zoom { width: 180%; height: 320%; left: -40%; top: -112%; }
.bb-tuile-tete[data-zone="taches"][data-femme="noire"] .bb-tete-zoom { width: 180%; height: 320%; left: -40%; top: -114.22%; }
.bb-tuile-tete[data-zone="pmu"][data-femme="blanche"] .bb-tete-zoom { width: 245.45%; height: 436.36%; left: -72.73%; top: -206.67%; }
.bb-tuile-tete[data-zone="pmu"][data-femme="typee"] .bb-tete-zoom { width: 245.45%; height: 436.36%; left: -72.73%; top: -206.67%; }
.bb-tuile-tete[data-zone="pmu"][data-femme="metisse"] .bb-tete-zoom { width: 245.45%; height: 436.36%; left: -72.73%; top: -215.76%; }
.bb-tuile-tete[data-zone="pmu"][data-femme="noire"] .bb-tete-zoom { width: 245.45%; height: 436.36%; left: -72.73%; top: -223.03%; }
/* Deuxième page (décision de Marco du 18/11/2026 : des images réalistes) : l'image de la prestation, entière (jamais
   recadrée : les cils restent entiers) sur un cadre blanc arrondi, dans les deux thèmes et sur tout fond, avec un léger
   filet ; « Autre » ou une image qui manque : le dessin de la pratique, au trait prune fixe, sur le même cadre */
.bb-carte .bb-tuile-image { width: auto; margin: 8px 8px 0; aspect-ratio: 1 / 1; border-radius: 12px; }
.bb-tuile-image { display: flex; align-items: center; justify-content: center; background: var(--bb-pastille-fond); color: var(--bb-pastille-trait); border: 1px solid var(--bb-pastille-filet); box-sizing: border-box; }
.bb-img-prestation { display: block; width: 100%; height: 100%; object-fit: contain; }
.bb-tuile-image .bb-pr-masque { width: 70%; height: 70%; }
.bb-crans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.bb-cran { padding: 12px 6px; min-height: 48px; overflow-wrap: break-word; hyphens: manual; }
.bb-conseil { gap: 6px; margin-top: 2px; }
.bb-conseil-bouton { font-weight: 600; }
.bb-conseil-bouton[aria-pressed="true"] { border-color: var(--acc); box-shadow: 0 0 0 2px var(--acc); }
.bb-note { margin: 0; }
/* Récapitulatif collé en bas : ce qui est choisi, puis le prix et la durée estimés */
.bb-recap { display: flex; flex-direction: column; gap: 1px; }
.bb-recap[hidden] { display: none; }
.bb-recap-lab { font-size: 11.5px; font-weight: 700; color: var(--mut); text-transform: uppercase; letter-spacing: .04em; }
.bb-recap-nom { font-size: 15px; line-height: 1.3; overflow-wrap: break-word; }
.bb-recap-prix { font-size: 15px; line-height: 1.3; color: var(--acc); font-weight: 600; }
/* Rapport 49 : plusieurs prestations dans une demande. Le bandeau liste chacune (« Modifier », « × » pour retirer, celle en
   cours marquée), cibles d'au moins 40 px de haut ; la carte déjà prise est grisée et ne se touche pas. */
.bb-recap-nom[hidden], .bb-recap-liste[hidden], .bb-recap-prix[hidden] { display: none; }
.bb-recap-liste { display: flex; flex-direction: column; gap: 0; margin: 2px 0; }
.bb-recap-ligne { display: flex; align-items: center; gap: 8px; min-height: 40px; border-top: 1px solid var(--soft, rgba(0, 0, 0, .08)); }
.bb-recap-ligne:first-child { border-top: 0; }
.bb-recap-n { flex: 1; min-width: 0; font-size: 14.5px; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bb-recap-ici .bb-recap-n { font-weight: 700; }
.bb-recap-encours { font-size: 12.5px; color: var(--mut); white-space: nowrap; }
.bb-recap-modifier, .bb-annuler-ajout { border: 0; background: transparent; font: inherit; cursor: pointer; }
.bb-recap-modifier { min-height: 40px; padding: 0 6px; font-size: 13.5px; font-weight: 600; color: var(--acc); white-space: nowrap; }
.bb-recap-retirer { min-width: 40px; min-height: 40px; padding: 0; border: 0; background: transparent; color: var(--mut); font-size: 22px; line-height: 1; cursor: pointer; }
.bb-recap-retirer:focus-visible, .bb-recap-modifier:focus-visible, .bb-ajouter:focus-visible, .bb-annuler-ajout:focus-visible { outline: 3px solid var(--acc); outline-offset: 2px; }
.bb-pied-liste { gap: 6px; margin-top: 6px; }
.bb-ajouter { font-weight: 600; border-style: dashed; }
.bb-ajouter-aide { margin: 0; font-size: 13px; }
.bb-annuler-ajout { align-self: flex-start; min-height: 40px; color: var(--mut); }
.bb-carte[data-prise] { opacity: .45; cursor: default; }
.bb-visuels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.bb-visuels[data-n="1"] { grid-template-columns: 1fr; }
.bb-recap-prix[hidden] { display: none; }
.bb-bloc-souhait .bb-tuile { max-width: 200px; }
.bb-case { display: flex; align-items: center; gap: 10px; min-height: 40px; }
/* Simulation (taches, lèvres, strass) : marque visible, droite et gauche de la cliente, atelier en direct */
.bb-badge { position: absolute; top: 6px; inset-inline-start: 6px; padding: 2px 8px; border-radius: 999px; font-size: 11px; background: var(--card); color: var(--ink); border: 1px solid var(--line); }
.bb-sim-note { margin: 0; font-weight: 700; color: var(--acc); }
.bb-sim-cadre { position: relative; }
.bb-sim-canvas { display: block; width: 100%; max-width: 480px; height: auto; margin: 0 auto; border-radius: 12px; cursor: crosshair; touch-action: manipulation; }
.bb-cotes { display: flex; justify-content: space-between; max-width: 480px; margin: 4px auto 0; font-size: 12px; color: var(--mut); direction: ltr; }
.bb-sim-controles { gap: 10px; }
.bb-sim-message:empty { display: none; }
.bb-atelier .bb-rangee .bb-cran { min-width: 72px; }

/* « Mes prestations » (appli du pro, 17/11/2026) : une carte par pratique, une ligne par prestation (grille plus bas,
   « Ligne d'une prestation ») ; éteinte : grisée. */
.bb-prestations { gap: 12px; }
.bb-pr-pratique { gap: 0; padding-top: 6px; padding-bottom: 6px; }
.bb-pr-tete { display: flex; align-items: center; gap: 10px; min-height: 48px; border-top: 1px solid var(--line); }
.bb-pr-tete b { font-size: 15.5px; font-weight: 600; }
.bb-pr-ligne, .bb-pr-reglage { display: flex; align-items: center; gap: 10px; min-height: 56px; border-top: 1px solid var(--line); }
.bb-pr-texte { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; padding: 8px 0; text-align: start; background: none; border: 0; color: var(--ink); font: inherit; cursor: pointer; }
/* Contrôle 44, C1 : un nom d'un seul long mot passe à la ligne au lieu d'être coupé par le bord de la carte */
.bb-pr-texte b { font-weight: 600; min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.bb-pr-prix { flex: none; max-width: 40%; font-style: normal; font-weight: 600; text-align: end; color: var(--ink); }
.bb-pr-eteinte .bb-pr-texte, .bb-pr-eteinte .bb-pr-prix { color: var(--mut); }
.bb-pr-des { display: flex; align-items: center; gap: 12px; padding: 4px 0 8px; }
.bb-pr-des > span { gap: 2px; min-width: 0; }
.bb-pr-duree { gap: 8px; }
.bb-pr-aide { margin: 0; }
.bb-pr-autre-duree[hidden] { display: none; }
.bb-pr-durees { display: flex; flex-wrap: wrap; gap: 8px; }
.bb-pr-durees .chip[aria-pressed="true"] { border-color: var(--acc); box-shadow: 0 0 0 2px var(--acc); font-weight: 700; }
/* Rapport 41 : styles montrés, prestations de la pro, photo, ordre, retouche, parcours de la cliente */
.bb-pr-corps { gap: 0; min-width: 0; align-items: flex-start; }
.bb-pr-corps > .bb-pr-texte { width: 100%; }
.bb-pr-styles, .bb-pr-conseil { padding: 2px 0 10px; min-height: 32px; font: inherit; font-size: 14px; font-weight: 600; color: var(--acc); background: none; border: 0; text-align: start; cursor: pointer; }
.bb-pr-rangee { display: flex; align-items: center; gap: 10px; min-height: 48px; border-top: 1px solid var(--line); }
.bb-pr-rangee > .bb-pr-styles, .bb-pr-rangee > .bb-pr-conseil { flex: 1 1 0; width: auto; padding: 4px 0; min-height: 44px; min-width: 0; overflow-wrap: break-word; }
.bb-pr-note { font-size: 13px; }
.bb-pr-ajouter { width: auto; margin: 10px 14px 12px; }
.bb-pr-fleches { display: inline-flex; flex: none; gap: 2px; }
.bb-pr-fleche { width: 36px; height: 44px; padding: 0; font: inherit; font-size: 18px; line-height: 1; color: var(--ink); background: none; border: 0; border-radius: 10px; cursor: pointer; }
.bb-pr-fleche:disabled { color: var(--line); cursor: default; }
.bb-pr-fleche:focus-visible, .bb-pr-texte:focus-visible, .bb-pr-styles:focus-visible, .bb-pr-conseil:focus-visible { outline: 3px solid var(--acc); outline-offset: 2px; }
.bb-pr-vignette { flex: none; width: 52px; height: 52px; border-radius: 12px; object-fit: cover; background: var(--soft); }
.bb-pr-photo { gap: 8px; }
.bb-pr-photo-img { display: block; width: 100%; max-width: 240px; aspect-ratio: 4 / 3; border-radius: 14px; object-fit: cover; background: var(--soft); }
.bb-pr-retouche { gap: 8px; padding-top: 6px; border-top: 1px solid var(--line); }
.bb-pr-gratuit { margin: 0; font-weight: 600; }
.bb-pr-liste .bb-pr-ligne:first-child { border-top: 0; }
.bb-pr-supprimer { color: var(--acc); }
.champ[hidden], .bb-pr-photo[hidden] { display: none; }
/* Rangement du 18/11/2026 (demande de Marco) : accordéons, petits « i », vignettes.
   Accordéon : la tête est un bouton (image de la pratique dans un rond, nom en police de titres, résumé, chevron) ; le
   contenu caché garde l'attribut hidden (.col du socle est en flex : sans cette règle il resterait à l'écran). */
.bb-acc { padding-top: 0; padding-bottom: 0; overflow: hidden; }
.bb-acc-titre { margin: 0; font: inherit; }
.bb-acc-bouton { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 72px; padding: 10px 14px; font: inherit; color: var(--ink); text-align: start; background: none; border: 0; cursor: pointer; }
.bb-acc-image { flex: none; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--soft); color: var(--acc); }
.bb-acc-textes { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bb-acc-nom { font-family: var(--police-titre, inherit); font-size: 23px; line-height: 1.15; font-weight: 600; overflow-wrap: break-word; text-wrap: balance; }
.bb-acc-resume { font-size: 14px; line-height: 1.35; color: var(--mut); overflow-wrap: break-word; }
.bb-acc-chevron { flex: none; width: 10px; height: 10px; margin-inline: 4px 6px; border-inline-end: 2px solid var(--mut); border-bottom: 2px solid var(--mut); transform: translateY(-3px) rotate(45deg); }
.bb-acc-bouton[aria-expanded="true"] .bb-acc-chevron { transform: translateY(2px) rotate(-135deg); }
.bb-acc-corps[hidden], .bb-i-texte[hidden] { display: none; }
.bb-pr-eteinte .bb-acc-nom { color: var(--mut); }
.bb-pr-eteinte .bb-acc-image { opacity: .55; }
.bb-acc-bouton:focus-visible, .bb-i:focus-visible { outline: 3px solid var(--acc); outline-offset: -3px; }
.bb-pr-phrase { padding: 0 14px 12px; }
.bb-acc-corps > .bb-autre-zone { padding: 0 14px 10px; }
/* Vignette dessinée d'une catégorie (décision de Marco du 24/11/2026 : six vignettes unifiées en prune, plus de masque) :
   les deux images sont dans la page dès le départ ; la feuille montre la prune en thème clair, la version claire en
   thème sombre, que le thème vienne du système ou du réglage de l'appli : rien à recharger au changement, aucun
   clignotement. Sur une pastille blanche (les deux thèmes), toujours la prune. */
.bb-vp { display: flex; align-items: center; justify-content: center; overflow: hidden; }
.bb-vp img { display: block; width: 100%; height: 100%; object-fit: contain; }
.bb-vp .bb-vp-sombre { display: none; }
[data-theme=sombre] .bb-vp .bb-vp-clair { display: none; }
[data-theme=sombre] .bb-vp .bb-vp-sombre { display: block; }
/* Un bloc clair posé dans un écran sombre (l'accueil guidé garde son thème clair : .onb[data-theme=clair]) : la prune */
[data-theme=sombre] [data-theme=clair] .bb-vp .bb-vp-clair { display: block; }
[data-theme=sombre] [data-theme=clair] .bb-vp .bb-vp-sombre { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=clair]) .bb-vp .bb-vp-clair { display: none; }
  :root:not([data-theme=clair]) .bb-vp .bb-vp-sombre { display: block; }
  :root:not([data-theme=clair]) [data-theme=clair] .bb-vp .bb-vp-clair { display: block; }
  :root:not([data-theme=clair]) [data-theme=clair] .bb-vp .bb-vp-sombre { display: none; }
}
.bb-pr-pastille .bb-vp .bb-vp-clair, .bb-acc-image .bb-vp .bb-vp-clair { display: block !important; }
.bb-pr-pastille .bb-vp .bb-vp-sombre, .bb-acc-image .bb-vp .bb-vp-sombre { display: none !important; }
.bb-pr-masque { width: 68%; height: 68%; }
.bb-pr-dessin { display: flex; align-items: center; justify-content: center; }
/* Image d'une prestation (décision de Marco du 18/11/2026 : des images réalistes, plus les dessins au trait) : images
   sur fond blanc, donc toujours sur une pastille BLANCHE, dans les deux thèmes et quel que soit le fond choisi par la
   pro (contrôle 46, I1 : un trait à la couleur de l'accent devenait illisible sur la pastille avec un fond sur mesure
   sombre), coins arrondis, léger filet pour qu'elle se détache d'une carte blanche. Image entière (contain). Le dessin
   d'une pratique (« Autre », ou image qui manque) y prend un trait prune FIXE, jamais l'accent (qui suit le fond), et
   remplit la pastille (ses fichiers sont larges, le dessin au milieu : masque agrandi à 160 %). */
:root { --bb-pastille-fond: #FFFFFF; --bb-pastille-trait: #5E2F50; --bb-pastille-filet: #E2D5DE; }
.bb-pr-pastille { display: flex; align-items: center; justify-content: center; overflow: hidden; box-sizing: border-box; background: var(--bb-pastille-fond); color: var(--bb-pastille-trait); border: 1px solid var(--bb-pastille-filet); }
.bb-pr-image { display: block; width: 100%; height: 100%; object-fit: contain; }
.bb-pr-pastille .bb-pr-masque { width: 100%; height: 100%; }
.bb-pr-pastille .bb-pr-masque img, .bb-acc-image .bb-pr-masque img { width: 160%; max-width: none; height: auto; flex: none; }
/* Tête d'un accordéon : l'image neutre de la pratique (« Autre » : son dessin) sur la même pastille blanche, ronde */
.bb-acc-image { overflow: hidden; background: var(--bb-pastille-fond); color: var(--bb-pastille-trait); border: 1px solid var(--bb-pastille-filet); box-sizing: border-box; }
.bb-acc-photo { display: block; width: 100%; height: 100%; object-fit: contain; }
.bb-acc-image .bb-pr-masque { width: 100%; height: 100%; }
/* Petit « i » : un rond de 36 px (44 px au toucher), son explication juste dessous, sur fond doux */
.bb-i { position: relative; flex: none; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; color: var(--acc); background: none; border: 0; border-radius: 50%; cursor: pointer; }
.bb-i::after { content: ""; position: absolute; inset: -4px; }
.bb-i[aria-expanded="true"] { background: var(--soft); }
.bb-i-texte { gap: 6px; margin: 0 14px 12px; padding: 10px 12px; border-radius: 12px; background: var(--soft); color: var(--ink); font-size: 14px; line-height: 1.4; }
.bb-i-texte p { margin: 0; }
.bb-pr-lib { display: flex; align-items: center; gap: 2px; min-width: 0; }
.bb-pr-lib > b, .bb-pr-lib > .bb-pr-styles { min-width: 0; overflow-wrap: break-word; }
.bb-pr-corps > .bb-pr-lib { max-width: 100%; }
.bb-pr-corps > .bb-pr-lib > .bb-pr-styles { padding: 2px 0; }
.champ > .bb-i-texte, .bb-pr-duree > .bb-i-texte, .bb-pr-retouche > .bb-i-texte, .bb-pr-des-bloc > .bb-i-texte { margin: 0 0 8px; }
.bb-i-rangee { display: flex; align-items: center; gap: 2px; min-height: 36px; }
.bb-i-rangee > .lab { margin-bottom: 0; }
.bb-pr-des-bloc { gap: 0; }
.bb-pr-des { width: 100%; }
.bb-pr-lib.flex1 { flex: 1 1 0; }
.bb-pr-photo .aide { margin: 0; font-size: 13.5px; line-height: 1.4; color: var(--mut); }
/* Ligne d'une prestation (rangement du 18/11/2026, demande de Marco : « la durée en haut à droite ») : la même grille
   sur toutes les lignes et à toutes les tailles. Vignette à gauche ; à côté, le nom et sa pastille de durée en haut à
   droite, la description et les notes dessous, puis une rangée : prix et acompte à gauche, flèches et interrupteur à
   droite. Le nom garde toute sa colonne (contrôle V6 : il n'est plus serré par les commandes, même à 360 px). */
.bb-pr-ligne.bb-pr-presta { display: grid; grid-template-columns: 52px minmax(0, 1fr); align-items: start; column-gap: 12px; row-gap: 0; padding-top: 10px; padding-bottom: 2px; }
.bb-pr-presta > .bb-pr-vignette { grid-column: 1; margin-top: 4px; }
.bb-pr-presta > .bb-pr-corps { grid-column: 2; gap: 0; min-width: 0; align-items: stretch; }
.bb-pr-presta > .bb-i-texte { grid-column: 1 / -1; margin: 2px 0 10px; }
.bb-pr-presta .bb-pr-texte { align-items: stretch; gap: 3px; padding: 2px 0 4px; }
.bb-pr-haut { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; min-width: 0; }
.bb-pr-haut > b { flex: 1 1 auto; font-size: 15.5px; line-height: 1.3; }
.bb-pr-temps { flex: none; margin-top: 1px; padding: 2px 9px; border-radius: 999px; background: var(--soft); color: var(--mut); font-size: 12.5px; font-weight: 600; line-height: 1.4; white-space: nowrap; }
.bb-pr-desc { font-size: 13.5px; line-height: 1.35; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bb-pr-infos, .bb-pr-presta .bb-pr-note { font-size: 13px; line-height: 1.35; overflow-wrap: anywhere; }
.bb-pr-presta .bb-pr-corps > .bb-pr-lib > .bb-pr-styles { padding: 0; min-height: 36px; }
.bb-pr-bas { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; }
.bb-pr-montants { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; min-width: 0; }
.bb-pr-montants > .bb-pr-prix { max-width: none; text-align: start; overflow-wrap: anywhere; }
.bb-pr-acompte { font-size: 13px; color: var(--mut); white-space: nowrap; }
.bb-pr-commandes { display: inline-flex; flex: none; align-items: center; gap: 6px; }
/* Tablette et ordinateur : l'écran garde une largeur lisible */
@media (min-width: 700px) {
  .bb-prestations-ecran { max-width: 720px; margin-inline: auto; width: 100%; }
}

/* Accueil guidé, étape « Tu proposes quoi ? » (17/11/2026, retours de Marco) : six tuiles (cinq pratiques et « Autre »)
   en deux colonnes, un dessin (masque coloré par le thème, comme les dessins du socle), le titre dessous, la coche du
   socle sur le dessin ; un nombre impair de tuiles : la dernière centrée, jamais seule à gauche. « Laquelle ? » : petit
   champ sous la grille, seulement quand « Autre » est coché. */
.bb-onb-pratiques { gap: 10px; }
.onb-tuile.bb-onb-tuile { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 4px; padding: 10px 8px 12px; min-width: 0; }
.onb-tuile.bb-onb-tuile .bb-onb-ico { width: 100%; height: calc(72px * var(--onb-dessin, 1)); margin: 0; }
.onb-tuile.bb-onb-tuile b { font-size: 15px; line-height: 1.15; text-wrap: balance; max-width: 100%; }
.bb-onb-pratiques:not(.onb-une-col) > .bb-onb-tuile:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 5px); }
/* Six vignettes des catégories : des images (.bb-vp, plus haut), plus des masques */
.bb-onb-autre { margin-top: 12px; display: flex; flex-direction: column; align-items: stretch; }
.bb-onb-autre[hidden] { display: none; }
.bb-onb-autre-lab { font-size: 14px; font-weight: 600; color: var(--ink); text-align: center; }
.onb .bb-onb-autre-champ { margin-top: 2px; padding: 8px 4px 6px; font-size: 18px; font-weight: 600; }
/* « Mes prestations » : champ « Laquelle ? » de « Autre », seulement quand la case est cochée */
.bb-autre-zone { gap: 4px; }
.bb-autre-zone[hidden] { display: none; }
/* Vue dessinée collée en haut des écrans du style et des réglages (rapport 52, comme une autre appli Buno) : le zoom de la
   zone, sur papier clair dans un cadre clair (deux thèmes), collé en haut de l'écran pendant que la cliente fait
   défiler ; hauteur contenue (28 % de l'écran, 240 px au plus) ; un fond plein sous la vue cache ce qui défile dessous,
   et elle passe sous le bandeau « Ton choix » et sous « Continuer », jamais par-dessus. Seuls les strass la touchent
   (poser, retirer un bijou). */
.bb-tete-colle { position: sticky; top: 0; z-index: 4; margin: 0 -22px; padding: calc(env(safe-area-inset-top, 0px) + 6px) 22px 10px; background: var(--bg); }
.bb-tete { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px; border-radius: 18px; background: #FBF7FA; color: #2A1F27; border: 1px solid var(--line); box-sizing: border-box; }
.bb-tete[hidden] { display: none; }
.bb-tete-toile { display: block; width: min(100%, 56vh, 480px); width: min(100%, 56svh, 480px); height: auto; aspect-ratio: 2 / 1; border-radius: 12px; background: #FBF7FA; touch-action: manipulation; }
.bb-tete:not(.bb-tete-touchable) .bb-tete-toile { pointer-events: none; }
.bb-tete-touchable .bb-tete-toile { cursor: crosshair; }
.bb-tete-legende { margin: 0; font-size: 13.5px; line-height: 1.35; color: #2A1F27; text-align: center; overflow-wrap: break-word; }
.bb-tete-legende:empty { display: none; }
/* Récapitulatif et écran de fin : le visage entier, en petit */
.bb-visuel-recap { gap: 10px; align-items: center; }
.bb-tete-petit .bb-tete-toile { width: auto; height: 150px; aspect-ratio: 3 / 4; }
/* Cartes des styles : le nom seul (le dessin du haut montre le choix), deux par ligne, compactes */
.bb-cartes-styles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.bb-carte-style .bb-carte-texte { min-height: 52px; justify-content: center; padding: 10px 12px; }
@media (min-width: 700px) { .bb-cartes-styles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* Rapport 50 : bandeau « Ton choix » à plusieurs lignes, replié en une ligne (bouton de 48 px, chevron). Contrôle 51 :
   la feuille dépliée est en position absolue dans le bandeau (qui reste fixe et de la même hauteur : la page ne glisse ni
   à l'ouverture ni à la fermeture), posée du bas vers le haut, 70 % de l'écran au plus, et défile elle-même ; dessous, un
   voile sur toute la page (dans la pile du bandeau, sous la feuille) reçoit tout toucher hors de la feuille. */
.bb-recap-tete[hidden], .bb-recap-lab[hidden], .bb-recap-feuille[hidden], .bb-recap-voile[hidden] { display: none; }
.bb-recap-tete { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 0; border: 0; background: transparent; color: var(--ink); font: inherit; text-align: start; cursor: pointer; }
.bb-recap-tete-texte { flex: 1; min-width: 0; font-size: 15px; font-weight: 700; line-height: 1.3; overflow-wrap: break-word; }
.bb-recap-chevron { flex: none; width: 10px; height: 10px; margin: 4px 8px 0 0; border-right: 2px solid var(--acc); border-bottom: 2px solid var(--acc); transform: rotate(-135deg); transition: transform .2s ease; }
.bb-recap-fermer .bb-recap-chevron { transform: rotate(45deg); margin: -4px 8px 0 0; }
.bb-recap-tete:focus-visible { outline: 3px solid var(--acc); outline-offset: 2px; border-radius: 8px; }
.bb-recap-replie { padding-top: 4px; padding-bottom: calc(4px + env(safe-area-inset-bottom, 0px)); }
.bb-recap-voile { position: fixed; inset: 0; z-index: -1; background: rgba(20, 12, 18, .38); touch-action: none; }
.bb-recap-feuille { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: flex; flex-direction: column; gap: 1px; max-height: 70vh; max-height: 70svh; overflow-y: auto; overscroll-behavior: contain; box-sizing: border-box; padding: 4px 22px calc(12px + env(safe-area-inset-bottom, 0px)); background: var(--bg); border-top: 1.5px solid var(--line); border-radius: 18px 18px 0 0; box-shadow: 0 -12px 28px -14px rgba(0, 0, 0, .35); }
.bb-recap-total[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .bb-recap-chevron { transition: none; } }
/* Contrôle 51 (point 4) : liste des demandes de la pro sur téléphone : le libellé à plusieurs prestations tient sur deux
   lignes au lieu d'être coupé après la première (appli de la pro, feuille du métier ; artiste.css est chargée après elle, d'où le sélecteur à deux classes) */
.ar-ligne-corps .ar-resume { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
/* Rapport 53 (demande de Marco du 19/11/2026, sur le modèle des meilleures prises de rendez-vous) : le choix de la
   prestation sur une seule page, les pratiques en accordéons, une ligne sobre par prestation (image, nom, « durée •
   prix », « Plus de détails », « Choisir »), filets fins, beaucoup de blanc. Cibles de 44 px au moins ; l'accordéon
   s'ouvre sans animation de hauteur (seul le chevron tourne, coupé quand on demande moins d'animations). */
.bb-pas { gap: 10px; }
.bb-pa { background: var(--card); border: 1.5px solid var(--line); border-radius: 16px; overflow: hidden; }
.bb-pa-tete { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 64px; padding: 8px 14px 8px 8px; font: inherit; color: var(--ink); text-align: start; background: none; border: 0; cursor: pointer; }
.bb-pa-tete:focus-visible { outline: 3px solid var(--acc); outline-offset: -3px; }
.bb-pa-dessin { flex: none; width: 64px; height: 48px; border-radius: 10px; overflow: hidden; background: #FBF7FA; }
.bb-pa-dessin > .bb-tuile { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; }
.bb-pa-textes { flex: 1; display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.bb-pa-titre { font-size: 13.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; line-height: 1.25; overflow-wrap: break-word; }
.bb-pa-nombre { font-size: 13px; color: var(--mut); }
.bb-pa-point { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #6E3B5E; box-shadow: 0 0 0 2px var(--card); }
.bb-pa-chevron { flex: none; width: 9px; height: 9px; margin: 0 6px; border-inline-end: 2px solid var(--mut); border-bottom: 2px solid var(--mut); transform: translateY(-3px) rotate(45deg); transition: transform .2s ease; }
.bb-pa-tete[aria-expanded="true"] .bb-pa-chevron { transform: translateY(2px) rotate(-135deg); }
.bb-pa-contenu { gap: 0; padding: 0 14px 10px; border-top: 1px solid var(--line); }
.bb-pa-intertitre { margin: 14px 0 2px; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--mut); }
.bb-ligne { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; column-gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.bb-pa-intertitre + .bb-ligne, .bb-pa-contenu > .bb-ligne:first-child { border-top: 0; }
.bb-ligne > .bb-tuile { align-self: start; width: 48px; height: 48px; aspect-ratio: 1 / 1; margin: 0; border-radius: 10px; }
.bb-ligne > .bb-tuile-image { padding: 2px; }
.bb-ligne-corps { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; }
.bb-ligne-nom { font-size: 15.5px; font-weight: 600; line-height: 1.3; overflow-wrap: break-word; }
.bb-ligne-tarif { font-size: 13.5px; color: var(--mut); }
.bb-ligne-details, .bb-ligne-lien, .bb-conseil-discret { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--acc); background: none; border: 0; cursor: pointer; }
.bb-ligne-details { min-height: 36px; margin: -4px 0; white-space: nowrap; }
.bb-chevron-petit { width: 6px; height: 6px; border-inline-end: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.bb-ligne-details[aria-expanded="true"] .bb-chevron-petit { transform: translateY(1px) rotate(-135deg); }
.bb-ligne-desc { margin: 2px 0 4px; font-size: 13.5px; line-height: 1.4; overflow-wrap: break-word; }
.bb-choisir { width: auto; min-height: 44px; min-width: 96px; padding: 0 16px; font-size: 15px; white-space: nowrap; }
.bb-choisir:disabled { opacity: .45; cursor: default; }
.bb-ligne-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 0; }
.bb-choisi { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 96px; padding: 0 14px; box-sizing: border-box; border: 1.5px solid var(--acc); border-radius: 999px; color: var(--acc); font-weight: 700; font-size: 14.5px; white-space: nowrap; }
.bb-ligne-liens { display: flex; gap: 12px; }
.bb-ligne-actions .bb-ligne-lien { min-height: 44px; font-size: 13px; }
.bb-ligne-choisie .bb-ligne-nom { color: var(--acc); }
.bb-remplacer { gap: 6px; margin-top: 6px; }
.bb-remplacer .bb-rangee .btn { width: auto; min-height: 44px; }
.bb-conseil-discret { margin-top: 6px; color: var(--mut); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.bb-conseil-discret[aria-pressed="true"] { color: var(--acc); font-weight: 700; }
.bb-max { margin: 10px 0 0; }
@media (prefers-reduced-motion: reduce) { .bb-pa-chevron { transition: none; } }
@media (min-width: 700px) { .bb-pas { max-width: 640px; margin: 0 auto; width: 100%; } }
/* Page classique de la cliente (décision de Marco du 21/11/2026) : aucune image ; une ligne = nom et tarif à gauche,
   « Choisir » à droite ; dessous, une fois choisie, « Première fois / Retouche » sur toute la largeur. Cibles de 44 px. */
.bb-ligne.bb-cl-ligne { grid-template-columns: minmax(0, 1fr) auto; row-gap: 10px; }
.bb-pa-tete.bb-cl-tete { padding-inline-start: 16px; }
.bb-cl-genres { grid-column: 1 / -1; display: flex; gap: 8px; }
.bb-cl-genre { flex: 1 1 0; min-height: 44px; padding: 0 12px; font: inherit; font-size: 14.5px; font-weight: 600; color: var(--ink); background: var(--card); border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; }
.bb-cl-genre[aria-pressed="true"] { border-color: var(--acc); color: var(--acc); box-shadow: 0 0 0 1px var(--acc); }
.bb-cl-genre:focus-visible { outline: 3px solid var(--acc); outline-offset: 2px; }
.bb-cl-choix { margin: 2px 0 0; font-size: 14.5px; font-weight: 600; line-height: 1.4; overflow-wrap: break-word; }
.bb-cl-note { margin: 0; }
@media (min-width: 700px) { .bb-classique > .bb-cl-choix, .bb-classique > .bb-cl-note { max-width: 640px; margin-inline: auto; width: 100%; } }
/* Page unique de la cliente (décision de Marco du 23/11/2026), refaite d'après ses retours du soir sur le modèle de la
   maquette des visuels 3D : un BLOC teinté par pratique (cartes toujours ouvertes), une ligne par prestation ; une ligne
   ouverte montre le visuel 3D sur fond blanc, puis ses choix, chacun sur une seule ligne ; une barre collée en bas dit
   ce qui est choisi et porte « Continuer ». Cibles de 44 px. */
/* Blocs SOBRES (décision de Marco du 24/11/2026 : les blocs de couleurs différentes par pratique sont refusés) : le fond
   de la page garde sa couleur (charte), et TOUS les blocs ont la même autre couleur, celle des cartes du thème, avec un
   filet discret ; rien qui attire l'œil. Clair et sombre : les variables du thème (--card, --ink). */
.bb-bloc { --bb-bloc: var(--card, #FFFFFF); --bb-filet: rgba(42, 31, 39, .10); --bb-trait: rgba(42, 31, 39, .24); }
[data-theme=sombre] .bb-bloc { --bb-filet: rgba(255, 255, 255, .10); --bb-trait: rgba(255, 255, 255, .26); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=clair]) .bb-bloc { --bb-filet: rgba(255, 255, 255, .10); --bb-trait: rgba(255, 255, 255, .26); }
}
.bb-li-liste { gap: 14px; }
.bb-bloc { gap: 0; padding: 14px 16px 6px; background: var(--bb-bloc); border: 1px solid var(--bb-filet); border-radius: 22px; overflow: hidden; color: var(--ink); }
.bb-bloc-tete { display: flex; align-items: baseline; gap: 10px; padding: 2px 0 6px; }
.bb-bloc-titre { flex: 1; min-width: 0; margin: 0; font-family: var(--police-titre, inherit); font-size: 22px; line-height: 1.15; font-weight: 400; overflow-wrap: break-word; }
.bb-bloc-nombre { flex: none; font-size: 13px; color: var(--mut); }
.bb-bloc .bb-pa-point { align-self: center; }
.bb-bloc-lignes { gap: 0; }
/* Demande de Marco du 24/11/2026 : catégories fermées à l'arrivée ; la tête du bloc est un grand bouton (toute la largeur
   de la carte, 64 px de haut au moins), le titre plus grand ; un bloc qui s'ouvre glisse en douceur, une fois */
.bb-bloc-tete-bouton { margin: -14px -16px 0; padding: 0; font: inherit; }
.bb-bloc:not(.bb-bloc-ouvert):has(.bb-bloc-tete-bouton) { padding-bottom: 0; }
.bb-bloc-bouton { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 64px; padding: 14px 16px; background: none; border: 0; border-radius: 22px; color: inherit; font: inherit; text-align: start; cursor: pointer; transition: background-color .15s ease; }
.bb-bloc-bouton .bb-bloc-titre { font-size: 24px; }
.bb-bloc-bouton:active { background-color: var(--soft); }
.bb-bloc-bouton .bb-pa-chevron { margin-inline-start: 2px; }
.bb-bloc-bouton[aria-expanded="true"] .bb-pa-chevron { transform: translateY(2px) rotate(-135deg); }
@keyframes bb-bloc-ouvre { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.bb-bloc-arrive .bb-bloc-lignes { animation: bb-bloc-ouvre .24s ease-out; }
@media (prefers-reduced-motion: reduce) { .bb-bloc-bouton { transition: none; } .bb-bloc-arrive .bb-bloc-lignes { animation: none; } }
.bb-ln { border-top: 1px solid var(--bb-filet); }
.bb-bloc-lignes > .bb-ln:first-child { border-top: 0; }
.bb-ln-simple { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 12px; padding: 12px 0; }
.bb-ln-tete { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 60px; padding: 10px 0; font: inherit; color: var(--ink); text-align: start; background: none; border: 0; cursor: pointer; scroll-margin-top: 76px; }
.bb-ln-tete > .bb-ligne-corps { flex: 1; }
.bb-ln-tete:focus-visible { outline: 3px solid var(--acc); outline-offset: 2px; border-radius: 8px; }
.bb-ln-tete[aria-expanded="true"] .bb-pa-chevron { transform: translateY(2px) rotate(-135deg); }
.bb-ln-tete[aria-expanded="true"] .bb-ligne-nom { color: var(--acc); }
.bb-ln-coche { flex: none; font-size: 13.5px; font-weight: 700; color: var(--acc); }
.bb-ln-contenu { gap: 12px; padding: 0 0 16px; }
.bb-ligne-desc { margin: 0; }

/* Le visuel : une carte blanche (dans les deux thèmes), l'élément en 3D, son nom et le geste en haut ; « Un instant… »
   sur le même blanc pendant le chargement d'un moulage. Tourner d'un doigt, pincer à deux (visuel-3d.js, gestes) ; d'un
   doigt vers le haut ou le bas, la page défile. */
.bb-v3d { position: relative; height: 280px; height: clamp(230px, 36svh, 300px); background: #FFFFFF; border: 1px solid #E9E3E0; border-radius: 20px; overflow: hidden; }
.bb-v3d[hidden] { display: none; }
.bb-v3d-scene { position: absolute; inset: 0; touch-action: pan-y; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.bb-v3d-scene > canvas { display: block; width: 100%; height: 100%; touch-action: pan-y; }
.bb-v3d-nom { position: absolute; z-index: 2; inset-inline: 14px; top: 11px; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; pointer-events: none; }
.bb-v3d-titre { min-width: 0; font-family: var(--police-titre, inherit); font-weight: 400; font-size: 16px; color: #2A1F27; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bb-v3d-geste { flex: none; font-size: 12px; color: #7D6F78; white-space: nowrap; }
.bb-v3d-attente { position: absolute; z-index: 1; inset: 0; display: flex; align-items: center; justify-content: center; background: #FFFFFF; color: #7D6F78; font-size: 13px; opacity: 0; pointer-events: none; transition: opacity .25s; }
.bb-v3d-attente.bb-v3d-vu { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .bb-v3d-attente { transition: none; } }

/* Choix : un groupe = UNE ligne de pastilles qui défile au doigt, aimantée, coupée par le bord du bloc (la dernière se
   voit à moitié : il y en a d'autres) */
.bb-li-groupe { gap: 6px; min-width: 0; }
.bb-li-titre { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--mut); }
.bb-li-pastilles { display: flex; flex-wrap: nowrap; gap: 8px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; margin-inline: -16px; padding: 2px 16px 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.bb-li-pastilles::-webkit-scrollbar { display: none; }
.bb-li-pastille { flex: none; scroll-snap-align: start; display: inline-flex; align-items: center; min-height: 44px; padding: 0 15px; font: inherit; font-size: 14.5px; white-space: nowrap; color: var(--ink); background: var(--card); border: 1.5px solid var(--bb-trait); border-radius: 999px; cursor: pointer; }
.bb-li-pastille[aria-pressed="true"] { border-color: var(--acc); background: var(--acc); color: var(--onbtn, #FFFFFF); font-weight: 700; }
.bb-li-pastille:focus-visible, .bb-rond:focus-visible, .bb-curseur:focus-visible, .bb-dent:focus-visible, .bb-puce:focus-visible { outline: 3px solid var(--acc); outline-offset: 2px; }
.bb-cl-genres { display: flex; gap: 8px; }
.bb-cl-genre { flex: 1 1 0; min-height: 44px; padding: 0 12px; font: inherit; font-size: 14.5px; font-weight: 600; color: var(--ink); background: var(--card); border: 1.5px solid var(--bb-trait); border-radius: 999px; cursor: pointer; }
.bb-cl-genre[aria-pressed="true"] { border-color: var(--acc); color: var(--acc); box-shadow: 0 0 0 1px var(--acc); }
.bb-cl-genre:focus-visible { outline: 3px solid var(--acc); outline-offset: 2px; }

/* Réglages gradués : un curseur d'une ligne (libellé, curseur aux trois crans aimantés, valeur) ; couleurs : libellé,
   une ligne de pastilles rondes, valeur */
.bb-li-reglage { display: grid; grid-template-columns: 88px minmax(0, 1fr) 82px; align-items: center; column-gap: 10px; min-height: 44px; }
.bb-li-lib { font-size: 14.5px; font-weight: 600; overflow-wrap: break-word; }
.bb-li-val { font-size: 13.5px; color: var(--acc); font-weight: 600; text-align: end; overflow-wrap: break-word; }
.bb-li-val-defaut { color: var(--mut); font-weight: 500; }
.bb-glisse { position: relative; display: block; min-width: 0; }
.bb-curseur { position: relative; display: block; width: 100%; min-height: 44px; margin: 0; background: transparent; accent-color: var(--acc); cursor: pointer; touch-action: pan-y; }
.bb-li-crans { position: absolute; inset-inline: 9px; top: calc(50% + 7px); display: flex; justify-content: space-between; pointer-events: none; }
.bb-li-crans > i { width: 2px; height: 6px; border-radius: 1px; background: var(--mut); opacity: .5; }
.bb-li-couleurs { grid-template-columns: 88px minmax(0, 1fr) auto; }
.bb-ronds { display: flex; gap: 10px; overflow-x: auto; padding: 4px; margin: -4px; scrollbar-width: none; }
.bb-ronds::-webkit-scrollbar { display: none; }
.bb-rond { flex: none; width: 40px; height: 40px; padding: 0; border-radius: 50%; border: 2px solid var(--card); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); background: #CCCCCC; cursor: pointer; }
.bb-rond[aria-pressed="true"] { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), 0 0 0 2px var(--card), 0 0 0 4px var(--acc); }
.bb-rond[data-teinte="sourcils-1"] { background: #8A6A4C; } .bb-rond[data-teinte="sourcils-2"] { background: #5E4130; } .bb-rond[data-teinte="sourcils-3"] { background: #3A2A22; }
.bb-rond[data-teinte="levres-1"] { background: #C98F84; } .bb-rond[data-teinte="levres-2"] { background: #CF7A86; } .bb-rond[data-teinte="levres-3"] { background: #B8405F; }
.bb-rond[data-teinte="bijou-1"] { background: #EEF2F7; } .bb-rond[data-teinte="bijou-2"] { background: #E889A8; } .bb-rond[data-teinte="bijou-3"] { background: #E9C36A; }
.bb-rond[data-teinte="nuance-1"] { background: #B08A6E; } .bb-rond[data-teinte="nuance-2"] { background: #6F4E3A; } .bb-rond[data-teinte="nuance-3"] { background: #2E2320; }
.bb-rond[data-teinte="metal-argent"] { background: #DFE4EC; } .bb-rond[data-teinte="metal-or"] { background: #E9C36A; }
.bb-li-msg { margin: 0; }
.bb-li-actions { flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; }
.bb-ln-simple .bb-li-actions { flex-direction: column; align-items: flex-end; gap: 0; }

/* Strass en composition : les six dents de devant du haut, à la taille d'un doigt, posées comme sur un sourire (la
   droite de la cliente à gauche de l'écran) ; un rond argent ou or sur chaque dent qui porte un bijou */
.bb-strass { gap: 8px; }
.bb-strass-tete { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.bb-strass-compte { font-size: 13px; color: var(--mut); }
.bb-strass-aide { margin: 0; font-size: 13.5px; }
.bb-dents { display: flex; align-items: flex-start; justify-content: center; gap: 4px; padding: 4px 0 0; }
.bb-dent { position: relative; flex: 1 1 0; min-width: 40px; max-width: 54px; height: 52px; padding: 0; background: #FFFFFF; border: 1.5px solid #D9CFD6; border-radius: 9px 9px 20px 20px; cursor: pointer; }
.bb-dent[data-dent="c"] { height: 60px; }
.bb-dent[data-dent="l"] { height: 54px; }
.bb-dent[data-dent="k"] { height: 52px; border-radius: 9px 9px 24px 24px; }
.bb-dent[aria-pressed="true"] { border-color: var(--acc); box-shadow: 0 0 0 2px var(--acc); }
.bb-dent-bijou { position: absolute; left: 50%; top: 46%; width: 15px; height: 15px; border-radius: 50%; transform: translate(-50%, -50%); box-shadow: 0 0 0 1px rgba(0, 0, 0, .18), inset 0 -2px 3px rgba(0, 0, 0, .15); background: #DFE4EC; }
.bb-dent-bijou[data-couleur="or"] { background: #E9C36A; }
.bb-dents-cotes { display: flex; justify-content: space-between; font-size: 12px; color: var(--mut); direction: ltr; }
.bb-strass-dent { margin: 2px 0 0; font-size: 14px; font-weight: 600; overflow-wrap: break-word; }
.bb-strass-retirer { align-self: flex-start; }

/* Barre collée en bas (position, fond, filet et place réservée : .cl-colle-bas du socle) : « Tu as choisi : », les
   prestations choisies en pastilles retirables (une ligne qui défile), « Continuer » à côté. Le « Continuer » du socle
   est caché sous elle : celui de la barre le déclenche (souhait-liste.js). Cachée quand un champ de saisie a la main
   (le clavier n'est jamais couvert). */
.bb-barre { display: flex; flex-direction: column; gap: 6px; padding-top: 8px; padding-inline: 16px; border-top: 1px solid rgba(42, 31, 39, .14); box-shadow: 0 -10px 24px -16px rgba(0, 0, 0, .35); }
[data-theme=sombre] .bb-barre { border-top-color: rgba(255, 255, 255, .16); }
@media (prefers-color-scheme: dark) { :root:not([data-theme=clair]) .bb-barre { border-top-color: rgba(255, 255, 255, .16); } }
.bb-barre.bb-barre-clavier { display: none; }
.bb-barre-haut { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: 12.5px; }
.bb-barre-titre { font-weight: 700; color: var(--mut); }
.bb-barre-total { color: var(--acc); font-weight: 700; white-space: nowrap; }
.bb-barre-rangee { display: flex; align-items: center; gap: 10px; }
.bb-barre-puces { flex: 1; min-width: 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.bb-barre-puces::-webkit-scrollbar { display: none; }
.bb-puce { flex: none; scroll-snap-align: start; display: inline-flex; align-items: center; gap: 6px; max-width: 220px; min-height: 40px; padding: 0 8px 0 12px; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--ink); background: var(--soft); border: 0; border-radius: 999px; cursor: pointer; }
.bb-puce-nom { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bb-puce-x { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--card); color: var(--mut); font-size: 16px; line-height: 1; }
.bb-barre-continuer { flex: none; width: auto; min-height: 44px; padding: 0 18px; white-space: nowrap; }
.bb-barre-puces:empty { display: none; }
.bb-barre-rangee > .bb-barre-puces:empty + .bb-barre-continuer { flex: 1; }
.bb-barre-note { margin: 0; font-size: 12.5px; color: var(--mut); }
.bb-barre-note[hidden], .bb-cl-choix[hidden] { display: none; }
.bb-barre .bb-requis { margin: 0; }
.bb-barre .bb-requis[hidden] { display: none; }
/* Le détail complet de ce qui est choisi (style, crans, bijoux) : pour les lecteurs d'écran, les pastilles le montrent */
.bb-barre .bb-cl-choix { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.cl-formulaire:has(.bb-barre) > .btn.p1 { display: none; }
@media (min-width: 700px) { .bb-pas { max-width: 640px; margin: 0 auto; width: 100%; } }

/* Photos de la pro dans une ligne ouverte (décision de Marco du 24/11/2026) : une rangée qui défile au doigt, aimantée ;
   une photo touchée s'agrandit par-dessus la page (fond sombre, croix de 44 px) */
/* 25/11/2026 (les photos de la pro d'abord) : en GRAND, une par vue, la suivante dépasse au bord ; la photo entière dans
   un cadre 4:5, le format des photos prises au téléphone (contain : ni déformée ni coupée, portrait comme paysage), sur le fond doux du thème */
.bb-photos { display: flex; gap: 8px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; margin-inline: -16px; padding: 2px 16px 4px; scrollbar-width: none; }
.bb-photos::-webkit-scrollbar { display: none; }
.bb-photo { flex: none; scroll-snap-align: start; width: calc(100% - 48px); aspect-ratio: 4 / 5; max-height: 62vh; padding: 0; overflow: hidden; background: var(--soft, #EEE); border: 1px solid var(--bb-filet); border-radius: 14px; cursor: zoom-in; }
.bb-photos > .bb-photo:only-child { width: calc(100% - 32px); }
.bb-photo > img { display: block; width: 100%; height: 100%; object-fit: contain; }
/* La petite vignette d'une ligne qui a des photos, à gauche du nom (aucune place sans photo) */
.bb-ln-vignette { flex: none; width: 44px; height: 44px; object-fit: cover; border-radius: 10px; background: var(--soft, #EEE); border: 1px solid var(--bb-filet); }
.bb-photo:focus-visible, .bb-photo-fermer:focus-visible { outline: 3px solid var(--acc); outline-offset: 2px; }
.bb-photo-grande { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: 56px 12px 24px; background: rgba(20, 14, 18, .88); }
.bb-photo-grande-img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 10px; }
.bb-photo-fermer { position: absolute; top: 8px; inset-inline-end: 8px; width: 44px; height: 44px; padding: 0; font: inherit; font-size: 28px; line-height: 1; color: #FFFFFF; background: rgba(255, 255, 255, .14); border: 0; border-radius: 50%; cursor: pointer; }
/* La mention sous le visuel ou les photos : discrète */
.bb-idee { margin: -4px 0 0; font-size: 12.5px; line-height: 1.4; color: var(--mut); }
/* Écran de la pro : galerie des photos d'une prestation */
.bb-pr-galerie { display: flex; flex-wrap: wrap; gap: 10px; }
.bb-pr-galerie-photo { gap: 4px; width: 104px; }
.bb-pr-galerie-photo > .bb-pr-photo-img { width: 104px; height: 104px; object-fit: cover; border-radius: 12px; }
.bb-pr-galerie-actions { gap: 4px; align-items: center; flex-wrap: wrap; }
.bb-pr-version { gap: 8px; }

/* Fluidité au toucher (24/11/2026, au niveau des autres applis Buno : retour immédiat, états nets) : chaque bouton de la
   page s'enfonce un instant sous le doigt, sans le reflet gris du navigateur ; une pastille choisie change de couleur en
   douceur ; la ligne qui s'ouvre glisse en place une fois ; le chevron tourne. Rien de tout cela avec « réduire les
   animations ». */
.bb-page-liste button { -webkit-tap-highlight-color: transparent; }
.bb-li-pastille, .bb-cl-genre, .bb-rond, .bb-dent, .bb-puce, .bb-photo, .bb-choisir, .bb-barre-continuer { transition: transform .12s ease, background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease; }
.bb-li-pastille:active, .bb-cl-genre:active, .bb-puce:active, .bb-choisir:active, .bb-barre-continuer:active, .bb-photo:active { transform: scale(.96); }
.bb-rond:active, .bb-dent:active { transform: scale(.9); }
.bb-ln-tete { transition: background-color .15s ease; border-radius: 12px; }
.bb-ln-tete:active { background-color: var(--soft); }
.bb-ln-tete .bb-pa-chevron { transition: transform .2s ease; }
.bb-ln-simple .bb-choisir:active { transform: scale(.96); }
@keyframes bb-arrive { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.bb-ln-arrive { animation: bb-arrive .18s ease-out; }
@media (prefers-reduced-motion: reduce) {
  .bb-li-pastille, .bb-cl-genre, .bb-rond, .bb-dent, .bb-puce, .bb-photo, .bb-choisir, .bb-barre-continuer, .bb-ln-tete, .bb-ln-tete .bb-pa-chevron { transition: none; }
  .bb-li-pastille:active, .bb-cl-genre:active, .bb-puce:active, .bb-choisir:active, .bb-barre-continuer:active, .bb-photo:active, .bb-rond:active, .bb-dent:active { transform: none; }
  .bb-ln-arrive { animation: none; }
}

/* « Ajoute tes photos » (25/11/2026) : liste commune à l'accueil guidé et au rappel de « Mes prestations » */
.bb-ph-liste { gap: 0; }
.bb-ph-ligne { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; column-gap: 10px; padding: 8px 0; border-top: 1px solid var(--bb-filet, rgba(0, 0, 0, .08)); }
.bb-ph-ligne:first-child { border-top: 0; }
.bb-ph-image { width: 44px; height: 44px; overflow: hidden; background: #FFFFFF; border-radius: 10px; }
.bb-ph-image > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bb-ph-image-vide { display: grid; place-items: center; background: transparent; border: 1.5px dashed var(--line); box-sizing: border-box; }
.bb-ph-image-vide > .crayon-appareil { width: 72%; height: 72%; }
.bb-ph-corps { gap: 2px; min-width: 0; text-align: start; }
.bb-ph-nom { font-size: 15px; line-height: 1.25; overflow-wrap: anywhere; }
.bb-ph-compte { font-size: 12.5px; }
.bb-ph-petites { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
/* A2 du contrôle 62 (lot 3 du 25/11/2026) : zone à toucher d'au moins 44 px pour retirer une vignette */
.bb-ph-petite { position: relative; display: block; width: 44px; height: 44px; padding: 0; overflow: hidden; background: var(--soft, #EEE); border: 0; border-radius: 8px; }
.bb-ph-petite img, img.bb-ph-petite { display: block; width: 100%; height: 100%; object-fit: cover; }
.bb-ph-x { position: absolute; top: 1px; inset-inline-end: 1px; width: 16px; height: 16px; font-size: 13px; line-height: 16px; text-align: center; color: #FFFFFF; background: rgba(20, 14, 18, .6); border-radius: 50%; }
.btn.bb-ph-ajouter { width: auto; min-height: 40px; padding: 0 14px; white-space: nowrap; }
/* Rappel de « Mes prestations » : discret, une carte simple en tête */
.bb-rappel-zone[hidden] { display: none; }
.bb-rappel-photos { gap: 6px; padding: 14px 16px; }
.bb-rappel-zone { margin-bottom: 2px; }
.bb-rappel-titre { font-size: 15.5px; }
.bb-rappel-texte, .bb-rappel-pro { margin: 0; }
.bb-rappel-actions { gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 4px; }
.bb-rappel-actions > .btn { width: auto; min-height: 44px; padding: 0 16px; }
.bb-rappel-plus-tard { min-height: 44px; }
