/* Match the attachment-photo table perimeter; inner rules and fields keep their styles. */
body[data-income-design] #app #content .partner-archive-page .member-profile-reference form.partner-profile section:is([data-profile-section=basic],[data-profile-section=education],[data-profile-section=experience],[data-profile-section=life],[data-profile-section=referral],[data-profile-section=payment]) table{border:1px solid #e6a04b!important}
body[data-income-design] #app #content .partner-archive-page .member-profile-reference form.partner-profile section:is([data-profile-section=basic],[data-profile-section=education],[data-profile-section=experience],[data-profile-section=life],[data-profile-section=referral],[data-profile-section=payment]) table>thead>tr:first-child>th{border-top:1px solid #e6a04b!important}
body[data-income-design] #app #content .partner-archive-page .member-profile-reference form.partner-profile section:is([data-profile-section=basic],[data-profile-section=education],[data-profile-section=experience],[data-profile-section=life],[data-profile-section=referral],[data-profile-section=payment]) table> :is(thead,tbody,tfoot)>tr>:first-child{border-left:1px solid #e6a04b!important}
body[data-income-design] #app #content .partner-archive-page .member-profile-reference form.partner-profile section:is([data-profile-section=basic],[data-profile-section=education],[data-profile-section=experience],[data-profile-section=life],[data-profile-section=referral],[data-profile-section=payment]) table> :is(thead,tbody,tfoot)>tr>:last-child{border-right:1px solid #e6a04b!important}
body[data-income-design] #app #content .partner-archive-page .member-profile-reference form.partner-profile section:is([data-profile-section=basic],[data-profile-section=education],[data-profile-section=experience],[data-profile-section=life],[data-profile-section=referral],[data-profile-section=payment]) table>tbody>tr:nth-last-child(1 of :not([hidden]))>td{border-bottom:1px solid #e6a04b!important}
