/* Дети в профиле родителя: блок в профиле + окно выбора при записи. */
.palma-children { margin: 12px auto 16px; max-width: 420px; text-align: left; }
.palma-children__title { text-align: center; font-weight: 600; margin-bottom: 8px; }
.palma-children__cards { display: flex; flex-direction: column; gap: 8px; }
.palma-children__card { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px; border: 1px solid #e3e6ea; border-radius: 10px; background: #fff; }
.palma-children__card-name { font-weight: 600; }
.palma-children__card-date { font-size: 12px; color: #6c757d; }
.palma-children__card-actions { display: flex; gap: 6px; flex-shrink: 0; }
.palma-children__remove { color: #c0392b; }
.palma-children__empty { color: #6c757d; font-size: 13px; text-align: center; }
.palma-children__add { padding-left: 0; }
.palma-children__form { display: flex; flex-direction: column; gap: 10px; }
.palma-children__row { display: flex; gap: 10px; }
.palma-children__row .palma-children__field { flex: 1; min-width: 0; }
.palma-children__field { display: flex; flex-direction: column; gap: 4px; font-weight: 500; margin: 0; }
.palma-children__field input { width: 100%; }
.palma-children__hint { color: #6c757d; font-weight: 400; }
.palma-children__consent { color: #8a8f98; font-weight: 400; font-size: 11px; line-height: 1.3; }
.palma-children__error { color: #c0392b; font-size: 13px; }
.palma-children__actions { display: flex; gap: 8px; }
.palma-children__actions .btn { flex: 1; }
.palma-children__overlay { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 1060; display: flex; align-items: center; justify-content: center; padding: 16px; }
.palma-children__modal { background: #fff; border-radius: 14px; width: 100%; max-width: 420px; max-height: calc(100vh - 32px); overflow: auto; padding: 16px 18px 18px; box-shadow: 0 12px 40px rgba(0,0,0,.25); }
.palma-children__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.palma-children__head h4 { margin: 0; font-weight: 600; }
.palma-children__close { border: 0; background: none; font-size: 26px; line-height: 1; color: #888; padding: 0 4px; }
.palma-children__lead { color: #444; margin-bottom: 10px; }
.palma-children__list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 6px; }
.palma-children__pick { display: flex; justify-content: space-between; align-items: center; width: 100%; text-align: left; padding: 10px 12px; border: 1px solid #d9dde2; border-radius: 10px; background: #f8f9fa; font-size: 15px; }
.palma-children__pick:hover { border-color: #337ab7; background: #eef5fc; }
.palma-children__pick-name { font-weight: 600; }
.palma-children__pick-date { font-size: 12px; color: #6c757d; }
@media (max-width: 480px) { .palma-children__row { flex-direction: column; } }

/* «уже записан…» — подпись у выбранного ребёнка, своей строкой: рядом с именем
   она на телефоне ломала имя пополам («Артём / Гук»). */
.palma-children__pick-note{flex-basis:100%;font-size:12px;color:#8a6d1f;text-align:left;margin-top:2px}
.palma-children__pick{flex-wrap:wrap;gap:4px}
