.bp-root,.bp-dialog{overflow-wrap:anywhere}
.bp-root{display:grid;gap:14px;border:1px solid var(--line);background:white;padding:18px;border-radius:15px}
.bp-root>*,.bp-content>*,.bp-dialog form>*,.bp-tools>*{min-width:0}
.bp-top,.bp-tools,.bp-dialog header,.bp-root .bp-row,.bp-actions,.bp-top h2{display:flex;align-items:center;gap:10px}
.bp-top,.bp-tools,.bp-actions{flex-wrap:wrap}
.bp-top,.bp-dialog header{justify-content:space-between}
.bp-top h2,.bp-dialog h2{font-size:1.16rem;margin:0}
.bp-top svg,.bp-row svg{width:18px;height:18px;flex:none}
.bp-message{color:#166252}
.bp-tools input{flex:1;min-width:min(240px,100%)}
.bp-tools select{width:auto}
.bp-root button,.bp-tools input,.bp-tools select,.bp-dialog button,.bp-dialog input,.bp-dialog textarea,.bp-dialog select{min-height:44px}
.bp-tools input,.bp-tools select,.bp-dialog input,.bp-dialog textarea,.bp-dialog select{font-size:16px;max-width:100%;min-width:0}
.bp-root .bp-row{width:100%;padding:14px 2px;border:0;border-top:1px solid var(--line);border-radius:0;text-align:left;font-size:.93rem;overflow-wrap:anywhere}
.bp-row>span:first-child{flex:1;min-width:0}
.bp-row>span:nth-child(2){max-width:49%;color:#176253;text-align:right}
.bp-root small{display:block;font-size:.82rem;color:var(--muted);font-weight:490}
.bp-row small{margin-top:3px}
.bp-dialog{width:min(510px,calc(100vw - 20px));padding:0;max-width:100%;max-height:90dvh;border:0;border-radius:17px;background:white;color:var(--ink);overflow:auto;overscroll-behavior:contain}
.bp-dialog::backdrop{background:rgba(26,24,20,.55)}
.bp-dialog header{position:sticky;top:0;padding:12px 16px;background:#faf8f2;z-index:1;border-bottom:1px solid var(--line)}
.bp-dialog header button{width:44px;flex:none;justify-content:center;padding:9px}
.bp-dialog .bp-error{padding:12px 16px;color:#933725}
.bp-content,.bp-card,.bp-dialog form,.bp-card [data-line],.bp-dialog [data-offers],.bp-dialog [data-fields]{display:grid;gap:12px;grid-template-columns:minmax(0,1fr)}
.bp-content{padding:16px}
.bp-dialog p,.bp-card{font-size:.9rem}
.bp-dialog p,.bp-dialog details,.bp-dialog form{margin:0}
.bp-dialog button[type=submit]{width:100%;justify-content:center}
.bp-card{padding:12px 14px;gap:6px;border:1px solid var(--line);border-radius:12px}
.bp-card details{padding:0;border:0}
.bp-card summary{cursor:pointer;padding:8px 0;font-size:.83rem;color:#786032}
.bp-card b{color:#126352}
.bp-card [data-line]{border-top:1px solid var(--line);gap:6px;padding:8px 0}
.bp-actions button{flex:auto;justify-content:center}
.bp-dialog label{display:grid;gap:5px}
.bp-dialog .bp-tick{display:flex;flex-direction:row;align-items:center;gap:10px}
.bp-tick input{width:20px;flex:none}
.bp-dialog .bp-warning{color:#923d19}
.bp-dialog [hidden]{display:none!important}
@media(max-width:700px){
 .bp-root,.bp-content{padding:14px}
 .bp-tools select{flex:1}
 .bp-dialog header{padding:10px 14px}
 .bp-actions button{padding:8px}
}
