:root {
  color-scheme: light;
  --paper: #fcfaf5;
  --panel: #f3f0e7;
  --ink: #252922;
  --muted: #635f53;
  --line: #d9d4c7;
  --tomato: #a63320;
  --green: #304037;
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; }
.masthead, main, footer { width: min(1152px, calc(100% - 64px)); margin-inline: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .55; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #9e4125; outline-offset: 3px; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, .reader-title h1, .collection-card strong { font-family: var(--serif); }
h2 { font-size: clamp(29px, 3.5vw, 42px); line-height: 1.2; letter-spacing: -.03em; }
.masthead { min-height: 74px; display: flex; justify-content: space-between; align-items: center; gap: 18px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font: 800 28px/1 var(--serif); letter-spacing: -.065em; }
.brand img { width: 32px; height: 32px; }
.masthead nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 36px); font-size: 14px; font-weight: 640; }
.masthead nav a { display: inline-flex; align-items: center; min-height: 44px; }
.masthead nav a:hover, footer a:hover, .text-button:hover, .reader-back:hover { text-decoration: underline; text-underline-offset: .25em; }
.kicker { display: inline-flex; align-items: center; gap: 9px; color: var(--tomato); font-weight: 750; font-size: 12px; line-height: 1.4; letter-spacing: .075em; }
.kicker > i { width: 23px; height: 2px; background: currentColor; }
.kicker em { color: #766f5f; font: normal 10px/1.4 Georgia, serif; letter-spacing: .16em; }
.button, .nb-primary { display: inline-flex; justify-content: center; align-items: center; gap: 12px; border: 1px solid transparent; border-radius: 7px; padding: 9px 15px; background: var(--tomato); color: #fff; font-size: 14px; font-weight: 700; line-height: 1.4; }
.button:hover:not(:disabled), .nb-primary:hover:not(:disabled) { background: #882917; }
.online-ai { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); column-gap: clamp(30px, 5.4vw, 76px); row-gap: 20px; padding-block: clamp(28px, 3.4vw, 48px); }
.section-heading > p, .intro > p { color: var(--muted); font-size: 15px; line-height: 1.65; }
.card-open { display: grid; place-items: center; width: 35px; height: 35px; color: var(--green); background: #fffdf4; border-radius: 50%; font-size: 18px; font-weight: 500; }
#online-form { grid-area: 2 / 1; min-width: 0; }
.ai-source-label, .ai-result-top, .nb-dialog-head, .nb-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ai-source-label label { font-size: 15px; font-weight: 730; }
.ai-source-label button, .text-button, #online-copy { border: 0; background: transparent; color: var(--tomato); font-weight: 630; font-size: 13px; padding: 4px 0; }
.ai-source-label button:hover, #online-copy:hover { text-decoration: underline; }
#online-source { display: block; width: 100%; min-height: 90px; max-height: 420px; resize: vertical; margin: 7px 0; padding: 12px 14px; border: 1px solid #b9b4a6; border-radius: 7px; background: #fffefa; font-size: 15px; line-height: 1.6; }
textarea::placeholder, input::placeholder { color: #726c62; opacity: 1; }
.source-tools, .ai-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; }
.file-choice { position: relative; display: inline-flex; }
.file-choice label { display: inline-flex; align-items: center; gap: 3px; min-height: 34px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 5px; font-size: 13px; font-weight: 650; }
.file-choice input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.file-choice input::file-selector-button { cursor: pointer; }
.file-choice:focus-within { outline: 3px solid var(--tomato); outline-offset: 2px; border-radius: 4px; }
#online-count { margin-left: auto; color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
#subtitle-help, #subtitle-feedback, .ai-consent, #online-feedback, .nb-status { color: var(--muted); font-size: 12px; line-height: 1.55; }
#subtitle-help { margin-top: 6px; }
#subtitle-feedback:not(:empty), #online-feedback:not(:empty) { margin-top: 7px; }
#online-feedback[data-state=error], #subtitle-feedback[data-state=error] { color: var(--tomato); }
.ai-actions { margin-top: 15px; flex-wrap: nowrap; align-items: center; }
.ai-actions .ai-consent { max-width: 32em; }
#online-submit { min-height: 43px; flex: 0 0 auto; }
#online-result { grid-column: 1/-1; padding: clamp(16px, 3vw, 28px); border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: 8px; background: #fffefa; overflow-wrap: anywhere; }
.ai-result-top { flex-wrap: wrap; justify-content: flex-start; }
.ai-result-top h3 { flex: 1 1 180px; font: 700 27px/1.2 var(--serif); }
#online-save { min-height: 38px; }
.ai-provenance, .ai-quote { color: var(--muted); font-size: 12px; }
.ai-provenance { margin: 6px 0 15px; }
.ai-output-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 27px; }
.ai-output-grid ul, .reader-ingredients ul, #ingredients ul, .nb-details ul { padding: 0; margin: 9px 0; list-style: none; }
.ai-output-grid ul li, .reader-ingredients li, #ingredients li, .nb-details ul li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.ai-output-grid ol, .nb-details ol { margin: 8px 0; padding-left: 1.6em; }
.ai-output-grid ol li, .nb-details ol li { padding-bottom: 8px; line-height: 1.7; }
.ai-quote p { margin: 6px 0; }
summary { cursor: pointer; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 23px; }
.section-heading h2 { margin-top: 6px; }
.section-heading > p { font-size: 14px; }
.notebook, .collection, .trial { border-top: 1px solid var(--line); padding: clamp(31px, 4.1vw, 56px) 0; }
#ai, #notebook, #recipes, #trial, #edition { scroll-margin-top: 12px; }
.nb-toolbar label { display: flex; gap: 7px; align-items: center; color: var(--muted); font-size: 13px; }
.nb-count { color: var(--muted); font-size: 13px; }
.nb-toolbar input, .recipe-search input, .nb-fields input, .nb-fields textarea { min-width: 0; border: 1px solid #c8c2b4; border-radius: 6px; padding: 8px 10px; background: #fffefa; }
.nb-toolbar input { width: min(220px, 50vw); }
.nb-status:not(:empty) { margin-top: 7px; }
.nb-empty { display: block; width: 100%; margin-top: 11px; padding: 18px 21px; background: #f3f0e6; color: var(--green); border-left: 3px solid #96a189; border-radius: 2px 6px 6px 2px; }
.nb-empty p { margin-top: 3px; font-size: 14px; color: var(--muted); }
.nb-empty strong, .nb-empty h3 { font: 700 19px/1.4 var(--serif); }
.nb-empty a { color: var(--tomato); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.nb-cards { display: grid; grid-template-columns: repeat(auto-fill,minmax(min(225px,100%),1fr)); gap: 12px; }
.nb-cards:not(:empty) { margin-top: 12px; }
.nb-card { display: flex; align-items: center; gap: 13px; min-width: 0; padding: 12px; border: 1px solid var(--line); background: #fffefa; border-radius: 7px; text-align: left; }
.nb-card:hover { border-color: #a29c89; }
.nb-card img { width: 75px; height: 65px; flex-shrink: 0; border-radius: 4px; object-fit: cover; }
.nb-card-copy { display: grid; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.nb-card-copy strong { font: 700 19px/1.35 var(--serif); }
.nb-card-copy small, .nb-card-copy > span { color: var(--muted); font-size: 12px; }
.nb-dialog { max-width: 685px; width: calc(100% - 32px); max-height: min(84vh, 860px); max-height: min(84dvh, 860px); overflow-y: auto; overscroll-behavior: contain; padding: clamp(18px,3vw,32px); border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); overflow-wrap: anywhere; }
.nb-dialog::backdrop { background: #20231ab3; }
.nb-dialog-head { align-items: flex-start; padding-bottom: 13px; border-bottom: 1px solid var(--line); margin-bottom: 15px; }
.nb-dialog-head small, .nb-dialog-head p { color: var(--tomato); font-size: 12px; font-weight: 650; }
.nb-dialog-head h2 { font-size: clamp(25px,3.4vw,36px); margin: 4px 0 0; }
.nb-close, .nb-secondary, .nb-remove, .nb-danger { border: 1px solid var(--line); border-radius: 5px; background: #fffdf7; padding: 6px 10px; font: inherit; font-size: 13px; }
.nb-close { flex: 0 0 auto; min-width: 36px; min-height: 36px; }
.nb-remove, .nb-danger { color: var(--tomato); }
.nb-fields { display: grid; gap: 14px; }
.nb-fields > label { display: grid; gap: 6px; font-weight: 650; }
.nb-fields fieldset { min-width: 0; margin: 0; padding: 11px; border: 1px solid var(--line); border-radius: 6px; }
.nb-fields legend { color: var(--green); padding: 0 5px; font-size: 14px; font-weight: 700; }
.nb-fields input, .nb-fields textarea { width: 100%; font-size: 16px; }
.nb-fields textarea { resize: vertical; min-height: 50px; }
.nb-ingredient-row, .nb-step-row { display: grid; align-items: start; gap: 7px; margin-bottom: 8px; grid-template-columns: minmax(0,1.25fr) minmax(0,1fr) auto; }
.nb-step-row { grid-template-columns: minmax(0,1fr) auto; }
.nb-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.nb-details .nb-cover, .nb-dialog img.nb-cover { display: block; max-width: 100%; width: 100%; max-height: 240px; object-fit: cover; border-radius: 7px; }
.nb-details h3 { margin: 14px 0 5px; font-size: 18px; }
.collection-heading small { display: block; color: var(--muted); font-size: 11px; margin-top: 2px; }
.collection-tools { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.recipe-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.recipe-filters button, #reset-recipes { border: 1px solid var(--line); padding: 7px 13px; background: transparent; color: var(--green); border-radius: 20px; font-size: 13px; font-weight: 650; }
.recipe-filters button[aria-pressed=true] { background: var(--green); border-color: var(--green); color: #fff; }
.recipe-search { display: flex; gap: 8px; align-items: center; font-size: 13px; }
.recipe-search input { width: 180px; }
#recipe-count { color: var(--muted); margin: 9px 0 16px; font-size: 12px; }
#recipe-empty { padding: 25px; border: 1px solid var(--line); border-radius: 6px; text-align: center; }
#recipe-empty p { margin-bottom: 10px; }
.collection-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 23px 19px; }
.collection-card { display: block; min-width: 0; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.collection-image { position: relative; overflow: hidden; border-radius: 7px; background: var(--panel); }
.collection-image img { display: block; width: 100%; height: auto; aspect-ratio: 1.6; object-fit: cover; transition: transform .2s ease; }
.collection-card:hover img { transform: scale(1.025); }
.collection-meta { display: block; color: var(--tomato); font-size: 12px; font-weight: 650; margin: 9px 0 2px; }
.collection-meta i { font-style: normal; margin: 0 3px; }
.collection-card strong { display: block; font-size: clamp(19px,1.75vw,26px); line-height: 1.3; }
.card-open { position: absolute; right: 9px; bottom: 9px; width: 27px; height: 27px; font-size: 16px; }
/* The recipe route replaces every home section, including its responsive grids. */
main:has(> .recipe-reader:target) > section { display: none !important; }
.recipe-reader { display: none; max-width: 1030px; margin: auto; padding-bottom: 36px; outline: none; }
.recipe-reader:target { display: block; }
.reader-back { display: inline-flex; align-items: center; min-height: 48px; color: var(--muted); font-size: 14px; }
.reader-intro { display: grid; grid-template-columns: 1.08fr 1fr; border-radius: 10px; background: var(--panel); overflow: hidden; }
.reader-intro > img { width: 100%; height: 100%; min-height: 275px; max-height: 380px; object-fit: cover; }
.reader-title { align-self: center; min-width: 0; padding: clamp(20px,3.7vw,43px); }
.reader-title h1 { margin: 7px 0 12px; font-size: clamp(31px,3.9vw,51px); line-height: 1.12; letter-spacing: -.045em; }
.reader-title p, .reader-facts { color: var(--muted); font-size: 15px; }
.reader-facts { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 15px; font-size: 13px; }
.reader-facts strong { color: var(--ink); }
.reader-save { margin-top: 17px; }
.reader-columns { display: grid; grid-template-columns: minmax(0,.76fr) minmax(0,1fr); align-items: start; gap: clamp(20px,5vw,66px); margin-top: 28px; }
.reader-columns h2 { font-size: 26px; }
.reader-ingredients { padding: 21px; border-radius: 8px; background: var(--panel); }
.reader-ingredients li { font-size: 14px; }
.reader-ingredients b { font-weight: 600; white-space: nowrap; }
.reader-ingredients label, #ingredients label { display: flex; align-items: center; }
.reader-ingredients input, #ingredients input { width: 17px; height: 17px; margin: 0 8px 0 0; accent-color: var(--green); }
.reader-ingredients label:has(:checked), #ingredients label:has(:checked) { color: var(--muted); text-decoration: line-through; }
.reader-steps { padding-top: 9px; }
.reader-steps ol { margin: 8px 0 0; padding: 0; list-style: none; counter-reset: method; }
.reader-steps li { counter-increment: method; display: grid; grid-template-columns: 30px 1fr; gap: 9px; padding: 12px 0; border-bottom: 1px solid var(--line); line-height: 1.7; }
.reader-steps li::before { content: counter(method,decimal-leading-zero); font: italic 17px/1.7 Georgia, serif; color: var(--tomato); }
.trial { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px,7.1vw,83px); align-items: start; }
.intro h2 { margin: 7px 0 10px; }
.intro video { display: block; width: 100%; max-height: 250px; object-fit: contain; margin-top: 17px; background: #29291f; border-radius: 7px; }
.recipe { padding: 23px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
.recipe h3 { font: 700 29px/1.3 var(--serif); margin: 5px 0 12px; }
.badge { color: var(--tomato); font-size: 12px; font-weight: 650; }
.tabs, .buttons { display: flex; gap: 7px; flex-wrap: wrap; }
.tabs button, .buttons button { border: 1px solid var(--line); border-radius: 5px; padding: 7px 12px; background: #fffefa; font-size: 13px; font-weight: 650; }
.tabs [aria-pressed=true], #next { background: var(--green); color: white; }
#ingredients b { font-size: 14px; font-weight: 600; }
#ingredients small, #steps small { color: var(--muted); font: 13px/1.4 -apple-system,sans-serif; }
#steps { margin-top: 12px; }
#instruction { min-height: 70px; margin: 7px 0; font-size: 18px; }
footer { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 15px 0 27px; color: var(--muted); font-size: 12px; border-top: 1px solid var(--line); }
footer span { margin-right: auto; }
@media (min-width: 681px) and (max-width: 850px) {
  .masthead, main, footer { width: calc(100% - 40px); }
  .online-ai { grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); gap: 17px 23px; }
  .ai-actions { align-items: flex-start; }
}
@media (max-width: 680px) {
  .masthead, main, footer { width: calc(100% - 32px); }
  .masthead { min-height: 60px; gap: 10px; }
  .brand { font-size: 23px; gap: 6px; }.brand img{width:27px;height:27px;}
  .masthead nav { gap: 13px; font-size: 12px; }
  .online-ai { grid-template-columns: minmax(0,1fr) minmax(95px,30%); padding: 23px 0 27px; gap: 16px 11px; }
  .kicker { font-size: 10px; gap: 6px; }.kicker > i { width: 16px; }.kicker em { font-size: 9px; letter-spacing: .1em; }
  #online-form { grid-column: 1/-1; }
  #online-source { font-size: 16px; }
  #online-result { margin-top: 1px; }
  .ai-actions { gap: 11px; }
  .ai-output-grid, .trial, .reader-columns, .reader-intro { grid-template-columns: minmax(0,1fr); }
  .section-heading { align-items: start; flex-direction: column; gap: 5px; margin-bottom: 14px; }
  .section-heading > p { font-size: 13px; }
  .collection-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px 10px; }
  .collection-image img { aspect-ratio: 1.24; }
  .collection-card strong { font-size: 17px; }.collection-meta {font-size:11px;margin-top:6px;}
  .card-open { width: 22px; height: 22px; right: 6px; bottom: 6px; font-size: 13px; }
  .collection-tools { display: grid; gap: 10px; }
  .recipe-search { grid-row: 1; }.recipe-search input { flex: 1; min-width: 0; }
  .recipe-filters { gap: 4px; }.recipe-filters button { font-size: 12px; padding: 7px 10px; }
  .reader-intro > img { min-height: 0; max-height: 227px; aspect-ratio: 1.6; }
  .reader-title { padding: 17px; }.reader-title h1 { margin: 5px 0 8px; }
  .reader-facts { margin-top: 9px; }.reader-save {margin-top:12px;}
  .reader-columns {margin-top:18px; gap:15px;}.reader-ingredients {padding:16px;}
  .nb-dialog { width: calc(100% - 18px); max-height: 92dvh; padding: 17px 13px; }
  .nb-dialog-head { gap: 6px; }.nb-ingredient-row,.nb-step-row { gap:4px; }
  .nb-remove { padding: 7px 5px; }.nb-fields input,.nb-fields textarea{padding:7px;}
  .nb-toolbar { flex-wrap: wrap; }
  .recipe { padding: 17px; }.intro video { max-height: 215px; }
}
@media (max-width: 370px) {
  .masthead, main, footer { width: calc(100% - 24px); }
  .masthead nav { gap: 9px; font-size: 11px; }
  .source-tools { gap: 5px 7px; }
}
@media (prefers-reduced-motion: reduce) {
  .collection-image img { transition: none; }
}

/* A lively food zine, with quieter reading and editing surfaces. */
:root {
  --paper:#fff9e9; --panel:#f1edff; --ink:#24211f; --muted:#625b54;
  --line:#c9c0af; --tomato:#aa300f; --green:#382482; --leaf:#e8ff62;
  --sans:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;
  --serif:var(--sans); font-family:var(--sans);
}
.masthead,main,footer {width:min(1280px,calc(100% - 64px));}
:focus-visible {outline:3px solid #5036c1;outline-offset:5px;}
.section-heading h2,.reader-title h1,.recipe h3,.nb-dialog-head h2 {font-weight:900;letter-spacing:-.03em;}
.section-heading h2 {margin-top:8px;font-size:clamp(30px,3.7vw,54px);}
.section-heading .kicker {color:var(--ink);font-size:11px;letter-spacing:.12em;}
.section-heading .kicker i {width:18px;height:3px;}
.kicker em {font-family:var(--sans);font-weight:800;font-size:10px;letter-spacing:.13em;}
.section-heading>p {max-width:25em;line-height:1.65;}
.notebook {position:relative;isolation:isolate;margin:48px 0 64px;padding:clamp(22px,3vw,40px);border:2px solid var(--ink);border-radius:5px 28px 28px 28px;background:#e8ff62;box-shadow:7px 7px 0 var(--ink);}
.notebook::before {content:'KEEP THE GOOD STUFF';position:absolute;right:29px;top:-15px;padding:5px 13px;border:2px solid var(--ink);background:#fff9e9;color:var(--ink);font:bold 11px/1.4 var(--sans);letter-spacing:.08em;transform:rotate(3deg);}
.notebook .section-heading {margin-bottom:20px;align-items:center;}
.notebook .section-heading>p {max-width:22em;color:#514f31;}
.notebook .kicker em {color:#514f31;}
#notebook-mount .nb-toolbar[hidden] {display:none;}
.nb-empty {display:flex;align-items:center;gap:24px;min-height:108px;margin:0;padding:17px 24px;border:2px solid var(--ink);border-radius:12px;background:#fffdf6;color:var(--ink);}
.nb-note-art {position:relative;flex:none;display:block;isolation:isolate;width:87px;height:76px;transform:rotate(-8deg);}
.nb-note-art::before {content:'';position:absolute;inset:3px -5px -5px 6px;z-index:-1;transform:rotate(15deg);background:#b8a0ff;border:1.5px solid var(--ink);}
.nb-note-art img {display:block;width:100%;height:100%;object-fit:cover;border:4px solid #fff;border-bottom-width:13px;outline:1.5px solid var(--ink);}
.nb-note-copy {min-width:0;}
.nb-note-copy strong {font:850 clamp(19px,2vw,27px)/1.3 var(--sans);letter-spacing:-.04em;}
.nb-note-copy p {margin-top:6px;font-size:14px;}
.nb-empty .nb-first-recipe {display:inline-flex;align-items:center;flex:none;margin-left:auto;min-height:44px;padding:7px 18px;border:2px solid var(--ink);border-radius:30px;background:#ff7044;color:var(--ink);font-size:14px;font-weight:800;text-decoration:none;box-shadow:3px 3px 0 var(--ink);}
.nb-empty .nb-first-recipe:hover {transform:translate(2px,2px);box-shadow:1px 1px 0 var(--ink);}
.nb-toolbar {margin:6px 0 14px;}
.nb-card {border:2px solid var(--ink);border-radius:14px;background:#fffdf6;box-shadow:3px 3px 0 var(--ink);transition:transform .16s ease;}
.nb-card:hover {transform:translateY(-3px);}
.nb-card img {border-radius:7px;}
.nb-card-copy strong {font-weight:800;}
.nb-search input,.recipe-search input,.nb-fields input,.nb-fields textarea {border:1.5px solid #8a8074;border-radius:8px;background:#fffdf7;}
.nb-dialog {border:2px solid var(--ink);border-radius:20px;background:#fffaf0;box-shadow:8px 8px 0 #24211f;}
.nb-dialog-head {border-color:#b8aa94;}
.nb-dialog .nb-primary,.reader-save.button {border:2px solid var(--ink);border-radius:30px;min-height:46px;background:#e8ff62;color:var(--ink);box-shadow:3px 3px 0 var(--ink);}
.nb-dialog .nb-primary:hover,.reader-save.button:hover {background:#d9f54c;}
.nb-fields fieldset,.nb-secondary,.nb-close,.nb-remove,.nb-danger {border-radius:8px;}
.nb-dialog::backdrop {background:#29203eb8;}
.collection {border:0;padding:0 0 clamp(40px,6vw,80px);}
.collection-heading {margin-bottom:25px;}
.collection-heading>div{display:grid;gap:6px;}.collection-heading h2 {display:block;position:relative;width:fit-content;}
.collection-heading h2::after {content:'';position:absolute;left:0;right:-10px;bottom:-5px;height:7px;border-bottom:4px solid #ff7044;border-radius:50%;transform:rotate(-1deg);}
.collection-heading small {font-size:11px;}
.collection-tools {gap:16px;}
.recipe-filters {gap:8px;}
.recipe-filters button {min-height:42px;border:1.5px solid var(--ink);border-radius:30px;padding:8px 17px;font-weight:750;background:#fffdf5;}
.recipe-filters button[aria-pressed=true] {background:var(--ink);border-color:var(--ink);color:#e8ff62;box-shadow:2px 2px 0 #ff7044;}
.recipe-search>span {font-weight:700;}
.recipe-search input {min-height:43px;border-color:var(--ink);border-radius:30px;}
#recipe-count {margin:14px 0 19px;font-weight:650;}
.collection-grid {gap:25px;}
.collection-card {position:relative;padding:10px 10px 17px;border:2px solid var(--ink);border-radius:18px;background:#fffdf7;box-shadow:4px 4px 0 var(--ink);transition:transform .2s ease,box-shadow .2s ease;}
.collection-card:nth-child(6n+2) {background:#e5ddff;}
.collection-card:nth-child(6n+3) {background:#f3ffa5;}
.collection-card:nth-child(6n+4) {background:#ffe0d0;}
.collection-card:hover {transform:translateY(-5px) rotate(-.7deg);box-shadow:6px 9px 0 var(--ink);}
.collection-image {border-radius:9px;border:1px solid var(--ink);background:#e9e2d8;}
.collection-image img {aspect-ratio:1.45;}
.card-open {width:39px;height:39px;right:10px;bottom:10px;border:1.5px solid var(--ink);font-size:23px;font-weight:700;background:#e8ff62;color:var(--ink);}
.collection-card strong {padding:0 5px;font:850 clamp(21px,2vw,29px)/1.25 var(--sans);letter-spacing:-.03em;color:var(--ink);}
.collection-meta {margin:12px 5px 4px;color:#5e5049;font-size:12px;font-weight:700;}
.reader-back {color:var(--ink);font-weight:750;}
.reader-intro {border:2px solid var(--ink);border-radius:24px;background:#e5ddff;box-shadow:5px 5px 0 var(--ink);}
.reader-title h1 {font-family:var(--sans);}
.reader-facts {gap:14px;}
.reader-ingredients {border:2px solid var(--ink);border-radius:18px;background:#f3ffa5;}
.reader-ingredients input,#ingredients input {accent-color:#5036c1;}
.reader-steps li::before {color:#6142cf;font:850 19px/1.7 var(--sans);}
.reader-steps li {border-bottom-style:dashed;font-size:16px;line-height:1.85;}.reader-title{display:flex;flex-direction:column;align-items:flex-start;}.reader-title h1{order:1;}.reader-title>.kicker{order:2;margin-bottom:14px;}.reader-title>p{order:3;}.reader-title>.reader-facts{order:4;}.reader-title>.reader-save{order:5;}.reader-ingredients label{min-height:28px;}
.trial {padding:35px 0 55px;border-top:2px solid var(--ink);gap:clamp(20px,4vw,55px);}
.trial .intro h2 {font-size:clamp(29px,3.5vw,48px);font-weight:900;letter-spacing:-.03em;}
.trial .recipe {border:2px solid var(--ink);border-radius:19px;background:#ffe5d3;box-shadow:5px 5px 0 var(--ink);}
.intro video {border:2px solid var(--ink);border-radius:16px;}
.tabs button,.buttons button {border:1.5px solid var(--ink);border-radius:30px;min-height:40px;}
.tabs [aria-pressed=true],#next {background:#382482;}
#ingredients li {border-color:#c6a890;border-bottom-style:dashed;}
#online-result {border:2px solid var(--ink);border-radius:17px;background:#fffaf0;box-shadow:4px 4px 0 var(--ink);}
footer {padding-top:22px;border-top:2px solid var(--ink);font-size:12px;}
@media(max-width:740px){
  .masthead,main,footer {width:calc(100% - 32px);}
  .notebook {margin:32px 0 43px;padding:23px 16px 18px;border-radius:5px 20px 20px 20px;box-shadow:4px 4px 0 var(--ink);}
  .notebook::before {right:13px;top:-14px;font-size:9px;padding:4px 8px;}
  .notebook .section-heading {align-items:start;gap:5px;margin-bottom:15px;}
  .notebook .section-heading h2 {font-size:32px;}
  .nb-empty {display:grid;grid-template-columns:53px minmax(0,1fr);gap:7px 15px;padding:16px 12px;}
  .nb-note-art {grid-row:1 / 3;width:53px;height:58px;}
  .nb-note-copy strong {font-size:19px;}
  .nb-note-copy p {font-size:12px;line-height:1.55;margin-top:4px;}
  .nb-empty .nb-first-recipe {grid-column:2;justify-self:start;min-height:44px;font-size:13px;padding:8px 11px;margin:1px 0 2px;}
  .nb-empty>p:only-child {grid-column:1/-1;}
  .collection-heading {margin-bottom:20px;}
  .collection-heading h2 {font-size:34px;}
  .collection-grid {gap:18px 13px;}
  .collection-card {padding:6px 6px 12px;border-radius:12px;box-shadow:3px 3px 0 var(--ink);}
  .collection-image {border-radius:6px;}
  .collection-image img {aspect-ratio:1.16;}
  .collection-card strong {padding:0 2px;font-size:19px;}
  .collection-meta {font-size:12px;margin:9px 2px 4px;}
  .card-open {width:29px;height:29px;font-size:19px;right:6px;bottom:6px;}
  .recipe-filters {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;}
  .recipe-filters button {min-height:44px;font-size:13px;padding:8px 14px;}
  .recipe-search {font-size:13px;}
  .recipe-search input {width:100%;}
  .reader-intro {border-radius:17px;box-shadow:3px 3px 0 var(--ink);}
  .reader-title h1 {font-size:35px;}
  .reader-ingredients {border-radius:14px;}
  .trial {padding-top:26px;}
  .nb-dialog {box-shadow:4px 4px 0 var(--ink);}
}
@media(max-width:365px){
  .masthead,main,footer {width:calc(100% - 24px);}
  .notebook {padding-inline:12px;}
  .nb-empty {gap:7px 12px;padding-inline:10px;}
  .nb-note-copy strong {font-size:17px;}
  .collection-card strong {font-size:17px;}
  .collection-grid {gap:17px 11px;}
  .recipe-filters button {padding-inline:11px;}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after {scroll-behavior:auto!important;animation:none!important;transition:none!important;}
}

/* Shared interaction and reading tokens for the existing poster identity. */
:root{--focus:#5132bf;--touch:44px;}
::selection{color:#24211f;background:#e8ff62;}
input,textarea{caret-color:var(--focus);}
:focus-visible{outline:3px solid var(--focus);outline-offset:4px;}
.recipe-filters button,.nb-close,.nb-secondary,.nb-remove,.nb-danger{min-height:var(--touch);}
.nb-close{min-width:var(--touch);}
.collection-card{box-shadow:3px 4px 0 var(--ink);}
.collection-card:hover{transform:translateY(-3px);box-shadow:3px 7px 0 var(--ink);}
@media(max-width:740px){.reader-ingredients label{min-height:32px;}.collection-heading h2{font-size:32px;}.collection-heading>p{font-size:14px;}.nb-note-copy p{font-size:13px;}.notebook .section-heading>p{font-size:13px;}}
.reader-ingredients li{padding:0;min-height:48px;}
.reader-ingredients label{min-height:48px;flex:1;}

/* A food-zine cover: bright paper, oversized headlines and overlapping recipe prints. */
.journal-nav { min-height:86px; border-bottom:0; color:#24211f; }
.journal-nav .brand { gap:9px; color:#24211f; font:900 clamp(27px,2.4vw,34px)/1 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif; letter-spacing:-.035em; }
.journal-nav .brand img { width:36px;height:36px;transform:rotate(-8deg); }
.journal-brand-dot { color:#7353ef; }
.journal-nav nav { gap:clamp(19px,3vw,39px);color:#24211f; }
.journal-nav nav a { font-size:14px;font-weight:760; }
.journal-nav nav a:last-child { gap:12px;border:2px solid #24211f;border-radius:0;padding:0 16px;min-height:44px;background:#e8ff62;box-shadow:3px 3px 0 #24211f; }
.journal-hero { display:grid;grid-template-columns:minmax(0,1fr);gap:24px;padding:8px 0 54px;color:#24211f; }
.journal-cover { position:relative;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);min-width:0;overflow:hidden;border:2px solid #24211f;background:#ff693a; }
.journal-intro { grid-area:auto;position:relative;z-index:2;min-width:0;display:flex;flex-direction:column;justify-content:center;padding:clamp(29px,3.7vw,53px) 0 clamp(34px,4vw,56px) clamp(24px,3.5vw,49px); }
.journal-intro h1 { margin:0 0 22px;color:#24211f;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;font-size:clamp(55px,6.7vw,94px);font-weight:900;line-height:1.08;letter-spacing:-.035em; }
.journal-intro h1 span { display:inline-block;position:relative;isolation:auto; }
.journal-intro h1 span::after { display:none; }
.journal-intro > p { color:#24211f;max-width:none;font-size:clamp(14px,1.35vw,18px);line-height:1.7;font-weight:580; }
.journal-cover-actions { display:flex;align-items:center;gap:23px;flex-wrap:wrap;margin-top:28px; }
.journal-start { display:inline-flex;align-items:center;justify-content:space-between;gap:20px;padding:13px 20px;border:2px solid #24211f;background:#e8ff62;box-shadow:5px 5px 0 #24211f;font-size:16px;font-weight:820;transition:transform .15s,box-shadow .15s; }
.journal-start span { font-size:22px;line-height:1; }
.journal-start:hover { transform:translate(2px,2px);box-shadow:3px 3px 0 #24211f; }
.journal-browse { font-size:14px;font-weight:730;text-decoration:underline;text-underline-offset:6px; }
.journal-browse span { margin-left:6px; }
.journal-collage { position:relative;min-height:520px;min-width:0; }
.journal-dish { display:block;position:absolute;background:#fff9e9;border:2px solid #24211f;box-shadow:6px 7px 0 #24211f;transition:transform .2s; }
.journal-dish img { display:block;width:100%;height:100%;object-fit:cover; }
.journal-dish-main { top:44px;left:13%;width:79%;padding:9px 9px 0;transform:rotate(8deg);z-index:2; }
.journal-dish-main img { height:auto;aspect-ratio:1.3;object-position:50% 52%; }
.journal-dish-main:hover { transform:rotate(5deg) translateY(-3px); }
.journal-dish-caption { display:flex;align-items:center;justify-content:space-between;gap:7px;padding:10px 5px 12px; }
.journal-dish-caption strong { font-size:22px;font-weight:850;letter-spacing:-.035em; }
.journal-dish-main .journal-dish-caption { justify-content:flex-end;gap:12px; }
.journal-dish-caption > span { font-size:23px;font-weight:700; }
.journal-dish-side { top:250px;left:0;width:47%;padding:6px 6px 0;transform:rotate(-13deg);z-index:3; }
.journal-dish-side img { aspect-ratio:1.55;height:auto; }
.journal-dish-side .journal-dish-caption { padding:7px 3px 9px; }
.journal-dish-side .journal-dish-caption strong { font-size:16px; }
.journal-dish-side .journal-dish-caption > span { font-size:19px; }
.journal-dish-side:hover { transform:rotate(-9deg) translateY(-3px); }
.journal-burst { position:absolute;display:flex;align-items:center;justify-content:center;flex-direction:column;right:-20px;top:-30px;width:107px;height:107px;background:#7353ef;color:#f1ff9c;transform:rotate(8deg);clip-path:polygon(50% 0%,58% 10%,69% 4%,73% 17%,87% 15%,86% 29%,99% 34%,92% 45%,100% 56%,87% 64%,90% 78%,76% 79%,71% 93%,59% 88%,50% 100%,41% 89%,28% 95%,25% 81%,11% 82%,13% 67%,0% 62%,8% 50%,0% 39%,14% 32%,11% 18%,26% 20%,30% 6%,42% 12%); }
.journal-burst b { font-size:44px;line-height:.9;font-weight:950;letter-spacing:-.035em; }
.journal-burst small { font-size:14px;font-weight:850;letter-spacing:.08em;margin-top:4px; }
.journal-cover-strip { display:flex;align-items:center;justify-content:space-around;gap:15px;grid-column:1/-1;border-top:2px solid #24211f;padding:10px 22px;background:#e8ff62;font-size:13px;font-weight:760;letter-spacing:.05em; }
.journal-cover-strip b { font-size:23px;line-height:1; }
.journal-cover-strip span[lang] { font-size:11px;font-weight:850;letter-spacing:.08em; }
#online-form.journal-form { display:grid;grid-template-columns:190px minmax(0,1fr);grid-area:auto;padding:0;border:2px solid #24211f;border-radius:0;background:#fffdf4;min-width:0;scroll-margin-top:22px;box-shadow:5px 5px 0 #24211f; }
.journal-form-title { display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:27px;background:#7353ef;color:#fff9e9;border-right:2px solid #24211f; }
.journal-form-title small { font-size:12px;font-weight:700;letter-spacing:.06em; }
.journal-form-title strong { font-size:32px;line-height:1.25;letter-spacing:-.035em;font-weight:850;margin-top:12px; }
.journal-form-title > span { font-size:51px;line-height:1;margin-top:18px;color:#e8ff62; }
.journal-form-body { min-width:0;padding:21px 25px; }
.journal-form .ai-source-label label { color:#24211f;font-size:17px;font-weight:820; }
.journal-form #online-example { color:#5740b2;min-height:44px;padding-inline:8px;font-weight:720; }
.journal-form #online-source { display:block;width:100%;margin:7px 0 0;border:1.5px solid #8f8172;border-radius:10px;padding:13px 15px;background:#fff9e9;min-height:112px;resize:vertical;line-height:1.55;font-size:15px;color:#24211f; }
.journal-form #online-source:focus-visible { outline-offset:3px;outline-color:#7353ef; }
.journal-form #online-source::placeholder { color:#6b6258; }
.journal-form .source-tools { border:0;display:flex;align-items:center;gap:7px 16px;flex-wrap:wrap;padding-top:9px;margin-top:0; }
.journal-form .file-choice label,.journal-form #online-video-example { display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:44px;padding:8px 12px;font-size:13px;font-weight:730; }
.journal-form .file-choice label { color:#24211f;border:1.5px solid #24211f;border-radius:0;background:#fff9e9; }
.journal-form #online-video-example { padding-left:0;color:#5740b2; }
.journal-form #online-count { color:#72695f;letter-spacing:.03em; }
.journal-file-help { margin:6px 0 0;color:#665c53;font-size:12px; }
.journal-file-help summary { display:list-item;width:fit-content;min-height:44px;padding:12px 0; }
.journal-file-help #subtitle-help { margin:2px 0 7px;color:#665c53; }
.journal-form .ai-actions { display:flex;align-items:center;gap:17px;margin-top:13px; }
.journal-form #online-submit { min-height:44px;padding:10px 21px;border:2px solid #24211f;border-radius:0;background:#e8ff62;color:#24211f;box-shadow:3px 3px 0 #24211f;font-size:15px;font-weight:820; }
.journal-form #online-submit:hover:not(:disabled) { background:#dbf538; }
.journal-form .ai-consent { color:#665c53;font-size:12px;line-height:1.5; }
.journal-hero #online-result { grid-area:auto;border:2px solid #24211f;border-left:7px solid #7353ef;border-radius:0;background:#fffdf4; }
@media(max-width:1050px) and (min-width:741px) {
  .journal-intro { padding-left:27px; }
  .journal-intro h1 {font-size:clamp(52px,7vw,72px);}
  .journal-cover-actions {gap:16px;}
  .journal-start {font-size:14px;padding:11px 14px;gap:12px;}
  .journal-collage {min-height:420px;}
  .journal-dish-main {top:52px;left:10%;width:80%;}
  .journal-dish-side {top:233px;left:0;width:53%;}
  .journal-burst {width:87px;height:87px;right:-10px;top:-27px;}
  .journal-burst b {font-size:35px;}
  .journal-dish-caption strong {font-size:19px;}
  .journal-dish-side .journal-dish-caption strong {font-size:13px;}
}
@media(max-width:740px) {
  .journal-nav {min-height:69px;gap:10px;}
  .journal-nav .brand {font-size:26px;gap:5px;}
  .journal-nav .brand img {width:27px;height:27px;}
  .journal-nav nav {gap:13px;}
  .journal-nav nav a {font-size:12px;}
  .journal-nav nav a:last-child {padding:0;border:0;background:transparent;box-shadow:none;gap:3px;}
  .journal-hero {grid-template-columns:minmax(0,1fr);row-gap:19px;padding:3px 0 34px;}
  .journal-cover {grid-template-columns:minmax(0,1fr);}
  .journal-intro {grid-area:auto;padding:23px 22px 0;}
  .journal-intro h1 {margin:0 0 15px;font-size:clamp(46px,13.4vw,78px);line-height:1.1;}
  .journal-intro h1 br {display:block;}
  .journal-intro > p {font-size:14px;line-height:1.65;max-width:none;}
  .journal-cover-actions {gap:21px;margin-top:18px;}
  .journal-start {font-size:13px;padding:11px 13px;gap:12px;box-shadow:4px 4px 0 #24211f;}
  .journal-start span {font-size:20px;}
  .journal-browse {display:inline-flex;align-items:center;min-height:44px;font-size:13px;}
  .journal-collage {min-height:0;height:clamp(247px,65vw,366px);margin-top:9px;}
  .journal-dish-main {top:24px;left:32%;width:59%;padding:6px 6px 0;transform:rotate(7deg);box-shadow:4px 5px 0 #24211f;}
  .journal-dish-main img {aspect-ratio:1.45;}
  .journal-dish-caption {padding:6px 3px 8px;}
  .journal-dish-caption strong {font-size:17px;}
  .journal-dish-caption > span {font-size:19px;}
  .journal-dish-side {left:6%;top:104px;width:42%;padding:4px 4px 0;box-shadow:3px 4px 0 #24211f;}
  .journal-dish-side img {aspect-ratio:1.55;}
  .journal-dish-side .journal-dish-caption {padding:4px 2px 5px;}
  .journal-dish-side .journal-dish-caption strong {font-size:12px;}
  .journal-dish-side .journal-dish-caption > span {font-size:16px;}
  .journal-burst {width:75px;height:75px;right:-9px;top:-20px;}
  .journal-burst b {font-size:29px;}
  .journal-burst small {font-size:10px;margin-top:2px;}
  .journal-cover-strip {gap:8px;padding:9px 12px;font-size:10px;letter-spacing:0;}
  .journal-cover-strip b {font-size:16px;}
  .journal-cover-strip b:nth-of-type(3),.journal-cover-strip span[lang] {display:none;}
  #online-form.journal-form {grid-area:auto;grid-template-columns:minmax(0,1fr);padding:0;border-radius:0;box-shadow:4px 4px 0 #24211f;}
  .journal-form-title {flex-direction:row;align-items:center;justify-content:space-between;gap:10px;border-right:0;border-bottom:2px solid #24211f;padding:12px 15px;}
  .journal-form-title small {font-size:12px;}
  .journal-form-title strong {font-size:20px;letter-spacing:-.035em;margin:0;}
  .journal-form-title strong br {display:none;}
  .journal-form-title > span {font-size:29px;margin:0;}
  .journal-form-body {padding:15px;}
  .journal-form .ai-source-label {gap:7px;}
  .journal-form .ai-source-label label {font-size:15px;}
  .journal-form #online-example {font-size:12px;}
  .journal-form #online-source {font-size:16px;min-height:118px;}
  .journal-form .source-tools {gap:7px 10px;}
  .journal-form .file-choice label,.journal-form #online-video-example {font-size:13px;}
  .journal-form .ai-actions {gap:11px;align-items:center;}
  .journal-form #online-submit {font-size:14px;padding:9px 13px;}
  .journal-form .ai-consent {font-size:12px;}
  .journal-hero #online-result {grid-area:auto;}
}
@media(max-width:365px) {
  .journal-nav .brand {font-size:23px;}
  .journal-nav .brand img {width:24px;height:24px;}
  .journal-nav nav {gap:9px;}
  .journal-nav nav a {font-size:11px;}
  .journal-intro {padding:21px 17px 0;}
  .journal-intro h1 {font-size:43px;}
  .journal-intro > p {font-size:13px;}
  .journal-cover-actions {gap:15px;}
  .journal-start {font-size:12px;padding:10px 11px;gap:9px;}
  .journal-collage {height:230px;}
  .journal-dish-main {top:28px;}
  .journal-dish-caption strong {font-size:15px;}
  .journal-dish-side {top:102px;width:45%;}
  .journal-dish-side .journal-dish-caption strong {font-size:12px;}
  .journal-form-body {padding:12px;}
  .journal-form .ai-consent br {display:none;}
  .journal-form .ai-actions {align-items:flex-start;}
}
@media(prefers-reduced-motion:reduce) {.journal-start,.journal-dish{transition:none;}}

/* Clear touch targets without crowding the compact source form. */
.journal-form .ai-source-label {align-items:center;}
.journal-form #online-source:focus {background:#fffef8;}
.journal-form #online-count {font-size:12px;}
@media(max-width:740px){.journal-form .ai-actions{flex-wrap:wrap;gap:14px;}.journal-form #online-submit{flex:1 0 100%;min-height:48px;}.journal-form .ai-consent{max-width:none;line-height:1.65;}.journal-form .ai-consent br{display:none;}.journal-form .source-tools{gap:8px 12px;}.journal-form #online-count{flex:1;text-align:right;}.journal-form .journal-file-help{margin-top:0;}}

.journal-form-title strong{margin-top:0;}
.journal-form-title small{margin-top:14px;}
@media(max-width:740px){.journal-form-title small{margin:0;white-space:nowrap;}.journal-form-title strong{white-space:nowrap;}}
@media(max-width:365px){.journal-form-title{gap:8px;padding-inline:12px;}.journal-form-title small{font-size:11px;}.journal-form-title strong{font-size:19px;}.journal-form-title>span{font-size:25px;}}

/* Mac edition: a food-club poster with a dinner plan and a cooking invitation. */
#edition {
  --ed-purple:#7353ef;--ed-acid:#e8ff62;--ed-orange:#ff693a;--ed-cream:#fff9e9;--ed-ink:#24211f;
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.12fr);grid-template-areas:"intro slip" "invite invite" "info info";gap:35px 40px;
  align-items:center;position:relative;isolation:isolate;margin:54px 0 40px;padding:42px 42px 17px;
  border:2px solid var(--ed-ink);border-radius:0;color:var(--ed-cream);background:var(--ed-purple);
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;
}
#edition .edition-intro{grid-area:intro;position:relative;z-index:1;align-self:center}
#edition .edition-label{display:inline-flex;align-items:center;gap:9px;color:var(--ed-cream);font-size:14px;font-weight:750}
#edition h2{margin:20px 0 16px;color:var(--ed-cream);font:900 clamp(44px,5.25vw,65px)/1.08 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;letter-spacing:-.03em;white-space:nowrap}
#edition h2>span{color:var(--ed-acid)}
#edition .edition-copy{margin:0;color:var(--ed-cream);font-size:16px;font-weight:560;line-height:1.7;text-wrap:pretty}
#edition .edition-toolkit{display:flex;gap:13px;margin-top:22px;color:#f1ff9c}
#edition .edition-toolkit>span{display:flex;align-items:baseline;gap:4px;font-size:10px;font-weight:650}
#edition .edition-toolkit strong{font-size:13px;font-weight:750;color:var(--ed-cream)}
#edition .edition-slip{grid-area:slip;align-self:center;position:relative;min-width:0;padding:24px 22px 17px;margin:0 3px 0 0;transform:rotate(3deg);border:2px solid var(--ed-ink);background:var(--ed-cream);color:var(--ed-ink);box-shadow:8px 8px 0 var(--ed-ink)}
#edition .edition-slip::before{content:"";position:absolute;z-index:1;left:39%;top:-11px;width:25%;height:23px;background:var(--ed-orange);transform:rotate(-8deg);border:1px solid var(--ed-ink);clip-path:polygon(3% 0,99% 0,97% 38%,100% 66%,98% 100%,0 100%,3% 69%,0 42%)}
#edition .edition-slip-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 17px;padding-bottom:12px;border-bottom:2px solid var(--ed-ink)}
#edition .edition-slip-head strong{font-size:clamp(21px,2.1vw,29px);font-weight:850;line-height:1.2;letter-spacing:-.03em}
#edition .edition-slip-head>span{font-size:10px;white-space:nowrap;border:1px solid var(--ed-ink);padding:3px 5px;font-weight:650}
#edition .edition-dishes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#edition .edition-dishes a{min-width:0;text-decoration:none;color:var(--ed-ink)}
#edition .edition-dishes a:hover>span{text-decoration:underline;text-underline-offset:3px}
#edition .edition-dishes img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover;border:1.5px solid var(--ed-ink);border-radius:50%}
#edition .edition-dishes a>span{display:flex;align-items:center;gap:4px;padding:9px 0 2px;font-size:13px;font-weight:750;white-space:nowrap}
#edition .edition-dishes b{font-size:9px;font-weight:700;letter-spacing:-.03em;color:#7557bd}
#edition .edition-dishes i{margin-left:auto;font:normal 17px/1 sans-serif}
#edition .edition-groceries{margin-top:16px;padding-top:13px;border-top:2px dashed #24211f;font-size:12px}
#edition .edition-groceries>strong{display:flex;align-items:baseline;gap:8px;font-size:15px;font-weight:850}
#edition .edition-groceries>strong>span{font:700 23px/.7 sans-serif}
#edition .edition-groceries ul{display:flex;flex-wrap:wrap;gap:4px 13px;list-style:none;padding:0;margin:9px 0 0}
#edition .edition-groceries li{display:flex;align-items:center;gap:4px;white-space:nowrap;font-size:12px;font-weight:600}
#edition .edition-groceries li::before{content:"•";font-size:12px;line-height:1;color:var(--ed-ink)}
#edition .edition-slip-note{display:block;margin-top:14px;font-size:10px;color:#595346}
#edition .edition-invite{grid-area:invite;display:flex;flex-wrap:wrap;gap:18px 24px;align-items:center;justify-content:space-between;padding:20px 24px;border:2px solid var(--ed-ink);background:var(--ed-acid);color:var(--ed-ink);box-shadow:5px 5px 0 var(--ed-ink)}
#edition .edition-invite p{margin:0;font-size:clamp(22px,2.5vw,30px);font-weight:850;line-height:1.35;letter-spacing:-.02em;text-wrap:balance}
#edition .edition-try{display:flex;gap:18px;align-items:center;justify-content:space-between;min-height:44px;padding:10px 13px;color:var(--ed-cream);border:2px solid var(--ed-ink);border-radius:0;background:var(--ed-purple);font-size:14px;font-weight:800;text-decoration:none;box-shadow:2px 2px 0 var(--ed-ink)}
#edition .edition-try>span{font:700 23px/.8 sans-serif}
#edition .edition-try:hover{background:#5b39d7}
#edition .edition-info{grid-area:info;min-width:0;margin:-16px 0 0;color:var(--ed-cream)}
#edition .edition-info summary{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:44px;padding:4px 0;cursor:pointer;list-style:none;font-size:13px;font-weight:700}
#edition .edition-info summary::-webkit-details-marker{display:none}
#edition .edition-info summary>span{display:grid;width:24px;height:24px;place-items:center;border:1.5px solid var(--ed-cream);border-radius:50%}
#edition .edition-info summary>span::before,#edition .edition-info summary>span::after{content:"";grid-area:1/1;width:11px;height:1.5px;background:var(--ed-cream)}
#edition .edition-info summary>span::after{transform:rotate(90deg)}
#edition .edition-info[open] summary>span::after{display:none}
#edition .edition-info dl{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px 18px;margin:12px 0 16px;padding-top:15px;border-top:1px solid #b29bff;font-size:14px;line-height:1.65}
#edition .edition-info dt{font-weight:750;color:#f1ff9c}
#edition .edition-info dd{margin:0;color:var(--ed-cream)}
#edition :is(.edition-try,summary):focus-visible{outline:3px solid var(--ed-cream);outline-offset:4px}
#edition .edition-dishes a:focus-visible{outline:3px solid var(--ed-purple);outline-offset:3px}
@media(max-width:1000px) and (min-width:701px){
 #edition{padding:30px 26px 14px;gap:28px}
 #edition h2{font-size:clamp(38px,5.4vw,52px)}
 #edition .edition-copy{font-size:14px}
 #edition .edition-slip{padding:21px 15px 14px}
 #edition .edition-slip-head{align-items:flex-start;flex-direction:column;gap:6px}
 #edition .edition-dishes a>span{font-size:12px}
 #edition .edition-dishes b{display:none}
}
@media(max-width:700px){
 #edition{grid-template-columns:minmax(0,1fr);grid-template-areas:"intro" "slip" "invite" "info";gap:26px;margin:37px 0 27px;padding:25px 21px 12px}
 #edition h2{font-size:clamp(40px,11.4vw,64px);margin:14px 0;line-height:1.08}
 #edition .edition-label{font-size:12px}
 #edition .edition-copy{font-size:14px;line-height:1.6}
 #edition .edition-toolkit{gap:14px;margin-top:15px}
 #edition .edition-slip{justify-self:center;width:calc(100% - 8px);max-width:440px;margin:5px 7px 5px 0;padding:20px 15px 15px;box-shadow:5px 5px 0 var(--ed-ink);transform:rotate(3deg)}
 #edition .edition-slip-head{gap:5px;margin-bottom:12px;padding-bottom:10px}
 #edition .edition-slip-head strong{font-size:clamp(19px,5vw,24px)}
 #edition .edition-slip-head>span{font-size:9px;padding:2px 3px}
 #edition .edition-dishes{gap:10px}
 #edition .edition-dishes a>span{font-size:12px;gap:3px}
 #edition .edition-dishes b{display:none}
 #edition .edition-dishes i{font-size:16px}
 #edition .edition-groceries{margin-top:12px;padding-top:10px}
 #edition .edition-groceries ul{gap:4px 11px}
 #edition .edition-slip-note{margin-top:10px;font-size:9px}
 #edition .edition-invite{padding:18px 17px;gap:16px;}
 #edition .edition-try{gap:10px;min-height:42px;padding:8px 10px;font-size:13px}
 #edition .edition-info{margin:-13px 0 0}
 #edition .edition-info summary{font-size:12px}
 #edition .edition-info dl{display:block}
 #edition .edition-info dt:not(:first-child){margin-top:12px}
 #edition .edition-info dd{margin-top:2px}
}
@media(max-width:365px){
 #edition{padding:22px 14px 10px}
 #edition h2{font-size:38px}
 #edition .edition-copy{font-size:13px}
 #edition .edition-slip{padding-inline:11px}
 #edition .edition-slip-head strong{font-size:17px}
 #edition .edition-slip-head>span{font-size:8px}
 #edition .edition-dishes a>span{font-size:11px}
 #edition .edition-invite{padding-inline:13px;}
 #edition .edition-try{padding-inline:8px;font-size:12px}
}

#edition .edition-label{margin:12px 0 16px;}
#edition .edition-toolkit strong{font-size:14px;}
#edition .edition-toolkit>span+span{padding-left:13px;border-left:1px solid #ffffff65;}
#edition .edition-info summary{min-height:48px;font-size:14px;}
#edition .edition-try{min-height:44px;}

/* Keep review, feedback and the final action in view while the recipe scrolls. */
.nb-dialog[open] {
  display:flex;flex-direction:column;gap:16px;
  overflow:hidden;padding:24px;max-height:min(90vh,860px);max-height:min(90dvh,860px);
}
.nb-dialog .nb-dialog-head {flex:none;gap:16px;margin:0;padding-bottom:16px;}
.nb-dialog .nb-dialog-head>div {min-width:0;}
.nb-dialog .nb-dialog-head h2 {margin:0;line-height:1.2;letter-spacing:-.03em;font-size:clamp(25px,3vw,33px);max-height:3.6em;overflow-y:auto;scrollbar-width:thin;}
.nb-dialog .nb-dialog-head .nb-source {margin:7px 0 0;color:var(--muted);font-size:13px;font-weight:500;line-height:1.5;}
.nb-dialog #nb-dialog-title:focus {outline:none;}
.nb-dialog .nb-close {min-width:44px;min-height:44px;flex:none;}
.nb-dialog-status {flex:none;margin:0;padding:11px 14px;border-radius:8px;background:#eff7ca;color:#304310;font-size:14px;line-height:1.5;}
.nb-dialog-status:empty {display:none;}
.nb-dialog-status[data-state=error] {background:#ffe4d5;color:#8c270e;}
.nb-dialog .nb-fields {display:flex;flex-direction:column;gap:0;min-height:0;overflow:hidden;}
.nb-fields-scroll {display:grid;gap:18px;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:3px 8px 8px 3px;scroll-padding:12px;scrollbar-color:#b8aa94 transparent;}
.nb-fields-scroll>.nb-title-label {display:grid;gap:7px;font-size:14px;font-weight:700;}
.nb-dialog .nb-fields fieldset {padding:12px;margin:0;}
.nb-dialog .nb-fields input {min-height:44px;}
.nb-dialog .nb-fields input,.nb-dialog .nb-fields textarea {font-size:16px;line-height:1.5;}
.nb-dialog .nb-fields textarea {min-height:72px;}
.nb-dialog .nb-ingredient-row,.nb-dialog .nb-step-row {align-items:start;gap:8px;margin-bottom:10px;}
.nb-dialog .nb-actions {flex:none;gap:10px;margin:0;padding:16px 3px 3px;border-top:1px solid #c9c0af;}
.nb-dialog .nb-fields>.nb-actions {margin-top:12px;}
.nb-dialog .nb-actions button,.nb-dialog .nb-secondary,.nb-dialog .nb-remove {min-height:44px;}
.nb-dialog .nb-primary {padding:10px 20px;}
.nb-dialog .nb-actions>.nb-secondary {padding-inline:18px;}
.nb-dialog .nb-details {min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:0 8px 5px 0;scrollbar-color:#b8aa94 transparent;}
.nb-dialog .nb-details h3 {margin-top:20px;}
.nb-dialog .nb-confirm {min-height:0;margin:0;overflow-y:auto;line-height:1.7;overscroll-behavior:contain;}
@media(max-width:700px){
  .nb-dialog[open] {width:calc(100% - 24px);max-height:92vh;max-height:92dvh;padding:18px 14px;gap:13px;}
  .nb-dialog .nb-dialog-head {gap:10px;padding-bottom:13px;}
  .nb-dialog .nb-dialog-head h2 {font-size:25px;}
  .nb-dialog .nb-dialog-head .nb-source {font-size:12px;margin-top:6px;}
  .nb-fields-scroll {gap:16px;padding-right:4px;}
  .nb-dialog .nb-fields fieldset {padding:10px;}
  .nb-dialog .nb-ingredient-row,.nb-dialog .nb-step-row {gap:6px;}
  .nb-dialog .nb-ingredient-row {grid-template-columns:minmax(0,1fr) minmax(0,.9fr) 44px;}
  .nb-dialog .nb-remove {padding-inline:5px;font-size:12px;}
  .nb-dialog .nb-actions {padding-top:13px;}
  .nb-dialog .nb-actions>.nb-primary {flex:1;}
  .nb-dialog-status {padding:10px 12px;font-size:13px;}
}
@media(max-height:500px){
  .nb-dialog[open] {max-height:96vh;max-height:96dvh;padding-block:12px;gap:9px;}
  .nb-dialog .nb-dialog-head {padding-bottom:9px;}
  .nb-dialog .nb-dialog-head h2 {font-size:22px;}
  .nb-dialog .nb-dialog-head .nb-source {display:none;}
  .nb-dialog .nb-actions {padding-top:9px;}
}

@media(max-width:365px){.nb-dialog .nb-dialog-head h2{font-size:22px;line-height:1.25;text-wrap:balance;}}

/* The same food-zine visual system, organized around everyday eating situations. */
.catalog-eyebrow{font-size:13px;font-weight:750;letter-spacing:.04em;color:#60448e;}
#recipes .collection-heading{align-items:end;gap:24px;}
#recipes .collection-heading h2{font-size:clamp(30px,3.8vw,50px);font-weight:900;letter-spacing:-.03em;}
#recipes .collection-heading>p{font-size:16px;line-height:1.6;}
#recipes .collection-tools{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;}
#recipes .recipe-filters{display:flex;flex-wrap:wrap;gap:9px;}
#recipes .recipe-filters button{display:inline-flex;align-items:center;gap:9px;padding:10px 15px;font-size:14px;min-height:46px;}
.recipe-filters button>span{font-size:11px;font-weight:650;opacity:.85;}
#recipes .recipe-search{display:flex;align-items:center;gap:15px;max-width:610px;}
#recipes .recipe-search input{min-width:0;flex:1;width:100%;}
.catalog-result-line{display:flex;align-items:baseline;gap:16px;margin-top:18px;}
#recipes #recipe-count{flex:none;margin:0;font-size:15px;}
#scene-description:empty{display:none;}
#scene-description{font-size:13px;color:#625b54;margin:0;line-height:1.6;}
.catalog-guide{margin:0 0 17px;padding-bottom:0;border-bottom:1px solid #c9c0af;color:#625b54;font-size:13px;line-height:1.7;}
.catalog-guide summary{width:fit-content;cursor:pointer;min-height:44px;display:flex;align-items:center;font-weight:700;text-decoration:underline;text-underline-offset:4px;}
.catalog-guide summary::after{content:'＋';padding-left:9px;}
.catalog-guide[open] summary::after{content:'−';}
.catalog-guide p{max-width:78em;margin:8px 0 14px;}
.catalog-guide a{color:#5132bf;}
.collection-card{display:flex;flex-direction:column;}
.collection-card strong{font-size:clamp(18px,1.8vw,25px);line-height:1.35;}
.collection-card .collection-meta{font-size:13px;}
.card-scene{display:block;margin:9px 5px 0;font-size:12px;line-height:1.5;color:#625b54;}
.ingredient-poster{aspect-ratio:1.45;display:flex;flex-direction:column;justify-content:space-between;padding:17px;background:#e8ff62;color:#24211f;overflow:hidden;}
.collection-card:nth-child(4n+1) .ingredient-poster{background:#ffd3bf;}
.collection-card:nth-child(4n+3) .ingredient-poster{background:#d9cbff;}
.poster-label{font-size:11px;font-weight:700;letter-spacing:.04em;}
.poster-ingredients{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;margin:14px 0;max-width:100%;}
.poster-ingredients b{font-size:clamp(18px,2vw,29px);line-height:1.3;font-weight:850;letter-spacing:-.025em;overflow-wrap:anywhere;}
.poster-ingredients i{font:normal 17px/1 sans-serif;}
.poster-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;font-weight:700;}
.poster-foot>span{font-size:22px;}
.reader-no-photo>.ingredient-poster{aspect-ratio:auto;min-height:280px;padding:35px;border-radius:21px 0 0 21px;}
.reader-no-photo .poster-ingredients b{font-size:clamp(24px,3.6vw,45px);}
.reader-no-photo .poster-label,.reader-no-photo .poster-foot{font-size:14px;}
.recipe-context{margin:24px 0;padding:18px 22px;border-left:4px solid #7353ef;background:#f1edff;font-size:14px;line-height:1.75;}
.recipe-context p{margin:5px 0;}
.recipe-context .recipe-context-scene{font-weight:800;color:#5132bf;margin-bottom:9px;}
.recipe-context .nutrition-note{color:#625b54;font-size:13px;margin-top:10px;}
.nb-recipe-meta{margin:12px 0 18px;padding:12px 15px;background:#f1edff;border-left:3px solid #7353ef;line-height:1.65;font-size:13px;}
.nb-recipe-meta p{margin:5px 0;}
@media(max-width:740px){
 #recipes .collection-heading{display:block;}
 #recipes .collection-heading>p{margin-top:18px;font-size:14px;}
 #recipes .recipe-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
 #recipes .recipe-filters button{justify-content:space-between;font-size:13px;padding:10px 12px;}
 #recipes .recipe-filters button:first-child{grid-column:1/-1;justify-content:center;}
 #recipes .recipe-search{display:block;grid-row:auto;}
 #recipes .recipe-search>span{display:block;margin-bottom:7px;font-size:13px;}
 .catalog-result-line{display:block;}
 #scene-description{margin-top:7px;}
 .collection-card .ingredient-poster{padding:11px;aspect-ratio:auto;min-height:150px;overflow:visible;}
 .collection-card .poster-ingredients{gap:2px 4px;margin:9px 0;}
 .collection-card .poster-ingredients b{font-size:18px;}
 .collection-card .poster-ingredients b:nth-of-type(n+3),.collection-card .poster-ingredients i:nth-of-type(n+2){display:none;}
 .collection-card .poster-label{font-size:10px;}
 .collection-card .poster-foot{font-size:10px;}
 .collection-card .poster-foot>span{font-size:17px;}
 .collection-card strong{font-size:18px;}
 .collection-card .collection-meta,.card-scene{font-size:11px;}
 .reader-no-photo>.ingredient-poster{border-radius:20px 20px 0 0;min-height:220px;padding:25px;}
 .recipe-context{padding:14px 16px;font-size:13px;}
}
@media(max-width:365px){
 .collection-card .ingredient-poster{padding:9px;}
 .collection-card .poster-ingredients b{font-size:16px;}
 .collection-card .poster-foot{font-size:9px;}
 .collection-card strong{font-size:17px;}
 #recipes .recipe-filters button{font-size:12px;padding:10px;}
}

/* Browser-owned cookbook tools: backup stays reachable even before the first save. */
.nb-backup-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;margin:18px 0;background:#e8ff62;border:2px solid #24211f;border-radius:14px;box-shadow:3px 3px 0 #24211f;color:#24211f;}
.nb-backup-copy{display:grid;gap:5px;min-width:0;}
.nb-backup-copy strong{font-size:19px;line-height:1.3;}
.nb-backup-copy span{font-size:13px;line-height:1.5;}
.nb-backup-actions{display:flex;flex-wrap:wrap;gap:9px;}
.nb-backup-actions button,.nb-state-filters button,.nb-cooking-state button{min-height:44px;padding:10px 15px;border:1.5px solid #24211f;border-radius:9px;background:#fff9e9;color:#24211f;font-family:inherit;font-size:14px;font-weight:700;line-height:1.4;cursor:pointer;}
.nb-backup-actions button:hover,.nb-state-filters button:hover,.nb-cooking-state button:hover{background:#f0e8ff;}
.nb-backup-status{margin:0 0 15px;font-size:14px;line-height:1.6;color:#454039;overflow-wrap:anywhere;}
.nb-backup-status:empty{display:none;}
.nb-state-filters,.nb-cooking-state{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0;}
.nb-state-filters[hidden]{display:none;}
.nb-state-filters button[aria-pressed=true],.nb-cooking-state button[aria-pressed=true]{background:#7353ef;color:#fff9e9;border-color:#24211f;}
.nb-card-copy>.nb-card-state{justify-self:start;font-size:12px;font-weight:750;color:#4d2eaa;background:#eee6ff;padding:4px 8px;border-radius:6px;margin-top:4px;}
.nb-dialog .nb-cooking-state{margin:0 0 17px;}
.nb-dialog .nb-import-summary{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-right:5px;line-height:1.65;}
.nb-import-summary p{font-size:14px;}
.nb-import-summary .nb-import-count{font-size:21px;font-weight:800;margin:0 0 12px;}
.nb-import-summary ul{padding-left:22px;overflow-wrap:anywhere;}
.nb-backup-actions button:focus-visible,.nb-state-filters button:focus-visible,.nb-cooking-state button:focus-visible{outline:3px solid #7353ef;outline-offset:3px;}
.nb-backup-actions button:disabled,.nb-cooking-state button:disabled{opacity:.6;cursor:wait;}
@media(max-width:700px){
 .nb-backup-bar{padding:16px 14px;gap:13px;}
 .nb-backup-copy strong{font-size:18px;}
 .nb-backup-actions{width:100%;}
 .nb-backup-actions button{flex:1;}
 .nb-state-filters{gap:7px;}
 .nb-state-filters button{padding-inline:10px;font-size:13px;}
 .nb-dialog .nb-import-count{font-size:19px;}
}

/* Keep all three saved-recipe actions on one readable row on narrow phones. */
.nb-dialog .nb-actions.nb-saved-actions>button{padding-inline:10px;white-space:nowrap;}

/* Personal illustration controls and provenance stay alongside the recipe. */
.nb-portion-save{min-height:44px;padding:11px 16px;margin:0 0 18px;border:2px solid #24211f;border-radius:9px;background:#7353ef;color:#fff9e9;font-family:inherit;font-size:14px;font-weight:750;line-height:1.4;cursor:pointer;}
.nb-portion-save[hidden]{display:none;}
.nb-portion-basis{margin:14px 0;padding:14px;border:1.5px solid #24211f;border-radius:10px;background:#f0e8ff;}
.nb-portion-basis summary{min-height:44px;display:flex;align-items:center;font-size:14px;font-weight:750;cursor:pointer;}
.nb-portion-basis summary::before{content:'＋';margin-right:9px;}.nb-portion-basis[open] summary::before{content:'−';}
.nb-portion-basis>label{display:grid;gap:8px;margin:10px 0;font-size:14px;}
.nb-portion-basis input[type=number]{max-width:130px;min-height:44px;}
.nb-portion-basis>.nb-basis-confirm{display:flex;align-items:center;gap:10px;min-height:44px;}
.nb-portion-basis input[type=checkbox]{width:22px;height:22px;flex:0 0 22px;accent-color:#7353ef;}
.nb-portion-basis p{font-size:12px;line-height:1.6;margin:8px 0 0;}
.nb-portion-save:focus-visible,.nb-portion-basis summary:focus-visible{outline:3px solid #7353ef;outline-offset:3px;}
.nb-image-tools,.nb-directory-image-tools{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:16px 0;}
.nb-directory-image-tools{order:6;}
.nb-image-generate{min-height:44px;padding:10px 15px;border:1.5px solid #24211f;border-radius:9px;background:#eee6ff;color:#43287d;font-family:inherit;font-size:14px;font-weight:750;line-height:1.4;cursor:pointer;}
.nb-image-generate:hover{background:#e3d5ff;}
.nb-image-generate:focus-visible{outline:3px solid #7353ef;outline-offset:3px;}
.nb-image-generate:disabled{opacity:.6;cursor:wait;}
.nb-image-tools .nb-image-help,.reader-title .nb-directory-image-note{flex-basis:100%;margin:0;font-size:12px;line-height:1.6;color:#625667;max-width:50ch;overflow-wrap:anywhere;}
.nb-generated-art{margin:0;min-width:0;position:relative;}
.nb-generated-art>img{display:block;width:100%;height:auto;max-height:360px;object-fit:contain;border-radius:10px;background:#f3eddf;}
.nb-generated-art>figcaption{font-size:12px;font-weight:650;line-height:1.5;padding:8px 2px;color:#584e60;overflow-wrap:anywhere;}
.nb-generated-art.nb-image-stale>figcaption,.nb-image-warning{color:#8b351d;background:#fff0df;padding:9px;border-radius:7px;}
.nb-personal-cover{display:block;min-width:0;max-width:100%;}
.nb-card .nb-personal-cover{width:82px;}
.nb-card .nb-generated-thumb>img{width:82px;height:70px;object-fit:cover;border-radius:9px;}
.nb-card .nb-generated-thumb>figcaption{font-size:11px;padding:4px 0;}
.nb-card .nb-image-warning{display:block;font-size:11px;line-height:1.5;}
.collection-image.nb-personal-image-ready>:not(.nb-generated-art){display:none;}
.collection-image .nb-generated-art>img{max-height:none;height:100%;aspect-ratio:4/3;object-fit:cover;border-radius:0;}
.collection-image .nb-generated-art>figcaption{position:absolute;bottom:8px;left:8px;right:8px;width:max-content;max-width:calc(100% - 16px);padding:4px 7px;border-radius:5px;background:#fff9e9;color:#24211f;font-size:11px;}
.reader-intro.nb-personal-image-ready>img{display:none;}
.reader-intro.reader-no-photo.nb-personal-image-ready{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);}
.reader-intro .nb-generated-art{align-self:start;}
@media(max-width:700px){
 .reader-intro.reader-no-photo.nb-personal-image-ready{grid-template-columns:minmax(0,1fr);}
 .nb-card .nb-personal-cover,.nb-card .nb-generated-thumb>img{width:68px;}
 .nb-card .nb-generated-thumb>img{height:60px;}
 .nb-generated-art>img{max-height:280px;}
}
/* Everyday meal decisions within the approved, expressive food-zine visual system. */
.journal-hero{gap:22px;padding-bottom:46px;}
.journal-collage{min-height:420px;}
.journal-intro h1{font-size:clamp(52px,6vw,80px);}
.journal-dish-main{top:38px;left:22%;width:70%;max-width:400px;}
.journal-dish-side{top:175px;left:4%;width:42%;max-width:240px;}
.today-label{font-size:18px;font-weight:850;margin:0 0 12px;}
.today-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-block:2px solid #24211f;}
.today-options a{padding:20px;display:flex;flex-direction:column;gap:9px;background:#fff9e9;min-width:0;}
.today-options a+a{border-left:1px solid #24211f;}
.today-options a:hover{background:#e8ff62;}
.today-options strong{font-size:21px;line-height:1.45;}
.today-options span,.today-options small{font-size:12px;color:#60564e;}
.meal-finder{padding:25px;background:#eee7ff;border:2px solid #24211f;box-shadow:5px 5px 0 #24211f;}
.pantry-input{display:block;font-size:20px;font-weight:850;margin-bottom:10px;}
.pantry-entry{display:flex;gap:12px;}
.pantry-entry input{min-width:0;flex:1;padding:13px 15px;font-size:17px;background:#fffdf4;border:1px solid #24211f;border-radius:0;}
.pantry-entry button,.meal-shopping button{min-height:48px;padding:12px 22px;color:#24211f;background:#e8ff62;border:2px solid #24211f;font-weight:800;}
.meal-presets{display:flex;flex-wrap:wrap;gap:8px 16px;margin:10px 0 16px;}
.meal-presets button{border:0;background:transparent;color:#4b329e;padding:8px 0;min-height:44px;text-decoration:underline;text-underline-offset:4px;font-size:13px;}
.meal-facets{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;}
.meal-facets label{font-size:13px;font-weight:750;min-width:0;}
.meal-facets select{display:block;width:100%;min-height:48px;border:1px solid #81768d;border-radius:0;color:#24211f;background:#fffdf4;margin-top:8px;font:inherit;font-size:15px;padding:10px 28px 10px 10px;}
.meal-preferences{display:flex;gap:8px 24px;flex-wrap:wrap;margin-top:14px;}
.meal-preferences label,.meal-allergies label{display:flex;align-items:center;gap:8px;min-height:44px;font-size:13px;cursor:pointer;}
.meal-finder input[type=checkbox]{width:19px;height:19px;flex:0 0 19px;accent-color:#5132bf;}
.meal-allergies summary,.meal-more summary,.recipe-context summary,.meal-shopping summary{min-height:44px;padding:12px 0;cursor:pointer;font-weight:750;line-height:1.5;}
.meal-allergies>div{display:flex;flex-wrap:wrap;gap:4px 20px;}
.meal-allergies p{font-size:12px;line-height:1.6;color:#60564e;}
.meal-more{margin-top:18px;border-bottom:1px solid #c9c0af;padding-bottom:6px;}
.meal-more .recipe-search{margin:16px 0;}
.catalog-result-line{display:flex;align-items:center;justify-content:space-between;}
#clear-meal-filters{background:transparent;border:0;text-decoration:underline;min-height:44px;color:#4b329e;padding:8px;font-weight:650;}
#pantry-feedback{font-size:13px;line-height:1.7;color:#60564e;margin:8px 0;overflow-wrap:anywhere;}
#pantry-feedback:empty{display:none;}
.card-prep{font-size:12px;line-height:1.6;margin:7px 5px;color:#60564e;}
.card-prep:empty{display:none;}
.card-match{white-space:pre-line;font-size:13px;line-height:1.7;border-top:1px solid #c9c0af;padding-top:10px;margin:10px 5px 0;color:#352269;}
.collection-card[hidden],.card-match[hidden]{display:none;}
#recipe-empty{background:#eee7ff;padding:25px;border:1px solid #24211f;line-height:1.7;}
#recipe-empty button{min-height:44px;padding:10px 14px;background:#fff9e9;border:1px solid #24211f;margin:8px 10px 0 0;}
.reader-no-photo{display:block;background:#fff9e9;border-radius:0;border-bottom:2px solid #24211f;}
.reader-no-photo .reader-title{padding:24px;}
.reader-no-photo h1{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif;font-weight:900;font-size:clamp(30px,4vw,50px);line-height:1.2;}
.reader-prereq{font-size:13px!important;font-weight:700;line-height:1.7!important;color:#4b329e!important;}
.reader-prereq:empty{display:none;}
.recipe-context{padding:0 18px;border:1px solid #c9c0af;background:transparent;margin:16px 0;}
.recipe-context[open]{padding-bottom:16px;}
.meal-shopping{border:1px solid #7353ef;background:#f1edff;padding:0 18px;margin:16px 0;font-size:14px;line-height:1.65;}
.meal-shopping[open]{padding-bottom:14px;}
.meal-shopping p{margin:8px 0;}
.meal-shopping textarea{display:block;width:100%;min-height:120px;font:inherit;}
.meal-stock-note{font-size:12px;color:#60564e;}
.meal-organize{padding:35px 0 55px;}
.meal-organize #online-result{margin-top:20px;}
.reader-title>.kicker{font-size:11px;}
#edition .edition-slip-head>span,#edition .edition-slip-note{font-size:11px;}
@media(max-width:740px){
 .journal-intro{padding:22px 20px 16px;}
 .journal-intro h1{font-size:clamp(41px,11vw,65px);}
 .journal-collage{display:none;}
 .journal-cover-actions{gap:12px;}
 .journal-hero{padding-bottom:32px;gap:18px;}
 .today-label{font-size:17px;}
 .today-options{grid-template-columns:minmax(0,1fr);}
 .today-options a{display:grid;grid-template-columns:1fr auto;gap:4px 10px;padding:12px 8px;}
 .today-options a+a{border-left:0;border-top:1px solid #c9c0af;}
 .today-options strong{font-size:17px;grid-column:1;grid-row:1;}
 .today-options span{grid-column:2;grid-row:1;align-self:center;font-size:11px;}
 .today-options small{grid-column:1/-1;font-size:11px;}
 #recipes .collection-heading>p{margin:10px 0 18px;}
 .meal-finder{padding:16px 13px;box-shadow:3px 3px 0 #24211f;}
 .pantry-input{font-size:18px;}
 .pantry-entry{gap:8px;}
 .pantry-entry input{font-size:16px;padding:11px 9px;}
 .pantry-entry button{font-size:13px;padding:10px;flex:0 0 auto;}
 .meal-presets{gap:0 13px;margin:8px 0 13px;}
 .meal-presets button{font-size:12px;}
 .meal-facets{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 10px;}
 .meal-facets select{font-size:14px;padding-left:8px;}
 .meal-preferences{gap:0;margin-top:12px;}
 .meal-preferences label{font-size:12px;width:100%;}
 .meal-allergies summary,.meal-more summary{font-size:13px;}
 .catalog-result-line{display:flex;gap:8px;margin-top:10px;}
 #recipes #recipe-count{font-size:14px;}
 #clear-meal-filters{font-size:12px;}
 .card-prep{font-size:11px;}
 .card-match{font-size:12px;}
 .collection-card .poster-label,.collection-card .poster-foot{font-size:11px;}
 .reader-no-photo .reader-title{padding:18px;}
 .reader-no-photo h1{font-size:30px;}
 .reader-no-photo .reader-title>p{font-size:14px;line-height:1.7;}
 .recipe-context{padding:0 12px;margin:12px 0;}
 .recipe-context summary{font-size:13px;}
 .meal-shopping{padding-inline:12px;}
}
@media(max-width:365px){.today-options a{grid-template-columns:minmax(0,1fr);}.today-options span{grid-column:1;grid-row:2;}.today-options small{grid-row:3;}.pantry-entry{flex-wrap:wrap;}.pantry-entry input{flex-basis:100%;}.pantry-entry button{width:100%;}.meal-facets select{font-size:13px;}}

/* Focused cooking uses the existing warm paper, ink and purple palette. */
.reader-title>.cook-launch{order:5;margin-top:12px;}
.cook-launch.button{min-height:46px;border:2px solid #24211f;border-radius:30px;background:#7353ef;color:#fff9e9;box-shadow:3px 3px 0 #24211f;padding:10px 24px;font-weight:800;}
.cook-launch.button:hover{background:#5b39d7;}
.reader-ingredients>.reader-portion-control{min-width:0;margin:15px 0 20px;}
.reader-ingredients .reader-portion-control .pt-label{flex:0 1 auto;align-items:flex-start;color:#29221e;text-decoration:none;}
.reader-portion-control .pt-people{margin:0;height:auto;}
.reader-portion-note,.cook-step-portion-note{margin:0 0 20px;padding:13px 15px;border:1px solid #b6a6d8;border-radius:12px;background:#eee7ff;color:#453653;font:600 14px/1.65 var(--sans,-apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif);overflow-wrap:anywhere;}
.reader-portion-note[hidden]{display:none;}
.reader-facts span{min-width:0;overflow-wrap:anywhere;}
.cook-dialog{box-sizing:border-box;width:min(720px,calc(100% - 32px));max-width:720px;max-height:92vh;max-height:92dvh;margin:auto;padding:24px;border:2px solid #24211f;border-radius:22px;background:#fff9e9;color:#24211f;box-shadow:7px 7px 0 #24211f;font-family:var(--sans,-apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif);}
.cook-dialog[open]{display:flex;flex-direction:column;gap:16px;overflow:hidden;}
.cook-dialog::backdrop{background:#241c36ba;}
.cook-dialog *{box-sizing:border-box;}
.cook-dialog [hidden]{display:none!important;}
.cook-head{display:flex;flex:none;justify-content:space-between;align-items:flex-start;gap:16px;padding-bottom:14px;border-bottom:1px solid #b9ac96;}
.cook-head>div{min-width:0;}
.cook-eyebrow{margin:8px 0 0;font-size:13px;font-weight:700;color:#5b427f;}
.cook-head h2{margin:0;font-size:clamp(24px,3.7vw,34px);font-weight:900;letter-spacing:-.02em;line-height:1.2;max-height:3.6em;overflow-y:auto;}
.cook-dialog :is(h2,.cook-instruction):focus{outline:none;}
.cook-dialog button,.cook-dialog select{font:inherit;min-height:44px;}
.cook-dialog button{cursor:pointer;}
.cook-close{flex:none;min-width:52px;padding:8px 10px;border:1.5px solid #24211f;border-radius:9px;background:#fffdf7;font-size:14px!important;}
.cook-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:0 4px 4px 1px;scroll-padding:14px;scrollbar-color:#b8aa94 transparent;}
.cook-status{flex:none;margin:0;background:#e8ff62;padding:10px 13px;border:1px solid #24211f;border-radius:9px;line-height:1.5;font-size:14px;}
.cook-status:empty{display:none;}
.cook-prep-note{padding:17px 19px;border:1.5px solid #24211f;border-radius:14px;background:#e5ddff;line-height:1.65;}
.cook-prep-note>strong{font-size:19px;font-weight:850;}
.cook-prep-note p{margin:10px 0 0;font-size:14px;}
.cook-prep-note .cook-validation{font-size:13px;color:#4b405e;border-top:1px solid #b6a6d8;padding-top:10px;}
.cook-ingredients{margin-top:19px;}
.cook-scale-note{margin:10px 0 0;color:#625b54;font-size:13px;line-height:1.65;}
.cook-ingredient-list{list-style:none;margin:15px 0 0;padding:0;}
.cook-ingredient-list li{display:flex;justify-content:space-between;gap:14px;padding:12px 0;min-height:44px;border-bottom:1px dashed #bfb3a1;font-size:15px;line-height:1.5;}
.cook-ingredient-list li>span{min-width:0;}
.cook-ingredient-list li>strong{max-width:52%;flex:none;text-align:right;font-weight:700;}
.cook-actions{flex:none;display:flex;gap:12px;justify-content:flex-end;width:auto;max-width:none;margin:0;padding:16px 1px 1px;border-top:1px solid #b9ac96;}
.cook-primary,.cook-secondary{border:1.5px solid #24211f;border-radius:10px;padding:10px 17px;font-size:15px!important;font-weight:750!important;line-height:1.35;}
.cook-primary{background:#e8ff62;color:#24211f;box-shadow:2px 2px 0 #24211f;}
.cook-primary:hover{background:#daf244;}
.cook-secondary{background:#fffdf7;color:#24211f;}
.cook-secondary:hover:not(:disabled){background:#eee6d7;}
.cook-dialog button:disabled{opacity:.45;cursor:default;}
.cook-dialog :is(button,select,input,summary):focus-visible{outline:3px solid #6142cf;outline-offset:3px;}
.cook-progress-row{display:flex;align-items:center;gap:20px;margin:0 0 21px;}
.cook-step-count{margin:0;white-space:nowrap;font-size:14px;font-weight:800;color:#5b427f;}
.cook-progress-row progress{width:100%;height:10px;accent-color:#7353ef;}
.cook-instruction{font-size:clamp(23px,3vw,31px);line-height:1.65;font-weight:700;margin:0 0 25px;overflow-wrap:anywhere;}
.cook-timer{padding:16px;border:1.5px solid #b9ac96;border-radius:13px;background:#f4efdf;}
.cook-timer-top{display:flex;align-items:center;gap:12px;flex-wrap:wrap;}
.cook-timer-top>label{font-size:14px;font-weight:750;}
.cook-timer-amount{display:flex;align-items:center;gap:7px;font-size:13px;}
.cook-timer-amount input{width:66px;min-height:44px;border:1.5px solid #8a8074;border-radius:8px;background:#fffdf7;color:#24211f;font:700 16px/1.2 var(--sans,sans-serif);padding:7px;}
.cook-timer-output{margin-left:auto;font:800 28px/1.2 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:-.02em;color:#382482;}
.cook-timer-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:13px;}
.cook-timer-state{margin:10px 0 0;font-size:13px;line-height:1.5;color:#625b54;}
.cook-timer-help{margin:5px 0 0;font-size:13px;line-height:1.5;color:#625b54;}
.cook-reference{margin-top:18px;border-top:1px solid #b9ac96;}
.cook-reference summary{display:flex;align-items:center;min-height:48px;font-size:15px;font-weight:750;cursor:pointer;}
.cook-reference summary::after{content:'＋';margin-left:auto;font-size:21px;color:#5b427f;}
.cook-reference[open] summary::after{content:'−';}
.cook-reference .cook-ingredients{margin-top:0;}
.cook-complete{padding:26px 20px;background:#e8ff62;border:2px solid #24211f;border-radius:15px;}
.cook-complete h3{margin:0;font-size:clamp(23px,3vw,30px);line-height:1.3;font-weight:850;}
.cook-complete p{font-size:16px;line-height:1.75;margin:16px 0 0;}
@media(max-width:600px){
 .cook-dialog{width:calc(100% - 20px);max-height:94vh;max-height:94dvh;padding:17px 13px;border-radius:17px;box-shadow:4px 4px 0 #24211f;}
 .cook-dialog[open]{gap:13px;}
 .cook-head{gap:10px;padding-bottom:12px;}
 .cook-head h2{font-size:25px;}
 .cook-eyebrow{font-size:12px;}
 .cook-prep-note{padding:14px;}
 .cook-instruction{font-size:24px;line-height:1.65;}
 .cook-actions{gap:9px;padding-top:12px;}
 .cook-actions>.cook-primary{flex:1;}
 .cook-actions>.cook-secondary{max-width:48%;padding-inline:12px;}
 .cook-timer{padding:13px;}
 .cook-timer-top{gap:10px;}
 .cook-timer-output{font-size:25px;}
 .cook-progress-row{gap:12px;}
 .cook-ingredient-list li{font-size:14px;}
 .cook-step-portion-note{padding:11px 12px;font-size:13px;}
}
@media(max-width:365px){
 .cook-head h2{font-size:22px;}
 .cook-instruction{font-size:22px;}
 .cook-timer-top>label{flex-basis:100%;}
 .cook-timer-output{font-size:27px;}
}
@media(max-height:500px){
 .cook-dialog{max-height:97vh;max-height:97dvh;padding-block:11px;}
 .cook-dialog[open]{gap:8px;}
 .cook-head{padding-bottom:8px;}
 .cook-eyebrow{display:none;}
 .cook-head h2{font-size:21px;}
 .cook-actions{padding-top:9px;}
}

.imagegen-dialog{width:min(680px,calc(100% - 24px));max-height:92vh;max-height:92dvh;border:2px solid #24211f;border-radius:18px;padding:22px;background:#fff9e9;color:#24211f;box-shadow:5px 5px 0 #24211f;}
.imagegen-dialog[open]{display:flex;flex-direction:column;gap:16px;overflow:hidden;}
.imagegen-dialog::backdrop{background:#241c36ba;}
.imagegen-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;border-bottom:1px solid #b9ac96;padding-bottom:15px;}
.imagegen-head h2{font-family:var(--sans);font-size:27px;font-weight:850;margin:0;line-height:1.3;}
.imagegen-head h2:focus{outline:none;}
.imagegen-close{flex:none;}
.imagegen-body{min-height:0;overflow:auto;line-height:1.7;overscroll-behavior:contain;}
.imagegen-recipe-title{font-size:23px;font-weight:800;margin:0 0 12px;}
.imagegen-description{margin:0 0 15px;}
.imagegen-ingredients{padding:15px;background:#eee7ff;border:1px solid #a18abf;font-size:14px;}
.imagegen-note{font-size:13px;color:#62564a;}
.imagegen-status{margin:0;font-size:14px;line-height:1.7;flex:none;}
.imagegen-preview{margin:0;}
.imagegen-preview img{display:block;width:100%;height:auto;border-radius:12px;}
.imagegen-preview figcaption{font-size:13px;color:#62564a;margin-top:10px;}
.imagegen-actions{display:flex;justify-content:flex-end;gap:10px;flex:none;border-top:1px solid #b9ac96;padding-top:15px;}
.imagegen-dialog button{min-height:44px;border:1.5px solid #24211f;border-radius:10px;padding:10px 16px;font:700 14px/1.4 var(--sans);color:#24211f;background:#fffdf7;cursor:pointer;}
.imagegen-dialog .imagegen-primary{background:#e8ff62;box-shadow:2px 2px 0 #24211f;}
.imagegen-dialog button:hover{background:#eee7ff;}
.imagegen-dialog button:disabled{opacity:.55;cursor:wait;}
.imagegen-dialog button:focus-visible{outline:3px solid #7353ef;outline-offset:3px;}
.ai-image-label{display:block;font-size:12px;font-weight:700;line-height:1.5;color:#4b329e;margin:8px 5px 0;}
.reader-title>.ai-image-label{order:2;margin:0 0 10px;}
@media(max-width:600px){.imagegen-dialog{padding:16px 13px;}.imagegen-head h2{font-size:23px;}.imagegen-recipe-title{font-size:20px;}.imagegen-actions button{flex:1;}.imagegen-dialog button{padding-inline:12px;}}

/* A conversational extension of the existing food-zine, not a second theme. */
.hc-section { display:grid;grid-template-columns:minmax(240px,.78fr) minmax(0,1.4fr);gap:clamp(24px,4vw,56px);padding:32px 0 58px;color:#24211f;scroll-margin-top:24px; }
.hc-intro { padding:20px 0;min-width:0; }
.hc-intro h2 { margin:0 0 20px;font-size:clamp(36px,4.5vw,60px);line-height:1.13;font-weight:900;letter-spacing:-.03em;text-wrap:balance; }
.hc-intro > p { font-size:16px;line-height:1.75;max-width:35ch;margin:0 0 25px; }
.hc-examples { display:flex;flex-direction:column;align-items:flex-start;gap:10px;margin-bottom:26px; }
.hc-section button,.hc-section textarea,.hc-section input { font:inherit; }
.hc-section button { cursor:pointer; }
.hc-examples button { min-height:44px;text-align:left;border:1.5px solid #24211f;border-radius:12px;padding:10px 14px;background:#e9e0ff;color:#332350;font-size:14px;font-weight:720; }
.hc-examples button:hover { background:#d9cbff; }
.hc-intro .hc-scope { font-size:13px;line-height:1.7;color:#5a4e41;max-width:40ch; }
.hc-workspace { min-width:0;border:2px solid #24211f;border-radius:16px;overflow:hidden;background:#fffdf4; }
.hc-bar { display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 20px;background:#ff693a;border-bottom:2px solid #24211f; }
.hc-bar strong { font-size:17px;line-height:1.35; }
.hc-bar button { min-height:44px;border:0;padding:8px;background:transparent;text-decoration:underline;text-underline-offset:5px;color:#24211f;font-size:13px;font-weight:700; }
.hc-log { max-height:610px;min-height:150px;padding:22px 24px;overflow:auto;overscroll-behavior:contain;scrollbar-color:#8e75dc #f3edff; }
.hc-message { margin:0 0 24px;max-width:70ch;overflow-wrap:anywhere; }
.hc-message:last-child { margin-bottom:0; }
.hc-message > p { margin:0 0 12px;font-size:15px;line-height:1.75;white-space:pre-wrap; }
.hc-user { margin-left:12%;padding:12px 16px;background:#e9e0ff;border-radius:14px 14px 3px 14px;color:#302344; }
.hc-user > p:last-child { margin-bottom:0; }
.hc-answer { padding:0 0 22px;border-bottom:1px solid #d7c9b5; }
.hc-answer:last-child { border-bottom:0;padding-bottom:0; }
.hc-question { margin-top:16px; }
.hc-question > p { font-size:15px;font-weight:760;line-height:1.65;margin:0 0 10px; }
.hc-options { display:flex;flex-wrap:wrap;gap:8px; }
.hc-options button,.hc-result-actions button,.hc-retry { min-height:44px;border:1.5px solid #68568f;border-radius:11px;background:#f1ebff;padding:10px 13px;color:#3e2a68;font-size:14px;line-height:1.4;font-weight:700; }
.hc-options button:hover,.hc-result-actions button:hover,.hc-retry:hover { background:#e1d5ff; }
.hc-allergen-form { margin-top:16px; }
.hc-allergen-form fieldset { min-width:0;padding:0;margin:0;border:0; }
.hc-allergen-form legend { font-size:15px;font-weight:760;line-height:1.5;margin-bottom:10px; }
.hc-allergen-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 12px; }
.hc-check { display:flex;align-items:center;gap:8px;min-height:44px;font-size:14px;line-height:1.5;cursor:pointer; }
.hc-check input { width:18px;height:18px;flex:0 0 18px;accent-color:#6844d6;margin:0; }
.hc-other-label { display:block;font-size:14px;font-weight:720;margin:15px 0 8px; }
.hc-other { display:block;box-sizing:border-box;width:100%;min-height:44px;border:1px solid #7e7063;border-radius:8px;padding:10px 12px;background:#fff9e9;color:#24211f; }
.hc-allergen-form .hc-severe { align-items:flex-start;margin:12px 0; }
.hc-severe input { margin-top:3px; }
.hc-confirm { min-height:44px;border:1.5px solid #24211f;border-radius:10px;background:#e8ff62;color:#24211f;padding:10px 16px;font-size:14px;font-weight:760; }
.hc-inline-error { color:#9a2d19;font-size:13px;line-height:1.6;margin:8px 0; }
.hc-status { min-height:0;padding:0 24px;color:#58437c;font-size:13px;line-height:1.6; }
.hc-status:not(:empty) { padding-bottom:14px; }
.hc-form { padding:18px 24px 16px;background:#f0eaff;border-top:1px solid #bdaed8; }
.hc-form > label { display:block;font-size:14px;font-weight:800;margin-bottom:9px; }
.hc-form textarea { box-sizing:border-box;width:100%;display:block;min-height:90px;resize:vertical;padding:12px;border:1.5px solid #7c6a96;border-radius:10px;background:#fffdf4;color:#24211f;line-height:1.6;font-size:15px;caret-color:#5930c0; }
.hc-section textarea::placeholder,.hc-section input::placeholder { color:#675b71;opacity:1; }
.hc-compose-actions { display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px; }
.hc-compose-actions span { color:#604e7a;font-size:11px;line-height:1.5; }
.hc-compose-actions button { display:flex;align-items:center;gap:12px;min-height:44px;border:1.5px solid #24211f;border-radius:10px;padding:10px 16px;background:#e8ff62;color:#24211f;font-size:14px;font-weight:800; }
.hc-privacy { padding:0 24px 18px;background:#f0eaff;color:#5b4775;font-size:11px;line-height:1.65;margin:0; }
.hc-section :focus-visible { outline:3px solid #7251e3;outline-offset:3px; }
.hc-section ::selection { color:#24211f;background:#e8ff62; }
.hc-section button:disabled { opacity:.55;cursor:default; }
.hc-recipe h3 { margin:18px 0 12px;font-size:clamp(23px,2.4vw,30px);line-height:1.25;font-weight:850;letter-spacing:-.025em;text-wrap:balance; }
.hc-recipe-image { margin:14px 0; }
.hc-recipe-image img { display:block;width:100%;height:210px;object-fit:cover;border-radius:12px; }
.hc-recipe-image figcaption { font-size:11px;line-height:1.6;color:#695442;margin-top:6px; }
.hc-recipe .hc-recipe-note { color:#695442;font-size:12px;line-height:1.7;margin:0 0 14px; }
.hc-recipe dl { display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0;margin:16px 0 20px; }
.hc-recipe dt,.hc-recipe dd { margin:0;padding:9px 0;border-bottom:1px solid #e0d4c2;line-height:1.5;font-size:14px; }
.hc-recipe dd { padding-left:15px;font-weight:720;white-space:nowrap; }
.hc-recipe details { border-top:1px solid #d7c9b5;margin:14px 0; }
.hc-recipe summary,.hc-sources summary { cursor:pointer;min-height:44px;padding:12px 0;box-sizing:border-box;font-size:14px;font-weight:760; }
.hc-recipe ol { padding-left:23px;margin:8px 0 18px; }
.hc-recipe li { padding-left:3px;margin:0 0 13px;line-height:1.75;font-size:14px; }
.hc-recipe .hc-fit { padding:0;list-style:none; }
.hc-fit li { padding-left:0;font-size:14px; }
.hc-allergy-note { padding:12px 14px;background:#f1ebff;border-radius:10px;font-size:13px;line-height:1.75; }
.hc-sources { margin:12px 0 18px;border-top:1px solid #d7c9b5; }
.hc-source { margin:0 0 15px; }
.hc-source a { color:#543398;font-size:13px;line-height:1.6;font-weight:700;text-decoration:underline;text-underline-offset:3px; }
.hc-source p { margin:5px 0 0;font-size:12px;line-height:1.65;color:#5d4e3e; }
.hc-source small { display:block;font-size:11px;margin-top:4px;color:#665848; }
.hc-result-actions { display:flex;flex-wrap:wrap;gap:9px;margin-top:18px; }
.hc-result-actions .hc-save { background:#e8ff62;border-color:#24211f;color:#24211f; }
.hc-result-actions .hc-save:hover { background:#dff34f; }
@media(max-width:900px){.hc-section{grid-template-columns:minmax(0,1fr);gap:20px;padding-top:15px}.hc-intro{padding:0}.hc-intro h2{font-size:42px}.hc-intro h2 br{display:none}.hc-intro>p{max-width:60ch;margin-bottom:16px}.hc-examples{flex-direction:row;flex-wrap:wrap;margin-bottom:15px}.hc-intro .hc-scope{max-width:65ch;margin-bottom:0}}
@media(max-width:480px){.hc-section{padding-bottom:36px}.hc-intro h2{font-size:34px;line-height:1.2;max-width:10ch;margin-bottom:14px}.hc-intro>p{font-size:14px}.hc-intro .hc-scope{font-size:12px}.hc-examples{gap:8px}.hc-examples button{font-size:12px;padding:10px 11px}.hc-bar{padding:8px 14px}.hc-bar strong{font-size:15px}.hc-log{padding:20px 15px;max-height:560px}.hc-message>p{font-size:14px}.hc-form{padding:16px 15px}.hc-privacy{padding:0 15px 16px}.hc-status{padding-inline:15px}.hc-user{margin-left:7%;padding:11px 13px}.hc-allergen-grid{gap:2px 8px}.hc-check{font-size:13px}.hc-recipe dd{padding-left:10px}.hc-compose-actions{gap:8px}.hc-compose-actions button{padding-inline:12px}.hc-options button{font-size:13px}.hc-message{margin-bottom:20px}}

.hc-saved-evidence { margin:20px 0;padding:16px 0;border-top:1px solid #b9aa91;border-bottom:1px solid #b9aa91; }
.hc-saved-evidence h3 { margin:0 0 10px;font-size:18px;line-height:1.4; }
.hc-saved-evidence p,.hc-saved-evidence li { font-size:13px;line-height:1.7;margin:8px 0;overflow-wrap:anywhere; }
.hc-saved-evidence[data-state=stale] > p:first-of-type,.hc-saved-evidence[data-state=unverified] > p { color:#9a2d19;font-weight:700; }
.hc-saved-evidence summary { cursor:pointer;min-height:44px;padding:12px 0;font-size:14px;box-sizing:border-box; }
.hc-saved-evidence a { color:#5930bd;text-decoration:underline;text-underline-offset:3px; }
.hc-saved-evidence a:focus-visible { outline:3px solid #7251e3;outline-offset:3px; }

.pt-controls { margin:16px 0;padding:16px 0;border-top:1px solid #bbaa91;border-bottom:1px solid #bbaa91;color:#29221e; }
.pt-row { display:flex;align-items:flex-start;gap:20px;flex-wrap:wrap; }
.pt-label { display:flex;flex-direction:column;gap:8px;font-size:14px;line-height:1.45;font-weight:750;min-width:0; }
.pt-stepper { display:flex;align-items:center;gap:5px; }
.pt-controls button,.pt-controls input,.pt-controls select { font:inherit;color:#302344;box-sizing:border-box; }
.pt-controls button { width:44px;min-height:44px;border:1px solid #6d588e;border-radius:9px;background:#eee5ff;font-size:22px;line-height:1;cursor:pointer; }
.pt-controls button:hover { background:#dfd0ff; }
.pt-controls input { min-height:44px;width:54px;padding:8px 2px;border:1px solid #8b7b65;border-radius:8px;background:#fffdf4;text-align:center;appearance:textfield;font-size:16px; }
.pt-controls input::-webkit-inner-spin-button,.pt-controls input::-webkit-outer-spin-button { -webkit-appearance:none;margin:0; }
.pt-controls select { min-height:44px;max-width:100%;padding:8px 30px 8px 10px;border:1px solid #8b7b65;border-radius:8px;background:#fffdf4;font-size:14px; }
.pt-unit { font-size:13px;font-weight:500;margin-right:3px; }
.pt-summary { font-size:13px;line-height:1.7;margin:12px 0 0;font-weight:650; }
.pt-notes p,.pt-unavailable { font-size:12px;line-height:1.7;margin:8px 0 0;color:#695238;overflow-wrap:anywhere; }
.pt-status { font-size:12px;line-height:1.6;color:#9b281a;margin:8px 0 0; }
.pt-status:empty { display:none; }
.pt-controls :focus-visible { outline:3px solid #7251e3;outline-offset:3px; }
.pt-controls button:disabled,.pt-controls input:disabled,.pt-controls select:disabled { opacity:.55;cursor:default; }
.pt-controls ::selection { background:#e8ff62;color:#24211f; }
@media(max-width:380px){.pt-row{gap:14px}.pt-label{font-size:13px}.pt-summary{font-size:12px}.pt-controls{padding:12px 0}}

.mc-panel{margin:20px 0;border:1px solid #79684c;border-radius:12px;background:#fff7d9;color:#302719;overflow:hidden;}
.mc-panel>summary{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 18px;align-items:center;padding:15px;min-height:48px;cursor:pointer;font-size:15px;font-weight:750;}
.mc-panel>summary>strong{font-size:14px;font-variant-numeric:tabular-nums;color:#543796;}
.mc-panel>summary::after{content:'展开';font-size:12px;font-weight:500;}.mc-panel[open]>summary::after{content:'收起';}
.mc-content{padding:0 15px 15px;}.mc-content .mc-total{font-size:18px;font-weight:800;line-height:1.5;margin:5px 0 10px;}
.mc-content .mc-note,.mc-content .mc-status{font-size:12px;line-height:1.65;margin:8px 0;color:#655335;overflow-wrap:anywhere;}
.mc-content .mc-status{color:#94341b;font-weight:650;}.mc-status:empty{display:none;}
.mc-content a{color:#543796;text-decoration:underline;text-underline-offset:3px;margin-left:5px;}
.mc-panel .mc-basis,.mc-panel .mc-confirm{display:flex;align-items:center;gap:9px;min-height:44px;margin:12px 0;font-size:13px;line-height:1.5;cursor:pointer;}
.mc-panel input[type=checkbox]{flex:0 0 20px;width:20px;height:20px;accent-color:#7353ef;}
.mc-row{border-top:1px solid #d0bd98;}.mc-row>summary{min-height:48px;padding:12px 0;display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:13px;line-height:1.5;cursor:pointer;}
.mc-row>summary>span{min-width:0;overflow-wrap:anywhere;}.mc-row>summary>b{flex-shrink:0;font-size:12px;font-variant-numeric:tabular-nums;color:#543796;}
.mc-form{padding:0 0 15px;}.mc-form>select{width:100%;}.mc-form label:not(.mc-confirm){display:grid;gap:5px;font-size:12px;font-weight:650;}
.mc-own-price{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;margin:10px 0;}.mc-own-price[hidden]{display:none;}
.mc-panel input[type=number],.mc-panel select{min-width:0;width:100%;max-width:100%;box-sizing:border-box;min-height:44px;padding:9px;border:1px solid #947e5f;border-radius:7px;background:#fffdf4;color:#302719;font-family:inherit;font-size:16px;}
.mc-form>label:not(.mc-confirm){max-width:160px;}.mc-form button{min-height:44px;padding:10px 14px;border:1px solid #4a347e;border-radius:8px;background:#eee5ff;color:#432a79;font:inherit;font-size:13px;font-weight:750;cursor:pointer;}
.mc-form button:hover{background:#e1d5fb;}.mc-panel :focus-visible{outline:3px solid #7353ef;outline-offset:3px;}
.reader-ingredients .mc-panel label{padding:0;border:0;min-height:0;text-decoration:none;background:transparent;}
.reader-ingredients .mc-panel label:has(:checked){color:inherit;text-decoration:none;background:transparent;}
.reader-ingredients .mc-panel .mc-basis,.reader-ingredients .mc-panel .mc-confirm{min-height:44px;}
@media(max-width:380px){.mc-content{padding-inline:12px;}.mc-panel>summary{padding:12px;}.mc-own-price{grid-template-columns:1fr 1fr;}.mc-own-price>label:last-child{grid-column:1/-1;}.mc-row>summary{align-items:flex-start;gap:8px;}}
.mc-missing{padding:10px 12px;border-left:3px solid #c04a23;background:#ffeedc;font-size:13px;line-height:1.7;color:#713515;}.mc-missing[hidden]{display:none;}
.mc-manual>summary,.mc-advanced>summary{min-height:44px;display:flex;align-items:center;cursor:pointer;font-size:13px;color:#543796;text-decoration:underline;text-underline-offset:3px;}
.mc-reset{min-height:44px;margin-bottom:12px;padding:8px 12px;border:1px solid #947e5f;border-radius:7px;background:transparent;color:#543796;font:inherit;font-size:13px;cursor:pointer;}
.mc-row[data-state=excluded]>summary>b{font-weight:500;color:#655335;}.mc-advanced{margin-bottom:10px;}.mc-advanced label{max-width:160px;}

.ai-quota{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:16px;row-gap:4px;margin-top:18px;padding:12px 0;border-top:1px solid #bdb09d;border-bottom:1px solid #bdb09d;min-width:0;min-block-size:76px;align-items:center;}
.ai-quota p{margin:0;}
.ai-quota-summary{font-size:14px;font-weight:750;line-height:1.6;color:#24211f;}
.ai-quota-note{grid-column:1;font-size:12px;line-height:1.65;color:#665946;}
.ai-quota-actions{grid-column:2;grid-row:1/3;display:flex;align-items:center;gap:12px;flex-wrap:wrap;}
.ai-quota-actions button,.ai-quota-actions a{display:inline-flex;min-height:44px;align-items:center;justify-content:center;padding:8px 10px;font:inherit;font-size:13px;line-height:1.35;color:#24211f;border-radius:8px;}
.ai-quota-actions button{border:1px solid #82735e;background:#fffdf4;cursor:pointer;}
.ai-quota-actions button:disabled{cursor:wait;opacity:.6;}
.ai-quota-actions a{text-decoration:underline;text-underline-offset:4px;}
.ai-quota-actions :is(button,a):focus-visible{outline:3px solid #7851ff;outline-offset:3px;}
.ai-quota[data-state=exhausted] .ai-quota-summary,.ai-quota[data-state=error] .ai-quota-summary{color:#a43120;}
.journal-form #online-submit:disabled{background:#e5ded0;color:#655b4e;box-shadow:none;cursor:not-allowed;}
@media(max-width:740px){.ai-quota{grid-template-columns:minmax(0,1fr);gap:5px;}.ai-quota-actions{grid-column:1;grid-row:auto;gap:8px;justify-content:space-between;}.ai-quota-note{font-size:12px;}.ai-quota-summary{font-size:14px;min-height:3.2em;}}

.nb-directory-image-tools[hidden],.nb-image-tools[hidden]{display:none!important;}
.kitchen-usage-note{flex-basis:100%;font-size:12px;line-height:1.6;}
.kitchen-usage-toggle{background:transparent;border:1px solid currentColor;border-radius:8px;padding:8px 12px;min-height:44px;color:inherit;font:inherit;font-size:12px;cursor:pointer;}
.kitchen-usage-toggle:focus-visible{outline:3px solid #7353ef;outline-offset:3px;}
footer{flex-wrap:wrap;}
