.sheet-college-dance,
.sheet-dance-tandem {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 8px 0;
  padding: 10px;
  border: 1px solid #715b32;
  background: #171d1d;
  color: #f0e7d2;
}

.sheet-college-dance h4,
.sheet-college-dance h5,
.sheet-dance-tandem b {
  margin: 0;
  color: #f2d27c;
}

.sheet-college-dance > p,
.sheet-college-dance > small,
.sheet-dance-tandem > small {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.sheet-college-dance button {
  box-sizing: border-box;
  min-height: 44px;
  max-width: 100%;
  padding: 8px 12px;
  border: 1px solid #775425;
  background: #241b0e;
  color: #f2d27c;
  font: inherit;
  font-weight: 700;
  white-space: normal;
  cursor: pointer;
}

.sheet-dance-confirm,
.sheet-dance-tandem label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  color: #d8c28e;
  font-size: 12px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.sheet-dance-confirm input,
.sheet-dance-tandem input[type="checkbox"] {
  flex: 0 0 20px;
  width: 20px;
  min-height: 20px;
  margin: 0;
  accent-color: #b89b57;
}

.sheet-dance-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.sheet-dance-fields label,
.sheet-dance-tandem label[for="tandemAllies"] {
  display: grid;
  gap: 4px;
  min-width: 0;
  color: #d8c28e;
  font-size: 12px;
}

.sheet-dance-fields input,
.sheet-dance-tandem textarea {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 42px;
  max-width: 100%;
  padding: 7px;
  border: 1px solid #775425;
  background: #11181a;
  color: #f5dfad;
  font: 14px/1.4 RCSUI, "Arial Narrow", Arial, sans-serif;
}

.sheet-dance-tandem textarea {
  min-height: 64px;
  resize: vertical;
}

.sheet-dance-history {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sheet-dance-history li {
  min-width: 0;
  padding-top: 6px;
  border-top: 1px solid #303a3d;
  font-size: 12px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.sheet-dance-tandem {
  width: min(100%, 520px);
  box-sizing: border-box;
}

.sheet-dance-evasion {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.sheet-dance-evasion > p,
.sheet-dance-evasion > small {
  display: block;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.sheet-dance-evasion > button {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  max-width: 100%;
  padding: 8px 12px;
  border: 1px solid #775425;
  background: #241b0e;
  color: #f2d27c;
  font: inherit;
  font-weight: 700;
  white-space: normal;
  cursor: pointer;
}

.sheet-bard-turn > span {
  justify-self: start;
  color: #d8c28e;
}

@media (max-width: 540px) {
  .sheet-college-dance button {
    width: 100%;
  }

  .sheet-dance-fields {
    grid-template-columns: minmax(0, 1fr);
  }
}
