/* Recipes module — linen & paper theme (from the user's reference images). Scoped under .rcp- */
.rcp-root {
  --rcp-linen: #ECE6DA;
  --rcp-paper: #FBF8F1;
  --rcp-ink: #2A2823;
  --rcp-muted: #77705F;
  --rcp-forest: #2F4A37;
  --rcp-forest-soft: #DCE4D6;
  --rcp-rule: #D9D1C2;
  --rcp-shadow: 0 1px 2px rgba(60, 50, 30, .06), 0 8px 24px -12px rgba(60, 50, 30, .18);
  --rcp-serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --rcp-hand: "Kalam", "Segoe Print", "Bradley Hand", cursive;
  --rcp-sans: "Jost", "Avenir Next", system-ui, sans-serif;
  background: var(--rcp-linen);
  color: var(--rcp-ink);
  font-family: var(--rcp-sans);
  font-size: 16px;
  line-height: 1.45;
  padding: 20px 16px 120px;
  min-height: 100%;
  box-sizing: border-box;
}
.rcp-root *, .rcp-root *::before, .rcp-root *::after { box-sizing: border-box; }

/* Screen title */
.rcp-screen-title {
  font-family: var(--rcp-serif);
  font-weight: 500;
  font-size: 30px;
  letter-spacing: .22em;
  text-transform: uppercase;
  text-align: center;
  margin: 8px 0 2px;
}
.rcp-screen-sub {
  font-family: var(--rcp-hand);
  font-weight: 300;
  color: var(--rcp-muted);
  text-align: center;
  margin: 0 0 6px;
  font-size: 17px;
}
.rcp-orn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin: 6px auto 18px; max-width: 220px; color: var(--rcp-forest);
}
.rcp-orn::before, .rcp-orn::after { content: ""; flex: 1; height: 1px; background: var(--rcp-rule); }
.rcp-orn svg { width: 16px; height: 16px; flex: none; }

/* Paper cards */
.rcp-card {
  background: var(--rcp-paper);
  border-radius: 6px;
  box-shadow: var(--rcp-shadow);
  padding: 18px 18px;
  margin: 0 0 14px;
}
.rcp-list-card {
  display: flex; align-items: center; gap: 14px;
  width: 100%; text-align: left; border: 0; cursor: pointer;
  font: inherit; color: inherit; min-height: 72px;
}
.rcp-list-card:hover { box-shadow: 0 1px 2px rgba(60,50,30,.08), 0 10px 26px -12px rgba(60,50,30,.26); }
.rcp-list-main { flex: 1; min-width: 0; }
.rcp-list-title {
  font-family: var(--rcp-serif); font-weight: 600; font-size: 22px; line-height: 1.15;
  margin: 0 0 2px; overflow-wrap: anywhere;
}
.rcp-meta { color: var(--rcp-muted); font-size: 14px; }
.rcp-chev { width: 20px; height: 20px; color: var(--rcp-muted); flex: none; }

.rcp-empty { text-align: center; padding: 28px 18px; }
.rcp-empty p { margin: 0 0 14px; color: var(--rcp-muted); }
.rcp-empty .rcp-hand-line { font-family: var(--rcp-hand); font-size: 19px; color: var(--rcp-ink); }

/* Buttons */
.rcp-btn {
  font-family: var(--rcp-sans); font-weight: 500; font-size: 16px; letter-spacing: .02em;
  min-height: 48px; padding: 0 20px; border-radius: 6px; cursor: pointer;
  border: 1px solid var(--rcp-forest); background: var(--rcp-forest); color: var(--rcp-paper);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.rcp-btn[disabled] { opacity: .45; cursor: default; }
.rcp-btn-wide { width: 100%; }
.rcp-btn-ghost { background: transparent; color: var(--rcp-forest); }
.rcp-btn-quiet {
  background: none; border: 0; color: var(--rcp-forest); padding: 0 6px; min-height: 48px;
  text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--rcp-rule);
}
.rcp-btn-danger { background: transparent; color: #8A3B2E; border-color: #C9A79F; }
.rcp-root :focus-visible { outline: 3px solid #B9A46A; outline-offset: 2px; }

.rcp-icon-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--rcp-rule);
  background: var(--rcp-paper); color: var(--rcp-forest); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; padding: 0; flex: none;
}
.rcp-icon-btn svg { width: 20px; height: 20px; }

