/* Bad Nuz Baseball v6.41.6.38.164
   Player/Parent lesson invitations: compact cards on wide screens.
   Scope is intentionally limited to the Needs Your Response cards. */
/* Keep the overall attention panel proportional to its contents on desktop. */
.lesson-player-response-panel {
  width: 100%;
  max-width: 960px;
  min-width: 0;
  justify-self: start;
}
/* Modern browsers: a single invitation needs just one compact column. */
.lesson-player-response-panel:has(> .lesson-player-response-grid > .lesson-player-booking:only-child) {
  max-width: 500px;
}
.lesson-player-response-panel .lesson-player-response-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 440px));
  justify-content: start;
  align-items: start;
  gap: 12px;
}
.lesson-player-response-panel .lesson-player-response-grid > .lesson-player-booking {
  width: 100%;
  max-width: 440px;
  min-width: 0;
  align-self: start;
  overflow-wrap: anywhere;
}
/* Preserve both existing actions; do not let a card-wide button fill the page. */
.lesson-player-response-panel .lesson-player-response-grid > .lesson-player-booking > .lesson-request-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
/* An inherited descendant rule makes all buttons span the action grid.
   Reset only these two action buttons to allow the compact two-column layout. */
.lesson-player-response-panel .lesson-player-response-grid > .lesson-player-booking > .lesson-request-actions > .button {
  grid-column: auto !important;
}
.lesson-player-response-panel .lesson-player-response-grid > .lesson-player-booking > .lesson-family-suggest,
.lesson-player-response-panel .lesson-player-response-grid > .lesson-player-booking > .lesson-change-details {
  grid-column: 1 / -1;
  min-width: 0;
}
@media (max-width: 560px) {
  .lesson-player-response-panel .lesson-player-response-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .lesson-player-response-panel .lesson-player-response-grid > .lesson-player-booking {
    max-width: none;
  }
}
@media (max-width: 390px) {
  .lesson-player-response-panel .lesson-player-response-grid > .lesson-player-booking > .lesson-request-actions {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}
