/* VerticalStackTemplate - SPACING CONTRACT: Controls gaps between organisms */
.vertical-stack-layout {
  display: flex;
  flex-direction: column;
  margin: 0;
  flex: 1;
  min-height: 0;
}

.vertical-stack-layout > .dashboard-section:last-child {
  flex: 1;
  min-height: 0;
}

/* Gap variants */
.vertical-stack-layout.gap-sm {
  gap: var(--space-2);  /* 8px */
}

.vertical-stack-layout.gap-md {
  gap: var(--space-3);  /* 12px - Standard */
}

.vertical-stack-layout.gap-lg {
  gap: var(--space-5);  /* 20px */
}

/* Responsive: Tighter gaps on mobile */
@media (max-width: 640px) {
  .vertical-stack-layout.gap-md {
    gap: var(--space-3);  /* 12px on mobile */
  }
  
  .vertical-stack-layout.gap-lg {
    gap: var(--space-4);  /* 16px on mobile */
  }
}
