/* One step on simple CARE's case page (Care::Simple::StepRowComponent), drawn the same way as the next step and as a line of "Also on the plan": a small label for how the step is done, its words,
   one line of facts, for a step with a colleague a band that says the student is not invited and gets no email, and its buttons. 64c holds the words, the facts and the buttons' own rows; this holds
   what only a step row has, and the step fields on the sheets that add one. Numbered 64j to follow 64i in the link order.

   The band says who is left out in words and sits on the info tone's pair, so it never relies on color alone. Tokens only and logical properties only, so all of it reads in light and in dark and
   mirrors in a right-to-left language. Nothing is pinned to an edge and nothing sets a height, and everything that holds words may shrink and breaks a long word, so a language 40% longer never
   widens the page (WCAG 1.4.10). */

.care-simple-row {
  display: grid;
  gap: var(--space-2);
  min-inline-size: 0;
}

.care-simple-row--large {
  gap: var(--space-3);
}

.care-simple-row__how,
.care-simple-row__done {
  margin-block: 0;
}

.care-simple-row__band {
  margin-block: 0;
  padding-block: var(--space-2);
  padding-inline: var(--space-3);
  border-inline-start: 3px solid var(--tone-info-line);
  border-radius: var(--radius-sm);
  background: var(--tone-info-bg);
  color: var(--tone-info-fg);
  overflow-wrap: anywhere;
  min-inline-size: 0;
}

/* The one line for a meeting still to come: when, how it is held, where and with whom. */
.care-simple-row__meeting {
  margin-block: 0;
  color: var(--fg2);
  overflow-wrap: anywhere;
  min-inline-size: 0;
}

/* Change or cancel: a disclosure that stands among the buttons as one of them. Closed it is the button; open it takes the line, with the reason and the cancel under it, and the other buttons follow
   on the next. The summary is a button's look on a summary, so the marker goes (display makes it a flex box, and Safari draws its own marker unless it is told not to). */
.care-simple-row__change {
  min-inline-size: 0;
}

.care-simple-row__change > summary {
  list-style: none;
}

.care-simple-row__change > summary::-webkit-details-marker {
  display: none;
}

.care-simple-row__change[open] {
  flex-basis: 100%;
}

.care-simple-row__change-body {
  display: grid;
  gap: var(--space-3);
  margin-block-start: var(--space-3);
  padding: var(--space-3);
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  min-inline-size: 0;
}

.care-simple-row__change-help {
  margin-block: 0;
  color: var(--fg2);
  overflow-wrap: anywhere;
}

.care-simple-row__change-form {
  display: grid;
  gap: var(--space-3);
  justify-items: start;
  min-inline-size: 0;
}

/* "How?" and "With whom?" on the sheets that add a step (Care::Simple::StepFieldsComponent): the two groups and the Directory search under them, one under the other. The groups and the search row
   are the form system's own, so this is only the space between them. */
.care-step-fields,
.care-step-fields__find {
  display: grid;
  gap: var(--space-4);
  min-inline-size: 0;
}

.care-step-fields__find {
  gap: var(--space-2);
}
