/* CMP v0.6: integração de fotografias ilustrativas sem alterar o motor biométrico. */
.cmp-photo-wrap{position:relative;width:100%;display:grid;place-items:center;overflow:hidden;background:linear-gradient(145deg,#f4f3f4,#e5e4e7);border-radius:16px}
.cmp-photo-full{min-height:520px}.cmp-photo-quick{min-height:330px}
.cmp-photo-wrap canvas{display:block!important;width:auto!important;max-width:100%;max-height:670px;aspect-ratio:4/5;object-fit:contain;border:0;background:transparent}
.cmp-photo-quick canvas{max-height:360px}
.cmp-photo-prompt{display:grid;place-items:center;padding:25px;text-align:center;font-weight:600;color:#6b7280;min-height:260px;max-width:280px}
.cmp-photo-prompt[hidden]{display:none}
#avatarCanvas,#quickAvatarCanvas{display:none!important}
.cmp-model-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0}
.cmp-model-picker button{cursor:pointer;padding:11px 6px;font-size:12px;border-radius:10px;background:#f5f7f8;color:#253a40;border:1px solid #d4dddf;font-weight:700}
.cmp-model-picker button.picked{background:#dceee7;border-color:#2c8167;color:#17624f}
.cmp-swatches{display:flex;flex-wrap:wrap;gap:11px;margin:10px 0 17px}
.cmp-swatch{width:33px;height:33px;border:3px solid #fff;border-radius:100%;box-shadow:0 0 0 1px #a2afb0;cursor:pointer;padding:0}
.cmp-swatch[aria-pressed=true]{box-shadow:0 0 0 3px #278b72}
.cmp-photo-controls>.subtext{margin:6px 0 14px}
.quick-avatar-preview .btn{margin-top:12px}
@media (max-width:650px){.cmp-photo-full{min-height:360px}.cmp-photo-wrap canvas{max-height:480px}.cmp-model-picker{grid-template-columns:repeat(3,minmax(0,1fr))}.cmp-model-picker button{font-size:11px}}

.cmp-photo-wrap{background:#a7a3a7;border-radius:12px}
