/* WCR Recipe Card Enhancer 1.0.0 */
:root{
	--wcr-rce-heading:"Newsreader",Georgia,"Times New Roman",serif;
	--wcr-rce-accent:#b4532a;
	--wcr-rce-accent-ink:#fff;
	--wcr-rce-ink:#1d1b18;
	--wcr-rce-muted:#6b655d;
	--wcr-rce-line:#e6e1d9;
	--wcr-rce-soft:#f8f6f2;
	--wcr-rce-radius:12px;
	--wcr-rce-shadow:0 1px 2px rgba(29,27,24,.05),0 6px 20px rgba(29,27,24,.06);
	--wcr-rce-bar-h:196px;
}
@media (min-width:360px){:root{--wcr-rce-bar-h:144px}}
@media (min-width:600px){:root{--wcr-rce-bar-h:118px}}

/* Reserve the toolbar's space before JS runs so the card does not jump */
.wcr-rce-js .wprm-recipe-container:not(.wcr-rce-ready)::before{content:"";display:block;height:var(--wcr-rce-bar-h);margin:0 0 16px;border-radius:var(--wcr-rce-radius);background:var(--wcr-rce-soft)}

/* Shared resets (beat theme button styles) */
.wcr-rce,.wcr-rce *{box-sizing:border-box}
.wcr-rce svg,.wprm-recipe-container .wcr-rce-tbtn svg,.wprm-recipe-container .wcr-rce-tick svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.wcr-rce button,.wprm-recipe-container .wcr-rce-tick,.wprm-recipe-container .wcr-rce-tbtn{-webkit-appearance:none;appearance:none;margin:0;font-family:inherit;text-transform:none;letter-spacing:normal;text-shadow:none;box-shadow:none;cursor:pointer;-webkit-tap-highlight-color:transparent}
.wcr-rce :focus-visible,.wprm-recipe-container .wcr-rce-tick:focus-visible,.wprm-recipe-container .wcr-rce-tbtn:focus-visible{outline:2px solid var(--wcr-rce-accent);outline-offset:2px}
.wcr-rce .wcr-rce-sr{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}

