:root {
  --usc-brand: #f12219;
  --usc-brand-hover: #da251d;
  --usc-brand-soft: #fff4f5;
  --usc-brand-ring: rgba(238, 69, 88, 0.16);
  --usc-brand-border: #f9d0d5;
  --usc-primary: var(--usc-brand);
  --usc-primary-hover: var(--usc-brand-hover);
  --usc-primary-soft: var(--usc-brand-soft);
  --usc-primary-ring: var(--usc-brand-ring);
  --usc-bg: #ffffff;
  --usc-surface: #f9fafb;
  --usc-surface-2: #f3f4f6;
  --usc-text: #111827;
  --usc-muted: #6b7280;
  --usc-border: #e5e7eb;
  --usc-shadow-sm: none;
  --usc-shadow: 0 6px 20px rgba(17, 24, 39, 0.07);
  --usc-radius: 14px;
  --usc-radius-sm: 10px;
  --usc-z: 99990;
  --usc-client: #fff4f5;
  --usc-manager: #f0fdf4;
  --usc-bot: #f9fafb;
  --usc-ai: #f5f3ff;
  --usc-danger: #dc2626;
  --usc-danger-bg: #fef2f2;
  --usc-success: #059669;
  --usc-success-bg: #ecfdf5;
  --usc-font: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --usc-msg-body: #4b5563;
  --usc-msg-emphasis: #111827;
}

#usc-root {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: var(--usc-z);
  font-family: var(--usc-font);
  color: var(--usc-text);
  -webkit-font-smoothing: antialiased;
}

/* :where() тримає нульову специфічність — правила віджета нижче лишаються сильнішими,
   але тема сайту (Astra/Elementor) уже не дотягується до кнопок чату. */
#usc-root :where(button) {
  box-sizing: border-box;
  width: auto;
  height: auto;
  min-width: 0;
  min-height: 0;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: inherit;
  font: inherit;
  line-height: normal;
  letter-spacing: normal;
  text-transform: none;
  text-shadow: none;
  box-shadow: none;
  overflow: visible;
  appearance: none;
  -webkit-appearance: none;
}

#usc-root :where(img, svg) {
  border: 0;
  vertical-align: middle;
}

#usc-toggle {
  position: relative;
  box-sizing: border-box;
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--usc-brand);
  color: #fff;
  cursor: pointer;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.18s ease, background 0.18s ease;
  box-shadow: 0 3px 1px -2px rgb(0 0 0 / 20%), 0 2px 2px 0 rgb(0 0 0 / 14%), 0 1px 5px 0 rgb(0 0 0 / 12%);
}


#usc-toggle:hover {
  transform: translateY(-1px);
  background: var(--usc-brand-hover);
}

#usc-toggle:active {
  transform: translateY(0);
}

#usc-toggle svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

#usc-toggle .usc-chat-logo,
.usc-header-avatar .usc-chat-logo {
  width: 40px;
  height: 38px;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  object-fit: contain;
  display: block;
}

.usc-header-avatar .usc-chat-logo {
  width: 30px;
  height: 28px;
}

#usc-toggle.is-open {
  background: #374151;
  box-shadow: none;
}

.usc-unread-badge {
  position: absolute;
  top: 3px;
  right: 3px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #fff;
  color: var(--usc-brand);
  border: 2px solid var(--usc-brand);
  font-size: 10px;
  font-weight: 700;
  line-height: 14px;
  text-align: center;
  box-shadow: 0 1px 4px rgba(17, 24, 39, 0.18);
  pointer-events: none;
  display: none;
  align-items: center;
  justify-content: center;
}

#usc-toggle.has-unread .usc-unread-badge {
  display: inline-flex;
}

#usc-panel {
  display: none;
  position: absolute;
  right: 0;
  /*bottom: 64px;*/
  bottom: 0;
  width: min(340px, calc(100vw - 32px));
  height: min(520px, calc(100vh - 100px));
  background: var(--usc-bg);
  border: 1px solid var(--usc-border);
  border-radius: var(--usc-radius);
  box-shadow: var(--usc-shadow);
  overflow: hidden;
  flex-direction: column;
  opacity: 0;
  transform: translateY(8px);
  transform-origin: bottom right;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

#usc-panel.is-open {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

@media (hover: hover) and (pointer: fine) and (min-width: 481px) {
  #usc-root {
    right: 24px;
    bottom: 24px;
  }

  #usc-panel {
    width: min(380px, calc(100vw - 48px));
    height: min(600px, calc(100vh - 110px));
  }
}

