.mgm-wrap{max-width:900px;margin:28px auto;padding:26px;background:#fff;border:1px solid #e5e7eb;border-radius:18px;box-shadow:0 10px 32px rgba(15,23,42,.06);color:#172b25;font-family:inherit}.mgm-wrap h2{margin:0 0 20px;color:#075b43;font-size:26px}.mgm-wrap h3{margin:28px 0 14px;color:#075b43}.mgm-wrap label{display:block;font-weight:600;font-size:14px;color:#253b34}.mgm-wrap input:not([type=checkbox]):not([type=radio]),.mgm-wrap textarea,.mgm-wrap select{display:block;width:100%;box-sizing:border-box;margin-top:7px;padding:12px 13px;border:1px solid #cbd5d1;border-radius:9px;background:#fff;color:#182b25;font:inherit;min-height:44px}.mgm-wrap input[type=file]{font-size:13px}.mgm-wrap small{display:block;color:#6b7772;font-weight:400;margin-top:5px}.mgm-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:20px}.mgm-full{grid-column:1/-1}.mgm-btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:9px;padding:12px 19px;background:#087653;color:#fff!important;font-weight:700;text-decoration:none;cursor:pointer;min-height:44px}.mgm-btn:hover{background:#065d42;color:#fff}.mgm-btn:disabled{opacity:.55;cursor:wait}.mgm-btn-light{background:#eef6f1;color:#075b43!important;border:1px solid #cce1d5}.mgm-btn-danger{background:#fff0f0;color:#9b2424!important;border:1px solid #f3cccc}.mgm-link{border:0;background:transparent;color:#087653;text-decoration:underline;cursor:pointer;padding:12px}.mgm-mobile-row{display:flex;gap:8px;align-items:center}.mgm-mobile-row span{padding:12px;border:1px solid #cbd5d1;border-radius:9px;background:#f5f7f6}.mgm-mobile-row input{flex:1;min-width:0}.mgm-mobile-row+.mgm-btn{margin-top:9px}.mgm-verified{color:#087653!important;font-weight:700!important}.mgm-steps{display:flex;gap:10px;margin:0 0 25px}.mgm-steps span{flex:1;padding:11px;border-radius:9px;background:#f2f5f3;color:#69746f;text-align:center;font-size:13px;font-weight:700}.mgm-steps .active{background:#e2f3e9;color:#075b43}.mgm-steps .done{background:#087653;color:white}.mgm-actions{display:flex;gap:10px;justify-content:space-between}.mgm-alert{padding:13px 15px;border-radius:9px;background:#eef6f1;margin:12px 0}.mgm-error{background:#fff0f0;color:#9b2424}.mgm-modal{position:fixed;z-index:999999;inset:0;background:rgba(10,25,20,.62);display:none;align-items:center;justify-content:center;padding:18px}.mgm-modal.is-open{display:flex}.mgm-modal-card{position:relative;width:min(100%,430px);background:#fff;border-radius:20px;padding:30px 26px 25px;box-shadow:0 25px 80px rgba(0,0,0,.25);text-align:center;animation:mgm-pop .18s ease-out}.mgm-modal-card h3{margin:10px 0;color:#075b43;font-size:23px}.mgm-modal-card p{color:#64716b;font-size:14px;margin-bottom:22px}.mgm-modal-card label{text-align:left;margin:16px 0}.mgm-modal-card .mgm-btn{width:100%;margin-top:10px}.mgm-modal-close{position:absolute;right:13px;top:8px;border:0;background:transparent;font-size:30px;line-height:1;color:#66716b;cursor:pointer}.mgm-otp-icon{width:48px;height:48px;margin:auto;border-radius:50%;display:grid;place-items:center;background:#e2f3e9;color:#087653;font-size:26px;font-weight:bold}.mgm-modal #mgm-otp-feedback{font-size:13px;margin-top:14px}.mgm-modal #mgm-otp-feedback.success{color:#087653}.mgm-modal #mgm-otp-feedback.error{color:#b42318}.mgm-dashboard-head{display:flex;align-items:center;justify-content:space-between;gap:15px}.mgm-dashboard-head h2{margin-bottom:5px}.mgm-dashboard-head p{margin-top:0;color:#64716b}.mgm-status{display:inline-block;padding:7px 10px;border-radius:30px;background:#eef2f0;font-size:12px;font-weight:700}.mgm-status-approved{background:#e2f3e9;color:#075b43}.mgm-status-rejected,.mgm-status-suspended{background:#fff0f0;color:#9b2424}.mgm-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0}.mgm-card{border:1px solid #e0e8e3;border-radius:12px;padding:15px;min-width:0}.mgm-card small{display:block;color:#66746d;margin-bottom:8px}.mgm-card strong{overflow-wrap:anywhere}.mgm-idcard{width:100%;max-width:380px;aspect-ratio: .61;background:#fff;border:1px solid #e5e7eb;border-radius:20px;overflow:hidden;margin:15px auto 20px;padding:25px 23px 0;box-sizing:border-box;text-align:center;color:#075b43;box-shadow:0 10px 28px #0f172a14;font-family:Arial,sans-serif}.mgm-id-logo{height:70px;display:flex;align-items:center;justify-content:center;margin-bottom:8px}.mgm-id-logo img{max-width:150px;max-height:65px;object-fit:contain}.mgm-logo-text b{display:block;font-size:45px;line-height:40px;letter-spacing:-4px;color:#087653}.mgm-logo-text b span{color:#f07817}.mgm-logo-text strong{display:block;font-size:20px;letter-spacing:-1px}.mgm-id-photo{width:145px;height:145px;object-fit:cover;border-radius:18px;margin:0 auto 12px;display:block}.mgm-idcard h2{font-size:25px;line-height:1.1;color:#075b43;margin:10px 0 18px;overflow-wrap:anywhere}.mgm-id-rule{width:45px;height:3px;background:#387d50;margin:0 auto 18px}.mgm-id-details{text-align:left;display:grid;gap:8px;font-size:12px;color:#48534e}.mgm-id-details div{display:grid;grid-template-columns:1fr 1.15fr;gap:8px}.mgm-id-details b{color:#252e2a;overflow-wrap:anywhere}.mgm-id-bottom{display:flex;align-items:center;justify-content:space-around;margin:18px 0 15px;gap:15px}.mgm-id-bottom img{width:80px;height:80px;object-fit:contain}.mgm-signature{color:#1d2e28;font-family:cursive;font-size:20px;transform:rotate(-4deg)}.mgm-signature small{font-family:Arial,sans-serif;font-size:10px;transform:rotate(4deg);margin-top:10px}.mgm-idcard footer{background:#075b43;color:#fff;margin:0 -23px;padding:12px;font-size:13px;letter-spacing:.3px}.mgm-work-list{display:grid;gap:12px}.mgm-work{padding:16px;border:1px solid #e1e9e4;border-radius:12px}.mgm-work p{margin:8px 0}.mgm-work form{margin-top:10px}@keyframes mgm-pop{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@media(max-width:650px){.mgm-wrap{margin:12px;padding:18px;border-radius:13px}.mgm-grid{grid-template-columns:1fr;gap:14px}.mgm-full{grid-column:auto}.mgm-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.mgm-dashboard-head{align-items:flex-start;flex-direction:column}.mgm-steps span{font-size:11px;padding:9px 5px}.mgm-idcard{max-width:340px;padding-left:18px;padding-right:18px}.mgm-idcard footer{margin-left:-18px;margin-right:-18px}}

/* Member profile stays collapsed until the member explicitly opens it. */
.mgm-wrap .mgm-profile-panel{margin:26px 0;border:1px solid #dce8e1;border-radius:12px;background:#fff;overflow:hidden}
.mgm-wrap .mgm-profile-panel>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;list-style:none;padding:16px 18px;color:#075c43;font-size:21px;font-weight:600}
.mgm-wrap .mgm-profile-panel>summary::-webkit-details-marker{display:none}
.mgm-wrap .mgm-profile-panel>summary:after{content:'+';font-size:24px;font-weight:400;color:#087a58}
.mgm-wrap .mgm-profile-panel[open]>summary:after{content:'−'}
.mgm-wrap .mgm-profile-hint{font-size:13px;font-weight:500;color:#60756b;margin-left:auto}
.mgm-wrap .mgm-profile-form{padding:0 18px 18px}
@media(max-width:600px){.mgm-wrap .mgm-profile-panel>summary{font-size:18px;flex-wrap:wrap}.mgm-wrap .mgm-profile-hint{font-size:12px}}

/* v1.1.6: render the official site logo cleanly on the membership ID card */
.mgm-id-logo img{display:block;max-width:190px;width:auto;height:auto;max-height:64px;object-fit:contain;margin:0 auto}.mgm-id-brand-name{font-size:22px;color:#075c43;font-weight:700}
