/* My Profile page — all selectors scoped under .pg-profile */

/* ---- identity card ---- */
.pg-profile .pf-hero { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.pg-profile .pf-avatar {
  width: 84px; height: 84px; font-size: 30px;
  border: 3px solid #fff; box-shadow: var(--glow);
}
.pg-profile .pf-name { margin: 0 0 3px; font-size: 20px; }
.pg-profile .pf-hero-text { min-width: 0; }

.pg-profile .pf-dl { margin: 0; }
.pg-profile .pf-row {
  display: flex; gap: 14px; align-items: baseline;
  padding: 11px 2px; border-bottom: 1px solid var(--line);
}
.pg-profile .pf-row:last-child { border-bottom: 0; padding-bottom: 2px; }
.pg-profile .pf-row dt {
  flex: none; width: 108px; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em; color: var(--muted);
}
.pg-profile .pf-row dd { margin: 0; flex: 1; min-width: 0; font-weight: 600; font-size: 13.5px; overflow-wrap: anywhere; }
.pg-profile .pf-mono { font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.pg-profile .pf-campus {
  display: inline-flex; align-items: center; gap: 4px; margin-left: 8px;
  color: var(--muted); font-size: 12px; font-weight: 600; white-space: nowrap;
}
.pg-profile .pf-campus svg { width: 12px; height: 12px; flex: none; }

/* ---- shared lead line ---- */
.pg-profile .pf-lead { margin-bottom: 14px; }

/* ---- install card ---- */
.pg-profile .pf-install { display: flex; flex-direction: column; }
.pg-profile .pf-install-line {
  display: flex; gap: 13px; align-items: center;
  padding: 11px 2px; border-bottom: 1px dashed var(--line);
}
.pg-profile .pf-install-line:last-child { border-bottom: 0; padding-bottom: 2px; }
.pg-profile .pf-install-ic {
  width: 40px; height: 40px; flex: none; border-radius: 13px;
  background: var(--accent-tint); color: var(--indigo-3); display: grid; place-items: center;
}
.pg-profile .pf-install-ic svg { width: 18px; height: 18px; }
.pg-profile .pf-install-text { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.pg-profile .pf-install-text strong { font-size: 13.5px; }
.pg-profile .pf-install-text b { color: var(--indigo-3); font-weight: 700; }

/* ---- about card ---- */
.pg-profile .pf-about-brand { display: flex; align-items: center; gap: 13px; margin-bottom: 16px; }
.pg-profile .pf-about-name { font-weight: 800; font-size: 14.5px; letter-spacing: .02em; }
.pg-profile .pf-about-label {
  font-weight: 700; text-transform: uppercase; letter-spacing: .07em;
  font-size: 11px; margin-bottom: 8px;
}
.pg-profile .pf-campuses { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.pg-profile .pf-campus-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px;
  border-radius: 99px; background: var(--accent-tint); color: var(--indigo-3);
  font-size: 12px; font-weight: 700;
}
.pg-profile .pf-campus-chip svg { flex: none; }
.pg-profile .pf-about-support { margin-bottom: 12px; }

.pg-profile .pf-about-mark { width: 34px; height: 33px; object-fit: contain; flex: none; }

/* app lock switch (native apps) and the account card */
.pg-profile .pf-lock { display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface-2); }
.pg-profile .pf-lock-text { display: flex; flex-direction: column; gap: 2px; }
.pg-profile .pf-switch { position: relative; width: 46px; height: 28px; flex: none; }
.pg-profile .pf-switch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; z-index: 1; }
.pg-profile .pf-switch span { position: absolute; inset: 0; border-radius: 99px; background: var(--fill-2); transition: background var(--t); }
.pg-profile .pf-switch span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px;
  border-radius: 50%; background: #fff; box-shadow: var(--shadow-xs); transition: transform var(--t); }
.pg-profile .pf-switch input:checked + span { background: var(--accent); }
.pg-profile .pf-switch input:checked + span::after { transform: translateX(18px); }
.pg-profile .pf-switch input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.pg-profile .pf-legal { margin-top: 12px; }
.pg-profile .pf-legal a { color: var(--text-2); }
.pg-profile .pf-delete { color: var(--alert); }
