@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&display=swap");

#aioreply-root,
#aioreply-root * {
  box-sizing: border-box;
}

#aioreply-root {
  --aioreply-accent: #ffea01;
  --aioreply-client-bg: #495056;
  --aioreply-offset-side: 0px;
  --aioreply-offset-bottom: 0px;
  --aioreply-operator-bg: #ffffff;
  --aioreply-body-bg: #f3f4f6;
  --aioreply-border: #e5e7eb;
  --aioreply-text: #1a1d21;
  --aioreply-muted: #6b7280;
  --aioreply-online: #10b981;
  --aioreply-radius: 16px;
  --aioreply-radius-sm: 12px;
  font-family: Manrope, ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.4;
  color: var(--aioreply-text);
}

#aioreply-root .ar-shell {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2147483000;
}

#aioreply-root .ar-shell.is-open {
  pointer-events: auto;
}

#aioreply-root .ar-shell.side-right .ar-panel {
  right: 0;
  left: auto;
}

#aioreply-root .ar-shell.side-left .ar-panel {
  left: 0;
  right: auto;
  transform-origin: left bottom;
}

#aioreply-root .ar-shell.side-left .ar-dock {
  left: var(--aioreply-offset-side);
  right: auto;
}

#aioreply-root .ar-shell.side-left .ar-dock:not(.has-mode-menu) {
  flex-direction: row-reverse;
}

#aioreply-root .ar-panel {
  display: flex;
  position: absolute;
  top: auto;
  left: auto;
  right: 0;
  bottom: 0;
  width: 360px;
  max-width: calc(100vw - 10px);
  height: 100%;
  opacity: 1;
  flex-direction: column;
  background-color: #fff;
  border: 1px solid rgb(15 23 42 / 6%);
  box-shadow:
    0 8px 24px rgb(15 23 42 / 8%),
    0 2px 6px rgb(15 23 42 / 4%);
  pointer-events: none;
  overflow: hidden;
  transform-origin: right bottom;
}

#aioreply-root .ar-dock {
  position: fixed;
  right: var(--aioreply-offset-side);
  bottom: var(--aioreply-offset-bottom);
  pointer-events: auto;
  z-index: 2147483001;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-direction: row;
}

#aioreply-root .ar-dock.has-mode-menu {
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

#aioreply-root .ar-shell.side-left .ar-dock.has-mode-menu {
  align-items: flex-start;
}

#aioreply-root .ar-dock-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-direction: row;
}

#aioreply-root .ar-shell.side-left .ar-dock-row {
  flex-direction: row-reverse;
}

#aioreply-root .ar-mode-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 180px;
}

#aioreply-root .ar-mode-menu[hidden] {
  display: none !important;
}

#aioreply-root .ar-mode-option {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.75rem 1rem;
  border: 0;
  border-radius: 12px;
  background: #fff;
  color: var(--aioreply-text);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.14);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

#aioreply-root .ar-mode-option:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.16);
}

#aioreply-root .ar-mode-option[data-chat-mode='ai'] {
  background: var(--aioreply-accent, #ffea01);
}

#aioreply-root .ar-fab-hint {
  display: inline-block;
  max-width: 200px;
  padding: 0.5rem 0.875rem;
  border-radius: 999px;
  background: #fff;
  color: var(--aioreply-text);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.3;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.26s ease, transform 0.26s ease;
}

#aioreply-root .ar-fab-hint.is-hiding {
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
}

#aioreply-root .ar-fab-hint[hidden] {
  display: none !important;
}

#aioreply-root .ar-peek {
  display: inline-block;
  max-width: 220px;
  margin: 0;
  padding: 0.5rem 0.875rem;
  border: 0;
  border-radius: 16px;
  background: #fff;
  color: var(--aioreply-text);
  text-align: left;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  cursor: pointer;
}

#aioreply-root .ar-peek[hidden] {
  display: none !important;
}

