.crm-entry-dock[hidden] { display: none !important; }
.crm-entry-type { display: none; }
#bd-entity-dialog.is-creating #bd-profile-overview { display: flex; flex-direction: column; }
#bd-entity-dialog.is-creating .bd-profile-names { order: -1; }
#bd-entity-dialog.is-creating .crm-entry-type { display: flex; gap: 4px; width: fit-content; margin-bottom: 16px; border: 1px solid var(--yma-line); border-radius: 28px; padding: 4px; }
.crm-entry-type button { background: transparent; border: 0; color: var(--black); min-height: 44px; padding: 8px 24px; border-radius: 24px; font: inherit; cursor: pointer; }
.crm-entry-type button[aria-pressed=true] { background: var(--black); color: var(--white); }
#bd-entity-dialog.is-creating .bd-type-row > label:first-child { display: none; }
#bd-entity-dialog.is-creating .bd-type-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.crm-entry-optional { margin-block: 16px; }
.crm-entry-optional h4 { font-size: 14px; color: var(--black); margin: 0 0 12px; }
@media (max-width: 760px) {
  body.yma-dashboard-ui.crm-entry-list-visible { padding-bottom: calc(152px + env(safe-area-inset-bottom)); }
  .crm-entry-dock { position: fixed; left: 0; right: 0; padding: 12px 16px; border-top: 1px solid var(--yma-line); background: var(--card); box-sizing: border-box; z-index: 110; }
  .crm-entry-list-dock { bottom: var(--yma-mobile-bar-height, calc(64px + env(safe-area-inset-bottom))); }
  .crm-entry-save-dock { bottom: var(--crm-entry-keyboard-inset, 0px); padding-bottom: max(12px, env(safe-area-inset-bottom)); }
  body.yma-dashboard-ui .crm-entry-dock > button { display: block; width: 100%; height: 48px; min-height: 48px; margin: 0; border-radius: 24px; background: #111; color: #fff; border: 0; font-size: 16px; }
  html[data-theme=dark] body.yma-dashboard-ui .crm-entry-dock > button { background: #eee7fb; color: #191326; }
  .crm-entry-dock :is(#bd-save-entity, #layer-provider-save-all, #bd-new-entity, #workspace-add-clinic) { font-size: 16px; font-weight: 600; }
  .yma-detail-screen-open #layer-profile-panel.is-creating,
  .yma-detail-screen-open #bd-entity-dialog.is-creating #bd-entity-form { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
  .yma-detail-screen-open :is(#layer-profile-panel, #bd-entity-form) { scroll-padding-bottom: 100px; }
  .yma-detail-screen-open :is(input, select, textarea) { scroll-margin-block: 80px 100px; }
  #bd-entity-dialog.is-creating .bd-type-row { grid-template-columns: minmax(0, 1fr); }
  .yma-detail-screen-open #layer-profile-panel.is-creating .layer-provider-head h3,
  .yma-detail-screen-open #bd-entity-dialog.is-creating #bd-entity-profile-kicker { display: none; }
  .yma-detail-screen-open #layer-profile-panel.is-creating #layer-provider-detail-summary { font-size: 22px; font-weight: 700; margin: 0; }
}
