.member-profile-summary { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; padding: 20px 16px; background: var(--surface); border-radius: 12px; margin-bottom: 14px; }
.member-profile-avatar { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--orange); color: #251309; font-size: 18px; flex: none; }
.shell .member-profile-identity h2 { font-size: 16px; margin: 0 0 4px; letter-spacing: 0; }
.shell .member-profile-identity p { margin: 0; font-size: 10px; }
.member-profile-contact { display: grid; gap: 6px; margin-left: auto; font-size: 11px; color: var(--muted); }
.member-profile-tabs { display: flex; gap: 20px; overflow-x: auto; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.member-profile-tabs button { background: transparent; border: 0; border-bottom: 2px solid transparent; padding: 12px 0; font-size: 11px; color: var(--muted); white-space: nowrap; }
.member-profile-tabs button[aria-selected=true] { color: var(--orange); border-bottom-color: var(--orange); }
.shell .member-profile-panel h2 { font-size: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.member-profile-data { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px 16px; margin: 0; }
.member-profile-data dt { font-size: 10px; color: var(--muted); margin-bottom: 6px; }
.member-profile-data dd { font-size: 12px; margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.profile-wide { grid-column: 1 / -1; }
.member-profile-panel h3 { font-size: 12px; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 20px; }
.profile-functions { font-size: 11px; padding-left: 18px; line-height: 1.8; }
.shell .profile-empty { font-size: 11px; margin: 0; }
@media(max-width:850px){ .member-profile-data { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:700px){ .member-profile-data { grid-template-columns: 1fr; } .member-profile-contact { margin-left: 0; width: 100%; } .member-profile-tabs { gap: 16px; } }
.member-profile-summary { display: block; padding: 0 16px; }
.member-profile-summary .member-toolbar { background: transparent; border-radius: 0; border-bottom: 1px solid var(--line); margin: 0; padding: 12px 0; }
.profile-created { margin-left: auto; font-size: 10px; color: var(--muted); }
.profile-created strong { color: var(--text); }
.profile-summary-row { display: flex; align-items: center; gap: 16px; padding: 12px 0; }
.member-profile-avatar { width: 80px; height: 80px; font-size: 25px; border: 2px solid var(--orange); position: relative; background: #39261c; color: var(--orange); }
.profile-avatar-active::after { content: ''; position: absolute; bottom: 0; right: 1px; border: 2px solid var(--surface); width: 12px; height: 12px; border-radius: 50%; background: var(--orange); }
.profile-name-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.shell .profile-name-row h2 { font-size: 19px; margin: 0; }
.shell .member-profile-identity p { margin: 7px 0 10px; font-size: 11px; }
.profile-platform-user { color: var(--orange); }
.member-profile-contact { display: flex; flex-wrap: wrap; gap: 20px; margin: 0; font-size: 10px; }
.profile-summary-footer { border-top: 1px solid var(--line); padding: 14px 0; display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 11px; }
.member-profile-tabs { gap: 6px; border: 0; margin-bottom: 18px; }
.member-profile-tabs button { display: flex; align-items: center; gap: 7px; background: var(--surface); border: 1px solid transparent; border-radius: 6px; padding: 11px 14px; }
.member-profile-tabs button[aria-selected=true] { border-color: var(--orange); background: transparent; }
.member-profile-tabs svg { width: 16px; height: 16px; }
.profile-overview-cards { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin-bottom: 18px; }
.profile-overview-card { padding: 16px; background: var(--surface); border-radius: 12px; min-height: 74px; }
.profile-overview-card > span { font-size: 9px; color: var(--muted); }
.shell .profile-overview-card p { margin: 12px 0 0; color: var(--text); font-size: 11px; }
.profile-cells-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.shell .profile-cells-header h2 { border: 0; padding: 0; margin: 0; }
.profile-cells-header h2::before { content: ''; display: inline-block; width: 7px; height: 13px; border-radius: 5px; background: var(--orange); margin-right: 6px; vertical-align: -2px; }
.profile-cells-header > div { display: flex; gap: 10px; }
.shell .profile-cells-header .quiet { font-size: 9px; min-height: 24px; padding: 4px 7px; }
.profile-cells-header button:disabled { cursor: default; }
.profile-cells-empty { min-height: 116px; display: grid; justify-items: center; align-content: center; gap: 10px; font-size: 11px; }
.profile-cells-empty svg { width: 20px; height: 20px; color: var(--muted); }
.profile-cells-empty small { font-size: 9px; color: var(--muted); text-align: center; }
.profile-timeline-event { border-left: 2px solid var(--orange); padding: 6px 14px; margin-bottom: 20px; font-size: 12px; }
.shell .profile-timeline-event p { margin: 6px 0 0; font-size: 10px; }
@media(max-width:850px){ .profile-overview-cards { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:700px){
  .profile-created { font-size: 9px; }
  .member-profile-avatar { width: 60px; height: 60px; font-size: 20px; }
  .shell .profile-name-row h2 { font-size: 16px; }
  .profile-summary-row { align-items: flex-start; }
  .member-profile-identity { min-width: 0; }
  .member-profile-contact { gap: 8px; }
  .member-profile-contact .member-phone { overflow-wrap: anywhere; min-width: 0; }
  .profile-summary-footer { flex-wrap: wrap; }
  .profile-cells-header { flex-wrap: wrap; }
}
