/* Nutrition — glass layout from the Summit design canvas (Nutrition, desktop + mobile).
   Same language as the home and Progrès: glass ring, lighter core, soft motion. */
body[data-view="nutrition"] {
  --page: #f4f9fd;
  --ink: #07102a;
  --muted: #4f5f7c;
  --nt-core: #ffffffa8;
  --nt-hair: #07102a0f;
  --nt-line: #07102a14;
  --nt-track: #07102a14;
  --nt-soft: #0866ff17;
  --nt-soft-2: #0866ff2e;
  --nt-blue: #0866ff;
  --nt-gold: #c4932f;
  --nt-violet: #8370c9;
  --nt-orange: #b4520f;
  --nt-out: cubic-bezier(.22,1,.36,1);
  background: var(--page);
}
html[data-today-theme="dark"] body[data-view="nutrition"] {
  --page: #051b28;
  --ink: #eef4ff;
  --muted: #a9bdd8;
  --nt-core: #081c2b9e;
  --nt-hair: #ffffff0f;
  --nt-line: #ffffff14;
  --nt-track: #ffffff17;
  --nt-soft: #3d8bff24;
  --nt-soft-2: #3d8bff3d;
  --nt-blue: #3d8bff;
  --nt-gold: #e0b45a;
  --nt-violet: #b4a3f0;
  --nt-orange: #f3a56b;
  color-scheme: dark;
}
body[data-view="nutrition"] main { max-width: 1320px; padding: 0 30px 56px; }
body[data-view="nutrition"] main .wellness-icon { width: 20px; height: 20px; }

/* En-tête */
.nt-hero { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 24px; padding: 28px 8px 26px; }
.nt-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 12px; border: 1px solid var(--nav-edge); border-radius: 999px; background: var(--nav-glass); color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .14em; line-height: 1.4; text-transform: uppercase; }
.nt-eyebrow .wellness-icon { width: 15px; height: 15px; color: var(--nav-link); }
.nt-hero h1 { margin: 16px 0 0; color: var(--ink); font-size: 52px; font-weight: 300; line-height: 1.03; letter-spacing: -2.2px; text-wrap: balance; }
.nt-hero h1 strong { font-weight: 800; }
.nt-hero-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.nt-daynav { display: flex; align-items: center; gap: 4px; padding: 6px; border: 1px solid var(--nav-edge); border-radius: 999px; background: var(--nav-glass); box-shadow: var(--nav-inset), var(--nav-shadow); backdrop-filter: blur(26px) saturate(170%); -webkit-backdrop-filter: blur(26px) saturate(170%); }
.nt-round { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--nt-hair); color: var(--ink); cursor: pointer; transition: background .4s var(--nav-ease), transform .4s var(--nav-ease); }
.nt-round:hover { background: var(--nav-glass-hi); }
.nt-round:active { transform: scale(.94); }
.nt-daynav-day { display: flex; flex-direction: column; align-items: center; min-width: 190px; padding: 0 10px; text-align: center; }
.nt-daynav-label { position: relative; display: block; min-height: 26px; color: var(--ink); font-size: 17px; font-weight: 700; letter-spacing: -.25px; cursor: pointer; }
.nt-daynav-label input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.nt-status { min-height: 26px; padding: 0 20px 0 6px; border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 12.5px; font-weight: 600; text-align: center; text-align-last: center; cursor: pointer; }
.nt-today { min-height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--nt-soft); color: var(--nav-link); font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; }