.rcp-topbar { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 8px; }

/* Section labels (tracked caps, part of the reference look) */
.rcp-label {
  font-family: var(--rcp-sans); font-weight: 500; font-size: 12.5px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--rcp-ink); margin: 18px 0 8px;
}
.rcp-label:first-child { margin-top: 0; }

/* Recipe view */
.rcp-title {
  font-family: var(--rcp-serif); font-weight: 600; font-size: 34px; line-height: 1.08;
  text-align: center; margin: 4px 0 4px; overflow-wrap: anywhere;
}
.rcp-serves {
  display: flex; align-items: center; justify-content: center; gap: 14px; margin: 4px 0 4px;
}
.rcp-serves-n { font-family: var(--rcp-hand); font-size: 20px; min-width: 96px; text-align: center; }

.rcp-ing { list-style: none; margin: 0; padding: 0; }
.rcp-ing li { border-bottom: 1px solid var(--rcp-rule); }
.rcp-ing li:last-child { border-bottom: 0; }
.rcp-check {
  display: flex; align-items: center; gap: 12px; min-height: 48px; cursor: pointer; padding: 4px 0;
}
.rcp-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rcp-box {
  width: 20px; height: 20px; border: 1.25px solid var(--rcp-ink); border-radius: 2px; flex: none;
  display: inline-flex; align-items: center; justify-content: center; background: var(--rcp-paper);
}
.rcp-box svg { width: 16px; height: 16px; opacity: 0; color: var(--rcp-forest); }
.rcp-check input:checked + .rcp-box svg { opacity: 1; }
.rcp-check input:focus-visible + .rcp-box { outline: 3px solid #B9A46A; outline-offset: 2px; }
.rcp-ing-text { font-family: var(--rcp-hand); font-size: 19px; line-height: 1.3; flex: 1; }
.rcp-ing-amt { color: var(--rcp-forest); }
.rcp-check input:checked ~ .rcp-ing-text { color: var(--rcp-muted); }
.rcp-have { font-size: 13px; color: var(--rcp-muted); flex: none; }

.rcp-steps { margin: 0; padding: 0; list-style: none; }
.rcp-steps li { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--rcp-rule); }
.rcp-steps li:last-child { border-bottom: 0; }
.rcp-step-n { display: block; font-family: var(--rcp-sans); font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--rcp-forest); margin-bottom: 2px; }
.rcp-links { list-style: none; margin: 0; padding: 0; }
.rcp-links li { border-bottom: 1px solid var(--rcp-rule); }
.rcp-links li:last-child { border-bottom: 0; }
.rcp-link { background: none; border: 0; padding: 12px 0; min-height: 44px; font: inherit; font-family: var(--rcp-serif); font-size: 19px; color: var(--rcp-forest); cursor: pointer; text-align: left; text-decoration: underline; text-decoration-color: var(--rcp-rule); text-underline-offset: 4px; }
.rcp-guide-links { margin: 0; line-height: 2; }
.rcp-guide-links .rcp-link { padding: 6px 2px; min-height: 40px; font-size: 18px; }
.rcp-notes { font-family: var(--rcp-hand); font-weight: 300; font-size: 18px; white-space: pre-wrap; margin: 0; }

