/* Onglet Menus 7 jours : lisible sur telephone (retour client 2026-10-20). */
#t-menus textarea.inp { field-sizing: content; min-height: 3.2rem; line-height: 1.45; }

/* Barre des jours : les 7 jours sur UNE ligne (defile au doigt si besoin), Copilote a droite ;
   sur telephone / tablette portrait, Copilote passe dessous en pleine largeur. */
.menus-bar { display: flex; align-items: center; gap: .6rem; padding: 0 .25rem; }
.menus-days {
  display: flex; gap: .35rem; flex: 1 1 auto; min-width: 0;
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: 2px 0;
}
.menus-days::-webkit-scrollbar { display: none; }
.menus-days .dtab { flex: 0 0 auto; white-space: nowrap; }
.menus-bar .menus-ai-action-btn { flex-shrink: 0; white-space: nowrap; }
@media (max-width: 640px), (max-width: 1024px) and (orientation: portrait) {
  .menus-bar { flex-direction: column; align-items: stretch; padding: 0; }
  .menus-bar .menus-ai-action-btn { width: 100%; justify-content: center; }
}

@media (max-width: 640px) {
  #t-menus { padding: 0 !important; gap: .5rem !important; }
  #t-menus .dtab { padding: .45rem .7rem !important; font-size: .85rem !important; }
  /* Formulaire : une colonne, moins de marge, texte a 16px (pas de zoom force sur iPhone) */
  #t-menus .card { padding: .9rem !important; border-radius: .8rem !important; }
  #t-menus .card > div[style*="grid-template-columns"] { grid-template-columns: 1fr !important; gap: .85rem !important; }
  #t-menus .card > div[style*="grid-template-columns"] > div { gap: .85rem !important; }
  #t-menus textarea.inp { font-size: 16px !important; padding: .6rem .7rem !important; }
  #t-menus .lbl { font-size: .78rem !important; margin-bottom: .3rem; }
}

/* 01/11 : commentaires generaux au-dessus des jours (valables pour toute la semaine). */
.menus-general-tag { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: #166534; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 9999px; padding: .1rem .55rem; margin-bottom: .3rem; }
