/* What the assistant suggests on simple CARE's case page (Care::Simple::SuggestionsComponent, under the next step, and the suggested level in Care::Simple::LevelSheetComponent; the module care_simple).
   Quiet on purpose: under the next step it is a block set off by a hairline, not a card inside a card; a title with the assistant's mark, one line that says nothing happens until a person
   presses, and then each suggestion as its words, the day and why in smaller text, and two small buttons. The level is the one place that has a box (as a field's suggestion has), because it sits in a form among
   the choices it is about; it takes the same words and the same look so the two read as one thing.

   Tokens only and logical properties only, both enforced (test/styles/tokens_test.rb, test/styles/components_test.rb), so it reads on the console in light and in dark and mirrors in a right-to-left
   language. Nothing is pinned to an edge, 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);
   the buttons wrap onto the next line on a phone. */

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

.care-simple-suggested__title {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  margin-block: 0;
  color: var(--accent-text);
  font-size: var(--text-sm);
  font-weight: 650;
  letter-spacing: 0.02em;
}

.care-simple-suggested__lede,
.care-simple-suggested__how,
.care-simple-suggested__words,
.care-simple-suggested__reason,
.care-simple-suggested__lead {
  margin-block: 0;
  overflow-wrap: anywhere;
  min-inline-size: 0;
}

.care-simple-suggested__lede,
.care-simple-suggested__reason {
  color: var(--fg2);
  font-size: var(--text-sm);
}

.care-simple-suggested__list,
.care-simple-suggested__counted {
  display: grid;
  gap: var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
  min-inline-size: 0;
}

.care-simple-suggested__counted {
  gap: var(--space-1);
}

/* What was read in the note, each on its own line. */
.care-simple-suggested__counted li {
  overflow-wrap: anywhere;
  color: var(--fg1);
  font-weight: 600;
}

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

.care-simple-suggested__words,
.care-simple-suggested__lead {
  color: var(--fg1);
  font-weight: 600;
}

.care-simple-suggested__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-3);
  min-inline-size: 0;
}

/* The suggested level, in the level sheet above the five: a box with the accent's soft ground, as a field's suggestion has, so it is seen without being chosen. */
.care-simple-suggested--level {
  padding: var(--space-3);
  border: 1px solid var(--accent-line);
  border-radius: var(--radius-md);
  background: var(--accent-soft);
}

.care-simple-suggested--level .care-simple-suggested__reason {
  color: var(--fg1);
}
