/* Inbox shell — same liquid-glass as home cards. No extra orbs. */

#viewInbox {
  position: relative;
  padding: 0.85rem 0 2.6rem;
}

#viewInbox .inbox-app {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 1.5rem));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 6.6rem);
  border-radius: 1.25rem;
  border: none !important;
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(22, 16, 38, 0.46) 36%,
    rgba(14, 10, 26, 0.56) 100%
  ) !important;
  backdrop-filter: blur(28px) saturate(170%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(170%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04),
    0 18px 50px rgba(0, 0, 0, 0.42) !important;
  overflow: hidden;
  transform: none !important;
  transition: background 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

#viewInbox .inbox-app::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.25) 0%,
    rgba(184, 160, 255, 0.2) 50%,
    rgba(232, 74, 138, 0.25) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 5;
}

#viewInbox .inbox-app::after {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 7.5rem;
  pointer-events: none;
  z-index: 4;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), transparent 80%);
}

#viewInbox .inbox-app:hover {
  transform: none !important;
}

#viewInbox .inbox-cmd {
  padding: 0.95rem 1.05rem 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
}

#viewInbox .inbox-cmd .inbox-top-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#viewInbox .inbox-cmd .address-display {
  flex: 1;
  min-width: 0;
  min-height: 2.7rem;
  padding: 0.45rem 0.95rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  background: rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  font-size: 0.96rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

#viewInbox .inbox-cmd .inbox-top-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

#viewInbox .inbox-cmd .ttl-pill,
#viewInbox .inbox-cmd .inbox-top-actions .btn {
  height: 2.2rem;
  border-radius: 0.72rem;
}

#viewInbox .inbox-actions-row[hidden] { display: none !important; }

/* ── Advanced: readable settings card ── */
#viewInbox .advanced-options {
  margin-top: 0.9rem;
  padding: 1.05rem 1.1rem 1.15rem !important;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  background: rgba(10, 7, 20, 0.42) !important;
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  animation: slideDown 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#viewInbox .available-domains-panel {
  margin: 0 0 1rem !important;
  padding: 0.95rem 1rem !important;
  border-radius: 0.85rem !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

#viewInbox .adv-domains-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

#viewInbox .adv-domains-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  font-size: 0.86rem;
  color: #f6f1ff !important;
}

#viewInbox .domain-chips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

#viewInbox .domain-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.38rem 0.75rem;
  border-radius: 0.6rem;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: rgba(246, 241, 255, 0.78) !important;
  font-size: 0.82rem;
  font-weight: 650;
  cursor: pointer;
}

#viewInbox .domain-chip.active {
  background: rgba(16, 185, 129, 0.14) !important;
  border-color: rgba(16, 185, 129, 0.38) !important;
  color: #b8f7d8 !important;
}

#viewInbox .domain-chip .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #64748b;
}
#viewInbox .domain-chip.active .dot {
  background: #34d399;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}

#viewInbox .advanced-options .controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1rem;
  margin-top: 0;
}

#viewInbox .advanced-options .field {
  min-width: 0;
}

#viewInbox .advanced-options .field label {
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(246, 241, 255, 0.78) !important;
}

#viewInbox .advanced-options input,
#viewInbox .advanced-options select,
#viewInbox .advanced-options .token-input,
#viewInbox .advanced-options .restore-inline input {
  background: #161022 !important;
  color: #f6f1ff !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  caret-color: #ffd978;
}

#viewInbox .advanced-options input::placeholder,
#viewInbox .advanced-options .restore-inline input::placeholder {
  color: rgba(246, 241, 255, 0.38) !important;
}

#viewInbox .advanced-options select option {
  background: #161022;
  color: #f6f1ff;
}

#viewInbox .advanced-options .auth-hint,
#viewInbox .adv-upgrade-hint {
  color: rgba(246, 241, 255, 0.62) !important;
}

#viewInbox .adv-upgrade-hint {
  margin: 0.85rem 0 0;
  font-size: 0.82rem;
  line-height: 1.45;
}

