.member-name-button{border:0;background:none;color:inherit;text-align:left;padding:3px 0;cursor:pointer;display:grid;gap:4px;max-width:230px}
.member-name-button b{color:#f5f3ff;font-size:14px}
.member-name-button small{color:#8589a0;font-size:11px}
.member-name-button:hover b,.member-name-button:focus-visible b{color:#b7a7ff;text-decoration:underline;text-underline-offset:3px}
.member-name-button:focus-visible{outline:2px solid #a58bff;outline-offset:3px;border-radius:4px}
#modal.member-profile-dialog{width:min(860px,calc(100vw - 28px));max-width:860px}
#modal.member-profile-dialog #modalSubmit[hidden]{display:none}
#modal.member-profile-dialog .modal-body{max-height:min(75vh,800px);padding:0}
.member-profile{padding:24px;display:grid;align-content:start;gap:21px}
.member-profile-hero{display:flex;align-items:center;gap:18px;padding:22px;border-radius:18px;background:radial-gradient(circle at 85% 0,#7853de4a,transparent 45%),linear-gradient(130deg,#25203f,#151623);border:1px solid #443b68}
.member-profile-avatar{flex:none;width:64px;height:64px;border-radius:19px;display:grid;place-items:center;background:linear-gradient(135deg,#a38bff,#5742ae);font:700 23px 'Space Grotesk',sans-serif;color:white;box-shadow:0 12px 30px #7756dc58}
.member-profile-hero small,.member-profile-summary small{color:#a993ff;font-size:10px;font-weight:800;letter-spacing:1.5px}
.member-profile-hero h3{font:700 27px 'Space Grotesk',sans-serif;margin:5px 0}
.member-profile-hero p{margin:0;color:#b8b7c9;font-size:13px}
.member-profile-hero p span{padding:0 5px;color:#75758c}
.member-periods{display:flex;gap:7px;flex-wrap:wrap;padding:4px;background:#0b0c16;border:1px solid #29283e;border-radius:13px;width:max-content;max-width:100%}
.member-periods button{border:0;border-radius:9px;background:transparent;color:#a8a6b9;padding:9px 15px;cursor:pointer;font-family:inherit;font-size:12px;font-weight:600}
.team-refresh-button{display:flex;align-items:center;gap:9px;border:1px solid #40395e;border-radius:10px;background:#1b1930;color:#e7e0ff;padding:10px 13px;font-family:inherit;font-size:12px;font-weight:700;cursor:pointer;white-space:nowrap}
.team-refresh-button:hover{background:#2a2347;border-color:#8668e5}
.team-refresh-button:disabled{opacity:.55;cursor:wait}
.team-refresh-button[aria-busy="true"] svg{animation:member-refresh-spin 1s linear infinite}
@keyframes member-refresh-spin{to{transform:rotate(360deg)}}
.member-periods button.selected{background:#3a2c6d;color:#fff;box-shadow:inset 0 0 0 1px #7f61da}
.member-periods button:focus-visible{outline:2px solid #b59dff;outline-offset:2px}
.member-profile-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.member-profile-summary>div{min-height:90px;border:1px solid #2d2d43;border-radius:14px;background:#11121f;padding:15px 18px;display:flex;flex-direction:column;align-items:flex-start;gap:6px}
.member-profile-summary b{font:700 27px 'Space Grotesk',sans-serif}
.member-profile-summary span{color:#9392aa;font-size:12px}
.member-profile-summary .support-average{display:grid;gap:2px}
.member-profile-summary .support-average.empty{min-height:0;padding:0;place-content:initial;justify-items:start;text-align:left}
.member-profile-summary .support-average b{font-size:23px}
.member-activity-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
.member-activity-card{min-height:119px;padding:16px;border:1px solid #303147;border-radius:15px;background:linear-gradient(145deg,#191a2a,#10111d);display:grid;align-content:space-between;gap:5px}
.member-activity-card>span{width:30px;height:30px;border-radius:9px;background:#7658d027;display:grid;place-items:center;color:#b49dff}
.member-activity-card svg{width:17px;height:17px}
.member-activity-card strong{font:700 28px 'Space Grotesk',sans-serif;color:#f8f6ff;line-height:1}
.member-activity-card small{font-size:12px;color:#a6a6ba}
.member-activity-card.blue>span{background:#4d91e12a;color:#85bbff}
.member-activity-card.green>span{background:#4dbd9b27;color:#76ddbd}
.member-activity-card.orange>span{background:#d9944827;color:#fac384}
.member-activity-card.red>span{background:#dd5a7927;color:#ff91aa}
.member-profile-note{font-size:12px;line-height:1.55;color:#898ba1;margin:-2px 0 0}
.member-profile-loading,.member-profile-error{padding:50px 24px;text-align:center;color:#bbb9d2}
.member-profile-error p{color:#9996ac}
@media(max-width:650px){.member-profile{padding:16px;gap:16px}.member-profile-hero{padding:16px}.member-profile-avatar{width:52px;height:52px;border-radius:14px}.member-profile-hero h3{font-size:22px}.member-profile-summary{grid-template-columns:1fr 1fr}.member-activity-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.member-activity-card{min-height:109px}.team-refresh-button span{display:none}.team-refresh-button{padding:10px}}
@media(max-width:420px){.member-profile-summary{grid-template-columns:1fr}.member-periods{width:100%}.member-periods button{flex:1;padding:9px 5px}}
