@font-face { font-family: 'DM Serif Display'; src: url(fonts/dm-serif.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Nunito Sans'; src: url(fonts/nunito-sans.woff2) format('woff2'); font-weight: 200 1000; font-display: swap; }

:root {
  color-scheme: light;
  --bg: #ffffff;
  --soft: #f5f5f7;
  --line: #ececf0;
  --ink: #17151c;
  --muted: #6f6b78;
  --faint: #a19dab;
  --rose: #d873c6;
  --rose-deep: #b54fa3;
  --rose-soft: #fbeaf8;
  --vert: #c8eba6;
  --vert-deep: #4f8a1f;
  --vert-soft: #eef8e4;
  --ambre: #f6e7c8;
  --rouge: #c8433a;
  --shadow: 0 6px 22px rgba(23, 21, 28, .08);
  --shadow-sm: 0 2px 8px rgba(23, 21, 28, .06);
  --r: 18px;
  --r-sm: 12px;
  --serif: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --sans: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --nav-h: 68px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: .005em; line-height: 1.15; }
h1 { font-size: 30px; }
h2 { font-size: 22px; }
h3 { font-size: 18px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.hidden { display: none !important; }

#app { max-width: 560px; margin: 0 auto; min-height: 100vh; min-height: 100dvh; position: relative; }
.page { padding: calc(14px + var(--safe-t)) 16px calc(var(--nav-h) + var(--safe-b) + 28px); }
.page.no-nav { padding-bottom: calc(var(--safe-b) + 28px); }

.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.hello { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); font-weight: 600; }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 15px; color: #fff; flex: none; }
.avatar.louis { background: linear-gradient(135deg, #7b8cff, #4f5fd8); }
.avatar.tiphaine { background: linear-gradient(135deg, #f19ad9, #d873c6); }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); flex: none; }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn.on { background: var(--rose-soft); color: var(--rose-deep); }

.title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin: 6px 0 14px; }
.section-title { display: flex; align-items: center; justify-content: space-between; margin: 22px 0 10px; }
.section-title h2 { font-size: 20px; }
.link { color: var(--rose-deep); font-weight: 700; font-size: 14px; }

.week-nav { display: flex; align-items: center; gap: 8px; background: var(--soft); border-radius: 999px; padding: 5px; margin-bottom: 14px; }
.week-nav .label { flex: 1; text-align: center; font-weight: 700; font-size: 14px; }
.week-nav .label small { display: block; font-weight: 600; color: var(--muted); font-size: 12px; }
.week-nav button { width: 36px; height: 36px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.week-nav button svg { width: 18px; height: 18px; }

.chip { display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border-radius: 999px; font-size: 13px; font-weight: 700; background: var(--soft); color: var(--ink); white-space: nowrap; }
.chip.vert { background: var(--vert); color: #234510; }
.chip.rose { background: var(--rose-soft); color: var(--rose-deep); }
.chip.ambre { background: var(--ambre); color: #6c4a07; }
.chip.ink { background: var(--ink); color: #fff; }
.chip svg { width: 14px; height: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chips.scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px 6px; }
.chips.scroll::-webkit-scrollbar { display: none; }
button.chip { border: 1.5px solid transparent; }
button.chip.sel { background: var(--vert); color: #234510; }
button.chip.x::after { content: '×'; margin-left: 3px; font-size: 15px; line-height: 1; opacity: .6; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 800; font-size: 15px; background: var(--rose); color: #fff; box-shadow: 0 6px 16px rgba(216, 115, 198, .35); }
.btn svg { width: 18px; height: 18px; }
.btn.block { width: 100%; }
.btn.vert { background: var(--vert); color: #234510; box-shadow: none; }
.btn.ghost { background: var(--soft); color: var(--ink); box-shadow: none; }
.btn.line { background: #fff; color: var(--ink); border: 1.5px solid var(--line); box-shadow: none; }
.btn.danger { background: #fff; color: var(--rouge); border: 1.5px solid #f0cfcc; box-shadow: none; }
.btn.sm { height: 38px; padding: 0 15px; font-size: 14px; }
.btn:disabled { opacity: .5; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-row .btn { flex: 1; }

.field { display: block; margin-bottom: 14px; }
.field > span { display: block; font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.input, .field input, .field select, .field textarea { width: 100%; border: 0; background: var(--soft); border-radius: var(--r-sm); padding: 13px 14px; font-size: 16px; outline: none; }
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { box-shadow: 0 0 0 2px var(--rose); }
.search { position: relative; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--faint); }
.search input { padding-left: 42px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.card { background: #fff; border-radius: var(--r); box-shadow: var(--shadow); }
.empty { text-align: center; padding: 34px 18px; color: var(--muted); }
.empty h2 { color: var(--ink); margin-bottom: 8px; }
.empty .art { font-size: 46px; margin-bottom: 10px; }

.photo { position: relative; background: var(--soft) center / cover no-repeat; overflow: hidden; }
.photo .emoji { position: absolute; inset: 0; display: grid; place-items: center; font-size: 46px; }
.photo.has-img .emoji { display: none; }
.ph-steak-frites { background-color: #f5e1d3; }
.ph-mijote { background-color: #efdcd0; }
.ph-gratin { background-color: #f6ebcd; }
.ph-roti { background-color: #f3e0cf; }
.ph-poulet-roti { background-color: #f6e4c8; }
.ph-raclette { background-color: #f7efcf; }
.ph-welsh { background-color: #f7e9c4; }
.ph-poulet-creme { background-color: #f4ecd9; }
.ph-tarte { background-color: #f5ead2; }
.ph-moules { background-color: #dfe6ef; }
.ph-poisson-pane { background-color: #f1e7d0; }
.ph-poisson { background-color: #e2ecef; }
.ph-burger { background-color: #f5e0cc; }
.ph-poulet-pane { background-color: #f3e6cd; }
.ph-risotto { background-color: #f3efe1; }
.ph-quesadillas { background-color: #f6e6c6; }
.ph-wok { background-color: #f0e2cc; }
.ph-curry { background-color: #f6e8c3; }
.ph-pates { background-color: #f5edd6; }
.ph-kebab { background-color: #eee8d8; }
.ph-galettes { background-color: #eedfcc; }
.ph-croque { background-color: #f5e8cc; }
.ph-soupe { background-color: #e7efd8; }
.ph-tartines { background-color: #f2e7d4; }
.ph-saucisses { background-color: #f1dccd; }
.ph-salade { background-color: #e5f0da; }
.ph-omelette { background-color: #f7efc9; }
.ph-perso { background-color: var(--rose-soft); }

.day { margin-bottom: 18px; }
.day-head { display: flex; align-items: baseline; gap: 8px; margin: 0 2px 8px; }
.day-head h3 { font-size: 19px; }
.day-head .tag { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--rose-deep); }
.day.today .day-head h3::after { content: ' · aujourd’hui'; font-family: var(--sans); font-size: 13px; font-weight: 700; color: var(--rose-deep); }

.meal { display: flex; gap: 12px; padding: 10px; margin-bottom: 10px; align-items: stretch; }
.meal .photo { width: 92px; min-height: 92px; border-radius: 14px; flex: none; }
.meal .photo .emoji { font-size: 34px; }
.meal .body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.meal .moment { font-size: 12px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; display: flex; align-items: center; gap: 6px; }
.meal .moment .lock { color: var(--rose-deep); display: inline-flex; }
.meal .moment .lock svg { width: 13px; height: 13px; }
.meal .name { font-weight: 800; font-size: 15.5px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.meal .meta { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; }
.meal .meta .chip { font-size: 12px; padding: 3px 9px; }
.meal .side { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; gap: 6px; }
.meal .side .icon-btn { width: 36px; height: 36px; }
.meal .side .icon-btn svg { width: 18px; height: 18px; }
.meal.absent { background: var(--soft); box-shadow: none; }
.meal.absent .name { color: var(--muted); font-weight: 700; }
.meal.libre .photo { background: var(--rose-soft); }
.rate { display: inline-flex; gap: 4px; }
.rate button { width: 30px; height: 30px; border-radius: 50%; background: var(--soft); font-size: 15px; display: grid; place-items: center; filter: grayscale(1); opacity: .6; }
.rate button.on { filter: none; opacity: 1; background: var(--vert-soft); }
.rate button.on.down { background: #fbe5e3; }

.week-actions { display: flex; gap: 10px; margin: 6px 0 18px; }
.week-actions .btn { flex: 1; }
.banner { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: var(--r); background: var(--vert-soft); margin-bottom: 16px; }
.banner.rose { background: var(--rose-soft); }
.banner .big { font-size: 26px; }
.banner p { margin: 0; font-size: 14px; }
.banner b { display: block; font-size: 15px; }

.slots { padding: 6px 14px; margin-bottom: 16px; }
.slot { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.slot:last-child { border-bottom: 0; }
.slot .lbl { flex: 1; min-width: 0; }
.slot .lbl b { display: block; font-size: 15px; }
.slot .lbl small { color: var(--muted); font-size: 12.5px; font-weight: 600; }
.slot.off .lbl b { color: var(--faint); text-decoration: line-through; }
.toggle { position: relative; width: 48px; height: 28px; border-radius: 999px; background: #dcdbe2; flex: none; transition: background .15s; }
.toggle::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform .15s; }
.toggle.on { background: var(--vert-deep); }
.toggle.on::after { transform: translateX(20px); }
.stepper { display: inline-flex; align-items: center; gap: 2px; background: var(--rose-soft); border-radius: 999px; padding: 3px; flex: none; }
.stepper button { width: 30px; height: 30px; border-radius: 50%; font-size: 19px; font-weight: 800; color: var(--rose-deep); display: grid; place-items: center; }
.stepper span { min-width: 54px; text-align: center; font-weight: 800; font-size: 13.5px; color: var(--rose-deep); }

.hero { position: relative; margin: calc(-14px - var(--safe-t)) -16px 0; }
.hero .photo { height: 300px; border-radius: 0 0 28px 28px; }
.hero .photo .emoji { font-size: 90px; }
.hero .over { position: absolute; top: calc(12px + var(--safe-t)); left: 14px; right: 14px; display: flex; justify-content: space-between; }
.hero .over .icon-btn { background: rgba(255, 255, 255, .92); box-shadow: var(--shadow-sm); }
.recipe-head { text-align: center; padding: 20px 6px 6px; }
.recipe-head h1 { font-size: 27px; }
.recipe-head .when { margin-top: 8px; }
.facts { display: flex; justify-content: space-around; padding: 14px 0 6px; }
.fact { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12.5px; color: var(--muted); font-weight: 700; text-align: center; }
.fact svg { width: 22px; height: 22px; color: var(--ink); }
.fact b { color: var(--ink); font-size: 14px; }
.ing-head { display: flex; align-items: center; justify-content: space-between; margin: 22px 0 8px; }
.ing-table { padding: 4px 16px; }
.ing-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.ing-row:last-child { border-bottom: 0; }
.ing-row .n::first-letter { text-transform: uppercase; }
.ing-row .q { font-weight: 800; white-space: nowrap; text-align: right; }
.steps { display: flex; flex-direction: column; gap: 10px; }
.step { display: flex; gap: 14px; padding: 14px 16px; align-items: flex-start; }
.step .num { font-family: var(--serif); font-size: 24px; line-height: 1; color: var(--rose-deep); min-width: 22px; }
.step p { margin: 0; font-size: 15px; }
.desc-block { padding: 16px; white-space: pre-wrap; font-size: 15px; }

.cook { position: fixed; inset: 0; background: #fff; z-index: 60; display: flex; flex-direction: column; max-width: 560px; margin: 0 auto; }
.cook-top { display: flex; align-items: center; gap: 12px; padding: calc(12px + var(--safe-t)) 16px 8px; }
.cook-top .t { flex: 1; min-width: 0; font-weight: 800; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cook-body { flex: 1; overflow-y: auto; padding: 10px 22px 20px; }
.cook-body .k { font-family: var(--serif); font-size: 26px; margin: 8px 0 14px; }
.cook-body .txt { font-size: 22px; line-height: 1.5; }
.cook-ing { margin-top: 22px; }
.cook-ing summary { font-weight: 800; color: var(--rose-deep); cursor: pointer; }
.cook-tabs { display: flex; border-top: 1px solid var(--line); padding-bottom: var(--safe-b); }
.cook-tabs button { flex: 1; height: 56px; font-weight: 800; color: var(--muted); border-right: 1px solid var(--line); }
.cook-tabs button:last-child { border-right: 0; }
.cook-tabs button.done { background: var(--vert); color: #234510; }
.cook-tabs button.cur { background: var(--vert-deep); color: #fff; }
.cook-nav { display: flex; gap: 10px; padding: 10px 16px; }
.cook-nav .btn { flex: 1; }

.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tile { display: flex; flex-direction: column; text-align: left; overflow: hidden; position: relative; }
.tile .photo { height: 118px; border-radius: var(--r) var(--r) 0 0; }
.tile .photo .emoji { font-size: 40px; }
.tile .tb { padding: 9px 11px 12px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.tile .tt { font-weight: 800; font-size: 14px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tile .tm { font-size: 12px; color: var(--muted); font-weight: 700; }
.tile .heart { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .92); display: grid; place-items: center; color: var(--rose-deep); }
.tile .heart svg { width: 16px; height: 16px; }
.tile.excl { opacity: .55; }
.tile .excl-tag { position: absolute; top: 8px; left: 8px; }

.list-item { display: flex; align-items: center; gap: 12px; padding: 10px; margin-bottom: 10px; text-align: left; width: 100%; }
.list-item .photo { width: 58px; height: 58px; border-radius: 12px; flex: none; }
.list-item .photo .emoji { font-size: 26px; }
.list-item .li-b { flex: 1; min-width: 0; }
.list-item .li-t { font-weight: 800; font-size: 15px; line-height: 1.25; }
.list-item .li-s { font-size: 12.5px; color: var(--muted); font-weight: 600; margin-top: 2px; }
.list-item > svg { width: 18px; height: 18px; color: var(--faint); flex: none; }

.seg { display: flex; background: var(--soft); border-radius: 999px; padding: 4px; margin-bottom: 16px; }
.seg button { flex: 1; height: 38px; border-radius: 999px; font-weight: 800; font-size: 14px; color: var(--muted); }
.seg button.on { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }

.shop-group { margin-bottom: 18px; }
.shop-group h3 { font-family: var(--sans); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin: 0 4px 8px; display: flex; justify-content: space-between; }
.shop-list { padding: 2px 14px; }
.shop-item { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); width: 100%; text-align: left; }
.shop-item:last-child { border-bottom: 0; }
.box { width: 24px; height: 24px; border-radius: 7px; border: 2px solid #cfcdd6; flex: none; display: grid; place-items: center; }
.box svg { width: 15px; height: 15px; color: #fff; display: none; }
.shop-item.on .box { background: var(--vert-deep); border-color: var(--vert-deep); }
.shop-item.on .box svg { display: block; }
.shop-item .si { flex: 1; min-width: 0; }
.shop-item .si-n { font-weight: 700; font-size: 15px; }
.shop-item .si-n::first-letter { text-transform: uppercase; }
.shop-item .si-u { font-size: 12px; color: var(--faint); font-weight: 600; }
.shop-item .si-q { font-weight: 800; font-size: 14px; white-space: nowrap; }
.shop-item.on .si-n, .shop-item.on .si-q { color: var(--faint); text-decoration: line-through; }
.shop-item .del { width: 28px; height: 28px; display: grid; place-items: center; color: var(--faint); }
.shop-item .del svg { width: 16px; height: 16px; }
.progress { height: 8px; border-radius: 999px; background: var(--soft); overflow: hidden; margin: 4px 0 16px; }
.progress i { display: block; height: 100%; background: var(--vert-deep); border-radius: 999px; transition: width .2s; }

.nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding-bottom: var(--safe-b); }
.nav-in { max-width: 560px; margin: 0 auto; display: flex; height: var(--nav-h); }
.nav a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; text-decoration: none; font-size: 11.5px; font-weight: 800; color: var(--faint); position: relative; }
.nav a svg { width: 24px; height: 24px; }
.nav a.on { color: var(--rose-deep); }
.nav a .badge { position: absolute; top: 9px; left: calc(50% + 8px); min-width: 17px; height: 17px; border-radius: 999px; background: var(--rose); color: #fff; font-size: 10.5px; display: grid; place-items: center; padding: 0 4px; }

.sheet-bg { position: fixed; inset: 0; background: rgba(23, 21, 28, .38); z-index: 70; display: flex; align-items: flex-end; justify-content: center; animation: fade .15s; }
.sheet { background: #fff; width: 100%; max-width: 560px; max-height: 88vh; max-height: 88dvh; border-radius: 26px 26px 0 0; padding: 10px 16px calc(18px + var(--safe-b)); overflow-y: auto; animation: up .2s ease-out; }
.sheet .grab { width: 42px; height: 5px; border-radius: 999px; background: #dcdbe2; margin: 2px auto 12px; }
.sheet h2 { margin-bottom: 4px; }
.sheet .sub { color: var(--muted); font-size: 14px; margin: 0 0 14px; }
.menu-list button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 13px 4px; border-bottom: 1px solid var(--line); text-align: left; font-weight: 700; font-size: 15.5px; }
.menu-list button:last-child { border-bottom: 0; }
.menu-list button svg { width: 20px; height: 20px; color: var(--muted); flex: none; }
.menu-list button.danger { color: var(--rouge); }
.menu-list button.danger svg { color: var(--rouge); }
@keyframes up { from { transform: translateY(40px); opacity: .4; } to { transform: none; opacity: 1; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.toast { position: fixed; left: 50%; bottom: calc(var(--nav-h) + var(--safe-b) + 14px); transform: translateX(-50%); background: var(--ink); color: #fff; padding: 11px 18px; border-radius: 999px; font-weight: 700; font-size: 14px; z-index: 90; box-shadow: var(--shadow); max-width: calc(100% - 32px); text-align: center; animation: fade .15s; }
.toast button { color: var(--vert); font-weight: 800; margin-left: 10px; }

.login { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; padding: 30px 22px calc(30px + var(--safe-b)); text-align: center; }
.login .logo { width: 96px; height: 96px; border-radius: 26px; margin: 0 auto 18px; box-shadow: var(--shadow); }
.login h1 { font-size: 36px; margin-bottom: 6px; }
.login p { color: var(--muted); margin: 0 0 26px; }
.login form { text-align: left; }
.who-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 10px; }
.who-pick button { padding: 22px 10px; display: flex; flex-direction: column; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; }
.who-pick .avatar { width: 64px; height: 64px; font-size: 26px; }
.err { color: var(--rouge); font-weight: 700; font-size: 14px; margin: -4px 0 12px; }

.set-card { padding: 16px; margin-bottom: 14px; }
.set-card h3 { margin-bottom: 4px; }
.set-card p { margin: 0 0 12px; font-size: 14px; color: var(--muted); }
.add-row { display: flex; gap: 8px; margin-top: 10px; }
.add-row input { flex: 1; min-width: 0; }
.add-row .btn { height: 46px; }

.fav-who { display: inline-flex; gap: 3px; }
.fav-who i { width: 18px; height: 18px; border-radius: 50%; font-style: normal; font-size: 10px; font-weight: 800; color: #fff; display: grid; place-items: center; }
.fav-who i.louis { background: #5d6de6; }
.fav-who i.tiphaine { background: var(--rose); }

.hist-week { padding: 14px; margin-bottom: 12px; }
.hist-week .hw-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; text-align: left; }
.hist-week .hw-h b { font-size: 15px; }
.hist-week .hw-h small { display: block; color: var(--muted); font-weight: 600; font-size: 12.5px; }
.hist-week ul { list-style: none; margin: 10px 0 0; padding: 0; }
.hist-week li button { display: flex; gap: 10px; width: 100%; text-align: left; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.hist-week li .d { color: var(--muted); font-weight: 700; min-width: 86px; font-size: 12.5px; padding-top: 1px; }

.spinner { width: 30px; height: 30px; border: 3px solid var(--rose-soft); border-top-color: var(--rose); border-radius: 50%; animation: spin .8s linear infinite; margin: 40vh auto 0; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (min-width: 600px) {
  .grid { grid-template-columns: 1fr 1fr 1fr; }
}
.meal > button { display: flex; flex-direction: column; }
