.member-ui{max-width:760px;margin:auto;font:1rem/1.6 system-ui,sans-serif}.member-ui h2{font-size:2rem}.member-ui label{display:block;margin:1rem 0}.member-ui input:not([type=checkbox]),.member-ui select,.member-ui textarea{box-sizing:border-box;display:block;width:100%;padding:.8rem;font:inherit;min-width:0}.member-ui .check{display:flex;align-items:flex-start;gap:.7rem}.member-ui input[type=checkbox]{flex:none;width:20px;height:20px;margin-top:.25rem}.member-ui fieldset{margin:1.5rem 0;padding:1rem;border:1px solid #8a7862;border-radius:10px;min-width:0}.member-ui legend{font-weight:700;color:#f3dea0}.member-ui button,.profile-section button{padding:.7rem 1rem;margin:.35rem .35rem .35rem 0;min-height:44px}.member-ui [role=status]{white-space:pre-wrap;color:#ffe0b2;overflow-wrap:anywhere}.member-ui button:disabled{opacity:.65;cursor:wait}.member-actions{display:flex;gap:.4rem;flex-wrap:wrap}.member-columns{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.member-photo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:1.2rem}.member-photo-grid figure{margin:0;overflow-wrap:anywhere}.member-photo{display:block;width:100%;height:auto;max-width:340px;max-height:450px;object-fit:contain;border-radius:10px;margin:.5rem 0}.member-avatar{display:grid;place-items:center;width:80px;height:80px;background:#655044;color:#fff;font-size:2rem;border-radius:8px}.participant-grid{display:flex;flex-wrap:wrap;gap:.75rem;margin:1.5rem 0}.participant-tile{width:90px;padding:.25rem!important;border:0;display:flex;align-items:center;flex-direction:column;gap:.3rem;overflow-wrap:anywhere;font-size:.85rem}.participant-tile img{width:72px;height:72px;object-fit:cover;border-radius:6px}.participant-tile .member-avatar{width:72px;height:72px}.member-note{border-left:3px solid #e53270;padding:1rem;background:#30252d}.mfa-secret{display:block;overflow-wrap:anywhere;user-select:all;font-size:1.1rem;padding:1rem;background:#29272c}.charter-reader{max-height:85dvh;overflow:auto;padding:1.5rem;max-width:760px}.charter-reader>button{position:sticky;top:0;z-index:1;background:#a9154a!important}.charter-reader .page{display:block!important}.member-ui details{padding:1rem 0}#modal{box-sizing:border-box;width:min(850px,96vw);max-height:90dvh;padding:1.5rem;overflow:auto}#modal #close{position:sticky;top:0;float:right;z-index:2}#modal #panel{max-height:none;overflow:visible}.member-ui form>button.primary{display:block;margin-top:1.2rem}.member-ui small{display:block}#fiche{max-width:900px}#fiche p{max-width:70ch}#fiche [role=status]{color:#ffe0b2}.legal-status{padding:1rem;border:1px solid #b49a68;border-radius:8px}#moderate{display:inline-block;margin-left:auto}@media(max-width:600px){.member-columns{grid-template-columns:1fr;gap:0}#modal{padding:1rem}.member-ui h2{font-size:1.6rem}.member-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.member-ui fieldset{padding:.7rem}.member-ui button{max-width:100%;white-space:normal}.member-photo{max-height:320px}}

dialog#modal{overflow:hidden;padding:0}#modal #panel{overflow-y:auto;max-height:80dvh;padding:0 1.2rem 1.5rem}dialog.charter-reader[open]{display:block!important;overflow-y:auto}dialog.charter-reader{padding:1rem}dialog.charter-reader>button{position:sticky;top:0}

.simple-profile .profile-intro{max-width:48ch}.simple-profile .profile-step{margin:1rem 0 1.5rem;background:#343139;border:1px solid #87754e}.profile-photo-layout{display:grid;grid-template-columns:150px 1fr;gap:1rem;align-items:center}#photo-placeholder{display:grid;place-content:center;min-height:150px;border:1px dashed #cbb07a;border-radius:12px;text-align:center;color:#e9d5b5;padding:.5rem}.profile-photo-layout .member-photo{max-height:200px;width:100%;margin:0}.photo-picker{padding:.8rem!important;background:#96204d;border:1px solid #ef8fb0;border-radius:10px;color:white;font-weight:600}.photo-picker input{font-size:16px!important;padding:.4rem 0!important;color:#fff}.photo-picker input::file-selector-button{padding:.65rem;border:0;border-radius:5px;background:#f6e1a0;color:#24212a;font-weight:600;cursor:pointer}.photo-error{color:#ffb6c5!important;font-weight:600}.profile-options{border-bottom:1px solid #786963}.profile-options summary{cursor:pointer;font-weight:600;color:#f6dda7;padding:.6rem 0}.profile-consents{margin-top:1.5rem}.profile-save{position:sticky;bottom:0;background:#343139;padding:.65rem;border-top:1px solid #bda06a;border-radius:10px;z-index:1}.profile-save button{width:100%;margin:0!important}.profile-save p:empty{display:none}.profile-save p{margin:0 0 .5rem}.simple-profile :focus-visible{outline:3px solid #f4c86b;outline-offset:3px}@media(max-width:600px){.profile-photo-layout{grid-template-columns:1fr}.profile-photo-layout>div:first-child{max-width:160px;margin:auto}.profile-photo-layout #photo-placeholder{min-width:135px}.simple-profile .profile-step{padding:.8rem}#modal #panel{padding-inline:.8rem}}

.simple-profile [hidden]{display:none!important}

.member-ui [hidden]{display:none!important}.member-tabs{display:flex;gap:.4rem;position:sticky;top:0;background:#343139;z-index:2;padding:.6rem 0}.member-tabs button{flex:1;margin:0;font-size:.95rem}.member-tabs [aria-current=page]{background:#96204d;color:#fff;border-color:#f0bf6e}.own-profile,.member-tools,.photo-group{background:#302d34;padding:1rem;border:1px solid #9e895e;border-radius:14px;margin:1rem 0}.own-profile .profile-hero{display:flex;gap:1rem;align-items:center}.own-profile .profile-hero img{width:130px}.profile-bio{white-space:pre-wrap}.member-tools a{display:inline-block;margin:.6rem;color:#f4c86b}.photo-cropper{box-sizing:border-box;width:min(520px,96vw);max-height:92dvh;overflow:auto;background:#343139;color:#fff;border:1px solid #cbb07a;border-radius:16px;padding:1rem}.photo-cropper canvas{display:block;width:min(100%,300px);height:auto;margin:auto;border:2px solid #cbb07a}.photo-cropper label{display:block;margin:.65rem 0}.photo-cropper input{display:block;width:100%;min-height:30px;accent-color:#e979a3}.crop-actions{display:flex;flex-wrap:wrap;gap:.5rem}.crop-actions button{padding:.8rem;background:#96204d;color:white;border:1px solid #cbb07a;border-radius:8px}.photo-cropper::backdrop{background:#000b}@media(max-width:600px){.member-tabs button{padding:.65rem .3rem}.own-profile .profile-hero{align-items:flex-start}.own-profile .profile-hero img{width:95px}.photo-cropper canvas{max-height:28dvh;width:auto;max-width:100%}}

.account-controls{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:space-between;margin:.5rem 0 1rem}.member-ui .danger-action{background:#4b2331;color:#ffe0e8;border:1px solid #f192ac}.account-deletion{border:1px solid #d88a9f;border-radius:12px;padding:1rem!important;margin-top:1rem}.account-deletion summary{color:#ffc6d6;font-weight:700}.photo-replace-note{font-size:.9rem;color:#eadbbf}

.admin-member-fields{display:grid;grid-template-columns:minmax(120px,1fr) 2fr;gap:.6rem 1rem}.admin-member-fields dt{color:#efd397;font-weight:600}.admin-member-fields dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}@media(max-width:500px){.admin-member-fields{grid-template-columns:1fr}.admin-member-fields dd{margin-bottom:.7rem}}

.account-link.has-notifications{border:2px solid #e44b91;box-shadow:0 0 0 3px #e44b9126;}
