/* CookieMonsters profile — warm light edit view */
.cm-account-panel:has(.cm-profile-form) {
  background: rgba(255, 250, 242, 0.98) !important;
  color: #4a3a33 !important;
  border: 1px solid rgba(101, 78, 63, 0.14) !important;
  box-shadow: 0 26px 70px rgba(70, 53, 42, 0.16) !important;
}

.cm-account-panel:has(.cm-profile-form) .cm-account-eyebrow,
.cm-account-panel:has(.cm-profile-form) .cm-account-panel-head,
.cm-account-panel:has(.cm-profile-form) .cm-account-panel-head h1,
.cm-account-panel:has(.cm-profile-form) .cm-profile-field > span {
  color: #4a3a33 !important;
}

.cm-account-panel:has(.cm-profile-form) .cm-profile-summary {
  background: rgba(255, 255, 255, 0.82) !important;
  border: 1px solid rgba(101, 78, 63, 0.13) !important;
  box-shadow: 0 10px 28px rgba(70, 53, 42, 0.07) !important;
}

.cm-account-panel:has(.cm-profile-form) .cm-profile-avatar {
  background: linear-gradient(145deg, #e8d3df, #e7c9b5) !important;
  color: #6a4e52 !important;
}

.cm-account-panel:has(.cm-profile-form) .cm-profile-summary span,
.cm-account-panel:has(.cm-profile-form) .cm-profile-field small,
.cm-account-panel:has(.cm-profile-form) .cm-profile-save-state {
  color: #7a675e !important;
  opacity: 1 !important;
}

.cm-account-panel:has(.cm-profile-form) .cm-profile-field input,
.cm-account-panel:has(.cm-profile-form) .cm-profile-field textarea {
  background: #fffdfa !important;
  color: #40342f !important;
  border: 1px solid rgba(101, 78, 63, 0.20) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75), 0 4px 12px rgba(70,53,42,.04) !important;
}

.cm-account-panel:has(.cm-profile-form) .cm-profile-field input::placeholder,
.cm-account-panel:has(.cm-profile-form) .cm-profile-field textarea::placeholder {
  color: #aa988f !important;
  opacity: 1 !important;
}

.cm-account-panel:has(.cm-profile-form) .cm-profile-field input:focus,
.cm-account-panel:has(.cm-profile-form) .cm-profile-field textarea:focus {
  border-color: rgba(46, 145, 178, 0.62) !important;
  box-shadow: 0 0 0 3px rgba(46, 145, 178, 0.12) !important;
  outline: none !important;
}

/* Rules belong to registration, never profile editing. */
.cm-account-panel:has(.cm-profile-form) .cm-rules-card {
  display: none !important;
}

/* Logout lives in the Windy account menu. */
.cm-account-panel:has(.cm-profile-form) .cm-profile-actions [data-account-logout] {
  display: none !important;
}

.cm-account-panel:has(.cm-profile-form) .cm-account-notice.is-success {
  background: rgba(100, 183, 143, 0.10) !important;
  color: #3f6652 !important;
}

.cm-account-panel:has(.cm-profile-form) .cm-account-notice.is-error {
  background: rgba(211, 112, 123, 0.08) !important;
  color: #8c4c54 !important;
}
