
.wikk-assistant {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9999;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.wikk-assistant-toggle {
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  background: #14213d;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 14px 36px rgba(20,33,61,.28);
  cursor: pointer;
}

.wikk-assistant-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #d6b46a;
  margin-right: 8px;
}

.wikk-assistant-panel {
  width: min(390px, calc(100vw - 28px));
  margin-bottom: 12px;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 80px rgba(20,33,61,.24);
  border: 1px solid rgba(20,33,61,.08);
}

.wikk-assistant-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  background: linear-gradient(135deg, #14213d 0%, #243b68 100%);
  color: #fff;
}

.wikk-assistant-header strong {
  display: block;
}

.wikk-assistant-header small {
  display: block;
  color: rgba(255,255,255,.78);
  margin-top: 4px;
  line-height: 1.35;
}

#wikkAssistantClose {
  border: 0;
  background: rgba(255,255,255,.14);
  color: #fff;
  border-radius: 10px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  font-size: 20px;
}

.wikk-assistant-messages {
  max-height: 310px;
  overflow: auto;
  padding: 16px;
  background: #f7f8fb;
}

.wikk-assistant-message {
  padding: 11px 13px;
  border-radius: 16px;
  margin-bottom: 10px;
  line-height: 1.45;
  font-size: 14px;
}

.wikk-assistant-message.bot {
  background: #fff;
  color: #14213d;
  border: 1px solid rgba(20,33,61,.07);
}

.wikk-assistant-message.user {
  background: #14213d;
  color: #fff;
  margin-left: 34px;
}

.wikk-assistant-form {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid rgba(20,33,61,.08);
}

.wikk-assistant-form input {
  flex: 1;
  border: 1px solid rgba(20,33,61,.16);
  border-radius: 999px;
  padding: 11px 13px;
}

.wikk-assistant-form button {
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  background: #d6b46a;
  color: #14213d;
  font-weight: 800;
  cursor: pointer;
}

.wikk-assistant-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0 12px 12px;
}

.wikk-assistant-quick button {
  border: 1px solid rgba(20,33,61,.12);
  background: #fff;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 12px;
  cursor: pointer;
}

@media (max-width: 640px) {
  .wikk-assistant {
    right: 12px;
    bottom: 12px;
  }
}
