/*
 * ================================================================
 *  21Suggestions Command Center — Design System
 * ================================================================
 *  Single source of truth for all visual tokens, layout primitives,
 *  and reusable component classes across every page of the app.
 *
 *  Sections:
 *   1.  Reset & box-sizing
 *   2.  :root tokens (colors, typography, radii, layout vars)
 *   3.  Base elements (html, body, atmospheric glow)
 *   4.  App shell grid
 *   5.  Sidebar & sub-components
 *   6.  Main content area & dot-grid
 *   7.  Main header (search, sync info, refresh btn)
 *   8.  Panels wrap (master-detail split)
 *   9.  Message list panel (filter tabs, scroll area, rows)
 *  10.  Status badges (inbox variants)
 *  11.  Message detail panel
 *  12.  Action bar & core button primitives
 *  13.  Notes section
 *  14.  Status bar
 *  15.  Animations
 *  16.  Utility: chevron, scrollbars
 *  --- Additional components for non-inbox pages ---
 *  17.  Button extensions (sizing, danger, success, outline)
 *  18.  Cards
 *  19.  Data tables
 *  20.  Form controls
 *  21.  Alerts
 *  22.  Modals (native <dialog>)
 *  23.  Tabs
 *  24.  Divider
 *  25.  Avatars
 *  26.  Extended status badges
 *  27.  Extended platform badges
 *  28.  Progress bar
 *  29.  Floating action button (FAB)
 *  30.  Role cards (admin accounts page)
 *  31.  Utility classes (font, page layout, text colors, borders)
 *  32.  Mobile responsive breakpoints
 * ================================================================
 */


/* ================================================================
   1. RESET & BOX-SIZING
   ================================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


/* ================================================================
   2. :ROOT TOKENS
   ================================================================ */

:root {
  /* --- Surface / background hierarchy --- */
  --bg:               #121010;
  --bg-subtle:        #0E0D0D;
  --surface:          #1C1917;
  --surface-hover:    #252220;
  --surface-active:   #2A2523;
  --surface-elevated: #292524;

  /* --- Borders --- */
  --border:        #332E2B;
  --border-subtle: #231F1D;

  /* --- Text --- */
  --text-primary:   #F5F0EB;
  --text-secondary: #A8A29E;
  --text-muted:     #78716C;

  /* --- Brand accent (warm orange) --- */
  --accent:       #EA7E41;
  --accent-hover: #F08E55;
  --accent-soft:  rgba(234, 126, 65, 0.12);
  --accent-glow:  rgba(234, 126, 65, 0.25);

  /* --- Semantic colors --- */
  --success: #5DB075;
  --warning: #E5B94E;
  --error:   #E05252;
  --info:    #6A8EAE;

  /* --- Platform brand colors --- */
  --twitter:   #1DA1F2;
  --facebook:  #4267B2;
  --instagram: #E1306C;
  --youtube:   #FF0000;

  /* --- Typography --- */
  --font-heading: 'Fraunces', serif;
  --font-body:    'Outfit', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* --- Border radii --- */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-full: 9999px;

  /* --- Layout dimensions --- */
  --sidebar-width:           200px;
  --sidebar-collapsed-width: 64px;
}


/* ================================================================
   3. BASE ELEMENTS
   ================================================================ */

html, body {
  height: 100%;
  overflow: hidden;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  background-color: var(--bg);
  color: var(--text-primary);
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Warm atmospheric glow — stays behind all content */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(234, 126, 65, 0.04), transparent),
    radial-gradient(ellipse 40% 40% at 20% 90%, rgba(234, 126, 65, 0.03), transparent);
  pointer-events: none;
  z-index: 0;
}


/* ================================================================
   4. APP SHELL GRID
   ================================================================ */

