.users-panel { padding: 22px; }
.user-filters { display: grid; grid-template-columns: auto minmax(220px, 1fr) auto; align-items: center; gap: 10px; margin-bottom: 10px; }
.user-filters label { color: #4d596a; font-size: 13px; font-weight: 650; white-space: nowrap; }
td.user-email { min-width: 220px; overflow-wrap: anywhere; }
td.user-games { min-width: 220px; line-height: 1.7; }
td.user-orders { min-width: 260px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
td.user-action { min-width: 210px; }
td.user-action .button { margin: 0 6px 6px 0; }
.user-action-note { display: block; margin-bottom: 6px; color: #647084; font-size: 12px; }
.entitlement-count { display: inline-flex; align-items: center; padding: 3px 8px; margin: 0 5px 4px 0; border-radius: 99px; color: #28559b; background: #eaf0fb; font-size: 12px; font-weight: 700; white-space: nowrap; }
.button--upgrade { border-color: #b7c9ef; color: #3157a0; background: #f3f7ff; white-space: nowrap; }
.button--upgrade:hover { background: #e6eeff; }
.button--upgrade:disabled { cursor: wait; opacity: .65; }
.button--reset-password { border-color: #e3c6c6; color: #8a3434; background: #fff8f8; white-space: nowrap; }
.button--reset-password:hover { background: #ffeded; }
.button--reset-password:disabled { cursor: wait; opacity: .65; }
.upgrade-dialog { width: min(520px, calc(100% - 24px)); max-height: min(90vh, 720px); padding: 0; border: 1px solid #d9e0e9; border-radius: 14px; color: inherit; box-shadow: 0 20px 70px rgb(22 33 50 / 24%); }
.upgrade-dialog::backdrop { background: rgb(17 27 43 / 48%); }
.upgrade-dialog form { display: grid; gap: 12px; padding: 24px; }
.upgrade-dialog h2, .upgrade-dialog p { margin: 0; }
.upgrade-detail, .upgrade-note { color: #647084; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.upgrade-dialog label, .upgrade-game-picker legend { color: #4d596a; font-size: 13px; font-weight: 650; }
.upgrade-game-picker { margin: 0; padding: 12px; border: 1px solid #d9e0e9; border-radius: 9px; }
.upgrade-games { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.upgrade-game { display: flex; align-items: center; gap: 8px; min-height: 36px; }
.upgrade-game input { min-height: 0; width: 16px; height: 16px; margin: 0; accent-color: #275fc7; }
.upgrade-game input:disabled { opacity: .65; }
.upgrade-actions { display: flex; justify-content: flex-end; gap: 8px; }
.reset-password-value { display: block; padding: 13px; border: 1px solid #d9e0e9; border-radius: 9px; color: #18243a; background: #f6f8fb; font-size: 17px; line-height: 1.6; letter-spacing: .04em; text-align: center; overflow-wrap: anywhere; user-select: all; }
@media (max-width: 860px) { .user-filters { grid-template-columns: 1fr 1fr; } .user-filters label { grid-column: 1 / -1; } .user-filters input { grid-column: 1; } .user-filters .button { grid-column: 2; } }
@media (max-width: 520px) { .users-panel { padding: 17px; } .upgrade-dialog form { padding: 18px; } .upgrade-games { grid-template-columns: 1fr; } }
