/*
 * V2/css/nouveau-design.css — 20/11/2026, cf. Sylvain : maquettes du patron (fond studio, barre blanche,
 * grande carte de couleur, panneau « ? Aide » avec Gepeto et Gepetta). Même style que le tableau de bord
 * (admin/index.php). Ne s'applique qu'aux pages qui ont <body class="v2-nd …"> : on passe les pages une par une.
 * Couleur de la page : v2-nd--orange (podcasts), --rose (musique, playlists), --violet (équipe),
 * --turquoise (personnaliser ma radio), --menthe (RadioCut).
 */
body.v2-nd {
  --nd-fond-carte: #fdf3e2; --nd-accent: #f26a0c; --nd-accent-2: #ff9a1f; --nd-doux: #ffe6c9;
  --nd-bleu: #1d36a8; --nd-encre: #0b2a6f; --nd-gris: #5c6c93;
  margin: 0; min-height: 100vh; overflow-x: hidden; background: #0b1d4a !important; color: var(--nd-encre);
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
}
body.v2-nd--rose { --nd-fond-carte: #fde3f1; --nd-accent: #d61f84; --nd-accent-2: #ff4fa3; --nd-doux: #fbd0e8; }
body.v2-nd--violet { --nd-fond-carte: #efe4fb; --nd-accent: #7b2fd0; --nd-accent-2: #a45cff; --nd-doux: #e0cdf8; }
body.v2-nd--turquoise { --nd-fond-carte: #dff6f6; --nd-accent: #0f9b94; --nd-accent-2: #22c2b8; --nd-doux: #c4eeec; }
body.v2-nd--menthe { --nd-fond-carte: #e3f8f4; --nd-accent: #1d6fd8; --nd-accent-2: #48a6ff; --nd-doux: #cfe6ff; }
body.v2-nd *, body.v2-nd *::before, body.v2-nd *::after { box-sizing: border-box; }

/* Ce que l'ancien en-tête ajoutait : caché sur les pages au nouveau design */
body.v2-nd:not(.v2-nd--public) .v2-crm, body.v2-nd .v2-retour-tdb, body.v2-nd .v2-admin-bar, body.v2-nd:not(.v2-nd--public) > footer, body.v2-nd:not(.v2-nd--public) .v2-footer { display: none !important; }
/* Pages publiques : on garde le menu de la radio et le pied de page, au-dessus de la photo */
body.v2-nd--public .v2-footer { position: relative; z-index: 2; }
body.v2-nd--public .nd { padding-top: 4px; }

/* ---- Fond : photo du studio (la même que le tableau de bord) ---- */
.nd-fond { position: fixed; inset: 0; z-index: -1; background: url("/images/classes-radio/admin/fond-studio.jpg") center / cover no-repeat; filter: blur(4px) saturate(1.1); transform: scale(1.04); }
.nd-fond::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 55%, rgba(11, 29, 74, .05) 0%, rgba(11, 29, 74, .45) 100%); }
.nd { position: relative; z-index: 1; max-width: 1500px; margin: 0 auto; padding: 14px 18px 28px; }

/* ---- Barre du haut (comme le tableau de bord) ---- */
.nd-haut { display: flex; align-items: center; gap: 16px; background: rgba(255, 255, 255, .96); border-radius: 22px; padding: 8px 16px; box-shadow: 0 8px 24px rgba(0, 20, 80, .25); }
.nd-logo img { height: 58px; width: auto; display: block; }
.nd-titre { flex: 1; display: flex; align-items: center; gap: 14px; background: #d9ecff; border-radius: 999px; padding: 8px 24px; min-width: 0; }
.nd-titre svg { width: 42px; height: 42px; flex: 0 0 auto; color: var(--nd-bleu); }
.nd-titre h1 { margin: 0; font-size: clamp(1.1rem, 2.2vw, 2rem); font-weight: 800; color: var(--nd-bleu); line-height: 1.05; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nd-actions { display: flex; gap: 14px; }
.nd-actions a { display: flex; flex-direction: column; align-items: center; gap: 3px; text-decoration: none; color: var(--nd-bleu); font-size: .78rem; font-weight: 700; text-align: center; }
.nd-actions .rond { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #d9ecff; }
.nd-actions a.deco .rond { background: #ff4fa3; color: #fff; }
.nd-actions svg { width: 24px; height: 24px; }
.nd-actions small { font-size: .64rem; font-weight: 600; margin-top: -3px; max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---- Corps : grande carte + panneau d'aide ---- */
.nd-corps { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 22px; margin-top: 22px; align-items: start; }
.nd-carte { background: var(--nd-fond-carte); border-radius: 34px; padding: 22px 26px 28px; box-shadow: 0 14px 34px rgba(0, 20, 80, .3); min-height: 560px; }
.nd-retour { display: inline-flex; align-items: center; gap: 8px; border: 2px solid var(--nd-bleu); border-radius: 999px; padding: 7px 18px; color: var(--nd-bleu); font-weight: 800; text-decoration: none; background: #fff; }
.nd-retour:hover { background: #eef4ff; }

/* Onglets (Podcasts audio / Podcasts vidéo) */
.nd-onglets { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 22px 0 20px; }
.nd-onglet { display: flex; align-items: center; justify-content: center; gap: 16px; min-height: 84px; border-radius: 999px; font-size: clamp(1.1rem, 2vw, 1.9rem); font-weight: 800; text-decoration: none; color: var(--nd-bleu); background: #d4e6fb; transition: transform .15s; }
.nd-onglet svg { width: 46px; height: 46px; flex: 0 0 auto; }
.nd-onglet:hover { transform: translateY(-2px); }
.nd-onglet--actif { color: #fff; background: linear-gradient(180deg, var(--nd-accent-2), var(--nd-accent)); border: 4px solid #fff; box-shadow: 0 8px 18px rgba(242, 106, 12, .35); }

/* Recherche + bouton principal */
.nd-outils { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.nd-recherche { flex: 1 1 320px; display: flex; align-items: center; gap: 10px; background: #fff; border: 2px solid #b9cdf0; border-radius: 999px; padding: 0 18px; min-height: 58px; }
.nd-recherche svg { width: 26px; height: 26px; color: var(--nd-bleu); flex: 0 0 auto; }
.nd-recherche input { flex: 1; border: 0 !important; outline: none; background: transparent !important; font: inherit; font-size: 1.1rem; font-weight: 600; color: var(--nd-encre); padding: 0 !important; box-shadow: none !important; min-width: 0; }
.nd-recherche input::placeholder { color: #6b84b8; }
.nd-btn-principal { display: inline-flex; align-items: center; gap: 10px; min-height: 58px; padding: 0 30px; border: 0; border-radius: 999px; color: #fff !important; font: inherit; font-size: 1.2rem; font-weight: 800; text-decoration: none; background: linear-gradient(180deg, var(--nd-accent-2), var(--nd-accent)); box-shadow: 0 6px 14px rgba(0, 0, 0, .18); cursor: pointer; }
.nd-btn-principal:hover { filter: brightness(1.05); }

/* Filtres (Tous / Mes podcasts) */
.nd-filtres { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0 6px; }
.nd-filtre { padding: 6px 18px; border-radius: 999px; border: 2px solid var(--nd-bleu); color: var(--nd-bleu); background: #fff; font-weight: 800; text-decoration: none; font-size: .92rem; }
.nd-filtre--actif { background: var(--nd-accent); border-color: var(--nd-accent); color: #fff; }

.nd-message { margin: 14px 0 0; background: #e6fff1; color: #0b6e44; border-radius: 14px; padding: 10px 16px; font-weight: 700; }

/* Sélection groupée (discrète) */
.nd-selection { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 16px 4px 8px; font-weight: 700; color: var(--nd-gris); font-size: .9rem; }
.nd-selection label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.nd-selection input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--nd-bleu); }
.nd-selection__actions { display: none; gap: 8px; flex-wrap: wrap; }
.nd-selection.a-selection .nd-selection__actions { display: inline-flex; }
.nd-petit-btn { border: 2px solid var(--nd-bleu); background: #fff; color: var(--nd-bleu); border-radius: 999px; padding: 4px 14px; font: inherit; font-size: .85rem; font-weight: 800; cursor: pointer; }
.nd-petit-btn--danger { border-color: #d6293e; color: #d6293e; }

/* Liste : une carte blanche par élément */
.nd-liste { display: grid; gap: 14px; }
.nd-item { display: flex; align-items: center; gap: 18px; background: #fff; border-radius: 26px; padding: 16px 20px; box-shadow: 0 6px 16px rgba(0, 20, 80, .12); }
.nd-item__case { width: 20px; height: 20px; accent-color: var(--nd-bleu); flex: 0 0 auto; }
.nd-item__icone { width: 82px; height: 82px; border-radius: 20px; display: grid; place-items: center; background: linear-gradient(160deg, #9b5cff, #6d2fe0); color: #fff; flex: 0 0 auto; }
.nd-item__icone svg { width: 46px; height: 46px; }
.nd-item__texte { flex: 1; min-width: 0; }
.nd-item__titre { margin: 0; font-size: clamp(1.1rem, 1.6vw, 1.55rem); font-weight: 800; color: var(--nd-encre); line-height: 1.15; overflow-wrap: anywhere; }
.nd-item__sous { margin: 2px 0 6px; color: var(--nd-gris); font-weight: 700; font-size: 1rem; }
.nd-item__infos { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-weight: 800; color: var(--nd-bleu); }
.nd-item__infos svg { width: 22px; height: 22px; vertical-align: -5px; margin-right: 4px; }
.nd-pastille { display: inline-block; padding: 3px 14px; border-radius: 999px; font-weight: 800; font-size: .92rem; border: 0; font-family: inherit; line-height: 1.4; }
.nd-pastille--vert { background: #1aa260; color: #fff; }
.nd-pastille--gris { background: #8b94a8; color: #fff; }
.nd-pastille--orange { background: #ffb020; color: #4a2a00; }
.nd-pastille--rouge { background: #ffd9dc; color: #c41d2e; }
button.nd-pastille { cursor: pointer; }
.nd-item__actions { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.nd-btn-ecouter { display: inline-flex; align-items: center; gap: 10px; border: 0; border-radius: 999px; padding: 12px 30px; font: inherit; font-size: 1.15rem; font-weight: 800; color: #fff; background: linear-gradient(180deg, #2b8cff, #0b5fe6); cursor: pointer; box-shadow: 0 5px 12px rgba(11, 95, 230, .3); }
.nd-btn-ecouter svg { width: 22px; height: 22px; }
.nd-btn-modifier { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 12px 24px; font-size: 1.1rem; font-weight: 800; color: var(--nd-bleu); background: #e3eefc; text-decoration: none; }
.nd-btn-modifier svg { width: 20px; height: 20px; }
.nd-plus { position: relative; }
.nd-plus > summary { list-style: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #e3eefc; color: var(--nd-bleu); font-size: 1.4rem; font-weight: 900; cursor: pointer; letter-spacing: 1px; }
.nd-plus > summary::-webkit-details-marker { display: none; }
.nd-plus__menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; min-width: 260px; background: #fff; border-radius: 16px; padding: 8px; box-shadow: 0 12px 30px rgba(0, 20, 80, .28); display: grid; gap: 4px; }
.nd-plus__menu button, .nd-plus__menu a { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 9px 12px; border-radius: 10px; font: inherit; font-weight: 700; color: var(--nd-encre); text-decoration: none; cursor: pointer; }
.nd-plus__menu button:hover, .nd-plus__menu a:hover { background: #eef4ff; }
.nd-plus__menu .danger { color: #c41d2e; }
.nd-vide { background: #fff; border-radius: 26px; padding: 26px; text-align: center; font-weight: 700; color: var(--nd-gris); }

/* Pagination */
.nd-carte .pagination-admin, .nd-carte .v2-pagination { margin-top: 18px; }

/* ---- Panneau « ? Aide » avec Gepeto et Gepetta ---- */
.nd-aide { position: sticky; top: 18px; background: #dbe8fb; border-radius: 34px; padding: 22px 18px 0; box-shadow: 0 14px 34px rgba(0, 20, 80, .3); display: flex; flex-direction: column; align-items: center; overflow: hidden; }
.nd-aide__btn { display: inline-flex; align-items: center; gap: 10px; border: 0; border-radius: 999px; padding: 10px 30px; font: inherit; font-size: 1.4rem; font-weight: 800; color: #fff; background: linear-gradient(180deg, #2b8cff, #0b5fe6); cursor: pointer; box-shadow: 0 5px 12px rgba(11, 95, 230, .3); }
.nd-aide__btn span { width: 34px; height: 34px; border-radius: 50%; background: #fff; color: #0b5fe6; display: grid; place-items: center; font-size: 1.3rem; }
.nd-aide__bulle { position: relative; margin: 26px 0 26px; background: #fff; border: 4px solid #ff4fa3; border-radius: 40px; padding: 18px 20px; font-size: clamp(1.05rem, 1.5vw, 1.45rem); font-weight: 800; color: var(--nd-bleu); text-align: center; line-height: 1.2; }
.nd-aide__bulle::after { content: ""; position: absolute; left: 50%; bottom: -16px; width: 26px; height: 26px; background: #fff; border-right: 4px solid #ff4fa3; border-bottom: 4px solid #ff4fa3; transform: translateX(-50%) rotate(45deg); }
.nd-aide__robots { position: relative; width: 100%; border: 0; background: none; padding: 0; cursor: pointer; }
.nd-aide__robots img { width: 100%; height: auto; display: block; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .25)); }
/* Sur grand écran le panneau remplace les 2 petits ronds ; ils reviennent quand le panneau passe dessous */
@media (min-width: 1101px) { body.v2-nd:has(.nd-aide) .v2ia-ronds { display: none !important; } }

/* ---- Écrans moyens et téléphones ---- */
@media (max-width: 1100px) {
  .nd-corps { grid-template-columns: minmax(0, 1fr); }
  .nd-aide { display: none; }
}
@media (max-width: 760px) {
  .nd { padding: 10px 10px 90px; }
  .nd-haut { flex-wrap: wrap; gap: 8px; }
  .nd-logo img { height: 44px; }
  .nd-titre { order: 3; flex-basis: 100%; padding: 6px 16px; }
  .nd-titre svg { width: 30px; height: 30px; }
  .nd-actions { margin-left: auto; gap: 8px; }
  .nd-actions small { display: none; }
  .nd-carte { padding: 16px 14px 20px; border-radius: 24px; min-height: 0; }
  .nd-onglets { gap: 10px; }
  .nd-onglet { min-height: 60px; gap: 8px; font-size: 1rem; padding: 0 10px; min-width: 0; text-align: center; line-height: 1.1; }
  .nd-onglets { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .nd-btn-principal { width: 100%; justify-content: center; }
  .nd-onglet svg { width: 30px; height: 30px; }
  .nd-item { flex-wrap: wrap; gap: 12px; padding: 14px; }
  .nd-item__icone { width: 58px; height: 58px; border-radius: 16px; }
  .nd-item__icone svg { width: 32px; height: 32px; }
  .nd-item__actions { width: 100%; justify-content: flex-end; }
  .nd-btn-ecouter, .nd-btn-modifier { padding: 10px 18px; font-size: 1rem; }
}

/* Vidéos : miniature de la vidéo à la place de l'icône */
.nd-item__icone--video { background: linear-gradient(160deg, #ff9a1f, #f26a0c); }
.nd-item__icone--image { background: #0b1d4a; overflow: hidden; width: 120px; }
.nd-item__icone--image img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 760px) { .nd-item__icone--image { width: 86px; } }

/* ======================= Pages publiques (podcasts…) ======================= */
.nd-entete { display: flex; align-items: center; gap: 16px; margin: 18px 0 16px; }
.nd-entete__rond { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(180deg, var(--nd-accent-2), var(--nd-accent)); flex: 0 0 auto; box-shadow: 0 6px 14px rgba(242, 106, 12, .3); }
.nd-entete__rond svg { width: 42px; height: 42px; }
.nd-entete h1 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.7rem); font-weight: 800; color: var(--nd-bleu); line-height: 1.05; }
.nd-entete p { margin: 2px 0 0; font-size: 1.2rem; font-weight: 700; color: #4f6db8; }
.nd-une { position: relative; display: flex; align-items: center; gap: 22px; background: linear-gradient(90deg, #fde3c4, #fbd7b0); border-radius: 26px; padding: 22px 26px; margin-bottom: 18px; }
.nd-une__badge { position: absolute; top: -10px; left: 26px; background: linear-gradient(180deg, var(--nd-accent-2), var(--nd-accent)); color: #fff; font-weight: 800; font-size: 1.1rem; padding: 4px 18px; border-radius: 999px; transform: rotate(-4deg); box-shadow: 0 4px 10px rgba(0, 0, 0, .15); }
.nd-une__casque { font-size: 4.6rem; line-height: 1; padding-right: 22px; border-right: 3px solid var(--nd-accent); margin-top: 14px; }
.nd-une__texte { flex: 1; min-width: 0; }
.nd-une__texte h2 { margin: 0; font-size: clamp(1.4rem, 2.6vw, 2.4rem); font-weight: 800; color: var(--nd-bleu); overflow-wrap: anywhere; }
.nd-une__texte p { margin: 2px 0 0; font-size: 1.15rem; font-weight: 700; color: #4f6db8; }
.nd-une__texte .nd-une__date { color: var(--nd-encre); font-weight: 600; }
.nd-une__lecteur { flex: 0 0 auto; }
.nd-une audio { width: min(360px, 100%); flex: 0 0 auto; }
.nd-btn-ecouter--grand { font-size: 1.5rem; padding: 14px 40px; }
.nd-btn-ecouter--grand svg { width: 28px; height: 28px; }
.nd-themes { display: flex; gap: 12px; flex-wrap: wrap; margin: 6px 0 18px; }
.nd-theme { border: 2px solid var(--nd-bleu); background: #fff; color: var(--nd-bleu); border-radius: 999px; padding: 6px 20px; font: inherit; font-size: 1.05rem; font-weight: 800; cursor: pointer; }
.nd-theme--actif { background: linear-gradient(180deg, var(--nd-accent-2), var(--nd-accent)); border-color: transparent; color: #fff; min-width: 120px; }
.nd-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.nd-tuile { border-radius: 22px; padding: 16px 18px 18px; border: 2px solid #b9d3f5; background: #eaf3ff; display: flex; flex-direction: column; }
.nd-tuile[hidden] { display: none; }
.nd-tuile--1 { background: #f3eaff; border-color: #d7c2f5; }
.nd-tuile--2 { background: #e9f8ee; border-color: #bfe6cb; }
.nd-tuile--3 { background: #fff1e2; border-color: #f7d2a8; }
.nd-tuile--4 { background: #ffeaf4; border-color: #f6c3dc; }
.nd-tuile__haut { display: flex; align-items: center; gap: 10px; }
.nd-tuile__dessin { font-size: 2.8rem; line-height: 1; }
.nd-tuile__theme { background: rgba(255, 255, 255, .75); color: var(--nd-bleu); font-weight: 800; border-radius: 999px; padding: 4px 14px; }
.nd-tuile__titre { margin: 10px 0 0; font-size: clamp(1.2rem, 1.8vw, 1.7rem); font-weight: 800; color: var(--nd-bleu); line-height: 1.15; overflow-wrap: anywhere; }
.nd-tuile__radio { margin: 2px 0 14px; color: #4f6db8; font-weight: 700; }
.nd-tuile .media-card__thumb { margin-top: auto; }
.nd-tuile .nd-btn-ecouter { width: 100%; justify-content: center; }
.nd-tuile audio { width: 100%; margin-top: auto; }
.nd-points { display: flex; justify-content: center; gap: 10px; margin-top: 18px; }
.nd-point { width: 14px; height: 14px; border-radius: 50%; border: 0; background: #f5b37a; cursor: pointer; padding: 0; }
.nd-point--actif { background: var(--nd-accent); transform: scale(1.25); }
@media (max-width: 1100px) { .nd-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .nd-grille { grid-template-columns: minmax(0, 1fr); }
  .nd-une { flex-wrap: wrap; padding: 26px 16px 18px; }
  .nd-une__casque { font-size: 3rem; padding-right: 12px; }
  .nd-une__lecteur, .nd-une audio { width: 100%; }
  .nd-btn-ecouter--grand { width: 100%; justify-content: center; }
}

/* 20/11 (soir) : les anciens styles des lecteurs (.media-card, css/style.css) ne s'appliquent plus ici
   (bouton « Écouter » coupé / carré foncé sous le bouton) */
body.v2-nd .nd-carte .media-card { flex: none !important; scroll-snap-align: none; box-shadow: none; transform: none !important; }
body.v2-nd .nd-carte .nd-tuile.media-card { padding: 16px 18px 18px !important; border-radius: 22px !important; display: flex !important; }
body.v2-nd .nd-carte .nd-tuile--0.media-card { background: #eaf3ff !important; }
body.v2-nd .nd-carte .nd-tuile--1.media-card { background: #f3eaff !important; }
body.v2-nd .nd-carte .nd-tuile--2.media-card { background: #e9f8ee !important; }
body.v2-nd .nd-carte .nd-tuile--3.media-card { background: #fff1e2 !important; }
body.v2-nd .nd-carte .nd-tuile--4.media-card { background: #ffeaf4 !important; }
body.v2-nd .nd-carte .nd-une.media-card { display: flex !important; background: linear-gradient(90deg, #fde3c4, #fbd7b0) !important; border: 0 !important; margin: 0 0 18px !important; padding: 22px 26px !important; border-radius: 26px !important; }
body.v2-nd .nd-carte .nd-une.media-card::before { content: none !important; }
body.v2-nd .nd-carte .media-card__thumb { aspect-ratio: auto !important; height: auto !important; background: none !important; border-radius: 0 !important; display: block !important; padding: 0 !important; }
body.v2-nd .nd-carte .media-card__play { width: auto !important; height: auto !important; border-radius: 999px !important; display: inline-flex !important; align-items: center; justify-content: center; gap: 10px; padding: 12px 30px !important; font-size: 1.15rem !important; font-weight: 800; color: #fff !important; background: linear-gradient(180deg, #2b8cff, #0b5fe6) !important; box-shadow: 0 5px 12px rgba(11, 95, 230, .3) !important; white-space: nowrap; }
body.v2-nd .nd-carte .nd-btn-ecouter--grand.media-card__play { font-size: 1.5rem !important; padding: 14px 40px !important; }
body.v2-nd .nd-carte .nd-tuile .media-card__play { width: 100% !important; }
body.v2-nd .nd-carte .nd-tuile[hidden] { display: none !important; }
body.v2-nd .nd-carte .nd-une audio { width: 360px !important; max-width: 100%; flex: 0 0 auto; }

/* ======================= Pages en étapes (maquettes « Créer une émission », « Ajouter un podcast ») ======================= */
.nd-titre__textes { min-width: 0; }
.nd-titre__sous { margin: 2px 0 0; font-weight: 800; color: var(--nd-encre); font-size: clamp(.8rem, 1.2vw, 1.05rem); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.v2-nd .nd-carte.v2-wizard { max-width: none !important; margin: 22px 0 0 !important; padding: 22px 26px 28px !important; width: auto; }
body.v2-nd .nd-seule { grid-template-columns: minmax(0, 1fr) !important; }
body.v2-nd .nd-carte.v2-wizard .v2-wizard__retour, body.v2-nd .nd-carte.v2-wizard .v2-wizard__intro { display: none !important; }
body.v2-nd .nd-carte.v2-wizard .nd-etapes-haut { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 18px; }
/* Frise des étapes : ✓ fait (vert), n° en cours (bleu), à venir (gris) */
body.v2-nd .nd-carte .v2-wizard__progress { flex: 1; display: flex; align-items: center; gap: 0; margin: 0 !important; min-width: 280px; }
body.v2-nd .nd-carte .v2-wizard__dot { width: auto !important; height: auto !important; min-width: 0; display: inline-flex !important; align-items: center; gap: 10px; padding: 4px 22px 4px 4px !important; border-radius: 999px !important; border: 2px solid #b9cdf0 !important; background: #eef4ff !important; color: var(--nd-encre) !important; font: inherit !important; font-weight: 800 !important; font-size: 1.05rem !important; box-shadow: none !important; cursor: pointer; white-space: nowrap; }
body.v2-nd .nd-carte .v2-wizard__dot .nd-num { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #dfe6f2; color: var(--nd-encre); font-size: 1.15rem; }
body.v2-nd .nd-carte .v2-wizard__dot--active { border-color: #1d6fd8 !important; background: #d9ecff !important; }
body.v2-nd .nd-carte .v2-wizard__dot--active .nd-num { background: #0b5fe6; color: #fff; }
body.v2-nd .nd-carte .v2-wizard__dot--faite .nd-num { background: #1aa260; color: #fff; font-size: 0; }
body.v2-nd .nd-carte .v2-wizard__dot--faite .nd-num::before { content: "✓"; font-size: 1.4rem; }
body.v2-nd .nd-carte .v2-wizard__trait { flex: 1; min-width: 20px; height: 3px !important; background: #1d36a8 !important; opacity: .8; }
/* Titre de l'étape en bandeau + carte blanche du contenu */
body.v2-nd .nd-carte .v2-wizard__etape h2 { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 0 0 14px !important; padding: 12px 22px; border-radius: 999px; background: rgba(255, 255, 255, .7); font-family: inherit !important; font-size: clamp(1.3rem, 2.4vw, 2.1rem) !important; font-weight: 800; color: var(--nd-encre) !important; }
body.v2-nd .nd-carte .v2-wizard__etape--active { background: #fff; border-radius: 26px; padding: 18px 24px 22px; box-shadow: 0 6px 16px rgba(0, 20, 80, .1); }
body.v2-nd .nd-carte .v2-wizard__etape--active > h2 { margin: -6px -8px 16px !important; background: #eef7ff; }
.nd-facultatif { font-size: 1rem; font-weight: 800; color: #1d6fd8; background: #e3eefc; border: 2px solid #b9cdf0; border-radius: 999px; padding: 4px 16px; }
body.v2-nd .nd-carte .v2-wizard__etape p.v2-wizard__aide { font-size: 1.1rem !important; font-style: italic; color: var(--nd-encre) !important; margin: 0 0 16px !important; }
/* Cases à cocher en grosses pastilles */
body.v2-nd .nd-carte .v2-wizard__cases { gap: 14px !important; }
body.v2-nd .nd-carte .v2-wizard__case { display: inline-flex !important; align-items: center; gap: 12px; padding: 12px 22px !important; border-radius: 16px !important; border: 2px solid #b9cdf0 !important; background: #fff !important; color: var(--nd-encre) !important; font-size: 1.15rem !important; font-weight: 800 !important; cursor: pointer; }
body.v2-nd .nd-carte .v2-wizard__case input[type=checkbox] { width: 24px !important; height: 24px !important; accent-color: #1d6fd8; margin: 0; }
body.v2-nd .nd-carte .v2-wizard__case:has(input:checked) { border-color: #1d6fd8 !important; background: #e3eefc !important; }
body.v2-nd .nd-carte .v2-wizard__case[hidden] { display: none !important; }
/* Ajouter une catégorie */
body.v2-nd .nd-carte .v2-categorie-ajout__form { display: flex; gap: 14px; margin: 16px 0 6px; flex-wrap: wrap; }
body.v2-nd .nd-carte .v2-categorie-ajout__champ { flex: 1 1 260px; min-height: 52px; border: 2px solid #b9cdf0 !important; border-radius: 12px !important; padding: 0 16px !important; font: inherit; font-size: 1.05rem !important; background: #fff !important; color: var(--nd-encre) !important; }
body.v2-nd .nd-carte .v2-categorie-ajout__liste { margin-top: 12px; }
/* Champs */
body.v2-nd .nd-carte .v2-wizard__champ label { font-size: 1.05rem !important; color: var(--nd-encre) !important; }
body.v2-nd .nd-carte .v2-wizard__champ select, body.v2-nd .nd-carte .v2-wizard__champ input[type=text], body.v2-nd .nd-carte .v2-wizard__champ input[type=number], body.v2-nd .nd-carte .v2-wizard__champ textarea { min-height: 52px; border: 2px solid #b9cdf0 !important; border-radius: 12px !important; font-size: 1.05rem !important; background: #fff !important; color: var(--nd-encre) !important; }
/* Boutons */
body.v2-nd .nd-carte .v2-btn { border-radius: 999px !important; font-weight: 800 !important; }
body.v2-nd .nd-carte .v2-btn--blue { background: #fff !important; color: #1d6fd8 !important; border: 2px solid #1d6fd8 !important; }
body.v2-nd .nd-carte .v2-btn--gold { background: #ffcc1a !important; color: var(--nd-encre) !important; border: 0 !important; }
body.v2-nd .nd-carte .v2-wizard__nav { margin: 18px 0 0 !important; }
body.v2-nd .nd-carte .v2-wizard__nav .v2-btn { min-height: 56px; padding: 0 30px !important; font-size: 1.2rem !important; }
body.v2-nd .nd-carte #v2-btn-suivant { background: linear-gradient(180deg, var(--nd-accent-2), var(--nd-accent)) !important; color: #fff !important; border: 0 !important; }
body.v2-nd .nd-carte #v2-btn-enregistrer { min-width: 300px; justify-content: center; font-size: 1.35rem !important; }
/* « ? Aide » à côté des 2 petits robots (pages en étapes, sans le grand panneau) */
.nd-aide-pastille { position: fixed; right: 190px; bottom: 30px; z-index: 3000; display: inline-flex; align-items: center; gap: 8px; border: 2px solid #1d36a8; background: #fff; color: #1d36a8; border-radius: 999px; padding: 8px 18px; font: inherit; font-weight: 800; font-size: 1.1rem; cursor: pointer; box-shadow: 0 6px 16px rgba(0, 20, 80, .25); }
.nd-aide-pastille span { width: 28px; height: 28px; border-radius: 50%; background: #1d36a8; color: #fff; display: grid; place-items: center; }
@media (max-width: 760px) {
  body.v2-nd .nd-carte.v2-wizard { padding: 14px !important; }
  body.v2-nd .nd-carte .v2-wizard__dot .nd-lib { display: none; }
  body.v2-nd .nd-carte .v2-wizard__dot { padding: 4px !important; }
  body.v2-nd .nd-carte .v2-wizard__etape--active { padding: 12px; }
  body.v2-nd .nd-carte #v2-btn-enregistrer { min-width: 0; }
  .nd-aide-pastille { right: 18px; bottom: 100px; }
}

/* ======================= RadioCut (maquette « Place tes sons ») ======================= */
.nd-rc-guide { margin: 0 0 14px; }
.nd-rc-frise { list-style: none; display: flex; align-items: center; gap: 0; margin: 0 0 14px; padding: 0; flex-wrap: wrap; }
.nd-rc-frise li { display: inline-flex; align-items: center; gap: 10px; padding: 4px 22px 4px 4px; border-radius: 999px; border: 2px solid #b9cdf0; background: #eef4ff; font-weight: 800; font-size: 1.05rem; color: var(--nd-encre); white-space: nowrap; }
.nd-rc-frise li + li { margin-left: 46px; position: relative; }
.nd-rc-frise li + li::before { content: ""; position: absolute; left: -48px; width: 44px; top: 50%; height: 3px; background: #1d36a8; opacity: .8; }
.nd-rc-frise li span { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #dfe6f2; }
.nd-rc-frise li.nd-rc--actif { border-color: #1d6fd8; background: #d9ecff; }
.nd-rc-frise li.nd-rc--actif span { background: #0b5fe6; color: #fff; }
.nd-rc-frise li.nd-rc--fait span { background: #1aa260; color: #fff; font-size: 0; }
.nd-rc-frise li.nd-rc--fait span::before { content: "✓"; font-size: 1.3rem; }
body.v2-nd .nd-carte .nd-rc-guide h2.nd-rc-message { margin: 0 !important; background: #eef7ff; font-size: clamp(1.15rem, 2.1vw, 1.9rem) !important; }
.nd-rc-explications { margin: 0 0 12px; }
.nd-rc-explications summary { cursor: pointer; font-weight: 800; color: #1d6fd8; }
/* Boutons d'import : bleus pleins, Enregistrer en jaune */
/* Mode sombre du site : RadioCut reste clair comme la maquette (les variables sombres de style.css rendaient le montage bleu nuit) */
body.v2-nd .radiocut { --v2-ink: #1B2333; --v2-ink-soft: #6B7280; --v2-border: #cfe0f5; --v2-card: #FFFFFF; --v2-sky-bg: #EAF4FD; --v2-sky-bg-2: #F6FAFE; --v2-titre: #14213D; --paper: #F2F4F1; --card: #FFFFFF; --ink: #1B1B1E; --ink-soft: #5B5F6B; --border: #E2E4E0; --titre: #14213D; color: #1B2333; }
body.v2-nd .nd-carte .radiocut__piste-voie { background: #F6FAFE !important; border: 2px dashed #b9cdf0 !important; }
body.v2-nd .nd-carte .radiocut__piste-voie--survol { background: #d9ecff !important; border-color: #1d6fd8 !important; }
body.v2-nd .nd-carte .radiocut__actions { gap: 14px; margin-bottom: 16px; }
body.v2-nd .nd-carte .radiocut__actions .v2-btn { min-height: 50px; padding: 0 24px !important; font-size: 1.1rem !important; }
body.v2-nd .nd-carte .radiocut__actions .v2-btn--blue { background: linear-gradient(180deg, #2b8cff, #0b5fe6) !important; color: #fff !important; border: 0 !important; }
/* « Mes sons » à gauche */
body.v2-nd .nd-carte .radiocut__module { gap: 18px; }
body.v2-nd .nd-carte .radiocut__sons { flex-basis: 300px; background: #eef7ff !important; border: 2px solid #cfe0f5 !important; border-radius: 22px !important; padding: 14px !important; }
body.v2-nd .nd-carte .radiocut__sons h4, body.v2-nd .nd-carte .radiocut__titre-montage { margin: 0 0 10px; font-size: 1.35rem; font-weight: 800; color: var(--nd-encre) !important; }
body.v2-nd .nd-carte .radiocut__son { background: linear-gradient(160deg, #1e6fe8, #0b3fae) !important; border: 3px solid #ffd21a !important; border-radius: 18px !important; padding: 12px !important; color: #fff; }
body.v2-nd .nd-carte .radiocut__son-titre, body.v2-nd .nd-carte .radiocut__son-duree { color: #fff !important; font-size: 1rem !important; }
body.v2-nd .nd-carte .radiocut__son-forme { background: transparent !important; height: 40px; }
body.v2-nd .nd-carte .radiocut__son-actions button { background: transparent !important; border: 2px solid #fff !important; color: #fff !important; font-size: .95rem !important; padding: 4px 16px !important; }
.radiocut__son-ajouter { width: 100%; border: 2px solid #fff; background: rgba(255, 255, 255, .12); color: #fff; border-radius: 999px; padding: 8px 12px; font: inherit; font-weight: 800; font-size: 1rem; cursor: pointer; }
.radiocut__son-ajouter:hover { background: rgba(255, 255, 255, .25); }
body.v2-nd .nd-carte .radiocut__aide-sons--courte { margin: 10px 0 6px !important; font-size: .95rem !important; font-style: italic; text-align: center; color: var(--nd-encre) !important; }
.radiocut__astuces summary { cursor: pointer; font-weight: 700; color: #1d6fd8; font-size: .9rem; }
/* « Ligne de montage » à droite */
body.v2-nd .nd-carte .radiocut__pistes-zone { background: #f4faff; border: 2px solid #cfe0f5; border-radius: 22px; padding: 14px; }
body.v2-nd .nd-carte .radiocut__toolbar { align-items: center; }
body.v2-nd .nd-carte .radiocut__titre-montage { margin: 0 auto 0 0 !important; }
body.v2-nd .nd-carte .radiocut__pistes-scroll { background: #fff; border-radius: 14px; }
body.v2-nd .nd-carte .radiocut__regle-jouer { width: 44px; height: 44px; border-radius: 50%; border: 0; background: linear-gradient(180deg, #2b8cff, #0b5fe6); color: #fff; font-size: 0; cursor: pointer; }
body.v2-nd .nd-carte .radiocut__regle-jouer::before { content: "▶"; font-size: 1.1rem; }
body.v2-nd .nd-carte .radiocut__piste-entete span { font-weight: 800; color: var(--nd-encre); }
/* Piste 1 vide : « Dépose ton son ici » */
body.v2-nd .nd-carte .radiocut__piste:first-child .radiocut__piste-voie:not(:has(.radiocut__poste-bloc))::after { content: "⬇  Dépose ton son ici"; position: absolute; left: 10px; top: 50%; transform: translateY(-50%); padding: 10px 18px; border: 2px dashed #1d6fd8; border-radius: 12px; background: #e3eefc; color: #1d36a8; font-weight: 800; pointer-events: none; white-space: nowrap; }
body.v2-nd .nd-carte .radiocut__piste-voie { position: relative; }
/* Bas : durée, Écouter le montage, Assembler */
.nd-rc-bas { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; margin-top: 6px; }
body.v2-nd .nd-carte .nd-rc-bas .v2-btn { min-height: 56px; padding: 0 30px !important; font-size: 1.2rem !important; }
body.v2-nd .nd-carte .nd-rc-ecouter { background: #e3eefc !important; color: #1d36a8 !important; border: 2px solid #b9cdf0 !important; }
body.v2-nd .nd-carte .nd-rc-bas .v2-btn:disabled { opacity: .5; }
@media (max-width: 760px) {
  .nd-rc-frise li { font-size: .9rem; padding-right: 12px; }
  .nd-rc-frise li + li { margin-left: 18px; }
  .nd-rc-frise li + li::before { left: -18px; width: 16px; }
  body.v2-nd .nd-carte .radiocut__sons { flex-basis: 100%; }
}

/* ===== Personnaliser ma radio (admin/radio.php, fiche de SA radio) — 20/11, maquette « Diaporama » ===== */
body.v2-nd [data-nd-onglet][hidden] { display: none !important; }
body.v2-nd .nd-cache { display: none !important; }
.nd-perso { color: var(--nd-encre); }
.nd-perso .v2-admin-modal__entete, .nd-perso__cadre { all: unset; display: block; }
.nd-perso__rond { width: 52px; height: 52px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(180deg, var(--nd-accent-2), var(--nd-accent)); box-shadow: 0 4px 10px rgba(15, 155, 148, .35); }
.nd-perso__rond svg { width: 30px; height: 30px; }
.nd-perso__radio { display: flex; align-items: center; gap: 16px; margin: 16px 0 14px; font-size: clamp(1.4rem, 2.6vw, 2.3rem); font-weight: 800; color: var(--nd-encre); }
.nd-perso__radio .nd-perso__rond { width: 66px; height: 66px; }
.nd-perso__radio .nd-perso__rond svg { width: 38px; height: 38px; }
.nd-perso-onglets { display: flex; background: #fff; border: 2px solid #c9d8f2; border-radius: 999px; padding: 4px; margin: 0 0 20px; gap: 4px; }
.nd-perso-onglets button { flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; border: 0; border-radius: 999px; background: transparent; color: #1d36a8; font: inherit; font-weight: 800; font-size: 1.12rem; cursor: pointer; position: relative; }
.nd-perso-onglets button + button::before { content: ""; position: absolute; left: -3px; top: 25%; height: 50%; width: 2px; background: #c9d8f2; }
.nd-perso-onglets button.is-actif::before, .nd-perso-onglets button.is-actif + button::before { display: none; }
.nd-perso-onglets button svg { width: 28px; height: 28px; flex: 0 0 auto; }
.nd-perso-onglets button:hover { background: #eef7f7; }
.nd-perso-onglets button.is-actif { color: #fff; background: linear-gradient(180deg, var(--nd-accent-2), var(--nd-accent)); box-shadow: 0 4px 10px rgba(15, 155, 148, .35); }
body.v2-nd .nd-perso h2.nd-perso-titre { display: flex; align-items: center; gap: 14px; margin: 0 0 16px !important; font-size: clamp(1.25rem, 2.2vw, 1.9rem) !important; font-weight: 800; color: var(--nd-encre) !important; }
.nd-perso #form-radio { all: unset; display: block; }
.nd-perso .field { margin-bottom: 18px; }
.nd-perso .field > label { font-weight: 800; color: var(--nd-encre); font-size: 1.05rem; }
.nd-perso input[type="text"], .nd-perso input[type="url"], .nd-perso textarea { border: 2px solid #c9d8f2 !important; border-radius: 14px !important; padding: 10px 14px !important; font-size: 1rem; background: #fff !important; color: var(--nd-encre) !important; }
.nd-perso .hint { color: #3b4a6b; }
/* Rubriques dont le titre suffit */
.nd-perso [data-nd-onglet="logo"] > label[for="logo"], .nd-perso [data-nd-onglet="diaporama"] > label[for="header_image"], .nd-perso [data-nd-onglet="lecteur"] > label[for="v2-widget-code"] { display: none; }
/* Importer / Créer : 2 boutons, le champ fichier est caché (« Importer » l'ouvre) */
.nd-perso .v2-mode-tabs { gap: 14px; margin: 4px 0 16px; }
.nd-perso .v2-mode-tab { min-height: 46px; padding: 0 22px; font-size: 1.05rem; font-weight: 800; border: 2px solid #1d36a8; background: #fff; color: #1d36a8; }
.nd-perso .v2-mode-tab[data-mode="import"] { background: linear-gradient(180deg, #2b8cff, #0b5fe6); border-color: #0b5fe6; color: #fff; }
.nd-perso .v2-mode-tab--actif[data-mode="studio"] { background: #e3eefc; }
.nd-perso .v2-mode-panneau input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
/* Diaporama : cartes numérotées, légende, ◀ ▶ 🗑 */
.nd-perso .v2-diapo-admin { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; margin: 6px 0 12px; }
.nd-perso .v2-diapo-admin:empty { display: none; }
.nd-perso .v2-diapo-admin__item { width: auto; background: #fff; border: 2px solid #2b4fd0; border-radius: 16px; padding: 6px; overflow: visible; box-shadow: 0 4px 10px rgba(0, 39, 116, .12); }
.nd-perso .v2-diapo-admin__item--nouvelle { border-style: dashed; }
.nd-perso .v2-diapo-admin__item img { height: 100px; border-radius: 10px; }
.nd-perso .v2-diapo-admin__num { top: -8px; left: -8px; min-width: 32px; height: 32px; border-radius: 50%; background: #10225e; border: 3px solid #fff; font-size: 1rem; }
.nd-perso .v2-diapo-admin__legende { margin-top: 6px; border: 2px solid #c9d8f2 !important; border-radius: 999px !important; padding: 5px 12px !important; min-height: 0; height: 34px; resize: none; font-size: .9rem; overflow: hidden; }
.nd-perso .v2-diapo-admin__legende:focus { height: 64px; border-radius: 12px !important; overflow: auto; }
.nd-perso .v2-diapo-admin__actions { margin-top: 4px; }
.nd-perso .v2-diapo-admin__actions button { border: 0 !important; font-size: 1.1rem; color: #10225e; padding: 4px 0; border-radius: 8px; }
.nd-perso .v2-diapo-admin__actions button + button { border-left: 2px solid #e1e8f5 !important; border-radius: 0; }
/* Boutons du bas */
.nd-perso-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 28px; margin-top: 26px; }
.nd-perso-enregistrer { display: inline-flex; align-items: center; gap: 14px; min-height: 60px; padding: 0 56px; border: 0; border-radius: 999px; background: linear-gradient(180deg, var(--nd-accent-2), var(--nd-accent)); color: #fff; font: inherit; font-size: 1.5rem; font-weight: 800; cursor: pointer; box-shadow: 0 8px 18px rgba(15, 155, 148, .35); }
.nd-perso-enregistrer svg { width: 30px; height: 30px; }
.nd-perso-enregistrer:hover { filter: brightness(1.06); }
.nd-perso-voir { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 28px; border: 2px solid #1d36a8; border-radius: 999px; background: #fff; color: #1d36a8; font-weight: 800; font-size: 1.2rem; text-decoration: none; }
.nd-perso-voir svg { width: 26px; height: 26px; }
.nd-perso-voir:hover { background: #eef4ff; }
.nd-perso .alert-success { border-radius: 14px; }
@media (max-width: 760px) {
  .nd-perso-onglets { flex-wrap: wrap; border-radius: 24px; }
  .nd-perso-onglets button { flex: 1 1 45%; font-size: .95rem; }
  .nd-perso-onglets button::before { display: none; }
  .nd-perso .v2-diapo-admin { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nd-perso-enregistrer { padding: 0 34px; }
}
.nd-perso .field[data-nd-onglet="diaporama"] { display: flex; flex-direction: column; }
.nd-perso .field[data-nd-onglet="diaporama"] > .v2-mode-tabs { order: -1; }
.nd-perso .v2-diapo-admin__legende { resize: none !important; }
.nd-perso [data-nd-onglet="diaporama"] > .hint { font-size: .85rem; font-style: italic; }
.nd-perso input[type="checkbox"] { width: auto !important; flex: 0 0 auto; margin: 0; }
.nd-perso label:has(> input[type="checkbox"]) { justify-content: flex-start; }
.nd-perso .v2-diapo-admin__legende:not(:focus) { white-space: nowrap; text-overflow: ellipsis; }
.nd-perso-onglets button span { white-space: nowrap; }
.nd-perso-onglets:has(> button:nth-child(5)) button { font-size: .98rem; gap: 7px; }
.nd-perso-onglets:has(> button:nth-child(5)) button svg { width: 24px; height: 24px; }

/* ===== Frise courte « 1 · Titre ——— 2 ——— 3 » (Ajouter un podcast audio, 21/11) + étapes aux couleurs de la page ===== */
body.v2-nd .nd-carte .nd-frise-courte .v2-wizard__dot { padding: 3px !important; border-color: #d3d9e4 !important; background: #eef1f6 !important; }
body.v2-nd .nd-carte .nd-frise-courte .v2-wizard__dot .nd-lib { display: none; }
body.v2-nd .nd-carte .nd-frise-courte .v2-wizard__dot--active { padding: 4px 26px 4px 22px !important; gap: 0; border: 0 !important; background: linear-gradient(180deg, var(--nd-accent-2), var(--nd-accent)) !important; color: #fff !important; box-shadow: 0 6px 14px rgba(0, 0, 0, .15); }
body.v2-nd .nd-carte .nd-frise-courte .v2-wizard__dot--active .nd-num { display: inline-flex; align-items: center; width: auto; height: 46px; background: none; color: #fff; font-size: 1.45rem; }
body.v2-nd .nd-carte .nd-frise-courte .v2-wizard__dot--active .nd-num::after { content: "\00a0·\00a0"; }
body.v2-nd .nd-carte .nd-frise-courte .v2-wizard__dot--active .nd-lib { display: inline; font-size: 1.45rem; font-weight: 800; }
body.v2-nd .nd-carte .nd-frise-courte .v2-wizard__trait { background: #a9b3c6 !important; }
body.v2-nd--orange .nd-carte.v2-wizard .v2-wizard__etape--active > h2 { background: var(--nd-doux); background: #fdf0e1; }
.nd-h2-icone { width: 1.6em; height: 1.6em; flex: 0 0 auto; color: var(--nd-accent); }
body.v2-nd--orange .nd-carte.v2-wizard #v2-btn-suivant { background: linear-gradient(180deg, var(--nd-accent-2), var(--nd-accent)) !important; border: 0 !important; color: #fff !important; box-shadow: 0 6px 14px rgba(242, 106, 12, .3); }
body.v2-nd--orange .nd-carte.v2-wizard #v2-btn-precedent { background: #fff !important; border: 2px solid var(--nd-bleu) !important; color: var(--nd-bleu) !important; }
@media (max-width: 760px) {
  body.v2-nd .nd-carte .nd-frise-courte .v2-wizard__dot--active .nd-lib { display: inline !important; font-size: 1.1rem; }
  body.v2-nd .nd-carte .nd-frise-courte .v2-wizard__dot--active .nd-num { font-size: 1.1rem; height: 38px; }
  body.v2-nd .nd-carte .nd-frise-courte .v2-wizard__dot--active { padding: 2px 16px !important; }
  body.v2-nd .nd-carte .v2-wizard__nav .v2-btn { padding: 0 18px !important; font-size: 1.05rem !important; white-space: nowrap; }
}

/* Étape faite dans la frise courte : « ✓ Titre » (maquette « Fichiers audio », 21/11) */
body.v2-nd .nd-carte .nd-frise-courte .v2-wizard__dot--faite { padding: 3px 22px 3px 16px !important; gap: 8px; background: #eef4ff !important; border-color: #9fb6e6 !important; }
body.v2-nd .nd-carte .nd-frise-courte .v2-wizard__dot--faite .nd-num { width: auto; height: 42px; background: none; color: var(--nd-bleu); }
body.v2-nd .nd-carte .nd-frise-courte .v2-wizard__dot--faite .nd-lib { display: inline; font-size: 1.35rem; font-weight: 800; color: var(--nd-bleu); }
body.v2-nd .nd-carte .nd-frise-courte .v2-wizard__dot--faite + .v2-wizard__trait { background: var(--nd-bleu) !important; }
/* Fichiers : un seul gros bouton « Choisir des fichiers audio » (le champ fichier natif est caché) + une carte par fichier */
body.v2-nd .nd-carte [data-mode-tabs="fichier"] { gap: 14px; margin-bottom: 14px; }
body.v2-nd .nd-carte [data-mode-tabs="fichier"] .v2-mode-tab { min-height: 50px; padding: 0 24px; font-size: 1.1rem; font-weight: 800; border: 2px solid var(--nd-bleu); background: #fff; color: var(--nd-bleu); }
body.v2-nd .nd-carte [data-mode-tabs="fichier"] .v2-mode-tab[data-mode="import"] { border: 0; background: linear-gradient(180deg, var(--nd-accent-2), var(--nd-accent)); color: #fff; box-shadow: 0 6px 14px rgba(0, 0, 0, .15); }
body.v2-nd .nd-carte [data-mode-panneau="fichier"] #fichier { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
body.v2-nd .nd-carte [data-mode-panneau="fichier"] label[for="fichier"] { display: none; }
.nd-fichier { margin-top: 12px; border: 2px solid #c9d3f0; border-radius: 18px; overflow: hidden; background: #fff; }
.nd-fichier__haut { display: flex; align-items: center; gap: 14px; padding: 10px 16px; background: #eef0fb; }
.nd-fichier__haut strong { font-size: 1.25rem; color: var(--nd-encre); overflow-wrap: anywhere; }
.nd-fichier__icone { width: 48px; height: 48px; flex: 0 0 auto; border-radius: 12px; display: grid; place-items: center; background: #d9d4fb; color: #5b2fd0; font-size: 1.6rem; }
.nd-fichier__ligne { display: flex; align-items: center; gap: 14px; padding: 12px 16px; flex-wrap: wrap; }
body.v2-nd .nd-carte .nd-fichier__titre { flex: 0 0 auto; padding: 10px 18px; border-radius: 999px; background: #fdf0e1; font-weight: 800; font-size: 1.1rem !important; color: var(--nd-encre) !important; }
body.v2-nd .nd-carte .nd-fichier__ligne input { flex: 1 1 240px; min-height: 48px; border: 2px solid #b9cdf0 !important; border-radius: 12px !important; padding: 0 14px; font-size: 1.05rem; }
@media (max-width: 760px) {
  body.v2-nd .nd-carte .nd-frise-courte .v2-wizard__dot--faite .nd-lib { display: none; }
  body.v2-nd .nd-carte .nd-frise-courte .v2-wizard__dot--faite { padding: 3px !important; }
}
/* « ? Aide » et les robots restent en bas à droite : de la place sous la carte pour ne pas cacher « Suivant » */
body.v2-nd:has(.nd-aide-pastille) .nd { padding-bottom: 110px; }

/* ===== Musique et playlists (admin/musiques.php) — 21/11, maquette rose ===== */
.nd-musiques__haut { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.nd-musiques__haut .nd-btn-principal { min-height: 50px; font-size: 1.1rem; }
.nd-musiques__recherche { gap: 14px; }
.nd-btn-rechercher { min-height: 58px; padding: 0 30px; border: 0; border-radius: 999px; background: linear-gradient(180deg, #2b8cff, #0b5fe6); color: #fff; font: inherit; font-size: 1.2rem; font-weight: 800; cursor: pointer; box-shadow: 0 6px 14px rgba(11, 95, 230, .3); }
.nd-filtres__libelle { align-self: center; font-weight: 800; color: var(--nd-gris); font-size: .92rem; }
.nd-tableau { background: #fff; border-radius: 24px; padding: 8px; box-shadow: 0 6px 16px rgba(0, 20, 80, .08); }
.nd-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.nd-table thead th { background: var(--nd-doux); color: var(--nd-bleu); font-size: 1.15rem; font-weight: 800; text-align: left; padding: 14px 12px; }
.nd-table thead th:first-child { border-radius: 18px 0 0 18px; }
.nd-table thead th:last-child { border-radius: 0 18px 18px 0; }
.nd-table thead th:nth-child(n+3) { text-align: center; }
.nd-table tbody td { padding: 12px; border-bottom: 2px solid #f3e3ee; vertical-align: middle; color: var(--nd-encre); }
.nd-table tbody tr:last-child td { border-bottom: 0; }
.nd-table tbody td:nth-child(n+3) { text-align: center; }
.nd-table__case { width: 44px; text-align: center !important; }
.nd-table input[type="checkbox"] { width: 24px; height: 24px; accent-color: var(--nd-bleu); cursor: pointer; }
.nd-table__morceau strong { display: block; font-size: 1.2rem; font-weight: 800; color: #10225e; }
.nd-table__morceau em { display: block; color: #5c6c93; font-size: .98rem; }
.nd-table__actions { white-space: nowrap; }
.nd-table__actions > * { vertical-align: middle; }
.nd-table__actions .nd-plus { display: inline-block; margin-left: 8px; }
.nd-table__actions .nd-plus > summary { width: 46px; height: 46px; background: #fff; border: 2px solid var(--nd-bleu); }
.nd-btn-crayon { display: inline-flex; align-items: center; gap: 8px; border: 2px solid var(--nd-bleu); border-radius: 999px; padding: 8px 20px; background: #fff; color: var(--nd-bleu); font-weight: 800; font-size: 1.05rem; text-decoration: none; }
.nd-btn-crayon svg { width: 20px; height: 20px; color: #f26a0c; }
.nd-btn-crayon:hover { background: #eef4ff; }
.nd-plus__info { margin: 4px 12px 6px; font-size: .88rem; color: var(--nd-gris); font-weight: 700; }
.nd-statut { display: inline-block; min-width: 110px; padding: 6px 16px; border-radius: 999px; border: 0; font: inherit; font-weight: 800; font-size: 1.05rem; line-height: 1.3; }
button.nd-statut { cursor: pointer; }
.nd-statut--actif { background: #d9f7e5; color: #128045; }
.nd-statut--inactif { background: #e6e9f0; color: #5c6c93; }
.nd-statut--attente { background: #ffedcc; color: #a85a00; }
.nd-statut--refuse { background: #ffd9dc; color: #c41d2e; }
body.v2-nd .nd-table .v2-pastilles-playlist { justify-content: center; gap: 6px; }
body.v2-nd .nd-table .v2-pastille-playlist { border-radius: 999px; padding: 6px 18px; border: 0; background: #ecdcfb; color: #6b2fb3; font-size: 1.02rem; font-weight: 800; }
body.v2-nd .nd-table .v2-pastille-playlist--sans { background: #f1e6fb; color: #8a5bbf; }
.nd-musiques .nd-selection { min-height: 30px; }
.nd-musiques .nd-selection__actions { align-items: center; }
.nd-musiques .nd-vide { text-align: center; padding: 26px; font-weight: 700; color: var(--nd-gris); }
@media (max-width: 760px) {
  .nd-table thead { display: none; }
  .nd-table, .nd-table tbody { display: block; }
  .nd-table tbody tr { display: grid; grid-template-columns: 36px auto 1fr; gap: 8px 10px; align-items: center; padding: 12px 6px; border-bottom: 2px solid #f3e3ee; }
  .nd-table tbody td { display: block; padding: 0; border: 0; text-align: left !important; }
  .nd-table tbody td.nd-table__morceau, .nd-table tbody td.nd-table__actions { grid-column: 2 / 4; }
  .nd-table tbody td:nth-child(3) { grid-column: 2; }
  .nd-table tbody td:nth-child(4) { grid-column: 3; }
  .nd-table tbody td.nd-vide { grid-column: 1 / -1; }
  .nd-statut { min-width: 0; }
  .nd-btn-rechercher { width: 100%; }
}
/* RadioCut : vrai bouton « ▶ Écouter » sur la carte du son, la corbeille reste petite à côté (21/11) */
body.v2-nd .nd-carte .radiocut__son-actions { display: flex; gap: 8px; align-items: center; }
body.v2-nd .nd-carte .radiocut__son-actions .radiocut__son-ecouter { flex: 1; font-weight: 800; font-size: 1.05rem !important; padding: 6px 14px !important; border-radius: 999px; }
body.v2-nd .nd-carte .radiocut__son-actions [data-action="supprimer"] { flex: 0 0 auto; border-radius: 999px; padding: 6px 12px !important; }

/* ===== Mon équipe et rôles (admin/utilisateurs.php) — 21/11, maquette violette ===== */
.nd-equipe__haut { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.nd-equipe__boutons { display: inline-flex; gap: 12px; flex-wrap: wrap; }
.nd-equipe__boutons .nd-btn-principal { min-height: 50px; font-size: 1.1rem; }
.nd-btn-second { display: inline-flex; align-items: center; min-height: 50px; padding: 0 22px; border-radius: 999px; border: 2px solid var(--nd-accent); background: #fff; color: var(--nd-accent); font-weight: 800; font-size: 1.05rem; text-decoration: none; }
.nd-btn-second:hover { background: var(--nd-doux); }
.nd-equipe__note { margin: -6px 0 12px; color: var(--nd-gris); font-weight: 600; font-size: .92rem; }
.nd-message--erreur { background: #fdebec; color: #8a2020; }
.nd-roles { display: flex; flex-wrap: wrap; gap: 14px; margin: 0 0 16px; }
.nd-role-onglet { display: inline-flex; align-items: center; gap: 8px; min-height: 50px; padding: 0 24px; border-radius: 999px; border: 2px solid var(--nd-bleu); background: #fff; color: var(--nd-bleu); font-weight: 800; font-size: 1.15rem; text-decoration: none; }
.nd-role-onglet:hover { background: #eef4ff; }
.nd-role-onglet--actif { border-color: transparent; background: linear-gradient(180deg, #2b8cff, #0b5fe6); color: #fff; box-shadow: 0 6px 14px rgba(11, 95, 230, .3); }
.nd-equipe__recherche { margin-bottom: 16px; }
.nd-btn-filtres { display: inline-flex; align-items: center; gap: 10px; min-height: 58px; padding: 0 28px; border-radius: 999px; border: 2px solid var(--nd-bleu); background: #fff; color: var(--nd-bleu); font: inherit; font-weight: 800; font-size: 1.2rem; cursor: pointer; }
.nd-btn-filtres svg { width: 24px; height: 24px; }
.nd-btn-filtres.is-actif, .nd-btn-filtres[aria-expanded="true"] { background: #e3eefc; }
.nd-filtres-plus { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; margin-top: 12px; padding: 12px 16px; background: #fff; border-radius: 18px; }
.nd-filtres-plus[hidden] { display: none; }
.nd-filtres-plus label { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--nd-encre); }
.nd-filtres-plus select, .nd-filtres-plus input[type="date"] { border: 2px solid #c9d3f0; border-radius: 12px; padding: 6px 10px; font: inherit; background: #fff; color: var(--nd-encre); }
.nd-filtres-plus__tri { display: inline-flex; flex-wrap: wrap; gap: 8px; align-items: center; font-weight: 800; color: var(--nd-gris); }
.nd-equipe__effacer { display: inline-block; margin-top: 10px; }
.nd-moi { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto auto auto; align-items: center; gap: 14px; padding: 12px 18px; margin-bottom: 14px; border-radius: 22px; background: #e9e2fb; border: 2px solid #d6caf6; }
.nd-moi__titre { font-weight: 800; font-size: 1.2rem; color: var(--nd-bleu); padding-right: 14px; border-right: 2px solid #c6b8f0; }
.nd-moi__nom, .nd-membre__nom { font-weight: 800; font-size: 1.15rem; color: #10225e; min-width: 0; overflow-wrap: anywhere; }
.nd-moi__nom small, .nd-membre__nom small { display: block; font-weight: 600; font-size: .82rem; color: var(--nd-gris); }
.nd-avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1rem; flex: 0 0 auto; }
.nd-avatar--redac { background: #12a05a; }
.nd-avatar--journa { background: #8a3fd0; }
.nd-avatar--admin { background: #0757c2; }
.nd-avatar--or { background: #c08a00; }
.nd-role { display: inline-block; padding: 5px 18px; border-radius: 999px; color: #fff; font-weight: 800; font-size: 1rem; white-space: nowrap; }
.nd-role--redac { background: #1d6fd8; }
.nd-role--journa { background: #9b3fe0; }
.nd-role--admin { background: #0b2a6f; }
.nd-role--or { background: #c08a00; }
.nd-live { display: inline-block; padding: 3px 10px; border-radius: 999px; background: #e63946; color: #fff; font-size: .8rem; font-weight: 800; white-space: nowrap; }
.nd-equipe .nd-statut--actif { background: #1aa260; color: #fff; }
.nd-equipe .nd-statut--inactif { background: #6b7385; color: #fff; }
.nd-equipe .nd-statut { min-width: 104px; }
.nd-equipe__tableau { padding: 10px 12px; }
.nd-membre { display: grid; grid-template-columns: 40px 50px minmax(0, 1.6fr) minmax(130px, 1fr) minmax(120px, .8fr) 230px; align-items: center; gap: 10px; padding: 8px 6px; border-bottom: 2px solid #ece6fa; }
.nd-membre--entete { border-radius: 18px; background: var(--nd-doux); border: 0; padding: 10px 6px; font-weight: 800; font-size: 1.15rem; color: var(--nd-bleu); }
.nd-membre--entete .nd-membre__nomcol { grid-column: 2 / 4; padding-left: 50px; }
.nd-membre__case { text-align: center; }
.nd-membre input[type="checkbox"] { width: 24px; height: 24px; accent-color: var(--nd-bleu); cursor: pointer; }
.nd-membre--inactif .nd-avatar, .nd-membre--inactif .nd-membre__nom { opacity: .55; }
.nd-membre__actions { display: inline-flex; align-items: center; gap: 8px; justify-content: flex-start; }
.nd-membre__actions .nd-plus > summary { width: 44px; height: 44px; background: #fff; border: 2px solid var(--nd-bleu); }
.nd-groupe { border-bottom: 2px solid #ece6fa; }
.nd-groupe > summary { cursor: pointer; padding: 10px 8px; font-weight: 800; color: var(--nd-accent); font-size: 1.05rem; }
.nd-groupe__nb { display: inline-block; margin-left: 6px; padding: 0 10px; border-radius: 999px; background: var(--nd-accent); color: #fff; font-size: .85rem; }
.nd-equipe__total { margin: 12px 8px 4px; font-style: italic; color: var(--nd-gris); font-weight: 600; }
.nd-equipe .nd-vide { text-align: center; padding: 22px; font-weight: 700; color: var(--nd-gris); }
@media (max-width: 900px) {
  .nd-moi { display: flex; flex-wrap: wrap; gap: 10px; }
  .nd-moi__titre { flex: 1 1 100%; border: 0; padding: 0; }
  .nd-moi__nom { flex: 1 1 150px; }
  .nd-membre { grid-template-columns: 34px 46px auto minmax(0, 1fr); }
  .nd-membre--entete { display: none; }
  .nd-membre__nom { grid-column: 3 / 5; }
  .nd-membre > span:nth-child(4) { grid-column: 3; grid-row: 2; }
  .nd-membre > span:nth-child(5) { grid-column: 4; grid-row: 2; }
  .nd-membre__actions { grid-column: 3 / 5; grid-row: 3; }
  .nd-equipe .nd-statut { min-width: 0; white-space: nowrap; font-size: .92rem; padding: 5px 12px; }
  .nd-membre { gap: 8px; padding: 8px 2px; }
  .nd-membre .nd-role { font-size: .92rem; padding: 5px 12px; }
  .nd-membre .nd-live { display: none; }
  .nd-role-onglet { min-height: 44px; padding: 0 16px; font-size: 1rem; }
  .nd-btn-filtres { width: 100%; justify-content: center; }
}

/* Pagination des listes dans le nouveau design : « Page 1 sur 3 · 62 morceaux » + boutons ronds (21/11) */
body.v2-nd .nd-carte .admin-pagination { gap: 14px !important; margin-top: 16px !important; }
body.v2-nd .nd-carte .admin-pagination__info { font-weight: 800; font-size: 1.1rem; color: var(--nd-encre); }
body.v2-nd .nd-carte .admin-pagination .v2-btn { min-height: 42px; padding: 0 20px !important; border-radius: 999px !important; border: 2px solid var(--nd-bleu) !important; background: #fff !important; color: var(--nd-bleu) !important; font-weight: 800; font-size: 1rem !important; text-decoration: none; box-shadow: none !important; }
body.v2-nd .nd-carte .admin-pagination .v2-btn:hover { background: #eef4ff !important; }
body.v2-nd .nd-carte .admin-pagination__aller { font-weight: 700; color: var(--nd-encre); }
body.v2-nd .nd-carte .admin-pagination__aller input { border: 2px solid #c9d3f0 !important; border-radius: 12px !important; background: #fff !important; color: var(--nd-encre) !important; }

/* ===== Mes playlists (admin/playlists.php) — 21/11, maquette rose ===== */
.nd-playlists__radio { margin-bottom: 14px; }
.nd-table__nb { font-size: 1.25rem; font-weight: 800; color: #10225e; }
.nd-quand { display: inline-block; padding: 6px 18px; border-radius: 999px; background: #ecdcfb; color: #6b2fb3; font-weight: 800; font-size: 1.02rem; }
.nd-quand--fixe { background: #ffd9e3; color: #c4164f; }
.nd-playlists button.nd-btn-crayon { font: inherit; font-weight: 800; font-size: 1.05rem; cursor: pointer; }
.nd-playlists .nd-musiques__haut button.nd-btn-principal { min-height: 50px; font-size: 1.1rem; }
@media (max-width: 760px) {
  .nd-table--playlists tbody td.nd-table__nb { grid-column: 2; }
  .nd-table--playlists tbody td.nd-table__nb::after { content: " morceaux"; font-size: .95rem; font-weight: 700; color: var(--nd-gris); }
  .nd-table--playlists tbody td:nth-child(4) { grid-column: 2 / 4; grid-row: auto; }
  .nd-table--playlists tbody td:nth-child(5) { grid-column: 2 / 4; }
}

/* 29/11 : « Sans playlist » sur une seule ligne, même à côté d'un titre très long */
body.v2-nd .nd-table .v2-pastille-playlist { white-space: nowrap; }
.nd-table__morceau strong { overflow-wrap: anywhere; }
/* 29/11 : choisir la playlist où déplacer les morceaux cochés */
.nd-deplacer { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 16px; padding: 14px 18px; border-radius: 18px; background: #fff; border: 2px solid var(--nd-accent); }
.nd-deplacer label { font-weight: 800; color: var(--nd-encre); }
.nd-deplacer select { min-height: 44px; border: 2px solid #c9d3f0; border-radius: 12px; padding: 0 12px; font: inherit; color: var(--nd-encre); background: #fff; }
.nd-deplacer .nd-btn-principal { border: 0; cursor: pointer; font: inherit; font-weight: 800; }
.nd-deplacer__note { flex: 1 1 100%; margin: 0; font-size: .88rem; font-style: italic; color: var(--nd-gris); }

/* 30/11 : onglets Musique / Playlists — ombre rose au lieu d'orange */
body.v2-nd--rose .nd-onglet--actif { box-shadow: 0 8px 18px rgba(214, 31, 132, .35); }

/* ==== 30/11 : « kit » pour passer les pages restantes au nouveau design sans tout réécrire ====
   <body class="v2-nd v2-nd--vert"> + <main class="nd-carte nd-carte--classique"> ; nd-corps--large = sans panneau Aide. */
body.v2-nd--vert { --nd-fond-carte: #e3f7ec; --nd-accent: #138a4c; --nd-accent-2: #2bbf72; --nd-doux: #c6ecd6; }
body.v2-nd--rouge { --nd-fond-carte: #fde6e8; --nd-accent: #d6293e; --nd-accent-2: #ff5a6e; --nd-doux: #f9cdd3; }
body.v2-nd--jaune { --nd-fond-carte: #fff6d9; --nd-accent: #c98a00; --nd-accent-2: #f5b800; --nd-doux: #fde9a8; }
body.v2-nd--bleu { --nd-fond-carte: #e5f0ff; --nd-accent: #1d6fd8; --nd-accent-2: #48a6ff; --nd-doux: #cfe2ff; }
.nd-corps--large { grid-template-columns: minmax(0, 1fr) !important; }
/* Anciennes pages dans la carte : toujours en couleurs claires (même en mode Sombre), comme RadioCut */
body.v2-nd .nd-carte--classique { --v2-ink: #1B2333; --v2-ink-soft: #5c6c93; --v2-border: #cfe0f5; --v2-card: #FFFFFF; --v2-sky-bg: #EAF4FD; --v2-sky-bg-2: #F6FAFE; --v2-titre: #0b2a6f; --paper: #F2F4F1; --card: #FFFFFF; --ink: #1B1B1E; --ink-soft: #5B5F6B; --border: #E2E4E0; --titre: #0b2a6f; color: #1B2333; max-width: none; margin: 0; }
body.v2-nd .nd-carte--classique h1, body.v2-nd .nd-carte--classique h2, body.v2-nd .nd-carte--classique h3 { color: var(--nd-encre); }
body.v2-nd .nd-carte--classique input:not([type=checkbox]):not([type=radio]):not([type=range]), body.v2-nd .nd-carte--classique select, body.v2-nd .nd-carte--classique textarea { background: #fff; color: #1B2333; border: 1px solid #b9cdf0; border-radius: 12px; }
body.v2-nd .nd-carte--classique .v2-btn--gold, body.v2-nd .nd-carte--classique .btn-primary { background: linear-gradient(180deg, var(--nd-accent-2), var(--nd-accent)) !important; color: #fff !important; border: 0 !important; border-radius: 999px !important; }
body.v2-nd .nd-carte--classique .v2-btn--blue { background: #d4e6fb !important; color: var(--nd-bleu) !important; border: 0 !important; border-radius: 999px !important; }
body.v2-nd .nd-carte--classique .v2-wizard__retour { display: none; }
/* 30/11 : étapes 1 · 2 · 3 des anciennes pages (numéro seul, sans .nd-num) : de vrais ronds, numéro centré */
body.v2-nd .nd-carte--classique .v2-wizard__dot { width: 42px !important; height: 42px !important; min-width: 42px; flex: 0 0 42px; padding: 0 !important; display: grid !important; place-items: center; border-radius: 50% !important; font-size: 1.1rem !important; line-height: 1 !important; text-align: center; background: #dfe6f2 !important; border: 2px solid #fff !important; }
body.v2-nd .nd-carte--classique .v2-wizard__dot--active { background: linear-gradient(180deg, var(--nd-accent-2), var(--nd-accent)) !important; color: #fff !important; }
body.v2-nd .nd-carte--classique .v2-wizard__dot--faite { background: #1aa260 !important; color: #fff !important; }
body.v2-nd .nd-carte--classique .v2-wizard__progress { margin: 14px 0 18px !important; }
/* 30/11 : ajout de vidéo — zone « Choisis ta vidéo / une image » (clic ou glisser-déposer) et onglets de la miniature */
body.v2-nd .nd-carte .nd-depot { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 190px; padding: 22px; border: 3px dashed var(--nd-accent-2); border-radius: 24px; background: #fff; color: var(--nd-encre); text-align: center; cursor: pointer; transition: background .15s, border-color .15s; }
body.v2-nd .nd-carte .nd-depot:hover, body.v2-nd .nd-carte .nd-depot--survol { background: var(--nd-doux); border-color: var(--nd-accent); }
body.v2-nd .nd-carte .nd-depot--petit { min-height: 140px; }
body.v2-nd .nd-carte .nd-depot__icone { font-size: 3.2rem; line-height: 1; }
body.v2-nd .nd-carte .nd-depot strong { font-size: 1.4rem; font-weight: 800; color: var(--nd-bleu); }
body.v2-nd .nd-carte .nd-depot small { font-size: .95rem; color: var(--nd-gris); }
body.v2-nd .nd-carte .nd-depot__nom { margin-top: 6px; font-weight: 800; color: #138a4c; overflow-wrap: anywhere; }
body.v2-nd .nd-carte .nd-depot--rempli { border-style: solid; border-color: #2bbf72; background: #effaf3; }
body.v2-nd .nd-carte .nd-depot__input { position: absolute; width: 1px; height: 1px; opacity: 0; bottom: 10px; left: 50%; }
body.v2-nd .nd-carte .nd-facultatif { font-size: .6em; font-weight: 700; color: var(--nd-gris); }
body.v2-nd .nd-carte [data-mode-tabs="miniature"] { gap: 14px; margin: 4px 0 16px; }
body.v2-nd .nd-carte [data-mode-tabs="miniature"] .v2-mode-tab { min-height: 50px; padding: 0 24px; font-size: 1.1rem; font-weight: 800; border: 2px solid var(--nd-bleu); background: #fff; color: var(--nd-bleu); border-radius: 999px; }
body.v2-nd .nd-carte [data-mode-tabs="miniature"] .v2-mode-tab--actif { border: 0; background: linear-gradient(180deg, var(--nd-accent-2), var(--nd-accent)); color: #fff; box-shadow: 0 6px 14px rgba(0, 0, 0, .15); }
