/* User-Admin · App-spezifische Ergänzungen über der Shared-Shell.
 * Layout, Buttons, Tables, Pills kommen aus shared/shell.css.
 */

.input--search {
  max-width: 360px;
}

/* ──────────────────────────────────────────────────────────────
   Personality-Tab styles — migriert aus
   src/atrium_core/ui/profile/style.css am 2026-04-30
   ──────────────────────────────────────────────────────────── */

/* /app/profile/ — Mein-Profil-Page Styling. UX-polished version. */

/* Center column on desktop, breathing room. */
.profile-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 20px 80px;
}

@media (max-width: 640px) {
  .profile-main { padding: 16px 12px 60px; }
}

/* ── Hero ─────────────────────────────────────────────────────── */

.profile-hero {
  text-align: center;
  margin-bottom: 40px;
  padding: 24px 16px 8px;
}

.profile-hero-icon {
  display: inline-flex;
  width: 72px;
  height: 72px;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: var(--surface-canvas, #f3f4f6);
  border: 1px solid var(--border-subtle, #e5e7eb);
  color: var(--text-primary, #0f172a);
  margin-bottom: 20px;
}
body.theme-dark .profile-hero-icon {
  background: rgba(148, 163, 184, 0.10);
  border-color: rgba(148, 163, 184, 0.20);
  color: var(--text-primary, #f1f5f9);
}

.profile-hero-title {
  margin: 0 auto 14px;
  max-width: 540px;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--text-primary, #0f172a);
  line-height: 1.25;
}

.profile-hero-sub {
  margin: 0 auto;
  max-width: 540px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary, #475569);
}
.profile-hero-sub strong {
  color: var(--text-primary, #0f172a);
  font-weight: 600;
}
body.theme-dark .profile-hero-sub strong {
  color: var(--text-primary, #f1f5f9);
}

/* ── Loading ─────────────────────────────────────────────────── */

.profile-loading {
  padding: 40px;
  text-align: center;
  font-size: 14px;
}

/* ── Sections / cards ────────────────────────────────────────── */

.profile-section { margin-bottom: 20px; }

.profile-card {
  padding: 24px;
  background: var(--surface-elevated, #fff);
  border: 1px solid var(--border-subtle, #e5e7eb);
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
  transition: border-color 0.2s, box-shadow 0.2s;
}
body.theme-dark .profile-card {
  background: rgba(148, 163, 184, 0.04);
  border-color: rgba(148, 163, 184, 0.15);
  box-shadow: none;
}

.profile-card-head { margin-bottom: 16px; }

.profile-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary, #0f172a);
  letter-spacing: -0.01em;
}

.profile-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
}

/* Master-toggle card mood states */
.profile-card--toggle.is-active {
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.12),
              0 1px 2px rgba(0, 0, 0, 0.02);
}
body.theme-dark .profile-card--toggle.is-active {
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.20);
}
.profile-card--toggle.is-paused-state {
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.10),
              0 1px 2px rgba(0, 0, 0, 0.02);
}
body.theme-dark .profile-card--toggle.is-paused-state {
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.18);
}

/* ── Master-Toggle ───────────────────────────────────────────── */

.profile-toggle-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  justify-content: space-between;
}
.profile-toggle-label { flex: 1; min-width: 0; }
.profile-toggle-explanation {
  margin: 4px 0 0;
  font-size: 13.5px;
  line-height: 1.55;
}

/* iOS-style toggle, more polished */
.profile-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 28px;
  flex-shrink: 0;
  cursor: pointer;
}
.profile-switch input { opacity: 0; width: 0; height: 0; }
.profile-switch-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: #cbd5e1;
  transition: 0.25s;
  border-radius: 999px;
}
body.theme-dark .profile-switch-slider {
  background: rgba(148, 163, 184, 0.4);
}
.profile-switch-slider::before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 3px;
  top: 3px;
  background: white;
  transition: 0.25s;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}
.profile-switch input:checked + .profile-switch-slider {
  background: #10b981;
}
.profile-switch input:checked + .profile-switch-slider::before {
  transform: translateX(20px);
}

