/* profile screen: boards Profile (phone), Profile-Full (phone, #profile/all) and Profile-Desk (computer) */
.prof-top { position: relative; }
.prof-band { position: relative; height: 150px; background: var(--cobalt); overflow: hidden; }
.prof-band svg { position: absolute; right: -92px; top: -120px; }
.prof-back { position: absolute; left: 24px; top: 8px; min-height: 44px; display: flex; align-items: center; color: var(--white); font-size: 15px; font-weight: 500; text-decoration: none; }
.prof-back:focus-visible { outline-color: var(--white); }
.prof-ava { position: absolute; left: 24px; top: 106px; width: 88px; height: 88px; border-radius: 50%; background: var(--shell); border: 4px solid var(--porcelain);
  display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-weight: 300; font-size: 40px; line-height: 1; color: var(--ink); }
.prof-ava.sm { position: static; flex: none; border-width: 2px; }
.prof-ava { overflow: hidden; }
.prof-ava img { width: 100%; height: 100%; object-fit: cover; }

.prof-page { padding: 0 24px 40px; gap: 24px; }
.prof-head { margin-top: 56px; display: flex; flex-direction: column; gap: 4px; }
.prof-all .prof-page { padding-top: 24px; }
.prof-h1 { font-family: var(--serif); font-weight: 300; font-size: 36px; line-height: 1.1; overflow-wrap: anywhere; }
.prof-h1.big { font-size: 44px; line-height: 1.05; text-wrap: balance; }
.prof-where { font-size: 15px; line-height: 1.4; color: var(--soft); }
.prof-lede { font-size: 15px; line-height: 1.5; color: var(--soft); }
.prof-note { padding: 12px 16px; background: var(--wash); border-radius: 6px; font-size: 14px; line-height: 1.45; color: var(--ink); }
.prof-soft { font-size: 14px; line-height: 1.45; color: var(--soft); }

.prof-grid, .prof-left { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.prof-sec { display: flex; flex-direction: column; min-width: 0; }
.prof-h2 { font-size: 15px; font-weight: 600; line-height: 1.4; margin-bottom: 2px; }
.prof-who { gap: 10px; }
.prof-who .prof-h2 { margin-bottom: 0; }

/* the card other members see */
.prof-card { background: var(--white); border-radius: 6px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.prof-id { display: flex; align-items: center; gap: 16px; }
.prof-id-t { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.prof-name { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.15; overflow-wrap: anywhere; }
.prof-id .prof-where { font-size: 14px; }
.prof-proj { display: flex; flex-direction: column; gap: 2px; }
.prof-proj-n { font-size: 16px; font-weight: 500; }
.prof-proj-l { font-size: 14px; line-height: 1.4; color: var(--soft); }
.prof-gn { font-size: 14px; line-height: 1.4; }
.prof-gn b { font-weight: 600; }
.prof-change { min-height: 48px; font-weight: 500; }

/* rows: choices and account */
.prof-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; width: 100%; padding: 0;
  background: none; border: 0; text-align: left; font-size: 15px; color: var(--ink); text-decoration: none; }
button.prof-row:hover, a.prof-row:hover { color: var(--cobalt); }
.prof-choice { min-height: 56px; cursor: pointer; }
.prof-list > * + * { border-top: 1px solid var(--line); }
.prof-choice-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 8px 0; }
.prof-sub { font-size: 12px; line-height: 1.4; color: var(--soft); }
.prof-end { margin-left: auto; font-size: 14px; color: var(--soft); }
.btn.prof-end { color: var(--cobalt); }
.prof-chev { display: none; color: var(--soft); font-size: 18px; line-height: 1; }

/* facts */
.prof-groups { display: flex; flex-direction: column; gap: 24px; }
.prof-group { display: flex; flex-direction: column; min-width: 0; }
.prof-facts { margin: 0; }
.prof-gt { font-family: var(--sans); font-size: 15px; font-weight: 600; line-height: 1.4; margin-bottom: 4px; }
.prof-fact { display: grid; grid-template-columns: 116px minmax(0, 1fr); column-gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.prof-fact dt { font-size: 14px; line-height: 1.4; color: var(--soft); }
.prof-fact dd { margin: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.prof-val { font-size: 15px; line-height: 1.4; overflow-wrap: anywhere; }
.prof-none { font-size: 14px; color: var(--soft); }
.prof-group > .prof-none { padding: 9px 0; border-bottom: 1px solid var(--line); }
.prof-src { display: inline-block; max-width: 100%; padding: 2px 8px; border: 1px solid var(--line); border-radius: 4px; background: var(--porcelain);
  font-size: 12px; line-height: 1.4; color: var(--soft); }
.prof-src.is-guess { background: var(--shell); border-color: var(--shell); color: var(--ink); font-weight: 600; }
.prof-tell { min-height: 52px; font-weight: 500; margin-top: 24px; }

/* sheets */
.prof-how { display: flex; flex-direction: column; gap: 8px; padding-left: 0; }
.prof-code { padding: 16px; background: var(--porcelain); border-radius: 6px; text-align: center; }
.prof-code code { font-family: var(--sans); font-size: 22px; font-weight: 600; letter-spacing: .04em; color: var(--ink); }

@media (min-width: 900px) {
  .prof-page { padding: 40px 24px 72px; gap: 28px; }
  .prof-lede { font-size: 16px; line-height: 1.45; }
  .prof-grid { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 24px; align-items: start; }
  .prof-left { gap: 24px; }
  .prof-sec { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 28px; gap: 8px; }
  .prof-h2 { font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.15; margin-bottom: 0; }
  .prof-h2.big { font-size: 26px; }
  .prof-who { gap: 14px; }
  .prof-card { padding: 0; border-radius: 0; gap: 14px; }
  .prof-proj-n { font-size: 13px; font-weight: 600; line-height: 1.3; }
  .prof-proj-l { font-size: 15px; line-height: 1.5; color: var(--ink); }
  .prof-gn { color: var(--soft); line-height: 1.5; }
  .prof-gn b { color: var(--ink); }
  .prof-change { min-height: 42px; font-size: 14px; }
  .prof-list { border-top: 1px solid var(--line); }
  .prof-list > .phone-only + * { border-top: 0; }
  .prof-row { min-height: 0; padding: 12px 0; }
  .prof-choice { padding: 12px 0; }
  .prof-choice-t { padding: 0; }
  .prof-row .prof-end { font-size: 13px; }
  .prof-chev { display: inline; }
  .prof-known { gap: 20px; }
  .prof-known .prof-lede { font-size: 15px; line-height: 1.5; }
  .prof-groups { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; }
  .prof-gt { font-size: 13px; line-height: 1.3; margin-bottom: 8px; }
  .prof-fact { grid-template-columns: 130px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 0; border-top: 1px solid var(--line); }
  .prof-fact dt { font-size: 13px; }
  .prof-group > .prof-none { border-bottom: 0; border-top: 1px solid var(--line); padding: 10px 0; }
  .prof-src { padding: 4px 10px; }
  .prof-tell { min-height: 44px; margin-top: 0; }
  .prof-all-head .back { align-self: flex-start; }
  .prof-all .prof-h1.big { font-size: 48px; }
}

@media (min-width: 1200px) { .prof-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* email (part 6) */
.prof-mail-addr { overflow-wrap: anywhere; }
.prof-mail-note { font-size: 13px; padding-top: 8px; }
.prof-mail-form { display: flex; flex-direction: column; gap: 14px; }
.prof-mail-sent { font-size: 15px; line-height: 1.5; }
