.alj-ai-launcher {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9000;
  width: 62px;
  height: 62px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #173b66;
  color: #fff;
  box-shadow: 0 7px 24px rgba(11, 36, 57, .28);
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
  display: grid;
  place-items: center;
}
.alj-ai-launcher::before {
  content: "";
  position: absolute;
  inset: -5px;
  border: 2px solid #c8a96b;
  border-radius: 50%;
  animation: alj-ai-pulse 2.8s ease-out infinite;
  pointer-events: none;
}
.alj-ai-launcher:hover, .alj-ai-launcher:focus-visible {
  background: #245886;
  outline: 3px solid #c8a96b;
  outline-offset: 3px;
}
@keyframes alj-ai-pulse {
  0% { opacity: .85; transform: scale(.9); }
  70%, 100% { opacity: 0; transform: scale(1.25); }
}
.alj-ai-panel[hidden] { display: none !important; }
.alj-ai-panel {
  position: fixed;
  right: 20px;
  bottom: 91px;
  z-index: 9000;
  box-sizing: border-box;
  width: min(390px, calc(100vw - 32px));
  max-height: calc(100vh - 110px);
  max-height: calc(100dvh - 110px);
  overflow: auto;
  direction: rtl;
  text-align: right;
  padding: 16px;
  border: 1px solid #cfbd9c;
  border-radius: 16px;
  background: #fffdf8;
  color: #18354d;
  box-shadow: 0 12px 38px rgba(11, 36, 57, .24);
  font-family: inherit;
}
html[dir="ltr"] .alj-ai-panel { direction: ltr; text-align: left; }
.alj-ai-panel-head { display: flex; align-items: start; justify-content: space-between; gap: 10px; }
.alj-ai-panel h2 { margin: 0; font-size: 1.1rem; }
.alj-ai-panel-close { border: 0; background: transparent; color: inherit; font-size: 24px; cursor: pointer; }
.alj-ai-panel-note { margin: 8px 0 12px; font-size: .85rem; line-height: 1.7; }
.alj-ai-panel-form { display: grid; gap: 8px; }
.alj-ai-panel-form input, .alj-ai-panel-form select {
  box-sizing: border-box; width: 100%; min-height: 43px; border: 1px solid #a9b7c2;
  border-radius: 9px; padding: 8px 10px; background: #fff; color: #18354d; font: inherit;
}
.alj-ai-panel-form button {
  min-height: 43px; border: 0; border-radius: 9px; background: #173b66;
  color: #fff; font: inherit; font-weight: 700; cursor: pointer;
}
.alj-ai-panel-form button:disabled { opacity: .65; cursor: wait; }
.alj-ai-web-opt { display: flex; align-items: center; gap: 8px; font-size: .85rem; line-height: 1.6; }
.alj-ai-web-opt input { width: 18px; height: 18px; min-width: 18px; min-height: 18px;
  padding: 0; margin: 0; accent-color: #173b66; }
.alj-ai-panel h3 { margin: 14px 0 3px; font-size: .95rem; }
.alj-ai-panel-status { min-height: 1.5em; margin: 10px 0 0; line-height: 1.7; }
.alj-ai-panel-results { list-style: none; margin: 4px 0 0; padding: 0; }
.alj-ai-panel-results li { padding: 10px 0; border-top: 1px solid #e7dccb; overflow-wrap: anywhere; }
.alj-ai-panel-results strong, .alj-ai-panel-results small { display: block; margin-bottom: 3px; }
.alj-ai-panel-results a { color: #14517c; font-weight: 700; }
@media (max-width: 620px) {
  .alj-ai-launcher { right: 14px; bottom: 14px; width: 54px; height: 54px; }
  .alj-ai-panel { right: 8px; bottom: 78px; width: calc(100vw - 16px); }
}
@media (prefers-reduced-motion: reduce) {
  .alj-ai-launcher::before { animation: none; opacity: .65; }
}
