/* Readable Gourmet shell. Existing article typography, photos and ad gates remain intact. */
body[data-gourmet-shell] > .site-header { min-height: 54px; padding: 5px max(12px, calc((100vw - 1180px) / 2)); gap: 8px; }
body[data-gourmet-shell] .brand { display: flex; align-items: center; gap: 8px; }
body[data-gourmet-shell] .brand > img { width: 82px; height: 30px; }
body[data-gourmet-shell] .brand .brand-descriptor { margin: 0; font-size: 1rem; }
body[data-gourmet-shell] .brand-descriptor > span { display: none; }
body[data-gourmet-shell] .edition { display: none; }
body[data-gourmet-shell] > .toolbar { position: relative; z-index: 6; padding: 5px max(12px, calc((100vw - 1180px) / 2)); max-height: none; }
.quick-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; max-width: 1180px; margin: auto; }
.quick-controls #toggle-filters { flex: 0 1 auto; min-width: 44px; min-height: 44px; max-width: 100%; padding: 7px 14px; border: 1px solid #173c58; background: #204d6a; color: white; font-size: 1rem; font-weight: 700; line-height: 1.4; text-align: left; white-space: normal; overflow-wrap: anywhere; }
.quick-controls #toggle-filters:hover { background: #173c58; }
.menu-hint { display: block; font-size: .875rem; font-weight: 400; }
#menu-summary { flex: 1 1 7rem; min-width: 0; font-size: .875rem; color: var(--muted); overflow-wrap: anywhere; }
.menu-panel-heading { position: sticky; top: -16px; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin: -16px -16px 12px; padding: 8px 12px; background: white; border-bottom: 1px solid var(--line); }
.menu-panel-heading h2 { margin: 0; font-size: 1.125rem; }
.menu-panel-heading #close-filters { min-height: 44px; min-width: 44px; font-size: 1rem; }
.menu-help { margin: 0 0 12px; font-size: .875rem; }
.panel-region { min-width: 0; margin-bottom: 14px; }
.panel-region .region-label { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; width: 100%; min-width: min(100%, 18rem); max-width: 100%; }
.panel-region .region-label > span { display: block; min-width: 0; max-width: 100%; font-size: 1rem; overflow-wrap: anywhere; }
.panel-region #region { display: block; width: 100%; min-width: 100%; max-width: 100%; min-height: 44px; font-size: 1rem; }
body[data-gourmet-shell] > main { grid-template-rows: minmax(0, 1fr); }
body[data-gourmet-shell] .list-heading { display: block; min-height: 0; padding: 10px 0; border: 0; }
body[data-gourmet-shell] .list-heading h1 { font-size: 1.12rem; }
body[data-gourmet-shell] #result-count { margin-top: 2px; font-size: .875rem; }
body[data-gourmet-shell] #dining-scroll { padding-bottom: 16px; }
body[data-gourmet-shell] .filter-panel { position: absolute; inset: 100% max(8px, calc((100vw - 1180px) / 2)) auto; max-height: calc(var(--gourmet-viewport-height, 100dvh) - var(--gourmet-controls-bottom, 110px) - var(--gourmet-footer-space, 60px) - 8px); overflow: auto; overscroll-behavior: contain; padding: 16px; background: white; border: 1px solid #b4c4cf; border-radius: 0 0 8px 8px; box-shadow: 0 8px 20px #142a3b30; }
body[data-gourmet-shell] .filter-panel:has(#filters[hidden]) { display: none; }
body[data-gourmet-shell] #filters { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr) auto; margin: 0; }
body[data-gourmet-shell] #filters :is(input, select, button), .extra-options :is(select, button) { min-height: 44px; font-size: 1rem; }
body[data-gourmet-shell] #filters .quiet { grid-column: auto; grid-row: auto; width: auto; }
.extra-options { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding-top: 12px; }
.extra-options .sort-label { display: flex; align-items: center; gap: 8px; max-width: 100%; min-width: 0; }
.extra-options .sort-label select { width: auto; max-width: 100%; min-width: 0; }
.extra-options .saved-tools { padding: 0; }
.extra-options #region-help { flex-basis: 100%; margin: 0; }
.extra-options #show-results { margin-left: auto; min-height: 44px; min-width: 44px; }
.collection-notes { margin-top: 18px; border: 1px solid var(--line); padding: 0 12px 12px; border-radius: 6px; background: white; }
.collection-notes > summary { min-height: 44px; padding-top: 9px; cursor: pointer; }
body[data-gourmet-shell] > footer { display: flex; align-items: center; justify-content: flex-end; gap: 8px; min-height: 52px; padding: 4px max(12px, calc((100vw - 1180px) / 2)) calc(4px + var(--safe-bottom)); z-index: 7; }
.footer-info { position: relative; flex: 0 0 auto; max-width: 45%; }
.footer-info > summary { display: flex; min-height: 44px; align-items: center; padding: 5px 8px; border: 1px solid var(--line); border-radius: 6px; font-size: .875rem; cursor: pointer; }
.footer-info > summary::after { content: ' ▴'; padding-left: 5px; }
.footer-info[open] > summary::after { content: ' ▾'; }
body[data-gourmet-shell] .footer-content { position: absolute; bottom: calc(100% + 8px); right: 0; display: flex; flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 0; padding: 8px 12px; width: min(18rem, calc(100vw - 24px)); max-width: calc(100vw - 24px); max-height: calc(var(--gourmet-viewport-height, 100dvh) - 90px); overflow: auto; background: white; border: 1px solid #b4c4cf; border-radius: 8px; box-shadow: 0 -6px 20px #142a3b25; }
body[data-gourmet-shell] .footer-content :is(a, button) { flex-shrink: 0; min-height: 44px; font-size: .875rem; }
body[data-gourmet-shell].gourmet-viewport-fallback .filter-panel { position: fixed; top: var(--gourmet-viewport-top, 0px); left: 8px; right: 8px; max-height: calc(var(--gourmet-viewport-height, 100dvh) - var(--gourmet-footer-space, 60px) - 8px); }
body[data-gourmet-shell].gourmet-viewport-fallback { padding-bottom: var(--gourmet-footer-space, 60px); }
body[data-gourmet-shell].gourmet-viewport-fallback > footer { position: fixed; inset: auto 0 0; }
body[data-gourmet-shell].gourmet-viewport-fallback > .site-header { position: sticky; top: 0; z-index: 6; }
body[data-gourmet-shell].gourmet-viewport-fallback > .toolbar { position: sticky; top: var(--gourmet-header-space, 50px); }
@media (max-width: 720px) {
 body[data-gourmet-shell] > .site-header { min-height: 50px; }
 body[data-gourmet-shell] .brand > img { width: 72px; height: 27px; }
 body[data-gourmet-shell] #filters { grid-template-columns: minmax(0, 1fr); gap: 10px; }
 body[data-gourmet-shell] #filters .search-label { grid-column: 1 / -1; }
 body[data-gourmet-shell] #filters .quiet { grid-column: 1 / -1; justify-self: stretch; }
 .extra-options .sort-label { flex-wrap: wrap; width: 100%; }
 .extra-options .sort-label select { flex: 1 1 10rem; }
 .extra-options .saved-tools { width: 100%; }
}
@media print { body[data-gourmet-shell] > footer, body[data-gourmet-shell] > .toolbar { display: none; } .collection-notes { break-inside: avoid; } }

/* Smooth chrome: negative margins release the real grid rows continuously.
   The boxes retain their natural heights, so measurement cannot oscillate. */
body[data-gourmet-shell] > :is(.site-header, .toolbar, footer) {
  transition: margin .18s ease-out, transform .18s ease-out, opacity .18s ease-out, visibility 0s;
}
body[data-gourmet-shell].gourmet-reading-mode > :is(.site-header, .toolbar, footer) {
  pointer-events: none; visibility: hidden; opacity: 0;
  transition: margin .18s ease-out, transform .18s ease-out, opacity .18s ease-out, visibility 0s .18s;
}
body[data-gourmet-shell].gourmet-reading-mode > .site-header { margin-bottom: calc(-1 * var(--gourmet-header-space)); transform: translateY(-100%); }
body[data-gourmet-shell].gourmet-reading-mode > .toolbar { margin-bottom: calc(-1 * var(--gourmet-toolbar-space)); transform: translateY(-100%); }
body[data-gourmet-shell].gourmet-reading-mode > footer { margin-top: calc(-1 * var(--gourmet-footer-space)); transform: translateY(100%); }
body[data-gourmet-shell].gourmet-reading-mode.gourmet-viewport-fallback { padding-bottom: 0; }
/* Native keyboard/dialog focus and natural-flow anchor corrections are immediate. */
body[data-gourmet-shell]:is(.gourmet-chrome-immediate, .gourmet-viewport-fallback) > :is(.site-header, .toolbar, footer) { transition: none; }
body[data-gourmet-shell] > footer { min-height: 48px; padding-block: 2px calc(2px + var(--safe-bottom)); }
.gourmet-footer-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 4.25rem), 1fr)); align-items: stretch; gap: 4px; width: 100%; max-width: 1180px; margin-inline: auto; }
.gourmet-footer-nav > :is(a, button), .gourmet-footer-nav .footer-info > summary { display: flex; align-items: center; justify-content: center; min-height: 44px; min-width: 0; margin: 0; padding: 6px 2px; border: 0; border-radius: 4px; font-size: .875rem; line-height: 1.4; text-align: center; text-decoration: none; overflow-wrap: anywhere; background: transparent; color: inherit; }
.gourmet-footer-nav .footer-info { max-width: none; width: 100%; }
.gourmet-footer-nav [aria-pressed="true"] { background: #e7f0f7; font-weight: 700; }
@media (prefers-reduced-motion: reduce) { body[data-gourmet-shell] > :is(.site-header, .toolbar, footer) { transition: none !important; } }

/* [FIX 20261103-68] Menu button label and hint ran together: the shell
   runtime turns #toggle-filters into a flex row (shell.css:
   body[data-gzm-shell] [data-gzm-trigger] { display:flex }), so the label
   and .menu-hint sit side by side with no gap. Stack them vertically. */
body[data-gzm-shell] #toggle-filters[data-gzm-trigger] {
  flex-direction: column;
}
