/* The book always previews as paper, including when Sprig uses dark mode. */
.cookbook-reader{--book-ink:#234331;--book-muted:#586c57;--book-line:#d8dfd0;--book-soft:#eef2e7;--book-warm:#e9b68b;--book-cover:#f4f5eb;box-sizing:border-box;min-height:100vh;padding:26px 24px 60px;background:#e9ece2;color:#234331;color-scheme:light;font:16px/1.65 Georgia,'Times New Roman',serif}
.cookbook-reader *{box-sizing:border-box}
.cookbook-reader :where(p,li,dd,strong,small,span){color:inherit}
.cookbook-reader h1,.cookbook-reader h2,.cookbook-reader h3{background:transparent;color:var(--book-ink);font-family:Georgia,'Times New Roman',serif;font-weight:400;letter-spacing:-.035em;overflow-wrap:anywhere}
.cookbook-reader p,.cookbook-reader li,.cookbook-reader dd,.cookbook-reader strong,.cookbook-reader small{overflow-wrap:anywhere}
.cookbook-reader-toolbar{max-width:900px;margin:0 auto 16px;display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;font:13px/1.4 system-ui,sans-serif;color:#39533d}
.cookbook-reader-toolbar>div{display:flex;gap:9px;flex-wrap:wrap}
.cookbook-reader-toolbar button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:11px 15px;border:1px solid #b8c9b1;border-radius:10px;background:#fffef8;color:#294b34;font:700 12px/1.4 system-ui,sans-serif;cursor:pointer;white-space:normal}
.cookbook-reader-toolbar button:hover{background:#f3f0e4}
.cookbook-reader-toolbar .cookbook-print-button{background:#234b34;border-color:#234b34;color:#fffdf5}
.cookbook-reader-toolbar .cookbook-print-button:hover{background:#315d40}
.cookbook-reader-toolbar button:disabled{opacity:.5;cursor:not-allowed}
.cookbook-reader a:focus-visible,.cookbook-reader button:focus-visible{outline:3px solid #b57a52;outline-offset:4px}
.cookbook-reader-help{max-width:900px;margin:0 auto 22px;font:13px/1.65 system-ui,sans-serif;color:#52664e}
.cookbook-pages{max-width:900px;margin:0 auto;display:grid;gap:26px}
.cookbook-theme-apricot{--book-ink:#4c3b2a;--book-muted:#6d604a;--book-line:#e4d7c6;--book-soft:#fbf1e4;--book-cover:#fbf1e3;--book-warm:#dfa271}
.cookbook-paper{width:100%;min-width:0;margin:0;background:#fffef9;border:1px solid #d5ddcd;border-radius:8px;box-shadow:0 10px 35px #253f2810;padding:clamp(28px,6.5vw,66px);color:var(--book-ink)}
.cookbook-print-cover{min-height:780px;padding:42px 56px 45px;background:var(--book-cover);display:flex;flex-direction:column;border:1px solid var(--book-line);box-shadow:inset 5px 0 var(--book-warm),0 10px 35px #253f2810}
.cookbook-cover-top{display:flex;align-items:center;justify-content:space-between;gap:25px;padding-bottom:25px;border-bottom:1px solid var(--book-line)}
.cookbook-wordmark{font:400 34px/1 Georgia,'Times New Roman',serif;letter-spacing:-.06em;color:var(--book-ink)}
.cookbook-wordmark>span{color:#b4774f}
.cookbook-cover-top>span:last-child{max-width:160px;font:700 9px/1.6 system-ui,sans-serif;letter-spacing:.17em;color:var(--book-muted);text-align:right}
.cookbook-cover-main{flex:1;padding:30px 0 42px}
.cookbook-cover-sprig{width:132px;height:122px;color:#4c7250;margin:0 0 25px}
.cookbook-cover-sprig>svg{display:block;width:100%;height:100%}
.cookbook-cover-recipient{margin:0 0 15px;font:italic 20px/1.45 Georgia,'Times New Roman',serif;color:var(--book-muted)}
.cookbook-print-cover h1{font-size:clamp(42px,6.3vw,68px);line-height:1.05;margin:0;max-width:13ch}
.cookbook-cover-compact h1{font-size:clamp(36px,5.5vw,56px);max-width:17ch}
.cookbook-cover-subtitle{max-width:30em;margin:22px 0 0;font-size:20px;line-height:1.6;color:var(--book-muted)}
.cookbook-cover-bottom{border-top:1px solid var(--book-line);padding-top:25px;display:flex;justify-content:space-between;gap:30px;font:14px/1.6 system-ui,sans-serif}
.cookbook-cover-bottom p{margin:0;max-width:65%;font-weight:650}
.cookbook-cover-bottom p>span{display:block;margin-bottom:4px;font-size:11px;font-weight:400;color:var(--book-muted)}
.cookbook-cover-bottom>span{flex-shrink:0;text-align:right;color:var(--book-muted);font-size:11px}
.cookbook-section-kicker{font:700 10px/1.5 system-ui,sans-serif;color:var(--book-muted);letter-spacing:.14em;margin-bottom:18px}
.cookbook-paper>h2{font-size:38px;line-height:1.15;margin:0 0 24px}
.cookbook-dedication{padding-top:70px;padding-bottom:70px}
.cookbook-dedication-copy{white-space:pre-wrap;font:20px/1.85 Georgia,'Times New Roman',serif;color:var(--book-ink);overflow-wrap:anywhere}
.cookbook-dedication-signature{font-style:italic;font-size:21px;margin:30px 0 0;color:var(--book-muted)}
.cookbook-contents-intro{margin:0 0 26px;font:13px/1.65 system-ui,sans-serif;color:var(--book-muted)}
.cookbook-contents-list{list-style:none;padding:0;margin:0}
.cookbook-contents-list>li{padding:0;border-top:1px solid var(--book-line);break-inside:avoid}
.cookbook-contents-list>li:last-child{border-bottom:1px solid var(--book-line)}
.cookbook-contents-list a{display:grid;grid-template-columns:35px minmax(0,1fr) 20px;align-items:start;gap:16px;padding:17px 0;color:var(--book-ink);text-decoration:none}
.cookbook-contents-list a:hover strong{text-decoration:underline;text-underline-offset:4px}
.cookbook-contents-number{font:700 12px/1.6 system-ui,sans-serif;color:var(--book-muted);padding-top:3px}
.cookbook-contents-list strong{display:block;font:400 23px/1.25 Georgia,'Times New Roman',serif;letter-spacing:-.025em}
.cookbook-contents-list small{display:block;margin-top:5px;font:12px/1.5 system-ui,sans-serif;color:var(--book-muted)}
.cookbook-contents-arrow{font-size:16px;color:var(--book-muted)}
.cookbook-recipe-kicker{display:flex;align-items:center;justify-content:space-between;gap:18px;font:700 10px/1.5 system-ui,sans-serif;color:var(--book-muted);letter-spacing:.11em;text-transform:uppercase}
.cookbook-recipe-heading h2{font-size:clamp(29px,4.8vw,43px);line-height:1.12;margin:20px 0 13px}
.cookbook-recipe-subtitle{margin:0 0 16px;font-style:italic;font-size:17px;line-height:1.6;color:var(--book-muted)}
.cookbook-recipe-credit{margin:0;font:12px/1.65 system-ui,sans-serif;color:var(--book-muted)}
.cookbook-recipe-credit p{margin:0}
.cookbook-recipe-credit p:first-child{color:var(--book-ink);font-weight:650;margin-bottom:3px}
.cookbook-recipe-credit p:first-child>span{font-weight:400;color:var(--book-muted)}
.cookbook-recipe-photo{margin:26px 0 0;border:1px solid var(--book-line);border-radius:8px;background:var(--book-soft);padding:14px}
.cookbook-recipe-photo img{display:block;max-height:260px;width:100%;object-fit:contain}
.cookbook-recipe-meta{display:flex;flex-wrap:wrap;gap:12px 36px;padding:17px 0;margin:26px 0 10px;border-block:1px solid var(--book-line);font:13px/1.6 system-ui,sans-serif}
.cookbook-recipe-meta>div{min-width:70px}
.cookbook-recipe-meta dt{font-weight:700;color:var(--book-ink)}
.cookbook-recipe-meta dd{margin:2px 0 0;color:var(--book-muted)}
.cookbook-time-note{font:11px/1.65 system-ui,sans-serif;color:var(--book-muted);margin:0 0 20px}
.cookbook-recipe-description{white-space:pre-wrap;margin:20px 0;font-size:16px;line-height:1.75;color:var(--book-ink)}
.cookbook-recipe-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.65fr);gap:36px;margin-top:29px}
.cookbook-recipe h3{font-size:25px;line-height:1.25;margin:0 0 16px}
.cookbook-ingredients{list-style:none;padding:0;margin:0;font-size:15px;line-height:1.6}
.cookbook-ingredients>li{border-bottom:1px solid var(--book-line);padding:9px 0;break-inside:avoid}
.cookbook-ingredients>li>span{display:block}
.cookbook-ingredients small{display:block;font:11px/1.6 system-ui,sans-serif;color:var(--book-muted);margin-top:4px}
.cookbook-method{padding-left:22px;margin:0;font-size:15px;line-height:1.8}
.cookbook-method>li{padding:0 0 19px 8px;break-inside:avoid;white-space:pre-wrap}
.cookbook-method>li::marker{font:700 13px/1.6 system-ui,sans-serif;color:#5b7556}
.cookbook-recipe-note{margin-top:26px;padding:22px 0 0;border-top:1px solid var(--book-line)}
.cookbook-recipe-note p{white-space:pre-wrap;margin:0;font-size:15px;line-height:1.8}
.cookbook-recipe-footer{display:flex;justify-content:space-between;gap:18px;margin-top:32px;padding-top:13px;border-top:1px solid var(--book-line);font:10px/1.6 system-ui,sans-serif;color:var(--book-muted)}
.cookbook-colophon{padding-top:55px;padding-bottom:55px}
.cookbook-colophon h2{font-size:35px;margin-top:25px;margin-bottom:24px}
.cookbook-colophon p{font:13px/1.8 system-ui,sans-serif;max-width:62ch;color:var(--book-muted);margin:0 0 16px}
.cookbook-reader-empty h1{font-size:34px;line-height:1.2}
@media(max-width:620px){.cookbook-reader{padding:17px 14px 35px}.cookbook-reader-toolbar{font-size:12px}.cookbook-reader-toolbar>div{width:100%}.cookbook-reader-toolbar>div>button{flex:1}.cookbook-reader-toolbar button{padding:10px 12px}.cookbook-reader-help{font-size:12px}.cookbook-pages{gap:18px}.cookbook-paper{padding:28px 24px}.cookbook-print-cover{min-height:650px;padding:29px 26px 31px}.cookbook-cover-main{padding-top:28px}.cookbook-cover-top{gap:15px}.cookbook-cover-top>span:last-child{max-width:130px;font-size:8px}.cookbook-wordmark{font-size:30px}.cookbook-cover-sprig{width:105px;height:94px}.cookbook-print-cover h1{font-size:43px}.cookbook-cover-subtitle{font-size:17px}.cookbook-cover-recipient{font-size:18px}.cookbook-cover-bottom{gap:15px;font-size:12px}.cookbook-paper>h2{font-size:32px}.cookbook-dedication-copy{font-size:17px;line-height:1.8}.cookbook-recipe-columns{grid-template-columns:1fr;gap:28px}.cookbook-contents-list a{grid-template-columns:27px minmax(0,1fr) 14px;gap:10px}.cookbook-contents-list strong{font-size:21px}.cookbook-recipe-meta{gap:12px 25px}.cookbook-recipe-footer{flex-wrap:wrap}.cookbook-colophon h2{font-size:31px}}
@media print{
  body:has(.cookbook-reader){margin:0!important;background:#fff!important;color-scheme:light!important}
  body:has(.cookbook-reader) #toast{display:none!important}
  .cookbook-reader{min-height:0;margin:0;padding:0;background:#fff!important;color:#182d20;font-size:11pt;line-height:1.5}
  .cookbook-reader-toolbar,.cookbook-reader-help{display:none!important}
  .cookbook-pages{display:block;max-width:none;margin:0;--book-cover:#fff;--book-soft:#fff}
  .cookbook-paper{max-width:none;padding:0;border:0;border-radius:0;box-shadow:none;background:#fff!important;color:var(--book-ink)}
  .cookbook-print-cover{min-height:220mm;break-after:page;padding:3mm 2mm 5mm;box-shadow:none;background:#fff!important}
  .cookbook-cover-top{padding-bottom:8mm}
  .cookbook-cover-top>span:last-child{font-size:8pt}
  .cookbook-wordmark{font-size:26pt}
  .cookbook-cover-main{padding:12mm 0 17mm}
  .cookbook-cover-sprig{width:31mm;height:29mm;margin-bottom:10mm}
  .cookbook-print-cover h1{font-size:40pt;line-height:1.08;max-width:14ch}
  .cookbook-cover-recipient{font-size:15pt;margin-bottom:6mm}
  .cookbook-cover-subtitle{font-size:15pt;margin-top:8mm;line-height:1.55}
  .cookbook-cover-bottom{font-size:11pt;padding-top:7mm}
  .cookbook-cover-bottom>span,.cookbook-cover-bottom p>span{font-size:9pt}
  .cookbook-cover-compact .cookbook-cover-top{padding-bottom:5mm}
  .cookbook-cover-compact .cookbook-cover-main{padding:8mm 0 12mm}
  .cookbook-cover-compact .cookbook-cover-sprig{width:22mm;height:20mm;margin-bottom:7mm}
  .cookbook-cover-compact h1{font-size:30pt;max-width:21ch}
  .cookbook-cover-compact .cookbook-cover-recipient{font-size:13pt;line-height:1.4;margin-bottom:5mm}
  .cookbook-cover-compact .cookbook-cover-subtitle{font-size:12pt;line-height:1.5;margin-top:6mm}
  .cookbook-dedication{break-before:page;break-after:page;padding:12mm 0}
  .cookbook-paper>h2{font-size:27pt;line-height:1.15;margin-bottom:8mm}
  .cookbook-section-kicker{font-size:8pt;margin-bottom:6mm}
  .cookbook-dedication-copy{font-size:13pt;line-height:1.8}
  .cookbook-dedication-signature{font-size:14pt}
  .cookbook-contents{break-before:page;break-after:page}
  .cookbook-contents-intro{font-size:10pt;line-height:1.6;margin-bottom:8mm}
  .cookbook-contents-list a{grid-template-columns:10mm minmax(0,1fr);gap:4mm;padding:4mm 0;color:var(--book-ink)}
  .cookbook-contents-list strong{font-size:15pt;line-height:1.3}
  .cookbook-contents-list small{font-size:9pt}
  .cookbook-contents-number{font-size:9pt}
  .cookbook-contents-arrow{display:none}
  .cookbook-recipe{break-before:page}
  .cookbook-recipe-kicker{font-size:8pt}
  .cookbook-recipe-heading{break-after:avoid}
  .cookbook-recipe-heading h2{font-size:26pt;line-height:1.12;margin:5mm 0 4mm}
  .cookbook-recipe-subtitle{font-size:11pt;line-height:1.5;margin-bottom:4mm}
  .cookbook-recipe-credit{font-size:9pt;line-height:1.6}
  .cookbook-recipe-photo{break-inside:avoid;padding:3mm;margin-top:6mm;border-radius:0;background:#fff}
  .cookbook-recipe-photo img{max-height:42mm}
  .cookbook-recipe-meta{margin:6mm 0 2mm;padding:3mm 0;gap:4mm 12mm;font-size:10pt;break-inside:avoid}
  .cookbook-time-note{font-size:8pt;margin-bottom:5mm}
  .cookbook-recipe-description{font-size:11pt;line-height:1.65;margin:5mm 0}
  .cookbook-recipe-columns{display:block;margin-top:6mm}
  .cookbook-recipe-columns>section+section{margin-top:7mm}
  .cookbook-recipe h3{font-size:17pt;margin:0 0 4mm;break-after:avoid}
  .cookbook-ingredients{font-size:10.5pt;line-height:1.5}
  .cookbook-ingredients>li{padding:1.5mm 0}
  .cookbook-ingredients small{font-size:9pt}
  .cookbook-method{font-size:11pt;line-height:1.65}
  .cookbook-method>li{padding-bottom:4mm;orphans:3;widows:3}
  .cookbook-method>li::marker{font-size:10pt}
  .cookbook-recipe-note{margin-top:6mm;padding-top:5mm}
  .cookbook-recipe-note p{font-size:10.5pt;line-height:1.7}
  .cookbook-recipe-footer{font-size:8pt;margin-top:7mm;padding-top:3mm;break-inside:avoid}
  .cookbook-colophon{break-before:page;padding-top:12mm}
  .cookbook-colophon h2{font-size:27pt;margin-top:8mm}
  .cookbook-colophon p{font-size:10pt;line-height:1.8}
}
/* Stencils print as vector line art; frames stay inside the printable cover. */
.cookbook-print-cover {position:relative;isolation:isolate}
.cookbook-print-cover.cookbook-motif-frame:before,.cookbook-print-cover.cookbook-motif-frame:after {content:'';position:absolute;inset:16px;pointer-events:none;border:1px solid var(--book-line);z-index:-1}
.cookbook-print-cover.cookbook-motif-frame:after {inset:22px;border-color:var(--book-warm);opacity:.65}
.cookbook-motif-wheat .cookbook-cover-sprig {color:var(--book-ink)}
.cookbook-motif-frame .cookbook-cover-sprig {color:var(--book-ink)}
@media(max-width:620px){.cookbook-print-cover.cookbook-motif-frame:before {inset:10px}.cookbook-print-cover.cookbook-motif-frame:after {inset:15px}}
@media print {.cookbook-print-cover.cookbook-motif-frame:before {inset:0}.cookbook-print-cover.cookbook-motif-frame:after {inset:1.5mm}.cookbook-print-cover.cookbook-motif-frame {padding:5mm}}