.app-shell {
  display: grid;
  grid-template-columns: var(--sidebar-width) 1fr;
  grid-template-rows: 1fr;
  height: 100vh;
  position: relative;
  z-index: 1;
  transition: grid-template-columns 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.app-shell.sidebar-collapsed {
  grid-template-columns: var(--sidebar-collapsed-width) 1fr;
}


/* ================================================================
   5. SIDEBAR & SUB-COMPONENTS
   ================================================================ */

.sidebar {
  background: var(--surface);
  box-shadow: 2px 0 24px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  z-index: 10;
  width: var(--sidebar-width);
  transition: width 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.sidebar.collapsed {
  width: var(--sidebar-collapsed-width);
}

/* --- Collapse toggle --- */

.sidebar-toggle {
  position: absolute;
  top: 20px;
  right: 10px;
  width: 20px;
  height: 20px;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  transition: background 150ms ease, border-color 150ms ease;
}

.sidebar-toggle:hover {
  background: var(--surface-hover);
  border-color: var(--accent);
}

.sidebar-toggle svg {
  width: 10px;
  height: 10px;
  color: var(--text-muted);
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1), color 150ms ease;
}

.sidebar.collapsed .sidebar-toggle svg {
  transform: rotate(180deg);
}

.sidebar-toggle:hover svg {
  color: var(--accent);
}

/* --- Logo / wordmark --- */

.sidebar-logo {
  padding: 20px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-right: 36px;
  flex-shrink: 0;
}

.logo-top {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-number {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 28px;
  color: var(--accent);
  font-variation-settings: 'SOFT' 100, 'WONK' 1;
  line-height: 1;
  white-space: nowrap;
}

.logo-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 6px var(--success);
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}

.logo-subtitle {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  opacity: 1;
  transition: opacity 200ms ease, max-height 200ms ease;
  max-height: 20px;
}

.sidebar.collapsed .logo-subtitle {
  opacity: 0;
  max-height: 0;
}

.sidebar.collapsed .logo-number {
  font-size: 22px;
}

/* --- Compose button --- */

.compose-btn {
  margin: 0 12px 16px;
  padding: 8px 12px;
  background: var(--accent-soft);
  border: 1px solid rgba(234, 126, 65, 0.2);
  border-radius: var(--radius-md);
  color: var(--accent);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: background 150ms ease, border-color 150ms ease;
  white-space: nowrap;
  overflow: hidden;
  flex-shrink: 0;
  text-decoration: none;
}

.compose-btn:hover {
  background: rgba(234, 126, 65, 0.2);
  border-color: rgba(234, 126, 65, 0.35);
}

.compose-btn svg {
  flex-shrink: 0;
}

.compose-btn-label {
  opacity: 1;
  transition: opacity 200ms ease;
  white-space: nowrap;
}

.sidebar.collapsed .compose-btn-label {
  opacity: 0;
  width: 0;
  overflow: hidden;
}

.sidebar.collapsed .compose-btn {
  border-radius: 50%;
  width: 40px;
  height: 40px;
  margin: 0 auto 16px;
  padding: 0;
}

/* --- Nav items --- */

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 8px;
  flex-shrink: 0;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--radius-md);
  cursor: pointer;
  position: relative;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  transition: background 120ms ease, color 120ms ease;
  white-space: nowrap;
  overflow: visible;
}

.nav-item:hover {
  background: var(--surface-hover);
  color: var(--text-primary);
}

.nav-item.active {
  background: var(--accent-soft);
  color: var(--accent);
  border-left: 3px solid var(--accent);
  padding-left: 9px;
}

.nav-item svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.nav-label {
  opacity: 1;
  transition: opacity 180ms ease;
  white-space: nowrap;
}

.sidebar.collapsed .nav-label {
  opacity: 0;
  width: 0;
  overflow: hidden;
}

.sidebar.collapsed .nav-item {
  justify-content: center;
  padding: 0;
  border-left: none !important;
}

.sidebar.collapsed .nav-item.active {
  padding: 0;
  border-left: none;
}

/* Tooltip shown when sidebar is collapsed */
.sidebar.collapsed .nav-item {
  position: relative;
}

.sidebar.collapsed .nav-item::after {
  content: attr(data-label);
  position: absolute;
  left: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 150ms ease;
  z-index: 100;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}

.sidebar.collapsed .nav-item:hover::after {
  opacity: 1;
}

/* Nav notification badge */
.nav-badge {
  margin-left: auto;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  padding: 1px 6px;
  border-radius: 20px;
  line-height: 1.6;
  flex-shrink: 0;
}

.sidebar.collapsed .nav-badge {
  display: none;
}

/* Simple unseen indicator dot */
.nav-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-left: auto;
  flex-shrink: 0;
}

