.bhfp{--ink:#352820;--muted:#685747;--edge:#e2d8cb;--paper:#f7f2e9;font-family:inherit;color:var(--ink);width:100%;max-width:1160px;margin:20px auto;background:#fff;border:1px solid var(--edge);border-radius:16px;overflow:hidden;box-shadow:0 5px 18px #3528200a}.bhfp *{box-sizing:border-box}.bhfp-heading{padding:20px 22px 8px}.bhfp-heading h2{font-size:clamp(21px,2.4vw,28px);line-height:1.25;margin:0 0 6px;color:var(--ink)}.bhfp-heading p{margin:0;font-size:14px;line-height:1.5;color:var(--muted)}.bhfp-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);gap:18px;padding:15px 20px 22px}.bhfp-preview-wrap{min-width:0}.bhfp-stage{width:100%;overflow:hidden;border-radius:12px;background:#272e31}.bhfp-canvas{width:100%;height:auto;aspect-ratio:900/660;display:block}.bhfp-preview-actions{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:10px 2px}.bhfp-hint{font-size:12px;color:var(--muted)}.bhfp-controls{display:flex;flex-direction:column;gap:15px;min-width:0;padding:2px}.bhfp-controls label{display:block;font-size:13px;font-weight:650;line-height:1.55;color:var(--ink)}.bhfp-controls input[type=file]{width:100%;max-width:100%;display:block;margin-top:7px;padding:10px;border:1px solid var(--edge);border-radius:8px;background:white;font-size:13px}.bhfp-controls input[type=range]{display:block;width:100%;margin:8px 0 0;accent-color:#925d4e;min-height:23px}.bhfp-controls output{float:right;font-weight:450;color:var(--muted)}.bhfp-controls .bhfp-checkbox{display:flex;align-items:flex-start;gap:9px}.bhfp-checkbox input{margin:3px 0 0;width:17px;height:17px;flex:none;accent-color:#925d4e}.bhfp-help,.bhfp-status,.bhfp-note{font-size:12px;line-height:1.55;color:var(--muted);margin:0}.bhfp-status{margin:-6px 0 0;min-height:18px}.bhfp-help{margin:-10px 0 0}.bhfp-note{padding-top:10px;border-top:1px solid var(--edge)}.bhfp-row2{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}.bhfp-actions{display:flex;gap:8px;flex-wrap:wrap}.bhfp button{font:inherit;font-size:13px;font-weight:600;border:1px solid var(--edge);border-radius:8px;padding:10px 13px;min-height:40px;cursor:pointer;color:var(--ink);background:var(--paper)}.bhfp button:hover{background:#eaddc9}.bhfp button:focus-visible,.bhfp input:focus-visible{outline:3px solid #ad725d;outline-offset:2px}.bhfp .bhfp-export{background:#594333;color:#fff;border-color:#594333}.bhfp .bhfp-export:hover{background:#352820;color:#fff}@media(max-width:780px){.bhfp-layout{grid-template-columns:1fr;padding:12px;gap:12px}.bhfp-heading{padding:16px 15px 6px}.bhfp-preview-actions{padding:10px 3px}.bhfp-controls{padding:6px 3px;gap:16px}.bhfp{border-radius:12px}.bhfp .bhfp-export{width:100%}}@media(max-width:380px){.bhfp-row2{grid-template-columns:1fr}.bhfp-preview-actions{gap:10px}}

.bhfp .bhfp-cancel-bg:not([hidden]){display:inline-flex;align-self:flex-start;align-items:center;justify-content:center;min-height:44px;background:#f7f2e9;border:1px solid #927458;color:#352820}
.bhfp .bhfp-cancel-bg[hidden]{display:none!important}
