.valet-ai-root {
  position: fixed;
  z-index: 99999;
  right: 18px;
  bottom: 18px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.valet-ai-fab {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

.valet-ai-panel {
  position: fixed;
  right: 18px;
  bottom: 86px;
  width: 380px;
  max-width: calc(100vw - 36px);
  height: 540px;
  max-height: calc(100vh - 140px);
  background: #111;
  color: #fff;
  border-radius: 16px;
  box-shadow: 0 18px 60px rgba(0,0,0,.45);
  overflow: hidden;
  display: none;
}

.valet-ai-panel.is-open { display: flex; flex-direction: column; }

.valet-ai-header {
  padding: 12px 12px;
  background: #0b0b0b;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.valet-ai-title { font-size: 14px; font-weight: 800; letter-spacing: .2px; }

.valet-ai-close {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}

.valet-ai-messages {
  flex: 1;
  padding: 12px;
  overflow-y: auto;
  background: #111;
  cursor: text;
}

.valet-ai-msg { display: flex; margin: 8px 0; }
.valet-ai-msg.user { justify-content: flex-end; }
.valet-ai-msg.assistant { justify-content: flex-start; }

.valet-ai-msg .bubble {
  max-width: 78%;
  padding: 10px 12px;
  border-radius: 14px;
  line-height: 1.4;
  font-size: 14px;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.valet-ai-msg.user .bubble { background: #2a2a2a; }
.valet-ai-msg.assistant .bubble { background: #1b1b1b; }

.valet-ai-footer {
  display: flex;
  gap: 8px;
  padding: 10px;
  background: #0b0b0b;
  border-top: 1px solid rgba(255,255,255,.08);
  align-items: flex-end;
}

.valet-ai-input {
  flex: 1;
  border: 1px solid rgba(255,255,255,.16);
  background: #111;
  color: #fff !important;
  caret-color: #fff;
  border-radius: 12px;
  padding: 10px 10px;
  outline: none;
  cursor: text;
  font-size: 14px;
  line-height: 1.35;
  resize: none;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.valet-ai-input::placeholder { color: rgba(255,255,255,.55); }

.valet-ai-send {
  border: 0;
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
  font-weight: 800;
}