:root{--paper:#f7f5ed;--white:#fffef9;--ink:#253d33;--muted:#6c746b;--green:#244b3d;--light:#e8eee3;--line:#d9ded2;--coral:#bd533b;--sand:#eee4cb;--shadow:0 12px 40px #213b2e0a;font-family:-apple-system,BlinkMacSystemFont,"Hiragino Sans","Yu Gothic",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none;line-height:1.7}
*{box-sizing:border-box}body{margin:0;padding-bottom:84px}button,input,select,textarea{font:inherit}button,a,input,summary{touch-action:manipulation}button{cursor:pointer}a{color:inherit}button:disabled{opacity:.4;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible,textarea:focus-visible{outline:3px solid var(--coral);outline-offset:4px}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.45;letter-spacing:.02em}h1{font-size:clamp(1.8rem,5vw,3.8rem)}h2{font-size:1.35rem}h3{font-size:1.05rem}small{font-size:.8rem}button,a{ -webkit-tap-highlight-color:transparent }[hidden]{display:none!important}.skip{position:fixed;top:-80px;left:8px;z-index:100;background:var(--white);padding:10px}.skip:focus{top:8px}.prototype-bar{padding:7px 18px;background:var(--green);color:#fff;font-size:.64rem;letter-spacing:.12em;text-align:center}.prototype-bar span{margin-left:10px;letter-spacing:.04em}.site-header{max-width:1120px;margin:auto;padding:24px 32px;display:flex;justify-content:space-between;align-items:center;gap:14px}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-size:1.15rem;font-weight:700;white-space:nowrap}.brand-mark{display:grid;place-items:center;border:1px solid var(--green);border-radius:50%;width:42px;height:42px;font-size:1.25rem;font-family:serif;font-weight:400}.brand small{display:block;font-size:.5rem;letter-spacing:.12em;font-weight:400;line-height:1.8;margin-top:2px}.header-shop{display:flex;align-items:center;gap:7px;font-size:.8rem;text-decoration:none;min-height:44px;white-space:nowrap}.count{display:inline-grid;place-items:center;min-width:23px;height:23px;border-radius:50%;background:var(--green);color:#fff;font-size:.68rem;padding:2px}main{max-width:1060px;margin:0 auto;padding:16px 32px 44px;min-height:45vh}.eyebrow{font-size:.65rem;font-weight:700;letter-spacing:.18em;color:var(--coral);display:block;margin-bottom:12px}.home-hero{display:grid;grid-template-columns:1fr 1fr;align-items:center;min-height:380px;padding:32px 0 44px;gap:30px}.home-hero h1{font-family:serif;font-weight:500;margin-bottom:18px}.hero-copy{font-size:.95rem;color:var(--muted);max-width:360px;line-height:2}.hero-art{position:relative;min-height:280px;display:grid;place-items:center;border-radius:180px 180px 36px 36px;background:#e9e8d6;overflow:hidden}.hero-art::after{content:"きょうは、何をすする？";position:absolute;right:14px;top:25px;writing-mode:vertical-rl;font-family:serif;font-size:.85rem;letter-spacing:.15em}.hero-art svg{width:94%;height:270px}.art-note{display:block;font-size:.61rem;color:var(--muted);text-align:right;margin-top:4px}.section-heading{display:flex;justify-content:space-between;align-items:end;border-bottom:1px solid var(--line);padding-bottom:13px;margin-bottom:20px;gap:12px}.section-heading h2{margin:0;font-family:serif;font-weight:500}.section-heading small{color:var(--muted)}.recipe-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.recipe-card{background:var(--white);border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:var(--shadow);position:relative}.card-art{display:block;text-decoration:none;background:var(--art-bg);height:200px;overflow:hidden}.card-art svg{width:100%;height:100%;transition:transform .2s}.card-art:hover svg{transform:rotate(-2deg) scale(1.025)}.card-body{padding:20px}.card-body h3{margin:6px 0 10px}.card-body h3 a{text-decoration:none}.card-body p{color:var(--muted);font-size:.8rem;min-height:2.7em;margin-bottom:16px}.pill{display:inline-block;border:1px solid var(--line);background:var(--white);padding:3px 10px;border-radius:20px;font-size:.67rem;color:var(--muted)}.card-bottom{display:flex;align-items:center;justify-content:space-between;font-size:.72rem}.arrow-link{font-weight:700;text-decoration:none;min-height:44px;display:inline-flex;align-items:center;gap:12px}.icon-button{min-width:44px;min-height:44px;border:1px solid var(--line);border-radius:50%;background:var(--white);color:var(--green);font-size:1.25rem;line-height:1}.icon-button[aria-pressed=true]{background:var(--green);color:#fff}.intro-strip{display:grid;grid-template-columns:repeat(3,1fr);margin:38px 0 0;border:1px solid var(--line);border-radius:15px;overflow:hidden;background:var(--white)}.intro-strip>div{padding:20px;border-right:1px solid var(--line)}.intro-strip>div:last-child{border:0}.intro-strip strong{display:block;font-size:.85rem}.intro-strip small{display:block;color:var(--muted);margin-top:5px}.intro-number{color:var(--coral);font-size:.65rem;letter-spacing:.12em}.breadcrumb{font-size:.75rem;color:var(--muted);display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:4px 0 24px}.breadcrumb a{padding:8px 0}.recipe-hero{display:grid;grid-template-columns:.85fr 1.15fr;gap:36px;align-items:center;margin-bottom:32px}.detail-art{background:var(--art-bg);border-radius:20px;position:relative}.detail-art svg{display:block;width:100%;height:280px}.recipe-title{font-family:serif;font-size:clamp(1.8rem,3vw,2.8rem);font-weight:500;margin:10px 0 15px}.description{color:var(--muted);font-size:.9rem}.meta-row{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}.recipe-tools{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.recipe-tools .text-button{font-size:.75rem}.sample-note{padding:14px 18px;border-left:3px solid #ccad66;background:#f0e9d6;border-radius:0 10px 10px 0;font-size:.78rem;margin:18px 0 24px;color:#5d5133}.sample-note strong{display:block}.work-layout{display:grid;grid-template-columns:1.2fr .8fr;gap:26px;align-items:start}.panel{background:var(--white);border:1px solid var(--line);border-radius:18px;padding:24px;box-shadow:var(--shadow)}.panel h2{margin-bottom:8px}.subtext{font-size:.77rem;color:var(--muted);line-height:1.8;margin-bottom:18px}.servings{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:16px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:16px 0}.stepper{display:flex;align-items:center;gap:14px}.stepper button{height:44px;width:44px;border-radius:50%;border:1px solid var(--line);background:var(--paper);color:var(--ink);font-size:1.3rem}.stepper output{min-width:44px;text-align:center;font-weight:700}.ingredient-list{list-style:none;padding:0;margin:0}.ingredient-row{display:flex;align-items:center;gap:14px;padding:15px 0;border-bottom:1px solid var(--line);min-width:0}.ingredient-row:last-child{border-bottom:none}.ingredient-main{flex:1;min-width:0;font-size:.9rem}.ingredient-main strong{display:block;font-weight:500}.ingredient-main small{display:block;color:var(--muted);font-size:.68rem}.quantity{font-size:.85rem;white-space:nowrap;font-variant-numeric:tabular-nums}.check-label{display:flex;align-items:center;gap:7px;min-height:44px;font-size:.72rem;cursor:pointer;flex-shrink:0}.check-label input{width:21px;height:21px;accent-color:var(--green);flex-shrink:0;margin:0}.check-wide{width:100%;font-size:.85rem;align-items:flex-start;gap:12px}.check-wide input{margin-top:3px}.check-wide .quantity{margin-left:auto}.check-wide .ingredient-main{display:block}.button{display:inline-flex;justify-content:center;align-items:center;min-height:48px;padding:11px 19px;border-radius:10px;text-decoration:none;font-size:.85rem;font-weight:600;border:1px solid transparent;gap:10px;text-align:center}.primary{background:var(--green);color:white}.secondary{background:transparent;color:var(--green);border-color:var(--line)}.accent{background:var(--coral);color:#fff}.full{width:100%}.button-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.button-row>*{flex:1}.text-button{border:0;background:none;color:var(--green);text-decoration:underline;text-underline-offset:4px;min-height:44px;padding:8px 4px;font-size:.78rem}.muted{color:var(--muted)}.how-list{padding-left:24px;margin-bottom:20px;font-size:.85rem}.how-list li{padding-left:6px;margin:16px 0}.how-list li::marker{color:var(--coral);font-family:serif;font-size:1.1rem}.mini-summary{padding:15px;background:var(--light);border-radius:10px;font-size:.78rem;line-height:1.9}.page-head{padding:18px 0 20px}.page-head h1{font-size:2rem;font-family:serif;font-weight:500;margin-bottom:10px}.selection-tools{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}.selection-tools button{border:1px solid var(--line);background:var(--paper);border-radius:30px;padding:8px 12px;min-height:44px;font-size:.7rem;color:var(--green)}.selection-panel{max-width:680px;margin:auto}.selection-footer{position:sticky;bottom:78px;background:var(--white);padding:16px 0 0;margin-top:16px;border-top:1px solid var(--line)}.shopping-summary{display:flex;align-items:center;justify-content:space-between;background:var(--green);color:white;border-radius:16px;padding:22px;margin-bottom:24px;gap:12px}.shopping-summary strong{font-size:1.7rem;font-family:serif;font-weight:400}.shopping-summary span{font-size:.76rem;opacity:.85}.shopping-groups{display:grid;gap:20px}.shopping-group-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding-bottom:14px}.shopping-group-head h2{font-size:1rem;margin-bottom:4px}.shopping-group-head a{text-underline-offset:4px}.shopping-row{display:flex;align-items:flex-start;gap:8px;padding:16px 0;border-bottom:1px solid var(--line)}.shopping-row:last-child{border:0}.shopping-row .check-wide{flex:1;min-width:0}.shopping-row .quantity{display:block;margin:3px 0 0}.shopping-row.purchased .ingredient-main>strong{text-decoration:line-through;color:var(--muted)}.remove{border:0;background:none;color:var(--muted);min-height:44px;min-width:44px;font-size:.7rem}.change-notice{display:block;background:#fff2d8;border-radius:5px;padding:6px 9px;margin:7px 0 0;font-size:.7rem;color:#795b1e}.danger{color:#9f3a2a}.empty{padding:55px 24px;text-align:center;border:1px dashed #bac5b6;border-radius:20px;margin-top:20px}.empty .empty-icon{display:block;font-size:3rem;font-family:serif;color:#91a18c;margin-bottom:15px}.empty p{font-size:.88rem;color:var(--muted)}.cook-shell{max-width:720px;margin:auto}.cook-top{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:18px}.cook-top h1{font-family:serif;font-size:1.65rem;font-weight:500;margin-bottom:4px}.cook-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;background:#e7ebdf;padding:5px;border-radius:12px;margin:16px 0 24px}.cook-tabs button{min-height:46px;border:0;border-radius:9px;background:transparent;color:var(--green);font-size:.85rem}.cook-tabs button[aria-selected=true]{background:var(--white);box-shadow:0 2px 8px #00000009;font-weight:700}.progress-track{height:4px;background:var(--line);border-radius:4px;overflow:hidden;margin:10px 0 26px}.progress-track span{display:block;height:100%;background:var(--coral)}.step-count{font-size:.72rem;letter-spacing:.12em;color:var(--coral);font-weight:700}.step-card{padding:26px 0 30px;min-height:185px}.step-card h2{font-size:1.45rem;font-family:serif;font-weight:500;margin:10px 0 18px}.step-card p{font-size:.95rem;line-height:2;margin-bottom:0}.step-dots{display:flex;gap:10px;flex-wrap:wrap;margin:24px 0}.step-dots button{min-height:44px;min-width:44px;border:1px solid var(--line);border-radius:50%;background:var(--paper);color:var(--green)}.step-dots button[aria-current=step]{background:var(--green);color:white}.step-dots button.done{border:2px solid var(--coral)}.complete-line{padding:17px;background:var(--light);border-radius:12px}.site-footer{max-width:1060px;margin:12px auto 0;padding:35px 32px 25px;border-top:1px solid var(--line);color:var(--muted)}.site-footer>p{font-family:serif;color:var(--ink);font-size:1.1rem;margin-bottom:14px}.site-footer>small{display:block;max-width:600px;font-size:.7rem}.site-footer details{margin-top:20px;max-width:700px;font-size:.75rem}.site-footer summary{cursor:pointer;min-height:44px;padding:10px 0;color:var(--ink)}.site-footer details p{margin:10px 0}.footer-id{font-size:.55rem;letter-spacing:.08em;display:block;margin-top:20px}.bottom-nav{position:fixed;bottom:0;left:0;right:0;z-index:10;background:#fffef9f5;backdrop-filter:blur(12px);border-top:1px solid var(--line);height:74px;padding-bottom:env(safe-area-inset-bottom);display:flex;justify-content:center}.bottom-nav a{min-width:90px;width:min(33%,160px);display:flex;align-items:center;justify-content:center;flex-direction:column;font-size:.64rem;gap:0;text-decoration:none;color:var(--muted);border-top:3px solid transparent}.bottom-nav a>span{font-size:1.4rem;line-height:1.1;margin:4px 0}.bottom-nav a[aria-current=page]{color:var(--green);border-top-color:var(--green);font-weight:700}.toast{position:fixed;bottom:90px;left:50%;transform:translateX(-50%);z-index:30;background:var(--green);color:white;padding:14px 18px;border-radius:12px;box-shadow:0 6px 20px #0002;font-size:.78rem;max-width:calc(100vw - 30px);width:max-content;display:flex;align-items:center;gap:18px}.toast button{background:none;border:1px solid #ffffff70;color:white;padding:8px 12px;min-height:44px;border-radius:7px;white-space:nowrap}.save-banner{max-width:996px;margin:0 auto 12px;padding:14px 20px;background:#f7e8c7;color:#71541e;border-radius:8px;font-size:.8rem}.save-banner .text-button{color:inherit}.save-banner p{margin:0}dialog{border:1px solid var(--line);border-radius:20px;background:var(--white);color:var(--ink);padding:28px;width:min(480px,calc(100vw - 32px));box-shadow:0 20px 80px #0003}dialog::backdrop{background:#17352c70;backdrop-filter:blur(3px)}dialog h2{font-size:1.2rem}dialog p{font-size:.86rem}textarea{width:100%;border:1px solid var(--line);padding:12px;border-radius:8px;font-size:.78rem;color:var(--ink);background:var(--paper);resize:vertical;margin-bottom:14px}.url-box{background:var(--light);border-radius:10px;padding:12px;font-size:.72rem;word-break:break-all;margin-top:12px}.note-list{font-size:.78rem;color:var(--muted);padding-left:20px}.stack{display:grid;gap:20px}
@media(min-width:800px){body{padding-bottom:0}.bottom-nav{position:static;max-width:1060px;margin:0 auto;background:transparent;backdrop-filter:none;border:0;justify-content:flex-start;height:70px}.bottom-nav a{flex-direction:row;gap:10px;width:auto;padding:10px 20px;border-top:0}.bottom-nav a[aria-current=page]{text-decoration:underline;text-underline-offset:5px}.toast{bottom:30px}.selection-footer{bottom:12px}}
@media(max-width:767px){.site-header{padding:18px 20px}main{padding:10px 20px 30px}.home-hero{grid-template-columns:1fr;gap:16px;padding:25px 0 30px;min-height:auto}.home-hero h1{font-size:2.25rem;margin-bottom:14px}.hero-copy{font-size:.83rem;margin-bottom:8px}.hero-art{min-height:210px;border-radius:110px 110px 20px 20px}.hero-art svg{height:210px}.recipe-grid{grid-template-columns:1fr;gap:18px}.recipe-card{display:grid;grid-template-columns:40% 60%;border-radius:14px}.card-art{height:100%;min-height:200px}.card-art svg{width:130%;max-width:none;margin-left:-15%;height:100%}.card-body{padding:17px 16px}.card-body h3{font-size:1rem;margin:6px 0 7px}.card-body p{font-size:.72rem;min-height:auto;margin-bottom:7px}.card-bottom{font-size:.68rem}.card-bottom .icon-button{width:38px;height:44px;min-width:38px;border:0}.pill{font-size:.6rem;padding:2px 8px}.intro-strip{grid-template-columns:1fr;margin-top:26px}.intro-strip>div{padding:14px 18px;border:0;border-bottom:1px solid var(--line)}.intro-strip small{font-size:.72rem}.intro-number{float:right}.recipe-hero{grid-template-columns:1fr;gap:18px;margin-bottom:20px}.detail-art svg{height:210px}.recipe-title{font-size:1.9rem;margin:8px 0 12px}.recipe-hero .eyebrow{margin-bottom:5px}.description{font-size:.83rem}.work-layout{grid-template-columns:1fr;gap:20px}.panel{padding:20px;border-radius:15px}.breadcrumb{margin:0 0 14px}.sample-note{font-size:.7rem;padding:12px 14px;margin:16px 0 20px}.site-footer{padding:28px 20px}.ingredient-row{gap:10px}.ingredient-main{font-size:.85rem}.quantity{font-size:.8rem}.check-label{font-size:.66rem;gap:5px}.servings{font-size:.84rem}.page-head{padding-top:12px}.page-head h1{font-size:1.8rem}.selection-footer .button{font-size:.8rem}.shopping-summary{padding:20px}.shopping-row{gap:5px}.shopping-row .ingredient-main{font-size:.82rem}.cook-top h1{font-size:1.4rem}.save-banner{margin:0 20px 12px}.step-card{min-height:210px}.step-card h2{font-size:1.3rem}.step-card p{font-size:.88rem}.stepper{gap:8px}.recipe-tools{gap:10px}}
@media(max-width:359px){.site-header{padding:16px}.brand{font-size:1rem;gap:7px}.brand-mark{width:35px;height:35px}.brand small{font-size:.43rem}.header-shop{font-size:.7rem;gap:4px}main{padding-left:16px;padding-right:16px}.home-hero h1{font-size:2rem}.recipe-card{grid-template-columns:35% 65%}.card-body{padding:15px 12px}.panel{padding:16px}.ingredient-row{flex-wrap:wrap;column-gap:8px}.ingredient-main{min-width:100px}.ingredient-row>.check-label{margin-left:auto}.shopping-group-head h2{font-size:.9rem}.button{padding:10px 12px}.recipe-title{font-size:1.7rem}.site-footer{padding-left:16px;padding-right:16px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
/* Reflow when the reader enlarges text; do not hide overflowing content. */
.site-header{flex-wrap:wrap}
.brand{white-space:normal;min-width:0;flex:1 1 200px}
.brand>span:last-child{min-width:0;overflow-wrap:anywhere}
.brand-mark{flex-shrink:0;width:1.8em;height:1.8em}
.header-shop{flex-shrink:0}
.servings,.section-heading,.shopping-summary,.shopping-group-head,.cook-top{flex-wrap:wrap}
.panel,.recipe-hero>div,.work-layout>*,.shopping-group-head>div{min-width:0}
.bottom-nav{height:auto;min-height:74px}
.bottom-nav a{min-width:0;padding-bottom:8px;overflow-wrap:anywhere;text-align:center}

/* Catalogue expansion, TAC-2026-0048 */
.catalogue-tools { padding:24px; border:1px solid var(--line, #dedfd4); background:#f7f6ef; border-radius:20px; margin:0 0 32px; }
.catalogue-tools label { display:block; font-weight:700; margin-bottom:10px; }
.search-row { display:flex; gap:10px; }
.search-row input { flex:1; min-width:0; width:100%; padding:12px 14px; border:1px solid #879488; border-radius:12px; background:white; font:inherit; color:inherit; }
.search-row button { flex-shrink:0; }
.category-filters { display:flex; flex-wrap:wrap; gap:8px; margin-top:18px; }
.category-filters button { display:flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:9px 13px; border:1px solid #869387; border-radius:100px; background:#fffdf7; font:inherit; cursor:pointer; }
.category-filters button[aria-pressed=true] { background:#244b3d; color:white; border-color:#244b3d; }
.category-filters span { font-size:.8em; opacity:.8; }
.filter-caption { display:flex; flex-wrap:wrap; gap:12px; justify-content:space-between; align-items:center; margin-top:12px; overflow-wrap:anywhere; }
.filter-caption [role=status] { min-width:0; }
.header-shop .count { min-height:1.9em; line-height:1.3; padding:.25em .55em; flex-shrink:0; }
@media(max-width:480px) { .catalogue-tools { padding:16px; } .search-row { flex-wrap:wrap; } .search-row input { flex-basis:100%; } .search-row button { width:100%; } .category-filters button { padding:8px 11px; } }

/* Additional draft notes use existing colors and spacing. */
.editorial-notes{margin:24px 0;overflow-wrap:anywhere}.editorial-notes li{margin:8px 0}.sources-main{max-width:850px;margin:auto;padding:32px 20px}.sources-main li{margin:12px 0;line-height:1.8}.sources-main a{overflow-wrap:anywhere}
.editorial-notes summary{cursor:pointer;line-height:1.7}.editorial-body{padding-top:18px}

/* Read-only shopping memo. Body and controls remain scrollable on small screens. */
.shopping-memo-entry{margin:0 0 24px}.shopping-memo-entry .subtext{margin:10px 0 0}
#shopping-memo-dialog{max-height:calc(100dvh - 32px);overflow-y:auto}
#shopping-memo-dialog .memo-option{font-size:.85rem;margin:8px 0 12px}
#shopping-memo-dialog textarea{line-height:1.7;min-height:180px;max-height:42dvh;white-space:pre-wrap;overflow-wrap:anywhere}
#shopping-memo-dialog .button-row{margin:8px 0 12px}
#shopping-memo-status{margin:0 0 10px;min-height:1.8em}
@media(max-width:480px){#shopping-memo-dialog{padding:20px}#shopping-memo-dialog .button-row{flex-direction:column}}
/* Local editorial ledger: bounded lists, reflowing fields, no remote assets. */
.catalogue-link{margin:24px 0}.catalogue-pagination{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:16px;margin:24px 0}.catalogue-pagination span{font-size:.8rem}.candidate-add{margin-bottom:24px}.editor-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));gap:14px;margin:14px 0 20px}.editor-fields label{display:flex;flex-direction:column;gap:6px;font-size:.8rem;min-width:0}.editor-fields input,.editor-fields select{width:100%;min-width:0;max-width:100%;min-height:46px;padding:10px 12px;border:1px solid var(--line);border-radius:9px;background:var(--white);color:var(--ink);font:inherit}.editor-records{display:grid;gap:18px}.editor-record-head{display:flex;justify-content:space-between;align-items:start;gap:16px;flex-wrap:wrap}.editor-record h2{font-size:1.1rem;margin:9px 0 4px;overflow-wrap:anywhere}.editor-record small{overflow-wrap:anywhere}.workflow-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin:18px 0 0}.workflow-grid>div{background:var(--paper);border-radius:9px;padding:12px;min-width:0}.workflow-grid dt{font-size:.67rem;color:var(--muted)}.workflow-grid dd{font-size:.78rem;margin:5px 0 0;font-weight:600;overflow-wrap:anywhere}.workflow-grid small{font-size:.6rem;display:block;color:var(--muted);font-weight:400}.idea-label{font-size:.75rem;color:var(--coral);padding:8px 0}.candidate-message{font-size:.8rem;margin:14px 0 0;overflow-wrap:anywhere}.editor-record .text-button{font-size:.75rem}.editor-record-head>div{min-width:0}.editor-record-head .pill{white-space:normal}select:focus-visible{outline:3px solid var(--coral);outline-offset:4px}
@media(max-width:767px){.workflow-grid{grid-template-columns:repeat(2,1fr)}.workflow-grid>div:first-child{grid-column:1 / -1}.editor-record-head{gap:8px}.editor-record h2{font-size:1rem}.candidate-add{padding:18px}.catalogue-pagination{gap:10px}.editor-fields{grid-template-columns:1fr}}

/* Photos crop inside the original artwork boxes, preserving card and page geometry. */
.recipe-photo-figure {margin:0;min-width:0}
.recipe-photo-figure figcaption {line-height:1.55}
.recipe-media {position:relative;display:block;width:100%;height:100%;overflow:hidden}
.recipe-media-fallback {display:block;width:100%;height:100%}
.recipe-photo {position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:50% 50%;opacity:0}
.recipe-media.photo-ready .recipe-photo {opacity:1}
.recipe-media.photo-ready .recipe-media-fallback {visibility:hidden}
.hero-art:has(.photo-ready)::after {display:none}
.hero-art .recipe-media {display:grid;place-items:center;min-height:280px}
.hero-art .recipe-media-fallback {display:grid;place-items:center}
.detail-art {overflow:hidden}
.card-art:hover .recipe-photo {transform:scale(1.025)}
.card-art .recipe-photo {transition:transform .2s}
.recipe-photo-disclosure {margin:-7px 0 16px;color:var(--muted);font-size:.72rem}
@media(max-width:767px){.hero-art .recipe-media {min-height:210px}}
@media(prefers-reduced-motion:reduce){.card-art:hover .recipe-photo {transform:none}}
/* At phone widths the old 35–40% side rail clipped both sides of a real dish. */
@media(max-width:480px){
  .recipe-card:has(.recipe-media) {grid-template-columns:minmax(0,1fr)}
  .card-art:has(.recipe-media) {aspect-ratio:16 / 9;height:auto;min-height:0}
  .card-art .recipe-media {position:absolute;inset:0}
  .card-art:has(.recipe-media) {position:relative}
}
@media(hover:none){.card-art:hover .recipe-photo {transform:none}}

/* Readable at reduced card widths; scopes to nutrition UI only. */
.recipe-metrics{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.4fr);gap:5px;margin:10px 0 12px;padding:0;font-variant-numeric:tabular-nums}
.recipe-metrics>div{min-width:0;background:#edf1e7;border:1px solid #d7dfd1;border-radius:9px;padding:6px 7px;color:#254638}
.recipe-metrics dt{font-size:.66rem;font-weight:650;line-height:1.35;overflow-wrap:anywhere}
.recipe-metrics dd{margin:3px 0 0;line-height:1.35;overflow-wrap:anywhere}
.recipe-metrics dd strong{font-weight:750;font-size:1.04rem;color:#163a2b}
.metric-unit,.metric-approx,.metric-missing{font-size:.66rem;color:#3f5849}
.metric-unit{margin-inline-start:.16em}
.metric-per-person{display:block;font-weight:500}
.recipe-metrics-detail{max-width:25rem;gap:8px;margin:16px 0 4px}
.recipe-metrics-detail>div{padding:9px 12px}
.recipe-metrics-detail dt{font-size:.77rem}
.recipe-metrics-detail .metric-per-person{display:inline}
.recipe-metrics-detail dd strong{font-size:1.35rem}
.recipe-metrics-detail .metric-unit,.recipe-metrics-detail .metric-approx,.recipe-metrics-detail .metric-missing{font-size:.78rem}
.recipe-metrics-method{margin:0 0 12px;font-size:.76rem;color:#375849}
.recipe-metrics-method a,.nutrition-notes a{text-underline-offset:.18em}
.recipe-shortcut{display:inline-block;padding:1px 7px;background:#f7eddb;border:1px solid #e1d6bf;border-radius:99px;color:#5b4426;font-size:.68rem;overflow-wrap:anywhere}
.recipe-tip{margin:14px 0;padding:13px 14px;border:1px solid #dfceaa;border-left:4px solid #a96c32;border-radius:9px;background:#faf2df;color:#513b24;overflow-wrap:anywhere}
.recipe-tip-head{display:flex;flex-wrap:wrap;gap:4px 9px;align-items:baseline}
.recipe-tip-head span{font-size:.69rem;color:#625039}
.recipe-tip p{margin:5px 0 0;font-size:.86rem}
.nutrition-notes{scroll-margin-top:14px}
@media(max-width:440px){.recipe-card .recipe-metrics{grid-template-columns:1fr}.recipe-card .recipe-metrics>div{display:flex;align-items:baseline;flex-wrap:wrap;justify-content:space-between;column-gap:5px;padding:4px 6px}.recipe-card .recipe-metrics dd{margin:0}.recipe-card .metric-per-person{display:inline}}
.step-instructions .step-instruction{margin:0 0 .64rem}
.step-instructions .step-instruction:last-child{margin:0}
.step-doneness{margin:14px 0 0;padding:9px 12px;background:#e8eee4;border-radius:8px;color:#314d3e}
.step-doneness p{margin:3px 0 0}
.step-photo{max-width:min(100%,40rem);margin:14px 0 0}
.step-photo img{display:block;width:100%;max-height:330px;object-fit:contain;background:#f2ecdf;border-radius:9px}
.step-photo figcaption{margin-top:6px;color:#5e665c;font-size:.73rem;line-height:1.55}

.recipe-guide{margin:1rem 0;border:1px solid var(--line,#d5ddd3);border-radius:.8rem;background:#fffdf9}
.recipe-guide summary{cursor:pointer;padding:.8rem 1rem;font-weight:700;color:#294638}
.recipe-guide[open] summary{border-bottom:1px solid var(--line,#d5ddd3)}
.recipe-guide ol{margin:.7rem 0;padding:0 1rem 0 2.5rem}
.recipe-guide li{padding:.6rem 0 1rem;line-height:1.65}
.recipe-guide li + li{border-top:1px solid #e4e9e2}
.recipe-guide li h3{margin:0 0 .45rem;font-size:1.05rem}
.recipe-guide .step-doneness,.recipe-guide .step-photo{margin:.6rem 0 0}
.recipe-guide .step-photo img{width:100%;height:auto;max-height:270px;object-fit:cover}
