/* v16.9.8 Account settings grid hardening. Loaded AFTER v16.9.7 and global compact CSS. */
body.lvg-auth-page #signed .v1218-profile-home .ap17-menu .ap17-group-links > .ap17-link {
  /* Always reserve icon / text / arrow columns; never let missing icons shift text. */
  display:grid!important;
  grid-template-columns:20px minmax(0,1fr) 18px!important;
  align-items:center!important;
  justify-items:stretch!important;
  column-gap:12px!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
  white-space:normal!important;
  overflow:visible;
}
body.lvg-auth-page #signed .v1218-profile-home .ap17-menu .ap17-group-links > .ap17-link > svg {
  grid-column:1!important;grid-row:1;justify-self:center;
  width:19px!important;height:19px!important;min-width:19px;
}
body.lvg-auth-page #signed .v1218-profile-home .ap17-menu .ap17-group-links > .ap17-link > span {
  grid-column:2!important;grid-row:1;
  min-width:0!important;max-width:100%!important;
  width:auto!important;
  overflow-wrap:break-word!important;
  word-break:normal!important;
  white-space:normal!important;
  text-align:left!important;
  line-height:1.45!important;
}
body.lvg-auth-page #signed .v1218-profile-home .ap17-menu .ap17-group-links > .ap17-link > b {
  grid-column:3!important;grid-row:1;
  justify-self:end!important;min-width:0;
  line-height:1!important;text-align:right!important;
}
/* Future icon-less settings rows must still place their title in the text column. */
body.lvg-auth-page #signed .v1218-profile-home .ap17-menu .ap17-group-links > .ap17-link:not(:has(> svg)) > span:first-child {
  grid-column:2!important;
}
/* Avoid long words being split into vertical columns on narrow mobile screens. */
@media (max-width:370px){
 body.lvg-auth-page #signed .v1218-profile-home .ap17-menu .ap17-group-links > .ap17-link {column-gap:9px!important;grid-template-columns:20px minmax(0,1fr) 16px!important;}
}
