.mgh-member-dropdown{position:relative;flex:none;color:#29383f}
.mgh-member-dropdown>summary{cursor:pointer;list-style:none;min-height:44px;display:flex;align-items:center;gap:7px;font-weight:600;padding:10px 12px;border-radius:8px;background:#f9e6ee;white-space:nowrap}
.mgh-member-dropdown>summary::-webkit-details-marker{display:none}
.mgh-member-dropdown>summary:after{content:'⌄'}
.mgh-member-dropdown>nav{position:absolute;right:0;top:100%;z-index:170;display:flex;flex-direction:column;width:240px;max-width:calc(100vw - 32px);padding:8px;background:white;border:1px solid #bfd8ce;border-radius:8px;box-shadow:0 8px 24px #29383f18}
.mgh-member-dropdown>nav>a{display:block;padding:10px 12px;min-height:44px;box-sizing:border-box;text-decoration:none;color:#29383f;white-space:normal}
.mgh-member-dropdown>nav>a:hover{background:#e6f1eb}
.mgh-member-dropdown :focus-visible{outline:3px solid #346e91;outline-offset:2px}
.member-hub .member-navigation{display:flex;flex-wrap:wrap;gap:8px}
.member-hub #moodboard[hidden],.member-hub #instellingen[hidden]{display:none!important}
@media(max-width:1000px){.mgh-member-dropdown>nav{position:relative;right:auto;top:auto;width:auto;box-shadow:none}.mgh-member-dropdown>summary{white-space:normal}}

/* Owner rejected wrapped desktop header; retain readable native compact menu. */
html body[data-site-baseline] > header.site-header-current.visitor-header-v2.visitor-header-v3[data-owner-header-layout="r2"]:has([data-site-navigation]){padding:14px 24px!important;gap:16px!important;box-sizing:border-box!important;width:100%!important;max-width:none!important;min-height:80px!important;flex-wrap:nowrap!important;align-items:center!important}
html body[data-site-baseline] > header.site-header-current.visitor-header-v2.visitor-header-v3[data-owner-header-layout="r2"]:has([data-site-navigation]) .visitor-header-navigation{flex:1!important;min-width:0!important;flex-direction:row!important;flex-wrap:nowrap!important;gap:12px!important;align-items:center!important;justify-content:flex-end!important}
html body[data-site-baseline] > header.site-header-current.visitor-header-v2.visitor-header-v3[data-owner-header-layout="r2"]:has([data-site-navigation]) .visitor-header-primary .mgh-member-dropdown>summary{background:#f9e6ee!important;color:#29383f!important;padding:10px 12px!important;border-radius:8px!important;min-height:44px!important;box-sizing:border-box!important;font:600 14px/1.4 Poppins,MGHPoppins,Arial,sans-serif!important;white-space:nowrap!important}
html body[data-site-baseline] > header.site-header-current.visitor-header-v2.visitor-header-v3[data-owner-header-layout="r2"]:has([data-site-navigation]) .mgh-member-dropdown>nav{flex-direction:column!important;gap:2px!important;align-items:stretch!important}
html body[data-site-baseline] > header.site-header-current.visitor-header-v2.visitor-header-v3[data-owner-header-layout="r2"]:has([data-site-navigation]) .visitor-header-personal{flex:none!important;flex-wrap:nowrap!important;margin:0!important}
@media(min-width:1360px){
html body[data-site-baseline] > header.site-header-current.visitor-header-v2.visitor-header-v3[data-owner-header-layout="r2"]:has([data-site-navigation]) .visitor-header-primary .mgh-member-dropdown>nav{width:260px!important;min-width:260px!important;max-width:calc(100vw - 32px)!important;box-sizing:border-box!important;left:auto!important;right:0!important;background:#fff!important;padding:8px!important}
html body[data-site-baseline] > header.site-header-current.visitor-header-v2.visitor-header-v3[data-owner-header-layout="r2"]:has([data-site-navigation]) .visitor-header-primary .mgh-member-dropdown>nav>a{width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important;min-height:44px!important;white-space:normal!important;padding:10px 12px!important}
html body[data-site-baseline] > header.site-header-current.visitor-header-v2.visitor-header-v3[data-owner-header-layout="r2"]:has([data-site-navigation]) .visitor-links-menu{flex:1!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"]: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"]:has([data-site-navigation]) .visitor-links-menu>.visitor-links-panel{display:flex!important;position:static!important;justify-content:flex-end!important;gap:0!important;background:none!important;border:0!important;box-shadow:none!important;padding:0!important;max-width:none!important;max-height:none!important;overflow:visible!important}
html body[data-site-baseline] > header.site-header-current.visitor-header-v2.visitor-header-v3[data-owner-header-layout="r2"]: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;gap:4px!important;margin:0!important}
html body[data-site-baseline] > header.site-header-current.visitor-header-v2.visitor-header-v3[data-owner-header-layout="r2"]:has([data-site-navigation]) nav.visitor-header-secondary{display:none!important}
html body[data-site-baseline] > header.site-header-current.visitor-header-v2.visitor-header-v3[data-owner-header-layout="r2"]:has([data-site-navigation]) .visitor-header-primary>a{white-space:nowrap!important;min-height:44px!important;padding:8px 6px!important;font-size:14px!important}
}
@media(max-width:1359px){
html body[data-site-baseline] > header.site-header-current.visitor-header-v2.visitor-header-v3[data-owner-header-layout="r2"]:has([data-site-navigation]){padding:9px 16px!important;min-height:66px!important;gap:12px!important}
html body[data-site-baseline] > header.site-header-current.visitor-header-v2.visitor-header-v3[data-owner-header-layout="r2"]:has([data-site-navigation]) .visitor-links-menu{flex:none!important;min-width:0!important;order:2!important}
html body[data-site-baseline] > header.site-header-current.visitor-header-v2.visitor-header-v3[data-owner-header-layout="r2"]:has([data-site-navigation]) .visitor-links-menu>summary{display:flex!important;min-height:44px!important;background:transparent!important;padding:8px!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"]:has([data-site-navigation]) .visitor-links-menu>.visitor-links-panel{display:none!important}
html body[data-site-baseline] > header.site-header-current.visitor-header-v2.visitor-header-v3[data-owner-header-layout="r2"]:has([data-site-navigation]) .visitor-links-menu[open]>.visitor-links-panel{display:block!important;position:fixed!important;top:74px!important;right:16px!important;width:340px!important;max-width:calc(100vw - 32px)!important;box-sizing:border-box!important;max-height:calc(100dvh - 160px)!important;overflow:auto!important;background:white!important;border:1px solid #dbe9e2!important;border-radius:12px!important;padding:12px!important;box-shadow:0 10px 28px #29383f14!important;z-index:170!important}
html body[data-site-baseline] > header.site-header-current.visitor-header-v2.visitor-header-v3[data-owner-header-layout="r2"]:has([data-site-navigation]) .visitor-links-panel nav.visitor-header-primary{display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;align-items:stretch!important;gap:4px!important;margin:0!important}
html body[data-site-baseline] > header.site-header-current.visitor-header-v2.visitor-header-v3[data-owner-header-layout="r2"]:has([data-site-navigation]) .visitor-header-primary>a{min-height:44px!important;padding:10px 12px!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"]:has([data-site-navigation]) .mgh-member-dropdown>nav{position:static!important;width:auto!important;max-width:100%!important;box-shadow:none!important;box-sizing:border-box!important}
html body[data-site-baseline] > header.site-header-current.visitor-header-v2.visitor-header-v3[data-owner-header-layout="r2"]:has([data-site-navigation]) nav.visitor-header-secondary{display:none!important}
html body[data-site-baseline] > header.site-header-current.visitor-header-v2.visitor-header-v3[data-owner-header-layout="r2"]:has([data-site-navigation]) .visitor-header-personal{order:1!important}
}

/* Remove obsolete desktop helper-rail reservation; the helper remains floating. */
html body.mgh-approved-header.visitor-tools-ready{padding-right:0!important}

/* Shared content grid; native compact menu when the full row cannot fit. */
html body[data-site-baseline] > header.site-header-current.visitor-header-v2.visitor-header-v3[data-owner-header-layout="r2"]:has([data-site-navigation]){gap:12px!important;padding-left:max(24px,calc((100vw - 1288px)/2))!important;padding-right:max(24px,calc((100vw - 1288px)/2))!important}

@media(min-width:1360px){html body[data-site-baseline] > header.site-header-current.visitor-header-v2.visitor-header-v3[data-owner-header-layout="r2"]:has([data-site-navigation]) .visitor-header-navigation{gap:0!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"]:has([data-site-navigation]),html body.home-approved-r3[data-site-baseline] > header.site-header-current.visitor-header-v2.visitor-header-v3[data-owner-header-layout="r2"]:has([data-site-navigation]){padding-left:16px!important;padding-right:16px!important}}

/* Personal task screens: existing controls, no shared-header redesign. */
.member-hub[data-task-ux] .member-section-picker{display:none}
.member-hub[data-task-ux] .member-navigation-row{position:sticky;top:0;background:#fff;z-index:40;padding:8px 0}
.member-hub[data-task-ux] [data-profile-inline]{border:0;padding:0;margin:0}
.member-hub[data-task-ux] [data-profile-inline]>summary{display:none}
.member-hub[data-task-ux] .member-sleep-options{margin:16px 0}
.member-hub[data-task-ux] .member-sleep-options>summary{cursor:pointer;padding:12px 0;font-weight:600}
.member-hub[data-task-ux] #instellingen>[data-plan-action="logout"]{display:block;margin:16px 0}
@media(max-width:760px){.member-hub[data-task-ux] .member-section-picker{display:none}.member-hub[data-task-ux] .member-section-picker select{display:block;width:100%;min-height:44px;font:inherit;font-size:16px;padding:8px;border:1px solid #bfd8ce;border-radius:8px;background:#fff;color:#29383f}.member-hub[data-task-ux] .member-navigation-row{top:0;display:block}.member-hub[data-task-ux] [data-profile-editor] input,.member-hub[data-task-ux] [data-profile-editor] select{max-width:100%;box-sizing:border-box}}

/* Owner-selected shared submenu values, replacing dossier tabs. */
html body :is(.member-hub .member-navigation,.planner-prototype .tabs,.free-days-tabs,.school-years,.school-period-nav,.mb-nav,.mgh-book-tabs,.checked-country-filter,#rubrieken.mag-contents,.vacation-theme-nav,.destination-category-nav,.detail-nav-links,.detail-nav-menu>div,.ta-menu-line){display:flex!important;flex-wrap:wrap!important;align-items:center;gap:10px!important;min-width:0;max-width:100%;padding:0!important;margin-bottom:24px!important;border:0!important;background:transparent!important;overflow:visible!important}
html body :is(.member-hub .member-navigation,.planner-prototype .tabs,.free-days-tabs,.school-years,.school-period-nav,.mb-nav,.mgh-book-tabs,.checked-country-filter,#rubrieken.mag-contents,.vacation-theme-nav,.destination-category-nav,.detail-nav-links,.detail-nav-menu>div,.ta-menu-line)>:is(a,button){display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 auto!important;width:auto!important;min-height:44px!important;height:auto!important;padding:8px 15px!important;margin:0!important;border:1px solid #95cbbb!important;border-radius:8px!important;background:transparent!important;color:#29383f!important;font:400 16px/26.4px MGHPoppins,Poppins,Arial,sans-serif!important;letter-spacing:normal!important;text-decoration:none!important;box-shadow:none!important;white-space:normal!important}
html body :is(.member-hub .member-navigation,.planner-prototype .tabs,.free-days-tabs,.school-years,.school-period-nav,.mb-nav,.mgh-book-tabs,.checked-country-filter,#rubrieken.mag-contents,.vacation-theme-nav,.destination-category-nav,.detail-nav-links,.detail-nav-menu>div,.ta-menu-line)>:is(a,button):is([aria-current="page"],[aria-current="location"],[aria-current="step"],[aria-current="true"],[aria-selected="true"],[aria-expanded="true"]){background:#95cbbb!important;border-color:#95cbbb!important;font-weight:600!important}
html body :is(.member-hub .member-navigation,.planner-prototype .tabs,.free-days-tabs,.school-years,.school-period-nav,.mb-nav,.mgh-book-tabs,.checked-country-filter,#rubrieken.mag-contents,.vacation-theme-nav,.destination-category-nav,.detail-nav-links,.detail-nav-menu>div,.ta-menu-line)>:is(a,button):focus-visible{outline:3px solid var(--mgh-ui-focus,#356d92);outline-offset:3px}
html body :is(.member-hub .member-navigation,.planner-prototype .tabs,.free-days-tabs,.school-years,.school-period-nav,.mb-nav,.mgh-book-tabs,.checked-country-filter,#rubrieken.mag-contents,.vacation-theme-nav,.destination-category-nav,.detail-nav-links,.detail-nav-menu>div,.ta-menu-line)>:is(a,button):hover:not([aria-current]):not([aria-selected="true"]):not([aria-expanded="true"]){background:var(--mgh-ui-mint,#f3f7f4)!important}
@media(max-width:600px){html body :is(.member-hub .member-navigation,.planner-prototype .tabs,.free-days-tabs,.school-years,.school-period-nav,.mb-nav,.mgh-book-tabs,.checked-country-filter,#rubrieken.mag-contents,.vacation-theme-nav,.destination-category-nav,.detail-nav-links,.detail-nav-menu>div,.ta-menu-line){gap:7px!important}html body :is(.member-hub .member-navigation,.planner-prototype .tabs,.free-days-tabs,.school-years,.school-period-nav,.mb-nav,.mgh-book-tabs,.checked-country-filter,#rubrieken.mag-contents,.vacation-theme-nav,.destination-category-nav,.detail-nav-links,.detail-nav-menu>div,.ta-menu-line)>:is(a,button){font-size:13px!important;padding:7px 10px!important}}
.member-hub[data-task-ux] .member-navigation-row{position:static;border:0;padding:0;margin-bottom:0}.member-hub[data-task-ux] #moodboard>h2{display:none}
