.mf-form { color: #f6f3ec; min-width: 0; width: 100%; font-family: inherit; }
.mf-form *, .mf-form *::before, .mf-form *::after { box-sizing: border-box; }
.mf-form [hidden] { display: none !important; }
.mf-form .mf-instruction { margin: 0 0 1rem; color: #c4d1cd; font-size: .87rem; }
.mf-fields { display: grid; gap: 1.25rem; }
.mf-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.3rem; }
.mf-pair > .mf-field { display: grid; grid-row: span 3; grid-template-rows: subgrid; align-items: start; }
.mf-field { min-width: 0; }
.mf-field label { display: block; margin-bottom: .43rem; color: #f6f3ec; font-family: inherit; font-size: .94rem; font-weight: 600; line-height: 1.45; }
.mf-optional-label, .mf-hint, .mf-privacy { color: #c4d1cd; }
.mf-optional-label { font-size: .8rem; font-weight: 400; }
.mf-field input, .mf-field select, .mf-field textarea, .mf-copy textarea { display: block; width: 100%; min-height: 48px; border: 1px solid #79908d; background: #203c3e; color: #fffdf8; border-radius: 3px; padding: .65rem .8rem; margin: 0; font-family: inherit; font-size: 1rem; line-height: 1.45; box-shadow: none; }
.mf-field select { appearance: auto; color-scheme: dark; }
.mf-field textarea, .mf-copy textarea { min-height: 98px; resize: vertical; }
.mf-form :is(input,textarea,select,button,summary):focus-visible { outline: 2px solid #f2d9b4; outline-offset: 3px; }
.mf-form [aria-invalid="true"] { border-color: #ffc9b0; }
.mf-hint, .mf-error, .mf-privacy, .mf-status { font-size: .87rem; line-height: 1.55; }
.mf-hint, .mf-error:not(:empty) { display: block; margin-top: .38rem; }
.mf-error { color: #ffd1b9; }
.mf-error:empty { display: none; }
.mf-form .mf-status:empty { margin: 0; }
.mf-neutral { position: absolute; overflow: hidden; clip-path: inset(50%); width: 1px; height: 1px; white-space: nowrap; }
.mf-preview { padding: .85rem 1rem; margin-bottom: 1.2rem; background: #294547; border-left: 2px solid #dab996; font-size: .9rem; line-height: 1.5; color: #fff5e8; }
.mf-form .mf-privacy { max-width: 60ch; margin: 1.25rem 0; }
.mf-actions { margin-top: 1.25rem; }
.mf-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.8rem; min-height: 48px; border: 1px solid #f4f0e5; border-radius: 3px; font: inherit; font-weight: 600; color: #142e30; background: #f6f3ec; padding: .72rem 1.12rem; cursor: pointer; }
.mf-button:hover { background: #e8d7be; border-color: #e8d7be; }
.mf-button:disabled { cursor: default; opacity: .8; }
.mf-form[aria-busy="true"] .mf-button { cursor: wait; }
.mf-form .mf-status { color: #f6f3ec; margin: 1rem 0 0; overflow-wrap: anywhere; }
.mf-status[data-state="success"], .mf-status[data-state="error"] { padding: .8rem 1rem; border-left: 3px solid #afd4b8; background: #294547; }
.mf-status[data-state="error"] { border-color: #ffc9b0; }
.mf-copy { margin-top: .8rem; font-size: .9rem; }
.mf-copy summary { cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }
.mf-copy textarea { margin-top: .7rem; min-height: 180px; }
@media (max-width: 570px) {
  .mf-fields { gap: 1rem; }
  .mf-pair { display: contents; }
  .mf-pair > .mf-field { display: block; grid-row: auto; }
}
