/* Intrinsic full-row fit; compact native menu remains the fallback. */
html body[data-site-baseline] > header.site-header-current.visitor-header-v2.visitor-header-v3[data-owner-header-layout="r2"][data-navigation-mode="full"]:has([data-site-navigation]){gap:12px!important;padding-left:24px!important;padding-right:24px!important}
html body[data-site-baseline] > header.site-header-current.visitor-header-v2.visitor-header-v3[data-owner-header-layout="r2"][data-navigation-mode="full"]:has([data-site-navigation]) .visitor-header-navigation{display:flex!important;flex:1 1 auto!important;min-width:0!important;width:auto!important;gap:0!important}
html body[data-site-baseline] > header.site-header-current.visitor-header-v2.visitor-header-v3[data-owner-header-layout="r2"][data-navigation-mode="full"]:has([data-site-navigation]) .visitor-links-menu{display:block!important;flex:1 1 auto!important;min-width:0!important;width:auto!important}
html body[data-site-baseline] > header.site-header-current.visitor-header-v2.visitor-header-v3[data-owner-header-layout="r2"][data-navigation-mode="full"]:has([data-site-navigation]) .visitor-links-menu>summary{display:none!important}
html body[data-site-baseline] > header.site-header-current.visitor-header-v2.visitor-header-v3[data-owner-header-layout="r2"][data-navigation-mode="full"]:has([data-site-navigation]) .visitor-links-menu>.visitor-links-panel{display:flex!important;position:static!important;width:max-content!important;max-width:none!important;max-height:none!important;overflow:visible!important;padding:0!important;border:0!important;box-shadow:none!important;background:transparent!important;visibility:visible!important}
html body[data-site-baseline] > header.site-header-current.visitor-header-v2.visitor-header-v3[data-owner-header-layout="r2"][data-navigation-mode="full"]:has([data-site-navigation]) .visitor-links-panel nav.visitor-header-primary{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;width:max-content!important;gap:1px!important;margin:0!important}
html body[data-site-baseline] > header.site-header-current.visitor-header-v2.visitor-header-v3[data-owner-header-layout="r2"][data-navigation-mode="full"]:has([data-site-navigation]) .visitor-header-primary>a{flex:none!important;white-space:nowrap!important;min-height:44px!important;padding:8px 6px!important;font-size:14px!important}
html body[data-site-baseline] > header.site-header-current.visitor-header-v2.visitor-header-v3[data-owner-header-layout="r2"][data-navigation-mode="full"]:has([data-site-navigation]) .visitor-header-primary>details{flex:none!important;width:max-content!important}
html body[data-site-baseline] > header.site-header-current.visitor-header-v2.visitor-header-v3[data-owner-header-layout="r2"][data-navigation-mode="full"]:has([data-site-navigation]) .mgh-member-dropdown>nav{position:absolute!important;right:0!important;top:100%!important;width:240px!important;max-width:calc(100vw - 32px)!important;box-shadow:0 8px 24px #29383f18!important}
html body[data-site-baseline] > header.site-header-current.visitor-header-v2.visitor-header-v3[data-owner-header-layout="r2"][data-navigation-mode="full"]:has([data-site-navigation]) .visitor-header-personal{flex:none!important;gap:0!important}
html body[data-site-baseline] > header.site-header-current.visitor-header-v2.visitor-header-v3[data-owner-header-layout="r2"][data-navigation-mode="full"]:has([data-site-navigation])[data-navigation-measuring] .visitor-links-panel{visibility:hidden!important}

/* Owner 27 Nov: the Papa stamp belongs beside the navigation label, not on photos. */
.site-header-current .visitor-header-primary>a:has(>.papa-menu-stempel){display:inline-flex!important;align-items:center!important;gap:6px!important;white-space:nowrap}
.site-header-current .papa-menu-stempel{display:block!important;width:22px!important;height:22px!important;flex:0 0 22px!important;object-fit:contain}
.restaurant-image-card .restaurant-card-photo:has(img)::after,.specialty-page[data-specialty="restaurants"] .family-photo-hero::after{content:none!important;background-image:none!important;display:none!important}

/* Definitive owner hierarchy: personal tools remain right, native compact menu below fit. */
html body[data-site-baseline]>header.site-header-current[data-owner-navigation="20261127"] .visitor-header-personal{display:flex!important;flex:0 0 auto!important;margin-left:auto!important;align-items:center!important}
html body[data-site-baseline]>header.site-header-current[data-owner-navigation="20261127"] .visitor-header-personal>.mgh-member-dropdown>nav{position:absolute!important;right:0!important;left:auto!important;top:100%!important;width:240px!important;max-width:calc(100vw - 32px)!important;background:#fff!important;box-shadow:0 8px 24px #29383f18!important}
html body[data-site-baseline]>header.site-header-current[data-owner-navigation="20261127"] .visitor-header-personal>.mgh-member-dropdown>nav>a{justify-content:flex-start!important;white-space:normal!important}

/* Owner correction: left brand/main group, separate right account group. */
html body[data-site-baseline]>header.site-header-current.visitor-header-v2.visitor-header-v3[data-owner-header-layout="r2"][data-owner-navigation="20261127"] .visitor-header-navigation{display:flex!important;flex:1 1 auto!important;min-width:0!important;align-items:center!important;justify-content:space-between!important;column-gap:32px!important}
html body[data-site-baseline]>header.site-header-current.visitor-header-v2.visitor-header-v3[data-owner-header-layout="r2"][data-owner-navigation="20261127"] .visitor-links-menu{order:0!important;flex:0 1 auto!important}
html body[data-site-baseline]>header.site-header-current.visitor-header-v2.visitor-header-v3[data-owner-header-layout="r2"][data-owner-navigation="20261127"][data-navigation-mode="full"] .visitor-links-menu>.visitor-links-panel{justify-content:flex-start!important}
html body[data-site-baseline]>header.site-header-current.visitor-header-v2.visitor-header-v3[data-owner-header-layout="r2"][data-owner-navigation="20261127"] .visitor-header-personal{order:1!important;flex:0 0 auto!important;margin-left:auto!important;column-gap:10px!important}
html body[data-site-baseline]>header.site-header-current.visitor-header-v2.visitor-header-v3[data-owner-header-layout="r2"][data-owner-navigation="20261127"] .visitor-header-personal>.mgh-member-dropdown>summary{background:#f9e6ee!important;border-radius:8px!important;font-weight:600!important;padding:10px 12px!important;min-height:44px!important;box-sizing:border-box!important}
@media(max-width:760px){html body[data-site-baseline]>header.site-header-current.visitor-header-v2.visitor-header-v3[data-owner-header-layout="r2"][data-owner-navigation="20261127"] .visitor-header-navigation{column-gap:12px!important}}

/* Owner 27 Nov: planner is a primary destination; readable space between choices. */
html body[data-site-baseline]>header.site-header-current.visitor-header-v2.visitor-header-v3[data-owner-header-layout="r2"][data-owner-navigation="20261127"][data-navigation-mode="full"] .visitor-links-panel nav.visitor-header-primary{column-gap:12px!important}

/* Compact native menu: one level, same four vacation links; desktop untouched. */
html body[data-site-baseline]>header.site-header-current.visitor-header-v2.visitor-header-v3[data-owner-header-layout="r2"][data-owner-navigation="20261127"][data-navigation-mode="compact"] [data-holiday-navigation],
html body[data-site-baseline]>header.site-header-current.visitor-header-v2.visitor-header-v3[data-owner-header-layout="r2"][data-owner-navigation="20261127"][data-navigation-mode="compact"] [data-holiday-navigation]>.menu-more-panel{display:contents!important;position:static!important;border:0!important;padding:0!important;margin:0!important;box-shadow:none!important}
html body[data-site-baseline]>header.site-header-current.visitor-header-v2.visitor-header-v3[data-owner-header-layout="r2"][data-owner-navigation="20261127"][data-navigation-mode="compact"] [data-holiday-navigation]>summary{display:none!important}
html body[data-site-baseline]>header.site-header-current.visitor-header-v2.visitor-header-v3[data-owner-header-layout="r2"][data-owner-navigation="20261127"][data-navigation-mode="compact"] [data-holiday-navigation]>.menu-more-panel>a{display:flex!important;align-items:center!important;min-height:44px!important;box-sizing:border-box!important;padding:10px 12px!important;margin:0!important;border:0!important;text-align:left!important;font-size:14px!important;white-space:normal!important}
html body[data-site-baseline]>header.site-header-current.visitor-header-v2.visitor-header-v3[data-owner-header-layout="r2"][data-owner-navigation="20261127"][data-navigation-mode="compact"] .visitor-links-menu[open]>.visitor-links-panel{overscroll-behavior:contain!important;scroll-padding-bottom:16px!important;padding-bottom:16px!important}

html body[data-site-baseline]>header.site-header-current.visitor-header-v2.visitor-header-v3[data-owner-header-layout="r2"][data-owner-navigation="20261127"][data-navigation-mode="compact"] .visitor-links-menu[open]>.visitor-links-panel{max-height:min(var(--mgh-compact-menu-height,calc(100dvh - 160px)),calc(100dvh - 90px - env(safe-area-inset-bottom,0px)))!important;overflow-y:auto!important}

html body[data-site-baseline]>header.site-header-current.visitor-header-v2.visitor-header-v3[data-owner-header-layout="r2"][data-owner-navigation="20261127"][data-navigation-mode="compact"] [data-holiday-navigation]>.menu-more-panel>a{justify-content:flex-start!important}
html body[data-site-baseline]>header.site-header-current.visitor-header-v2.visitor-header-v3[data-owner-header-layout="r2"][data-owner-navigation="20261127"][data-navigation-mode="compact"] [data-holiday-navigation]>.menu-more-panel>a:not(:last-child){margin-bottom:4px!important}

/* Owner27Nov: the same holiday details moves to its own mobile header row. */
@media(max-width:760px){
html body[data-site-baseline]>header.site-header-current.visitor-header-v2.visitor-header-v3[data-owner-header-layout="r2"][data-owner-navigation="20261127"][data-navigation-mode="compact"][data-owner-mobile-holidays="direct"]{flex-wrap:wrap!important;height:auto!important;row-gap:8px!important;padding-bottom:8px!important}
html body[data-site-baseline]>header.site-header-current.visitor-header-v2.visitor-header-v3[data-owner-header-layout="r2"][data-owner-navigation="20261127"][data-navigation-mode="compact"][data-owner-mobile-holidays="direct"] [data-header-search]{display:none!important}
html body[data-site-baseline]>header.site-header-current.visitor-header-v2.visitor-header-v3[data-owner-header-layout="r2"][data-owner-navigation="20261127"][data-navigation-mode="compact"][data-owner-mobile-holidays="direct"]>.mgh-mobile-holidays-row{display:block!important;order:2!important;flex:0 0 100%!important;width:100%!important;min-width:0!important}
html body[data-site-baseline]>header.site-header-current.visitor-header-v2.visitor-header-v3[data-owner-header-layout="r2"][data-owner-navigation="20261127"][data-navigation-mode="compact"][data-owner-mobile-holidays="direct"]>.mgh-mobile-holidays-row>[data-holiday-navigation]{display:block!important;position:static!important;width:100%!important}
html body[data-site-baseline]>header.site-header-current.visitor-header-v2.visitor-header-v3[data-owner-header-layout="r2"][data-owner-navigation="20261127"][data-navigation-mode="compact"][data-owner-mobile-holidays="direct"]>.mgh-mobile-holidays-row>[data-holiday-navigation]>summary{display:flex!important;align-items:center!important;justify-content:space-between!important;box-sizing:border-box!important;min-height:44px!important;width:100%!important;padding:10px 12px!important;font-size:14px!important;white-space:normal!important;list-style:none!important}
html body[data-site-baseline]>header.site-header-current.visitor-header-v2.visitor-header-v3[data-owner-header-layout="r2"][data-owner-navigation="20261127"][data-navigation-mode="compact"][data-owner-mobile-holidays="direct"]>.mgh-mobile-holidays-row>[data-holiday-navigation]>.menu-more-panel{display:none!important;position:fixed!important;top:var(--mgh-header-panel-top)!important;left:16px!important;right:16px!important;width:auto!important;max-width:none!important;min-width:0!important;max-height:var(--mgh-compact-menu-height)!important;overflow-y:auto!important;overscroll-behavior:contain!important;padding:8px!important;margin:0!important;box-sizing:border-box!important;background:#fff!important;border:1px solid #dce5ea!important;border-radius:12px!important;box-shadow:0 8px 24px #29383f18!important;z-index:95!important}
html body[data-site-baseline]>header.site-header-current.visitor-header-v2.visitor-header-v3[data-owner-header-layout="r2"][data-owner-navigation="20261127"][data-navigation-mode="compact"][data-owner-mobile-holidays="direct"]>.mgh-mobile-holidays-row>[data-holiday-navigation][open]>.menu-more-panel{display:block!important}
html body[data-site-baseline]>header.site-header-current.visitor-header-v2.visitor-header-v3[data-owner-header-layout="r2"][data-owner-navigation="20261127"][data-navigation-mode="compact"][data-owner-mobile-holidays="direct"] [data-site-navigation][open]>.visitor-links-panel{position:fixed!important;top:var(--mgh-header-panel-top)!important;left:16px!important;right:16px!important;width:auto!important;max-width:none!important;min-width:0!important;max-height:var(--mgh-compact-menu-height)!important;box-sizing:border-box!important;overflow-y:auto!important;overscroll-behavior:contain!important}
}

/* The obsolete helper rail is absent before scripts bind too. */
html body.mgh-approved-header{padding-right:0!important}
