  * { margin: 0; padding: 0; box-sizing: border-box; }
    body {
      height: 100vh; display: flex; flex-direction: column;
      background: linear-gradient(135deg, #0d0d0d 0%, #1a0533 60%, #0d1a3a 100%);
      font-family: 'Segoe UI', sans-serif;
    }
    /* Header */
    .header {
      background: rgba(255,255,255,0.05); backdrop-filter: blur(12px);
      padding: 12px 18px; display: flex; align-items: center; gap: 12px;
      border-bottom: 1px solid rgba(130,80,255,0.3);
    }
    .logo {
      width: 44px; height: 44px; border-radius: 12px;
      background: linear-gradient(135deg, #7c3aed, #3b82f6);
      display: flex; align-items: center; justify-content: center;
      font-size: 22px; box-shadow: 0 0 14px rgba(124,58,237,0.5);
    }
    .header-title { color: #fff; font-weight: 800; font-size: 17px; }
    .header-sub { color: #a78bfa; font-size: 11px; }
    .header-sub a { color: #818cf8; text-decoration: none; }
    .toolify-btn {
      margin-left: auto; background: linear-gradient(135deg, #7c3aed, #3b82f6);
      color: #fff; padding: 6px 14px; border-radius: 20px; font-size: 11px;
      text-decoration: none; font-weight: 600;
    }
    /* Messages */
    #messages {
      flex: 1; overflow-y: auto; padding: 16px;
      display: flex; flex-direction: column; gap: 12px;
    }
    .msg { display: flex; align-items: flex-end; gap: 8px; }
    .msg.user { justify-content: flex-end; }
    .avatar {
      width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0;
      background: linear-gradient(135deg, #7c3aed, #3b82f6);
      display: flex; align-items: center; justify-content: center; font-size: 14px;
    }
    .bubble {
      max-width: 75%; padding: 10px 14px; font-size: 13.5px;
      line-height: 1.6; color: #f0f0f0;
    }
    .bubble.bot {
      background: rgba(255,255,255,0.08); backdrop-filter: blur(8px);
      border-radius: 18px 18px 18px 4px;
      border: 1px solid rgba(124,58,237,0.2);
    }
    .bubble.user {
      background: linear-gradient(135deg, #7c3aed, #3b82f6);
      border-radius: 18px 18px 4px 18px; color: #fff;
    }
    /* Typing */
    .typing { display: flex; gap: 5px; padding: 12px 16px; }
    .dot {
      width: 7px; height: 7px; border-radius: 50%; background: #a78bfa;
      animation: bounce 1s infinite;
    }
    .dot:nth-child(2) { animation-delay: 0.2s; }
    .dot:nth-child(3) { animation-delay: 0.4s; }
    @keyframes bounce {
      0%,80%,100% { transform: translateY(0); }
      40% { transform: translateY(-5px); }
    }
    /* Suggestions */
    #suggestions {
      padding: 0 16px 10px; display: flex; gap: 8px; flex-wrap: wrap;
    }
    .suggestion {
      background: rgba(124,58,237,0.15); border: 1px solid rgba(124,58,237,0.35);
      color: #c4b5fd; border-radius: 20px; padding: 6px 12px;
      font-size: 12px; cursor: pointer; transition: all 0.2s;
    }
    .suggestion:hover { background: rgba(124,58,237,0.3); }
    /* Input */
    .input-area {
      padding: 10px 16px 14px;
      background: rgba(255,255,255,0.04);
      border-top: 1px solid rgba(124,58,237,0.2);
    }
    .input-row { display: flex; gap: 8px; align-items: flex-end; }
    textarea {
      flex: 1; background: rgba(255,255,255,0.07);
      border: 1px solid rgba(124,58,237,0.35); border-radius: 22px;
      padding: 10px 16px; color: #fff; font-size: 13.5px;
      resize: none; outline: none; font-family: inherit;
      line-height: 1.5; max-height: 90px; overflow-y: auto;
    }
    textarea::placeholder { color: rgba(255,255,255,0.35); }
    #sendBtn {
      width: 42px; height: 42px; border-radius: 50%; border: none;
      background: linear-gradient(135deg, #7c3aed, #3b82f6);
      color: #fff; font-size: 17px; cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      box-shadow: 0 0 12px rgba(124,58,237,0.5); transition: all 0.2s;
    }
    #sendBtn:disabled {
      background: rgba(255,255,255,0.08); box-shadow: none; cursor: not-allowed;
    }
    .hint { color: rgba(255,255,255,0.25); font-size: 10.5px; text-align: center; margin-top: 6px; }
    ::-webkit-scrollbar { width: 3px; }
    ::-webkit-scrollbar-thumb { background: rgba(124,58,237,0.4); border-radius: 2px; }