/* ── Status-Row + Pause-Buttons ──────────────────────────────── */

.profile-status-row {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle, #e5e7eb);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}
body.theme-dark .profile-status-row {
  border-top-color: rgba(148, 163, 184, 0.15);
}

.profile-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  font-size: 12.5px;
  font-weight: 500;
  border-radius: 999px;
}
.profile-status-pill.is-active {
  background: rgba(16, 185, 129, 0.10);
  color: #047857;
}
body.theme-dark .profile-status-pill.is-active {
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
}
.profile-status-pill.is-paused {
  background: rgba(245, 158, 11, 0.12);
  color: #92400e;
}
body.theme-dark .profile-status-pill.is-paused {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
}
.profile-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}
.profile-status-pill.is-active .profile-status-dot {
  animation: profile-pulse 2.4s ease-in-out infinite;
}
@keyframes profile-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.profile-pause-buttons {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.profile-pause-label {
  font-size: 12px;
  color: var(--text-secondary, #475569);
}

.profile-pause-btn,
.profile-resume-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid var(--border-subtle, #e5e7eb);
  background: var(--surface-canvas, #f9fafb);
  color: var(--text-secondary, #475569);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.12s;
  font-family: inherit;
}
.profile-pause-btn:hover {
  background: var(--surface-elevated, #fff);
  border-color: var(--text-primary, #0f172a);
  color: var(--text-primary, #0f172a);
}
body.theme-dark .profile-pause-btn,
body.theme-dark .profile-resume-btn {
  background: rgba(148, 163, 184, 0.08);
  border-color: rgba(148, 163, 184, 0.20);
  color: var(--text-secondary, #cbd5e1);
}
body.theme-dark .profile-pause-btn:hover {
  background: rgba(148, 163, 184, 0.18);
  color: var(--text-primary, #f1f5f9);
}
.profile-resume-btn {
  background: var(--text-primary, #0f172a);
  color: var(--surface-elevated, #fff);
  border-color: var(--text-primary, #0f172a);
}
.profile-resume-btn:hover {
  filter: brightness(1.15);
  color: var(--surface-elevated, #fff);
}
body.theme-dark .profile-resume-btn {
  background: var(--text-primary, #f4f5f7);
  color: var(--surface-canvas, #0c0e12);
  border-color: var(--text-primary, #f4f5f7);
}

/* ── Editor ──────────────────────────────────────────────────── */

.profile-example-wrap {
  position: relative;
  margin-bottom: 12px;
}
.profile-example-tag {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-secondary, #475569);
  background: var(--surface-elevated, #fff);
  padding: 2px 6px;
  border-radius: 4px;
}
body.theme-dark .profile-example-tag {
  background: rgba(148, 163, 184, 0.18);
  color: var(--text-secondary, #cbd5e1);
}

.profile-example {
  margin: 0;
  padding: 16px 20px;
  background: var(--surface-canvas, #f3f4f6);
  border: 1px dashed var(--border-subtle, #e5e7eb);
  border-radius: 10px;
  font-size: 13px;
  font-family: inherit;
  color: var(--text-secondary, #475569);
  white-space: pre-wrap;
  line-height: 1.6;
}
body.theme-dark .profile-example {
  background: rgba(148, 163, 184, 0.05);
  border-color: rgba(148, 163, 184, 0.20);
  color: var(--text-secondary, #cbd5e1);
}

.profile-editor {
  width: 100%;
  padding: 16px;
  border: 1px solid var(--border-subtle, #e5e7eb);
  border-radius: 10px;
  font-size: 14.5px;
  font-family: inherit;
  resize: vertical;
  min-height: 220px;
  background: var(--surface-canvas, #fff);
  color: var(--text-primary, #0f172a);
  line-height: 1.6;
  transition: border-color 0.15s, box-shadow 0.15s;
  box-sizing: border-box;
}
body.theme-dark .profile-editor {
  background: rgba(15, 23, 42, 0.4);
  border-color: rgba(148, 163, 184, 0.20);
  color: var(--text-primary, #f1f5f9);
}
.profile-editor:focus {
  outline: none;
  border-color: var(--text-primary, #0f172a);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}
body.theme-dark .profile-editor:focus {
  border-color: rgba(148, 163, 184, 0.6);
  box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.15);
}

.profile-editor-meta {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* Token-Bar — visual progress, ersetzt nur-Text-Counter */
.profile-token-bar {
  flex: 1;
  min-width: 80px;
  height: 6px;
  background: var(--surface-canvas, #f3f4f6);
  border-radius: 999px;
  overflow: hidden;
}
body.theme-dark .profile-token-bar {
  background: rgba(148, 163, 184, 0.15);
}
.profile-token-bar-fill {
  height: 100%;
  background: var(--text-primary, #0f172a);
  border-radius: 999px;
  transition: width 0.2s ease, background 0.2s;
}
body.theme-dark .profile-token-bar-fill {
  background: var(--text-primary, #f4f5f7);
}
.profile-token-bar-fill.is-over {
  background: #dc2626;
}

.profile-token-counter {
  font-size: 12px;
  color: var(--text-secondary, #475569);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.profile-token-counter.is-over {
  color: #dc2626;
  font-weight: 600;
}

.profile-saved-hint {
  font-size: 12px;
  flex-shrink: 0;
}

.profile-save-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--text-primary, #0f172a);
  background: var(--text-primary, #0f172a);
  color: var(--surface-elevated, #fff);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.12s;
  font-family: inherit;
}
.profile-save-btn:hover:not(:disabled) {
  filter: brightness(1.15);
}
.profile-save-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
body.theme-dark .profile-save-btn {
  background: var(--text-primary, #f4f5f7);
  color: var(--surface-canvas, #0c0e12);
  border-color: var(--text-primary, #f4f5f7);
}

/* ── Trust / Datenschutz-Card ───────────────────────────────── */

.profile-trust {
  padding: 20px 24px;
  background: rgba(16, 185, 129, 0.04);
  border: 1px solid rgba(16, 185, 129, 0.20);
  border-radius: 12px;
}
body.theme-dark .profile-trust {
  background: rgba(16, 185, 129, 0.06);
  border-color: rgba(16, 185, 129, 0.25);
}

.profile-trust-title {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary, #0f172a);
  letter-spacing: 0.01em;
}
body.theme-dark .profile-trust-title { color: var(--text-primary, #f1f5f9); }

.profile-trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.profile-trust-list li {
  display: flex;
  gap: 10px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-secondary, #475569);
}
body.theme-dark .profile-trust-list li {
  color: var(--text-secondary, #cbd5e1);
}
.profile-trust-list strong {
  color: var(--text-primary, #0f172a);
  font-weight: 600;
}
body.theme-dark .profile-trust-list strong {
  color: var(--text-primary, #f1f5f9);
}
.profile-trust-list svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 3px;
  color: #047857;
}
body.theme-dark .profile-trust-list svg { color: #6ee7b7; }

/* ── Reset (quiet danger) ────────────────────────────────────── */

.profile-card--quiet-danger {
  background: transparent;
  border: 1px dashed rgba(239, 68, 68, 0.30);
  box-shadow: none;
}
body.theme-dark .profile-card--quiet-danger {
  border-color: rgba(239, 68, 68, 0.35);
}

.profile-reset-btn {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid rgba(239, 68, 68, 0.4);
  background: transparent;
  color: #dc2626;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.12s;
  font-family: inherit;
}
.profile-reset-btn:hover {
  background: #dc2626;
  color: white;
  border-color: #dc2626;
}
body.theme-dark .profile-reset-btn {
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 0.45);
}
body.theme-dark .profile-reset-btn:hover {
  background: #dc2626;
  color: white;
  border-color: #dc2626;
}

/* ── Extract-Toggle-Card ─────────────────────────────────────── */

.profile-card--extract.is-disabled {
  opacity: 0.6;
  background: var(--surface-canvas, #f9fafb);
}
body.theme-dark .profile-card--extract.is-disabled {
  background: rgba(148, 163, 184, 0.05);
}

.profile-card--extract.is-active-extract {
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.15),
              0 1px 2px rgba(0, 0, 0, 0.02);
}
body.theme-dark .profile-card--extract.is-active-extract {
  border-color: rgba(59, 130, 246, 0.45);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.20);
}

.profile-switch.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ── Observations-Liste ──────────────────────────────────────── */

.profile-obs-head { margin-bottom: 16px; }

.profile-obs-empty {
  padding: 24px 0;
  text-align: center;
  font-size: 13px;
}

.profile-obs-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.profile-obs-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--border-subtle, #e5e7eb);
  background: var(--surface-canvas, #f9fafb);
  border-radius: 10px;
}
body.theme-dark .profile-obs-item {
  border-color: rgba(148, 163, 184, 0.15);
  background: rgba(148, 163, 184, 0.04);
}

.profile-obs-content { flex: 1; min-width: 0; }

.profile-obs-text {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-primary, #0f172a);
}
body.theme-dark .profile-obs-text { color: var(--text-primary, #f1f5f9); }

.profile-obs-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.profile-obs-pill {
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 500;
  border-radius: 999px;
  background: var(--surface-elevated, #fff);
  border: 1px solid var(--border-subtle, #e5e7eb);
  color: var(--text-secondary, #475569);
  white-space: nowrap;
}
body.theme-dark .profile-obs-pill {
  background: rgba(148, 163, 184, 0.10);
  border-color: rgba(148, 163, 184, 0.20);
  color: var(--text-secondary, #cbd5e1);
}
.profile-obs-pill.is-konfidenz {
  background: rgba(59, 130, 246, 0.10);
  color: #1e3a8a;
  border-color: rgba(59, 130, 246, 0.30);
}
body.theme-dark .profile-obs-pill.is-konfidenz {
  background: rgba(59, 130, 246, 0.15);
  color: #93c5fd;
  border-color: rgba(59, 130, 246, 0.35);
}

.profile-obs-meta-date {
  font-size: 11px;
  margin-left: auto;
}

.profile-obs-forget {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  color: var(--text-secondary, #475569);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.12s;
}
.profile-obs-forget:hover {
  background: rgba(239, 68, 68, 0.10);
  color: #dc2626;
}
body.theme-dark .profile-obs-forget {
  color: var(--text-secondary, #cbd5e1);
}

.profile-obs-bulk {
  margin-top: 16px;
  text-align: right;
}
.profile-obs-bulk-btn {
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid rgba(239, 68, 68, 0.30);
  background: transparent;
  color: #dc2626;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.12s;
}
.profile-obs-bulk-btn:hover {
  background: #dc2626;
  color: white;
  border-color: #dc2626;
}
body.theme-dark .profile-obs-bulk-btn {
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 0.40);
}

/* === Personality Observations — Accept-Flow (Phase 4.5d-3) === */

.profile-obs-section {
  margin-top: var(--space-4, 1rem);
}

.profile-obs-section-head {
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer;
  padding: var(--space-2, .5rem) 0;
  font-weight: 600;
}
.profile-obs-section-chev {
  transition: transform .15s ease;
}
.profile-obs-section-chev.is-collapsed {
  transform: rotate(-90deg);
}

/* Override old red bulk-btn — now it's the blue "accept selected" button */
.profile-obs-bulk-toolbar {
  display: flex; align-items: center; gap: var(--space-3, .75rem);
  padding: var(--space-2, .5rem) 0;
  border-bottom: 1px solid var(--c-border, #e5e7eb);
  margin-bottom: var(--space-2, .5rem);
}
.profile-obs-bulk-checkbox {
  display: flex; align-items: center; gap: var(--space-1, .25rem);
  cursor: pointer;
}
/* Override — new bulk-btn is the blue "accept selected" action */
.profile-obs-bulk-btn {
  margin-left: auto;
  padding: .35rem .75rem;
  background: var(--c-accent, #3b82f6);
  color: white;
  border: none; border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  transition: all .12s;
}
.profile-obs-bulk-btn:hover:not(:disabled) {
  filter: brightness(1.1);
}
.profile-obs-bulk-btn:disabled {
  opacity: .5; cursor: not-allowed;
}
body.theme-dark .profile-obs-bulk-btn {
  color: white;
  border-color: transparent;
}

.profile-obs-forget-all-btn {
  margin-top: var(--space-3, .75rem);
  background: transparent;
  color: var(--c-text-subtle, #6b7280);
  border: 1px solid var(--c-border, #e5e7eb);
  padding: .35rem .75rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  font-family: inherit;
  transition: all .12s;
}
.profile-obs-forget-all-btn:hover {
  border-color: rgba(239, 68, 68, 0.5);
  color: #dc2626;
}
body.theme-dark .profile-obs-forget-all-btn {
  border-color: rgba(148, 163, 184, 0.25);
  color: var(--text-secondary, #94a3b8);
}

.profile-obs-item.is-accepted {
  background: var(--c-accent-soft, #eff6ff);
  border-left: 3px solid var(--c-accent, #3b82f6);
}
body.theme-dark .profile-obs-item.is-accepted {
  background: rgba(59, 130, 246, 0.08);
  border-left-color: rgba(59, 130, 246, 0.6);
}

.profile-obs-icon-check {
  color: var(--c-accent, #3b82f6);
  font-weight: bold;
  margin-right: var(--space-2, .5rem);
  flex-shrink: 0;
}

.profile-obs-badge {
  font-size: .7rem;
  padding: .15rem .5rem;
  border-radius: 4px;
  background: var(--c-accent, #3b82f6);
  color: white;
  letter-spacing: .03em;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.profile-obs-actions {
  display: flex; align-items: center; gap: var(--space-2, .5rem);
  flex-shrink: 0;
}

.profile-obs-accept {
  background: var(--c-accent, #3b82f6);
  color: white;
  border: none; padding: .25rem .65rem;
  border-radius: 6px; cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  font-family: inherit;
  transition: all .12s;
  flex-shrink: 0;
}
.profile-obs-accept:hover:not(:disabled) {
  filter: brightness(1.1);
}
.profile-obs-accept:disabled {
  opacity: .5; cursor: not-allowed;
}

.profile-obs-checkbox {
  margin-right: var(--space-2, .5rem);
  flex-shrink: 0;
  cursor: pointer;
}

/* Block-Preview-Card */
.profile-managed-block-section {
  /* inherits .profile-section margin-bottom: 20px */
}

.profile-managed-block {
  border: 1px dashed var(--c-border, #e5e7eb);
  border-radius: 8px;
  padding: var(--space-3, .75rem) var(--space-4, 1rem);
  background: var(--c-surface-soft, #f9fafb);
}
body.theme-dark .profile-managed-block {
  border-color: rgba(148, 163, 184, 0.25);
  background: rgba(148, 163, 184, 0.04);
}

.profile-managed-block-head {
  display: flex; align-items: center; gap: var(--space-2, .5rem);
  margin-bottom: var(--space-2, .5rem);
}
.profile-managed-block-head h4 {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary, #0f172a);
}
body.theme-dark .profile-managed-block-head h4 {
  color: var(--text-primary, #f1f5f9);
}

.profile-managed-block-tooltip {
  cursor: help;
  color: var(--c-text-subtle, #6b7280);
  font-size: .85rem;
}

.profile-managed-block-body {
  font-size: .95rem;
  line-height: 1.5;
  color: var(--text-primary, #0f172a);
}
.profile-managed-block-body pre {
  white-space: pre-wrap;
  font-family: inherit;
  margin: 0;
}
body.theme-dark .profile-managed-block-body {
  color: var(--text-primary, #f1f5f9);
}

.profile-managed-block-footer {
  margin-top: var(--space-2, .5rem);
  font-size: .85rem;
  color: var(--text-secondary, #475569);
}
body.theme-dark .profile-managed-block-footer {
  color: var(--text-secondary, #94a3b8);
}
