.hf2-form { color: var(--text); padding-bottom: 8px; }
.hf2-form .hf2-auth { margin: 12px 0; padding: 12px 14px; border: 1px solid var(--soft-line); border-radius: 14px;
  background: var(--soft); color: var(--text); font-size: 14px; line-height: 1.4; }
.hf2-questions { display: grid; gap: 10px; margin-top: 16px; }
.hf2-form .hf2-question { margin: 0; padding: 13px; border: 1px solid var(--line); border-radius: 16px; background: var(--raise); }
.hf2-form .hf2-question legend { float: left; width: 100%; max-width: 100%; margin: 0; padding: 0 0 10px;
  color: var(--text); font-size: 15px; line-height: 1.35; }
.hf2-question .hf2-choices, .hf2-question .hf2-detail, .hf2-question > .hint { clear: both; }
.hf2-question > .hint { margin: 0 0 10px; font-size: 12.5px; line-height: 1.4; }
.hf2-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.hf2-choices-three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.hf2-choice { min-width: 0; min-height: 48px; padding: 7px 8px; border: 1.5px solid var(--line2); border-radius: 13px;
  background: var(--field); color: var(--text); font: 650 15px/1.2 var(--f-body); cursor: pointer; overflow-wrap: normal; }
.hf2-choice[data-hf2-value="na"] { font-size: 13px; min-width: 0; white-space: nowrap; }
.hf2-complaints .hf2-choice { text-align: left; font-size: 14px; overflow-wrap: anywhere; }
.hf2-choice[aria-pressed="true"] { border-color: var(--coral); background: var(--soft); color: var(--coral);
  box-shadow: 0 0 0 1px var(--coral) inset; }
.hf2-detail { margin-top: 10px; }
.hf2-detail label { display: block; margin-bottom: 5px; color: var(--text2); font-size: 13px; }
.hf2-detail input { width: 100%; min-height: 48px; box-sizing: border-box; padding: 10px 12px; border: 1.5px solid var(--line);
  border-radius: 12px; background: var(--field); color: var(--text); font: inherit; font-size: 16px; }
.hf2-detail .hint { margin: 5px 0 0; font-size: 12px; }
.hf2-form .hf2-other, .hf2-form .hf2-doctor { margin-top: 14px; padding: 13px; border: 1px solid var(--line);
  border-radius: 16px; background: var(--raise); }
.hf2-form textarea { min-height: 76px; background: var(--field); resize: vertical; }
.hf2-consents { display: grid; gap: 8px; margin-top: 14px; }
.hf2-consents h3 { margin: 0 0 4px; font-size: 16px; }
.hf2-consent-item { border: 1px solid var(--line); border-radius: 14px; background: var(--raise); }
.hf2-form .hf2-check { display: flex; gap: 10px; margin: 0; padding: 11px 12px; color: var(--text);
  font-size: 14px; line-height: 1.4; cursor: pointer; }
.hf2-form .hf2-check input { width: 22px; height: 22px; margin: 0; flex: 0 0 22px; }
.hf2-form .hf2-check span { min-width: 0; overflow-wrap: anywhere; }
.hf2-legal { margin: 0 12px 10px 44px; }
.hf2-legal summary { min-height: 32px; cursor: pointer; color: var(--coral); font-size: 13px; font-weight: 650; }
.hf2-legal-text { margin: 6px 0 0; padding-top: 10px; border-top: 1px solid var(--line); color: var(--text2);
  font-size: 13px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.hf2-footer { position: sticky; z-index: 2; bottom: -24px; margin: 16px -20px -24px; padding: 14px 20px 24px;
  border-top: 1px solid var(--line); background: var(--panel); box-shadow: 0 -12px 24px -20px rgba(0, 0, 0, .55); }
.hf2-form .hf2-revoke { margin: 12px 2px 0; color: var(--muted); font-size: 12px; line-height: 1.35; }
.hf2-form .hf2-actions { margin: 0; gap: 8px; }
.hf2-form .hf2-actions .btn { min-height: 52px; }
.hf2-form .hf2-actions .btn.primary[disabled], .hf2-form .hf2-actions .btn.primary[disabled]:hover {
  opacity: 1; cursor: not-allowed; background: var(--raise2); background-image: none; border-color: var(--line2);
  color: var(--muted); box-shadow: none; filter: none; }
.hf2-form .hf2-decline { margin-top: 12px; }
.hf2-form .hf2-decline .btn { min-height: 44px; }
.hf2-error:empty { display: none; }
.hf2-error, .hf2-missing { margin-top: 10px; }
.hf2-missing { padding: 8px 12px; border-radius: 12px; background: var(--soft); font-size: 13px; line-height: 1.4; }
.hf2-missing summary { min-height: 28px; cursor: pointer; color: var(--text); font-weight: 650; white-space: nowrap; }
.hf2-missing[open] summary { margin-bottom: 6px; }
.hf2-missing-list { display: grid; gap: 3px; }
.hf2-missing-list button { min-height: 32px; margin: 0; padding: 2px 0; border: 0; background: transparent; color: var(--coral);
  font: inherit; text-align: left; text-decoration: underline; cursor: pointer; }
.hf2-withdraw { margin: 12px 0; }
.hf2-file-hint { margin: 10px 0 6px; font-size: 12px; line-height: 1.4; }
.hf2-form .hf2-file-actions { margin-top: 8px; }
.hf2-form .hf2-file-actions .btn { min-height: 44px; }
.hf2-file-name { margin: 6px 0 0; overflow-wrap: anywhere; }
.hf2-file-name:empty { display: none; }
@media (max-width: 420px) {
  .hf2-form .hf2-question, .hf2-form .hf2-other, .hf2-form .hf2-doctor { padding: 11px; }
  .hf2-form .hf2-actions { flex-wrap: wrap; }
  .hf2-form .hf2-actions .btn { flex: 1 1 100%; }
}
@media (min-width: 768px) {
  .hf2-footer { bottom: -24px; }
}

/* u18z2 (P2): строка бонуса в расписании/записях - компактный чип в 1-2 строки, мелкий шрифт, без подчёркивания */
.hf-action-bonus-slot { margin: 6px 0 10px; }
.hf-action-bonus, .hf-action-bonus.linkbtn {
  display: block; width: 100%; max-width: 100%; box-sizing: border-box; text-align: left; text-decoration: none;
  font-size: 12px; line-height: 1.35; font-weight: 500; color: var(--text2, var(--text)); background: var(--soft, transparent);
  border: 1px solid var(--line, rgba(127,127,127,.3)); border-radius: 10px; padding: 6px 10px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
