/* ═══════════════════════════════════════════════════════════════════
   JH RECIPE SKIN v1.0 — production CSS (Farah's Foods / WP Delicious headless)
   Extracted from jh-recipe-demo-3.html (the canonical design reference).
   Token block first; every zone under its own banner comment.
   NOTE: :root/[data-theme] tokens here are skin-scoped — they deliberately
   do NOT collide with the site's --bg/--forest/--copper canon tokens.

   ACCENT TOKENS ARE `--jh-`-PREFIXED. DO NOT DROP THE PREFIX. (#194 part 2)
   This file used to declare a plain `:root{--accent:#80601E}`. assets/01-tokens.css
   ALSO declares `:root{--accent:var(--copper)}` = #B5714A, in a block commented
   "Reserved future slots". Two plain `:root` selectors TIE on specificity (0,1,0),
   so DOCUMENT ORDER decides — and in the served RUCSS blob the sitewide file lands
   last, so copper silently clobbered turmeric on every recipe page in LIGHT mode
   (~45 elements below AA on one recipe, 29 on another). It leaked the other way too:
   the skin's `html[data-theme="dark"]` accent (0,1,1) out-specified the sitewide
   `:root` (0,1,0) and overwrote --accent for the WHOLE document, skin or not.
   A class- or order-based fix would be a latent regression, because WP Rocket's
   RUCSS rebuilds that blob in an order we do not control (#213). Prefixing makes the
   collision STRUCTURALLY IMPOSSIBLE instead. --jh-accent-soft / --jh-accent-on-dark
   do not collide today (01-tokens.css does not define them); they carry the prefix
   anyway so the trio stays one coherent, obviously-skin-owned set.
   Guarded by tests/test_recipe_accent_namespace.py, which has TWO halves: (a) it
   resolves four probes on real elements in headless Chrome in BOTH concatenation
   orders, and (b) it blanks every comment span in THIS file and then scans what is
   left for a bare `--accent`. Half (b) is what makes "re-introducing a bare --accent
   anywhere outside a comment fails CI" true — half (a) alone only ever covered its
   four probes, and a re-introduction in any other rule sailed through it. Neither
   half checks contrast: a correctly-named token pointed at a sub-AA colour passes.
   ═══════════════════════════════════════════════════════════════════ */
/* ═══ TOKENS ═══════════════════════════════════════════════════════════ */
:root{
  color-scheme:light dark;
  --paper:#FAF8F3; --paper-2:#F0ECE3; --paper-3:#E9E3D6;
  --ink:#201D18; --ink-soft:#6A6359; --ink-faint:#8F887B;
  /* Control-row label ink (#194 part 2, tokenised 2026-08-23). A CONTRAST-CONSTRAINED
     value, not a general ink step. --ink-faint (#8F887B) is what the label used to use
     and it fails AA outright; these are the SAME HUE, darkened only until they clear it.

     GROUNDS MEASURED IN THE LIVE DOM, not assumed -- the label paints on .jh-recipe-col,
     which is the LIFTED CARD, not --paper:
         light  #716B60 on #FCF9F2 = 5.03:1
         dark   #958D81 on #201C15 = 5.17:1
     Text is 10.56px / weight 300, so the 4.5:1 small-text threshold applies, not 3.0:1.
     Worth stating the ground explicitly: computed against --paper (#FAF8F3) the light
     value reads 4.98, and against --paper-2 (#F0ECE3) it reads 4.48 -- i.e. SUB-AA. If
     this label is ever moved onto a --paper-2 surface it must be re-measured, not
     assumed to travel.

     It was first fixed as two hardcoded hex values glued onto the selector -- correct
     numbers, wrong construction, invisible to anything that reasons about tokens, and
     unable to move if the palette moves. Finn called it out as a plaster on 2026-08-23
     and he was right. Promoted to a token here so the value has one home like every
     other colour in this file. */
  --jh-ink-ctl:#716B60;
  --line:#E1DBCF; --line-2:#CFC7B7;
  --dark:#1A1713; --dark-2:#221E18; --on-dark:#FAF8F3; --on-dark-soft:#B6AC9D;
  --jh-accent:#80601E;            /* turmeric deep — small text on light; AA on paper AND paper-2 tint */
  --jh-accent-soft:#C8915A;       /* warm gold — decorative / large only on light */
  --jh-accent-on-dark:#D6A275;    /* gold-lt — text accent on dark bands */
  /* Ingredient-row hover wash (#194 follow-up, 2026-08-22). NOT a general paper step:
     it is a CONTRAST-CONSTRAINED value, so it is pinned, `--jh-`-prefixed, and used
     exactly once (the ingredient-row hover rule). The row's real LIGHT ground is the
     lifted ingredients card #FCF9F2, and the wash paints opaquely OVER it, so the wash IS the ground for the
     row's text. The old var(--paper-3) #E6DCC7 put --jh-accent at 4.27:1 and --ink-soft
     at 4.36:1 — both sub-AA for the .86rem quantity and the .82rem note. #EDE5D3 measures
     4.64:1 and 4.73:1 (sRGB WCAG formula, recomputed for this change) and still steps
     1.19:1 off the card — a STRONGER wash than the dark theme's own (1.07:1). In LIGHT it
     is deliberately equal to NEITHER of the two grounds this row can sit on (#FCF9F2 on
     the [data-theme=light] / prefers-light paths, --paper-2 #EFE7D6 on the bare-:root
     path), so no theme path can collapse the wash into its own ground and erase the
     hover. DARK keeps today's value, which IS dark --paper-3 #27221A — that lifts off the
     dark card (--paper-2 #201C15) and already clears AA (6.98:1 accent / 6.04:1
     --ink-soft), so it is left alone. All four ratios recomputed from the sRGB WCAG
     formula for this change; grounds and token values read back out of headless Chrome
     against the real cascade, not assumed. */
  --jh-ing-hover:#EDE5D3;
  --ok:#4E6B51; --warn:#8A4B2F;
  --serif:"Newsreader",Georgia,"Times New Roman",serif;
  --sans:"Inter",system-ui,-apple-system,sans-serif;
  --mono:"IBM Plex Mono",ui-monospace,"SFMono-Regular",monospace;
  --col:680px; --wide:980px;
  --gut:clamp(1.2rem,5vw,2rem);
  --measure:46rem;                 /* ~736px shared reading column for movement kickers (ST 2026-06-22) */
  --measure-prose:62ch;            /* S2: ONE narrower measure for running PROSE zones (story/equipment/notes) — was ad-hoc 62ch/66ch one-offs */
  --rhythm-movement:var(--sp-12);  /* the chapter break above each movement kicker */
  /* spacing scale (single source of truth) — every gap is a token: 4·8·12·16·24·32·48px.
     Moved here 2026-06-21 (foundation pass) so the scale is defined before first use. */
  --sp-1:.25rem; --sp-2:.5rem; --sp-3:.75rem; --sp-4:1rem; --sp-6:1.5rem; --sp-8:2rem; --sp-12:3rem;
  /* section-internal rhythm — defined ONCE so structurally-equal gaps are pixel-identical
     (the "Filling→item must equal Dough→item" rule). */
  --rhythm-head-to-item:var(--sp-3); --rhythm-item-to-item:0px; --rhythm-group-to-group:var(--sp-8);
}
html[data-theme="dark"]{
  --paper:#171410; --paper-2:#201C15; --paper-3:#27221A;
  --ink:#F0EBE0; --ink-soft:#A89F90; --ink-faint:#7E766A;
  --jh-ink-ctl:#958D81;   /* see the :root note — same hue as --ink-faint, darkened to clear AA (5.17:1) */
  /* RUN 6: hairlines lightened (#332E25→#403930, #473F32→#564C3D) so dividers,
     table rows, card edges, macro tracks and the author/pill outline actually
     read against the espresso paper. The old values sat ~2% above --paper and
     vanished (per the Run-6 dark-mode visibility audit). */
  --line:#403930; --line-2:#564C3D;
  --dark:#0F0D0A; --dark-2:#16130E; --on-dark:#F0EBE0; --on-dark-soft:#A89F90;
  --jh-accent:#D6A275; --jh-accent-soft:#C8915A; --jh-accent-on-dark:#D6A275;
  --jh-ing-hover:var(--paper-3);   /* ingredient-row hover wash. Was the literal #27221A, which IS dark --paper-3 — the comment said so while the code duplicated it. Now it references it, so one colour has one home. 6.98:1 accent / 6.04:1 ink-soft — see the :root note */
  --ok:#7E9B81; --warn:#C07B58;
}
@media (prefers-color-scheme:dark){
  html:not([data-theme]){
    --paper:#171410; --paper-2:#201C15; --paper-3:#27221A;
    --ink:#F0EBE0; --ink-soft:#A89F90; --ink-faint:#7E766A;
    --jh-ink-ctl:#958D81;   /* see the :root note — same hue as --ink-faint, darkened to clear AA (5.17:1) */
    --line:#403930; --line-2:#564C3D;   /* RUN 6: see html[data-theme=dark] note */
    --dark:#0F0D0A; --dark-2:#16130E; --on-dark:#F0EBE0; --on-dark-soft:#A89F90;
    --jh-accent:#D6A275; --jh-accent-soft:#C8915A; --jh-accent-on-dark:#D6A275;
    --jh-ing-hover:var(--paper-3);   /* ingredient-row hover wash. Was the literal #27221A, which IS dark --paper-3 — the comment said so while the code duplicated it. Now it references it, so one colour has one home. 6.98:1 accent / 6.04:1 ink-soft — see the :root note */
    --ok:#7E9B81; --warn:#C07B58;
  }
}
/* ═══ BASE ═════════════════════════════════════════════════════════════ */
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%; scroll-behavior:smooth}
body{margin:0; background:var(--paper); color:var(--ink); font-family:var(--sans);
  font-size:17px; line-height:1.7; -webkit-font-smoothing:antialiased;
  transition:background .3s,color .3s}
/* RUN 7 (dark-mode body bleed): GeneratePress sets body{background:#f7f5f0}
   inline AND loads AFTER this stylesheet, so in dark mode the BODY stayed LIGHT
   (verified live: html[data-theme=dark] but body bg rgb(250,248,243)) — leaving
   light gaps and, worse, .jh-recipe-n inheriting a light surface so the name read
   ~1:1 against it. Win the cascade with a higher-specificity, theme-scoped rule
   on html.…body and on the GP page wrappers so the dark surface actually paints. */
html[data-theme="dark"],
html[data-theme="dark"] body,
html[data-theme="dark"] body.single-recipe,
html[data-theme="dark"] #page,
html[data-theme="dark"] #content,
html[data-theme="dark"] .site-content{background:var(--paper) !important; color:var(--ink);}
/* RUN 15 A27: add html itself so browser chrome gap at section seams is dark, not light */
@media (prefers-color-scheme:dark){
  html:not([data-theme]),
  html:not([data-theme]) body,
  html:not([data-theme]) #page,
  html:not([data-theme]) #content,
  html:not([data-theme]) .site-content{background:var(--paper) !important; color:var(--ink);}
}
img{display:block; max-width:100%; height:auto}
a{color:var(--ink); text-underline-offset:3px; text-decoration-thickness:1px}
h1,h2,h3,h4{font-family:var(--serif); font-weight:500; line-height:1.08; margin:0; letter-spacing:-.01em}
/* RUN 13 A8: h1 gets more breathing room on multi-line titles */
.jh-recipe-title{line-height:1.1} /* S3: tighter display leading (was 1.18) */
button{font-family:inherit; cursor:pointer; color:inherit}
:focus-visible{outline:2px solid var(--jh-accent); outline-offset:3px}
.jh-recipe-col{max-width:var(--col); margin-inline:auto; padding-inline:var(--gut)}
.jh-recipe-wide{max-width:var(--wide); margin-inline:auto; padding-inline:var(--gut)}
.jh-recipe-lab{font-family:var(--mono); font-size:.7rem; font-weight:500; text-transform:uppercase; letter-spacing:.22em; color:var(--jh-accent)}
.jh-recipe-rule{height:1px; background:var(--line); border:0; margin:0}
.jh-recipe-section{padding:3.4rem 0}
.jh-recipe-section.is-tint{background:var(--paper-2)}
.jh-recipe-sechead{display:flex; align-items:baseline; gap:1.1rem; margin-bottom:1.8rem; flex-wrap:wrap}
.jh-recipe-sechead :is(h2,h3){font-size:clamp(1.65rem,4.2vw,2.35rem); font-weight:400} /* S3: scale lift for 2-second hierarchy */
.jh-skip{position:absolute; left:-999px; top:0; z-index:100; background:var(--ink); color:var(--paper); padding:.7rem 1.2rem; font-family:var(--mono); font-size:.74rem}
.jh-skip:focus{left:0}
/* mono micro-button used throughout */
.jh-recipe-mbtn{font-family:var(--mono); font-size:.68rem; letter-spacing:.14em; text-transform:uppercase; color:var(--jh-accent); background:none; border:none; padding:.4rem 0}
@media (hover: hover) {.jh-recipe-mbtn:hover{text-decoration:underline; text-underline-offset:3px}
}
/* ═══ Z01 · TOP BAR + BREADCRUMB ══════════════════════════════════════ */
.jh-recipe-crumb{font-family:var(--mono); font-size:.66rem; letter-spacing:.1em; text-transform:uppercase; color:var(--ink-soft); padding:.7rem var(--gut); display:flex; gap:.6rem; flex-wrap:wrap}
.jh-recipe-crumb a{color:var(--ink-soft); text-decoration:none}
@media (hover: hover) {.jh-recipe-crumb a:hover{color:var(--jh-accent)}
}
.jh-recipe-crumb span[aria-hidden]{color:var(--line-2)}
/* RUN 15: removed border-bottom — GP sticky nav above already provides visual separation */
.jh-recipe-topbar{position:fixed; top:0; left:0; right:0; z-index:60; height:52px; display:flex; align-items:center; gap:1.2rem;
  justify-content:space-between; padding:0 var(--gut); background:var(--paper);
  transform:translateY(-100%); transition:transform .3s}
.jh-recipe-topbar.is-show{transform:translateY(0)}
/* Desktop (≥1300px): srail provides jump-nav — topbar not needed */
@media (min-width:1300px){.jh-recipe-topbar{display:none !important}}
.jh-recipe-topbar .jh-recipe-brand{font-family:var(--mono); font-size:.74rem; letter-spacing:.1em; text-transform:uppercase; white-space:nowrap}
.jh-recipe-jumpnav{display:flex; gap:1.3rem; overflow-x:auto; scrollbar-width:none; font-family:var(--mono); font-size:.66rem; letter-spacing:.12em; text-transform:uppercase}
.jh-recipe-jumpnav::-webkit-scrollbar{display:none}
.jh-recipe-jumpnav a{color:var(--ink-soft); text-decoration:none; white-space:nowrap; padding:.4rem 0; border-bottom:2px solid transparent}
.jh-recipe-jumpnav a.is-here{color:var(--jh-accent); border-color:var(--jh-accent)}
@media (hover: hover) {.jh-recipe-jumpnav a:hover{color:var(--jh-accent); border-color:var(--jh-accent)}
}
/* RUN 10.1: old unscoped circle rule — overridden by the scoped pill block below (line ~1658).
   Keep this stub so stale cached HTML degrades gracefully, but neutralise the circle shape. */
