/* mentor screens: Mentor-Desk / Mentor-Phone (the mentor view on #intros), Mentee-Desk / Mentee-Phone (#mentoring/<id>). */
.mt { gap: 18px; }
.mt .avatar { background: var(--line); }
.mt .mt-top .avatar { background: var(--shell); }

/* phone top: the mark, the name, the member */
.mt-top { height: 60px; flex: none; display: flex; align-items: center; justify-content: space-between; margin: -24px -20px 0; padding: 0 20px;
  background: var(--white); border-bottom: 1px solid var(--line); }
.mt-brand { display: inline-flex; align-items: center; gap: 8px; font-family: var(--serif); font-size: 17px; color: var(--ink); text-decoration: none; }
.mt-me { display: inline-flex; border-radius: 50%; text-decoration: none; }

/* type */
.mt-h1 { font-size: 34px; }
.mt-lede { font-size: 15px; line-height: 1.45; color: var(--soft); }
.mt-head { gap: 6px; }
.mt-h2 { font-family: var(--serif); font-weight: 400; font-size: 20px; line-height: 1.15; }
.mt-sub { font-size: 14px; line-height: 1.5; color: var(--soft); }
.mt-sub.sm { font-size: 13px; line-height: 1.45; }
.mt-tiny { font-size: 12px; line-height: 1.4; color: var(--soft); }
.mt-label { font-size: 13px; line-height: 1.3; font-weight: 600; color: var(--ink); }
.mt-name { font-size: 16px; line-height: 1.25; font-weight: 600; }
.mt-meta { font-size: 13px; line-height: 1.4; color: var(--soft); }
.mt-note { background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--cobalt); border-radius: 0 4px 4px 0; padding: 10px 14px; font-size: 14px; line-height: 1.45; }
.mt-empty { font-size: 14px; }