#aioreply-root .ar-peek-meta {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--aioreply-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#aioreply-root .ar-peek-text {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@keyframes ar-peek-pulse {
  0%,
  100% {
    transform: translateX(0);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  }
  25% {
    transform: translateX(-4px) rotate(-1deg);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16);
  }
  50% {
    transform: translateX(4px) rotate(1deg);
  }
  75% {
    transform: translateX(-2px);
  }
}

#aioreply-root .ar-peek.ar-pulse {
  animation: ar-peek-pulse 0.42s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
  #aioreply-root .ar-peek.ar-pulse {
    animation: none;
  }
}

#aioreply-root .ar-shell.is-open .ar-panel {
  pointer-events: auto;
  display: flex;
}

#aioreply-root .ar-shell:not(.is-open) .ar-panel {
  display: none;
}

#aioreply-root .ar-panel.ar-enter {
  animation: ar-panel-open 0.22s ease-in forwards;
}

#aioreply-root .ar-panel.ar-leave {
  display: flex;
  animation: ar-panel-close 0.28s ease-out 0.08s forwards;
}

#aioreply-root .ar-panel.ar-enter .ar-section,
#aioreply-root .ar-panel.ar-leave .ar-section {
  animation: ar-section-fade 0.18s ease-out 0.08s backwards;
}

#aioreply-root .ar-panel.ar-leave .ar-section {
  animation: ar-section-fade-out 0.12s ease-in forwards;
}

@keyframes ar-panel-open {
  from {
    right: 15px;
    bottom: 15px;
    width: 40px;
    height: 40px;
    opacity: 0;
    box-shadow: none;
  }
  to {
    right: 0;
    bottom: 0;
    width: 360px;
    max-width: calc(100vw - 10px);
    height: 100%;
    opacity: 1;
  }
}

@keyframes ar-panel-close {
  from {
    right: 0;
    bottom: 0;
    width: 360px;
    max-width: calc(100vw - 10px);
    height: 100%;
    opacity: 1;
  }
  to {
    right: 15px;
    bottom: 15px;
    width: 40px;
    height: 40px;
    opacity: 0;
    box-shadow: none;
  }
}

@keyframes ar-section-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes ar-section-fade-out {
  from { opacity: 1; }
  to { opacity: 0; }
}

#aioreply-root .ar-section.is-header,
#aioreply-root .ar-section.is-footer {
  background-color: #fff;
  flex-shrink: 0;
}

#aioreply-root .ar-section.is-header {
  border-bottom: 1px solid var(--aioreply-border);
  z-index: 1;
  position: relative;
}

#aioreply-root .ar-section.is-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--aioreply-accent);
  opacity: 0.95;
}

#aioreply-root .ar-section.is-footer {
  border-top: 1px solid var(--aioreply-border);
}

#aioreply-root .ar-section.is-body {
  flex-grow: 1;
  background-color: var(--aioreply-body-bg);
  overflow: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

#aioreply-root .ar-inner {
  padding: 12px 14px;
}

#aioreply-root .ar-inner.is-body {
  padding-top: 20px;
  padding-bottom: 20px;
}

#aioreply-root .ar-header {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
}

#aioreply-root .ar-brand {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  flex: 1;
  min-width: 0;
  gap: 10px;
}

#aioreply-root .ar-col {
  margin-right: 0;
}

#aioreply-root .ar-col:last-child {
  margin-right: 0;
}

#aioreply-root .ar-col.is-grow {
  flex-grow: 1;
  min-width: 0;
}

#aioreply-root .ar-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--aioreply-body-bg);
  box-shadow: inset 0 0 0 1px var(--aioreply-border);
}

#aioreply-root .ar-logo .ar-image,
#aioreply-root .ar-logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

#aioreply-root .ar-logo.is-text {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--aioreply-text);
}

#aioreply-root .ar-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

#aioreply-root .ar-status-dot {
  width: 8px;
  height: 8px;
  margin-top: 0;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--aioreply-online);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.35);
  animation: ar-status-pulse 2.2s ease-out infinite;
}