.sidebar.collapsed .nav-dot {
  display: none;
}

/* --- Section separator --- */

.sidebar-separator {
  height: 1px;
  background: var(--border-subtle);
  margin: 12px 12px;
  flex-shrink: 0;
}

/* --- Section label (e.g. "Admin") --- */

.sidebar-section-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0 20px 6px;
  opacity: 1;
  transition: opacity 200ms ease;
  flex-shrink: 0;
}

.sidebar.collapsed .sidebar-section-label {
  opacity: 0;
  height: 0;
  padding: 0;
  overflow: hidden;
}

/* --- User area (bottom) --- */

.sidebar-spacer {
  flex: 1;
}

.sidebar-user {
  padding: 12px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  overflow: hidden;
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5C4033, #8B5E3C);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  flex-shrink: 0;
}

.user-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  opacity: 1;
  transition: opacity 180ms ease;
  overflow: hidden;
  white-space: nowrap;
}

.sidebar.collapsed .user-info {
  opacity: 0;
  width: 0;
}

.sidebar.collapsed .sidebar-user {
  justify-content: center;
}

.user-name {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
}

.user-role {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 1px 6px;
  border-radius: var(--radius-sm);
  width: fit-content;
}


/* ================================================================
   6. MAIN CONTENT AREA & DOT-GRID
   ================================================================ */

.main-content {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

/* Dot-grid atmosphere */
.main-content::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
}


/* ================================================================
   7. MAIN HEADER
   ================================================================ */

.main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 52px;
  border-bottom: 1px solid var(--border-subtle);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.main-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 22px;
  font-variation-settings: 'SOFT' 60, 'WONK' 0;
  color: var(--text-primary);
}

.main-header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Search */
.search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.search-wrap svg {
  position: absolute;
  left: 10px;
  width: 15px;
  height: 15px;
  color: var(--text-muted);
  pointer-events: none;
}

.search-input {
  width: 240px;
  height: 34px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0 12px 0 34px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-primary);
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

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

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

/* Sync indicator */
.sync-info {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Refresh button */
.refresh-btn {
  width: 28px;
  height: 28px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}

.refresh-btn:hover {
  background: var(--surface-hover);
  border-color: var(--accent);
  color: var(--accent);
}

.refresh-btn svg {
  width: 14px;
  height: 14px;
}


/* ================================================================
   8. PANELS WRAP (master-detail split)
   ================================================================ */

.panels-wrap {
  display: flex;
  flex: 1;
  overflow: hidden;
  position: relative;
  z-index: 1;
}


/* ================================================================
   9. MESSAGE LIST PANEL
   ================================================================ */

.msg-list-panel {
  flex: 0.4;
  min-width: 360px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border-subtle);
  overflow: hidden;
}

/* --- Filter tabs --- */

.filter-tabs {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 16px;
  border-bottom: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.filter-tab {
  position: relative;
  padding: 12px 14px 11px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: color 150ms ease;
  user-select: none;
}

.filter-tab::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px 2px 0 0;
  transform: scaleX(0);
  transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.filter-tab:hover { color: var(--text-secondary); }

.filter-tab.active {
  color: var(--accent);
  font-weight: 500;
}

.filter-tab.active::after { transform: scaleX(1); }

.filter-count {
  font-family: var(--font-mono);
  font-size: 10px;
  color: inherit;
  margin-left: 4px;
  opacity: 0.8;
}

/* --- Message list scroll area --- */

.msg-list-scroll {
  flex: 1;
  overflow-y: auto;
  position: relative;
}

.msg-list-scroll::-webkit-scrollbar { width: 4px; }
.msg-list-scroll::-webkit-scrollbar-track { background: transparent; }
.msg-list-scroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.msg-list-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
  z-index: 5;
}

/* --- Message rows --- */

.msg-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 16px 11px 12px;
  border-bottom: 1px solid var(--border-subtle);
  cursor: pointer;
  position: relative;
  transition: background 120ms ease;
}

.msg-row:hover    { background: var(--surface-hover); }
.msg-row.selected { background: var(--surface-active); }

/* Accent left border for selected */
.msg-row::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
  border-radius: 0 2px 2px 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

