/* Forms inherit typography while using the selected shared business palette. */
:where(.bfo-theme) :where(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),textarea,select){font:inherit;color:var(--bfo-text);padding:.6em .75em;min-height:2.75em;border:1px solid var(--bfo-input-border);border-radius:.3em;background:var(--bfo-surface)}
.bfo-theme{font-family:inherit;color:var(--bfo-text);background:var(--bfo-background);max-width:100%;box-sizing:border-box;padding:clamp(1rem,3vw,2rem);border:1px solid var(--bfo-border);border-radius:.6rem}
.bfo-theme .bfo-card{background:var(--bfo-surface);border-color:var(--bfo-border);padding:1rem;border-radius:.4rem}
.bfo-theme :where(button,.button,.wp-element-button){background:var(--bfo-accent);border-color:var(--bfo-accent);color:var(--bfo-button-text)}
.bfo-theme :where(button,.button,.wp-element-button):focus-visible,.bfo-theme :where(input,textarea,select):focus-visible{outline:3px solid var(--bfo-focus);outline-offset:2px}
.bfo-theme :where(.is-style-outline){background:transparent;color:var(--bfo-accent)}
.bfo-theme .bfo-help{color:var(--bfo-muted)}
.bfo-theme .bfo-error{color:var(--bfo-error);background:var(--bfo-error-background)}
.bfo-theme .bfo-notice{color:var(--bfo-warning);background:var(--bfo-warning-background)}
.bfo-standalone{max-width:var(--wp--style--global--content-size,50rem);margin:3em auto;padding:1.5em}
.bfo-theme *{box-sizing:border-box}
.bfo-theme .bfo-public{width:100%;max-width:100%}
.bfo-theme .bfo-question{margin-block:1.5em}
.bfo-theme .bfo-label{display:block;font-weight:600;margin-block-end:.5em}
.bfo-theme input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.bfo-theme textarea,.bfo-theme select{max-width:100%;width:100%;font-family:inherit;scroll-margin-top:5em}
.bfo-theme textarea{resize:vertical}
.bfo-theme fieldset{min-width:0;margin:0;padding:0;border:0}
.bfo-theme .bfo-choice{display:flex;align-items:baseline;gap:.6em;margin-block:.6em}
.bfo-theme .bfo-choice input{flex-shrink:0}
.bfo-theme .bfo-help{font-size:.9em;margin-block:.4em}
.bfo-theme .bfo-help:empty,.bfo-theme .bfo-error-text:empty{display:none}
.bfo-theme .bfo-save-bar,.bfo-theme .bfo-button-row{display:flex;align-items:center;flex-wrap:wrap;gap:.75em;margin-block:1.5em}
.bfo-theme .bfo-line{display:grid;grid-template-columns:2fr 1fr 5em auto;gap:.75em;align-items:end;margin-block:1em}
.bfo-theme .bfo-line label{display:flex;flex-direction:column;gap:.4em}
.bfo-theme .bfo-total{font-weight:700;font-size:1.15em}
.bfo-theme .bfo-review-content dl{display:grid;grid-template-columns:minmax(8em,1fr) 2fr;gap:.75em 1.5em}
.bfo-theme .bfo-review-content dt{font-weight:600}
.bfo-theme .bfo-review-content dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.bfo-theme .bfo-error,.bfo-theme .bfo-notice{border-inline-start:.25em solid currentColor;padding:1em;margin-block:1em}
.bfo-theme .bfo-error-text{font-weight:600}
.bfo-theme .bfo-table{width:100%;border-collapse:collapse}
.bfo-theme .bfo-table th,.bfo-theme .bfo-table td{text-align:start;padding:.75em;vertical-align:top;overflow-wrap:anywhere;border-bottom:1px solid currentColor}
.bfo-theme .bfo-scroll{overflow-x:auto}
.bfo-theme .bfo-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.bfo-theme [hidden],.bfo-theme [data-type=hidden]{display:none!important}
.bfo-theme .screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px)}
@media(max-width:600px){.bfo-theme .bfo-line,.bfo-theme .bfo-review-content dl{grid-template-columns:1fr}.bfo-theme .bfo-review-content dd{margin-block-end:.75em}}
