.ppe-portrait,.ppe-photo-wrap{position:relative;overflow:visible!important}
.ppe-portrait>img{width:100%;height:100%;object-fit:cover;border-radius:inherit;display:block}
.ppe-edit-badge{position:absolute;right:-5px;bottom:-5px;z-index:3;width:34px;height:34px;border:2px solid #fff;border-radius:50%;background:#6741cf;color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 9px #34214a25;text-decoration:none}
.ppe-edit-badge svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ppe-toolbar{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0;align-items:center}
.ppe-toolbar a,.ppe-inline{display:inline-flex;align-items:center;gap:6px;padding:9px 12px;border:1px solid #d9cbea;border-radius:9px;background:#fff;color:#6540ad;font:600 12px/1.4 Arial,sans-serif;text-decoration:none;min-height:38px;box-sizing:border-box}
.ppe-toolbar .ppe-admin{background:#f4edff;border-color:#bda2de}
.ppe-dialog{padding:0;border:1px solid #e2d9eb;border-radius:16px;width:min(600px,calc(100vw - 20px));max-width:calc(100vw - 20px);height:min(730px,90dvh);max-height:90dvh;overflow:hidden;box-shadow:0 20px 70px #20112d44}
.ppe-dialog::backdrop{background:#21172e80}
.ppe-dialog[open]{display:flex;flex-direction:column}
.ppe-dialog-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid #eee6f4;background:#fff;color:#33243d;font:14px Arial,sans-serif;flex:none}
.ppe-dialog-bar button{border:1px solid #d8cde5;background:#f8f4ff;color:#5e398e;border-radius:8px;padding:10px;font:inherit;cursor:pointer}
.ppe-dialog iframe{border:0;width:100%;min-height:0;flex:1;background:#fff}
.ppe-form-page{font:15px/1.5 Arial,sans-serif;color:#33283d;background:#fff;margin:0;padding:20px;box-sizing:border-box}
.ppe-form-page h1{font-size:22px;margin:0 0 8px}.ppe-form-page form{display:grid;gap:16px}.ppe-form-page label{display:grid;gap:6px;font-size:14px;font-weight:600}
.ppe-form-page input:not([type=hidden]):not([type=checkbox]),.ppe-form-page select,.ppe-form-page textarea{width:100%;min-width:0;box-sizing:border-box;padding:11px;border:1px solid #d7cbe2;border-radius:9px;font:16px/1.5 Arial,sans-serif;background:#fff;color:#33283d}
.ppe-form-page button{padding:13px;background:#6741cf;color:#fff;border:1px solid #6741cf;border-radius:9px;font:600 14px Arial,sans-serif;cursor:pointer;min-height:46px}.ppe-form-page .ppe-secondary{background:#fff;color:#6741cf}
.ppe-muted{font-size:13px;color:#796a83}.ppe-error,.ppe-success{padding:12px;border-radius:9px;background:#fff0f0;color:#9b3542}.ppe-success{background:#eaf7ef;color:#236d42}
.ppe-preview{max-width:100%;max-height:200px;object-fit:contain;justify-self:start;border-radius:12px}
.ppe-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.ppe-choices img{width:100%;height:100px;object-fit:cover;border-radius:7px}.ppe-choices label{border:1px solid #ddd;padding:5px;border-radius:8px}.ppe-choices label:has(:checked){border-color:#6741cf;background:#f2ecff}
.ppe-form-page :focus-visible,.ppe-edit-badge:focus-visible,.ppe-toolbar a:focus-visible{outline:3px solid #b797e6;outline-offset:3px}
.tp-page .profile-hero{position:relative}.ppe-cover-action{position:absolute;right:12px;top:12px;z-index:4}.tp-page .profile-summary>.ppe-toolbar{flex-basis:100%;margin:10px 0 0}.p-page .ppe-photo-wrap>img{border-radius:inherit}

.ppe-cover-shell{position:relative}.tp-page > main .ppe-portrait{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;box-sizing:border-box}

.tp-page > main .profile-summary:has(.ppe-toolbar){flex-wrap:wrap}