.msg-row.selected::before { transform: scaleX(1); }

/* Unread indicator */
.unread-dot {
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
}

/* Platform color dot */
.platform-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}

/* Row avatar */
.msg-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  flex-shrink: 0;
  color: var(--text-primary);
}

/* Content block */
.msg-content {
  flex: 1;
  min-width: 0;
}

.msg-top-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 2px;
}

.msg-author-line {
  display: flex;
  align-items: baseline;
  gap: 0;
  min-width: 0;
  overflow: hidden;
}

.msg-author {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.msg-row.unread .msg-author { font-weight: 600; }

.msg-handle {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.msg-time {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.msg-preview {
  font-family: var(--font-body);
  font-size: 12.5px;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 5px;
  line-height: 1.4;
}

.msg-meta-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Priority indicators */
.priority-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}

.priority-dot.high   { background: var(--error); box-shadow: 0 0 5px rgba(224,82,82,0.5); }
.priority-dot.medium { background: var(--warning); }
.priority-dot.urgent { background: var(--error); animation: pulse-dot 1s ease-in-out infinite; }


/* ================================================================
   10. STATUS BADGES (inbox base set)
   ================================================================ */

.status-badge {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  padding: 1px 6px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-badge.new {
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(234,126,65,0.2);
}

.status-badge.replied {
  background: rgba(93,176,117,0.12);
  color: var(--success);
  border: 1px solid rgba(93,176,117,0.2);
}

.status-badge.assigned {
  background: rgba(106,142,174,0.12);
  color: var(--info);
  border: 1px solid rgba(106,142,174,0.2);
}

.assign-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
}


/* ================================================================
   11. MESSAGE DETAIL PANEL
   ================================================================ */

.msg-detail-panel {
  flex: 0.6;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.msg-detail-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

.msg-detail-scroll::-webkit-scrollbar { width: 4px; }
.msg-detail-scroll::-webkit-scrollbar-track { background: transparent; }
.msg-detail-scroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

/* Detail header */
.detail-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 20px;
}

.detail-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #C2665A, #E8895A);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  flex-shrink: 0;
}

.detail-author-info {
  flex: 1;
  min-width: 0;
}

.detail-name {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.detail-handle-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.detail-handle {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}

.view-profile-link {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--accent);
  text-decoration: none;
  margin-left: auto;
  flex-shrink: 0;
  transition: color 150ms ease;
}

.view-profile-link:hover { color: var(--accent-hover); }

/* Message body text */
.msg-body-text {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 16px;
  white-space: pre-line;
}

/* Metadata row */
.msg-metadata {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.meta-sep {
  margin: 0 6px;
  opacity: 0.5;
}

.meta-priority-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--error);
  margin-right: 4px;
  vertical-align: middle;
}

/* Previous interactions */
.prev-interactions {
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
}

.collapsible-header {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  transition: color 150ms ease;
}

.collapsible-header:hover { color: var(--text-secondary); }

.collapsible-header svg {
  width: 14px;
  height: 14px;
  margin-left: auto;
  transition: transform 200ms ease;
}

.collapsible-header.open svg { transform: rotate(180deg); }


/* ================================================================
   12. ACTION BAR & CORE BUTTON PRIMITIVES
   ================================================================ */

.action-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

/* btn-primary / btn-solid — orange filled CTA */
.btn-primary,
.btn-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 16px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background 150ms ease, transform 100ms ease;
  line-height: 1;
}

.btn-primary:hover,
.btn-solid:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-primary:active,
.btn-solid:active {
  transform: translateY(0);
}

.btn-primary:disabled,
.btn-solid:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-primary svg,
.btn-solid svg {
  width: 14px;
  height: 14px;
}

/* btn-ghost — subtle bordered button */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 13px;
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  cursor: pointer;
  text-decoration: none;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
  line-height: 1;
}

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

.btn-ghost svg {
  width: 14px;
  height: 14px;
}

/* btn-icon — square icon-only button */
.btn-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  cursor: pointer;
  text-decoration: none;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}

.btn-icon:hover {
  background: var(--surface-hover);
  color: var(--text-primary);
}

.btn-icon svg {
  width: 15px;
  height: 15px;
}

/* Spacer utility inside action bars */
.btn-spacer { flex: 1; }

