/* Lavender Lotus Studio 8.9.8 — settings masonry repair.
   Dynamic setup/status cards belong inside the two independent settings stacks.
   This prevents a tall left stack from reserving a large empty grid cell on the right. */
.settings-grid{
  align-items:start!important;
}
.settings-grid > .stack,
.settings-grid > aside.stack{
  align-content:start!important;
  align-self:start!important;
  min-width:0!important;
  width:100%!important;
}
.settings-grid > .stack > *,
.settings-grid > aside.stack > *{
  min-width:0!important;
  width:100%!important;
  max-width:100%!important;
}
/* Safety fallback: any future extension that appends directly to the root grid
   spans the full workspace instead of looking like a missing half-width card. */
.settings-grid > :not(.stack){
  grid-column:1 / -1!important;
  width:100%!important;
  max-width:100%!important;
}
@media (max-width:1399px){
  .settings-grid > aside.stack{
    align-items:start!important;
  }
}

/* At laptop and scaled-desktop widths, use one clean settings column for the
   secondary cards. A two-column row grid leaves false blank blocks whenever
   one card is taller than its neighbor. */
@media (min-width:901px) and (max-width:1399px){
  .settings-grid > aside.stack{
    grid-template-columns:minmax(0,1fr)!important;
  }
}
