/* WebChat — estilos. Todas as classes têm prefixo wc- para não colidir com o CSS do Scriptcase. */
.wc-root {
  --wc-bg: #f0f2f5;
  --wc-surface: #ffffff;
  --wc-text: #111b21;
  --wc-muted: #667781;
  --wc-border: #e3e6e8;
  --wc-primary: #0b6bcb;
  --wc-primary-text: #ffffff;
  --wc-in: #ffffff;
  --wc-out: #d9ecff;
  --wc-read: #34b7f1;
  --wc-rec: #e53935;
  --wc-danger: #d93025;
  --wc-warn-bg: #fff4ce;
  --wc-warn-text: #5c4400;
  --wc-online: #1faa59;
  --wc-bot: #6b4fd8;
  --wc-overlay: rgba(11, 20, 26, .55);
  --wc-radius: 14px;
  --wc-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  position: relative;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: 100%;
  height: var(--wc-vh, 100%);
  max-height: 100%;
  min-height: 320px;
  overflow: hidden;
  background: var(--wc-bg);
  color: var(--wc-text);
  font-family: var(--wc-font);
  font-size: 15px;
  line-height: 1.4;
  -webkit-text-size-adjust: 100%;
}
.wc-root *, .wc-root *::before, .wc-root *::after { box-sizing: border-box; }
.wc-root [hidden] { display: none !important; }
.wc-root svg { width: 22px; height: 22px; fill: currentColor; display: block; }

@media (prefers-color-scheme: dark) {
  .wc-root:not([data-theme="light"]) {
    --wc-bg: #0b141a; --wc-surface: #1f2c34; --wc-text: #e9edef; --wc-muted: #8696a0;
    --wc-border: #2a3942; --wc-primary: #3d9bff; --wc-in: #1f2c34; --wc-out: #134a7c;
    --wc-read: #7cc4ff; --wc-warn-bg: #3d3200; --wc-warn-text: #ffe28a; --wc-bot: #9d87ff;
    --wc-overlay: rgba(0, 0, 0, .65);
  }
}
.wc-root[data-theme="dark"] {
  --wc-bg: #0b141a; --wc-surface: #1f2c34; --wc-text: #e9edef; --wc-muted: #8696a0;
  --wc-border: #2a3942; --wc-primary: #3d9bff; --wc-in: #1f2c34; --wc-out: #134a7c;
  --wc-read: #7cc4ff; --wc-warn-bg: #3d3200; --wc-warn-text: #ffe28a; --wc-bot: #9d87ff;
  --wc-overlay: rgba(0, 0, 0, .65);
}

