.bfd { margin-block: 1rem; font: inherit; }
.bfd-options { border: 0; padding: 0; margin: 0 0 1rem; min-width: 0; }
.bfd-heading { font-weight: 600; margin-bottom: .65rem; padding: 0; }
.bfd-choice { display: block; position: relative; width: fit-content; max-width: 100%; margin: 0 0 .5rem; cursor: pointer; font-weight: normal; }
/* Keep native radio controls keyboard-accessible while presenting their labels as tiles. */
.bfd-choice input[type="radio"] { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.bfd-choice span { display: block; box-sizing: border-box; min-height: 44px; padding: .65rem 1rem; border: 1px solid #d8d8d8; border-radius: 8px; background: transparent; overflow-wrap: anywhere; transition: background-color .15s ease, border-color .15s ease; }
.bfd-choice:hover span { border-color: #bcbcbc; background: #fafafa; }
.bfd-choice input:checked + span { border-color: #cea3ff; background: #f2e6ff; }
.bfd-choice input:focus-visible + span { outline: 2px solid currentColor; outline-offset: 3px; }
.bfd .button { font: inherit; cursor: pointer; min-height: 44px; }
.bfd .button:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.bfd .button:disabled { opacity: .65; cursor: wait; }
.bfd-status:empty { display: none; }
.bfd-status { margin-block: .75rem; }
@media (prefers-reduced-motion: reduce) { .bfd-choice span { transition: none; } }
@media (forced-colors: active) { .bfd-choice input:checked + span { border-color: Highlight; outline: 1px solid Highlight; } }
