.bpsl-preferences{display:flex;flex-wrap:wrap;align-items:center;gap:1rem 1.5rem;color:var(--text-dark);font:inherit}
.bpsl-preferences label{display:flex;flex-direction:column;align-items:stretch;gap:.45rem;font:inherit;min-width:0;max-width:100%}
.bpsl-country{width:min(100%,24rem)}
.bpsl-preferences select{font:inherit;color:var(--title-dark);background:transparent;border:1px solid var(--border);border-radius:var(--buttonradius,12px);padding:.55rem 2rem .55rem .75rem;max-width:100%;min-height:44px}
.bpsl-preferences select:focus-visible{outline:2px solid var(--primary);outline-offset:3px}
.bpsl-preferences select:disabled{opacity:.65}
.bpsl-footer{max-width:var(--container-max-width,1200px);margin:0 auto;padding:1rem 1.5rem}
.bpsl-status:not(.is-error){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.bpsl-status.is-error{flex-basis:100%;font-size:.875em}
@media(max-width:600px){.bpsl-preferences{gap:1rem;width:100%}.bpsl-preferences label{flex:1 1 100%;min-width:0}.bpsl-preferences select{width:100%;max-width:100%}}
/* Translation editor is visible to authenticated administrators only. */
.bpsl-editor{position:fixed;right:16px;top:48px;width:min(390px,calc(100vw - 32px));max-height:calc(100vh - 64px);overflow:auto;z-index:2147483000;background:#fff;color:#172033;border:1px solid #d7dce4;border-radius:16px;box-shadow:0 12px 50px #0003;padding:20px;font:14px/1.45 system-ui,sans-serif;text-align:left}
.bpsl-editor *{box-sizing:border-box}.bpsl-editor h2{font:600 20px/1.3 system-ui;margin:0 0 12px}.bpsl-editor label{display:block;margin:12px 0 4px}.bpsl-editor input:not([type=checkbox]),.bpsl-editor textarea,.bpsl-editor select{display:block;width:100%;font:inherit;color:inherit;background:#fff;border:1px solid #bfc7d4;border-radius:6px;padding:8px}.bpsl-editor button{font:inherit;padding:8px 12px;border:1px solid #bfc7d4;border-radius:6px;cursor:pointer;background:#f2f4f8;color:#172033;margin:8px 6px 0 0}.bpsl-editor textarea{min-height:80px}.bpsl-editor summary{cursor:pointer;font-weight:600;margin-top:16px}.bpsl-editor .bpsl-editor-message{margin-top:8px}.bpsl-editing [data-bpsl-source]:hover{outline:2px dashed var(--primary,#4150ff);outline-offset:3px;cursor:crosshair}

button.bpsl-open,button.bpsl-dialog-close{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;padding:0;border:1px solid var(--border);border-radius:50%;background:transparent;color:var(--title-dark);cursor:pointer;line-height:1}
.rmm-header-actions > button.bpsl-open{border:0}
button.bpsl-open:hover,button.bpsl-dialog-close:hover{color:var(--primary);background:var(--bg-light-2)}
.bpsl-open:focus-visible,.bpsl-dialog-close:focus-visible,.bpsl-dialog-done:focus-visible{outline:2px solid var(--primary);outline-offset:3px}
.bpsl-open svg,.bpsl-dialog-close svg{display:block;pointer-events:none}
.bpsl-dialog{box-sizing:border-box;position:fixed;inset:0;margin:auto;width:min(480px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);padding:28px;border:1px solid var(--border);border-radius:24px;background:var(--bg-light-4);color:var(--text-dark);overflow:auto}
.bpsl-dialog:not([open]){display:none}
.bpsl-dialog::backdrop{background:color-mix(in srgb,var(--title-dark) 32%,transparent);backdrop-filter:blur(4px)}
.bpsl-dialog-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:12px}
.bpsl-dialog-header #bpsl-dialog-title{margin:0;align-self:center}
.bpsl-dialog .bpsl-preferences{display:flex;flex-direction:column;align-items:stretch;gap:20px}
.bpsl-dialog .bpsl-preferences label{flex:auto}
.bpsl-dialog .bpsl-preferences select{width:100%;min-height:48px}
.bpsl-dialog-actions{display:flex;justify-content:flex-end;margin-top:24px}
.bpsl-dialog-done{cursor:pointer}
@media(max-width:480px){.rmm-is-mobile .rmm-header-actions:has(.bpsl-open){gap:8px}.bpsl-dialog{padding:22px}.bpsl-dialog-header #bpsl-dialog-title{max-width:calc(100% - 60px)}}
@media(max-width:380px){.rmm-header:has(.bpsl-open) .rmm-brand-logo{max-width:96px}}

button.bpsl-open:focus,button.bpsl-dialog-close:focus{color:var(--title-dark);border-color:var(--border);background:transparent}

.bpsl-dialog .bpsl-preferences select{padding-inline:.65rem 1.4rem}

button.bpsl-open.bpsl-region {
  width: auto;
  max-width: 100%;
  height: auto;
  min-height: 44px;
  flex: 0 1 auto;
  justify-content: flex-start;
  gap: .5em;
  border: 0;
  border-radius: 0;
  padding: .35em 0;
  background: transparent;
  color: var(--title-dark);
  font: inherit;
  font-weight: 500;
  line-height: 1.35;
  text-align: start;
}
.bpsl-region svg { flex: 0 0 1.15em; width: 1.15em; height: 1.15em; }
.bpsl-region [data-bpsl-region-label] { overflow-wrap: anywhere; }
button.bpsl-open.bpsl-region:hover, button.bpsl-open.bpsl-region:focus-visible {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: .23em;
}

.bpsl-editor [data-field="preview"]{display:block;max-width:100%;height:100px;object-fit:contain;margin-block:8px}.bpsl-editor[hidden],.bpsl-editor [hidden]{display:none}
