#asc-root {
  --asc-color: #2563eb;
  --asc-text: #172033;
  --asc-panel-bg: #ffffff;
  --asc-panel-border: rgba(15, 23, 42, 0.12);
  --asc-shadow: 0 24px 60px rgba(15, 23, 42, 0.24);
  --asc-header-bg: #111827;
  --asc-header-subtle: rgba(255, 255, 255, 0.72);
  --asc-body-bg: #f7f8fb;
  --asc-bot-bg: #ffffff;
  --asc-bot-border: rgba(15, 23, 42, 0.08);
  --asc-admin-bg: #dbeafe;
  --asc-link: var(--asc-color);
  --asc-action-bg: #ffffff;
  --asc-action-border: rgba(37, 99, 235, 0.24);
  --asc-input-bg: #ffffff;
  --asc-input-border: rgba(15, 23, 42, 0.16);
  --asc-input-text: #172033;
  --asc-feedback-bg: #ffffff;
  --asc-feedback-border: rgba(15, 23, 42, 0.14);
  --asc-feedback-text: #475569;
  position: fixed;
  z-index: 2147483000;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--asc-text);
}

#asc-root.asc-theme-dark {
  --asc-text: #e2e8f0;
  --asc-panel-bg: #0f172a;
  --asc-panel-border: rgba(148, 163, 184, 0.18);
  --asc-shadow: 0 24px 60px rgba(2, 6, 23, 0.55);
  --asc-header-bg: #020617;
  --asc-header-subtle: rgba(226, 232, 240, 0.72);
  --asc-body-bg: #0b1220;
  --asc-bot-bg: #111827;
  --asc-bot-border: rgba(148, 163, 184, 0.18);
  --asc-admin-bg: #132a46;
  --asc-link: #7dd3fc;
  --asc-action-bg: #0f172a;
  --asc-action-border: rgba(56, 189, 248, 0.28);
  --asc-input-bg: #0f172a;
  --asc-input-border: rgba(148, 163, 184, 0.24);
  --asc-input-text: #e2e8f0;
  --asc-feedback-bg: #0f172a;
  --asc-feedback-border: rgba(148, 163, 184, 0.24);
  --asc-feedback-text: #cbd5e1;
}

#asc-root.asc-bottom_right {
  right: 20px;
  bottom: 20px;
}

#asc-root.asc-bottom_left {
  left: 20px;
  bottom: 20px;
}

#asc-root * {
  box-sizing: border-box;
}

#asc-root svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.asc-toggle {
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 999px;
  background: var(--asc-color);
  color: #fff;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.22);
  cursor: pointer;
  display: grid;
  place-items: center;
  position: relative;
}

.asc-toggle.has-preview .asc-toggle-dot {
  width: 12px;
  height: 12px;
  background: #f59e0b;
}

.asc-toggle-icon {
  font-size: 24px;
  line-height: 1;
}

.asc-toggle-dot {
  position: absolute;
  top: 9px;
  right: 9px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #22c55e;
  border: 2px solid #fff;
}

.asc-toggle-preview {
  position: absolute;
  right: 0;
  bottom: 84px;
  width: min(280px, calc(100vw - 44px));
  padding: 10px 12px;
  border: 1px solid var(--asc-panel-border);
  border-radius: 16px 16px 4px 16px;
  background: var(--asc-panel-bg);
  box-shadow: var(--asc-shadow);
  font-size: 12px;
  line-height: 1.5;
  color: var(--asc-text);
  display: none;
}

.asc-toggle-preview.is-visible {
  display: block;
}

.asc-toggle-preview strong {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  color: var(--asc-feedback-text);
}

.asc-toggle-preview span {
  display: block;
}

.asc-panel {
  position: absolute;
  right: 0;
  bottom: 72px;
  width: min(370px, calc(100vw - 32px));
  height: min(560px, calc(100vh - 110px));
  min-height: 380px;
  background: var(--asc-panel-bg);
  border: 1px solid var(--asc-panel-border);
  border-radius: 8px;
  box-shadow: var(--asc-shadow);
  overflow: hidden;
  display: none;
}

.asc-bottom_left .asc-panel {
  left: 0;
  right: auto;
}

.asc-bottom_left .asc-toggle-preview {
  left: 0;
  right: auto;
  border-radius: 16px 16px 16px 4px;
}

.asc-open .asc-panel {
  display: grid;
  grid-template-rows: auto 1fr auto;
}

