.tq-nf { scroll-margin-top: 120px; }
.tq-nf-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.tq-nf-wide { grid-column: 1 / -1; min-width: 0; }
.tq-nf-field { min-width: 0; }
@media (min-width: 480px) {
  .tq-nf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.tq-nf label { display: block; margin: 0 0 6px; font-size: 14px; font-weight: 600; }
.tq-nf :is(input:not([type="hidden"]), textarea) {
  display: block; width: 100%; min-width: 0; min-height: 44px; padding: 10px 12px;
  border: 1px solid #d8b9bd; border-radius: 5px; background: #fff; color: #4a0e13;
  box-sizing: border-box; font: inherit;
}
.tq-nf input[type="file"] { max-width: 100%; }
.tq-nf small { display: block; margin-top: 6px; }
.tq-nf button[type="submit"] {
  min-height: 44px; padding: 10px 18px; border: 1px solid #400710; border-radius: 5px;
  background: #400710; color: #fff; font: inherit; cursor: pointer;
}
.tq-nf button[type="submit"]:hover { background: #2a040a; color: #fff; }
.tq-nf :focus-visible { outline: 2px solid #702229; outline-offset: 3px; }
.tq-nf-privacy { margin: 0 0 10px; font-size: 14px; }
.tq-nf-notice { border: 1px solid #d8b9bd; border-radius: 5px; padding: 12px; background: #faf7f7; color: #400710; }
.tq-nf-error { border-color: #702229; }
.tq-nf-trap { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
