/*
 * 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 folded step's toggle (actions/_event): "Show all N" while closed, "Hide" while open. */
details.event-repeats > summary .repeat-when-open { display: none; }
details.event-repeats[open] > summary .repeat-when-open { display: inline; }
details.event-repeats[open] > summary .repeat-when-closed { display: none; }

/* A folded step's rows (actions/_event): equal columns, so names and ids line up row after row. */
.event-repeat-rows { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: 0.25rem 1.5rem; }
.event-repeat-rows a { display: flex; align-items: baseline; gap: 0.375rem; min-width: 0; }
.event-repeat-rows .row-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.event-repeat-rows .row-id { flex: none; }
/* The toggle shows a ring for keyboard focus only, not after a click. */
details.event-repeats > summary:focus:not(:focus-visible) { outline: none; }