#asc-root.asc-history-visible.asc-open .asc-panel {
  grid-template-rows: auto auto 1fr auto;
}

.asc-header {
  min-height: 58px;
  padding: 12px 14px;
  background: var(--asc-header-bg);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  grid-row: 1;
}

.asc-header-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.asc-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.asc-history-wrap {
  position: relative;
}

.asc-header-tool,
.asc-close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
}

.asc-header-tool {
  font-size: 17px;
}

.asc-new-chat {
  font-size: 21px;
}

.asc-close {
  font-size: 20px;
}

.asc-theme-toggle.is-active {
  background: rgba(125, 211, 252, 0.18);
  color: #7dd3fc;
}

.asc-history-toggle.is-open {
  background: rgba(125, 211, 252, 0.18);
  color: #7dd3fc;
}

.asc-history-drawer {
  padding: 0 12px 12px;
  background: linear-gradient(180deg, var(--asc-header-bg) 0, var(--asc-panel-bg) 100%);
  grid-row: 2;
}

.asc-history-drawer[hidden] {
  display: none;
}

.asc-history-card {
  border: 1px solid var(--asc-panel-border);
  border-radius: 14px;
  background: var(--asc-panel-bg);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.16);
  padding: 12px;
}

.asc-history-header {
  display: grid;
  gap: 2px;
  margin-bottom: 10px;
}

.asc-history-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--asc-text);
}

.asc-history-subtitle {
  font-size: 11px;
  color: var(--asc-feedback-text);
}

.asc-history-list {
  display: grid;
  gap: 6px;
  max-height: 220px;
  overflow-y: auto;
}

.asc-history-item {
  width: 100%;
  border: 1px solid var(--asc-bot-border);
  border-radius: 8px;
  background: var(--asc-body-bg);
  color: var(--asc-text);
  text-align: left;
  cursor: pointer;
  padding: 10px 11px;
  display: grid;
  gap: 4px;
}

.asc-history-item:hover,
.asc-history-item:focus-visible {
  border-color: rgba(37, 99, 235, 0.36);
  background: var(--asc-panel-bg);
  outline: none;
}

.asc-history-meta {
  font-size: 11px;
  color: var(--asc-feedback-text);
}

.asc-history-text {
  font-size: 12px;
  line-height: 1.45;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.asc-history-state {
  padding: 10px 8px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--asc-feedback-text);
}

#asc-root.asc-theme-dark .asc-history-card {
  box-shadow: 0 18px 36px rgba(2, 6, 23, 0.34);
}

.asc-header strong {
  display: block;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: 0;
}

.asc-header span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--asc-header-subtle);
}

.asc-messages {
  min-height: 0;
  overflow-y: auto;
  padding: 14px;
  background: var(--asc-body-bg);
  grid-row: 2;
}

#asc-root.asc-history-visible.asc-open .asc-messages {
  grid-row: 3;
}

.asc-message {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.asc-bubble {
  max-width: 88%;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.45;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  letter-spacing: 0;
}

.asc-bot .asc-bubble {
  justify-self: start;
  background: var(--asc-bot-bg);
  border: 1px solid var(--asc-bot-border);
}

.asc-admin .asc-bubble {
  justify-self: start;
  background: var(--asc-admin-bg);
  border: 1px solid var(--asc-bot-border);
}

.asc-visitor .asc-bubble {
  justify-self: end;
  background: var(--asc-color);
  color: #fff;
}

.asc-rtl {
  direction: rtl;
}

.asc-rtl .asc-history-item {
  text-align: right;
}

.asc-rtl .asc-header-actions {
  flex-direction: row-reverse;
}

.asc-rtl .asc-bot .asc-bubble {
  justify-self: start;
}

.asc-typing .asc-bubble {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 48px;
}

.asc-typing i {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--asc-feedback-text);
  animation: asc-pulse 1s infinite ease-in-out;
}

.asc-typing i:nth-child(2) {
  animation-delay: 0.15s;
}

.asc-typing i:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes asc-pulse {
  0%, 80%, 100% { opacity: 0.35; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-2px); }
}

.asc-link,
.asc-action,
.asc-product a {
  color: var(--asc-link);
  text-decoration: none;
  font-weight: 650;
}

