/* L'éditeur de la page de Habon (29/10/2026) : ce qui s'ajoute PAR-DESSUS sa page boutique quand elle est en mode « Modifier ».
   Règles : la page reste identique ; les commandes sont des petits ronds et des pointillés caramel ; tout se passe dans des feuilles qui montent du bas. */
:root { --ed-noir: #141110; --ed-caramel: #D9A877; --ed-caramel2: #B9823F; --ed-rouge: #C8473F; --ed-vert: #3E8E5A; --ed-fond: #fff; --ed-gris: #8A817B; --ed-ligne: #ECE5DF; }
html { scroll-behavior: smooth; }
body { padding-bottom: 96px; }

/* barre du haut (fixe), au-dessus de la page */
.ed-barre { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: var(--ed-noir); color: #fff; }
.ed-barre .ed-titre { flex: 1; min-width: 0; font: 700 13px/1.2 "Inter"; }
.ed-barre .ed-titre small { display: block; font: 500 10.5px/1.3 "Inter"; color: rgba(255,255,255,.6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ed-modes { display: flex; padding: 3px; border-radius: 12px; background: rgba(255,255,255,.12); }
.ed-modes button { border: 0; background: none; color: rgba(255,255,255,.7); padding: 8px 12px; border-radius: 9px; font: 700 12px/1 "Inter"; cursor: pointer; }
.ed-modes button[aria-pressed="true"] { background: #fff; color: var(--ed-noir); }
.ed-rond-b { width: 36px; height: 36px; border-radius: 11px; border: 0; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; cursor: pointer; }
.ed-rond-b svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ed-aide { position: sticky; top: 56px; z-index: 49; margin: 0; padding: 8px 14px; background: #FFF7EC; color: #7A5A33; font: 500 12px/1.4 "Inter"; text-align: center; border-bottom: 1px solid #F3E3CC; }
.ed-aide b { font-weight: 700; }
body:not(.edition) .ed-aide { display: none; }

/* en mode aperçu, aucune commande ne doit apparaître */
body:not(.edition) .ed-poignee, body:not(.edition) .ed-plus, body:not(.edition) .ed-badge, body:not(.edition) .ed-ajout, body:not(.edition) .ed-x, body:not(.edition) .ed-vide { display: none !important; }

/* textes modifiables */
.edition [data-ed] { cursor: text; border-radius: 4px; outline: 1px dashed transparent; outline-offset: 3px; transition: outline-color .2s; min-width: 1em; }
.edition [data-ed]:hover { outline-color: rgba(217,168,119,.7); }
.edition [data-ed]:focus { outline: 2px solid var(--ed-caramel); background: rgba(217,168,119,.1); }
.edition [data-ed]:empty::before { content: attr(data-vide); color: rgba(138,129,123,.55); font-style: italic; }
.edition a[href] { cursor: default; }

/* photos et vidéos : le petit rond ✎ en bas à droite + un voile léger au survol */
.ed-media { position: relative; }
.ed-badge { position: absolute; right: 8px; bottom: 8px; z-index: 6; width: 32px; height: 32px; border-radius: 50%; border: 0; background: #fff; color: var(--ed-noir); box-shadow: 0 4px 14px -4px rgba(0,0,0,.5), 0 0 0 1.5px var(--ed-caramel); display: grid; place-items: center; cursor: pointer; padding: 0; }
.ed-badge svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ed-badge.ed-petit { width: 24px; height: 24px; right: 2px; bottom: 2px; } .ed-badge.ed-petit svg { width: 11px; height: 11px; }
.ed-badge.ed-centre { right: auto; bottom: auto; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; }
.edition .ed-media::after { content: ""; position: absolute; inset: 0; z-index: 5; border-radius: inherit; outline: 2px dashed rgba(217,168,119,0); outline-offset: -4px; pointer-events: none; transition: outline-color .2s; }
.edition .ed-media:hover::after { outline-color: var(--ed-caramel); }
.edition .ed-media.ed-sans-media::after { outline-color: var(--ed-caramel); background: repeating-linear-gradient(135deg, rgba(217,168,119,.08) 0 8px, transparent 8px 16px); }
.ed-vide-media { display: grid; place-items: center; width: 100%; height: 100%; background: #F3EDE6; color: var(--ed-gris); font: 600 11px/1.3 "Inter"; text-align: center; padding: 10px; }

/* une rubrique : pointillé + poignée (⠿ déplacer · ✎ · 🗑) en haut à droite */
.ed-sec { position: relative; }
.edition .ed-sec { outline: 1.5px dashed rgba(217,168,119,.45); outline-offset: -6px; border-radius: 22px; transition: outline-color .2s; }
.edition .ed-sec:hover { outline-color: var(--ed-caramel); }
.ed-poignee { position: absolute; top: 8px; right: 12px; z-index: 7; display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--ed-noir); box-shadow: 0 6px 18px -8px rgba(0,0,0,.6); }
.ed-sec.ed-sombre .ed-poignee { background: #fff; }
.ed-sec.ed-sombre .ed-poignee button { color: var(--ed-noir); }
.ed-poignee button { width: 30px; height: 30px; border-radius: 50%; border: 0; background: none; color: #fff; display: grid; place-items: center; cursor: pointer; padding: 0; touch-action: none; }
.ed-poignee button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ed-poignee button.ed-sup:hover { color: #FF8F86; }
.ed-poignee .ed-nom { padding: 0 10px 0 8px; width: auto; border-radius: 999px; font: 700 10px/1 "Inter"; letter-spacing: .08em; text-transform: uppercase; color: var(--ed-caramel); }
.ed-sec.ed-sombre .ed-poignee .ed-nom { color: var(--ed-caramel2); }

/* la ligne « + Ajouter une rubrique » entre deux rubriques */
.ed-plus { position: relative; height: 26px; margin: 2px 18px; display: flex; align-items: center; justify-content: center; }
.ed-plus::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1.5px dashed rgba(217,168,119,.5); }
.ed-plus button { position: relative; z-index: 1; border: 0; border-radius: 999px; background: #fff; color: var(--ed-caramel2); box-shadow: 0 0 0 1.5px var(--ed-caramel); font: 700 11px/1 "Inter"; padding: 7px 12px; cursor: pointer; display: flex; align-items: center; gap: 6px; }
.ed-plus button svg { width: 12px; height: 12px; stroke: currentColor; stroke-width: 2.5; fill: none; stroke-linecap: round; }

/* « + Ajouter » à l'intérieur d'une rubrique (une photo, une vidéo, un produit…) */
.ed-ajout { display: grid; place-items: center; gap: 6px; min-height: 58px; border-radius: 16px; border: 1.5px dashed var(--ed-caramel); background: rgba(217,168,119,.08); color: var(--ed-caramel2); font: 700 11.5px/1.2 "Inter"; cursor: pointer; text-align: center; padding: 10px; }
.ed-ajout:hover { background: rgba(217,168,119,.16); }
.ed-ajout svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2.2; fill: none; stroke-linecap: round; }
.ed-ajout.ed-tel { width: 150px; flex: none; aspect-ratio: .48; border-radius: 28px; align-content: center; }
.ed-ajout.ed-rond { width: 74px; height: 74px; border-radius: 50%; min-height: 0; padding: 0; flex: none; align-self: start; }
.ed-ajout.ed-logo { height: 58px; min-height: 0; border-radius: 14px; }
.ed-ajout.ed-ligne { min-height: 42px; }
.ed-ajout.ed-sem { min-height: 0; padding: 10px 6px 11px; border-radius: 16px; }

/* la petite croix pour retirer un élément (étape, mot-clé, semaine…) */
.ed-x { position: absolute; top: -7px; right: -7px; z-index: 6; width: 22px; height: 22px; border-radius: 50%; border: 0; background: #fff; color: var(--ed-rouge); box-shadow: 0 2px 8px -2px rgba(0,0,0,.4), 0 0 0 1px var(--ed-ligne); font: 800 13px/1 "Inter"; cursor: pointer; display: grid; place-items: center; padding: 0; }
.ed-item { position: relative; }
.edition .ed-item { cursor: pointer; }
.edition .ed-item[data-poignee] { touch-action: pan-y; }

/* glisser-déposer : l'élément soulevé, les emplacements qui s'allument */
.ed-souleve { opacity: .45; }
.ed-fantome { position: fixed; z-index: 200; pointer-events: none; transform: scale(1.04); box-shadow: 0 24px 50px -16px rgba(0,0,0,.55); border-radius: 18px; opacity: .95; }
.ed-slot { outline: 2px dashed var(--ed-caramel) !important; outline-offset: -3px; background: rgba(217,168,119,.1) !important; }
.ed-slot-cible { outline: 3px solid var(--ed-caramel2) !important; background: rgba(217,168,119,.28) !important; transform: scale(1.03); transition: transform .15s; }
.ed-glisse body, body.ed-glisse { user-select: none; -webkit-user-select: none; overflow: hidden; }
.ed-slot-sec { position: relative; }
.ed-slot-sec::before { content: "Déposer ici"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 8; padding: 8px 14px; border-radius: 999px; background: var(--ed-caramel2); color: #fff; font: 700 11px/1 "Inter"; letter-spacing: .06em; text-transform: uppercase; opacity: 0; transition: opacity .15s; }
.ed-slot-sec.ed-slot-cible::before { opacity: 1; }

/* feuilles qui montent du bas */
.ed-voile { position: fixed; inset: 0; z-index: 100; background: rgba(20,17,16,.45); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); opacity: 0; transition: opacity .25s; }
.ed-voile.on { opacity: 1; }
.ed-feuille { position: fixed; left: 50%; bottom: 0; z-index: 101; width: 100%; max-width: 440px; max-height: 92vh; max-height: 92dvh; overflow: auto; transform: translate(-50%, 100%); transition: transform .3s cubic-bezier(.2,.8,.2,1); background: var(--ed-fond); color: var(--ed-noir); border-radius: 24px 24px 0 0; box-shadow: 0 -20px 60px -20px rgba(0,0,0,.4); padding: 10px 18px calc(22px + env(safe-area-inset-bottom)); font-family: "Inter", sans-serif; overscroll-behavior: contain; }
.ed-feuille.on { transform: translate(-50%, 0); }
.ed-feuille.ed-plein { height: 92vh; height: 92dvh; display: flex; flex-direction: column; }
.ed-feuille .ed-anse { width: 40px; height: 4px; border-radius: 2px; background: var(--ed-ligne); margin: 0 auto 12px; }
.ed-feuille h4 { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 4px; font: 800 18px/1.2 "Manrope"; letter-spacing: -.02em; }
.ed-feuille h4 small { font: 600 11px/1 "Inter"; color: var(--ed-gris); letter-spacing: .06em; text-transform: uppercase; }
.ed-feuille .ed-sous { margin: 0 0 14px; font: 400 12.5px/1.45 "Inter"; color: var(--ed-gris); }
.ed-fermer { position: absolute; top: 12px; right: 14px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: #F3EDE6; color: var(--ed-noir); font: 700 15px/1 "Inter"; cursor: pointer; }

/* champs et boutons des feuilles */
.ed-champ { display: block; margin-top: 12px; }
.ed-champ > span { display: block; margin-bottom: 5px; font: 700 10.5px/1 "Inter"; letter-spacing: .1em; text-transform: uppercase; color: var(--ed-gris); }
.ed-champ input, .ed-champ textarea, .ed-champ select { width: 100%; padding: 12px 13px; border-radius: 12px; border: 1.5px solid var(--ed-ligne); background: #FBF9F7; font: 500 15px/1.35 "Inter"; color: var(--ed-noir); -webkit-appearance: none; }
.ed-champ input:focus, .ed-champ textarea:focus, .ed-champ select:focus { outline: 0; border-color: var(--ed-caramel); background: #fff; }
.ed-champ textarea { min-height: 76px; resize: vertical; }
.ed-ligne2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ed-lien-ligne { display: flex; gap: 8px; align-items: stretch; }
.ed-lien-ligne input { flex: 1; min-width: 0; }
.ed-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 50px; margin-top: 10px; padding: 0 18px; border-radius: 999px; border: 0; background: var(--ed-noir); color: #fff; font: 700 14px/1.2 "Inter"; cursor: pointer; text-align: center; text-decoration: none; }
.ed-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ed-btn.ed-clair { background: #F3EDE6; color: var(--ed-noir); }
.ed-btn.ed-caramel { background: var(--ed-caramel); color: var(--ed-noir); }
.ed-btn.ed-danger { background: #FBEAE8; color: var(--ed-rouge); }
.ed-btn.ed-petit-b { min-height: 42px; width: auto; margin: 0; padding: 0 14px; font-size: 12.5px; }
.ed-btn[disabled] { opacity: .45; cursor: default; }
.ed-choix { display: grid; gap: 8px; margin-top: 10px; }
.ed-choix button { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border-radius: 16px; border: 1.5px solid var(--ed-ligne); background: #fff; text-align: left; cursor: pointer; font-family: "Inter"; }
.ed-choix button:hover { border-color: var(--ed-caramel); background: #FFFBF6; }
.ed-choix button b { display: block; font: 700 14px/1.2 "Inter"; color: var(--ed-noir); }
.ed-choix button small { display: block; margin-top: 2px; font: 400 12px/1.35 "Inter"; color: var(--ed-gris); }
.ed-choix .ed-ico { width: 40px; height: 40px; border-radius: 12px; background: #F3EDE6; display: grid; place-items: center; }
.ed-choix .ed-ico svg { width: 20px; height: 20px; fill: none; stroke: var(--ed-noir); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ed-choix .ed-fleche { color: var(--ed-gris); font-size: 18px; }
.ed-inter { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: #FBF9F7; border: 1.5px solid var(--ed-ligne); }
.ed-inter b { font: 700 13.5px/1.2 "Inter"; } .ed-inter small { display: block; margin-top: 2px; font: 400 11.5px/1.35 "Inter"; color: var(--ed-gris); }
.ed-switch { position: relative; width: 48px; height: 28px; flex: none; }
.ed-switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.ed-switch i { position: absolute; inset: 0; border-radius: 999px; background: #DDD5CE; transition: background .2s; }
.ed-switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.25); transition: transform .2s; }
.ed-switch input:checked + i { background: var(--ed-vert); } .ed-switch input:checked + i::after { transform: translateX(20px); }
.ed-apercu-media { width: 100%; max-height: 240px; object-fit: contain; border-radius: 16px; background: #F3EDE6; display: block; margin-top: 8px; }
.ed-icones { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-top: 8px; }
.ed-icones button { aspect-ratio: 1; border-radius: 12px; border: 1.5px solid var(--ed-ligne); background: #fff; display: grid; place-items: center; cursor: pointer; }
.ed-icones button[aria-pressed="true"] { border-color: var(--ed-noir); background: #F3EDE6; }
.ed-icones svg { width: 22px; height: 22px; fill: none; stroke: var(--ed-noir); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.ed-note { margin-top: 10px; font: 400 11.5px/1.45 "Inter"; color: var(--ed-gris); }
.ed-note b { color: var(--ed-noir); }
.ed-pastille { display: inline-block; padding: 4px 8px; border-radius: 999px; background: #F3EDE6; font: 700 10px/1 "Inter"; letter-spacing: .06em; text-transform: uppercase; color: var(--ed-gris); }
.ed-pastille.ok { background: #E6F3EA; color: var(--ed-vert); }

/* recadrage : le cadre a exactement la forme de l'emplacement sur la page ; la photo se déplace et se zoome dessous */
.ed-recadre { position: relative; margin: 10px auto 0; width: 100%; max-width: 380px; background: #111; border-radius: 16px; overflow: hidden; touch-action: none; }
.ed-recadre canvas { display: block; width: 100%; height: 100%; }
.ed-recadre .ed-cadre { position: absolute; inset: 0; pointer-events: none; box-shadow: 0 0 0 9999px rgba(0,0,0,.55); border: 1.5px solid rgba(255,255,255,.9); }
.ed-recadre .ed-cadre.ed-rond-c { border-radius: 50%; }
.ed-recadre .ed-cadre::before, .ed-recadre .ed-cadre::after { content: ""; position: absolute; background: rgba(255,255,255,.35); }
.ed-recadre .ed-cadre::before { left: 33.3%; right: 33.3%; top: 0; bottom: 0; border-left: 1px solid rgba(255,255,255,.35); border-right: 1px solid rgba(255,255,255,.35); background: none; }
.ed-recadre .ed-cadre::after { top: 33.3%; bottom: 33.3%; left: 0; right: 0; border-top: 1px solid rgba(255,255,255,.35); border-bottom: 1px solid rgba(255,255,255,.35); background: none; }
.ed-zoom { display: flex; align-items: center; gap: 10px; margin-top: 12px; font: 600 11px/1 "Inter"; color: var(--ed-gris); }
.ed-zoom input { flex: 1; accent-color: var(--ed-noir); }

/* choix de la couverture d'une vidéo : aperçu + bande d'images + curseur (comme Instagram) */
.ed-couv-apercu { position: relative; width: 150px; margin: 10px auto 0; aspect-ratio: .47; border-radius: 22px; overflow: hidden; background: #000; box-shadow: 0 0 0 5px #1b1716; }
.ed-couv-apercu canvas, .ed-couv-apercu img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ed-bande { position: relative; display: flex; height: 64px; margin-top: 16px; border-radius: 10px; overflow: hidden; background: #222; touch-action: none; }
.ed-bande canvas { flex: 1; height: 100%; width: 0; object-fit: cover; }
.ed-curseur { position: absolute; top: 0; bottom: 0; width: 42px; margin-left: -21px; border: 3px solid #fff; border-radius: 8px; box-shadow: 0 0 0 1.5px var(--ed-noir), 0 6px 14px -4px rgba(0,0,0,.6); pointer-events: none; }
.ed-curseur canvas { width: 100%; height: 100%; object-fit: cover; display: block; }
.ed-charge { text-align: center; padding: 20px; font: 500 12.5px/1.4 "Inter"; color: var(--ed-gris); }

/* catalogue des marques */
.ed-onglets { display: flex; gap: 6px; overflow-x: auto; margin: 10px -18px 0; padding: 0 18px 8px; scrollbar-width: none; }
.ed-onglets::-webkit-scrollbar { display: none; }
.ed-onglets button { flex: none; padding: 8px 12px; border-radius: 999px; border: 1.5px solid var(--ed-ligne); background: #fff; font: 700 11.5px/1 "Inter"; color: var(--ed-noir); cursor: pointer; white-space: nowrap; }
.ed-onglets button[aria-pressed="true"] { background: var(--ed-noir); color: #fff; border-color: var(--ed-noir); }
.ed-cata { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 6px; }
.ed-cata button { position: relative; height: 58px; border-radius: 14px; border: 0; box-shadow: inset 0 0 0 1px var(--ed-ligne); background: #fff; display: grid; place-items: center; cursor: pointer; padding: 6px; }
.ed-cata button:hover { box-shadow: inset 0 0 0 2px var(--ed-caramel); }
.ed-cata button.ed-deja { opacity: .35; }
.ed-cata button.ed-deja::after { content: "✓"; position: absolute; top: 4px; right: 6px; font: 800 11px/1 "Inter"; color: var(--ed-vert); }
.ed-cata img { max-width: 84px; max-height: 40px; object-fit: contain; filter: brightness(0); opacity: .86; }
.ed-cata-nom { position: absolute; left: 0; right: 0; bottom: 0; font: 600 8.5px/1 "Inter"; color: var(--ed-gris); text-align: center; padding: 3px; opacity: 0; }
.ed-cata button:hover .ed-cata-nom { opacity: 1; }
.ed-recherche { position: sticky; top: 0; z-index: 2; background: var(--ed-fond); padding-bottom: 4px; }
.ed-defile { flex: 1; overflow: auto; margin: 0 -18px; padding: 0 18px; }

/* logos recomposés en texte (même style que Hairlixir et Kahee) */
.logo-texte { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--pf-texte, #141110); opacity: .9; }
.logo-texte.serif b { font: 600 13px/1 "Cormorant Garamond", Georgia, serif; letter-spacing: .14em; } .logo-texte.serif small { font: 500 5px/1 "Cormorant Garamond", Georgia, serif; letter-spacing: .5em; margin-right: -.5em; }
.logo-texte.sans b { font: 800 15px/1 "Montserrat", "Manrope", "Inter", sans-serif; letter-spacing: .02em; } .logo-texte.sans small { font: 500 5px/1 "Montserrat", "Manrope", "Inter", sans-serif; letter-spacing: .08em; }
.logo-texte.script b { font: 500 italic 17px/1 "Cormorant Garamond", Georgia, serif; letter-spacing: 0; } .logo-texte.script small { font: 500 5px/1 "Inter", sans-serif; letter-spacing: .3em; }
.logo-texte.long b { font-size: 10.5px; }

/* produits : le lien ne se voit pas, seulement un bouton « Voir » */
.rc-prod .rc-lien.ok { color: var(--pf-accent); }
.rc-prod .rc-lien .aff { display: block; font-size: 8px; letter-spacing: .08em; color: var(--ed-gris); margin-top: 2px; }
.rc-prod .rc-lien.vide { color: var(--ed-gris); }
.prods-libres { display: grid; gap: 6px; padding: 0 18px; margin-top: 12px; }
.prods-libres .rc-prod { background: #fff; }
.pf-part { margin: 0 !important; }
.pf-part > h3 { margin-top: 30px; }
.pf.pf-entete { margin-top: 34px !important; }
.sec-texte { padding: 0 18px; margin-top: 30px; }
.sec-texte h2 { margin: 0 0 10px; }
.sec-texte p { font: 400 14.5px/1.6 "Inter"; color: var(--gris); }
.sec-ronds-vide, .ed-vide { padding: 14px 18px; font: 500 12.5px/1.4 "Inter"; color: var(--ed-gris); text-align: center; }

/* bas de page de l'éditeur : enregistrer / envoyer */
.ed-pied-outils { position: fixed; left: 50%; bottom: 0; transform: translateX(-50%); z-index: 48; width: 100%; max-width: 440px; display: flex; gap: 8px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(250,247,244,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--ed-ligne); }
.ed-pied-outils .ed-etat { flex: 1; min-width: 0; align-self: center; font: 600 11.5px/1.3 "Inter"; color: var(--ed-gris); }
.ed-pied-outils .ed-etat b { display: block; color: var(--ed-noir); font-size: 12.5px; }
.ed-pied-outils .ed-btn { width: auto; margin: 0; min-height: 44px; padding: 0 16px; font-size: 13px; }
body:not(.edition) .ed-pied-outils { display: none; }
.ed-toast { position: fixed; left: 50%; bottom: 90px; transform: translate(-50%, 20px); z-index: 300; padding: 11px 16px; border-radius: 999px; background: var(--ed-noir); color: #fff; font: 600 12.5px/1.2 "Inter"; opacity: 0; transition: opacity .25s, transform .25s; pointer-events: none; white-space: nowrap; max-width: 90vw; overflow: hidden; text-overflow: ellipsis; }
.ed-toast.on { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { .ed-feuille, .ed-voile, .ed-toast { transition: none; } }
.edition .ed-item, .edition a, .edition .ed-sec { -webkit-touch-callout: none; }
/* en édition, chaque rubrique laisse de la place en haut pour sa poignée (pour qu'elle ne recouvre pas le titre) */
.edition .ed-sec { padding-top: 34px; margin-top: 6px; }
.ed-poignee { top: 6px; }
.ed-poignee .ed-nom { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; line-height: 30px; }
.collab .bouton .ed-badge { right: -6px; top: -6px; bottom: auto; }
.lookbook .ed-ajout { aspect-ratio: 3 / 4; border-radius: 18px; min-height: 0; }
.edition .pf-marques .logo { overflow: visible; }
.ronds .rond { align-content: start; }
.edition .ronds .rond > [data-ed] { align-self: start; padding: 2px 4px; }
.rc-sem .ed-badge { right: -6px; top: -6px; bottom: auto; }

/* la petite prise ⠿ de chaque élément d'une liste : on la tient et on glisse */
.ed-prise { position: absolute; top: -7px; left: -7px; z-index: 6; width: 22px; height: 22px; border-radius: 50%; border: 0; background: #fff; color: var(--ed-noir); box-shadow: 0 2px 8px -2px rgba(0,0,0,.4), 0 0 0 1px var(--ed-ligne); display: grid; place-items: center; padding: 0; cursor: grab; touch-action: none; }
.ed-prise svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; }
.ed-prise:active { cursor: grabbing; }
body:not(.edition) .ed-prise { display: none !important; }
.pf-vid .ed-prise { top: 4px; left: 2px; }
.rond .ed-prise { top: -2px; left: -2px; }
.rc-sem .ed-prise { top: -6px; left: -6px; }
.collab li .ed-prise { top: -8px; left: -8px; }

.ed-progres { height: 8px; border-radius: 4px; background: #F3EDE6; overflow: hidden; margin-top: 6px; }
.ed-progres i { display: block; height: 100%; background: var(--ed-caramel); transition: width .3s; }