@keyframes ar-status-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.35);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

#aioreply-root .ar-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

#aioreply-root .ar-subtitle {
  font-size: 12px;
  margin-top: 3px;
  color: var(--aioreply-muted);
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#aioreply-root .ar-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--aioreply-muted);
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  padding: 0;
  position: relative;
  left: 0;
  top: 0;
  line-height: 0;
  flex-shrink: 0;
  transition: background 0.15s ease, color 0.15s ease;
}

#aioreply-root .ar-icon-btn:hover {
  color: var(--aioreply-text);
  background: var(--aioreply-body-bg);
}

#aioreply-root .ar-icon-btn .ar-icon,
#aioreply-root .ar-icon-btn svg {
  width: 12px;
  height: 12px;
  display: block;
  fill: currentColor;
}

#aioreply-root .ar-msg {
  margin-bottom: 15px;
}

#aioreply-root .ar-msg.from-system {
  margin-bottom: 10px;
  text-align: center;
}

#aioreply-root .ar-msg.from-system .ar-system-text {
  display: inline-block;
  max-width: 92%;
  font-size: 11px;
  line-height: 1.35;
  color: rgba(148, 163, 184, 0.95);
  font-weight: 400;
}

#aioreply-root .ar-shell.theme-light .ar-msg.from-system .ar-system-text {
  color: rgba(100, 116, 139, 0.9);
}

#aioreply-root .ar-msg:last-child {
  margin-bottom: 0;
}

#aioreply-root .ar-msg.from-visitor,
#aioreply-root .ar-msg.from-agent {
  max-width: 95%;
}

#aioreply-root .ar-msg.from-agent {
  margin-right: auto;
}

#aioreply-root .ar-msg.from-visitor {
  margin-left: auto;
}

#aioreply-root .ar-msg .ar-bubble {
  position: relative;
  padding: 10px 15px;
  border-radius: var(--aioreply-radius);
}

#aioreply-root .ar-msg.from-agent .ar-bubble {
  background-color: var(--aioreply-operator-bg);
  border: 1px solid var(--aioreply-border);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

#aioreply-root .ar-msg.from-visitor .ar-bubble {
  background-color: var(--aioreply-client-bg);
  color: #fff;
}

#aioreply-root .ar-shell.theme-light .ar-msg.from-visitor .ar-bubble {
  color: var(--aioreply-text);
  background-color: var(--aioreply-accent);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 3px rgba(255, 234, 1, 0.35);
}

#aioreply-root .ar-msg .ar-tail {
  display: none;
}

#aioreply-root .ar-meta {
  margin-bottom: 2px;
  font-size: 13px;
  font-weight: 700;
}

#aioreply-root .ar-meta .ar-name {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

#aioreply-root .ar-meta .ar-time {
  opacity: 0.45;
  font-weight: 400;
}

#aioreply-root .ar-msg .ar-text {
  word-wrap: break-word;
  word-break: break-word;
  white-space: pre-line;
}

#aioreply-root .ar-suggests {
  list-style: none outside;
  text-align: right;
  margin: 0;
  padding: 0;
}

#aioreply-root .ar-suggests .ar-item {
  margin-bottom: 15px;
}

#aioreply-root .ar-suggests .ar-item:last-child {
  margin-bottom: 0;
}

#aioreply-root .ar-suggests .ar-link {
  display: inline-block;
  border: 1px solid var(--aioreply-border);
  border-left: 3px solid var(--aioreply-accent);
  border-radius: 999px;
  padding: 10px 15px;
  position: relative;
  overflow: visible;
  text-align: left;
  text-decoration: none;
  color: var(--aioreply-text);
  background: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 500;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

#aioreply-root .ar-suggests .ar-link:hover {
  border-color: #d1d5db;
  border-left-color: var(--aioreply-accent);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

#aioreply-root .ar-suggest-tail {
  display: none;
}