.asc-link {
  justify-self: start;
  max-width: 88%;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.asc-inline-link {
  color: var(--asc-link);
  text-decoration: underline;
  overflow-wrap: anywhere;
}

.asc-inline-link:hover {
  opacity: 0.85;
}

.asc-inline-form-price-btn {
  display: inline-block;
  margin-inline-start: 8px;
  border: 1px solid var(--asc-color);
  background: transparent;
  color: var(--asc-color);
  border-radius: 14px;
  padding: 3px 12px;
  font-size: 12px;
  line-height: 1.7;
  cursor: pointer;
  font-family: inherit;
  vertical-align: middle;
}

.asc-inline-form-price-btn:hover {
  background: var(--asc-color);
  color: #fff;
}

.asc-inline-form-price-btn:disabled {
  opacity: 0.7;
  cursor: default;
}

.asc-inline-form-price-note {
  margin-top: 6px;
  font-size: 12px;
  color: var(--asc-link);
}

.asc-inline-form-price-note.is-error {
  color: #dc2626;
}

.asc-lang-chips {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 2px 0 12px;
}

.asc-lang-chips-label {
  font-size: 12px;
  color: var(--asc-link);
  opacity: 0.75;
  margin-inline-end: 2px;
}

.asc-lang-chip {
  border: 1px solid var(--asc-bot-border);
  background: transparent;
  color: inherit;
  border-radius: 14px;
  padding: 3px 13px;
  font-size: 12px;
  line-height: 1.7;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}

.asc-lang-chip:hover {
  border-color: var(--asc-color);
}

.asc-lang-chip.is-active {
  background: var(--asc-color);
  border-color: var(--asc-color);
  color: #fff;
}

.asc-image {
  width: min(250px, 88%);
  max-height: 170px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--asc-bot-border);
  cursor: zoom-in;
}

.asc-image-gallery {
  display: block;
}

.asc-image-gallery .asc-image-main {
  display: block;
}

.asc-image-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.asc-image-thumb {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--asc-bot-border);
  cursor: zoom-in;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.asc-image-thumb:hover,
.asc-image-thumb:focus {
  transform: scale(1.06);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  outline: none;
}

.asc-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 88%;
}

.asc-action {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid var(--asc-action-border);
  border-radius: 6px;
  background: var(--asc-action-bg);
  color: var(--asc-link);
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
}

.asc-product {
  width: min(285px, 88%);
  padding: 10px;
  border: 1px solid var(--asc-bot-border);
  border-radius: 8px;
  background: var(--asc-bot-bg);
  display: grid;
  gap: 8px;
}

.asc-product img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
  cursor: zoom-in;
}

body.asc-image-zoom-open {
  overflow: hidden;
}

#asc-image-zoom.asc-image-zoom {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(2, 6, 23, 0.88);
  backdrop-filter: blur(3px);
  cursor: zoom-out;
}

#asc-image-zoom img {
  max-width: min(100%, 1280px);
  max-height: calc(100vh - 48px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  cursor: default;
}

.asc-image-zoom-close {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.asc-image-zoom-close:focus {
  outline: 3px solid rgba(255, 255, 255, 0.6);
  outline-offset: 2px;
}

.asc-product strong {
  display: block;
  font-size: 13px;
  line-height: 1.25;
}

.asc-product p {
  margin: 4px 0;
  color: var(--asc-feedback-text);
  font-size: 12px;
  line-height: 1.35;
}

.asc-product span {
  display: block;
  color: var(--asc-text);
  font-size: 12px;
  font-weight: 700;
}

.asc-inline-form {
  width: min(360px, 96%);
  justify-self: center;
  margin: 2px auto;
  padding: 14px;
  border: 1px solid var(--asc-bot-border);
  border-radius: 12px;
  background: var(--asc-bot-bg);
  box-shadow: 0 1px 8px rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 12px;
  box-sizing: border-box;
}

.asc-inline-form-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--asc-text);
  text-align: center;
}

.asc-inline-form-fields {
  display: grid;
  gap: 12px;
}

.asc-inline-form-row {
  display: grid;
  gap: 5px;
}

.asc-inline-form-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--asc-text);
  text-align: center;
}

.asc-inline-form-domain-row {
  display: flex;
  gap: 6px;
  align-items: stretch;
}

.asc-inline-form-domain-sld {
  flex: 1 1 auto;
  min-width: 0;
}

.asc-inline-form-domain-tld {
  flex: 0 0 auto;
  width: 78px;
  max-width: 78px;
  min-width: 62px;
  padding-right: 4px;
  padding-left: 4px;
}

.asc-inline-form-domain-search {
  flex: 0 0 auto;
  border: none;
  border-radius: 8px;
  background: var(--asc-color);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 0 14px;
  cursor: pointer;
}

