:root {
  /* Neutral scale */
  --n-0:  #ffffff;
  --n-50: #F9FAFB;
  --n-100:#F3F4F6;
  --n-200:#E5E7EB;
  --n-300:#D1D5DB;
  --n-400:#9CA3AF;
  --n-500:#6B7280;
  --n-600:#4B5563;
  --n-700:#374151;
  --n-800:#1F2937;
  --n-900:#111827;

  /* Brand */
  --brand: #4F46E5;
  --brand-hover:#4338CA;
  --brand-soft:#EEF2FF;

  /* Semantic */
  --success:#10B981;
  --success-soft:#ECFDF5;
  --error:#EF4444;
  --error-soft:#FEF2F2;
  --warning:#F59E0B;
  --warning-soft:#FFFBEB;

  /* Derived */
  --bg-body: #F5F7FB;
  --bg-card: var(--n-0);
  --bg-sidebar: var(--n-0);
  --bg-hover:var(--n-50);

  --text-primary:   var(--n-900);
  --text-secondary: var(--n-500);
  --text-muted:     var(--n-400);
  --text-link:      var(--brand);

  --border: var(--n-200);
  --border-light: var(--n-100);

  --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.06), 0 2px 4px -1px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.06), 0 4px 6px -2px rgba(0,0,0,0.04);

  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { font-size: 15px; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg-body);
  color: var(--text-primary);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ========== LAYOUT ========== */
.app-layout {
  display: flex;
  min-height: 100vh;
}

/* ========== SIDEBAR ========== */
.sidebar {
  width: 240px;
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border);
  padding: 24px 16px;
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  padding: 0 8px;
}

.sidebar-logo .logo-icon {
  width: 28px;
  height: 28px;
  background: var(--brand);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-logo .logo-icon svg {
  width: 16px;
  height: 16px;
  color: #fff;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.15s ease;
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
}

.sidebar-item:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.sidebar-item.active {
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 600;
}

.sidebar-item .icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  opacity: 0.65;
}

.sidebar-item:hover .icon,
.sidebar-item.active .icon {
  opacity: 1;
}

.sidebar-divider {
  height: 1px;
  background: var(--border-light);
  margin: 12px 8px;
}

/* ========== MAIN ========== */
.main-content {
  margin-left: 240px;
  flex: 1;
  min-height: 100vh;
  padding: 32px 40px;
  max-width: calc(100vw - 240px);
}

/* ========== PAGE HEADER ========== */
.page-header {
  margin-bottom: 28px;
}

.page-header h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}

.page-header p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin: 0;
}

/* ========== CARDS ========== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-xs);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.card-header h2 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.card-header .card-action {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-link);
  text-decoration: none;
  padding: 4px 10px;
  border-radius: var(--radius-md);
  transition: background 0.15s;
}

.card-header .card-action:hover {
  background: var(--brand-soft);
  text-decoration: none;
}

/* ========== STAT ROW ========== */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: var(--shadow-xs);
}

.stat-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-card-icon svg, .stat-card-icon img {
  width: 22px;
  height: 22px;
}

