
  .wa-chat.svelte-1oqj6z0 {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    flex-direction: column;
    height: 560px;
    background: #0b141a;
  }

  /* Header */
  .wa-header.svelte-1oqj6z0 {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: #1f2c34;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    flex-shrink: 0;
  }
  .wa-avatar.svelte-1oqj6z0 {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #00a884;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    flex-shrink: 0;
  }
  .wa-header-name.svelte-1oqj6z0 {
    color: #e9edef;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
  }
  .wa-header-status.svelte-1oqj6z0 {
    color: #8696a0;
    font-size: 12px;
    line-height: 1.2;
  }
  .wa-tab-btn.svelte-1oqj6z0 {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: transparent;
    color: #8696a0;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s;
  }
  .wa-tab-btn.svelte-1oqj6z0:hover {
    background: rgba(255,255,255,0.08);
    color: #e9edef;
  }
  .wa-tab-btn.svelte-1oqj6z0:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }

  /* Session tabs bar */
  .wa-sessions-bar.svelte-1oqj6z0 {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: #111b21;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    overflow-x: auto;
    flex-shrink: 0;
  }
  .wa-sessions-bar.svelte-1oqj6z0::-webkit-scrollbar {
    height: 3px;
  }
  .wa-sessions-bar.svelte-1oqj6z0::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
  }
  .wa-session-pill.svelte-1oqj6z0 {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 14px;
    background: rgba(255,255,255,0.06);
    color: #8696a0;
    border: none;
    cursor: pointer;
    font-size: 12px;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s;
    flex-shrink: 0;
  }
  .wa-session-pill.svelte-1oqj6z0:hover {
    background: rgba(255,255,255,0.12);
    color: #e9edef;
  }
  .wa-session-pill-active.svelte-1oqj6z0 {
    background: #00a884;
    color: #fff;
  }
  .wa-session-pill-active.svelte-1oqj6z0:hover {
    background: #06cf9c;
    color: #fff;
  }
  .wa-session-more.svelte-1oqj6z0 {
    font-size: 11px;
    color: #8696a0;
    padding: 0 4px;
    flex-shrink: 0;
  }
  .wa-channel-dot.svelte-1oqj6z0 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 700;
    padding: 1px 4px;
    border-radius: 4px;
    line-height: 1;
  }

  /* Reconnect banner */
  .wa-reconnect-banner.svelte-1oqj6z0 {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: rgba(255, 180, 50, 0.08);
    border-bottom: 1px solid rgba(255, 180, 50, 0.15);
    color: #e9edef;
    flex-shrink: 0;
  }
  .wa-reconnect-btn.svelte-1oqj6z0 {
    padding: 4px 14px;
    border-radius: 6px;
    background: #00a884;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .wa-reconnect-btn.svelte-1oqj6z0:hover {
    background: #06cf9c;
  }
  .wa-reconnect-dismiss.svelte-1oqj6z0 {
    color: #8696a0;
    font-size: 18px;
    line-height: 1;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 2px;
    flex-shrink: 0;
  }
  .wa-reconnect-dismiss.svelte-1oqj6z0:hover {
    color: #e9edef;
  }

  /* Messages */
  .wa-messages.svelte-1oqj6z0 {
    flex: 1;
    overflow-y: auto;
    padding: 12px 24px;
    background-color: #0b141a;
    background-image: url("data:image/svg+xml,%3Csvg width='300' height='300' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='p' width='60' height='60' patternUnits='userSpaceOnUse'%3E%3Cpath d='M30 5l5 10h-10zM10 30a3 3 0 1 1 0-6 3 3 0 0 1 0 6zM50 30a3 3 0 1 1 0-6 3 3 0 0 1 0 6zM30 50l-5-10h10z' fill='%23ffffff' fill-opacity='0.02'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='300' height='300' fill='url(%23p)'/%3E%3C/svg%3E");
  }
  .wa-messages.svelte-1oqj6z0::-webkit-scrollbar {
    width: 6px;
  }
  .wa-messages.svelte-1oqj6z0::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
  }

  /* Date separator */
  .wa-date-sep.svelte-1oqj6z0 {
    display: flex;
    justify-content: center;
    margin: 12px 0;
  }
  .wa-date-sep.svelte-1oqj6z0 span:where(.svelte-1oqj6z0) {
    background: #182229;
    color: #8696a0;
    font-size: 11px;
    padding: 4px 12px;
    border-radius: 8px;
    box-shadow: 0 1px 1px rgba(0,0,0,0.15);
  }

  /* Message rows */
  .wa-msg-row.svelte-1oqj6z0 {
    display: flex;
    margin-bottom: 3px;
  }
  .wa-msg-out.svelte-1oqj6z0 {
    justify-content: flex-end;
  }
  .wa-msg-in.svelte-1oqj6z0 {
    justify-content: flex-start;
  }

  /* Bubbles */
  .wa-bubble.svelte-1oqj6z0 {
    max-width: 75%;
    padding: 6px 8px 4px 9px;
    border-radius: 8px;
    position: relative;
    word-wrap: break-word;
    box-shadow: 0 1px 0.5px rgba(0,0,0,0.13);
  }
  .wa-bubble-out.svelte-1oqj6z0 {
    background: #005c4b;
    border-top-right-radius: 0;
    color: #e9edef;
  }
  .wa-bubble-in.svelte-1oqj6z0 {
    background: #1f2c34;
    border-top-left-radius: 0;
    color: #e9edef;
  }
  /* (unused) .wa-bubble-heartbeat {
    background: #1a2228;
    border-top-left-radius: 0;
    color: #8696a0;
    opacity: 0.7;
  }*/
  .wa-bubble-text.svelte-1oqj6z0 {
    font-size: 14px;
    line-height: 1.45;
    white-space: pre-wrap;
    word-break: break-word;
    margin: 0;
    padding-right: 56px;
  }
  .wa-bubble-meta.svelte-1oqj6z0 {
    display: flex;
    align-items: center;
    gap: 3px;
    float: right;
    margin: -10px 0 -4px 8px;
    position: relative;
    font-size: 11px;
    color: rgba(255,255,255,0.45);
  }
  .wa-check.svelte-1oqj6z0 {
    color: #53bdeb;
    flex-shrink: 0;
  }

  /* Channel badge inside bubble */
  .wa-channel-badge.svelte-1oqj6z0 {
    display: inline-block;
    font-size: 9px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 4px;
    margin-bottom: 3px;
    line-height: 1.3;
  }

  /* Heartbeat badge */
  /* (unused) .wa-heartbeat-badge {
    display: inline-block;
    font-size: 9px;
    font-weight: 600;
    padding: 1px 5px;
    border-radius: 4px;
    background: rgba(156,163,175,0.2);
    color: #9ca3af;
    margin-bottom: 3px;
    margin-left: 4px;
    line-height: 1.3;
  }*/

  /* System message label */
  .wa-system-label.svelte-1oqj6z0 {
    display: inline-block;
    font-size: 9px;
    font-weight: 600;
    padding: 1px 5px;
    border-radius: 4px;
    background: rgba(251,191,36,0.15);
    color: #fbbf24;
    margin-bottom: 3px;
    line-height: 1.3;
  }

  /* Empty state */
  .wa-empty-lock.svelte-1oqj6z0 {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8696a0;
  }

  /* Typing indicator */
  .wa-typing-dot.svelte-1oqj6z0 {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #8696a0;
    display: inline-block;
    animation: svelte-1oqj6z0-wa-bounce 1.2s infinite ease-in-out;
  }
  @keyframes svelte-1oqj6z0-wa-bounce {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-6px); }
  }

  /* Input */
  .wa-input-area.svelte-1oqj6z0 {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding: 8px 10px;
    background: #1f2c34;
    border-top: 1px solid rgba(255,255,255,0.06);
    flex-shrink: 0;
  }
  .wa-input-wrap.svelte-1oqj6z0 {
    flex: 1;
    min-width: 0;
  }
  .wa-input-wrap.svelte-1oqj6z0 textarea:where(.svelte-1oqj6z0) {
    width: 100%;
    resize: none;
    border: none;
    outline: none;
    background: #2a3942;
    color: #e9edef;
    font-size: 14px;
    padding: 10px 12px;
    border-radius: 8px;
    line-height: 1.4;
    max-height: 120px;
    font-family: inherit;
  }
  .wa-input-wrap.svelte-1oqj6z0 textarea:where(.svelte-1oqj6z0)::-moz-placeholder {
    color: #8696a0;
  }
  .wa-input-wrap.svelte-1oqj6z0 textarea:where(.svelte-1oqj6z0)::placeholder {
    color: #8696a0;
  }
  .wa-input-wrap.svelte-1oqj6z0 textarea:where(.svelte-1oqj6z0):disabled {
    opacity: 0.5;
  }
  .wa-send-btn.svelte-1oqj6z0 {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #00a884;
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.15s;
  }
  .wa-send-btn.svelte-1oqj6z0:hover:not(:disabled) {
    background: #06cf9c;
  }
  .wa-send-btn.svelte-1oqj6z0:disabled {
    background: #2a3942;
    color: #8696a0;
    cursor: not-allowed;
  }

  @media (max-width: 640px) {
    .wa-chat.svelte-1oqj6z0 {
      height: 480px;
      border-radius: 8px;
    }
    .wa-messages.svelte-1oqj6z0 {
      padding: 8px 12px;
    }
    .wa-bubble.svelte-1oqj6z0 {
      max-width: 85%;
    }
    .wa-sessions-bar.svelte-1oqj6z0 {
      padding: 6px 8px;
    }
  }