/* cards and parts */
.mt-card { gap: 6px; padding: 20px; }
.mt-acts { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.mt-btn { min-height: 44px; padding: 0 14px; font-size: 14px; }
.mt-tag { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 12px; font-size: 12px; font-weight: 500; white-space: nowrap; flex: none; align-self: flex-start; }
.mt-tag.mist { background: var(--mist); color: var(--cobalt); }
.mt-tag.shell { background: var(--shell); color: var(--ink); }
.mt-tag.plain { background: var(--porcelain); color: var(--soft); }
.mt-tag.warn { background: #FBE9E7; color: var(--danger); }
.mt-q { display: flex; flex-direction: column; gap: 4px; padding: 10px 14px; border-radius: 0; }
.mt-q p:last-child { font-size: 14px; line-height: 1.45; }
.mt-person { display: flex; align-items: flex-start; gap: 12px; min-width: 0; }
.mt-person-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mt-name-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.mt-form { display: flex; flex-direction: column; gap: 16px; }
.mt-form select.input { appearance: auto; }

/* ---- the mentor view ------------------------------------------------------------------------------------------------ */
.mt-short-h { display: flex; align-items: center; gap: 10px; }
.mt-count { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 12px; background: var(--white); color: var(--soft); font-size: 12px; font-weight: 500; white-space: nowrap; }
.mt-cands { display: flex; flex-direction: column; }
.mt-cand { padding: 18px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.mt-cand:last-child { border-bottom: 0; }
.mt-cand-main { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.mt-why { display: flex; flex-direction: column; gap: 4px; }
.mt-why p:last-child { font-size: 15px; line-height: 1.5; }
.mt-more { min-height: 44px; font-size: 15px; font-weight: 500; }
.mt-foot { font-size: 13px; line-height: 1.4; color: var(--soft); }
.mt-cands .more { display: none; }
.mt-cands.all .more { display: flex; }

.mt-lims { display: flex; flex-direction: column; }
.mt-lim { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.mt-lim-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mt-lim-t > p:first-child { font-size: 14px; line-height: 1.35; }
.mt-lim-v { display: flex; align-items: center; gap: 10px; }
.mt-lim-v b { font-size: 14px; font-weight: 600; white-space: nowrap; }
.mt-change { font-size: 13px; min-height: 44px; }

.mt-net-row { display: flex; align-items: center; gap: 10px; padding: 12px 0 0; margin-top: 4px; border-top: 1px solid var(--line); }
.mt-net-row p { flex: 1; min-width: 0; font-size: 14px; line-height: 1.4; }
.mt-net-row .mt-tag { align-self: center; }

.mt-mentees { display: flex; flex-direction: column; }
.mt-mentee { display: flex; align-items: flex-start; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.mt-mentee:hover .mt-name { color: var(--cobalt); }
.mt-mentee-t { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.mt-mentee .mt-name { font-size: 15px; line-height: 1.3; }
.mt-next { font-size: 13px; line-height: 1.4; }
.mt-chev { color: var(--soft); font-size: 20px; line-height: 1; padding-top: 10px; }
.mt-sug { display: flex; flex-direction: column; gap: 10px; padding: 14px 0 0; border-top: 1px solid var(--line); }
.mt-sug .mt-name { font-size: 15px; line-height: 1.3; }
.mt-sug-r { font-size: 14px; line-height: 1.5; }

.mt-rec { gap: 14px; }
.mt-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.mt-stat { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.mt-num { font-family: var(--serif); font-weight: 300; font-size: 30px; line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.mt-stat-l { font-size: 14px; line-height: 1.3; }
.mt-stat-s { font-size: 13px; line-height: 1.35; color: var(--soft); overflow-wrap: anywhere; }

/* ---- one mentorship ----------------------------------------------------------------------------------------------------- */
.mt-back { font-size: 14px; align-self: flex-start; }
.mt-mhead { display: flex; flex-direction: column; gap: 10px; }
.mt-mwho { display: flex; align-items: center; gap: 12px; min-width: 0; }
.mt-mwho > span { display: inline-flex; }
.mt-mwho-t { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mt-mh1 { font-family: var(--serif); font-weight: 300; font-size: 28px; line-height: 1.05; overflow-wrap: anywhere; }
.mt-msub { font-size: 13px; line-height: 1.35; color: var(--soft); }
.mt-mline { font-size: 14px; line-height: 1.45; }
.mt-mhead-acts { margin-top: 8px; }
.mt-notes-top { display: flex; flex-direction: column; gap: 8px; }

.mt-cols { display: flex; flex-direction: column; gap: 18px; }
.mt-ming .mt-card { gap: 12px; padding: 24px; }
.mt-ming .mt-c-ses { gap: 6px; padding: 20px; }

.mt-sess { display: flex; flex-direction: column; }
.mt-ses { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mt-ses:last-child { border-bottom: 0; }
.mt-ses-w { font-size: 13px; line-height: 1.3; font-weight: 600; color: var(--soft); }
.mt-ses-t { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mt-ses-title { font-size: 15px; line-height: 1.35; font-weight: 600; }
.mt-ses-n { font-size: 14px; line-height: 1.5; color: var(--soft); }

.mt-goal { font-family: var(--serif); font-size: 18px; line-height: 1.4; }
.mt-goal-n { display: flex; align-items: baseline; gap: 10px; }
.mt-big { font-family: var(--serif); font-weight: 300; font-size: 44px; line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.mt-goal-n p { font-size: 15px; line-height: 1.3; color: var(--soft); }
.mt-goal-note { font-size: 14px; line-height: 1.45; }
.mt-next-l { font-size: 15px; line-height: 1.4; }
.mt-c-next .mt-q p:last-child { font-size: 15px; }

.mt-quote-h { display: flex; align-items: center; gap: 10px; }
.mt-dot { width: 32px; height: 32px; border-radius: 50%; background: var(--cobalt); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.mt-quote { margin: 0; }
.mt-quote p { font-size: 14px; line-height: 1.55; }

.mt-notes { display: flex; flex-direction: column; gap: 10px; }
.mt-notes li { display: flex; flex-direction: column; gap: 2px; }
.mt-notes li > p:first-child { font-size: 14px; line-height: 1.5; }
.mt-lines { display: flex; flex-direction: column; gap: 8px; }
.mt-lines p { font-size: 14px; line-height: 1.5; color: var(--soft); }

.mt-fs { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.mt-five { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.mt-opts { display: flex; flex-direction: column; gap: 18px; }
.mt-opt { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.mt-opt:first-child { padding-top: 0; border-top: 0; }
.mt-opt-h { font-size: 16px; font-weight: 600; }

/* ---- phone: one column, in the boards' order ------------------------------------------------------------------------- */
@media (max-width: 899px) {
  .mt-row1, .mt-row2, .mt-side, .mt-col { display: contents; }
  .mt-cols { display: flex; flex-direction: column; gap: 18px; }
  .mt-mentor .mt-top { order: 0; }
  .mt-mentor .mt-head { order: 1; }
  .mt-mentor .mt-short { order: 2; }
  .mt-mentor .mt-ment { order: 3; }
  .mt-mentor .mt-limits { order: 4; }
  .mt-mentor .mt-net { order: 5; }
  .mt-mentor .mt-rec { order: 6; }
  .mt-ming .mt-c-rate { order: 0; }
  .mt-ming .mt-c-next { order: 1; }
  .mt-ming .mt-c-goal { order: 2; }
  .mt-ming .mt-c-ses { order: 3; }
  .mt-ming .mt-c-quote { order: 4; }
  .mt-ming .mt-c-notes { order: 5; }
  .mt-ming .mt-c-how { order: 6; }
  .mt-cand-acts .mt-btn { flex: none; }
  .mt-lim { padding: 6px 0; min-height: 56px; }
  .mt-cands:not(.all) .mt-cand:nth-child(2) { border-bottom: 0; }
  .mt-stats { gap: 12px; }
}

/* ---- computer ----------------------------------------------------------------------------------------------------------- */
@media (min-width: 900px) {
  .mt { gap: 28px; }
  .mt-h1 { font-size: 48px; }
  .mt-head { gap: 10px; }
  .mt-lede { font-size: 16px; }
  .mt-h2 { font-size: 22px; }
  .mt-h2.big { font-size: 24px; }
  .mt-card { padding: 24px; }
  .mt-btn { min-height: 40px; }
  .mt-q p:last-child { font-size: 15px; }

  .mt-row1 { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
  .mt-side { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
  .mt-row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
  .mt-short { padding: 28px; gap: 8px; }
  .mt-cand { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: start; padding: 20px 0; }
  .mt-cand-main { max-width: 532px; }
  .mt-cands .more { display: grid; }
  .mt-limits .mt-sub { margin-bottom: 4px; }
  .mt-change { min-height: 0; }
  .mt-net { gap: 10px; }
  .mt-net-row { margin-top: 0; }

  .mt-mhead { flex-direction: row; align-items: center; gap: 18px; }
  .mt-mwho { gap: 18px; }
  .mt-mwho-t { gap: 6px; }
  .mt-mh1 { font-size: 44px; }
  .mt-msub { font-size: 15px; line-height: 1.4; }
  .mt-mhead-acts { margin: 0 0 0 auto; }
  .mt-cols { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
  .mt-col { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
  .mt-ming .mt-c-ses { padding: 24px; }
  .mt-ming .mt-c-ses .mt-h2 { font-size: 22px; }
  .mt-back { margin-bottom: -4px; }
}