#usc-header {
  padding: 12px 14px;
  background: #fff;
  color: var(--usc-text);
  border-bottom: 1px solid var(--usc-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-shrink: 0;
}

.usc-header-main {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.usc-header-avatar {
  width: 34px;
  height: 34px;
  /*border-radius: 50%;*/
  background: #fff;
  /*border: 1px solid var(--usc-border);*/
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.usc-header-avatar--fallback {
  border-radius: 10px;
  background: var(--usc-brand-soft);
  color: var(--usc-brand);
}

.usc-header-avatar svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.usc-header-logo,
.usc-header-avatar .logo-min {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.usc-header-text {
  min-width: 0;
}

#usc-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.usc-header-sub {
  display: block;
  margin-top: 1px;
  font-size: 11px;
  color: var(--usc-muted);
}

.usc-header-sub::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 5px;
  border-radius: 50%;
  background: #22c55e;
  vertical-align: middle;
}

#usc-close {
  box-sizing: border-box;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--usc-muted);
  cursor: pointer;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, color 0.15s ease;
}

#usc-close:hover {
  background: var(--usc-surface-2);
  color: var(--usc-text);
}

#usc-close svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

#usc-status {
  padding: 6px 14px 0;
  font-size: 11px;
  color: var(--usc-muted);
  min-height: 18px;
  flex-shrink: 0;
  /**/
  position: absolute;
  /* background: red; */
  width: 100%;
  bottom: 120px;
  text-align: center;
}

#usc-status.is-error {
  color: var(--usc-danger);
}

#usc-status.is-success {
  color: var(--usc-success);
}

#usc-messages {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 12px;
  background: var(--usc-surface);
  scroll-behavior: smooth;
  /*background: 1px 1px / 5px 5px #f9fafc radial-gradient(#eaedf2 16%, transparent 0);*/
}

#usc-messages::-webkit-scrollbar {
  width: 6px;
}

#usc-messages::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 999px;
}

.usc-empty {
  height: 100%;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--usc-muted);
  padding: 20px 12px;
}

.usc-empty-icon {
  width: 52px;
  height: 50px;
  border-radius: 12px;
  background: var(--usc-brand-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.usc-empty-icon .usc-chat-logo {
  width: 38px;
  height: 36px;
  object-fit: contain;
  display: block;
}

.usc-empty-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.usc-empty-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--usc-text);
  margin-bottom: 4px;
}

.usc-empty-text {
  font-size: 12px;
  line-height: 1.45;
  max-width: 240px;
}

.usc-date-sep {
  display: flex;
  justify-content: center;
  margin: 14px 0 10px;
  pointer-events: none;
}

.usc-date-sep span {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.08);
  color: var(--usc-muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.usc-history-top {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 28px;
  margin: 2px 0 8px;
  color: var(--usc-muted);
  font-size: 12px;
  font-weight: 600;
  pointer-events: none;
}

.usc-history-top.is-loading {
  opacity: 0.85;
}

.usc-msg-wrap {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
  animation: usc-msg-in 0.18s ease;
}

@keyframes usc-msg-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.usc-msg-wrap--client {
  align-items: flex-end;
}

.usc-msg-wrap--pending .usc-msg {
  opacity: 0.72;
}

.usc-msg-wrap--pending .usc-msg-meta::after {
  content: " · відправили";
  font-weight: 500;
  color: var(--usc-muted);
}

.usc-msg-wrap--bot,
.usc-msg-wrap--manager,
.usc-msg-wrap--ai {
  align-items: flex-start;
}

.usc-msg-meta {
  font-size: 11px;
  font-weight: 600;
  color: var(--usc-muted);
  margin-bottom: 4px;
  padding: 0 4px;
}

.usc-msg {
  max-width: 88%;
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.45;
  white-space: normal;
  word-break: break-word;
  border: 1px solid transparent;
}

.usc-msg-text {
  white-space: normal;
  color: var(--usc-msg-body);
}

/* Telegram *bold*: Segoe UI не має 450 — лише 400/600. Акцент через колір, не weight. */
.usc-msg-text strong {
  font-weight: inherit;
  color: var(--usc-msg-emphasis);
}

.usc-msg-text em {
  font-style: italic;
}

.usc-msg-text code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
  background: rgba(15, 23, 42, 0.06);
  padding: 1px 5px;
  border-radius: 5px;
}

.usc-msg-text pre.usc-msg-code {
  margin: 6px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #0f172a;
  color: #e2e8f0;
  overflow-x: auto;
  font-size: 12px;
  line-height: 1.45;
}

.usc-msg-text pre.usc-msg-code code {
  background: transparent;
  color: inherit;
  padding: 0;
  border-radius: 0;
  white-space: pre;
  display: block;
}