#viewInbox .restore-inline {
  display: flex;
  gap: 0.4rem;
}

#viewInbox .restore-inline input { flex: 1; }

#viewInbox .inbox-main {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

#viewInbox .inbox-stack-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1.05rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

#viewInbox .stack-addr[hidden] { display: none !important; }

#viewInbox .search-box input {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  border-radius: 999px;
  color: #f6f1ff !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

#viewInbox .inbox-app .workspace,
#viewInbox .workspace {
  flex: 1;
  min-height: 480px;
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(0, 1.18fr);
  gap: 0;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

#viewInbox .panel-list {
  border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
  min-height: 0;
  background: rgba(255, 255, 255, 0.015);
}

#viewInbox .panel-reader {
  background: rgba(0, 0, 0, 0.08);
}

/* ── Gmail / Outlook category tabs ── */
#viewInbox .category-filter-bar {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  padding: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  overflow-x: auto;
  scrollbar-width: none;
}

#viewInbox .category-filter-bar::-webkit-scrollbar { display: none; }

#viewInbox .cat-filter-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  height: 2.7rem;
  width: 100%;
  padding: 0 0.4rem !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: rgba(246, 241, 255, 0.5) !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em;
  box-shadow: none !important;
  white-space: nowrap;
  transition: color 0.28s cubic-bezier(0.16, 1, 0.3, 1), background 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

#viewInbox .cat-filter-btn::after {
  content: "";
  position: absolute;
  left: 16%;
  right: 16%;
  bottom: 0;
  height: 2.5px;
  border-radius: 99px 99px 0 0;
  background: #ffd978;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), background 0.32s ease;
}

#viewInbox .cat-filter-btn .cat-name {
  overflow: hidden;
  text-overflow: ellipsis;
}

#viewInbox .cat-filter-btn .cat-count,
#viewInbox .cat-filter-btn em {
  font-style: normal;
  font-size: 0.66rem;
  font-weight: 700;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.32rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(246, 241, 255, 0.48);
}

#viewInbox .cat-filter-btn .cat-count.is-zero,
#viewInbox .cat-filter-btn em.is-zero {
  display: none;
}

#viewInbox .cat-filter-btn:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.035) !important;
}

#viewInbox .cat-filter-btn.active {
  color: #fff !important;
  background: transparent !important;
  border: 0 !important;
  font-weight: 700 !important;
}

#viewInbox .cat-filter-btn.active::after {
  transform: scaleX(1);
}

#viewInbox .cat-filter-btn[data-cat="otp"].active::after { background: #34d399; }
#viewInbox .cat-filter-btn[data-cat="finance"].active::after { background: #f0b429; }
#viewInbox .cat-filter-btn[data-cat="threat"].active::after { background: #fb7185; }
#viewInbox .cat-filter-btn[data-cat="files"].active::after { background: #c4b5fd; }

#viewInbox .cat-filter-btn.active .cat-count,
#viewInbox .cat-filter-btn.active em {
  background: rgba(255, 217, 120, 0.16);
  color: #ffd978;
}

#viewInbox .cat-filter-btn[data-cat="otp"].active .cat-count { background: rgba(52, 211, 153, 0.16); color: #6ee7b7; }
#viewInbox .cat-filter-btn[data-cat="finance"].active .cat-count { background: rgba(240, 180, 41, 0.16); color: #ffd978; }
#viewInbox .cat-filter-btn[data-cat="threat"].active .cat-count { background: rgba(251, 113, 133, 0.16); color: #fda4af; }
#viewInbox .cat-filter-btn[data-cat="files"].active .cat-count { background: rgba(196, 181, 253, 0.16); color: #ddd6fe; }

#viewInbox .inbox-list {
  padding: 0.35rem 0.35rem 1.2rem !important;
  gap: 0.1rem;
}