.jh-recipe-theme-btn{background:none; border:1px solid var(--line-2); border-radius:0; flex-shrink:0; font-size:.8rem; line-height:1; display:flex; align-items:center; justify-content:center}   /* S2: square (was 100px; the segmented block already overrode it) */
/* ═══ Z02 · HERO + GALLERY ════════════════════════════════════════════ */
.jh-recipe-hero-img{width:100%; aspect-ratio:16/9; height:auto; max-height:78vh; object-fit:cover; background:var(--paper-2)}
.jh-recipe-gallery{display:flex; gap:.5rem; padding:1.6rem var(--gut) 0; max-width:920px; margin-inline:auto}
.jh-recipe-gallery button{padding:0; border:none; background:none; flex:1; max-width:110px}
.jh-recipe-gallery img{aspect-ratio:1; object-fit:cover; width:100%; opacity:.85; transition:.2s}
@media (hover: hover) {.jh-recipe-gallery img:hover{opacity:1}
}
/* lightbox */
.jh-recipe-lightbox{position:fixed; inset:0; z-index:90; background:rgba(15,13,10,.93); display:none; align-items:center; justify-content:center; padding:2rem}
.jh-recipe-lightbox.is-open{display:flex}
.jh-recipe-lightbox img{max-height:88vh; max-width:92vw; width:auto; object-fit:contain}
.jh-recipe-lightbox button{position:absolute; top:1rem; right:1.2rem; background:none; border:none; color:#FAF8F3; font-family:var(--mono); font-size:.8rem; letter-spacing:.14em; text-transform:uppercase}
/* RUN 12 (Finn — mobile spotlight looked broken: image off-centre/overflowing, page text
   bleeding through, Close text on the left). ROOT CAUSE: another lightbox plugin's CSS
   (fslightbox) overrode our `.jh-recipe-lightbox button{position:absolute}` back to
   `relative`, so the Close button sat IN the flex row, took ~106px, and shoved the image
   off-centre to the right. FIX: win the cascade with `.jh-recipe-skin` specificity so the
   close button is truly absolute (out of flow → image perfectly centred), a fully-opaque
   backdrop so nothing bleeds through, and a tidy mobile-padded spotlight. */
.jh-recipe-skin .jh-recipe-lightbox{ background:rgba(12,10,8,.97); padding:1.25rem; }
.jh-recipe-skin .jh-recipe-lightbox button[data-jh="lightbox-close"]{
  position:absolute; top:max(1rem, env(safe-area-inset-top, 0px)); right:1rem; left:auto; z-index:2;
  flex:0 0 auto; margin:0; padding:.5rem .9rem; min-height:44px;
  display:inline-flex; align-items:center; border-radius:0;
  background:rgba(255,255,255,.14); color:#FAF8F3;
}
.jh-recipe-skin .jh-recipe-lightbox img{
  max-height:86svh; max-width:94vw; width:auto; height:auto; object-fit:contain;
  border-radius:10px; margin:auto;            /* margin:auto centres even if a sibling exists */
}
@media (max-width:600px){
  .jh-recipe-skin .jh-recipe-lightbox{ padding:.75rem; }
  .jh-recipe-skin .jh-recipe-lightbox img{ max-height:82svh; max-width:96vw; }
  .jh-recipe-skin .jh-recipe-lightbox button[data-jh="lightbox-close"]{ font-size:.72rem; padding:.45rem .8rem; }
}
/* ═══ Z03 · OPENING PANEL ═════════════════════════════════════════════ */
.jh-recipe-opener{max-width:920px; margin:-7rem auto 0; padding:0 var(--gut); position:relative; z-index:2}
.jh-recipe-opener-panel{background:var(--paper); padding:clamp(1.6rem,4vw,2.6rem) clamp(1.4rem,4vw,2.8rem) clamp(1.2rem,3vw,2rem); max-width:640px; transition:background .3s}
.jh-recipe-kick{display:flex; gap:1rem; align-items:center; margin-bottom:1.1rem; flex-wrap:wrap}
.jh-recipe-kick .jh-recipe-dish{font-family:var(--mono); font-size:.72rem; letter-spacing:.16em; text-transform:uppercase; color:var(--ink-soft)}
.jh-recipe-title{font-size:clamp(2.8rem,8.5vw,4.6rem); font-weight:400; letter-spacing:-.018em; max-width:12ch} /* S3: H1 larger + tighter tracking; weight 400 kept (verified intentional, not the site-500 lock) */
.jh-recipe-summary{font-family:var(--serif); font-size:1.15rem; color:var(--ink-soft); margin:.8rem 0 0; line-height:1.5; font-style:italic}
.jh-recipe-byline{display:flex; align-items:center; gap:.8rem; margin-top:1.3rem; font-family:var(--mono); font-size:.7rem; letter-spacing:.06em; color:var(--ink-soft)}
.jh-recipe-byline img{width:34px; height:34px; border-radius:50%; object-fit:cover}
.jh-recipe-byline b{color:var(--ink); font-weight:500}
.jh-recipe-spec{font-family:var(--mono); font-size:.78rem; letter-spacing:.04em; color:var(--ink-soft); margin-top:1.2rem; line-height:2; border-top:1px solid var(--line); padding-top:1.1rem}
.jh-recipe-spec b{color:var(--ink); font-weight:500}
/* RUN 15: quiet in-hero allergen line (replaces the retired Z18a band). The turmeric
   "Contains" still reads as a safety affordance, but inline + understated so it rides
   the spec block rather than interrupting the page with a full-width aside. */
.jh-recipe-allergen-line{display:inline; color:var(--ink-soft)}
/* Leading `html` (→ specificity 0,3,2) so the warn colour beats the later-in-source
   `.jh-recipe-skin .jh-recipe-opener-panel .jh-recipe-spec b{color:var(--ink)}` (0,3,1),
   which would otherwise win the tie by source order and render "Contains" in ink. */
html .jh-recipe-skin .jh-recipe-opener-panel .jh-recipe-allergen-line b{color:var(--warn); font-weight:600; letter-spacing:.06em; text-transform:uppercase; font-size:.72rem}
.jh-recipe-allergen-line a{color:var(--ink-soft); text-decoration:underline; text-underline-offset:2px; white-space:nowrap; margin-left:.3rem}
.jh-recipe-allergen-line a:hover{color:var(--jh-accent)}
/* RUN 15 (Finn 2026-06-23): in-page anchor jumps (allergen link, hero "Jump to recipe/
   video", srail Recipe/Method, TOP) landed the target section flush under the sticky GP
   nav (#site-navigation .has-sticky-branding ≈72px) so its heading was cut off. Give every
   zone target a scroll-margin-top that clears the nav + a little breathing room, so the
   section top sits nicely on screen. :where() keeps specificity 0 (never fights anything).
   RUN 15: 92→140px. The fixed chrome can stack to ~135px (GP sticky nav ~83px + recipe topbar
   52px) — the codebase already uses scroll-margin-top:140px for #jh-z09/#jh-z11 etc., so match
   it here for ALL jh-z targets (incl. the allergen section, which was still tucking under). */
:where([id^="jh-z"]){scroll-margin-top:140px}
.jh-recipe-nowrap{white-space:nowrap}
.jh-recipe-split{font-family:var(--mono); font-size:.7rem; letter-spacing:.08em; color:var(--jh-accent); margin-top:.2rem}
.jh-recipe-stars{display:flex; align-items:center; gap:.6rem; margin-top:1rem; font-family:var(--mono); font-size:.74rem; color:var(--ink-soft)}
.jh-recipe-stars .jh-recipe-starglyphs{color:var(--jh-accent); letter-spacing:.12em; font-size:.9rem}
.jh-recipe-diff{display:flex; gap:1.6rem; margin-top:1.1rem; flex-wrap:wrap}
.jh-recipe-diff .jh-recipe-diff-item{font-family:var(--mono); font-size:.66rem; letter-spacing:.1em; text-transform:uppercase; color:var(--ink-soft)}
.jh-recipe-diff .jh-recipe-diff-dots{display:block; letter-spacing:.18em; color:var(--jh-accent); font-size:.8rem; margin-top:.15rem}
.jh-recipe-ctas{display:flex; gap:.7rem 1.4rem; align-items:center; flex-wrap:wrap; margin-top:1.5rem; border-top:1px solid var(--line); padding-top:1.2rem}
.jh-recipe-cta{font-family:var(--mono); font-size:.68rem; letter-spacing:.13em; text-transform:uppercase; background:none; border:none; color:var(--ink); padding:.5rem 0; text-decoration:none; display:inline-flex; align-items:center; gap:.4rem}
@media (hover: hover) {.jh-recipe-cta:hover{color:var(--jh-accent); text-decoration:underline; text-underline-offset:3px}
}
.jh-recipe-cta.is-primary{color:var(--paper); background:var(--ink); padding:.6rem 1.1rem}
@media (hover: hover) {.jh-recipe-cta.is-primary:hover{background:var(--jh-accent); color:var(--paper)}
}
/* ═══ Z04 · STORY / HEADNOTE ══════════════════════════════════════════ */
.jh-recipe-stand{margin-top:3rem} /* RUN 14 A15: 3.2rem (51.2px) → 3rem (48px = var(--sp-12) nearest spacing token) */
.jh-recipe-stand .jh-recipe-standfirst{font-family:var(--serif); font-size:1.4rem; line-height:1.5; font-weight:400; margin:0 0 var(--sp-6); max-width:34ch} /* S2: 1.2rem→--sp-6; 30ch→34ch deck */
.jh-recipe-stand .jh-recipe-standbody{font-size:1.05rem; line-height:1.75; max-width:var(--measure-prose)} /* S2: 62ch→--measure-prose token */
.jh-recipe-stand .jh-recipe-standbody p{margin:0 0 var(--sp-4)} /* S2: 1.1rem→--sp-4 */
.jh-recipe-stand .jh-recipe-standbody p:last-child{margin-bottom:0}
.jh-recipe-drop::first-letter{font-family:var(--serif); float:left; font-size:3.4rem; line-height:.82; padding:.35rem .5rem 0 0; color:var(--jh-accent)}
/* ═══ Z05 · BEFORE YOU START ══════════════════════════════════════════ */
.jh-recipe-preflight{list-style:none; margin:0; padding:0; max-width:var(--measure-prose)}
.jh-recipe-preflight li{display:grid; grid-template-columns:1.6rem 1fr; gap:.7rem; padding:.65rem 0; border-bottom:1px solid var(--line); font-size:1rem}
.jh-recipe-preflight li:last-child{border-bottom:none}
.jh-recipe-preflight li::before{content:"—"; color:var(--jh-accent); font-family:var(--mono)}
.jh-recipe-preflight li.is-critical::before{content:"!"; color:var(--warn); font-weight:600}
.jh-recipe-preflight li.is-critical b{color:var(--warn)}
/* ═══ Z06 · EQUIPMENT ═════════════════════════════════════════════════ */
.jh-recipe-equip{font-size:.98rem; line-height:1.9; max-width:var(--measure-prose)}
.jh-recipe-equip a{color:var(--jh-accent)}
.jh-recipe-equip-list{list-style:none; margin:0 0 1rem; padding:0}
.jh-recipe-equip-list li{display:grid; grid-template-columns:1fr auto; gap:1rem; align-items:baseline; padding:.55rem 0; border-bottom:1px solid var(--line)}
.jh-recipe-equip-list li:last-child{border-bottom:none}
.jh-recipe-equip-list .jh-recipe-equip-note{display:block; font-size:.82rem; color:var(--ink-soft)}
.jh-recipe-equip-list .jh-recipe-equip-tag{font-family:var(--mono); font-size:.64rem; letter-spacing:.1em; text-transform:uppercase; color:var(--jh-accent); white-space:nowrap}
.jh-recipe-aff{font-family:var(--mono); font-size:.68rem; letter-spacing:.04em; color:var(--ink-soft); margin-top:1rem}
/* ═══ Z07 · KNOW YOUR INGREDIENTS ═════════════════════════════════════ */
.jh-recipe-knowing{display:grid; gap:0; max-width:66ch}
.jh-recipe-knowing-row{display:grid; grid-template-columns:11rem 1fr; gap:1rem; padding:1.1rem 0; border-bottom:1px solid var(--line); align-items:baseline}
.jh-recipe-knowing-row:last-child{border-bottom:none}
.jh-recipe-knowing-row .jh-recipe-knowing-name{font-family:var(--mono); font-size:.74rem; letter-spacing:.1em; text-transform:uppercase; color:var(--jh-accent)}
.jh-recipe-knowing-row p{margin:0; font-size:.98rem}
.jh-recipe-knowing-row .jh-recipe-knowing-swap{display:block; margin-top:.3rem; font-size:.88rem; color:var(--ink-soft)}
.jh-recipe-knowing-row .jh-recipe-knowing-swap b{font-weight:600; color:var(--ink)}
/* ═══ Z08 · INGREDIENTS ═══════════════════════════════════════════════ */
.jh-recipe-controls{display:flex; flex-wrap:wrap; gap:1.4rem 2rem; align-items:center; margin-bottom:2rem; font-family:var(--mono);
  font-size:.74rem; text-transform:uppercase; letter-spacing:.12em; color:var(--ink-soft)}
.jh-recipe-controls .jh-recipe-grp{display:flex; align-items:center; gap:.7rem}
/* RUN 15 (Finn 2026-06-23, design-critique): control-row labels are CAPTIONS, not options.
   De-emphasise "Serves"/"Units" so the eye reads label → control, not three equal toggles. */
/* #194b (2026-08-21): --ink-faint measures 3.34:1 light / 3.78:1 dark against this element's
   REAL rendered ground (#FCF9F2 light / --paper-2 #201C15 dark on #jh-z08-ingredients >
   .jh-recipe-col — NOT the bare :root palette) — both sub-AA, the PSI contrast-audit failure.
   Selector-level fix, not a token change: --ink-faint has 17 uses incl. deliberately
   de-emphasised states (.is-done, placeholders) that a token darken would also affect —
   out of scope. --ink-soft (the row's own default, line ~239) was ruled out too: it would
   exactly equal the control-row ground color and erase the RUN 15 label/control hierarchy
   this rule exists to create. So: a dedicated, same-hue value strictly between --ink-faint
   and --ink-soft — same hue+saturation as --ink-faint, lightness moved just enough to clear
   4.5:1 with headroom (5.03:1 light / 5.17:1 dark) while staying visibly fainter than
   --ink-soft in both themes. */
/* One rule, not three: the token carries the theming, so the two dark-mode
   overrides that existed only to restate a colour are gone. */
.jh-recipe-ctl-label{color:var(--jh-ink-ctl); font-size:.66rem; letter-spacing:.14em}
.jh-recipe-stepper{display:inline-flex; align-items:center; gap:.6rem}
.jh-recipe-stepper button{width:30px; height:30px; border:1px solid var(--line-2); background:none; border-radius:50%; font-size:1rem; color:var(--ink); line-height:1}
@media (hover: hover) {.jh-recipe-stepper button:hover{border-color:var(--jh-accent); color:var(--jh-accent)}
}
.jh-recipe-stepper .jh-recipe-val{min-width:1.5rem; text-align:center; color:var(--ink); font-weight:500}
/* RUN 15: the Units toggle was bare underline-text — indistinguishable from the row's
   labels + the Copy action. Rebuilt as the site's CANONICAL segmented control (same as the
   light/dark theme switch): a bordered box, two hairline-divided cells, the ACTIVE cell
   filled turmeric with paper text — an unmistakable two-state switch that also aligns as a
   tidy box beside the stepper. radius:0 to match the page. */
/* RUN 15 (Finn 2026-06-23): two EQUAL cells — a 2-col grid (1fr 1fr) sizes both to the wider
   label's width with centred text, so METRIC and CUPS are identical boxes (not content-width). */
.jh-recipe-useg{display:inline-grid; grid-template-columns:1fr 1fr; border:1px solid var(--line-2); border-radius:0; background:var(--paper-2); overflow:hidden}
.jh-recipe-useg button{border:none; background:transparent; font-family:var(--mono); font-size:.7rem; letter-spacing:.1em; text-transform:uppercase; color:var(--ink-soft); padding:0 1rem; min-height:32px; display:inline-flex; align-items:center; justify-content:center; transition:background .15s, color .15s}
.jh-recipe-useg button + button{border-left:1px solid var(--line-2)}
.jh-recipe-useg button.is-on{background:var(--jh-accent); color:var(--paper)}
/* (0,2,1) beats the later a11y rule `.jh-recipe-useg button{min-height:44px}` (0,1,1) so the
   segmented box aligns to the ~30px stepper; the wide cells keep a comfortable hit area. */
.jh-recipe-controls .jh-recipe-useg button{min-height:32px}
@media (hover: hover){.jh-recipe-useg button:not(.is-on):hover{color:var(--jh-accent)}}
/* the Copy action is not a setting — push it to the right so settings cluster left. */
/* RUN 15 (audit-2026-06-22, ingredients affordance finding): "COPY SHOPPING LIST" read at
   the same muted weight as the non-interactive SERVES label, so it didn't signal as a button.
   Give it a button affordance — weight 500 + a persistent hairline underline-on-rest that
   brightens to turmeric on hover — so it clearly reads as the row's single action. */
.jh-recipe-controls .jh-recipe-mbtn[data-jh="copylist"]{margin-left:auto; font-weight:500; text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:4px; text-decoration-color:var(--line-2)}
@media (hover: hover){.jh-recipe-controls .jh-recipe-mbtn[data-jh="copylist"]:hover{text-decoration-color:var(--jh-accent)}}
.jh-recipe-shop{display:grid; grid-template-columns:1fr 1fr; gap:2.4rem}
.jh-recipe-shop h3{font-family:var(--mono); font-size:.72rem; font-weight:500; letter-spacing:.16em; text-transform:uppercase; color:var(--ink-soft); margin:0 0 .8rem; padding-bottom:.5rem; border-bottom:1px solid var(--line-2)}
.jh-recipe-ing{list-style:none; margin:0; padding:0}
.jh-recipe-ing li{display:grid; grid-template-columns:minmax(5.2rem,auto) 1fr; gap:.7rem; align-items:baseline; padding:.5rem 0; cursor:pointer; min-height:44px}
.jh-recipe-ing .jh-recipe-q{font-family:var(--mono); font-size:.86rem; font-weight:500; color:var(--jh-accent); white-space:nowrap}
.jh-recipe-ing .jh-recipe-n{transition:.15s; font-size:1.1rem} /* RUN 14 A10: unify with step body (both 1.1rem; body default was 17px ≠ 1.1rem at sub-16px root) */
.jh-recipe-ing li.is-done .jh-recipe-n{color:var(--ink-faint); text-decoration:line-through}
.jh-recipe-ing li.is-done .jh-recipe-q{color:var(--ink-faint)}
.jh-recipe-ing .jh-recipe-sub{display:block; font-size:.82rem; color:var(--ink-soft)}
/* ═══ Z09 · METHOD — MOVEMENTS ════════════════════════════════════════ */
.jh-recipe-mv-img{width:100%; aspect-ratio:16/9; height:auto; max-height:62vh; object-fit:cover; background:var(--paper-2)}
.jh-recipe-mv-head{padding:3rem 0 1.4rem}
/* RUN 15 A25: font-weight:500 lifts perceived contrast at small spaced-out size (5.48:1 passes AA but is borderline at .78rem/.2em letter-spacing) */
.jh-recipe-mv-num{font-family:var(--mono); font-size:.78rem; font-weight:500; letter-spacing:.2em; color:var(--jh-accent); display:block; margin-bottom:.8rem}
.jh-recipe-mv-head h3{font-size:clamp(2rem,6vw,2.9rem); font-weight:400; letter-spacing:-.02em; font-family:var(--serif)}
.jh-recipe-mv-uses{font-family:var(--mono); font-size:.76rem; color:var(--ink-soft); margin-top:1rem; letter-spacing:.02em}
.jh-recipe-mv-uses b{color:var(--ink); font-weight:500}
.jh-recipe-steps{counter-reset:s}
/* RUN 6 (defect 3, option 1): the step number used to sit in its own 2.6rem
   left gutter — a third rail that aligned with neither the "Movement I" label
   nor the movement title, and left a dead left band on mobile. Now the step is
   a single full-width column and the number renders as a small mono-accent
   kicker ABOVE the step title, sharing the SAME left rail as the movement
   label + movement title. No side gutter → no mobile dead band, step text uses
   the full column width. (Mirrors the .jh-recipe-mv-num kicker treatment.) */
.jh-recipe-step{display:block; padding:0 0 2.1rem; scroll-margin-top:70px}
.jh-recipe-step::before{counter-increment:s; content:counter(s,decimal-leading-zero); display:block; font-family:var(--mono); font-size:.72rem; letter-spacing:.2em; color:var(--jh-accent); margin:0 0 .45rem}
.jh-recipe-step-body{}
.jh-recipe-step h4{font-family:var(--serif); font-size:1.35rem; font-weight:600; margin:0 0 .25rem; line-height:1.25} /* RUN 13 A9+A11: bumped from 1.18rem (barely > body 1.1rem); line-height loosened for wrap */
.jh-recipe-step p{margin:.2rem 0 0; font-size:1.1rem; line-height:1.7}
.jh-recipe-step.is-done h4,.jh-recipe-step.is-done p{color:var(--ink-faint); text-decoration:line-through}
.jh-recipe-step img{margin-top:1rem; width:100%; max-height:430px; object-fit:cover; background:var(--paper-2); cursor:pointer} /* RUN 12: pointer (not zoom-in) so iOS fires the tap — see [data-jh="zoom"] note */
.jh-recipe-step .jh-recipe-step-imgs{display:grid; grid-template-columns:1fr 1fr; gap:var(--sp-3)} /* S2: .7rem→--sp-3 */
.jh-recipe-step-tools{display:flex; gap:var(--sp-6); align-items:center; margin-top:var(--sp-3); flex-wrap:wrap} /* S2: 1.4rem/.7rem→--sp-6/--sp-3 */
.jh-recipe-timer{font-family:var(--mono); font-size:.68rem; letter-spacing:.12em; text-transform:uppercase; color:var(--ink-soft); background:none; border:1px solid var(--line-2); border-radius:0; padding:.35rem .8rem; position:relative; display:inline-flex; align-items:center; gap:var(--sp-1)}
.jh-recipe-timer svg{flex:0 0 auto} /* S2: drawn clock icon */
.jh-recipe-timer.is-run{color:var(--paper); background:var(--jh-accent); border-color:var(--jh-accent)}
/* RUN 12 (Finn — running timer showed NO orange fill / stayed grey): proven live, a theme
   reset (`button[class*="jh-"]{background:initial}` + a stubborn colour rule) overrode the
   .is-run background AND text colour — it even beat an inline `!important` background-color,
   so a normal override can't win. ROBUST FIX: paint the fill with an inset box-shadow (no
   button reset touches box-shadow) and set the text with `-webkit-text-fill-color` (the
   property that actually paints glyph colour on WebKit/iOS, bypassing the colour reset).
   border-color + the box-shadow give the full accent pill; result is identical to intent. */
.jh-recipe-skin .jh-recipe-timer.is-run{
  box-shadow:inset 0 0 0 999px var(--jh-accent) !important;   /* the orange fill */
  border-color:var(--jh-accent) !important;
  color:var(--paper) !important;
  -webkit-text-fill-color:var(--paper) !important;          /* white text on iOS/WebKit */
}
.jh-recipe-anchor{font-family:var(--mono); font-size:.68rem; color:var(--ink-faint); text-decoration:none}
@media (hover: hover) {.jh-recipe-anchor:hover{color:var(--jh-accent)}
}
.jh-recipe-tip{border-left:2px solid var(--jh-accent); padding:.9rem 0 .9rem 1.3rem; margin:1.4rem 0 2.2rem}
.jh-recipe-tip .jh-recipe-lab{display:block; margin-bottom:.3rem}
.jh-recipe-tip p{margin:0; font-family:var(--serif); font-size:1.12rem; line-height:1.55}
.jh-recipe-parallel{background:var(--paper-2); padding:1rem 1.2rem; margin:0 0 2rem; font-family:var(--mono); font-size:.76rem; letter-spacing:.03em; color:var(--ink-soft); display:flex; gap:.9rem; align-items:baseline}
.jh-recipe-parallel b{color:var(--ink); font-weight:500}
.jh-recipe-parallel .jh-recipe-lab{white-space:nowrap}
/* method variant tabs */
.jh-recipe-mtabs{display:flex; gap:1.4rem; border-bottom:1px solid var(--line); margin-bottom:1.2rem; overflow-x:auto; scrollbar-width:none}
.jh-recipe-mtabs button{background:none; border:none; border-bottom:2px solid transparent; font-family:var(--mono); font-size:.7rem; letter-spacing:.12em; text-transform:uppercase; color:var(--ink-soft); padding:.6rem 0; white-space:nowrap}
.jh-recipe-mtabs button.is-on{color:var(--jh-accent); border-color:var(--jh-accent)}
.jh-recipe-mtab-panel{display:none; font-size:.98rem; max-width:var(--measure-prose)}
.jh-recipe-mtab-panel.is-on{display:block}
.jh-recipe-mtab-panel p{margin:0 0 .8rem}
/* ═══ Z10 · SHORT-FORM VIDEO ══════════════════════════════════════════ */
.jh-recipe-short{display:grid; grid-template-columns:minmax(220px,300px) 1fr; gap:var(--sp-8); align-items:start} /* S2: center→start (caption was stranded mid-height beside the tall 9:16 frame); 2.4rem→--sp-8 */
.jh-recipe-short-frame{aspect-ratio:9/16; background:var(--paper-3); position:relative; cursor:pointer; overflow:hidden}
.jh-recipe-short-frame img{width:100%; height:100%; object-fit:cover; opacity:.85}
.jh-recipe-short-frame .jh-recipe-play{position:absolute; inset:0; display:flex; align-items:center; justify-content:center}
/* RUN 15: explicit fullscreen control on the playing Short (square light pill, matching
   the recipe chrome language). Sits bottom-right so it never covers the play tap target. */
.jh-recipe-short-fs{position:absolute; right:.6rem; bottom:.6rem; z-index:2; width:40px; height:40px; display:inline-flex; align-items:center; justify-content:center; font-size:1.05rem; line-height:1; cursor:pointer; color:#fff; background:rgba(20,16,12,.55); border:1px solid rgba(255,255,255,.5); border-radius:3px; -webkit-backdrop-filter:blur(3px); backdrop-filter:blur(3px)}
.jh-recipe-short-fs:hover{background:rgba(20,16,12,.75)}
/* when the frame is fullscreen, paint the letterbox black and let the iframe fill */
.jh-recipe-short-frame:fullscreen{aspect-ratio:auto; width:100%; height:100%; max-width:none; background:#000}
.jh-recipe-short-frame:fullscreen iframe{position:absolute; inset:0; width:100%; height:100%}
.jh-recipe-short-frame:-webkit-full-screen{aspect-ratio:auto; width:100%; height:100%; max-width:none; background:#000}
.jh-recipe-play::after{content:""; width:0; height:0; border-left:20px solid var(--paper); border-top:13px solid transparent; border-bottom:13px solid transparent; filter:drop-shadow(0 2px 8px rgba(0,0,0,.45))}
.jh-recipe-short p{font-size:1.02rem; max-width:38ch}
/* ═══ Z11 · MAIN VIDEO (dark band) ════════════════════════════════════ */
.jh-recipe-watch{background:var(--dark); color:var(--on-dark); padding:var(--sp-12) 0} /* RUN 13 A13/A35: 4rem(64px) outlier → var(--sp-12)(48px) to match all other sections */
.jh-recipe-watch .jh-recipe-lab{color:var(--jh-accent-on-dark)}
.jh-recipe-watch :is(h2,h3){color:var(--on-dark); font-weight:400; font-size:clamp(1.8rem,5vw,2.6rem); margin:.7rem 0 1.6rem; max-width:18ch}
.jh-recipe-player{position:relative; aspect-ratio:16/9; cursor:pointer; overflow:hidden; background:#000}
.jh-recipe-player img{width:100%; height:100%; object-fit:cover; opacity:.78}
.jh-recipe-player .jh-recipe-play{position:absolute; inset:0; display:flex; align-items:center; justify-content:center}
.jh-recipe-player .jh-recipe-play::after{border-left-color:#FAF8F3; border-left-width:24px; border-top-width:15px; border-bottom-width:15px}
.jh-recipe-player iframe{width:100%; height:100%; border:0}
.jh-recipe-watch .jh-recipe-cap{font-family:var(--mono); font-size:.74rem; letter-spacing:.06em; color:var(--on-dark-soft); margin-top:1rem}
.jh-recipe-asmr{display:inline-flex; align-items:center; gap:.7rem; margin-top:1.6rem; border:1px solid #3a352e; border-radius:0; padding:.55rem 1.1rem; background:none; color:var(--on-dark); font-family:var(--mono); font-size:.7rem; letter-spacing:.12em; text-transform:uppercase}
.jh-recipe-asmr::before{content:""; width:.5rem; height:.5rem; border-radius:50%; background:var(--jh-accent-on-dark); flex:0 0 auto} /* S2: ◉ dingbat → drawn dot */
/* ═══ Z12 · NUTRITION ═════════════════════════════════════════════════ */
.jh-recipe-nlead{font-family:var(--mono); font-size:.74rem; color:var(--ink-soft); letter-spacing:.04em; margin:0 0 1.6rem}
.jh-recipe-macros{display:grid; gap:.9rem; margin-bottom:2rem; max-width:480px}
.jh-recipe-macro{display:grid; grid-template-columns:7.5rem 1fr 3.4rem; gap:1rem; align-items:center; font-family:var(--mono); font-size:.78rem}
.jh-recipe-macro .jh-recipe-bar{height:5px; background:var(--paper-3); position:relative; border-radius:3px; overflow:hidden}
.jh-recipe-macro .jh-recipe-bar i{position:absolute; inset:0; right:auto; background:var(--jh-accent); border-radius:3px}
.jh-recipe-macro .jh-recipe-mv2{color:var(--ink-soft); white-space:nowrap; text-align:right}
.jh-recipe-nrow{display:flex; justify-content:space-between; align-items:baseline; padding:.7rem 0; border-bottom:1px solid var(--line)}
.jh-recipe-nrow:last-child{border-bottom:none}
.jh-recipe-nrow .jh-recipe-k{font-size:1rem}
.jh-recipe-nrow .jh-recipe-k.is-sub{padding-left:1.2rem; color:var(--ink-soft); font-size:.92rem}
.jh-recipe-nrow .jh-recipe-v{font-family:var(--mono); font-size:.86rem}
.jh-recipe-nmore{max-height:0; overflow:hidden; transition:max-height .35s}
.jh-recipe-nmore.is-open{max-height:1600px} /* S2: 600px could clip an 11-row breakdown at 150-200% zoom; generous cap never clips, transition still reads */
.jh-recipe-burn{font-family:var(--mono); font-size:.74rem; color:var(--ink-soft); margin-top:1.4rem; letter-spacing:.03em}
.jh-recipe-burn b{color:var(--jh-accent); font-weight:500}
.jh-recipe-ncompare{margin-top:1.6rem; border-top:1px solid var(--line); padding-top:1.2rem; font-size:.95rem; max-width:var(--measure-prose)}
.jh-recipe-ncompare .jh-recipe-lab{display:block; margin-bottom:.4rem}
.jh-recipe-disc{font-family:var(--mono); font-size:.68rem; color:var(--ink-soft); line-height:1.7; margin-top:1.2rem; letter-spacing:.01em}
/* ═══ Z13 · NOTES + TROUBLESHOOTING ═══════════════════════════════════ */
/* #300 (PM bounce 2026-08-25, gap 2): lower_page_image render — width:100% up to the
   .jh-recipe-col measure, cover/16:9-ish cap matching .jh-recipe-mv-img's supporting-photo
   treatment (width:100%, object-fit:cover, background placeholder), border-radius:5px to
   match the gallery thumbs' card treatment since this image sits inside the padded column
   (not full-bleed like the hero/movement images), margin-bottom to separate it from the
   Notes prose that follows at the same rhythm .jh-recipe-note's own padding uses. */
.jh-recipe-lower-image{width:100%; height:auto; max-height:62vh; object-fit:cover; border-radius:5px; background:var(--paper-2); margin-bottom:1.6rem}
.jh-recipe-note{padding:1.1rem 0; border-bottom:1px solid var(--line); max-width:66ch}
.jh-recipe-note:last-child{border-bottom:none}
.jh-recipe-note b{font-family:var(--serif); font-weight:600; font-size:1.1rem; display:block; margin-bottom:.2rem}
.jh-recipe-note p{margin:0; font-size:.98rem}
.jh-recipe-trouble{width:100%; border-collapse:collapse; margin-top:1.2rem; font-size:.92rem}
.jh-recipe-trouble caption{text-align:left; font-family:var(--mono); font-size:.7rem; letter-spacing:.18em; text-transform:uppercase; color:var(--jh-accent); padding-bottom:.8rem}
.jh-recipe-trouble th{font-family:var(--mono); font-size:.66rem; letter-spacing:.14em; text-transform:uppercase; color:var(--ink-soft); font-weight:500; text-align:left; padding:.5rem .8rem .5rem 0; border-bottom:1px solid var(--line-2)}
.jh-recipe-trouble td{padding:.7rem .8rem .7rem 0; border-bottom:1px solid var(--line); vertical-align:top}
.jh-recipe-trouble td:first-child{font-weight:600; font-family:var(--serif)}
/* ═══ Z14 · VARIATIONS ════════════════════════════════════════════════ */
.jh-recipe-vars{display:grid; gap:0; max-width:66ch}
.jh-recipe-vrow{display:grid; grid-template-columns:10rem 1fr; gap:1rem; padding:1.1rem 0; border-bottom:1px solid var(--line); align-items:baseline}
.jh-recipe-vrow:last-child{border-bottom:none}
.jh-recipe-vrow .jh-recipe-vl{font-family:var(--mono); font-size:.74rem; letter-spacing:.1em; text-transform:uppercase; color:var(--jh-accent)}
/* ═══ Z15 · WHY THIS WORKS ════════════════════════════════════════════ */
.jh-recipe-why{border:1px solid var(--line-2); padding:clamp(1.4rem,3vw,2.2rem); max-width:66ch; position:relative}
.jh-recipe-why::before{content:""; position:absolute; top:-1px; left:-1px; width:42px; height:42px; border-top:2px solid var(--jh-accent); border-left:2px solid var(--jh-accent)}
.jh-recipe-why ol{margin:.6rem 0 0; padding-left:1.2rem}
.jh-recipe-why li{padding:.45rem 0; font-size:1rem}
.jh-recipe-why li::marker{font-family:var(--mono); color:var(--jh-accent); font-size:.8rem}
.jh-recipe-why li b{font-family:var(--serif); font-weight:600}
/* ═══ Z16 · FOOD WASTE ════════════════════════════════════════════════ */
.jh-recipe-waste{max-width:66ch}
.jh-recipe-waste .jh-recipe-note b{font-size:1.05rem}
/* ═══ Z17 · CO₂ BAND ═════════════════════════════════════════════════ */
.jh-recipe-co2 .jh-recipe-col{display:flex; gap:2rem; align-items:baseline; flex-wrap:wrap}
.jh-recipe-co2-num{font-family:var(--serif); font-size:clamp(2rem,6vw,3rem); color:var(--jh-accent); white-space:nowrap}
.jh-recipe-co2 p{margin:0; font-size:.95rem; color:var(--ink-soft); max-width:44ch}
/* ═══ Z18b · FULL ALLERGEN GRID ═══════════════════════════════════════ */
.jh-recipe-allergens{display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); gap:0 2rem; max-width:66ch}
.jh-recipe-allergen{display:flex; justify-content:space-between; gap:.6rem; align-items:baseline; padding:.5rem 0; border-bottom:1px solid var(--line); font-size:.88rem}
.jh-recipe-allergen .jh-recipe-amark{font-family:var(--mono); font-size:.66rem; letter-spacing:.08em; text-transform:uppercase}
.jh-recipe-allergen.is-yes{color:var(--warn); font-weight:600}
.jh-recipe-allergen.is-yes .jh-recipe-amark{color:var(--warn)}
.jh-recipe-allergen.is-no{color:var(--ink-soft)}
.jh-recipe-allergen.is-no .jh-recipe-amark{color:var(--ink-soft)} /* S1a: was --ink-faint (2.98:1 light / 3.78:1 dark — sub-AA on a safety-critical status word); --ink-soft = 5.03:1 light / 6.48:1 dark */
.jh-recipe-allergen.is-may{color:var(--ink)}
.jh-recipe-allergen.is-may .jh-recipe-amark{color:var(--jh-accent)}
/* ═══ Z19 · DIETARY ADAPTATION ════════════════════════════════════════ */
.jh-recipe-adapt{max-width:66ch}
/* ═══ Z20 · BATCH COOKING ═════════════════════════════════════════════ */
.jh-recipe-batch{max-width:66ch; font-size:.98rem}
.jh-recipe-batch p{margin:0 0 var(--sp-3)}
.jh-recipe-batch ul{list-style:none; margin:0; padding:0} /* S2: kill default disc dingbat + 40px UA indent */
.jh-recipe-batch li{position:relative; padding-left:var(--sp-6); margin:0 0 var(--sp-3); font-size:.98rem; line-height:1.7}
.jh-recipe-batch li::before{content:""; position:absolute; left:0; top:.6em; width:6px; height:6px; background:var(--jh-accent)} /* drawn turmeric square marker, on-brand */
/* ═══ Z21 · DRINK PAIRING ═════════════════════════════════════════════ */
.jh-recipe-pair{display:flex; gap:1.6rem; align-items:baseline; max-width:66ch}
.jh-recipe-pair .jh-recipe-pair-name{font-family:var(--serif); font-size:1.5rem; font-style:italic; overflow-wrap:anywhere; color:var(--jh-accent)} /* S2: drop white-space:nowrap (long user drink names overflowed at 390) */
.jh-recipe-pair p{margin:0; font-size:.98rem; color:var(--ink-soft)}
/* ═══ Z22 · FAQ ═══════════════════════════════════════════════════════ */
/* MOVED OUT, 2026-09-03 (#580, Finn's ruling A4 of the #426 strike reversal).
   The six base .jh-faq rules that stood here, and the two ::after overrides that
   stood in "SF·S6c · PER-BLOCK L2 NITS · 3 · FAQ +/−", now live together in
   assets/05-components.css under "JH · FAQ (.jh-faq)". MOVED, not copied: a
   duplicated rule set is the two-same-named-rules-fighting-by-source-order defect.
   Recipe pages still get them -- assets/*.css is enqueued site-wide on
   wp_enqueue_scripts at the default priority 10 (functions.php:231), and
   recipe-skin enqueues on the same hook at the same default priority 10
   (jh-recipe-skin.php:1649) -- with both at priority 10, functions.php's
   earlier add_action registration is what puts it first, not a priority gap.
   The recipe-skin tokens those rules read
   (--line/--serif/--mono/--jh-accent/--measure-prose) are still declared
   in this file's TOKENS block, so they resolve at computed-value time exactly as
   before. Do NOT re-add a copy here. */
/* ═══ Z23 · REVIEWS + COMMUNITY NOTES ═════════════════════════════════ */
.jh-recipe-agg{display:flex; align-items:baseline; gap:1rem; margin-bottom:1.6rem; font-family:var(--mono); font-size:.78rem; color:var(--ink-soft)}
.jh-recipe-agg .jh-recipe-agg-num{font-family:var(--serif); font-size:2.4rem; color:var(--ink)}
.jh-recipe-agg .jh-recipe-starglyphs{color:var(--jh-accent); letter-spacing:.12em}
.jh-recipe-rev{padding:1.2rem 0; border-bottom:1px solid var(--line)}
.jh-recipe-rev:last-child{border-bottom:none}
.jh-recipe-rev .jh-recipe-rev-h{display:flex; align-items:center; gap:.8rem; font-family:var(--mono); font-size:.74rem; letter-spacing:.06em; color:var(--ink-soft); margin-bottom:.5rem; flex-wrap:wrap}
.jh-recipe-rev .jh-recipe-rev-h b{color:var(--ink); letter-spacing:0; font-family:var(--sans); font-size:.9rem}
.jh-recipe-rev .jh-recipe-starglyphs{color:var(--jh-accent); letter-spacing:.1em}
.jh-recipe-rev p{margin:0; font-size:.98rem}
.jh-recipe-rev img{margin-top:.8rem; width:96px; height:96px; object-fit:cover}
.jh-recipe-notes-tools{display:flex; gap:1.2rem; align-items:center; margin:0 0 1rem; flex-wrap:wrap}
.jh-recipe-notes-tools input{flex:1; min-width:180px; background:none; border:none; border-bottom:1.5px solid var(--line-2); color:var(--ink); font-family:var(--mono); font-size:.82rem; padding:.5rem .2rem; letter-spacing:.03em}
.jh-recipe-notes-tools input::placeholder{color:var(--ink-faint); text-transform:uppercase; letter-spacing:.1em; font-size:.68rem}
.jh-recipe-sortseg{display:inline-flex; gap:.9rem}
.jh-recipe-sortseg button{border:none; background:none; font-family:var(--mono); font-size:.66rem; letter-spacing:.12em; text-transform:uppercase; color:var(--ink-soft); border-bottom:1.5px solid transparent; padding:.2rem 0}
.jh-recipe-sortseg button.is-on{color:var(--jh-accent); border-color:var(--jh-accent)}
.jh-recipe-cnote{padding:1rem 0; border-bottom:1px solid var(--line)}
.jh-recipe-cnote:last-child{border-bottom:none}
.jh-recipe-cnote .jh-recipe-cnote-h{display:flex; gap:.8rem; align-items:baseline; font-family:var(--mono); font-size:.68rem; color:var(--ink-soft); margin-bottom:.3rem}
.jh-recipe-cnote .jh-recipe-cnote-h b{font-family:var(--sans); font-size:.88rem; color:var(--ink); letter-spacing:0}
.jh-recipe-cnote p{margin:0; font-size:.95rem}
.jh-recipe-cnote .jh-recipe-helpful{margin-left:auto; font-family:var(--mono); font-size:.66rem; color:var(--ink-faint); background:none; border:none; white-space:nowrap}
@media (hover: hover) {.jh-recipe-cnote .jh-recipe-helpful:hover{color:var(--jh-accent)}
}
.jh-recipe-revform{margin-top:2.4rem; border-top:1px solid var(--line-2); padding-top:1.8rem; max-width:480px}
.jh-recipe-revform .jh-recipe-lab{display:block; margin-bottom:1rem}
.jh-recipe-revform input,.jh-recipe-revform textarea{width:100%; background:none; border:none; border-bottom:1.5px solid var(--line-2); color:var(--ink); font-family:var(--mono); font-size:.85rem; padding:.6rem .2rem; margin-bottom:1rem; resize:vertical}
.jh-recipe-revform input::placeholder,.jh-recipe-revform textarea::placeholder{color:var(--ink-faint); text-transform:uppercase; letter-spacing:.1em; font-size:.7rem}
.jh-recipe-ratestars{display:flex; gap:.3rem; margin-bottom:1rem}
.jh-recipe-ratestars button{background:none; border:none; font-size:1.3rem; color:var(--line-2); padding:.1rem}
.jh-recipe-ratestars button.is-on{color:var(--jh-accent)}
.jh-recipe-chat{margin-top:2.6rem; border:1px solid var(--line-2); padding:1.4rem; display:flex; gap:1.2rem; align-items:baseline; max-width:560px}
.jh-recipe-chat .jh-recipe-lab{white-space:nowrap}
.jh-recipe-chat p{margin:0; font-size:.9rem; color:var(--ink-soft)}
/* ═══ Z24 · AUTHOR ════════════════════════════════════════════════════ */
.jh-recipe-author{display:flex; gap:1.6rem; align-items:flex-start; max-width:66ch}
.jh-recipe-author img{width:96px; height:96px; object-fit:cover; flex-shrink:0; filter:grayscale(.15)} /* S2: square DIMENSIONS (was 92x108) so the site-wide avatar 50% rounding renders a clean CIRCLE, not an ellipse */
.jh-recipe-author h3{font-size:1.4rem; font-weight:500}
.jh-recipe-author .jh-recipe-role{font-family:var(--mono); font-size:.7rem; letter-spacing:.16em; text-transform:uppercase; color:var(--jh-accent); margin:.3rem 0 .8rem}
.jh-recipe-author p{margin:0 0 .8rem; font-size:.98rem}
.jh-recipe-author .jh-recipe-socials{font-family:var(--mono); font-size:.74rem; letter-spacing:.08em; display:flex; gap:1.4rem}
.jh-recipe-tested{display:inline-block; font-family:var(--mono); font-size:.64rem; letter-spacing:.12em; text-transform:uppercase; color:var(--jh-accent); border:1px solid var(--ink-faint); border-radius:0; padding:.3rem .8rem; margin-bottom:.8rem} /* S2: border --line-2→--ink-faint (was 2.02:1 on espresso; now ~3.8:1) */
.jh-recipe-vhist{font-family:var(--mono); font-size:.7rem; color:var(--ink-soft); margin-top:.6rem; letter-spacing:.02em}
/* ═══ Z25 · SERVE WITH  +  Z26 · RELATED ══════════════════════════════ */
.jh-recipe-rel{display:grid; grid-template-columns:repeat(3,1fr); gap:var(--sp-6)} /* S2: 1.4rem→--sp-6 */
.jh-recipe-rc img{aspect-ratio:3/4; object-fit:cover; width:100%; background:var(--paper-2)}
.jh-recipe-rc .jh-recipe-rc-t{font-family:var(--serif); font-size:1.05rem; font-weight:500; margin-top:.7rem; line-height:1.2}
.jh-recipe-rc .jh-recipe-rc-m{font-family:var(--mono); font-size:.68rem; letter-spacing:.08em; color:var(--ink-soft); margin-top:.3rem; text-transform:uppercase}
@media (hover: hover) {.jh-recipe-rc:hover .jh-recipe-rc-t{color:var(--jh-accent)}
}
.jh-recipe-rc a{text-decoration:none; color:inherit}
.jh-recipe-serve{display:grid; grid-template-columns:1fr 1fr; gap:var(--sp-6); max-width:720px} /* S2: 1.4rem→--sp-6 */
.jh-recipe-serve .jh-recipe-rc .jh-recipe-rc-why{font-size:.88rem; color:var(--ink-soft); margin-top:.4rem}
/* ═══ Z27 · OCCASION TAGS ═════════════════════════════════════════════ */
.jh-recipe-tags{display:flex; gap:var(--sp-3); flex-wrap:wrap} /* S2: .7rem→--sp-3 */
.jh-recipe-tags a{font-family:var(--mono); font-size:.68rem; letter-spacing:.1em; text-transform:uppercase; color:var(--ink-soft); text-decoration:none; border:1px solid var(--line-2); border-radius:0; padding:.45rem 1rem; min-height:44px; display:inline-flex; align-items:center} /* S2: 44px hit target (was the only sub-44px control) */
@media (hover: hover) {.jh-recipe-tags a:hover{color:var(--jh-accent); border-color:var(--jh-accent)}
}
/* ═══ Z28 · NEWSLETTER (dark band) ════════════════════════════════════ */
.jh-recipe-slow{background:var(--dark); color:var(--on-dark); padding:4rem 0}
.jh-recipe-slow .jh-recipe-lab{color:var(--jh-accent-on-dark)}
.jh-recipe-slow :is(h2,h3){color:var(--on-dark); font-weight:400; font-size:clamp(1.7rem,5vw,2.4rem); margin:.7rem 0 .6rem; max-width:20ch}
.jh-recipe-slow p{color:var(--on-dark); max-width:46ch; margin:0 0 1.6rem}
.jh-recipe-slow p em{color:var(--jh-accent-on-dark); font-style:italic}
.jh-recipe-nl{display:flex; gap:.6rem; flex-wrap:wrap; max-width:440px}
.jh-recipe-nl input{flex:1; min-width:200px; background:none; border:none; border-bottom:1.5px solid #4a4138; color:var(--on-dark); font-family:var(--mono); font-size:.85rem; padding:.6rem .2rem; letter-spacing:.04em}
.jh-recipe-nl input::placeholder{color:#8d8478; text-transform:uppercase; letter-spacing:.1em; font-size:.74rem}
.jh-recipe-nl button{background:none; border:none; color:var(--jh-accent-on-dark); font-family:var(--mono); font-size:.74rem; text-transform:uppercase; letter-spacing:.16em}
/* ═══ Z29 · PIN / SAVE BAND ═══════════════════════════════════════════ */
.jh-recipe-pinband .jh-recipe-col{display:grid; grid-template-columns:auto 1fr; gap:1rem 1.4rem; align-items:center}
.jh-recipe-pinband img{width:72px; height:108px; object-fit:cover; grid-row:1 / span 2}
.jh-recipe-pinband .jh-recipe-pin-x{font-size:.95rem}
.jh-recipe-pinband .jh-recipe-pin-x small{display:block; color:var(--ink-soft); font-family:var(--mono); font-size:.66rem; letter-spacing:.04em; margin-top:.3rem}
.jh-recipe-sharerow{display:flex; gap:.6rem; flex-wrap:wrap; grid-column:2}
.jh-recipe-sharebtn{background:none; border:1px solid var(--line-2); color:var(--ink); font-family:var(--mono); font-size:.66rem; text-transform:uppercase; letter-spacing:.12em; padding:.55rem 1rem; white-space:nowrap; text-decoration:none; display:inline-block}
@media (hover: hover) {.jh-recipe-sharebtn:hover{border-color:var(--jh-accent); color:var(--jh-accent)}
}
/* ═══ Z30 · FOOTER ════════════════════════════════════════════════════ */
.jh-recipe-footer{padding:3rem 0 4rem; text-align:center}
.jh-recipe-footer .jh-recipe-fbrand{font-family:var(--serif); font-size:1.2rem}
.jh-recipe-footer p{font-size:.9rem; color:var(--ink-soft); margin:.5rem 0 0}
.jh-recipe-footer .jh-recipe-fdisc{font-family:var(--mono); font-size:.66rem; line-height:1.8; color:var(--ink-soft); max-width:60ch; margin:1.2rem auto 0; letter-spacing:.02em}
.jh-recipe-report{font-family:var(--mono); font-size:.62rem; letter-spacing:.1em; text-transform:uppercase; color:var(--ink-faint); margin-top:1.6rem; display:inline-block}
/* ═══ Z09s · DESKTOP STICKY RAIL (≥1300px only — never exists on mobile) ═ */
.jh-recipe-srail{display:none}
@media (min-width:1300px){
  #jh-z09-method{position:relative}
  .jh-recipe-srail{display:block; position:absolute; top:0; bottom:0;
    right:max(1.2rem, calc((100vw - var(--col))/2 - 290px)); width:270px; pointer-events:none}
  /* RUN 15 (Finn 2026-06-23): float the rail player vertically-centred rather than pinned just
     under the nav. It lives in an empty right gutter. NOTE: an earlier pass used translateY(-50%)
     for centring, but `transform` on a position:sticky element makes it drift/jitter slightly as
     it sticks/unsticks (Finn: "moved slightly when scrolling past it"). Centre WITHOUT transform
     by offsetting top by half the card height (~117px of the ~233px card) → rock-steady stick. */
  .jh-recipe-srail-inner{position:sticky; top:calc(50vh - 92px); pointer-events:auto;
    border:1px solid var(--line); background:var(--paper); padding:1rem}
  body.is-cook .jh-recipe-srail{display:none}
}
.jh-recipe-srail-player{position:relative; aspect-ratio:16/9; cursor:pointer; overflow:hidden; background:var(--paper-3); margin-bottom:1rem}
.jh-recipe-srail-player img{width:100%; height:100%; object-fit:cover; opacity:.85}
.jh-recipe-srail-player iframe{width:100%; height:100%; border:0}
.jh-recipe-srail-player .jh-recipe-play{position:absolute; inset:0; display:flex; align-items:center; justify-content:center}
.jh-recipe-srail .jh-recipe-controls{margin-bottom:1rem; gap:.8rem 1.2rem; font-size:.66rem}
.jh-recipe-srail .jh-recipe-stepper button{width:24px; height:24px; font-size:.9rem}
/* RUN 9 FIX (issue 3): added transition:opacity for the JS fade-on-change in spyMovement() */
.jh-recipe-srail-mv{font-family:var(--mono); font-size:.64rem; letter-spacing:.16em; text-transform:uppercase; color:var(--jh-accent); display:block; border-top:1px solid var(--line); padding-top:.9rem; transition:opacity .15s}
.jh-recipe-srail-uses{font-family:var(--mono); font-size:.72rem; color:var(--ink-soft); margin:.4rem 0 0; line-height:1.7; transition:opacity .15s}
.jh-recipe-srail-uses b{color:var(--ink); font-weight:500}
/* focus-mode step image */
.jh-recipe-focus-img{max-height:34vh; width:auto; max-width:100%; object-fit:cover; margin-bottom:1.4rem}
.jh-recipe-focus-img[hidden]{display:none}
/* ═══ INTERACTIVE CHROME — cook rail · cook mode · focus mode ════════ */
/* RUN 12 FINAL: the rail (non-cook pill) must sit in the EXACT same place as the cook HUD,
   which Finn confirmed positions correctly. The rail differed only in its slide mechanism:
   it animated position via transform:translateY(140%↔0), and on iOS a translateY'd fixed
   element composites with the toolbar movement and settled BEHIND the search bar. Fix: when
   SHOWN, the rail's transform is now translateX(-50%) ONLY — pixel-identical to the HUD's
   transform — so its resting position matches. Hidden state slides it away with opacity +
   a downward translate; visibility flips so it can't catch taps while hidden. */
.jh-recipe-rail{position:fixed; left:50%; transform:translateX(-50%); opacity:0; visibility:hidden; bottom:1rem; z-index:55;
  background:var(--ink); color:var(--on-dark); border-radius:0; display:flex; align-items:center; gap:1.2rem;   /* S1a: color --paper→--on-dark (light in BOTH themes); bg forced dark in dark via override at file end */
  padding:.6rem 1.3rem; box-shadow:0 12px 30px -10px rgba(0,0,0,.4); transition:opacity .3s, visibility .3s; font-family:var(--mono); font-size:.7rem; letter-spacing:.1em; text-transform:uppercase}
.jh-recipe-rail.is-show{transform:translateX(-50%); opacity:1; visibility:visible}
.jh-recipe-rail .jh-recipe-grp{display:flex; align-items:center; gap:.6rem; white-space:nowrap}
.jh-recipe-rail button{background:none; border:none; color:var(--on-dark)}
.jh-recipe-rail .jh-recipe-div{width:1px; height:18px; background:var(--on-dark-soft)}
/* rail cook button — styled in the S3 UNIFIED COOK/STEP PILL block (dark-chrome ghost) */
.jh-recipe-rail .jh-recipe-stepper button{width:22px; height:22px; border:1px solid var(--ink-soft); border-radius:50%; font-size:.95rem}
/* cook mode — strip chrome, enlarge steps */
body.is-cook .jh-recipe-hero-img,body.is-cook .jh-recipe-gallery,body.is-cook #jh-z03-opener,
body.is-cook #jh-z04-story,body.is-cook #jh-z05-preflight,body.is-cook #jh-z06-equipment,
body.is-cook #jh-z07-knowing,body.is-cook #jh-z10-short,body.is-cook #jh-z11-video,
body.is-cook #jh-z12-nutrition,body.is-cook #jh-z13-notes,body.is-cook #jh-z14-variations,
body.is-cook #jh-z15-why,body.is-cook #jh-z16-waste,body.is-cook #jh-z17-co2,
body.is-cook #jh-z18-allergens,body.is-cook #jh-z19-adapt,body.is-cook #jh-z20-batch,
body.is-cook #jh-z21-pairing,body.is-cook #jh-z22-faq,body.is-cook #jh-z23-reviews,
body.is-cook #jh-z24-author,body.is-cook #jh-z25-serve,body.is-cook #jh-z26-related,
body.is-cook #jh-z27-occasion,body.is-cook #jh-z28-newsletter,body.is-cook #jh-z29-pinband,
body.is-cook #jh-z30-footer,body.is-cook .jh-recipe-mv-img,
body.is-cook .jh-recipe-crumb{display:none !important}
body.is-cook .jh-recipe-step img{max-height:30vh; width:auto; max-width:100%}
body.is-cook .jh-recipe-mv-head{padding:2rem 0 1rem}
body.is-cook .jh-recipe-step p{font-size:1.3rem; line-height:1.75}
body.is-cook .jh-recipe-cookbar{display:flex}
/* RUN 12 (BUG 2 — belt-and-braces): the cook HUD REPLACES the floating Serves rail in
   cook mode. The JS now clears the rail's .is-show on cook(true), but this guarantees the
   rail can never paint under the cook bar even for the frame before a scroll re-eval (or
   from any future code path that re-adds .is-show while cooking). Scoped to is-cook only,
   so the rail is unaffected outside cook mode. */
body.is-cook .jh-recipe-rail{display:none !important}
.jh-recipe-cookbar{display:none; position:sticky; top:0; z-index:62; align-items:center; justify-content:space-between; gap:1rem;
  background:var(--ink); color:var(--paper); padding:.9rem var(--gut); font-family:var(--mono); font-size:.72rem; letter-spacing:.12em; text-transform:uppercase}
.jh-recipe-cookbar .jh-recipe-cookbar-btns{display:flex; gap:.7rem}
/* cookbar buttons — styled in the S3 UNIFIED COOK/STEP PILL block */
/* focus mode — one step at a time */
/* RUN 15 (Finn 2026-06-23): z-index 80→9999. Step mode is a full-screen takeover but the GP
   sticky-nav clone (body-level fixed, z above 80) was painting OVER the focus top bar, clipping
   it under the nav. Lift the overlay above the nav so it covers the screen cleanly. */
.jh-recipe-focus{position:fixed; inset:0; z-index:9999; background:var(--paper); display:none; flex-direction:column; padding:0 var(--gut)}
.jh-recipe-focus.is-open{display:flex}
.jh-recipe-focus-top{display:flex; justify-content:space-between; align-items:center; padding:1rem 0; font-family:var(--mono); font-size:.7rem; letter-spacing:.14em; text-transform:uppercase; color:var(--ink-soft)}
.jh-recipe-focus-top button{background:none; border:none; color:var(--jh-accent); font-family:var(--mono); font-size:.7rem; letter-spacing:.14em; text-transform:uppercase}
/* RUN 10 FIX (focus freeze): min-height:0 lets this flex child shrink below its content
   height; overflow-y:auto makes it scroll when content is taller than the viewport rather
   than pushing the nav row below the fold. padding-bottom reduced (nav is a sibling). */
.jh-recipe-focus-main{flex:1; min-height:0; overflow-y:auto; display:flex; flex-direction:column; justify-content:center; max-width:var(--col); margin-inline:auto; width:100%; padding-bottom:1rem}
.jh-recipe-focus-main .jh-recipe-mv-num{margin-bottom:1rem}
.jh-recipe-focus-main .jh-recipe-focus-h{font-family:var(--serif); font-size:clamp(1.5rem,4vw,2.1rem); font-weight:500; margin-bottom:1rem}
.jh-recipe-focus-main p{font-size:clamp(1.2rem,3vw,1.5rem); line-height:1.7; margin:0; max-width:30ch}
/* RUN 10 FIX: flex-shrink:0 prevents the nav row from collapsing when focus-main is large */
.jh-recipe-focus-nav{flex-shrink:0; display:flex; gap:1rem; align-items:center; justify-content:space-between; padding:1rem 0 1.4rem; max-width:var(--col); margin-inline:auto; width:100%}
/* focus-nav pills (prev / Next) — styled in the S3 UNIFIED COOK/STEP PILL block */
.jh-recipe-focus-nav .jh-recipe-focus-count{font-family:var(--mono); font-size:.74rem; color:var(--ink-soft)}
.jh-recipe-voice-btn{display:inline-flex; align-items:center; gap:.5rem}
.jh-recipe-voice-btn::before{content:"▷"; font-size:.8rem}
/* ═══ RESPONSIVE ══════════════════════════════════════════════════════ */
@media (max-width:600px){
  .jh-recipe-pinband .jh-recipe-col{grid-template-columns:1fr}
  .jh-recipe-pinband img{grid-row:auto}
  .jh-recipe-sharerow{grid-column:1}
  .jh-recipe-shop{grid-template-columns:1fr; gap:1.8rem}
  .jh-recipe-rel{grid-template-columns:1fr 1fr; gap:1rem}
  .jh-recipe-serve{grid-template-columns:1fr 1fr; gap:1rem}
  .jh-recipe-vrow,.jh-recipe-knowing-row{grid-template-columns:1fr; gap:.2rem}
  .jh-recipe-author{flex-direction:column}
  .jh-recipe-opener{margin-top:-5rem}
  .jh-recipe-step .jh-recipe-step-imgs{grid-template-columns:1fr}
  .jh-recipe-short{grid-template-columns:1fr; gap:1.4rem}
  .jh-recipe-short-frame{max-width:260px}
  .jh-recipe-jumpnav{display:none}
  .jh-recipe-pair{flex-direction:column; gap:.4rem}
  .jh-recipe-trouble{font-size:.84rem}
  .jh-recipe-trouble th,.jh-recipe-trouble td{padding-right:.5rem}
}
@media (prefers-reduced-motion:reduce){*{transition:none !important; scroll-behavior:auto !important; animation:none !important}}
/* ═══ PRINT ═══════════════════════════════════════════════════════════ */
@media print{
  .jh-recipe-topbar,.jh-recipe-rail,.jh-recipe-cookbar,
  .jh-recipe-gallery,.jh-recipe-ctas,.jh-recipe-controls,#jh-z10-short,#jh-z11-video,
  #jh-z23-reviews,#jh-z26-related,#jh-z25-serve,#jh-z27-occasion,#jh-z28-newsletter,#jh-z29-pinband,
  .jh-recipe-step-tools,.jh-recipe-focus,.jh-recipe-lightbox,.jh-recipe-chat,
  .jh-recipe-revform,.jh-recipe-notes-tools{display:none !important}
  body{background:#fff; color:#000; font-size:11pt}
  .jh-recipe-hero-img{height:60mm; object-fit:cover}
  body.print-no-photos .jh-recipe-hero-img,body.print-no-photos .jh-recipe-mv-img,
  body.print-no-photos .jh-recipe-step img,body.print-no-photos .jh-recipe-step .jh-recipe-step-imgs{display:none !important}
  .jh-recipe-opener{margin-top:0}
  .jh-recipe-section{padding:1.2rem 0; break-inside:avoid-page}
  #jh-z09-method .jh-recipe-step{break-inside:avoid}
  a{text-decoration:none; color:#000}
}

/* ═══ WP DELICIOUS SUPPRESSION (v1.2) ═══════════════════════════════════
   The skin replaces the plugin's presentation. The PHP snippet removes the
   plugin's the_content card filter + dequeues its assets; this rule hides the
   single-recipe TEMPLATE banner (rendered outside the_content, so PHP can't
   strip it cleanly). JSON-LD schema + rating capture are untouched.
   Safety net: collapse the plugin card too, so even if the PHP the_content
   removal is ever inactive the page never double-renders.
   ════════════════════════════════════════════════════════════════════════ */
body.single-recipe .wpdelicious-recipe-banner{ display:none !important; }
body.single-recipe .dr-entry-content > .dr-summary-holder{ display:none !important; }
/* ═══════════════════════════════════════════════════════════════════════
   THEME COLOUR OVERRIDES — present on LIVE, were missing from this hub copy.
   Re-asserted here so hub == live. GeneratePress colours headings/links/p
   inside .jh-recipe-skin; the standalone demo never needed these. Captured
   from live CSSOM 14 Jun 2026 (finding B). Keep in sync with live.
   ═══════════════════════════════════════════════════════════════════════ */
.jh-recipe-skin .jh-recipe-opener-panel { background: var(--paper); }
.jh-recipe-skin .jh-recipe-opener-panel .jh-recipe-title { color: var(--ink); }
.jh-recipe-skin .jh-recipe-opener-panel .jh-recipe-lab { color: var(--jh-accent); }
.jh-recipe-skin .jh-recipe-opener-panel .jh-recipe-kick .jh-recipe-dish { color: var(--ink-soft); }
.jh-recipe-skin .jh-recipe-opener-panel .jh-recipe-summary { color: var(--ink-soft); }
.jh-recipe-skin .jh-recipe-opener-panel .jh-recipe-byline { color: var(--ink-soft); }
.jh-recipe-skin .jh-recipe-opener-panel .jh-recipe-byline b { color: var(--ink); }
.jh-recipe-skin .jh-recipe-opener-panel .jh-recipe-spec { color: var(--ink-soft); }
.jh-recipe-skin .jh-recipe-opener-panel .jh-recipe-spec b { color: var(--ink); }
.jh-recipe-skin .jh-recipe-opener-panel .jh-recipe-split { color: var(--jh-accent); }
.jh-recipe-skin .jh-recipe-opener-panel .jh-recipe-stars { color: var(--ink-soft); }
.jh-recipe-skin .jh-recipe-opener-panel .jh-recipe-stars .jh-recipe-starglyphs { color: var(--jh-accent); }
.jh-recipe-skin .jh-recipe-opener-panel .jh-recipe-diff .jh-recipe-diff-item { color: var(--ink-soft); }
.jh-recipe-skin .jh-recipe-opener-panel .jh-recipe-diff .jh-recipe-diff-dots { color: var(--jh-accent); }
.jh-recipe-skin .jh-recipe-opener-panel .jh-recipe-cta { color: var(--ink); }
.jh-recipe-skin .jh-recipe-opener-panel .jh-recipe-cta.is-primary { color: var(--paper); background: var(--ink); }
@media (hover: hover) {.jh-recipe-skin .jh-recipe-opener-panel .jh-recipe-cta:hover { color: var(--jh-accent); text-decoration:underline; text-underline-offset:3px; }
}
@media (hover: hover) {.jh-recipe-skin .jh-recipe-opener-panel .jh-recipe-cta.is-primary:hover { color: var(--paper); background: var(--jh-accent); }
}
.jh-recipe-skin .jh-recipe-sechead :is(h2,h3), .jh-recipe-skin .jh-recipe-mv-head h3, .jh-recipe-skin .jh-recipe-step h4 { color: var(--ink); }
.jh-recipe-skin .jh-recipe-lab { color: var(--jh-accent); }
.jh-recipe-skin .jh-recipe-watch :is(h2,h3), .jh-recipe-skin .jh-recipe-slow :is(h2,h3), .jh-recipe-skin .jh-recipe-slow p { color: var(--on-dark); }
.jh-recipe-skin .jh-recipe-watch .jh-recipe-lab, .jh-recipe-skin .jh-recipe-slow .jh-recipe-lab { color: var(--jh-accent-on-dark); }

/* ═══════════════════════════════════════════════════════════════════════
   THEME-FIT FIXES (pixel-perfect audit 14 Jun 2026, verified live) — F/G/I.
   ═══════════════════════════════════════════════════════════════════════ */
body.single-recipe #page.grid-container { max-width: none !important; }
body.single-recipe,
body.single-recipe #page,
body.single-recipe #content { background: var(--paper) !important; }
@media (min-width: 1300px) {
  body.single-recipe .jh-recipe-skin .jh-recipe-srail { display: block !important; }
  body.single-recipe.is-cook .jh-recipe-skin .jh-recipe-srail { display: none !important; }
}

/* ── FIX 4 (newsletter): hide the skin's Slow Letter band on recipes ──────
   A working newsletter already lives in the site footer, so the skin's own
   Z28 band is redundant AND currently shows the literal [jh_slow_letter]
   shortcode (unregistered). Hide it for now. Verified live: Z28 sits between
   Z27 (tags) and Z29 (pin band), both transparent — hiding leaves a clean seam,
   no gap or double border. (Permanent option: comment out the Z28 <section> in
   the PHP snippet instead, to drop it from the DOM entirely.) */
body.single-recipe #jh-z28-newsletter { display: none !important; }

/* ═══════════════════════════════════════════════════════════════════════════
   ███  RUN 2 — PIXEL-PERFECT + FULL-FUNCTION FIXES (14 Jun 2026)  ███
   All scoped to .jh-recipe-skin / body.single-recipe so nothing else on the
   site is affected. Each block notes the issue it fixes and the verified root
   cause. Values come from jh-recipe-demo-3.html (canonical) unless flagged as a
   judgement call. Append-only — nothing above this line was changed.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── FIX 6 + 7 — steppers (− / +) not centred ────────────────────────────────
   ROOT CAUSE (confirmed live via CSSOM): GeneratePress main.min.css applies
   `button,input[type=button],input[type=submit]{padding:10px 20px}` to the
   stepper buttons. The skin's `.jh-recipe-stepper button` sets width/height/
   border-radius but NOT padding or display, so GP's 10/20 padding survives and
   the glyph renders off-centre in a ~41×30 box instead of a centred 30px circle.
   FIX: re-assert the box-model at higher specificity (.jh-recipe-skin prefix)
   and centre the glyph with flex. Covers the ingredients stepper (Z08), the
   floating-video rail stepper (.jh-recipe-srail) and the bottom rail
   (.jh-recipe-rail). */
.jh-recipe-skin .jh-recipe-stepper button{
  display:inline-flex; align-items:center; justify-content:center;
  width:30px; height:30px; min-width:30px; padding:0;
  border:1px solid var(--line-2); background:none; border-radius:50%;
  font-size:1rem; line-height:1; color:var(--ink); -webkit-appearance:none; appearance:none;
}
@media (hover: hover) {.jh-recipe-skin .jh-recipe-stepper button:hover{ border-color:var(--jh-accent); color:var(--jh-accent); }
}
.jh-recipe-skin .jh-recipe-srail .jh-recipe-stepper button{ width:24px; height:24px; min-width:24px; font-size:.9rem; }
.jh-recipe-skin .jh-recipe-rail .jh-recipe-stepper button{ width:22px; height:22px; min-width:22px; border-color:var(--ink-soft); font-size:.95rem; }

/* ── FIX 5 — "Mark done" gives the BUTTON no active state ─────────────────────
   ROOT CAUSE: JS toggles only `.jh-recipe-step.is-done` (greys + strikes the
   step text). Neither demo nor live gives the button itself a toggled look, so
   there's no affordance that the step is checked from the control you clicked.
   JUDGEMENT CALL (not pinned by demo): when the step is done, flip the button to
   a clear filled/checked state in the skin's own palette. CSS-only — no JS
   change needed, so it can't break the existing toggle logic. */
.jh-recipe-skin .jh-recipe-step.is-done .jh-recipe-mbtn{
  display:inline-flex; align-items:center; gap:.35em; white-space:nowrap;
  color:var(--paper); background:var(--jh-accent);
  padding:.35rem .85rem; border-radius:0; letter-spacing:.1em;
}
@media (hover: hover) {.jh-recipe-skin .jh-recipe-step.is-done .jh-recipe-mbtn:hover{ text-decoration:none; background:var(--ink); color:var(--paper); }
}
/* the anchor "#" sits next to the button in .jh-recipe-step-tools — keep it quiet */
.jh-recipe-skin .jh-recipe-step.is-done .jh-recipe-anchor{ opacity:.5; }

/* ── FIX 9 — related "You may also like": mobile orphan (2 + 1 hanging) ───────
   ROOT CAUSE: 3 cards in a 2-col mobile grid = one orphan bottom-left (the demo
   has the same flaw). PHP now emits 4 related (see snippet), so the grid divides
   evenly: 2×2 on mobile, 4-up on wide. Desktop stays 3-up ONLY if 3 items; with
   4 items we go 4-up so there's never a 3+1 orphan either. Serve-with (Z25) uses
   the same .jh-recipe-rc cards but its own .jh-recipe-serve grid — unaffected. */
.jh-recipe-skin .jh-recipe-rel{ grid-template-columns:repeat(4,1fr); }
@media (max-width:900px){ .jh-recipe-skin .jh-recipe-rel{ grid-template-columns:1fr 1fr; gap:1rem; } }
@media (max-width:430px){ .jh-recipe-skin .jh-recipe-rel{ grid-template-columns:1fr 1fr; gap:.8rem; } }


/* ── FIX 8 — review zone: style the WP Delicious / wpDiscuz form to match ─────
   ROOT CAUSE: PHP renders the PLUGIN review template, so the live DOM is
   .dr-pro-comment-section → .dr-comment-form → #commentform (.comment-form-rating,
   .comment-form-comment, .comment-form-author/email, .form-submit) + wpDiscuz
   star widget. The skin's .jh-recipe-rev/.jh-recipe-agg/.jh-recipe-revform CSS
   targets DEMO classes that don't exist live, so the real form is unstyled.
   FIX: map the editorial aesthetic (mono uppercase labels, accent gold, hairline
   underline inputs, ghost/solid buttons, warm palette, generous rhythm) onto the
   plugin's actual selectors. All scoped under #jh-z23-reviews so only the recipe
   review zone is touched. Tokens flip in dark mode automatically. */
/* RUN 15 (Finn 2026-06-23): hide the plugin's redundant "Write a Review" tab button.
   It's the lone child of .dr-comment-type-buttons and does nothing the section heading
   + visible rating/comment form don't already make obvious. The form is independent of
   this button, so hiding the whole wrapper removes it cleanly with no leftover gap. */
#jh-z23-reviews .dr-comment-type-buttons{ display:none !important; }
#jh-z23-reviews .dr-pro-comment-section{ font-family:var(--sans); color:var(--ink); }
#jh-z23-reviews .dr-pro-comment-container{ max-width:none; margin:0; }

/* tab buttons (Review / Comment) → quiet mono pills */
#jh-z23-reviews .dr-comment-type-buttons{ display:flex; gap:.6rem; margin-bottom:1.6rem; border:0; }
#jh-z23-reviews .dr-form-tab-btn{
  font-family:var(--mono); font-size:.66rem; letter-spacing:.12em; text-transform:uppercase;
  color:var(--ink-soft); background:none; border:1px solid var(--line-2); border-radius:0;
  padding:.45rem 1rem; cursor:pointer; display:inline-flex; align-items:center; gap:.4rem; line-height:1;
  min-height:44px; /* RUN 14 A21: "Write a Review" tab was 27px; bump to 44px */
}
#jh-z23-reviews .dr-form-tab-btn.active{ color:var(--paper); background:var(--ink); border-color:var(--ink); }
#jh-z23-reviews .dr-form-tab-btn svg{ width:1em; height:1em; }

/* respond / reply title */
#jh-z23-reviews .comment-respond{ margin:0; }
#jh-z23-reviews .comment-reply-title,
#jh-z23-reviews .comment-reply-title-label{
  font-family:var(--mono); font-size:.74rem; letter-spacing:.14em; text-transform:uppercase;
  color:var(--jh-accent); font-weight:500; margin:0 0 1rem;
}
#jh-z23-reviews .comment-reply-title small a{ color:var(--ink-faint); }

/* the comment form itself */
#jh-z23-reviews .comment-form{ max-width:520px; }
#jh-z23-reviews .comment-form-rating{ margin-bottom:1.4rem; }
#jh-z23-reviews .comment-form-rating .comment-reply-title-label{ display:block; margin-bottom:.5rem; }
#jh-z23-reviews .wpd-rating-container,
#jh-z23-reviews .dr-comment-rating{ display:flex; align-items:center; gap:.2rem; border:0; padding:0; margin:0; }
#jh-z23-reviews .wpd-rating-container svg path,
#jh-z23-reviews .dr-comment-rating svg path{ fill:var(--jh-accent); }
#jh-z23-reviews .rating-value-word{ font-family:var(--mono); font-size:.68rem; letter-spacing:.08em; color:var(--ink-soft); margin-left:.5rem; text-transform:uppercase; }

/* ── #168 · WP Delicious star-overlay restore ────────────────────────────────
   NOTE — "wpd-" is TWO DIFFERENT PLUGINS in this codebase. This block concerns
   WP DELICIOUS (recipe ratings: .wpd-rating-container / .wpd-rating-placeholder /
   .wpd-rated-stars, JS at assets/public/js/ratings.js). It has NOTHING to do with
   wpDiscuz (blog/review comments, skinned separately in assets/07-plugin-skins/
   comments.css under #wpdcom / #wpd-post-rating). Do not conflate the two.

   WHY: ratings.js renders every .wpd-rating-container as a placeholder (5 outline
   stars) plus, for read-only displays only, a .wpd-rated-stars overlay it clips
   with an INLINE `style="width:N%"` (dynamicRating/5*100). The plugin's own
   positioning CSS (wpdSingleRecipe.css, handle delicious-recipe-single-styles) is
   dequeued above on purpose — this ports only the rules that stacking needs,
   confirmed against a fresh download of WP Delicious 1.10.5's
   assets/build/wpdSingleRecipe.css:
     .wpd-rating-container{display:inline-block;position:relative}
     .wpd-rating-container .wpd-rated-stars{position:absolute;top:0;left:0;overflow:hidden}
     .wpd-rating-container>[class*=wpd-rat]{white-space:nowrap;display:flex;gap:2px}
   All four of position:absolute/top:0/left:0/overflow:hidden are load-bearing:
   without top/left the overlay lands at its static position (beside the
   placeholder, not on it, since it's the 2nd child); without overflow:hidden the
   width:N% clip never crops the fill to a fraction. white-space:nowrap is ALSO
   load-bearing and easy to miss: once .wpd-rated-stars is clipped to a fraction
   (e.g. 20% = one star's width on the "1 Star" row), its 5 inline star spans no
   longer fit that width and wrap onto 5 stacked lines instead of clipping
   horizontally — measured live pre-fix as a 30px-wide × 192px-tall (5× row
   height) box instead of 30×38.4. white-space:nowrap keeps all 5 on one line so
   overflow:hidden clips width only, not rows. (gap:2px from the plugin's own
   rule is intentionally NOT ported — this card is a layout restore, not a
   respace, and the un-gapped spacing already matches the picker.)

   SCOPE — [data-read-only="true"] only. ratings.js reads this attribute straight
   off each .wpd-rating-container (confirmed in both assets/public/js/ratings.js
   and delicious-recipes/src/DeliciousPublic.php): the average/per-level/per-comment
   displays render it "true"; the submit-form picker (#comment-form-rating-container)
   renders it "false" and never gets a .wpd-rated-stars child at all. Scoping here
   is what keeps the picker's shrink-wrap and colour untouched — the skin's existing
   unscoped `display:flex` rule above still applies to the picker, matching v3's
   verified-live measurement.
   display:inline-block on the container (not just position:absolute on the overlay)
   is required for a SEPARATE reason: the JS's width:N% resolves against the
   container as containing block. Under this file's existing display:flex the
   container stretches to the column width (~537px), so 20% (1/5 stars) computed
   to ~3.4 stars; inline-block shrink-wraps the container to the ~158px the 5 stars
   actually occupy, so 20% correctly resolves to exactly one star's width. */
#jh-z23-reviews .wpd-rating-container[data-read-only="true"]{
  display:inline-block; position:relative;
}
/* HOTFIX #168 — these two rules were dropped from the first deploy of this block
   and are what makes the placeholder/overlay span children actually lay out
   (theme dequeues the plugin's own .wpd-rating-placeholder span{display:inline-flex}
   rule, so without display:flex here the star SVGs collapse to zero width and
   render as invisible gaps). Not optional. */
#jh-z23-reviews .wpd-rating-container[data-read-only="true"]>[class*="wpd-rat"]{
  white-space:nowrap; display:flex; gap:2px;
}
#jh-z23-reviews .wpd-rating-container[data-read-only="true"]>[class*="wpd-rat"] span{
  display:inline-block; vertical-align:middle;
}
#jh-z23-reviews .wpd-rating-container[data-read-only="true"] .wpd-rated-stars{
  position:absolute; top:0; left:0; overflow:hidden; white-space:nowrap;
}
/* Colour: the placeholder and the overlay both render svg.star and, without this,
   both inherit the same accent fill from the rules above — once stacked, a filled
   star and an unfilled one look identical and the widget still reads as "all
   filled". Give the CLIPPED overlay (the part that only covers the actual rating)
   a solid accent fill; this selector's extra class + attribute outrank the bare
   `.wpd-rating-container svg path` / `svg.star path` rules above without needing
   !important, so the placeholder underneath keeps its normal (lighter) treatment
   and only the overlaid N stars read as solid/filled. Scoped to [data-read-only]
   .wpd-rated-stars, which the picker never has — the picker's own filled/unfilled
   look (jh-star-on) is untouched. */
#jh-z23-reviews .wpd-rating-container[data-read-only="true"] .wpd-rated-stars svg.star path{
  fill:var(--jh-accent); stroke:var(--jh-accent);
}

/* #175 · hide per-level star breakdown — Finn's call (2026-08-20). The five-row
   "5 Stars…1 / 4 Stars…0 / …" breakdown, wrapped in div.dr-ratings-level-list
   (five div.dr-rating-level children), reads as a broken widget with only one
   review: the zero-rows still render their star icons partially filled. The
   average ("5 out of 5" / "Based on N ratings", div.dr-total-user-review) and
   the rating picker (#comment-form-rating-container) both live OUTSIDE this
   wrapper and are unaffected. display:none rather than removing markup: the
   wrapper is plugin-rendered, so a CSS hide survives plugin updates and is
   trivially reversible. */
#jh-z23-reviews .dr-ratings-level-list{ display:none; }

/* hairline-underline text inputs (matches .jh-recipe-revform intent) */
#jh-z23-reviews .comment-form input[type="text"],
#jh-z23-reviews .comment-form input[type="email"],
#jh-z23-reviews .comment-form input[type="url"],
#jh-z23-reviews .comment-form textarea{
  width:100%; background:none; border:none; border-bottom:1.5px solid var(--line-2);
  color:var(--ink); font-family:var(--mono); font-size:.85rem; padding:.6rem .2rem;
  margin:0 0 1.1rem; resize:vertical; border-radius:0; -webkit-appearance:none; appearance:none;
}
#jh-z23-reviews .comment-form input::placeholder,
#jh-z23-reviews .comment-form textarea::placeholder{
  color:var(--ink-faint); text-transform:uppercase; letter-spacing:.1em; font-size:.7rem;
}
#jh-z23-reviews .comment-form input:focus,
#jh-z23-reviews .comment-form textarea:focus{ outline:none; border-bottom-color:var(--jh-accent); }
#jh-z23-reviews .comment-form label{
  font-family:var(--mono); font-size:.68rem; letter-spacing:.1em; text-transform:uppercase; color:var(--ink-soft);
}

