.bxt-brand-preview{--bxt-brand-ink:#173a35;--bxt-brand-bg:#fffaf0;--bxt-brand-line:#76988b;--bxt-brand-cta:#235c52;--bxt-brand-focus:#9c4a24;display:inline-flex;min-width:0}
.bxt-brand-preview :is(button,input){font:inherit;min-height:44px}
.bxt-brand-preview button{cursor:pointer;border:1px solid var(--bxt-brand-line);border-radius:8px;padding:.5rem .85rem}
.bxt-brand-preview__trigger{background:transparent;color:inherit;max-width:100%;text-align:center;line-height:1.2}
.bxt-brand-preview :focus-visible{outline:2px solid var(--bxt-brand-focus);outline-offset:3px}
.bxt-brand-preview__dialog{color:var(--bxt-brand-ink);background:var(--bxt-brand-bg);border:1px solid var(--bxt-brand-line);border-radius:16px;padding:0;width:min(28rem,calc(100% - 1rem));max-height:calc(100% - 1rem);box-sizing:border-box;overflow:auto}
.bxt-brand-preview__dialog::backdrop{background:#102e2bd0}
.bxt-brand-preview__form{display:flex;flex-direction:column;gap:.65rem;position:relative;padding:1.15rem;min-width:0}
.bxt-brand-preview__form h2,.bxt-brand-preview__form p{margin:0}
.bxt-brand-preview__form h2{padding-inline-end:3rem;font-size:clamp(1.25rem,5vw,1.7rem);line-height:1.12}
.bxt-brand-preview__form p{font-size:.875rem;line-height:1.4}
.bxt-brand-preview__form input{box-sizing:border-box;width:100%;color:inherit;background:#fff;border:1px solid var(--bxt-brand-line);border-radius:8px;padding:.4rem .65rem;font-size:16px}
.bxt-brand-preview__close{position:absolute;inset-block-start:.6rem;inset-inline-end:.65rem;min-width:44px;color:inherit;background:transparent}
.bxt-brand-preview__actions{display:flex;justify-content:flex-end;align-items:center;gap:.5rem;flex-wrap:wrap}
.bxt-brand-preview__actions button{background:transparent;color:inherit}
.bxt-brand-preview__actions .bxt-brand-preview__done{background:var(--bxt-brand-cta);color:white;border-color:transparent}
.bxt-brand-preview__status{min-height:1.1em}