#viewInbox .inbox-item {
  display: grid !important;
  grid-template-columns: 2.1rem 1fr;
  gap: 0.7rem;
  padding: 0.72rem 0.75rem !important;
  border-radius: 0.7rem !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  box-shadow: none !important;
  transform: none !important;
  transition: background 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

#viewInbox .inbox-item:hover {
  transform: none !important;
  background: rgba(255, 255, 255, 0.045) !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

#viewInbox .inbox-item.active {
  background: rgba(240, 180, 41, 0.1) !important;
  border-color: transparent !important;
  box-shadow: inset 2px 0 0 #ffd978 !important;
}

#viewInbox .item-avatar {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.62rem;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 800;
  color: #1a0f08;
  background: hsl(var(--h, 280) 68% 68%);
}

#viewInbox .item-body { min-width: 0; }
#viewInbox .item-foot { display: flex; gap: 0.35rem; margin-top: 0.32rem; }

/* ── Empty states: no cards, mail-app typography ── */
#viewInbox .empty {
  flex: 1;
  display: grid;
  place-items: center;
  min-height: 20rem;
  padding: 2.4rem 1.6rem !important;
}

#viewInbox .empty-card,
#viewInbox .empty-card.soft,
#viewInbox .empty-state {
  width: auto !important;
  max-width: 22rem;
  min-height: 0 !important;
  margin: 0 auto;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  text-align: center;
  align-items: center;
  justify-content: flex-start;
  gap: 0 !important;
}

#viewInbox .empty-ico {
  width: 4.6rem;
  height: 4.6rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 1.15rem;
  color: rgba(255, 217, 120, 0.92);
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 217, 120, 0.16), transparent 68%),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

#viewInbox .empty-ico .ico {
  width: 1.7rem;
  height: 1.7rem;
}

#viewInbox .panel-reader .empty-ico {
  color: rgba(246, 241, 255, 0.55);
  background:
    radial-gradient(circle at 50% 40%, rgba(184, 160, 255, 0.14), transparent 68%),
    rgba(255, 255, 255, 0.03);
}

#viewInbox .empty-title,
#viewInbox .empty-card .empty-title {
  display: block !important;
  margin: 0;
  font-size: 1.28rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.035em;
  line-height: 1.2;
  color: #fff !important;
}

#viewInbox .empty-card p,
#viewInbox .empty-copy {
  margin: 0.55rem auto 0 !important;
  max-width: 18.5rem;
  font-size: 0.9rem !important;
  line-height: 1.55;
  color: rgba(246, 241, 255, 0.52) !important;
}

#viewInbox .reader-card {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

@media (prefers-reduced-motion: reduce) {
  #viewInbox .cat-filter-btn,
  #viewInbox .cat-filter-btn::after,
  #viewInbox .inbox-item,
  #viewInbox .inbox-app,
  #viewInbox .advanced-options {
    transition: none !important;
    animation: none !important;
  }
}

@media (max-width: 820px) {
  #viewInbox {
    padding: 0.45rem 0 calc(1.4rem + env(safe-area-inset-bottom, 0px));
  }
  #viewInbox .inbox-app {
    width: 100%;
    min-height: calc(100dvh - 8.2rem);
    border-radius: 1rem;
    backdrop-filter: blur(14px) saturate(140%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(140%) !important;
  }
  #viewInbox .inbox-cmd { padding: 0.75rem 0.75rem 0.7rem; }
  #viewInbox .inbox-cmd .inbox-top-row { flex-wrap: wrap; }
  #viewInbox .inbox-cmd .address-display {
    flex-basis: 100%;
    font-size: 0.86rem;
    word-break: break-all;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  #viewInbox .inbox-cmd .inbox-top-actions {
    flex-wrap: wrap;
    width: 100%;
  }
  #viewInbox .inbox-cmd .inbox-top-actions .btn,
  #viewInbox .inbox-cmd .ttl-pill {
    min-height: 2.4rem;
  }
  #viewInbox .inbox-app .workspace,
  #viewInbox .workspace {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  #viewInbox .panel-list { border-right: 0 !important; }
  #viewInbox .advanced-options {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  #viewInbox .advanced-options .controls { grid-template-columns: 1fr; }
  #viewInbox .search-box {
    flex: 1;
    min-width: 0;
  }
  #viewInbox .search-box input {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  #viewInbox .inbox-stack-head {
    flex-wrap: wrap;
    padding: 0.6rem 0.75rem;
  }
  #viewInbox .category-filter-bar {
    grid-template-columns: none;
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }
  #viewInbox .cat-filter-btn {
    width: auto;
    flex: 0 0 auto;
    min-height: 2.75rem;
    padding: 0 0.85rem !important;
  }
  #viewInbox .empty {
    min-height: 16rem;
    padding: 1.6rem 1rem !important;
  }
  #viewInbox .empty-title,
  #viewInbox .empty-card .empty-title { font-size: 1.08rem !important; }
  #viewInbox .empty-ico {
    width: 3.8rem;
    height: 3.8rem;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* ── Light theme: same frost as home liquid-glass ── */