/* Danger modifier — apply to btn-ghost */
.btn-danger {
  color: var(--error);
}

.btn-danger:hover {
  border-color: var(--error) !important;
  background: rgba(224,82,82,0.08) !important;
}


/* ================================================================
   13. NOTES SECTION
   ================================================================ */

.notes-section {
  border-top: 1px solid var(--border-subtle);
  padding-top: 20px;
  margin-bottom: 20px;
}

.notes-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.note-item {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px;
  margin-bottom: 10px;
}

.note-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.note-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3D5A6B, #4A7A8C);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 600;
  color: var(--text-primary);
  flex-shrink: 0;
}

.note-author {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
}

.note-time {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  margin-left: auto;
}

.note-text {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.note-input-wrap { position: relative; }

.note-textarea {
  width: 100%;
  min-height: 38px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 9px 12px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-primary);
  outline: none;
  resize: none;
  transition: border-color 200ms ease, box-shadow 200ms ease, min-height 200ms ease;
  display: block;
}

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

.note-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  min-height: 72px;
}


/* ================================================================
   14. STATUS BAR
   ================================================================ */

.status-bar {
  height: 32px;
  background: var(--surface);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.status-left {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.status-right {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 6px rgba(93,176,117,0.6);
  animation: pulse-dot 2s ease-in-out infinite;
}


/* ================================================================
   15. ANIMATIONS
   ================================================================ */

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.55; transform: scale(1.3); }
}


/* ================================================================
   16. UTILITY: CHEVRON, SCROLLBAR HELPERS
   ================================================================ */

.chevron-icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
}


/* ================================================================
   17. BUTTON EXTENSIONS
   ================================================================ */

/* Danger outline */
.btn-outline-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 13px;
  background: transparent;
  color: var(--error);
  border: 1px solid var(--error);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background 150ms ease;
  line-height: 1;
}

.btn-outline-danger:hover {
  background: rgba(224,82,82,0.08);
}

/* Success outline */
.btn-outline-success {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 13px;
  background: transparent;
  color: var(--success);
  border: 1px solid var(--success);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background 150ms ease;
  line-height: 1;
}

.btn-outline-success:hover {
  background: rgba(93,176,117,0.08);
}

/* Success filled */
.btn-success {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 16px;
  background: var(--success);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: filter 150ms ease, transform 100ms ease;
  line-height: 1;
}

.btn-success:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.btn-success:active { transform: translateY(0); }

/* Size modifiers (applied alongside btn-primary / btn-ghost etc.) */
.btn-sm {
  padding: 5px 12px;
  font-size: 12px;
  height: auto;
}

.btn-xs {
  padding: 3px 8px;
  font-size: 11px;
  height: auto;
}

.btn-lg {
  padding: 12px 24px;
  font-size: 15px;
}

/* Full-width modifier */
.btn-block {
  width: 100%;
}


/* ================================================================
   18. CARDS
   ================================================================ */

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.card-body {
  padding: 20px;
}

.card-heading {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.card-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}


/* ================================================================
   19. DATA TABLES
   ================================================================ */

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table thead th {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-weight: 500;
}

.data-table tbody td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 13px;
  color: var(--text-secondary);
  vertical-align: middle;
}

.data-table tbody tr:hover {
  background: var(--surface-hover);
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}


/* ================================================================
   20. FORM CONTROLS
   ================================================================ */

.form-field {
  margin-bottom: 16px;
}

.field-label {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.field-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 9px 12px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-primary);
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

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

/* Select with custom chevron SVG data URI */
.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2378716C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px;
  padding-right: 32px;
}

.form-textarea {
  min-height: 80px;
  resize: vertical;
}

/* Small select variant */
.form-select-sm {
  padding: 5px 28px 5px 8px;
  font-size: 12px;
}

/* Warning-state select (admin role dropdowns) */
.form-select.select-warning {
  border-color: var(--warning);
}

.form-checkbox,
.form-radio {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  cursor: pointer;
}


/* ================================================================
   21. ALERTS
   ================================================================ */

.alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 16px;
  border: 1px solid;
}

