/* CZ1588: consistent mobile header geometry; no desktop, page body or permissions changes. */
@media screen and (max-width:760px){
html body:is(.cz-site-v4,.cz-business) > header:is(.cz4-header,.top)[data-cz1588-header]{
 display:grid!important; grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:40px auto!important;grid-auto-flow:row!important;align-items:center!important;justify-content:stretch!important;column-gap:8px!important;row-gap:6px!important;box-sizing:border-box!important;width:100%!important;max-width:none!important;min-width:0!important;height:auto!important;min-height:0!important;padding:10px 12px 12px!important;margin:0!important;
}
html body:is(.cz-site-v4,.cz-business) > header:is(.cz4-header,.top)[data-cz1588-header] > :is(a[data-cz48-brand],a.brand,a.logo){grid-column:1!important;grid-row:1!important;justify-self:start!important;align-self:center!important;max-width:100%!important;min-width:0!important;margin:0!important;}
html body:is(.cz-site-v4,.cz-business) > header:is(.cz4-header,.top)[data-cz1588-header] > .headtools{grid-column:2!important;grid-row:1!important;justify-self:end!important;align-self:center!important;display:flex!important;gap:8px!important;margin:0!important;min-width:0!important;max-width:100%!important;}
html body:is(.cz-site-v4,.cz-business) > header:is(.cz4-header,.top)[data-cz1588-header] > .headtools #lang{box-sizing:border-box!important;min-width:0!important;width:clamp(76px,25vw,108px)!important;max-width:100%!important;height:38px!important;min-height:38px!important;}
html body:is(.cz-site-v4,.cz-business) > header:is(.cz4-header,.top)[data-cz1588-header] > .headtools #theme{box-sizing:border-box!important;width:40px!important;min-width:40px!important;height:38px!important;min-height:38px!important;margin:0!important;}
html body:is(.cz-site-v4,.cz-business) > header:is(.cz4-header,.top)[data-cz1588-header] > .private{grid-column:2!important;grid-row:1!important;}
html body:is(.cz-site-v4,.cz-business) > header:is(.cz4-header,.top)[data-cz1588-header] > nav:is([data-cz47-mobile].cz4-nav,.cz1578-menu):has(>a[href="/transfer"]){
 grid-column:1/-1!important;grid-row:2!important;display:grid!important;grid-auto-flow:row!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:repeat(2,44px)!important;grid-auto-rows:44px!important;grid-auto-columns:auto!important;align-items:stretch!important;justify-items:stretch!important;justify-content:stretch!important;align-content:start!important;gap:2px!important;padding:3px!important;margin:0!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;border-width:1px!important;border-style:solid!important;border-radius:14px!important;
}
html body:is(.cz-site-v4,.cz-business) > header:is(.cz4-header,.top)[data-cz1588-header] > nav:is([data-cz47-mobile].cz4-nav,.cz1578-menu):has(>a[href="/transfer"]) > a[href]:not([hidden]):not([inert]){
 display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;height:44px!important;min-height:44px!important;max-height:44px!important;padding:3px 2px!important;margin:0!important;gap:3px!important;font-size:clamp(10px,3vw,13px)!important;font-weight:620!important;line-height:1.15!important;white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important;text-align:center!important;border-width:1px!important;border-style:solid!important;border-radius:10px!important;letter-spacing:normal!important;
}
html body:is(.cz-site-v4,.cz-business) > header:is(.cz4-header,.top)[data-cz1588-header] > nav:is([data-cz47-mobile].cz4-nav,.cz1578-menu):has(>a[href="/transfer"]) > a[href] .cz4-nav-icon{width:16px!important;height:16px!important;flex:0 0 16px!important;display:block!important;margin:0!important;}
}

