/* Shared public and account shell. Loaded after app.css on both WP page paths. */
body.nv-site-shell { --nv-header-offset: 80px; --nvp-header-offset: var(--nv-header-offset); }
body.nv-account-site, body.nv-operational-site { --nv-header-offset: 72px; }
html { scroll-padding-top: calc(var(--nv-header-offset, 80px) + 16px); }
body.nomadvillage-platform #nv-app .nv-site-header {
    border-bottom: 1px solid var(--nv-sand-200);
    background: rgba(255, 253, 249, .98);
    box-shadow: 0 2px 8px rgba(31, 35, 39, .025);
    /* Fixed workspace popovers must use the viewport as their containing block. */
    backdrop-filter: none;
}
body.nomadvillage-platform #nv-app .nv-site-header .nv-header-inner {
    position: relative;
    width: min(1320px, calc(100% - 48px));
    min-height: 80px;
    gap: 22px;
    padding-block: 12px;
    padding-inline: 0;
    align-items: center;
    justify-content: space-between;
}
body.nomadvillage-platform #nv-app .nv-site-header .nv-brand { flex: 0 0 auto; margin: 0; gap: 14px; }
body.nomadvillage-platform #nv-app .nv-site-header .nv-brand img { display: block; width: 164px; height: auto; }
body.nomadvillage-platform #nv-app .nv-site-header .nv-brand-tagline { display: none; }
body.nomadvillage-platform #nv-app .nv-site-header .nv-header-context {
    margin-right: auto;
    padding-left: 18px;
    border-left: 1px solid var(--nv-sand-200);
    color: var(--nv-charcoal-500);
    font-size: .8rem;
    font-weight: 600;
    line-height: 1.4;
}
body.nomadvillage-platform #nv-app .nv-site-header .nv-header-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 10px; margin: 0; min-width: 0; }
body.nomadvillage-platform #nv-app .nv-site-header .nv-user-view-label-compact { display: none; }
body.nomadvillage-platform #nv-app .nv-site-header .nv-desktop-nav { display: flex; align-items: center; justify-content: center; gap: 4px; margin-left: auto; }
body.nomadvillage-platform #nv-app .nv-site-header .nv-shell-icon { display: inline-block; flex: 0 0 18px; width: 18px; height: 18px; vertical-align: middle; }
body.nomadvillage-platform #nv-app .nv-site-header .nv-shell-icon-chevron { width: 14px; height: 14px; flex-basis: 14px; transition: transform .15s ease; }
body.nomadvillage-platform #nv-app .nv-site-header :is(.nv-nav-dropdown, .nv-language-menu, .nv-mobile-nav) { margin: 0; padding: 0; border: 0; background: transparent; }
body.nomadvillage-platform #nv-app .nv-site-header :is(.nv-nav-dropdown, .nv-language-menu, .nv-mobile-nav) > summary {
    display: flex; min-height: 44px; align-items: center; justify-content: center; gap: 7px;
    margin: 0; padding: 10px 12px; border: 1px solid transparent; border-radius: 9px;
    color: var(--nv-charcoal-800); background: transparent; cursor: pointer;
    list-style: none; font: 650 .875rem/1.3 Inter, system-ui, sans-serif;
    white-space: nowrap;
}
body.nomadvillage-platform #nv-app .nv-site-header summary::-webkit-details-marker { display: none; }
body.nomadvillage-platform #nv-app .nv-site-header :is(.nv-nav-dropdown, .nv-language-menu, .nv-mobile-nav) > summary::after { content: none; }
body.nomadvillage-platform #nv-app .nv-site-header details[open] > summary .nv-shell-icon-chevron { transform: rotate(180deg); }
body.nomadvillage-platform #nv-app .nv-site-header .nv-desktop-nav > a,
body.nomadvillage-platform #nv-app .nv-site-header .nv-menu-list > li > a {
    display: inline-flex; min-height: 44px; align-items: center; padding: 10px 12px;
    border-radius: 9px; color: var(--nv-charcoal-800); text-decoration: none;
    font: 650 .875rem/1.3 Inter, system-ui, sans-serif; white-space: nowrap;
}
body.nomadvillage-platform #nv-app .nv-site-header :is(.nv-desktop-nav > a, summary, .nv-header-action):hover { background: var(--nv-cream-100); color: var(--nv-olive-800); }
body.nomadvillage-platform #nv-app .nv-site-header .nv-desktop-nav > a[aria-current="page"],
body.nomadvillage-platform #nv-app .nv-site-header .nv-nav-dropdown:is([open], .is-current-section) > summary { background: var(--nv-cream-100); color: var(--nv-terracotta-700); }
body.nomadvillage-platform #nv-app .nv-site-header :is(a, button, summary, select):focus-visible { outline: 3px solid var(--nv-olive-600); outline-offset: 3px; }
body.nomadvillage-platform #nv-app .nv-site-header .nv-nav-dropdown > div,
body.nomadvillage-platform #nv-app .nv-site-header .nv-language-options,
body.nomadvillage-platform #nv-app .nv-site-header .nv-menu-list .sub-menu {
    top: calc(100% + 8px); min-width: 260px; padding: 8px;
    border: 1px solid var(--nv-sand-200); border-radius: 12px; background: #fff;
    box-shadow: 0 8px 28px rgba(31, 35, 39, .12); color: var(--nv-charcoal-800);
}
body.nomadvillage-platform #nv-app .nv-site-header .nv-nav-dropdown > div { left: 0; }
body.nomadvillage-platform #nv-app .nv-site-header .nv-nav-dropdown:not([open]) > div,
body.nomadvillage-platform #nv-app .nv-site-header .nv-language-menu:not([open]) > div,
body.nomadvillage-platform #nv-app .nv-site-header .nv-mobile-nav:not([open]) > nav { display: none; }
body.nomadvillage-platform #nv-app .nv-site-header .nv-nav-dropdown > div a,
body.nomadvillage-platform #nv-app .nv-site-header .nv-language-options a,
body.nomadvillage-platform #nv-app .nv-site-header .nv-menu-list .sub-menu a {
    display: flex; min-height: 44px; align-items: center; gap: 10px; padding: 10px 12px;
    border-radius: 7px; color: var(--nv-charcoal-800); text-decoration: none;
    font-size: .86rem; font-weight: 550; line-height: 1.4;
}
body.nomadvillage-platform #nv-app .nv-site-header :is(.nv-nav-dropdown > div, .nv-language-options, .nv-mobile-nav nav) a:is(:hover, [aria-current="page"]) { background: var(--nv-cream-100); color: var(--nv-terracotta-700); }
body.nomadvillage-platform #nv-app .nv-site-header a[aria-current="page"] { font-weight: 750; }
body.nomadvillage-platform #nv-app .nv-site-header .nv-language-menu > summary { border-color: var(--nv-sand-200); background: #fff; padding-inline: 10px; }
body.nomadvillage-platform #nv-app .nv-site-header .nv-language-options { min-width: 192px; }
body.nomadvillage-platform #nv-app .nv-site-header .nv-language-code { display: grid; min-width: 28px; height: 25px; place-items: center; border: 1px solid var(--nv-sand-200); border-radius: 5px; color: var(--nv-charcoal-500); font-size: .65rem; font-weight: 750; }
body.nomadvillage-platform #nv-app .nv-site-header .nv-language-options .nv-shell-icon-check { margin-left: auto; width: 15px; height: 15px; }
body.nomadvillage-platform #nv-app .nv-site-header .nv-header-account-link {
    min-height: 44px; margin: 0; padding: 10px 15px; border-radius: 9px;
    box-shadow: none; font-size: .86rem; line-height: 1.3; white-space: nowrap;
}
body.nomadvillage-platform #nv-app .nv-site-header .nv-header-account-link:hover { transform: none; }
body.nomadvillage-platform #nv-app .nv-site-header .nv-header-action {
    display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; gap: 8px;
    margin: 0; padding: 10px 12px; border: 1px solid var(--nv-sand-200); border-radius: 9px;
    color: var(--nv-charcoal-800); background: #fff; box-shadow: none; cursor: pointer;
    text-decoration: none; font: 650 .83rem/1.3 Inter, system-ui, sans-serif; white-space: nowrap;
}
body.nomadvillage-platform #nv-app .nv-site-header .nv-header-ai { border-color: var(--nv-olive-700); background: var(--nv-olive-700); color: #fff; }
body.nomadvillage-platform #nv-app .nv-site-header .nv-header-ai:hover { border-color: var(--nv-olive-800); background: var(--nv-olive-800); color: #fff; }
body.nomadvillage-platform #nv-app :is(.nv-header-operations, .nv-header-account) .nv-header-inner { width: calc(100% - 48px); max-width: 1600px; min-height: 72px; padding-block: 12px; gap: 18px; }
body.nomadvillage-platform #nv-app :is(.nv-header-operations, .nv-header-account) .nv-brand img { width: 144px; }
body.nomadvillage-platform.nv-operational-site #nv-app .nv-main { min-height: calc(100vh - var(--nv-header-offset, 72px) - 78px); }
body.nomadvillage-platform #nv-app .nv-site-header .nv-mobile-nav { display: none; }

