.admin-support-nav { position: relative; }
.admin-support-unread-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 1.25rem; height: 1.25rem; margin-left: auto; padding: 0 .35rem; border-radius: 999px; background: #8b5cf6; color: #fff; font-size: .65rem; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.admin-support-unread-badge[hidden] { display: none !important; }
[data-controller~="sidebar"][data-collapsed="true"] .admin-support-unread-badge { position: absolute; top: -.1rem; right: -.3rem; min-width: 1.1rem; height: 1.1rem; margin-left: 0; padding: 0 .2rem; border: 2px solid #030712; font-size: .6rem; }
.admin-support-layout { height: 100dvh; }
.admin-support-main { display: flex; flex-direction: column; min-height: 0; padding: clamp(.75rem, 2vw, 1.5rem); }
.admin-support-page { display: flex; flex-direction: column; flex: 1; gap: 1.25rem; width: 100%; min-width: 0; min-height: 24rem; }
.admin-support-page-heading { display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; gap: 1rem; }
.admin-support-page-heading > div { min-width: 0; }
.admin-support-page-heading h1 { color: #111827; font-size: 1.35rem; font-weight: 700; line-height: 1.4; letter-spacing: -.025em; }
.admin-support-page-heading p { margin-top: .3rem; color: #6b7280; font-size: .8rem; overflow-wrap: anywhere; }
.admin-support-email-link { flex-shrink: 0; padding: .6rem .85rem; border: 1px solid #e5e7eb; border-radius: .65rem; background: #fff; color: #6d28d9; font-size: .8rem; }
.admin-support-email-link:hover { background: #f5f3ff; }
.admin-support-inbox-card { display: flex; flex: 1; flex-direction: column; min-height: 0; overflow: hidden; border: 1px solid #e5e7eb; border-radius: 1rem; background: #fff; box-shadow: 0 1px 3px rgb(17 24 39 / 3%); }
.admin-support-toolbar { display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; flex-wrap: wrap; gap: .65rem; padding: .85rem 1.25rem; border-bottom: 1px solid #f0f0f3; }
.admin-support-toolbar p { color: #6b7280; font-size: .75rem; }
.admin-support-inbox-content { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.admin-support-inbox-summary { display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; flex-wrap: wrap; gap: .5rem 1rem; padding: 1rem 1.25rem; border-bottom: 1px solid #f0f0f3; background: #fafafa; }
.admin-support-inbox-summary h2 { color: #374151; font-size: .8rem; font-weight: 600; }
.admin-support-inbox-summary p { color: #6b7280; font-size: .75rem; }
.admin-support-unread-total { color: #6d28d9; font-weight: 700; font-variant-numeric: tabular-nums; }
.admin-support-conversation-list { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.admin-support-conversation-list .admin-support-conversation-row { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; border-bottom: 1px solid #f3f4f6; }
.admin-support-conversation-list .admin-support-conversation-row:hover { background: #f9fafb; }
.admin-support-conversation-list .admin-support-conversation-row--unread { background: #fcfbff; box-shadow: inset 3px 0 #8b5cf6; }
.admin-support-conversation-list .admin-support-conversation-row--unread:hover { background: #f5f3ff; }
.admin-support-member-avatar { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 2.65rem; height: 2.65rem; border: 1px solid #ede9fe; border-radius: .9rem; background: #f5f3ff; color: #7c3aed; font-size: .85rem; font-weight: 600; }
.admin-support-conversation-preview { flex: 1; min-width: 0; }
.admin-support-member-heading { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem .6rem; }
.admin-support-member-name { min-width: 0; overflow-wrap: anywhere; color: #111827; font-size: .85rem; font-weight: 600; }
.admin-support-message-count { display: inline-flex; flex-shrink: 0; padding: .15rem .5rem; border-radius: 999px; background: #ede9fe; color: #6d28d9; font-size: .65rem; font-weight: 600; }
.admin-support-member-email { margin-top: .15rem; overflow: hidden; color: #6b7280; font-size: .7rem; text-overflow: ellipsis; white-space: nowrap; }
.admin-support-message-preview { margin-top: .4rem; overflow: hidden; color: #6b7280; font-size: .8rem; text-overflow: ellipsis; white-space: nowrap; }
.admin-support-conversation-meta { display: flex; flex-direction: column; align-items: flex-end; gap: .55rem; flex-shrink: 0; }
.admin-support-conversation-meta time { color: #6b7280; font-size: .7rem; }
.admin-support-row-arrow { width: 1rem; height: 1rem; flex-shrink: 0; color: #9ca3af; }
.admin-support-inbox-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; min-height: 12rem; padding: 2rem 1.5rem; text-align: center; }
.admin-support-inbox-empty svg { width: 3rem; height: 3rem; margin-bottom: 1rem; color: #a78bfa; }
.admin-support-inbox-empty h3 { color: #374151; font-size: .95rem; font-weight: 600; }
.admin-support-inbox-empty p { max-width: 24rem; margin-top: .5rem; color: #6b7280; font-size: .8rem; line-height: 1.6; }
.admin-support-pagination { display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; gap: 1rem; padding: .9rem 1.25rem; border-top: 1px solid #f0f0f3; color: #6b7280; font-size: .75rem; }
.admin-support-pagination a { color: #6d28d9; }
.admin-support-pagination a:hover { text-decoration: underline; }
.admin-support-conversation-page { min-height: 0; gap: 0; }
.admin-support-conversation-page > .support-chat-page-card { flex: 1; }
.admin-support-page a:focus-visible, .admin-support-page button:focus-visible { outline: 2px solid #8b5cf6; outline-offset: -2px; }
@media (max-width: 767px) {
  .admin-support-page { gap: .85rem; }
  .admin-support-page-heading { flex-wrap: wrap; gap: .65rem; }
  .admin-support-page-heading h1 { font-size: 1.15rem; }
  .admin-support-toolbar, .admin-support-inbox-summary, .admin-support-pagination { padding: .75rem .85rem; }
  .admin-support-conversation-list .admin-support-conversation-row { flex-wrap: wrap; gap: .6rem; padding: .9rem .85rem; }
  .admin-support-member-avatar { width: 2rem; height: 2rem; border-radius: .7rem; font-size: .7rem; }
  .admin-support-conversation-meta { flex-direction: row; align-items: center; justify-content: space-between; width: 100%; padding-left: 2.6rem; }
  .admin-support-row-arrow { display: none; }
}