/* Toolbar */
.wcr-rce-bar{position:relative;display:flex;flex-wrap:wrap;align-items:center;align-content:center;gap:8px 12px;min-height:var(--wcr-rce-bar-h);margin:0 0 16px;padding:10px;background:#fff;border:1px solid var(--wcr-rce-line);border-radius:var(--wcr-rce-radius);box-shadow:var(--wcr-rce-shadow);color:var(--wcr-rce-ink);font-size:15px;line-height:1.2}
.wcr-rce-ga{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.wcr-rce-gb{display:flex;flex-wrap:wrap;align-items:center;gap:6px;flex-basis:100%;order:2}
.wcr-rce-bar .wcr-rce-note{flex:1 1 180px;order:1;margin:0;font-size:13px;line-height:18px;color:var(--wcr-rce-muted);text-align:right}
.wcr-rce-stepper{display:inline-flex;align-items:center;border:1px solid var(--wcr-rce-line);border-radius:999px;background:var(--wcr-rce-soft)}
.wcr-rce .wcr-rce-ib{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--wcr-rce-ink)}
.wcr-rce .wcr-rce-ib:hover{background:#fff;color:var(--wcr-rce-accent)}
.wcr-rce .wcr-rce-ib:disabled{color:#b3ada4;background:transparent;cursor:default}
.wcr-rce-sv{display:flex;flex-direction:column;align-items:center;min-width:52px;line-height:1}
.wcr-rce-svn{font:600 19px/1 var(--wcr-rce-heading);color:var(--wcr-rce-ink);font-variant-numeric:tabular-nums}
.wcr-rce-svl{margin-top:3px;font-size:11px;color:var(--wcr-rce-muted)}
.wcr-rce-chips{display:flex;gap:4px}
.wcr-rce .wcr-rce-chip,.wcr-rce .wcr-rce-seg button{min-width:44px;height:44px;padding:0 12px;border:1px solid var(--wcr-rce-line);border-radius:999px;background:#fff;color:var(--wcr-rce-ink);font-size:14px;font-weight:600;line-height:1}
.wcr-rce .wcr-rce-chip:hover,.wcr-rce .wcr-rce-seg button:hover{border-color:var(--wcr-rce-ink);background:#fff;color:var(--wcr-rce-ink)}
.wcr-rce-seg{display:inline-flex;border:1px solid var(--wcr-rce-line);border-radius:999px;background:var(--wcr-rce-soft)}
.wcr-rce .wcr-rce-seg button{height:42px;min-width:54px;border:0;background:transparent}
.wcr-rce .wcr-rce-chip[aria-pressed="true"],.wcr-rce .wcr-rce-seg button[aria-pressed="true"],.wcr-rce .wcr-rce-chip[aria-pressed="true"]:hover,.wcr-rce .wcr-rce-seg button[aria-pressed="true"]:hover{background:var(--wcr-rce-accent);border-color:var(--wcr-rce-accent);color:var(--wcr-rce-accent-ink)}
.wcr-rce .wcr-rce-tool{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 14px;border:1px solid var(--wcr-rce-line);border-radius:999px;background:#fff;color:var(--wcr-rce-ink)!important;font-size:14px;font-weight:600;line-height:1.1;text-decoration:none!important;white-space:nowrap}
.wcr-rce .wcr-rce-tool:hover{border-color:var(--wcr-rce-ink);background:var(--wcr-rce-soft)}
.wcr-rce-sw{position:relative;width:32px;height:18px;border-radius:999px;background:#8a847b;transition:background .2s}
.wcr-rce-sw::after{content:"";position:absolute;top:2px;left:2px;width:14px;height:14px;border-radius:50%;background:#fff;transition:transform .2s}
.wcr-rce [aria-checked="true"] .wcr-rce-sw{background:var(--wcr-rce-accent)}
.wcr-rce [aria-checked="true"] .wcr-rce-sw::after{transform:translateX(14px)}
@media (max-width:599px){
	.wcr-rce-bar .wcr-rce-note{order:3;flex-basis:100%;text-align:left}
	.wcr-rce-gb{justify-content:space-between}
	.wcr-rce .wcr-rce-tool{flex-direction:column;gap:3px;min-width:52px;padding:4px 10px;border-radius:10px;font-size:11px}
	.wcr-rce .wcr-rce-tool svg{width:16px;height:16px}
	.wcr-rce .wcr-rce-tool .wcr-rce-sw{width:28px;height:16px}
	.wcr-rce .wcr-rce-tool .wcr-rce-sw::after{width:12px;height:12px}
	.wcr-rce .wcr-rce-wide{display:none}
}

/* Checklists */
.wcr-rce-checks .wprm-recipe-ingredient{position:relative;list-style:none!important;padding-left:34px!important;cursor:pointer}
.wcr-rce-checks .wprm-recipe-instruction{position:relative;padding-right:40px!important;cursor:pointer}
.wprm-recipe-container .wcr-rce-tick{position:absolute;top:0;left:0;display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;padding:0;border:1.5px solid #8a847b;border-radius:50%;background:#fff;color:transparent}
.wprm-recipe-container .wcr-rce-tick::before{content:"";position:absolute;inset:-10px}
.wprm-recipe-container .wcr-rce-tick svg{width:14px;height:14px;stroke-width:3}
.wprm-recipe-container .wcr-rce-tick:hover{border-color:var(--wcr-rce-accent);background:#fff}
.wcr-rce-checks .wprm-recipe-instruction>.wcr-rce-tick{left:auto;right:0}
.wprm-recipe-container .wcr-rce-tick[aria-pressed="true"]{border-color:var(--wcr-rce-accent);background:var(--wcr-rce-accent);color:var(--wcr-rce-accent-ink)}
.wcr-rce-done,.wcr-rce-done *:not(.wcr-rce-tick):not(.wcr-rce-tick *){color:var(--wcr-rce-muted)!important}
.wprm-recipe-ingredient.wcr-rce-done{text-decoration:line-through;text-decoration-thickness:1px}

/* Inline step timers */
.wprm-recipe-container .wcr-rce-tbtn{position:relative;display:inline-flex;align-items:center;gap:4px;margin:0 1px;padding:1px 8px;border:1px solid #edcfc1;border:1px solid color-mix(in srgb,var(--wcr-rce-accent) 30%,#fff);border-radius:999px;background:#fbf1ec;background:color-mix(in srgb,var(--wcr-rce-accent) 9%,#fff);color:#8f3f1f;color:color-mix(in srgb,var(--wcr-rce-accent) 78%,#000);font:inherit;font-weight:600;line-height:inherit;vertical-align:baseline}
.wprm-recipe-container .wcr-rce-tbtn::before{content:"";position:absolute;inset:-8px -2px}
.wprm-recipe-container .wcr-rce-tbtn svg{width:15px;height:15px}
.wprm-recipe-container .wcr-rce-tbtn:hover{background:#fff}

/* Timer bar */
.wcr-rce-timers{margin:12px 0 16px;padding:8px;background:#fff;border:1px solid var(--wcr-rce-line);border-radius:var(--wcr-rce-radius);box-shadow:var(--wcr-rce-shadow)}
.wcr-rce-timers[hidden]{display:none}
.wcr-rce-tlist{display:flex;flex-direction:column;gap:6px}
.wcr-rce-timer{display:flex;align-items:center;gap:6px;padding:0 0 0 12px;border-radius:10px;background:var(--wcr-rce-soft);color:var(--wcr-rce-ink)}
.wcr-rce-tl{flex:1;min-width:0;overflow:hidden;font-size:14px;text-overflow:ellipsis;white-space:nowrap}
.wcr-rce-tt{min-width:4.5ch;font:600 20px/1 var(--wcr-rce-heading);font-variant-numeric:tabular-nums;text-align:right}
.wcr-rce-timer.is-paused .wcr-rce-tt{color:var(--wcr-rce-muted)}
.wcr-rce-timer.is-done{background:var(--wcr-rce-accent);color:var(--wcr-rce-accent-ink);animation:wcr-rce-pulse 1s ease-in-out 3}
.wcr-rce .wcr-rce-timer.is-done .wcr-rce-ib{color:var(--wcr-rce-accent-ink)}
.wcr-rce .wcr-rce-timer.is-done .wcr-rce-ib:hover{background:rgba(255,255,255,.18)}
@keyframes wcr-rce-pulse{50%{transform:scale(1.015)}}

/* Nutrition facts */
.wcr-rce-nfw{margin:24px 0}
.wcr-rce-nf{max-width:320px;padding:6px 8px 8px;background:#fff;border:1px solid #1d1b18;color:#1d1b18;font-size:14px;line-height:1.35}
.wcr-rce-nf p{margin:0}
.wcr-rce-nf .wcr-rce-nf-t{margin:0 0 2px;font-size:32px;font-weight:800;line-height:1.05;letter-spacing:-.01em}
.wcr-rce-nf-s{padding-top:2px;border-top:1px solid #1d1b18}
.wcr-rce-nf-ss{display:flex;justify-content:space-between;gap:8px;font-size:16px;font-weight:800}
.wcr-rce-nf-b10{height:10px;margin:3px 0 2px;background:#1d1b18}
.wcr-rce-nf-b5{height:5px;margin:3px 0 2px;background:#1d1b18}
.wcr-rce-nf-aps{font-size:12px;font-weight:800}
.wcr-rce-nf-cal{display:flex;justify-content:space-between;align-items:baseline;font-size:26px;font-weight:800;line-height:1.1}
.wcr-rce-nf-cal span+span{font-size:32px}
.wcr-rce-nf-dvh{padding:2px 0;border-bottom:1px solid #1d1b18;font-size:12px;font-weight:700;text-align:right}
.wcr-rce-nf-r{display:flex;justify-content:space-between;gap:8px;padding:2px 0;border-bottom:1px solid #1d1b18}
.wcr-rce-nf-r.wcr-rce-nf-i{padding-left:16px}
.wcr-rce-nf-fn{padding-top:6px;border-top:5px solid #1d1b18;font-size:11px;line-height:1.35}
.wcr-rce-nf-b10+.wcr-rce-nf-r,.wcr-rce-nf .wcr-rce-nf-r:last-of-type{border-bottom:0}

/* Reference table + FAQ (below the post; leaves room for ads above and below) */
.wcr-rce-extras{display:flex;flex-direction:column;gap:40px;margin:48px 0;color:var(--wcr-rce-ink)}
.wcr-rce-extras h2{margin:0 0 16px;font-family:var(--wcr-rce-heading);font-size:clamp(24px,3vw,30px);line-height:1.2;color:var(--wcr-rce-ink)}
.wcr-rce-tablewrap{overflow-x:auto;border:1px solid var(--wcr-rce-line);border-radius:var(--wcr-rce-radius);box-shadow:var(--wcr-rce-shadow);background:#fff}
.wcr-rce-extras .wcr-rce-table{width:100%;margin:0;border:0;border-collapse:collapse;font-size:15px}
.wcr-rce-extras .wcr-rce-table th,.wcr-rce-extras .wcr-rce-table td{padding:12px 16px;border:0;border-top:1px solid var(--wcr-rce-line);text-align:left;vertical-align:top}
.wcr-rce-extras .wcr-rce-table thead th{border-top:0;background:var(--wcr-rce-soft);font-weight:600}
.wcr-rce-extras .wcr-rce-table tbody tr:first-child td{border-top:0}
.wcr-rce-extras .wcr-rce-table thead+tbody tr:first-child td{border-top:1px solid var(--wcr-rce-line)}
.wcr-rce-faq details{border-bottom:1px solid var(--wcr-rce-line)}
.wcr-rce-faq details:first-of-type{border-top:1px solid var(--wcr-rce-line)}
.wcr-rce-faq summary{position:relative;min-height:44px;padding:14px 36px 14px 0;font-weight:600;cursor:pointer;list-style:none}
.wcr-rce-faq summary::-webkit-details-marker{display:none}
.wcr-rce-faq summary::after{content:"+";position:absolute;right:4px;top:50%;transform:translateY(-50%);font-size:22px;font-weight:400;color:var(--wcr-rce-accent)}
.wcr-rce-faq details[open] summary::after{content:"\2212"}
.wcr-rce-faq summary:focus-visible{outline:2px solid var(--wcr-rce-accent);outline-offset:2px}
.wcr-rce-faq details p{margin:0 0 16px;color:var(--wcr-rce-ink);line-height:1.65}

@media (prefers-reduced-motion:reduce){.wcr-rce *,.wcr-rce *::after{transition:none!important;animation:none!important}}

/* Print: when the card is scaled or converted, print only that card as shown */
@media print{
	body.wcr-rce-printing :not(.wcr-rce-pp):not(.wcr-rce-pt):not(.wcr-rce-pt *){display:none!important}
	body.wcr-rce-printing .wcr-rce-pp{margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;float:none!important;width:auto!important;max-width:none!important;background:none!important}
	.wcr-rce-bar,.wcr-rce-timers,.wcr-rce-tick,.wcr-rce-pt .wprm-recipe-link,.wcr-rce-pt .wprm-recipe-pin,.wcr-rce-pt .wprm-recipe-print{display:none!important}
	.wcr-rce-checks .wprm-recipe-ingredient{padding-left:0!important}
	.wcr-rce-checks .wprm-recipe-instruction{padding-right:0!important}
	.wcr-rce-done,.wcr-rce-done *{color:inherit!important;text-decoration:none!important}
	.wprm-recipe-container .wcr-rce-tbtn{padding:0;border:0;background:none;color:inherit;font-weight:inherit}
	.wprm-recipe-container .wcr-rce-tbtn svg{display:none}
	.wcr-rce-nf{break-inside:avoid}
}
