/* =========================================================
   Moikeha Recipes — Cookie Ninja editorial system
   Fraunces + Inter · paper / ink / ninja red
   ========================================================= */
:root {
  --bg: #f5f4f0;            /* paper */
  --card: #ffffff;
  --ink: #121212;           /* paper-ink */
  --ink-soft: #6a6862;      /* paper-muted */
  --line: #e3e1d9;          /* paper-line */
  --accent: #df3b32;        /* ninja red */
  --accent-2: #b62b23;
  --accent-soft: rgba(223, 59, 50, .09);
  --chip: #eceae2;
  --shadow: 0 1px 3px rgba(18, 18, 18, .07), 0 6px 18px rgba(18, 18, 18, .05);
  --radius: 14px;
  --radius-lg: 22px;
  --pill: 999px;
  --display: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
/* Single light "paper" theme by request — no dark mode. */

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: env(safe-area-inset-bottom);
}
main { max-width: 720px; margin: 0 auto; padding: 0 16px; }

h1, h2.display, .detail-title, .modal-card h2 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.02em;
  font-variation-settings: "opsz" 96, "SOFT" 70;
}

/* ---------- eyebrow label ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 600; font-size: 12px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: .7; }

/* ---------- header ---------- */
.top { padding-top: calc(16px + env(safe-area-inset-top)); }
.top h1 { font-size: 34px; margin: 4px 0 14px; }
.searchwrap { position: relative; }
.searchicon {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--ink-soft); pointer-events: none;
}
#search {
  width: 100%;
  padding: 12px 40px 12px 42px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: var(--card);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
#search:focus { border-color: var(--accent); }
#search::-webkit-search-cancel-button { display: none; }
.clearbtn {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border: 0; border-radius: 50%;
  background: var(--chip); color: var(--ink-soft);
  font-size: 18px; line-height: 1; cursor: pointer;
}

.chips {
  display: flex; gap: 8px; overflow-x: auto;
  padding: 14px 16px 4px; margin: 0 -16px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.chips.cats { padding-top: 8px; }
.chips.tagsrow { padding-top: 8px; }
.chips.tagsrow .chip {
  font-size: 12.5px; padding: 5px 12px;
  color: var(--accent); border-color: var(--line);
}
.chips.tagsrow .chip.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  border-radius: var(--pill);
  padding: 7px 15px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13.5px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s;
}
.chip.active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---------- list ---------- */
.listbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 2px 2px;
}
.count {
  font-size: 11px; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--ink-soft);
}
.sortseg { display: flex; background: var(--chip); border-radius: var(--pill); padding: 3px; }
.segbtn {
  border: 0; background: transparent; color: var(--ink-soft);
  font-family: var(--sans); font-weight: 500;
  font-size: 13px; padding: 4px 12px; border-radius: var(--pill); cursor: pointer;
}
.segbtn.active { background: var(--card); color: var(--ink); box-shadow: var(--shadow); }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  padding: 12px 0 24px;
}
.card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  cursor: pointer;
  padding: 0; text-align: left;
  color: var(--ink);
  font: inherit;
  display: block;
  width: 100%;
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:active { transform: scale(.97); }
.card .thumb {
  aspect-ratio: 4 / 3;
  display: flex; align-items: center; justify-content: center;
  font-size: 52px;
  background: var(--accent-soft);
  position: relative;
  overflow: hidden;
}
.card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card .fav-flag {
  position: absolute; top: 8px; right: 8px; font-size: 16px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .25));
}
.card .body { padding: 11px 13px 13px; }
.card .title {
  font-family: var(--display);
  font-weight: 600;
  font-variation-settings: "opsz" 30, "SOFT" 70;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: -.01em;
}
.card .meta { font-size: 12px; color: var(--ink-soft); margin-top: 4px; }

.empty { text-align: center; padding: 60px 0; color: var(--ink-soft); }
.empty-emoji { font-size: 44px; }

.foot { text-align: center; padding: 8px 0 32px; }
.linkbtn {
  border: 0; background: none; color: var(--ink-soft);
  font-family: var(--sans); font-size: 13px; text-decoration: underline; cursor: pointer;
}