/* Editor-owned menus keep parent destinations and gain a separate submenu toggle. */
body.nomadvillage-platform #nv-app .nv-site-header .nv-menu-list { gap: 2px; }
body.nomadvillage-platform #nv-app .nv-site-header .nv-menu-list > li { display: flex; align-items: center; flex-wrap: wrap; }
body.nomadvillage-platform #nv-app .nv-site-header .nv-submenu-toggle { display: inline-grid; width: 28px; height: 44px; align-items: center; justify-content: center; margin: 0 3px 0 -8px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--nv-charcoal-700); cursor: pointer; }
body.nomadvillage-platform #nv-app .nv-site-header .nv-submenu-toggle svg { width: 14px; height: 14px; }
body.nomadvillage-platform #nv-app .nv-site-header .nv-submenu-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
body.nomadvillage-platform #nv-app .nv-site-header .nv-menu-list .sub-menu { left: 0; margin: 0; }
body.nomadvillage-platform #nv-app .nv-site-header .nv-custom-menu-enhanced .sub-menu { display: grid; }
body.nomadvillage-platform #nv-app .nv-site-header .nv-custom-menu-enhanced .sub-menu[hidden] { display: none !important; }
body.nomadvillage-platform #nv-app .nv-site-header .nv-menu-list .sub-menu .sub-menu { top: 0; left: calc(100% + 2px); }
body.nomadvillage-platform #nv-app .nv-site-header .nv-menu-list .sub-menu.nv-submenu-align-end { right: 0; left: auto; }
body.nomadvillage-platform #nv-app .nv-site-header .nv-menu-list .sub-menu .sub-menu.nv-submenu-align-end { right: calc(100% + 2px); left: auto; }
body.nomadvillage-platform #nv-app .nv-site-header .nv-menu-list .sub-menu li { position: relative; }
body.nomadvillage-platform #nv-app .nv-site-header .nv-menu-list .sub-menu li:has(> .nv-submenu-toggle) { display: grid; grid-template-columns: minmax(0, 1fr) 28px; align-items: center; }
body.nomadvillage-platform #nv-app .nv-site-header .nv-menu-list .sub-menu .nv-submenu-toggle { margin: 0; }

