/* ═══════════════════════════════════════════════════════════════
   Path Selector Mini Chatbot
   ═══════════════════════════════════════════════════════════════ */

  .path-chat {
    margin-top: 1.5rem;
  }

  .path-chat-messages {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
    max-height: 280px;
    overflow-y: auto;
    padding: 1rem;
    border: 1px solid var(--color-border, #d5d0c8);
    border-radius: 12px;
    background: #fff;
  }
  
  .path-chat-messages:empty {
    display: none;
    padding: 0;
    border: none;
  }
  
  .path-chat-msg {
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 1.6rem;
    line-height: 1.5;
    max-width: 85%;
    animation: pathChatFadeIn 0.3s ease;
  }
  
  .path-chat-msg-user {
    background: var(--color-primary, #3a3a3a);
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
  }
  
  .path-chat-msg-bot {
    background: var(--color-bg-subtle, #f0ede8);
    color: var(--color-text, #3a3a3a);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
  }
  
  .path-chat-input-bar {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    border: 1px solid var(--color-border, #d5d0c8);
    border-radius: 12px;
    padding: 0.5rem 0.5rem 0.5rem 1rem;
    background: #fff;
    transition: border-color 0.2s;
    margin-bottom: 2rem;
  }
  
  .path-chat-input-bar:focus-within {
    border-color: var(--color-primary, #3a3a3a);
  }
  
  .path-chat-input {
    flex: 1;
    border: none;
    outline: none;
    resize: none;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.5;
    background: transparent;
    color: var(--color-text, #3a3a3a);
    min-height: 1.5em;
    max-height: 100px;
  }
  
  .path-chat-input::placeholder {
    color: var(--color-text-muted, #999);
  }
  
  .path-chat-send {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
    opacity: 0.6;
    transition: opacity 0.2s;
  }
  
  .path-chat-send:not(:disabled):hover {
    opacity: 1;
  }
  
  .path-chat-send:disabled {
    opacity: 0.25;
    cursor: default;
  }
  
  .path-chat-send-icon {
    width: 100%;
    height: 100%;
  }
  
  /* Typing indicator */
  .path-chat-typing {
    display: flex;
    gap: 4px;
    align-self: flex-start;
    padding: 0.75rem 1rem;
    background: var(--color-bg-subtle, #f0ede8);
    border-radius: 12px;
    border-bottom-left-radius: 4px;
  }
  
  .path-chat-typing span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-text-muted, #999);
    animation: pathChatBounce 1.4s infinite ease-in-out both;
  }
  
  .path-chat-typing span:nth-child(1) { animation-delay: 0s; }
  .path-chat-typing span:nth-child(2) { animation-delay: 0.16s; }
  .path-chat-typing span:nth-child(3) { animation-delay: 0.32s; }
  
  @keyframes pathChatBounce {
    0%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-5px); }
  }
  
  @keyframes pathChatFadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  /* Generated content loading state */
  .path-details-loading {
    text-align: center;
    padding: 2rem;
    color: var(--color-text-muted, #999);
    font-style: italic;
  }