/* CZ1625 — only the shared top navigation on mobile. */
@media screen and (max-width:760px){
html body:is(.cz-site-v4,.cz-business) > header:is(.cz4-header,.top)[data-cz1588-header="1"] > nav:is([data-cz47-mobile].cz4-nav,.cz1578-menu):has(>a[href="/transfer"]){
 display:flex!important;flex-flow:row nowrap!important;grid-template-columns:none!important;grid-template-rows:none!important;grid-auto-flow:column!important;align-items:center!important;align-content:center!important;justify-content:flex-start!important;gap:2px!important;padding:3px!important;min-height:50px!important;height:auto!important;max-height:none!important;overflow-x:auto!important;overflow-y:hidden!important;overscroll-behavior-x:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch;touch-action:pan-x pan-y;
}
html body:is(.cz-site-v4,.cz-business) > header:is(.cz4-header,.top)[data-cz1588-header="1"] > nav:is([data-cz47-mobile].cz4-nav,.cz1578-menu):has(>a[href="/transfer"])::-webkit-scrollbar{display:none}
html body:is(.cz-site-v4,.cz-business) > header:is(.cz4-header,.top)[data-cz1588-header="1"] > nav:is([data-cz47-mobile].cz4-nav,.cz1578-menu):has(>a[href="/transfer"]) > a[href]:not([hidden]):not([inert]){
 flex:1 0 auto!important;width:auto!important;min-width:44px!important;max-width:none!important;height:44px!important;min-height:44px!important;max-height:44px!important;padding:3px 3px!important;gap:3px!important;white-space:nowrap!important;overflow:visible!important;font-size:clamp(9px,2.5vw,12px)!important;line-height:1.15!important;border-radius:9px!important;text-align:center!important;
}
html body:is(.cz-site-v4,.cz-business) > header:is(.cz4-header,.top)[data-cz1588-header="1"] > nav:is([data-cz47-mobile].cz4-nav,.cz1578-menu):has(>a[href="/transfer"]) > a:is([hidden],[inert]){display:none!important}
html body:is(.cz-site-v4,.cz-business) > header:is(.cz4-header,.top)[data-cz1588-header="1"] > nav:is([data-cz47-mobile].cz4-nav,.cz1578-menu):has(>a[href="/transfer"]) > a[href] .cz4-nav-icon{width:16px!important;height:16px!important;flex:0 0 16px!important;margin:0!important}
}