/* "did you make this recipe" yes/no → ghost pills */
#jh-z23-reviews .did-you-make-recipe{ margin:0 0 1.2rem; display:flex; flex-wrap:wrap; align-items:center; gap:.6rem; }
#jh-z23-reviews .did-you-make-recipe > label{ margin-right:.4rem; }
#jh-z23-reviews .yes-no-buttons{ display:inline-flex; gap:.5rem; }
#jh-z23-reviews .yes-btn,
#jh-z23-reviews .no-btn{
  font-family:var(--mono); font-size:.66rem; letter-spacing:.1em; text-transform:uppercase;
  color:var(--ink-soft); background:none; border:1px solid var(--line-2); border-radius:0;
  padding:.4rem .9rem; cursor:pointer; line-height:1;
  min-height:44px; display:inline-flex; align-items:center; /* RUN 14 A21: was ~25px, bump to 44px */
}
#jh-z23-reviews .yes-btn.active, #jh-z23-reviews .no-btn.active{ color:var(--paper); background:var(--jh-accent); border-color:var(--jh-accent); }
@media (hover: hover) {#jh-z23-reviews .yes-btn:hover, #jh-z23-reviews .no-btn:hover{ color:var(--paper); background:var(--jh-accent); border-color:var(--jh-accent); }
}