/* ---------- detail ---------- */
.detail-hero { margin: 0 -16px; position: relative; }
.detail-hero .hero-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.detail-hero .hero-emoji {
  aspect-ratio: 16 / 7;
  display: flex; align-items: center; justify-content: center;
  font-size: 76px;
  background: var(--accent-soft);
}
.detail-topbar {
  position: sticky; top: 0; z-index: 5;
  display: flex; justify-content: space-between; align-items: center;
  padding: calc(8px + env(safe-area-inset-top)) 0 8px;
  background: linear-gradient(var(--bg) 70%, transparent);
  margin: 0 -4px;
}
.roundbtn {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card); color: var(--ink);
  font-size: 18px; cursor: pointer;
  box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center;
}
.detail-title { font-size: 30px; margin: 16px 0 6px; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 4px; }
.metachip {
  background: var(--chip); border-radius: var(--pill);
  font-size: 13px; font-weight: 500; padding: 5px 13px; color: var(--ink);
}
.source { color: var(--ink-soft); font-size: 13.5px; margin: 8px 0 0; }
.source a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.tags { margin-top: 6px; line-height: 1.9; }
.tagbtn {
  border: 0; background: none; padding: 0;
  color: var(--accent); font-family: var(--sans);
  font-weight: 500; font-size: 13px;
  cursor: pointer;
}
.tagbtn:active { text-decoration: underline; }
.chip.coll { border-color: var(--accent); color: var(--accent); font-weight: 600; }
.chip.coll.active { background: var(--accent); color: #fff; }
.tagsug { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 0 2px; }
.tagsug[hidden] { display: none; }
.chip.sug { font-size: 12.5px; padding: 5px 12px; color: var(--accent); border-color: var(--line); }

.notstrict {
  margin: 12px 0 0;
  background: rgba(217, 154, 43, .12);
  border-left: 2px solid #d99a2b;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 10px 14px;
  font-size: 13.5px;
}
.notstrict-title {
  font-weight: 700; font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: #a8751f; margin-bottom: 3px;
}
.notstrict-row b { text-transform: lowercase; }

.detail h2 {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--sans);
  font-size: 12px; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--accent);
  margin: 28px 0 10px;
}
.detail h2 > span { display: inline-flex; align-items: center; gap: 9px; }
.detail h2 > span::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: .7; }
.detail h3.ingsec {
  font-family: var(--display);
  font-weight: 600; font-variation-settings: "opsz" 30, "SOFT" 70;
  font-size: 16px; color: var(--ink); margin: 16px 0 6px;
}
.resetlink {
  font-family: var(--sans); font-size: 12px; font-weight: 500;
  text-transform: none; letter-spacing: 0;
  color: var(--ink-soft); text-decoration: underline;
  border: 0; background: none; cursor: pointer;
}

.ing-list { list-style: none; margin: 0; padding: 0; }
.ing-list li {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 9px 0; border-bottom: 1px solid var(--line);
  cursor: pointer;
  line-height: 1.45;
}
.ing-list li .box {
  flex: 0 0 auto; width: 20px; height: 20px; margin-top: 2px;
  border: 2px solid var(--ink-soft); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: #fff;
}
.ing-list li.done .box { background: var(--accent); border-color: var(--accent); }
.ing-list li.done .txt { text-decoration: line-through; color: var(--ink-soft); }

