.sp-profile-menu {
  display: grid;
  gap: 24px;
  color: #101826;
}
.sp-profile-person {
  min-width: 0;
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid #e5dfd2;
  border-radius: 16px;
  background: rgba(255, 255, 255, .94);
}
.sp-profile-person__avatar {
  flex: none;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #efe2bf;
  color: #694c1f;
  font-size: 15px;
  font-weight: 700;
}
.sp-profile-person__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sp-profile-person__info strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  line-height: 1.6;
}
.sp-profile-person__info > span {
  align-self: flex-start;
  color: #59677b;
  font-size: 12px;
  unicode-bidi: isolate;
}
.sp-profile-person__edit {
  flex: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 6px 8px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #805c22;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.sp-profile-person__edit:hover,
.sp-profile-person__edit:active { background: #f8f0df; }
.sp-profile-person__edit .icon { width: 17px; height: 17px; }
.sp-profile-group h3 {
  margin: 0 0 12px;
  color: #101826;
  font-size: 17px;
  line-height: 1.6;
}
.sp-profile-group__list {
  padding: 0 16px;
  border: 1px solid #e5dfd2;
  border-radius: 16px;
  background: rgba(255, 255, 255, .94);
}
.sp-profile-row {
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid #eee9df;
  background: transparent;
  color: #263246;
  text-align: right;
  font-size: 14px;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.sp-profile-row:last-child { border-bottom: 0; }
.sp-profile-row:hover,
.sp-profile-row:active { color: #805c22; background: #fcf9f1; }
.sp-profile-row__icon { flex: none; width: 24px; height: 24px; color: #69778a; }
.sp-profile-row__icon .icon { width: 24px; height: 24px; }
.sp-profile-row__label { flex: 1; min-width: 0; }
.sp-profile-row__arrow { flex: none; width: 18px; height: 18px; color: #8994a1; }
.sp-profile-row__arrow .icon { width: 18px; height: 18px; }
.sp-profile-logout {
  width: 100%;
  min-height: 56px;
  margin-top: 8px;
  border: 1px solid #edc6bc;
  border-radius: 14px;
  background: #fff0eb;
  color: #a13f32;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.sp-profile-logout:hover,
.sp-profile-logout:active { background: #fce4dd; border-color: #cb8d7e; }
.sp-profile-menu button:focus-visible { outline: 3px solid rgba(164, 119, 38, .5); outline-offset: 2px; }
@media (max-width: 359px) {
  .sp-profile-person { display: grid; grid-template-columns: 48px minmax(0,1fr); }
  .sp-profile-person__edit { grid-column: 2; justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  .sp-profile-menu button { transition: none; }
}