.usc-msg-text a {
  color: var(--usc-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.usc-msg-text ul,
.usc-msg-text ol {
  margin: 4px 0;
  padding-left: 1.25rem;
}

.usc-msg-text li + li {
  margin-top: 2px;
}

.usc-msg--client {
  background: #ffffff;
  border-color: #e2e2e2;
  border-bottom-right-radius: 4px;
}

.usc-msg--manager {
  background: var(--usc-manager);
  border-color: #bbf7d0;
  border-bottom-left-radius: 4px;
}

.usc-msg--ai {
  background: #f3f9ff;
  border-color: #d6e1fe;
  border-bottom-left-radius: 4px;
}

.usc-msg--bot {
  background: var(--usc-bot);
  border-color: var(--usc-border);
  border-bottom-left-radius: 4px;
}

.usc-msg-media img,
.usc-msg-media video {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 260px;
  object-fit: contain;
  border-radius: 10px;
  margin-bottom: 6px;
}

.usc-msg-media {
  display: block;
  max-width: 100%;
}

.usc-msg-media audio {
  width: 100%;
  min-width: 220px;
  margin-bottom: 4px;
}

.usc-file-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--usc-border);
  color: var(--usc-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
}

.usc-file-link:hover {
  background: #fff;
}

.usc-file-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}

#usc-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  width: 100%;
  padding: 8px 12px 8px;
  box-sizing: border-box;
  flex-shrink: 0;
  z-index: 5;
}

.usc-quick-btn {
  flex: 1 1 0;
  min-width: 0;
  box-sizing: border-box;
  border: 1px solid var(--usc-border);
  background: #fff;
  color: var(--usc-text);
  border-radius: 999px;
  padding: 6px 4px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.usc-quick-btn:hover {
  border-color: var(--usc-brand-border);
  color: var(--usc-brand);
  background: var(--usc-brand-soft);
}

.usc-quick-btn:active {
  transform: scale(0.98);
}

#usc-menu-wrap {
  flex-shrink: 0;
  min-height: 0;
  overflow: hidden;
}

#usc-menu-sheet {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  z-index: 15;
  flex-direction: column;
  background: #fff;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.24s cubic-bezier(0.4, 0, 0.2, 1);
}

#usc-menu-sheet.has-menu {
  display: flex;
}

#usc-menu-sheet:not(.is-open) {
  pointer-events: none;
}

#usc-menu-sheet.is-open {
  margin-bottom: 0;
  border-radius: 12px 12px 0 0;
  background: #fff;
  border: 1px solid var(--usc-border);
  box-shadow: 0 2px 10px rgba(17, 24, 39, 0.06);
}

#usc-panel.usc-menu-swipe #usc-menu-sheet {
  left: 10px;
  right: 10px;
}

#usc-panel.usc-menu-swipe #usc-menu-sheet.is-open {
  /*margin-bottom: 8px;*/
  border-radius: 12px;
}

#usc-panel.usc-menu-desktop #usc-menu-sheet {
  left: 0;
  right: 0;
}

#usc-panel.usc-menu-desktop #usc-menu-sheet.is-open {
  margin-bottom: 0;
  border-radius: 12px 12px 0 0;
}

#usc-menu-sheet.is-dragging {
  transition: none;
}

#usc-menu-handle {
  display: none;
  align-items: center;
  justify-content: center;
  height: 24px;
  flex-shrink: 0;
  cursor: grab;
  touch-action: none;
  user-select: none;
  padding-top: 6px;
}

#usc-menu-sheet.is-open #usc-menu-handle {
  display: flex;
}

#usc-panel.usc-menu-desktop #usc-menu-handle {
  display: none !important;
  height: 0;
  padding: 0;
}

#usc-menu-handle:active {
  cursor: grabbing;
}

.usc-menu-handle-bar {
  width: 36px;
  height: 4px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.16);
}

.usc-menu {
  display: block;
  width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 2px 6px 8px;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  overscroll-behavior: contain;
}

#usc-panel.usc-menu-desktop .usc-menu {
  padding-top: 8px;
  touch-action: auto;
  scrollbar-width: thin;
  scrollbar-color: #d1d5db transparent;
}

#usc-panel.usc-menu-desktop .usc-menu::-webkit-scrollbar {
  width: 6px;
}

#usc-panel.usc-menu-desktop .usc-menu::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 999px;
}

#usc-panel.usc-menu-desktop .usc-menu::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

.usc-menu-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--usc-text);
  padding: 8px 8px;
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
}

