/* Stand demo — Conversação (Meu Chat) + slides. Tokens = DS do site eebox.
   Zoom .9 do site quebra 100dvh → reset + cadeia de altura fechada. */

html:has(body[data-page='demo']) {
  --stand-zoom: 0.9;
  zoom: var(--stand-zoom);
  height: 100%;
  overflow: hidden;
}

/* Zoom reduz o retângulo visual: compensar altura/largura para fechar 100% da tela */
body[data-page='demo'] {
  height: calc(100svh / var(--stand-zoom));
  max-height: calc(100svh / var(--stand-zoom));
  width: calc(100vw / var(--stand-zoom));
  max-width: calc(100vw / var(--stand-zoom));
  overflow: hidden;
  background: var(--bg);
  margin: 0;
}

body[data-page='demo'] .site-header,
body[data-page='demo'] .skip,
body[data-page='demo'] .site-footer {
  display: none !important;
}

/* Ícones compactos da demo (sem emoji) */
.stand-ico {
  display: inline-grid;
  place-items: center;
  width: 1.15em;
  height: 1.15em;
  flex: none;
  color: inherit;
  vertical-align: -0.15em;
}
.stand-ico::before {
  content: '';
  width: 100%;
  height: 100%;
  background: currentColor;
  -webkit-mask: var(--ico) center / contain no-repeat;
  mask: var(--ico) center / contain no-repeat;
}
.stand-ico--search { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E"); }
.stand-ico--paperclip { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12.5V8a5 5 0 0 0-10 0v9a3 3 0 0 0 6 0V9'/%3E%3C/svg%3E"); }
.stand-ico--mic { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Crect x='9' y='3' width='6' height='11' rx='3'/%3E%3Cpath d='M5 11a7 7 0 0 0 14 0M12 18v3'/%3E%3C/svg%3E"); }
.stand-ico--calendar { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='3'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
.stand-ico--smile { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8.5 10h.01M15.5 10h.01M8.5 14.5s1.5 2 3.5 2 3.5-2 3.5-2'/%3E%3C/svg%3E"); }
.stand-ico--bell { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9a6 6 0 0 1 12 0c0 7 3 7 3 9H3c0-2 3-2 3-9'/%3E%3Cpath d='M10 20a2 2 0 0 0 4 0'/%3E%3C/svg%3E"); }
.stand-ico--send { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 2L11 13M22 2l-7 20-4-9-9-4z'/%3E%3C/svg%3E"); }
.stand-ico--play { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E"); }
.stand-ico--image { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Ccircle cx='9' cy='10' r='1.5'/%3E%3Cpath d='M21 16l-5-5-8 8'/%3E%3C/svg%3E"); }
.stand-ico--more { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Ccircle cx='12' cy='5' r='1.6'/%3E%3Ccircle cx='12' cy='12' r='1.6'/%3E%3Ccircle cx='12' cy='19' r='1.6'/%3E%3C/svg%3E"); }
.stand-ico--check { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12l5 5L20 6'/%3E%3C/svg%3E"); }

.ico--search { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E"); }
.ico--paperclip { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12.5V8a5 5 0 0 0-10 0v9a3 3 0 0 0 6 0V9'/%3E%3C/svg%3E"); }
.ico--smile { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8.5 10h.01M15.5 10h.01M8.5 14.5s1.5 2 3.5 2 3.5-2 3.5-2'/%3E%3C/svg%3E"); }
.ico--send { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 2L11 13M22 2l-7 20-4-9-9-4z'/%3E%3C/svg%3E"); }
.ico--image { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Ccircle cx='9' cy='10' r='1.5'/%3E%3Cpath d='M21 16l-5-5-8 8'/%3E%3C/svg%3E"); }

.stand-composer__tools .ico {
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: var(--muted);
}
.stand-composer__tools .ico::before { width: 16px; height: 16px; }

body[data-page='demo'] #conteudo {
  height: 100%;
  min-height: 0;
  max-height: 100%;
  padding: 0;
  overflow: hidden;
}

.stand {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  color: var(--text);
  font-family: var(--font);
  background: var(--bg);
}

.stand__pilot {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 38px;
  padding: 6px 10px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 4px;
}

.stand__pilot-label {
  flex: 1;
  text-align: left;
  color: var(--muted);
}

.stand__pilot-state {
  min-width: 3.2em;
  text-align: right;
  color: var(--subtle);
  font-weight: 650;
}

.stand__switch {
  position: relative;
  width: 40px;
  height: 22px;
  border-radius: 999px;
  background: #c5cddc;
  flex: none;
  transition: background 0.2s ease;
}

.stand__switch-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgb(16 24 40 / 25%);
  transition: transform 0.2s ease;
}

.stand__pilot.is-on {
  border-color: color-mix(in srgb, var(--primary) 35%, var(--line));
  background: color-mix(in srgb, var(--primary) 8%, var(--surface));
}

.stand__pilot.is-on .stand__switch {
  background: var(--primary);
}

.stand__pilot.is-on .stand__switch-knob {
  transform: translateX(18px);
}

.stand__pilot.is-on .stand__pilot-state {
  color: var(--primary);
}

.stand__progress {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: 3px;
  background: color-mix(in srgb, var(--line) 70%, transparent);
}

.stand__progress > span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 0.3s linear;
}

/* ——— Shell Conversação ——— */
.stand-shell {
  position: absolute;
  inset: 0;
  display: none;
  grid-template-columns: 170px 1fr;
  grid-template-rows: minmax(0, 1fr);
  height: 100%;
  min-height: 0;
  background: var(--bg);
  opacity: 0;
  transition: opacity 0.45s ease;
}

.stand-shell.is-active {
  display: grid;
  opacity: 1;
}

.stand-appnav {
  background: var(--surface);
  border-right: 1px solid var(--line);
  padding: 16px 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 0;
  overflow: hidden;
}

.stand-appnav__brand img { display: block; }

.stand-appnav__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}

.stand-appnav__foot {
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 10px;
  border-top: 1px solid color-mix(in srgb, var(--line) 85%, transparent);
}

.stand-appnav__link {
  display: block;
  width: 100%;
  padding: 7px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 550;
  letter-spacing: -0.01em;
  color: var(--subtle);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.stand-appnav__link:hover {
  background: var(--bg-alt);
  color: var(--text);
}

.stand-appnav__list button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-radius: var(--r-sm);
  background: transparent;
  font: inherit;
  font-size: 13px;
  color: var(--muted);
  text-align: left;
  cursor: pointer;
}

.stand-appnav__list button:hover:not(:disabled) {
  background: var(--bg-alt);
  color: var(--text);
}

.stand-appnav__list button.is-on {
  background: var(--tint);
  color: var(--primary);
  font-weight: 600;
}

.stand-appnav__list button:disabled {
  opacity: 0.45;
  cursor: default;
}

.stand-appnav__list .ico {
  width: 16px;
  height: 16px;
  flex: none;
}

.stand-workspace {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

/* Topbar padrão (estilo dash) — sem fundo */
.stand-topbar {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 56px;
  padding: 0 16px 0 18px;
  background: transparent;
  border-bottom: 1px solid transparent;
  z-index: 4;
}

.stand-topbar__title {
  margin: 0;
  min-width: 0;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stand-topbar__actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: none;
}

.stand-topbar__actions .icon-btn {
  width: 40px;
  height: 40px;
}

.stand-topbar__btn {
  position: relative;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.stand-topbar__btn:hover {
  background: var(--bg-alt);
  color: var(--text);
}

.stand-topbar__btn .stand-ico {
  width: 20px;
  height: 20px;
}

.stand-topbar__dot {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 2px var(--bg);
}

.stand-topbar__btn.is-ping {
  animation: stand-crm-flash 0.6s ease;
}

.stand-conv {
  display: none;
  grid-template-columns: 260px 1fr;
  grid-template-rows: minmax(0, 1fr);
  min-width: 0;
  min-height: 0;
  flex: 1;
  height: auto;
  background: var(--bg);
}

.stand-conv.is-on {
  display: grid;
}

.stand-mod {
  display: none;
  flex-direction: column;
  flex: 1;
  height: auto;
  min-height: 0;
  background: var(--bg);
  padding: 8px 20px 20px;
  overflow: hidden;
}

.stand-mod.is-on {
  display: flex;
}

.stand-mod__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  flex-shrink: 0;
}

.stand-mod__kicker {
  margin: 0 0 2px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--subtle);
  font-weight: 650;
}

.stand-mod__head h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.stand-mod__meta {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

/* CRM · funil profissional */
.stand-mod--crm { padding: 0; }

.stand-crm {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}

.stand-crm__bar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 4px 16px 12px;
  border-bottom: 0;
  background: transparent;
  flex-shrink: 0;
}

.stand-crm__title { display: none; }

.stand-crm__title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
}

.stand-crm__kicker {
  margin: 0;
  width: 100%;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--subtle);
  font-weight: 650;
}

.stand-crm__title h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.stand-crm__meta {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.stand-crm__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.stand-crm__search {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 180px;
  max-width: 280px;
  height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg-alt);
  color: var(--muted);
}

.stand-crm__search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 13px;
  color: var(--text);
  outline: none;
}

.stand-crm__filters select {
  height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  font: inherit;
  font-size: 13px;
  color: var(--text);
  cursor: pointer;
}

.stand-crm__clear {
  height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}

.stand-crm__clear:hover { background: var(--bg-alt); color: var(--text); }

.stand-crm__sims {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.stand-crm__sim {
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-alt);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}

.stand-crm__sim:hover { color: var(--text); border-color: color-mix(in srgb, var(--primary) 35%, var(--line)); }

.stand-crm__sim.is-on {
  background: color-mix(in srgb, var(--primary) 12%, var(--surface));
  border-color: color-mix(in srgb, var(--primary) 40%, var(--line));
  color: var(--primary);
}

.stand-crm__sim.is-accent {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--on-primary);
}

.stand-crm__sim.is-accent:disabled {
  opacity: 0.55;
  cursor: default;
}

.stand-board {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  gap: 10px;
  padding: 12px 16px 16px;
  overflow-x: auto;
  overflow-y: hidden;
}

.stand-board__col {
  min-width: 180px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}

.stand-board__col h3 {
  margin: 0 0 2px;
  font-size: 12px;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: var(--bg-alt);
  z-index: 1;
  padding-bottom: 4px;
}

.stand-board__col h3 em {
  font-style: normal;
  font-size: 11px;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--subtle);
}

.stand-board__empty {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--subtle);
  text-align: center;
  padding: 16px 8px;
  border: 1px dashed var(--line);
  border-radius: var(--r-sm);
}

.stand-lead {
  padding: 10px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 1px 2px rgb(16 24 40 / 5%);
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: grab;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
  touch-action: none;
  user-select: none;
}

.stand-lead:active { cursor: grabbing; }

.stand-lead.is-dragging {
  opacity: 0.45;
  transform: scale(0.98);
  box-shadow: 0 8px 20px -8px rgb(16 24 40 / 35%);
}

.stand-board__col.is-drop {
  border-color: color-mix(in srgb, var(--primary) 55%, var(--line));
  background: color-mix(in srgb, var(--primary) 8%, var(--bg-alt));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primary) 25%, transparent);
}

.stand-lead.is-flash {
  animation: stand-crm-flash 0.7s ease;
}

.stand-lead__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
}

.stand-lead__av {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: var(--primary);
  flex: none;
}

.stand-lead__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.stand-lead__tag {
  font-size: 10px;
  font-weight: 650;
  padding: 2px 6px;
  border-radius: 999px;
  background: var(--bg-alt);
  color: var(--muted);
  border: 1px solid var(--line);
}

.stand-lead strong { font-size: 13px; line-height: 1.25; }
.stand-lead span { font-size: 12px; color: var(--muted); }
.stand-lead em {
  font-style: normal;
  font-size: 11px;
  color: var(--primary);
  font-weight: 600;
}

.stand-lead--hot {
  border-color: color-mix(in srgb, #f59e0b 45%, var(--line));
  background: color-mix(in srgb, #f59e0b 8%, var(--surface));
}

.stand-lead--win {
  border-color: color-mix(in srgb, var(--ok) 40%, var(--line));
  background: color-mix(in srgb, var(--ok) 8%, var(--surface));
}

.stand-lead.is-dim {
  opacity: 0.28;
  filter: grayscale(0.3);
}

@keyframes stand-crm-flash {
  0% { transform: scale(1); box-shadow: 0 0 0 0 color-mix(in srgb, var(--primary) 40%, transparent); }
  40% { transform: scale(1.03); box-shadow: 0 0 0 6px color-mix(in srgb, var(--primary) 18%, transparent); }
  100% { transform: scale(1); box-shadow: 0 1px 2px rgb(16 24 40 / 5%); }
}

/* Tarefas · board clássico (Trello) */
.stand-mod--tarefas { padding: 0; }

.stand-tasks {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}

.stand-tasks__bar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 4px 16px 12px;
  border-bottom: 0;
  background: transparent;
  flex-shrink: 0;
}

.stand-tasks__title { display: none; }

.stand-tasks__title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
}

.stand-tasks__kicker {
  margin: 0;
  width: 100%;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--subtle);
  font-weight: 650;
}

.stand-tasks__title h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.stand-tasks__meta {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.stand-tasks__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.stand-tasks__search {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 180px;
  max-width: 280px;
  height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg-alt);
  color: var(--muted);
}

.stand-tasks__search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 13px;
  color: var(--text);
  outline: none;
}

.stand-tasks__filters select {
  height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  font: inherit;
  font-size: 13px;
  color: var(--text);
  cursor: pointer;
}

.stand-tasks__clear {
  height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}

.stand-tasks__clear:hover { background: var(--bg-alt); color: var(--text); }

.stand-tasks__sims {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.stand-tasks__sim {
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-alt);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}

.stand-tasks__sim:hover { color: var(--text); border-color: color-mix(in srgb, var(--primary) 35%, var(--line)); }

.stand-tasks__sim.is-on {
  background: color-mix(in srgb, var(--primary) 12%, var(--surface));
  border-color: color-mix(in srgb, var(--primary) 40%, var(--line));
  color: var(--primary);
}

.stand-tasks__sim.is-accent {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--on-primary);
}

