.photo-editor.profile-photo-gallery{padding-top:24px;margin-top:26px;border-top:1px solid var(--line);min-width:0}.profile-photo-gallery .profile-photos-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;flex-wrap:wrap;margin-bottom:22px}.profile-photo-gallery .profile-photos-heading>div{flex:1;min-width:180px}.profile-photo-gallery .profile-photos-title{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.profile-photo-gallery .profile-photos-title h3{font-size:1.25rem;line-height:1.4;letter-spacing:-.02em;margin:0}.profile-photo-gallery .profile-photos-count{display:inline-flex;border:1px solid #e5dbf8;border-radius:24px;background:#f5f0fc;color:#63409b;padding:5px 11px;font-size:.875rem;line-height:1.5;white-space:nowrap}.profile-photo-gallery .profile-photos-intro{font-size:1rem;line-height:1.6;color:var(--muted);max-width:60ch;margin:10px 0 0}.profile-photo-gallery .profile-photos-upload{flex-shrink:0;min-height:46px;padding:11px 17px;color:var(--purple);border-color:#dfd2f4;font-size:.9375rem;background:white;line-height:1.4}.profile-photo-gallery .profile-photos-upload:not(:disabled):hover{background:#f5f0fc}.profile-photo-gallery .profile-photo-file{display:none}.profile-photo-gallery .profile-photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,220px));align-items:start;justify-content:start;gap:18px;min-width:0}.profile-photo-gallery .profile-photo-card{width:100%;min-width:0;max-width:220px;border:1px solid var(--line);border-radius:16px;background:var(--white);overflow:hidden;box-shadow:0 3px 12px #25233406}.profile-photo-gallery .profile-photo-image{position:relative;aspect-ratio:4/5;width:100%;background:#f3eeeb;overflow:hidden}.profile-photo-gallery .profile-photo-image img{display:block;width:100%;height:100%;object-fit:contain;border-radius:0}.profile-photo-gallery .profile-photo-number{position:absolute;top:10px;left:10px;display:grid;place-items:center;min-width:27px;min-height:27px;padding:3px 7px;border:1px solid #ffffffb0;border-radius:50%;background:#fffdf2ed;color:var(--ink);font-size:.875rem;font-weight:600;line-height:1.4}.profile-photo-gallery .profile-photo-actions{padding:10px}.profile-photo-gallery .profile-photo-adjust{display:flex;justify-content:center;align-items:center;gap:7px;min-height:44px;padding:9px 8px;width:100%;border:1px solid #d8c6f4;border-radius:10px;background:#f5f0fc;color:#5c3597;font-size:.9375rem;line-height:1.4;font-weight:600;text-align:center;overflow-wrap:anywhere}.profile-photo-gallery .profile-photo-adjust:hover{border-color:var(--purple);background:#eee5fb}.profile-photo-gallery .profile-photo-adjust span{min-width:0}.profile-photo-gallery .profile-photo-actions-secondary{display:flex;align-items:stretch;gap:6px;margin-top:5px}.profile-photo-gallery .profile-photo-secondary{flex:1;min-width:0;min-height:44px;padding:8px 5px;border:0;border-radius:9px;background:white;color:var(--muted);font-size:.9375rem;line-height:1.4;text-align:center;overflow-wrap:anywhere}.profile-photo-gallery .profile-photo-secondary:hover{background:#f8f4fb;color:var(--purple)}.profile-photo-gallery .profile-photo-delete:hover{background:#fff0f1;color:#9a3046}.profile-photo-gallery .profile-photo-add-card{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;width:100%;max-width:220px;aspect-ratio:4/5;min-height:188px;padding:20px 14px;border:1px dashed #cab7e8;border-radius:16px;background:linear-gradient(145deg,#fcf9ff,#fff6f0);color:#63429b;text-align:center}.profile-photo-gallery .profile-photo-add-card:hover{background:#f4edfc;border-color:var(--purple)}.profile-photo-gallery .profile-photo-add-mark{display:grid;place-items:center;width:48px;height:48px;border-radius:16px;background:#eee6f9;color:var(--purple);font-size:1.8rem;font-weight:400;line-height:1}.profile-photo-gallery .profile-photo-add-card strong{font-size:1rem;line-height:1.5;max-width:18ch}.profile-photo-gallery .profile-photo-add-caption{font-size:.875rem;line-height:1.5;color:var(--muted)}.profile-photo-gallery .profile-photos-full{display:flex;align-items:flex-start;gap:8px;line-height:1.6;color:var(--muted);font-size:.9375rem;margin:16px 0 0}.profile-photo-gallery .profile-photos-full svg{margin-top:3px;color:var(--purple)}.profile-photo-gallery .profile-photos-requirements{margin:20px 0 0}.profile-photo-gallery .profile-photos-requirements summary{font-size:.9375rem;line-height:1.5;min-height:44px;padding:10px 0;font-weight:550}.profile-photo-gallery .profile-photos-requirements p{font-size:.9375rem;line-height:1.7;max-width:76ch;margin:8px 0 0;color:var(--muted)}.profile-photo-gallery .photo-upload-preview{margin-top:14px}.profile-photo-gallery .photo-upload-preview:empty{margin:0}
@media(max-width:760px){.profile-photo-gallery .profile-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.profile-photo-gallery .profile-photo-card,.profile-photo-gallery .profile-photo-add-card{max-width:220px}.profile-photo-gallery .profile-photo-add-card{min-height:176px}.profile-photo-gallery .profile-photos-heading{gap:14px}.profile-photo-gallery .profile-photos-upload{align-self:flex-start}.profile-photo-gallery .profile-photo-actions{padding:8px}.profile-photo-gallery .profile-photo-actions-secondary{gap:3px}.profile-photo-gallery .profile-photo-secondary{padding:8px 3px}}
@media(max-width:380px){.profile-photo-gallery .profile-photos-heading>div{min-width:0;flex-basis:100%}.profile-photo-gallery .profile-photo-grid{gap:10px}.profile-photo-gallery .profile-photo-adjust{flex-wrap:wrap;font-size:.9375rem;padding:9px 5px}.profile-photo-gallery .profile-photo-add-card{padding:16px 10px;gap:10px}.profile-photo-gallery .profile-photo-actions-secondary{flex-direction:column}}

@media(max-width:520px){.profile-photo-gallery .profile-photo-actions-secondary{flex-direction:column}.profile-photo-gallery .profile-photo-adjust>svg{display:none}}

.profile-identity-images{padding-top:24px;margin-top:26px;border-top:1px solid var(--line);min-width:0}
.profile-identity-heading h3{font-size:1.25rem;line-height:1.4;letter-spacing:-.02em;margin:0}
.profile-identity-heading .hint{font-size:1rem;line-height:1.6;margin:10px 0 20px;max-width:68ch}
.profile-identity-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:stretch}
.profile-identity-card{display:flex;flex-direction:column;min-width:0;border:1px solid var(--line);border-radius:16px;background:var(--white);overflow:hidden}
.profile-identity-preview{display:grid;place-items:center;width:100%;min-width:0;background:linear-gradient(140deg,#f6effa,#fff1e9);overflow:hidden}
.profile-identity-avatar{min-height:160px;padding:20px}
.profile-identity-avatar>.portrait{display:block;width:112px;height:112px;border-radius:50%;object-fit:cover;overflow:hidden}
.profile-identity-avatar>.initials-portrait{display:grid;place-items:center}
.profile-identity-cover{aspect-ratio:3/1;min-height:0;color:#a485bf}
.profile-identity-cover>img{display:block;width:100%;height:100%;object-fit:cover}
.profile-identity-copy{display:flex;flex-direction:column;align-items:flex-start;flex:1;min-width:0;padding:20px}
.profile-identity-copy h4{font-size:1.0625rem;line-height:1.4;margin:0 0 7px}
.profile-identity-copy p{flex:1;font-size:.9375rem;line-height:1.6;color:var(--muted);margin:0 0 16px}
.profile-identity-copy button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;max-width:100%;padding:10px 14px;font-size:.9375rem;line-height:1.4;white-space:normal;text-align:center}
.profile-identity-copy button>svg{flex-shrink:0}
.profile-identity-copy button:focus-visible{outline:3px solid var(--purple);outline-offset:3px}
@media(max-width:620px){.profile-identity-grid{grid-template-columns:1fr;gap:16px}.profile-identity-avatar{min-height:152px}.profile-identity-copy{padding:18px}.profile-identity-cover{max-height:none}}

#modal.photo-upload-modal{width:min(760px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;padding:28px}
.photo-upload-review{min-width:0}.photo-upload-heading h2{font-size:1.65rem;line-height:1.25;margin:8px 36px 12px 0;letter-spacing:-.025em}.photo-upload-heading .eyebrow{font-size:.75rem;margin:0}.photo-upload-heading .hint{line-height:1.6;margin:0 0 18px;max-width:62ch}.photo-upload-summary{font-weight:600;font-size:.9375rem;color:#60418b;line-height:1.6;margin:0 0 16px}.photo-upload-items{display:grid;gap:12px}.photo-upload-item{display:flex;align-items:center;gap:16px;padding:13px;border:1px solid var(--line);border-radius:14px;background:white;min-width:0}.photo-upload-thumb{display:grid;place-items:center;flex:0 0 74px;width:74px;height:92px;overflow:hidden;border-radius:9px;background:#f1eafb;color:#7e5eb1;font-size:1.5rem;font-weight:600}.photo-upload-thumb img{display:block;width:100%;height:100%;object-fit:contain}.photo-upload-item-copy{flex:1;min-width:0}.photo-upload-name{display:block;font-size:.9375rem;line-height:1.5;overflow-wrap:anywhere}.photo-upload-item-status{font-size:.875rem;line-height:1.5;color:var(--muted);margin:3px 0 4px}.photo-upload-item[data-status=saved]{border-color:#bcd9ce;background:#f6fcf9}.photo-upload-item[data-status=saved] .photo-upload-item-status{color:#23634b}.photo-upload-item[data-status=preparing],.photo-upload-item[data-status=saving]{border-color:#c9b4ea;background:#faf7ff}.photo-upload-item-actions{display:flex;flex-wrap:wrap;align-items:center;gap:5px 14px}.photo-upload-item-actions button{min-height:44px;font-size:.875rem;line-height:1.5}.photo-upload-item-actions .secondary{padding:8px 14px}.photo-upload-item-actions .text-button{padding:8px 0}.photo-upload-item-error{font-size:.875rem;line-height:1.6;color:#922a3c;margin:6px 0}.photo-upload-notice{font-size:.9375rem;line-height:1.65;border-radius:10px;padding:12px 14px;background:#fff5df;color:#775524;margin:12px 0}.photo-upload-footer-hint{font-size:.875rem;color:var(--muted);line-height:1.6;margin:20px 0 0}.photo-upload-actions{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:10px;position:sticky;bottom:-28px;background:var(--paper);border-top:1px solid var(--line);margin:20px -28px -28px;padding:18px 28px;z-index:3}.photo-upload-actions button{min-height:46px;line-height:1.4}.photo-upload-review [hidden]{display:none}.photo-upload-item-actions button:focus-visible,.photo-upload-actions button:focus-visible{outline:3px solid var(--purple);outline-offset:3px}
@media(max-width:520px){#modal.photo-upload-modal{padding:20px 17px;width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.photo-upload-heading h2{font-size:1.4rem}.photo-upload-heading .eyebrow{max-width:26ch}.photo-upload-item{padding:11px;gap:12px;align-items:flex-start}.photo-upload-thumb{width:58px;height:74px;flex-basis:58px}.photo-upload-item-actions{gap:2px 10px;align-items:stretch}.photo-upload-item-actions button{max-width:100%;text-align:left}.photo-upload-item-actions .secondary{padding:8px 11px}.photo-upload-name{font-size:.875rem}.photo-upload-actions{bottom:-20px;margin-left:-17px;margin-right:-17px;margin-bottom:-20px;padding:14px 17px;gap:8px}.photo-upload-actions .primary{flex:1;padding:12px 15px}.photo-upload-actions .secondary{padding:12px 15px}.photo-upload-summary{font-size:.875rem}.photo-upload-heading .hint{font-size:.9375rem}}
