
.profile-edit-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:1.2rem}
.couple-editor{grid-template-columns:repeat(2,minmax(0,1fr))}
.profile-shared-panel{grid-column:1/-1}
.profile-person-panel{min-width:0;padding:1rem;border:1px solid #ccd8df;border-radius:.6rem}
.profile-person-panel .grid{grid-template-columns:minmax(0,1fr)}
.profile-field-group h2{margin-top:0}.profile-field-group .field{min-width:0}
.field:has(#txtTitle),.field:has(#txtarea59){grid-column:1/-1}
.dates{display:flex!important;gap:.5rem;align-items:center;flex-wrap:wrap}
.dates select{width:5.5rem!important;min-width:5.5rem}.dates input[name$="_day"]{width:4.5rem!important}.dates input[name$="_year"]{width:6rem!important}
.preference-range{display:flex;gap:1rem}.preference-range label{flex:1;min-width:0}
.dealbreakers-panel{margin-top:1.5rem;padding:1.2rem;background:#f0f5f7;border:1px solid #ccd8df;border-radius:.6rem}
.dealbreakers-panel input[type=checkbox]{width:auto;margin-right:.6rem}.dealbreakers-panel label{display:flex;align-items:center;gap:.3rem}
@media(max-width:700px){.couple-editor{grid-template-columns:minmax(0,1fr)}.profile-person-panel{padding:.8rem}}

.dates span{width:auto!important;flex:0 0 auto;padding:0!important}
@media(max-width:700px){.dates{gap:6px}.dates select{width:5rem!important;min-width:5rem!important}.dates input[name$="_day"]{width:3.75rem!important}.dates input[name$="_year"]{width:5rem!important}}
@media(max-width:380px){.dates{gap:3px}.dates select{width:4.375rem!important;min-width:4.375rem!important}.dates input[name$="_day"]{width:2.875rem!important}.dates input[name$="_year"]{width:4.25rem!important}}

.profile-field-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;min-width:0}.profile-field-pair .field{min-width:0}.pet-choices label{display:flex;align-items:center;gap:.5rem}.pet-choices input[type=checkbox]{width:auto}.pet-choices{display:flex;flex-wrap:wrap;gap:1rem}@media(max-width:700px){.profile-field-pair{grid-template-columns:minmax(0,1fr)}}

.preference-range select{width:100%;min-width:0}.search-basic{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-bottom:1rem}.search-age{display:flex;gap:1rem}.search-age label{flex:1;min-width:0}.search-age select{width:6rem;max-width:100%}select[data-preference-choice]{min-height:7rem;max-height:9rem;width:100%}.profile-field-group select,.profile-field-group input{max-width:100%}@media(max-width:700px){.search-basic{grid-template-columns:minmax(0,1fr)}}

img[src^="/member/gallery/photo"]{width:180px;height:180px;max-width:100%;object-fit:contain;background:#f6f0e9}.photo-gallery-section{margin:1.5rem 0;padding-top:.5rem}.photo-gallery-section form{margin-bottom:1rem}.photo-gallery-section button{margin:.25rem .25rem .25rem 0}

.couple-photo-slots,.couple-profile-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.couple-profile-photos figure{margin:0}.couple-profile-photos img,.couple-photo-slots img{width:180px;height:180px;max-width:100%;object-fit:contain}.profile-person-panel[hidden]{display:none}@media(max-width:700px){.couple-photo-slots{grid-template-columns:minmax(0,1fr)}}

.photo-gallery-section .review-grid img{width:180px;height:180px;max-width:100%;object-fit:contain}