.rcp-addbar { display: grid; gap: 10px; }
.rcp-select-row { display: flex; align-items: center; gap: 10px; }
.rcp-select-row label { color: var(--rcp-muted); font-size: 15px; flex: none; }
.rcp-select, .rcp-input, .rcp-textarea {
  font-family: var(--rcp-sans); font-size: 17px; color: var(--rcp-ink);
  background: #fff; border: 1px solid var(--rcp-rule); border-radius: 6px; min-height: 48px;
  padding: 10px 12px; width: 100%;
}
.rcp-select { flex: 1; }
.rcp-textarea { min-height: 96px; resize: vertical; }
.rcp-status { min-height: 1.4em; margin: 2px 0 0; color: var(--rcp-forest); font-size: 15px; }
.rcp-status-muted { color: var(--rcp-muted); }

/* Picture */
.rcp-pic { margin: 0; }
.rcp-pic img { display: block; width: 100%; height: auto; border-radius: 4px; }
.rcp-pic-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; }
.rcp-credit { width: 100%; margin: 4px 0 0; text-align: center; font-size: 13px; opacity: .8; }
.rcp-credit a { color: inherit; }
.rcp-px { margin-top: 10px; }
.rcp-px-row { display: flex; gap: 8px; align-items: center; }
.rcp-px-row .rcp-input { flex: 1; min-width: 0; }
.rcp-px-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; margin-top: 6px; }
.rcp-px-item { display: block; padding: 0; border: 2px solid transparent; border-radius: 6px; background: none; overflow: hidden; cursor: pointer; text-align: left; font: inherit; color: inherit; min-height: 48px; }
.rcp-px-item:focus-visible { border-color: currentColor; outline: none; }
.rcp-px-item img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.rcp-px-item span { display: block; padding: 2px 4px 4px; font-size: 12px; opacity: .75; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Form */
.rcp-field { margin: 0 0 14px; }
.rcp-field > label { display: block; font-size: 15px; color: var(--rcp-muted); margin: 0 0 6px; }
.rcp-lines { list-style: none; margin: 0; padding: 0; }
.rcp-lines li { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--rcp-rule); }
.rcp-lines li:first-child { border-top: 1px solid var(--rcp-rule); }
.rcp-line-n { font-family: var(--rcp-serif); font-weight: 600; color: var(--rcp-forest); width: 1.4em; text-align: right; flex: none; }
.rcp-line {
  flex: 1; border: 0; background: transparent; min-height: 48px; padding: 8px 2px;
  font-family: var(--rcp-sans); font-size: 17px; color: var(--rcp-ink); width: 100%;
}
.rcp-line:focus { outline: none; background: rgba(220, 228, 214, .45); }
.rcp-line:focus-visible { outline: none; }
.rcp-line::placeholder { color: #A8A090; }
.rcp-hint { font-size: 13.5px; color: var(--rcp-muted); margin: 6px 0 0; }
.rcp-form-actions { display: grid; gap: 10px; margin-top: 6px; }
.rcp-inline { display: flex; gap: 10px; }
.rcp-inline .rcp-field { flex: 1; }
.rcp-serves-input { max-width: 110px; }

.rcp-setting { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; }
.rcp-setting span { font-size: 15px; }
.rcp-switch { position: relative; width: 52px; height: 30px; flex: none; }
.rcp-switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.rcp-switch i {
  position: absolute; inset: 0; border-radius: 15px; background: var(--rcp-rule); pointer-events: none;
  transition: background .15s;
}
.rcp-switch i::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--rcp-paper); box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: transform .15s;
}
.rcp-switch input:checked + i { background: var(--rcp-forest); }
.rcp-switch input:checked + i::after { transform: translateX(22px); }
.rcp-switch input:focus-visible + i { outline: 3px solid #B9A46A; outline-offset: 2px; }

.rcp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  .rcp-root * { transition: none !important; animation: none !important; }
}