.asc-inline-form-domain-search:hover {
  filter: brightness(0.95);
}

.asc-inline-form-domain-search:disabled {
  opacity: 0.6;
  cursor: default;
}

.asc-inline-form-domain-result {
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.5;
  text-align: center;
  font-weight: 600;
  white-space: pre-line;
}

.asc-inline-form-domain-result.is-available {
  color: #16a34a;
}

.asc-inline-form-domain-result.is-unavailable,
.asc-inline-form-domain-result.is-error {
  color: #dc2626;
}

.asc-inline-form-domain-result.is-checking {
  color: var(--asc-muted, #64748b);
  font-weight: 500;
}

.asc-inline-form-input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--asc-input-border);
  border-radius: 8px;
  background: var(--asc-input-bg);
  color: var(--asc-input-text);
  font: inherit;
  font-size: 13px;
  line-height: 1.4;
  padding: 10px 11px;
  resize: none;
}

textarea.asc-inline-form-input {
  resize: vertical;
  min-height: 58px;
}

.asc-inline-form-input:focus {
  border-color: var(--asc-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
  outline: none;
}

.asc-inline-form-input.is-invalid {
  border-color: #dc2626;
}

.asc-inline-form-input.is-invalid:focus {
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.14);
}

.asc-inline-form-field-error {
  font-size: 11.5px;
  line-height: 1.35;
  color: #dc2626;
}

#asc-root.asc-theme-dark .asc-inline-form-field-error {
  color: #fda4af;
}

.asc-inline-form-actions {
  display: flex;
  gap: 10px;
  margin-top: 2px;
  flex-wrap: wrap;
}

.asc-inline-form-submit,
.asc-inline-form-back,
.asc-inline-form-cancel {
  flex: 1 1 0;
  min-width: 84px;
  min-height: 40px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}

.asc-inline-form-submit {
  border: 0;
  background: var(--asc-color);
  color: #fff;
}

.asc-inline-form-back {
  border: 1px solid var(--asc-color);
  background: transparent;
  color: var(--asc-color);
}

.asc-inline-form-cancel {
  border: 1px solid var(--asc-input-border);
  background: transparent;
  color: var(--asc-feedback-text);
}

.asc-inline-form-submit:disabled,
.asc-inline-form-back:disabled,
.asc-inline-form-cancel:disabled {
  opacity: 0.6;
  cursor: default;
}

.asc-inline-form-status {
  font-size: 12px;
  color: var(--asc-feedback-text);
}

.asc-invoice-options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.asc-invoice-chip {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1 1 calc(50% - 6px);
  min-width: 104px;
  padding: 6px 9px;
  border: 1px solid var(--asc-input-border);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  text-align: start;
}

.asc-invoice-chip-id {
  font-size: 12px;
  font-weight: 600;
  color: var(--asc-input-text);
}

.asc-invoice-chip-sub {
  font-size: 11px;
  color: var(--asc-feedback-text);
  word-break: break-all;
}

.asc-invoice-chip.is-selected {
  border-color: var(--asc-color);
  background: rgba(37, 99, 235, 0.08);
}

.asc-notice-cancelled .asc-bubble,
.asc-notice-register .asc-bubble {
  color: #dc2626;
  border: 1px solid rgba(220, 38, 38, 0.35);
  background: rgba(220, 38, 38, 0.06);
  font-size: 12.5px;
}

.asc-notice-register .asc-action {
  border-color: var(--asc-color);
  color: #fff;
  background: var(--asc-color);
  font-weight: 600;
}

.asc-inline-register-link {
  display: inline-block;
  margin-top: 4px;
  color: var(--asc-link);
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

.asc-inline-register-link:hover {
  text-decoration: none;
}

.asc-rd-pay {
  display: grid;
  gap: 12px;
}

.asc-rd-pay-intro {
  font-size: 12.5px;
  font-weight: 600;
  text-align: center;
  color: #16a34a;
}

.asc-rd-pay-url {
  display: block;
  color: var(--asc-link);
  font-size: 12.5px;
  font-weight: 600;
  text-align: center;
  text-decoration: underline;
  word-break: break-all;
  direction: ltr;
}

.asc-rd-pay-url:hover {
  text-decoration: none;
}

.asc-rd-pay-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.asc-rd-pay-link:hover {
  text-decoration: none;
}

.asc-rd-pay-dynamic {
  display: grid;
  gap: 10px;
}

.asc-rd-pay-info {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--asc-text);
  text-align: center;
}