.stat-card-icon.blue  { background: #EEF2FF; color: #4F46E5; }
.stat-card-icon.green { background: #ECFDF5; color: #10B981; }
.stat-card-icon.amber { background: #FFFBEB; color: #F59E0B; }
.stat-card-icon.red   { background: #FEF2F2; color: #EF4444; }

.stat-card-body {
  flex: 1;
  min-width: 0;
}

.stat-card-label {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 4px;
}

.stat-card-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* ========== TABLE ========== */
.table-container {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

th {
  text-align: left;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

td {
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-primary);
  vertical-align: middle;
}

tr:last-child td { border-bottom: none; }

/* ========== BADGES ========== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-green {
  background: var(--success-soft);
  color: #047857;
}

.badge-red {
  background: var(--error-soft);
  color: #B91C1C;
}

.badge-amber {
  background: var(--warning-soft);
  color: #B45309;
}

.badge-blue {
  background: var(--brand-soft);
  color: var(--brand);
}

.badge-gray {
  background: var(--n-100);
  color: var(--n-600);
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-hover);
}

.btn:disabled,
.btn[disabled] {
  background: var(--n-200);
  color: var(--text-muted);
  cursor: not-allowed;
  pointer-events: none;
}

.btn-secondary {
  background: var(--n-0);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--bg-hover);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}

.btn-ghost:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.btn-sm { padding: 6px 12px; font-size: 0.8125rem; }
.btn-lg { padding: 10px 20px; }

/* ========== INPUTS ========== */
.input {
  width: 100%;
  padding: 8px 12px;
  background: var(--n-0);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}

.input::placeholder {
  color: var(--text-muted);
}

/* ========== MODAL ========== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active { display: flex; }

.modal-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 28px;
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.modal-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 20px;
}

/* ========== SNACKBAR ========== */
.snackbar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  padding: 10px 20px;
  background: var(--n-900);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 10000;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  white-space: nowrap;
}

.snackbar.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ========== AUTH ========== */
.auth-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
  background: var(--bg-body);
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.auth-card .logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.auth-card .subtitle {
  text-align: center;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.auth-card .form-group {
  margin-bottom: 16px;
}

.auth-card .form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.auth-card .form-footer {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: 20px;
}

.auth-card .form-footer a {
  color: var(--brand);
  font-weight: 500;
  text-decoration: none;
}

.auth-card .form-footer a:hover {
  text-decoration: underline;
}

.auth-error {
  color: var(--error);
  font-size: 0.875rem;
  text-align: center;
  margin-top: 12px;
  display: none;
}

.auth-error.visible { display: block; }

/* ========== PAGINATION ========== */
.pagination {
  display: flex;
  gap: 4px;
  align-items: center;
  margin-top: 16px;
}

.page-btn {
  padding: 6px 12px;
  border: 1px solid var(--border);
  background: var(--n-0);
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.8125rem;
  cursor: pointer;
  border-radius: var(--radius-md);
  transition: all 0.15s;
}

.page-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.page-btn.active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.page-info {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-left: 12px;
}

/* ========== EMPTY STATE ========== */
.empty-state {
  text-align: center;
  padding: 48px 20px;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* ========== RESPONSIVE ========== */
.hamburger-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  border-radius: var(--radius-full);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s;
}

@media (max-width: 1024px) {
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .main-content { padding: 24px; }
}

@media (max-width: 768px) {
  .hamburger-btn { display: flex; }
  .sidebar {
    transform: translateX(-100%);
    width: 260px;
    box-shadow: var(--shadow-lg);
  }
  .sidebar.mobile-open { transform: translateX(0); }
  .main-content { margin-left: 0; padding: 16px; max-width: 100vw; }
  .stat-row { grid-template-columns: 1fr; }
  .page-header h1 { font-size: 1.4rem; }
}

/* ========== OVERLAY ========== */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 150;
}

.sidebar-overlay.active { display: block; }

.hamburger-btn:hover { background: var(--bg-hover); }
.hamburger-btn img { width: 22px; height: 22px; stroke: #374151; }

/* ========== TOP BAR ========== */
.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 16px;
}

.top-bar-search {
  position: relative;
  flex: 1;
  max-width: 440px;
}

.top-bar-search input {
  width: 100%;
  padding: 10px 14px 10px 38px;
  background: var(--n-0);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.9375rem;
  outline: none;
  transition: all 0.15s;
}

.top-bar-search input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}

.top-bar-search .search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  opacity: 0.6;
}

.top-bar-search .kbd-hint {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 0.75rem;
  color: var(--text-muted);
  pointer-events: none;
}

.top-bar-search .kbd-hint kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 5px;
  background: var(--n-100);
  border: 1px solid var(--n-200);
}

/* ========== SEARCH OVERLAY ========== */
.search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 300;
  align-items: flex-start;
  justify-content: center;
  padding-top: 120px;
}
.search-overlay.active { display: flex; }
.search-box {
  width: 100%;
  max-width: 560px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.search-box-input {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
}
.search-box-input img {
  width: 18px;
  height: 18px;
  opacity: 0.5;
  flex-shrink: 0;
}
.search-box-input input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-primary);
  outline: none;
}
.search-box-input input::placeholder { color: var(--text-muted); }
.search-box-input .kbd-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  background: var(--n-100);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--n-200);
}
.search-results {
  max-height: 420px;
  overflow-y: auto;
  padding: 8px;
}
.search-empty {
  padding: 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9375rem;
}
.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: background 0.1s;
}
.search-result-item:hover {
  background: var(--bg-hover);
}
.search-result-item .mod-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}
.search-result-item .mod-icon img.mod-icon-img { width: 24px; height: 24px; object-fit: contain; }
.search-result-item .mod-info {
  flex: 1;
  min-width: 0;
}
.search-result-item .mod-info .mod-name {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text-primary);
}
.search-result-item .mod-info .mod-meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.search-result-item .mod-caps {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}
.search-result-item .mod-caps .pill {
  font-size: 0.6875rem;
  padding: 2px 8px;
  border-radius: 9999px;
  background: var(--n-100);
  color: var(--text-secondary);
  font-weight: 500;
}
@media (max-width: 768px) {
  .search-overlay { padding: 80px 16px 0; }
  .search-box { max-width: 100%; }
}

