html.bf-editor-open{overflow:hidden}
.bf-adjust-dialog{box-sizing:border-box;width:min(720px,96vw);height:min(920px,96dvh);max-width:none;max-height:96dvh;margin:auto;padding:0;border:0;border-radius:12px;color:#15232a;background:#fff;overflow:hidden}
.bf-adjust-dialog[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto minmax(180px,.85fr)}
.bf-adjust-dialog::backdrop{background:rgba(0,0,0,.65)}
.bf-adjust-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 16px;border-bottom:1px solid #ded8cf}
.bf-adjust-head h2{font-size:20px;line-height:1.2;margin:0;white-space:normal}
.bf-adjust-head button{min-width:80px;min-height:48px;padding:10px 16px}
.bf-adjust-stage{display:grid;place-items:center;min-height:0;padding:12px;background:#f6f4ef;overflow:hidden}
.bf-adjust-stage canvas{display:block;width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;aspect-ratio:1;object-fit:contain;border-radius:50%;touch-action:none;cursor:grab}
.bf-adjust-stage canvas:active{cursor:grabbing}
.bf-adjust-hint{margin:0;padding:8px 16px;font-size:14px;text-align:center;border-bottom:1px solid #ded8cf}
.bf-adjust-panel{min-height:0;overflow:auto;overscroll-behavior:contain;padding:12px 16px;padding-bottom:max(16px,env(safe-area-inset-bottom))}
.bf-adjust-panel .round-photo-adjust{padding:0;margin:0;border:0}
.bf-adjust-panel .round-photo-adjust>summary,.bf-adjust-panel .round-photo-adjust>.field-help{display:none}
.bf-adjust-buttons{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
.bf-adjust-buttons button{min-height:48px;min-width:44px;border:1px solid #b5b7b5;background:#fff;color:#15232a;border-radius:6px;font-size:26px;line-height:1;cursor:pointer}
.bf-adjust-dialog button:focus-visible,.bf-adjust-dialog input:focus-visible,.bf-adjust-dialog summary:focus-visible{outline:3px solid #2570bd;outline-offset:3px}
.bf-adjust-panel label{display:block;font-size:14px;margin:10px 0 0}
.bf-adjust-panel input[type=range]{display:block;width:100%;height:44px;margin:0;accent-color:#15232a;touch-action:pan-y}
.bf-adjust-panel input[type=range]::-webkit-slider-thumb{width:28px;height:28px}
.bf-adjust-advanced summary{min-height:44px;padding:12px 0;font-size:14px;cursor:pointer}
.bf-adjust-panel .round-editor__reset{min-height:44px;margin-right:12px;padding:10px 0;border:0;background:transparent;text-decoration:underline;font-size:14px;color:#15232a}
@media(max-width:749px){.bf-adjust-dialog{width:100vw;height:100dvh;max-height:100dvh;border-radius:0}.bf-adjust-dialog[open]{grid-template-rows:auto minmax(0,40dvh) auto minmax(0,1fr)}.bf-adjust-head{padding-top:max(12px,env(safe-area-inset-top))}.bf-adjust-buttons{gap:6px}.bf-adjust-panel{padding-left:12px;padding-right:12px}}

.bf-adjust-stage{position:relative}.bf-adjust-stage canvas{position:absolute;inset:12px;width:calc(100% - 24px)!important;height:calc(100% - 24px)!important;max-width:none!important;max-height:none!important;min-width:0;min-height:0;border-radius:0;object-fit:contain}

