/* ============================================================
   Thrive Better Health · Profile Panel · v2
   static/css/profile-panel.css
   Glassmorphism · Neon accents · Dark-first · Mobile responsive
   ============================================================ */

/* ── Overlay ── */
.pp-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 1200;
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
}
.pp-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* ── Panel ── */
.pp-panel {
  position: fixed;
  top: 24px;
  right: 0;
  bottom: 12px;
  width: 480px;
  max-width: 100vw;
  z-index: 1201;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  outline: none;
}
.pp-panel.is-open {
  transform: translateX(0);
}
@media (max-width: 520px) {
  .pp-panel {
    width: 100vw;
  }
}

/* ── Panel inner (glass surface) ── */
.pp-panel-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #0e0d26;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-left: 1px solid rgba(108, 99, 255, 0.22);
  box-shadow: -12px 0 60px rgba(0, 0, 0, 0.6),
              inset 1px 0 0 rgba(255, 255, 255, 0.04);
}

/* ── Header ── */
.pp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 16px;
  border-bottom: 1px solid rgba(108, 99, 255, 0.15);
  flex-shrink: 0;
  background: rgba(108, 99, 255, 0.06);
}
.pp-header-identity {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.pp-avatar-mini {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6C63FF, #00C9A7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 0 0 2px rgba(108, 99, 255, 0.4),
              0 0 12px rgba(108, 99, 255, 0.3);
}
.pp-header-text {
  min-width: 0;
}
.pp-header-name {
  font-size: 15px;
  font-weight: 700;
  color: #F0F0FF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pp-header-role {
  font-size: 11px;
  font-weight: 600;
  color: #00C9A7;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 1px;
}
.pp-header-programme {
  font-size: 11px;
  color: #9395B0;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pp-close-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #9395B0;
  border-radius: 8px;
  padding: 7px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, color 0.18s;
  flex-shrink: 0;
}
.pp-close-btn:hover,
.pp-close-btn:focus-visible {
  background: rgba(230, 57, 70, 0.18);
  color: #E63946;
  border-color: rgba(230, 57, 70, 0.3);
  outline: none;
}

/* ── Scroll area ── */
.pp-scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  padding: 0 0 20px;
  scrollbar-width: thin;
  scrollbar-color: rgba(108, 99, 255, 0.3) transparent;
}
.pp-scroll::-webkit-scrollbar { width: 4px; }
.pp-scroll::-webkit-scrollbar-track { background: transparent; }
.pp-scroll::-webkit-scrollbar-thumb { background: rgba(108, 99, 255, 0.3); border-radius: 4px; }

/* ── Footer actions (always visible) ── */
.pp-footer-actions {
  flex-shrink: 0;
  padding: 12px 20px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(14, 13, 38, 0.86), rgba(14, 13, 38, 0.96));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Hide floating AI coach while profile panel is open */
body.profile-panel-open #thrive-coach-root {
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

/* ── Accordion sections ── */
.pp-section {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.pp-section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 20px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background 0.18s;
  border-left: 3px solid transparent;
}
.pp-section-head::-webkit-details-marker { display: none; }
.pp-section-head:hover {
  background: rgba(255, 255, 255, 0.04);
}
.pp-section[open] > .pp-section-head {
  background: rgba(255, 255, 255, 0.03);
}
.pp-section-icon { font-size: 15px; flex-shrink: 0; }
.pp-section-label {
  font-size: 13px;
  font-weight: 600;
  color: #F0F0FF;
  flex: 1;
  letter-spacing: 0.01em;
}
.pp-chevron {
  width: 16px;
  height: 16px;
  border-right: 2px solid #5C5E7A;
  border-bottom: 2px solid #5C5E7A;
  transform: rotate(45deg);
  transition: transform 0.22s ease, border-color 0.18s;
  flex-shrink: 0;
  margin-top: -3px;
}
.pp-section[open] > .pp-section-head .pp-chevron {
  transform: rotate(-135deg);
  margin-top: 3px;
  border-color: #6C63FF;
}