.asc-rd-pay-amount {
  font-size: 13.5px;
  font-weight: 700;
  text-align: center;
  color: #16a34a;
}

.asc-rd-pay-account {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-align: center;
  color: var(--asc-color);
  background: rgba(37, 99, 235, 0.08);
  border: 1px dashed var(--asc-action-border);
  border-radius: 8px;
  padding: 8px 10px;
  direction: ltr;
  user-select: all;
  cursor: pointer;
}

.asc-rd-pay-account:hover {
  background: rgba(37, 99, 235, 0.14);
}

.asc-rd-pay-account.is-copied {
  color: #16a34a;
  border-color: rgba(22, 163, 74, 0.5);
  background: rgba(22, 163, 74, 0.08);
}

.asc-inline-form-status.is-error {
  color: #dc2626;
}

#asc-root.asc-theme-dark .asc-inline-form-status.is-error {
  color: #fda4af;
}

.asc-inline-form.is-resolved {
  opacity: 0.84;
}

.asc-inline-form.is-busy {
  opacity: 0.74;
}

.asc-inline-form-confirm {
  display: grid;
  gap: 10px;
}

.asc-inline-form-confirm-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--asc-text);
  text-align: center;
}

.asc-inline-form-confirm-rows {
  display: grid;
  gap: 6px;
  padding: 10px 12px;
  border: 1px solid var(--asc-input-border);
  border-radius: 8px;
  background: var(--asc-input-bg);
}

.asc-inline-form-confirm-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  line-height: 1.4;
}

.asc-inline-form-confirm-label {
  color: var(--asc-feedback-text);
  flex: 0 0 auto;
}

.asc-inline-form-confirm-value {
  color: var(--asc-text);
  font-weight: 600;
  text-align: left;
  overflow-wrap: anywhere;
}

.asc-rtl .asc-inline-form-confirm-value {
  text-align: right;
}

.asc-inline-form-confirm-services {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid var(--asc-input-border);
  border-radius: 8px;
  background: var(--asc-input-bg);
}

.asc-inline-form-confirm-services-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--asc-feedback-text);
  margin-bottom: 2px;
}

.asc-inline-form-confirm-service {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--asc-text);
  font-weight: 600;
  overflow-wrap: anywhere;
}

.asc-inline-form-confirm-service::before {
  content: "•";
  margin: 0 6px;
  color: var(--asc-feedback-text);
}

.asc-inline-form-confirm-invoice {
  display: flex;
  justify-content: flex-start;
}

.asc-rtl .asc-inline-form-confirm-invoice {
  justify-content: flex-end;
}

.asc-inline-form-invoice-link {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--asc-accent, #2563eb);
  text-decoration: none;
  padding: 6px 12px;
  border: 1px solid var(--asc-accent, #2563eb);
  border-radius: 8px;
}

.asc-inline-form-invoice-link:hover {
  text-decoration: underline;
}

.asc-feedback {
  display: flex;
  gap: 6px;
  max-width: 88%;
}

.asc-feedback button {
  width: 26px;
  height: 26px;
  border: 1px solid var(--asc-feedback-border);
  border-radius: 6px;
  background: var(--asc-feedback-bg);
  color: var(--asc-feedback-text);
  cursor: pointer;
}

.asc-feedback button:disabled {
  opacity: 0.55;
  cursor: default;
}

.asc-form {
  display: grid;
  grid-template-columns: 38px 1fr 42px;
  gap: 8px;
  padding: 10px;
  background: var(--asc-panel-bg);
  border-top: 1px solid var(--asc-panel-border);
  direction: ltr;
  align-self: end;
  grid-row: 3;
}

#asc-root.asc-history-visible.asc-open .asc-form {
  grid-row: 4;
}

.asc-input {
  min-width: 0;
  height: 42px;
  max-height: 120px;
  border: 1px solid var(--asc-input-border);
  border-radius: 6px;
  padding: 10px 11px;
  font: inherit;
  font-size: 14px;
  line-height: 20px;
  background: var(--asc-input-bg);
  color: var(--asc-input-text);
  outline: none;
  overflow-y: auto;
  resize: none;
}

