.bela-profile {
  --profile-surface: #fff9fc;
  --profile-edge: #ead9e2;
  --profile-muted: #705764;
  --profile-accent: #81264f;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 15px;
  align-items: start;
  margin-bottom: 20px;
}
.bela-profile--director {
  --profile-surface: #231f27;
  --profile-edge: #4f4050;
  --profile-muted: #c7b8c5;
  --profile-accent: #efb5c9;
}
.bela-profile__panel {
  min-width: 0;
  padding: 16px;
  background: var(--profile-surface);
  border: 1px solid var(--profile-edge);
  border-radius: 15px;
}
.bela-profile__form, .bela-profile__card { display: grid; gap: 12px; }
.bela-profile__panel h2 { margin: 0; font-size: 18px; }
.bela-profile__panel p { margin: 0; }
.bela-profile__note { color: var(--profile-muted); font-size: .85rem; }
.bela-profile__field { display: grid; gap: 5px; color: inherit; font-size: .85rem; font-weight: 700; }
.bela-profile__field input { width: 100%; }
.bela-profile__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.bela-profile__choice { display: flex; align-items: start; gap: 8px; width: fit-content; font-size: .85rem; }
.bela-profile__choice input { min-height: 0; width: auto; margin-top: 3px; accent-color: var(--profile-accent); }
.bela-profile__preview { display: grid; place-items: center; border-radius: 12px; overflow: hidden; }
.bela-profile__preview canvas { display: block; width: 100%; height: auto; }
.bela-profile__placeholder { min-height: 190px; display: grid; place-items: center; padding: 15px; text-align: center; }
.bela-profile__actions { display: flex; gap: 7px; flex-wrap: wrap; }
.bela-profile__panel .bela-profile__error { color: var(--profile-accent); font-weight: 750; }
.bela-profile [hidden] { display: none !important; }
@media (max-width: 790px) {
  .bela-profile { grid-template-columns: 1fr; }
}
@media (max-width: 430px) {
  .bela-profile__fields { grid-template-columns: 1fr; }
}
