/* Racha Food print view (/<post>/?print=recipe). Loaded only by inc/print.php, never with style.css.
   Sizes in rem: html.pv-s|pv-m|pv-l = 14/16/19px scales the whole card (screen and paper).
   html.pv-no-img|desc|notes|nutri hide the matching section on screen and in print. */
@font-face{font-family:'DM Sans';font-style:normal;font-weight:400 700;font-display:swap;src:url(fonts/dm-sans-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Playfair Display';font-style:normal;font-weight:600;font-display:swap;src:url(fonts/playfair-display-600-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root{--rose:#C2416E;--rose-d:#A8335C;--blush:#FDEAF0;--line:#F3D6E0;--ink:#2B2226;--muted:#76666C;--head:'Playfair Display',Georgia,serif;--body:'DM Sans',system-ui,-apple-system,'Segoe UI',sans-serif}
*,*::before,*::after{box-sizing:border-box}
*{margin:0;padding:0}
html{font-size:16px;-webkit-text-size-adjust:100%}
html.pv-s{font-size:14px}
html.pv-m{font-size:16px}
html.pv-l{font-size:19px}
body{background:#fff;color:var(--ink);font:400 1rem/1.6 var(--body)}
a{color:inherit}
img,svg{display:block;max-width:100%}
img{height:auto}
button{font:inherit;color:inherit;cursor:pointer}
:focus-visible{outline:2px solid var(--rose);outline-offset:2px}

/* toolbar (screen only; fixed px so it does not grow with the text size) */
.pv-bar{position:sticky;top:0;z-index:5;background:#fff;border-bottom:1px solid var(--line);box-shadow:0 2px 14px rgba(43,34,38,.05)}
.pv-bar-in{max-width:1180px;margin:0 auto;padding:12px 24px;display:flex;flex-wrap:wrap;align-items:center;gap:12px 22px;font:500 14px/1.2 var(--body)}
.pv-print{display:inline-flex;align-items:center;gap:8px;background:var(--rose);color:#fff;border:1.5px solid var(--rose);border-radius:999px;padding:10px 20px;font:700 15px/1.2 var(--body);transition:background .15s}
.pv-print:hover{background:var(--rose-d);border-color:var(--rose-d)}
.pv-group{display:none;align-items:center;flex-wrap:wrap;gap:8px}
.js .pv-group{display:flex}
.pv-label{color:var(--muted);font-weight:600;font-size:13px}
.pv-chip{display:inline-flex;align-items:center;gap:6px;border:1.5px solid var(--line);background:#fff;border-radius:999px;padding:6px 12px 6px 7px;font-size:13.5px;font-weight:600;color:var(--muted);transition:background .15s,border-color .15s,color .15s}
.pv-tick{width:18px;height:18px;border-radius:50%;display:grid;place-items:center;border:1.5px solid var(--line);color:transparent;background:#fff}
.pv-chip[aria-pressed=true]{border-color:var(--rose);background:var(--blush);color:var(--ink)}
.pv-chip[aria-pressed=true] .pv-tick{background:var(--rose);border-color:var(--rose);color:#fff}
.pv-chip:hover{border-color:var(--rose)}
.pv-seg{display:inline-flex;border:1.5px solid var(--line);border-radius:999px;padding:2px;background:#fff}
.pv-seg button{border:0;background:none;border-radius:999px;padding:6px 13px;font-size:13.5px;font-weight:600;color:var(--muted)}
.pv-seg button[aria-pressed=true]{background:var(--rose);color:#fff}
.pv-seg button:not([aria-pressed=true]):hover{color:var(--rose)}
.pv-back{margin-left:auto;display:inline-flex;align-items:center;gap:6px;color:var(--rose);font-weight:600;text-decoration:none;white-space:nowrap}
.pv-back:hover{text-decoration:underline}
.pv-flip{transform:scaleX(-1)}

/* card */
.pv-wrap{max-width:860px;margin:0 auto;padding:28px 24px 60px}
.pv-card{border:1px solid var(--line);border-radius:22px;padding:2.2rem 2.4rem;background:#fff}
.pv-logo{display:flex;align-items:center;gap:.55rem;margin-bottom:1.2rem;font:600 1.05rem/1 var(--head);color:var(--ink)}
.pv-mark{width:2.1rem;height:2.1rem;flex:none}
.pv-top{display:flow-root;padding-bottom:1.1rem;border-bottom:1px solid var(--line)}
.pv-img{float:right;width:200px;max-width:38%;margin:0 0 1rem 1.6rem}
.pv-img img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:14px}
.pv-title{font:600 2.15rem/1.15 var(--head);color:var(--ink);margin-bottom:.6rem}
.pv-desc{font-style:italic;color:var(--muted);font-size:1.02rem;margin-bottom:.9rem}
.pv-meta{list-style:none;display:flex;flex-wrap:wrap;gap:.3rem 1.3rem;font-size:.9rem}
.pv-meta b{font-weight:700}
.pv-sep{color:var(--line);margin:0 .15rem}
.pv-cook{display:flex;align-items:flex-start;gap:.45rem;margin-top:.8rem;font-size:.88rem;color:var(--muted)}
.pv-cook svg{flex:none;margin-top:.15rem;color:var(--rose)}
.pv-sec{padding-top:1.3rem}
.pv-sec h2{font:600 1.45rem/1.2 var(--head);margin-bottom:.6rem}
.pv-sec h3{font:700 .8rem/1.3 var(--body);letter-spacing:.12em;text-transform:uppercase;color:var(--rose);margin:.9rem 0 .35rem}
.pv-ing-head{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-bottom:.2rem}
.pv-ing-head h2{margin-bottom:0}
.scale{display:inline-flex;border:1.5px solid var(--line);border-radius:999px;padding:2px}
.scale[hidden]{display:none}
.scale button{border:0;background:none;border-radius:999px;padding:5px 14px;font:700 13px/1.2 var(--body);color:var(--muted)}
.scale button[aria-pressed=true]{background:var(--rose);color:#fff}
.scale-note{margin-top:.6rem;font-size:.82rem;color:var(--muted);background:var(--blush);border-radius:10px;padding:.5rem .8rem}
.scale-note[hidden]{display:none}
.pv-ing ul,.pv-notes ul{padding-left:1.25rem}
.pv-ing li,.pv-notes li{margin:.22rem 0}
.pv-ing li::marker,.pv-notes li::marker{color:var(--rose)}
.pv-steps ol{padding-left:1.6rem}
.pv-steps li{margin:0 0 .6rem;padding-left:.2rem}
.pv-steps li::marker{font-weight:700;color:var(--rose)}
.pv-nut{display:flex;flex-wrap:wrap;gap:.2rem 1.1rem;font-size:.9rem}
.pv-small{font-size:.78rem;color:var(--muted);margin-top:.45rem}
.pv-src{margin-top:1.6rem;padding-top:.9rem;border-top:1px solid var(--line);font-size:.85rem;color:var(--muted)}
.pv-src a{color:var(--ink);word-break:break-all}

/* include toggles (screen preview + print) */
.pv-no-img .pv-img,.pv-no-desc .pv-desc,.pv-no-notes .pv-notes,.pv-no-nutri .pv-nutri{display:none!important}

@media (max-width:700px){
 .pv-bar{position:static}
 .pv-bar-in{padding:10px 16px;gap:10px 14px}
 .pv-back{margin-left:0}
 .pv-wrap{padding:16px 12px 40px}
 .pv-card{padding:1.4rem 1.2rem;border-radius:18px}
 .pv-img{width:120px;margin-left:1rem}
 .pv-title{font-size:1.75rem}
}

@media print{
 @page{margin:14mm}
 .pv-bar,.scale{display:none!important}
 body,.pv-title,.pv-sec h2,.pv-logo,.pv-src a{color:#000}
 .pv-desc,.pv-cook,.pv-small,.pv-src,.scale-note{color:#333}
 .pv-sec h3{color:#000}
 .pv-ing li::marker,.pv-notes li::marker,.pv-steps li::marker,.pv-cook svg{color:#000}
 .pv-wrap{max-width:none;padding:0}
 .pv-card{border:0;border-radius:0;padding:0}
 .pv-top,.pv-src{border-color:#bbb}
 .pv-sep{color:#999}
 .scale-note{background:none;padding:0}
 .pv-img img{border-radius:0}
 .pv-src a{text-decoration:none}
 .pv-sec h2,.pv-sec h3{break-after:avoid;page-break-after:avoid}
 body{line-height:1.45}
 .pv-logo{margin-bottom:.8rem}
 .pv-top{padding-bottom:.8rem}
 .pv-sec{padding-top:1rem}
 .pv-sec h2{margin-bottom:.4rem}
 .pv-sec h3{margin:.6rem 0 .2rem}
 .pv-ing li,.pv-notes li{margin:.1rem 0}
 .pv-steps li{margin-bottom:.4rem}
 .pv-src{margin-top:1rem;padding-top:.6rem;break-before:avoid;page-break-before:avoid}
 .pv-group-ing,.pv-ing li,.pv-steps li,.pv-notes li,.pv-nutri,.pv-meta{break-inside:avoid;page-break-inside:avoid}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important}}
