@charset "UTF-8";
.om-aichat-container {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid #ccc;
  border-radius: 10px;
  bottom: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  font-family: sans-serif;
  font-size: 14px;
  font-weight: 400;
  height: min(90dvh, 720px);
  overflow: hidden;
  position: fixed;
  right: 0;
  transform: scale(0);
  transform-origin: right bottom;
  transition: 0.3s;
  width: min(90%, 640px);
  z-index: 9999;
}
.om-aichat-container.is-active {
  transform: scale(1);
}
.om-aichat-header {
  background: #4A90E2;
  color: #fff;
  font-weight: bold;
  padding: 0.75em;
  text-align: center;
}
.om-aichat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
}
.om-aichat-msg {
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  clear: both;
  margin-bottom: 0.5em;
  max-width: 90%;
  padding: 1em;
  width: max-content;
}
.om-aichat-msg.user {
  align-self: flex-end;
  background: #3097c5;
  border-radius: 0.5em 0.5em 0 0.5em;
  color: #fff;
  margin-left: auto;
}
.om-aichat-msg.bot {
  align-self: flex-start;
  background: #fff;
  border-radius: 0.5em 0.5em 0.5em 0;
  color: #212121;
  margin-right: auto;
}
.om-aichat-msg.bot h2 {
  font-size: 1.125em;
  font-weight: 700;
}
.om-aichat-msg.bot h3 {
  border-top: 1px solid #ccc;
  font-size: 1em;
  font-weight: 700;
  padding-top: 1em;
}
.om-aichat-msg.bot > * + * {
  margin-top: 1em;
}
.om-aichat-msg.bot table {
  border-left: 1px solid #ccc;
  border-top: 1px solid #ccc;
}
.om-aichat-msg.bot table th {
  background: #f0f0f0;
}
.om-aichat-msg.bot table th,
.om-aichat-msg.bot table td {
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  padding: 0.3em 0.5em;
  text-align: left;
}
.om-aichat-msg.bot ul {
  display: grid;
  gap: 0.5em;
  list-style: disc;
  padding-left: 1.5em;
}
.om-aichat-msg.bot strong {
  font-weight: 700;
}
.om-aichat-msg.bot a:not([class]) {
  background: #ddd;
  border-radius: 2em;
  color: inherit;
  display: inline-block;
  line-height: 1.3;
  max-width: 100%;
  padding: 0.25em 0.7em;
  text-decoration: none;
  width: max-content;
}
.om-aichat-msg.bot a:not([class])::before {
  content: "● ";
}
.om-aichat-msg.bot * + a:not([class]) {
  margin-top: 1em;
}
.om-aichat-input-area {
  border-top: 1px solid #ccc;
  display: flex;
}
.om-aichat-input {
  border: none;
  flex: 1;
  font-size: 16px;
  padding: 10px;
}
.om-aichat-input::placeholder {
  color: #3d3d3d;
}
.om-aichat-send {
  background: #4A90E2;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 10px 15px;
}
.om-aichat-send:disabled {
  background: #ccc;
  cursor: not-allowed;
}
.om-aichat-toggle-button {
  background: url("https://om-aichat.web.app/img/btn.svg") no-repeat center center/contain;
  border: none;
  bottom: 10px;
  cursor: pointer;
  height: 40px;
  left: 10px;
  position: fixed;
  width: 189px;
  z-index: 9998;
}
@media screen and (width >= 744px) {
  .om-aichat-toggle-button {
    bottom: 20px;
    left: auto;
    right: 20px;
  }
}
.om-aichat-close {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 28px;
  font-weight: bold;
  letter-spacing: 0;
  line-height: 1;
  position: absolute;
  right: 8px;
  top: 6px;
}
.om-aichat__policy {
  color: #007aff;
  display: inline-block;
  font-size: 10px;
  margin-bottom: 14px;
  text-decoration: underline;
}
.om-aichat__links {
  align-items: flex-start;
  border-top: 1px solid #ccc;
  display: flex;
  flex-direction: column;
  padding-top: 1em;
}