/* CZ1634: one shared header geometry on every workspace; role-gated links never recenter the nav. */
@media screen {
html:has(>body.cz-business[data-cz1624]) {scrollbar-gutter:stable;}
html body:is(.cz-site-v4,.cz-business[data-cz1624]) > header:is(.cz4-header,.top)[data-cz1588-header] {box-sizing:border-box!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:40px 50px!important;grid-auto-flow:row!important;align-items:center!important;justify-content:stretch!important;gap:6px 8px!important;width:100%!important;max-width:none!important;min-width:0!important;height:auto!important;min-height:0!important;padding:10px max(12px,calc((100% - 1180px)/2)) 12px!important;margin:0!important;}
html body:is(.cz-site-v4,.cz-business[data-cz1624]) > header:is(.cz4-header,.top)[data-cz1588-header] > a[data-cz48-brand] {grid-column:1!important;grid-row:1!important;justify-self:start!important;align-self:center!important;width:180px!important;max-width:100%!important;min-width:0!important;height:40px!important;min-height:40px!important;margin:0!important;}
html body:is(.cz-site-v4,.cz-business[data-cz1624]) > header:is(.cz4-header,.top)[data-cz1588-header] > .headtools {grid-column:2!important;grid-row:1!important;justify-self:end!important;align-self:center!important;display:flex!important;gap:8px!important;min-width:0!important;margin:0!important;}
html body:is(.cz-site-v4,.cz-business[data-cz1624]) > header:is(.cz4-header,.top)[data-cz1588-header] > .headtools :is(#lang,#theme) {box-sizing:border-box!important;height:38px!important;min-height:38px!important;font-family:inherit!important;font-size:13px!important;margin:0!important;}
html body:is(.cz-site-v4,.cz-business[data-cz1624]) > header:is(.cz4-header,.top)[data-cz1588-header] > .headtools #lang {width:108px!important;min-width:0!important;max-width:100%!important;padding:5px 8px!important;}
html body:is(.cz-site-v4,.cz-business[data-cz1624]) > header:is(.cz4-header,.top)[data-cz1588-header] > .headtools #theme {width:40px!important;min-width:40px!important;padding:0!important;}
html body:is(.cz-site-v4,.cz-business[data-cz1624]) > header:is(.cz4-header,.top)[data-cz1588-header] > nav:is(.cz4-nav[data-cz47-mobile],.cz1578-menu):has(>a[href="/transfer"]) {grid-column:1/-1!important;grid-row:2!important;display:flex!important;flex-flow:row nowrap!important;align-items:center!important;align-content:center!important;justify-content:flex-start!important;gap:3px!important;padding:3px!important;margin:0!important;box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;height:50px!important;min-height:50px!important;max-height:50px!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none!important;overscroll-behavior-x:contain;border:1px solid #ffffff20!important;border-radius:14px!important;background:#ffffff09!important;box-shadow:inset 0 1px 0 #ffffff0d!important;}
html body:is(.cz-site-v4,.cz-business[data-cz1624]) > header:is(.cz4-header,.top)[data-cz1588-header] > nav:is(.cz4-nav[data-cz47-mobile],.cz1578-menu):has(>a[href="/transfer"])::-webkit-scrollbar {display:none;}
html body:is(.cz-site-v4,.cz-business[data-cz1624]) > header:is(.cz4-header,.top)[data-cz1588-header] > nav:is(.cz4-nav[data-cz47-mobile],.cz1578-menu):has(>a[href="/transfer"]) > a[href]:not([hidden]):not([inert]) {box-sizing:border-box!important;flex:0 0 auto!important;width:auto!important;min-width:44px!important;max-width:none!important;display:inline-flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;height:42px!important;min-height:42px!important;max-height:42px!important;padding:8px 9px!important;margin:0!important;gap:6px!important;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;font-size:12px!important;font-weight:620!important;line-height:1.15!important;letter-spacing:normal!important;white-space:nowrap!important;text-decoration:none!important;border:1px solid transparent!important;border-radius:10px!important;}
html body:is(.cz-site-v4,.cz-business[data-cz1624]) > header:is(.cz4-header,.top)[data-cz1588-header] > nav:is(.cz4-nav[data-cz47-mobile],.cz1578-menu):has(>a[href="/transfer"]) > a:is([hidden],[inert]) {display:none!important;}
html body:is(.cz-site-v4,.cz-business[data-cz1624]) > header:is(.cz4-header,.top)[data-cz1588-header] > nav:is(.cz4-nav[data-cz47-mobile],.cz1578-menu):has(>a[href="/transfer"]) > a[href]:not([hidden]):not([inert]):is(.cz4-current,[aria-current="page"]) {color:#fff!important;background:linear-gradient(155deg,#ce3b47,#a6202c)!important;border-color:#f5808c50!important;box-shadow:0 3px 13px #c62b3940,inset 0 1px 0 #ffffff22!important;}
html body:is(.cz-site-v4,.cz-business[data-cz1624]) > header:is(.cz4-header,.top)[data-cz1588-header] > nav:is(.cz4-nav[data-cz47-mobile],.cz1578-menu):has(>a[href="/transfer"]) > a[href]:not([hidden]):not([inert]):not(.cz4-current):not([aria-current="page"]) {color:#e6dfe2!important;background:transparent!important;box-shadow:none!important;}
html body:is(.cz-site-v4,.cz-business[data-cz1624]) > header:is(.cz4-header,.top)[data-cz1588-header] > nav:is(.cz4-nav[data-cz47-mobile],.cz1578-menu):has(>a[href="/transfer"]) > a[href]:not([hidden]):not([inert]) .cz4-nav-icon {width:15px!important;height:15px!important;flex:0 0 15px!important;display:block!important;margin:0!important;}
}
@media screen and (min-width:1101px) {
html body:is(.cz-site-v4,.cz-business[data-cz1624]) > header:is(.cz4-header,.top)[data-cz1588-header] {grid-template-columns:180px minmax(0,1fr) 156px!important;grid-template-rows:50px!important;column-gap:12px!important;row-gap:0!important;}
html body:is(.cz-site-v4,.cz-business[data-cz1624]) > header:is(.cz4-header,.top)[data-cz1588-header] > .headtools {grid-column:3!important;}
html body:is(.cz-site-v4,.cz-business[data-cz1624]) > header:is(.cz4-header,.top)[data-cz1588-header] > nav:is(.cz4-nav[data-cz47-mobile],.cz1578-menu):has(>a[href="/transfer"]) {grid-column:2!important;grid-row:1!important;}
}
@media screen and (max-width:760px) {
html body:is(.cz-site-v4,.cz-business[data-cz1624]) > header:is(.cz4-header,.top)[data-cz1588-header] {padding:10px 12px 12px!important;}
html body:is(.cz-site-v4,.cz-business[data-cz1624]) > header:is(.cz4-header,.top)[data-cz1588-header] > a[data-cz48-brand] {width:clamp(130px,38vw,160px)!important;}
html body:is(.cz-site-v4,.cz-business[data-cz1624]) > header:is(.cz4-header,.top)[data-cz1588-header] > .headtools #lang {width:clamp(76px,25vw,108px)!important;}
html body:is(.cz-site-v4,.cz-business[data-cz1624]) > header:is(.cz4-header,.top)[data-cz1588-header] > nav:is(.cz4-nav[data-cz47-mobile],.cz1578-menu):has(>a[href="/transfer"]) {gap:2px!important;}
html body:is(.cz-site-v4,.cz-business[data-cz1624]) > header:is(.cz4-header,.top)[data-cz1588-header] > nav:is(.cz4-nav[data-cz47-mobile],.cz1578-menu):has(>a[href="/transfer"]) > a[href]:not([hidden]):not([inert]) {flex-direction:column!important;flex:0 0 auto!important;height:44px!important;min-height:44px!important;max-height:44px!important;padding:3px!important;gap:3px!important;font-size:clamp(9px,2.5vw,12px)!important;}
html body:is(.cz-site-v4,.cz-business[data-cz1624]) > header:is(.cz4-header,.top)[data-cz1588-header] > nav:is(.cz4-nav[data-cz47-mobile],.cz1578-menu):has(>a[href="/transfer"]) > a[href]:not([hidden]):not([inert]) .cz4-nav-icon {width:16px!important;height:16px!important;flex:0 0 16px!important;}
}

/* CZ1636: stable nav start and reserved theme-control width; no permission overrides. */
@media screen {
html:root body:is(.cz-site-v4,.cz-business[data-cz1624]) > header[data-cz1588-header="1"] > nav:has(>a[href="/transfer"]) {justify-content:flex-start!important;justify-self:stretch!important;margin-inline:0!important;overflow-anchor:none;}
html:root body:is(.cz-site-v4,.cz-business[data-cz1624]) > header[data-cz1588-header="1"] > nav:has(>a[href="/transfer"]) > a[href]:not([hidden]):not([inert]) {flex-grow:0!important;flex-shrink:0!important;}
html:root body:is(.cz-site-v4,.cz-business[data-cz1624]) > header[data-cz1588-header="1"] > .headtools {width:156px!important;min-width:156px!important;max-width:156px!important;justify-content:flex-end!important;}
/* Reserve viewport space while the async account/downloader/admin content arrives. Footer remains accessible in normal document flow. */
body.cz-site-v4:is([data-cz1618="1"],[data-cz1623]) > main {min-block-size:calc(100vh - 118px)!important;min-block-size:calc(100svh - 118px)!important;}
}
@media screen and (min-width:1101px) {body.cz-site-v4:is([data-cz1618="1"],[data-cz1623]) > main {min-block-size:calc(100vh - 72px)!important;min-block-size:calc(100svh - 72px)!important;}}
@media screen and (max-width:760px) {html:root body:is(.cz-site-v4,.cz-business[data-cz1624]) > header[data-cz1588-header="1"] > .headtools {width:calc(clamp(76px,25vw,108px) + 48px)!important;min-width:calc(clamp(76px,25vw,108px) + 48px)!important;max-width:calc(clamp(76px,25vw,108px) + 48px)!important;}}

/* CZ1637: stable first-paint navigation; no class-dependent positioning or scroll snapping. */
@media screen {
html:root body.cz-site-v4 > header[data-cz1588-header] > nav[data-cz47-mobile] {
 display:flex!important;flex-flow:row nowrap!important;justify-content:flex-start!important;justify-items:start!important;align-content:center!important;align-items:center!important;
 justify-self:stretch!important;inline-size:100%!important;min-inline-size:0!important;max-inline-size:100%!important;box-sizing:border-box!important;
 margin:0!important;overflow-anchor:none!important;scroll-snap-type:none!important;scroll-behavior:auto!important;
}
html:root body.cz-site-v4 > header[data-cz1588-header] > nav[data-cz47-mobile] > a[href] {
 flex:0 0 auto!important;margin:0!important;overflow-anchor:none!important;scroll-snap-align:none!important;scroll-margin:0!important;
}
/* Retain the server-verified Admin slot during role revalidation, without making the hidden link visible, clickable or focusable. */
}
@media screen and (min-width:761px) {
html:root body.cz-site-v4 > header[data-cz1588-header] > nav[data-cz47-mobile][data-cz1574-admin="1"] > a[href="/admin"]:is([hidden],[inert]) {
 display:inline-flex!important;visibility:hidden!important;pointer-events:none!important;flex:0 0 auto!important;width:auto!important;min-width:44px!important;max-width:none!important;height:42px!important;min-height:42px!important;max-height:42px!important;padding:8px 9px!important;gap:6px!important;font-size:12px!important;font-weight:620!important;line-height:1.15!important;letter-spacing:normal!important;white-space:nowrap!important;border:1px solid transparent!important;box-sizing:border-box!important;
}
}