/* Public footer and newsletter share a quieter visual hierarchy. */
body.nomadvillage-platform #nv-app .nv-newsletter { padding-block: clamp(36px, 5vw, 64px); background: var(--nv-cream-100); }
body.nomadvillage-platform #nv-app .nv-newsletter .nv-newsletter-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; gap: clamp(28px, 5vw, 64px); }
body.nomadvillage-platform #nv-app .nv-newsletter h2 { max-width: 18ch; margin: 0 0 16px; font-size: clamp(1.6rem, 2.8vw, 2.4rem); line-height: 1.16; }
body.nomadvillage-platform #nv-app .nv-newsletter p { font-size: .95rem; line-height: 1.7; }
body.nomadvillage-platform #nv-app .nv-newsletter-panel { min-width: 0; padding: 24px; border-radius: 14px; box-shadow: 0 4px 16px rgba(31, 35, 39, .035); }
body.nomadvillage-platform #nv-app .nv-newsletter .nv-form-grid { gap: 14px; }
body.nomadvillage-platform #nv-app .nv-newsletter label { font-size: .83rem; line-height: 1.5; }
body.nomadvillage-platform #nv-app .nv-newsletter .nv-check { font-size: .78rem; }
body.nomadvillage-platform #nv-app .nv-newsletter .nv-check a { color: var(--nv-terracotta-700); text-underline-offset: .2em; }
body.nomadvillage-platform #nv-app .nv-newsletter form > .nv-btn { justify-self: start; }
body.nomadvillage-platform #nv-app .nv-newsletter small { font-size: .75rem; line-height: 1.6; }
body.nomadvillage-platform #nv-app .nv-footer-grid { column-gap: 32px; row-gap: 32px; padding-block: 44px 24px; }
body.nomadvillage-platform #nv-app .nv-footer nav strong { margin-bottom: 8px; font-size: .8rem; letter-spacing: .025em; }
body.nomadvillage-platform #nv-app .nv-footer nav a { width: fit-content; line-height: 1.55; }
body.nomadvillage-platform #nv-app .nv-footer nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: .2em; }
body.nomadvillage-platform #nv-app .nv-footer :is(a, button, summary, input, select):focus-visible { outline: 3px solid var(--nv-sage-300); outline-offset: 4px; }
body.nomadvillage-platform #nv-app .nv-footer-brand p { max-width: 28ch; margin-block: 16px; font-size: .84rem; line-height: 1.65; }
body.nomadvillage-platform #nv-app .nv-footer-grid > small { padding-top: 20px; font-size: .72rem; line-height: 1.7; }
body.nomadvillage-platform #nv-app .nv-operations-footer { padding: 12px 0; background: #fff; }
body.nomadvillage-platform #nv-app .nv-operations-footer > .nv-container { width: min(1600px, calc(100% - 48px)); }
body.nomadvillage-platform #nv-app .nv-operations-footer nav { align-items: center; gap: 24px; }
body.nomadvillage-platform #nv-app .nv-operations-footer nav a { display: inline-flex; min-height: 44px; align-items: center; color: var(--nv-charcoal-500); font-size: .8rem; text-decoration: none; }
body.nomadvillage-platform #nv-app .nv-operations-footer nav a:hover { color: var(--nv-terracotta-700); text-decoration: underline; text-underline-offset: .2em; }

