.bf-dialog{width:min(680px,calc(100vw - 32px));max-height:calc(100dvh - 40px);padding:0;border:1px solid #dedfe3;border-radius:18px;color:#202124;background:#fff;font:14px/1.5 var(--sans,Arial,sans-serif);box-shadow:0 24px 80px #151b2933}.bf-dialog::backdrop{background:#141a2a66;backdrop-filter:blur(3px)}.bf-head{display:flex;align-items:flex-start;gap:20px;justify-content:space-between;padding:24px 28px;border-bottom:1px solid #e9e9ec}.bf-head h2{font-size:20px;line-height:1.3;margin:0}.bf-head p{font-size:13px;color:#5c6067;margin:8px 0 0}.bf-close{background:#f3f4f6;border:0;border-radius:50%;width:32px;height:32px;font-size:22px;flex:none;cursor:pointer}.bf-body{padding:24px 28px}.bf-dialog fieldset{border:1px solid #e0e2e6;border-radius:12px;margin:20px 0;padding:20px}.bf-dialog legend{font-weight:650;padding:0 7px;font-size:16px}.bf-dialog legend small{font-size:12px;font-weight:400;color:#64676e}.bf-dialog label{display:flex;flex-direction:column;gap:7px;font-weight:500;margin:0 0 17px}.bf-dialog input:not([type=checkbox]),.bf-dialog select,.bf-dialog textarea{box-sizing:border-box;border:1px solid #d5d7dc;border-radius:8px;padding:10px 12px;width:100%;font:inherit;color:#202124;background:#fff;min-height:42px}.bf-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.bf-dialog label.bf-check{flex-direction:row;align-items:flex-start;gap:10px;font-size:13px;font-weight:400}.bf-check input{margin:4px 0 0;accent-color:#3467b7}.bf-help{color:#5f646d;font-size:13px;margin:0 0 18px}.bf-error{color:#a12626;font-size:13px}.bf-summary{padding:18px 20px;border-radius:12px;background:#f5f7fb}.bf-dialog dl{margin:0}.bf-dialog dl>div{display:flex;justify-content:space-between;gap:20px;margin:8px 0}.bf-dialog dd{margin:0;font-weight:550;text-align:right}.bf-total{border-top:1px solid #dfe4ec;padding-top:12px;font-size:16px;font-weight:650}.bf-dialog footer{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin-top:22px}.bf-dialog .btn{font:500 13px/1.4 var(--sans,Arial,sans-serif);padding:10px 15px;border:1px solid #d1d6df;border-radius:8px;background:#fff;color:#252a32;cursor:pointer}.bf-dialog .btn.pri{background:#3467b7;color:white;border-color:#3467b7}.bf-dialog .btn:disabled{opacity:.55;cursor:wait}.bf-dialog .bf-danger{color:#a12626;border-color:#dfbcbc}.bf-history{border-top:1px solid #e4e5e9;margin-top:28px;padding-top:12px}.bf-history h3{font-size:16px}.bf-receipt{padding:18px 0;border-bottom:1px solid #ececef}.bf-receipt header{display:flex;justify-content:space-between;gap:20px}.bf-receipt header span{font-size:12px;color:#5d6572}.bf-receipt p{font-size:12px;color:#626772}.bf-recovery{padding:20px;background:#f5f7fb;border-radius:12px}.bf-recovery h3{margin-top:0;font-size:16px}.bf-confirm{max-width:490px}.mb-heading:has([data-bf-open]){flex-wrap:wrap;gap:12px}.mb-heading [data-bf-open]{margin-left:auto}@media(max-width:540px){.bf-head,.bf-body{padding:20px}.bf-grid{grid-template-columns:1fr}.bf-dialog fieldset{padding:16px}.bf-dialog footer .btn{flex:1}.bf-dialog{max-height:calc(100dvh - 24px)}}
.bf-dialog,.bf-dialog .btn,.bf-dialog :is(h2,h3,h4,input,select,textarea,button){font-family:"Instrument Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
