.hlaf { margin: .65rem 0 1rem; font: inherit; font-size: .875em; line-height: 1.6; color: inherit; text-align: start; }
.hlaf *, .hlaf *::before, .hlaf *::after { box-sizing: border-box; }
.hlaf [hidden] { display: none !important; }
.hlaf-toolbar, .hlaf-actions { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: flex-end; align-items: center; }
.hlaf-button { font: inherit; color: inherit; background: transparent; border: 1px solid currentColor; border-radius: 5px; padding: .45em .8em; margin: 0; width: auto; height: auto; line-height: 1.45; cursor: pointer; box-shadow: none; text-transform: none; white-space: normal; }
.hlaf-button:focus-visible, .hlaf-input:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.hlaf-button:disabled { opacity: .5; cursor: not-allowed; }
.hlaf-primary { background: var(--hlaf-accent, #20242a); color: var(--hlaf-on-accent, #fff); border-color: var(--hlaf-accent, #20242a); }
.hlaf-notice, .hlaf-status { font-size: .9em; margin: .4em 0 0; opacity: .85; overflow-wrap: anywhere; }
.hlaf-status:empty { display: none; }
.hlaf-error { opacity: 1; font-weight: 600; }
.hlaf-panel {
  border: 1px solid var(--color-accent, #2B93DB);
  border-radius: 8px;
  padding: 1rem 1rem 1.05rem;
  margin-top: .75rem;
  background: var(--hlaf-panel-bg, #fff);
  box-shadow: 0 8px 24px rgba(27, 51, 69, .14);
}
.hlaf-heading { font: inherit; font-weight: 700; margin: 0 0 .35rem; }
.hlaf-preview-label { display: block; font: inherit; font-size: .92em; margin: 0 0 .35rem; opacity: .85; }
.hlaf textarea.hlaf-preview {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 8.5em;
  height: auto;
  margin: 0;
  padding: .8rem;
  font: inherit;
  font-size: 14px;
  line-height: 1.6;
  color: inherit;
  background: var(--hlaf-preview-bg, rgba(127, 127, 127, .09));
  border: 1px solid var(--hlaf-border, var(--color-border, #a0a0a0));
  border-radius: 4px;
  resize: vertical;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  box-shadow: none;
}
.hlaf textarea.hlaf-preview:focus {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
.hlaf textarea.hlaf-preview:disabled {
  opacity: .7;
  cursor: wait;
}
.hlaf-questions-title { margin: .9rem 0 .5rem; font-weight: 600; }
.hlaf-question { margin: .65rem 0; }
.hlaf-label { display: block; font: inherit; margin: 0 0 .25rem; }
/* Beat theme input[type="text"] { padding: 20px 15px; font-size: 16px; } */
.hlaf input.hlaf-input[type="text"] {
  width: 100%;
  max-width: 100%;
  min-height: 0;
  height: auto;
  font: inherit;
  font-size: 14px;
  line-height: 1.5;
  color: inherit;
  background: #fff;
  border: 1px solid var(--hlaf-border, var(--color-border, #a0a0a0));
  border-radius: var(--radius-sm, 4px);
  padding: 12px;
  margin: 0;
  box-shadow: none;
}
.hlaf input.hlaf-input[type="text"]:focus {
  border-color: var(--hlaf-border, var(--color-border, #a0a0a0));
  box-shadow: none;
}
@media (max-width: 768px) {
  .hlaf input.hlaf-input[type="text"] { padding: 10px; font-size: 14px; }
}
.hlaf-actions { margin-top: .9rem; }
@media (max-width: 480px) { .hlaf-panel { padding: .7rem; } .hlaf-actions { justify-content: stretch; } .hlaf-actions .hlaf-button { flex: 1 1 auto; } }