.alert-info    { background: rgba(106,142,174,0.1); border-color: rgba(106,142,174,0.2); color: var(--info); }
.alert-warning { background: rgba(229,185,78,0.1);  border-color: rgba(229,185,78,0.2);  color: var(--warning); }
.alert-error   { background: rgba(224,82,82,0.1);   border-color: rgba(224,82,82,0.2);   color: var(--error); }
.alert-success { background: rgba(93,176,117,0.1);  border-color: rgba(93,176,117,0.2);  color: var(--success); }

.alert-dismiss {
  margin-left: auto;
  background: none;
  border: none;
  color: inherit;
  opacity: 0.6;
  cursor: pointer;
  padding: 0 4px;
  font-size: 16px;
}

.alert-dismiss:hover { opacity: 1; }


/* ================================================================
   22. MODALS (native <dialog>)
   ================================================================ */

.modal-overlay {
  background: transparent;
  border: none;
  padding: 0;
  max-width: none;
  max-height: none;
  width: 100%;
  height: 100%;
  position: fixed;
  inset: 0;
}

.modal-overlay::backdrop {
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
}

.modal-overlay .modal-box {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  max-width: 480px;
  margin: 15vh auto;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}

.modal-overlay .modal-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 20px;
}


/* ================================================================
   23. TABS
   ================================================================ */

.tab-bar {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

.tab-item {
  position: relative;
  padding: 10px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-muted);
  cursor: pointer;
  text-decoration: none;
  transition: color 150ms ease;
  background: none;
  border: none;
}

.tab-item:hover { color: var(--text-secondary); }
.tab-item.active { color: var(--accent); font-weight: 500; }

.tab-item::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px 2px 0 0;
  transform: scaleX(0);
  transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.tab-item.active::after { transform: scaleX(1); }

.tab-count {
  font-family: var(--font-mono);
  font-size: 10px;
  margin-left: 4px;
  opacity: 0.7;
}


/* ================================================================
   24. DIVIDER
   ================================================================ */

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--text-muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}


/* ================================================================
   25. AVATARS
   ================================================================ */

.avatar-sm {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-primary);
  background: linear-gradient(135deg, #5C4033, #8B5E3C);
  flex-shrink: 0;
}

.avatar-md {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  background: linear-gradient(135deg, #5C4033, #8B5E3C);
  flex-shrink: 0;
}

.avatar-lg {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  background: linear-gradient(135deg, #5C4033, #8B5E3C);
  flex-shrink: 0;
}


/* ================================================================
   26. EXTENDED STATUS BADGES (for Posts, Approvals, etc.)
   ================================================================ */

.status-badge.pending {
  background: rgba(229,185,78,0.12);
  color: var(--warning);
  border: 1px solid rgba(229,185,78,0.2);
}

.status-badge.posted {
  background: rgba(93,176,117,0.12);
  color: var(--success);
  border: 1px solid rgba(93,176,117,0.2);
}

.status-badge.failed {
  background: rgba(224,82,82,0.12);
  color: var(--error);
  border: 1px solid rgba(224,82,82,0.2);
}

.status-badge.cancelled {
  background: rgba(120,113,108,0.12);
  color: var(--text-muted);
  border: 1px solid rgba(120,113,108,0.2);
}

.status-badge.dm {
  background: rgba(106,142,174,0.12);
  color: var(--info);
  border: 1px solid rgba(106,142,174,0.2);
}

.status-badge.approved {
  background: rgba(93,176,117,0.12);
  color: var(--success);
  border: 1px solid rgba(93,176,117,0.2);
}

.status-badge.rejected {
  background: rgba(224,82,82,0.12);
  color: var(--error);
  border: 1px solid rgba(224,82,82,0.2);
}

.status-badge.muted {
  background: rgba(120,113,108,0.08);
  color: var(--text-muted);
  border: 1px solid rgba(120,113,108,0.15);
}

.status-badge.outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
}


/* ================================================================
   27. PLATFORM BADGES
   ================================================================ */

.platform-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}

.platform-badge.twitter {
  background: rgba(29,161,242,0.15);
  color: var(--twitter);
  border: 1px solid rgba(29,161,242,0.25);
}

.platform-badge.facebook {
  background: rgba(66,103,178,0.15);
  color: var(--facebook);
  border: 1px solid rgba(66,103,178,0.25);
}

