/* bashaar-scale:1a1402f48255e356af2a */
html.bso-crop-open{overflow:hidden}
dialog.bso-crop-dialog{box-sizing:border-box;width:min(520px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);overflow:auto;margin:auto;padding:24px;border:1px solid #DCE3EF;border-radius:20px;background:#fff;color:#022563;font-family:var(--e-global-typography-primary-font-family,"Assistant"),sans-serif;box-shadow:0 24px 80px #02256330;text-align:right}
dialog.bso-crop-dialog::backdrop{background:rgba(6,18,43,.65)}
.bso-crop-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
.bso-crop-dialog h2{margin:0;font:inherit;font-size:1.5rem;font-weight:600;color:#022563}
.bso-crop-dialog p{font:inherit;font-size:0.9375rem;line-height:1.6;margin:12px 0 18px;color:#637086}
.bso-crop-dialog .bso-crop-stage{width:min(100%,340px);aspect-ratio:1;position:relative;margin:0 auto;overflow:hidden;border-radius:12px;background:#EEF1F6;direction:ltr}
.bso-crop-stage:before{content:'';position:absolute;inset:0;z-index:1;pointer-events:none;background:radial-gradient(circle closest-side,transparent 99.5%,rgba(2,15,42,.6) 100%)}
.bso-crop-stage:after{content:'';position:absolute;inset:0;z-index:2;pointer-events:none;border:2px solid #fff;border-radius:50%;box-sizing:border-box}
.bso-crop-stage canvas{display:block;width:100%;height:100%;touch-action:none;cursor:grab}.bso-crop-stage canvas.dragging{cursor:grabbing}
.bso-crop-dialog .bso-crop-zoom{display:flex;align-items:center;gap:16px;font-size:0.9375rem;margin:20px 0}
.bso-crop-dialog input[type=range]{flex:1;min-width:0;width:auto;accent-color:#4F63F3;direction:ltr;cursor:pointer}
.bso-crop-dialog footer{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #E3E9F2;padding-top:18px}.bso-crop-dialog footer>div{display:flex;gap:8px}
.bso-crop-dialog button{box-sizing:border-box;min-height:42px;padding:9px 16px;background:#fff;color:#022563;border:1px solid #B8C0CC;border-radius:10px;font:inherit;font-size:0.9375rem;line-height:1.5;cursor:pointer;box-shadow:none}
.bso-crop-dialog .bso-crop-save{background:#4F63F3;color:#fff;border-color:#4F63F3}.bso-crop-dialog .bso-crop-close{border:0;min-width:36px;min-height:36px;padding:0;font-size:1.75rem;line-height:1;background:transparent}.bso-crop-dialog .bso-crop-reset{border:0;padding-right:0;padding-left:0;background:transparent;text-decoration:underline;text-underline-offset:3px}.bso-crop-dialog button:disabled{opacity:.6;cursor:wait}
.bso-crop-dialog :is(button,canvas,input):focus-visible{outline:3px solid #ECC678;outline-offset:3px}.bso-crop-dialog .bso-crop-error{color:#963B3B}.bso-crop-dialog [hidden]{display:none!important}
body .bso-avatar-preview{width:72px!important;height:72px!important;min-width:72px;object-fit:cover!important;border-radius:50%!important;display:inline-block;vertical-align:middle;margin:0 0 8px 12px}
.bso-avatar-crop-status{display:block;font-size:0.875rem;line-height:1.6;margin-top:8px;color:#637086}
@media(max-width:600px){dialog.bso-crop-dialog{padding:18px;border-radius:16px}.bso-crop-dialog h2{font-size:1.3125rem}.bso-crop-dialog footer{flex-wrap:wrap}.bso-crop-dialog footer>div{margin-right:auto}.bso-crop-dialog button{font-size:0.875rem;padding:9px 12px}}
/* Keep theme-wide button hover/focus colors outside the cropper. */
dialog.bso-crop-dialog button:is(:hover,:focus,:active){background:#F0F4FF;color:#022563;border-color:#A6B4D3;text-decoration:none;box-shadow:none}
dialog.bso-crop-dialog button.bso-crop-save:is(:hover,:focus,:active){background:#102761;color:#fff;border-color:#102761}
dialog.bso-crop-dialog button.bso-crop-close:is(:hover,:focus,:active){background:#F0F4FF;color:#022563;border-color:transparent}
dialog.bso-crop-dialog button.bso-crop-reset:is(:hover,:focus,:active){background:transparent;color:#4F63F3;border-color:transparent;text-decoration:underline}
dialog.bso-crop-dialog :is(button,canvas,input):focus-visible{outline:3px solid #ECC678;outline-offset:3px}