/* The consent dialog remains explicit, readable and equal in action size. */
body.nomadvillage-platform #nv-app .nv-consent {
    right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom));
    display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 18px;
    width: min(480px, calc(100vw - 40px)); max-height: calc(100dvh - 40px); overflow: auto; overscroll-behavior: contain;
    padding: 22px; border: 1px solid var(--nv-sand-300); border-radius: 14px;
    background: #fffdfa; color: var(--nv-charcoal-900); box-shadow: 0 8px 32px rgba(31, 35, 39, .18);
}
body.nomadvillage-platform #nv-app .nv-consent[hidden] { display: none; }
body.nomadvillage-platform #nv-app .nv-consent strong { display: block; padding-right: 35px; font-size: .95rem; line-height: 1.4; }
body.nomadvillage-platform #nv-app .nv-consent p { margin: 10px 0; color: var(--nv-charcoal-500); font-size: .8rem; line-height: 1.6; }
body.nomadvillage-platform #nv-app .nv-consent a { color: var(--nv-terracotta-700); font-size: .8rem; font-weight: 600; }
body.nomadvillage-platform #nv-app .nv-consent .nv-maps-choice { display: grid; grid-template-columns: 18px minmax(0, 1fr); align-items: start; gap: 9px; margin-top: 14px; color: var(--nv-charcoal-500); font-size: .77rem; line-height: 1.55; }
body.nomadvillage-platform #nv-app .nv-consent .nv-maps-choice input { width: 18px; height: 18px; min-height: 18px; margin: 2px 0 0; accent-color: var(--nv-olive-700); }
body.nomadvillage-platform #nv-app .nv-consent > div:last-child { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
body.nomadvillage-platform #nv-app .nv-consent .nv-btn { min-height: 44px; margin: 0; padding: 10px 12px; border-radius: 9px; box-shadow: none; font-size: .79rem; line-height: 1.3; white-space: normal; }
body.nomadvillage-platform #nv-app .nv-consent .nv-consent-decline { border-color: var(--nv-olive-700) !important; background: #fff !important; color: var(--nv-olive-800) !important; }
body.nomadvillage-platform #nv-app .nv-consent .nv-btn:hover { transform: none; }
body.nomadvillage-platform #nv-app .nv-consent .nv-consent-decline:hover { background: var(--nv-cream-100) !important; }
body.nomadvillage-platform #nv-app .nv-consent :is(button, a, input):focus-visible { outline: 3px solid var(--nv-olive-600); outline-offset: 3px; }
body.nomadvillage-platform #nv-app .nv-privacy-close { display: grid; place-items: center; top: 8px; right: 8px; width: 44px; height: 44px; padding: 10px; border-radius: 9px; color: var(--nv-charcoal-600); }
body.nomadvillage-platform #nv-app .nv-privacy-close:hover { background: var(--nv-cream-100); }
body.nomadvillage-platform #nv-app .nv-privacy-toggle { border-color: var(--nv-sand-200); border-radius: 10px; box-shadow: 0 2px 12px rgba(31, 35, 39, .08); font-size: .75rem; }
body.nomadvillage-platform #nv-app :is(.nv-privacy-toggle, .nv-privacy-close) .nv-shell-icon { flex: 0 0 18px; width: 18px; height: 18px; }

