/* Generic overlay/dialog shell — billing, profile, onboarding, admin and the
   raw admin persona editor. Chat and the creator are stage panels instead. */

.overlay { position: fixed; inset: 0; background: rgb(var(--veil) / .72); display: none; align-items: center; justify-content: center; z-index: 40; padding: 16px; }
.overlay.show { display: flex; }
.dialog {
  background: var(--panel); border: 1px solid var(--border); border-radius: 22px; padding: 26px;
  width: min(560px, 94vw); display: flex; flex-direction: column; gap: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
}
.dialog h2 { font-size: 26px; line-height: 1.15; }
.dialog h2.section { font-family: var(--font-ui); font-size: 14px; font-weight: 600; line-height: 1.4; }
.dialog-head { display: flex; align-items: center; gap: 8px; }
.dialog-head h2 { flex: 1; }
.field { display: flex; flex-direction: column; gap: 6px; }

/* Add / edit character (admin persona editor) — taller than a plain dialog. */
.char-dialog { max-height: 92vh; overflow-y: auto; }
.field-row { display: flex; gap: 10px; }
.field-row > * { flex: 1; min-width: 0; }
