.mg-wrap{max-width:1180px;margin:0 auto;padding:48px 24px 80px}.mg-heading{text-align:center;margin-bottom:36px}.mg-heading h1{font-size:clamp(2.3rem,5vw,4.3rem);color:#681d35;margin:8px 0}.mg-heading p{max-width:650px;margin:12px auto;color:#5b4a4f}.mg-kicker{font-size:12px;font-weight:800;letter-spacing:2px;color:#8b6529}.mg-auth{display:grid;grid-template-columns:1fr 1fr;border:1px solid #d9bd80;border-radius:20px;overflow:hidden;box-shadow:0 12px 36px #50192b12}.mg-auth-intro{padding:45px;background:linear-gradient(135deg,#6d203b,#431322);color:#fff7e5}.mg-auth-intro .mg-kicker{color:#e6c779}.mg-auth-intro h2{font-family:Georgia,serif;font-size:32px;line-height:1.3;color:#fff7e5}.mg-auth-intro p{color:#f6e9e2;line-height:1.7}.mg-auth-intro li{margin:20px 0}.mg-auth-form{padding:36px;background:white}.mg-auth-form h2,.mg-toolbar h2,.mg-chat h2,.mg-admin h2{color:#681d35;margin-top:0}.mg-auth-form label,.mg-assign label,#mg-compose>label{display:block;font-weight:650;margin:16px 0;color:#4e2935}.mg-auth-form input:not([type=checkbox]),.mg-search input,.mg-assign select,#mg-message{display:block;box-sizing:border-box;width:100%;margin-top:7px;border:1px solid #bdaa9c;border-radius:8px;padding:12px;font:16px/1.4 system-ui;background:#fff;color:#2e2025}.mg-check{display:flex!important;gap:10px;font-size:14px;line-height:1.6;font-weight:400!important}.mg-check input{width:20px;height:20px;flex-shrink:0;margin-top:3px}.mg-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;border:1px solid #d1ad62;border-radius:8px;background:#741f3c;color:white;padding:11px 18px;font:650 15px/1.3 system-ui;cursor:pointer}.mg-button:hover{background:#52172c}.mg-button:disabled{opacity:.55;cursor:wait}.mg-outline{color:#681d35;background:#fff9ec}.mg-outline:hover{background:#f3dfb4}.mg-link{border:0;background:none;color:#741f3c;font:650 14px/1.5 system-ui;text-decoration:underline;cursor:pointer;min-height:44px;padding:6px 8px}.mg-small{font-size:14px!important;line-height:1.6}.mg-auth-links{display:flex;flex-wrap:wrap;margin-top:15px}.mg-notice,.mg-pending,.mg-recovery{padding:22px;background:#fff5d9;border:1px solid #d5b977;border-radius:12px;margin:20px 0;color:#4c3322}.mg-error{background:#fff0ee;border-color:#b34b54;color:#842d38}.mg-account{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px 0;border-bottom:1px solid #e1cda5}.mg-account strong{display:block;font-size:20px}.mg-account span{font-size:14px;color:#705b62}.mg-delivery{font-size:14px;color:#63535a;background:#f5f0e8;padding:14px 18px;border-radius:8px}.mg-toolbar{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:35px 0 22px}.mg-search{font-size:14px;font-weight:600;min-width:230px}.mg-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.mg-card{border:1px solid #dac28f;border-radius:14px;overflow:hidden;background:white;box-shadow:0 5px 16px #4b10220c}.mg-card[hidden]{display:none}.mg-card-photo{height:175px;background-size:cover;background-position:center;display:flex;flex-direction:column;justify-content:space-between;padding:18px}.mg-private{align-self:flex-start;background:#fff5df;color:#62263a;border:1px solid #e6c573;border-radius:20px;font-size:12px;padding:5px 10px;font-weight:700}.mg-card-photo h3{color:white;font-size:25px;margin:0}.mg-card-body{padding:20px}.mg-card-body p{min-height:72px;color:#65545b;line-height:1.55;margin-top:0}.mg-status{font-size:14px;color:#755931;display:block;padding:12px 0}.mg-chat{background:white;border:1px solid #dac28f;border-radius:16px;margin-top:25px;overflow:hidden}.mg-chat header{padding:25px;border-bottom:1px solid #e4d5b8;background:#fff9ef}.mg-chat header .mg-private{float:right}.mg-chat header h2{margin:15px 0 8px}.mg-messages{min-height:220px;max-height:600px;overflow:auto;padding:25px}.mg-message{padding:20px;background:#fcf8f1;border:1px solid #ebdfc9;border-radius:12px;margin-bottom:16px}.mg-message>div{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px}.mg-message time{font-size:12px;color:#796970}.mg-message p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}.mg-remove{font-size:12px}.mg-empty{text-align:center;color:#796970;margin:60px 0}.mg-readonly{padding:20px;text-align:center;background:#faf5e9;margin:0}#mg-compose{padding:25px;border-top:1px solid #e4d5b8}.mg-member{padding:22px;border:1px solid #dac28f;background:white;border-radius:12px;margin:20px 0}.mg-member h3{margin:0;color:#681d35}.mg-memberships p{padding:12px;background:#f8f4eb;font-size:14px}.mg-assign{display:flex;gap:14px;align-items:end;flex-wrap:wrap}.mg-assign label{flex:1;min-width:180px;margin-bottom:0}.mg-recovery code{display:block;overflow-wrap:anywhere;background:white;padding:20px;border-radius:8px;font-size:16px}.mg-wrap :focus-visible{outline:3px solid #b58932;outline-offset:3px}
@media(max-width:900px){.mg-cards{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.mg-wrap{padding:30px 16px}.mg-auth{grid-template-columns:1fr}.mg-auth-intro,.mg-auth-form{padding:25px}.mg-cards{grid-template-columns:1fr}.mg-toolbar,.mg-account{align-items:stretch;flex-direction:column}.mg-heading h1{font-size:2.4rem}.mg-message{padding:15px}.mg-chat header,#mg-compose,.mg-messages{padding:18px}.mg-assign{display:block}.mg-assign button{margin-top:15px}}