#aioreply-root .ar-msg.is-banner {
  background-color: #fff;
  border: 1px solid var(--aioreply-border);
  border-radius: var(--aioreply-radius-sm);
  transition: box-shadow 0.15s linear, border-color 0.15s linear;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

#aioreply-root .ar-msg.is-banner:hover {
  border-color: #d1d5db;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

#aioreply-root .ar-msg.is-banner.ar-accent-edge-b {
  border-left: 3px solid var(--aioreply-accent);
  border-bottom-color: var(--aioreply-border);
}

#aioreply-root .ar-msg.is-banner .ar-bubble {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  padding: 10px 15px;
  color: var(--aioreply-text);
  text-decoration: none;
  line-height: 1.3;
  background: transparent;
  border-radius: 5px;
}

#aioreply-root .ar-msg.is-banner .ar-item.is-text {
  flex-grow: 1;
  display: block;
}

#aioreply-root .ar-msg.is-banner .ar-name {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

#aioreply-root .ar-msg.is-banner .ar-text {
  font-size: 13px;
  font-weight: 400;
  color: var(--aioreply-muted);
}

#aioreply-root .ar-msg.is-banner .ar-item.is-image {
  width: 70px;
  min-width: 70px;
  height: 70px;
  min-height: 70px;
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  margin-top: 5px;
  margin-bottom: 5px;
  margin-left: 15px;
}

#aioreply-root .ar-composer {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  width: 100%;
  gap: 8px;
  padding: 8px 10px 8px 14px;
  border: 1px solid var(--aioreply-border);
  border-radius: 14px;
  background: var(--aioreply-body-bg);
}

#aioreply-root .ar-composer .ar-input {
  display: block;
  font-family: inherit;
  color: var(--aioreply-text);
  font-size: 15px;
  border: 0;
  margin: 0;
  padding: 4px 0;
  width: 100%;
  height: 36px;
  min-height: 36px;
  max-height: 126px;
  text-align: left;
  background-color: transparent;
  resize: none;
  outline: none;
}

#aioreply-root .ar-composer .ar-input::placeholder {
  color: var(--aioreply-muted);
}

#aioreply-root .ar-composer .ar-field {
  margin-right: 0 !important;
  flex-grow: 1;
  min-width: 0;
}

#aioreply-root .ar-send {
  display: none;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  color: #1a1d21;
  background: var(--aioreply-accent);
  padding: 0;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
  transition: transform 0.15s ease, opacity 0.15s ease;
}

#aioreply-root .ar-send.ar-visible {
  display: inline-flex;
}

#aioreply-root .ar-send:hover {
  transform: scale(1.04);
}

#aioreply-root .ar-send svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  display: block;
  margin-left: 1px;
}

#aioreply-root .ar-footer .ar-row {
  display: flex;
  flex-direction: row;
  margin-top: 10px;
  padding-top: 0;
  border-top: 0;
  align-items: center;
  gap: 8px;
}

#aioreply-root .ar-footer .ar-item {
  display: inline-flex;
  margin-right: 0;
  color: var(--aioreply-muted);
  width: auto;
  height: auto;
}

#aioreply-root .ar-footer .ar-icon-btn.is-attach {
  width: 30px;
  height: 30px;
  color: var(--aioreply-muted);
  background: transparent;
  border: 1px solid var(--aioreply-border);
}

#aioreply-root .ar-footer .ar-icon-btn.is-attach:hover {
  color: var(--aioreply-text);
  background: var(--aioreply-body-bg);
  border-color: #d1d5db;
}

#aioreply-root .ar-footer .ar-icon-btn.is-attach .ar-icon,
#aioreply-root .ar-footer .ar-icon-btn.is-attach svg {
  width: 15px;
  height: 15px;
}

#aioreply-root .ar-credit {
  display: block;
  margin-left: auto;
  font-size: 11px;
  text-decoration: none;
  color: #bbb;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

