/* Outcome previews share the existing card and carousel layout. */
body.tmars-site .tm-course-outcome {
  container-type: inline-size;
  display: grid;
  align-content: center;
  padding: clamp(6px, 1vw, 14px);
  background: #f2ede2;
  color: #182e46;
  border: 1px solid #d8ddd0;
}

.tm-course-outcome .tm-outcome-sheet {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: clamp(5px, 4cqi, 16px);
  background: #fffdf7;
  border: 1px solid #d8ddd0;
  border-radius: 7px;
  overflow-wrap: anywhere;
  font-size: clamp(10px, 3.7cqi, 17px);
  line-height: 1.35;
}

.tm-course-outcome .tm-outcome-label {
  font-size: clamp(11px, 5.7cqi, 28px);
  font-weight: 750;
}

body.tmars-site .tm-course-outcome figcaption {
  position: static;
  justify-self: start;
  margin-top: 5px;
  padding: 2px 4px;
  color: #25443b;
  background: #dceee2;
  font-size: clamp(9px, 3cqi, 14px);
  line-height: 1.25;
}

.tm-outcome-format ul {
  display: grid;
  gap: 3px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tm-outcome-format li {
  padding: 3px 4px;
  border-radius: 3px;
  background: #dceee2;
}

.tm-outcome-csv table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  table-layout: fixed;
  color: #182e46;
  font-size: clamp(9px, 3.6cqi, 16px);
}

.tm-outcome-csv :is(td, th) {
  padding: 3px;
  border: 1px solid #d8ddd0;
  text-align: left;
  overflow-wrap: anywhere;
}

.tm-outcome-csv th {
  background: #dceee2;
}

@container (max-width: 175px) {
  .tm-outcome-csv tbody {
    display: none;
  }

  .tm-outcome-csv :is(table, thead, tr, th) {
    display: block;
  }

  .tm-outcome-csv th {
    padding: 2px 3px;
  }
}

body.tmars-site .tm-course-card .tm-outcome-image > img {
  width: 100%;
  height: clamp(80px, 78cqi, 290px);
  max-height: none;
  object-fit: contain;
  border-radius: 4px;
}

.tm-outcome-linkou-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(4px, 3cqi, 12px);
  font-size: clamp(9px, 3.7cqi, 16px);
  line-height: 1.2;
  text-align: center;
}

.tm-outcome-linkou-grid > div {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 3px;
  min-width: 0;
  padding: clamp(4px, 2cqi, 12px);
  border-radius: 5px;
  background: #fffdf7;
}

body.tmars-site .tm-outcome-linkou-grid img {
  width: auto;
  height: clamp(33px, 52cqi, 184px);
  max-width: 100%;
  max-height: none;
  object-fit: contain;
}

.tm-outcome-linkou-grid .tm-outcome-tote {
  grid-row: span 2;
}

.tm-outcome-linkou-grid .tm-outcome-time {
  background: #dceee2;
}

.tm-outcome-time strong {
  font-size: clamp(11px, 6cqi, 29px);
  white-space: nowrap;
}

.tm-outcome-geo small {
  font-size: inherit;
}

.tm-outcome-wireframe {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  padding: 2px;
  width: clamp(20px, 20cqi, 70px);
  height: clamp(13px, 13cqi, 46px);
  border: 1px solid #526577;
  border-top-width: 3px;
  border-radius: 3px;
}

.tm-outcome-wireframe i {
  background: #dceee2;
}

.tm-outcome-wireframe i:first-child {
  grid-column: 1 / -1;
  background: #718599;
}

@container (max-width: 175px) {
  .tm-outcome-linkou-grid {
    grid-template-columns: 1fr;
  }

  .tm-outcome-linkou-grid .tm-outcome-tote {
    grid-row: auto;
  }
}