/* upload-image field + cookies consent → muted */
#jh-z23-reviews .dr-form-field{ margin:0 0 1.2rem; font-family:var(--mono); font-size:.7rem; color:var(--ink-soft); letter-spacing:.04em; }
#jh-z23-reviews .comment-form-cookies-consent{ display:flex; align-items:flex-start; gap:.5rem; margin:0 0 1.2rem; }
#jh-z23-reviews .comment-form-cookies-consent label{ text-transform:none; letter-spacing:0; font-family:var(--sans); font-size:.82rem; color:var(--ink-soft); }

/* submit → solid editorial button */
#jh-z23-reviews .form-submit{ margin:.4rem 0 0; }
#jh-z23-reviews .form-submit .submit,
#jh-z23-reviews input.submit{
  font-family:var(--mono); font-size:.7rem; letter-spacing:.14em; text-transform:uppercase;
  color:var(--paper); background:var(--ink); border:1px solid var(--ink); border-radius:0;
  padding:.7rem 1.5rem; cursor:pointer; -webkit-appearance:none; appearance:none; transition:.2s;
}
@media (hover: hover) {#jh-z23-reviews .form-submit .submit:hover,
#jh-z23-reviews input.submit:hover{ background:var(--jh-accent); border-color:var(--jh-accent); }
}

/* existing reviews list (when a recipe has them) — editorial cards */
#jh-z23-reviews .dr-comment-list,
#jh-z23-reviews .comment-list{ list-style:none; margin:0 0 2.4rem; padding:0; }
#jh-z23-reviews .dr-comment-list .comment-body,
#jh-z23-reviews .comment-list .comment-body{ padding:1.2rem 0; border-bottom:1px solid var(--line); }
#jh-z23-reviews .comment-author .fn,
#jh-z23-reviews .comment-author b{ font-family:var(--sans); font-weight:600; color:var(--ink); }
#jh-z23-reviews .comment-meta,
#jh-z23-reviews .comment-metadata{ font-family:var(--mono); font-size:.68rem; letter-spacing:.06em; color:var(--ink-soft); text-transform:uppercase; }
#jh-z23-reviews .wpd-comment-rating svg path,
#jh-z23-reviews .dr-comment-list svg path{ fill:var(--jh-accent); }

/* ── #194 part 3 — comment "Reply" control = ONE clean 44x44 touch target ──────
   Lighthouse target-size failed on exactly two nodes, and they are NESTED:
     div.comment-text > div.reply > button.dr-comment-reply-btn      (54.33 x 30.89)
     button.dr-comment-reply-btn > a.comment-reply-link              (42.33 x 20)
   WP Delicious emits the anchor INSIDE the button (invalid HTML, but it is the
   plugin's markup and not fixable from CSS). So padding BOTH would double-count:
   the button would grow by its own padding PLUS the anchor's and land at ~70px,
   overshooting the row and pushing the comment meta around.
   FIX: give the target to the ANCHOR only, and make the button a zero-padding
   inline-flex wrapper that shrink-wraps it. Button box == anchor box == one 44x44
   hit area, so both flagged nodes pass with a single target and no double count.
   Follows the established in-file override pattern (RUN 14 A21, :824 / :962):
   restyle WP Delicious controls from here; do NOT re-enqueue the plugin's own CSS
   (forbidden by card 168). */
#jh-z23-reviews .comment-text > .reply > button.dr-comment-reply-btn,
#jh-z23-reviews button.dr-comment-reply-btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:0; border:0; background:none; box-shadow:none;   /* zero padding: the anchor owns the box */
  min-height:44px;                                          /* holds 44px even if the plugin ships a bare <button> with no anchor */
  font:inherit; color:inherit; -webkit-appearance:none; appearance:none;
}
#jh-z23-reviews button.dr-comment-reply-btn > a.comment-reply-link,
#jh-z23-reviews a.comment-reply-link{
  display:inline-flex; align-items:center; justify-content:center;
  min-height:44px; min-width:44px;      /* THE target — 44x44 measured on the anchor itself */
  padding:0 .9rem; box-sizing:border-box;
  font-family:var(--mono); font-size:.66rem; letter-spacing:.12em; text-transform:uppercase;
  line-height:1; color:var(--ink-soft); text-decoration:none;
}
@media (hover: hover) {
  #jh-z23-reviews button.dr-comment-reply-btn > a.comment-reply-link:hover,
  #jh-z23-reviews a.comment-reply-link:hover{ color:var(--jh-accent); }
}
#jh-z23-reviews button.dr-comment-reply-btn:focus-visible,
#jh-z23-reviews a.comment-reply-link:focus-visible{ outline:2px solid var(--jh-accent); outline-offset:2px; }

/* ── RUN 4 FIX — opener CTA row fits ONE line on desktop ──────────────────────
   PROBLEM: the opener .jh-recipe-ctas is a flex-wrap row inside a panel whose
   content box is ~550px at desktop (.jh-recipe-opener-panel is max-width:640px
   minus its clamp() padding, which resolves to 2.8rem/44.8px each side from
   ~700px up). The RUN-2 dark-mode ◐ toggle added a 7th control, so the full
   opener row — Start cooking, Jump to recipe, Jump to video, Print, ◐, Pin,
   WhatsApp — measured ~580px and tipped Pin+WhatsApp onto a 2nd line at
   1024/1280 (and WhatsApp alone at 768). Verified by headless measure: 7 items
   summed 494px + 6×1.4rem gaps (86px) = 580px in a 550px box → 30px over.
   FIX (pure CSS, scoped to the opener only — topbar/rail/share rows untouched):
   tighten the column gap, drop the CTA font a hair, trim the primary pill
   padding, and shrink the ◐ toggle footprint. Result (measured): the full
   7-CTA row fits one line from 768px up (items 464px + gaps ≈ 70px ≤ 550px),
   with headroom; ≤600px still wraps naturally, which is the intended mobile
   behaviour. */
.jh-recipe-skin .jh-recipe-opener-panel .jh-recipe-ctas{
  gap:.55rem .65rem;          /* was .7rem 1.4rem — column gap was ~86px of the row */
}
.jh-recipe-skin .jh-recipe-opener-panel .jh-recipe-cta{
  font-size:.64rem; letter-spacing:.1em;   /* was .68rem / .13em — a touch tighter, still mono-airy */
}
.jh-recipe-skin .jh-recipe-opener-panel .jh-recipe-cta.is-primary{
  padding:.55rem .9rem;       /* was .6rem 1.1rem — primary pill trimmed ~12px */
}

/* ── RUN 5 — stepper − / + glyphs PERFECTLY optically centred (font-metric-free) ─
   ROOT CAUSE (measured live, canvas ink-box + DOM range): FIX 6+7 already killed
   GeneratePress's padding and flex-centres the line box, so the buttons are true
   30px circles. What remained is a sub-pixel bias intrinsic to the FONT: the
   "−" (U+2212) ink bar in IBM Plex Mono sits ~0.37px above the flex-centred line
   box (line-box top 4.50 vs bottom 4.87), and the glyph baseline metrics differ
   between − and +. At DPR 2 that ~0.4px reads as a faint "minus a touch high".
   FIX: stop relying on glyph metrics entirely. Hide the text glyph and DRAW the
   marks with pseudo-elements that are centred by `position:absolute; inset:0;
   margin:auto` — mathematically exact at every size and DPR, identical for − and
   +. Bars are sized as a % of the button so the 30px (main), 24px (srail) and
   22px (rail) steppers all stay proportional. currentColor keeps the hover tint
   (border+mark → accent) working. aria-label on each button carries the meaning,
   so hiding the visible glyph costs nothing for assistive tech. */
/* Hide the text glyph in ALL three stepper contexts. The srail/rail rules in
   FIX 6+7 set font-size/color at specificity (0,3,1) — and the FIX 6+7 :hover
   rule sets color:var(--jh-accent) at (0,3,1) too — so this hide rule MUST list the
   srail + rail contexts (and a :hover/:focus override) to out-specify them, or
   the −/+ glyph reappears in accent on hover over those rail steppers (caught in
   Run-5 QA). Listing all contexts here keeps the marks the only visible thing. */
.jh-recipe-skin .jh-recipe-stepper button,
.jh-recipe-skin .jh-recipe-srail .jh-recipe-stepper button,
.jh-recipe-skin .jh-recipe-rail .jh-recipe-stepper button{
  position:relative;
  font-size:0;                 /* hide the text glyph; marks are drawn below */
  color:transparent;           /* belt-and-braces: no glyph ink leaks */
}
/* keep the glyph hidden on hover/focus too (FIX 6+7 tints color on hover at
   higher specificity; without this the glyph would flash back in on the rails) */
.jh-recipe-skin .jh-recipe-stepper button:focus-visible, .jh-recipe-skin .jh-recipe-srail .jh-recipe-stepper button:focus-visible, .jh-recipe-skin .jh-recipe-rail .jh-recipe-stepper button:focus-visible{
  color:transparent;
}
@media (hover: hover) {.jh-recipe-skin .jh-recipe-stepper button:hover, .jh-recipe-skin .jh-recipe-srail .jh-recipe-stepper button:hover, .jh-recipe-skin .jh-recipe-rail .jh-recipe-stepper button:hover{
  color:transparent;
}
}
.jh-recipe-skin .jh-recipe-stepper button::before,
.jh-recipe-skin .jh-recipe-stepper button::after{
  content:""; position:absolute; inset:0; margin:auto;
  background:var(--ink);       /* matches the (now-transparent) glyph colour */
  transition:background .15s;
}
/* horizontal bar — present on BOTH − and + */
.jh-recipe-skin .jh-recipe-stepper button::before{
  width:44%; height:1.5px; border-radius:1px;
}
/* vertical bar — only the + button gets it (→ a cross) */
.jh-recipe-skin .jh-recipe-stepper [data-jh="serves-up"]::after{
  width:1.5px; height:44%; border-radius:1px;
}
/* the − button must NOT have a vertical bar */
.jh-recipe-skin .jh-recipe-stepper [data-jh="serves-dn"]::after{ content:none; }
/* hover / focus: tint the marks with the accent, matching the border */
.jh-recipe-skin .jh-recipe-stepper button:focus-visible::before, .jh-recipe-skin .jh-recipe-stepper button:focus-visible::after{
  background:var(--jh-accent);
}
@media (hover: hover) {.jh-recipe-skin .jh-recipe-stepper button:hover::before, .jh-recipe-skin .jh-recipe-stepper button:hover::after{
  background:var(--jh-accent);
}
}

/* ════════════════════════════════════════════════════════════════════════
   RUN 6 — visual perfection pass (14 Jun 2026)
   Every rule below was diagnosed and verified against REAL headless renders
   of the live page at 375/768/1024/1280 in both themes. Each is scoped so it
   can only touch its own zone. Grouped by issue; see RUN6-CHANGELOG.md.
   ════════════════════════════════════════════════════════════════════════ */

@media (hover: hover) {.jh-recipe-skin .jh-recipe-opener-panel .jh-recipe-cta.jh-recipe-theme-cta:hover{
  border-color:var(--jh-accent);
}
}
@media (hover: hover) {.jh-recipe-skin .jh-recipe-opener-panel .jh-recipe-cta.jh-recipe-theme-cta:hover::before{
  border-color:var(--jh-accent);
  background:linear-gradient(90deg, var(--jh-accent) 0 50%, transparent 50% 100%);
}
}

/* ── R6-2 · Ingredients — make them "light up" (hover + nicer tick) ────────
   DEFECT (Finn): ingredient rows are clickable (cursor:pointer) but give NO
   hover feedback, and the only ticked state is a quiet grey strikethrough, so
   interacting feels dead. FIX: (a) a warm hover wash + a left accent rail that
   slides in, so a row visibly "lights up" under the cursor; (b) on tick, a
   gold check-rail replaces the hover rail and the quantity stays accent-tinted
   for a beat of confirmation. Row gets a touch of horizontal padding so the
   wash has room. Pure CSS; the JS still just toggles .is-done. */
.jh-recipe-skin .jh-recipe-ing li{
  position:relative; padding-left:.9rem; padding-right:.5rem; border-radius:6px;
  transition:background .15s;
}
.jh-recipe-skin .jh-recipe-ing li::before{
  content:""; position:absolute; left:0; top:.35rem; bottom:.35rem; width:2px;
  border-radius:2px; background:transparent; transition:background .15s;
}
/* #194 follow-up (2026-08-22): the wash was var(--paper-3). Because it paints opaquely
   over the lifted ingredients card, the wash BECOMES the ground for this row's text, and
   in light that ground was #E6DCC7 -- --jh-accent 4.27:1 on the .86rem quantity and
   --ink-soft 4.36:1 on the .82rem note, both under the 4.5:1 small-text floor. Swapped
   for the contrast-pinned --jh-ing-hover (4.64:1 / 4.73:1 light, 6.98:1 / 6.04:1 dark);
   see its :root note. NOT fixed here and still sub-AA: .is-done rows use --ink-faint
   (2.86:1 on the wash) -- but they measure 3.34:1 at REST too, so that is a separate,
   pre-existing defect of the faded ticked state, not something this wash introduced. */
