/* V140 — LOCAL-ONLY ordered-room polish. Does not alter customer functions.
   Existing navigation is moved into the exact original header by v137-bridge.js. */
html.waom-selector body .head,
html.waom-upload body .header{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:16px!important;
  padding-right:clamp(23px,2.7vw,39px)!important;
}
html.waom-selector body .head > .waom-site-nav,
html.waom-upload body .header > .waom-site-nav{
  position:static!important;inset:auto!important;top:auto!important;right:auto!important;
  left:auto!important;bottom:auto!important;transform:none!important;
  margin:0 0 0 auto!important;min-width:0!important;flex:0 1 auto!important;
  align-self:center!important;
}
html.waom-selector body .head > a,
html.waom-upload body .header > a{flex:0 0 auto}
/* In narrower layouts the original mobile burger stays INSIDE the header. */
@media(max-width:1180px){
 html.waom-selector body .head > .waom-site-nav,
 html.waom-upload body .header > .waom-site-nav{flex:0 0 auto!important}
}
@media(max-width:620px){
 html.waom-selector body .head,html.waom-upload body .header{gap:8px!important;padding-right:13px!important}
}
/* Only the CHECK UR POSITION / Yes FINISH prompt. All words centred.
   YES is deliberately lime; irreversible remove-position actions remain unchanged. */
html.waom-upload dialog.waom-finish-confirm .waomConfirmContent,
html.waom-upload dialog.waom-finish-confirm .waomConfirmIntro,
html.waom-upload dialog.waom-finish-confirm #waomDialogTitle,
html.waom-upload dialog.waom-finish-confirm #waomDialogMessage{
  text-align:center!important;
  margin-left:auto!important;margin-right:auto!important;
}
html.waom-upload dialog.waom-finish-confirm .waomConfirmAccept{
  background:#a2f52a!important;border-color:#caff81!important;color:#111a08!important;
  box-shadow:0 4px 18px #a2f52a24!important;
}
html.waom-upload dialog.waom-finish-confirm .waomConfirmAccept:hover{
  background:#bbff64!important;border-color:#dbffa4!important;
}
/* Hide selector CONTENT while the (real persistent) room powers on.
   Visibility does not change canvas layout or hit-test coordinates. */
html.waom-selector.waom-room-wait .shell{visibility:hidden!important}


/* V141 — final heading tidy-up before upload-page redesign.
   Keep only the main titles on picker/upload so the work area starts higher. */
html.waom-upload .uploadIntro > .eyebrow,
html.waom-upload .uploadIntro > .lead,
html.waom-selector .intro .eyebrow,
html.waom-selector .intro .lead{display:none!important}
html.waom-upload .uploadIntro{margin:10px 0 14px!important;padding:18px 22px!important;border-radius:24px!important}
html.waom-upload .uploadIntro > h1{margin:0!important;font-size:clamp(31px,3.4vw,47px)!important;line-height:1.02!important}
html.waom-selector .intro{padding:16px 20px!important;margin-bottom:10px!important;min-height:0!important}
html.waom-selector .intro h1{margin:0!important;line-height:1.0!important;font-size:clamp(40px,5vw,72px)!important}
html.waom-selector .main{margin-top:0!important}

/* Keep the desktop menu visually INSIDE the header box with safe room on the right. */
html.waom-selector body .head,
html.waom-upload body .header{padding-left:clamp(14px,1.6vw,22px)!important;padding-right:clamp(16px,2.4vw,34px)!important}
html.waom-selector body .head > .waom-site-nav,
html.waom-upload body .header > .waom-site-nav{max-width:calc(100% - 150px)!important;overflow:visible!important}
html.waom-selector body .head > .waom-site-nav .waom-desktop-nav,
html.waom-upload body .header > .waom-site-nav .waom-desktop-nav{width:100%!important;justify-content:flex-end!important}

@media(max-width:620px){
  html.waom-upload .uploadIntro{margin:8px 0 12px!important;padding:14px 14px!important;border-radius:20px!important}
  html.waom-upload .uploadIntro > h1{font-size:clamp(24px,7.2vw,30px)!important;white-space:nowrap!important;letter-spacing:-.03em!important}
  html.waom-selector .intro{padding:13px 14px!important;margin-bottom:10px!important;border-radius:20px!important}
  html.waom-selector .intro h1{font-size:clamp(30px,8vw,40px)!important;white-space:nowrap!important;letter-spacing:-.03em!important}
}


/* V142 LOCAL-ONLY: The navigation was moved into the REAL header by the
   existing V140 bridge. The header must now be above later intro panels,
   since they create their own stacking contexts; otherwise the mobile drop-
   down appears BEHIND the page title even though the burger remains visible.
   No changes to links, handlers or relative placement. */
html.waom-selector body .head,
html.waom-upload body .header{
  position:relative!important;
  z-index:10020!important;
  overflow:visible!important;
}
html.waom-selector body .head>.waom-site-nav,
html.waom-upload body .header>.waom-site-nav{
  z-index:10021!important;
}
html.waom-selector body .head .waom-menu-panel,
html.waom-upload body .header .waom-menu-panel{
  z-index:10022!important;
}
