/* Relations goals sheet: the level's goals in words, opened from the dock (modal.css frame). */

.goals-sheet h2 {
  margin-bottom: var(--space-1);
}

.sheet-lead {
  margin: 0 0 var(--space-2);
  color: var(--muted);
  font-size: var(--text-small);
  line-height: 1.4;
}

.sheet-heading {
  margin: var(--space-3) 0 0;
  color: var(--muted);
  font-size: var(--text-caption);
  font-weight: 600;
}

.sheet-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sheet-row {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  border-bottom: 1px solid var(--line);
}

.sheet-icon {
  width: 32px;
  height: 32px;
  flex: none;
  display: grid;
  place-items: center;
}

.sheet-icon svg {
  width: 30px;
  height: 30px;
}

.sheet-icon .forbid-icon {
  color: var(--muted);
}

.sheet-label {
  flex: 1;
  min-width: 0;
}

.sheet-value {
  font-size: var(--text-title);
  font-weight: 600;
}

.sheet-value svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.6;
}

.sheet-row.met .sheet-value {
  color: var(--ink);
}

.sheet-row.over .sheet-value,
.sheet-row.broken .sheet-value,
.sheet-row.broken .forbid-icon {
  color: var(--danger-text);
}

.sheet-notes {
  margin: var(--space-4) 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--space-1);
  color: var(--muted);
  font-size: var(--text-small);
  line-height: 1.4;
}

.goals-sheet .primary-btn {
  width: 100%;
}