/* Section accent colours */
.pp-section-identity  { border-left-color: #6C63FF; }
.pp-section-recovery  { border-left-color: #F4A261; }
.pp-section-prefs     { border-left-color: #00C9A7; }
.pp-section-security  { border-left-color: #A78BFA; }
.pp-section-privacy   { border-left-color: #52B788; }
.pp-section-support   { border-left-color: #F07167; }

.pp-section-body {
  padding: 4px 20px 20px;
  animation: ppFadeIn 0.2s ease;
}
@keyframes ppFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Avatar section ── */
.pp-avatar-section { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-bottom: 20px; }
.pp-avatar-ring-wrap { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.pp-avatar-ring {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6C63FF 0%, #00C9A7 100%);
  padding: 3px;
  box-shadow: 0 0 0 0 rgba(108,99,255,0), 0 0 20px rgba(108,99,255,0.4);
  animation: ppAvatarGlow 3s ease-in-out infinite alternate;
}
@keyframes ppAvatarGlow {
  from { box-shadow: 0 0 12px rgba(108,99,255,0.3), 0 0 0 2px rgba(108,99,255,0.25); }
  to   { box-shadow: 0 0 24px rgba(0,201,167,0.4), 0 0 0 2px rgba(0,201,167,0.3); }
}
.pp-avatar-display {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #141530;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 700;
  color: #F0F0FF;
  overflow: hidden;
}
.pp-avatar-badge {
  font-size: 11px;
  font-weight: 600;
  background: rgba(108,99,255,0.15);
  border: 1px solid rgba(108,99,255,0.3);
  color: #A78BFA;
  border-radius: 20px;
  padding: 3px 10px;
  letter-spacing: 0.04em;
}

/* Avatar tabs */
.pp-avatar-tabs {
  display: flex;
  gap: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 4px;
  width: 100%;
}
.pp-tab {
  flex: 1;
  padding: 8px 12px;
  border-radius: 7px;
  border: none;
  background: transparent;
  color: #9395B0;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.pp-tab.is-active {
  background: rgba(108, 99, 255, 0.2);
  color: #A78BFA;
  box-shadow: 0 0 0 1px rgba(108,99,255,0.3);
}
.pp-tab:hover:not(.is-active) { background: rgba(255,255,255,0.06); color: #F0F0FF; }

/* Tab panels */
.pp-tab-panel { width: 100%; }

/* Upload zone */
.pp-upload-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 100px;
  border: 2px dashed rgba(108,99,255,0.35);
  border-radius: 12px;
  padding: 16px;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s;
  text-align: center;
}
.pp-upload-zone:hover,
.pp-upload-zone:focus-within {
  border-color: #6C63FF;
  background: rgba(108,99,255,0.07);
}
.pp-upload-icon { font-size: 22px; }
.pp-upload-label { font-size: 13px; color: #F0F0FF; font-weight: 500; }
.pp-upload-hint  { font-size: 11px; color: #5C5E7A; }
.pp-file-input   { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.pp-upload-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(0,201,167,0.07);
  border: 1px solid rgba(0,201,167,0.2);
  border-radius: 10px;
  margin-top: 8px;
}
.pp-upload-preview img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(0,201,167,0.4);
}
#pp-preview-label { font-size: 12px; color: #00C9A7; font-weight: 600; }

/* Preset grid */
.pp-preset-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  width: 100%;
  margin-bottom: 12px;
}
.pp-avatar-preset {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 2px solid transparent;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
.pp-avatar-preset:hover { background: rgba(108,99,255,0.12); transform: scale(1.1); }
.pp-avatar-preset.is-active {
  border-color: #6C63FF;
  background: rgba(108,99,255,0.18);
  box-shadow: 0 0 10px rgba(108,99,255,0.35);
}

/* ── Form elements ── */
.pp-field-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.pp-row-spaced {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
.pp-label {
  font-size: 12px;
  font-weight: 600;
  color: #9395B0;
  letter-spacing: 0.03em;
}
.pp-input, .pp-select, .pp-textarea {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 10px 14px;
  color: #F0F0FF;
  font-size: 13px;
  font-family: inherit;
  transition: border-color 0.18s, box-shadow 0.18s;
  outline: none;
  box-sizing: border-box;
}
.pp-input:focus, .pp-select:focus, .pp-textarea:focus {
  border-color: #6C63FF;
  box-shadow: 0 0 0 3px rgba(108,99,255,0.18);
}
.pp-input[type="date"] { color-scheme: dark; }
.pp-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239395B0' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}
.pp-select-sm { width: auto; min-width: 110px; padding: 7px 30px 7px 10px; font-size: 12px; }
.pp-textarea  { resize: vertical; min-height: 100px; line-height: 1.5; }
.pp-char-count { font-size: 11px; color: #5C5E7A; text-align: right; margin-top: -8px; }

.pp-inline-edit { display: flex; gap: 8px; }
.pp-inline-edit .pp-input { flex: 1; }

/* ── Buttons ── */
.pp-btn {
  padding: 10px 18px;
  border-radius: 10px;
  border: none;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s, transform 0.12s, opacity 0.18s;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.pp-btn:active { transform: scale(0.97); }
.pp-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.pp-btn-primary {
  background: linear-gradient(135deg, #6C63FF, #4F46E5);
  color: #fff;
  box-shadow: 0 4px 14px rgba(108,99,255,0.35);
}
.pp-btn-primary:hover:not(:disabled) {
  box-shadow: 0 4px 20px rgba(108,99,255,0.55);
  background: linear-gradient(135deg, #7C73FF, #5F56F5);
}
.pp-btn-sm { padding: 8px 14px; font-size: 12px; }
.pp-btn-full { width: 100%; }
.pp-btn-danger {
  background: linear-gradient(135deg, #E63946, #c1121f);
  color: #fff;
  box-shadow: 0 4px 14px rgba(230,57,70,0.3);
}
.pp-btn-danger:hover:not(:disabled) { box-shadow: 0 4px 20px rgba(230,57,70,0.5); }
.pp-btn-danger-outline {
  background: rgba(230,57,70,0.08);
  border: 1px solid rgba(230,57,70,0.3);
  color: #F07167;
}
.pp-btn-danger-outline:hover:not(:disabled) {
  background: rgba(230,57,70,0.15);
  border-color: rgba(230,57,70,0.5);
}

/* ── Meta rows ── */
.pp-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  gap: 12px;
}
.pp-meta-row:last-child { border-bottom: none; }
.pp-meta-label { font-size: 12px; color: #5C5E7A; font-weight: 500; }
.pp-meta-value { font-size: 13px; color: #F0F0FF; font-weight: 500; text-align: right; }
.pp-clean-badge {
  font-size: 12px;
  font-weight: 700;
  color: #00C9A7;
  background: rgba(0,201,167,0.1);
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid rgba(0,201,167,0.25);
}

/* ── Recovery stats ── */
.pp-recovery-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}
.pp-stat-card {
  background: rgba(244,162,97,0.07);
  border: 1px solid rgba(244,162,97,0.2);
  border-radius: 12px;
  padding: 12px 14px;
  text-align: center;
}
.pp-stat-value { font-size: 14px; font-weight: 700; color: #F4A261; line-height: 1.2; }
.pp-stat-label { font-size: 11px; color: #9395B0; margin-top: 4px; }
.pp-warning-note {
  background: rgba(244,162,97,0.08);
  border: 1px solid rgba(244,162,97,0.25);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 12px;
  color: #F4A261;
  margin-bottom: 14px;
  line-height: 1.5;
}

/* ── Pref groups ── */
.pp-pref-group {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.pp-pref-group:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.pp-pref-group-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #5C5E7A;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ── Toggle switch ── */
.pp-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  cursor: pointer;
  gap: 12px;
}
.pp-toggle-label { font-size: 13px; color: #C8C9E0; flex: 1; }
.pp-toggle-wrap  { position: relative; flex-shrink: 0; }
.pp-toggle       { position: absolute; opacity: 0; width: 0; height: 0; }
.pp-slider {
  display: block;
  width: 42px;
  height: 24px;
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  position: relative;
  transition: background 0.22s, border-color 0.22s;
}
.pp-slider::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #5C5E7A;
  transition: left 0.22s cubic-bezier(0.4,0,0.2,1), background 0.22s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.pp-toggle:checked + .pp-slider {
  background: rgba(108,99,255,0.3);
  border-color: rgba(108,99,255,0.5);
}
.pp-toggle:checked + .pp-slider::after {
  left: 21px;
  background: #6C63FF;
  box-shadow: 0 0 8px rgba(108,99,255,0.6);
}
.pp-toggle:focus-visible + .pp-slider {
  box-shadow: 0 0 0 3px rgba(108,99,255,0.35);
}

/* ── AI level picker ── */
.pp-ai-levels { display: flex; flex-direction: column; gap: 8px; }
.pp-ai-option {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s;
}
.pp-ai-option.is-active {
  border-color: rgba(0,201,167,0.4);
  background: rgba(0,201,167,0.07);
}
.pp-radio-hidden { position: absolute; opacity: 0; width: 0; height: 0; }
.pp-ai-label { font-size: 13px; font-weight: 600; color: #F0F0FF; }
.pp-ai-desc  { font-size: 11px; color: #9395B0; }
.pp-ai-option.is-active .pp-ai-label { color: #00C9A7; }

/* ── Password strength ── */
.pp-pw-strength {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  margin-top: -6px;
}
.pp-strength-bar {
  height: 4px;
  border-radius: 2px;
  background: #E63946;
  transition: width 0.3s, background 0.3s;
  flex: 1;
}
#pp-strength-label { font-size: 11px; color: #9395B0; white-space: nowrap; }

/* ── MFA section ── */
.pp-staff-badge {
  background: rgba(167,139,250,0.15);
  border: 1px solid rgba(167,139,250,0.3);
  color: #A78BFA;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.pp-mfa-status {
  padding: 12px 14px;
  background: rgba(167,139,250,0.06);
  border: 1px solid rgba(167,139,250,0.18);
  border-radius: 10px;
  margin-bottom: 10px;
  font-size: 13px;
  color: #C8C9E0;
  min-height: 42px;
}
.pp-mfa-enabled  { color: #00C9A7; font-weight: 600; }
.pp-mfa-disabled { color: #F4A261; font-weight: 600; }

/* ── Sessions list ── */
.pp-sessions-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.pp-session-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  gap: 10px;
}
.pp-session-item.is-current { border-color: rgba(0,201,167,0.3); background: rgba(0,201,167,0.06); }
.pp-session-info { flex: 1; min-width: 0; }
.pp-session-device { font-size: 12px; font-weight: 600; color: #F0F0FF; }
.pp-session-meta   { font-size: 11px; color: #5C5E7A; margin-top: 2px; }
.pp-session-current-tag {
  font-size: 10px;
  font-weight: 700;
  color: #00C9A7;
  background: rgba(0,201,167,0.12);
  border: 1px solid rgba(0,201,167,0.25);
  padding: 2px 8px;
  border-radius: 20px;
  white-space: nowrap;
}
.pp-btn-revoke {
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 6px;
  background: rgba(230,57,70,0.1);
  border: 1px solid rgba(230,57,70,0.25);
  color: #F07167;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}
.pp-btn-revoke:hover { background: rgba(230,57,70,0.2); }

/* ── Privacy ── */
.pp-privacy-notice {
  font-size: 12px;
  color: #9395B0;
  line-height: 1.6;
  margin-bottom: 16px;
  padding: 12px 14px;
  background: rgba(82,183,136,0.06);
  border: 1px solid rgba(82,183,136,0.18);
  border-radius: 10px;
}
.pp-privacy-links { display: flex; gap: 16px; margin-top: 16px; }
.pp-link {
  font-size: 12px;
  color: #6C63FF;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s;
}
.pp-link:hover { color: #A78BFA; text-decoration: underline; }

/* ── Support ── */
.pp-support-intro {
  font-size: 12px;
  color: #9395B0;
  line-height: 1.5;
  margin-bottom: 14px;
}
.pp-support-confirm {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(0,201,167,0.08);
  border: 1px solid rgba(0,201,167,0.25);
  border-radius: 10px;
  font-size: 13px;
  color: #00C9A7;
  margin-top: 12px;
  font-weight: 500;
}
.pp-confirm-icon { font-size: 18px; }

/* ── Skeleton loader ── */
.pp-skeleton {
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(90deg,
    rgba(255,255,255,0.04) 25%,
    rgba(255,255,255,0.08) 50%,
    rgba(255,255,255,0.04) 75%
  );
  background-size: 200% 100%;
  animation: ppSkeleton 1.4s infinite;
  margin-bottom: 6px;
}
@keyframes ppSkeleton {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}

/* ── Toast ── */
.thrive-pp-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: rgba(20, 19, 50, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(108,99,255,0.35);
  color: #F0F0FF;
  padding: 11px 22px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.28s, transform 0.28s cubic-bezier(0.4,0,0.2,1);
  pointer-events: none;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 0 1px rgba(108,99,255,0.12);
  white-space: nowrap;
  max-width: 90vw;
  text-align: center;
}
.thrive-pp-toast.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.thrive-pp-toast.is-error {
  border-color: rgba(230,57,70,0.4);
  background: rgba(30, 10, 14, 0.95);
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .pp-panel,
  .pp-overlay,
  .pp-section-body,
  .pp-avatar-ring,
  .thrive-pp-toast,
  .pp-chevron,
  .pp-toggle .pp-slider {
    transition: none !important;
    animation: none !important;
  }
}
[data-reduce-motion="true"] .pp-panel,
[data-reduce-motion="true"] .pp-overlay { transition: none !important; }
