/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/*
 * A lazy route-waypoints frame reserves the height of its rows up front
 * (inline min-height, see plans/sidebar/routes/route/_waypoints) so the list
 * below it does not jump when the rows arrive. Once they have, the reservation
 * is only a floor the real rows could fall short of, and any shortfall shows
 * as dead space under the last row — so drop it the moment Turbo flags the
 * frame complete. !important because the reservation is an inline style.
 */
turbo-frame[id^="route-waypoints-zone-"][complete] {
  min-height: 0 !important;
}
