/* The Title IX investigation's parts of a matter page (T2), and the office's workspace and matter-page parts after them: the Investigation section's interviews, evidence, evidence review and report, the move offer, and the Time to respond
   section's rows. Tokens and logical properties only; every word may wrap. */

.tix-inv {
  display: grid;
  gap: var(--space-5);
  min-inline-size: 0;
}

.tix-inv__part {
  display: grid;
  gap: var(--space-3);
  padding-block-start: var(--space-4);
  border-block-start: 1px solid var(--rule-soft);
  min-inline-size: 0;
}

.tix-inv__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2) var(--space-3);
  min-inline-size: 0;
}

.tix-inv__title {
  margin: 0;
  font-size: var(--text-md);
  overflow-wrap: anywhere;
}

.tix-inv__list {
  display: grid;
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
  min-inline-size: 0;
}

.tix-inv__row {
  display: grid;
  gap: var(--space-1);
  padding-block-end: var(--space-3);
  border-block-end: 1px solid var(--rule-soft);
  min-inline-size: 0;
}

.tix-inv__row:last-child {
  padding-block-end: 0;
  border-block-end: 0;
}

.tix-inv__row-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-1) var(--space-3);
  min-inline-size: 0;
}

.tix-inv__who {
  font-weight: 650;
  overflow-wrap: anywhere;
}

.tix-inv__role {
  color: var(--fg2);
  font-size: var(--text-sm);
  font-weight: 400;
}

.tix-inv__meta,
.tix-inv__empty,
.tix-inv__hint,
.tix-inv__due,
.tix-inv__actions {
  margin: 0;
  overflow-wrap: anywhere;
}

.tix-inv__meta,
.tix-inv__empty {
  color: var(--fg2);
  font-size: var(--text-sm);
}

.tix-inv__link {
  display: inline-flex;
  align-items: center;
  min-block-size: var(--target-min);
  overflow-wrap: anywhere;
}

.tix-inv__words summary {
  display: inline-flex;
  align-items: center;
  min-block-size: var(--target-min);
  cursor: pointer;
}

.tix-inv__text {
  margin: var(--space-2) 0 0;
  padding: var(--space-3);
  border-radius: var(--radius-sm);
  background: var(--surface-sunken);
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.tix-inv__upload,
.tix-inv__move-form {
  display: grid;
  gap: var(--space-2);
  justify-items: start;
  min-inline-size: 0;
}

.tix-inv__move {
  display: grid;
  gap: var(--space-3);
  padding: var(--space-4);
  border: 1px solid var(--tone-info-line);
  border-radius: var(--radius-md);
  background: var(--tone-info-bg);
  color: var(--tone-info-fg);
  min-inline-size: 0;
}

.tix-inv__move-text {
  margin: 0;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.tix-inv__move-form {
  justify-items: stretch;
}

.tix-inv__move-form > .btn,
.tix-inv__move-form > button {
  justify-self: start;
}

.tix-inv__part > .btn {
  justify-self: start;
}

/* The office's pages after the coordinator's review: finished stages folded on the matter page, the workspace's cards and filter, the report form's extra facts,
   the interviews, the seat picker. Tokens and logical properties only. */

.tix-folded {
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  background: var(--surface);
  min-inline-size: 0;
}

.tix-folded > .tix-section {
  border: 0;
  border-block-start: 1px solid var(--rule);
  border-radius: 0;
}

.tix-folded__summary {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-1) var(--space-3);
  padding: var(--space-3) var(--space-4);
  min-block-size: var(--target-min);
  cursor: pointer;
}

.tix-folded__title {
  font-weight: 600;
}

.tix-folded__line {
  color: var(--fg2);
  font-size: var(--text-sm);
  overflow-wrap: anywhere;
}

.tix-card__name {
  font-weight: 650;
  overflow-wrap: anywhere;
  flex-basis: 100%;
}

.tix-card__link:hover .tix-card__name,
.tix-card__link:focus-visible .tix-card__name {
  text-decoration: underline;
}

.tix-card__link .tix-card__type {
  font-weight: 400;
  color: var(--fg2);
  font-size: var(--text-sm);
  flex-basis: 100%;
}

.tix-card__unknown {
  color: var(--fg2);
  font-size: var(--text-sm);
}

.tix-card__next-what {
  color: var(--fg1);
}

.tix-workspace__filter {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.tix-inv__buttons,
.tix-inv__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-4);
  min-inline-size: 0;
}

.tix-inv__files {
  display: grid;
  gap: var(--space-1);
  margin: 0;
  padding-inline-start: var(--space-4);
  min-inline-size: 0;
}

/* A measure's state badge is as wide as its words, not the card. */
.tix-measure > .pill {
  justify-self: start;
}

.tix-seat-picker {
  display: grid;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
  min-inline-size: 0;
}

.tix-seat-picker__seat {
  display: grid;
  gap: var(--space-2);
  padding-block: var(--space-2);
  border-block-end: 1px solid var(--rule-soft);
  min-inline-size: 0;
}

.tix-seat-picker__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-1) var(--space-3);
  min-inline-size: 0;
}

.tix-seat-picker__role {
  font-weight: 600;
}

.tix-seat-picker__holders {
  color: var(--fg2);
  overflow-wrap: anywhere;
}
