/* V0.963: a visible next step, pictured choices and a readable local food guide. */
.site-header .brand-button{width:auto;height:auto;background:none;flex:none}
.site-header .brand-button img{display:block;width:228px;height:auto;aspect-ratio:4.15;object-fit:contain;mix-blend-mode:multiply}

.classic-curation{display:grid;grid-template-columns:minmax(0,1fr) minmax(200px,.6fr);gap:24px;padding:20px 22px;margin:0 0 24px;background:#f3ecdc;border-radius:14px;color:#33483b}
.classic-curation[hidden]{display:none}
.classic-curation strong{font-size:.9rem;color:#883d2f}
.classic-curation p{font-size:.95rem;line-height:1.6;margin:7px 0}
.classic-curation small{display:block;font-size:.76rem;line-height:1.5;color:#5c6254}
.classic-curation summary{cursor:pointer;min-height:44px;font-size:.83rem;font-weight:650;padding:10px 0}
.classic-curation ul{padding:0;margin:4px 0;list-style:none;display:grid;gap:12px}
.classic-curation li b{display:block;font-size:.82rem}
.classic-curation a,.dish-selection-source{color:#75533d;text-underline-offset:3px}
.classic-curation a{font-size:.75rem;line-height:1.5}
.discovery-copy .dish-selection-source{display:block;font-size:.72rem;line-height:1.45;margin-top:12px}
.discovery-copy:has(.dish-selection-source)>.source-label{display:none}

/* Fixed on phones as well as tablets; the 0.87 phone override made it static. */
.discovery-selection{position:fixed;left:50%;right:auto;bottom:24px;transform:translateX(-50%);width:min(580px,calc(100% - 32px));margin:0;padding:14px 18px;display:flex;flex-wrap:nowrap;align-items:center;gap:18px;z-index:45;background:#243e33;color:#fffdf6;border:0;border-radius:16px;box-shadow:0 5px 22px #1d33252b}
.discovery-selection[hidden]{display:none}
.selection-summary{min-width:0;display:grid;gap:3px}
.selection-summary strong{font-size:.94rem;line-height:1.3}
.selection-summary small{font-size:.75rem;color:#e0e6dc;line-height:1.35}
.discovery-selection .primary-button{flex:0 0 auto;min-height:48px;white-space:nowrap;padding:11px 18px;background:#fffaf0;color:#243e33;border-color:#fffaf0;font-size:.9rem}
.food-discovery.has-saved-picks{padding-bottom:160px}
body:has(#discover.has-saved-picks:not([hidden])) .feedback-launcher{bottom:112px}

/* One illustrated identity, one name and one add control: no skinny tag column. */
#builderExtras{border:0;margin-top:20px;background:#faf5eb;border-radius:16px;padding:0 16px 16px}
#builderExtras>.add-dishes-action{list-style:none;display:flex;align-items:center;gap:12px;min-height:76px;padding:16px 0;color:#283f34}
#builderExtras>.add-dishes-action::-webkit-details-marker{display:none}
.add-dishes-icon{font-size:28px;font-weight:400;line-height:1;color:#a84331}
.add-dishes-action>span:nth-child(2){flex:1;min-width:0}
.add-dishes-action strong{display:block;font-size:1.1rem;line-height:1.3}
.add-dishes-action small{display:block;margin-top:4px;font-size:.8rem;font-weight:400;line-height:1.4;color:#626757}
.add-dishes-chevron{font-size:24px;transition:transform .15s}
#builderExtras[open] .add-dishes-chevron{transform:rotate(180deg)}
.plan-controls form{display:flex;align-items:stretch;gap:8px;width:100%}
.plan-controls form>label{flex:1 1 0%;min-width:0;margin:0;color:#3d4d40}
.plan-controls input{min-width:0;color:#263e34;background:transparent;font-size:16px}
.plan-controls .plan-search-submit{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-width:86px;min-height:48px;padding:10px 14px;border:1px solid #294b3b;border-radius:10px;background:#294b3b;color:#fff;font:650 14px/1.3 var(--font-body,Arial,sans-serif);white-space:nowrap}
.plan-controls .plan-search-submit:hover{background:#1e382c}
.plan-controls .plan-search-submit:focus-visible{outline:3px solid #b4533d;outline-offset:3px}
.plan-list .plan-row{display:grid;grid-template-columns:72px minmax(0,1fr) 30px;align-items:center;gap:14px;min-width:0;min-height:108px;padding:12px;background:#fffdf8;border-radius:12px;word-break:normal;text-align:left}
.plan-row .plan-photo{width:72px;height:76px;border-radius:9px;object-fit:cover;align-self:start}
.plan-row .plan-name{min-width:0;display:block}
.plan-row .plan-name strong{display:block;font-size:1rem;line-height:1.3;white-space:normal;word-break:normal;overflow-wrap:break-word;color:#293e34}
.plan-row .plan-name>small{display:block;margin:4px 0;font-size:.76rem;line-height:1.4;color:#66705d}
.plan-row .plan-meta{display:flex;gap:5px 9px;flex-wrap:wrap;align-items:baseline;margin-top:6px}
.plan-row .plan-tag{max-width:none;white-space:nowrap;font-size:.7rem;font-weight:650;line-height:1.5;color:#94442d;background:#f8ead7;padding:2px 7px;border-radius:5px}
.plan-row .plan-meta>small{font-size:.72rem;line-height:1.5;color:#66705d}
.plan-row .add-check{grid-column:3;grid-row:1;width:30px;height:30px;align-self:center;justify-self:end}
.plan-row .compatibility-reasons{display:flex;flex-wrap:wrap;margin-top:7px}
.plan-row .compatibility-reason{white-space:normal;word-break:normal;font-size:.75rem;line-height:1.4}
.plan-list .plan-row.selected{background:#f3f5ed;border-color:#7a9279}
.plan-empty{grid-column:1/-1;padding:16px;color:#655a4a;line-height:1.6}

/* A conversational headline, then short practical blocks. Long research stays available. */
.minimal-dish-head{display:block}
.minimal-dish-head h2{font-family:Georgia,'Noto Serif TC',serif;letter-spacing:-.035em}
.minimal-dish-head .dish-editorial-hook{font:500 clamp(1.1rem,2.4vw,1.35rem)/1.4 Georgia,'Noto Serif TC',serif;letter-spacing:-.015em;color:#a34631;margin:12px 0 4px;max-width:38ch}
.dish-introduction{display:grid;grid-template-columns:200px minmax(0,1fr);gap:20px;margin:20px 0;align-items:start}
.food-sheet .dish-introduction>img{float:none;width:200px;height:200px;margin:0;border-radius:14px;object-fit:cover}
.dish-introduction>div{min-width:0;display:grid;gap:10px}
.dish-introduction>div>p{margin:0;padding:15px 18px;border-radius:12px;min-height:0;line-height:1.6;font-size:.94rem}
.dish-introduction .food-lead{background:#f7ecd9;color:#354332}
.dish-introduction .food-lead strong{display:block;font-size:.75rem;font-family:var(--font-body,Arial,sans-serif);font-weight:750;color:#97442e;margin-bottom:6px}
.dish-introduction .food-lead span{display:block}
.dish-introduction .dish-ingredient-note{background:#edf1e6;color:#344b3b}
.dish-ingredient-note strong{font-size:.75rem;color:#3c5f46}
.dish-serving{border:0;border-radius:12px;background:#f2f0e9;padding:14px 18px}
.dish-serving p{font-size:.88rem;line-height:1.6}
.local-knowledge-toggle>summary{font-family:Georgia,'Noto Serif TC',serif;color:#893d2d}
.local-lens{background:#fcf8ef;border-color:#e6ddce}
.local-lens-facts{list-style:none;padding:0;counter-reset:bite-facts;gap:9px}
.local-lens-facts li{counter-increment:bite-facts;position:relative;padding:14px 16px 14px 48px;background:#f1eddf;border-radius:10px;font-size:.93rem;line-height:1.6;overflow-wrap:break-word}
.local-lens-facts li::before{content:'0' counter(bite-facts);position:absolute;left:14px;top:14px;color:#9e4c35;font:600 1rem/1.6 Georgia,serif}
.local-lens-notice{background:#edf1e5}

@media(max-width:760px){
 .site-header .brand-button{max-width:none}
 .site-header .brand-button img{width:154px;height:auto}
 .site-header{gap:8px}
 .classic-curation{grid-template-columns:minmax(0,1fr);gap:4px;padding:17px;margin-bottom:20px}
 .classic-curation p{font-size:.88rem}
 .classic-curation small{font-size:.74rem}
 .classic-curation ul{gap:10px}
 .discovery-selection{position:fixed;left:12px;right:12px;bottom:calc(84px + env(safe-area-inset-bottom,0px));transform:none;width:auto;margin:0;padding:12px;gap:10px;flex-wrap:nowrap}
 .discovery-selection .primary-button{flex:0 0 auto;padding:10px 12px;font-size:.82rem;min-height:46px}
 .selection-summary strong{font-size:.86rem}
 .selection-summary small{font-size:.7rem;max-width:140px}
 .food-discovery.has-saved-picks{padding-bottom:190px}
 body:has(#discover.has-saved-picks:not([hidden])) .feedback-launcher{bottom:calc(176px + env(safe-area-inset-bottom,0px))}
 body:has(#discover.has-saved-picks:not([hidden])) .toast{bottom:calc(188px + env(safe-area-inset-bottom,0px))}
 #builderExtras{padding-inline:12px}
 .add-dishes-action strong{font-size:1rem}
 .add-dishes-action small{font-size:.76rem}
 .plan-list .plan-row{grid-template-columns:62px minmax(0,1fr) 28px;gap:10px;padding:10px}
 .plan-row .plan-photo{width:62px;height:70px}
 .plan-row .plan-name strong{font-size:.93rem}
 .plan-row .add-check{width:28px;height:28px}
 .plan-controls .plan-search-submit{min-width:76px;padding-inline:12px}
 .food-sheet .dish-introduction{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}
 .food-sheet .dish-introduction>img{float:none;width:100%;height:190px;aspect-ratio:16/9;margin:0}
 .food-sheet .dish-introduction>div>p:first-child{min-height:0}
 .dish-introduction>div{gap:9px}
 .dish-introduction>div>p{padding:14px 16px;font-size:.94rem}
 .minimal-dish-head .dish-editorial-hook{font-size:1.15rem}
 .discovery-copy .dish-selection-source{font-size:.69rem;line-height:1.4;margin-top:8px}
}
@media(prefers-reduced-motion:reduce){.add-dishes-chevron{transition:none}}
