/* ================================================================
   Fond global animé (toutes les pages utilisateur) — voir
   review/GLOBAL_ANIMATED_BACKGROUND.md. Une seule implémentation,
   posée une fois dans index.html, jamais dupliquée par page. Toujours
   derrière le contenu (position:fixed, z-index négatif, pointer-events
   none) : ne peut jamais intercepter un clic, un scroll ou bloquer une
   modale (les <dialog> natifs rendent de toute façon dans le top layer
   du navigateur, au-dessus de tout, indépendamment du z-index ici).
   PUREMENT ABSTRAIT : aucune icône, aucun pictogramme, aucune forme
   figurative. Chaque forme porte son propre dégradé interne à plusieurs
   paliers (pas juste "couleur -> transparent 70%") : c'est ce dégradé qui
   fait le travail de diffusion, pas un blur énorme — évite le rendu
   granuleux/pixelisé d'un blur(80-120px) appliqué à un immense élément
   qu'on scale en plus (le navigateur downscale-blur-upscale un calque
   géant, ce qui produit des artefacts de rééchantillonnage visibles,
   amplifiés par le scale animé). Blur limité à 20-34px, purement pour
   adoucir les bords, jamais pour créer la forme elle-même. Contours
   organiques (border-radius asymétrique, jamais un cercle parfait).
   Trois profondeurs : arrière (grande, contraste très faible, lente),
   milieu (plus présente, mouvement bien visible), avant (petite, très
   transparente). Le vignettage (::after) reste au-dessus de tout.
   ================================================================ */
:root {
  --app-bg-base:
    radial-gradient(ellipse 70% 55% at 15% 10%, rgba(77, 230, 196, .045), transparent 55%),
    radial-gradient(ellipse 65% 55% at 85% 90%, rgba(79, 200, 240, .04), transparent 55%),
    radial-gradient(ellipse 140% 110% at 50% 8%, #0b1623 0%, #09131d 42%, #08101b 72%, #060a10 100%);
}
.app-background { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--app-bg-base); pointer-events: none }

/* Quatre formes, chacune avec un dégradé interne à paliers (structure visuelle propre,
   pas une simple tache). Blur faible (20-34px), jamais la source de la forme. */
.app-bg-glow { position: absolute; will-change: transform, opacity }

/* Arrière : grande, contraste très faible, lente */
.app-bg-glow-a { width: 46vmax; height: 46vmax; left: -8vw; top: -10vh; border-radius: 42% 58% 63% 37% / 48% 38% 62% 52%; filter: blur(34px); background: radial-gradient(ellipse at 38% 32%, rgba(77,230,196,.16), rgba(79,200,240,.05) 45%, transparent 74%); animation: appBgDriftA 30s ease-in-out infinite }
.app-bg-glow-b { width: 42vmax; height: 42vmax; right: -6vw; bottom: -12vh; border-radius: 58% 42% 39% 61% / 55% 62% 38% 45%; filter: blur(30px); background: radial-gradient(ellipse at 65% 68%, rgba(79,200,240,.18), rgba(77,230,196,.06) 45%, transparent 74%); animation: appBgDriftB 26s ease-in-out infinite }

/* Milieu : plus présente, mouvement bien visible, plus centrale */
.app-bg-glow-c { width: 30vmax; height: 30vmax; top: 32%; left: 9vw; border-radius: 46% 54% 60% 40% / 44% 50% 50% 56%; filter: blur(24px); background: radial-gradient(circle at 40% 40%, rgba(77,230,196,.22), rgba(79,200,240,.1) 48%, transparent 76%); animation: appBgDriftC 19s ease-in-out infinite }

/* Avant : petite, très transparente */
.app-bg-glow-d { width: 20vmax; height: 20vmax; bottom: 9%; left: 44%; border-radius: 55% 45% 48% 52% / 40% 55% 45% 60%; filter: blur(20px); background: radial-gradient(circle at 45% 40%, rgba(255,184,107,.14), rgba(255,184,107,.04) 50%, transparent 78%); animation: appBgDriftD 22s ease-in-out infinite }