@media (hover: hover) and (pointer: fine) {
  .usc-menu-btn {
    transition: background 0.15s ease;
  }

  .usc-menu-btn:hover {
    background: rgba(0, 0, 0, 0.04);
  }
}

.usc-menu-btn:active {
  background: rgba(0, 0, 0, 0.07);
}

.usc-menu-btn-label {
  flex: 1;
  min-width: 0;
  color: #1f2937;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.usc-menu-btn-cmd {
  flex-shrink: 0;
  color: #8b95a1;
  font-size: 13px;
  font-weight: 400;
  white-space: nowrap;
}

#usc-menu-toggle.is-active {
  color: #5b6a7d;
}

.usc-menu-toggle-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.usc-menu-toggle-icon--close {
  display: none;
}

#usc-menu-toggle.is-active .usc-menu-toggle-icon--open {
  display: none;
}

#usc-menu-toggle.is-active .usc-menu-toggle-icon--close {
  display: flex;
}

@media (hover: hover) and (pointer: fine) {
  #usc-menu-toggle {
    transition: background 0.15s ease, color 0.15s ease;
  }

  #usc-menu-toggle:hover:not(:disabled) {
    background: #f3f5f8;
    color: #4f6178;
  }
}

#usc-menu-toggle:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

#usc-menu-toggle svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}

#usc-file-preview {
  display: none;
  align-items: center;
  gap: 8px;
  margin: 0 12px 8px;
  padding: 8px 10px;
  border-radius: var(--usc-radius-sm);
  background: var(--usc-brand-soft);
  border: 1px solid var(--usc-brand-border);
  flex-shrink: 0;
  position: relative;
  z-index: 18;
}

#usc-file-preview.is-visible {
  display: flex;
}

.usc-file-preview-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #fff;
  color: var(--usc-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.usc-file-preview-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.usc-file-preview-info {
  flex: 1;
  min-width: 0;
}

.usc-file-preview-name {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--usc-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.usc-file-preview-size {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: var(--usc-muted);
}

#usc-file-remove {
  box-sizing: border-box;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--usc-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

#usc-file-remove:hover {
  color: var(--usc-danger);
  background: #fff;
}

#usc-file-remove svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

#usc-composer-wrap {
  padding: 8px 12px 12px;
  background: #fff;
  flex-shrink: 0;
  position: relative;
  z-index: 20;
  padding-top: 0;
}

#usc-composer {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 12px 14px 10px;
  border: 1px solid #d8dee6;
  border-radius: 16px;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

#usc-composer:focus-within {
  border-color: #c5cdd8;
  box-shadow: 0 0 0 2px rgba(107, 124, 147, 0.1);
}

.usc-composer-field {
  width: 100%;
  min-width: 0;
}

.usc-composer-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 6px;
}

.usc-composer-tools {
  display: flex;
  align-items: center;
  gap: 2px;
  min-width: 0;
}

.usc-composer-btn {
  box-sizing: border-box;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #6b7c93;
  cursor: pointer;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}

@media (hover: hover) and (pointer: fine) {
  .usc-composer-btn:hover:not(:disabled) {
    background: #f3f5f8;
    color: #4f6178;
  }
}

.usc-composer-btn:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

.usc-composer-btn svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.usc-composer-btn--send svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
  stroke: none;
}

#usc-attach svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.7;
}

#usc-input {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 14px;
  line-height: 1.45;
  resize: none;
  min-height: 22px;
  max-height: 120px;
  font-family: inherit;
  color: var(--usc-text);
  outline: none;
}

#usc-input::placeholder {
  color: #8b95a5;
}

#usc-send {
  margin-left: auto;
}

#usc-send:hover:not(:disabled) {
  /*color: var(--usc-brand);*/
  /*background: rgba(241, 34, 25, 0.08);*/
  background: none;
  color: #5b6a7d;
}

#usc-send:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.usc-composer-hint {
  display: none;
}

@media (max-width: 480px) {
  #usc-root {
    right: 0;
    bottom: 0;
    left: 0;
  }

  #usc-toggle {
    position: fixed;
    right: 16px;
    bottom: 16px;
  }

  #usc-panel {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
    border: 0;
    transform-origin: bottom center;
  }

  #usc-composer-wrap {
    padding-bottom: max(14px, env(safe-area-inset-bottom));
  }
}

@media (prefers-reduced-motion: reduce) {
  #usc-panel,
  .usc-msg-wrap,
  #usc-toggle,
  #usc-send,
  .usc-quick-btn {
    transition: none;
    animation: none;
  }
}


.wrap{
  display: none;
}