#pl-widget-root *, #pl-widget-root *::before, #pl-widget-root *::after {
    box-sizing: border-box; margin: 0; padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  }
  #pl-launcher {
    position: fixed; bottom: 24px; right: 24px;
    width: 58px; height: 58px; border-radius: 50%;
    background: #00c9b1; border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 20px rgba(0,201,177,0.45);
    z-index: 99999; transition: transform 0.2s, box-shadow 0.2s;
  }
  #pl-launcher:hover { transform: scale(1.07); box-shadow: 0 6px 26px rgba(0,201,177,0.55); }
  #pl-launcher svg { width: 26px; height: 26px; }
  #pl-badge {
    position: absolute; top: -2px; right: -2px;
    width: 18px; height: 18px; border-radius: 50%;
    background: #e74c3c; color: #fff;
    font-size: 10px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid #fff;
  }
  #pl-window {
    position: fixed; bottom: 96px; right: 24px;
    width: 370px; max-height: 580px;
    border-radius: 16px; overflow: hidden;
    background: #0d1b2e;
    box-shadow: 0 12px 48px rgba(0,0,0,0.5);
    border: 1px solid rgba(0,201,177,0.2);
    display: flex; flex-direction: column;
    z-index: 99998;
    transform: scale(0.92) translateY(12px);
    opacity: 0; pointer-events: none;
    transition: transform 0.22s cubic-bezier(.34,1.56,.64,1), opacity 0.18s ease;
  }
  #pl-window.open { transform: scale(1) translateY(0); opacity: 1; pointer-events: all; }
  #pl-header {
    display: flex; align-items: center; gap: 10px;
    padding: 13px 15px; background: #162236;
    border-bottom: 1px solid rgba(0,201,177,0.12); flex-shrink: 0;
  }
  #pl-logo {
    width: 36px; height: 36px; border-radius: 9px;
    background: #00c9b1; display: flex; align-items: center; justify-content: center;
    font-size: 10px; font-weight: 800; color: #0d1b2e;
    letter-spacing: -0.3px; flex-shrink: 0;
  }
  #pl-hinfo { flex: 1; }
  #pl-hname { font-size: 14px; font-weight: 600; color: #fff; }
  #pl-hsub  { font-size: 11px; color: #8fa3b8; margin-top: 1px; }
  #pl-status-pill {
    display: flex; align-items: center; gap: 5px;
    background: rgba(0,201,177,0.1); border: 1px solid rgba(0,201,177,0.25);
    border-radius: 20px; padding: 3px 9px;
  }
  #pl-status-pill span:first-child { width: 6px; height: 6px; border-radius: 50%; background: #00c9b1; display: block; }
  #pl-status-pill span:last-child { font-size: 10px; color: #00c9b1; font-weight: 500; }
  #pl-close {
    background: none; border: none; cursor: pointer;
    color: #8fa3b8; font-size: 20px; line-height: 1;
    padding: 2px 4px; margin-left: 4px; border-radius: 6px;
  }
  #pl-close:hover { color: #fff; background: rgba(255,255,255,0.08); }
  #pl-messages {
    flex: 1; overflow-y: auto; padding: 14px 12px;
    background: #0a1525; display: flex; flex-direction: column; gap: 10px;
    scroll-behavior: smooth;
  }
  #pl-messages::-webkit-scrollbar { width: 4px; }
  #pl-messages::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 4px; }
  .pl-row { display: flex; align-items: flex-end; gap: 7px; }
  .pl-row.user { flex-direction: row-reverse; }
  .pl-av {
    width: 27px; height: 27px; border-radius: 8px; background: #00c9b1;
    display: flex; align-items: center; justify-content: center;
    font-size: 8px; font-weight: 800; color: #0d1b2e; flex-shrink: 0;
  }
  .pl-av.u { background: #1e2f45; color: #8fa3b8; border: 1px solid rgba(255,255,255,0.08); font-size: 9px; }
  .pl-bbl { max-width: 82%; padding: 9px 13px; font-size: 13.5px; line-height: 1.55; }
  .pl-bbl.bot {
    background: #1e2f45; color: #fff;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px; border-bottom-left-radius: 4px;
  }
  .pl-bbl.user {
    background: #00c9b1; color: #0d1b2e; font-weight: 500;
    border-radius: 16px; border-bottom-right-radius: 4px;
  }
  .pl-dot {
    display: inline-block; width: 7px; height: 7px;
    border-radius: 50%; background: #00c9b1; opacity: 0.5;
    margin: 0 2px; animation: pl-blink 1.2s infinite;
  }
  .pl-dot:nth-child(2){animation-delay:.2s;}
  .pl-dot:nth-child(3){animation-delay:.4s;}
  @keyframes pl-blink{0%,80%,100%{opacity:.15}40%{opacity:.75}}
  #pl-chips {
    display: flex; flex-wrap: wrap; gap: 6px;
    padding: 9px 12px 7px; background: #162236;
    border-top: 1px solid rgba(255,255,255,0.05); flex-shrink: 0;
  }
  .pl-chip {
    font-size: 11.5px; padding: 5px 11px; border-radius: 20px;
    border: 1px solid rgba(0,201,177,0.3);
    background: rgba(0,201,177,0.07); color: #00c9b1;
    cursor: pointer; white-space: nowrap; font-family: inherit;
    transition: background 0.15s;
  }
  .pl-chip:hover { background: rgba(0,201,177,0.18); }
  #pl-inputrow {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 12px; background: #162236;
    border-top: 1px solid rgba(255,255,255,0.05); flex-shrink: 0;
  }
  #pl-input {
    flex: 1; border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px; padding: 9px 15px;
    font-size: 13px; background: #1e2f45;
    color: #fff; outline: none; font-family: inherit;
  }
  #pl-input::placeholder { color: #8fa3b8; }
  #pl-input:focus { border-color: rgba(0,201,177,0.5); }
  #pl-send {
    width: 36px; height: 36px; border-radius: 50%;
    background: #00c9b1; border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; color: #0d1b2e;
  }
  #pl-send:hover { background: #00a896; }
  #pl-send:disabled { background: rgba(255,255,255,0.1); cursor: default; }
  #pl-send svg { width: 18px; height: 18px; }
  #pl-footer {
    text-align: center; font-size: 10px; color: #8fa3b8;
    padding: 6px 12px; background: #162236;
    border-top: 1px solid rgba(255,255,255,0.04); flex-shrink: 0;
  }
  #pl-footer a { color: #00c9b1; text-decoration: none; }
  @media(max-width: 420px){
    #pl-window { right: 12px; left: 12px; width: auto; bottom: 88px; }
    #pl-launcher { right: 16px; bottom: 16px; }
  }