/* mentorship + 30-day challenge styles (shared styles live in ../style.css) */

/* status switch, directory cards */
.mentor-switch { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
.mentor-card .item-actions form, .mentor-section form { margin: 0; }
.mentor-facts { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; margin: 2px 0; }
.mentor-count, .mentor-line { margin: 2px 0 0; }
.mentor-chip { background: var(--title-bg); color: var(--link); }
.mentor-status { font-size: .85rem; color: var(--text); }

/* profile box */
.mentor-people { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
.mentor-people-label { color: var(--muted); font-weight: 600; font-size: .86rem; }
.mentor-person { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.mentor-words h3, .mentor-guide h3 { font-size: .95rem; margin: 0 0 8px; }
.mentor-word { margin: 0 0 10px; padding: 10px 12px; background: var(--card-alt); border-radius: var(--radius-sm); }
.mentor-word:last-child { margin-bottom: 0; }
.mentor-word blockquote { margin: 0 0 8px; font-style: italic; overflow-wrap: anywhere; }
.mentor-word figcaption { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; font-size: .88rem; }

/* guidance */
.mentor-guide { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.mentor-guide ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
@media (min-width: 720px) { .mentor-guide { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 30-day challenge */
.ch-invite { text-align: center; }
.ch-invite h1 { margin: 6px 0 8px; }
.ch-invite form { margin: 14px 0 8px; }
.ch-points { list-style: none; padding: 0; margin: 12px auto; display: grid; gap: 6px; max-width: 460px; text-align: left; }
.ch-points li { padding: 8px 12px; background: var(--card-alt); border-radius: var(--radius-sm); }
.ch-party { font-size: 3rem; line-height: 1; }
.ch-prompt { font-size: 1.05rem; font-weight: 600; margin: 0; overflow-wrap: anywhere; }
.ch-backfill { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; margin: 0; }
.ch-grid {
  list-style: none; margin: 0; padding: 0; display: grid; gap: 6px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.ch-cell {
  position: relative; aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--card-alt);
  color: var(--muted); font-weight: 700; font-size: .85rem; font-variant-numeric: tabular-nums;
}
.ch-cell.ch-done { background: var(--primary); border-color: var(--primary); color: var(--primary-ink); }
.ch-cell.ch-done .ch-num { position: absolute; top: 2px; left: 5px; font-size: .62rem; opacity: .85; }
.ch-cell.ch-today { outline: 3px solid var(--pink); outline-offset: 1px; color: var(--text); }
.ch-cell.ch-today.ch-done { color: var(--primary-ink); }
.ch-cell.ch-future { opacity: .55; }
.ch-check { font-size: 1.1rem; line-height: 1; }
.ch-day-chip { flex: none; align-self: flex-start; }
@media (min-width: 560px) { .ch-grid { grid-template-columns: repeat(10, minmax(0, 1fr)); } }

/* home card */
.ch-home-invite { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ch-home-icon { font-size: 1.5rem; line-height: 1; }
.ch-home-text { flex: 1 1 180px; min-width: 0; display: grid; gap: 2px; }
.ch-home form { margin: 0; }
.ch-bar { height: 10px; border-radius: 999px; background: var(--card-alt); border: 1px solid var(--line); overflow: hidden; }
.ch-bar > span { display: block; height: 100%; background: var(--primary); border-radius: 999px; }
