.mg{max-width:1180px;padding-top:56px;padding-bottom:80px;color:#4e5549}.mg-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:28px}.mg-heading h1{font-size:clamp(28px,4vw,40px);margin:8px 0 12px;letter-spacing:-1px}.mg-heading p{color:#787c70;line-height:1.7}.mg-admin-badge{display:inline-flex;padding:9px 15px;border:1px solid #cbd5c5;border-radius:30px;background:#eaf0e5;color:#53664b;font-size:13px;white-space:nowrap}.mg-nav{display:flex;gap:25px;border-bottom:1px solid #e1ded2;margin-bottom:28px}.mg-nav a{padding:14px 2px;font-size:15px}.mg-nav a[aria-current]{border-bottom:3px solid #7b8e6a;font-weight:700;color:#526a44}.mg-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:24px 0}.mg-stats article{padding:24px;border:1px solid #e9e2d5;border-radius:18px;background:#fffdf8}.mg-stats span{font-size:13px;color:#7d8076}.mg-stats strong{display:block;font-size:35px;margin-top:12px;font-weight:500;color:#536449}.mg-card{border:1px solid #e5dfd1;border-radius:20px;background:#fffdf9;padding:28px;margin-bottom:24px;min-width:0}.mg-card-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:22px}.mg-card h2{font-size:20px;margin:0 0 9px}.mg-card-heading p,.mg-card-heading>span{font-size:13px;color:#7d8076;line-height:1.7;margin:0}.mg-filters{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap;margin-bottom:20px}.mg-filters label{font-size:12px;display:grid;gap:8px}.mg-search{flex:1;min-width:180px}.mg input:not([type=checkbox]),.mg select{background:#fffefb;border:1px solid #dcdace;border-radius:9px;padding:11px 12px;color:#444f42;font:inherit;max-width:100%;min-height:44px}.mg select{padding-right:27px}.mg input:focus,.mg select:focus{outline:2px solid #80976e;outline-offset:2px}.mg .button{background:#6e815d;border:1px solid #6e815d;color:white;box-shadow:none;white-space:nowrap;font-size:14px}.mg .button:hover{background:#5b704c}.mg-reset{font-size:12px;padding:12px 0}.mg-table-wrap{overflow-x:auto}.mg-table{width:100%;border-collapse:collapse;font-size:13px;min-width:740px}.mg-table th{text-align:left;font-size:12px;font-weight:500;color:#818477;padding:13px 12px;background:#f7f5ec}.mg-table td{padding:19px 12px;border-bottom:1px solid #eee9dd;vertical-align:middle}.mg-table td>strong,.mg-table td>span,.mg-table td>small{display:block}.mg-table td small{color:#96978b;margin-top:6px;font-size:11px}.mg-table td:first-child span{font-size:12px;color:#858779;margin-top:7px;overflow-wrap:anywhere}.mg .mg-badge{display:inline-block;font-size:12px;border-radius:20px;padding:7px 11px;white-space:nowrap;font-weight:400}.mg-guest{background:#f2ece2;color:#8d7c65}.mg-member{background:#e8eee2;color:#617355}.mg-admin{background:#eee6ef;color:#806887}.mg .small-button{font-size:12px;background:transparent;padding:8px 12px;white-space:nowrap}.mg-pagination{display:flex;justify-content:center;gap:26px;align-items:center;margin-top:25px;font-size:13px}.mg-history{list-style:none;padding:0;margin:0}.mg-history li{display:flex;justify-content:space-between;gap:20px;padding:16px 0;border-bottom:1px solid #eee9dd;font-size:13px}.mg-history li:last-child{border-bottom:0}.mg-history strong{font-weight:500;overflow-wrap:anywhere}.mg-history p{font-size:12px;color:#808575;margin:8px 0 0}.mg-history small{font-size:11px;color:#8f9387;text-align:right;line-height:1.8}.mg-empty{text-align:center;color:#96978b;padding:32px!important;justify-content:center!important}.mg-back{display:inline-block;margin:0 0 20px;font-size:13px;color:#6a7f57}.mg-detail-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(250px,1fr);gap:24px}.mg-detail-grid .mg-card{align-self:start}.mg-form{font-size:14px}.mg-field{display:grid;gap:9px;margin-bottom:23px}.mg-field label{font-weight:600}.mg-field small{font-size:12px;color:#858a7b;line-height:1.7}.mg-checkbox{grid-template-columns:24px 1fr;align-items:center;gap:10px}.mg-checkbox label{grid-column:2;grid-row:1}.mg-checkbox input{grid-row:1;grid-column:1;width:19px;height:19px;accent-color:#718764}.mg-checkbox small,.mg-checkbox .errorlist{grid-column:1/-1}.mg-form-actions{display:flex;align-items:center;gap:24px;margin-top:28px}.mg-form-actions a{font-size:13px}.mg-note{font-size:13px;color:#808676;line-height:1.9;padding:15px 18px;border-radius:10px;background:#f3f3e9}.mg-account-info dl{font-size:13px}.mg-account-info dt{margin-top:23px;color:#8e9184}.mg-account-info dd{margin:7px 0 0}.mg-levels{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:30px 0 20px;font-size:13px}.mg-levels>span{border:1px solid #e1dfd1;border-radius:24px;padding:9px 14px;background:#fcfbf5}.mg-levels b{font-weight:400;color:#a1a690}.mg-rules{display:grid}.mg-rule{display:grid;grid-template-columns:1fr 240px;align-items:center;gap:30px;padding:20px 0;border-top:1px solid #ece8dc}.mg-rule label{font-weight:600}.mg-rule p{font-size:12px;color:#888d7c;line-height:1.7;margin:7px 0 0}.mg-savebar{display:flex;justify-content:space-between;align-items:center;gap:20px;border-radius:16px;padding:18px 24px;background:#ecefdf}.mg-savebar p{font-size:12px;line-height:1.8;margin:0;color:#767f67}.mg .errorlist{list-style:none;padding:12px;border-radius:8px;color:#a34f46;background:#f7e9e2;font-size:13px;line-height:1.8}.mg-denied{max-width:650px;text-align:center;margin:15px auto;padding:45px 25px}.mg-denied h1{font-size:28px}.mg-denied p{line-height:1.9;color:#838675}.mg-denied-icon{display:block;font-size:60px;color:#9aa889}.mg-denied .mg-back{display:block;margin-top:20px}.membership-note{margin:12px 0;padding:12px 16px;background:#f0efdf;border-radius:10px;font-size:13px;line-height:1.8}.header-admin-link{font-size:12px;border:1px solid #c1c9b5;border-radius:20px;padding:7px 11px;color:#526448;white-space:nowrap}
@media(max-width:750px){.mg{padding-top:32px}.mg-heading{align-items:flex-start}.mg-heading h1{font-size:27px}.mg-heading>span{font-size:11px;padding:7px 10px}.mg-heading p{font-size:13px}.mg-stats{grid-template-columns:repeat(2,1fr);gap:10px}.mg-stats article{padding:18px}.mg-stats strong{font-size:28px}.mg-card{padding:19px;border-radius:15px}.mg-card-heading{align-items:flex-start}.mg-filters{gap:10px}.mg-filters .mg-search{flex-basis:100%}.mg-filters label{flex:1;min-width:100px}.mg-detail-grid{grid-template-columns:1fr;gap:0}.mg-rule{grid-template-columns:1fr;gap:12px}.mg-rule select{width:100%}.mg-levels{gap:7px}.mg-levels>span{font-size:11px;padding:7px 10px}.mg-savebar{align-items:stretch;flex-direction:column}.mg-history li{flex-direction:column;gap:10px}.mg-history small{text-align:left}.mg-account-info dl{display:grid;grid-template-columns:1fr 1fr;gap:12px}.mg-account-info dt{margin:0}.mg-account-info dd{margin:0}.mg-card-heading p{overflow-wrap:anywhere}}