/* Cabeçalho */
.wc-header {
  flex: none;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px;
  padding-top: max(10px, env(safe-area-inset-top));
  background: var(--wc-surface);
  border-bottom: 1px solid var(--wc-border);
}
.wc-avatar {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wc-primary) center / cover no-repeat; color: var(--wc-primary-text);
  font-weight: 600; font-size: 17px;
}
.wc-avatar svg { width: 24px; height: 24px; }
.wc-hinfo { flex: 1; min-width: 0; }
.wc-hname { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wc-hsub { font-size: 13px; color: var(--wc-muted); }

.wc-iconbtn {
  flex: none; display: grid; place-items: center;
  width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%;
  background: transparent; color: var(--wc-muted); cursor: pointer;
}
.wc-iconbtn:hover { background: rgba(127,127,127,.12); color: var(--wc-text); }
.wc-iconbtn:focus-visible, .wc-send:focus-visible { outline: 2px solid var(--wc-primary); outline-offset: 2px; }

/* Faixa de conexão */
.wc-banner { flex: none; padding: 7px 14px; font-size: 13px; text-align: center; cursor: default; }
.wc-banner--warn { background: var(--wc-warn-bg); color: var(--wc-warn-text); cursor: pointer; }
.wc-banner--error { background: var(--wc-danger); color: #fff; }

/* Lista de mensagens */
.wc-list {
  flex: 1; min-height: 0;
  overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  padding: 12px 12px 6px;
  display: flex; flex-direction: column; gap: 2px;
}
.wc-empty { margin: auto; padding: 24px; text-align: center; color: var(--wc-muted); font-size: 14px; }

.wc-day { align-self: center; margin: 10px 0 6px; }
.wc-day span {
  display: inline-block; padding: 4px 12px; border-radius: 8px;
  background: var(--wc-surface); color: var(--wc-muted); font-size: 12px;
  box-shadow: 0 1px 1px rgba(0,0,0,.06);
}

.wc-msg { display: flex; margin-top: 6px; }
.wc-msg--cont { margin-top: 1px; }
.wc-msg--in { justify-content: flex-start; }
.wc-msg--out { justify-content: flex-end; }

.wc-bubble {
  position: relative;
  max-width: 100%;
  padding: 7px 10px 6px;
  border-radius: var(--wc-radius);
  box-shadow: 0 1px 1px rgba(0,0,0,.08);
  overflow-wrap: anywhere;
}
.wc-msg--in .wc-bubble { background: var(--wc-in); border-top-left-radius: 4px; }
.wc-msg--out .wc-bubble { background: var(--wc-out); border-top-right-radius: 4px; }
.wc-msg--cont.wc-msg--in .wc-bubble { border-top-left-radius: var(--wc-radius); }
.wc-msg--cont.wc-msg--out .wc-bubble { border-top-right-radius: var(--wc-radius); }
.wc-msg--failed .wc-bubble { cursor: pointer; box-shadow: 0 0 0 1px var(--wc-danger); }

.wc-text { white-space: normal; }
.wc-text a { color: var(--wc-primary); text-decoration: underline; }

.wc-meta {
  float: right; display: inline-flex; align-items: center; gap: 3px;
  margin: 6px 0 -3px 10px; font-size: 11px; color: var(--wc-muted); white-space: nowrap;
}
.wc-tick { display: inline-flex; align-items: center; color: var(--wc-muted); }
.wc-tick svg { width: 14px; height: 11px; }
.wc-tick--sent svg { width: 11px; }
.wc-tick--pending svg { width: 12px; height: 12px; }
.wc-tick--read { color: var(--wc-read); }
.wc-tick--failed {
  display: inline-grid; place-items: center; width: 15px; height: 15px; padding: 0; letter-spacing: 0;
  border-radius: 50%; background: var(--wc-danger); color: #fff; font-weight: 700; font-size: 11px;
}

/* Avatar e autor das mensagens recebidas */
.wc-msg--in { gap: 6px; align-items: flex-start; }
.wc-col { display: flex; flex-direction: column; min-width: 0; max-width: min(78%, 560px); }
.wc-msg--out .wc-col { align-items: flex-end; }
.wc-msg--in .wc-col { align-items: flex-start; }
.wc-mav { flex: none; width: 28px; height: 28px; }
.wc-mav:not(:empty) {
  display: grid; place-items: center; border-radius: 50%;
  background: var(--wc-primary); color: var(--wc-primary-text); font-size: 13px; font-weight: 600;
}
.wc-mav svg { width: 17px; height: 17px; }
.wc-msg--bot .wc-mav:not(:empty) { background: var(--wc-bot); }
.wc-author { font-size: 12px; font-weight: 600; color: var(--wc-primary); margin: 0 0 2px 4px; }
.wc-msg--bot .wc-author { color: var(--wc-bot); }
.wc-msg--bot .wc-bubble { border-left: 3px solid var(--wc-bot); }
.wc-sys { align-self: center; margin: 8px 0; max-width: 85%; text-align: center; }
.wc-sys span {
  display: inline-block; padding: 5px 12px; border-radius: 8px; font-size: 12.5px;
  background: var(--wc-warn-bg); color: var(--wc-warn-text);
}

/* Arquivos */
.wc-bubble--media { padding: 4px 4px 5px; }
.wc-bubble--media .wc-text { padding: 4px 6px 0; }
.wc-bubble--media .wc-meta { margin-right: 6px; }
.wc-bubble--media .wc-img { margin: 0 0 2px; }
.wc-video { display: block; max-width: 100%; width: 320px; max-height: 320px; border-radius: 10px; background: #000; }
.wc-audio { display: block; width: 260px; max-width: 100%; height: 40px; }
.wc-loc {
  display: flex; align-items: center; gap: 10px; min-width: 200px;
  padding: 8px; margin-bottom: 2px; border-radius: 10px;
  background: rgba(127,127,127,.1); color: inherit; text-decoration: none;
}
/* Mapa da localização (tiles do OpenStreetMap, sem chave de API) */
.wc-locmap { display: block; margin-bottom: 2px; border-radius: 10px; overflow: hidden; line-height: 0; }
.wc-map {
  position: relative; display: block; max-width: 100%; overflow: hidden; border-radius: 10px;
  background: #e8e4d8 repeating-linear-gradient(45deg, transparent 0 14px, rgba(0,0,0,.035) 14px 28px);
}
.wc-map img { position: absolute; width: 256px; height: 256px; max-width: none; user-select: none; pointer-events: none; }
.wc-map--fail img { display: none; }
.wc-map-pin {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%); color: var(--wc-danger);
  filter: drop-shadow(0 2px 2px rgba(0,0,0,.35));
}
.wc-map-pin svg { width: 34px; height: 34px; }
.wc-map-attr {
  position: absolute; right: 0; bottom: 0; padding: 1px 5px; font-size: 10px; line-height: 1.4;
  background: rgba(255,255,255,.75); color: #333; border-top-left-radius: 6px;
}
.wc-bubble--media .wc-loc { margin: 0 0 2px; background: transparent; padding: 6px 6px 2px; min-width: 0; }
.wc-locprev { margin: 4px 0 8px; display: flex; justify-content: center; }
.wc-locinfo { font-size: 13px; color: var(--wc-muted); text-align: center; }
.wc-loc-send { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; margin: 4px 0 6px; }
.wc-loc-send svg { width: 20px; height: 20px; }
.wc-locicon { flex: none; color: var(--wc-danger); }
.wc-locicon svg { width: 30px; height: 30px; }
.wc-bubble--deleted .wc-text { font-style: italic; color: var(--wc-muted); }
.wc-missing { padding: 10px 12px; font-size: 13px; color: var(--wc-muted); font-style: italic; }
.wc-img { display: block; margin: -3px -6px 4px; border-radius: 10px; overflow: hidden; }
.wc-img img { display: block; max-width: 100%; max-height: 280px; min-width: 120px; object-fit: cover; }
.wc-filecard {
  display: flex; align-items: center; gap: 10px; min-width: 200px;
  padding: 8px; margin-bottom: 2px; border-radius: 10px;
  background: rgba(127,127,127,.1); color: inherit; text-decoration: none;
}
.wc-fileicon { flex: none; color: var(--wc-primary); }
.wc-fileicon svg { width: 30px; height: 30px; }
.wc-fileinfo { min-width: 0; display: flex; flex-direction: column; }
.wc-filename { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wc-filesize { font-size: 12px; color: var(--wc-muted); }
.wc-progress { height: 4px; margin: 4px 0 2px; border-radius: 2px; background: rgba(127,127,127,.2); overflow: hidden; }
.wc-progress i { display: block; height: 100%; background: var(--wc-primary); transition: width .2s; }

/* Botão "ir para o fim" */
.wc-jump {
  position: absolute; right: 16px; bottom: 84px; z-index: 2;
  width: 40px; height: 40px; display: grid; place-items: center; padding: 0;
  border: 0; border-radius: 50%; background: var(--wc-surface); color: var(--wc-muted);
  box-shadow: 0 2px 8px rgba(0,0,0,.2); cursor: pointer;
}

/* Mensagens interativas (botões e lista) */
.wc-bubble--inter { min-width: 220px; }
.wc-ibtns { clear: both; display: flex; flex-direction: column; margin: 8px -10px -6px; }
.wc-ibtn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 9px 12px; border: 0; border-top: 1px solid var(--wc-border);
  background: transparent; color: var(--wc-primary); font: inherit; font-size: 14.5px; font-weight: 600;
  text-align: center; cursor: pointer; overflow-wrap: anywhere;
}
.wc-ibtn svg { flex: none; width: 17px; height: 17px; }
.wc-ibtn:last-child { border-bottom-left-radius: var(--wc-radius); border-bottom-right-radius: var(--wc-radius); }
.wc-ibtn:not(:disabled):hover { background: rgba(127,127,127,.1); }
.wc-ibtn:focus-visible { outline: 2px solid var(--wc-primary); outline-offset: -2px; }
.wc-ibtn:disabled { cursor: default; color: var(--wc-muted); }
.wc-ibtn--chosen:disabled { color: var(--wc-online); }

.wc-sheet {
  position: absolute; inset: 0; z-index: 9; display: flex; align-items: flex-end; justify-content: center;
  background: var(--wc-overlay);
}
.wc-sheet-panel {
  width: 100%; max-width: 520px; max-height: 75%; display: flex; flex-direction: column;
  background: var(--wc-surface); color: var(--wc-text); border-radius: 16px 16px 0 0;
  box-shadow: 0 -6px 30px rgba(0,0,0,.25); padding-bottom: env(safe-area-inset-bottom);
  animation: wc-sobe .18s ease-out;
}
@keyframes wc-sobe { from { transform: translateY(30px); opacity: .4; } to { transform: none; opacity: 1; } }
.wc-sheet-head { display: flex; align-items: center; gap: 8px; padding: 10px 8px 6px 18px; }
.wc-sheet-title { flex: 1; font-weight: 650; font-size: 16px; }
.wc-sheet-body { padding: 0 18px 10px; font-size: 14px; color: var(--wc-muted); }
.wc-sheet-list { overflow-y: auto; overscroll-behavior: contain; padding: 0 8px 10px; }
.wc-sheet-item {
  display: flex; align-items: center; gap: 14px; width: 100%; min-height: 48px; padding: 10px 12px;
  border: 0; border-radius: 10px; background: transparent; color: var(--wc-text);
  font: inherit; font-size: 15px; text-align: left; cursor: pointer;
}
.wc-sheet-item:hover, .wc-sheet-item:focus-visible { background: rgba(127,127,127,.12); outline: none; }
.wc-radio { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--wc-primary); }

/* Pix (interactive do sub-tipo pix) */
.wc-bubble--pix { min-width: 250px; }
.wc-pix {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; margin: 1px 0 4px;
  border-radius: 10px; background: rgba(127,127,127,.1);
}
.wc-pix-icon {
  flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: color-mix(in srgb, var(--wc-online) 22%, transparent); color: var(--wc-online);
}
.wc-pix-icon svg { width: 24px; height: 24px; }
.wc-pix-icon--logo { background: color-mix(in srgb, #4dc2a9 20%, transparent); }
.wc-pix-icon img { display: block; width: 26px; height: 26px; object-fit: contain; }
.wc-pix-info { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.wc-pix-desc { font-size: 15.5px; font-weight: 500; overflow-wrap: anywhere; }
.wc-pix-key { font-size: 13.5px; color: var(--wc-muted); overflow-wrap: anywhere; }
.wc-pixcopy.wc-ibtn--chosen { color: var(--wc-online); }
.wc-pix--boleto .wc-pix-icon { background: rgba(127,127,127,.18); color: var(--wc-text); }
.wc-pix--boleto .wc-pix-icon svg { width: 26px; height: 26px; }
.wc-pixqr { display: flex; justify-content: center; margin: 4px 0 6px; }
.wc-pixqr img, .wc-pixqr[data-pendente] {
  width: 172px; height: 172px; border-radius: 8px; background: #fff; image-rendering: pixelated; cursor: zoom-in;
}
.wc-pixqr[data-pendente] { background: rgba(127,127,127,.12); }
.wc-viewer img[src^="data:image/gif"] { background: #fff; image-rendering: pixelated; width: min(90vw, 90vh, 520px); height: auto; }

/* Menu de anexos */
.wc-menu {
  position: absolute; left: 8px; bottom: 64px; z-index: 4; min-width: 240px;
  padding: 6px; border-radius: 12px; background: var(--wc-surface);
  box-shadow: 0 4px 18px rgba(0,0,0,.18); border: 1px solid var(--wc-border);
}
.wc-menu-item {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px;
  border: 0; border-radius: 8px; background: transparent; color: var(--wc-text);
  font: inherit; font-size: 14px; text-align: left; cursor: pointer;
}
.wc-menu-item:hover, .wc-menu-item:focus-visible { background: rgba(127,127,127,.12); outline: none; }
.wc-menu-item svg { color: var(--wc-primary); }
.wc-menu-item[data-act="loc"] svg { color: var(--wc-danger); }

/* Área de digitação */
.wc-composer {
  flex: none; display: flex; align-items: flex-end; gap: 6px;
  padding: 8px 8px;
  padding-bottom: max(8px, env(safe-area-inset-bottom));
  background: var(--wc-surface); border-top: 1px solid var(--wc-border);
}
.wc-input {
  flex: 1; min-width: 0; resize: none; margin: 0;
  min-height: 42px; max-height: 140px; padding: 10px 14px;
  border: 1px solid var(--wc-border); border-radius: 21px;
  background: var(--wc-bg); color: var(--wc-text);
  font: inherit; font-size: 16px; /* 16px evita o zoom automático do iOS */
  line-height: 1.35; outline: none;
}
.wc-input:focus { border-color: var(--wc-primary); }
.wc-send {
  flex: none; width: 42px; height: 42px; display: grid; place-items: center; padding: 0;
  border: 0; border-radius: 50%; background: var(--wc-primary); color: var(--wc-primary-text); cursor: pointer;
  transition: opacity .15s, transform .1s;
}
.wc-send:disabled { opacity: .4; cursor: default; }
.wc-input:disabled, .wc-iconbtn:disabled { opacity: .5; cursor: not-allowed; }
.wc-tick--pending { color: var(--wc-muted); }
.wc-send:not(:disabled):active { transform: scale(.94); }
.wc-send svg { width: 20px; height: 20px; margin-left: 2px; }

/* Microfone e gravação de áudio */
.wc-mic svg { width: 22px; height: 22px; margin-left: 0; }
.wc-rec { flex: 1; display: flex; align-items: center; gap: 10px; min-height: 42px; }
.wc-composer--rec > :not(.wc-rec):not(.wc-file) { display: none !important; }
.wc-rec-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--wc-rec); animation: wc-pulse 1s infinite ease-in-out; }
.wc-rec-time { font-variant-numeric: tabular-nums; font-weight: 600; min-width: 42px; }
.wc-rec-label { flex: 1; color: var(--wc-muted); font-size: 14px; }
.wc-rec-cancel { color: var(--wc-danger); }
.wc-rec-live, .wc-rec-prev { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; }
.wc-rec-live[hidden], .wc-rec-prev[hidden] { display: none !important; }
.wc-rec-play { color: var(--wc-primary); }
.wc-rec-track {
  flex: 1; min-width: 40px; height: 6px; border-radius: 3px; background: rgba(127,127,127,.25);
  position: relative; cursor: pointer; overflow: hidden;
}
.wc-rec-track::before { content: ""; position: absolute; inset: -10px 0; }   /* área de toque maior */
.wc-rec-track i { display: block; height: 100%; width: 0; background: var(--wc-primary); border-radius: 3px; }
.wc-rec-ptime { font-variant-numeric: tabular-nums; font-size: 13px; color: var(--wc-muted); white-space: nowrap; }
.wc-rec-pause { color: var(--wc-text); }
.wc-rec-resume { color: var(--wc-rec); }
.wc-rec[data-estado="pausado"] .wc-rec-send { box-shadow: 0 0 0 3px color-mix(in srgb, var(--wc-primary) 25%, transparent); }
@keyframes wc-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

/* Atendimento encerrado ("done"): caixa no lugar da área de digitação */
.wc-done {
  flex: none; display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 16px 16px; padding-bottom: max(16px, env(safe-area-inset-bottom));
  background: var(--wc-surface); border-top: 1px solid var(--wc-border); text-align: center;
}
.wc-done-icon { color: var(--wc-online); }
.wc-done-icon svg { width: 30px; height: 30px; }
.wc-done-text { max-width: 520px; font-size: 14.5px; color: var(--wc-text); overflow-wrap: anywhere; }
.wc-done-btn { margin-top: 2px; padding: 0 22px; min-width: 220px; }
.wc-root[data-done] .wc-jump { bottom: 150px; }

/* Arrastar arquivo, toast e visualizador */
.wc-drop {
  position: absolute; inset: 8px; z-index: 5; display: grid; place-items: center;
  border: 2px dashed var(--wc-primary); border-radius: 16px;
  background: color-mix(in srgb, var(--wc-surface) 88%, transparent);
  color: var(--wc-primary); font-weight: 600; pointer-events: none;
}
.wc-toast {
  position: absolute; left: 50%; bottom: 80px; z-index: 6; transform: translateX(-50%);
  max-width: calc(100% - 32px); padding: 9px 16px; border-radius: 8px;
  background: #323232; color: #fff; font-size: 14px; box-shadow: 0 2px 10px rgba(0,0,0,.3);
}
.wc-viewer {
  position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center;
  background: rgba(0,0,0,.88); padding: 16px;
}
.wc-viewer img { max-width: 100%; max-height: 100%; object-fit: contain; }
.wc-viewer-close { position: absolute; top: max(12px, env(safe-area-inset-top)); right: 12px; color: #fff; }
.wc-viewer-close:hover { background: rgba(255,255,255,.15); color: #fff; }

/* Identificação e tela congelada */
.wc-overlay {
  position: absolute; inset: 0; z-index: 8; display: grid; place-items: center; padding: 16px;
  background: var(--wc-overlay); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
}
.wc-modal {
  width: 100%; max-width: 380px; padding: 24px 22px 22px; border-radius: 16px;
  background: var(--wc-surface); color: var(--wc-text); box-shadow: 0 10px 40px rgba(0,0,0,.25);
  display: flex; flex-direction: column; gap: 12px;
}
.wc-modal-icon {
  align-self: center; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; background: var(--wc-primary); color: var(--wc-primary-text);
}
.wc-modal-icon svg { width: 28px; height: 28px; }
.wc-modal-title { margin: 0; font-size: 19px; font-weight: 650; text-align: center; }
.wc-modal-text { margin: 0 0 4px; font-size: 14px; color: var(--wc-muted); text-align: center; }
.wc-field { display: flex; flex-direction: column; gap: 5px; font-size: 13px; font-weight: 500; color: var(--wc-muted); }
.wc-field input {
  height: 46px; padding: 0 14px; border: 1px solid var(--wc-border); border-radius: 10px;
  background: var(--wc-bg); color: var(--wc-text); font: inherit; font-size: 16px; outline: none;
}
.wc-field input:focus { border-color: var(--wc-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--wc-primary) 20%, transparent); }
.wc-modal-err { font-size: 13px; color: var(--wc-danger); }
.wc-btn {
  height: 46px; margin-top: 4px; border: 0; border-radius: 10px; background: var(--wc-primary); color: var(--wc-primary-text);
  font: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
}
.wc-btn:disabled { opacity: .6; cursor: default; }
.wc-btn:focus-visible { outline: 2px solid var(--wc-primary); outline-offset: 2px; }
.wc-modal--frozen { align-items: center; text-align: center; }
.wc-modal--frozen .wc-modal-icon { background: var(--wc-muted); }
.wc-frozen-msg { margin: 0; font-size: 15px; }
.wc-root[data-state="frozen"] .wc-list, .wc-root[data-state="frozen"] .wc-composer { filter: grayscale(1); opacity: .5; pointer-events: none; }

/* Mobile */
@media (max-width: 600px) {
  .wc-col { max-width: 85%; }
  .wc-video { width: 100%; }
  .wc-list { padding: 10px 8px 4px; }
  .wc-header { padding-left: 10px; padding-right: 6px; }
}
/* Desktop: cartão centralizado quando a Blank ocupa a tela toda */
@media (min-width: 900px) {
  .wc-root.wc-card {
    max-width: 760px; margin: 0 auto;
    border-left: 1px solid var(--wc-border); border-right: 1px solid var(--wc-border);
  }
}
@media (prefers-reduced-motion: reduce) {
  .wc-send, .wc-progress i { transition: none; }
  .wc-rec-dot { animation: none; }
  .wc-sheet-panel { animation: none; }
}
