/* Shared botanical journal identity. Keeps search, card anchors and compact navigation. */
body.journal-site { --paper:#faf8f0; --white:#fffdf7; --ink:#183e38; --green:#244732; --cobalt:#355b47; --lime:#e7dfc0; --line:#c8b990; --muted:#52665d; max-width:1600px; margin:12px auto; background-color:var(--paper); background-image:repeating-linear-gradient(97deg,#a28d5805 0,#a28d5805 1px,transparent 1px,transparent 5px); color:var(--ink); border:1px solid #c7b78e; box-shadow:0 3px 18px #33433812; }
.journal-site .wrap { width:min(1400px,calc(100% - 80px)); }
.journal-site .navigation-shell { background:#faf8f0; border-bottom:3px double #b79a5170; isolation:isolate; }
.journal-site .brand { font:small-caps 1.65rem/1.1 Georgia,serif; letter-spacing:0; }
.journal-site .brand-mark { background:#344c35; color:#f3e6b8; border:3px double #bda268; border-radius:1px; }
.journal-site .page-tabs a { border-radius:0; }
.journal-site .page-tabs a[aria-current=page] { border-color:#b99a5790; border-bottom-color:#8e743a; background:#fffdf7; }
.journal-site :is(.primary-link,.document-link) { border-radius:2px; }
.journal-site .primary-link { border:3px double #bfa265; }
.journal-site :is(a,button,summary,input,select):focus-visible { outline:3px solid #9b742d; }
.journal-site :is(.notebook-intro,.reference-section>.section-heading,.resource-section>.section-heading,.preparation-section>.wrap>.section-heading) { position:relative; }
.journal-site :is(.reference-section>.section-heading,.resource-section>.section-heading,.preparation-section>.wrap>.section-heading) { padding:25px 130px 25px 0; border-bottom:3px double #b79a5166; }
.journal-site :is(.reference-section>.section-heading,.resource-section>.section-heading,.preparation-section>.wrap>.section-heading)::after { content:""; position:absolute; right:-6px; top:0; width:112px; height:145px; background:url('/preview/reading/journal-frame.webp') right top/218px 145px no-repeat; pointer-events:none; }
.journal-site .notebook-intro { padding:38px 0 28px; }
.journal-site .hero-art { border:4px double #b79a51; padding:10px; background:#fffdf7; box-shadow:4px 5px 0 #a7915c10; }
.journal-site .hero-art img { border-radius:0; }
.journal-site .hero-secondary { border-top:3px double #b99a5760; }
.journal-site .browse-tools { border:4px double #b99a57; border-radius:1px; background:#fffdf7; box-shadow:0 3px 10px #8570430a; }
.journal-site .search-control input,.journal-site .filter-fields select,.journal-site .browse-filters>summary { border-radius:2px; }
.journal-site :is(.az-index,.bible-index,.reading-note,.category-links a) { border-radius:1px; border-color:#c5b489; }
.journal-site .bible-index { background:#f2eee1; }
.journal-site .group-heading { padding-bottom:14px; border-bottom:3px double #b99a5766; }
.journal-site .group-heading::after { content:""; width:105px; height:36px; flex:0 0 auto; background:url('/preview/reading/wheat-line-ornament.webp') center/contain no-repeat; opacity:.65; }
.journal-site .group-heading h3 { flex:1; }
.journal-site :is(.reference-entry,.guide-card,.herb-card) { border-radius:2px; border-color:#c4ae7b; background:#fffdf7; box-shadow:2px 3px 0 #a7915c0e; }
.journal-site .reference-entry[open] { border:4px double #ac8d45; }
.journal-site .reference-entry[open]>summary { background:linear-gradient(100deg,#f0ecdd,#fcfaf3); border-bottom:1px solid #b99a5788; }
.journal-site .entry-title { font:1.25rem/1.4 Georgia,serif; }
.journal-site .entry-number { color:#75602e; }
.journal-site .ingredient-thumb { background:#fffdf580; border-radius:0; }
.journal-site .reference-entry[open] .ingredient-illustration { width:250px; margin:0 0 24px 30px; padding:12px; border:4px double #bea368; background:#fffdf7; }
.journal-site .reference-entry[open] .ingredient-illustration img { width:100%; height:225px; }
.journal-site .ingredient-illustration figcaption { font-size:.875rem; }
.journal-site .entry-body { padding:30px; }
.journal-site .entry-body h4,.journal-site .guide-note h4 { font:1.3rem/1.4 Georgia,serif; }
.journal-site .quick-card>.quick-cautions { border-radius:0; background:#f5ecda; border-color:#a17d3c; }
.journal-site .entry-cautions { border-left:3px solid #a17d3c; padding:18px 22px; background:#f5ecda; }
.journal-site .bible-connection { background:#faf4e5; border:4px double #b79a5177; }
.journal-site .term { background:linear-gradient(105deg,#f3ecdc,#fffdf4); border:1px solid #b7a37d; box-shadow:3px 4px 0 #6d644f0e; }
.journal-site .heritage-story { background:#f7f2e7; border:1px solid #c4b28d; padding:24px; }
.journal-site .heritage-story>h4::after,.journal-site .language-section>h3:first-of-type::after { content:""; display:block; height:32px; width:130px; margin:12px 0 0; background:url('/preview/reading/wheat-line-ornament.webp') left center/contain no-repeat; opacity:.65; }
.journal-site .heritage-use-list>li { padding-bottom:18px; margin-bottom:18px; border-bottom:1px solid #bba67445; }
.journal-site .heritage-use-list>li:last-child { border-bottom:0; margin-bottom:0; }
.journal-site .research-note { border-top:3px double #b99a5755; }
.journal-site details details>summary { min-height:44px; }
/* Restore obvious disclosure markers without altering labels or scripting. */
.journal-site :is(.history-reading,.full-entry,.heritage-sources,.bible-sources,.source-detail,.art-reading-guide,.browse-categories)>summary { display:flex; align-items:center; gap:16px; justify-content:space-between; }
.journal-site :is(.history-reading,.full-entry,.heritage-sources,.bible-sources,.source-detail,.art-reading-guide,.browse-categories)>summary::after { content:""; flex:0 0 auto; width:8px; height:8px; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor; transform:rotate(-45deg); margin-right:7px; }
.journal-site :is(.history-reading,.full-entry,.heritage-sources,.bible-sources,.source-detail,.art-reading-guide,.browse-categories)[open]>summary::after { transform:rotate(45deg); }
.journal-site .preparation-section { background:#f3f0e5; border-block-color:#b99a5777; }
.journal-site .guide-card[open] { border:4px double #b79a51; }
.journal-site .guide-subheading { color:var(--ink); border-bottom:1px solid #b99a5777; }
.journal-site .guide-note>h4 { display:flex; align-items:center; gap:18px; justify-content:space-between; }
.journal-site .guide-note>h4::after { content:""; display:block; flex:0 0 110px; height:40px; background:url('/preview/reading/wheat-line-ornament.webp') center/contain no-repeat; opacity:.6; }
.journal-site .resource-grid>li { border:1px solid #bfa978; border-top:3px double #b79a51; border-radius:0; background:#fffdf7; box-shadow:2px 3px 0 #a7915c0e; }
.journal-site .resource-grid>li>a { font:1.25rem/1.4 Georgia,serif; color:var(--ink); }
.journal-site .ingredient-request { border:4px double #c6ab67; border-radius:0; background:#edf0e3; }
.journal-site .site-footer { border-top:3px double #b79a51; }
.journal-site .site-footer::before { content:""; flex-basis:100%; height:40px; background:url('/preview/reading/wheat-line-ornament.webp') center/140px auto no-repeat; opacity:.6; }
/* Earlier reference studies share materials and ornaments while retaining their content layouts. */
.journal-study :is(.preview-shell,.wrap) { padding-inline:24px; }
.journal-study :is(header,.preview-header) { border-bottom:3px double #b99a57; }
.journal-study :is(.preview-card,.plant-study,.card-art,.related) { border:3px double #b99a5780; background:#fffdf7; border-radius:1px; }
.journal-study :is(.reading-section,.preview-note) { border-top:3px double #b99a5766; }
.journal-study .preview-note { background:#f7f2e7; }
@media(max-width:1000px) {
 .journal-site .wrap { width:calc(100% - 48px); }
 .journal-site .guide-note>h4::after { flex-basis:85px; }
}
@media(max-width:700px) {
 body.journal-site { margin:0; border:0; }
 .journal-site .wrap { width:calc(100% - 32px); }
 .journal-site .brand { font-size:1.15rem; }
 .journal-site :is(.reference-section>.section-heading,.resource-section>.section-heading,.preparation-section>.wrap>.section-heading) { padding:22px 58px 20px 0; }
 .journal-site :is(.reference-section>.section-heading,.resource-section>.section-heading,.preparation-section>.wrap>.section-heading)::after { width:62px; height:100px; background-size:150px 100px; right:-3px; }
 .journal-site .group-heading { gap:10px; flex-wrap:wrap; }
 .journal-site .group-heading::after { width:70px; height:25px; }
 .journal-site .entry-body { padding:20px; }
 .journal-site .reference-entry[open] .ingredient-illustration { width:200px; margin:0 auto 22px; float:none; }
 .journal-site .reference-entry[open] .ingredient-illustration img { height:180px; }
 .journal-site .entry-title { font-size:1.1rem; }
 .journal-site .heritage-story { padding:18px; }
 .journal-site .guide-note>h4::after { flex-basis:65px; height:28px; }
 .journal-study :is(.preview-shell,.wrap) { padding-inline:8px; }
}
@media(max-width:420px) {
 .journal-site .group-heading::after { display:none; }
 .journal-site .entry-body { padding:17px; }
 .journal-site .entry-cautions { padding:17px; }
 .journal-site .hero-art { padding:6px; }
}
@media print {
 body.journal-site { background:#fff; border:0; box-shadow:none; margin:0; }
 .journal-site :is(.reference-section>.section-heading,.resource-section>.section-heading,.preparation-section>.wrap>.section-heading)::after,.journal-site .group-heading::after,.journal-site .heritage-story>h4::after,.journal-site .language-section>h3:first-of-type::after,.journal-site .guide-note>h4::after,.journal-site .site-footer::before { display:none; }
 .journal-site :is(.reference-entry,.guide-card,.herb-card,.resource-grid>li,.term,.heritage-story,.ingredient-request) { background:#fff; box-shadow:none; border-color:#bbb; }
 .journal-site .entry-body { padding:10pt 0; }
 .journal-site .reference-entry[open] .ingredient-illustration { width:150px; border:0; float:right; margin:0 0 10pt 12pt; }
 .journal-site .reference-entry[open] .ingredient-illustration img { height:140px; }
 .journal-site .entry-body h4,.journal-site .guide-note h4 { font-size:12pt; }
}
.journal-site .notebook-recipe-feature { display:grid; grid-template-columns:minmax(160px,.6fr) minmax(0,1.4fr); align-items:center; gap:28px; background:#354d34; border:4px double #c5aa69; padding:23px; margin:0 0 30px; color:#fffaf0; }
.journal-site .notebook-recipe-feature img { width:100%; height:auto; border:1px solid #c5aa69; }
.journal-site .notebook-recipe-feature h2 { color:#fffaf0; font-size:2.3rem; }
.journal-site .notebook-recipe-feature .eyebrow { color:#eed8a3; }
.journal-site .notebook-recipe-feature .primary-link { color:#173c2f; background:#fffaf0; }
@media(max-width:700px) { .journal-site .notebook-recipe-feature { grid-template-columns:1fr; padding:18px; gap:18px; }.journal-site .notebook-recipe-feature img { max-width:430px; justify-self:center; }.journal-site .notebook-recipe-feature h2 { font-size:2rem; } }
@media print { .journal-site .notebook-recipe-feature { background:#fff; color:#111; border:1pt solid #aaa; }.journal-site .notebook-recipe-feature h2,.journal-site .notebook-recipe-feature .eyebrow { color:#111; } }
.journal-site .heritage-review-date { font:.875rem/1.6 'DM Sans',Arial,sans-serif; color:var(--muted); }
@media print { .journal-site .wrap { width:100%; }.journal-study .preview-shell,.journal-study .wrap { padding-inline:0; } }
/* Compact, direct-to-journal ingredient directory. */
.journal-site .reference-grid{display:block}
.journal-site .compact-entry{display:grid;grid-template-columns:minmax(180px,1fr) minmax(0,2fr);gap:0 24px;padding:16px 4px;border:0;border-bottom:1px solid #b9c2b5;border-radius:0;box-shadow:none;background:transparent}
.compact-entry .compact-title{margin:0;letter-spacing:normal;overflow-wrap:normal;font:1.18rem/1.45 Georgia,serif;grid-column:1;grid-row:1}
.compact-entry .ingredient-name{display:inline-block;padding-block:4px;text-decoration:underline;text-underline-offset:3px}
.compact-entry .compact-category{grid-column:1;grid-row:2;margin:3px 0 0;font-size:.8rem;color:#52665d}
.compact-entry .compact-description{grid-column:2;grid-row:1 / span 2;margin:4px 0;line-height:1.6;font-size:.95rem}
.journal-site .entry-sources a,.journal-site .reading-body a,.journal-site .resource-grid a{text-decoration:underline;text-underline-offset:3px}
@media(max-width:600px){.journal-site .compact-entry{display:block;padding:13px 0}.compact-entry .compact-description{margin:6px 0 0;font-size:.9rem}.compact-entry .compact-title{font-size:1.13rem}.journal-site .group-heading{margin-bottom:0}}
@media print{.journal-site .compact-entry{break-inside:avoid;background:#fff!important}.compact-entry a{color:#111!important}}

/* Keep secondary destinations handy without filling the first phone screen. */
.notebook-utilities-mobile { display:none; }
@media (max-width:600px) {
 .notebook-utilities>.notebook-utilities-links { display:none; }
 .notebook-utilities-mobile { display:block; border-bottom:1px solid #b8beb7; }
 .notebook-utilities-mobile>summary { min-height:44px; padding:10px 0; font-size:1rem; }
 .notebook-utilities-mobile>summary::after { content:'+'; flex:none; font-size:1.25rem; }
 .notebook-utilities-mobile[open]>summary::after { content:'−'; }
 .notebook-utilities-mobile .notebook-utilities-links { display:grid; gap:4px; padding:0 0 10px; }
 .notebook-utilities-mobile a { display:flex; align-items:center; min-height:44px; padding:6px 0; }
 .journal-site .reference-section { padding-top:12px; }
 .journal-site :is(.reference-section>.section-heading,.resource-section>.section-heading,.preparation-section>.wrap>.section-heading) { padding-block:14px; }
}
@media print { .notebook-utilities { display:none; } }

/* Desktop directory: readable secondary text and a shorter route to the first row.
   Keep the established phone/tablet and print layouts unchanged. */
@media screen and (min-width:851px) {
 .journal-site[data-page=ingredients] .compact-description { font-size:1.05rem; }
 .journal-site[data-page=ingredients] .compact-category { font-size:.9rem; }
 .journal-site[data-page=ingredients] #search-tip,
 .journal-site[data-page=ingredients] #ingredient-results { font-size:.95rem; }
 .journal-site[data-page=ingredients] .section-heading>p { font-size:1rem; }
 .journal-site[data-page=ingredients] .reference-section { padding-top:26px; }
 .journal-site[data-page=ingredients] .reference-section>.section-heading { padding-block:18px; }
 .journal-site[data-page=ingredients] .preview-link { margin-block:16px; }
 .journal-site[data-page=ingredients] .browse-tools { padding:18px; }
 .journal-site[data-page=ingredients] .category-tab-list { margin-block:12px 14px; }
 .journal-site[data-page=ingredients] .browse-categories,
 .journal-site[data-page=ingredients] .art-reading-guide { margin-block:8px; }
 .journal-site[data-page=ingredients] .browse-categories>summary,
 .journal-site[data-page=ingredients] .art-reading-guide>summary { min-height:44px; padding-block:8px; }
 .journal-site[data-page=ingredients] .az-index>summary,
 .journal-site[data-page=ingredients] .bible-index>summary,
 .journal-site[data-page=ingredients] .reading-note>summary { min-height:48px; padding-block:10px; }
 .journal-site[data-page=ingredients] .reading-note { margin:8px 0 12px; }
 .journal-site[data-page=ingredients] #all-ingredients { margin-top:12px; }
}
