/* Parent pages only: no shared or homepage style changes. */
.profile-manager { width: 100%; }
.panel-locked [data-profile-manager] { display: none; }
.profile-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.profile-heading span { color: var(--text-dim); white-space: nowrap; }
.profile-grid { display: grid; gap: 16px; margin: 18px 0; width: 100%; }
.profile-card, .profile-form { padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); min-width: 0; }
.profile-card h2, .profile-card h3 { overflow-wrap: anywhere; font-size: 1.4rem; margin-bottom: 8px; }
.profile-meta { color: var(--text-dim); margin-bottom: 14px; }
.profile-stats { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 14px 0; }
.profile-stats strong { display: block; color: var(--accent, #c7ff55); font-size: 1.8rem; }
.profile-stats span { font-size: .9rem; }
.profile-form { display: grid; gap: 10px; }
.profile-fields { display: grid; grid-template-columns: 1fr 1.6fr; gap: 14px; margin-bottom: 10px; }
.profile-fields > div { display: grid; gap: 8px; align-content: start; min-width: 0; }
.profile-form input, .profile-form select { min-width: 0; width: 100%; min-height: 48px; padding: 10px; border: 1px solid var(--border); border-radius: 10px; color: var(--text); background: var(--surface-2); font: inherit; }
.profile-form small { color: var(--text-dim); }
.profile-confirm { padding-top: 12px; display: grid; gap: 12px; }
.profile-card .tap { margin-top: 10px; }
.profile-card button { white-space: normal; }
.tap[aria-disabled="true"], button:disabled { opacity: .65; cursor: not-allowed; }
[data-testid="parent-auth-notice"] { overflow-wrap: anywhere; }
[data-testid="profile-notice"] { margin: 14px 0; }
[data-testid="profile-notice"]:empty { margin: 0; }
.profile-speaking { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 10px 0; font-weight: 700; }
.profile-speaking span { white-space: nowrap; }
.profile-empty-speaking { color: var(--text-dim); margin: 8px 0; }
.guest-attach {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.guest-attach select {
  min-height: 48px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  font: inherit;
}
[data-words-spoken], [data-missions-week], [data-streak] { /* markers for LIVE curl + e2e */ }
