/* Note ton post (12/10) : l'écran de note-post.js. Air de famille : les cartes des hooks (.hk-carte), la pastille de note de « Ton hook »
   (.hk-note), les titres dorés du choix de l'IA. Rien de neuf dans la charte : vert sapin pour la note, doré pour ce qu'il reste à faire. */
.champ textarea.np-saisie { min-height: 150px; }

/* Le bilan : la note dans son anneau, puis la mention et le diagnostic. */
#np-res { max-width: 860px; }
#np-res > .panneau { margin-bottom: 16px; }
.np-bilan { display: flex; align-items: center; gap: 28px; }
.np-anneau { position: relative; flex: none; width: 132px; height: 132px; }
.np-anneau svg { display: block; width: 100%; height: 100%; }
.np-an-fond { fill: none; stroke: var(--surface); stroke-width: 11; }
.np-an-arc { fill: none; stroke: var(--bx2); stroke-width: 11; stroke-linecap: round; }
.np-an-note { position: absolute; inset: 0; display: flex; align-items: baseline; justify-content: center; padding-top: 40px; color: var(--bx); }
.np-an-note b { font-family: var(--tight); font-size: 46px; font-weight: 600; line-height: 1; letter-spacing: -.01em; }
.np-an-note small { font-size: 16px; font-weight: 500; margin-left: 2px; color: var(--or-texte); }
.np-verdict { flex: 1 1 auto; min-width: 0; }
.np-mention { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 14px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--or-texte); margin-bottom: 6px; }
.np-avant { padding: 2px 10px; border-radius: 999px; background: var(--doux); color: var(--bx2); letter-spacing: 0; text-transform: none; }
.np-verdict p { font-size: 17px; line-height: 1.45; color: var(--bx); margin: 0; }

/* Le diagramme : le radar des six critères, et les mêmes notes en barres (le doré montre ce qu'il reste à travailler, le vert ce qui est acquis). */
.np-diagramme { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); align-items: center; gap: 12px 36px; }
.np-radar { display: block; width: 100%; height: auto; overflow: visible; }
.np-rd-grille { fill: none; stroke: rgba(27,33,31,.12); stroke-width: 1; }
.np-rd-axe { stroke: rgba(27,33,31,.10); stroke-width: 1; }
.np-rd-forme { fill: rgba(31,91,82,.16); stroke: var(--bx2); stroke-width: 2.5; stroke-linejoin: round; }
.np-rd-point { fill: var(--or); stroke: var(--carte); stroke-width: 2; }
.np-rd-point.haut { fill: var(--bx2); }
.np-rd-nom { font-size: 15.5px; font-weight: 500; fill: var(--bx); }
.np-barres { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.np-barres li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 6px 12px; }
.np-b-nom { font-size: 15px; font-weight: 500; color: var(--bx); }
.np-b-note b { font-size: 15.5px; font-weight: 600; color: var(--bx); } .np-b-note small { font-size: 14px; color: var(--encre2); }
.np-jauge { grid-column: 1 / -1; display: block; height: 8px; border-radius: 999px; background: var(--surface); overflow: hidden; }
.np-jauge i { display: block; height: 100%; border-radius: 999px; background: var(--or); }
.np-jauge.haut i { background: var(--bx2); }

/* Les axes d'amélioration, classés. */
.np-axes ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.np-axe { display: flex; align-items: flex-start; gap: 14px; padding: 16px 0; border-top: 1px solid var(--ligne); }
.np-axe:first-child { border-top: 0; padding-top: 2px; } .np-axe:last-child { padding-bottom: 0; }
.np-rang { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--ok-fond); color: var(--or-texte); font-size: 15px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }
.np-axe-corps { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.np-haut { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 30px; }
.np-nom { font-size: 16px; font-weight: 600; color: var(--bx); line-height: 1.25; }
.np-pastille { flex: none; display: inline-flex; align-items: baseline; gap: 1px; padding: 3px 10px; border-radius: 999px; background: var(--ok-fond); color: var(--or-texte); white-space: nowrap; }
.np-pastille.haut { background: var(--doux); color: var(--bx2); }
.np-pastille b { font-size: 15.5px; font-weight: 600; } .np-pastille small { font-size: 14px; font-weight: 500; }
.np-diag { font-size: 15px; color: var(--bx); margin: 0; }
.np-action, .np-plutot { font-size: 15px; color: var(--encre2); margin: 0; }
.np-action b, .np-plutot b { font-weight: 600; color: var(--or-texte); margin-right: 6px; }
.np-plutot { color: var(--bx); font-weight: 500; }
.np-plutot .btn { margin-left: 8px; vertical-align: baseline; }

/* La nouvelle version du post. */
.np-aide { font-size: 15px; color: var(--encre2); margin: 0 0 14px; }
.np-post { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 16px; line-height: 1.55; color: var(--bx); background: var(--fond); border-radius: 14px; padding: 16px 18px; }
.np-changements { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.np-changements li { position: relative; padding-left: 18px; font-size: 15px; color: var(--encre2); }
.np-changements li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--or); }
.np-boutons { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; }
.np-aide + .np-boutons { margin-top: 0; }
#np-msg-version:not(:empty) { margin-top: 14px; }
#np-res:not(:empty) { margin-bottom: 36px; }

@media (max-width: 640px) {
  .np-bilan { flex-direction: column; align-items: flex-start; gap: 16px; }
  .np-anneau { width: 116px; height: 116px; }
  .np-an-note { padding-top: 35px; } .np-an-note b { font-size: 40px; }
  .np-verdict p { font-size: 16px; }
  .np-diagramme { grid-template-columns: minmax(0, 1fr); }
  .np-radar { max-width: 340px; margin: 0 auto; }
  .np-axe { gap: 12px; }
  .np-plutot .btn { display: flex; margin: 8px 0 0; }
  .np-boutons { flex-direction: column; align-items: stretch; }
  .np-boutons .btn { justify-content: center; min-height: 48px; }
}
