/* Profile presentation only. Form actions, nonces and permissions are unchanged. */
.ar-member-page .ar-member-main>h1{font-size:clamp(28px,3vw,36px);text-align:center;line-height:1.2;margin:8px 0 44px}
.ar-member-page .ar-member-main>.arp-eyebrow{text-align:center}
.ar-member-page .ar-member-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;grid-auto-rows:1fr;gap:24px}
.ar-member-page .ar-member-grid>.ar-member-card{min-width:0;height:100%;margin-bottom:0}
.ar-member-page .ar-member-grid>.ar-member-card:last-child{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-content:start}
.ar-member-page .ar-member-grid>.ar-member-card:last-child>h2,.ar-member-page .ar-member-grid>.ar-member-card:last-child>dl,.ar-member-page .ar-member-grid>.ar-member-card:last-child>p{grid-column:1/-1}
.ar-member-page .ar-member-grid>.ar-member-card:last-child>h2{margin:0 0 4px}
.ar-member-page .ar-member-grid>.ar-member-card:last-child>dl{margin:0 0 4px}
.ar-member-page .ar-member-grid>.ar-member-card:last-child>.ar-offer-links,.ar-member-page .ar-member-grid>.ar-member-card:last-child>.ar-sub-profile-links,.ar-member-page .ar-member-grid>.ar-member-card:last-child>p:last-child{display:contents}
.ar-member-page .ar-member-grid .arp-button,.ar-member-page .ar-member-grid>.ar-member-card>p>a{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:72px;min-height:72px;padding:10px 8px;border:1px solid #9ab38b;border-radius:8px;background:#b9d1a8;color:#000!important;font:600 13px/1.35 var(--theme-font-family,system-ui,sans-serif);text-align:center;text-decoration:none;white-space:normal;overflow-wrap:anywhere;box-shadow:none;transition:background .15s}
.ar-member-page .ar-member-grid .arp-button:hover,.ar-member-page .ar-member-grid>.ar-member-card>p>a:hover{background:#a9c696;color:#000!important;border-color:#819e71}
.ar-member-page .ar-member-grid .arp-button:focus-visible,.ar-member-page .ar-member-grid>.ar-member-card>p>a:focus-visible{outline:3px solid #9a742a;outline-offset:3px}
.ar-member-page .ar-member-grid>.ar-member-card:first-child .arp-button,.ar-member-page .ar-member-grid>.ar-member-card:first-child>p>a{width:calc((100% - 24px)/3)}
@media(max-width:900px){.ar-member-page .ar-member-grid{grid-template-columns:1fr}.ar-member-page .ar-member-main>h1{margin-bottom:34px}}
@media(max-width:540px){.ar-member-page .ar-member-grid>.ar-member-card:last-child{gap:8px}.ar-member-page .ar-member-grid .arp-button,.ar-member-page .ar-member-grid>.ar-member-card>p>a{height:80px;min-height:80px;font-size:11px;padding:8px 5px}.ar-member-page .ar-member-grid>.ar-member-card:first-child .arp-button,.ar-member-page .ar-member-grid>.ar-member-card:first-child>p>a{width:calc((100% - 16px)/3)}}
/* Keep the existing panel footprint; move password recovery beside Save. */
.ar-member-page .ar-member-grid>.ar-member-card:first-child{position:relative}
.ar-member-page .ar-member-grid>.ar-member-card:first-child>form:has(input[name="profile_name"]){position:relative}
.ar-member-page .ar-member-grid>.ar-member-card:first-child>p:last-child{position:relative;margin-top:14px;margin-bottom:14px;min-height:72px;pointer-events:none}
.ar-member-page .ar-member-grid>.ar-member-card:first-child>p:last-child>a{position:relative;left:calc((100% - 24px)/3 + 12px);transform:translateY(calc(-100% - 22px));pointer-events:auto}
@media(max-width:540px){.ar-member-page .ar-member-grid>.ar-member-card:first-child>p:last-child{min-height:80px}.ar-member-page .ar-member-grid>.ar-member-card:first-child>p:last-child>a{left:calc((100% - 16px)/3 + 8px);transform:translateY(calc(-100% - 22px))}}
/* Match both panel headings and center each inside its own card. */
.ar-member-page .ar-member-grid>.ar-member-card>h2{font-size:22px;line-height:1.3;text-align:center;width:100%;margin-top:0;margin-bottom:20px}
@media(max-width:540px){.ar-member-page .ar-member-grid>.ar-member-card>h2{font-size:20px}}