#aioreply-root .ar-credit:hover {
  color: var(--aioreply-text);
}

#aioreply-root .ar-credit .ar-icon {
  display: inline-block;
  vertical-align: middle;
  margin: 0 1px;
}

#aioreply-root .ar-shell.is-open .ar-dock {
  pointer-events: none;
}

#aioreply-root .ar-shell.is-open .ar-fab-hint {
  opacity: 0;
  pointer-events: none;
}

#aioreply-root .ar-shell.is-open .ar-peek {
  display: none !important;
}

#aioreply-root .ar-shell.is-open .ar-mode-menu {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  #aioreply-root .ar-fab-hint {
    transition: none;
  }
}

#aioreply-root .ar-fab {
  width: 58px;
  height: 58px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--aioreply-accent);
  color: #1a1d21;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
  cursor: pointer;
  opacity: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

#aioreply-root .ar-shell.is-open .ar-fab {
  opacity: 0;
  transform: scale(0.85);
  pointer-events: none;
}

#aioreply-root .ar-fab-icon {
  width: 52%;
  height: 52%;
  display: block;
  line-height: 0;
}

#aioreply-root .ar-fab-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

#aioreply-root .ar-fab-glyph {
  fill: currentColor;
}

#aioreply-root .ar-msg.is-intro {
  align-self: flex-start;
  max-width: min(100%, 320px);
  margin-left: 0;
  margin-right: auto;
}

#aioreply-root .ar-chat-image-btn {
  display: block;
  width: 100%;
  max-width: 240px;
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  border-radius: 12px;
  overflow: hidden;
}

#aioreply-root .ar-chat-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: cover;
}

#aioreply-root .ar-image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(15, 23, 42, 0.86);
}

#aioreply-root .ar-image-lightbox-img {
  max-width: 96%;
  max-height: 92%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

#aioreply-root .ar-image-lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

#aioreply-root .ar-msg.from-agent.is-intro .ar-auth-card {
  width: 100%;
}

#aioreply-root .ar-intro-meta {
  margin: 0 0 8px;
}

#aioreply-root .ar-intro-meta .ar-name {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 12px;
  font-weight: 600;
  color: var(--aioreply-muted, #64748b);
}

#aioreply-root .ar-intro-meta .ar-time {
  font-weight: 500;
  opacity: 0.85;
}

#aioreply-root .ar-auth-card {
  position: relative;
  background: #f4f6f8;
  background: color-mix(in srgb, var(--aioreply-accent) 7%, #fff);
  border: 0;
  border-radius: 16px;
  padding: 14px 14px 14px 16px;
  box-shadow: none;
  overflow: hidden;
}

#aioreply-root .ar-auth-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--aioreply-accent);
  border-radius: 16px 0 0 16px;
}

#aioreply-root .ar-auth-head {
  margin-bottom: 12px;
}

#aioreply-root .ar-auth-title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--aioreply-text);
  line-height: 1.35;
}

#aioreply-root .ar-auth-lead {
  margin: 5px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--aioreply-muted);
}

#aioreply-root .ar-auth-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#aioreply-root .ar-auth-input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 10px 0 9px;
  border: 0;
  border-bottom: 1.5px solid rgba(15, 23, 42, 0.12);
  border-radius: 0;
  background: transparent;
  color: var(--aioreply-text);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s ease;
}

#aioreply-root .ar-auth-input:focus {
  border-bottom-color: var(--aioreply-accent);
  background: transparent;
}

#aioreply-root .ar-auth-input::placeholder {
  color: var(--aioreply-muted);
}

#aioreply-root .ar-auth-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 6px 0 0;
  cursor: pointer;
  user-select: none;
}

#aioreply-root .ar-auth-consent input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

#aioreply-root .ar-auth-box {
  width: 18px;
  min-width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 4px;
  border: 1.5px solid rgba(15, 23, 42, 0.22);
  background: rgba(255, 255, 255, 0.7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-sizing: border-box;
  transition: border-color 0.15s ease, background 0.15s ease;
}