.step-list { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.step-list li { display: flex; gap: 12px; padding: 10px 0; }
.step-list li .num {
  counter-increment: step;
  flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-size: 13px; font-weight: 700; margin-top: 3px;
}
.step-list li .num::before { content: counter(step); }

.notes {
  background: var(--accent-soft);
  border-left: 2px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 14px 16px;
  font-size: 15px;
  white-space: pre-wrap;
}
.cookbook-photo { margin: 10px 0 0; }
.cookbook-photo img {
  width: 100%; border-radius: var(--radius); box-shadow: var(--shadow);
  border: 1px solid var(--line); display: block;
}
.wakerow {
  display: flex; align-items: center; justify-content: space-between;
  margin: 28px 0 8px; padding: 12px 16px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.wakerow .lbl { font-size: 15px; font-weight: 500; }
.wakerow .sub { font-size: 12.5px; color: var(--ink-soft); }
.toggle {
  position: relative; width: 50px; height: 30px; border-radius: var(--pill);
  background: var(--chip); border: 0; cursor: pointer; transition: background .2s;
}
.toggle::after {
  content: ""; position: absolute; top: 3px; left: 3px;
  width: 24px; height: 24px; border-radius: 50%; background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
  transition: left .2s;
}
.toggle.on { background: var(--accent); }
.toggle.on::after { left: 23px; }
.detail-foot { padding: 24px 0 40px; }

/* ---------- view bar (Start Cooking + view toggle) ---------- */
.viewbar {
  display: flex; align-items: center; gap: 10px;
  margin: 18px 0 4px;
}
.cookbtn { flex: 1; margin-top: 0; width: auto; padding: 13px 18px; }
.viewseg { flex: 0 0 auto; }

/* ---------- line-up view ---------- */
.lu-head {
  display: grid; grid-template-columns: minmax(110px, 38%) 1fr; gap: 12px;
  font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-soft);
  padding: 4px 0 8px;
  border-bottom: 2px solid var(--ink);
}
.lu-row {
  display: grid; grid-template-columns: minmax(110px, 38%) 1fr; gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.lu-prep { background: var(--accent-soft); margin: 0 -8px; padding: 13px 8px; border-radius: var(--radius); border-bottom: 0; }
.lu-ing {
  font-size: 13.5px; font-weight: 600; line-height: 1.35;
  padding: 2px 0;
}
.lu-none { color: var(--ink-soft); font-weight: 400; }
.lu-step { display: flex; gap: 10px; align-items: flex-start; }
.lu-step .num {
  flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; margin-top: 1px;
}
.lu-step-title {
  font-family: var(--display); font-weight: 600;
  font-variation-settings: "opsz" 30, "SOFT" 70;
  font-size: 15.5px; margin-bottom: 2px;
}
.lu-step-text { font-size: 14.5px; line-height: 1.5; }
.lu-step-main { flex: 1; min-width: 0; }
.lu-icon {
  flex: 0 0 auto; width: 22px; height: 22px;
  color: var(--ink-soft); opacity: .75; margin-top: 2px;
}
.lu-icon svg { width: 100%; height: 100%; }

.step-photo {
  display: block; width: 100%; max-width: 340px;
  border-radius: 10px; margin-top: 8px;
  border: 1px solid var(--line);
}
.cook-step-img {
  display: block; width: 100%; max-height: 280px; object-fit: cover;
  border-radius: var(--radius); margin: 0 0 16px;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.cook-step-img.action { max-height: 190px; opacity: .96; }
.cook-icon-tile {
  display: flex; align-items: center; justify-content: center;
  height: 110px; margin: 0 0 16px;
  background: var(--accent-soft); border-radius: var(--radius);
  color: var(--accent);
}
.cook-icon-tile svg { width: 56px; height: 56px; }

/* ---------- cook mode ---------- */
.cook {
  position: fixed; inset: 0; z-index: 100;
  background: var(--bg); color: var(--ink);
  display: flex; flex-direction: column;
}
.cook-top {
  display: flex; align-items: center; gap: 12px;
  padding: calc(10px + env(safe-area-inset-top)) 16px 10px;
}
.cook-recipe {
  flex: 1; min-width: 0;
  font-family: var(--display); font-weight: 600;
  font-variation-settings: "opsz" 30, "SOFT" 70;
  font-size: 16px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cook-count { font-size: 13px; font-weight: 600; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.cook-progress { height: 3px; background: var(--chip); margin: 0 16px; border-radius: 2px; overflow: hidden; }
.cook-progress i { display: block; height: 100%; background: var(--accent); transition: width .3s ease; }
.cook-body {
  flex: 1; overflow-y: auto;
  padding: 22px 20px 20px;
  max-width: 720px; width: 100%; margin: 0 auto;
}
.cook-section { margin-bottom: 6px; }
.cook-step-title { font-family: var(--display); font-weight: 500; letter-spacing: -.02em; font-variation-settings: "opsz" 96, "SOFT" 70; font-size: 30px; line-height: 1.1; margin: 0 0 12px; }
.cook-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.cook-text { font-size: 18px; line-height: 1.65; margin: 0 0 20px; }
.cook-ings { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px 4px; box-shadow: var(--shadow); margin-bottom: 18px; }
.cook-ings-label {
  font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 2px;
}
.cook-ings .ing-list li:last-child { border-bottom: 0; }
.cook-timer-btn { width: 100%; margin-top: 0; }
.cook-timer-btn.alarm { animation: pulse 1s infinite; }
.cook-nav {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  max-width: 720px; width: 100%; margin: 0 auto;
}
.cook-prev { flex: 0 0 auto; padding: 12px 18px; background: var(--chip); }
.cook-prev:disabled { opacity: .4; }
.cook-nav .btn { flex: 1; margin-top: 0; }
.cook-pill {
  font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums;
  background: var(--chip); border-radius: var(--pill); padding: 7px 12px;
  white-space: nowrap;
}
.cook-pill.alarm { background: var(--accent); color: #fff; animation: pulse 1s infinite; }
.cook-done { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; gap: 6px; }
.cook-done-emoji { font-size: 64px; }
.cook-done .btn { max-width: 260px; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }

/* ---------- explode view ---------- */
/* ---------- family edit mode ---------- */
.editbtn {
  position: absolute; right: 16px; top: calc(18px + env(safe-area-inset-top));
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--card); color: var(--ink-soft);
  font-size: 15px; cursor: pointer;
}
.editbtn.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.profilebtn {
  right: 60px; width: auto; border-radius: 999px;
  padding: 0 12px; font-size: 12.5px; font-weight: 600;
  white-space: nowrap;
}
.profilebtn.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.top { position: relative; }
.topbar-right { display: flex; gap: 8px; }
.roundbtn.editing { background: var(--accent); border-color: var(--accent); color: #fff; }
.add-card .thumb { font-size: 44px; color: var(--accent); background: var(--accent-soft); }
.add-card { border-style: dashed; border-color: var(--accent); }
.draft-flag {
  font-size: 9px; font-weight: 700; letter-spacing: .1em;
  background: var(--accent); color: #fff;
  padding: 3px 7px; border-radius: 4px;
}
.draft-badge {
  font-size: 10px; font-weight: 700; letter-spacing: .1em;
  background: var(--accent); color: #fff;
  padding: 4px 8px; border-radius: 5px;
}
.ed-label {
  display: block; margin: 0 0 14px;
  font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-soft);
}
.ed-hint { text-transform: none; letter-spacing: 0; font-weight: 400; opacity: .8; }
.ed-in, .ed-ta {
  display: block; width: 100%; margin-top: 5px;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--card); color: var(--ink);
  font-family: var(--sans); font-size: 15px;
  padding: 10px 12px;
}
.ed-ta { line-height: 1.5; resize: vertical; }
.ed-in:focus, .ed-ta:focus { outline: none; border-color: var(--accent); }
.ed-row { display: flex; gap: 10px; }
.ed-row .ed-label { flex: 1; }
.ed-photo { display: flex; gap: 8px; align-items: center; }
.ed-photo .ed-label { flex: 1; margin: 0; }
.ed-upload { flex: 0 0 auto; background: var(--chip); padding: 10px 14px; margin-top: 5px; }
.ed-danger { color: #fff; background: #8c1f18; padding: 12px 16px; }
.modal-card .btn { display: block; }
.modal-card .btn.ghost { background: var(--chip); color: var(--ink); border-color: var(--line); }
.uploading-note {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: var(--bg);
  padding: 10px 18px; border-radius: 999px; font-size: 14px; z-index: 200;
}
.editor .cook-nav { gap: 8px; }

/* ---------- modal ---------- */
.modal[hidden] { display: none; }
.modal {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(14, 14, 16, .55);
  display: flex; align-items: flex-end; justify-content: center;
}
.modal-card {
  background: var(--card); color: var(--ink);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 26px 20px calc(24px + env(safe-area-inset-bottom));
  max-width: 720px; width: 100%;
}
.modal-card h2 { margin: 0 0 12px; font-size: 24px; }
.modal-card p { font-size: 15px; margin: 8px 0; }
.kbd { display: inline-block; border: 1px solid var(--line); border-radius: 5px; padding: 0 5px; font-size: 13px; }
.btn {
  margin-top: 14px; width: 100%;
  background: var(--accent); color: #fff;
  border: 1px solid var(--accent);
  border-radius: var(--pill); padding: 14px;
  font-family: var(--sans);
  font-size: 15px; font-weight: 600; letter-spacing: .02em;
  cursor: pointer;
  transition: background .2s;
}
.btn:hover { background: var(--accent-2); border-color: var(--accent-2); }

/* ---------- serving scaling ---------- */

.scalebar {
  display: flex; align-items: center; gap: 10px;
  margin: 12px 0 0;
}
.scalelbl {
  font-size: 11px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-soft);
}
.scalewarn {
  margin: 8px 0 0;
  background: rgba(217, 154, 43, .12);
  border-left: 2px solid #d99a2b;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 9px 13px;
  font-size: 13px; line-height: 1.45; color: var(--ink);
}
/* an amount the app rewrote, so it's obvious what changed */
.ing-list .txt.scaled { color: var(--accent-2); font-weight: 600; }

/* ---------- made-it log ---------- */

.roundbtn.madebtn { position: relative; }
.roundbtn.madebtn.made { background: var(--accent-soft); border-color: var(--accent); }
.madecount {
  position: absolute; top: -3px; right: -3px;
  min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: var(--pill);
  background: var(--accent); color: #fff;
  font-size: 10px; font-weight: 700; line-height: 16px;
  font-family: var(--sans);
}
.card .made-flag {
  position: absolute; bottom: 8px; right: 8px;
  background: rgba(18, 18, 18, .62); color: #fff;
  border-radius: var(--pill); padding: 2px 7px;
  font-size: 11px; font-weight: 600; letter-spacing: .01em;
  backdrop-filter: blur(2px);
}

/* ---------- toast ---------- */

.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 12px);
  background: var(--ink); color: #fff;
  padding: 10px 18px; border-radius: var(--pill);
  font-size: 13.5px; font-weight: 600;
  box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; z-index: 60;
  transition: opacity .18s ease, transform .18s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- keto / NSNG conversion ---------- */

.dietbar { margin-top: 8px; }
.dietpanel {
  margin: 10px 0 0;
  background: var(--accent-soft);
  border-left: 2px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 10px 14px;
}
.dietpanel-title {
  font-weight: 700; font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent-2); margin-bottom: 4px;
}
.dietpanel-sub { font-size: 12.5px; color: var(--ink-soft); margin-bottom: 6px; }
.dietpanel-note {
  font-size: 13px; line-height: 1.5; color: var(--ink);
  padding-left: 12px; position: relative; margin-top: 5px;
}
.dietpanel-note::before {
  content: "→"; position: absolute; left: 0; color: var(--accent); font-weight: 700;
}
.ing-list li.swapped .txt { text-decoration: line-through; text-decoration-color: var(--ink-soft); opacity: .6; }
.ing-list li .swap {
  display: block; margin-left: 30px;
  color: var(--accent-2); font-weight: 600; font-size: 13.5px;
}

/* swaps inside the Line-Up column */
.lu-ing.swapped .txt { text-decoration: line-through; text-decoration-color: var(--ink-soft); opacity: .6; }
.lu-ing .swap { display: block; margin-top: 2px; color: var(--accent-2); font-weight: 600; font-size: 12.5px; }
.cook-ings .ing-list li.swapped .txt { text-decoration: line-through; opacity: .6; }
