/* Shared Studio frame; native membership forms retain their actions and validation. */
body.diyai-member-shell { background:#f7f8f5; color:#192b25; font-family:Arial,Helvetica,sans-serif; }
.diyai-member-shell { --pmpro--color--accent:#225b43; --pmpro--color--contrast:#192b25; --pmpro--color--border:#dce4d9; --pmpro--border-radius:16px; }
.member-studio-header,.member-studio-footer { box-sizing:border-box; display:flex; align-items:center; justify-content:space-between; gap:24px; padding:22px max(24px,calc((100% - 1200px)/2)); }
.member-studio-header { background:#f0f4ed; border-bottom:1px solid #dce4d9; }
.member-studio-brand { display:flex; align-items:center; gap:13px; color:#192b25; text-decoration:none; flex-shrink:0; }
.member-studio-brand strong { display:block; font-size:21px; font-weight:500; line-height:1.4; }
.member-studio-brand small { display:block; font-size:12px; color:#667269; }
.member-studio-mark { width:48px; height:48px; border-radius:14px; background:#225b43; color:white; display:grid; place-items:center; }
.member-studio-mark svg { width:28px; height:28px; }
.member-studio-nav { display:flex; gap:6px; flex-wrap:wrap; }
.member-studio-nav a { padding:11px 16px; border-radius:10px; color:#225b43; text-decoration:none; font-size:14px; line-height:1.4; }
.member-studio-nav a:hover,.member-studio-nav a[aria-current] { background:#dfeadb; color:#192b25; }
.diyai-member-shell a:focus-visible,.diyai-member-shell button:focus-visible { outline:3px solid #548966; outline-offset:3px; }
.diyai-member-shell #primary { box-sizing:border-box; width:100%; max-width:1200px!important; margin:36px auto 60px!important; padding:0 32px!important; min-height:65vh; }
.diyai-member-shell #content { max-width:none; width:100%; padding:0; }
.diyai-member-shell .breadcrumbs { margin-bottom:30px; font-size:13px; color:#667269; }
.diyai-member-shell .breadcrumbs a { color:#225b43; }
.diyai-member-shell #primary h1 { color:#192b25; font-size:clamp(30px,4vw,48px); font-weight:500; line-height:1.15; letter-spacing:-1px; }
.diyai-member-shell #primary .pmpro { font:15px/1.65 Arial,Helvetica,sans-serif; }
.diyai-member-shell #primary .pmpro_card { border:1px solid #dce4d9; border-radius:16px; background:#fff; box-shadow:0 4px 18px rgb(25 43 37 / 3%); margin-bottom:24px; }
.diyai-member-shell #primary .pmpro_card_content,.diyai-member-shell #primary .pmpro_card_actions { padding:22px 28px; }
.diyai-member-shell #primary .pmpro_card_actions { display:flex; gap:12px; flex-wrap:wrap; background:#f1f5ee; border-top:1px solid #dce4d9; border-radius:0 0 16px 16px; }
.diyai-member-shell #primary .pmpro_btn { border-radius:10px; padding:12px 20px; }
.diyai-member-shell #primary .pmpro_form_input { max-width:100%; border-radius:9px; }
.diyai-member-shell #primary .pmpro_table { width:100%; }
.diyai-member-shell #primary .pmpro_card_content { overflow-x:auto; }
.diyai-member-shell #primary .pmpro_level-highlight { border-color:#225b43!important; }
.member-studio-footer { border-top:1px solid #dce4d9; font-size:13px; color:#667269; }
.member-studio-footer nav { display:flex; gap:20px; }
.member-studio-footer a { color:#225b43; }
@media(max-width:700px) {
 .member-studio-header { align-items:flex-start; flex-direction:column; gap:16px; padding:20px; }
 .member-studio-nav { width:100%; gap:4px; }
 .member-studio-nav a { padding:10px 12px; }
 .diyai-member-shell #primary { padding:0 20px!important; margin-top:24px!important; }
 .diyai-member-shell #primary .pmpro_card_content,.diyai-member-shell #primary .pmpro_card_actions { padding:18px; }
 .member-studio-footer { flex-wrap:wrap; padding:24px 20px; }
}

.diyai-member-shell #pmpro_levels .diyai-pmpro-recommended { outline-color:#225b43; border-color:#225b43; background:#f0f5ed; }
.diyai-member-shell .diyai-recommended-badge { background:#225b43; color:#fff; }