@media (hover: hover) {.jh-recipe-skin .jh-recipe-ing li:hover{ background:var(--jh-ing-hover); }
}
@media (hover: hover) {.jh-recipe-skin .jh-recipe-ing li:hover::before{ background:var(--jh-accent); }
}
@media (hover: hover) {.jh-recipe-skin .jh-recipe-ing li:hover .jh-recipe-q{ color:var(--jh-accent); }
}
/* ticked: persistent gold rail + the name/quantity fade is already handled by
   the base .is-done rule, but force it past any inherited fill so BOTH the
   quantity AND the name fade together (the name lagged live) */
.jh-recipe-skin .jh-recipe-ing li.is-done::before{ background:var(--jh-accent); }
.jh-recipe-skin .jh-recipe-ing li.is-done .jh-recipe-n,
.jh-recipe-skin .jh-recipe-ing li.is-done .jh-recipe-q,
.jh-recipe-skin .jh-recipe-ing li.is-done .jh-recipe-sub{
  color:var(--ink-faint) !important; -webkit-text-fill-color:var(--ink-faint) !important;
}
.jh-recipe-skin .jh-recipe-ing li.is-done .jh-recipe-n{ text-decoration:line-through; }

/* ── R6-3 · Step number fade when the step is marked done ──────────────────
   The RUN-6 step number is an accent kicker (::before). When a step is ticked
   done, fade it to match the struck title/body. */
.jh-recipe-skin .jh-recipe-step.is-done::before{ color:var(--ink-faint); }

/* ── R6-4 · Step "#" copy-link affordance — quieter, clearer ───────────────
   The bare "#" after MARK DONE read as debug noise. Keep the (real) copy-step-
   link function but render it as a small, unmistakable link rather than a lone
   hash: parenthesise it visually with letter-spacing and a hover underline. */
.jh-recipe-skin .jh-recipe-anchor{ opacity:1; } /* RUN 13: opacity:.7 dropped contrast to ~4:1 in dark mode (FAILS AA); --ink-soft colour is already muted enough */
@media (hover: hover) {.jh-recipe-skin .jh-recipe-anchor:hover{ opacity:1; text-decoration:underline; text-underline-offset:3px; }
}

/* ── R6-5 · Pin band — add the missing kicker rail + firmer buttons ────────
   The pin band was the ONLY zone with no mono kicker, breaking the system, and
   its share buttons had a hairline border that nearly vanished. The kicker is
   added in PHP (a .jh-recipe-lab before the headline); here we give the band's
   headline proper heading weight and firm up the share buttons. */
.jh-recipe-skin .jh-recipe-pinband .jh-recipe-pin-x{
  font-family:var(--serif); font-size:clamp(1.25rem,2.4vw,1.5rem); font-weight:500; line-height:1.15;
}
.jh-recipe-skin .jh-recipe-pinband .jh-recipe-pin-kick{
  display:block; margin-bottom:.45rem;       /* mono kicker rail, matches every other zone */
}
.jh-recipe-skin .jh-recipe-pinband .jh-recipe-pin-x small{
  font-family:var(--mono); font-weight:400; margin-top:.4rem;
}
/* firmer share buttons (pin band + anywhere the ghost share button is used) */
.jh-recipe-skin .jh-recipe-sharebtn{ border-color:var(--ink-soft); }
@media (hover: hover) {.jh-recipe-skin .jh-recipe-sharebtn:hover{ border-color:var(--jh-accent); background:var(--paper-2); }
}

/* ── R6-5b · Gallery thumbs — softer, framed tiles (esp. dark) ─────────────
   The .5rem inter-tile gap read as heavy black bars in dark mode and the
   opacity:.85 dimmed the tiles against the espresso bg. Give each thumb a small
   radius + a hairline frame so the strip reads as a row of neat tiles in both
   themes, and drop the resting dim so dark thumbs aren't muddy. */
.jh-recipe-skin .jh-recipe-gallery img{ border-radius:5px; border:1px solid var(--line); opacity:1; }
@media (hover: hover) {.jh-recipe-skin .jh-recipe-gallery button:hover img{ border-color:var(--jh-accent); }
}

/* ── R6-6 · Related cards — visible edge in dark + calmer mobile aspect ────
   In dark mode the cards merged into the espresso bg (no border/lift). Give
   each card image a hairline frame + a faint radius so the card reads as an
   object in BOTH themes; and at ≤430px drop the portrait 3/4 crop to a calmer
   4/3 so three tall placeholders don't dominate the mobile scroll. */
.jh-recipe-skin .jh-recipe-rc img{
  border:1px solid var(--line-2); border-radius:4px;   /* line-2 reads firmly in BOTH themes */
}
@media (max-width:430px){
  .jh-recipe-skin .jh-recipe-rc img{ aspect-ratio:4/3; }
}

/* ── R6-7 · Opener difficulty dots — make the EMPTY dots readable ──────────
   The unfilled difficulty dots were near-invisible (esp. dark). Give the empty
   glyphs a touch more presence via the soft ink colour on the container. */
.jh-recipe-skin .jh-recipe-diff-dots{ color:var(--ink-soft); letter-spacing:.05em; }

/* ── R6-8 · Notes troubleshooting table — readable on mobile + dark rows ────
   At ≤560px the 3-col PROBLEM/CAUSE/FIX table crushed; and dark-mode row rules
   were invisible (now helped by the lighter --line). Reflow to stacked rows on
   mobile so each problem reads as its own block. */
.jh-recipe-skin .jh-recipe-trouble td{ border-bottom:1px solid var(--line); }
@media (max-width:560px){
  .jh-recipe-skin .jh-recipe-trouble,
  .jh-recipe-skin .jh-recipe-trouble tbody,
  .jh-recipe-skin .jh-recipe-trouble tr,
  .jh-recipe-skin .jh-recipe-trouble td{ display:block; width:auto; }
  /* hide the column-header row on mobile — each row is now a self-describing
     card (PROBLEM as the serif heading, cause + fix as labelled body) so the
     PROBLEM/CAUSE/FIX <thead> would render as a confusing empty/again-stacked
     row (the Run-6 QA caught it blank at 375). */
  .jh-recipe-skin .jh-recipe-trouble thead{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
  .jh-recipe-skin .jh-recipe-trouble tr{ padding:.7rem 0; border-bottom:1px solid var(--line-2); }
  .jh-recipe-skin .jh-recipe-trouble td{ border:0; padding:.12rem 0; }
  .jh-recipe-skin .jh-recipe-trouble td:first-child{ font-weight:600; font-family:var(--serif); font-size:1.05rem; margin-bottom:.15rem; }
  /* label the cause + fix cells so the meaning survives without the header */
  .jh-recipe-skin .jh-recipe-trouble td:nth-child(2)::before{ content:"Likely cause — "; font-family:var(--mono); font-size:.62rem; letter-spacing:.1em; text-transform:uppercase; color:var(--jh-accent); }
  .jh-recipe-skin .jh-recipe-trouble td:nth-child(3)::before{ content:"Fix — "; font-family:var(--mono); font-size:.62rem; letter-spacing:.1em; text-transform:uppercase; color:var(--jh-accent); }
  /* the caption ("If something went wrong") broke into 4 single-word lines at
     375 because a display:block table's <caption> collapses to a narrow box.
     Force it full-width with tighter tracking so it sits on one line. */
  .jh-recipe-skin .jh-recipe-trouble caption{ display:block; width:100%; white-space:nowrap; letter-spacing:.08em; font-size:.64rem; }
}

/* ── R6-9 · Nutrition macro bars — visible track in dark ───────────────────
   The unfilled macro-bar track vanished on espresso. Force the track to a
   readable paper-3 in both themes (paper-3 in dark = #27221A, lighter now). */
.jh-recipe-skin .jh-recipe-macro .jh-recipe-bar,
.jh-recipe-skin .jh-recipe-bar{ background:var(--paper-3); }

/* ════════════════════════════════════════════════════════════════════════
   RUN 6 — Z23 REVIEWS: full design upgrade (Finn: "weak vs other sections;
   every section should be 11/10"). Two problems: (1) the plugin emits TWO
   "Rate this recipe" headings (#reply-title.review AND .comment-form-rating
   .comment-reply-title-label) — both styled gold, so the heading duplicated;
   (2) the zone read as a bare stack of form fields with none of the editorial
   structure the rest of the page has. FIX: hide the duplicate, then lift the
   whole zone into a proper editorial review CARD — framed panel, a confident
   "rate" prompt with larger stars, grouped fields, and an inviting submit.
   All scoped under #jh-z23-reviews; tokens flip in dark automatically.
   ════════════════════════════════════════════════════════════════════════ */
/* (1) kill the DUPLICATE heading — keep the section title #reply-title, hide
   the redundant field label that repeats "Rate this recipe" above the stars. */
#jh-z23-reviews .comment-form-rating .comment-reply-title-label{
  position:absolute !important; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0;   /* visually-hidden, kept for a11y */
}
/* (2a) wrap the form area in a framed editorial card */
#jh-z23-reviews .dr-pro-comment-section{
  border:1px solid var(--line-2); border-radius:14px;
  background:var(--paper); padding:clamp(1.4rem,3vw,2.4rem); margin-top:.4rem;
}
#jh-z23-reviews.jh-recipe-section.is-tint .dr-pro-comment-section{ background:var(--paper); }
/* (2b) the single remaining "Rate this recipe" → a confident editorial prompt */
#jh-z23-reviews #reply-title.comment-reply-title,
#jh-z23-reviews .comment-reply-title{
  display:block; font-family:var(--serif); font-weight:500;
  font-size:clamp(1.3rem,2.6vw,1.7rem); letter-spacing:-.01em; color:var(--ink);
  text-transform:none; margin:0 0 .3rem;
}
#jh-z23-reviews .comment-reply-title small{ font-family:var(--mono); }
#jh-z23-reviews .comment-reply-title small a{ font-size:.62rem; letter-spacing:.1em; text-transform:uppercase; }
/* a small mono lead under the prompt (drawn via ::after on the rating block) */
#jh-z23-reviews .comment-form-rating::before{
  content:"Tap to rate, then tell us how it went"; display:block;
  font-family:var(--mono); font-size:.7rem; letter-spacing:.06em; color:var(--ink-soft);
  text-transform:uppercase; margin:0 0 .7rem;
}
/* (2c) bigger, warmer stars */
#jh-z23-reviews .wpd-rating-container svg,
#jh-z23-reviews .dr-comment-rating svg{ width:30px; height:30px; }
#jh-z23-reviews .wpd-rating-container{ gap:.35rem; }
/* (2d) the tab pills (Review / Comment) sit ABOVE the card, quieter */
#jh-z23-reviews .dr-comment-type-buttons{ margin-bottom:1.2rem; }
/* (2e) submit button — make it the confident close of the section */
#jh-z23-reviews .form-submit .submit,
#jh-z23-reviews input.submit{ padding:.8rem 1.8rem; font-size:.72rem; letter-spacing:.16em; border-radius:0; }
/* (2f) tidy field rhythm inside the card */
#jh-z23-reviews .comment-form{ max-width:none; }
#jh-z23-reviews .comment-form-comment textarea{ min-height:120px; }

/* ════════════════════════════════════════════════════════════════════════
   RUN 7 — make every interaction silky (14 Jun 2026)
   Each rule scoped to its own zone; see RUN7-CHANGELOG.md. Preserves all RUN 5
   (self-healing loader, stepper marks) and RUN 6 fixes. British English.
   ════════════════════════════════════════════════════════════════════════ */

/* ─── shared: a screen-reader-only utility (used by the read-aloud live region) ─── */
.jh-recipe-sr-only{position:absolute !important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;}

/* ─── (A) INGREDIENTS — group-aware, never an orphaned/floating column ───
   The old `.jh-recipe-shop{grid-template-columns:1fr 1fr}` laid the ingredient
   GROUPS into two columns, so a recipe with one tiny group + one big group (the
   chocolate/lotus case: a single "Filling" item beside a 6-item "Dough") floated
   the small group alone on the right, detached — Finn's screenshot.
   New rule: groups STACK in a single column so a heading always stays with its
   items and a lone item never floats. Within a *large* group (≥6 items) the ITEMS
   flow into two balanced columns on wide screens — that's where two-up actually
   helps, and it's safe because items share one heading. Works for any
   distribution: 1 group, N groups, a 1-item group, very long names. */
.jh-recipe-shop{display:block;}                         /* groups stack, full width */
.jh-recipe-shop > div + div{margin-top:2.2rem;}         /* rhythm between groups */
.jh-recipe-shop > div{break-inside:avoid;}
/* a group splits its OWN items into two columns on desktop only */
@media (min-width:721px){
  /* RUN 15 (Finn 2026-06-23, perfection pass): was display:grid 1fr/1fr, which COUPLES the
     two columns' row heights — an item with a sub-note ("or normal sugar") stretched its row
     so the opposite column inherited uneven gaps (left rows 77px apart, right 69px = wonky).
     CSS multi-column decouples them: each column flows at its own even rhythm, and reading
     order becomes natural column-major (down the left, then the right). break-inside keeps
     each row intact across the column boundary. */
  .jh-recipe-ing[data-cols="2"]{
    columns:2; column-gap:2.4rem;
  }
  .jh-recipe-ing[data-cols="2"] > li{break-inside:avoid;}
}
/* long ingredient names wrap cleanly instead of forcing the column wider */
.jh-recipe-ing .jh-recipe-n{overflow-wrap:anywhere;}

/* ─── (F) READ-ALOUD button — clear play/stop affordance + states ───
   The button is now wired (JS). Give it an obvious icon that flips ▷→▢ when
   speaking, a calm fill while active, and a proper focus ring. Min 44px tap. */
.jh-recipe-voice-btn{position:relative; min-height:44px; padding:.7rem 1.2rem !important;
  border:1px solid var(--line-2) !important; border-radius:0; color:var(--jh-accent) !important;
  background:none; transition:background .2s, border-color .2s, color .2s;}
.jh-recipe-voice-btn::before{content:"▷"; font-size:.8rem; line-height:1; transition:transform .2s;}
@media (hover: hover) {.jh-recipe-voice-btn:hover{border-color:var(--jh-accent) !important; background:var(--jh-accent-soft); color:var(--dark) !important;}
}
.jh-recipe-voice-btn.is-speaking{background:var(--jh-accent); border-color:var(--jh-accent) !important; color:var(--dark) !important;}
.jh-recipe-voice-btn.is-speaking::before{content:"▢";}    /* stop glyph while reading */
.jh-recipe-voice-btn:focus-visible{outline:2px solid var(--jh-accent); outline-offset:3px;}
/* the count slot holds the button; keep it centred and from collapsing */
.jh-recipe-focus-nav .jh-recipe-focus-count{display:inline-flex; align-items:center; justify-content:center;}

/* ─── (E) COOK-MODE BAR — floats at the BOTTOM, unobtrusive, one-thumb ───
   Was position:sticky;top:0 (rode the top, and in the page flow it read as a
   loose strip — Finn's screenshot). Now a floating, rounded bar pinned to the
   BOTTOM of the viewport (above the iOS home-indicator via safe-area), centred
   and width-capped on desktop so it reads as a deliberate control, full-width-ish
   on mobile within a thumb's reach. Auto-hides nothing; always reachable. */
body.is-cook .jh-recipe-cookbar{display:flex;}
.jh-recipe-cookbar{
  position:fixed; left:50%; transform:translateX(-50%);
  bottom:calc(env(safe-area-inset-bottom, 0px) + 1rem);
  top:auto; width:min(680px, calc(100vw - 2rem)); z-index:64;
  border-radius:0; box-shadow:0 6px 28px rgba(0,0,0,.28);   /* S3: squared to match the page; shadow lifts it off scrolling content */
  padding:.7rem .8rem .7rem 1.4rem; gap:.8rem;
  background:var(--ink); color:var(--paper);
}
.jh-recipe-cookbar > span{font-size:.68rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.jh-recipe-cookbar .jh-recipe-cookbar-btns{gap:.6rem; flex:0 0 auto;}
/* cookbar button shape/focus — now in the S3 UNIFIED COOK/STEP PILL block */
@media (max-width:520px){
  .jh-recipe-cookbar{padding:.6rem .6rem .6rem 1rem; gap:.5rem;}
  .jh-recipe-cookbar > span{font-size:.6rem;}             /* keep the label, shrink it */
  /* RUN 11: cookbar button sizing is now governed by the two-tier Run-11 blocks
     at the end of this file (higher specificity, ≤540 / ≤420) so it stays
     identical to the focus-nav pills. The old one-off below is superseded — kept
     commented for provenance. */
  /* .jh-recipe-cookbar button{padding:.5rem .85rem; font-size:.64rem;} */
  /* RUN 12 (BUG 2 — bar position on iPhone) — measured fix.
     Live iPhone numbers (iOS 18, Safari, toolbar visible): innerH=796, lvh=836, dvh=796,
     safe-area-inset-bottom=0. The clever `1rem + (100lvh-100dvh)` delta rendered the bars
     INCONSISTENTLY: the cook HUD (transform:translateX only) landed nicely ~56px above the
     visible bottom, but the rail (which also has translateY for its slide) rendered 21px
     BELOW the visible viewport (under the toolbar). Lesson: don't mix the lvh-dvh delta
     with a translateY'd element — iOS resolves fixed+transform unpredictably. Use a flat
     bottom that clears the ~40px toolbar + a margin; `bottom:1rem` from `svh` is the goal
     but we keep it simple and robust with a plain value that tested well for the HUD. */
  /* RUN 12 FINAL (BUG 2): the production-proven pattern — plain `position:fixed; bottom:Xpx`.
     Since iOS 15, position:fixed is anchored to the VISUAL viewport, so iOS Safari moves a
     bottom-pinned bar with its toolbar automatically; we must NOT add toolbar-height math
     (that's what made earlier attempts jitter/misplace). 0.75rem keeps the pill a small gap
     above the bottom edge; env(safe-area-inset-bottom) adds the home-indicator clearance
     when available (it's 0 here because the theme's viewport meta lacks viewport-fit=cover,
     which is harmless — the bar still sits correctly above the toolbar). max() guarantees a
     minimum gap in every toolbar state. */
  .jh-recipe-cookbar{bottom:max(0.75rem, calc(0.75rem + env(safe-area-inset-bottom, 0px)));}
  .jh-recipe-rail{bottom:max(0.75rem, calc(0.75rem + env(safe-area-inset-bottom, 0px)));}
}
/* the floating bar must never hide the last step — pad the cook-mode page bottom */
body.is-cook{padding-bottom:calc(env(safe-area-inset-bottom, 0px) + 5.5rem);}
@media (max-width:520px){
  /* RUN 10 FIX: match the increased bottom offset so the last step isn't hidden */
  body.is-cook{padding-bottom:max(env(safe-area-inset-bottom, 0px) + 5.5rem, 9rem);}
}

/* ─── (C) FLOATING VIDEO DOCK — dismissable PiP that docks on scroll-past ───
   Default elevation (see options-floating-video.html). The in-page player is a
   normal block; once playing, scrolling it out of view docks this fixed mini-frame
   to the bottom-right corner so the reader keeps watching while reading the method,
   with a × (dismiss) and ⤢ (return to page). Re-docks into the page on scroll-back.
   Reduced-motion users get no transition. Never covers the reading column on mobile
   (compact, corner-pinned, dismissable). */
.jh-recipe-player-live{position:relative;}
.jh-recipe-player .jh-recipe-pip-x,
.jh-recipe-player .jh-recipe-pip-expand{display:none;}
.jh-recipe-player.is-docked{
  position:fixed; z-index:66;
  right:calc(env(safe-area-inset-right, 0px) + 1rem);
  bottom:calc(env(safe-area-inset-bottom, 0px) + 1rem);
  width:min(340px, 46vw); aspect-ratio:16/9; height:auto;
  border-radius:12px; overflow:hidden; box-shadow:0 10px 34px rgba(0,0,0,.36);
  transition:opacity .25s ease;
}
.jh-recipe-player.is-docked iframe{width:100%; height:100%;}
.jh-recipe-player.is-docked .jh-recipe-pip-x,
.jh-recipe-player.is-docked .jh-recipe-pip-expand{
  display:flex; align-items:center; justify-content:center;
  position:absolute; top:.35rem; width:30px; height:30px; min-height:30px;
  border:none; border-radius:50%; cursor:pointer;
  background:rgba(20,18,14,.78); color:#fff; font-size:.9rem; line-height:1;
}
.jh-recipe-player.is-docked .jh-recipe-pip-x{right:.35rem;}
.jh-recipe-player.is-docked .jh-recipe-pip-expand{right:2.6rem; font-size:.8rem;}
@media (hover: hover) {.jh-recipe-player.is-docked .jh-recipe-pip-x:hover,
.jh-recipe-player.is-docked .jh-recipe-pip-expand:hover{background:var(--jh-accent); color:var(--dark);}
}
.jh-recipe-player.is-docked .jh-recipe-pip-x:focus-visible,
.jh-recipe-player.is-docked .jh-recipe-pip-expand:focus-visible{outline:2px solid #fff; outline-offset:2px;}
.jh-recipe-player.is-dismissed{display:none;}
.jh-recipe-player-ph{margin:0;}
@media (max-width:520px){
  .jh-recipe-player.is-docked{width:min(200px, 56vw);}   /* compact on phones, corner only */
}
@media (prefers-reduced-motion:reduce){
  .jh-recipe-player.is-docked{transition:none;}
}
/* if cook-mode is on, the cook bar owns the bottom — lift the docked video above it */
body.is-cook .jh-recipe-player.is-docked{bottom:calc(env(safe-area-inset-bottom, 0px) + 5rem);}

/* ─── (G) REVIEW STARS — outline at rest, fill on hover/select; selectable ───
   Stars were ALL painted gold at rest (no feedback) and nothing bound the click.
   JS now binds hover/select and writes the rating input; CSS makes rest-state an
   OUTLINE star and `.jh-star-on` (set by JS) the filled gold — so hovering and
   selecting visibly light up. Whole 30px svg is the hit target; cursor:pointer. */
#jh-z23-reviews .wpd-rating-container,
#jh-z23-reviews .dr-comment-rating{cursor:pointer; gap:.35rem;}
#jh-z23-reviews .wpd-rating-container svg.star,
#jh-z23-reviews .dr-comment-rating svg.star{cursor:pointer; transition:transform .12s;}
@media (hover: hover) {#jh-z23-reviews .wpd-rating-container svg.star:hover{transform:scale(1.08);}
}
/* rest = hollow outline (override the blanket gold fill from the RUN 6 block) */
#jh-z23-reviews .wpd-rating-container svg.star path,
#jh-z23-reviews .dr-comment-rating svg.star path{
  fill:transparent; stroke:var(--jh-accent); stroke-width:1.4px; transition:fill .12s;
}
/* lit (hover-preview or selected) = filled gold */
#jh-z23-reviews .wpd-rating-container svg.star.jh-star-on path,
#jh-z23-reviews .dr-comment-rating svg.star.jh-star-on path{
  fill:var(--jh-accent); stroke:var(--jh-accent);
}
/* keyboard focus ring on the whole radiogroup */
#jh-z23-reviews .wpd-rating-container:focus-visible{outline:2px solid var(--jh-accent); outline-offset:4px; border-radius:6px;}
/* (G2) wording alignment: the wpDiscuz "Rate this recipe" label + the prompt
   lead both sit on the card's left rail; ensure the rating block and its ::before
   lead share the same left edge as the heading (no stray baseline/indent). */
#jh-z23-reviews .comment-form-rating{padding-left:0; margin-left:0;}
#jh-z23-reviews .comment-form-rating::before{margin-left:0;}

/* ─── TAP TARGETS — every interactive control reaches ≥44px (WCAG 2.5.5) ───
   The live audit found 43 controls under 44px (steplink 7×20, theme 26×26,
   steppers 24–30, print/done/timer/copylist ~30). We grow the HIT AREA to 44px
   without bloating the visual: a centred ::after pseudo overlay expands the
   touchable region, or min-height + flex centring where the box can grow. Visual
   size is preserved; only the reachable area changes. */
.jh-recipe-skin button,
.jh-recipe-skin a[data-jh]{position:relative;}
/* controls that can simply grow get a min hit box */
.jh-recipe-stepper button{position:relative;}
/* RUN 8: .jh-recipe-stepper button::after REMOVED from this list — it collided
   with the Run-5 glyph ::after (see note above). Stepper hit area now via the
   RUN 8 block. The theme-cta also uses ::before for its disc, so its hit area is
   kept here on ::after only (no glyph on ::after for that control). */
.jh-recipe-theme-btn::after,
.jh-recipe-theme-cta::after,
.jh-recipe-anchor::after,
.jh-recipe-cta[data-jh="print"]::after,
.jh-recipe-timer::after{
  content:""; position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  width:44px; height:44px; /* invisible, centred hit area */
}
/* RUN 8 (defect #2 root cause): the stepper rule below was REMOVED from this
   tap-target group. It set `.jh-recipe-stepper button::after{transform:
   translate(-50%,-50%);width:44px;height:44px}` — but the Run-5 glyph code ALSO
   uses `::after` (the "+" vertical bar). Two ::after rules on one element merge,
   and this block's translate(-50%,-50%) hijacked the glyph bar, shoving it up
   ~6px → the "+" rendered as "⊥" (Finn's T-shape, proven live 15 Jun). The
   stepper hit area is now handled in the RUN 8 block WITHOUT a pseudo collision. */
/* RUN 14 A20: Stepper hit area ≥44px.
   ::before + ::after are occupied by the visual cross/minus marks (RUN 8 block) so
   a pseudo-overlay is not available. Fix: padding expands the tap box; box-shadow
   (inset) draws the circular border on the content-box so it stays 30/24/22px visual.
   padding = (44 − visual_size) / 2, margin = −padding to cancel layout bleed.
   The ::before/::after marks use position:absolute;inset:0 so they stay centred on
   the content-box regardless of padding. */
.jh-recipe-skin .jh-recipe-stepper button{
  padding:7px; margin:-7px;
  box-shadow:0 0 0 1px var(--line-2) inset;
  border:none; /* border moved to box-shadow so it clips to content-box */
}
.jh-recipe-skin .jh-recipe-stepper button:focus-visible{
  box-shadow:0 0 0 1px var(--jh-accent) inset;
}
@media (hover: hover) {.jh-recipe-skin .jh-recipe-stepper button:hover{
  box-shadow:0 0 0 1px var(--jh-accent) inset;
}
}
/* rail steppers: smaller visuals (24px/22px) need bigger padding compensation */
.jh-recipe-skin .jh-recipe-srail .jh-recipe-stepper button{ padding:10px; margin:-10px; }
.jh-recipe-skin .jh-recipe-rail .jh-recipe-stepper button{ padding:11px; margin:-11px; border:none; box-shadow:0 0 0 1px var(--ink-soft) inset; }
.jh-recipe-skin .jh-recipe-rail .jh-recipe-stepper button:focus-visible{ box-shadow:0 0 0 1px var(--jh-accent) inset; }
@media (hover: hover) {.jh-recipe-skin .jh-recipe-rail .jh-recipe-stepper button:hover{ box-shadow:0 0 0 1px var(--jh-accent) inset; }
}
/* the step "#" copy-link was 7×20 — give it a real, obvious target */
.jh-recipe-anchor{display:inline-flex; align-items:center; justify-content:center; min-width:44px; min-height:44px; margin:-.6rem 0;}
/* mark-done / timer / copy-list / cook buttons: pad to a comfortable 44px line */
.jh-recipe-mbtn{min-height:44px; display:inline-flex; align-items:center;}
.jh-recipe-step-tools{align-items:center;}
.jh-recipe-cta{min-height:44px; display:inline-flex; align-items:center; justify-content:center;}
.jh-recipe-theme-cta,.jh-recipe-theme-btn{min-width:44px; min-height:44px; display:inline-flex; align-items:center; justify-content:center;}
/* RUN 13 — 44px tap target sweep: all tab/toggle/share buttons that were under the floor */
.jh-recipe-sortseg button,.jh-recipe-useg button,.jh-recipe-mtabs button{min-height:44px; display:inline-flex; align-items:center;}
.jh-recipe-nl button{min-height:44px; display:inline-flex; align-items:center;}
.jh-recipe-ratestars button{min-height:44px; min-width:44px; display:inline-flex; align-items:center; justify-content:center;}
.jh-recipe-sharebtn{min-height:44px; display:inline-flex; align-items:center; justify-content:center;}
/* PiP + theatre controls: absolutely-positioned overlays — use ::after to avoid breaking dock layout */
.jh-recipe-pip-x,.jh-recipe-pip-expand,.jh-recipe-player-theatre,.jh-recipe-srail-expand{position:relative;}
.jh-recipe-pip-x::after,.jh-recipe-pip-expand::after,.jh-recipe-player-theatre::after,.jh-recipe-srail-expand::after{content:""; position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); min-width:44px; min-height:44px;}