.app-background::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 90% 70% at 50% 20%, transparent 45%, rgba(6,8,12,.6) 100%) }

@keyframes appBgDriftA { 0% { transform: translate3d(-4vw,2vh,0) rotate(-3deg) scale(1) } 30% { transform: translate3d(4vw,-3vh,0) rotate(2deg) scale(1.04) } 65% { transform: translate3d(8vw,4vh,0) rotate(5deg) scale(.98) } 100% { transform: translate3d(-2vw,6vh,0) rotate(-1deg) scale(1.03) } }
@keyframes appBgDriftB { 0% { transform: translate3d(3vw,-2vh,0) rotate(2deg) scale(1) } 30% { transform: translate3d(-5vw,3vh,0) rotate(-3deg) scale(1.05) } 65% { transform: translate3d(-8vw,-3vh,0) rotate(-5deg) scale(.97) } 100% { transform: translate3d(2vw,-5vh,0) rotate(1deg) scale(1.02) } }
@keyframes appBgDriftC { 0% { transform: translate3d(-3vw,3vh,0) rotate(-2deg) scale(1); opacity: .85 } 30% { transform: translate3d(5vw,-4vh,0) rotate(4deg) scale(1.08); opacity: 1 } 65% { transform: translate3d(7vw,3vh,0) rotate(-3deg) scale(.96); opacity: .92 } 100% { transform: translate3d(-2vw,5vh,0) rotate(2deg) scale(1.04); opacity: .88 } }
@keyframes appBgDriftD { 0% { transform: translate3d(2vw,-2vh,0) rotate(2deg) scale(1); opacity: .6 } 30% { transform: translate3d(-4vw,3vh,0) rotate(-3deg) scale(1.06); opacity: .75 } 65% { transform: translate3d(-6vw,-2vh,0) rotate(3deg) scale(.95); opacity: .65 } 100% { transform: translate3d(3vw,4vh,0) rotate(-1deg) scale(1.03); opacity: .62 } }

@media (max-width: 600px) {
  .app-bg-glow-a { width: 55vmax; height: 55vmax; filter: blur(24px); animation-duration: 26s }
  .app-bg-glow-c { top: 38%; left: -6vw; width: 38vmax; height: 38vmax; filter: blur(18px); animation-duration: 22s }
  .app-bg-glow-d { bottom: 16%; left: 32%; width: 26vmax; height: 26vmax; filter: blur(14px); animation-duration: 24s }
  .app-bg-glow-b { display: none }
}
@media (prefers-reduced-motion: reduce) {
  .app-bg-glow { animation: none }
}

/* Phase UX-01 — composants unifiés (recherche, filtres secondaires, outils profil).
   Ajouts uniquement : ne redéfinit aucune règle métier existante, voir review/UX_REDESIGN_PHASE_01.md. */

/* Un seul champ de recherche, utilisé pour recettes / exercices / aliments (consigne §5) */
.search-field, .food-search-label input {
  width: 100%; min-height: 48px; padding: 11px 16px 11px 42px;
  border-radius: 99px; border: 1px solid var(--line); background-color: #0d131b;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2398a2b3' stroke-width='2.6' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: 15px center; background-size: 16px;
  color: var(--text); transition: border-color .15s ease;
}
.search-field::placeholder, .food-search-label input::placeholder { color: var(--muted) }
.search-field:focus, .food-search-label input:focus { outline: none; border-color: var(--green) }
.search-field-label { display: block; width: 100% }

/* Filtres secondaires discrets, jamais visibles par défaut (consigne §6 — pas de "Filtres avancés") */
.more-options-panel > summary { cursor: pointer; list-style: none; font-weight: 700 }
.more-options-panel > summary::-webkit-details-marker { display: none }
.more-options-panel > summary:before { content: '+ '; color: var(--green) }
.more-options-panel[open] > summary:before { content: '– ' }

