/* Portable defaults; the Cozy Forkful theme adds its journal design. */
:where(.cf-recipe-card){border:1px solid #b8c0ae;padding:2rem;margin:2rem 0;max-width:850px;background:#fffdf7;color:#30392c}
:where(.cf-times){display:flex;gap:2rem;margin:1rem 0}:where(.cf-times div){display:flex;flex-direction:column}:where(.cf-times small){font-weight:bold}:where(.cf-recipe-tools){display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}:where(.cf-serving-controls){display:flex;align-items:center;gap:.8rem}:where(.cf-serving-controls button,.cf-print){padding:.5rem 1rem;cursor:pointer}:where(.cf-ingredients){list-style:none;padding:0}:where(.cf-ingredients label){display:flex;gap:.6rem;align-items:baseline}:where(.cf-ingredients input:checked+span){text-decoration:line-through}:where(.cf-ingredients li,.cf-instructions li){margin:.8rem 0}:where(.cf-scaling-note){font-size:.8rem}:where(.cf-print-url){display:none}
:where(.cf-recipe-card){overflow-wrap:anywhere}:where(.cf-times){flex-wrap:wrap}:where(.cf-serving-controls button,.cf-print){min-width:44px;min-height:44px}:where(.cf-serving-controls button:disabled){cursor:default;opacity:.45}
.cf-recipe-card .cf-times{grid-template-columns:repeat(3,minmax(0,1fr))}.cf-recipe-card .cf-times>div{min-width:0}.cf-recipe-card .cf-recipe-tools{flex-wrap:wrap}
@media print{
  body.cf-printing-recipe > :not(.cf-print-ancestor):not(.cf-print-selected),
  body.cf-printing-recipe .cf-print-ancestor > :not(.cf-print-ancestor):not(.cf-print-selected){display:none!important}
  body.cf-printing-recipe .cf-print-ancestor{display:block!important;position:static!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
  body.cf-printing-recipe .cf-print-selected{display:block!important;position:static!important;border:0!important;padding:0!important;margin:0!important;max-width:none!important;background:white!important;color:black!important}
  :where(.cf-recipe-card){position:static;border:0;padding:0;margin:0;break-after:page}
  :where(.cf-print,.cf-serving-controls button,.cf-scaling-note){display:none!important}
  .cf-recipe-card .cf-print-url{display:block}
  :where(.cf-ingredients li,.cf-instructions li){break-inside:avoid}
  :where(.cf-ingredients input:checked+span){text-decoration:none;color:inherit}
}

/* Instruction checklists use native controls and also work without JavaScript. */
.cf-recipe-card .cf-instructions label{display:flex;align-items:flex-start;gap:.7rem;min-height:44px;cursor:pointer}
.cf-recipe-card .cf-step-toggle{width:17px;height:17px;margin:5px 0 0;flex-shrink:0;accent-color:var(--plum,#50354f)}
.cf-recipe-card .cf-step-text{min-width:0}
.cf-recipe-card .cf-step-toggle:checked+.cf-step-text{text-decoration:line-through;color:var(--muted,#6b5f6e)}
@media print{
  .cf-recipe-card .cf-step-toggle{display:none}
  .cf-recipe-card .cf-instructions label{display:block;min-height:0}
  .cf-recipe-card .cf-step-toggle:checked+.cf-step-text{text-decoration:none;color:black}
}

/* Cooking tools are progressively enhanced; checklists remain native controls. */
.cf-recipe-card .cf-visitor-tools[hidden],.cf-recipe-card .cf-copy-fallback[hidden],.cf-recipe-card .cf-step-timer[hidden]{display:none!important}
.cf-recipe-card .cf-visitor-tools{margin:1.25rem 0 1.8rem;padding:1rem;border:1px solid var(--line,#ddd3df);border-radius:10px;background:var(--paper,#fbf9fb)}
.cf-recipe-card .cf-visitor-actions{display:flex;flex-wrap:wrap;gap:.5rem}
.cf-recipe-card .cf-visitor-actions button,.cf-recipe-card .cf-close-copy,.cf-recipe-card .cf-step-timer button{border:1px solid var(--plum,#50354f);border-radius:5px;background:white;color:var(--ink,#392d3c);font:inherit;font-size:.875rem;line-height:1.25;min-height:44px;max-width:100%;padding:.65rem .8rem;cursor:pointer;overflow-wrap:anywhere}
.cf-recipe-card .cf-visitor-actions button[aria-pressed="true"]{background:var(--plum,#50354f);color:white}
.cf-recipe-card .cf-visitor-actions button:disabled{opacity:.65;cursor:default}
.cf-recipe-card .cf-progress-note,.cf-recipe-card .cf-visitor-status,.cf-recipe-card .cf-timer-note{font-family:var(--sans,system-ui,sans-serif);font-size:.8rem;line-height:1.55;color:var(--muted,#6b5f6e)}
.cf-recipe-card .cf-progress-note{margin:.8rem 0 0}
.cf-recipe-card .cf-visitor-status{margin:.5rem 0 0;font-weight:600;color:var(--ink,#392d3c)}
.cf-recipe-card .cf-visitor-status:empty{margin:0}
.cf-recipe-card .cf-copy-fallback{margin-top:1rem}
.cf-recipe-card .cf-copy-fallback label{display:block;font-size:.9rem;font-weight:600}
.cf-recipe-card .cf-copy-fallback textarea{display:block;box-sizing:border-box;width:100%;max-width:100%;min-height:150px;margin:.5rem 0;padding:.75rem;border:1px solid var(--plum,#50354f);background:white;color:var(--ink,#392d3c);font:16px/1.5 var(--sans,system-ui,sans-serif);resize:vertical}
.cf-recipe-card .cf-step-timer{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem;margin:.9rem 0 1.25rem 1.7rem;padding:.8rem;border:1px solid var(--line,#ddd3df);border-radius:6px;background:var(--paper,#fbf9fb);font-family:var(--sans,system-ui,sans-serif);line-height:1.4}
.cf-recipe-card .cf-timer-label{flex-basis:100%;font-size:.875rem;font-weight:700}
.cf-recipe-card .cf-timer-duration-label{display:block;min-height:0;gap:0;margin:0;font-size:.875rem}
.cf-recipe-card .cf-timer-minutes{box-sizing:border-box;width:85px;min-width:0;max-width:100%;min-height:44px;padding:.5rem;border:1px solid var(--muted,#6b5f6e);border-radius:4px;font:16px/1.3 var(--sans,system-ui,sans-serif);background:white;color:var(--ink,#392d3c)}
.cf-recipe-card .cf-timer-minutes:invalid{border-color:#9d233e}
.cf-recipe-card .cf-timer-remaining{font-size:1.15rem;line-height:1.4;font-weight:700;font-variant-numeric:tabular-nums;min-width:3.2em}
.cf-recipe-card .cf-timer-note{display:block;flex-basis:100%;margin-top:.25rem}
.cf-recipe-card .cf-timer-complete{border-color:var(--plum,#50354f);background:var(--lilac,#e8dfed)}
.cf-recipe-card.cf-cook-mode{box-shadow:0 0 0 3px var(--plum,#50354f);scroll-margin-top:1.5rem}
.cf-recipe-card.cf-cook-mode .cf-ingredients,.cf-recipe-card.cf-cook-mode .cf-instructions{font-size:clamp(1.1rem,2.1vw,1.35rem);line-height:1.7}
.cf-recipe-card.cf-cook-mode .cf-ingredients label,.cf-recipe-card.cf-cook-mode .cf-instructions label{min-height:44px}
.cf-recipe-card.cf-cook-mode .cf-ingredients input,.cf-recipe-card.cf-cook-mode .cf-step-toggle{width:22px;height:22px;flex-shrink:0;margin-top:.35rem}
@media(max-width:400px){.cf-recipe-card .cf-visitor-tools{padding:.7rem}.cf-recipe-card .cf-visitor-actions{display:grid;grid-template-columns:minmax(0,1fr)}.cf-recipe-card .cf-step-timer{margin-left:0;padding:.6rem}.cf-recipe-card .cf-timer-minutes{width:76px}}
@media print{.cf-recipe-card .cf-visitor-tools,.cf-recipe-card .cf-step-timer{display:none!important}.cf-recipe-card.cf-cook-mode{box-shadow:none}.cf-recipe-card.cf-cook-mode .cf-ingredients,.cf-recipe-card.cf-cook-mode .cf-instructions{font-size:inherit;line-height:inherit}}
.cf-recipe-card .cfr-pinterest{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;box-sizing:border-box;min-height:44px;max-width:100%;padding:.65rem .85rem;border:1px solid var(--plum,#50354f);border-radius:6px;background:white;color:var(--plum,#50354f);font:600 .875rem/1.3 var(--sans,system-ui,sans-serif);text-decoration:none}
.cf-recipe-card .cfr-pinterest svg{flex-shrink:0}
@media print{.cf-recipe-card .cfr-pinterest{display:none!important}}
