/* Subpage headers share symmetric slots. Do not change the global logo/search
   header, scroll ownership, fixed positioning, or safe-area offsets. */
html body.in-x #xpage>.xtop,
html body.settings-view #xpage>.xtop {
  display:grid!important;grid-template-columns:84px minmax(0,1fr) 84px!important;
  align-items:center!important;gap:0!important;
  height:56px!important;min-height:56px!important;padding:0 14px!important;
  box-sizing:border-box;
}
html body.dc-shell.in-x #xpage>.xtop>b,
html body.in-x #xpage>.xtop>b,
html body.settings-view #xpage>.xtop>b {
  position:static!important;transform:none!important;align-self:center!important;grid-column:2;grid-row:1;
  top:auto!important;bottom:auto!important;left:auto!important;right:auto!important;
  display:block!important;min-width:0;height:auto!important;margin:0!important;
  padding:0!important;line-height:1.3!important;text-align:center!important;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
html body.in-x #xpage>.xtop>.ibtn,
html body.settings-view #xpage>.xtop>.ibtn {
  display:flex!important;align-items:center;justify-content:center;
  grid-row:1;grid-column:3;justify-self:end;
  width:44px!important;height:44px!important;min-height:44px!important;
  margin:0!important;padding:0!important;box-sizing:border-box;
}
html body.in-x #xpage>.xtop>.ibtn:first-child,
html body.settings-view #xpage>.xtop>.ibtn:first-child {grid-column:1;justify-self:start}
html body.in-x #xpage>.xtop>.sp {grid-row:1;grid-column:3;min-width:0;pointer-events:none}
html body.in-x #xpage>.xtop>.account-balance {grid-row:1;grid-column:3;justify-self:end;max-width:84px;white-space:nowrap}
html body.in-x #xpage>.xtop>.ibtn svg {display:block;flex:none;vertical-align:middle}
@media(min-width:881px){
  html body.dc-shell.in-x #xpage>.xtop,
  html body.dc-shell.settings-view #xpage>.xtop {height:48px!important;min-height:48px!important}
}

html.p18-exact body.in-x #xpage>.xtop #xBack svg{width:23px!important;height:23px!important}
