/* register-programme.css — «Участие в программе» in the card of an event of the registration form (register.js,
   PLATFORM.md § 4.26). Loaded after app.css, whose .check, .form-more and .field-label it uses; every class of its own
   starts with «rp-». A part looks as it does in the cabinet: the kind above the name, what is said of it under it. */

.rp, .rp-list, .rp-day { display: grid; min-width: 0; }
.rp .field-label { margin: 0 0 8px; }
.rp-list { gap: 18px; }
.rp-day { gap: 12px; }
.rp-date { margin: 0 0 -4px; color: var(--blue); font-size: .875rem; font-weight: 800; line-height: 1.4; font-variant-numeric: tabular-nums; }

.rp-part { min-width: 0; }
.rp-kind { display: block; margin-bottom: 1px; color: var(--muted); font-size: .75rem; font-weight: 800; line-height: 1.4; letter-spacing: .06em; text-transform: uppercase; }
.rp-name { display: block; color: var(--heading); font-weight: 700; overflow-wrap: anywhere; }
/* so many people a tick stands for */
.rp-people { color: var(--muted); font-weight: 600; }
/* a part without a box stands in the column of the names */
.rp-part.is-off { padding-left: 34px; font-size: .9375rem; line-height: 1.5; }
.rp-part.is-off .rp-name { color: var(--muted); }
.rp-part.is-off .check-desc { display: block; color: var(--muted); font-size: .875rem; overflow-wrap: anywhere; }

/* the folded list, between the fields of the card */
.rp-fold { margin-top: 0; background: #FFFFFF; }

/* the result: the parts that had no places by then */
.rp-skipped { color: var(--amber-800); font-size: .875rem; font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; }

@media (max-width: 767.98px) {
  .rp-day { gap: 8px; } /* a box of one line is 44 px high there */
}
@media (max-width: 359.98px) {
  .rp-part.is-off { padding-left: 32px; } /* the gap of a box is 10 px */
  .rp-fold > summary { font-size: .9375rem; } /* «Участие в программе:» keeps to one line */
}
