/* The event proposal form (M2-FORM-EVENT): the design system's tokens only. Fields, notices, buttons and the receipt are the
   kit's (components.css); the head is the seasonal page's shape. */

.proposal-head {
  padding-block: var(--spacing-24);
}

.proposal-head h1 {
  max-width: 24ch;
  margin-bottom: var(--spacing-16);
  overflow-wrap: anywhere;
  hyphens: auto;
}

.proposal-head .lead {
  max-width: var(--size-44rem);
  margin-bottom: 0;
}

.proposal-body {
  padding-bottom: var(--spacing-48);
}

.proposal-form {
  display: grid;
  gap: var(--spacing-24);
}

.proposal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--spacing-16) var(--spacing-24);
  align-items: start; /* the controls of a row start at the same y (FO-7) */
}

.proposal-grid > .proposal-wide,
.proposal-grid > .field-check {
  grid-column: 1 / -1;
}

.proposal-slot[hidden] {
  display: none;
}

.proposal-rule {
  margin: var(--spacing-16) 0 0;
  color: var(--color-text-secondary);
  font-size: var(--font-size-14);
  line-height: var(--line-height-20);
}

@media (min-width: 768px) {
  .proposal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.receipt__line,
.receipt__statement {
  margin-block: var(--spacing-16) 0;
}
