/* Keep both browse entry points together, within the existing scroll shell. */
html body.sf-navigation .main-head .sf-browse-actions {display:flex;align-items:stretch;gap:8px;order:1;flex:none;min-width:0}
html body.sf-navigation .main-head .sf-browse-actions>.sf-category-toggle {order:0}
html body.sf-navigation :is(.sf-purpose-close,.sf-purpose-clear,.sf-purpose-remove) {min-block-size:44px}
html body.sf-navigation .main-head .sf-purpose-toggle {display:flex;align-items:center;justify-content:center;min-height:48px;padding:10px 12px;border:1px solid var(--sf-line);border-radius:10px;background:var(--tdf-surface);color:var(--tdf-text);font:inherit;font-size:14px;font-weight:650;white-space:nowrap;cursor:pointer}
html body.sf-navigation .main-head .sf-purpose-toggle:is([aria-expanded=true],[data-active=true]) {border-color:var(--sf-pine);background:var(--tdf-soft);color:var(--sf-pine)}
.sf-purpose-shade {position:fixed;inset:0;background:var(--tdf-overlay);z-index:1000}
.sf-purpose-panel {position:fixed;inset:max(12px,env(safe-area-inset-top)) 12px max(12px,env(safe-area-inset-bottom));margin:auto;max-width:780px;max-height:660px;z-index:1010;display:grid;grid-template-rows:auto minmax(0,1fr) auto;background:var(--tdf-surface);color:var(--tdf-text);border:1px solid var(--sf-line);border-radius:16px;box-shadow:var(--tdf-shadow-sheet);overflow:hidden}
.sf-purpose-panel[hidden],.sf-purpose-shade[hidden],.sf-purpose-selection[hidden] {display:none!important}
.sf-purpose-top {padding:18px 20px 12px}
.sf-purpose-heading {display:flex;align-items:center;justify-content:space-between;gap:12px}
.sf-purpose-heading h2 {font-family:inherit;font-size:22px;margin:0}
.sf-purpose-top p {font-size:14px;color:var(--tdf-text-muted);margin:6px 0 0}
.sf-purpose-close {min-height:44px;min-width:44px;border:1px solid var(--sf-line);border-radius:8px;background:var(--tdf-surface);color:var(--tdf-text);font-size:26px;cursor:pointer}
.sf-purpose-content {overflow:auto;overscroll-behavior:contain;padding:4px 20px 18px}
.sf-purpose-group+.sf-purpose-group {margin-top:20px}
.sf-purpose-group h3 {font-family:inherit;font-size:14px;margin:0 0 10px;color:var(--tdf-text-muted)}
.sf-purpose-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.sf-purpose-choice {display:flex;flex-direction:column;gap:6px;min-height:100px;text-align:left;padding:14px;border:1px solid var(--sf-line);border-radius:10px;background:var(--tdf-surface);color:var(--tdf-text);font:inherit;cursor:pointer}
.sf-purpose-choice strong {font-size:15px;line-height:1.4}
.sf-purpose-choice span {font-size:13px;font-weight:400;line-height:1.5;color:var(--tdf-text-muted)}
.sf-purpose-choice:hover,.sf-purpose-choice[aria-pressed=true] {background:var(--tdf-soft);border-color:var(--sf-pine)}
.sf-purpose-choice[aria-pressed=true] strong {color:var(--sf-pine)}
.sf-purpose-footer {padding:10px 20px;padding-bottom:max(10px,env(safe-area-inset-bottom));border-top:1px solid var(--sf-line);display:flex;justify-content:flex-end}
.sf-purpose-clear,.sf-purpose-remove {min-height:44px;border:1px solid var(--sf-line);border-radius:8px;background:var(--tdf-surface);color:var(--tdf-text);padding:8px 12px;font:inherit;font-size:14px;cursor:pointer}
.sf-purpose-clear:disabled {opacity:.55;cursor:default}
.sf-purpose-selection {display:flex;align-items:center;gap:16px;justify-content:space-between;padding:14px 16px;margin-bottom:16px;border:1px solid var(--sf-line);border-left:3px solid var(--sf-pine);border-radius:10px;background:var(--tdf-surface);color:var(--tdf-text)}
.sf-purpose-selection strong {font-size:17px}.sf-purpose-selection p {margin:4px 0 0;font-size:14px;color:var(--tdf-text-muted)}
.sf-purpose-remove {flex:none}
@media(max-width:700px){
 html body.sf-navigation.sf-enhanced.web-order--catalog .main-head .sf-browse-actions {display:none}
 html body.sf-navigation .main-head .sf-browse-actions {grid-column:1/-1;grid-row:3;width:100%}
 html body.sf-navigation.sf-enhanced.web-order--product .main-head .sf-browse-actions {width:calc(100% - 68px)}
 html body.sf-navigation.sf-enhanced.web-order--product .main-head .sf-browse-actions>button {font-size:13px;padding:6px;white-space:normal}
 html body.sf-navigation.web-order--product .sf-category-toggle span:last-child {display:none}
 html body.sf-navigation .main-head .sf-browse-actions>.sf-category-toggle,html body.sf-navigation .main-head .sf-purpose-toggle {flex:1;min-width:0;min-height:44px;padding:8px;font-size:14px}
 html body.sf-navigation .main-head .sf-browse-actions>.sf-category-toggle span {display:inline}
 .sf-purpose-top {padding:12px 14px 10px}.sf-purpose-heading h2 {font-size:19px}
 .sf-purpose-content {padding:4px 14px 12px}.sf-purpose-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .sf-purpose-choice {padding:10px;min-height:100px}.sf-purpose-choice strong {font-size:14px}
 .sf-purpose-footer {padding:8px 14px;padding-bottom:max(8px,env(safe-area-inset-bottom))}
 .sf-purpose-selection {flex-wrap:wrap;gap:8px;padding:12px}
}
@media(max-width:700px) and (max-height:360px){
 html body.sf-navigation .main-head .sf-browse-actions>.sf-category-toggle svg,html body.sf-navigation .main-head .sf-browse-actions>.sf-category-toggle span:last-child {display:none}
 .sf-purpose-top {padding:6px 12px}.sf-purpose-top p {display:none}.sf-purpose-footer {padding-top:4px;padding-bottom:4px}
 .sf-purpose-content {padding-top:0}.sf-purpose-grid {grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:480px) and (max-height:360px){
 .sf-purpose-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media print {.sf-purpose-panel,.sf-purpose-shade,.sf-browse-actions{display:none!important}}

.sf-dish-recommendations{margin-top:24px;padding-top:16px;border-top:1px solid var(--sf-line);min-width:0}
.sf-dish-guide{margin-top:16px;border:1px solid var(--sf-line);border-radius:10px;background:var(--tdf-surface)}
.sf-dish-guide>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:48px;padding:12px 14px;list-style:none;color:var(--sf-pine);font-size:15px;font-weight:650;line-height:1.5;cursor:pointer;border-radius:10px}
.sf-dish-guide>summary::-webkit-details-marker{display:none}
.sf-dish-guide>summary::after{content:'';width:8px;height:8px;flex:none;margin:0 3px 4px 0;border:solid currentColor;border-width:0 2px 2px 0;transform:rotate(45deg)}
.sf-dish-guide[open]>summary::after{transform:rotate(225deg);margin-top:4px;margin-bottom:0}
.sf-dish-guide>summary:hover{background:var(--tdf-soft)}
.sf-dish-guide>.sf-dish-guide-columns,.sf-dish-guide>.sf-dish-tips,.sf-dish-guide>.sf-recipe-section{padding:0 14px 14px}
.sf-recipe-time{font-size:14px;line-height:1.6;color:var(--tdf-text-muted,#52645c)}
.sf-recipe-note{margin:0 14px 16px;padding:12px;border-radius:8px;background:var(--tdf-soft,#ecf5ef);font-size:14px;line-height:1.65}
.sf-recipe-section{min-width:0}.sf-recipe-section li,.sf-dish-guide li{line-height:1.65;margin-bottom:8px;overflow-wrap:anywhere}
.sf-recipe-sources a{overflow-wrap:anywhere;text-underline-offset:3px}.sf-recipe-sources li{margin-bottom:12px}
.sf-dish-product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0}
html body.sf-navigation .sf-dish-product-card{display:flex;align-items:flex-start;gap:14px;padding:14px;min-width:0;border:1px solid var(--sf-line);border-radius:12px;background:var(--tdf-surface);color:var(--tdf-text);text-decoration:none;overflow-wrap:anywhere}
.sf-dish-product-card>img{width:96px;height:96px;flex:none;object-fit:contain;border-radius:8px;background:var(--tdf-bg)}
.sf-dish-product-info{display:flex;flex-direction:column;gap:6px;min-width:0;flex:1}
html body.sf-navigation .sf-dish-product-info h5{font:inherit;font-size:15px;font-weight:650;line-height:1.45;margin:0}
.sf-dish-product-info small,.sf-dish-product-meta{font-size:12px;line-height:1.5;color:var(--tdf-text-muted)}
.sf-dish-product-price{font-size:16px;line-height:1.5;color:var(--sf-pine);font-variant-numeric:tabular-nums}
.sf-dish-product-action{display:flex;align-items:center;min-height:44px;font-size:14px;font-weight:650;color:var(--sf-pine)}
.sf-dish-product-card:not([href]) .sf-dish-product-action{color:var(--tdf-text-muted)}
html body.sf-navigation a.sf-dish-product-card:hover{border-color:var(--sf-pine);background:var(--tdf-soft)}
.sf-purpose-panel :is(a,button,summary):focus-visible,.sf-dish-recommendations h4:focus-visible{outline:2px solid var(--sf-pine);outline-offset:3px}
.sf-dish-more{min-height:44px;padding:8px 12px;border:1px solid var(--sf-line);border-radius:8px;background:var(--tdf-surface);color:var(--tdf-text);font:inherit;font-size:14px;cursor:pointer;margin:0 8px 8px 0}
.sf-dish-more:disabled{opacity:.6;cursor:wait}
@media(max-width:700px){.sf-dish-product-grid{grid-template-columns:1fr}.sf-dish-product-card>img{width:80px;height:80px}.sf-dish-product-card{gap:10px}}

.sf-purpose-panel [hidden],.sf-purpose-selection [hidden]{display:none!important}
html body.sf-navigation .sf-purpose-panel :is(button,input,select),html body.sf-navigation .sf-purpose-guide{min-block-size:44px}
html body.sf-navigation .sf-dish-card{padding:0}
.sf-purpose-panel{max-width:900px;max-height:800px}
.sf-purpose-tabs{display:flex;gap:8px;margin:4px 0 16px}
.sf-purpose-tabs button,.sf-dish-back,.sf-purpose-guide{min-height:44px;padding:8px 12px;border:1px solid var(--sf-line);border-radius:8px;background:var(--tdf-surface);color:var(--tdf-text);font:inherit;font-size:14px;cursor:pointer}
.sf-purpose-tabs button{flex:1}.sf-purpose-tabs [aria-pressed=true]{background:var(--tdf-soft);border-color:var(--sf-pine);color:var(--sf-pine);font-weight:650}
.sf-dish-filters{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:10px}.sf-dish-filters label{display:grid;gap:4px;font-size:13px;font-weight:600}
html body.sf-navigation .sf-dish-filters :is(input,select){min-height:44px;min-width:0;width:100%;padding:8px;border:1px solid var(--sf-line);border-radius:8px;background:var(--tdf-surface);color:var(--tdf-text);font-size:16px}
.sf-dish-count{font-size:14px;color:var(--tdf-text-muted);margin:12px 0}.sf-dish-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.sf-dish-card{padding:0;text-align:left;border:1px solid var(--sf-line);border-radius:12px;overflow:hidden;background:var(--tdf-surface);color:var(--tdf-text);font:inherit;cursor:pointer;min-width:0}
.sf-dish-card:hover{border-color:var(--sf-pine);background:var(--tdf-soft)}.sf-dish-card>img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}.sf-dish-card-copy{display:grid;gap:5px;padding:12px}.sf-dish-card-copy strong{font-size:16px;line-height:1.4}.sf-dish-card-copy :is(small,span){font-size:12px;color:var(--tdf-text-muted)}
.sf-dish-empty{grid-column:1/-1}.sf-dish-back{margin-bottom:12px}
.sf-dish-overview{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:24px;align-items:start;margin-bottom:20px}
.sf-dish-overview--text-only{grid-template-columns:minmax(0,1fr)}
.sf-dish-hero{position:relative;min-width:0;margin:0}
.sf-dish-hero img{display:block;width:100%;height:auto;max-height:420px;object-fit:contain}
.sf-dish-summary{min-width:0;padding:4px 0;overflow-wrap:anywhere}
.sf-dish-cuisine{display:block;color:var(--sf-pine);font-size:13px;font-weight:600;line-height:1.5}
html body.sf-navigation .sf-dish-summary .sf-dish-title{margin:8px 0 12px;font-size:28px;line-height:1.2;text-wrap:balance}
.sf-dish-summary .sf-dish-description{margin:0;line-height:1.65;color:var(--tdf-text-muted)}
.sf-recipe-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 20px;margin:20px 0 0;padding-top:16px;border-top:1px solid var(--sf-line)}
.sf-recipe-facts>div{min-width:0}
.sf-recipe-facts dt{font-size:12px;line-height:1.5;color:var(--tdf-text-muted)}
.sf-recipe-facts dd{margin:4px 0 0;font-size:16px;font-weight:650;line-height:1.4;color:var(--tdf-text)}
.sf-purpose-panel:has(.sf-dish-detail:not([hidden])) .sf-purpose-top>p{display:none}
.sf-dish-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin-bottom:12px}
.sf-dish-toolbar>.sf-dish-back{margin-bottom:0;min-width:0;text-align:left}
html body.web-order .sf-dish-share-button{position:static;flex:none;width:auto;gap:8px;padding:8px 12px;border-radius:8px;box-shadow:none;font-size:14px;font-weight:600}
html body.web-order .sf-dish-share-button:hover{background:var(--tdf-soft);border-color:var(--sf-pine)}
@media(max-width:700px){.sf-dish-toolbar{margin-bottom:8px}}

html body.sf-navigation .sf-dish-detail h3{font-family:inherit;font-size:24px;font-weight:700;line-height:1.3;margin:8px 0}html body.sf-navigation .sf-dish-detail h4{font-family:inherit;font-size:16px;font-weight:650;line-height:1.4;margin:12px 0}.sf-dish-detail p,.sf-dish-detail li{font-size:15px;line-height:1.6}.sf-dish-detail li+li{margin-top:8px}.sf-dish-detail :is(ul,ol){padding-left:22px}.sf-dish-guide-columns{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.sf-purpose-copy{flex:1;min-width:0}.sf-purpose-thumb{width:96px;height:96px;object-fit:cover;border-radius:8px;flex:none}.sf-purpose-guide{margin-top:8px}
@media(max-width:700px){.sf-dish-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.sf-dish-filters{grid-template-columns:1fr}.sf-dish-filters label:first-child{grid-column:auto}.sf-dish-guide-columns{grid-template-columns:1fr;gap:0}.sf-dish-card-copy{padding:9px}.sf-dish-card-copy strong{font-size:14px}.sf-purpose-thumb{width:72px;height:72px}.sf-purpose-selection:has(.sf-purpose-thumb:not([hidden])) .sf-purpose-copy{min-width:calc(100% - 100px)}.sf-dish-detail h3{font-size:21px}}
@media(max-width:700px) and (max-height:360px){.sf-dish-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.sf-dish-filters{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}.sf-dish-filters label:first-child{grid-column:auto}.sf-purpose-tabs{margin-bottom:8px}}
@media(max-width:700px){
 .sf-purpose-panel:has(.sf-dish-detail:not([hidden])) .sf-purpose-top{padding-top:8px;padding-bottom:8px}
 .sf-purpose-panel:has(.sf-dish-detail:not([hidden])) .sf-purpose-top>p{display:none}
 .sf-dish-back{margin-bottom:8px}
 .sf-dish-overview{grid-template-columns:minmax(0,1fr);gap:16px;margin-bottom:16px}
 .sf-dish-summary{padding:0}
 html body.sf-navigation .sf-dish-summary .sf-dish-title{font-size:24px;margin:6px 0 10px}
 .sf-recipe-facts{gap:12px 16px;margin-top:16px;padding-top:12px}
 .sf-dish-detail>p{margin:8px 0}
 .sf-dish-recommendations{margin-top:12px;padding-top:8px}
 html body.sf-navigation .sf-dish-recommendations>h4{margin:8px 0}
 .sf-dish-product-status{margin:8px 0}.sf-dish-product-grid{margin:8px 0}
}
@media(min-width:520px) and (max-width:700px) and (max-height:500px){
 .sf-dish-overview{grid-template-columns:minmax(0,1fr) minmax(0,1.12fr);gap:16px}
 .sf-dish-overview--text-only{grid-template-columns:minmax(0,1fr)}
 .sf-dish-hero img{max-height:180px}
 .sf-recipe-facts{gap:10px 12px}
}

/* The entire preview opens the photo, including its zoom hint. */
html body.sf-navigation .sf-dish-photo-open{position:relative;display:block;width:100%;padding:0;border:1px solid var(--sf-line);border-radius:12px;overflow:hidden;background:var(--tdf-bg);color:var(--tdf-text);font:inherit;text-align:left;cursor:zoom-in;touch-action:manipulation}
.sf-dish-photo-hint{display:flex;align-items:center;justify-content:center;gap:6px;min-height:36px;padding:8px 12px;border-top:1px solid var(--sf-line);background:var(--tdf-surface);color:var(--sf-pine);font-size:12px;font-weight:650;line-height:1.4;pointer-events:none;transition:background 150ms ease}
.sf-dish-photo-hint svg{flex:none}
.sf-dish-photo-open:is(:hover,:active) .sf-dish-photo-hint{background:var(--tdf-soft);border-color:var(--sf-pine);color:var(--sf-pine)}


#photo-viewer [hidden]{display:none!important}
#photo-viewer button{min-block-size:48px;min-inline-size:48px}
#photo-viewer button:focus-visible{outline:2px solid currentColor;outline-offset:3px}
#photo-viewer button:disabled{opacity:.4;cursor:default}
#photo-viewer[data-photo-kind=dish]{height:100svh;max-height:100svh}
#photo-viewer[data-photo-kind=dish][open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto}
#photo-viewer[data-photo-kind=dish] .photo-toolbar{min-height:0;padding:8px 12px;padding-top:max(8px,env(safe-area-inset-top))}
#photo-viewer[data-photo-kind=dish] #photo-caption{font-size:15px;line-height:1.4;overflow-wrap:anywhere}
#photo-viewer[data-photo-kind=dish] .photo-controls{flex-wrap:nowrap;gap:8px;padding:8px 12px;padding-bottom:max(8px,env(safe-area-inset-bottom))}
#photo-viewer[data-photo-kind=dish] .photo-instruction{display:none}
#photo-viewer[data-photo-kind=dish] #photo-stage{min-width:0;min-height:0}
#photo-viewer[data-photo-kind=dish] #photo-full:not(.is-zoomed){height:100%;object-fit:contain}
@media(prefers-reduced-motion:reduce){.sf-dish-photo-hint{transition:none}}

/* Cookbook links remain in normal document flow. */
.sf-dish-topics{margin:0 0 18px;border:1px solid var(--sf-line,#c9d8cf);border-radius:12px;background:var(--tdf-surface,#fff)}
.sf-dish-library-nav>a{min-width:0}
.sf-hotpot-pane[hidden]{display:none!important}
.sf-sauce-library-pane[hidden],.sf-sauce-library-list[hidden]{display:none!important}
.sf-sauce-library-pane{min-width:0}.sf-sauce-library-list>h3{font-size:21px;line-height:1.35;margin:16px 0 10px}.sf-sauce-library-list>p{line-height:1.6}
.sf-sauce-library-search{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) auto;align-items:end;gap:10px;margin:18px 0 10px}
.sf-sauce-library-search label{display:grid;gap:6px;min-width:0;font-size:14px;font-weight:600}.sf-sauce-library-search :is(input,select){width:100%;min-width:0;min-height:44px;padding:10px;border:1px solid var(--sf-line);border-radius:9px;background:var(--tdf-surface);color:var(--tdf-text);font:inherit;font-size:16px}
.sf-sauce-library-button{min-height:44px;padding:10px 13px;border:1px solid var(--sf-line);border-radius:10px;background:var(--tdf-surface);color:var(--sf-pine);font:inherit;font-size:14px;cursor:pointer}
.sf-sauce-library-pane :is(a,button,input,select):focus-visible,.sf-sauce-library-status:focus-visible{outline:2px solid var(--sf-pine);outline-offset:3px}
.sf-sauce-library-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.sf-sauce-library-card{display:flex;flex-direction:column;min-width:0;border:1px solid var(--sf-line);border-radius:12px;overflow:hidden;color:var(--tdf-text);text-decoration:none;background:var(--tdf-surface)}
.sf-sauce-library-card>img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}.sf-sauce-library-copy{padding:12px;overflow-wrap:anywhere}.sf-sauce-library-copy h3{font-size:18px;line-height:1.4;margin:6px 0 8px}.sf-sauce-library-copy p{font-size:14px;line-height:1.6;margin:0 0 12px}.sf-sauce-library-copy small,.sf-sauce-library-meta{font-size:13px;color:var(--sf-pine)}
.sf-sauce-library-pagination{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;margin:18px 0}.sf-sauce-library-pane>.sf-sauce-preview{margin-top:4px}
@media(max-width:700px){.sf-sauce-library-search{grid-template-columns:minmax(0,1fr) auto}.sf-sauce-library-search>label:first-child{grid-column:1/-1}.sf-sauce-library-grid{grid-template-columns:minmax(0,1fr)}}
.sf-hotpot-pane{min-width:0}.sf-hotpot-pane h3{font-size:21px;line-height:1.35;margin:16px 0 10px}.sf-hotpot-pane p{line-height:1.6}
.sf-hotpot-rule{padding:12px 14px;border-left:3px solid var(--sf-pine);background:var(--tdf-soft);border-radius:8px;font-size:14px}
.sf-hotpot-button{min-height:44px;padding:10px 13px;border:1px solid var(--sf-line);border-radius:10px;background:var(--tdf-surface);color:var(--sf-pine);font:inherit;font-size:14px;cursor:pointer}
.sf-hotpot-button[aria-pressed=true]{background:var(--tdf-soft);border-color:var(--sf-pine);font-weight:700}.sf-hotpot-button:focus-visible,.sf-hotpot-status:focus-visible{outline:2px solid var(--sf-pine);outline-offset:3px}
.sf-hotpot-search{display:flex;gap:8px;align-items:flex-end;margin:20px 0 14px}.sf-hotpot-search label{display:grid;gap:6px;flex:1;min-width:0;font-size:14px;font-weight:600}.sf-hotpot-search input{width:100%;min-width:0;min-height:44px;font:inherit;font-size:16px;padding:10px;border:1px solid var(--sf-line);border-radius:9px}
.sf-hotpot-roles{display:flex;gap:8px;flex-wrap:wrap}.sf-hotpot-help,.sf-hotpot-disclosure{font-size:13px;color:var(--tdf-text-muted)}.sf-hotpot-status{scroll-margin-top:8px}
.sf-hotpot-products .sf-dish-product-info{min-width:0}.sf-hotpot-products .sf-hotpot-note{font-size:13px;line-height:1.6;margin:7px 0;white-space:normal}.sf-hotpot-role-label{font-size:13px;color:var(--sf-pine)}
.sf-hotpot-pagination{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;margin:16px 0}.sf-hotpot-recipes{margin-top:28px;border-top:1px solid var(--sf-line);padding-top:8px}
@media(max-width:700px){.sf-library-links.sf-dish-library-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.sf-dish-library-nav>a{justify-content:center;text-align:center}}
.sf-dish-topics>summary{min-height:48px;padding:12px 14px;font-size:16px;font-weight:700;cursor:pointer;color:var(--sf-pine,#174b36)}
.sf-dish-topic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:0 12px 14px}
.sf-dish-topic{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:48px;padding:10px 12px;border:1px solid var(--sf-line,#c9d8cf);border-radius:9px;background:var(--tdf-surface,#fff);color:var(--tdf-text,#203b2d);font:inherit;font-size:14px;text-align:left;cursor:pointer;min-width:0}
.sf-dish-topic span{overflow-wrap:anywhere}.sf-dish-topic small{font-size:12px;flex:none}.sf-dish-topic[aria-pressed=true]{background:var(--tdf-soft,#e5eee7);border-color:var(--sf-pine,#174b36);color:var(--sf-pine,#174b36);font-weight:700}
@media(max-width:520px){.sf-dish-topic-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:0 8px 10px}.sf-dish-topic{padding:9px;font-size:13px}}
.sf-library-links{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}.sf-library-links a,.sf-recipe-full{display:inline-flex;align-items:center;min-height:44px;padding:9px 13px;border:1px solid #c9d8cf;border-radius:12px;color:#174b36;background:#f3f7f3;text-decoration:none;font-weight:600;font-size:14px}.sf-library-links a:hover,.sf-recipe-full:hover{background:#e5eee7}.sf-library-links a:focus-visible,.sf-recipe-full:focus-visible{outline:3px solid #8b5c18;outline-offset:3px}.sf-dish-sauces{margin:22px 0}.sf-dish-toolbar{flex-wrap:wrap}

/* SKU-specific cooking guidance uses normal document flow. */
.sf-sku-dish-guidance{margin-top:12px;overflow-wrap:anywhere}
.sf-sku-dish-guidance h4{margin:0 0 6px;font-size:1rem}
.sf-sku-dish-guidance p{margin:0 0 8px;line-height:1.55}
.sf-dish-product-guidance{margin:8px 0;overflow-wrap:anywhere}
.sf-dish-product-guidance summary{min-height:44px;display:list-item;padding-block:8px;cursor:pointer;color:var(--sf-pine);font-size:14px;line-height:1.5}
.sf-dish-product-guidance p{font-size:14px;line-height:1.55;margin:4px 0 8px}
.sf-dish-product-card a.sf-dish-product-action{display:inline-flex;align-items:center;min-height:44px}
.sf-dish-product-card:not([href]) a.sf-dish-product-action{color:var(--sf-pine)}

/* Vietnamese fish sauce purpose filter */
.sf-sauce-library-search.has-purpose{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(0,1fr) auto}.sf-sauce-library-search [hidden]{display:none!important}.sf-sauce-purpose-summary{line-height:1.6;overflow-wrap:anywhere}.sf-sauce-library-button[aria-pressed=true]{border-color:var(--sf-pine);font-weight:700}.sf-sauce-library-search select:focus-visible{outline:3px solid var(--sf-pine);outline-offset:2px}@media(max-width:900px){.sf-sauce-library-search.has-purpose{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.sf-sauce-library-search.has-purpose>label:first-child{grid-column:1/-1}.sf-sauce-library-search.has-purpose>button{grid-column:1/-1}}@media(max-width:420px){.sf-sauce-library-search.has-purpose{grid-template-columns:minmax(0,1fr)}.sf-sauce-library-search.has-purpose>*{grid-column:1}}

.sf-sauce-library-copy>.sf-sauce-purpose-summary{display:block;margin:6px 0}

.sf-sauce-library-collections{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.sf-sauce-library-collections .sf-sauce-library-button[aria-pressed="true"]{background:var(--sf-pine);border-color:var(--sf-pine);color:var(--tdf-surface)}

.sf-dish-photo-open .sf-dish-photo-hint{position:absolute;right:10px;bottom:10px;box-sizing:border-box;display:grid;place-items:center;width:32px;height:32px;min-height:0;padding:0;border:0;border-radius:6px;gap:0;pointer-events:none}
.sf-dish-photo-hint svg{display:block;width:16px;height:16px}