/* ─── FOCUS-VISIBLE — a consistent, calm keyboard ring on every control ───
   Silky keyboard navigation: one accent ring, never the browser default blue,
   never on mouse click (focus-visible only). */
.jh-recipe-skin button:focus-visible,
.jh-recipe-skin a:focus-visible,
.jh-recipe-skin [role="button"]:focus-visible,
.jh-recipe-skin input:focus-visible,
.jh-recipe-skin textarea:focus-visible,
.jh-recipe-skin [tabindex]:focus-visible{
  outline:2px solid var(--jh-accent); outline-offset:3px; border-radius:3px;
}
/* on dark chrome (topbar/cookbar) the ring is paper for contrast */
.jh-recipe-cookbar button:focus-visible,
.jh-recipe-topbar button:focus-visible{outline-color:var(--paper);}

/* ─── MOTION — honour reduced-motion across the skin's transitions ───
   Calm by default; for users who ask for less motion, collapse transitions so
   nothing slides or scales unexpectedly. */
@media (prefers-reduced-motion:reduce){
  .jh-recipe-skin *,
  .jh-recipe-skin *::before,
  .jh-recipe-skin *::after{
    transition-duration:.01ms !important; animation-duration:.01ms !important;
    scroll-behavior:auto !important;
  }
}

/* ─── FOCUS-MODE NAV — keep labels on one line at 375 (no awkward wrap) ───
   RUN 11: the nav gained a 4th pill (Exit), so the mobile sizing is now tightened
   in the consolidated Run-11 block further down (.55rem .6rem / .6rem) and Back
   collapses to its ← glyph. The voice-btn !important override was REMOVED so the
   "Read aloud" pill matches the others exactly (it was making that pill larger,
   which broke pill parity once a 4th pill was added). */
@media (max-width:420px){
  .jh-recipe-focus-nav{gap:5px;}
  .jh-recipe-focus-nav button{white-space:nowrap;}
}

/* ════════════════════════════════════════════════════════════════════════
   RUN 7.1 — desktop video: dock guard + theatre overlay + Enlarge controls
   ════════════════════════════════════════════════════════════════════════ */

/* ─── (1) DOCK GUARD — on wide desktop the sticky rail owns video, so the
   floating dock is redundant there. The rail appears at ≥1300px; suppress the
   floating dock at the same breakpoint so there's exactly one persistent player
   per width (dock owns <1300px where there is no rail). ─── */
@media (min-width:1300px){
  .jh-recipe-player.is-docked{ display:none !important; }
}

/* ─── (2) "ENLARGE" controls — open the theatre overlay (bigger, on-page) ─── */
/* main player: a labelled pill, bottom-left, only while the player is in-page */
/* RUN 15 A34: add line-height:1 so the ⤢ Unicode glyph (tends to add extra cap-height in
   monospace fonts) doesn't push the pill taller than its padding implies; align-items:center
   already centres the glyph + label, line-height:1 removes any inter-line gap contribution */
.jh-recipe-player-theatre{
  position:absolute; left:.7rem; bottom:.7rem; z-index:3;
  display:inline-flex; align-items:center; gap:.4rem; min-height:36px;
  padding:.4rem .9rem; border:none; border-radius:0; cursor:pointer;
  background:rgba(20,18,14,.78); color:#fff;
  font-family:var(--mono); font-size:.64rem; line-height:1; letter-spacing:.12em; text-transform:uppercase;
  opacity:0; transition:opacity .2s, background .2s;
}
.jh-recipe-player-theatre:focus-visible{ opacity:1; }
@media (hover: hover) {.jh-recipe-player:hover .jh-recipe-player-theatre{ opacity:1; }
}
@media (hover: hover) {.jh-recipe-player-theatre:hover{ background:var(--jh-accent); color:var(--dark); }
}
.jh-recipe-player-theatre:focus-visible{ outline:2px solid #fff; outline-offset:2px; }
/* when the main player is docked, hide the in-page Enlarge pill (the dock has its own ⤢) */
.jh-recipe-player.is-docked .jh-recipe-player-theatre{ display:none; }
/* desktop rail mini-player: a small ⤢ button, top-right of the player */
.jh-recipe-srail-player{ position:relative; }
.jh-recipe-srail-expand{
  position:absolute; top:.4rem; right:.4rem; z-index:3;
  width:32px; height:32px; min-height:32px; display:flex; align-items:center; justify-content:center;
  border:none; border-radius:50%; cursor:pointer;
  background:rgba(20,18,14,.78); color:#fff; font-size:.85rem; line-height:1;
}
@media (hover: hover) {.jh-recipe-srail-expand:hover{ background:var(--jh-accent); color:var(--dark); }
}
.jh-recipe-srail-expand:focus-visible{ outline:2px solid #fff; outline-offset:2px; }

/* ─── (3) THEATRE OVERLAY — large, centred, dimmed, stays on the page ─── */
.jh-recipe-theatre{
  position:fixed; inset:0; z-index:90; display:none;
  align-items:center; justify-content:center;
  background:rgba(12,10,8,.86); padding:clamp(1rem,4vw,3rem);
}
.jh-recipe-theatre.is-open{ display:flex; }
.jh-recipe-theatre-inner{
  position:relative; width:min(1100px, 100%);
}
.jh-recipe-theatre-frame{
  position:relative; width:100%; aspect-ratio:16/9;
  border-radius:12px; overflow:hidden; box-shadow:0 20px 60px rgba(0,0,0,.5);
  background:#000;
}
.jh-recipe-theatre-frame iframe{ width:100%; height:100%; border:0; display:block; }
.jh-recipe-theatre-close{
  position:absolute; top:-2.6rem; right:0;
  background:none; border:none; cursor:pointer; color:#fff;
  font-family:var(--mono); font-size:.74rem; letter-spacing:.14em; text-transform:uppercase;
  min-height:44px; padding:.4rem .2rem;
}
@media (hover: hover) {.jh-recipe-theatre-close:hover{ color:var(--jh-accent); }
}
.jh-recipe-theatre-close:focus-visible{ outline:2px solid #fff; outline-offset:3px; }
/* lock background scroll while the theatre is open */
body.jh-recipe-theatre-open{ overflow:hidden; }
@media (prefers-reduced-motion:reduce){
  .jh-recipe-theatre{ transition:none; }
}

/* ════════════════════════════════════════════════════════════════════════════
   ███  RUN 8 — visual-perfection + the bugs Run 7 missed (15 Jun 2026)  ███
   IMPORTANT CONTEXT: contrary to the Run-8 handover's assumption, Run 7 IS
   deployed live — verified on the cache-bypassed plain URL (all Run-7/7.1 CSS
   markers present; live CSS = Run-7 minified). So the defects below are REAL
   deployed Run-7 regressions, root-caused on the live page, not stale Run-6.
   Every rule is scoped to .jh-recipe-skin / its zone. Append-only.
   Authored alongside the new 01-skills/jungle-hugger/jh-visual-rhythm skill,
   whose rules this block obeys: ONE spacing scale, equal structural gaps,
   font-metric-free glyph centring, no two rules sharing a pseudo-element.
   ════════════════════════════════════════════════════════════════════════════ */

/* ─── R8 · THE SPACING SCALE — MOVED to the top :root token block (2026-06-21
   foundation pass) so tokens are defined before first use. The scale
   (4·8·12·16·24·32·48px) and the section-internal rhythm tokens (head-to-item /
   item-to-item / group-to-group) now live at the top. New work uses a --sp-* token. */

/* ─── R8-1 · INGREDIENTS GAP-EQUALITY (defect #1, the headline) ──────────────
   PROVEN LIVE (15 Jun, getBoundingClientRect): WP-Delicious splits a group into
   an h3-ONLY <div> followed by an item-ONLY <div> when the group has its heading
   and items emitted separately (the "Filling" case). The Run-7 rule
   `.jh-recipe-shop > div + div{margin-top:2.2rem}` then inserted a 35.2px gap
   BETWEEN the heading-div and its own item-div — while a normal in-flow group
   ("Dough": h3 + ul in one div) had only the h3's 12.8px bottom gap. Result:
   Filling→Lotus ≈ 35px vs Dough→flour ≈ 13px. Two identical structures, unequal
   gaps — exactly Finn's screenshot.
   FIX: detect the split-div pattern and make the heading-only div "bond" to the
   next item div with the SAME heading→item gap as an in-flow group. We do this by
   (a) zeroing the h3-only div's bottom contribution, (b) making an item-div that
   FOLLOWS an h3-only div take the token heading→item gap (not the group gap), and
   (c) keeping the true group→group gap only between *content* divs. The h3 inside
   either layout gets ONE canonical bottom gap. Equal to the pixel, both themes. */
/* canonical heading→item gap, identical in both the in-flow and split layouts */
.jh-recipe-skin .jh-recipe-shop h3{
  margin-bottom:var(--rhythm-head-to-item);
  padding-bottom:var(--sp-2);                 /* the hairline rule sits here */
}
/* old-Android / WebView < Chrome 105 :has() fallback (2026-06-21 foundation pass):
   browsers that don't support :has() skip the @supports block below and fall back to
   the un-scoped `.jh-recipe-shop > div + div{margin-top:2.2rem}` blanket (line ~1183),
   which gives a clean uniform group gap. No additional rule needed here. */
@supports selector(:has(*)) {
/* a group div that is ONLY a heading (no list) must not add its own block gap */
.jh-recipe-skin .jh-recipe-shop > div:not(:has(li)){
  margin:0 !important;
}
/* the item-only div that FOLLOWS a heading-only div is the SAME group → bond it
   with the heading→item gap, NOT the 2.2rem group gap */
.jh-recipe-skin .jh-recipe-shop > div:not(:has(h3)){
  margin-top:0 !important;
}
/* re-assert the TRUE group→group gap only before a div that has its OWN heading
   (i.e. the start of a new group), overriding the Run-7 blanket > div + div */
.jh-recipe-skin .jh-recipe-shop > div:has(h3) + div:has(h3),
.jh-recipe-skin .jh-recipe-shop > div:has(li):not(:has(h3)) + div:has(h3){
  margin-top:var(--rhythm-group-to-group) !important;
}
/* and the heading-only-div + item-div case: the first li of that item div too */
.jh-recipe-skin .jh-recipe-shop > div:not(:has(h3)) .jh-recipe-ing > li:first-child{ padding-top:0; }
} /* end @supports selector(:has(*)) */
/* first item rows: kill the leading row padding so the visible heading→item gap
   equals the token exactly (rows otherwise add .5rem top → unequal vs split case) */
.jh-recipe-skin .jh-recipe-shop .jh-recipe-ing > li:first-child{ padding-top:0; }

/* ─── R8-2 · STEPPER +/− — bulletproof, font-metric-free, NO pseudo collision ─
   Run-7 regression (proven live): the tap-target ::after collided with the glyph
   ::after and the "+" became "⊥". FIX: draw BOTH bars of the glyph as background
   gradients ON THE BUTTON (zero pseudo-elements), so ::before/::after are free.
   The hit area then uses ::after cleanly. Bars are centred by gradient maths →
   identical at every size/DPR for − and +. Meaning stays in aria-label. */
.jh-recipe-skin .jh-recipe-stepper button{
  /* neutralise the Run-5 drawn-glyph pseudos — we draw with gradients now */
  background-repeat:no-repeat; background-position:center;
}
.jh-recipe-skin .jh-recipe-stepper button::before,
.jh-recipe-skin .jh-recipe-stepper button::after{
  content:none !important;          /* free both pseudos; kills the ⊥ collision */
}
/* the − button: ONE horizontal bar (44% wide, 1.5px tall), centred */
.jh-recipe-skin .jh-recipe-stepper [data-jh="serves-dn"]{
  background-image:linear-gradient(var(--ink),var(--ink));
  background-size:44% 1.6px;
}
/* the + button: horizontal bar + vertical bar (a crisp cross), centred */
.jh-recipe-skin .jh-recipe-stepper [data-jh="serves-up"]{
  background-image:linear-gradient(var(--ink),var(--ink)),linear-gradient(var(--ink),var(--ink));
  background-size:44% 1.6px, 1.6px 44%;
}
/* hover/focus tint the drawn marks to accent (matches the border) */
.jh-recipe-skin .jh-recipe-stepper [data-jh="serves-dn"]:focus-visible{
  background-image:linear-gradient(var(--jh-accent),var(--jh-accent));
}
@media (hover: hover) {.jh-recipe-skin .jh-recipe-stepper [data-jh="serves-dn"]:hover{
  background-image:linear-gradient(var(--jh-accent),var(--jh-accent));
}
}
.jh-recipe-skin .jh-recipe-stepper [data-jh="serves-up"]:focus-visible{
  background-image:linear-gradient(var(--jh-accent),var(--jh-accent)),linear-gradient(var(--jh-accent),var(--jh-accent));
}
@media (hover: hover) {.jh-recipe-skin .jh-recipe-stepper [data-jh="serves-up"]:hover{
  background-image:linear-gradient(var(--jh-accent),var(--jh-accent)),linear-gradient(var(--jh-accent),var(--jh-accent));
}
}
/* dark chrome (bottom rail / cook pill): marks must be paper, not ink */
.jh-recipe-skin .jh-recipe-rail .jh-recipe-stepper [data-jh="serves-dn"],
.jh-recipe-skin .jh-recipe-cookbar .jh-recipe-stepper [data-jh="serves-dn"]{
  background-image:linear-gradient(var(--paper),var(--paper));
}
.jh-recipe-skin .jh-recipe-rail .jh-recipe-stepper [data-jh="serves-up"],
.jh-recipe-skin .jh-recipe-cookbar .jh-recipe-stepper [data-jh="serves-up"]{
  background-image:linear-gradient(var(--paper),var(--paper)),linear-gradient(var(--paper),var(--paper));
}
/* restore a 44px hit area on stepper buttons. The glyph is now a background
   gradient (no pseudo), so ::after is free to be a PURE invisible 44px hit box.
   Every property is re-asserted with !important to out-rank the leftover Run-5
   glyph ::after rules above (which set width:1.5px/height:44%) AND any stray
   transform — so the box can never inherit the old glyph geometry (the ⊥ bug). */
.jh-recipe-skin .jh-recipe-stepper button::after{
  content:"" !important; position:absolute !important; inset:auto !important;
  top:50% !important; left:50% !important; right:auto !important; bottom:auto !important;
  transform:translate(-50%,-50%) !important; margin:0 !important;
  width:44px !important; height:44px !important;
  background:none !important; border-radius:0 !important;
}

/* ─── R8-3 · STEP "Copy link" control (was a cryptic "#") ────────────────────
   Finn: "the little # next to the steps that saves a link… people won't know
   what that is." Decision (Finn): make it an explicit labelled control. The PHP
   now emits a chain icon + "Copy link" text (data-jh="steplink"); here we style
   it as a quiet mono micro-action that matches MARK DONE, with a clear hover. */
.jh-recipe-skin .jh-recipe-anchor{
  gap:var(--sp-1); font-family:var(--mono); font-size:.62rem; letter-spacing:.12em;
  text-transform:uppercase; color:var(--ink-soft); opacity:1; white-space:nowrap;
  min-width:0; padding:0 var(--sp-1);            /* hit area handled by ::after */
}
/* RUN 15 A41/A42: COPY LINK in step-tools should read as secondary to ✓ MARK DONE.
   Reduce font-size to .55rem so it's visibly smaller without touching colour (--ink-soft
   already passes AA at .62rem; .55rem + letter-spacing maintains readability). */
.jh-recipe-skin .jh-recipe-step-tools .jh-recipe-anchor{
  font-size:.62rem; letter-spacing:.1em;
}
.jh-recipe-skin .jh-recipe-anchor svg{ width:.85em; height:.85em; flex:0 0 auto; }
@media (hover: hover) {.jh-recipe-skin .jh-recipe-anchor:hover{ color:var(--jh-accent); text-decoration:none; opacity:1; }
}
.jh-recipe-skin .jh-recipe-anchor.is-copied{ color:var(--jh-accent); } /* S1a: was --ok (#4E6B51/#7E9B81 green) — breaks turmeric-only palette; accent keeps the confirm in-system */

/* ═══ S3 · UNIFIED COOK / STEP PILL ═══════════════════════════════════════════
   ONE source of truth for every cook/step control's shape + type. Replaces the
   scattered dupes that had drifted apart (cookbar button ×4 @ ~551/1182/1191/here,
   rail-cook-btn ×2 @ ~515/here, focus-nav button @ ~568, stepbystep @ R9-1,
   focus-close @ R8-6). Square (radius:0 — matches the page), mono caps, 44px tap.
   Two ROLES — fill (primary action, accent) vs ghost (secondary, outline) — and
   two CONTEXTS — on PAPER (ink / --line-2) vs CHROME (the cookbar is forced-dark →
   --on-dark text; the bottom rail's bg FLIPS with theme → --paper text). The old
   translucent-white rail border is dropped for the --line-2 hairline throughout.
   The cookbar CONTAINER surface lives here too. ─────────────────────────────── */

/* the cook HUD surface — confident dark in both themes (a cooking HUD reads dark) */
.jh-recipe-skin .jh-recipe-cookbar{ background:var(--ink); color:var(--on-dark); }
html[data-theme="dark"] .jh-recipe-skin .jh-recipe-cookbar{
  background:#2A251D;                            /* a touch lighter than dark paper so it reads as a raised object */
  border:1px solid var(--line-2);
}
.jh-recipe-skin .jh-recipe-cookbar > span{ color:var(--on-dark); }
.jh-recipe-skin .jh-recipe-cookbar .jh-recipe-cookbar-label{
  font-family:var(--mono); font-size:.66rem; letter-spacing:.14em; text-transform:uppercase;
  color:var(--on-dark); display:inline-flex; align-items:center; gap:var(--sp-2);
}

/* ── shared shape + type for ALL five cook/step pills (default = ghost-on-paper) ── */
.jh-recipe-skin .jh-recipe-cookbar button,
.jh-recipe-skin .jh-recipe-focus-nav button,
.jh-recipe-skin .jh-recipe-method-stepbystep,
.jh-recipe-skin .jh-recipe-focus-top [data-jh="focus-close"],
.jh-recipe-skin .jh-recipe-rail-cook-btn{
  display:inline-flex; align-items:center; justify-content:center; white-space:nowrap;
  font-family:var(--mono); font-size:.7rem; letter-spacing:.12em; text-transform:uppercase;
  border-radius:0; min-height:44px; padding:.8rem 1.4rem; cursor:pointer;   /* = the proven focus-nav/cookbar geometry (RUN 11) */
  background:none; border:1px solid var(--line-2); color:var(--ink);
  transition:background .15s, border-color .15s, color .15s;
}
/* ghost hover/focus on paper → accent fill */
@media (hover: hover) {
  .jh-recipe-skin .jh-recipe-focus-nav button:hover,
  .jh-recipe-skin .jh-recipe-method-stepbystep:hover,
  .jh-recipe-skin .jh-recipe-focus-top [data-jh="focus-close"]:hover{
    background:var(--jh-accent-soft); border-color:var(--jh-accent-soft); color:var(--dark);
  }
}
.jh-recipe-skin .jh-recipe-focus-nav button:focus-visible,
.jh-recipe-skin .jh-recipe-method-stepbystep:focus-visible,
.jh-recipe-skin .jh-recipe-focus-top [data-jh="focus-close"]:focus-visible{ outline:2px solid var(--jh-accent); outline-offset:3px; }

/* ── FILL role (primary action): the focus-mode "Next step" ── */
.jh-recipe-skin .jh-recipe-focus-nav [data-jh="focus-next"]{
  background:var(--jh-accent-soft); border-color:var(--jh-accent-soft); color:var(--dark);
}
@media (hover: hover) {.jh-recipe-skin .jh-recipe-focus-nav [data-jh="focus-next"]:hover{ background:var(--jh-accent); border-color:var(--jh-accent); color:var(--paper); }   /* --paper keeps the caps legible on the deeper turmeric/gold hover (--dark was 3.07 on light) */
}

/* ── DARK-CHROME context: the cookbar + bottom rail sit on dark surfaces ── */
.jh-recipe-skin .jh-recipe-cookbar button{                 /* cookbar PRIMARY = fill */
  background:var(--jh-accent-soft); border-color:var(--jh-accent-soft); color:var(--dark);
}
@media (hover: hover) {.jh-recipe-skin .jh-recipe-cookbar button:hover{ background:var(--on-dark); border-color:var(--on-dark); color:var(--dark); }   /* lift to a LIGHT pill in both themes — --paper would be near-black in dark → 1.06 contrast */
}
.jh-recipe-skin .jh-recipe-cookbar button.is-ghost{        /* cookbar SECONDARY = ghost on the forced-dark HUD */
  background:none; border:1px solid var(--line-2); color:var(--on-dark);   /* --line-2 hairline reads on dark + matches the focus-nav outline */
}
/* S1a: the rail is now forced to a raised-dark object in BOTH themes (like the cookbar;
   bg override at file end), so its pill text is --on-dark (light in both), not the old flip.
   Compact padding keeps it tidy in the micro-bar; the --line-2 hairline reads on both. */
/* RUN 15 (Finn 2026-06-23): rail-cook-btn GEOMETRY only (compact pill). Colours (ghost vs
   fill) are owned by the unified PILLS block lower in the file — the bottom-pill primary/ghost
   split for Cook mode vs Step by step is applied there so it isn't overridden by source order. */
.jh-recipe-skin .jh-recipe-rail-cook-btn{
  padding:.45rem .9rem; font-size:.66rem;
  min-width:7.7rem;   /* RUN 15: equal width for both pill buttons (Finn: "symmetrical with the cook mode button") — fits the longer "Step by step" so "Cook mode" matches it */
}
.jh-recipe-skin .jh-recipe-cookbar button:focus-visible,
.jh-recipe-skin .jh-recipe-rail-cook-btn:focus-visible{ outline:2px solid var(--on-dark); outline-offset:2px; }

/* ─── R8-5 · COOK-MODE entry — first step clears the sticky nav + button hovers ─
   Finn: on entering cook mode the first step sits slightly under the top nav.
   The sticky topbar/cookbar is ~52–64px; give the method + steps scroll-margin so
   scrollIntoView lands them fully below it. (JS scrolls #jh-z09-method.) */
/* RUN 15: GP sticky nav (~83px) + topbar (52px) = ~135px total fixed chrome above content.
   Apply to all jumpnav anchor targets so none hide under the bars. */
.jh-recipe-skin #jh-z09-method,
.jh-recipe-skin #jh-z03-opener,
.jh-recipe-skin #jh-z11-video,
.jh-recipe-skin #jh-z12-notes,
.jh-recipe-skin #jh-z13-qa{ scroll-margin-top:140px; }
.jh-recipe-skin .jh-recipe-step{ scroll-margin-top:140px; }
body.is-cook .jh-recipe-skin #jh-z09-method{ scroll-margin-top:140px; }
/* "Step by step" / "Done" already styled in R8-4; ensure focus-visible ring */
.jh-recipe-skin .jh-recipe-cookbar button:focus-visible{ outline:2px solid var(--on-dark); outline-offset:2px; }

/* ─── R8-6 · FOCUS MODE — an OBVIOUS, always-reachable exit ──────────────────
   Finn could only leave focus mode with Escape. The "Exit ✕" existed but read as
   faint mono text top-right. Make it a clear, thumb-reachable, bordered control
   with hover + focus, present at the top AND echoed as a large tap target. */
.jh-recipe-skin .jh-recipe-focus-top{ padding-top:max(var(--sp-4), env(safe-area-inset-top, 0px)); }
/* focus-close exit — shape/role from the S3 UNIFIED COOK/STEP PILL block; just the
   gap for its trailing ✕ glyph is set here */
.jh-recipe-skin .jh-recipe-focus-top [data-jh="focus-close"]{ gap:var(--sp-2); }

/* ─── R9-1 · PRIMARY "Step by step" entry at top of method section ───────────
   RUN 9 FIX (issue 1): the old focus-open button was INSIDE the cookbar (only
   visible in cook mode — circular). This new button is always visible at the top
   of the method section and matches the cook bar pill language (same family, but
   slightly lighter treatment so it reads as secondary vs the main "Start cooking"
   in the opener). On mobile it spans full column width for easy thumb reach. */
.jh-recipe-method-header{
  display:flex; justify-content:flex-end; align-items:center;
  padding-top:var(--sp-6); padding-bottom:var(--sp-3);
}
/* "Step by step" entry — styled in the S3 UNIFIED COOK/STEP PILL block */
/* hide it in cook mode (the cookbar already shows Step by step / Exit) */
body.is-cook .jh-recipe-method-header{ display:none; }

/* ─── R9-2 · RAIL COOK BUTTON — now styled in the S3 UNIFIED COOK/STEP PILL block
   (dark-chrome ghost; accent fill on .is-on). Heading kept as a provenance pointer;
   the early dupe near the rail block was removed too. ──────────────────────────── */

/* ─── R8-7 · HERO image — make it enlargeable (was un-zoomable everywhere) ───
   PROVEN LIVE: the hero .jh-recipe-hero-img had no data-jh="zoom" and cursor:auto,
   so it could not open the lightbox on desktop OR mobile (Finn: "can't make the
   images under the hero… full screen"). PHP now tags the hero (and the opener/
   movement lead images) with data-jh="zoom". Give every zoomable image a clear
   affordance on BOTH pointer and touch: a corner "⤢ tap to enlarge" hint. */
/* RUN 12 (BUG 1 — iOS tap-to-enlarge dead): iOS Safari only SYNTHESISES a click on a
   tap when the element is intrinsically clickable OR is styled `cursor:pointer`
   SPECIFICALLY. `cursor:zoom-in` does NOT qualify (quirksmode/WebKit rule), so a tap on
   our <img> never produced a click → the lightbox never opened on iPhone, while real
   <button> controls (theme, cook) worked. Switch the zoomable images to `cursor:pointer`
   so iOS treats them as clickable. The "⤢ Tap to enlarge" hint already conveys the
   enlarge affordance, so we don't lose that signal. */
.jh-recipe-skin [data-jh="zoom"]{ cursor:pointer; }
.jh-recipe-skin .jh-recipe-hero-wrap,
.jh-recipe-skin .jh-recipe-step-body{ position:relative; }
/* zoomhint pill removed Run 13 — element no longer rendered in PHP */

/* ─── R8-8 · REVIEW STARS — invite the tap (rest state was a thin hollow line) ─
   The Run-7 rest state was fill:transparent;stroke:1.4px — which reads as an
   empty hairline (Finn: "they render empty"). The CLICK failure is fixed in JS
   (delegation, see jh-recipe-skin.js R8). Here we make the rest star a confident,
   inviting outline: a warmer, thicker stroke + a faint accent wash, so it clearly
   says "tap me" even before hover. Lit stays solid gold. */
#jh-z23-reviews .wpd-rating-container svg.star path,
#jh-z23-reviews .dr-comment-rating svg.star path{
  fill:color-mix(in srgb, var(--jh-accent) 14%, transparent);
  stroke:var(--jh-accent); stroke-width:1.6px;
}
#jh-z23-reviews .wpd-rating-container svg.star.jh-star-on path,
#jh-z23-reviews .dr-comment-rating svg.star.jh-star-on path{
  fill:var(--jh-accent); stroke:var(--jh-accent);
}
#jh-z23-reviews .wpd-rating-container svg.star,
#jh-z23-reviews .dr-comment-rating svg.star{ transition:transform .12s, filter .12s; }
@media (hover: hover) {#jh-z23-reviews .wpd-rating-container svg.star:hover{ transform:scale(1.1); }
}

/* ─── R8-9 (S2 redesign) · THEME TOGGLE — SEGMENTED CONTROL ──────────────────
   S2: retired the rounded pill switch — Finn never settled on it, and it was the
   ONLY soft, glossy, sliding element on an otherwise sharp, mono-editorial page
   (everything else is border-radius:0). Replaced with a sharp two-cell SEGMENTED
   control: a sun cell (left) + a moon cell (right), hairline-divided, the ACTIVE
   side filled turmeric (--jh-accent, which flips to gold in dark) with a --paper
   glyph (--paper flips light↔dark, so the on-fill glyph stays high-contrast in
   both themes). radius:0 matches the page language; the filled active cell is an
   unmistakable two-state affordance. Markup (PHP): two .jh-recipe-toggle-cell
   spans (sun-cell / moon-cell), each holding one 14px SVG; the active cell is
   chosen purely by html[data-theme], so it's correct on load and after every
   toggle. One button, one tap = flip — JS unchanged. Topbar
   (.jh-recipe-theme-btn) + opener CTA row (.jh-recipe-theme-cta).
   NOTE vs the old pill: overflow:hidden is DROPPED. With radius:0 there's no knob
   to clip — and on the pill that overflow was silently clipping the 44px ::after
   hit area down to the 32px box, so dropping it also REPAIRS the touch target to a
   genuine 62×44. Focus ring comes from the global .jh-recipe-skin button rule. */
.jh-recipe-skin .jh-recipe-theme-cta,
.jh-recipe-skin .jh-recipe-theme-btn{
  position:relative; width:62px; min-width:62px; height:32px; min-height:32px; padding:0;
  display:inline-flex; align-items:stretch; justify-content:stretch; gap:0;
  border:1px solid var(--line-2); border-radius:0;
  color:var(--ink-soft); text-indent:0; flex:0 0 auto;
  background:var(--paper-2); transition:border-color .15s;
}
.jh-recipe-skin .jh-recipe-theme-cta{ min-height:32px; }
.jh-recipe-skin .jh-recipe-theme-btn{ min-height:32px; }
/* the two cells — each fills half the track; the active one carries the fill */
.jh-recipe-skin .jh-recipe-toggle-cell{
  flex:1 1 50%; display:inline-flex; align-items:center; justify-content:center;
  background:transparent; color:var(--ink-faint);
  transition:background .15s, color .15s; pointer-events:none;
}
.jh-recipe-skin .jh-recipe-toggle-cell + .jh-recipe-toggle-cell{ border-left:1px solid var(--line-2); }
.jh-recipe-skin .jh-recipe-toggle-sun,
.jh-recipe-skin .jh-recipe-toggle-moon{ width:14px; height:14px; flex:0 0 auto; pointer-events:none; }
/* LIGHT (default) = sun cell active */
.jh-recipe-skin .jh-recipe-toggle-sun-cell{ background:var(--jh-accent); color:var(--paper); }
/* DARK = moon cell active, sun cell de-emphasised */
html[data-theme="dark"] .jh-recipe-skin .jh-recipe-toggle-sun-cell{ background:transparent; color:var(--ink-faint); }
html[data-theme="dark"] .jh-recipe-skin .jh-recipe-toggle-moon-cell{ background:var(--jh-accent); color:var(--paper); }
@media (prefers-color-scheme:dark){
  html:not([data-theme]) .jh-recipe-skin .jh-recipe-toggle-sun-cell{ background:transparent; color:var(--ink-faint); }
  html:not([data-theme]) .jh-recipe-skin .jh-recipe-toggle-moon-cell{ background:var(--jh-accent); color:var(--paper); }
}
@media (hover: hover) {.jh-recipe-skin .jh-recipe-theme-cta:hover,
.jh-recipe-skin .jh-recipe-theme-btn:hover{ border-color:var(--jh-accent); }
}
/* 44px touch target via the independent ::after overlay (now un-clipped → genuine) */
.jh-recipe-skin .jh-recipe-theme-cta::after,
.jh-recipe-skin .jh-recipe-theme-btn::after{ width:62px !important; height:44px !important; }
/* the topbar toggle sits centred in the bar height */
.jh-recipe-skin .jh-recipe-topbar .jh-recipe-theme-btn{ align-self:center; }

/* RUN 10.1 / S2 — opener-panel circle rules (lines ~659, ~793, ~875) have
   specificity 0-3-0 / 0-4-0 and beat the base toggle block (0-2-0). Override them
   here at matching specificity so the opener CTA toggle also renders as the
   segmented control, not the old half-disc circle. ::before half-disc suppressed. */
.jh-recipe-skin .jh-recipe-opener-panel .jh-recipe-cta.jh-recipe-theme-cta{
  width:62px; min-width:62px; height:32px; min-height:32px;
  border-radius:0; aspect-ratio:unset; padding:0;
  color:var(--ink-soft); text-indent:0;
  display:inline-flex; align-items:stretch; justify-content:stretch;
  transform:none; flex:0 0 auto; background:var(--paper-2);
  border:1px solid var(--line-2);
}
.jh-recipe-skin .jh-recipe-opener-panel .jh-recipe-cta.jh-recipe-theme-cta::before{
  content:none; /* suppress the old half-disc ::before */
}

/* ─── R8-10 · VIDEO "Enlarge" — make it DISCOVERABLE (defect #7) ─────────────
   Finn couldn't find the way to go bigger. The Run-7.1 Enlarge pill was opacity:0
   until hover AND only after the video loaded — invisible to most users. FIX:
   the Enlarge pill is now ALWAYS visible on the live player (pointer devices),
   not hover-gated; and a facade-level "⤢ Enlarge" hint sits on the poster so the
   option is obvious BEFORE play too. The rail ⤢ is enlarged + always shown. */
.jh-recipe-skin .jh-recipe-player-theatre{ opacity:.92; }      /* was 0 until hover */
@media (hover: hover) {.jh-recipe-skin .jh-recipe-player:hover .jh-recipe-player-theatre{ opacity:1; }
}
/* facade enlarge hint (injected by JS as .jh-recipe-facade-enlarge) */
.jh-recipe-skin .jh-recipe-facade-enlarge{
  position:absolute; right:var(--sp-3); bottom:var(--sp-3); z-index:3;
  display:inline-flex; align-items:center; gap:var(--sp-1);
  background:rgba(20,18,14,.72); color:#fff; pointer-events:none;
  font-family:var(--mono); font-size:.62rem; letter-spacing:.1em; text-transform:uppercase;
  padding:.4rem .7rem; border-radius:0;
}
.jh-recipe-skin .jh-recipe-facade-enlarge svg{ width:.9em; height:.9em; }
/* rail mini-player ⤢ — always visible, a touch bigger */
.jh-recipe-skin .jh-recipe-srail-expand{ opacity:1; width:34px; height:34px; }
/* the dock's ⤢ is already always-visible when docked — make it match the pill size */
.jh-recipe-skin .jh-recipe-player.is-docked .jh-recipe-pip-expand{ opacity:1; }

/* ─── R8-11 · the gallery thumbnail strip needs a zoom cursor (pointer) ──────*/
.jh-recipe-skin .jh-recipe-gallery button{ cursor:pointer; } /* RUN 12: was zoom-in; gallery buttons are <button> so already clickable, but keep cursor consistent */

/* ─── R8-12 · final spacing sweep — replace remaining one-off section paddings
   with the scale so vertical rhythm is consistent (the new skill's core rule).
   The base .jh-recipe-section was 3.4rem (≈54px, off-scale); snap to 48px. The
   sechead bottom gap 1.8rem (≈29px, off-scale) → 24px. Movement head padding
   3rem/1.4rem → 48/24. These are the repeated rhythm offenders Finn kept seeing. */
.jh-recipe-skin .jh-recipe-section{ padding:var(--sp-12) 0; }
.jh-recipe-skin .jh-recipe-sechead{ margin-bottom:var(--sp-6); gap:var(--sp-4); }
.jh-recipe-skin .jh-recipe-mv-head{ padding:var(--sp-12) 0 var(--sp-6); }
.jh-recipe-skin .jh-recipe-step{ padding-bottom:var(--sp-8); }
.jh-recipe-skin .jh-recipe-controls{ margin-bottom:var(--sp-8); gap:var(--sp-6) var(--sp-8); }

/* ════════════════════════════════════════════════════════════════════════
   RUN 11 · BUG 1 — COOKBAR PILLS = FOCUS-NAV PILLS (one pill language)
   ────────────────────────────────────────────────────────────────────────
   Diagnosis (live computed styles): the cookbar pills rendered SMALLER and
   LIGHTER than the focus-mode pills — two visually different components for the
   same job. The authoritative cookbar rule was
   `.jh-recipe-skin .jh-recipe-cookbar button` (R8-4, spec 0,2,1) at
   font-size:.66rem / min-height:40px / padding:.5rem 1.1rem, and the ghost
   border came from `.is-ghost{border:--on-dark-soft}` (#B6AC9D ≈ rgb(182,172,157)).
   The focus-nav target (R10.1, `.jh-recipe-focus-nav button`) is
   font-size:.7rem / min-height:44px / padding:.8rem 1.4rem / border --line-2.

   Fix: match the cookbar pill GEOMETRY to the focus-nav pill exactly, at every
   breakpoint, so the two read as ONE component. Specificity here is 0,2,1 —
   equal to the R8-4 rule and later in source order, so it wins cleanly. The
   cookbar sits on a DARK surface, so the ghost outline keeps the light --line-2
   hairline (visible on dark, identical weight/colour token to focus-nav); the
   filled "Exit cook mode" pill keeps its accent fill and no border. Result:
   identical height, font-size, letter-spacing, padding, radius and border. */
/* RUN 11 base geometry folded into the S3 UNIFIED COOK/STEP PILL block above
   (cookbar button == focus-nav: .7rem / .8rem 1.4rem / 44px / radius:0; is-ghost
   border --line-2). The responsive tiers below (≤540 / ≤420) still apply. */
/* Filled ("Exit cook mode") pill already matches the focus-nav filled "Next
   step" pill: accent-soft fill, ink text, no visible border. Nothing to change. */

/* ════════════════════════════════════════════════════════════════════════
   RUN 11 · BUG 2 mobile layout — keep the 4-pill focus-nav on ONE line, and keep
   the cookbar pills identical to it, across the WHOLE small/medium range.
   ────────────────────────────────────────────────────────────────────────
   The focus-nav row now carries FOUR pills (Back · Read aloud · Exit · Next →).
   Four full-size pills need ~496px, so between ~420px and ~540px they used to
   WRAP to two lines (pills ballooned to 53–66px tall — a latent issue the new 4th
   pill exposed). Two tiers fix it cleanly:

     • ≤540px  — tighten padding/font a notch so all four fit one line; KEEP full
                 labels (incl. "← Back"). Mirror on the cookbar for pill parity.
     • ≤420px  — tighten a touch more AND collapse "Back" to its ← glyph (only the
                 smallest phones need it; Read aloud / Exit / Next keep their words).

   `.jh-lbl-short` is hidden by default; the ≤420 tier swaps it in. The voice
   ("Read aloud") pill carries a base `padding:.7rem 1.2rem !important` (R7 icon
   rule); each tier re-asserts it with !important so that pill stays the same
   height as its siblings. 44px tap target preserved at every tier. */

.jh-recipe-focus-nav .jh-lbl-short{ display:none; }

/* ── Mobile (≤540px) · RUN 15 (Finn 2026-06-23): four pills never fit one line on a
   ~390px phone (Next step clipped off-edge, uneven, off-centre). Lay them out as an EVEN,
   CENTRED 2×2 grid — equal cells, full labels, comfortable tap targets. DOM order gives
   [← Back | Read aloud] / [Exit | Next step →] — the primary Next step lands bottom-right
   where the thumb is. ── */
@media (max-width:540px){
  .jh-recipe-focus-nav{ display:grid; grid-template-columns:1fr 1fr; gap:8px; max-width:360px; margin-inline:auto; }
  .jh-recipe-focus-nav > *{ width:100%; min-width:0; }
  .jh-recipe-focus-nav button,
  .jh-recipe-focus-nav .jh-recipe-voice-btn{ width:100%; justify-content:center; padding:.85rem .4rem !important; font-size:.64rem; letter-spacing:.05em; min-height:46px; white-space:nowrap; }
  .jh-recipe-focus-nav .jh-recipe-voice-btn::before{ font-size:.74rem; }
  .jh-recipe-focus-nav .jh-lbl-full{ display:inline; }   /* grid cell has room for "← Back" full */
  .jh-recipe-focus-nav .jh-lbl-short{ display:none; }
  /* cookbar pills stay a single row — mirror the compact metrics */
  .jh-recipe-skin .jh-recipe-cookbar button{ padding:.6rem .8rem; font-size:.64rem; min-height:44px; white-space:nowrap; }
}

/* ════════════════════════════════════════════════════════════════════════
   RUN 12 (Finn) — COOK HUD mobile sizing. Measured live at 390px: the buttons
   were inheriting the focus-nav pill geometry (.8rem 1.4rem padding, 44px min-h)
   AND being stretched full-width (flex:1 1 0) — so they read as chunky oversized
   blocks. Redesign: buttons are CONTENT-sized neat pills (no stretch), the bar is
   slimmer, the status label is dropped on phones so the two actions are the calm
   centre. Tighter padding + a 38px height reads as a refined HUD, not big blocks.
   Tap target stays ≥44px via the invisible hit-area padding already in the skin.
   ──────────────────────────────────────────────────────────────────────── */
@media (max-width:600px){
  /* PROBLEM (Finn's screenshot): the base layout is justify-content:space-between, which
     flung the "Cook mode on" label hard-left and the filled "Exit cook mode" pill hard-
     RIGHT, flush against the 100px-radius edge (only .8rem right padding couldn't clear
     the curve) → the orange square looked like it was falling off the bar. DESIGN FIX:
     on phones, drop the status label entirely and CENTRE the two action pills as a tidy
     pair, inside generous symmetric padding so nothing ever touches the rounded edge.
     The two actions are self-explanatory; the bar becomes a calm, balanced control. */
  .jh-recipe-skin .jh-recipe-cookbar{
    justify-content:center;        /* centre the pair, not spread to the edges */
    gap:0;
    padding:.5rem 1rem;            /* symmetric — keeps the pill pair off the bar edges */
    width:min(440px, calc(100vw - 1.5rem));
  }
  .jh-recipe-skin .jh-recipe-cookbar .jh-recipe-cookbar-label{ display:none; }   /* status label off on phones */
  .jh-recipe-skin .jh-recipe-cookbar .jh-recipe-cookbar-btns{
    flex:0 0 auto; display:flex; gap:.5rem; justify-content:center;
  }
  .jh-recipe-skin .jh-recipe-cookbar .jh-recipe-cookbar-btns button{
    flex:0 0 auto; min-height:40px; padding:.45rem 1rem; font-size:.64rem; letter-spacing:.1em;
  }
}

/* RUN 15: suppress the Customizer nav border on recipe pages — it creates a visible
   seam between the GP sticky nav and the recipe topbar sitting flush below it. */
body.single-recipe .main-navigation{ border-block-end:none; }

/* ════════════════════════════════════════════════════════════════════════
   S1 · TOUCH SMOOTHNESS — part 1: touch hardening  (2026-06-21, worldclass build)
   Kills the three things that make taps feel "patchy" on mobile:
   · the native grey/blue tap-highlight box that flashes on every tap
   · long-press starting a text selection on a control label
   · the 300ms delay / double-tap-zoom on controls
   Scoped to CONTROLS only — body copy, ingredient text and the headnote stay
   fully selectable. Companion to part 2 (gate every :hover behind
   @media (hover:hover) so hover colours stop STICKING after a tap).
   ──────────────────────────────────────────────────────────────────────── */
.jh-recipe-skin button,
.jh-recipe-skin a,
.jh-recipe-skin [role="button"],
.jh-recipe-skin summary,
.jh-recipe-skin input[type="submit"],
.jh-recipe-skin .jh-recipe-q,
.jh-recipe-skin .jh-recipe-ing li{
  -webkit-tap-highlight-color: transparent;
}
.jh-recipe-skin button,
.jh-recipe-skin [role="button"],
.jh-recipe-skin .jh-recipe-cta,
.jh-recipe-skin input[type="submit"]{
  touch-action: manipulation;
  -webkit-user-select: none;
          user-select: none;
}

/* ═══ MOVEMENTS ════════════════════════════════════════════════════════════
   ST (2026-06-22): the page-level band/grouping layer. The PHP wraps the
   modular zones into 7 conditional movements (welcome/cook/understand/
   make-it-yours/serve/tried-tested/keep-exploring). Render-rule guards live in
   the PHP; this is purely the visual band. Same specificity as the existing
   .jh-recipe-skin .jh-recipe-* rules → placed LAST so it wins by source order
   without new !important. First render-verified pass (ST-CSS) — pending Finn's
   design review of kicker weight / dark-tint prominence / zone-eyebrow density.
   ═══════════════════════════════════════════════════════════════════════════ */

/* Band colour lives on the MOVEMENT, not the atoms → kills the per-zone
   .is-tint striping (the arch's diagnosis). The dark feature atoms
   (.jh-recipe-watch video / .jh-recipe-slow newsletter) are separate selectors
   and keep their dark bg. */
.jh-recipe-skin .jh-movement .jh-recipe-section.is-tint{ background:transparent; }
/* The one tint movement (Understand): a continuous band FRAMED by an entry/exit
   hairline so it keeps its identity even in dark mode, where --paper-2 sits very
   close to the dark paper. The band edge is the separator → this movement drops
   the kicker chapter-rule + big air gap (arch: feature bands don't double-separate). */
.jh-recipe-skin .jh-movement.is-tint{ background:var(--paper-2); border-block:1px solid var(--line); }
.jh-recipe-skin .jh-movement.is-tint > .jh-movement-kicker{ border-top:none; margin-top:0; padding-top:var(--sp-8); }

/* Kicker = the existing eyebrow treatment (cf. .jh-recipe-lab), now signposting
   each movement. Generous space ABOVE (the chapter break) in the reading column. */
.jh-recipe-skin .jh-movement-kicker{
  display:block; max-width:var(--col); margin:0 auto;
  padding:0 var(--gut);
  font-family:var(--mono); font-weight:500; font-size:.7rem; line-height:1.2;
  text-transform:uppercase; letter-spacing:.22em; color:var(--jh-accent);
}

/* Chapter break: every movement after the first (welcome is the always-first
   masthead, kicker-less) opens with a hairline across the reading column, big
   air above it, the kicker label tight beneath → reads as a clean section start. */
.jh-recipe-skin .jh-movement + .jh-movement > .jh-movement-kicker{
  border-top:1px solid var(--line);
  margin-top:var(--rhythm-movement);
  padding-top:var(--sp-6);
}

/* Bond: the first atom after a kicker tightens its top padding so the kicker
   reads as that movement's header rather than a floating label. */
.jh-recipe-skin .jh-movement-kicker + .jh-recipe-section{ padding-top:var(--sp-4); }

/* Kill the redundant eyebrow on the first atom directly under a kicker — the
   kicker is now that section's lead-in (the arch's "atoms lose their eyebrow"). */
.jh-recipe-skin .jh-movement-kicker + .jh-recipe-section .jh-recipe-sechead .jh-recipe-lab{ display:none; }

/* ═══════════════════════════════════════════════════════════════════════
   SF · S6a/b — SYSTEMIC CSS BUG-SWEEP (2026-06-22)
   Palette purity + dark-contrast lift. Ultracode-verified: each block was
   spec'd, then adversarially reviewed against the live DOM (/tmp/peanut.html,
   post 9048), with AA computed on the real tokens. CSS-only, no snippet paste.
   The author ↗ de-emoji (U+FE0E) is a separate PHP edit bundled into the
   toggle round. Source-order-wins; no !important.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── FIX 8b — review zone: kill the theme's copper/forest button INTERACTION
   states (hover/focus/active) that FIX 8 left uncovered. ROOT CAUSE:
   GeneratePress ships `button,…,input[type="submit"]{color:var(--bg);
   background:var(--forest)}` (--forest #1E3A2F) plus
   `button:hover,…,button:focus,…,input[type="submit"]:focus,…{color:var(--copper);
   background:var(--jh-accent)}` (--copper/--jh-accent #B5714A copper). FIX 8 overrode
   only the RESTING state (and submit :hover); on hover, keyboard focus, or while
   pressed, the Write-a-Review tab, the Submit-Review button, and the Yes/No
   buttons repaint to the theme's copper fill, abandoning the editorial ink
   system. FIX: pin every review-zone control's hover/focus/active to the ink
   primary-action fill (cream-on-ink), add a turmeric --jh-accent keyboard ring,
   and explicitly forbid forest-green. All ID-scoped so it beats the theme
   (ID 1-0 vs theme 0-0); tokens flip per theme so no separate dark block is
   needed (relies on :root dark overrides L33-47). */

/* Submit Review — ink fill across hover/focus/active; turmeric focus ring */
@media (hover: hover){
  #jh-z23-reviews .form-submit .submit:hover,
  #jh-z23-reviews input.submit:hover{ color:var(--paper); background:var(--jh-accent); border-color:var(--jh-accent); }
}
#jh-z23-reviews .form-submit .submit:focus,
#jh-z23-reviews .form-submit .submit:active,
#jh-z23-reviews input.submit:focus,
#jh-z23-reviews input.submit:active{
  color:var(--paper); background:var(--ink); border-color:var(--ink);
}
#jh-z23-reviews .form-submit .submit:focus-visible,
#jh-z23-reviews input.submit:focus-visible{
  outline:2px solid var(--jh-accent); outline-offset:2px;
}

