/* Profile photo (Nicolas, 14 October, Profile Photo Mock-Up). */
.atelier-avatar{position:relative;overflow:visible;cursor:pointer}
.atelier-avatar .aav-img{position:absolute;inset:0;width:100%;height:100%;border-radius:50%;object-fit:cover}
.atelier-avatar .aav-img[hidden],.atelier-avatar .aav-letter[hidden],.atelier-avatar .aav-dot[hidden]{display:none}
/* The dot's centre always sits outside the circle (Nicolas, 14 October). */
.atelier-avatar .aav-dot{position:absolute;left:calc(50% + 64px - 13px);top:calc(50% - 64px - 13px);width:26px;height:26px;border-radius:50%;background:#d6452f;border:3px solid #fff;box-sizing:border-box}
html[data-theme="dark"] .atelier-avatar .aav-dot{border-color:#1d1b19}
.atelier-avatar:focus-visible{outline:2px solid #91d9c1;outline-offset:3px}

.aav-shade{position:fixed;inset:0;background:#2b272455;display:grid;place-items:center;z-index:2000;padding:16px}
.aav-box{width:400px;max-width:100%;box-sizing:border-box;background:#fffdfa;border-radius:18px;box-shadow:0 20px 60px #0003;padding:18px 22px 22px;font-family:system-ui,-apple-system,sans-serif;color:#2b2724;position:relative}
.aav-box h2{margin:0 0 14px;font:400 22px/1.2 Georgia,serif;text-align:center}
.aav-x{position:absolute;right:14px;top:14px;width:30px;height:30px;border:0!important;background:none!important;padding:0!important;color:#7a736b;cursor:pointer;display:grid;place-items:center}
.aav-crop{width:280px;height:280px;margin:0 auto;border-radius:14px;overflow:hidden;position:relative;background:#efe7dc;cursor:grab;touch-action:none;user-select:none}
.aav-crop.aav-dragging{cursor:grabbing}
.aav-crop.aav-fixed{cursor:default}
.aav-crop img{position:absolute;left:0;top:0;max-width:none;transform-origin:0 0;pointer-events:none}
.aav-crop.aav-fixed img{width:100%!important;height:100%!important;transform:none!important}
.aav-crop::after{content:"";position:absolute;inset:0;border-radius:50%;box-shadow:0 0 0 400px #fffdfacc;outline:2px solid #fff;outline-offset:-2px;pointer-events:none}
.aav-empty{width:220px;height:220px;margin:30px auto;border-radius:50%;border:2px dashed #d9cfc2;display:grid;place-items:center;color:#c8553d;font:400 84px/1 Georgia,serif;background:#fff;box-sizing:border-box}
.aav-zoom{display:flex;align-items:center;gap:10px;width:280px;max-width:100%;margin:14px auto 0;color:#7a736b}
.aav-zoom input{flex:1;accent-color:#91d9c1}
.aav-row{display:flex;gap:10px;margin-top:18px}
.aav-row button{flex:1;height:38px;border-radius:999px;border:1px solid #e2d8cc;background:#fff;color:#2b2724;font:14px system-ui,-apple-system,sans-serif;cursor:pointer;padding:0 10px}
.aav-row button.aav-go{background:#91d9c1;border-color:#6fbfa6;color:#123}
.aav-row button.aav-rm{color:#c8553d}
html[data-theme="dark"] .aav-box{background:#282522;color:#efe9e2}
html[data-theme="dark"] .aav-crop{background:#3d3833}
html[data-theme="dark"] .aav-crop::after{box-shadow:0 0 0 400px #282522cc}
html[data-theme="dark"] .aav-empty{background:#1d1b19;border-color:#4a433d;color:#ef8a6f}
html[data-theme="dark"] .aav-row button{background:#1d1b19!important;border-color:#4a433d!important;color:#efe9e2!important}
html[data-theme="dark"] .aav-row button.aav-rm{color:#ef8a6f!important}
html[data-theme="dark"] .aav-row button.aav-go{background:#91d9c1!important;border-color:#6fbfa6!important;color:#123!important}