#aioreply-root .ar-auth-mark {
  width: 10px;
  height: 10px;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

#aioreply-root .ar-auth-mark svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: currentColor;
}

#aioreply-root .ar-auth-consent input:checked + .ar-auth-box {
  background: var(--aioreply-accent);
  border-color: var(--aioreply-accent);
  color: #fff;
}

#aioreply-root .ar-auth-consent input:checked + .ar-auth-box .ar-auth-mark {
  opacity: 1;
  transform: scale(1);
}

#aioreply-root .ar-auth-privacy {
  font-size: 12px;
  line-height: 1.4;
  color: var(--aioreply-muted);
}

#aioreply-root .ar-auth-privacy a {
  color: var(--aioreply-text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

#aioreply-root .ar-intro-error {
  margin: 0;
  padding: 0;
  font-size: 12px;
  line-height: 1.35;
  color: #d32f2f;
  min-height: 0;
}

#aioreply-root .ar-intro-error:empty {
  display: none;
}

#aioreply-root .ar-auth-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 40px;
  margin-top: 6px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  color: var(--aioreply-muted);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: default;
  transition: background 0.15s ease, color 0.15s ease, opacity 0.15s ease, transform 0.15s ease;
}

#aioreply-root .ar-auth-submit.is-ready {
  background: var(--aioreply-accent);
  cursor: pointer;
}

#aioreply-root .ar-auth-submit.is-ready:hover {
  transform: translateY(-1px);
}

#aioreply-root .ar-auth-submit:disabled {
  opacity: 0.72;
}

#aioreply-root .ar-auth-submit svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  display: block;
}

#aioreply-root .ar-send-error {
  margin: 0;
  padding: 0 15px 8px;
  font-size: 12px;
  line-height: 1.35;
  color: #d32f2f;
}

#aioreply-root .ar-send-error:empty {
  display: none;
}

#aioreply-root .ar-form .ar-btn {
  display: flex;
  width: 100%;
  border: 0;
  color: #222;
  font-family: inherit;
  font-size: 14px;
  box-sizing: border-box;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  background-color: #e8e8e8;
  border-radius: 0;
  cursor: default;
  min-height: 44px;
  margin: 0;
  gap: 8px;
  transition: background-color 0.15s linear, opacity 0.15s linear;
}

#aioreply-root .ar-form .ar-btn.is-ready {
  background-color: var(--aioreply-accent);
  cursor: pointer;
}

#aioreply-root .ar-form .ar-btn.is-ready:hover {
  filter: brightness(0.98);
}

#aioreply-root .ar-form .ar-btn:disabled {
  opacity: 1;
  cursor: default;
}

#aioreply-root .ar-form .ar-btn:disabled.is-ready {
  opacity: 0.7;
}

#aioreply-root .ar-form .ar-btn .ar-item.is-icon {
  width: 18px;
  height: 18px;
  display: flex;
}

#aioreply-root .ar-form .ar-btn .ar-item.is-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

#aioreply-root .ar-footer.intro-locked .ar-composer {
  opacity: 0.55;
  pointer-events: none;
}

#aioreply-root .ar-msg.from-visitor .ar-meta {
  margin-bottom: 2px;
  font-size: 13px;
  font-weight: 700;
}

#aioreply-root .ar-msg.from-visitor .ar-meta .ar-time {
  opacity: 0.45;
  font-weight: 400;
  display: inline;
}

#aioreply-root .ar-products {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

#aioreply-root .ar-product {
  display: flex;
  gap: 10px;
  padding: 8px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.06);
  text-decoration: none;
  color: inherit;
}

#aioreply-root .ar-product-media {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

#aioreply-root .ar-product-media--empty {
  background: rgba(0, 0, 0, 0.08);
}

#aioreply-root .ar-product-name {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

#aioreply-root .ar-product-desc {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.35;
  opacity: 0.75;
}