html.light-theme #viewInbox .inbox-app,
html[data-theme="light"] #viewInbox .inbox-app {
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.7) 0%,
    rgba(255, 255, 255, 0.5) 100%
  ) !important;
  backdrop-filter: blur(24px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(160%) !important;
  box-shadow:
    inset 0 1px 0 #fff,
    0 16px 44px rgba(80, 40, 120, 0.1) !important;
}

html.light-theme #viewInbox .inbox-app::before,
html[data-theme="light"] #viewInbox .inbox-app::before {
  background: linear-gradient(
    135deg,
    rgba(184, 160, 255, 0.6) 0%,
    rgba(232, 74, 138, 0.4) 50%,
    rgba(255, 217, 120, 0.6) 100%
  );
  opacity: 0.9;
}

html.light-theme #viewInbox .inbox-cmd,
html[data-theme="light"] #viewInbox .inbox-cmd {
  background: rgba(255, 255, 255, 0.55);
  border-bottom-color: rgba(60, 30, 90, 0.08);
}

html.light-theme #viewInbox .inbox-cmd .address-display,
html[data-theme="light"] #viewInbox .inbox-cmd .address-display,
html.light-theme #viewInbox .search-box input,
html[data-theme="light"] #viewInbox .search-box input {
  background: #fff !important;
  color: #161022 !important;
  border-color: rgba(60, 30, 90, 0.14) !important;
}

html.light-theme #viewInbox .advanced-options,
html[data-theme="light"] #viewInbox .advanced-options {
  background: #fff !important;
  border-color: rgba(60, 30, 90, 0.12) !important;
}

html.light-theme #viewInbox .available-domains-panel,
html[data-theme="light"] #viewInbox .available-domains-panel {
  background: #f6f2fb !important;
  border-color: rgba(60, 30, 90, 0.1) !important;
}

html.light-theme #viewInbox .adv-domains-title,
html[data-theme="light"] #viewInbox .adv-domains-title { color: #161022 !important; }

html.light-theme #viewInbox .domain-chip,
html[data-theme="light"] #viewInbox .domain-chip {
  background: #fff !important;
  border-color: rgba(60, 30, 90, 0.14) !important;
  color: #161022 !important;
}
html.light-theme #viewInbox .domain-chip.active,
html[data-theme="light"] #viewInbox .domain-chip.active {
  background: rgba(11, 125, 86, 0.1) !important;
  border-color: rgba(11, 125, 86, 0.28) !important;
  color: #0b7d56 !important;
}

html.light-theme #viewInbox .advanced-options .field label,
html[data-theme="light"] #viewInbox .advanced-options .field label {
  color: rgba(22, 16, 34, 0.72) !important;
}

