.profile-color-panel h2 { margin: 0 0 16px; }
.profile-color-picker { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 20px; }
.profile-color-panel .profile-color-preview { width: 64px; height: 64px; border-radius: 18px; font-size: 1.4rem; }
.profile-color-picker fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.profile-color-picker legend { margin-bottom: 8px; font-weight: 700; }
.profile-color-options { display: flex; flex-wrap: wrap; gap: 8px; }
.profile-color-options label {
  display: flex; align-items: center; gap: 7px; min-height: 44px; padding: 6px 9px;
  border: 1px solid var(--line); border-radius: 12px; cursor: pointer;
}
.profile-color-options label:has(input:checked) { outline: 1px solid currentColor; }
.profile-color-options input { margin: 0; }
.profile-color-dot { width: 17px; height: 17px; border-radius: 50%; }
.profile-color-panel button { min-height: 44px; }
[data-profile-color="black"] { --avatar-bg: #161616; --avatar-text: #dcfc73; }
[data-profile-color="blue"] { --avatar-bg: #054ff0; --avatar-text: #fff; }
[data-profile-color="lime"] { --avatar-bg: #dcfc73; --avatar-text: #161616; }
[data-profile-color="lilac"] { --avatar-bg: #e1d2f3; --avatar-text: #161616; }
[data-profile-color="off-white"] { --avatar-bg: #f9f8f3; --avatar-text: #161616; }
html:root :is(.sidebar .avatar, .profile-color-preview, .profile-color-dot)[data-profile-color] {
  background: var(--avatar-bg);
  color: var(--avatar-text);
  border: 1px solid var(--line);
}
