/* Product-specific picker and scoped settings entries; browser zoom stays available. */
.bap-dialog{width:min(420px,100%);max-height:calc(var(--bm-vv-height,100dvh) - 16px)!important;box-sizing:border-box;border:1px solid #eee3f5!important;border-radius:28px!important;padding:25px 22px max(22px,env(safe-area-inset-bottom))!important;background:#fcfaff!important;color:#3b2b4b;font-family:inherit;overflow:auto!important;overscroll-behavior:contain}
.bap-dialog::backdrop{background:#34223f60;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}
.bap-dialog h2{font-size:calc(24px * var(--pr-font-factor,1))!important;font-weight:750;letter-spacing:-.6px;margin:2px 0 18px!important;padding:0 28px 0 0}
.bap-dialog .bm-body{padding:0!important;overflow:visible!important;max-height:none!important}
.bap-dialog .bm-close{width:32px;height:32px;top:17px;right:17px;border-radius:50%;background:#f1e9f7;color:#9b7aae}
.bap-dialog button,.bap-entry button,.bap-profile-row button,.bap-retry button{font-family:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.bap-dialog button:disabled,.bap-entry button:disabled{opacity:.55;cursor:default}
.bap-dialog button:focus-visible,.bap-dialog input:focus-visible,.bap-text-button:focus-visible,.bap-overlay-edit:focus-visible{outline:3px solid #bb96da;outline-offset:3px}
.bap-dialog [hidden]{display:none!important}
.bap-hero{text-align:center}.bap-hero-picture{width:108px;height:108px;border-radius:50%;background:#f3e8f7;background-repeat:no-repeat;margin:0 auto;overflow:hidden;box-shadow:0 5px 22px #9c72b524;border:4px solid #fff;box-sizing:border-box}
.bap-hero-picture img,.bap-entry-picture img,.bap-history-choice img{width:100%;height:100%;object-fit:cover;display:block}.bap-hero-picture>svg,.bap-entry-picture>svg{width:52%;height:52%;margin:24%;fill:none;stroke:#b98ed1;stroke-width:1.2}
.bap-hero>p{font-size:calc(12px * var(--pr-font-factor,1));line-height:1.5;color:#a08aa9;margin:14px 0 18px}
.bap-tabs{display:flex;gap:3px;padding:4px;background:#f0e8f7;border-radius:14px;margin:0 0 17px}
.bap-tabs>button{flex:1;min-height:40px;border:0;border-radius:11px;background:transparent;color:#9a7cae;font-size:calc(13px * var(--pr-font-factor,1));font-weight:600;padding:8px}
.bap-tabs>button[aria-selected=true]{background:#fff;color:#76528d;box-shadow:0 2px 6px #8862990d}
.bap-theme{width:100%;border:0;background:transparent;text-align:left;color:#7e628f;font-size:calc(13px * var(--pr-font-factor,1));min-height:44px;padding:9px 2px;font-weight:600}
.bap-themes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:8px;background:#f3ecf8;border-radius:16px;margin:0 0 12px}
.bap-theme-option{border:0;background:transparent;color:#8b6a9d;border-radius:11px;font-size:calc(12px * var(--pr-font-factor,1));line-height:1.4;text-align:left;min-height:44px;padding:8px}
.bap-theme-option:hover{background:#fff}
.bap-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:8px}
.bap-choice{position:relative;aspect-ratio:1;padding:3px;border:2px solid transparent;background:transparent;border-radius:50%;min-width:0;box-sizing:border-box}
.bap-choice[aria-pressed=true]{border-color:#b78cda}.bap-choice[aria-pressed=true]:after{content:'✓';display:grid;place-items:center;position:absolute;width:18px;height:18px;bottom:0;right:0;background:#ac80ce;border:2px solid #fcfaff;border-radius:50%;color:#fff;font-size:calc(11px * var(--pr-font-factor,1))}
.bap-thumb{display:block;width:100%;height:100%;border-radius:50%;background-repeat:no-repeat;background-color:#f4eaf7}
.bap-note{font-size:calc(12px * var(--pr-font-factor,1));color:#a890b4;line-height:1.5}.bap-count{text-align:center;font-size:calc(11px * var(--pr-font-factor,1));margin:13px 0 6px}
.bap-button{display:flex;align-items:center;justify-content:center;gap:7px;border:0;border-radius:14px;min-height:46px;color:#8f69a9;background:#f0e7f8;padding:11px 14px;font-size:calc(13px * var(--pr-font-factor,1));font-weight:600;box-sizing:border-box}
.bap-soft{background:#f0e7f8;color:#8f69a9}.bap-primary{background:linear-gradient(115deg,#9564d5,#b182df);color:#fff;box-shadow:0 5px 15px #9965ce20}
.bap-photo-actions{display:grid;gap:10px;padding:20px 13px;border:1px dashed #d8c4e8;background:#f7f1fb;border-radius:19px}.bap-photo-actions>.bap-soft{background:transparent}
.bap-editor{padding-top:8px}.bap-crop{position:relative;overflow:hidden;border-radius:50%;width:min(210px,100%);aspect-ratio:1;margin:4px auto 16px;background:#eadcf3;box-shadow:0 0 0 8px #f3eaf9;touch-action:none}
.bap-crop>img{position:absolute;top:0;left:0;max-width:none!important;max-height:none!important;transform-origin:0 0;pointer-events:none;user-select:none;-webkit-user-select:none}
.bap-editor>.bap-note{text-align:center}.bap-editor>input[type=range]{display:block;width:100%;min-height:40px;margin:5px 0 6px;padding:0;background:transparent;accent-color:#a77bd0;border:0}.bap-editor>.bap-text-button{display:block;margin:auto}
.bap-history{margin-top:16px;color:#9a7eaa;font-size:calc(12px * var(--pr-font-factor,1))}.bap-history>summary{min-height:38px;cursor:pointer;line-height:38px}.bap-history-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.bap-history-choice{aspect-ratio:1;padding:0;border:2px solid #e3d3ed;border-radius:14px;background:#f7effb;overflow:hidden;min-width:0}.bap-history-grid>.bap-note{grid-column:1/-1}
.bap-footer{display:grid;grid-template-columns:1fr 1.5fr;gap:9px;margin-top:16px}.bap-status{font-size:calc(12px * var(--pr-font-factor,1));line-height:1.5;color:#9474a5;text-align:center;white-space:normal;margin:10px 0 0;min-height:18px}.bap-status:empty{min-height:0;margin:0}.bap-file{display:none!important}
.bap-entry,.bap-profile-row{display:flex;align-items:center;gap:14px;padding:12px 0 17px;margin:0 0 3px}
.bap-entry-picture{width:66px;height:66px;flex:none;overflow:hidden;background:#f3e8f7;background-repeat:no-repeat;border-radius:50%;border:2px solid #fff;box-shadow:0 4px 15px #b191c31a;box-sizing:border-box}
.bap-entry-copy{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0}.bap-entry-copy>b{font-size:calc(14px * var(--pr-font-factor,1));font-weight:650;color:#745687}.bap-entry-copy>.bap-note{font-size:calc(11px * var(--pr-font-factor,1))}
.bap-text-button{min-height:34px;padding:4px 0;border:0;background:transparent;color:#9369b2;font-size:calc(13px * var(--pr-font-factor,1));font-weight:600;text-align:left}
.cp-own-profile .cp-client-avatar{position:relative}.bap-overlay-edit{position:absolute;right:0;bottom:0;z-index:4;display:grid;place-items:center;border:3px solid #fff;border-radius:50%;width:32px;height:32px;background:#a279cd;color:#fff;padding:5px}
.bap-overlay-edit svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round}
.bap-retry{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 13px;margin:10px 0;background:#f3eaf8;border-radius:13px;color:#9775a9;font-size:calc(12px * var(--pr-font-factor,1));line-height:1.5}
@media(max-width:360px){.bap-dialog{padding:22px 16px max(18px,env(safe-area-inset-bottom))!important}.bap-grid{gap:5px}.bap-hero-picture{width:95px;height:95px}}
@media(orientation:landscape) and (max-height:500px){.bap-hero-picture{width:72px;height:72px}.bap-hero>p{margin:10px 0}.bap-crop{width:160px}}
@media(prefers-reduced-motion:reduce){.bap-dialog *{animation:none!important;transition:none!important}}

.bap-own-master{position:relative}