/* polish pass */
.rcp-btn svg { width: 18px; height: 18px; flex: none; }
.rcp-list-title, .rcp-meta { display: block; }
.rcp-lines[data-lines="ing"] .rcp-line-n { display: none; }
.rcp-lines[data-lines="ing"] .rcp-line { padding-left: 4px; }

/* v2: library, collections, cost, plans */
.rcp-chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; margin: 0 -16px 8px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; }
.rcp-chips::-webkit-scrollbar { display: none; }
.rcp-chip {
  flex: none; min-height: 48px; padding: 0 16px; border-radius: 24px; border: 1px solid var(--rcp-rule);
  background: transparent; color: var(--rcp-ink); font-family: var(--rcp-sans); font-size: 15px; cursor: pointer; white-space: nowrap;
}
.rcp-chip[aria-pressed="true"] { background: var(--rcp-forest); border-color: var(--rcp-forest); color: var(--rcp-paper); }
.rcp-af { display: block; font-family: var(--rcp-sans); font-size: 13px; font-weight: 400; color: var(--rcp-muted); letter-spacing: 0; margin-top: 2px; }
.rcp-title .rcp-af { font-size: 15px; }
.rcp-title-main { display: block; }
.rcp-view-meta { text-align: center; color: var(--rcp-muted); font-size: 15px; margin: 0 0 4px; }
.rcp-card-slim { padding: 6px 14px; }
.rcp-ing-note { display: block; font-family: var(--rcp-sans); font-size: 13px; color: var(--rcp-muted); line-height: 1.3; }
.rcp-swap { margin: -6px 0 8px 32px; font-size: 13.5px; color: var(--rcp-muted); font-style: italic; }
.rcp-extras-toggle { border-top: 1px solid var(--rcp-rule); margin-top: 6px; padding-top: 4px; }
.rcp-soft { background: var(--rcp-forest-soft); border-radius: 6px; padding: 14px 18px; margin: 0 0 14px; }
.rcp-soft p { margin: 0 0 6px; } .rcp-soft p:last-child { margin: 0; }
.rcp-soft strong { font-weight: 500; }
.rcp-cost { border-top: 1px solid var(--rcp-rule); margin-top: 10px; padding-top: 10px; }
.rcp-cost-label { margin: 0; font-size: 13px; color: var(--rcp-muted); }
.rcp-cost-main { margin: 2px 0 0; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.rcp-cost-main > span:first-child { font-family: var(--rcp-serif); font-weight: 600; font-size: 24px; }
.rcp-cost-pp { color: var(--rcp-forest); font-size: 15px; }
.rcp-cost-note { margin: 4px 0 0; font-size: 13.5px; color: var(--rcp-muted); }
.rcp-step-row { display: flex; align-items: flex-start; gap: 6px; }
.rcp-step-text { flex: 1; padding-top: 2px; }
.rcp-info-btn { flex: none; width: 48px; height: 48px; margin: -12px -10px -12px 0; border: 0; background: none; color: var(--rcp-forest); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.rcp-info-btn svg { width: 22px; height: 22px; }
.rcp-info-btn[aria-expanded="true"] svg { color: var(--rcp-ink); }
.rcp-tip-btn { margin-right: 0; color: #8A6A1F; }
.rcp-tip-btn[aria-expanded="true"] svg { color: #6E5418; }
.rcp-info.rcp-tip { display: flex; gap: 8px; align-items: flex-start; background: #F4EBD3; }
.rcp-tip-ic { flex: none; width: 18px; height: 18px; margin-top: 2px; color: #8A6A1F; }
.rcp-tip-ic svg { width: 18px; height: 18px; }
.rcp-info { margin: 6px 0 0; padding: 8px 12px; background: var(--rcp-forest-soft); border-radius: 4px; font-size: 14.5px; }
.rcp-days { list-style: none; margin: 0; padding: 0; }
.rcp-days > li { border-bottom: 1px solid var(--rcp-rule); padding: 4px 0 6px; }
.rcp-days > li:last-child { border-bottom: 0; }
.rcp-days .rcp-label { margin: 8px 0 2px; }
.rcp-meal { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 48px; border: 0; background: none; padding: 0; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.rcp-meal-title { font-family: var(--rcp-hand); font-size: 19px; }
.rcp-meal .rcp-meta { display: inline; }
.rcp-status:empty { min-height: 0; margin: 0; }

/* Daniel fast intro: quiet, scripture first */
.rcp-df .rcp-verse { margin: 0 0 14px; padding: 0 0 12px; border-bottom: 1px solid var(--rcp-rule); }
.rcp-df .rcp-verse p { font-family: var(--rcp-serif); font-style: italic; font-size: 19px; line-height: 1.45; margin: 0 0 4px; }
.rcp-df .rcp-verse cite { font-style: normal; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--rcp-muted); }
.rcp-df-list { margin: 0 0 10px; padding-left: 18px; }
.rcp-df-list li { margin: 0 0 3px; }
.rcp-df-k { margin: 8px 0 2px; font-weight: 500; }
.rcp-df-caution { margin: 12px 0 0; padding: 10px 12px; border-radius: 6px; background: var(--rcp-forest-soft); font-size: 14.5px; }
.rcp-df-fast { padding: 10px 0; border-bottom: 1px solid var(--rcp-rule); }
.rcp-df-title { margin: 0 0 4px; font-family: var(--rcp-serif); font-size: 20px; }
.rcp-df-says { margin: 0 0 6px; }
.rcp-df details summary, .rcp-df-group summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; }
.rcp-df-group { border-bottom: 1px solid var(--rcp-rule); }
.rcp-df-more { margin-bottom: 8px; }

/* hand-made ingredient illustrations: quiet, one per card */
.rcp-card-ill { flex: none; width: 28px; height: 28px; opacity: .72; filter: saturate(.7); }
.rcp-ill-row { display: flex; justify-content: center; gap: 6px; margin: 6px 0 2px; }
.rcp-ill { width: 52px; height: 52px; opacity: .9; }
.rcp-il { display: block; width: 100%; height: 100%; }

/* Step timers and other cooking ways */
.rcp-timer { margin-top: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--rule, #D9D1C2); background: var(--soft, #DCE4D6); color: var(--forest, #2F4A37); font: inherit; font-size: 15px; min-height: 48px; }
.rcp-alts { margin: 0; padding-left: 18px; }
.rcp-alts li { margin: 6px 0; }
.rcp-buy { margin: 0; padding-left: 0; list-style: none; }
.rcp-buy > li { margin: 10px 0; }
.rcp-buy ul { margin: 4px 0 0; padding-left: 18px; }
.rcp-buy a { color: var(--forest, #2F4A37); }

/* Plans: a saved own recipe the free plan cannot open (name + lock; tap = upgrade sheet) */
.rcp-locked { opacity: .72; }
.rcp-locked .rcp-lock { flex: none; margin-left: auto; color: var(--ink-soft, #77705F); }

/* Gather first / As I go */
.rcp-mode { display: flex; gap: 8px; margin: 2px 0 12px; }
.rcp-mode .rcp-chip { flex: 1; min-height: 48px; }
.rcp-use-list { margin: 8px 0 4px; padding: 6px 10px; border-left: 3px solid var(--rcp-forest-soft); }
.rcp-use-h { margin: 0 0 2px; font-size: 13px; letter-spacing: .06em; color: var(--rcp-muted, #77705F); }
.rcp-use .rcp-ing-text { font-size: 15px; }
.rcp-use input:checked ~ .rcp-ing-text { text-decoration: line-through; opacity: .6; }

/* Goal first */
.rcp-goal { text-align: center; }
.rcp-goal .rcp-ill-row { justify-content: center; margin: 4px 0 8px; }
.rcp-goal-text { margin: 4px auto 6px; max-width: 30ch; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 21px; line-height: 1.3; color: var(--rcp-ink, #2A2823); }
.rcp-goal .rcp-view-meta { margin: 0; }

/* labelled ingredient card (flat-lay with handwritten notes and arrows) */
.rcp-flat { background: #F6EFE2; text-align: center; }
.rcp-flat-title { margin: 2px 0 0; font-family: var(--rcp-hand); font-size: 34px; line-height: 1.1; color: var(--rcp-ink); }
.rcp-flat-sub { margin: 2px 0 10px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.rcp-flat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 10px; }
@media (min-width: 560px) { .rcp-flat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.rcp-flat-item { margin: 0; display: grid; grid-template-columns: 1fr 40px; grid-template-rows: auto auto; align-items: end; }
.rcp-flat-item figcaption { grid-column: 1 / 3; text-align: left; font-family: var(--rcp-sans); font-size: 12.5px; line-height: 1.25; letter-spacing: .06em; text-transform: uppercase; color: var(--rcp-ink); padding: 0 4px; }
.rcp-flat-item .rcp-flat-arrow { grid-column: 1; grid-row: 2; width: 40px; height: 32px; justify-self: start; align-self: start; margin-left: 8px; fill: none; stroke: var(--rcp-ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: .8; }
.rcp-flat-item img { grid-column: 1 / 3; grid-row: 2; justify-self: center; width: 80%; aspect-ratio: 1; object-fit: cover; mix-blend-mode: multiply; margin-top: 14px;
  /* soft round edge so each studio photo melts into the card like one flat-lay */
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 52%, transparent 71%); mask-image: radial-gradient(circle at 50% 50%, #000 52%, transparent 71%); }
.rcp-flat-item.flip figcaption { text-align: right; }
.rcp-flat-item.flip .rcp-flat-arrow { justify-self: end; margin: 0 8px 0 0; transform: scaleX(-1); }
.rcp-flat-item.nopic img, .rcp-flat-item.nopic .rcp-flat-arrow { display: none; }
.rcp-flat-also { margin: 10px 0 2px; font-family: var(--rcp-hand); font-size: 17px; line-height: 1.35; color: var(--rcp-ink); }
.rcp-flat-also span { opacity: .7; }

/* macros per serving */
.rcp-macros { list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.rcp-macros li { text-align: center; border: 1px solid var(--rcp-rule); border-radius: 8px; padding: 6px 2px; font-size: 12px; text-transform: lowercase; }
.rcp-macros b { display: block; font-family: var(--rcp-serif); font-size: 18px; font-weight: 600; text-transform: none; }

/* v60 ingredient stage: ingredients float above the plate with labels (plays once on open) */
.rcp-stage { background: radial-gradient(120% 90% at 50% 35%, #2a2623 0%, #141211 70%); color: #f4ede2; text-align: center; overflow: hidden; padding-bottom: 10px; }
.rcp-stage-title { margin: 4px 0 0; font-family: var(--rcp-hand); font-size: 30px; line-height: 1.1; color: #f4ede2; }
.rcp-stage-sub { margin: 2px 0 0; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; opacity: .65; }
.rcp-stage-box { position: relative; width: 100%; max-width: 440px; margin: 6px auto 0; }
.rcp-st-item { position: absolute; left: var(--x); top: var(--y); width: 25%; margin: 0; transform: translateX(-50%) rotate(var(--rot)); z-index: 2; }
.rcp-st-item img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; opacity: 0; transition: opacity .3s;
  filter: drop-shadow(0 10px 12px rgba(0,0,0,.6)) saturate(1.08); }
.rcp-st-item img.cut { opacity: 1; }
.rcp-st-item.nopic img { visibility: hidden; }
.rcp-st-item figcaption { position: absolute; top: 50%; display: flex; align-items: center; gap: 4px; transform: translateY(-50%) rotate(calc(var(--rot) * -1)); white-space: nowrap; }
.rcp-st-item.l figcaption { right: 92%; flex-direction: row-reverse; }
.rcp-st-item.r figcaption { left: 92%; }
.rcp-st-item .ln { display: block; width: 16px; height: 1px; background: rgba(244,237,226,.7); position: relative; }
.rcp-st-item .ln::after { content: ''; position: absolute; top: -2px; width: 5px; height: 5px; border-radius: 50%; background: #f4ede2; }
.rcp-st-item.l .ln::after { left: -2px; } .rcp-st-item.r .ln::after { right: -2px; }
.rcp-st-item .chip { display: inline-block; color: #f4ede2; min-height: 0; max-width: min(27vw, 120px); overflow: hidden; text-overflow: ellipsis; font-size: 11px; line-height: 1.25; padding: 4px 8px; border-radius: 10px;
  background: rgba(30,27,25,.72); border: 1px solid rgba(244,237,226,.22); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); white-space: normal; text-align: left; }
.rcp-st-plate { position: absolute; left: 50%; bottom: 1%; width: 58%; aspect-ratio: 1 / .42; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(ellipse at 50% 40%, #3a3532 0%, #1c1a18 62%, #0e0d0c 100%); box-shadow: 0 18px 30px rgba(0,0,0,.6), inset 0 2px 0 rgba(255,255,255,.08); z-index: 1; }
.rcp-st-dish { position: absolute; inset: 10% 14%; border-radius: 50%; overflow: hidden; }
.rcp-st-dish { inset: -62% 16% 12%; border-radius: 50%; overflow: hidden; }
.rcp-st-dish img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.35);
  -webkit-mask-image: radial-gradient(circle, #000 48%, transparent 70%); mask-image: radial-gradient(circle, #000 48%, transparent 70%); }
.rcp-stage-also { font-size: 12px; opacity: .8; margin: 8px 12px 4px; }
.rcp-stage-also span { text-transform: uppercase; letter-spacing: .12em; font-size: 10px; opacity: .7; }
.rcp-stage .rcp-stage-replay { color: #f4ede2; border-color: rgba(244,237,226,.3); margin-top: 4px; }
@keyframes rcpRise { 0% { top: 88%; opacity: 0; transform: translateX(-50%) scale(.3) rotate(0deg); } 60% { opacity: 1; } 100% { top: var(--y); opacity: 1; transform: translateX(-50%) scale(1) rotate(var(--rot)); } }
@keyframes rcpFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rcpBob { 0%, 100% { margin-top: 0; } 50% { margin-top: -4px; } }
.rcp-stage.play .rcp-st-item { animation: rcpRise 1.1s cubic-bezier(.2,.8,.25,1.15) var(--d) both, rcpBob 4s ease-in-out calc(var(--d) + 1.2s) 2; }
.rcp-stage.play .rcp-st-item figcaption { animation: rcpFade .5s ease calc(var(--d) + 1s) both; }
.rcp-stage.play .rcp-st-plate { animation: rcpFade .5s ease both; }
@media (prefers-reduced-motion: reduce) { .rcp-stage.play .rcp-st-item, .rcp-stage.play .rcp-st-item figcaption, .rcp-stage.play .rcp-st-plate { animation: none; } .rcp-stage-replay { display: none; } }

/* ===== v63 linen editorial look (approved preview 15 Nov 2026): one tablecloth, no boxes, menu typography ===== */
.rcp-card, .rcp-soft, .rcp-list-card { background: transparent !important; box-shadow: none !important; border-radius: 0 !important; padding: 18px 0 !important; border-top: 1px solid var(--rcp-rule); margin: 0 0 6px !important; }
.rcp-label { font-family: var(--rcp-sans); font-weight: 500; font-size: 11px !important; letter-spacing: .3em; color: var(--rcp-muted); display: flex; align-items: center; gap: 12px; }
.rcp-label::after { content: ''; flex: 1; height: 1px; background: var(--rcp-rule); }
.rcp-hero { margin: 0 -16px; height: 0; overflow: hidden; transition: height .5s ease; }
.rcp-hero.has { height: min(62vh, 520px); }
.rcp-hero img { display: block; width: 100%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.rcp-kicker { font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: var(--rcp-muted); margin: 14px 0 10px; }
.rcp-hero.has + .rcp-kicker { margin-top: -10vh; position: relative; }
.rcp-view .rcp-title, .rcp-title { text-align: left; font-weight: 500; font-size: clamp(38px, 11vw, 60px); line-height: .95; letter-spacing: .01em; text-transform: uppercase; color: #6A2228; margin: 0 0 10px; }
.rcp-goal-plain { text-align: left; padding: 0; }
.rcp-goal-plain .rcp-goal-text { margin: 6px 0 4px; max-width: 32ch; font-style: italic; font-size: 21px; }
.rcp-goal-plain .rcp-view-meta { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--rcp-muted); }
.rcp-rule-short { width: 44px; height: 1px; border: 0; background: var(--rcp-ink); opacity: .5; margin: 22px 0 14px; }
.rcp-serves { justify-content: flex-start; }
.rcp-serves-n { font-family: var(--rcp-sans); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; min-width: 0; }
.rcp-ing li { padding: 4px 0; }
.rcp-icon-btn { background: transparent; border: 1px solid var(--rcp-rule); border-radius: 50%; }
.rcp-root, #rcpRoot { --rcp-forest: #2B2622; --rcp-forest-soft: rgba(106,34,40,.08); --rcp-paper: #F4EFE6; --rcp-linen: transparent; --rcp-rule: rgba(43,38,34,.16); --rcp-shadow: none; background: transparent; }
/* the hero now shows the dish photo; the old picture card keeps only "add my photo / choose a free photo" */
.rcp-pic[data-pic], [data-act="hidepic"], [data-act="showpic"] { display: none !important; }
.rcp-pic-row { justify-content: flex-start; }
.rcp-goal-plain .rcp-view-meta { text-align: left; }
.rcp-ing-text { font-family: var(--rcp-serif); font-size: 21px; line-height: 1.25; }
.rcp-notes, .rcp-meal-title { font-family: var(--rcp-serif); font-size: 19px; }
.rcp-empty .rcp-hand-line { font-family: var(--rcp-serif); font-style: italic; }
.rcp-root { --rcp-hand: "Cormorant Garamond", "Iowan Old Style", Georgia, serif; }
.rcp-input, .rcp-root input[type="text"], .rcp-root input[type="search"], .rcp-root select { background: transparent !important; border: 0 !important; border-bottom: 1px solid rgba(43,38,34,.35) !important; border-radius: 0 !important; }
.rcp-orn { display: none !important; }

/* v65 single-item ingredient pictures: small, floating on the linen, no frame */
.rcp-check.has-pic { padding-right: 2px; }
.rcp-ing-pic { width: 70px; height: 54px; object-fit: contain; object-position: right center; flex: none; margin-left: 4px;
  filter: drop-shadow(0 3px 4px rgba(43,38,34,.18)); }
.rcp-check input:checked ~ .rcp-ing-pic { opacity: .45; }
@media (prefers-reduced-motion: no-preference) {
  .rcp-ing.fresh .rcp-ing-pic { animation: rcpPicIn .7s ease-out both; }
  .rcp-ing.fresh li:nth-child(2) .rcp-ing-pic { animation-delay: .06s; }
  .rcp-ing.fresh li:nth-child(3) .rcp-ing-pic { animation-delay: .12s; }
  .rcp-ing.fresh li:nth-child(4) .rcp-ing-pic { animation-delay: .18s; }
  .rcp-ing.fresh li:nth-child(n+5) .rcp-ing-pic { animation-delay: .24s; }
}
@keyframes rcpPicIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
