.coaching-board { display: grid; min-width: 0; gap: clamp(12px, 2vw, 19px); }
.coaching-heading, .coaching-request-meta, .coaching-message-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  min-width: 0;
  gap: 5px 10px;
}
.coaching-heading > *, .coaching-message-head > * { min-width: 0; }
.coaching-heading p { margin-top: 4px; }
.coaching-list-heading { align-items: center; }
.coaching-list-heading > .button { min-height: 44px; white-space: normal; }
.coaching-meta { color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.coaching-badge, .coaching-reward {
  justify-self: start;
  width: fit-content;
  padding: 3px 8px;
  border: 1px solid #53675b;
  border-radius: 5px;
  background: #25322d;
  color: #c5e5d3;
  font-size: 12px;
}
.coaching-badge[data-status="proof-ready"], .coaching-reward {
  border-color: #694f34;
  background: #392d22;
  color: var(--gold-light);
}
.coaching-badge[data-status="cancelled"], .coaching-badge[data-status="released"] {
  border-color: var(--border);
  background: var(--panel-hover);
  color: var(--muted);
}
.coaching-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}
.coaching-requests, .coaching-messages, .coaching-history {
  display: grid;
  min-width: 0;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.coaching-requests { grid-template-columns: repeat(auto-fit, minmax(min(100%, 256px), 1fr)); }
.coaching-request, .coaching-message, .coaching-history > li {
  display: grid;
  align-content: start;
  min-width: 0;
  gap: 7px;
  padding: 11px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--background);
  overflow-wrap: anywhere;
}
.coaching-request {
  border-color: #425349;
  background: radial-gradient(ellipse at top left, #242e2a, transparent 78%), var(--background);
}
.coaching-message { width: fit-content; max-width: 92%; min-width: min(230px, 100%); }
.coaching-message[data-self="true"] { justify-self: end; border-color: #4d4439; background: #26231f; }
.coaching-message p { white-space: pre-wrap; }
.coaching-thread .social-form, .coaching-evidence {
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.coaching-evidence { display: grid; min-width: 0; gap: 7px; }
.coaching-thread .social-actions button { min-height: 44px; }
.coaching-history-panel summary { min-height: 44px; padding: 9px 0; color: var(--gold-light); cursor: pointer; }

@media (max-width: 430px) {
  .coaching-fields { grid-template-columns: minmax(0, 1fr); }
  .coaching-message { max-width: 96%; }
}