.platform-badge.instagram {
  background: rgba(225,48,108,0.15);
  color: var(--instagram);
  border: 1px solid rgba(225,48,108,0.25);
}

.platform-badge.youtube {
  background: rgba(255,0,0,0.12);
  color: var(--youtube);
  border: 1px solid rgba(255,0,0,0.2);
}

.platform-badge.manual {
  background: rgba(120,113,108,0.12);
  color: var(--text-muted);
  border: 1px solid rgba(120,113,108,0.2);
}


/* ================================================================
   28. PROGRESS BAR
   ================================================================ */

.progress-bar {
  width: 100%;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 300ms ease;
}


/* ================================================================
   29. FLOATING ACTION BUTTON (FAB)
   ================================================================ */

.fab-button {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(234,126,65,0.4);
  transition: transform 150ms ease, box-shadow 150ms ease;
  z-index: 50;
}

.fab-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(234,126,65,0.5);
}


/* ================================================================
   30. ROLE CARDS (admin accounts page)
   ================================================================ */

.role-card {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid;
  font-size: 13px;
}

.role-card.admin {
  background: rgba(93,176,117,0.08);
  border-color: rgba(93,176,117,0.2);
  color: var(--success);
}

.role-card.poster {
  background: rgba(106,142,174,0.08);
  border-color: rgba(106,142,174,0.2);
  color: var(--info);
}

.role-card.rt-only {
  background: rgba(229,185,78,0.08);
  border-color: rgba(229,185,78,0.2);
  color: var(--warning);
}

.role-card.requester {
  background: rgba(120,113,108,0.08);
  border-color: rgba(120,113,108,0.2);
  color: var(--text-secondary);
}


/* ================================================================
   31. UTILITY CLASSES
   ================================================================ */

/* Font family helpers */
.font-heading { font-family: var(--font-heading); }
.font-body    { font-family: var(--font-body); }
.font-mono    { font-family: var(--font-mono); }

/* Page content wrapper (non-inbox pages) */
.page-content {
  padding: 24px;
  position: relative;
  z-index: 1;
  overflow-y: auto;
  flex: 1;
}

.page-content-narrow {
  max-width: 800px;
  margin: 0 auto;
}

.page-content-wide {
  max-width: 1200px;
  margin: 0 auto;
}

/* Page header row */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.page-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 22px;
  color: var(--text-primary);
}

/* Text color utilities */
.text-accent    { color: var(--accent); }
.text-success   { color: var(--success); }
.text-warning   { color: var(--warning); }
.text-error     { color: var(--error); }
.text-info      { color: var(--info); }
.text-muted     { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }

/* Border-left accent rules (card status emphasis) */
.border-left-warning { border-left: 4px solid var(--warning); }
.border-left-success { border-left: 4px solid var(--success); }
.border-left-error   { border-left: 4px solid var(--error); }
.border-left-accent  { border-left: 4px solid var(--accent); }


/* ================================================================
   32. MOBILE RESPONSIVE BREAKPOINTS
   ================================================================ */

/* Tablet: stack panels vertically */
@media (max-width: 1024px) {
  .panels-wrap { flex-direction: column; }

  .msg-list-panel {
    flex: 1;
    min-width: auto;
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }

  .msg-detail-panel { flex: 1; }
}

/* Mobile: sidebar becomes off-canvas drawer */
@media (max-width: 768px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: var(--sidebar-width);
    transform: translateX(-100%);
    transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
  }

  .sidebar.mobile-open {
    transform: translateX(0);
  }

  /* Dark scrim behind open sidebar */
  .mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 99;
    display: none;
  }

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

  /* Mobile top bar replaces sidebar header */
  .mobile-header {
    display: flex;
    align-items: center;
    padding: 0 16px;
    height: 48px;
    background: var(--surface);
    border-bottom: 1px solid var(--border-subtle);
  }

  .mobile-header .hamburger {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
  }

  /* Detail panel slides in as full-screen overlay on mobile */
  .msg-detail-panel {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: var(--bg);
    transform: translateX(100%);
    transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .msg-detail-panel.mobile-open {
    transform: translateX(0);
  }

  .msg-list-panel {
    min-width: auto;
    flex: 1;
  }
}
