.bf-export {
  margin: 0;
  background: #f2efe8;
  color: #252629;
  font: 16px/1.55 "Instrument Sans", system-ui, sans-serif;
}
.bf-export > main {
  max-width: 640px;
  margin: clamp(16px, 6vw, 72px) auto;
  padding: clamp(16px, 5vw, 48px);
  background: #fffefa;
  border: 1px solid #d7d4cc;
  border-radius: 18px;
  box-sizing: border-box;
}
.bf-form { color: #252629; font: 15px/1.5 "Instrument Sans", system-ui, sans-serif; }
.bf-form h2 {
  margin: 0 0 8px;
  font: 400 clamp(30px, 4vw, 47px)/1.03 "Instrument Serif", Georgia, serif;
  overflow-wrap: anywhere;
}
.bf-description { margin: 0 0 22px; color: #555a61; overflow-wrap: anywhere; }
.bf-fields { display: grid; gap: 14px; margin: 22px 0; }
.bf-form [hidden] { display: none !important; }
.bf-field { margin: 0; padding: 0; border: 0; min-width: 0; }
.bf-field > label, .bf-field legend { display: block; margin-bottom: 6px; font-weight: 650; overflow-wrap: anywhere; }
.bf-form input:not([type="radio"]):not([type="checkbox"]), .bf-form textarea, .bf-form select {
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
  min-height: 43px;
  border-radius: 7px;
  border: 1px solid #838a96;
  color: #252629;
  background: #fffefa;
  padding: 9px 11px;
  font: inherit;
}
.bf-form textarea { resize: vertical; }
.bf-field .bf-choice { display: flex; gap: 9px; align-items: baseline; margin: 5px 0; font-weight: 450; }
.bf-choice input { accent-color: #253d85; }
.bf-form [aria-invalid="true"] { outline: 2px solid #a33229; outline-offset: -2px; }
.bf-form :focus-visible { outline: 3px solid #5874d5; outline-offset: 2px; }
.bf-field-error, .bf-error, .bf-summary { color: #a02e25; }
.bf-field-error, .bf-summary, .bf-status { margin: 6px 0 0; min-height: 1em; font-size: .9em; }
.bf-summary { margin-bottom: 10px; font-weight: 650; }
.bf-submit {
  min-height: 42px;
  padding: 8px 17px;
  background: #293f89;
  color: #fff;
  border: 1px solid #293f89;
  border-radius: 7px;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.bf-form .bf-submit:hover:enabled { background: #1d2e69; }
.bf-submit:disabled { opacity: .65; cursor: wait; }
