.profile-data-host { --profile-ink: #203542; --profile-muted: #657781; --profile-line: #dce5e8; color: var(--profile-ink); }
.profile-data [hidden], .profile-data-host [hidden] { display: none !important; }
.profile-data label { display: block; font-size: .875rem; font-weight: 600; margin-bottom: .375rem; }
.profile-data-status:empty { display: none; }
.profile-data-status:not(:empty) { margin-bottom: 1rem; }
.profile-identity { display: flex; align-items: center; gap: 1.25rem; padding: .5rem 0 1.5rem; border-bottom: 1px solid var(--profile-line); }
.profile-avatar { width: 88px; height: 88px; flex: 0 0 88px; border-radius: 50%; background: #e3f3f0; color: #126d64; position: relative; overflow: hidden; display: grid; place-items: center; font-size: 1.75rem; font-weight: 700; }
.profile-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.profile-identity-text { min-width: 0; flex: 1; }
.profile-identity-text h3 { font-size: 1.125rem; line-height: 1.35; margin: 0 0 .25rem; overflow-wrap: anywhere; }
.profile-identity-text p { color: var(--profile-muted); margin: 0 0 .5rem; font-size: .875rem; overflow-wrap: anywhere; }
.profile-role { color: #206562; background: #eef8f5; border: 1px solid #cee6df; border-radius: 4px; display: inline-block; padding: .15rem .45rem; font-size: .75rem; font-weight: 600; }
.profile-avatar-menu .dropdown-item i { width: 1.5rem; }
.profile-section { padding: 1.25rem 0; border-bottom: 1px solid var(--profile-line); }
.profile-section-heading { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1rem; }
.profile-section-heading h4 { margin: 0; font-size: .9375rem; font-weight: 700; }
.profile-section-heading h4 i { color: #197b7c; margin-right: .375rem; }
.profile-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.profile-data .form-control[readonly] { background: #f5f8f9; color: #51656e; }
.profile-managed-note { font-size: .8125rem; color: var(--profile-muted); }
.profile-account-facts { padding: 1rem 0; display: grid; grid-template-columns: repeat(auto-fit,minmax(150px,1fr)); gap: 1rem; border-bottom: 1px solid var(--profile-line); }
.profile-account-facts span { display: block; color: var(--profile-muted); font-size: .75rem; margin-bottom: .25rem; }
.profile-account-facts strong { display: block; font-size: .8125rem; font-weight: 600; overflow-wrap: anywhere; }
.profile-phone-entry { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: .625rem; max-width: 520px; }
.profile-phone-verified { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.profile-phone-verified > div { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; }
.profile-verified { color: #14794f; font-size: .8125rem; }
.profile-phone-code { margin-top: 1rem; }
.profile-code-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; }
.profile-otp { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 6px; width: min(100%, 258px); }
.profile-otp .form-control { width: 100%; height: 44px; text-align: center; padding: .25rem; font-weight: 700; font-size: 1.125rem; }
.profile-data-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem; padding-top: 1.25rem; }
.profile-data-footer > div { display: flex; gap: .5rem; margin-left: auto; }
.profile-avatar-editor { border-bottom: 1px solid var(--profile-line); padding: 1.25rem 0; }
.profile-avatar-workspace { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 1.25rem; }
.profile-avatar-stage { width: 100%; max-width: 280px; aspect-ratio: 1; background: #f0f4f6; border: 1px solid var(--profile-line); border-radius: 6px; overflow: hidden; }
.profile-avatar-stage canvas, .profile-avatar-stage video { display: block; width: 100%; height: 100%; object-fit: cover; }
.profile-avatar-stage canvas { touch-action: none; }
.profile-avatar-tools { display: grid; gap: .875rem; }
.profile-avatar-tools input[type=range] { width: 100%; accent-color: #197b7c; margin-bottom: 1rem; }
.profile-avatar-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .625rem; }
.profile-avatar-options label { font-size: .75rem; margin: 0; }
.profile-avatar-options input[type=color] { display: block; width: 100%; height: 30px; padding: 2px; border: 1px solid #c6d5db; border-radius: 4px; background: #fff; }
.profile-avatar-options .profile-avatar-check { display: flex; gap: .375rem; align-items: center; }
.profile-avatar-credit { grid-column: 1 / -1; color: var(--profile-muted); font-size: .6875rem; }
.profile-header-avatar { display: inline-grid; place-items: center; position: relative; width: 22px; height: 22px; border-radius: 50%; overflow: hidden; background: #dff0eb; color: #276d60; vertical-align: middle; margin-right: .35rem; }
.profile-header-avatar img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.profile-header-avatar img:not([src]) { display: none; }
@media (max-width: 575.98px) {
  .profile-identity { display: grid; grid-template-columns: 72px minmax(0,1fr); gap: .875rem; }
  .profile-avatar { width: 72px; height: 72px; flex-basis: 72px; }
  .profile-avatar-menu { grid-column: 1 / -1; justify-self: end; }
  .profile-fields, .profile-avatar-workspace { grid-template-columns: minmax(0,1fr); }
  .profile-avatar-stage { max-width: 240px; margin: auto; }
  .profile-phone-entry { grid-template-columns: minmax(0,1fr); }
  .profile-phone-entry button { justify-self: start; }
  .profile-data-footer { align-items: stretch; }
  .profile-data-footer > div { width: 100%; justify-content: flex-end; }
}