/* Bloc "Outils" dans Profil (remplace l'ancien onglet "Plus" — consigne §3/§4) */
.profile-tools-title { margin: 4px 0 10px }
.profile-tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 6px }
.profile-tools button { text-align: center; font-size: 13px; line-height: 1.35 }
@media (max-width: 560px) { .profile-tools { grid-template-columns: repeat(2, minmax(0, 1fr)) } }

/* Fiche exercice premium (Phase UX-02) — étapes numérotées et listes courtes (erreurs, conseils, variantes) */
.exercise-steps, .exercise-list { margin: 6px 0 0; padding-left: 20px; display: grid; gap: 6px }
.exercise-steps li, .exercise-list li { color: var(--text) }
.exercise-steps { counter-reset: none }
.exercise-recent-list { display: grid; gap: 6px; margin-top: 6px }
.exercise-recent-row { display: flex; align-items: center; justify-content: space-between; padding: 9px 12px; border-radius: 12px; background: rgba(255,255,255,.035) }
.exercise-recent-row small { color: var(--muted) }
.rir-help-btn { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; margin-left: 4px; border-radius: 50%; border: 1px solid var(--line); background: #1b2230; color: var(--muted); font-size: 11px; font-weight: 800; line-height: 1; cursor: pointer; vertical-align: middle }
.rir-help-btn:hover, .rir-help-btn:focus-visible { color: var(--text); border-color: var(--green) }

/* Phase UX-03 — alternatives de repas (remplace une liste texte par des cartes avec photo, sans exposer le scoring) */
.meal-alternative-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px; border: 1px solid #ffffff0b; border-radius: 14px; background: #111620; text-align: left }
.meal-alternative-thumb { width: 56px; height: 56px; flex: 0 0 auto; border-radius: 12px; object-fit: cover }
.meal-alternative-thumb.simple-snack-visual { display: grid; place-items: center; font-size: 24px; background: #1b2230 }
.meal-alternative-info { display: grid; gap: 3px; min-width: 0 }
.meal-alternative-info strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap }

/* Phase UX-03 — mettre "aujourd'hui" en évidence dans Ma semaine */
.is-today { border-color: rgba(77, 230, 196,.45); box-shadow: 0 0 0 1px rgba(77, 230, 196,.25) }

/* ================================================================
   Fiche exercice — refonte visuelle (glow repris tel quel des modales
   Nutrition #v2-recipe-modal / #v2-cook-modal, voir css/recipes-v2.css,
   plutôt que réinventé). Dialog dédié, isolé du #modal générique
   partagé par le reste de l'app (aucun risque de régression ailleurs).
   ================================================================ */
body.exercise-scroll-lock { position: fixed; left: 0; right: 0; width: 100% }

#exercise-modal { position: fixed; inset: 0; margin: auto; width: min(94vw, 720px); max-width: 720px; max-height: 90vh; padding: 0; border: 2px solid #eef3ff52; border-radius: 22px; background: #171c27; color: var(--text); overflow: hidden; box-shadow: 0 28px 76px #000a, 0 0 0 1px #ffffff12, 0 0 42px #eef4ff20 }
#exercise-modal::backdrop { background: #000b; backdrop-filter: blur(4px) }
#exercise-modal-content { width: 100%; max-width: 100%; max-height: 90vh; box-sizing: border-box; overflow-y: auto; -webkit-overflow-scrolling: touch }
@media (max-width: 560px) { #exercise-modal { width: 100vw; height: 100%; max-width: 100vw; max-height: 100%; border-radius: 0; border-width: 0 } #exercise-modal-content { max-height: 100% } }

.exercise-modal-header { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; background: rgba(23,28,39,.94); backdrop-filter: blur(10px); border-bottom: 1px solid #ffffff0d }
.exercise-modal-header h2 { margin: 0; font-size: 17px; line-height: 1.25 }
.exercise-modal-close { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: #1b2230; color: var(--text); font-size: 16px; line-height: 1; cursor: pointer }
.exercise-modal-close:hover, .exercise-modal-close:focus-visible { border-color: var(--green) }

.exercise-modal-images { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 14px 18px 0 }
.exercise-modal-images figure { margin: 0 }
.exercise-modal-images img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 16px; border: 1px solid #ffffff14; box-shadow: 0 12px 30px #0006 }
.exercise-modal-images figcaption { margin-top: 6px; text-align: center; font-size: 12px; color: var(--muted) }
@media (max-width: 560px) { .exercise-modal-images { grid-template-columns: 1fr } }

.exercise-modal-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 18px 0 }

.exercise-info-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; margin: 14px 18px }
.exercise-info-card { padding: 12px; border-radius: 14px; background: #111620; border: 1px solid #ffffff0b }
.exercise-info-card small { display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 3px }
.exercise-info-card strong { font-size: 14px }

.exercise-section { margin: 0 18px 20px }
.exercise-section-title { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 15px; font-weight: 800 }
.exercise-section-title .ico { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; background: rgba(77, 230, 196,.14); color: var(--green); font-size: 13px; flex: 0 0 auto }

.exercise-step-row { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0 }
.exercise-step-row + .exercise-step-row { border-top: 1px solid #ffffff0b }
.exercise-step-num { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: #082116; font-weight: 800; font-size: 13px; display: grid; place-items: center }
.exercise-step-text { padding-top: 3px }

.exercise-mini-card { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 13px; background: #111620; margin-bottom: 8px }
.exercise-mini-card:last-child { margin-bottom: 0 }
.exercise-mini-card .ico { flex: 0 0 auto; font-size: 14px; line-height: 1.4 }
.exercise-mini-card.mistake { background: rgba(255,184,107,.08) }
.exercise-mini-card.tip { background: rgba(79, 200, 240,.08) }

.exercise-variant-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 12px; border-radius: 13px; background: #111620; margin-bottom: 8px }
.exercise-variant-row:last-child { margin-bottom: 0 }
.exercise-variant-row span { font-size: 13px; color: var(--muted) }

.exercise-modal-content .exercise-recent-list { margin-top: 0 }
.exercise-modal-content .exercise-recent-row { padding: 8px 12px; font-size: 13px }
.exercise-modal-content .safety-note { margin: 0 18px 20px }

/* Phase UX-02B — carte exercice entièrement cliquable (remplace le bouton "Voir") */
button.exercise-library-card { display: block; width: 100%; text-align: left; transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease }
button.exercise-library-card:hover { transform: translateY(-2px); border-color: rgba(77, 230, 196,.35); box-shadow: 0 14px 34px #0006, 0 0 0 1px rgba(77, 230, 196,.18) }
button.exercise-library-card:active { transform: translateY(0) }

/* ================================================================
   Modal Cardio (Phase UX-02B) — même glow que la fiche exercice /
   les modales Nutrition, dialog dédié isolé du #modal générique.
   ================================================================ */
body.cardio-scroll-lock { position: fixed; left: 0; right: 0; width: 100% }
#cardio-modal { position: fixed; inset: 0; margin: auto; width: min(94vw, 520px); max-width: 520px; max-height: 90vh; padding: 0; border: 2px solid #eef3ff52; border-radius: 22px; background: #171c27; color: var(--text); overflow: hidden; box-shadow: 0 28px 76px #000a, 0 0 0 1px #ffffff12, 0 0 42px #eef4ff20 }
#cardio-modal::backdrop { background: #000b; backdrop-filter: blur(4px) }
#cardio-modal-content { width: 100%; max-width: 100%; max-height: 90vh; box-sizing: border-box; overflow-y: auto }
@media (max-width: 560px) { #cardio-modal { width: 100vw; height: 100%; max-width: 100vw; max-height: 100%; border-radius: 0; border-width: 0 } #cardio-modal-content { max-height: 100% } }
.cardio-modal-header { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; background: rgba(23,28,39,.94); backdrop-filter: blur(10px); border-bottom: 1px solid #ffffff0d }
.cardio-modal-header h2 { margin: 0; font-size: 17px }
.cardio-modal-close { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: #1b2230; color: var(--text); font-size: 16px; line-height: 1; cursor: pointer }
.cardio-modal-body { padding: 16px 18px 4px }
.cardio-choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px }
.cardio-choice-card { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; background: #111620; border: 2px solid #ffffff12; border-radius: 14px; padding: 14px 8px; color: var(--text); font-size: 13px; font-weight: 700; transition: border-color .12s ease, transform .1s ease }
.cardio-choice-card:hover { border-color: #ffffff2a }
.cardio-choice-card:active { transform: scale(.97) }
.cardio-choice-card.selected { border-color: var(--green); background: #12241c; box-shadow: 0 0 0 1px var(--green) inset }
.cardio-choice-icon { font-size: 22px }
.cardio-summary-card { background: #111620; border-radius: 14px; padding: 16px; text-align: center; margin-bottom: 10px }
.cardio-summary-card strong { display: block; font-size: 20px; margin-top: 4px }
.cardio-summary-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; margin: 10px 0 16px }
.cardio-summary-grid > div { background: #111620; border-radius: 12px; padding: 10px; text-align: center }
.cardio-summary-grid small { display: block; color: var(--muted); font-size: 11px }
.cardio-summary-grid strong { font-size: 15px }
.cardio-footer { display: flex; justify-content: space-between; gap: 10px; padding: 14px 18px 18px }
.cardio-history-row { display: flex; align-items: center; justify-content: space-between; padding: 9px 12px; border-radius: 12px; background: rgba(255,255,255,.035); margin-bottom: 6px }
.cardio-history-row small { color: var(--muted) }
.cardio-confirm { text-align: center; padding: 26px 10px }
.cardio-confirm .ico { font-size: 40px; display: block; margin-bottom: 10px }

/* Correction ciblée — récap physique de la journée (Accueil) : lignes cardio compactes */
.cardio-recap-row { padding: 12px 14px }

/* Phase Nutrition — prévisualisation live avant ajout d'un aliment */
#food-preview:empty { display: none }
.food-add-preview { display: flex; align-items: baseline; gap: 10px; margin-top: 4px; padding: 10px 12px; border-radius: 12px; background: rgba(77, 230, 196,.08) }
.food-add-preview strong { font-size: 17px }
.food-add-preview span { color: var(--muted); font-size: 13px }

/* Phase Nutrition — le même glow premium que les modales Nutrition/Exercice/Cardio, appliqué au dialog
   générique #modal (utilisé par le remplacement de repas, l'ajout d'aliment, etc.) plutôt que de créer
   un quatrième style de modal : une seule définition du "look premium", réutilisée partout. */
#modal { border: 2px solid #eef3ff52; box-shadow: 0 28px 76px #000a, 0 0 0 1px #ffffff12, 0 0 42px #eef4ff20 }

/* Phase Nutrition — Ma semaine : sélecteur de jour compact (remplace 7 grandes cartes empilées) */
.week-day-chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; margin-bottom: 4px }
.week-day-chip { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 60px; padding: 9px 10px; border-radius: 14px; border: 2px solid #ffffff12; background: #111620; color: var(--text) }
.week-day-chip small { color: var(--muted); font-size: 11px; white-space: nowrap }
.week-day-chip strong { font-size: 13px }
.week-day-chip.selected { border-color: var(--green); background: #12241c }
.week-day-chip.is-today:not(.selected) { border-color: rgba(77, 230, 196,.45) }
@media (min-width: 760px) { .week-day-chips { overflow-x: visible; justify-content: space-between } .week-day-chip { flex: 1 1 0; min-width: 0 } }

/* Phase Nutrition — carte "Mon shaker", distincte des cartes recette */
.shaker-quick-card { background: linear-gradient(135deg, rgba(77, 230, 196,.1), rgba(79, 200, 240,.05)); border-color: rgba(77, 230, 196,.2) }

/* Phase Dashboard — cartes Accueil entièrement cliquables (Nutrition / Séance / Poids) */
button.home-clickable { display: block; width: 100%; text-align: left; transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease }
button.home-clickable:hover { transform: translateY(-2px); border-color: rgba(77, 230, 196,.35); box-shadow: 0 14px 34px #0006, 0 0 0 1px rgba(77, 230, 196,.18) }
button.home-clickable:active { transform: translateY(0) }
button.home-clickable .section-title h2 { color: var(--text) }

/* ================================================================
   Accueil — refonte visuelle premium (correction ciblée). --home-bg-image
   est le point d'accroche pour une vraie photo plus tard (aucune image
   générée dans cette phase) : par défaut "none", le fond retombe sur un
   dégradé premium cohérent avec le thème sombre existant. Le jour où une
   photo est prête, il suffit de définir --home-bg-image sur .home-shell
   (inline style ou règle CSS) — aucun autre changement nécessaire.
   ================================================================ */
/* Le fond dédié de l'Accueil (photo/dégradé propre + flou) a été retiré ici et unifié avec le fond
   animé global (.app-background, tout en haut de ce fichier) — deux fonds superposés auraient été
   redondants. .home-shell reste un simple conteneur arrondi ; ses cartes laissent transparaître le
   fond global au travers de leur légère transparence. */
.home-shell { position: relative; border-radius: 26px; padding: 22px 18px 8px }
.home-shell .card, .home-shell button.home-clickable { background: rgba(21,26,36,.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-color: rgba(255,255,255,.09) }

.home-header { padding: 0 2px 16px }
.home-header .section-title h2 { font-size: clamp(22px, 3.4vw, 28px) }

.home-primary-grid { display: grid; gap: 14px }
.home-card-primary { padding: 20px }
.home-card-primary .metric { font-size: 30px }
.home-card-primary h3 { font-size: 19px }

.home-secondary-grid { display: grid; gap: 12px; margin: 16px 0 22px }
.home-card-compact .card, .home-card-compact button.home-clickable { padding: 14px }
.home-card-compact .metric { font-size: 22px }
.home-quick.quick { grid-template-columns: repeat(2, 1fr); gap: 8px }
.home-quick.quick button { min-height: 56px; font-size: 12.5px; padding: 8px }

@media (min-width: 760px) {
  .home-primary-grid { grid-template-columns: 1fr 1fr; align-items: stretch }
  .home-secondary-grid { grid-template-columns: 1fr 1fr 1fr }
}
@media (max-width: 420px) { .home-shell { padding: 18px 14px 6px; border-radius: 20px } }

/* Phase 05 — refonte Profil (review/PROFILE_UX_PHASE_05.md). Page résumé (cartes) + vues dédiées par
   section ; réutilise entièrement le vocabulaire de composants existant (.card, .choice-chip,
   .visual-choice, .btn, .search-field…) — aucun nouveau design system. */
.profile-summary-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); margin: 16px 0 22px }
.profile-summary-card { text-align: left; cursor: pointer; transition: transform .15s ease, border-color .15s ease }
.profile-summary-card:hover, .profile-summary-card:focus-visible { transform: translateY(-2px); border-color: rgba(77, 230, 196, .35) }
.profile-summary-card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 6px }
.profile-summary-card-head h3 { margin: 0; font-size: 15px }
.profile-summary-cta { color: var(--green); font-size: 12.5px; font-weight: 700; white-space: nowrap }
.profile-summary-line { font-size: 16px; font-weight: 700; margin: 2px 0 }
.profile-section-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px }
.profile-section-head h2 { margin: 0; font-size: 19px }
.nutrition-estimate-banner { background: rgba(77, 230, 196, .08); border: 1px solid rgba(77, 230, 196, .3); border-radius: 14px; padding: 14px 16px; margin-bottom: 16px }
.nutrition-estimate-banner p { margin: 0 0 10px }
#profile-form fieldset { border: 0; padding: 0; margin: 0 }
#profile-form legend { padding: 0; margin-bottom: 8px; font-size: 13px; font-weight: 700; color: var(--muted) }
@media (max-width: 600px) { .profile-summary-grid { grid-template-columns: 1fr } }