.asc-input:focus {
  border-color: var(--asc-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.asc-composer-error {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
  color: #dc2626;
}

#asc-root.asc-theme-dark .asc-composer-error {
  color: #fda4af;
}

.asc-send {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 6px;
  background: var(--asc-color);
  color: #fff;
  cursor: pointer;
  font-size: 17px;
}

.asc-voice {
  width: 38px;
  height: 42px;
  border: 1px solid var(--asc-input-border);
  border-radius: 6px;
  background: var(--asc-input-bg);
  color: var(--asc-input-text);
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
}

.asc-voice:hover,
.asc-voice:focus {
  border-color: var(--asc-color);
  outline: none;
}

.asc-voice.is-recording {
  background: #dc2626;
  border-color: #dc2626;
  color: #fff;
  animation: asc-voice-pulse 1s ease-in-out infinite;
}

@keyframes asc-voice-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.45); }
  50% { box-shadow: 0 0 0 6px rgba(220, 38, 38, 0); }
}

.asc-voice {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.asc-voice-cancel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 42px;
  border: 1px solid #dc2626;
  border-radius: 6px;
  background: var(--asc-input-bg);
  color: #dc2626;
  cursor: pointer;
}

.asc-voice-cancel[hidden] {
  display: none;
}

.asc-voice-cancel:hover,
.asc-voice-cancel:focus {
  background: #dc2626;
  color: #fff;
  outline: none;
}

.asc-rtl .asc-send {
  transform: scaleX(-1);
}

.asc-rtl .asc-input {
  direction: rtl;
  text-align: right;
}

#asc-root.asc-standalone {
  position: fixed;
  inset: 0;
  z-index: auto;
  display: grid;
  place-items: center;
  padding: 18px;
}

#asc-root.asc-standalone .asc-toggle,
#asc-root.asc-standalone .asc-toggle-preview,
#asc-root.asc-standalone .asc-popout-chat {
  display: none !important;
}

#asc-root.asc-standalone .asc-panel {
  position: relative;
  inset: auto;
  display: grid;
  width: min(100%, clamp(420px, calc(100vw - 36px), 920px));
  height: min(100%, clamp(620px, calc(100vh - 36px), 980px));
  border: 1px solid var(--asc-panel-border);
  border-radius: 22px;
  box-shadow: var(--asc-shadow);
  right: auto;
  bottom: auto;
  overflow: hidden;
}

html.asc-widget-popout,
body.asc-widget-popout {
  width: 100%;
  height: 100%;
  margin: 0;
}

body.asc-widget-popout {
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.24), transparent 34%),
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.18), transparent 28%),
    linear-gradient(180deg, #0b1220 0%, #111827 100%);
}

#asc-root.asc-standalone.asc-theme-light .asc-panel {
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.18);
}

#asc-root.asc-standalone.asc-theme-dark .asc-panel {
  box-shadow: 0 32px 90px rgba(2, 6, 23, 0.56);
}

@media (max-width: 520px) {
  #asc-root.asc-bottom_right,
  #asc-root.asc-bottom_left {
    right: 12px;
    left: 12px;
    bottom: 12px;
  }

  .asc-toggle {
    margin-left: auto;
  }

  .asc-bottom_left .asc-toggle {
    margin-left: 0;
    margin-right: auto;
  }

  .asc-panel,
  .asc-bottom_left .asc-panel {
    left: 0;
    right: 0;
    width: 100%;
    height: min(590px, calc(100vh - 92px));
    bottom: 70px;
  }

  .asc-history-drawer {
    padding: 0 10px 10px;
  }

  #asc-root.asc-standalone {
    padding: 0;
  }

  #asc-root.asc-standalone .asc-panel {
    width: 100%;
    height: 100%;
    min-height: 100%;
    border-radius: 0;
    border: 0;
    box-shadow: none;
  }
}

/* ===== Creative launcher: gradient + pulse rings + typing dots ===== */
.asc-toggle {
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.45);
  overflow: visible;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.asc-toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 18px 42px rgba(6, 182, 212, 0.55);
}

.asc-toggle::before,
.asc-toggle::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 2px solid rgba(6, 182, 212, 0.55);
  animation: asc-toggle-pulse 2.4s ease-out infinite;
  pointer-events: none;
}

.asc-toggle::after {
  animation-delay: 1.2s;
}

@keyframes asc-toggle-pulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(2); opacity: 0; }
}

.asc-toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.asc-toggle-icon .asc-td {
  fill: #2563eb;
  animation: asc-toggle-typing 1.3s ease-in-out infinite;
}

@keyframes asc-toggle-typing {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .asc-toggle::before,
  .asc-toggle::after,
  .asc-toggle-icon .asc-td {
    animation: none;
  }
}
