/* form-kit — стили помощников формы (packages/form-kit/web/form-kit.js). Цвета — переменными: лендинг задаёт свои
   на форме или :root (--fk-ink, --fk-bg, --fk-hover, --fk-muted, --fk-accent, --fk-typo-bg, --fk-radius, --fk-shadow). */
.fk-wrap { position: relative; }
.fk-wrap > input { width: 100%; }

.fk-suggest { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 4px); margin: 0; padding: 6px 0; list-style: none;
  border-radius: var(--fk-radius, 12px); background: var(--fk-bg, #fff); color: var(--fk-ink, #111);
  box-shadow: var(--fk-shadow, 0 10px 30px rgba(0, 0, 0, .16), 0 0 0 1px rgba(0, 0, 0, .06)); max-height: 320px; overflow-y: auto; text-align: left; }
.fk-suggest[hidden] { display: none; }
.fk-suggest li { padding: 10px 16px; font-size: 16px; line-height: 1.25; cursor: pointer; }
.fk-suggest li small { display: block; margin-top: 2px; color: var(--fk-muted, #6b6f76); font-size: 13px; }
.fk-suggest li[aria-selected="true"], .fk-suggest li:hover { background: var(--fk-hover, #f1f3f6); }
.fk-suggest mark { background: none; color: inherit; font-weight: 700; }

/* Телефон: кнопки доменов НАД полем — под полем их закрывает клавиатура */
.fk-chips { position: absolute; z-index: 30; left: 0; right: 0; bottom: calc(100% + 6px); display: flex; gap: 6px; flex-wrap: nowrap; overflow: hidden; }
.fk-chips[hidden] { display: none; }
.fk-chip { flex: 0 0 auto; height: 36px; padding: 0 12px; border: 0; border-radius: 18px; font: inherit; font-size: 15px; cursor: pointer;
  background: var(--fk-bg, #fff); color: var(--fk-ink, #111); box-shadow: var(--fk-shadow, 0 4px 14px rgba(0, 0, 0, .14), 0 0 0 1px rgba(0, 0, 0, .06)); }
.fk-chip:active { background: var(--fk-hover, #f1f3f6); }

.fk-typo { margin: 8px 0 0; padding: 10px 12px; border-radius: var(--fk-radius, 12px); background: var(--fk-typo-bg, #fff6d6);
  color: var(--fk-ink, #111); font-size: 15px; line-height: 1.35; text-align: left; }
.fk-typo[hidden] { display: none; }
.fk-typo b { overflow-wrap: anywhere; }
.fk-typo__btns { display: flex; flex-wrap: wrap; gap: 4px 22px; margin-top: 8px; }
.fk-link { padding: 8px 0; margin: -8px 0; border: 0; background: none; font: inherit; font-weight: 700; color: var(--fk-accent, currentColor);
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.fk-hint { margin: 6px 2px 0; color: var(--fk-muted, #6b6f76); font-size: 14px; line-height: 1.3; text-align: left; }
.fk-hint[hidden] { display: none; }

/* Дата: значок календаря справа, поверх — прозрачный системный выбор даты */
.fk-wrap--date > input:not(.fk-date-pick) { padding-right: 48px; }
.fk-wrap--date::after { content: ''; position: absolute; right: 14px; top: 50%; width: 22px; height: 22px; margin-top: -11px; pointer-events: none; opacity: .55;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='3'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
/* .fk-wrap > — чтобы перебить стили лендинга вида «.field input» (иначе прозрачный выбор даты растягивается на всё поле) */
.fk-wrap > .fk-date-pick { position: absolute; right: 4px; top: 50%; width: 44px; height: 44px; margin: -22px 0 0; padding: 0; border: 0; opacity: 0; cursor: pointer;
  background: none; color: transparent; font-size: 16px; }
.fk-wrap > .fk-date-pick::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: auto; height: auto; margin: 0; padding: 0; cursor: pointer; }
