.photo-editor{margin:24px 0;background:white;border:1px solid #e3d9d2;border-radius:22px;padding:24px}.photo-editor h2{font:28px Georgia,serif;margin:0 0 8px}.photo-editor p{font-size:13px;line-height:1.6}.photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.photo-tile{border:1px solid #e3d9d2;border-radius:16px;overflow:hidden;background:#fbf8f5}.photo-tile img{display:block;width:100%;aspect-ratio:4/5;object-fit:cover}.photo-tile .photo-tools{display:flex;flex-wrap:wrap;gap:6px;padding:10px}.photo-editor button{min-height:44px;padding:9px 13px;font-size:12px}.photo-tools button{background:#f1e6df;color:#352532}.photo-editor input{width:100%}.photo-editor [role=status]{font-size:13px;min-height:22px;margin-top:12px}.photo-count{font-size:12px;color:#75636c}.photo-open{padding:0;width:100%;background:transparent;color:inherit;display:block;position:relative}.photo-open .photo-open-label{position:absolute;bottom:12px;right:12px;border-radius:20px;background:#fff;color:#263b37;padding:8px 12px;font-size:12px;box-shadow:0 2px 10px #0002}.photo-viewer{border:0;border-radius:22px;padding:16px;background:#fff8f2;color:#30212a;width:min(620px,94vw);max-height:94dvh;overflow:auto}.photo-viewer::backdrop{background:#14211bd9}.photo-viewer header{height:auto;padding:0 0 12px;background:transparent;border:0;gap:12px}.photo-viewer h2{font-size:20px;margin:0}.photo-viewer button{min-height:44px;min-width:44px;border:0;border-radius:22px;background:#352532;color:white;padding:10px;cursor:pointer}.photo-viewer img{display:block;width:100%;height:min(62dvh,640px);object-fit:contain;background:#f1e8df;border-radius:12px}.photo-viewer footer{display:flex;justify-content:space-between;align-items:center;padding-top:12px}.photo-viewer button:focus-visible,.photo-open:focus-visible{outline:3px solid #d9604c;outline-offset:3px}@media(min-width:550px){.photo-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(prefers-reduced-motion:no-preference){.photo-viewer{animation:photo-appear .15s ease-out}@keyframes photo-appear{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}}

.profile-photo-picker{margin:18px 0;padding:0}.profile-photo-picker>label{font-weight:700}.profile-photo-picker>p{font-size:12px;line-height:1.6}.profile-photo-picker .photo-grid{grid-template-columns:repeat(auto-fit,minmax(120px,1fr));margin-top:14px}.profile-photo-picker .photo-tools{padding:7px}.profile-photo-picker button{min-height:44px;padding:8px 10px;font-size:12px}.photo-tile.is-primary{border:2px solid #b05f42}.photo-tile.is-primary [aria-pressed="true"]{background:#352532;color:white}.profile-photo-picker [role="status"]{font-size:12px;line-height:1.6;margin-top:10px;color:#785c47}@media(max-width:420px){.profile-photo-picker .photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