/* Write-a-Review tab button — never copper/forest on hover/focus; ink when active */
@media (hover: hover){
  #jh-z23-reviews .dr-form-tab-btn:hover{ color:var(--ink-soft); background:none; border-color:var(--line-2); }
  #jh-z23-reviews .dr-form-tab-btn.active:hover{ color:var(--paper); background:var(--ink); border-color:var(--ink); }
}
#jh-z23-reviews .dr-form-tab-btn:focus,
#jh-z23-reviews .dr-form-tab-btn:active{ color:var(--ink-soft); background:none; border-color:var(--line-2); }
#jh-z23-reviews .dr-form-tab-btn.active:focus,
#jh-z23-reviews .dr-form-tab-btn.active:active{ color:var(--paper); background:var(--ink); border-color:var(--ink); }
#jh-z23-reviews .dr-form-tab-btn:focus-visible{ outline:2px solid var(--jh-accent); outline-offset:2px; }

/* Yes / No "did you make this" buttons — accent fill on active, ghost on hover/focus, ring.
   FIX 8 already gives :hover the accent fill in @media(hover:hover); we add focus/active. */
#jh-z23-reviews .yes-btn:focus,
#jh-z23-reviews .no-btn:focus,
#jh-z23-reviews .yes-btn:active,
#jh-z23-reviews .no-btn:active{ color:var(--ink-soft); background:none; border-color:var(--line-2); }
#jh-z23-reviews .yes-btn.active:focus,
#jh-z23-reviews .no-btn.active:focus,
#jh-z23-reviews .yes-btn.active:active,
#jh-z23-reviews .no-btn.active:active{ color:var(--paper); background:var(--jh-accent); border-color:var(--jh-accent); }
#jh-z23-reviews .yes-btn:focus-visible,
#jh-z23-reviews .no-btn:focus-visible{ outline:2px solid var(--jh-accent); outline-offset:2px; }

/* ── reviews-dark-fields — give the plugin comment-form inputs + textarea a
   clearly-framed editable field in BOTH themes. Beats the hairline-underline
   rule at L778-785 and the :focus rule at L790-791 (same selectors, later in
   source = wins; no !important). Tokens auto-flip. Live-DOM confirmed: author
   /email text inputs + comment textarea (id randomised → targeted by element;
   honeypot textarea[aria-hidden=true] excluded). Stars intentionally NOT
   touched — the hollow/lit star treatment at L1268-1291 already owns them. */
#jh-z23-reviews .comment-form input[type="text"],
#jh-z23-reviews .comment-form input[type="email"],
#jh-z23-reviews .comment-form input[type="url"],
#jh-z23-reviews .comment-form textarea:not([aria-hidden="true"]){
  width:100%;
  background:var(--paper-2);
  border:1px solid var(--ink-soft);   /* 5.03:1 light / 6.48:1 dark on paper-2 — passes 3:1 both themes */
  border-bottom:1px solid var(--ink-soft); /* override the 1.5px line-2 underline from L781 */
  border-radius:2px;
  color:var(--ink);
  font-family:var(--mono); font-size:.85rem;
  padding:.65rem .7rem;
  margin:0 0 1.1rem;
  resize:vertical;
  -webkit-appearance:none; appearance:none;
}
#jh-z23-reviews .comment-form input[type="text"]::placeholder,
#jh-z23-reviews .comment-form input[type="email"]::placeholder,
#jh-z23-reviews .comment-form input[type="url"]::placeholder,
#jh-z23-reviews .comment-form textarea:not([aria-hidden="true"])::placeholder{
  color:var(--ink-soft);              /* 5.03:1 light / 6.48:1 dark on paper-2 — clears 4.5:1 */
  text-transform:uppercase; letter-spacing:.1em; font-size:.7rem; opacity:1;
}
#jh-z23-reviews .comment-form input[type="text"]:focus,
#jh-z23-reviews .comment-form input[type="email"]:focus,
#jh-z23-reviews .comment-form input[type="url"]:focus,
#jh-z23-reviews .comment-form textarea:not([aria-hidden="true"]):focus{
  outline:none;
  border-color:var(--jh-accent);         /* 4.93:1 light / 7.50:1 dark on paper-2 */
  box-shadow:0 0 0 1px var(--jh-accent);
}

/* ── pin-share-dark · share/save controls must never read disabled in dark ──
   #jh-z29-pinband sits on --paper. The ghost .jh-recipe-sharebtn chips rested on
   a muted --ink-soft outline that reads greyed-out, and the masked base border
   (L467 --line-2 = 2.18:1 dark) is a latent 3:1 failure. In dark, lift the border
   to turmeric --jh-accent with --ink text so the controls read as live actions.
   Both theme paths; hover guarded so it can't stick on touch. */
html[data-theme="dark"] .jh-recipe-skin .jh-recipe-pinband .jh-recipe-sharebtn{
  border-color:var(--jh-accent);   /* #D6A275 on #171410 = 8.12:1 (>3:1) */
  color:var(--ink);             /* #F0EBE0 on #171410 = 15.44:1 (>4.5:1) */
}
@media (hover:hover){
  html[data-theme="dark"] .jh-recipe-skin .jh-recipe-pinband .jh-recipe-sharebtn:hover{
    border-color:var(--jh-accent);
    background:var(--paper-2);
    color:var(--ink);
  }
}
@media (prefers-color-scheme:dark){
  html:not([data-theme]) .jh-recipe-skin .jh-recipe-pinband .jh-recipe-sharebtn{
    border-color:var(--jh-accent);
    color:var(--ink);
  }
}
@media (prefers-color-scheme:dark) and (hover:hover){
  html:not([data-theme]) .jh-recipe-skin .jh-recipe-pinband .jh-recipe-sharebtn:hover{
    border-color:var(--jh-accent);
    background:var(--paper-2);
    color:var(--ink);
  }
}

/* ── author-arrows-name (zone 24) ──
   (1) socials links: recolor "↗" to turmeric + request text glyph presentation
       (progressive; bulletproof de-emoji via U+FE0E is the deferred PHP edit on
       PHP L1097-1098).
   (2) author name <h3> "Farah": the site theme colours h3 (recedes dark-green in
       dark). Force --ink, matching the skin's heading-override at L651. */