.top-bar-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.top-bar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background 0.15s;
  position: relative;
}

.top-bar-btn:hover {
  background: var(--bg-hover);
}

.top-bar-btn img {
  width: 20px;
  height: 20px;
}

.top-bar-btn:hover img {
  filter: brightness(0.6);
}

.currency-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: var(--n-100);
  border-radius: var(--radius-full);
  cursor: pointer;
  height: 32px;
  user-select: none;
  border: 1px solid var(--border-light);
}
.currency-opt {
  position: relative;
  z-index: 1;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s;
}
.currency-opt.cur-active {
  color: var(--brand);
}
.currency-slider {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 32px;
  height: 28px;
  background: var(--bg-card);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-xs);
  transition: transform 0.2s ease;
}
.currency-slider[data-pos="rub"] {
  transform: translateX(32px);
}

.top-bar-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 8px;
  height: 8px;
  background: var(--error);
  border-radius: 50%;
  border: 2px solid var(--bg-body);
}

.top-bar-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
  margin-left: 4px;
  cursor: pointer;
  transition: background 0.15s;
  user-select: none;
}

.top-bar-avatar:hover {
  background: var(--brand);
  color: #fff;
}

.top-bar-avatar-wrap {
  position: relative;
  margin-left: 4px;
}

.top-bar-avatar[aria-expanded="true"] {
  background: var(--brand);
  color: #fff;
}

.user-dropdown-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: transparent;
}

.user-dropdown-overlay.active {
  display: block;
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 280px;
  background: var(--n-0);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 1200;
  overflow: hidden;
  display: none;
}

.user-dropdown.open {
  display: block;
}

.user-dropdown-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-hover);
  border-bottom: 1px solid var(--border-light);
}

.user-dropdown-head .ava {
  width: 40px; height: 40px;
  border-radius: var(--radius-full);
  background: var(--brand-soft);
  color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 0.9375rem;
  flex-shrink: 0;
}

.user-dropdown-head .info { min-width: 0; flex: 1; }
.user-dropdown-head .name {
  font-size: 0.875rem; font-weight: 600; color: var(--text-primary);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.user-dropdown-head .email {
  font-size: 0.75rem; color: var(--text-muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.user-dropdown-balance {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.8125rem;
}
.user-dropdown-balance .lbl { color: var(--text-secondary); }
.user-dropdown-balance .val { font-weight: 700; color: var(--text-primary); }

.user-dropdown-list { padding: 6px; }

.user-dropdown-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.12s;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
}

.user-dropdown-item:hover { background: var(--bg-hover); }

.user-dropdown-item .ic {
  width: 18px; height: 18px;
  color: var(--text-secondary);
  flex-shrink: 0;
}
.user-dropdown-item:hover .ic { color: var(--text-primary); }

.user-dropdown-item.danger { color: var(--error); }
.user-dropdown-item.danger .ic { color: var(--error); }
.user-dropdown-item.danger:hover { background: var(--error-soft); }

.user-dropdown-cta {
  margin-left: auto;
  display: inline-flex; align-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: 600;
}

.user-dropdown-item[aria-disabled="true"] {
  color: var(--text-muted);
  cursor: not-allowed;
  pointer-events: none;
}
.user-dropdown-item[aria-disabled="true"] .ic { color: var(--text-muted); }
.user-dropdown-item[aria-disabled="true"] .user-dropdown-cta { display: none; }
.user-dropdown-item[aria-disabled="true"]:hover { background: transparent; }

.user-dropdown-divider {
  height: 1px;
  background: var(--border-light);
  margin: 4px 6px;
}

@media (max-width: 768px) {
  .user-dropdown {
    width: calc(100vw - 60px);
    max-width: 320px;
  }
  .top-bar-search .kbd-hint,
  .search-box-input .kbd-hint {
    display: none;
  }
}
</style>
