/* ============================================================
   BunnyWork ERP — App Shell + Bunny Drawer
   ============================================================ */

:root {
  --shell-bg: #F4F7FE;
  --topbar-h: 60px;
  --sidebar-w: 232px;
  --sidebar-mini-w: 64px;
}

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

/* ============================================================
   App layout — fixed sidebar + topbar + scrollable main
   ============================================================ */
.app {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  grid-template-rows: var(--topbar-h) 1fr;
  height: 100vh;
}
.app .sidebar { grid-row: 1 / 3; grid-column: 1; }
.app .topbar  { grid-row: 1; grid-column: 2; }
.app .main    { grid-row: 2; grid-column: 2; overflow: auto; }

/* ============================================================
   Sidebar — dark primary, mini-expandable
   ============================================================ */
.sidebar {
  background: linear-gradient(180deg, #2B3674 0%, #232C5C 100%);
  display: flex;
  flex-direction: column;
  padding: 14px 12px;
  color: rgba(255, 255, 255, 0.8);
  overflow-y: auto;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
}
.sidebar::-webkit-scrollbar { width: 6px; }
.sidebar::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.1); border-radius: 3px; }

.sb-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px 16px;
  margin-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.sb-brand .mark {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #5856D6, #7D7BF5);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 16px;
  box-shadow: 0 4px 10px rgba(88, 86, 214, 0.4);
}
.sb-brand .name { font-weight: 700; font-size: 15px; color: #fff; letter-spacing: -0.01em; }
.sb-brand .name small { display: block; font-size: 10px; font-weight: 500; opacity: 0.6; letter-spacing: 0.12em; margin-top: 1px; }

.sb-store {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  margin: 10px 0 6px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: background .15s;
}
.sb-store:hover { background: rgba(255, 255, 255, 0.1); }
.sb-store .av { width: 28px; height: 28px; border-radius: 6px; background: #5856D6; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 12px; font-weight: 700; flex-shrink: 0; }
.sb-store .info { flex: 1; min-width: 0; }
.sb-store .info b { display: block; color: #fff; font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sb-store .info small { display: block; font-size: 11px; opacity: 0.55; }
.sb-store .ch { color: rgba(255, 255, 255, 0.5); }

.sb-section { padding: 12px 12px 4px; font-size: 10px; font-weight: 700; letter-spacing: 0.14em; color: rgba(255, 255, 255, 0.4); text-transform: uppercase; }

.sb-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  margin-bottom: 1px;
  transition: background .12s, color .12s;
}
.sb-item:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.sb-item .ic { color: rgba(255, 255, 255, 0.6); }
.sb-item:hover .ic { color: #fff; }
.sb-item .badge-n {
  margin-left: auto;
  background: var(--c-danger);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  padding: 1px 7px;
  border-radius: 999px;
  font-family: var(--font-mono);
  letter-spacing: 0;
}
.sb-item.active {
  background: rgba(88, 86, 214, 0.24);
  color: #fff;
}
.sb-item.active::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 8px; bottom: 8px;
  width: 3px;
  background: #7D7BF5;
  border-radius: 0 2px 2px 0;
}
.sb-item.active .ic { color: #7D7BF5; }

.sb-sub {
  padding: 7px 12px 7px 40px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1px;
}
.sb-sub:hover { color: #fff; background: rgba(255, 255, 255, 0.04); }
.sb-sub.on { color: #fff; font-weight: 600; }
.sb-sub .dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: 0.5; }
.sb-sub.on .dot { background: #7D7BF5; opacity: 1; }

/* Collapsible sub-groups — hidden by default, expanded when active */
[data-sb-group] .sb-sub { display: none; }
[data-sb-group].expanded .sb-sub { display: flex; }

.sb-footer {
  margin-top: auto;
  padding: 10px 8px 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 10px;
}
.sb-footer .av { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #FF8A5B, #FFB547); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; flex-shrink: 0; }
.sb-footer .info { flex: 1; min-width: 0; }
.sb-footer .info b { display: block; color: #fff; font-size: 12.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sb-footer .info small { color: rgba(255, 255, 255, 0.5); font-size: 11px; }
.sb-footer .more { color: rgba(255, 255, 255, 0.5); padding: 4px; cursor: pointer; }
.sb-footer .more:hover { color: #fff; }

/* ============================================================
   Topbar — sticky header
   ============================================================ */
.topbar {
  display: flex;
  align-items: center;
  padding: 0 24px;
  background: #f4f7fe;
  backdrop-filter: blur(12px) saturate(180%);
  border-bottom: 1px solid var(--c-border);
  z-index: 5;
  gap: 16px;
}
.topbar .crumb { flex: 1; }
.topbar .search-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: 999px;
  color: var(--c-gray-text);
  font-size: 13px;
  cursor: pointer;
  width: 360px;
  transition: all .15s;
}
.topbar .search-pill:hover { border-color: var(--c-primary-brand); color: var(--c-primary-dark); }
.topbar .search-pill .kbd {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--c-gray-text);
}
.topbar .icon-btn {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--c-gray-text);
  background: transparent;
  cursor: pointer;
  position: relative;
  transition: all .15s;
}
.topbar .icon-btn:hover { background: var(--c-primary-brand-50); color: var(--c-primary-brand); }
.topbar .icon-btn .pip {
  position: absolute;
  top: 7px; right: 7px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-danger);
  border: 2px solid #fff;
}
.topbar .user-chip {
  display: flex; align-items: center; gap: 8px;
  padding: 4px 10px 4px 4px;
  border-radius: 999px;
  cursor: pointer;
}
.topbar .user-chip:hover { background: var(--c-primary-brand-50); }
.topbar .user-chip .av { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, #FF8A5B, #FFB547); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; }
.topbar .user-chip b { font-size: 13px; color: var(--c-primary-dark); font-weight: 600; }

/* ============================================================
   Main content area
   ============================================================ */
.main { background: var(--c-bg); }
.view { padding: 24px 32px 64px; max-width: 1640px; }
.view-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.view-header h1 { font-size: 28px; font-weight: 700; color: var(--c-primary-dark); letter-spacing: -0.5px; }
.view-header .desc { font-size: 13px; color: var(--c-gray-text); margin-top: 4px; }
.view-header .actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.view-section { margin-bottom: 24px; }
.view-section-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.view-section-title h2 { font-size: 16px; font-weight: 700; color: var(--c-primary-dark); display: inline-flex; align-items: center; gap: 8px; }
.view-section-title h2 small { font-size: 12px; font-weight: 400; color: var(--c-gray-text); }

/* ============================================================
   Inline AI suggestion card (used inside views)
   ============================================================ */
.ai-inline {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--c-bunny-bg);
  border: 1px solid var(--c-bunny-border);
  font-size: 13.5px;
  color: var(--c-bunny-fg);
  margin-bottom: 16px;
}
.ai-inline .ai-av {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5856D6, #7D7BF5);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(88, 86, 214, 0.32);
}
.ai-inline .ai-body { flex: 1; }
.ai-inline .ai-body b { color: var(--c-primary-brand); }
.ai-inline .ai-meta { font-size: 11px; color: var(--c-gray-text); margin-top: 2px; }
.ai-inline .ai-acts { display: flex; gap: 6px; }
.ai-inline .ai-acts .btn-xs { background: #fff; color: var(--c-primary-brand); border: 1px solid var(--c-primary-brand-200); }
.ai-inline .ai-acts .btn-xs:hover { background: var(--c-primary-brand-50); }
.ai-inline .ai-acts .btn-xs.dismiss { color: var(--c-gray-text); border-color: var(--c-border); }

/* ============================================================
   Bunny floating action button (FAB)
   ============================================================ */
.bunny-fab {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5856D6 0%, #7D7BF5 100%);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 18px;
  box-shadow:
    0 12px 36px rgba(88, 86, 214, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  cursor: pointer;
  z-index: 80;
  transition: transform .2s cubic-bezier(.2,.8,.2,1);
  border: 2px solid rgba(255, 255, 255, 0.4);
}
.bunny-fab:hover { transform: translateY(-2px) scale(1.04); }
.bunny-fab .pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(125, 123, 245, 0.5);
  z-index: -1;
  animation: bunnyPulse 2s ease-out infinite;
}
.bunny-fab .online {
  position: absolute;
  bottom: 4px; right: 4px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #00C8B3;
  border: 2px solid #fff;
}
@keyframes bunnyPulse {
  0% { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(1.5); opacity: 0; }
}
.bunny-fab.hidden { opacity: 0; pointer-events: none; transform: translateY(20px); }

/* ============================================================
   Bunny Drawer — right slide-in panel
   ============================================================ */
.drawer-backdrop {
  position: fixed; inset: 0;
  background: rgba(43, 54, 116, 0.32);
  backdrop-filter: blur(4px);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }

.bunny-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 440px;
  background: #fff;
  border-left: 1px solid var(--c-border);
  box-shadow: -20px 0 60px rgba(43, 54, 116, 0.18);
  z-index: 100;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.bunny-drawer.open { transform: translateX(0); }

.bunny-head {
  padding: 18px 20px 16px;
  background: linear-gradient(135deg, #5856D6 0%, #4A48C2 100%);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
}
.bunny-head .av {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.35);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 17px;
  position: relative;
  flex-shrink: 0;
}
.bunny-head .av .online {
  position: absolute;
  bottom: -1px; right: -1px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #00C8B3;
  border: 2px solid #5856D6;
}
.bunny-head h2 { font-size: 16px; font-weight: 700; line-height: 1.2; }
.bunny-head .sub { font-size: 12px; opacity: 0.78; margin-top: 2px; display: flex; align-items: center; gap: 5px; }
.bunny-head .sub .dot { width: 5px; height: 5px; border-radius: 50%; background: #00C8B3; }
.bunny-head .info { flex: 1; }
.bunny-head .close-btn {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .15s;
}
.bunny-head .close-btn:hover { background: rgba(255, 255, 255, 0.22); }

.bunny-quick {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  overflow-x: auto;
  border-bottom: 1px solid var(--c-divider);
  background: #FAFBFE;
}
.bunny-quick::-webkit-scrollbar { display: none; }
.bunny-quick .qc {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--c-border);
  font-size: 12px;
  color: var(--c-primary-dark);
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
}
.bunny-quick .qc:hover { border-color: var(--c-primary-brand); color: var(--c-primary-brand); background: var(--c-primary-brand-50); }
.bunny-quick .qc .ic { color: var(--c-primary-brand); }

.bunny-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #FBFBFE;
}
.bunny-body::-webkit-scrollbar { width: 6px; }
.bunny-body::-webkit-scrollbar-thumb { background: var(--c-border); border-radius: 3px; }

.bunny-msg { display: flex; gap: 10px; max-width: 92%; }
.bunny-msg.you { margin-left: auto; flex-direction: row-reverse; }
.bunny-msg .av {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5856D6, #7D7BF5);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
  flex-shrink: 0;
}
.bunny-msg.you .av {
  background: linear-gradient(135deg, #FF8A5B, #FFB547);
}
.bunny-msg .bubble {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 12px;
  padding: 11px 14px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--c-primary-dark);
  box-shadow: 0 2px 6px rgba(43, 54, 116, 0.04);
}
.bunny-msg.you .bubble {
  background: var(--c-primary-brand);
  color: #fff;
  border-color: var(--c-primary-brand);
}
.bunny-msg .bubble strong { color: var(--c-primary-brand); }
.bunny-msg.you .bubble strong { color: #fff; }
.bunny-msg .ts {
  font-size: 10px;
  color: var(--c-gray);
  margin-top: 4px;
  font-family: var(--font-mono);
}
.bunny-msg.you .ts { text-align: right; }

/* Inline "data card" inside a Bunny message */
.bunny-msg .data-card {
  margin-top: 10px;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bunny-msg .data-card .dc-row { display: flex; justify-content: space-between; font-size: 12px; }
.bunny-msg .data-card .dc-row .k { color: var(--c-gray-text); }
.bunny-msg .data-card .dc-row .v { font-weight: 600; color: var(--c-primary-dark); font-variant-numeric: tabular-nums; }
.bunny-msg .data-card .dc-row .v.brand { color: var(--c-primary-brand); }
.bunny-msg .data-card .dc-row .v.danger { color: var(--c-danger); }

.bunny-msg .actions {
  display: flex;
  gap: 6px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.bunny-msg .actions .btn-act {
  background: #fff;
  border: 1px solid var(--c-primary-brand-200);
  color: var(--c-primary-brand);
  font-size: 12px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.bunny-msg .actions .btn-act:hover { background: var(--c-primary-brand-50); }
.bunny-msg .actions .btn-act.primary { background: var(--c-primary-brand); color: #fff; border-color: var(--c-primary-brand); }
.bunny-msg .actions .btn-act.primary:hover { background: var(--c-primary-brand-hover); }

.bunny-typing {
  display: inline-flex; gap: 4px; align-items: center;
  padding: 11px 14px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 12px;
}
.bunny-typing .d { width: 6px; height: 6px; border-radius: 50%; background: var(--c-gray); animation: typingDot 1.4s infinite; }
.bunny-typing .d:nth-child(2) { animation-delay: 0.2s; }
.bunny-typing .d:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingDot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.bunny-divider {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; color: var(--c-gray);
  margin: 6px 0;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.bunny-divider::before, .bunny-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--c-divider);
}

.bunny-input {
  padding: 14px 16px 16px;
  background: #fff;
  border-top: 1px solid var(--c-divider);
}
.bunny-input .inp {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  border: 1px solid var(--c-border);
  border-radius: 14px;
  padding: 8px 8px 8px 14px;
  background: #fff;
  transition: border-color .15s;
}
.bunny-input .inp:focus-within { border-color: var(--c-primary-brand); }
.bunny-input textarea {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  resize: none;
  height: 28px;
  max-height: 120px;
  font-family: inherit;
  font-size: 13.5px;
  color: var(--c-primary-dark);
  padding-top: 4px;
}
.bunny-input textarea::placeholder { color: var(--c-gray); }
.bunny-input .send {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--c-primary-brand);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.bunny-input .send:hover { background: var(--c-primary-brand-hover); }
.bunny-input .hint {
  margin-top: 8px;
  font-size: 11px;
  color: var(--c-gray);
  display: flex;
  justify-content: space-between;
}
.bunny-input .hint .kbd {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 10px;
  font-family: var(--font-mono);
}

/* ============================================================
   Cmd-K palette
   ============================================================ */
.kpal-backdrop {
  position: fixed; inset: 0;
  background: rgba(43, 54, 116, 0.4);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 12vh;
}
.kpal-backdrop.open { display: flex; }
.kpal {
  width: 580px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--c-border);
  box-shadow: 0 24px 80px rgba(43, 54, 116, 0.32);
  overflow: hidden;
  max-height: 60vh;
  display: flex;
  flex-direction: column;
}
.kpal .head {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--c-divider);
}
.kpal .head .ic { color: var(--c-gray); }
.kpal .head input {
  flex: 1; border: none; outline: none; font-size: 16px; color: var(--c-primary-dark);
  font-family: inherit;
  background: transparent;
}
.kpal .head .kbd { font-size: 11px; font-family: var(--font-mono); background: var(--c-bg); border: 1px solid var(--c-border); border-radius: 4px; padding: 2px 6px; color: var(--c-gray-text); }
.kpal .results { overflow-y: auto; flex: 1; padding: 8px 0; }
.kpal .grp-label { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; color: var(--c-gray); text-transform: uppercase; padding: 8px 18px 4px; }
.kpal .res {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 18px;
  cursor: pointer;
  font-size: 13.5px;
  color: var(--c-primary-dark);
}
.kpal .res:hover, .kpal .res.on { background: var(--c-primary-brand-50); }
.kpal .res .ic { color: var(--c-gray-text); }
.kpal .res:hover .ic, .kpal .res.on .ic { color: var(--c-primary-brand); }
.kpal .res .name { flex: 1; }
.kpal .res .path { font-size: 11px; color: var(--c-gray); font-family: var(--font-mono); }
.kpal .res .enter { font-size: 10px; color: var(--c-gray); font-family: var(--font-mono); }

/* ============================================================
   Misc utility — sticky table headers inside view
   ============================================================ */
.sticky-tbl-bar {
  position: sticky;
  top: 0;
  background: var(--c-bg);
  padding: 12px 0;
  z-index: 2;
}

/* ============================================================
   View — no animation, content always visible
   ============================================================ */
.view { opacity: 1; }

/* hidden views */
.view[hidden] { display: none !important; }

/* ============================================================
   Bunny inline pill (used in tables / cells)
   ============================================================ */
.bunny-tip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  padding: 2px 8px 2px 4px;
  border-radius: 999px;
  background: var(--c-bunny-bg);
  border: 1px solid var(--c-bunny-border);
  color: var(--c-bunny-accent);
  font-weight: 500;
  cursor: pointer;
  transition: all .15s;
}
.bunny-tip:hover { background: var(--c-primary-brand-100); }
.bunny-tip .av {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5856D6, #7D7BF5);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px;
  font-weight: 700;
}

/* Empty state */
.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 48px;
  text-align: center;
  color: var(--c-gray-text);
}
.empty .ic { width: 48px; height: 48px; color: var(--c-gray); }
.empty h3 { font-size: 15px; color: var(--c-primary-dark); }
.empty p { font-size: 13px; }

/* responsive guard */
@media (max-width: 1100px) {
  .topbar .search-pill { width: 220px; }
}


/* ============================================================
   Bunny logo image inside circular avatars
   ============================================================ */
.bw-logo {
  width: 64%; height: 64%;
  object-fit: contain;
  display: block;
  pointer-events: none;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.08));
}
.bunny-fab .bw-logo { width: 60%; height: 60%; filter: none; }
.ai-av .bw-logo,
.bunny-head .av .bw-logo,
.bunny-msg .av .bw-logo { width: 70%; height: 70%; }
.bunny-tip .av .bw-logo { width: 80%; height: 80%; }
