/* Locked search guidance: one row immediately below the full search form. */
#search{margin-top:24px;margin-bottom:8px}
#summary:empty{display:none}
.search-support{position:relative;display:flex;align-items:center;justify-content:flex-start;flex-wrap:nowrap;gap:10px;max-width:100%;min-width:0;min-height:28px;margin:0 0 20px;white-space:nowrap;color:#52685b;font-size:12px;line-height:1.4}
.search-support>*{flex:0 0 auto;min-width:0}
.search-support .support-short{display:none}
.search-support a{display:inline-flex;align-items:center;min-height:28px;text-underline-offset:3px}
.search-support .question-picker{position:static;margin:0;padding:0;border:0;width:auto;max-width:none}
.search-support .question-picker summary{display:flex;align-items:center;justify-content:flex-start;gap:5px;min-height:28px;margin:0;padding:0;list-style:none;font:inherit;color:#145746;cursor:pointer;white-space:nowrap}
.search-support .question-picker summary::-webkit-details-marker{display:none}
.search-support .question-picker summary::after{display:none}
.search-support .question-picker summary:focus-visible{outline:3px solid #d6ac53;outline-offset:3px}
.search-support .question-list{position:absolute;z-index:5;top:100%;left:0;width:min(680px,100%);max-width:100%;max-height:55vh;overflow:auto;white-space:normal;background:#fafbf7;border:1px solid #bdcdbf;box-shadow:0 8px 18px #173b3014;padding:8px 12px;margin:4px 0 0;box-sizing:border-box}
.search-support .question-list button{white-space:normal}
@media(max-width:760px){.search-support{font-size:12px;gap:7px}.search-support .support-full{display:none}.search-support .support-short{display:inline}.search-support .question-list{width:100%}}
@media(max-width:360px){.search-support{font-size:11px;gap:5px}.search-support .question-picker summary{gap:3px}}
.answered-question{font-size:14px;border-left:3px solid #486880;background:#e8eee7;padding:12px 16px;margin:24px 0 12px;white-space:normal;overflow-wrap:anywhere}
#summary.food-type-summary{font:28px/1.3 Georgia,serif;color:#173b30;margin:20px 0 12px}
#results.answer-list{display:block;margin-top:8px}
.food-type-group{margin:0 0 24px}.food-type-group h2{font-size:23px;margin:18px 0 8px}
.food-type-list{list-style:none;padding:0;margin:0;border-top:1px solid #cddbd0}
.food-type-list>li{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:baseline;gap:28px;padding:17px 0;border-bottom:1px solid #d7e1d8}
.food-type-name{font-size:17px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}
.food-type-cart{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;min-width:0}
.food-type-cart .cart-profile-link{background:none;border:0;border-radius:0;color:#145746;padding:4px 0;min-height:32px;font-weight:400;text-decoration:underline;text-underline-offset:4px;white-space:normal;text-align:left}
.food-type-cart .food-type-source{font-size:12px;min-height:28px;display:inline-flex;align-items:center;gap:5px;padding:3px 0}
.food-type-coverage{font-size:13px;line-height:1.65;color:#52685b;margin:18px 0 8px;max-width:850px}
@media(max-width:600px){.food-type-list>li{grid-template-columns:1fr;gap:5px;padding:14px 0}.food-type-name{font-size:16px}.food-type-cart{justify-content:flex-start;gap:16px}.food-type-cart .cart-profile-link{font-size:14px}.food-type-cart .food-type-source{font-size:12px}#summary.food-type-summary{font-size:25px}}

/* Accepted search identity: tagline under the wordmark; service credit at screen bottom. */
body{min-height:100vh;min-height:100dvh;padding-bottom:96px}
body>.site-header .brand-lockup{display:flex;flex-direction:column;align-items:flex-start;gap:3px;text-decoration:none}
body>.site-header .brand-lockup img{display:block}
body>.site-header .brand-tagline{display:block;margin:0 0 0 36px;font-size:8px;line-height:1.5;font-weight:700;letter-spacing:.1em;white-space:nowrap;color:#173b30}
body>footer{position:fixed;z-index:4;left:0;right:0;bottom:0;margin:0;padding:12px 5% calc(12px + env(safe-area-inset-bottom));border-top:1px solid #d7e1d8;background:#f7f8f1;font-size:12px;line-height:1.6}
@media(max-width:550px){body>.site-header .brand-tagline{margin-left:29px;font-size:6.5px}}

/* Opening placement: reachable on phones, centered on larger screens; answers stay above the fold. */
body{padding-bottom:calc(var(--search-footer-height,60px) + 16px)}
body>main{width:100%;--search-main-padding:76px}
.search-stage{display:flex;flex-direction:column;justify-content:center;min-height:max(260px,calc(var(--search-visible-height,100dvh) - var(--search-header-height,112px) - var(--search-footer-height,60px) - var(--search-main-padding) - 16px))}
.search-controls{min-width:0;width:100%}
.search-controls .search-support{margin-bottom:0}
#search-interpretation:empty,#results:empty{display:none}
body.search-active .search-stage{min-height:0;display:block}
body:not(.search-active) .search-support .question-list{top:auto;bottom:100%;max-height:min(55dvh,var(--search-menu-height,55dvh));margin:0 0 4px}
body>footer{bottom:var(--search-keyboard-inset,0px)}
@media(max-width:760px){body>main{--search-main-padding:76px}.search-stage{justify-content:flex-start}.search-controls{margin-top:auto}body.search-active .search-controls{margin-top:0}}
@media(max-width:550px){body>main{--search-main-padding:48px}}
body.search-keyboard:not(.search-active) .search-stage{min-height:max(130px,calc(var(--search-visible-height,100dvh) - var(--search-header-height,112px) - var(--search-footer-height,60px) - var(--search-main-padding) - 16px))}
body.search-keyboard:not(.search-active) .search-stage h1{display:none}

@media(max-height:550px){body>main{padding-top:12px;padding-bottom:12px;--search-main-padding:24px}.search-stage{min-height:max(0px,calc(var(--search-visible-height,100dvh) - var(--search-header-height,112px) - var(--search-footer-height,60px) - 40px))}.search-stage h1{font-size:28px;margin:8px 0}.search-stage #search{margin-top:16px}}