.jh-recipe-skin .jh-recipe-author .jh-recipe-socials a{
  color:var(--jh-accent);
  font-variant-emoji:text; /* progressive: coerces U+2197 text presentation where supported */
}
.jh-recipe-skin .jh-recipe-author h3{
  color:var(--ink);
}

/* ── systemic-dark-tracks — dark-only lift of thin elements to ≥3:1 ──
   Light mode untouched (dark-scoped only). Macro FILL bar (.jh-recipe-bar i)
   and all text untouched. */
/* (a) Nutrition macro UNFILLED track — #27221A(1.16:1) → #74664F(3.28:1 vs --paper) */
html[data-theme="dark"] .jh-recipe-skin #jh-z12-nutrition .jh-recipe-macro .jh-recipe-bar{
  background:#74664F;
}
@media (prefers-color-scheme:dark){
  html:not([data-theme]) .jh-recipe-skin #jh-z12-nutrition .jh-recipe-macro .jh-recipe-bar{
    background:#74664F;
  }
}
/* (b) Allergen-grid (matrix) hairline — #403930(1.49:1 on --paper-2) → #786954(3.19:1) */
html[data-theme="dark"] .jh-recipe-skin #jh-z18-allergens .jh-recipe-allergen{
  border-bottom-color:#786954;
}
@media (prefers-color-scheme:dark){
  html:not([data-theme]) .jh-recipe-skin #jh-z18-allergens .jh-recipe-allergen{
    border-bottom-color:#786954;
  }
}

/* ── Z18a · ALLERGEN STRIP — ground + frame + left safety rule ──
   Replaces the near-invisible border-block hairline (L193) with a tinted, framed
   safety panel. Token-based → both themes resolve automatically. Wins over L193
   by equal specificity + later source order. Cook-mode hide (L537) unaffected. */

/* ═══════════════════════════════════════════════════════════════════════
   RECIPE CHROME — migrated 2026-06-22 from assets/07-plugin-skins/recipe.css
   ("v4.0", ex-snippet 9659), which was retired. These are the only rules from
   that 706-line file that still matched anything on a headless recipe page
   (empirically audited against the live DOM). They integrate the GeneratePress
   shell with the headless skin. body.single-recipe scope (GP/plugin selectors),
   unlayered, !important where it must beat GP defaults — matching the original.
   ═══════════════════════════════════════════════════════════════════════ */

/* GP chrome cleanup — the skin renders full-bleed; strip GP's default article
   background / shadow / padding so it sits clean. (.entry-header = defensive.) */
body.single-recipe .entry-header { display: none !important; }
body.single-recipe #primary.content-area,
body.single-recipe .site-main,
body.single-recipe .inside-article {
  background: none !important;
  box-shadow: none !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Breadcrumb — above content, no ground (desktop overlap). */
@media (min-width: 1024px) {
  body.single-recipe .jh-breadcrumb {
    position: relative;
    z-index: 5;
    background: transparent;
  }
}

/* Embedded WP-comment review block (#reviews) — strip the plugin container's
   borders; the headless skin (#jh-z23-reviews) owns the review styling. */
body.single-recipe #reviews { overflow: hidden; }
body.single-recipe #reviews > *:not(.comment-form-cookies-consent) {
  border: none !important;
}

/* Smooth height-auto transitions on recipe singles (collapsible blocks). */
@supports (interpolate-size: allow-keywords) {
  body.single-recipe { interpolate-size: allow-keywords; }
}

/* Sharp-corners blanket — the editorial system is square; force 0 radius on
   form controls / images / any residual plugin element. Avatars stay circular. */
body.single-recipe [class*="dr-"],
body.single-recipe [class*="wpd-"],
body.single-recipe [class*="wpdelicious"],
body.single-recipe input,
body.single-recipe textarea,
body.single-recipe select,
body.single-recipe button,
body.single-recipe img {
  border-radius: 0 !important;
}
body.single-recipe img.avatar,
body.single-recipe .avatar img,
body.single-recipe .dr-byline img.avatar {
  border-radius: 50% !important;
}

/* ═══ SF·S6c · PER-BLOCK L2 NITS ══════════════════════════════════════════════
   The L2 punch-list's remaining pure-CSS nits, in one reviewable block (source-
   order wins; no new !important). Markup/ARIA-dependent nits — the nutrition
   disclosure chevron (needs aria-expanded), the specimen pair-wrap and the notes
   restructure (need PHP grouping) — are handled in the PHP pass, not here. ───── */

/* 1 · RELATED cards (Z26) — reserve a 2-line title rail so the meta line + cards
   bottom-align instead of reading ragged. Scoped to .jh-recipe-rel so Serve-with
   (.jh-recipe-serve, same .jh-recipe-rc class) keeps its own rhythm. */
.jh-recipe-skin .jh-recipe-rel .jh-recipe-rc .jh-recipe-rc-t{
  min-height:2.52rem;        /* 2 lines × 1.05rem × 1.2 line-height */
  display:block;
}
@media (max-width:600px){
  .jh-recipe-skin .jh-recipe-rel .jh-recipe-rc .jh-recipe-rc-t{ min-height:0; }   /* 2-up / 1-up: no rail needed */
}

/* 2 · GALLERY (Z02) — centre the strip (kills the desktop right-hand dead-band) and
   size tiles evenly; tokenise the gutter to --sp-2. */
.jh-recipe-skin .jh-recipe-gallery{ justify-content:center; gap:var(--sp-2); }
.jh-recipe-skin .jh-recipe-gallery button{ flex:0 1 110px; }

/* 3 · FAQ +/− (Z22) — MOVED OUT, 2026-09-03 (#580). See the Z22 · FAQ pointer above:
   both ::after rules moved with the six base rules into assets/05-components.css, so
   the more-specific override cannot be left behind masking the moved copy. */

/* 4 · PLAY triangle (Z10/Z11) — optical nudge: a border-triangle's visual mass sits
   left of its bounding-box centre, so shift right to sit on the circle's optical centre. */
.jh-recipe-skin .jh-recipe-play::after{ transform:translateX(2px); }

/* 5 · WHY-THIS-WORKS bracket (Z15) — pull the L-bracket onto the card's corner; at
   top/left:-1px it overshot the 1px card border with no clean miter. */
.jh-recipe-skin .jh-recipe-why::before{ top:0; left:0; }

/* 6 · NUTRITION disclosure (Z12) — give "Full breakdown" a chevron that rotates
   open↔closed off aria-expanded (PHP now emits aria-expanded + aria-controls on
   [data-jh="nmore-btn"]; the JS toggles it). Drawn border-box chevron = DPR-crisp,
   accent in both themes. Scoped to the nutrition button (.jh-recipe-mbtn is shared). */
.jh-recipe-skin .jh-recipe-mbtn[data-jh="nmore-btn"]{ gap:var(--sp-2); }
.jh-recipe-skin .jh-recipe-mbtn[data-jh="nmore-btn"]::after{
  content:""; width:.46rem; height:.46rem; flex:0 0 auto;
  border-right:1.5px solid var(--jh-accent); border-bottom:1.5px solid var(--jh-accent);
  transform:translateY(-2px) rotate(45deg); transition:transform .2s;   /* chevron ▼ closed */
}
.jh-recipe-skin .jh-recipe-mbtn[data-jh="nmore-btn"][aria-expanded="true"]::after{
  transform:translateY(1px) rotate(-135deg);                            /* chevron ▲ open */
}

/* ═══════════════════════════════════════════════════════════════════════════
   SF · S1a — CORRECTNESS FLOOR (contrast + namespace-collision guard)
   ═══════════════════════════════════════════════════════════════════════════
   (1) NAMESPACE-COLLISION GUARD. The child-theme component library styles
       `button[class*="jh-"]{ color:var(--jhb-fg) }` (assets/05-components.css)
       at specificity (0,1,1), which OUTRANKS our single-class `.jh-recipe-mbtn`
       (0,1,0) and hijacks every recipe mono-action button to the component grey
       #5A5A52 (~2.3:1 on espresso — COPY SHOPPING LIST / FULL BREAKDOWN were
       near-invisible in dark). Re-assert the skin's accent at (0,2,0) so OUR
       buttons win. The more-specific is-done / nmore-chevron rules still win
       over this. Same hijack hits the per-step timer (.jh-recipe-timer, intended
       --ink-soft) — re-assert it too. Any FUTURE recipe <button class="jh-…"> with
       a single-class colour rule must be scoped under .jh-recipe-skin to win. */
.jh-recipe-skin .jh-recipe-mbtn{ color:var(--jh-accent); }
.jh-recipe-skin .jh-recipe-timer{ color:var(--ink-soft); }   /* was hijacked to #5A5A52 (2.3:1); --ink-soft = ~6:1 dark */

/* (2) FLOATING SERVES RAIL — stop the dark-mode light-leak. The rail container
       bg is var(--ink), which INVERTS to cream (#F0EBE0) in dark, so the whole
       HUD read as a light-theme object floating in the espresso UI. Force it to
       the same raised-dark surface as the cook HUD in dark (children already use
       --on-dark, light in both themes). */
html[data-theme="dark"] .jh-recipe-skin .jh-recipe-rail{ background:#2A251D; }

/* ═══════════════════════════════════════════════════════════════════════
   DESIGN OPTIONS A/B/C — approved 2026-06-22 (Finn + Farah). Within-language
   surface levers; rendered on the real page + AA-verified before ship.
   Source-order-wins; specificity matched to the deployed opener rules.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── OPTION A · Opener hierarchy (move 10) — one filled-ACCENT primary action,
   secondary CTAs demoted a rank, difficulty dots crafted into a turmeric gauge.
   cream-on-turmeric (light, AA 5.5:1) / espresso-on-gold (dark, AA 8.1:1). */
.jh-recipe-skin .jh-recipe-opener-panel .jh-recipe-cta.is-primary{
  background:var(--jh-accent); color:var(--paper);
  letter-spacing:.16em; font-weight:500;
}
html[data-theme="dark"] .jh-recipe-skin .jh-recipe-opener-panel .jh-recipe-cta.is-primary{
  color:var(--dark);
}
@media (hover: hover){
  .jh-recipe-skin .jh-recipe-opener-panel .jh-recipe-cta.is-primary:hover{
    background:var(--ink); color:var(--paper);
  }
}
.jh-recipe-skin .jh-recipe-opener-panel .jh-recipe-cta:not(.is-primary):not(.jh-recipe-theme-cta){
  color:var(--ink-soft); font-size:.64rem;
}
.jh-recipe-skin .jh-recipe-opener-panel .jh-recipe-diff-dots{
  font-size:.95rem; letter-spacing:.14em; color:var(--jh-accent);
}

/* ── OPTION B · Frame the tools, free the prose (move 7b) — ingredients +
   nutrition become lifted instrument panels (always ONE tonal step ABOVE their
   ground, in BOTH themes); narrative zones stay open. Mobile floats the panel
   off the screen edge instead of touching it. */
.jh-recipe-skin #jh-z08-ingredients > .jh-recipe-col,
.jh-recipe-skin #jh-z12-nutrition > .jh-recipe-col{
  border:1px solid var(--line-2);
  padding:var(--sp-8);
}
/* ingredients lifts in BOTH themes. DARK ground is --paper (cook movement) so
   --paper-2 lifts (base rule below). LIGHT ground is the warmed --paper #F7F2E8,
   so --paper-2 would RECESS (verify gate finding) → light gets a warm near-white
   card a step ABOVE the paper. Light-only selectors exclude the OS-dark/untoggled
   path so the dark lift is never clobbered. */
.jh-recipe-skin #jh-z08-ingredients > .jh-recipe-col{ background:var(--paper-2); }
html[data-theme="light"] .jh-recipe-skin #jh-z08-ingredients > .jh-recipe-col{ background:#FCF9F2; }
@media (prefers-color-scheme:light){
  html:not([data-theme]) .jh-recipe-skin #jh-z08-ingredients > .jh-recipe-col{ background:#FCF9F2; }
}
.jh-recipe-skin #jh-z12-nutrition > .jh-recipe-col{ background:var(--paper); }
html[data-theme="dark"] .jh-recipe-skin #jh-z12-nutrition > .jh-recipe-col{ background:var(--paper-3); }
@media (max-width:680px){
  .jh-recipe-skin #jh-z08-ingredients > .jh-recipe-col,
  .jh-recipe-skin #jh-z12-nutrition > .jh-recipe-col{
    margin-inline:var(--gut); padding:var(--sp-6);
  }
}

/* ── OPTION C · Warm the LIGHT theme (move 6; dark untouched). Warm the five
   paper/line tokens at :root — BOTH dark paths (html[data-theme="dark"] AND the
   @media prefers-dark html:not([data-theme]) block) fully re-set these same five
   tokens, so OS-dark/untoggled visitors keep the full dark palette. (Verify gate
   caught the earlier :not([data-theme="dark"]) form leaking warm-light paper under
   dark --ink on the system-dark auto path → invisible text.) ink + the single
   turmeric accent stay locked (turmeric AA 5.2:1 on the warmer paper). Grain
   dropped: imperceptible + a fixed mix-blend overlay is a low-end-Android
   scroll-repaint risk. */
:root{
  --paper:#F7F2E8; --paper-2:#EFE7D6; --paper-3:#E6DCC7;
  --line:#E2D9C7; --line-2:#D0C5AE;
}

/* ═══════════════════════════════════════════════════════════════════════
   COOK CHROME REDESIGN — full design review (Finn + 5-lens panel, 2026-06-22).
   "Stop dressing a warm page as a dark app." ONE square light pill language on
   ONE warm-paper surface. Decisions: SOLID warm-paper card (not frosted glass —
   warmer + no low-end scroll-jank); ONE hover recipe (turmeric fill + CREAM text
   everywhere → kills the --dark-on-accent-soft hue-wash + the twin-primary
   collapse); Exit demoted to ghost; per-step tools bare at rest (box = LIVE timer
   only); stepper squared + de-squashed; toast squared onto the light surface
   (JS adds role=status + chime). Source-order-wins over the S3 UNIFIED block +
   the file-end dark-rail override. ═══════════════════════════════════════════ */

/* ── 1 · SURFACE: warm-paper card (light) / espresso card (dark) replaces the
   dark --ink HUD. ~94% opaque (solid — no backdrop-filter, perf-safe on low-end
   Android), 1px hairline, one soft lifting shadow, square. */
.jh-recipe-skin .jh-recipe-rail,
.jh-recipe-skin .jh-recipe-cookbar{
  background:rgba(247,242,232,.94);
  color:var(--ink-soft);
  border:1px solid var(--line-2);
  border-radius:0;
  box-shadow:0 6px 24px -12px rgba(60,40,20,.30);
}
html[data-theme="dark"] .jh-recipe-skin .jh-recipe-rail,
html[data-theme="dark"] .jh-recipe-skin .jh-recipe-cookbar{
  background:rgba(23,20,16,.94);
  color:var(--on-dark-soft);
  border-color:var(--line-2);
  box-shadow:0 6px 24px -10px rgba(0,0,0,.55);
}
@media (prefers-color-scheme:dark){
  html:not([data-theme]) .jh-recipe-skin .jh-recipe-rail,
  html:not([data-theme]) .jh-recipe-skin .jh-recipe-cookbar{
    background:rgba(23,20,16,.94); color:var(--on-dark-soft); box-shadow:0 6px 24px -10px rgba(0,0,0,.55);
  }
}
.jh-recipe-skin .jh-recipe-rail button{ color:var(--ink); }
.jh-recipe-skin .jh-recipe-rail .jh-recipe-div{ background:var(--line-2); }
.jh-recipe-skin .jh-recipe-cookbar > span,
.jh-recipe-skin .jh-recipe-cookbar .jh-recipe-cookbar-label{ color:var(--ink-soft); }
.jh-recipe-skin .jh-recipe-cookbar .jh-recipe-cookbar-dot{ background:var(--jh-accent); }
html[data-theme="dark"] .jh-recipe-skin .jh-recipe-rail button{ color:var(--on-dark); }
html[data-theme="dark"] .jh-recipe-skin .jh-recipe-rail .jh-recipe-div{ background:var(--on-dark-soft); }
html[data-theme="dark"] .jh-recipe-skin .jh-recipe-cookbar > span,
html[data-theme="dark"] .jh-recipe-skin .jh-recipe-cookbar .jh-recipe-cookbar-label{ color:var(--on-dark-soft); }

/* ── 2 · PILLS — three roles, ONE hover recipe. Default ghost-on-paper geometry
   (S3 block) kept; here every chrome pill flips on-dark→ink, every fill becomes
   turmeric+cream, every hover becomes turmeric+cream. */
.jh-recipe-skin .jh-recipe-cookbar button,
.jh-recipe-skin .jh-recipe-cookbar button.is-ghost,
.jh-recipe-skin .jh-recipe-rail-cook-btn{
  background:none; border:1px solid var(--line-2); color:var(--ink);
}
html[data-theme="dark"] .jh-recipe-skin .jh-recipe-cookbar button,
html[data-theme="dark"] .jh-recipe-skin .jh-recipe-cookbar button.is-ghost,
html[data-theme="dark"] .jh-recipe-skin .jh-recipe-rail-cook-btn{ color:var(--on-dark); }
.jh-recipe-skin .jh-recipe-focus-nav [data-jh="focus-next"],
.jh-recipe-skin .jh-recipe-rail-cook-btn.is-on,
.jh-recipe-skin .jh-recipe-rail-cook-btn:not(.is-ghost){   /* RUN 15: bottom-pill Cook mode = PRIMARY fill (Step by step keeps the .is-ghost outline) */
  background:var(--jh-accent); border-color:var(--jh-accent); color:var(--paper);
}
html[data-theme="dark"] .jh-recipe-skin .jh-recipe-focus-nav [data-jh="focus-next"],
html[data-theme="dark"] .jh-recipe-skin .jh-recipe-rail-cook-btn.is-on,
html[data-theme="dark"] .jh-recipe-skin .jh-recipe-rail-cook-btn:not(.is-ghost){ color:var(--dark); }
@media (hover:hover){
  .jh-recipe-skin .jh-recipe-focus-nav button:hover,
  .jh-recipe-skin .jh-recipe-method-stepbystep:hover,
  .jh-recipe-skin .jh-recipe-focus-top [data-jh="focus-close"]:hover,
  .jh-recipe-skin .jh-recipe-focus-nav [data-jh="focus-next"]:hover,
  .jh-recipe-skin .jh-recipe-cookbar button:hover,
  .jh-recipe-skin .jh-recipe-cookbar button.is-ghost:hover,
  .jh-recipe-skin .jh-recipe-rail-cook-btn:hover{
    background:var(--jh-accent); border-color:var(--jh-accent); color:var(--paper);
  }
  html[data-theme="dark"] .jh-recipe-skin .jh-recipe-focus-nav button:hover,
  html[data-theme="dark"] .jh-recipe-skin .jh-recipe-method-stepbystep:hover,
  html[data-theme="dark"] .jh-recipe-skin .jh-recipe-focus-top [data-jh="focus-close"]:hover,
  html[data-theme="dark"] .jh-recipe-skin .jh-recipe-focus-nav [data-jh="focus-next"]:hover,
  html[data-theme="dark"] .jh-recipe-skin .jh-recipe-cookbar button:hover,
  html[data-theme="dark"] .jh-recipe-skin .jh-recipe-cookbar button.is-ghost:hover,
  html[data-theme="dark"] .jh-recipe-skin .jh-recipe-rail-cook-btn:hover{ color:var(--dark); }
  .jh-recipe-skin .jh-recipe-voice-btn:hover{ background:var(--jh-accent) !important; border-color:var(--jh-accent) !important; color:var(--paper) !important; }
  html[data-theme="dark"] .jh-recipe-skin .jh-recipe-voice-btn:hover{ color:var(--dark) !important; }
}
.jh-recipe-skin .jh-recipe-cookbar button:focus-visible,
.jh-recipe-skin .jh-recipe-rail-cook-btn:focus-visible{ outline:2px solid var(--jh-accent); outline-offset:3px; }
/* Read-aloud play/stop → DRAWN (was the ▷/▢ font glyphs) — currentColor so it
   tracks the pill's text (turmeric at rest, cream on hover/active). */
.jh-recipe-skin .jh-recipe-voice-btn::before{
  content:""; width:0; height:0; border-style:solid;
  border-width:.3rem 0 .3rem .5rem; border-color:transparent transparent transparent currentColor;
}
.jh-recipe-skin .jh-recipe-voice-btn.is-speaking::before{
  width:.5rem; height:.5rem; border:0; background:currentColor;
}

/* ── 3 · STEPPER — square + de-squashed; rail copy gets breathing room. */
.jh-recipe-skin .jh-recipe-stepper{ gap:var(--sp-3); }
.jh-recipe-skin .jh-recipe-stepper button{ border-radius:0; }
.jh-recipe-skin .jh-recipe-rail .jh-recipe-grp{ gap:var(--sp-4); }
.jh-recipe-skin .jh-recipe-rail .jh-recipe-stepper{ gap:var(--sp-3); }
.jh-recipe-skin .jh-recipe-rail .jh-recipe-stepper .jh-recipe-val{ padding-inline:var(--sp-1); }
/* the rail/cookbar stepper −/+ marks were drawn in --paper for the OLD dark bar
   (css:1566) → invisible on the new light surface. Flip to ink (light) / on-dark (dark). */
.jh-recipe-skin .jh-recipe-rail .jh-recipe-stepper [data-jh="serves-dn"],
.jh-recipe-skin .jh-recipe-cookbar .jh-recipe-stepper [data-jh="serves-dn"]{
  background-image:linear-gradient(var(--ink),var(--ink));
}
.jh-recipe-skin .jh-recipe-rail .jh-recipe-stepper [data-jh="serves-up"],
.jh-recipe-skin .jh-recipe-cookbar .jh-recipe-stepper [data-jh="serves-up"]{
  background-image:linear-gradient(var(--ink),var(--ink)),linear-gradient(var(--ink),var(--ink));
}
html[data-theme="dark"] .jh-recipe-skin .jh-recipe-rail .jh-recipe-stepper [data-jh="serves-dn"],
html[data-theme="dark"] .jh-recipe-skin .jh-recipe-cookbar .jh-recipe-stepper [data-jh="serves-dn"]{
  background-image:linear-gradient(var(--on-dark),var(--on-dark));
}
html[data-theme="dark"] .jh-recipe-skin .jh-recipe-rail .jh-recipe-stepper [data-jh="serves-up"],
html[data-theme="dark"] .jh-recipe-skin .jh-recipe-cookbar .jh-recipe-stepper [data-jh="serves-up"]{
  background-image:linear-gradient(var(--on-dark),var(--on-dark)),linear-gradient(var(--on-dark),var(--on-dark));
}

/* ── 4 · STEP TOOLS — bare at rest; the box returns only on the LIVE timer. */
.jh-recipe-skin .jh-recipe-timer{ border-color:transparent; padding-inline:0; }
.jh-recipe-skin .jh-recipe-timer.is-run{ border-color:var(--jh-accent); padding-inline:.8rem; }

/* ── 5 · TOAST — square + warm-paper card (JS moves the inline styles onto this
   class + adds role=status). Toast is a body child, so the selector is global. */
.jh-recipe-toast{
  position:fixed; left:50%; bottom:4.4rem; transform:translateX(-50%); z-index:75;
  background:rgba(247,242,232,.97); color:var(--ink);
  border:1px solid var(--line-2); border-radius:0;
  font-family:var(--mono); font-size:.68rem; letter-spacing:.1em; text-transform:uppercase;
  padding:.6rem 1.1rem; box-shadow:0 6px 24px -12px rgba(60,40,20,.30);
  opacity:0; transition:opacity .25s; pointer-events:none;
}
html[data-theme="dark"] .jh-recipe-toast{ background:rgba(23,20,16,.97); color:var(--on-dark); border-color:var(--line-2); }

/* ── THEME-SWITCH "fade through dark" veil (Finn 2026-06-22). The toggle was a
   flashy multi-speed snap (body faded, borders/panels/chrome hard-cut). JS now
   dips this warm near-black veil over everything, swaps the theme under cover,
   and fades it out → the page emerges in the new palette. Above all chrome
   (cookbar z62/64, focus z80, toast z75, lightbox). Reduced-motion = instant
   swap, veil never created. */
.jh-theme-veil{
  position:fixed; inset:0; z-index:200; background:#0F0D0A;
  opacity:0; pointer-events:none; will-change:opacity;
}
/* While the theme swaps UNDER the veil, freeze every transition + animation so the new
   palette paints instantly (no body/panel/chrome crossfade resolving as the veil lifts →
   no flicker on the return of content). Applied for ~2 frames, hidden behind the veil. */
html.jh-theme-frozen, html.jh-theme-frozen *, html.jh-theme-frozen *::before, html.jh-theme-frozen *::after{
  transition:none !important; animation:none !important;
}

/* ── STORY + SHORT-FORM VIDEO SIDECAR (Option A, design-critique 2026-06-22) ──
   The 9:16 short now sits BESIDE Farah's story prose so the tall frame has a column
   of text to balance against (was orphaned in its own band). 2-col on desktop
   (prose + sticky vertical sidecar), stacked on mobile. */
.jh-recipe-skin .jh-recipe-stand-wide{ max-width:var(--wide); margin-inline:auto; padding-inline:var(--gut); }
.jh-recipe-skin .jh-recipe-storygrid{ display:grid; grid-template-columns:minmax(0,1fr) minmax(236px,290px); gap:var(--sp-12); align-items:start; }
.jh-recipe-skin .jh-recipe-storytext{ max-width:var(--measure-prose); }
/* RUN 15 (Finn 2026-06-23): the story-section short was position:sticky, so on desktop it
   drifted/shifted relative to the prose as you scrolled past it. Finn wants it to sit still —
   make it static so the 9:16 short scrolls naturally alongside Farah's story text. */
.jh-recipe-skin .jh-recipe-storyaside{ position:static; }
.jh-recipe-skin .jh-recipe-storyaside .jh-recipe-short-frame{ aspect-ratio:9/16; background:var(--paper-3); border:1px solid var(--line-2); position:relative; cursor:pointer; overflow:hidden; }
.jh-recipe-skin .jh-recipe-storyaside .jh-recipe-short-frame img{ width:100%; height:100%; object-fit:cover; opacity:.92; }
.jh-recipe-skin .jh-recipe-shortcap{ font-family:var(--mono); font-size:.7rem; letter-spacing:.14em; text-transform:uppercase; color:var(--ink-soft); margin:var(--sp-3) 0 0; }
/* "tap to play" affordance — back the bare triangle with a dark disc so it reads
   as a control, not decoration (critique). Scoped to the short (the main player
   keeps its larger bare triangle). */
.jh-recipe-skin .jh-recipe-short-frame .jh-recipe-play::before{ content:""; position:absolute; width:60px; height:60px; border-radius:50%; background:rgba(20,16,12,.5); }
.jh-recipe-skin .jh-recipe-short-frame .jh-recipe-play::after{ position:relative; margin-left:5px; }
/* no-story fallback: centre the solo frame (was left-orphaned) */
.jh-recipe-skin .jh-recipe-short-solo{ max-width:290px; margin-inline:auto; }
.jh-recipe-skin .jh-recipe-short-solo .jh-recipe-short-frame{ aspect-ratio:9/16; background:var(--paper-3); border:1px solid var(--line-2); position:relative; cursor:pointer; overflow:hidden; }
.jh-recipe-skin .jh-recipe-short-solo .jh-recipe-short-frame img{ width:100%; height:100%; object-fit:cover; opacity:.92; }
@media (max-width:760px){
  /* mobile (66% of traffic): the sidecar concept collapses to a stack, so CENTRE the
     short + caption — a left-aligned 9:16 at <viewport width would re-create the orphan
     dead-space on the exact devices that matter most. */
  .jh-recipe-skin .jh-recipe-storygrid{ grid-template-columns:1fr; gap:var(--sp-8); }
  .jh-recipe-skin .jh-recipe-storyaside{ position:static; max-width:260px; margin-inline:auto; }
  .jh-recipe-skin .jh-recipe-shortcap{ text-align:center; }
}