/* Leave WordPress tools intact; a long site title must not push the account menu down. */
@media (min-width: 783px) {
    body.nv-site-shell #wpadminbar #wp-admin-bar-site-name > .ab-item { box-sizing: border-box; max-width: 190px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
}
@media (min-width: 601px) and (max-width: 782px) {
    body.nomadvillage-platform.admin-bar #nv-app .nv-site-header { top: 46px; }
}
@media (max-width: 600px) {
    body.nomadvillage-platform.admin-bar #nv-app .nv-site-header { top: 0; }
}

@media (min-width: 1520px) {
    body.nomadvillage-platform #nv-app .nv-site-header:not(.nv-header-operations):not(.nv-header-account) .nv-brand-tagline { display: block; max-width: 155px; font-size: .68rem; line-height: 1.4; }
}
@media (max-width: 1100px) {
    body.nomadvillage-platform #nv-app .nv-site-header .nv-desktop-nav { display: none; }
    body.nomadvillage-platform #nv-app .nv-site-header .nv-mobile-nav { display: block; }
    body.nomadvillage-platform #nv-app .nv-site-header .nv-header-actions { margin-left: auto; }
    body.nomadvillage-platform #nv-app .nv-site-header .nv-mobile-nav > summary { width: auto; height: auto; border-color: var(--nv-sand-200); background: #fff; font-size: .82rem; }
    body.nomadvillage-platform #nv-app .nv-site-header .nv-mobile-nav nav { position: absolute; z-index: 90; top: calc(100% + 12px); right: 0; display: grid; width: min(390px, calc(100vw - 32px)); min-width: 0; max-height: min(76vh, 620px); overflow: auto; overscroll-behavior: contain; gap: 4px; padding: 12px; border: 1px solid var(--nv-sand-200); border-radius: 12px; background: #fff; box-shadow: 0 10px 32px rgba(31, 35, 39, .14); }
    body.nomadvillage-platform #nv-app .nv-site-header .nv-mobile-nav-group { display: grid; min-width: 0; gap: 1px; padding: 6px 0; }
    body.nomadvillage-platform #nv-app .nv-site-header .nv-mobile-nav-group + .nv-mobile-nav-group { border-top: 1px solid var(--nv-cream-100); }
    body.nomadvillage-platform #nv-app .nv-site-header .nv-mobile-nav-group strong { padding: 8px 12px 6px; color: var(--nv-charcoal-500); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
    body.nomadvillage-platform #nv-app .nv-site-header .nv-mobile-nav nav a:not(.nv-btn) { display: flex; min-height: 44px; align-items: center; padding: 10px 12px; border-radius: 8px; color: var(--nv-charcoal-800); text-decoration: none; font-size: .88rem; line-height: 1.4; }
    body.nomadvillage-platform #nv-app .nv-site-header .nv-mobile-account-link { width: 100%; margin-top: 8px; }
    body.nomadvillage-platform #nv-app .nv-site-header .nv-mobile-menu-list { margin: 0; padding: 0; list-style: none; }
    body.nomadvillage-platform #nv-app .nv-site-header .nv-mobile-menu-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; margin: 0; padding: 0; }
    body.nomadvillage-platform #nv-app .nv-site-header .nv-mobile-menu-list .sub-menu { grid-column: 1 / -1; display: grid; gap: 1px; margin: 0 0 6px 12px; padding: 0 0 0 10px; border-left: 1px solid var(--nv-sand-200); list-style: none; }
    body.nomadvillage-platform #nv-app .nv-site-header .nv-mobile-menu-list .nv-submenu-toggle { width: 44px; margin: 0; }
    body.nomadvillage-platform #nv-app .nv-site-header .nv-header-context { display: none; }
}
@media (min-width: 761px) and (max-width: 900px) {
    body.nomadvillage-platform #nv-app .nv-header-user-view .nv-header-actions > .nv-header-account-link { display: none; }
    body.nomadvillage-platform #nv-app .nv-header-operations :is(.nv-header-view-site, .nv-header-ai) { width: 44px; padding: 10px; }
    body.nomadvillage-platform #nv-app .nv-header-operations :is(.nv-header-view-site, .nv-header-ai) > span { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (max-width: 760px) {
    body.nv-site-shell { --nv-header-offset: 72px; }
    body.nv-account-site, body.nv-operational-site { --nv-header-offset: 132px; }
    body.nomadvillage-platform #nv-app .nv-site-header .nv-header-inner { width: calc(100% - 32px); min-height: 72px; gap: 12px; padding-block: 12px; }
    body.nomadvillage-platform #nv-app .nv-site-header .nv-brand img { width: 140px; }
    body.nomadvillage-platform #nv-app .nv-site-header .nv-header-actions { gap: 6px; }
    body.nomadvillage-platform #nv-app .nv-site-header .nv-header-actions > .nv-header-account-link { display: none; }
    body.nomadvillage-platform #nv-app .nv-site-header .nv-mobile-nav-label { display: none; }
    body.nomadvillage-platform #nv-app .nv-site-header .nv-mobile-nav > summary { width: 44px; padding-inline: 10px; }
    body.nomadvillage-platform #nv-app .nv-site-header .nv-language-menu > summary { padding-inline: 8px; gap: 5px; }
    body.nomadvillage-platform #nv-app .nv-site-header :is(.nv-header-view-site, .nv-header-ai, .nv-header-help) { width: 44px; padding: 10px; }
    body.nomadvillage-platform #nv-app .nv-site-header :is(.nv-header-view-site, .nv-header-ai, .nv-header-help) > span { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
    body.nomadvillage-platform #nv-app :is(.nv-header-operations, .nv-header-account, .nv-header-user-view) .nv-header-inner { flex-wrap: wrap; row-gap: 8px; }
    body.nomadvillage-platform #nv-app :is(.nv-header-operations, .nv-header-account, .nv-header-user-view) .nv-header-actions { width: 100%; flex-wrap: wrap; margin: 0; }
    body.nomadvillage-platform #nv-app :is(.nv-header-operations, .nv-header-account, .nv-header-user-view) .nv-language-menu { margin-left: auto; }
    body.nomadvillage-platform #nv-app .nv-newsletter .nv-newsletter-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    body.nomadvillage-platform #nv-app .nv-newsletter h2 { max-width: 25ch; }
    body.nomadvillage-platform #nv-app .nv-newsletter-panel { padding: 20px; }
    body.nomadvillage-platform #nv-app .nv-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 28px 20px; }
    body.nomadvillage-platform #nv-app .nv-footer-brand { grid-column: 1 / -1; }
    body.nomadvillage-platform #nv-app .nv-footer-custom { grid-column: 1 / -1; }
    body.nomadvillage-platform #nv-app .nv-footer-menu-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body.nomadvillage-platform #nv-app .nv-operations-footer > .nv-container { width: calc(100% - 32px); gap: 12px; align-items: center; }
    body.nomadvillage-platform #nv-app .nv-operations-footer nav { gap: 16px; }
}
@media (max-width: 420px) {
    body.nomadvillage-platform #nv-app .nv-site-header .nv-brand img { width: 128px; }
    body.nomadvillage-platform #nv-app .nv-site-header .nv-language-menu > summary > .nv-shell-icon-globe { display: none; }
    body.nomadvillage-platform #nv-app .nv-newsletter .nv-form-grid { grid-template-columns: minmax(0, 1fr); }
    body.nomadvillage-platform #nv-app .nv-newsletter .nv-newsletter-manage form { grid-template-columns: minmax(0, 1fr); }
    body.nomadvillage-platform #nv-app .nv-consent { width: calc(100vw - 24px); right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); max-height: calc(100dvh - 24px); padding: 20px 18px; }
    body.nomadvillage-platform #nv-app .nv-consent > div:last-child { gap: 8px; }
}
@media (max-width: 640px) {
    /* Keep the workspace toolbar to two rows, including 320px viewports. */
    body.nomadvillage-platform #nv-app :is(.nv-header-operations, .nv-header-user-view) .nv-brand { min-height: 44px; }
    body.nomadvillage-platform #nv-app :is(.nv-header-operations, .nv-header-user-view) .nv-header-actions { flex-wrap: nowrap; }
    body.nomadvillage-platform #nv-app :is(.nv-header-operations, .nv-header-user-view) .nv-header-actions > .nv-language-menu { position: absolute; top: 12px; right: 0; margin: 0; }
    body.nomadvillage-platform #nv-app :is(.nv-header-operations, .nv-header-user-view) .nv-user-view-controls { flex: 0 1 auto; min-width: 0; max-width: calc(100% - 100px); }
    body.nomadvillage-platform #nv-app .nv-header-user-view:not(.nv-header-account) .nv-user-view-controls { max-width: calc(100% - 50px); }
    body.nomadvillage-platform #nv-app .nv-site-header .nv-user-view-menu { flex: 1 1 auto; min-width: 0; }
    body.nomadvillage-platform #nv-app .nv-site-header .nv-user-view-menu > .nv-user-view-trigger { width: 100%; }
    body.nomadvillage-platform #nv-app .nv-site-header .nv-user-view-trigger > span { flex: 1 1 auto; min-width: 0; }
    body.nomadvillage-platform #nv-app .nv-site-header .nv-user-view-controls:not(.is-active) .nv-user-view-label-full { display: none; }
    body.nomadvillage-platform #nv-app .nv-site-header .nv-user-view-controls:not(.is-active) .nv-user-view-label-compact { display: inline; }
    body.nv-account-site:has(.nv-header-account:not(.nv-header-user-view)) { --nv-header-offset: 72px; }
    body.nomadvillage-platform #nv-app .nv-header-account:not(.nv-header-user-view) .nv-header-inner { flex-wrap: nowrap; min-height: 72px; gap: 8px; }
    body.nomadvillage-platform #nv-app .nv-header-account:not(.nv-header-user-view) .nv-brand img { width: 124px; }
    body.nomadvillage-platform #nv-app .nv-header-account:not(.nv-header-user-view) .nv-header-actions { width: auto; flex-wrap: nowrap; margin-left: auto; gap: 6px; }
    body.nomadvillage-platform #nv-app .nv-header-account:not(.nv-header-user-view) .nv-language-menu { margin-left: 0; }
    body.nomadvillage-platform #nv-app .nv-header-account:not(.nv-header-user-view) .nv-language-menu > summary > .nv-shell-icon-globe { display: none; }
}
@media (max-width: 480px) {
    body.nomadvillage-platform #nv-app .nv-privacy-toggle { width: 44px; height: 44px; justify-content: center; gap: 0; padding: 10px; }
    body.nomadvillage-platform #nv-app .nv-privacy-toggle > span { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
    body.nomadvillage-platform #nv-app .nv-site-header .nv-shell-icon-chevron { transition: none; }
}