.stand-tasks__sim.is-accent:disabled {
  opacity: 0.55;
  cursor: default;
}

.stand-board--tasks {
  grid-template-columns: repeat(3, minmax(220px, 1fr));
}

.stand-tasks__search .stand-ico {
  flex: none;
  opacity: 0.55;
}

/* Agenda · estilo Google Calendar */
.stand-mod--agenda {
  padding: 0;
  background: #fff;
}

.stand-gcal {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  color: #3c4043;
  background: #fff;
}

.stand-gcal__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  padding: 8px 16px;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  background: transparent;
  flex-shrink: 0;
}

.stand-gcal__nav {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.stand-gcal__title {
  margin: 0 0 0 8px;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #3c4043;
  white-space: nowrap;
}

.stand-gcal__btn {
  border: 1px solid #dadce0;
  background: #fff;
  border-radius: 4px;
  padding: 8px 14px;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: #3c4043;
  cursor: pointer;
}

.stand-gcal__btn:hover { background: #f1f3f4; }

.stand-gcal__btn--ghost {
  border-radius: 24px;
  padding: 8px 16px;
}

.stand-gcal__icon {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  color: #5f6368;
  cursor: pointer;
}

.stand-gcal__icon:hover { background: #f1f3f4; }

.stand-gcal__tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.stand-gcal__search,
.stand-gcal__range {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 180px;
  padding: 0 12px;
  height: 40px;
  border-radius: 8px;
  background: #f1f3f4;
  color: #5f6368;
}

.stand-gcal__search { min-width: 220px; flex: 1; max-width: 320px; }

.stand-gcal__search input,
.stand-gcal__range input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 14px;
  color: #3c4043;
  outline: none;
}

.stand-gcal__search input::placeholder,
.stand-gcal__range input::placeholder { color: #80868b; }

.stand-gcal__scroll {
  flex: 1;
  min-height: 0;
  overflow: auto;
  position: relative;
}

.stand-gcal__grid {
  --gcal-hour-h: 48px;
  --gcal-hour-w: 56px;
  --gcal-cols: 7;
  --gcal-start: 8;
  display: grid;
  grid-template-columns: var(--gcal-hour-w) repeat(var(--gcal-cols), minmax(96px, 1fr));
  min-width: 720px;
}

.stand-gcal__corner {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 5;
  background: #fff;
  border-bottom: 1px solid #dadce0;
  border-right: 1px solid #dadce0;
}

.stand-gcal__day-head {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 4px 12px;
  background: #fff;
  border-bottom: 1px solid #dadce0;
  border-right: 1px solid #eee;
  text-align: center;
}

.stand-gcal__day-name {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #70757a;
}

.stand-gcal__day-num {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 20px;
  font-weight: 400;
  color: #3c4043;
}

.stand-gcal__day-head.is-today .stand-gcal__day-name { color: #1a73e8; }
.stand-gcal__day-head.is-today .stand-gcal__day-num {
  background: #1a73e8;
  color: #fff;
  font-weight: 500;
}

.stand-gcal__hours {
  position: sticky;
  left: 0;
  z-index: 3;
  background: #fff;
  border-right: 1px solid #dadce0;
  grid-row: 2;
  grid-column: 1;
}

.stand-gcal__hour {
  height: var(--gcal-hour-h);
  position: relative;
  font-size: 10px;
  font-weight: 500;
  color: #70757a;
  text-align: right;
  padding-right: 8px;
  box-sizing: border-box;
}

.stand-gcal__hour span {
  position: absolute;
  top: -6px;
  right: 8px;
}

.stand-gcal__col {
  position: relative;
  grid-row: 2;
  border-right: 1px solid #eee;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent calc(var(--gcal-hour-h) - 1px),
    #dadce0 calc(var(--gcal-hour-h) - 1px),
    #dadce0 var(--gcal-hour-h)
  );
  background-size: 100% var(--gcal-hour-h);
}

.stand-gcal__event {
  position: absolute;
  left: 3px;
  right: 3px;
  padding: 4px 6px;
  border-radius: 4px;
  border-left: 3px solid transparent;
  font-size: 12px;
  line-height: 1.25;
  overflow: hidden;
  cursor: default;
  box-shadow: 0 1px 1px rgb(60 64 67 / 12%);
  z-index: 1;
}

.stand-gcal__event strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stand-gcal__event span {
  display: block;
  font-size: 11px;
  opacity: 0.9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stand-gcal__event.is-hit {
  outline: 2px solid #1a73e8;
  outline-offset: 1px;
  z-index: 2;
}

.stand-gcal__event--blue {
  background: #d2e3fc;
  border-left-color: #1a73e8;
  color: #174ea6;
}
.stand-gcal__event--green {
  background: #ceead6;
  border-left-color: #137333;
  color: #0d652d;
}
.stand-gcal__event--orange {
  background: #feefc3;
  border-left-color: #f9ab00;
  color: #7c4a03;
}
.stand-gcal__event--teal {
  background: #cbf0f8;
  border-left-color: #007b83;
  color: #065b63;
}
.stand-gcal__event--rose {
  background: #fad2cf;
  border-left-color: #d93025;
  color: #a50e0e;
}

.stand-gcal__meta {
  margin: 0;
  padding: 8px 16px;
  border-top: 1px solid #dadce0;
  font-size: 12px;
  color: #70757a;
  flex-shrink: 0;
  background: #fff;
}

@media (max-width: 900px) {
  .stand-gcal__title { font-size: 18px; }
  .stand-gcal__search { max-width: none; min-width: 140px; }
}

/* WhatsApp · clone visual (módulo) */
/* WhatsApp · light mode */
.stand-mod--wa {
  padding: 0;
  background: #f0f2f5;
}

.stand-wa {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 320px 1fr;
  overflow: hidden;
  background: #fff;
  color: #111b21;
}

.stand-wa--app {
  border: 0;
  border-radius: 0;
}

.stand-wa__list {
  border-right: 1px solid #e9edef;
  background: #fff;
  padding: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.stand-wa__list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: #f0f2f5;
}

.stand-wa__list-head strong { font-size: 18px; font-weight: 650; color: #111b21; }
.stand-wa__list-head span {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #667781;
}

.stand-wa__search {
  margin: 8px 12px 10px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #f0f2f5;
  color: #667781;
  font-size: 13px;
}

.stand-wa__item {
  display: flex;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 12px 14px;
  border: 0;
  border-bottom: 1px solid #f0f2f5;
  border-radius: 0;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
  color: #111b21;
  position: relative;
}

.stand-wa__item:hover { background: #f5f6f6; }

.stand-wa__item.is-on {
  background: #f0f2f5;
  color: #111b21;
  box-shadow: none;
}

.stand-wa__item-body { flex: 1; min-width: 0; }
.stand-wa__item-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 2px;
}
.stand-wa__item-row strong { font-size: 15px; font-weight: 550; }
.stand-wa__item-row time { font-size: 11px; color: #667781; flex: none; }
.stand-wa__item small {
  display: block;
  font-size: 13px;
  color: #667781;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stand-wa__badge {
  position: absolute;
  right: 14px;
  bottom: 12px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.stand-wa__av {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #00a884;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  flex: none;
}

.stand-wa__av--2 { background: #0f766e; }
.stand-wa__av--3 { background: #7c4dff; }
.stand-wa__av--4 { background: #b45309; }

.stand-wa__thread {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background:
    linear-gradient(rgb(230 221 212 / 92%), rgb(230 221 212 / 92%)),
    url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 30h60M30 0v60' stroke='%23d4cfc7' stroke-width='.4'/%3E%3C/svg%3E");
}

.stand-wa__top {
  padding: 10px 16px;
  background: #f0f2f5;
  color: #111b21;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  border-bottom: 1px solid #e9edef;
}

.stand-wa__top .stand-wa__av { width: 40px; height: 40px; font-size: 14px; }
.stand-wa__top strong { display: block; font-size: 15px; line-height: 1.2; }
.stand-wa__top span { font-size: 12px; color: #667781; }
.stand-wa__top-actions {
  margin-left: auto;
  display: flex;
  gap: 16px;
  opacity: 0.65;
  font-size: 16px;
  color: #54656f;
}

.stand-wa__msgs {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 18px 8% 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: flex-start;
}

.stand-wa__day {
  align-self: center;
  margin: 8px 0 12px;
  padding: 6px 12px;
  border-radius: 8px;
  background: #fff;
  color: #667781;
  font-size: 12px;
  font-weight: 550;
  box-shadow: 0 1px 1px rgb(11 20 26 / 8%);
}

.stand-wa__bubble {
  max-width: min(420px, 78%);
  padding: 8px 10px 4px;
  border-radius: 10px;
  font-size: 14.2px;
  line-height: 1.4;
  box-shadow: 0 1px 0.5px rgb(11 20 26 / 13%);
  position: relative;
  flex-shrink: 0;
}

.stand-wa__bubble p { margin: 0 0 2px; word-break: break-word; }
.stand-wa__bubble time {
  display: block;
  text-align: right;
  font-size: 11px;
  color: #667781;
  margin-top: 4px;
}

.stand-wa__bubble--in {
  align-self: flex-start;
  background: #fff;
  color: #111b21;
  border-top-left-radius: 0;
}

.stand-wa__bubble--out {
  align-self: flex-end;
  background: #d9fdd3;
  color: #111b21;
  border-top-right-radius: 0;
}

.stand-wa__bubble--out time { color: #667781; }

.stand-wa__bubble--media {
  padding: 6px 6px 4px;
  overflow: hidden;
}

.stand-wa__photo,
.stand-wa__video {
  position: relative;
  width: min(280px, 70vw);
  min-height: 168px;
  height: 180px;
  flex-shrink: 0;
  border-radius: 8px;
  display: flex;
  align-items: flex-end;
  padding: 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 650;
  text-shadow: 0 1px 2px rgb(0 0 0 / 45%);
  overflow: hidden;
}

.stand-wa__photo--img {
  padding: 0;
  background: #d1d7db;
}

.stand-wa__photo--img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}

.stand-wa__photo--img span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 12px;
  background: linear-gradient(transparent, rgb(0 0 0 / 55%));
  font-size: 12px;
}

.stand-wa__photo--1 {
  background:
    linear-gradient(180deg, transparent 40%, rgb(0 0 0 / 55%)),
    linear-gradient(135deg, #60a5fa, #1d4ed8 45%, #312e81);
}
.stand-wa__photo--2 {
  background:
    linear-gradient(180deg, transparent 40%, rgb(0 0 0 / 55%)),
    linear-gradient(145deg, #f59e0b, #b45309 50%, #78350f);
}
.stand-wa__photo--3 {
  background:
    linear-gradient(180deg, transparent 40%, rgb(0 0 0 / 55%)),
    linear-gradient(150deg, #34d399, #047857 48%, #064e3b);
}
.stand-wa__photo--4 {
  background:
    linear-gradient(180deg, transparent 40%, rgb(0 0 0 / 55%)),
    linear-gradient(160deg, #fb7185, #be123c 45%, #7f1d1d);
}

.stand-wa__video {
  position: relative;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 10px;
  background:
    linear-gradient(180deg, transparent 30%, rgb(0 0 0 / 50%)),
    linear-gradient(145deg, #0f766e, #115e59 50%, #042f2e);
}

.stand-wa__play {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgb(0 0 0 / 45%);
  border: 2px solid rgb(255 255 255 / 85%);
  color: #fff;
  padding-left: 2px;
}
.stand-wa__play .stand-ico { width: 18px; height: 18px; }

.stand-wa__audio {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 220px;
  padding: 6px 4px 2px;
}

.stand-wa__audio-play {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 0;
  background: #00a884;
  color: #fff;
  cursor: default;
  flex: none;
  display: grid;
  place-items: center;
  padding-left: 2px;
}
.stand-wa__audio-play .stand-ico { width: 14px; height: 14px; }

.stand-wa__wave {
  flex: 1;
  height: 28px;
  border-radius: 4px;
  background:
    repeating-linear-gradient(
      90deg,
      #00a884 0 2px,
      transparent 2px 5px
    );
  opacity: 0.45;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.stand-wa__audio em {
  font-style: normal;
  font-size: 12px;
  color: #667781;
  flex: none;
}

.stand-wa__composer {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px 14px;
  background: #f0f2f5;
  flex-shrink: 0;
  border-top: 1px solid #e9edef;
}

.stand-wa__composer-ico {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #54656f;
  cursor: pointer;
  flex: none;
  margin: 0;
  padding: 0;
}
.stand-wa__composer-ico.stand-ico {
  width: 40px;
  height: 40px;
}
.stand-wa__composer-ico.stand-ico::before {
  width: 22px;
  height: 22px;
}
.stand-wa__composer-ico:hover { color: #111b21; }
.stand-wa__composer-ico.is-on { color: #00a884; }

.stand-wa__emoji {
  position: absolute;
  left: 10px;
  bottom: calc(100% + 6px);
  z-index: 8;
  width: min(320px, calc(100% - 20px));
  max-height: 220px;
  overflow: auto;
  padding: 10px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e9edef;
  box-shadow: 0 8px 24px rgb(11 20 26 / 18%);
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 2px;
}

.stand-wa__emoji[hidden] { display: none; }

.stand-wa__emoji-btn {
  width: 100%;
  aspect-ratio: 1;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.stand-wa__emoji-btn:hover {
  background: #f0f2f5;
}

.stand-wa__input {
  flex: 1;
  min-width: 0;
  padding: 10px 16px;
  border-radius: 24px;
  border: 0;
  background: #fff;
  color: #111b21;
  font: inherit;
  font-size: 15px;
  outline: none;
  box-shadow: 0 1px 1px rgb(11 20 26 / 6%);
}

.stand-wa__input::placeholder { color: #8696a0; }

.stand-wa__send {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #00a884;
  color: #fff;
  cursor: pointer;
  flex: none;
}
.stand-wa__send .stand-ico { width: 18px; height: 18px; color: #fff; }

.stand-wa__send:hover { background: #029978; }
.stand-wa__send:disabled { opacity: 0.5; cursor: default; }

.stand-wa__ticks {
  display: inline-grid;
  width: 12px;
  height: 12px;
  margin-left: 3px;
  vertical-align: -1px;
  color: #53bdeb;
  opacity: 0.9;
}

.stand-wa__top-actions .stand-ico {
  width: 18px;
  height: 18px;
  color: #54656f;
}

.stand-crm__search .stand-ico,
.stand-gcal__search .stand-ico,
.stand-gcal__range .stand-ico {
  width: 16px;
  height: 16px;
  opacity: 0.75;
}

/* Biblioteca · clone Google Drive */
.stand-mod--files {
  padding: 0;
  background: #f8f9fa;
}

.stand-drive {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  color: #202124;
  background: #fff;
}

.stand-drive__top {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 16px;
  border-bottom: 1px solid #e0e0e0;
  flex-shrink: 0;
  background: #fff;
}

.stand-drive__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 140px;
}

.stand-drive__logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, #4285f4 0 33%, #34a853 33% 66%, #fbbc04 66% 100%);
  position: relative;
  flex: none;
}

.stand-drive__logo::after {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 3px;
  background: #fff;
  clip-path: polygon(20% 15%, 80% 15%, 80% 40%, 55% 40%, 55% 85%, 20% 85%);
}

.stand-drive__brand strong {
  font-size: 20px;
  font-weight: 450;
  color: #5f6368;
}

.stand-drive__search {
  flex: 1;
  max-width: 720px;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 16px;
  border-radius: 24px;
  background: #f1f3f4;
  color: #5f6368;
}

.stand-drive__search input {
  flex: 1;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 15px;
  color: #202124;
  outline: none;
}

.stand-drive__search .stand-ico { width: 18px; height: 18px; }

.stand-drive__new {
  height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 1px 2px rgb(60 64 67 / 30%), 0 1px 3px 1px rgb(60 64 67 / 15%);
  font: inherit;
  font-size: 14px;
  font-weight: 550;
  color: #3c4043;
  cursor: default;
  flex: none;
}

.stand-drive__body {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 220px 1fr;
  overflow: hidden;
}

.stand-drive__nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 8px;
  border-right: 1px solid #e8eaed;
  background: #fff;
  overflow-y: auto;
}

.stand-drive__nav button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  border-radius: 0 24px 24px 0;
  padding: 10px 16px;
  background: transparent;
  font: inherit;
  font-size: 14px;
  color: #202124;
  cursor: default;
}

.stand-drive__nav button.is-on {
  background: #e8f0fe;
  color: #1967d2;
  font-weight: 550;
}

.stand-drive__storage {
  margin-top: auto;
  padding: 16px 12px 8px;
  font-size: 12px;
  color: #5f6368;
}

.stand-drive__storage-bar {
  height: 4px;
  border-radius: 999px;
  background: #e8eaed;
  margin-bottom: 8px;
  overflow: hidden;
}

.stand-drive__storage-bar i {
  display: block;
  height: 100%;
  width: var(--w);
  background: #1a73e8;
  border-radius: inherit;
}

.stand-drive__main {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: auto;
  padding: 8px 20px 20px;
  background: #fff;
}

.stand-drive__crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0 12px;
  font-size: 14px;
  color: #5f6368;
}

.stand-drive__crumb button {
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 18px;
  font-weight: 450;
  color: #202124;
  padding: 4px 8px;
  border-radius: 8px;
  cursor: default;
}

.stand-drive__crumb button:hover { background: #f1f3f4; }

.stand-drive__section {
  margin: 4px 0 10px;
  font-size: 13px;
  font-weight: 550;
  color: #5f6368;
}

.stand-drive__folders {
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
  gap: 10px;
  margin-bottom: 22px;
}

.stand-drive__folder {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid #e0e0e0;
  border-radius: 16px;
  background: #fff;
  min-width: 0;
}

.stand-drive__folder:hover {
  background: #f8f9fa;
  box-shadow: 0 1px 2px rgb(60 64 67 / 12%);
}

.stand-drive__folder strong {
  display: block;
  font-size: 13px;
  font-weight: 550;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stand-drive__folder small {
  display: block;
  font-size: 12px;
  color: #5f6368;
}

.stand-drive__ficon {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  flex: none;
  position: relative;
  background: #dadce0;
}

.stand-drive__ficon--folder {
  background: #fbbc04;
  clip-path: polygon(0 28%, 38% 28%, 48% 8%, 100% 8%, 100% 100%, 0 100%);
  border-radius: 2px;
}

.stand-drive__ficon--pdf { background: #ea4335; border-radius: 3px; }
.stand-drive__ficon--pdf::after {
  content: 'PDF';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 8px;
  font-weight: 800;
}

.stand-drive__ficon--img {
  background: linear-gradient(135deg, #34a853, #0f766e);
  border-radius: 3px;
}
.stand-drive__ficon--img::after {
  content: '';
  position: absolute;
  inset: 7px;
  border: 2px solid #fff;
  border-radius: 2px;
  opacity: 0.9;
}

.stand-drive__ficon--audio { background: #a142f4; border-radius: 3px; }
.stand-drive__ficon--audio::after {
  content: '';
  position: absolute;
  left: 10px;
  right: 10px;
  top: 8px;
  bottom: 8px;
  background: repeating-linear-gradient(90deg, #fff 0 2px, transparent 2px 5px);
  opacity: 0.9;
}

.stand-drive__ficon--doc { background: #4285f4; border-radius: 3px; }
.stand-drive__ficon--doc::after {
  content: 'W';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.stand-drive__ficon--sheet { background: #0f9d58; border-radius: 3px; }
.stand-drive__ficon--sheet::after {
  content: 'X';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.stand-drive__table-head,
.stand-drive__row {
  display: grid;
  grid-template-columns: 28px minmax(180px, 2.2fr) 1fr 1fr 0.7fr;
  gap: 12px;
  align-items: center;
  padding: 8px 12px;
  border-bottom: 1px solid #e8eaed;
  font-size: 13px;
}

.stand-drive__table-head {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #fff;
  color: #5f6368;
  font-weight: 550;
  border-bottom: 1px solid #dadce0;
}

.stand-drive__table-head span:first-child { grid-column: 1 / span 2; }

.stand-drive__row { color: #3c4043; cursor: default; }
.stand-drive__row:hover { background: #f8f9fa; }
.stand-drive__row.is-new { background: #e6f4ea; }
.stand-drive__row.is-new:hover { background: #ceead6; }

.stand-drive__name strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #202124;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stand-drive__name small {
  display: block;
  font-size: 12px;
  color: #5f6368;
}

.stand-drive__rows { padding-bottom: 8px; }

@media (max-width: 900px) {
  .stand-drive__body { grid-template-columns: 1fr; }
  .stand-drive__nav { display: none; }
  .stand-drive__folders { grid-template-columns: repeat(2, 1fr); }
  .stand-drive__table-head span:nth-child(n+3),
  .stand-drive__row > span:nth-child(n+3) { display: none; }
  .stand-drive__table-head,
  .stand-drive__row { grid-template-columns: 28px 1fr; }
}

/* Financeiro */
.stand-mod--fin { padding: 0; }

.stand-fin {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 16px 16px;
  overflow: hidden;
  background: var(--bg);
}

.stand-fin__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px 16px;
  flex-shrink: 0;
  background: transparent;
}

.stand-fin__title { display: none; }

.stand-fin__kicker {
  margin: 0 0 2px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--subtle);
  font-weight: 650;
}

.stand-fin__title h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.stand-fin__meta {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.stand-fin__chips {
  display: flex;
  gap: 6px;
}

.stand-fin__chips span {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.stand-fin__chips span.is-on {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--on-primary);
}

.stand-kpi {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 0;
  flex-shrink: 0;
}

.stand-kpi--fin {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stand-kpi__card {
  position: relative;
  padding: 12px 14px 10px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--tint) 55%, #fff), var(--surface));
  text-align: left;
  overflow: hidden;
}

.stand-kpi__card strong {
  display: block;
  font-size: 22px;
  color: var(--primary);
  letter-spacing: -0.02em;
  margin: 2px 0 4px;
}

.stand-kpi__card > span {
  display: block;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--subtle);
}

.stand-kpi__card em {
  display: inline-block;
  font-style: normal;
  font-size: 11px;
  font-weight: 650;
  padding: 2px 6px;
  border-radius: 999px;
}

.stand-kpi__card em.is-up {
  color: #0f766e;
  background: color-mix(in srgb, #0f766e 12%, transparent);
}

.stand-kpi__card em.is-down {
  color: #b45309;
  background: color-mix(in srgb, #f59e0b 16%, transparent);
}

.stand-kpi__card--ok strong { color: var(--ok); }

.stand-kpi__spark {
  position: absolute;
  right: 10px;
  bottom: 8px;
  width: 72px;
  height: 26px;
  opacity: 0.85;
  pointer-events: none;
}

.stand-fin__charts {
  display: grid;
  grid-template-columns: 1.2fr 1.1fr 0.9fr;
  gap: 10px;
  flex-shrink: 0;
  min-height: 0;
}

.stand-fin__chart {
  padding: 10px 12px 8px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--surface);
  min-width: 0;
}

.stand-fin__chart-label {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--subtle);
}

.stand-fin__svg {
  width: 100%;
  height: auto;
  display: block;
}

.stand-fin__legend {
  display: flex;
  gap: 12px;
  margin-top: 2px;
  font-size: 11px;
  color: var(--muted);
}

.stand-fin__legend i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  margin-right: 4px;
  vertical-align: middle;
}

.stand-fin__chart--pie {
  display: flex;
  flex-direction: column;
}

.stand-fin__pie-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 4px auto 8px;
}

.stand-fin__pie {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 6px 14px rgb(0 88 188 / 12%));
}

.stand-fin__pie-center {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  pointer-events: none;
}

.stand-fin__pie-center strong {
  font-size: 14px;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.stand-fin__pie-center span {
  font-size: 10px;
  color: var(--subtle);
}

.stand-fin__pie-legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
  font-size: 11px;
  color: var(--muted);
}

.stand-fin__pie-legend li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.stand-fin__pie-legend i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: none;
}

.stand-fin__pie-legend b {
  margin-left: auto;
  font-weight: 650;
  color: var(--text);
}

.stand-fin-grid {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  overflow: hidden;
}

.stand-fin-list {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  padding: 12px;
  overflow-y: auto;
  min-height: 0;
}

.stand-fin-list h3 {
  margin: 0 0 10px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stand-fin-list h3 em {
  font-style: normal;
  font-size: 11px;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  color: var(--muted);
}

.stand-fin-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  align-items: center;
}

.stand-fin-row:last-child { border-bottom: 0; }
.stand-fin-row strong { grid-column: 1; line-height: 1.25; }
.stand-fin-row > span { grid-column: 1; font-size: 12px; color: var(--muted); }
.stand-fin-row em {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
  font-style: normal;
  font-weight: 650;
  color: var(--ok);
  white-space: nowrap;
}
.stand-fin-row--out em { color: #b91c1c; }

.stand-fin-badge {
  grid-column: 1;
  justify-self: start;
  margin-top: 2px;
  font-size: 10px;
  font-weight: 650;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--bg-alt);
  color: var(--muted);
  border: 1px solid var(--line);
}

.stand-fin-badge.is-ok {
  color: #0f766e;
  background: color-mix(in srgb, #0f766e 12%, transparent);
  border-color: color-mix(in srgb, #0f766e 25%, var(--line));
}

.stand-fin-badge.is-warn {
  color: #b45309;
  background: color-mix(in srgb, #f59e0b 14%, transparent);
  border-color: color-mix(in srgb, #f59e0b 30%, var(--line));
}

@media (max-width: 1100px) {
  .stand-kpi--fin { grid-template-columns: repeat(2, 1fr); }
  .stand-fin__charts { grid-template-columns: 1fr 1fr; }
  .stand-fin__chart--pie { grid-column: 1 / -1; }
}

.stand-rail {
  border-right: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 88%, var(--bg-alt));
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

.stand-rail__new {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--primary);
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--primary);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.stand-rail__new:hover {
  background: var(--tint);
}

.stand-rail__threads {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  margin-top: 4px;
}

.stand-rail__group {
  margin: 12px 8px 6px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--subtle);
}

.stand-rail__item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  text-align: left;
  cursor: default;
}

.stand-rail__item .ico { width: 14px; height: 14px; flex: none; opacity: 0.7; }
.stand-rail__item span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stand-rail__item.is-on {
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
}

.stand-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  background: var(--bg);
}

.stand-landing {
  display: none;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.stand-landing.is-on { display: flex; }

.stand-hero {
  margin: auto;
  width: min(42rem, 100%);
  padding: 2.5rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stand-hero__mark {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--ink);
  display: grid;
  place-items: center;
}

.stand-hero__mark .ico {
  width: 22px;
  height: 22px;
}

.stand-hero__mark .ico::before { filter: invert(1); }

.stand-hero h1 {
  margin: 20px 0 8px;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.stand-hero h1 em {
  font-style: italic;
  color: var(--primary);
}

.stand-hero > p {
  margin: 0;
  max-width: 28rem;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.stand-composer {
  width: 100%;
  margin-top: 28px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: var(--shadow);
  text-align: left;
}

.stand-composer__input {
  display: block;
  min-height: 1.4em;
  font-size: 15px;
  color: var(--text);
  white-space: pre-wrap;
}

.stand-composer__input:empty::before {
  content: 'Pergunte, envie um boleto ou dê um comando…';
  color: var(--subtle);
}

.stand-composer__tools {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}

.stand-composer__engine {
  margin-left: auto;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid var(--line);
  font-size: 12px;
}

.stand-composer__send {
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--primary);
  color: var(--on-primary);
  font-weight: 600;
  font-size: 13px;
}

.stand-composer--foot {
  margin: 0;
  border-radius: var(--r-md);
  box-shadow: none;
}

.stand-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.stand-chips button {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font: inherit;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.stand-chips button:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--tint);
}

.stand-chips button:disabled {
  opacity: 0.55;
  cursor: wait;
}

.stand-thread__foot {
  width: min(48rem, calc(100% - 32px));
  margin: 0 auto 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stand-chips--foot {
  margin-top: 0;
  justify-content: flex-start;
}

.stand-thread .stand-composer--foot {
  width: 100%;
  margin: 0;
}

/* Thread */
.stand-thread {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.stand-thread[hidden] { display: none !important; }

.stand-thread__scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: min(48rem, 100%);
  margin: 0 auto;
  scroll-behavior: smooth;
}

/* Bubbles */
.sc-msg {
  max-width: 92%;
  animation: sc-in 0.35s ease;
}

.sc-msg--user {
  align-self: flex-end;
  padding: 10px 14px;
  border-radius: 14px 14px 4px 14px;
  background: var(--primary);
  color: var(--on-primary);
  font-size: 14px;
  line-height: 1.4;
}

.sc-msg--bot {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sc-msg__text {
  align-self: flex-start;
  padding: 10px 14px;
  border-radius: 14px 14px 14px 4px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.45;
  color: var(--text);
  max-width: 85%;
}

.sc-msg__text p { margin: 0 0 6px; }
.sc-msg__text p:last-child { margin: 0; }

.sc-typing {
  align-self: flex-start;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--subtle);
  font-size: 13px;
}

/* Artefatos */
.sc-art {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: sc-in 0.4s ease;
}

.sc-art__head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.sc-art__body { padding: 12px 14px; }

.sc-art--crm .sc-crm {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.sc-crm__col h4 {
  margin: 0 0 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--subtle);
}

.sc-crm__card {
  padding: 8px 10px;
  border-radius: var(--r-xs);
  border: 1px solid var(--line);
  background: var(--bg);
  font-size: 12px;
  margin-bottom: 6px;
}

.sc-crm__card strong { display: block; font-size: 13px; }
.sc-crm__card span { color: var(--muted); }
.sc-crm__card.is-move {
  outline: 2px solid var(--primary);
  background: var(--tint);
  animation: sc-pulse 0.8s ease;
}

.sc-crm__card.is-win {
  border-color: color-mix(in srgb, var(--ok) 40%, var(--line));
  background: color-mix(in srgb, var(--ok) 10%, var(--surface));
}

.sc-art--agenda .sc-ag-row {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.sc-art--agenda .sc-ag-row:last-child { border-bottom: 0; }
.sc-art--agenda .sc-ag-row em {
  font-style: normal;
  font-weight: 650;
  color: var(--muted);
  min-width: 48px;
}

.sc-art--agenda .sc-ag-row.is-new {
  background: color-mix(in srgb, var(--ok) 10%, transparent);
  margin: 0 -14px;
  padding: 8px 14px;
  border-radius: var(--r-xs);
}

.sc-art--report .sc-art__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 12px;
}

.sc-art--report .sc-art__head small {
  font-size: 12px;
  font-weight: 550;
  color: var(--muted);
  letter-spacing: 0;
  text-transform: none;
}

.sc-art--report .sc-kpi,
.sc-kpi--rich {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.sc-caixa-ask {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--tint) 70%, var(--surface));
}

.sc-caixa-ask p {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 550;
}

.sc-caixa-ask__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sc-caixa-range {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  border: 1px dashed color-mix(in srgb, var(--primary) 35%, var(--line));
  background: var(--surface);
}

.sc-caixa-range__field {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg-alt);
  cursor: pointer;
}

.sc-caixa-range__field input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 14px;
  color: var(--text);
  outline: none;
  cursor: pointer;
}

.sc-caixa-range__field .stand-ico {
  width: 16px;
  height: 16px;
  color: var(--muted);
}

.sc-caixa-range__hint {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--subtle);
}

.sc-kpi__item {
  position: relative;
  padding: 12px 10px;
  border-radius: var(--r-sm);
  background: var(--bg-alt);
  text-align: center;
  border: 1px solid var(--line);
}

.sc-kpi__item.is-accent {
  background: color-mix(in srgb, var(--ok) 10%, var(--surface));
  border-color: color-mix(in srgb, var(--ok) 35%, var(--line));
}

.sc-kpi__item strong {
  display: block;
  font-size: 18px;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.sc-kpi__item span {
  font-size: 11px;
  color: var(--muted);
}

.sc-kpi__item em {
  display: inline-block;
  margin-top: 4px;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 999px;
}

.sc-kpi__item em.is-up {
  color: #0f766e;
  background: color-mix(in srgb, #0f766e 12%, transparent);
}

.sc-kpi__item em.is-down {
  color: #b45309;
  background: color-mix(in srgb, #f59e0b 16%, transparent);
}

.sc-chart--duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.sc-chart__block {
  padding: 10px 10px 8px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--tint) 55%, #fff), #fff);
  min-width: 0;
}

.sc-chart__label {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--subtle);
}

.sc-chart__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
  font-size: 11px;
  color: var(--muted);
}

.sc-chart__legend i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  margin-right: 4px;
  vertical-align: middle;
}

.sc-vbars,
.sc-line,
.sc-pie__svg {
  width: 100%;
  height: auto;
  display: block;
}

.sc-vbars__bar {
  transform-origin: bottom;
  transform: scaleY(0);
}

.sc-vbars.is-anim .sc-vbars__bar,
.is-anim .sc-vbars__bar {
  animation: sc-bar-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(var(--i, 0) * 0.06s);
}

.sc-line__path {
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
}

.sc-line.is-anim .sc-line__path,
.is-anim .sc-line__path {
  animation: sc-draw 1.1s ease forwards;
}

.sc-line.is-anim .sc-line__path--soft,
.is-anim .sc-line__path--soft {
  animation-delay: 0.15s;
}

.sc-line__area {
  opacity: 0;
}

.sc-line.is-anim .sc-line__area,
.is-anim .sc-line__area {
  animation: sc-fade 0.8s ease 0.35s forwards;
}

.sc-line__dot {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}

.sc-line.is-anim .sc-line__dot,
.is-anim .sc-line__dot {
  animation: sc-pop 0.35s ease forwards;
  animation-delay: calc(0.45s + var(--i, 0) * 0.05s);
}

@keyframes sc-bar-up {
  from { transform: scaleY(0); opacity: 0.4; }
  to { transform: scaleY(1); opacity: 1; }
}

@keyframes sc-draw {
  to { stroke-dashoffset: 0; }
}

@keyframes sc-fade {
  to { opacity: 1; }
}

@keyframes sc-pop {
  from { opacity: 0; transform: scale(0.4); }
  to { opacity: 1; transform: scale(1); }
}

/* Clone WhatsApp — reutilizável */
.sc-pull-note {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--muted);
}

.sc-pull-note strong { color: var(--primary); }

.wa-mock {
  max-width: 420px;
  margin: 0 auto 14px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #c8d0d8;
  background: #ece5dd;
  box-shadow: var(--shadow);
}

.wa-mock--wide {
  max-width: 100%;
}

.wa-mock__msg--album {
  max-width: 100%;
  width: 100%;
}

.wa-mock__album {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 6px 0 4px;
}

.wa-mock__top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #075e54;
  color: #fff;
}

.wa-mock__av {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #128c7e;
  font-size: 13px;
  font-weight: 700;
  flex: none;
}

.wa-mock__top strong { display: block; font-size: 14px; line-height: 1.2; }
.wa-mock__top small { font-size: 11px; opacity: 0.8; }
.wa-mock__brand {
  margin-left: auto;
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.75;
  font-weight: 650;
}

.wa-mock__thread {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  min-height: 140px;
  max-height: 420px;
  overflow-y: auto;
  background:
    radial-gradient(circle at 20% 20%, rgb(255 255 255 / 35%), transparent 40%),
    #ece5dd;
}

.wa-mock--wide .wa-mock__thread {
  max-height: 280px;
}

.wa-mock__msg {
  max-width: 88%;
  padding: 8px 10px 6px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.35;
  box-shadow: 0 1px 1px rgb(0 0 0 / 8%);
  position: relative;
}

.wa-mock__msg p { margin: 0 0 4px; }
.wa-mock__msg time {
  display: block;
  text-align: right;
  font-size: 10px;
  opacity: 0.65;
  margin-top: 4px;
}

.wa-mock__msg--in {
  align-self: flex-start;
  background: #fff;
  border-top-left-radius: 2px;
}

.wa-mock__msg--out {
  align-self: flex-end;
  background: #dcf8c6;
  border-top-right-radius: 2px;
}

.wa-mock__media {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 4px 0;
}

.wa-mock__shot {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-height: 88px;
  padding: 10px 6px;
  border-radius: 10px;
  background: #e2e8f0;
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  opacity: 0.45;
  transform: scale(0.96);
  transition: opacity 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
  overflow: hidden;
}

.wa-mock__shot:not(.has-img)::before {
  content: '';
  width: 28px;
  height: 28px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Ccircle cx='9' cy='10' r='1.5'/%3E%3Cpath d='M21 16l-5-5-8 8'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Ccircle cx='9' cy='10' r='1.5'/%3E%3Cpath d='M21 16l-5-5-8 8'/%3E%3C/svg%3E") center / contain no-repeat;
}

.wa-mock__shot.has-img {
  padding: 0;
  background: #0f172a;
  color: #fff;
  opacity: 0.35;
  transform: scale(0.96);
  box-shadow: none;
}

.wa-mock__shot.has-img.is-on {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 8px 18px -10px rgb(15 23 42 / 45%);
}

.wa-mock__shot.has-img img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 64px;
  max-height: 88px;
  object-fit: cover;
}

.wa-mock__shot.has-img em {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 8px 6px 6px;
  font-style: normal;
  font-size: 11px;
  font-weight: 650;
  text-shadow: 0 1px 2px rgb(0 0 0 / 55%);
  background: linear-gradient(transparent, rgb(0 0 0 / 55%));
}

.wa-mock__shot:not(.has-img) em {
  font-style: normal;
}

.wa-mock__shot.is-big {
  min-height: 72px;
  font-size: 11px;
}

.wa-mock__shot.is-big.has-img img {
  min-height: 72px;
  max-height: 96px;
}

.wa-mock__shot.is-on {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 8px 18px -10px rgb(15 23 42 / 55%);
}

.wa-mock__shot.is-on:not(.has-img)::before {
  width: 34px;
  height: 34px;
}

@media (max-width: 720px) {
  .wa-mock__album {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .wa-mock__shot.is-big {
    min-height: 110px;
  }
}

.wa-mock__audio {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0;
  min-width: 140px;
}

.wa-mock__audio i {
  flex: 1;
  height: 22px;
  border-radius: 4px;
  background: repeating-linear-gradient(90deg, #16a34a 0 3px, transparent 3px 6px);
  opacity: 0.45;
}

.wa-mock__audio em {
  font-style: normal;
  font-size: 11px;
  opacity: 0.7;
}

.sc-art--files .sc-file {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.sc-art--files .sc-file:last-child { border-bottom: 0; }
.sc-art--files .sc-file.is-new {
  background: color-mix(in srgb, var(--ok) 12%, transparent);
  margin: 0 -14px;
  padding: 8px 14px;
  border-radius: var(--r-xs);
}

.sc-file__badge {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
  background: #fee2e2;
  color: #b91c1c;
  flex: none;
}

/* Fluxo foto → e-mail */
.sc-flow-step {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  opacity: 0.4;
  transition: opacity 0.35s, background 0.35s;
}

.sc-flow-step:last-of-type { border-bottom: 0; }
.sc-flow-step.is-done { opacity: 1; }
.sc-flow-step.is-active {
  background: var(--tint);
  margin: 0 -14px;
  padding: 10px 14px;
  border-radius: var(--r-sm);
}

.sc-flow-n {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  color: var(--muted);
}

.sc-flow-step.is-done .sc-flow-n {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--on-primary);
}

.sc-flow-step strong { display: block; font-size: 13px; }
.sc-flow-step span { font-size: 12px; color: var(--muted); }
.sc-flow-media { font-style: normal; font-size: 18px; }

.sc-confirm {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.sc-confirm__btn {
  width: 100%;
  text-align: left;
  padding: 10px 12px 10px 34px;
  border-radius: var(--r-sm);
  border: 1px dashed var(--line);
  background: var(--surface);
  font: inherit;
  font-size: 13px;
  color: var(--muted);
  position: relative;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.sc-confirm__btn::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  border-radius: 50%;
  border: 2px solid var(--line);
}

.sc-confirm__btn:hover:not(:disabled):not(.is-done) {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--tint);
}

.sc-confirm__btn:disabled:not(.is-done) {
  opacity: 0.45;
  cursor: default;
}

.sc-confirm__btn.is-pulse:not(.is-done) {
  animation: sc-pulse 0.9s ease infinite;
  border-color: var(--primary);
  color: var(--primary);
}

.sc-confirm__btn.is-done {
  border-style: solid;
  border-color: color-mix(in srgb, var(--ok) 40%, var(--line));
  background: color-mix(in srgb, var(--ok) 8%, var(--surface));
  color: var(--text);
  cursor: default;
  animation: none;
}

.sc-confirm__btn.is-done::before {
  border-color: var(--ok);
  background: var(--ok);
  box-shadow: inset 0 0 0 2px var(--surface);
}

.sc-art.is-interactive .sc-confirm__btn:not(:disabled):not(.is-done) {
  cursor: pointer;
}

/* Instagram · Drive → post */
.sc-ig-panel {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg-alt);
}

.sc-ig-panel__label {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.sc-ig-panel__label em {
  font-style: normal;
  opacity: 0.7;
  text-transform: none;
  letter-spacing: 0;
}

.sc-ig-shots {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}

.sc-ig-shot {
  position: relative;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.sc-ig-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sc-ig-shot em {
  position: absolute;
  left: 6px;
  bottom: 4px;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 2px rgb(0 0 0 / 55%);
}

.sc-ig-edit {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 10px;
  align-items: end;
}

.sc-ig-frame {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #111;
}

.sc-ig-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sc-ig-frame--post { aspect-ratio: 1; max-height: 140px; }
.sc-ig-frame--reel { aspect-ratio: 9 / 16; max-height: 140px; justify-self: center; width: auto; }

.sc-art--compact .sc-art__body { padding: 12px 14px; }
.sc-art--ig-step .sc-ig-shots { margin: 0; }
.sc-art--ig-step .sc-ig-edit { margin: 0; }

.sc-ig-frame span {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgb(0 0 0 / 55%);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}

.sc-ig-copy strong {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
}

.sc-ig-copy p {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--text);
}

.sc-ig-copy span {
  display: block;
  font-size: 12px;
  color: #1967d2;
}

.sc-ig-schedule {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: baseline;
}

.sc-ig-schedule strong { font-size: 15px; }
.sc-ig-schedule span { font-size: 12px; color: var(--muted); }

@media (max-width: 560px) {
  .sc-ig-shots { grid-template-columns: repeat(3, 1fr); }
  .sc-ig-edit { grid-template-columns: 1fr 1fr; }
}

/* Chat ↔ WhatsApp + CRM */
.sc-bridge {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.sc-bridge__label {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--subtle);
  font-weight: 650;
}

.sc-bridge__arrow {
  font-size: 18px;
  color: var(--primary);
  font-weight: 700;
}

.sc-bridge__bubble {
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.4;
  min-height: 2.6em;
}

.sc-bridge__bubble--you {
  background: var(--primary);
  color: var(--on-primary);
  border-bottom-right-radius: 4px;
}

.sc-bridge__bubble--wa {
  background: #dcf8c6;
  color: var(--text);
  border-bottom-left-radius: 4px;
}

.sc-bridge__bubble--in {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
}

.sc-bridge-reply {
  margin-bottom: 8px;
  animation: sc-in 0.35s ease;
}

.sc-art--nested {
  border-radius: var(--r-sm);
}

.sc-art--nested .sc-art__head {
  font-size: 11px;
}

@media (max-width: 720px) {
  .sc-bridge {
    grid-template-columns: 1fr;
  }
  .sc-bridge__arrow {
    justify-self: center;
    transform: rotate(90deg);
  }
}

/* Imóvel · 5 fotos */
.sc-photo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.sc-photo-grid span {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  aspect-ratio: 4 / 3;
  min-height: 132px;
  padding: 14px 10px;
  border-radius: var(--r-md);
  background:
    linear-gradient(160deg, color-mix(in srgb, var(--primary) 12%, var(--bg-alt)), var(--bg-alt));
  border: 1px dashed var(--line);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  color: var(--subtle);
  opacity: 0.45;
  transition: opacity 0.3s, border-color 0.3s, background 0.3s, transform 0.3s;
}

.sc-photo-grid span::before {
  content: '🖼️';
  font-size: 36px;
  line-height: 1;
  filter: grayscale(0.35);
}

.sc-photo-grid span.is-on {
  opacity: 1;
  border-style: solid;
  border-color: color-mix(in srgb, var(--primary) 40%, var(--line));
  background:
    linear-gradient(160deg, color-mix(in srgb, var(--primary) 18%, #fff), var(--tint));
  color: var(--primary);
  font-weight: 650;
  transform: scale(1.02);
  box-shadow: var(--shadow);
}

.sc-photo-grid span.is-on::before {
  filter: none;
  font-size: 42px;
}

.sc-imovel {
  margin-top: 12px;
  padding: 12px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--bg-alt);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s, transform 0.4s;
}

.sc-imovel.is-on {
  opacity: 1;
  transform: none;
}

.sc-imovel__seg {
  margin: 0 0 4px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--subtle);
  font-weight: 650;
}

.sc-imovel > strong {
  display: block;
  font-size: 15px;
  margin-bottom: 8px;
}

.sc-imovel ul {
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 4px;
}

.sc-imovel li {
  font-size: 13px;
  color: var(--muted);
  padding-left: 14px;
  position: relative;
}

.sc-imovel li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.sc-imovel__ask p {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--text);
}

.sc-imovel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sc-imovel__btn {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font: inherit;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
}

.sc-imovel__btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.sc-imovel__btn--ok {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--on-primary);
  font-weight: 600;
}

.sc-imovel__btn--ok:hover {
  color: var(--on-primary);
  filter: brightness(1.05);
}

.sc-imovel__btn--ok.is-pulse {
  animation: sc-pulse 0.9s ease infinite;
}

.sc-imovel__edit {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.sc-imovel__edit label {
  display: grid;
  gap: 4px;
  font-size: 12px;
  color: var(--muted);
}

.sc-imovel__edit input {
  min-height: 36px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font: inherit;
  font-size: 14px;
  color: var(--text);
  background: var(--surface);
}

.sc-imovel__done {
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  background: color-mix(in srgb, var(--ok) 12%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--ok) 35%, var(--line));
  color: var(--ok);
  font-size: 13px;
  font-weight: 600;
}

@media (max-width: 900px) {
  .sc-photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sc-photo-grid span { min-height: 120px; }
}

@media (max-width: 560px) {
  .sc-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Relatórios */
.sc-rep-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.sc-rep-tab {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}

.sc-rep-tab.is-on {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--on-primary);
}

.sc-rep-panel { display: none; }
.sc-rep-panel.is-on { display: block; animation: sc-in 0.35s ease; }

.sc-rep-kpi {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.sc-rep-kpi > div {
  text-align: center;
  padding: 10px 8px;
  border-radius: var(--r-sm);
  background: var(--bg-alt);
  border: 1px solid var(--line);
}

.sc-rep-kpi strong {
  display: block;
  font-size: 18px;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.sc-rep-kpi span { font-size: 11px; color: var(--subtle); }

.sc-hbar { display: grid; gap: 10px; }

.sc-hbar__row {
  display: grid;
  grid-template-columns: 72px 1fr 64px;
  gap: 8px;
  align-items: center;
  font-size: 12px;
}

.sc-hbar__row > span { color: var(--muted); font-weight: 600; }
.sc-hbar__row > b { text-align: right; color: var(--subtle); font-weight: 550; }

.sc-hbar__row > i {
  position: relative;
  display: block;
  height: 18px;
  border-radius: 999px;
  background: var(--bg-alt);
  overflow: hidden;
}

.sc-hbar__row > i::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.sc-hbar.is-anim .sc-hbar__row > i::before {
  width: var(--w);
}

.sc-hbar__row > i em {
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s 0.35s;
}

.sc-hbar.is-anim .sc-hbar__row > i em { opacity: 1; }

.sc-funnel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.sc-funnel__step {
  width: var(--w);
  min-width: 40%;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  background: linear-gradient(90deg, var(--primary), color-mix(in srgb, var(--accent) 70%, var(--primary)));
  color: var(--on-primary);
  text-align: center;
  box-shadow: 0 6px 16px -12px rgb(0 88 188 / 55%);
  opacity: 0;
  transform: scaleX(0.85);
  transition: opacity 0.35s ease, transform 0.45s ease;
}

.sc-funnel.is-anim .sc-funnel__step {
  opacity: 1;
  transform: none;
}

.sc-funnel.is-anim .sc-funnel__step:nth-child(2) { transition-delay: 0.08s; }
.sc-funnel.is-anim .sc-funnel__step:nth-child(3) { transition-delay: 0.16s; }
.sc-funnel.is-anim .sc-funnel__step:nth-child(4) { transition-delay: 0.24s; }
.sc-funnel.is-anim .sc-funnel__step:nth-child(5) { transition-delay: 0.32s; }

.sc-funnel__step strong { display: block; font-size: 16px; }
.sc-funnel__step span { font-size: 11px; opacity: 0.85; }

.sc-funnel--rich .sc-funnel__step {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  text-align: left;
  padding: 10px 14px;
}

.sc-funnel--rich .sc-funnel__step span { grid-column: 1; }
.sc-funnel--rich .sc-funnel__step strong { grid-column: 1; }
.sc-funnel--rich .sc-funnel__step em {
  grid-row: 1 / span 2;
  grid-column: 2;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  opacity: 0.9;
}

.sc-rep-note {
  margin: 12px 0 0;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

.sc-rep-split {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  align-items: center;
}

.sc-rep-split--pie {
  grid-template-columns: 180px 1fr;
  gap: 18px;
}

.sc-pie {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 0 auto;
}

.sc-pie__svg { width: 100%; height: 100%; filter: drop-shadow(0 8px 18px rgb(0 88 188 / 12%)); }

.sc-pie__slice {
  transform-origin: 80px 80px;
  transform: scale(0.85);
  opacity: 0;
  transition: filter 0.2s ease;
}

.sc-pie__svg.is-anim .sc-pie__slice,
.is-anim .sc-pie__slice {
  animation: sc-pie-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.is-anim .sc-pie__slice:nth-child(1),
.sc-pie__svg.is-anim .sc-pie__slice:nth-child(1) { animation-delay: 0.05s; }
.is-anim .sc-pie__slice:nth-child(2),
.sc-pie__svg.is-anim .sc-pie__slice:nth-child(2) { animation-delay: 0.12s; }
.is-anim .sc-pie__slice:nth-child(3),
.sc-pie__svg.is-anim .sc-pie__slice:nth-child(3) { animation-delay: 0.19s; }
.is-anim .sc-pie__slice:nth-child(4),
.sc-pie__svg.is-anim .sc-pie__slice:nth-child(4) { animation-delay: 0.26s; }
.is-anim .sc-pie__slice:nth-child(5),
.sc-pie__svg.is-anim .sc-pie__slice:nth-child(5) { animation-delay: 0.33s; }

.sc-pie__slice:hover { filter: brightness(1.08); }

@keyframes sc-pie-in {
  from { opacity: 0; transform: scale(0.72); }
  to { opacity: 1; transform: scale(1); }
}

.sc-pie__center {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  pointer-events: none;
}

.sc-pie__center strong {
  font-size: 18px;
  color: var(--primary);
  letter-spacing: -0.03em;
}

.sc-pie__center span {
  font-size: 11px;
  color: var(--subtle);
}

.sc-rank {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.sc-rank li {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  gap: 8px;
  align-items: center;
  font-size: 13px;
}

.sc-rank i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.sc-rank strong { font-weight: 600; }
.sc-rank span { color: var(--muted); font-weight: 550; }

.sc-rank--rich li {
  grid-template-columns: 10px 1fr;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--surface);
}

.sc-rank--rich li > span {
  grid-column: 2;
  font-size: 12px;
}

.sc-rank--rich li > div {
  display: grid;
  gap: 4px;
}

.sc-rank--rich li > div b {
  display: block;
  height: 6px;
  border-radius: 999px;
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}

.sc-rank--rich li > div b::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--accent, #7c4dff));
}

@media (max-width: 720px) {
  .sc-rep-kpi,
  .sc-kpi--rich,
  .sc-chart--duo { grid-template-columns: 1fr; }
  .sc-rep-split,
  .sc-rep-split--pie { grid-template-columns: 1fr; justify-items: center; }
  .sc-hbar__row { grid-template-columns: 64px 1fr; }
  .sc-hbar__row > b { display: none; }
}

@keyframes sc-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@keyframes sc-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

@keyframes sc-grow {
  from { height: 0; opacity: 0.3; }
}

/* ——— Slides (mesmo DS) ——— */
/* Slides Integra / Produtos — tokens do site (claro), sem fundo azul escuro */
.stand-slide {
  position: absolute;
  inset: 0;
  height: 100%;
  min-height: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 48px 40px;
  overflow: auto;
  background: var(--tint);
  color: var(--text);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.stand-slide--prod {
  background: var(--bg);
}

.stand-slide--brand {
  display: none;
  padding: 0;
  align-items: stretch;
  justify-content: stretch;
  background: var(--bg);
}

.stand-slide--brand.is-active {
  display: flex;
}

.stand-brand-hero.hero {
  flex: 1 1 auto;
  width: 100%;
  min-height: 0; /* anula min-height 100svh do .hero do site */
  height: 100%;
  align-items: center;
  align-self: stretch;
}

.stand-brand-hero .hero__inner {
  padding: 48px 0 56px;
  animation: stand-brand-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.stand-brand-hero .hero__ribbon {
  animation: stand-ribbon-drift 18s ease-in-out infinite alternate;
}

.stand-brand-hero .tag {
  display: inline-block;
  margin-bottom: 16px;
  animation: stand-brand-in 0.55s ease 0.05s both;
}

@keyframes stand-brand-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes stand-ribbon-drift {
  from { transform: translate3d(0, 0, 0) rotate(0deg); }
  to { transform: translate3d(-2%, 1.5%, 0) rotate(-1.2deg); }
}

.stand-slide.is-active {
  display: flex;
  opacity: 1;
}

.stand-slide__inner {
  width: min(1100px, 100%);
  text-align: center;
}

.stand-slide--integra {
  overflow: hidden;
  padding: clamp(12px, 2.2vh, 28px) clamp(16px, 3vw, 40px);
  background:
    radial-gradient(120% 80% at 50% -10%, color-mix(in srgb, var(--primary) 12%, transparent), transparent 55%),
    var(--bg);
}

.stand-slide--integra .stand-slide__inner {
  height: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(10px, 1.8vh, 20px);
  min-height: 0;
}

.stand-slide--integra .stand-slide__intro {
  flex: none;
}

.stand-slide__kicker {
  margin: 0 0 6px;
  font-size: clamp(11px, 1.4vh, 13px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 650;
}

.stand-slide__title {
  margin: 0 0 8px;
  font-size: clamp(22px, 3.4vh, 40px);
  font-weight: 650;
  letter-spacing: -0.025em;
  color: var(--text);
  line-height: 1.15;
}

.stand-slide__lead {
  margin: 0 auto;
  max-width: 34em;
  color: var(--muted);
  font-size: clamp(13px, 1.7vh, 16px);
  line-height: 1.45;
}

.stand-slide--integra .stand-slide__lead {
  margin-bottom: 0;
}

.integra-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(4, minmax(0, 1fr));
  gap: clamp(8px, 1.2vh, 14px);
}

.integra-tile {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  grid-template-areas:
    "logo title"
    "rest rest";
  column-gap: 10px;
  row-gap: 6px;
  align-content: center;
  align-items: start;
  text-align: left;
  padding: clamp(10px, 1.4vh, 14px) clamp(10px, 1.2vw, 14px);
  border-radius: 14px;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  box-shadow: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease, border-color 0.3s, box-shadow 0.3s;
  min-height: 0;
}

.integra-tile.is-on {
  opacity: 1;
  transform: none;
  border-color: color-mix(in srgb, var(--line) 55%, transparent);
  box-shadow: 0 8px 22px -16px rgb(16 24 40 / 30%);
}

.integra-tile__logo {
  grid-area: logo;
  width: clamp(48px, 7.5vh, 64px);
  height: clamp(48px, 7.5vh, 64px);
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #f8fafc;
  border: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  overflow: hidden;
  box-shadow: none;
}

.integra-tile__logo img {
  width: 76%;
  height: 76%;
  object-fit: contain;
  display: block;
}

.integra-tile strong {
  grid-area: title;
  align-self: center;
  margin: 0;
  font-size: clamp(12px, 1.55vh, 14px);
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.integra-tile small {
  grid-area: rest;
  margin: 0;
  font-size: clamp(10px, 1.2vh, 11px);
  color: var(--subtle);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 550;
}

.stand-slide--prod {
  overflow: hidden;
  padding: 0;
  align-items: stretch;
  justify-content: stretch;
  background: #0b1220;
}

.stand-slide--prod .stand-slide__inner {
  position: relative;
  height: 100%;
  max-height: 100%;
  min-height: 0;
  width: 100%;
  max-width: none;
  display: block;
}

.stand-slide--prod .stand-slide__kicker {
  position: absolute;
  top: clamp(14px, 2.2vh, 24px);
  left: clamp(16px, 3vw, 36px);
  z-index: 4;
  margin: 0;
  color: #fff;
  text-shadow: 0 1px 8px rgb(0 0 0 / 45%);
}

.prod-stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.prod-card {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 0;
  margin: 0;
  max-width: none;
  padding: 0;
  overflow: hidden;
  border-radius: 0;
  background: #fff;
  border: 0;
  box-shadow: none;
  text-align: left;
  opacity: 0;
  transform: translateX(28px);
  pointer-events: none;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.prod-card.is-on {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.prod-card.is-out {
  opacity: 0;
  transform: translateX(-28px);
}

.prod-card__media {
  min-height: 0;
  background: #111;
  position: relative;
}

.prod-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.prod-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 55%, rgb(255 255 255 / 18%)),
    linear-gradient(180deg, rgb(0 0 0 / 35%) 0%, transparent 28%);
  pointer-events: none;
}

.prod-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  padding: clamp(28px, 5vh, 64px) clamp(24px, 4vw, 56px);
  overflow: hidden;
  background: #fff;
}

.prod-card__seg {
  margin: 0 0 8px;
  font-size: clamp(12px, 1.5vh, 13px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
}

.prod-card h2 {
  margin: 0 0 12px;
  font-size: clamp(32px, 5.5vh, 52px);
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1.05;
  font-weight: 600;
}

.prod-card__body > p {
  margin: 0 0 clamp(14px, 2.2vh, 22px);
  color: var(--muted);
  line-height: 1.5;
  font-size: clamp(15px, 2vh, 18px);
  max-width: 28em;
}

.prod-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: clamp(4px, 0.7vh, 8px);
}

.prod-card li {
  padding-left: 16px;
  position: relative;
  font-size: clamp(12px, 1.55vh, 14px);
  color: var(--text);
  line-height: 1.35;
}

.prod-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
}

.stand-slide--prod .prod-dots {
  position: absolute;
  left: 50%;
  bottom: clamp(14px, 2.4vh, 28px);
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgb(255 255 255 / 82%);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgb(16 24 40 / 12%);
}

.prod-dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 0;
  flex: none;
}

.prod-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
}

.prod-dots span.is-on {
  background: var(--primary);
  transform: scale(1.25);
}

/* Clientes / cases — wall 1000×1000 */
.stand-slide--clientes {
  overflow: hidden;
  padding: 0;
  align-items: stretch;
  justify-content: stretch;
  background: #0f1218;
}

.stand-slide--clientes .stand-slide__inner {
  position: relative;
  height: 100%;
  max-height: 100%;
  min-height: 0;
  width: 100%;
  max-width: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.stand-slide--clientes .stand-slide__kicker {
  position: absolute;
  top: clamp(14px, 2.2vh, 24px);
  left: clamp(16px, 3vw, 36px);
  z-index: 4;
  margin: 0;
  color: #fff;
  text-shadow: 0 1px 8px rgb(0 0 0 / 45%);
}

.clientes-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  align-content: stretch;
}

.clientes-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #111;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.clientes-card.is-on {
  opacity: 1;
  transform: none;
}

.clientes-card__media {
  margin: 0;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  display: grid;
  place-items: center;
  background: #fff;
}

.clientes-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: clamp(12px, 2.5vh, 28px);
  box-sizing: border-box;
}

.clientes-card__meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 28px 14px 16px;
  background: linear-gradient(transparent, rgb(0 0 0 / 72%));
  color: #fff;
  text-align: left;
}

.clientes-card__meta strong {
  display: block;
  font-size: clamp(14px, 1.8vh, 18px);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.clientes-card__meta small {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.8;
  font-weight: 550;
}

@media (max-width: 960px) {
  .stand-shell { grid-template-columns: 1fr; }
  .stand-appnav { display: none; }
  .stand-conv { grid-template-columns: 1fr; }
  .stand-rail { display: none; }
  .stand-wa { grid-template-columns: 1fr; }
  .stand-wa__list { display: none; }
  .stand-fin-grid { grid-template-columns: 1fr; }
  .stand-kpi { grid-template-columns: 1fr; }
  .stand-slide--integra .integra-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }
  .stand-slide--integra .integra-tile strong { font-size: 11px; }
  .stand-slide--integra .integra-tile small { display: none; }
  .stand-slide--prod .prod-card { grid-template-columns: 0.95fr 1.05fr; }
  .stand-slide--prod .prod-card__body { padding: 24px 20px 56px; }
  .clientes-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; }
  .stand-slide--clientes .clientes-grid { align-content: stretch; }
  .sc-art--crm .sc-crm { grid-template-columns: 1fr; }
}

/* —— Stand polish (CDP · sem mudar estrutura) —— */
.stand {
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
}

.stand__progress {
  height: 2px;
  background: transparent;
}

.stand__progress span {
  background: linear-gradient(90deg, var(--primary), color-mix(in srgb, var(--primary) 55%, #7c4dff));
  box-shadow: none;
}

.stand-appnav {
  background: color-mix(in srgb, var(--bg) 55%, #fff);
  border-right-color: color-mix(in srgb, var(--line) 70%, transparent);
  padding: 18px 10px;
}

.stand-appnav__list button {
  border-radius: 10px;
  padding: 8px 10px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.stand-appnav__list button.is-on {
  background: #fff;
  color: var(--text);
  font-weight: 600;
  box-shadow: 0 1px 0 rgb(16 24 40 / 4%), 0 0 0 1px color-mix(in srgb, var(--line) 80%, transparent);
}

.stand-appnav__list button.is-on .ico {
  color: var(--primary);
}

.stand-hero h1 {
  letter-spacing: -0.038em;
  font-weight: 580;
}

.stand-hero h1 em {
  font-style: italic;
  font-weight: 520;
}

.stand-composer {
  border-radius: 14px;
  border-color: color-mix(in srgb, var(--line) 88%, var(--primary));
  box-shadow: 0 1px 0 rgb(16 24 40 / 3%), 0 18px 40px -28px rgb(16 24 40 / 28%);
}

.stand-composer__engine {
  margin-left: auto;
  padding: 3px 7px;
  border-radius: 5px;
  border: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  background: var(--bg-alt);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: var(--subtle);
  text-transform: none;
}

.stand-composer__send {
  border-radius: 8px;
  padding: 7px 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.stand-chips {
  gap: 6px;
}

.stand-chips button {
  border-radius: 8px;
  padding: 6px 11px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  background: transparent;
  border-color: color-mix(in srgb, var(--line) 90%, transparent);
  color: var(--muted);
}

.stand-chips button:hover {
  background: #fff;
  border-color: color-mix(in srgb, var(--primary) 35%, var(--line));
  color: var(--text);
}

.sc-msg--user {
  border-radius: 12px 12px 3px 12px;
  box-shadow: none;
}

.sc-msg__text {
  border-radius: 12px 12px 12px 3px;
  background: #fff;
  box-shadow: none;
}

.sc-art {
  border-radius: 14px;
  box-shadow: 0 1px 0 rgb(16 24 40 / 4%);
  border-color: color-mix(in srgb, var(--line) 92%, transparent);
}

.sc-art__head {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 650;
  color: var(--subtle);
}

.sc-confirm__btn {
  border-radius: 10px;
  border-style: solid;
  border-color: color-mix(in srgb, var(--line) 88%, transparent);
}

.sc-confirm__btn.is-pulse:not(.is-done) {
  animation: sc-pulse 1.4s ease infinite;
}

.stand-slide__kicker {
  font-weight: 700;
  letter-spacing: 0.14em;
}

.stand-slide__title {
  letter-spacing: -0.038em;
  font-weight: 600;
}

.stand-slide--integra .integra-tile {
  background: color-mix(in srgb, #fff 92%, var(--bg));
}

.stand-slide--integra .integra-tile.is-on {
  background: #fff;
}

.stand-slide--integra .stand-slide__intro {
  max-width: 40rem;
  margin: 0 auto;
}

.stand-slide--prod .prod-card {
  border-radius: 0;
  border: 0;
  box-shadow: none;
}

.stand-slide--prod .prod-card__seg {
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.1em;
}

.stand-slide--prod .prod-card h2 {
  font-weight: 600;
  letter-spacing: -0.04em;
}

.stand-slide--prod .prod-card li::before {
  width: 5px;
  height: 5px;
  top: 0.55em;
  background: color-mix(in srgb, var(--primary) 75%, #000);
}

.stand-slide--prod .prod-dots span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--line) 70%, transparent);
  transition: transform 0.25s, background 0.25s, width 0.25s;
}

.stand-slide--prod .prod-dots span.is-on {
  width: 18px;
  border-radius: 999px;
  background: var(--primary);
  transform: none;
}

.stand-brand-hero .hero__title {
  letter-spacing: -0.04em;
  font-weight: 580;
}

.stand-brand-hero .tag {
  letter-spacing: 0.04em;
  font-weight: 600;
}

.stand-drive {
  border: 0;
}

.stand-drive__top {
  padding: 12px 18px;
}

.stand-drive__new {
  font-weight: 600;
  letter-spacing: -0.01em;
}
