/* Existing anchors remain for the retained navigation scripts; no admin access control is implied. */
html[data-pn-customer-menu] .pn-nav a[data-dashboard-menu],
html[data-pn-customer-menu] .pn-nav a[data-authenticity-menu],
html[data-pn-customer-menu] .pn-nav a[href^="dashboard.html"],
html[data-pn-customer-menu] .pn-nav a[href^="authenticity.html"],
html[data-pn-customer-menu] .pn-nav a[href^="pricing.html"],
html[data-pn-customer-menu] .pn-nav a[href$="/pricing.html"],
html[data-pn-customer-menu] .pn-nav a[href*="/pricing.html?"],
html[data-pn-customer-menu] .pn-nav a[href*="/pricing.html#"],
html[data-pn-customer-menu] .pn-nav a[href$="/dashboard.html"],
html[data-pn-customer-menu] .pn-nav a[href*="/dashboard.html?"],
html[data-pn-customer-menu] .pn-nav a[href*="/dashboard.html#"]{display:none!important}
.pn-customer-guide{box-sizing:border-box;max-width:1280px;margin:32px auto;padding:24px 28px;color:#ead7b1;border-top:1px solid #a58c5155}
.pn-customer-guide h2{font-size:1.1rem;line-height:1.4;margin:0 0 12px}
.pn-customer-guide nav{display:flex;flex-wrap:wrap;gap:8px 24px}
.pn-customer-guide a{display:inline-flex;align-items:center;min-height:44px;color:inherit;text-underline-offset:4px}
.pn-customer-guide a:focus-visible{outline:2px solid #f0cf8b;outline-offset:4px}
@media(max-width:560px){.pn-customer-guide{margin:20px 12px;padding:20px 8px}.pn-customer-guide nav{flex-direction:column;gap:4px}}

/* One horizontal group of the existing Gallery language buttons; retained aria-pressed skin and handlers. */
html[data-pn-customer-menu] body.portal.pn-curator.pn-gallery-shell .curator-sidebar .curator-language-panel .pn-language{display:flex;flex-flow:row nowrap;align-items:center;justify-content:center;gap:2px;width:max-content;min-width:0;margin-inline:0;padding:3px;border:1px solid #a58c5166;border-radius:6px;background:#10161d}
html[data-pn-customer-menu] body.portal.pn-curator.pn-gallery-shell .curator-sidebar .curator-language-panel .pn-language [data-pn-language]{box-sizing:border-box;flex:0 0 44px;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;border-radius:3px;transform:none}
/* A 98px language group is revealed by the existing menu control when the tablet rail expands. */
@media(min-width:768px) and (max-width:1099px){html[data-pn-customer-menu] body.portal.pn-curator.pn-gallery-shell .curator-sidebar:not(.curator-expanded) .curator-language-panel{display:none}}

/* Phone Gallery only: retain the inner branded header and place the original menu control at its right. */
@media(max-width:767px){
html[data-pn-customer-menu] body.portal.pn-curator.pn-gallery-shell>.curator-page>.pn-header{display:none!important}
html[data-pn-customer-menu] body.portal.pn-curator.pn-gallery-shell #gallery-stage{inset:0;min-height:0}
html[data-pn-customer-menu] body.portal.pn-curator.pn-gallery-shell #gallery-stage>#curator-menu-toggle{position:absolute;top:16px;right:16px;left:auto;margin:0;width:44px;height:44px;z-index:20}
}

/* Phone customer drawer follows its longest visible navigation label, not footer prose. */
@media(max-width:767px){
html[data-pn-customer-menu] body.portal.pn-curator .curator-sidebar,html[data-pn-customer-menu] body.portal.pn-curator .curator-sidebar.curator-expanded{box-sizing:border-box;width:max-content!important;max-width:calc(100vw - 24px)!important}
html[data-pn-customer-menu] body.portal.pn-curator .curator-sidebar .pn-nav{width:max-content;max-width:100%}
html[data-pn-customer-menu] body.portal.pn-curator .curator-sidebar .pn-nav a{white-space:nowrap}
html[data-pn-customer-menu] body.portal.pn-curator .curator-sidebar .curator-sidebar-foot{box-sizing:border-box;contain:inline-size;width:100%;max-width:100%;margin-inline:0;overflow-wrap:anywhere}
}

/* Phone non-Gallery drawers: keep the existing language row below the brand and clear of close. */
@media(max-width:767px){
html[data-pn-customer-menu] body.portal.pn-curator:not(.pn-gallery-shell) .curator-sidebar .curator-language-panel{position:static;inset:auto;align-self:flex-start}
}

/* Gallery secondary guide belongs to the sidebar, clear of the full-height collection frame. */
html[data-pn-customer-menu] body.portal.pn-curator.pn-gallery-shell .curator-sidebar>.pn-customer-guide{box-sizing:border-box;contain:inline-size;flex:0 0 auto;width:100%;max-width:100%;margin:16px 0 0;padding:14px 0 0;overflow-wrap:anywhere}
html[data-pn-customer-menu] body.portal.pn-curator.pn-gallery-shell .curator-sidebar>.pn-customer-guide h2{margin:0 0 6px;font-size:.78rem;line-height:1.4}
html[data-pn-customer-menu] body.portal.pn-curator.pn-gallery-shell .curator-sidebar>.pn-customer-guide nav{display:flex;flex-direction:column;align-items:stretch;gap:4px}
html[data-pn-customer-menu] body.portal.pn-curator.pn-gallery-shell .curator-sidebar>.pn-customer-guide a{box-sizing:border-box;min-width:0;min-height:44px;max-width:100%;white-space:normal;overflow-wrap:anywhere;font-size:.8rem;line-height:1.4}
@media(min-width:768px){html[data-pn-customer-menu] body.portal.pn-curator.pn-gallery-shell .curator-sidebar:not(.curator-expanded)>.pn-customer-guide{display:none}}

/* Home secondary guide paints above the retained fixed background layer. */
html[data-pn-customer-menu] body.pn-home-marketing>.pn-customer-guide{position:relative;z-index:1}

/* Keep non-Gallery guides in the retained rail content column without moving body content. */
@media(min-width:768px){html[data-pn-customer-menu] body.pn-curator:not(.pn-gallery-shell)>.pn-customer-guide{margin-left:max(var(--curator-rail,76px),calc((100% + var(--curator-rail,76px) - 1280px)/2))}}