/* Mise en page */
.nt-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 20px; align-items: start; }
.nt-col { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.nt-card { position: relative; min-width: 0; padding: 22px 24px 24px; border: 6px solid var(--nav-glass); border-radius: 34px; background: var(--nt-core) padding-box; box-shadow: 0 0 0 1px var(--nav-edge), var(--nav-shadow); backdrop-filter: blur(26px) saturate(170%); -webkit-backdrop-filter: blur(26px) saturate(170%); color: var(--ink); transition: transform .7s var(--nav-ease); }
.nt-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; }
.nt-card-head h2 { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--ink); font-size: 18px; font-weight: 700; letter-spacing: -.35px; }
.nt-card-head h2 .wellness-icon { width: 22px; height: 22px; color: var(--nav-link); }
.nt-more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 6px 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--nav-link); font: inherit; font-size: 13px; font-weight: 650; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background .4s var(--nav-ease); }
.nt-more:hover { background: var(--nt-soft); color: var(--nav-link); }
.nt-more .wellness-icon { width: 16px; height: 16px; transition: transform .5s var(--nav-ease); }
.nt-more:hover .wellness-icon { transform: translateX(3px); }
.nt-summary > .nt-more { margin-top: 8px; padding-left: 0; }
.nt-sub { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.nt-foot { margin: 12px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.nt-foot.is-page { margin: 0; padding: 0 8px; }
.nt-empty { margin: 4px 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.nt-quiet { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 44px; margin-top: 8px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: inherit; font-size: 13.5px; font-weight: 650; cursor: pointer; transition: background .4s var(--nav-ease), color .3s; }
.nt-quiet:hover { background: var(--nt-hair); color: var(--ink); }
.nt-quiet .wellness-icon { width: 18px; height: 18px; color: var(--nav-link); }
.nt-quiet.is-pill { width: auto; margin: 0; padding: 0 16px; border: 1px solid var(--nav-edge); background: var(--nav-glass-hi); color: var(--ink); }
.nt-primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border: 0; border-radius: 999px; background: #0866ff; color: #fff; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; box-shadow: 0 14px 30px -14px #0866ffa6; transition: transform .4s var(--nav-ease), background .3s; }
.nt-primary:hover { background: #0059e3; }
.nt-primary:active { transform: scale(.97); }
.nt-primary .wellness-icon { width: 18px; height: 18px; }

/* Consommé / cible */
.nt-summary-body { display: grid; justify-items: center; gap: 22px; margin-top: 14px; }
.nt-ring { position: relative; width: 200px; height: 200px; }
.nt-ring svg { width: 100%; height: 100%; display: block; }
.nt-ring circle { fill: none; stroke-width: 16; stroke-linecap: round; }
.nt-ring .track { stroke: var(--nt-track); }
.nt-ring .fill { stroke: var(--nt-blue); stroke-dasharray: 540.35; transform: rotate(-90deg); transform-origin: center; transform-box: fill-box; }
.nt-ring-copy { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-align: center; }
.nt-ring-copy strong { color: var(--ink); font-size: 36px; font-weight: 800; letter-spacing: -1.1px; line-height: 1.05; font-variant-numeric: tabular-nums; }
.nt-ring-copy span { color: var(--muted); font-size: 13px; }
.nt-ring-copy b { margin-top: 2px; color: var(--nav-link); font-size: 13px; font-weight: 700; }
.nt-macros { display: grid; gap: 16px; width: 100%; }
.nt-macro-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.nt-macro-top > span:last-child { color: var(--muted); font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; }
.nt-macro-top b { color: var(--ink); font-weight: 700; }
.nt-bar { height: 10px; border-radius: 999px; background: var(--nt-track); overflow: hidden; }
.nt-bar span { display: block; width: var(--w); height: 100%; border-radius: inherit; background: var(--nt-blue); transform-origin: left; }
.nt-bar.is-carbs span { background: var(--nt-gold); }
.nt-bar.is-fat span { background: var(--nt-violet); }
.nt-macro-note { display: block; color: var(--muted); font-size: 12px; }
.nt-tip { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; padding: 14px 16px; border-radius: 20px; background: var(--nt-soft); }
.nt-tip > .wellness-icon { margin-top: 1px; color: var(--nav-link); }
.nt-tip strong { display: block; color: var(--ink); font-size: 14px; font-weight: 700; }
.nt-tip p { margin: 2px 0 0; color: var(--muted); font-size: 13px; line-height: 1.45; }

/* Favoris */
.nt-fav-list { display: grid; gap: 6px; margin-top: 8px; }
.nt-fav { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 60px; padding: 8px 8px 8px 8px; border: 0; border-radius: 20px; background: var(--nt-hair); color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: background .4s var(--nav-ease), transform .5s var(--nav-ease); }
.nt-fav:hover { background: var(--nav-glass-hi); transform: translateX(2px); }
.nt-fav:active { transform: scale(.99); }
.nt-fav-copy { flex: 1; min-width: 0; }
.nt-fav-copy strong { display: block; overflow: hidden; font-size: 14px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.nt-fav-copy span { display: block; color: var(--muted); font-size: 12.5px; }
.nt-fav-add { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--nt-soft); color: var(--nav-link); }
.nt-fav-add .wellness-icon { width: 18px; height: 18px; }

/* Vignettes */
.nt-thumb { display: grid; place-items: center; flex-shrink: 0; width: 52px; height: 48px; overflow: hidden; border-radius: 15px; background: var(--nav-glass-hi); color: var(--nav-link); }
.nt-thumb img { width: 100%; height: 100%; object-fit: cover; }
.nt-thumb .wellness-icon { width: 22px; height: 22px; }
.nt-thumb.is-small { width: 44px; height: 40px; border-radius: 13px; }

/* Ajout rapide */
.nt-quick { display: flex; align-items: center; gap: 10px; padding: 8px; border: 1px solid var(--nav-edge); border-radius: 30px; background: var(--nav-glass); box-shadow: var(--nav-inset), var(--nav-shadow); backdrop-filter: blur(26px) saturate(170%); -webkit-backdrop-filter: blur(26px) saturate(170%); }
.nt-search { display: flex; flex: 1; align-items: center; gap: 10px; min-width: 0; min-height: 52px; padding: 0 16px; border-radius: 999px; color: var(--muted); cursor: text; }
.nt-search:focus-within { background: var(--nav-glass-hi); box-shadow: 0 0 0 3px var(--nt-soft); }
.nt-search input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 15px; outline: none; }
.nt-search input::placeholder { color: var(--muted); }
.nt-quick-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 16px; border: 1px solid var(--nav-edge); border-radius: 999px; background: var(--nav-glass-hi); color: var(--ink); font: inherit; font-size: 14px; font-weight: 650; white-space: nowrap; cursor: pointer; box-shadow: 0 8px 20px -14px #14386e73; transition: transform .4s var(--nav-ease), background .3s; }
.nt-quick-btn:hover { background: var(--nt-core); }
.nt-quick-btn:active { transform: scale(.97); }
.nt-quick-icon { display: inline-grid; place-items: center; color: var(--nav-link); }
.nt-quick-btn .wellness-icon { width: 18px; height: 18px; }
.nt-quick-btn.is-ai { border-color: transparent; background: var(--nt-soft); color: var(--nav-link); box-shadow: none; }
.nt-quick-btn.is-search { display: none; }
.nt-quick-btn.is-manual > span:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.nt-quick-btn.is-manual { width: 48px; padding: 0; }

/* Repas */
.nt-meals { display: grid; gap: 20px; }
.nt-meal { padding: 16px 20px; }
.nt-meal-head { display: flex; align-items: center; gap: 14px; min-height: 52px; list-style: none; cursor: pointer; }
.nt-meal-head::-webkit-details-marker { display: none; }
.nt-meal-head > .wellness-icon { width: 18px; height: 18px; color: var(--muted); transition: transform .5s var(--nav-ease); }
.nt-meal[open] > .nt-meal-head > .wellness-icon { transform: rotate(180deg); }
.nt-slot-copy { flex: 1; min-width: 0; }
.nt-slot-copy strong { display: block; color: var(--ink); font-size: 17px; font-weight: 700; letter-spacing: -.25px; }
.nt-slot-copy > span { display: block; margin-top: 1px; color: var(--muted); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.nt-meal-kcal { color: var(--ink); font-size: 19px; font-weight: 800; letter-spacing: -.4px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.nt-meal-body { display: grid; gap: 10px; margin-top: 12px; }
.nt-meal-block { display: grid; gap: 8px; }
.nt-meal-block + .nt-meal-block { padding-top: 10px; border-top: 1px solid var(--nt-line); }
.nt-meal-time { margin: 0; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.nt-items { margin: 0; padding: 6px; border-radius: 22px; background: var(--nt-hair); list-style: none; }
.nt-items li { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 4px 12px; border-radius: 16px; }
.nt-items li + li { box-shadow: 0 -1px 0 var(--nt-line); }
.nt-item-name { flex: 1; min-width: 0; }
.nt-item-name > span { display: block; color: var(--ink); font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.nt-item-name small { display: block; color: var(--muted); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.nt-items em { color: var(--muted); font-size: 13px; font-style: normal; white-space: nowrap; font-variant-numeric: tabular-nums; }
.nt-meal-note { margin: 0; padding: 12px 14px; border-radius: 18px; background: var(--nt-hair); color: var(--muted); font-size: 13.5px; }
.nt-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.nt-badge { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 999px; background: #c4932f24; color: var(--nt-gold); font-size: 12px; font-weight: 700; }
.nt-meal-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.nt-action { min-height: 40px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--nt-hair); color: var(--ink); font: inherit; font-size: 13px; font-weight: 650; cursor: pointer; transition: background .4s var(--nav-ease); }
.nt-action:hover { background: var(--nav-glass-hi); }
.nt-action.is-strong { background: var(--nt-soft); color: var(--nav-link); }
.nt-action.is-danger { margin-left: auto; background: transparent; color: var(--nt-orange); }
.nt-add-line { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border: 0; border-radius: 16px; background: var(--nt-soft); color: var(--nav-link); font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; }
.nt-add-line .wellness-icon { width: 17px; height: 17px; }
.nt-empty-slot { display: flex; align-items: center; gap: 16px; min-height: 84px; padding: 16px 18px 16px 16px; border: 1.5px dashed var(--nt-soft-2); border-radius: 30px; }
.nt-empty-slot .nt-thumb { opacity: .85; }
.nt-slot-actions { display: flex; align-items: center; gap: 8px; }
.nt-planned .nt-meal-block { margin-top: 12px; }
.nt-planned .nt-meal-block strong { font-size: 15px; }

/* Bibliothèque */
.nt-disclosure { margin-top: 20px; padding: 4px 22px; border: 1px solid var(--nav-edge); border-radius: 26px; background: var(--nav-glass); box-shadow: var(--nav-inset), var(--nav-shadow); backdrop-filter: blur(26px) saturate(170%); -webkit-backdrop-filter: blur(26px) saturate(170%); color: var(--ink); }
.nt-disclosure > summary { display: flex; align-items: center; min-height: 56px; font-size: 15px; font-weight: 700; cursor: pointer; }
.nt-disclosure[open] { padding-bottom: 20px; }
body[data-view="nutrition"] main :is(a, button, select, summary, input):focus-visible { outline: 2px solid var(--nav-link); outline-offset: 3px; }

/* Mouvement : une entrée à l’arrivée, puis des transitions discrètes. */
@media (prefers-reduced-motion: no-preference) {
  body[data-view="nutrition"]:not([data-today-motion="none"]) .nt-hero.is-entering > * { animation: nt-rise .9s var(--nt-out) both; }
  body[data-view="nutrition"]:not([data-today-motion="none"]) .nt-hero.is-entering > :last-child { animation-delay: .1s; }
  body[data-view="nutrition"]:not([data-today-motion="none"]) .nt-layout.is-entering :is(.nt-card, .nt-quick, .nt-empty-slot) { animation: nt-rise .95s var(--nt-out) both; }
  body[data-view="nutrition"]:not([data-today-motion="none"]) .nt-layout.is-entering .nt-main > * { animation-delay: .08s; }
  body[data-view="nutrition"]:not([data-today-motion="none"]) .nt-layout.is-entering .nt-meals > :nth-child(2) { animation-delay: .14s; }
  body[data-view="nutrition"]:not([data-today-motion="none"]) .nt-layout.is-entering .nt-meals > :nth-child(3) { animation-delay: .2s; }
  body[data-view="nutrition"]:not([data-today-motion="none"]) .nt-layout.is-entering .nt-meals > :nth-child(n+4) { animation-delay: .26s; }
  body[data-view="nutrition"]:not([data-today-motion="none"]) .nt-layout.is-entering .nt-ring .fill { animation: nt-ring 1.5s .25s var(--nt-out) both; }
  body[data-view="nutrition"]:not([data-today-motion="none"]) .nt-layout.is-entering .nt-bar span { animation: nt-grow 1.2s .2s var(--nt-out) both; }
  body[data-view="nutrition"]:not([data-today-motion="none"]) .nt-card:hover { transform: translateY(-2px); }
  body[data-view="nutrition"]:not([data-today-motion="none"]) .nt-meal[open] .nt-meal-body { animation: nt-open .45s var(--nt-out) both; }
  body[data-view="nutrition"]:not([data-today-motion="none"]) .nt-ring .fill { transition: stroke-dashoffset .9s var(--nt-out); }
}
@keyframes nt-rise { from { opacity: 0; transform: translateY(22px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes nt-ring { from { stroke-dashoffset: 540.35; } }
@keyframes nt-grow { from { transform: scaleX(0); } }
@keyframes nt-open { from { opacity: 0; transform: translateY(-6px); } }

/* Portables et tablettes */
@media (max-width: 1100px) {
  .nt-layout { grid-template-columns: minmax(0, 1fr); }
  .nt-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .nt-side { order: 0; }
}
@media (max-width: 900px) {
  .nt-side { grid-template-columns: minmax(0, 1fr); }
}
/* Téléphone */
@media (max-width: 760px) {
  body[data-view="nutrition"] main { padding: 0 12px calc(28px + var(--bottom-nav-space, 80px)); }
  .nt-hero { gap: 14px; padding: 18px 6px 14px; }
  .nt-eyebrow { padding: 5px 11px; font-size: 10px; }
  .nt-hero h1 { margin-top: 12px; font-size: 32px; letter-spacing: -1.2px; line-height: 1.06; }
  .nt-h1-sub { display: none; }
  .nt-hero-side { width: 100%; align-items: stretch; }
  .nt-daynav { width: 100%; justify-content: space-between; }
  .nt-daynav-day { flex: 1; min-width: 0; }
  .nt-daynav-label { font-size: 15px; }
  .nt-layout, .nt-col { gap: 14px; }
  .nt-layout { display: flex; flex-direction: column; align-items: stretch; }
  .nt-side, .nt-main { display: contents; }
  .nt-summary { order: 1; }
  .nt-quick { order: 2; }
  .nt-meals { order: 3; }
  .nt-planned { order: 4; }
  .nt-favorites { order: 5; }
  .nt-foot.is-page { order: 6; }
  .nt-card { padding: 16px; border-width: 5px; border-radius: 28px; }
  .nt-summary-body { grid-template-columns: 128px minmax(0, 1fr); align-items: center; justify-items: stretch; gap: 18px; margin-top: 4px; }
  .nt-summary .nt-card-head { display: none; }
  .nt-ring { width: 128px; height: 128px; }
  .nt-ring circle { stroke-width: 17; }
  .nt-ring-copy strong { font-size: 24px; }
  .nt-ring-copy span { font-size: 11px; }
  .nt-ring-copy b { font-size: 12px; }
  .nt-macros { gap: 12px; }
  .nt-macro-top { margin-bottom: 6px; font-size: 12.5px; }
  .nt-macro-top > span:last-child { font-size: 12px; }
  .nt-bar { height: 8px; }
  .nt-tip { margin-top: 14px; padding: 12px 14px; }
  .nt-tip p { display: none; }
  .nt-tip strong { font-size: 13px; }
  .nt-summary > .nt-more { min-height: 40px; font-size: 12.5px; }
  .nt-quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 0; border: 0; background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nt-search, .nt-quick-btn.is-manual { display: none; }
  .nt-quick-btn, .nt-quick-btn.is-search { display: flex; flex-direction: column; gap: 6px; min-height: 92px; padding: 12px 6px; border-radius: 24px; background: var(--nav-glass); box-shadow: var(--nav-inset), var(--nav-shadow); backdrop-filter: blur(26px) saturate(170%); -webkit-backdrop-filter: blur(26px) saturate(170%); font-size: 12.5px; }
  .nt-quick-icon { width: 42px; height: 42px; border-radius: 13px; background: var(--nav-glass-hi); }
  .nt-quick-btn.is-ai { background: var(--nav-glass); color: var(--ink); border: 1px solid var(--nav-edge); }
  .nt-quick-btn.is-ai .nt-quick-icon { background: #0866ff; color: #fff; }
  .nt-meals { gap: 8px; }
  .nt-meal { padding: 10px 12px; border-width: 5px; border-radius: 26px; }
  .nt-meal-head { gap: 12px; min-height: 48px; }
  .nt-thumb { width: 44px; height: 44px; border-radius: 13px; }
  .nt-slot-copy strong { font-size: 15px; }
  .nt-slot-copy > span { font-size: 12px; }
  .nt-meal-kcal { font-size: 15px; }
  .nt-items { padding: 2px; background: transparent; }
  .nt-items li { min-height: 44px; padding: 4px 6px; }
  .nt-action { min-height: 44px; padding: 0 12px; font-size: 12.5px; }
  .nt-meal-actions { gap: 4px; }
  .nt-action.is-danger { margin-left: 0; }
  .nt-empty-slot { flex-wrap: wrap; gap: 12px; min-height: 0; padding: 12px; border-radius: 24px; }
  .nt-empty-slot .nt-slot-copy { flex: 1 1 140px; }
  .nt-slot-actions { margin-left: auto; }
  .nt-slot-actions .nt-primary, .nt-slot-actions .nt-quiet { min-height: 44px; padding: 0 14px; font-size: 13px; }
  .nt-favorites .nt-fav-list { display: flex; gap: 10px; overflow-x: auto; margin: 8px -16px 0; padding: 2px 16px 6px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .nt-fav { flex: 0 0 200px; scroll-snap-align: start; }
  .nt-disclosure { padding-inline: 16px; border-radius: 22px; }
}
@media (max-width: 380px) {
  .nt-summary-body { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .nt-macros { width: 100%; }
}
