/* Weekly pages (tasks 823.31 + 823.34): weekly meal prep ("mp-") and the recipe of the week ("rw-"). Colors come from
   site.css (light and dark). Loaded on those pages only. */
.mp-facts { margin: 4px 0 14px; }
.mp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0 0 8px; }
.mp-grid { margin-bottom: 18px; }
.mp-table { width: 100%; max-width: 900px; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.mp-table th, .mp-table td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.mp-table thead th { font-size: .85rem; color: var(--muted); background: var(--surface-2); }
.mp-table tbody tr:last-child > * { border-bottom: 0; }
.mp-order { max-width: 76ch; margin: 0; padding-left: 1.4em; }
.mp-order li { margin-bottom: 10px; padding-left: 4px; }
.mp-order li::marker { font-weight: 700; color: var(--accent); }
.mp-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 8px 0 12px; }
.mp-two .panel h2, .mp-fresh h2, .mp-featured h2, .mp-own h2 { font-size: 1.3rem; margin-bottom: .3em; }
.mp-list { margin: 0; padding-left: 1.1em; }
.mp-list li { margin-bottom: 8px; }
.mp-days { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.mp-day { background: var(--surface); border: 1px solid var(--line); border-top: 5px solid var(--honey); border-radius: 14px; padding: 12px 14px; }
.mp-day h3 { font-size: 1.1rem; margin: 0 0 6px; }
.mp-meals { list-style: none; padding: 0; margin: 0; }
.mp-meal { padding: 7px 0; border-top: 1px dashed var(--line); }
.mp-meal:first-child { border-top: 0; }
.mp-meal-name { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.mp-reheat { display: block; color: var(--muted); margin-top: 2px; }
.mp-k-fresh .mp-meal-name { color: var(--accent); }
.mp-note { background: var(--honey-soft); border-radius: 10px; padding: 6px 10px; margin: 0 0 6px; }
.mp-fresh, .mp-own, .mp-featured { max-width: 900px; margin: 0 0 18px; }
.mp-why { max-width: 80ch; }
.mp-cards { list-style: none; padding: 0; margin: 8px 0 12px; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.mp-card { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--honey); border-radius: 14px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); }
.mp-card:hover { border-color: var(--accent); color: var(--ink); }
.mp-card-title { font: 700 1.1rem/1.25 var(--serif); }
@media (max-width: 760px) {
  .mp-two { grid-template-columns: 1fr; }
  .mp-table thead { display: none; }
  .mp-table, .mp-table tbody, .mp-table tr, .mp-table th, .mp-table td { display: block; width: auto; }
  .mp-table tr { padding: 8px 12px; border-bottom: 1px solid var(--line); }
  .mp-table tbody tr:last-child { border-bottom: 0; }
  .mp-table th, .mp-table td { padding: 2px 0; border: 0; }
  .mp-table td:nth-child(2)::before { content: "For: "; color: var(--muted); }
  .mp-table td:nth-child(3)::before { content: "Makes: "; color: var(--muted); }
  .mp-table td:nth-child(4)::before { content: "Fridge: "; color: var(--muted); }
  .mp-table td:nth-child(5)::before { content: "Freezer: "; color: var(--muted); }
}

/* recipe of the week */
.rw-feature { display: grid; grid-template-columns: minmax(220px, 340px) 1fr; gap: 22px; align-items: start; max-width: 1000px; margin: 8px 0 20px; }
.rw-art { display: block; border-radius: 14px; overflow: hidden; }
.rw-art img { display: block; width: 100%; height: auto; }
.rw-text h2 { font-size: 1.7rem; margin: 0 0 .3em; }
.rw-text h2 a { color: var(--ink); text-decoration: none; }
.rw-text h2 a:hover { text-decoration: underline; }
.rw-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.rw-past { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.rw-week { margin: 0 0 6px; }
.rw-follow { max-width: 900px; }
.rw-follow h2 { font-size: 1.3rem; margin-bottom: .3em; }
@media (max-width: 700px) { .rw-feature { grid-template-columns: 1fr; } }