html.light-theme #viewInbox .advanced-options input,
html.light-theme #viewInbox .advanced-options select,
html.light-theme #viewInbox .advanced-options .token-input,
html.light-theme #viewInbox .advanced-options .restore-inline input,
html[data-theme="light"] #viewInbox .advanced-options input,
html[data-theme="light"] #viewInbox .advanced-options select,
html[data-theme="light"] #viewInbox .advanced-options .token-input,
html[data-theme="light"] #viewInbox .advanced-options .restore-inline input {
  background: #f6f2fb !important;
  color: #161022 !important;
  border-color: rgba(60, 30, 90, 0.16) !important;
}

html.light-theme #viewInbox .advanced-options input::placeholder,
html[data-theme="light"] #viewInbox .advanced-options input::placeholder {
  color: rgba(22, 16, 34, 0.4) !important;
}

html.light-theme #viewInbox .advanced-options select option,
html[data-theme="light"] #viewInbox .advanced-options select option {
  background: #fff;
  color: #161022;
}

html.light-theme #viewInbox .advanced-options .auth-hint,
html.light-theme #viewInbox .adv-upgrade-hint,
html[data-theme="light"] #viewInbox .advanced-options .auth-hint,
html[data-theme="light"] #viewInbox .adv-upgrade-hint {
  color: rgba(22, 16, 34, 0.58) !important;
}

html.light-theme #viewInbox .panel-list,
html.light-theme #viewInbox .inbox-stack-head,
html.light-theme #viewInbox .category-filter-bar,
html[data-theme="light"] #viewInbox .panel-list,
html[data-theme="light"] #viewInbox .inbox-stack-head,
html[data-theme="light"] #viewInbox .category-filter-bar {
  border-color: rgba(60, 30, 90, 0.08) !important;
}

html.light-theme #viewInbox .panel-list,
html[data-theme="light"] #viewInbox .panel-list { background: rgba(255, 255, 255, 0.28); }
html.light-theme #viewInbox .panel-reader,
html[data-theme="light"] #viewInbox .panel-reader { background: rgba(246, 242, 251, 0.35); }

html.light-theme #viewInbox .cat-filter-btn,
html[data-theme="light"] #viewInbox .cat-filter-btn {
  color: rgba(22, 16, 34, 0.48) !important;
}
html.light-theme #viewInbox .cat-filter-btn:hover,
html.light-theme #viewInbox .cat-filter-btn.active,
html[data-theme="light"] #viewInbox .cat-filter-btn:hover,
html[data-theme="light"] #viewInbox .cat-filter-btn.active {
  color: #161022 !important;
}
html.light-theme #viewInbox .cat-filter-btn .cat-count,
html[data-theme="light"] #viewInbox .cat-filter-btn .cat-count {
  background: rgba(22, 16, 34, 0.06);
  color: rgba(22, 16, 34, 0.5);
}
html.light-theme #viewInbox .cat-filter-btn.active .cat-count,
html[data-theme="light"] #viewInbox .cat-filter-btn.active .cat-count {
  background: rgba(138, 90, 0, 0.12);
  color: #8a5a00;
}

html.light-theme #viewInbox .empty-title,
html[data-theme="light"] #viewInbox .empty-title { color: #161022 !important; }
html.light-theme #viewInbox .empty-card p,
html.light-theme #viewInbox .empty-copy,
html[data-theme="light"] #viewInbox .empty-card p,
html[data-theme="light"] #viewInbox .empty-copy {
  color: rgba(22, 16, 34, 0.55) !important;
}

html.light-theme #viewInbox .empty-ico,
html[data-theme="light"] #viewInbox .empty-ico {
  color: #8a5a00;
  background: rgba(240, 180, 41, 0.1);
  border-color: rgba(60, 30, 90, 0.1);
}

html.light-theme #viewInbox .inbox-item:hover,
html[data-theme="light"] #viewInbox .inbox-item:hover {
  background: rgba(22, 16, 34, 0.04) !important;
}
html.light-theme #viewInbox .inbox-item.active,
html[data-theme="light"] #viewInbox .inbox-item.active {
  background: rgba(91, 63, 196, 0.08) !important;
  box-shadow: inset 2px 0 0 #5b3fc4 !important;
}
