/* ReZapp UI v2 — seis telas aprovadas; origens em css/pages/*.css; somente apresentação. */


/* ------ flows ------ */
/*
 * ReZapp UI v2 — Fluxos
 * Escopo intencionalmente restrito à rota /flows.
 * Não cobre editor Drawflow, formulários modais ou cards de outras rotas.
 */

html.rz-page-flows {
  --rz-flows-base: #06090c;
  --rz-flows-panel: #0f171b;
  --rz-flows-sidebar: #0b1115;
  --rz-flows-raised: #142127;
  --rz-flows-mint: #00ffc8;
  --rz-flows-mint-soft: #45e8bd;
  --rz-flows-ink: #f0f4f5;
  --rz-flows-subtle: #a4b2b5;
  --rz-flows-dim: #748589;
  --rz-flows-line: rgba(255, 255, 255, 0.09);
  color-scheme: dark;
}

/* A área principal permanece deliberadamente fora do editor e dos portais. */
html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 {
  min-width: 0;
  padding: 36px 38px 62px;
  color: var(--rz-flows-ink);
  font-family: "Poppins", ui-sans-serif, system-ui, sans-serif;
  background:
    radial-gradient(ellipse 62% 34% at 97% -12%, rgba(0, 255, 200, 0.065), transparent 68%),
    radial-gradient(ellipse 34% 21% at 5% 1%, rgba(56, 239, 189, 0.028), transparent 72%),
    var(--rz-flows-base);
}

html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 > .space-y-6 {
  width: min(100%, 1510px);
  margin-inline: auto;
}

/* Cabeçalho editorial da página nativa. */
html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 > .space-y-6 > div:first-child {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 2px 0 24px;
  border-bottom: 1px solid var(--rz-flows-line);
}

html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 > .space-y-6 > div:first-child::before {
  content: "AUTOMAÇÕES / JORNADAS";
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: var(--rz-flows-mint-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1;
}

html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 > .space-y-6 > div:first-child::after {
  content: "";
  order: 3;
  width: 50px;
  height: 2px;
  margin-top: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--rz-flows-mint), rgba(0, 255, 200, 0));
}

html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 > .space-y-6 > div:first-child h1 {
  order: 1;
  max-width: 760px;
  margin: 0;
  color: var(--rz-flows-ink);
  font-size: clamp(31px, 3.1vw, 43px);
  font-weight: 700;
  letter-spacing: -0.052em;
  line-height: 1.07;
}

html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 > .space-y-6 > div:first-child p {
  order: 2;
  max-width: 620px;
  margin: 0;
  color: var(--rz-flows-subtle);
  font-size: 13px;
  line-height: 1.7;
}

/* Controles da listagem: CTA nativo, busca existente/futura e grade. */
html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 > .space-y-6 > .space-y-4 {
  display: grid;
  gap: 17px;
}

html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 > .space-y-6 > .space-y-4 > .flex.items-center.justify-end {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 46px;
  margin: 0;
}

html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 > .space-y-6 > .space-y-4 > .flex.items-center.justify-end > button {
  min-height: 40px;
  padding: 0 17px;
  border: 1px solid rgba(0, 255, 200, 0.32);
  border-radius: 10px;
  color: #06110e;
  background: linear-gradient(116deg, var(--rz-flows-mint), #22cda5);
  box-shadow: 0 8px 24px rgba(0, 255, 200, 0.15);
  font-family: inherit;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
  transition: transform 160ms ease-out, box-shadow 160ms ease-out, filter 160ms ease-out;
}

html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 > .space-y-6 > .space-y-4 > .flex.items-center.justify-end > button:hover {
  filter: brightness(1.045);
  box-shadow: 0 12px 30px rgba(0, 255, 200, 0.25);
  transform: translateY(-1px);
}

html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 > .space-y-6 > .space-y-4 > .flex.items-center.justify-end > button:active {
  transform: translateY(0) scale(0.98);
}

/* A tela atual pode expor a busca em uma atualização sem alterar sua semântica. */
html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 > .space-y-6 > .space-y-4 :is(.rz-flows-search, [data-flows-search], div:has(> input[type="search"]), div:has(> input[placeholder*="Buscar"]), div:has(> input[placeholder*="Pesquisar"])) {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: min(100%, 300px);
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--rz-flows-line);
  border-radius: 10px;
  color: var(--rz-flows-dim);
  background: rgba(6, 9, 12, 0.76);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.018);
  transition: border-color 160ms ease-out, box-shadow 160ms ease-out, background-color 160ms ease-out;
}

html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 > .space-y-6 > .space-y-4 :is(.rz-flows-search, [data-flows-search], div:has(> input[type="search"]), div:has(> input[placeholder*="Buscar"]), div:has(> input[placeholder*="Pesquisar"])):focus-within {
  border-color: rgba(0, 255, 200, 0.62);
  background: #0a1114;
  box-shadow: 0 0 0 3px rgba(0, 255, 200, 0.1);
}

html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 > .space-y-6 > .space-y-4 :is(input[type="search"], input[placeholder*="Buscar"], input[placeholder*="Pesquisar"]) {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--rz-flows-ink);
  background: transparent;
  font: 500 12px/1.35 "Poppins", ui-sans-serif, system-ui, sans-serif;
}

html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 > .space-y-6 > .space-y-4 :is(input[type="search"], input[placeholder*="Buscar"], input[placeholder*="Pesquisar"])::placeholder {
  color: #7f9194;
  opacity: 1;
}

/* Grade de fluxos e cartões React nativos (.cursor-pointer.group). */
html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 > .space-y-6 > .space-y-4 > .grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}

html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 > .space-y-6 > .space-y-4 > .grid > div.cursor-pointer.group {
  min-width: 0;
  min-height: 154px;
  padding: 20px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--rz-flows-line);
  border-radius: 13px;
  color: var(--rz-flows-ink);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.025), transparent 44%),
    var(--rz-flows-panel);
  box-shadow: 0 13px 34px rgba(0, 0, 0, 0.15);
  transition: border-color 170ms ease-out, background-color 170ms ease-out, box-shadow 170ms ease-out, transform 170ms ease-out;
}

html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 > .space-y-6 > .space-y-4 > .grid > div.cursor-pointer.group:hover {
  border-color: rgba(0, 255, 200, 0.31);
  background:
    linear-gradient(145deg, rgba(0, 255, 200, 0.078), transparent 46%),
    #101b1e;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.23), 0 0 0 1px rgba(0, 255, 200, 0.035);
  transform: translateY(-2px);
}

html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 > .space-y-6 > .space-y-4 > .grid > div.cursor-pointer.group > .flex.items-center.justify-between {
  align-items: flex-start;
  gap: 12px;
}

html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 > .space-y-6 > .space-y-4 > .grid > div.cursor-pointer.group > .flex.items-center.justify-between > .flex.items-center.gap-4 {
  min-width: 0;
  gap: 13px;
}

/* Indicador numérico de leads do fluxo. */
html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 > .space-y-6 > .space-y-4 > .grid > div.cursor-pointer.group .w-12.h-12.rounded-full {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(0, 255, 200, 0.18);
  color: var(--rz-flows-mint);
  background: linear-gradient(145deg, rgba(0, 255, 200, 0.13), rgba(0, 255, 200, 0.045));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035), 0 0 0 4px rgba(0, 255, 200, 0.035);
  transition: border-color 170ms ease-out, background-color 170ms ease-out, box-shadow 170ms ease-out;
}

html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 > .space-y-6 > .space-y-4 > .grid > div.cursor-pointer.group:hover .w-12.h-12.rounded-full {
  border-color: rgba(0, 255, 200, 0.36);
  background: linear-gradient(145deg, rgba(0, 255, 200, 0.18), rgba(0, 255, 200, 0.065));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 0 5px rgba(0, 255, 200, 0.055);
}

html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 > .space-y-6 > .space-y-4 > .grid > div.cursor-pointer.group .w-12.h-12.rounded-full > span {
  color: var(--rz-flows-mint);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.035em;
}

html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 > .space-y-6 > .space-y-4 > .grid > div.cursor-pointer.group .text-xs.text-slate-500.mb-1 {
  margin: 0 0 5px;
  color: var(--rz-flows-dim);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.025em;
  line-height: 1.3;
}

html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 > .space-y-6 > .space-y-4 > .grid > div.cursor-pointer.group h3 {
  color: var(--rz-flows-ink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.32;
  white-space: normal;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

/* Dados já renderizados pelo React, sem solicitação de API e sem substituir o clique do card. */
html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 > .space-y-6 > .space-y-4 > .grid > div.cursor-pointer.group::before {
  content: attr(data-rz-v2-leads) ' leads no fluxo';
  position: absolute;
  left: 19px;
  bottom: 14px;
  color: var(--rz-flows-subtle);
  font-size: 10px;
}
html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 > .space-y-6 > .space-y-4 > .grid > div.cursor-pointer.group::after {
  content: 'Abrir fluxo ↗';
  position: absolute;
  right: 18px;
  bottom: 14px;
  color: var(--rz-flows-mint-soft);
  font-size: 10px;
  font-weight: 600;
}

/* Badge de status preserva Ativo/Inativo, alterando apenas a aparência. */
html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 > .space-y-6 > .space-y-4 > .grid > div.cursor-pointer.group h3 + span {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 3px 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.015em;
  line-height: 1;
}

html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 > .space-y-6 > .space-y-4 > .grid > div.cursor-pointer.group h3 + span[class*="emerald"] {
  border-color: rgba(0, 255, 200, 0.18);
  color: #63e9c5;
  background: rgba(0, 255, 200, 0.095);
}

html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 > .space-y-6 > .space-y-4 > .grid > div.cursor-pointer.group h3 + span[class*="red"] {
  border-color: rgba(227, 104, 89, 0.22);
  color: #ed9a89;
  background: rgba(194, 89, 60, 0.12);
}

/* Toggle operacional: nenhum tamanho, posição ou comportamento é alterado. */
html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 > .space-y-6 > .space-y-4 > .grid > div.cursor-pointer.group > .flex.items-center.justify-between > .flex.items-center.gap-2 > div.relative.w-11.h-6 {
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25);
  transition: border-color 160ms ease-out, box-shadow 160ms ease-out, background-color 160ms ease-out;
}

html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 > .space-y-6 > .space-y-4 > .grid > div.cursor-pointer.group > .flex.items-center.justify-between > .flex.items-center.gap-2 > div.relative.w-11.h-6.bg-emerald-500 {
  border-color: rgba(0, 255, 200, 0.34);
  background: #0ea97f;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2), 0 0 0 3px rgba(0, 255, 200, 0.055);
}

html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 > .space-y-6 > .space-y-4 > .grid > div.cursor-pointer.group > .flex.items-center.justify-between > .flex.items-center.gap-2 > div.relative.w-11.h-6.bg-red-500 {
  border-color: rgba(227, 104, 89, 0.3);
  background: #8e4b43;
}

html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 > .space-y-6 > .space-y-4 > .grid > div.cursor-pointer.group > .flex.items-center.justify-between > .flex.items-center.gap-2 > div.relative.w-11.h-6 > div.absolute {
  background: #f6fbfa;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 > .space-y-6 > .space-y-4 > .grid > div.cursor-pointer.group > .flex.items-center.justify-between > .flex.items-center.gap-2 > div.relative.w-11.h-6:hover {
  border-color: rgba(0, 255, 200, 0.48);
}

/* Ação de mais opções dentro do card; o portal abaixo tem regras próprias. */
html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 > .space-y-6 > .space-y-4 > .grid > div.cursor-pointer.group > .flex.items-center.justify-between > .flex.items-center.gap-2 > button {
  display: inline-grid;
  width: 31px;
  height: 31px;
  padding: 0;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--rz-flows-subtle);
  background: transparent;
  transition: color 160ms ease-out, border-color 160ms ease-out, background-color 160ms ease-out;
}

html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 > .space-y-6 > .space-y-4 > .grid > div.cursor-pointer.group > .flex.items-center.justify-between > .flex.items-center.gap-2 > button:hover {
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--rz-flows-mint-soft);
  background: rgba(0, 255, 200, 0.07);
}

/* Estado vazio pertencente somente ao corpo da listagem. */
html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 > .space-y-6 > .space-y-4 > div.text-center {
  display: grid;
  place-items: center;
  min-height: 275px;
  padding: 42px 25px;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  color: var(--rz-flows-subtle);
  background:
    radial-gradient(circle at 50% 39%, rgba(0, 255, 200, 0.065), transparent 29%),
    rgba(15, 23, 27, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 > .space-y-6 > .space-y-4 > div.text-center > div {
  width: 62px;
  height: 62px;
  margin: 0 auto 15px;
  border: 1px solid rgba(0, 255, 200, 0.14);
  color: var(--rz-flows-mint-soft);
  background: rgba(0, 255, 200, 0.055);
}

html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 > .space-y-6 > .space-y-4 > div.text-center p:first-of-type {
  margin-bottom: 6px;
  color: var(--rz-flows-ink);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 > .space-y-6 > .space-y-4 > div.text-center p:last-of-type {
  color: var(--rz-flows-dim);
  font-size: 11px;
  line-height: 1.55;
}

/* Menu portalizado de ações. Não altera width, position, top/left ou z-index inline. */
html.rz-page-flows div.fixed.w-44.bg-slate-800.border.border-slate-700.rounded-lg.shadow-xl.overflow-hidden {
  border-color: rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: #111a1e;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(0, 255, 200, 0.035);
}

html.rz-page-flows div.fixed.w-44.bg-slate-800.border.border-slate-700.rounded-lg.shadow-xl.overflow-hidden > button {
  min-height: 37px;
  color: var(--rz-flows-subtle);
  font-family: "Poppins", ui-sans-serif, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 500;
}

html.rz-page-flows div.fixed.w-44.bg-slate-800.border.border-slate-700.rounded-lg.shadow-xl.overflow-hidden > button:hover {
  color: var(--rz-flows-ink);
  background: rgba(255, 255, 255, 0.055);
}

html.rz-page-flows div.fixed.w-44.bg-slate-800.border.border-slate-700.rounded-lg.shadow-xl.overflow-hidden > button.text-emerald-400 {
  color: #5ce7c0;
}

html.rz-page-flows div.fixed.w-44.bg-slate-800.border.border-slate-700.rounded-lg.shadow-xl.overflow-hidden > button.text-emerald-400:hover {
  background: rgba(0, 255, 200, 0.085);
}

html.rz-page-flows div.fixed.w-44.bg-slate-800.border.border-slate-700.rounded-lg.shadow-xl.overflow-hidden > button.text-red-400 {
  color: #ed9a89;
}

html.rz-page-flows div.fixed.w-44.bg-slate-800.border.border-slate-700.rounded-lg.shadow-xl.overflow-hidden > button.text-red-400:hover {
  background: rgba(194, 89, 60, 0.13);
}

/* Foco visível somente para elementos interativos da própria listagem e menu de ações. */
html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 > .space-y-6 > .space-y-4 > .flex.items-center.justify-end > button:focus-visible,
html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 > .space-y-6 > .space-y-4 :is(input[type="search"], input[placeholder*="Buscar"], input[placeholder*="Pesquisar"]):focus-visible,
html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 > .space-y-6 > .space-y-4 > .grid > div.cursor-pointer.group > .flex.items-center.justify-between > .flex.items-center.gap-2 > button:focus-visible,
html.rz-page-flows div.fixed.w-44.bg-slate-800.border.border-slate-700.rounded-lg.shadow-xl.overflow-hidden > button:focus-visible {
  outline: 2px solid var(--rz-flows-mint);
  outline-offset: 3px;
}

@media (max-width: 1199px) {
  html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 {
    padding: 32px 28px 54px;
  }

  html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 > .space-y-6 > .space-y-4 > .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 {
    padding: 67px 20px 42px;
  }

  html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 > .space-y-6 > div:first-child {
    padding-bottom: 20px;
  }
}

@media (max-width: 680px) {
  html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 {
    padding: 66px 15px 36px;
  }

  html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 > .space-y-6 > div:first-child {
    gap: 9px;
    padding-top: 0;
  }

  html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 > .space-y-6 > div:first-child h1 {
    font-size: 33px;
  }

  html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 > .space-y-6 > div:first-child p {
    font-size: 12px;
    line-height: 1.62;
  }

  html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 > .space-y-6 > .space-y-4 > .flex.items-center.justify-end {
    justify-content: stretch;
    min-height: 42px;
  }

  html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 > .space-y-6 > .space-y-4 > .flex.items-center.justify-end > button {
    width: 100%;
  }

  html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 > .space-y-6 > .space-y-4 > .grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 > .space-y-6 > .space-y-4 > .grid > div.cursor-pointer.group {
    min-height: 156px;
    padding: 16px;
  }

  html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 > .space-y-6 > .space-y-4 > .grid > div.cursor-pointer.group > .flex.items-center.justify-between > .flex.items-center.gap-4 {
    gap: 11px;
  }

  html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 > .space-y-6 > .space-y-4 > .grid > div.cursor-pointer.group .w-12.h-12.rounded-full {
    width: 41px;
    height: 41px;
  }
}

@media (max-width: 390px) {
  html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 {
    padding-right: 13px;
    padding-left: 13px;
  }

  html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 > .space-y-6 > div:first-child::before {
    font-size: 9px;
    letter-spacing: 0.13em;
  }

  html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 > .space-y-6 > div:first-child h1 {
    font-size: 31px;
  }

  html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 > .space-y-6 > .space-y-4 > .grid > div.cursor-pointer.group {
    padding: 14px;
  }

  html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 > .space-y-6 > .space-y-4 > .grid > div.cursor-pointer.group h3 {
    font-size: 13px;
  }

  html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 > .space-y-6 > .space-y-4 > .grid > div.cursor-pointer.group h3 + span {
    padding-right: 6px;
    padding-left: 6px;
    font-size: 8.5px;
  }

  html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 > .space-y-6 > .space-y-4 > div.text-center {
    min-height: 235px;
    padding: 33px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 > .space-y-6 > .space-y-4 > .flex.items-center.justify-end > button,
  html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 > .space-y-6 > .space-y-4 :is(.rz-flows-search, [data-flows-search], div:has(> input[type="search"]), div:has(> input[placeholder*="Buscar"]), div:has(> input[placeholder*="Pesquisar"])),
  html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 > .space-y-6 > .space-y-4 > .grid > div.cursor-pointer.group,
  html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 > .space-y-6 > .space-y-4 > .grid > div.cursor-pointer.group .w-12.h-12.rounded-full,
  html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 > .space-y-6 > .space-y-4 > .grid > div.cursor-pointer.group > .flex.items-center.justify-between > .flex.items-center.gap-2 > div.relative.w-11.h-6,
  html.rz-page-flows #root > div.flex.h-screen > main.flex-1.overflow-y-auto.p-6 > .space-y-6 > .space-y-4 > .grid > div.cursor-pointer.group > .flex.items-center.justify-between > .flex.items-center.gap-2 > button {
    transition: none;
  }
}


/* ------ disparos ------ */
/* ReZapp — Disparos
   Escopo exclusivo da rota /disparos. A estrutura e os IDs são gerados por
   next-dispatches-tab.js; esta folha apenas refina sua apresentação. */

#rz-dispatches-overlay {
  --rz-disp-base: #06090c;
  --rz-disp-side: #0b1115;
  --rz-disp-panel: #0f171b;
  --rz-disp-panel-raised: #142127;
  --rz-disp-mint: #00ffc8;
  --rz-disp-ink: #f0f4f5;
  --rz-disp-subtle: #a4b2b5;
  --rz-disp-dim: #75868a;
  --rz-disp-line: rgba(255,255,255,.09);
  --rz-disp-radius: 14px;
  box-sizing: border-box;
  background:
    radial-gradient(ellipse 56% 27% at 88% -8%, rgba(0,255,200,.055), transparent 70%),
    var(--rz-disp-base) !important;
  color: var(--rz-disp-ink);
  font-family: 'Poppins', ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  padding: clamp(24px, 3.25vw, 46px) clamp(18px, 3.5vw, 52px) 54px !important;
  scrollbar-color: #314440 transparent;
  scrollbar-width: thin;
}

#rz-dispatches-overlay *,
#rz-dispatches-overlay *::before,
#rz-dispatches-overlay *::after {
  box-sizing: border-box;
}

#rz-dispatches-overlay > div {
  width: 100%;
  max-width: 1180px !important;
  margin: 0 auto !important;
}

/* Cabeçalho editorial */
#rz-dispatches-overlay > div > div:first-child {
  position: relative;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 24px;
  margin-bottom: 30px !important;
  padding-bottom: 23px;
  border-bottom: 1px solid var(--rz-disp-line);
}

#rz-dispatches-overlay > div > div:first-child > div:first-child {
  min-width: 0;
}

#rz-dispatches-overlay > div > div:first-child > div:first-child::before {
  content: 'OPERAÇÃO / FILA DE ENVIO';
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
  color: #57e7c1;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .155em;
  line-height: 1.2;
}

#rz-dispatches-overlay > div > div:first-child > div:first-child::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rz-disp-mint);
  box-shadow: 0 0 0 4px rgba(0,255,200,.09), 0 0 15px rgba(0,255,200,.42);
}

#rz-dispatches-overlay h1 {
  margin: 0 !important;
  color: var(--rz-disp-ink) !important;
  font-size: clamp(29px, 3vw, 40px) !important;
  font-weight: 700 !important;
  letter-spacing: -.048em;
  line-height: 1.12;
}

#rz-dispatches-overlay h1 + p {
  max-width: 580px;
  margin: 10px 0 0 !important;
  color: var(--rz-disp-subtle) !important;
  font-size: 13px !important;
  line-height: 1.65;
}

#rz-dispatches-overlay > div > div:first-child > div:last-child {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px !important;
  padding-bottom: 2px;
  text-align: right;
}

#rz-disp-count,
#rz-disp-time {
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  border: 1px solid var(--rz-disp-line);
  border-radius: 999px;
  background: rgba(255,255,255,.02);
  color: var(--rz-disp-subtle) !important;
  font-size: 10px !important;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1;
  white-space: nowrap;
}

#rz-disp-count {
  padding: 0 11px;
  border-color: rgba(0,255,200,.18);
  background: rgba(0,255,200,.045);
  color: #55e6bf !important;
}

#rz-disp-time {
  padding: 0 10px;
  color: var(--rz-disp-dim) !important;
}

/* Busca e filtros */
#rz-dispatches-overlay > div > div:nth-child(2) {
  display: grid !important;
  grid-template-columns: minmax(230px, 1fr) minmax(174px, .31fr) auto;
  align-items: center !important;
  gap: 9px !important;
  min-height: 66px;
  margin-bottom: 18px !important;
  padding: 12px;
  border: 1px solid var(--rz-disp-line);
  border-radius: var(--rz-disp-radius);
  background: linear-gradient(145deg, rgba(20,33,39,.96), rgba(15,23,27,.96));
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
}

#rz-disp-search,
#rz-disp-device {
  width: 100%;
  min-height: 40px;
  border: 1px solid rgba(255,255,255,.105) !important;
  border-radius: 9px !important;
  background: var(--rz-disp-base) !important;
  color: var(--rz-disp-ink) !important;
  font-family: inherit;
  font-size: 11.5px !important;
  line-height: 1.2;
  outline: none !important;
  transition: border-color .16s ease-out, box-shadow .16s ease-out, background-color .16s ease-out;
}

#rz-disp-search {
  min-width: 0 !important;
  padding: 0 13px !important;
}

#rz-disp-search::placeholder {
  color: #819397;
  opacity: 1;
}

#rz-disp-device {
  min-width: 0 !important;
  padding: 0 34px 0 12px !important;
  color-scheme: dark;
}

#rz-disp-device option {
  background: var(--rz-disp-side);
  color: var(--rz-disp-ink);
}

#rz-disp-search:hover,
#rz-disp-device:hover {
  border-color: rgba(255,255,255,.2) !important;
}

#rz-disp-search:focus-visible,
#rz-disp-device:focus-visible {
  border-color: var(--rz-disp-mint) !important;
  box-shadow: 0 0 0 3px rgba(0,255,200,.12);
}

#rz-disp-search-btn {
  min-height: 40px;
  padding: 0 17px !important;
  border: 1px solid transparent !important;
  border-radius: 9px !important;
  background: linear-gradient(115deg, var(--rz-disp-mint), #1acfa4) !important;
  color: #06110e !important;
  font-family: inherit;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  letter-spacing: .005em;
  box-shadow: 0 5px 17px rgba(0,255,200,.12);
  transition: transform .16s ease-out, box-shadow .16s ease-out, filter .16s ease-out;
}

#rz-disp-search-btn:hover {
  box-shadow: 0 7px 23px rgba(0,255,200,.25);
  filter: brightness(1.035);
}

#rz-disp-search-btn:active {
  transform: scale(.975);
}

#rz-disp-search-btn:focus-visible {
  outline: 2px solid var(--rz-disp-mint);
  outline-offset: 3px;
}

/* Painel da tabela */
#rz-dispatches-overlay > div > div:nth-child(3) {
  overflow-x: auto !important;
  overflow-y: hidden !important;
  border: 1px solid var(--rz-disp-line) !important;
  border-radius: var(--rz-disp-radius) !important;
  background: linear-gradient(145deg, #10191d, var(--rz-disp-panel)) !important;
  box-shadow: 0 14px 35px rgba(0,0,0,.15);
  scrollbar-color: #38504c transparent;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

#rz-dispatches-overlay table {
  width: 100% !important;
  min-width: 790px;
  border-collapse: collapse !important;
  text-align: left;
}

#rz-dispatches-overlay thead {
  background: rgba(0,0,0,.15);
}

#rz-dispatches-overlay thead tr {
  border-color: var(--rz-disp-line) !important;
}

#rz-dispatches-overlay th {
  padding: 14px 16px !important;
  color: #819499 !important;
  font-family: inherit;
  font-size: 9px !important;
  font-weight: 700 !important;
  letter-spacing: .125em;
  line-height: 1.25;
  text-transform: uppercase;
  white-space: nowrap;
}

#rz-dispatches-overlay th:first-child,
#rz-dispatches-overlay td:first-child {
  padding-left: 20px !important;
}

#rz-dispatches-overlay th:last-child,
#rz-dispatches-overlay td:last-child {
  padding-right: 20px !important;
}

#rz-dispatches-overlay tbody tr {
  border-color: rgba(255,255,255,.06) !important;
  transition: background-color .16s ease-out;
}

#rz-dispatches-overlay tbody tr:not(:has(td[colspan])):hover {
  background: rgba(0,255,200,.027);
}

#rz-dispatches-overlay tbody tr:last-child {
  border-bottom: 0 !important;
}

#rz-dispatches-overlay td {
  padding: 15px 16px !important;
  color: var(--rz-disp-subtle);
  font-family: inherit;
  font-size: 11px;
  line-height: 1.45;
  vertical-align: middle;
}

#rz-dispatches-overlay td strong {
  color: var(--rz-disp-ink) !important;
  font-family: inherit;
  font-size: 11px !important;
  font-weight: 600;
  letter-spacing: -.01em;
}

#rz-dispatches-overlay td > span {
  font-family: inherit;
}

#rz-dispatches-overlay td:nth-child(1) > span,
#rz-dispatches-overlay td:nth-child(2) > span + br + span,
#rz-dispatches-overlay td:nth-child(3) > span + br + span,
#rz-dispatches-overlay td:nth-child(5) > span {
  color: var(--rz-disp-dim) !important;
  font-size: 10px !important;
}

#rz-dispatches-overlay td:nth-child(2) > span:first-child {
  color: var(--rz-disp-ink) !important;
  font-size: 11px !important;
  font-weight: 500;
}

#rz-dispatches-overlay td:nth-child(3) > span:first-child {
  color: #55e6bf !important;
  font-size: 11px !important;
  font-weight: 600;
}

#rz-dispatches-overlay td:nth-child(4) > span {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 6px !important;
  padding: 2px 8px !important;
  font-family: inherit;
  font-size: 9px !important;
  font-weight: 700 !important;
  letter-spacing: .025em;
  line-height: 1;
  white-space: nowrap;
}

#rz-dispatches-overlay td:nth-child(5) {
  max-width: 300px !important;
}

#rz-dispatches-overlay td:nth-child(5) > span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Estados temporais preservam os textos e recebem uma leitura mais clara. */
#rz-dispatches-overlay td:first-child > span[style*="font-weight"] {
  display: inline-block;
  margin-top: 3px;
  color: #4fe7bd !important;
  font-size: 9px !important;
  font-weight: 700 !important;
  letter-spacing: .06em;
}

#rz-dispatches-overlay td:first-child > span[style*="#f59e0b"] {
  color: #f7ba55 !important;
}

/* Carregamento, vazio e erro: o conteúdo é gerido pelo JavaScript. */
#rz-dispatches-overlay td[colspan] {
  min-height: 158px;
  padding: 40px 24px !important;
  color: var(--rz-disp-subtle) !important;
  font-size: 12px !important;
  line-height: 1.65;
  text-align: center !important;
}

#rz-dispatches-overlay tr:has(td[colspan]) td {
  background:
    radial-gradient(circle at 50% 45%, rgba(0,255,200,.043), transparent 42%),
    rgba(255,255,255,.008);
}

#rz-dispatches-overlay td[colspan][style*="#ef4444"] {
  color: #ff8975 !important;
}

#rz-dispatches-overlay input:focus-visible,
#rz-dispatches-overlay select:focus-visible,
#rz-dispatches-overlay button:focus-visible {
  outline: 2px solid var(--rz-disp-mint);
  outline-offset: 3px;
}

#rz-dispatches-overlay ::selection {
  background: rgba(0,255,200,.26);
  color: var(--rz-disp-ink);
}

#rz-dispatches-overlay::-webkit-scrollbar,
#rz-dispatches-overlay > div > div:nth-child(3)::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

#rz-dispatches-overlay::-webkit-scrollbar-thumb,
#rz-dispatches-overlay > div > div:nth-child(3)::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 10px;
  background: #344943;
  background-clip: padding-box;
}

#rz-dispatches-overlay::-webkit-scrollbar-thumb:hover,
#rz-dispatches-overlay > div > div:nth-child(3)::-webkit-scrollbar-thumb:hover {
  background: #4c6962;
  background-clip: padding-box;
}

@media (max-width: 920px) {
  #rz-dispatches-overlay {
    padding: 30px 24px 42px !important;
  }

  #rz-dispatches-overlay > div > div:first-child {
    align-items: flex-start !important;
    flex-wrap: wrap;
    gap: 18px;
  }

  #rz-dispatches-overlay > div > div:first-child > div:last-child {
    width: 100%;
    justify-content: flex-start;
    text-align: left;
  }

  #rz-dispatches-overlay > div > div:nth-child(2) {
    grid-template-columns: minmax(0, 1fr) minmax(172px, .42fr) auto;
  }

  #rz-dispatches-overlay table {
    min-width: 730px;
  }

  #rz-dispatches-overlay td:nth-child(5) {
    max-width: 240px !important;
  }
}

@media (max-width: 620px) {
  #rz-dispatches-overlay {
    padding: 23px 15px 34px !important;
  }

  #rz-dispatches-overlay > div > div:first-child {
    gap: 17px;
    margin-bottom: 21px !important;
    padding-bottom: 19px;
  }

  #rz-dispatches-overlay > div > div:first-child > div:first-child::before {
    margin-bottom: 8px;
    font-size: 8.5px;
    letter-spacing: .13em;
  }

  #rz-dispatches-overlay > div > div:first-child > div:first-child::after {
    top: 3px;
  }

  #rz-dispatches-overlay h1 {
    font-size: 29px !important;
  }

  #rz-dispatches-overlay h1 + p {
    margin-top: 8px !important;
    font-size: 11px !important;
    line-height: 1.6;
  }

  #rz-dispatches-overlay > div > div:first-child > div:last-child {
    gap: 6px !important;
  }

  #rz-disp-count,
  #rz-disp-time {
    min-height: 27px;
    font-size: 9px !important;
  }

  #rz-dispatches-overlay > div > div:nth-child(2) {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px !important;
    min-height: 0;
    margin-bottom: 12px !important;
    padding: 9px;
    border-radius: 12px;
  }

  #rz-disp-search {
    grid-column: 1 / -1;
  }

  #rz-disp-search,
  #rz-disp-device,
  #rz-disp-search-btn {
    min-height: 39px;
    font-size: 11px !important;
  }

  #rz-disp-device {
    min-width: 0 !important;
  }

  #rz-disp-search-btn {
    padding: 0 15px !important;
  }

  #rz-dispatches-overlay > div > div:nth-child(3) {
    border-radius: 12px !important;
  }

  #rz-dispatches-overlay table {
    min-width: 665px;
  }

  #rz-dispatches-overlay th {
    padding: 12px 12px !important;
    font-size: 8px !important;
  }

  #rz-dispatches-overlay td {
    padding: 13px 12px !important;
    font-size: 10px;
  }

  #rz-dispatches-overlay th:first-child,
  #rz-dispatches-overlay td:first-child {
    padding-left: 14px !important;
  }

  #rz-dispatches-overlay th:last-child,
  #rz-dispatches-overlay td:last-child {
    padding-right: 14px !important;
  }

  #rz-dispatches-overlay td:nth-child(5) {
    max-width: 185px !important;
  }

  #rz-dispatches-overlay td[colspan] {
    min-height: 136px;
    padding: 32px 18px !important;
    font-size: 11px !important;
  }
}

@media (max-width: 390px) {
  #rz-dispatches-overlay {
    padding-right: 12px !important;
    padding-left: 12px !important;
  }

  #rz-dispatches-overlay h1 {
    font-size: 27px !important;
  }

  #rz-disp-count,
  #rz-disp-time {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  #rz-dispatches-overlay > div > div:nth-child(2) {
    grid-template-columns: minmax(0, 1fr);
  }

  #rz-disp-device,
  #rz-disp-search-btn {
    width: 100%;
  }

  #rz-dispatches-overlay table {
    min-width: 640px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #rz-dispatches-overlay *,
  #rz-dispatches-overlay *::before,
  #rz-dispatches-overlay *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}


/* ------ gatilhos ------ */
/* ReZapp — Gatilhos
   Escopo exclusivo: overlay, cards, formulário e popover desta rota. */

#rz-gatilhos-overlay {
  --rz-gatilhos-base: #06090c;
  --rz-gatilhos-panel: #0f171b;
  --rz-gatilhos-side: #0b1115;
  --rz-gatilhos-mint: #00ffc8;
  --rz-gatilhos-ink: #f0f4f5;
  --rz-gatilhos-subtle: #a4b2b5;
  --rz-gatilhos-dim: #738488;
  --rz-gatilhos-line: rgba(255, 255, 255, .09);
  --rz-gatilhos-danger: #fb7373;
  background:
    radial-gradient(ellipse 66% 30% at 88% -8%, rgba(0, 255, 200, .065), transparent 68%),
    var(--rz-gatilhos-base) !important;
  color: var(--rz-gatilhos-ink);
  font-family: 'Poppins', ui-sans-serif, system-ui, sans-serif;
  padding: 38px 40px 54px !important;
  scrollbar-color: #314541 transparent;
  scrollbar-width: thin;
}

#rz-gatilhos-container {
  max-width: 960px !important;
}

#rz-gatilhos-container > div:first-child {
  align-items: flex-end !important;
  margin-bottom: 27px !important;
}

#rz-gatilhos-container > div:first-child > div::before {
  content: 'AUTOMAÇÃO · WHATSAPP';
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 10px;
  color: #4ce6be;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1;
}

#rz-gatilhos-container > div:first-child > div::before {
  text-shadow: 0 0 16px rgba(0, 255, 200, .15);
}

#rz-gatilhos-container > div:first-child h1 {
  color: var(--rz-gatilhos-ink) !important;
  font-size: clamp(30px, 3.2vw, 40px) !important;
  font-weight: 700 !important;
  letter-spacing: -.048em;
  line-height: 1.12;
  margin-bottom: 10px !important;
}

#rz-gatilhos-container > div:first-child p {
  max-width: 610px;
  color: var(--rz-gatilhos-subtle) !important;
  font-size: 13px !important;
  line-height: 1.65;
}

#rz-gatilhos-list {
  display: grid;
  gap: 12px;
  margin-bottom: 17px !important;
}

#rz-gatilhos-list > p {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 120px;
  justify-content: center;
  color: var(--rz-gatilhos-subtle) !important;
  font-size: 13px !important;
}

#rz-gatilhos-list > p::before {
  content: '';
  width: 16px;
  height: 16px;
  border: 2px solid rgba(0, 255, 200, .19);
  border-top-color: var(--rz-gatilhos-mint);
  border-radius: 50%;
  animation: rz-gatilhos-spin .8s linear infinite;
}

#rz-gatilhos-list > [data-trigger-id] {
  position: relative;
  overflow: hidden;
  margin: 0 !important;
  padding: 20px 21px !important;
  background: linear-gradient(135deg, #111d21, var(--rz-gatilhos-panel)) !important;
  border: 1px solid var(--rz-gatilhos-line) !important;
  border-radius: 14px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .13);
  transition: border-color .18s ease-out, box-shadow .18s ease-out, transform .18s ease-out;
}

#rz-gatilhos-list > [data-trigger-id]::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(to bottom, transparent 8%, var(--rz-gatilhos-mint) 45%, transparent 92%);
  opacity: .58;
}

#rz-gatilhos-list > [data-trigger-id]:hover {
  border-color: rgba(0, 255, 200, .27) !important;
  box-shadow: 0 16px 35px rgba(0, 0, 0, .2), 0 0 0 1px rgba(0, 255, 200, .025);
  transform: translateY(-2px);
}

#rz-gatilhos-list > [data-trigger-id][style*="opacity:0.5"] {
  filter: saturate(.72);
}

#rz-gatilhos-list > [data-trigger-id] > div:first-child {
  gap: 16px !important;
}

#rz-gatilhos-list > [data-trigger-id] > div:first-child > div:first-child {
  min-width: 0;
}

#rz-gatilhos-list > [data-trigger-id] > div:first-child > div:first-child > div:first-child {
  width: 46px !important;
  height: 46px !important;
  border: 1px solid rgba(0, 255, 200, .14);
  border-radius: 13px !important;
  background: rgba(0, 255, 200, .075) !important;
  color: var(--rz-gatilhos-mint);
  box-shadow: inset 0 1px rgba(255, 255, 255, .04);
}

#rz-gatilhos-list > [data-trigger-id] > div:first-child > div:first-child > div:first-child svg {
  stroke: var(--rz-gatilhos-mint) !important;
}

#rz-gatilhos-list > [data-trigger-id] h3 {
  color: var(--rz-gatilhos-ink) !important;
  font-size: 15px !important;
  font-weight: 650 !important;
  letter-spacing: -.018em;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

#rz-gatilhos-list > [data-trigger-id] h3 + div {
  gap: 6px !important;
}

#rz-gatilhos-list > [data-trigger-id] h3 + div > span {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 8px !important;
  border: 1px solid rgba(0, 255, 200, .13);
  border-radius: 999px !important;
  background: rgba(0, 255, 200, .07) !important;
  color: #84ead0 !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  line-height: 1;
}

#rz-gatilhos-list > [data-trigger-id] h3 + div > span:last-child {
  max-width: min(330px, 46vw);
  overflow: hidden;
  border-color: rgba(102, 173, 250, .18);
  background: rgba(97, 156, 232, .08) !important;
  color: #9bc7f5 !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#rz-gatilhos-list [data-edit-id],
#rz-gatilhos-list [data-delete-id] {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  padding: 0 !important;
  border: 1px solid transparent !important;
  border-radius: 9px !important;
  color: var(--rz-gatilhos-subtle) !important;
  transition: color .16s ease-out, background-color .16s ease-out, border-color .16s ease-out, transform .16s ease-out;
}

#rz-gatilhos-list [data-edit-id]:hover {
  background: rgba(0, 255, 200, .08) !important;
  border-color: rgba(0, 255, 200, .15) !important;
  color: var(--rz-gatilhos-mint) !important;
}

#rz-gatilhos-list [data-delete-id]:hover {
  background: rgba(251, 115, 115, .09) !important;
  border-color: rgba(251, 115, 115, .18) !important;
  color: var(--rz-gatilhos-danger) !important;
}

#rz-gatilhos-list > [data-trigger-id] > div:last-child {
  margin-top: 16px !important;
  padding-top: 15px !important;
  border-color: var(--rz-gatilhos-line) !important;
}

#rz-gatilhos-list > [data-trigger-id] > div:last-child > p {
  color: var(--rz-gatilhos-subtle) !important;
  line-height: 1.55;
}

#rz-gatilhos-list > [data-trigger-id] > div:last-child > p > span:first-child {
  color: #5be5bb !important;
}

#rz-gatilhos-list > [data-trigger-id] > div:last-child > p > span:last-child {
  color: var(--rz-gatilhos-ink) !important;
}

#rz-gatilhos-list > [data-trigger-id] > div:last-child > div {
  gap: 6px !important;
}

#rz-gatilhos-list > [data-trigger-id] > div:last-child > div > span {
  max-width: 100%;
  overflow-wrap: anywhere;
  border: 1px solid rgba(255, 255, 255, .065);
  border-radius: 7px !important;
  background: var(--rz-gatilhos-side) !important;
  color: #bfd0d1 !important;
  font-size: 11px !important;
  line-height: 1.25;
}

#rz-gatilhos-list > div:not([data-trigger-id]) {
  padding: 46px 24px !important;
  border: 1px dashed rgba(0, 255, 200, .18);
  border-radius: 14px !important;
  background: linear-gradient(145deg, rgba(0, 255, 200, .035), rgba(255, 255, 255, .01)) !important;
}

#rz-gatilhos-list > div:not([data-trigger-id]) > div:first-child {
  width: 66px !important;
  height: 66px !important;
  border: 1px solid rgba(0, 255, 200, .16);
  border-radius: 17px !important;
  background: rgba(0, 255, 200, .08) !important;
  box-shadow: 0 0 0 7px rgba(0, 255, 200, .025);
}

#rz-gatilhos-list > div:not([data-trigger-id]) svg {
  stroke: var(--rz-gatilhos-mint) !important;
}

#rz-gatilhos-list > div:not([data-trigger-id]) p:first-of-type {
  color: var(--rz-gatilhos-ink) !important;
  font-size: 14px !important;
  font-weight: 600;
}

#rz-gatilhos-list > div:not([data-trigger-id]) p:last-of-type {
  color: var(--rz-gatilhos-dim) !important;
  line-height: 1.55;
}

#rz-gatilhos-add {
  min-height: 69px;
  padding: 17px 20px !important;
  border: 1px dashed rgba(0, 255, 200, .32) !important;
  border-radius: 13px !important;
  background: linear-gradient(100deg, rgba(0, 255, 200, .065), rgba(0, 255, 200, .018)) !important;
  color: var(--rz-gatilhos-mint);
  box-shadow: inset 0 1px rgba(255, 255, 255, .035);
  transition: border-color .17s ease-out, background-color .17s ease-out, box-shadow .17s ease-out, transform .17s ease-out;
}

#rz-gatilhos-add:hover {
  border-color: var(--rz-gatilhos-mint) !important;
  background: linear-gradient(100deg, rgba(0, 255, 200, .12), rgba(0, 255, 200, .035)) !important;
  box-shadow: 0 9px 25px rgba(0, 255, 200, .09);
  transform: translateY(-1px);
}

#rz-gatilhos-add > span:first-child {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(0, 255, 200, .24);
  border-radius: 8px;
  background: rgba(0, 255, 200, .09);
  color: var(--rz-gatilhos-mint) !important;
  font-size: 21px !important;
  line-height: 1;
}

#rz-gatilhos-add > span:last-child {
  color: #63e7c0 !important;
  font-size: 12px !important;
  font-weight: 650 !important;
  letter-spacing: .01em;
}

#rz-trigger-modal {
  background: rgba(2, 7, 9, .78) !important;
  color: var(--rz-gatilhos-ink, #f0f4f5);
  font-family: 'Poppins', ui-sans-serif, system-ui, sans-serif;
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
}

#rz-trigger-modal > div:first-child {
  width: min(100%, 594px) !important;
  padding: 28px 30px 30px !important;
  border: 1px solid rgba(255, 255, 255, .11) !important;
  border-radius: 16px !important;
  background:
    radial-gradient(ellipse 76% 37% at 98% 0%, rgba(0, 255, 200, .055), transparent 74%),
    #0f171b !important;
  box-shadow: 0 27px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(0, 255, 200, .025);
  scrollbar-color: #344944 transparent;
  scrollbar-width: thin;
}

#rz-trigger-modal h2 {
  color: var(--rz-gatilhos-ink, #f0f4f5) !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  letter-spacing: -.04em;
  line-height: 1.2;
  margin-bottom: 26px !important;
}

#rz-trigger-modal label {
  color: #a7b6b8 !important;
  font-size: 11px !important;
  font-weight: 650 !important;
  letter-spacing: .018em;
}

#rz-trigger-modal input:not([type='hidden']),
#rz-trigger-modal select {
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, .105) !important;
  border-radius: 9px !important;
  background: #0a1114 !important;
  color: var(--rz-gatilhos-ink, #f0f4f5) !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, .018);
  font-family: inherit;
  font-size: 13px !important;
  transition: border-color .16s ease-out, box-shadow .16s ease-out, background-color .16s ease-out;
}

#rz-trigger-modal input:not([type='hidden'])::placeholder {
  color: #6f8286;
  opacity: 1;
}

#rz-trigger-modal input:not([type='hidden']):hover,
#rz-trigger-modal select:hover {
  border-color: rgba(0, 255, 200, .28) !important;
}

#rz-trigger-modal input:not([type='hidden']):focus,
#rz-trigger-modal select:focus {
  border-color: var(--rz-gatilhos-mint, #00ffc8) !important;
  box-shadow: 0 0 0 3px rgba(0, 255, 200, .1) !important;
}

#rz-trigger-modal input:not([type='hidden']):disabled,
#rz-trigger-modal select:disabled {
  border-color: rgba(255, 255, 255, .07) !important;
  background: #0b1115 !important;
  color: #718184 !important;
  cursor: not-allowed;
}

#rz-trigger-modal select {
  cursor: pointer;
  color-scheme: dark;
}

#rz-trigger-modal select:disabled {
  cursor: not-allowed;
}

#rz-trigger-modal option {
  background: #0f171b;
  color: #f0f4f5;
}

#rz-trigger-modal > div:first-child > div > p {
  line-height: 1.55;
}

#rz-trigger-modal > div:first-child > div > p[style*='color:#eab308'] {
  display: flex;
  gap: 7px;
  align-items: flex-start;
  color: #e8c66b !important;
  padding: 8px 10px;
  border: 1px solid rgba(232, 198, 107, .13);
  border-radius: 8px;
  background: rgba(232, 198, 107, .055);
}

#rz-trigger-modal > div:first-child > div > p[style*='color:#64748b'] {
  color: #718487 !important;
}

#rz-trigger-term-input {
  min-width: 0;
}

#rz-trigger-term-add,
#rz-trigger-save,
#rz-trigger-cancel {
  min-height: 42px;
  border: 1px solid transparent !important;
  border-radius: 9px !important;
  font-family: inherit;
  font-weight: 650 !important;
  transition: transform .15s ease-out, box-shadow .15s ease-out, background-color .15s ease-out, border-color .15s ease-out;
}

#rz-trigger-term-add,
#rz-trigger-save {
  background: linear-gradient(118deg, #00dbaa, #00ffc8) !important;
  color: #06110e !important;
  box-shadow: 0 5px 18px rgba(0, 255, 200, .13);
}

#rz-trigger-term-add:hover,
#rz-trigger-save:hover {
  background: linear-gradient(118deg, #21e5bc, #00ffc8) !important;
  box-shadow: 0 7px 23px rgba(0, 255, 200, .23);
  transform: translateY(-1px);
}

#rz-trigger-cancel {
  border-color: rgba(255, 255, 255, .1) !important;
  background: #182328 !important;
  color: #d7e0e1 !important;
}

#rz-trigger-cancel:hover {
  border-color: rgba(255, 255, 255, .2) !important;
  background: #202e33 !important;
}

#rz-trigger-term-add:active,
#rz-trigger-save:active,
#rz-trigger-cancel:active {
  transform: scale(.975);
}

#rz-trigger-save:disabled {
  cursor: wait;
  filter: saturate(.55);
}

#rz-trigger-terms-list {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 4px;
  min-height: 52px !important;
  padding: 9px !important;
  border: 1px solid rgba(255, 255, 255, .065);
  border-radius: 9px !important;
  background: #0a1114 !important;
}

#rz-trigger-terms-list > p {
  width: 100%;
  color: #718487 !important;
  font-size: 11px !important;
}

#rz-trigger-terms-list > div {
  max-width: 100%;
  margin: 0 !important;
  border: 1px solid rgba(0, 255, 200, .13);
  border-radius: 7px !important;
  background: rgba(0, 255, 200, .065) !important;
  color: #c8e8df !important;
  overflow-wrap: anywhere;
}

#rz-trigger-terms-list [data-remove-term] {
  display: inline-grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 5px;
  color: #ff8585 !important;
  transition: background-color .14s ease-out, color .14s ease-out;
}

#rz-trigger-terms-list [data-remove-term]:hover {
  background: rgba(251, 115, 115, .15);
  color: #ffd0d0 !important;
}

#rz-trigger-tag-help {
  color: #718487 !important;
  line-height: 1.55;
}

#rz-trigger-tag-dropdown {
  border-color: rgba(0, 255, 200, .5) !important;
  border-radius: 10px !important;
  background: #10191d !important;
  box-shadow: 0 17px 40px rgba(0, 0, 0, .58) !important;
  color: var(--rz-gatilhos-ink, #f0f4f5);
  scrollbar-color: #3b5852 transparent;
  scrollbar-width: thin;
}

#rz-trigger-tag-dropdown > div:not(.rz-tag-opt) {
  color: #84979a !important;
}

#rz-trigger-tag-dropdown .rz-tag-opt {
  min-height: 41px;
  display: flex;
  align-items: center;
  border-color: rgba(255, 255, 255, .06) !important;
  color: #e2ebec !important;
}

#rz-trigger-tag-dropdown .rz-tag-opt:hover {
  background: rgba(0, 255, 200, .085) !important;
  color: var(--rz-gatilhos-mint, #00ffc8) !important;
}

#rz-gatilhos-overlay [data-edit-id]:focus-visible,
#rz-gatilhos-overlay [data-delete-id]:focus-visible,
#rz-gatilhos-add:focus-visible,
#rz-trigger-modal button:focus-visible,
#rz-trigger-modal input:focus-visible,
#rz-trigger-modal select:focus-visible,
#rz-trigger-tag-dropdown .rz-tag-opt:focus-visible {
  outline: 2px solid var(--rz-gatilhos-mint, #00ffc8);
  outline-offset: 3px;
}

@keyframes rz-gatilhos-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 900px) {
  #rz-gatilhos-overlay {
    padding: 31px 24px 45px !important;
  }

  #rz-gatilhos-container > div:first-child {
    margin-bottom: 24px !important;
  }

  #rz-trigger-modal {
    padding: 17px !important;
  }

  #rz-trigger-modal > div:first-child {
    padding: 25px 24px !important;
  }
}

@media (max-width: 600px) {
  #rz-gatilhos-overlay {
    padding: 26px 16px 36px !important;
  }

  #rz-gatilhos-container > div:first-child > div::before {
    margin-bottom: 9px;
    font-size: 9px;
  }

  #rz-gatilhos-container > div:first-child h1 {
    font-size: 31px !important;
  }

  #rz-gatilhos-container > div:first-child p {
    font-size: 12px !important;
  }

  #rz-gatilhos-list > [data-trigger-id] {
    padding: 16px !important;
  }

  #rz-gatilhos-list > [data-trigger-id] > div:first-child {
    align-items: flex-start !important;
    gap: 11px !important;
  }

  #rz-gatilhos-list > [data-trigger-id] > div:first-child > div:first-child > div:first-child {
    width: 40px !important;
    height: 40px !important;
    border-radius: 11px !important;
  }

  #rz-gatilhos-list > [data-trigger-id] > div:first-child > div:first-child > div:first-child svg {
    width: 19px;
    height: 19px;
  }

  #rz-gatilhos-list > [data-trigger-id] h3 {
    font-size: 14px !important;
  }

  #rz-gatilhos-list > [data-trigger-id] h3 + div > span:last-child {
    max-width: 154px;
  }

  #rz-gatilhos-list [data-edit-id],
  #rz-gatilhos-list [data-delete-id] {
    width: 31px;
    height: 31px;
  }

  #rz-gatilhos-list > [data-trigger-id] > div:last-child {
    margin-top: 13px !important;
    padding-top: 13px !important;
  }

  #rz-gatilhos-add {
    min-height: 62px;
    padding: 14px 16px !important;
  }

  #rz-trigger-modal {
    align-items: flex-end !important;
    padding: 0 !important;
  }

  #rz-trigger-modal > div:first-child {
    width: 100% !important;
    max-height: min(91dvh, 760px) !important;
    padding: 23px 17px 20px !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
    border-left: 0 !important;
    border-radius: 17px 17px 0 0 !important;
  }

  #rz-trigger-modal h2 {
    font-size: 20px !important;
    margin-bottom: 22px !important;
  }

  #rz-trigger-modal > div:first-child > div {
    margin-bottom: 18px !important;
  }

  #rz-trigger-modal > div:first-child > div:last-child {
    gap: 9px !important;
    margin-bottom: 0 !important;
  }

  #rz-trigger-term-add {
    padding-right: 12px !important;
    padding-left: 12px !important;
    font-size: 12px !important;
  }

  #rz-trigger-cancel,
  #rz-trigger-save {
    flex: 1;
    padding-right: 12px !important;
    padding-left: 12px !important;
  }
}

@media (max-width: 390px) {
  #rz-gatilhos-overlay {
    padding: 22px 13px 30px !important;
  }

  #rz-gatilhos-container > div:first-child h1 {
    font-size: 29px !important;
  }

  #rz-gatilhos-list > [data-trigger-id] > div:first-child > div:first-child {
    gap: 9px !important;
  }

  #rz-gatilhos-list > [data-trigger-id] h3 + div > span {
    padding-right: 7px !important;
    padding-left: 7px !important;
    font-size: 9px !important;
  }

  #rz-gatilhos-list > [data-trigger-id] h3 + div > span:last-child {
    max-width: 120px;
  }

  #rz-gatilhos-list [data-edit-id],
  #rz-gatilhos-list [data-delete-id] {
    width: 29px;
    height: 29px;
  }

  #rz-trigger-modal > div:first-child {
    padding: 21px 14px 18px !important;
  }

  #rz-trigger-modal > div:first-child > div:nth-of-type(2) > div:first-of-type {
    align-items: stretch;
    flex-direction: column;
  }

  #rz-trigger-term-add {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  #rz-gatilhos-overlay *,
  #rz-trigger-modal * {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}


/* ------ notifications ------ */
/* ReZapp — Notificações
   Escopo exclusivo: overlay, cartões e modais injetados por notifications-page.js. */

#rz-notifications-overlay {
  --rz-notif-base: #06090c;
  --rz-notif-panel: #0f171b;
  --rz-notif-side: #0b1115;
  --rz-notif-raised: #142127;
  --rz-notif-mint: #00ffc8;
  --rz-notif-ink: #f0f4f5;
  --rz-notif-subtle: #a4b2b5;
  --rz-notif-dim: #738489;
  --rz-notif-line: rgba(255, 255, 255, .09);
  --rz-notif-danger: #ff7161;
  --rz-notif-violet: #b69aff;
  background:
    radial-gradient(ellipse 62% 31% at 87% -8%, rgba(0, 255, 200, .07), transparent 67%),
    radial-gradient(ellipse 30% 20% at 5% 18%, rgba(53, 111, 101, .08), transparent 78%),
    var(--rz-notif-base) !important;
  color: var(--rz-notif-ink);
  font-family: 'Poppins', ui-sans-serif, system-ui, sans-serif;
  scrollbar-color: #314440 transparent;
  scrollbar-width: thin;
}

#rz-notifications-overlay,
#rz-notifications-overlay * {
  box-sizing: border-box;
}

#rz-notifications-overlay ::selection {
  background: rgba(0, 255, 200, .26);
  color: #ffffff;
}

#rz-notifications-page {
  width: 100%;
  max-width: 1160px !important;
  min-height: 100%;
  margin: 0 auto;
  padding: 42px 42px 64px !important;
}

/* Editorial page heading */
#rz-notifications-page > div:first-child {
  align-items: flex-end !important;
  gap: 26px;
  margin-bottom: 31px !important;
}

#rz-notifications-page > div:first-child > div:first-child {
  min-width: 0;
  max-width: 675px;
}

#rz-notifications-page > div:first-child h1 {
  margin: 0 !important;
  color: var(--rz-notif-ink) !important;
  font-size: clamp(30px, 3.4vw, 43px) !important;
  font-weight: 700 !important;
  letter-spacing: -.052em;
  line-height: 1.08;
}

#rz-notifications-page > div:first-child h1::before {
  content: 'OPERAÇÕES / ALERTAS';
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 11px 2px;
  color: #54dfbc;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .17em;
  line-height: 1;
}

#rz-notifications-page > div:first-child h1::after {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: 0 0 .16em 12px;
  border-radius: 50%;
  background: var(--rz-notif-mint);
  box-shadow: 0 0 0 5px rgba(0, 255, 200, .09), 0 0 17px rgba(0, 255, 200, .42);
}

#rz-notifications-page > div:first-child p {
  max-width: 610px;
  margin: 12px 0 0 !important;
  color: var(--rz-notif-subtle) !important;
  font-size: 13px !important;
  line-height: 1.7;
}

#rz-notifications-overlay #rz-notif-add-btn {
  min-height: 42px;
  padding: 0 17px !important;
  border: 1px solid rgba(0, 255, 200, .34) !important;
  border-radius: 10px !important;
  background: linear-gradient(115deg, #00ffc8, #25d8ad) !important;
  color: #04110e !important;
  box-shadow: 0 7px 22px rgba(0, 255, 200, .14);
  font-family: inherit;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  letter-spacing: .005em;
  transition: transform .17s ease-out, box-shadow .17s ease-out, filter .17s ease-out;
}

#rz-notifications-overlay #rz-notif-add-btn:hover {
  box-shadow: 0 10px 26px rgba(0, 255, 200, .24);
  filter: brightness(1.045);
  transform: translateY(-1px);
}

#rz-notifications-overlay #rz-notif-add-btn:active {
  transform: translateY(0) scale(.98);
}

#rz-notifications-overlay #rz-notif-add-btn svg {
  width: 17px;
  height: 17px;
  stroke-width: 2.4;
}

/* Notification list and empty states */
#rz-notif-list {
  gap: 13px !important;
}

#rz-notif-list > div:not(.rz-notif-card) {
  display: grid !important;
  min-height: 224px;
  place-content: center;
  padding: 42px 28px !important;
  border: 1px dashed rgba(255, 255, 255, .15) !important;
  border-radius: 14px !important;
  background:
    linear-gradient(145deg, rgba(20, 33, 39, .9), rgba(11, 17, 21, .86)) !important;
  color: var(--rz-notif-subtle) !important;
  text-align: center;
  box-shadow: inset 0 1px rgba(255, 255, 255, .025);
}

#rz-notif-list > div:not(.rz-notif-card) svg {
  color: #68807d;
  stroke: currentColor !important;
}

#rz-notif-list > div:not(.rz-notif-card) p:first-of-type {
  color: var(--rz-notif-ink) !important;
  font-size: 15px !important;
  font-weight: 600;
}

#rz-notif-list > div:not(.rz-notif-card) p:last-of-type {
  max-width: 430px;
  color: var(--rz-notif-dim) !important;
  font-size: 11.5px !important;
  line-height: 1.65;
}

/* Configuration card */
#rz-notifications-overlay .rz-notif-card {
  position: relative;
  overflow: hidden;
  padding: 22px !important;
  border: 1px solid var(--rz-notif-line) !important;
  border-radius: 14px !important;
  background:
    linear-gradient(115deg, rgba(17, 29, 33, .98), rgba(13, 22, 26, .98)) !important;
  box-shadow: 0 11px 32px rgba(0, 0, 0, .14);
  transition: border-color .18s ease-out, box-shadow .18s ease-out, transform .18s ease-out;
}

#rz-notifications-overlay .rz-notif-card::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(to bottom, var(--rz-notif-mint), rgba(0, 255, 200, 0));
  opacity: .82;
}

#rz-notifications-overlay .rz-notif-card:hover {
  border-color: rgba(0, 255, 200, .3) !important;
  box-shadow: 0 15px 39px rgba(0, 0, 0, .22), 0 0 0 1px rgba(0, 255, 200, .035);
  transform: translateY(-2px);
}

#rz-notifications-overlay .rz-notif-card > div {
  gap: 20px;
}

#rz-notifications-overlay .rz-notif-card > div > div:first-child {
  min-width: 0;
}

#rz-notifications-overlay .rz-notif-card > div > div:first-child > div:first-child {
  gap: 9px !important;
  margin-bottom: 9px !important;
}

#rz-notifications-overlay .rz-notif-card > div > div:first-child > div:first-child > span:first-child {
  max-width: 100%;
  overflow: hidden;
  color: var(--rz-notif-ink) !important;
  font-size: 15px !important;
  font-weight: 650 !important;
  letter-spacing: -.017em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#rz-notifications-overlay .rz-notif-card > div > div:first-child > div:first-child > span:nth-child(2) {
  border: 1px solid currentColor;
  font-size: 10px !important;
  font-weight: 650 !important;
  letter-spacing: .035em;
}

#rz-notifications-overlay .rz-notif-card > div > div:first-child > div:nth-child(2) {
  color: var(--rz-notif-dim) !important;
  font-size: 11px !important;
  line-height: 1.5;
}

#rz-notifications-overlay .rz-notif-card > div > div:first-child > div:nth-child(2) svg {
  color: #70a39a;
  flex: none;
}

#rz-notifications-overlay .rz-notif-card > div > div:first-child > div:last-child {
  gap: 6px !important;
}

#rz-notifications-overlay .rz-notif-card > div > div:first-child > div:last-child > span {
  border-color: rgba(255, 255, 255, .1) !important;
  background: rgba(255, 255, 255, .035) !important;
  color: #b7c4c5 !important;
  font-size: 10px !important;
  font-weight: 500;
  letter-spacing: .01em;
}

#rz-notifications-overlay .rz-notif-card > div > div:last-child {
  align-items: center;
  gap: 7px !important;
}

#rz-notifications-overlay .rz-notif-card button {
  min-height: 31px;
  border-radius: 8px !important;
  font-family: inherit;
  font-size: 10.5px !important;
  font-weight: 600;
  line-height: 1;
  transition: color .16s ease-out, background .16s ease-out, border-color .16s ease-out, transform .16s ease-out;
}

#rz-notifications-overlay .rz-notif-card button:hover {
  transform: translateY(-1px);
}

#rz-notifications-overlay .rz-notif-toggle,
#rz-notifications-overlay .rz-notif-edit {
  border-color: rgba(255, 255, 255, .13) !important;
  background: rgba(255, 255, 255, .018) !important;
  color: var(--rz-notif-subtle) !important;
}

#rz-notifications-overlay .rz-notif-toggle:hover,
#rz-notifications-overlay .rz-notif-edit:hover {
  border-color: rgba(0, 255, 200, .34) !important;
  background: rgba(0, 255, 200, .065) !important;
  color: #61e6c1 !important;
}

#rz-notifications-overlay .rz-notif-toggle[data-active='true'] {
  border-color: rgba(0, 255, 200, .26) !important;
  background: rgba(0, 255, 200, .065) !important;
  color: #5de5bd !important;
}

#rz-notifications-overlay .rz-notif-metrics {
  border-color: rgba(182, 154, 255, .37) !important;
  background: rgba(182, 154, 255, .055) !important;
  color: #c3adff !important;
}

#rz-notifications-overlay .rz-notif-metrics:hover {
  border-color: rgba(0, 255, 200, .42) !important;
  background: rgba(0, 255, 200, .07) !important;
  color: #61e6c1 !important;
}

#rz-notifications-overlay .rz-notif-metrics span {
  background: rgba(255, 255, 255, .09) !important;
  color: currentColor;
  font-weight: 700;
}

#rz-notifications-overlay .rz-notif-delete {
  border-color: rgba(255, 113, 97, .3) !important;
  background: rgba(255, 113, 97, .055) !important;
  color: var(--rz-notif-danger) !important;
}

#rz-notifications-overlay .rz-notif-delete:hover {
  border-color: rgba(255, 113, 97, .58) !important;
  background: rgba(255, 113, 97, .12) !important;
  color: #ff988c !important;
}

#rz-notifications-overlay .rz-notif-card button svg {
  vertical-align: -2px;
}

/* Shared modal surface. Positioning, dimensions and stacking remain managed by the page script. */
#rz-notifications-overlay #rz-notif-modal {
  color: var(--rz-notif-ink);
  font-family: 'Poppins', ui-sans-serif, system-ui, sans-serif;
}

#rz-notifications-overlay #rz-notif-modal > div {
  background: rgba(2, 6, 8, .76) !important;
  backdrop-filter: blur(9px);
}

#rz-notifications-overlay #rz-notif-modal > div > div {
  box-sizing: border-box !important;
  max-width: calc(100vw - 28px) !important;
  border-color: rgba(255, 255, 255, .12) !important;
  border-radius: 16px !important;
  background:
    linear-gradient(155deg, rgba(20, 33, 38, .99), rgba(12, 20, 24, .99)) !important;
  color: var(--rz-notif-ink);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .54), 0 0 0 1px rgba(0, 255, 200, .035);
  scrollbar-color: #344944 transparent;
  scrollbar-width: thin;
}

#rz-notifications-overlay #rz-notif-modal > div > div > div:first-child {
  gap: 18px;
}

#rz-notifications-overlay #rz-notif-modal h2 {
  color: var(--rz-notif-ink) !important;
  font-size: 19px !important;
  font-weight: 650 !important;
  letter-spacing: -.028em;
}

#rz-notifications-overlay #rz-notif-modal p {
  color: var(--rz-notif-dim) !important;
  font-size: 11px !important;
  line-height: 1.55;
}

#rz-notifications-overlay #rz-notif-modal label {
  color: #b6c4c5 !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: .01em;
}

#rz-notifications-overlay #rz-notif-modal :is(#rz-notif-instance, #rz-notif-phone, #rz-notif-daily-time) {
  min-height: 42px;
  border-color: rgba(255, 255, 255, .13) !important;
  border-radius: 9px !important;
  background: #0a1115 !important;
  color: var(--rz-notif-ink) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .018);
  font-family: inherit;
  outline: none;
  transition: border-color .16s ease-out, box-shadow .16s ease-out, background .16s ease-out;
}

#rz-notifications-overlay #rz-notif-modal :is(#rz-notif-instance, #rz-notif-phone, #rz-notif-daily-time):hover {
  border-color: rgba(255, 255, 255, .23) !important;
}

#rz-notifications-overlay #rz-notif-modal :is(#rz-notif-instance, #rz-notif-phone, #rz-notif-daily-time):focus {
  border-color: var(--rz-notif-mint) !important;
  background: #0c1619 !important;
  box-shadow: 0 0 0 3px rgba(0, 255, 200, .11);
}

#rz-notifications-overlay #rz-notif-modal :is(#rz-notif-phone, #rz-notif-daily-time)::placeholder {
  color: #718488;
}

#rz-notifications-overlay #rz-notif-modal #rz-notif-daily-time {
  color-scheme: dark;
}

#rz-notifications-overlay #rz-notif-modal #rz-notif-daily-time::-webkit-calendar-picker-indicator {
  opacity: .78;
  filter: invert(84%) sepia(42%) saturate(427%) hue-rotate(110deg);
}

#rz-notifications-overlay #rz-notif-modal div:has(> .rz-toggle-wrap) {
  gap: 20px;
  border-color: rgba(255, 255, 255, .075) !important;
}

#rz-notifications-overlay #rz-notif-modal .rz-toggle-wrap {
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 24px;
  box-shadow: inset 0 1px rgba(255, 255, 255, .07);
  outline: none;
}

#rz-notifications-overlay #rz-notif-modal .rz-toggle-wrap:hover {
  border-color: rgba(0, 255, 200, .4);
}

#rz-notifications-overlay #rz-notif-modal .rz-toggle-wrap:focus-within {
  outline: 2px solid var(--rz-notif-mint);
  outline-offset: 3px;
}

#rz-notifications-overlay #rz-notif-modal .rz-toggle-track {
  background: #344146 !important;
}

#rz-notifications-overlay #rz-notif-modal .rz-toggle-wrap input:checked + .rz-toggle-track {
  background: linear-gradient(110deg, #00c99e, #00ffc8) !important;
}

#rz-notifications-overlay #rz-notif-modal .rz-toggle-thumb {
  background: #f2fbf9 !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .32);
}

#rz-notifications-overlay #rz-notif-modal :is(#rz-notif-modal-cancel, #rz-metrics-cancel) {
  min-height: 39px;
  border-color: rgba(255, 255, 255, .13) !important;
  border-radius: 9px !important;
  background: #131d21 !important;
  color: var(--rz-notif-subtle) !important;
  font-family: inherit;
  font-size: 11.5px !important;
  font-weight: 600;
  transition: border-color .16s ease-out, color .16s ease-out, background .16s ease-out;
}

#rz-notifications-overlay #rz-notif-modal :is(#rz-notif-modal-cancel, #rz-metrics-cancel):hover {
  border-color: rgba(255, 255, 255, .24) !important;
  background: #19252a !important;
  color: var(--rz-notif-ink) !important;
}

#rz-notifications-overlay #rz-notif-modal :is(#rz-notif-modal-save, #rz-metrics-save) {
  min-height: 39px;
  border: 1px solid rgba(0, 255, 200, .31) !important;
  border-radius: 9px !important;
  background: linear-gradient(115deg, #00ffc8, #28d5ad) !important;
  color: #04120e !important;
  box-shadow: 0 6px 19px rgba(0, 255, 200, .12);
  font-family: inherit;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  transition: transform .16s ease-out, box-shadow .16s ease-out, filter .16s ease-out;
}

#rz-notifications-overlay #rz-notif-modal :is(#rz-notif-modal-save, #rz-metrics-save):hover {
  box-shadow: 0 8px 23px rgba(0, 255, 200, .24);
  filter: brightness(1.04);
  transform: translateY(-1px);
}

#rz-notifications-overlay #rz-notif-modal :is(#rz-notif-modal-save, #rz-metrics-save):active {
  transform: translateY(0) scale(.98);
}

#rz-notifications-overlay #rz-notif-modal :is(#rz-notif-modal-close, #rz-metrics-close) {
  display: inline-grid;
  min-height: 30px;
  place-items: center;
  border: 1px solid transparent !important;
  border-radius: 8px;
  background: transparent !important;
  color: var(--rz-notif-dim) !important;
  line-height: 1;
  transition: color .16s ease-out, border-color .16s ease-out, background .16s ease-out;
}

#rz-notifications-overlay #rz-notif-modal :is(#rz-notif-modal-close, #rz-metrics-close):hover {
  border-color: rgba(255, 255, 255, .12) !important;
  background: rgba(255, 255, 255, .045) !important;
  color: var(--rz-notif-ink) !important;
}

/* Report / metrics modal */
#rz-notifications-overlay #rz-notif-modal:has(#rz-metrics-list) > div > div > div:nth-child(2) {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 320px);
  gap: 24px !important;
}

#rz-notifications-overlay #rz-notif-modal:has(#rz-metrics-list) > div > div > div:nth-child(2) > div {
  min-width: 0;
}

#rz-notifications-overlay #rz-notif-modal:has(#rz-metrics-list) > div > div > div:nth-child(2) > div:last-child {
  max-width: 100% !important;
}

#rz-notifications-overlay #rz-metrics-list {
  padding-right: 7px !important;
  scrollbar-color: #344944 transparent;
  scrollbar-width: thin;
}

#rz-notifications-overlay #rz-metrics-list > div > div:first-child {
  color: #77d8bf !important;
  font-size: 9px !important;
  font-weight: 700 !important;
  letter-spacing: .16em !important;
}

#rz-notifications-overlay .rz-metric-item {
  min-height: 64px;
  border-color: rgba(255, 255, 255, .10) !important;
  border-radius: 11px !important;
  background: #111c20 !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, .02);
  transition: transform .15s ease-out, border-color .15s ease-out, background .15s ease-out, box-shadow .15s ease-out;
}

#rz-notifications-overlay .rz-metric-item:hover {
  border-color: rgba(0, 255, 200, .32) !important;
  background: #142329 !important;
  transform: translateX(2px);
}

#rz-notifications-overlay .rz-metric-item:has(polyline) {
  border-color: rgba(0, 255, 200, .43) !important;
  background: linear-gradient(105deg, rgba(0, 255, 200, .115), rgba(20, 40, 40, .82)) !important;
  box-shadow: inset 3px 0 var(--rz-notif-mint), inset 0 1px rgba(255, 255, 255, .035);
}

#rz-notifications-overlay .rz-metric-item > div:first-child {
  min-width: 0;
}

#rz-notifications-overlay .rz-metric-item > div:first-child > div {
  min-width: 0;
}

#rz-notifications-overlay .rz-metric-item > div:first-child > div > div:first-child {
  color: var(--rz-notif-ink) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}

#rz-notifications-overlay .rz-metric-item > div:first-child > div > div:last-child {
  margin-top: 2px;
  color: var(--rz-notif-dim) !important;
  font-size: 10px !important;
  line-height: 1.4;
}

#rz-notifications-overlay .rz-metric-item > div:last-child {
  border-color: #52676a !important;
  background: #0b1215 !important;
}

#rz-notifications-overlay .rz-metric-item:has(polyline) > div:last-child {
  border-color: var(--rz-notif-mint) !important;
  background: var(--rz-notif-mint) !important;
  box-shadow: 0 0 0 4px rgba(0, 255, 200, .1);
}

#rz-notifications-overlay .rz-metric-item:has(polyline) > div:last-child svg {
  stroke: #06201a !important;
}

#rz-notifications-overlay :is(#rz-metrics-all, #rz-metrics-none) {
  min-height: 29px;
  border-color: rgba(255, 255, 255, .12) !important;
  border-radius: 7px !important;
  background: #131e22 !important;
  color: var(--rz-notif-subtle) !important;
  font-family: inherit;
  font-size: 10px !important;
  font-weight: 600;
  transition: color .16s ease-out, border-color .16s ease-out, background .16s ease-out;
}

#rz-notifications-overlay :is(#rz-metrics-all, #rz-metrics-none):hover {
  border-color: rgba(0, 255, 200, .35) !important;
  background: rgba(0, 255, 200, .065) !important;
  color: #63e5c0 !important;
}

#rz-notifications-overlay #rz-notif-modal div:has(> div > #rz-metrics-preview) {
  border: 1px solid rgba(255, 255, 255, .07);
  background-color: #091217 !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, .025);
}

#rz-notifications-overlay #rz-notif-modal div:has(> #rz-metrics-preview) {
  border: 1px solid rgba(70, 202, 166, .26);
  border-radius: 3px 11px 11px 11px !important;
  background: linear-gradient(135deg, #075948, #064637) !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .17);
}

#rz-notifications-overlay #rz-metrics-preview {
  color: #f0fffb !important;
  font-family: 'Poppins', ui-sans-serif, system-ui, sans-serif;
  font-size: 11.5px !important;
  line-height: 1.65 !important;
}

#rz-notifications-overlay #rz-metrics-preview i {
  color: rgba(235, 255, 249, .72) !important;
}

/* Consistent keyboard visibility inside the scoped experience. */
#rz-notifications-overlay :is(button, input, select):focus-visible,
#rz-notifications-overlay .rz-metric-item:focus-visible {
  outline: 2px solid var(--rz-notif-mint);
  outline-offset: 3px;
}

#rz-notifications-overlay ::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

#rz-notifications-overlay ::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 20px;
  background: #344944;
  background-clip: padding-box;
}

#rz-notifications-overlay ::-webkit-scrollbar-thumb:hover {
  background-color: #516965;
}

/* Tablet */
@media (max-width: 980px) {
  #rz-notifications-page {
    max-width: 100% !important;
    padding: 32px 28px 52px !important;
  }

  #rz-notifications-page > div:first-child {
    gap: 18px;
    margin-bottom: 25px !important;
  }

  #rz-notifications-overlay .rz-notif-card > div {
    gap: 14px;
  }

  #rz-notifications-overlay .rz-notif-card > div > div:last-child {
    max-width: 315px;
  }

  #rz-notifications-overlay #rz-notif-modal:has(#rz-metrics-list) > div > div > div:nth-child(2) {
    grid-template-columns: minmax(0, 1fr) minmax(250px, 290px);
    gap: 18px !important;
  }
}

/* Compact tablet and mobile */
@media (max-width: 720px) {
  #rz-notifications-page {
    padding: 27px 20px 45px !important;
  }

  #rz-notifications-page > div:first-child {
    align-items: stretch !important;
    flex-direction: column;
    gap: 17px;
    margin-bottom: 22px !important;
  }

  #rz-notifications-overlay #rz-notif-add-btn {
    align-self: stretch;
    justify-content: center;
  }

  #rz-notifications-overlay .rz-notif-card {
    padding: 18px !important;
  }

  #rz-notifications-overlay .rz-notif-card > div {
    align-items: stretch !important;
    flex-direction: column;
  }

  #rz-notifications-overlay .rz-notif-card > div > div:last-child {
    max-width: none;
    justify-content: flex-start !important;
  }

  #rz-notifications-overlay #rz-notif-modal > div > div {
    max-width: calc(100vw - 20px) !important;
    padding: 22px !important;
  }

  #rz-notifications-overlay #rz-notif-modal:has(#rz-metrics-list) > div > div > div:nth-child(2) {
    display: flex !important;
    flex-direction: column;
    overflow-y: auto !important;
  }

  #rz-notifications-overlay #rz-notif-modal:has(#rz-metrics-list) > div > div > div:nth-child(2) > div:first-child {
    overflow: visible !important;
  }

  #rz-notifications-overlay #rz-notif-modal:has(#rz-metrics-list) > div > div > div:nth-child(2) > div:last-child {
    min-height: 250px;
  }

  #rz-notifications-overlay #rz-metrics-list {
    max-height: 270px;
  }
}

/* 390 px target */
@media (max-width: 460px) {
  #rz-notifications-page {
    padding: 22px 15px 38px !important;
  }

  #rz-notifications-page > div:first-child h1 {
    font-size: 30px !important;
  }

  #rz-notifications-page > div:first-child h1::before {
    font-size: 9px;
  }

  #rz-notifications-page > div:first-child p {
    margin-top: 10px !important;
    font-size: 11.5px !important;
  }

  #rz-notifications-overlay .rz-notif-card {
    padding: 16px 15px !important;
    border-radius: 12px !important;
  }

  #rz-notifications-overlay .rz-notif-card > div > div:first-child > div:first-child > span:first-child {
    font-size: 14px !important;
  }

  #rz-notifications-overlay .rz-notif-card > div > div:last-child {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px !important;
  }

  #rz-notifications-overlay .rz-notif-card button {
    justify-content: center;
    padding-right: 7px !important;
    padding-left: 7px !important;
  }

  #rz-notifications-overlay #rz-notif-modal > div > div {
    max-width: calc(100vw - 16px) !important;
    padding: 18px 16px !important;
    border-radius: 14px !important;
  }

  #rz-notifications-overlay #rz-notif-modal h2 {
    font-size: 17px !important;
  }

  #rz-notifications-overlay #rz-notif-modal :is(#rz-notif-instance, #rz-notif-phone, #rz-notif-daily-time) {
    font-size: 16px !important;
  }

  #rz-notifications-overlay #rz-notif-modal div:has(> .rz-toggle-wrap) {
    align-items: flex-start !important;
    gap: 12px;
  }

  #rz-notifications-overlay #rz-notif-modal div:has(> .rz-toggle-wrap) p {
    max-width: 235px;
  }

  #rz-notifications-overlay #rz-notif-modal :is(#rz-notif-modal-cancel, #rz-notif-modal-save, #rz-metrics-cancel, #rz-metrics-save) {
    flex: 1;
    padding-right: 10px !important;
    padding-left: 10px !important;
  }

  #rz-notifications-overlay #rz-metrics-list {
    max-height: 244px;
  }

  #rz-notifications-overlay .rz-metric-item {
    min-height: 60px;
    padding: 10px 11px !important;
  }

  #rz-notifications-overlay .rz-metric-item > div:first-child {
    gap: 9px !important;
  }

  #rz-notifications-overlay .rz-metric-item > div:first-child > span {
    font-size: 17px !important;
  }

  #rz-notifications-overlay .rz-metric-item > div:first-child > div > div:last-child {
    font-size: 9px !important;
  }

  #rz-notifications-overlay #rz-metrics-preview {
    font-size: 10.5px !important;
  }
}

@media (max-width: 340px) {
  #rz-notifications-overlay .rz-notif-card > div > div:last-child {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  #rz-notifications-overlay *,
  #rz-notifications-overlay *::before,
  #rz-notifications-overlay *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}


/* ------ affiliate ------ */
/* ReZapp — Programa de Afiliados
   Escopo intencional: o conteúdo é injetado por affiliate-program.js em #rz-affiliate-page.
   Nenhuma regra abaixo altera lógica de candidatura, PIX, saques ou comissões. */

#rz-affiliate-page {
  --rz-aff-base: #06090c;
  --rz-aff-side: #0b1115;
  --rz-aff-panel: #0f171b;
  --rz-aff-panel-raised: #142127;
  --rz-aff-mint: #00ffc8;
  --rz-aff-mint-soft: #45e8bd;
  --rz-aff-ink: #f0f4f5;
  --rz-aff-muted: #a4b2b5;
  --rz-aff-dim: #74878b;
  --rz-aff-line: rgba(255, 255, 255, .09);
  --rz-aff-danger: #ff8d83;
  --rz-aff-warn: #ffbf68;
  box-sizing: border-box;
  color: var(--rz-aff-ink) !important;
  color-scheme: dark;
  font-family: "Poppins", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background:
    radial-gradient(ellipse 65% 36% at 88% -8%, rgba(0, 255, 200, .075), transparent 66%),
    radial-gradient(ellipse 42% 25% at 3% 100%, rgba(15, 110, 96, .08), transparent 72%),
    var(--rz-aff-base) !important;
  scrollbar-color: #344441 transparent;
  scrollbar-width: thin;
}

#rz-affiliate-page *,
#rz-affiliate-page *::before,
#rz-affiliate-page *::after {
  box-sizing: border-box;
}

#rz-affiliate-page > div {
  max-width: 1180px !important;
  margin: 0 auto;
}

/* Cabeçalho editorial compartilhado pelos estados de candidatura e painel aprovado. */
#rz-affiliate-page > div > div:first-child {
  position: relative;
  margin-bottom: 30px !important;
  padding: 4px 0 0;
}

#rz-affiliate-page > div > div:first-child::before {
  content: "REZAPP / PARCEIROS";
  display: flex;
  align-items: center;
  width: max-content;
  min-height: 18px;
  margin: 0 0 10px;
  padding-left: 13px;
  color: var(--rz-aff-mint-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1;
  border-left: 2px solid var(--rz-aff-mint);
}

#rz-affiliate-page > div > div:first-child h1 {
  max-width: 760px;
  margin: 0 0 9px !important;
  color: var(--rz-aff-ink) !important;
  font-size: clamp(29px, 3vw, 40px) !important;
  font-weight: 700 !important;
  letter-spacing: -.05em;
  line-height: 1.08;
}

#rz-affiliate-page > div > div:first-child p {
  max-width: 690px;
  color: var(--rz-aff-muted) !important;
  font-size: 13px !important;
  line-height: 1.7;
}

#rz-affiliate-page h2 {
  color: var(--rz-aff-ink) !important;
  font-weight: 650;
  letter-spacing: -.025em;
  line-height: 1.3;
}

#rz-affiliate-page p {
  line-height: 1.65;
}

/* Cartões injetados mantêm a estrutura existente; os atributos inline recebem somente pele visual. */
#rz-affiliate-page [style*="background:#1e293b"][style*="border:1px solid #334155"] {
  background: linear-gradient(145deg, #111b1f, #0e161a) !important;
  border-color: var(--rz-aff-line) !important;
  border-radius: 14px !important;
  box-shadow: 0 10px 32px rgba(0, 0, 0, .13);
}

#rz-affiliate-page [style*="background:#1e293b"][style*="border:1px solid #334155"]:hover {
  border-color: rgba(0, 255, 200, .24) !important;
}

#rz-affiliate-page [style*="background:rgba(16,185,129"] {
  background: linear-gradient(145deg, rgba(0, 255, 200, .11), rgba(10, 37, 34, .92)) !important;
  border-color: rgba(0, 255, 200, .48) !important;
  box-shadow: 0 0 0 1px rgba(0, 255, 200, .12), 0 15px 34px rgba(0, 0, 0, .17) !important;
}

#rz-affiliate-page [style*="background:rgba(239,68,68"] {
  color: #ffd1cb !important;
  background: linear-gradient(110deg, rgba(173, 51, 43, .22), rgba(73, 22, 24, .20)) !important;
  border-color: rgba(255, 126, 115, .35) !important;
  box-shadow: none !important;
}

#rz-affiliate-page [style*="background:#0f172a"] {
  background: rgba(4, 10, 13, .72) !important;
  border-color: rgba(255, 255, 255, .105) !important;
}

#rz-affiliate-page [style*="font-size:23px"],
#rz-affiliate-page [style*="font-size:25px"] {
  color: var(--rz-aff-mint) !important;
  font-size: clamp(22px, 2vw, 26px) !important;
  font-weight: 700 !important;
  letter-spacing: -.045em;
  line-height: 1.08;
}

#rz-affiliate-page [style*="font-size:20px"] {
  font-size: 20px !important;
  font-weight: 650 !important;
  letter-spacing: -.025em;
}

#rz-affiliate-page [style*="color:#f8fafc"] {
  color: var(--rz-aff-ink) !important;
}

#rz-affiliate-page [style*="color:#cbd5e1"] {
  color: #c7d1d3 !important;
}

#rz-affiliate-page [style*="color:#94a3b8"] {
  color: var(--rz-aff-muted) !important;
}

#rz-affiliate-page [style*="color:#64748b"] {
  color: var(--rz-aff-dim) !important;
}

#rz-affiliate-page [style*="color:#10b981"] {
  color: var(--rz-aff-mint-soft) !important;
}

#rz-affiliate-page [style*="color:#f59e0b"] {
  color: var(--rz-aff-warn) !important;
}

#rz-affiliate-page [style*="color:#ef4444"] {
  color: var(--rz-aff-danger) !important;
}

/* Selo de nível atual e a ênfase de saldos positivos. */
#rz-affiliate-page [style*="background:#10b981"] {
  color: #04120f !important;
  background: var(--rz-aff-mint) !important;
  box-shadow: 0 4px 13px rgba(0, 255, 200, .16);
}

#rz-affiliate-page [style*="font-size:10px"][style*="font-weight:800"] {
  letter-spacing: .075em;
}

#rz-affiliate-page [style*="display:grid"][style*="grid-template-columns:repeat(auto-fit"] {
  gap: 14px !important;
}

#rz-affiliate-page [style*="display:grid"][style*="grid-template-columns:repeat(auto-fit"] > div {
  min-width: 0;
}

/* Formulários: visual consistente sem tocar em IDs, tipos, validação ou estado readonly. */
#rz-affiliate-page form {
  min-width: 0;
}

#rz-affiliate-page label {
  color: #c7d1d3 !important;
  font-size: 12px !important;
  font-weight: 500;
  letter-spacing: -.005em;
}

#rz-affiliate-page input,
#rz-affiliate-page textarea,
#rz-affiliate-page select {
  max-width: 100%;
  color: var(--rz-aff-ink) !important;
  background: rgba(4, 10, 13, .76) !important;
  border-color: rgba(255, 255, 255, .115) !important;
  border-radius: 9px !important;
  font-family: inherit !important;
  font-size: 12px;
  line-height: 1.45;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
  transition: border-color .16s ease-out, box-shadow .16s ease-out, background-color .16s ease-out;
}

#rz-affiliate-page input,
#rz-affiliate-page select {
  min-height: 41px;
}

#rz-affiliate-page textarea {
  line-height: 1.55;
}

#rz-affiliate-page input::placeholder,
#rz-affiliate-page textarea::placeholder {
  color: #718389;
  opacity: 1;
}

#rz-affiliate-page input[readonly] {
  color: #a8ddd1 !important;
  background: rgba(0, 255, 200, .045) !important;
  border-color: rgba(0, 255, 200, .17) !important;
  cursor: text;
}

#rz-affiliate-page input:hover,
#rz-affiliate-page textarea:hover,
#rz-affiliate-page select:hover {
  border-color: rgba(0, 255, 200, .28) !important;
}

#rz-affiliate-page input:focus-visible,
#rz-affiliate-page textarea:focus-visible,
#rz-affiliate-page select:focus-visible,
#rz-affiliate-page button:focus-visible {
  outline: 2px solid var(--rz-aff-mint) !important;
  outline-offset: 3px;
}

#rz-affiliate-page input:focus,
#rz-affiliate-page textarea:focus,
#rz-affiliate-page select:focus {
  border-color: rgba(0, 255, 200, .65) !important;
  background: rgba(5, 18, 20, .92) !important;
  box-shadow: 0 0 0 3px rgba(0, 255, 200, .10) !important;
}

#rz-affiliate-page input:disabled,
#rz-affiliate-page textarea:disabled,
#rz-affiliate-page select:disabled {
  color: #718389 !important;
  border-color: rgba(255, 255, 255, .07) !important;
  background: rgba(255, 255, 255, .025) !important;
  cursor: not-allowed;
}

#rz-affiliate-page select {
  cursor: pointer;
}

#rz-affiliate-page button {
  min-height: 39px;
  color: #04120f !important;
  background: linear-gradient(115deg, var(--rz-aff-mint), #1dd4a7) !important;
  border: 1px solid transparent !important;
  border-radius: 9px !important;
  font-family: inherit !important;
  font-size: 12px;
  font-weight: 700 !important;
  letter-spacing: -.01em;
  line-height: 1.15;
  box-shadow: 0 5px 17px rgba(0, 255, 200, .12);
  transition: transform .16s ease-out, box-shadow .16s ease-out, filter .16s ease-out, border-color .16s ease-out;
}

#rz-affiliate-page button:hover:not(:disabled) {
  filter: brightness(1.05);
  box-shadow: 0 7px 21px rgba(0, 255, 200, .22);
  transform: translateY(-1px);
}

#rz-affiliate-page button:active:not(:disabled) {
  transform: translateY(0) scale(.985);
}

#rz-affiliate-page button:disabled {
  color: #9aa8aa !important;
  background: #27343a !important;
  border-color: rgba(255, 255, 255, .06) !important;
  box-shadow: none;
  cursor: not-allowed;
  opacity: .78;
}

#rz-affiliate-page .rz-aff-cancel-payout {
  min-height: 28px;
  padding: 4px 9px !important;
  color: #ffaaa1 !important;
  background: rgba(255, 104, 91, .055) !important;
  border-color: rgba(255, 112, 100, .38) !important;
  border-radius: 7px !important;
  box-shadow: none;
  font-size: 10px;
}

#rz-affiliate-page .rz-aff-cancel-payout:hover:not(:disabled) {
  color: #ffd1cb !important;
  background: rgba(255, 104, 91, .12) !important;
  border-color: rgba(255, 142, 132, .72) !important;
  box-shadow: none;
}

#rz-affiliate-page #rz-aff-copy {
  min-width: 104px;
}

#rz-affiliate-page #rz-aff-form-msg,
#rz-affiliate-page #rz-aff-pix-msg,
#rz-affiliate-page #rz-aff-payout-msg {
  display: inline-block;
  min-height: 18px;
  color: var(--rz-aff-muted) !important;
  font-size: 11px !important;
  line-height: 1.5;
  vertical-align: middle;
}

/* Painel de planos, pagamentos e tabela de comissões. */
#rz-affiliate-page [style*="overflow-x:auto"] {
  border: 1px solid rgba(255, 255, 255, .065);
  border-radius: 10px;
  scrollbar-color: #3f5652 transparent;
  scrollbar-width: thin;
}

#rz-affiliate-page table {
  color: var(--rz-aff-ink);
  min-width: 610px;
}

#rz-affiliate-page thead {
  background: rgba(255, 255, 255, .025);
}

#rz-affiliate-page th {
  color: #8fa1a4 !important;
  font-size: 10px !important;
  font-weight: 650;
  letter-spacing: .075em;
  text-transform: uppercase;
}

#rz-affiliate-page td {
  color: #c5d0d2;
  font-size: 12px;
  vertical-align: top;
}

#rz-affiliate-page tbody tr {
  transition: background-color .16s ease-out;
}

#rz-affiliate-page tbody tr:hover {
  background: rgba(0, 255, 200, .035);
}

#rz-affiliate-page tbody tr td {
  border-color: rgba(255, 255, 255, .07) !important;
}

#rz-affiliate-page strong {
  color: inherit;
  font-weight: 650;
}

#rz-affiliate-page [style*="border-top:1px solid #334155"] {
  border-color: rgba(255, 255, 255, .075) !important;
}

#rz-affiliate-page [style*="font-size:11px"] {
  line-height: 1.5;
}

#rz-affiliate-page ::selection {
  color: #04120f;
  background: rgba(0, 255, 200, .82);
}

@media (max-width: 1050px) {
  #rz-affiliate-page {
    padding: 30px 26px 44px !important;
  }

  #rz-affiliate-page > div {
    max-width: 960px !important;
  }

  #rz-affiliate-page > div > div:first-child {
    margin-bottom: 25px !important;
  }

  #rz-affiliate-page [style*="display:grid"][style*="minmax(300px,1fr)"] {
    gap: 14px !important;
  }
}

@media (max-width: 680px) {
  #rz-affiliate-page {
    padding: 25px 16px 38px !important;
  }

  #rz-affiliate-page > div > div:first-child {
    margin-bottom: 21px !important;
  }

  #rz-affiliate-page > div > div:first-child::before {
    margin-bottom: 9px;
    font-size: 9px;
  }

  #rz-affiliate-page > div > div:first-child h1 {
    font-size: 29px !important;
  }

  #rz-affiliate-page > div > div:first-child p {
    font-size: 12px !important;
    line-height: 1.62;
  }

  #rz-affiliate-page [style*="background:#1e293b"][style*="border:1px solid #334155"] {
    border-radius: 12px !important;
  }

  #rz-affiliate-page [style*="display:grid"][style*="grid-template-columns:repeat(auto-fit"] {
    gap: 10px !important;
  }

  #rz-affiliate-page [style*="grid-template-columns:repeat(auto-fit,minmax(180px,1fr))"] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  #rz-affiliate-page [style*="grid-template-columns:repeat(auto-fit,minmax(170px,1fr))"] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  #rz-affiliate-page [style*="grid-template-columns:repeat(auto-fit,minmax(300px,1fr))"] {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  #rz-affiliate-page [style*="background:#1e293b"][style*="border:1px solid #334155"] {
    padding: 16px !important;
  }

  #rz-affiliate-page [style*="font-size:23px"],
  #rz-affiliate-page [style*="font-size:25px"] {
    font-size: 21px !important;
  }

  #rz-affiliate-page [style*="display:flex"][style*="gap:8px"] > #rz-aff-link {
    min-width: 0 !important;
  }

  #rz-affiliate-page #rz-aff-copy {
    flex: 1 0 auto;
  }

  #rz-affiliate-page table {
    min-width: 580px;
  }

  #rz-affiliate-page th,
  #rz-affiliate-page td {
    font-size: 11px !important;
  }
}

@media (max-width: 410px) {
  #rz-affiliate-page {
    padding: 20px 12px 32px !important;
  }

  #rz-affiliate-page > div > div:first-child h1 {
    font-size: 27px !important;
  }

  #rz-affiliate-page [style*="background:#1e293b"][style*="border:1px solid #334155"] {
    padding: 14px !important;
  }

  #rz-affiliate-page [style*="display:flex"][style*="gap:8px"] {
    gap: 8px !important;
  }

  #rz-affiliate-page #rz-aff-copy {
    width: 100%;
  }

  #rz-affiliate-page button {
    min-height: 41px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #rz-affiliate-page *,
  #rz-affiliate-page *::before,
  #rz-affiliate-page *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}


/* ------ guide ------ */
/*
 * ReZapp — Como Usar
 * Escopo exclusivo: a página injetada por public/como-usar-page.js.
 * Não altera roteamento, conteúdo, formulários ou camadas externas da aplicação.
 */

html.rz-v1-ui #rz-como-usar-page {
  --rz-guide-base: #06090c;
  --rz-guide-panel: #0f171b;
  --rz-guide-panel-hover: #142127;
  --rz-guide-side: #0b1115;
  --rz-guide-mint: #00ffc8;
  --rz-guide-ink: #f0f4f5;
  --rz-guide-muted: #a4b2b5;
  --rz-guide-dim: #718084;
  --rz-guide-line: rgba(255, 255, 255, .09);
  --rz-guide-radius: 14px;
  --rz-guide-shadow: 0 16px 44px rgba(0, 0, 0, .20);

  box-sizing: border-box;
  isolation: isolate;
  color: var(--rz-guide-ink);
  color-scheme: dark;
  font-family: 'Poppins', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  background:
    radial-gradient(ellipse 68% 31% at 84% -5%, rgba(0, 255, 200, .075), transparent 66%),
    radial-gradient(ellipse 36% 20% at 6% 42%, rgba(18, 107, 91, .08), transparent 72%),
    var(--rz-guide-base) !important;
  scrollbar-color: #385049 transparent;
  scrollbar-width: thin;
}

#rz-como-usar-page *,
#rz-como-usar-page *::before,
#rz-como-usar-page *::after {
  box-sizing: border-box;
}

#rz-como-usar-page > div:first-child {
  position: relative;
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: 50px 42px 31px !important;
  border-bottom: 1px solid var(--rz-guide-line) !important;
}

#rz-como-usar-page > div:first-child::before {
  content: '';
  display: block;
  width: 34px;
  height: 4px;
  margin-bottom: 17px;
  border-radius: 999px;
  background: var(--rz-guide-mint);
  box-shadow: 0 0 18px rgba(0, 255, 200, .45);
}

#rz-como-usar-page > div:first-child::after {
  content: '';
  position: absolute;
  right: 42px;
  bottom: -1px;
  width: clamp(72px, 13vw, 164px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--rz-guide-mint));
}

#rz-como-usar-page > div:first-child h1 {
  max-width: 760px;
  margin: 0 0 10px !important;
  color: var(--rz-guide-ink) !important;
  font-size: clamp(31px, 4.1vw, 47px) !important;
  font-weight: 700 !important;
  letter-spacing: -.052em;
  line-height: 1.08;
}

#rz-como-usar-page > div:first-child p {
  max-width: 660px;
  margin: 0 !important;
  color: var(--rz-guide-muted) !important;
  font-size: 14px !important;
  font-weight: 400;
  line-height: 1.72;
}

#rz-como-usar-page > div:nth-child(2) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 16px;
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: 27px 42px 56px !important;
}

#rz-como-usar-page > div:nth-child(2) > div {
  min-width: 0;
  margin: 0 !important;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--rz-guide-line);
  border-radius: var(--rz-guide-radius);
  background:
    linear-gradient(145deg, rgba(20, 33, 39, .70), rgba(15, 23, 27, .98) 54%),
    var(--rz-guide-panel);
  box-shadow: var(--rz-guide-shadow);
  transition: border-color .18s ease-out, background-color .18s ease-out, transform .18s ease-out, box-shadow .18s ease-out;
}

#rz-como-usar-page > div:nth-child(2) > div:hover {
  border-color: rgba(0, 255, 200, .22);
  background: linear-gradient(145deg, rgba(20, 40, 43, .82), rgba(15, 23, 27, 1) 58%);
  box-shadow: 0 20px 48px rgba(0, 0, 0, .26), 0 0 0 1px rgba(0, 255, 200, .025);
  transform: translateY(-2px);
}

#rz-como-usar-page > div:nth-child(2) > div > div:first-child {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  min-height: 44px;
  margin: 0 0 19px !important;
  padding-bottom: 17px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

#rz-como-usar-page > div:nth-child(2) > div > div:first-child > div {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 42px !important;
  height: 42px !important;
  flex: 0 0 42px;
  overflow: hidden;
  border: 1px solid rgba(0, 255, 200, .19);
  border-radius: 12px !important;
  color: var(--rz-guide-mint) !important;
  background: linear-gradient(145deg, rgba(0, 255, 200, .13), rgba(0, 255, 200, .045)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .055), 0 5px 18px rgba(0, 255, 200, .065);
}

#rz-como-usar-page > div:nth-child(2) > div > div:first-child svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.8;
}

#rz-como-usar-page > div:nth-child(2) > div > div:first-child h2 {
  min-width: 0;
  margin: 0 !important;
  color: var(--rz-guide-ink) !important;
  font-size: clamp(16px, 1.65vw, 19px) !important;
  font-weight: 650 !important;
  letter-spacing: -.026em;
  line-height: 1.3;
}

#rz-como-usar-page > div:nth-child(2) > div > div:not(:first-child) {
  position: relative;
  margin: 0 0 10px 8px !important;
  padding: 14px 15px 14px 18px !important;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .065);
  border-left: 2px solid rgba(0, 255, 200, .64) !important;
  border-radius: 0 10px 10px 0 !important;
  background: rgba(6, 9, 12, .48) !important;
  transition: background-color .16s ease-out, border-color .16s ease-out, transform .16s ease-out;
}

#rz-como-usar-page > div:nth-child(2) > div > div:not(:first-child)::before {
  content: '';
  position: absolute;
  top: 20px;
  left: -6px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--rz-guide-mint);
  border-radius: 50%;
  background: var(--rz-guide-side);
  box-shadow: 0 0 0 4px rgba(0, 255, 200, .075);
}

#rz-como-usar-page > div:nth-child(2) > div > div:not(:first-child):hover {
  border-color: rgba(0, 255, 200, .20);
  border-left-color: var(--rz-guide-mint) !important;
  background: rgba(20, 33, 39, .88) !important;
  transform: translateX(2px);
}

#rz-como-usar-page > div:nth-child(2) > div > div:last-child {
  margin-bottom: 0 !important;
}

#rz-como-usar-page > div:nth-child(2) > div > div:not(:first-child) > div:first-child {
  margin: 0 0 5px !important;
  color: var(--rz-guide-ink) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: -.012em;
  line-height: 1.4;
}

#rz-como-usar-page > div:nth-child(2) > div > div:not(:first-child) > div:last-child {
  margin: 0 !important;
  color: var(--rz-guide-muted) !important;
  font-size: 12px !important;
  font-weight: 400;
  line-height: 1.7 !important;
  overflow-wrap: anywhere;
}

#rz-como-usar-page :is(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--rz-guide-mint);
  outline-offset: 3px;
}

#rz-como-usar-page :is(button, input, select, textarea) {
  font: inherit;
}

#rz-como-usar-page :is(input, select, textarea) {
  max-width: 100%;
  border: 1px solid var(--rz-guide-line);
  border-radius: 9px;
  color: var(--rz-guide-ink);
  background: var(--rz-guide-side);
}

#rz-como-usar-page :is(input, select, textarea):focus {
  border-color: rgba(0, 255, 200, .6);
}

#rz-como-usar-page button {
  border: 1px solid rgba(0, 255, 200, .22);
  border-radius: 9px;
  color: #04110e;
  background: var(--rz-guide-mint);
  box-shadow: 0 5px 16px rgba(0, 255, 200, .12);
  transition: background-color .16s ease-out, border-color .16s ease-out, box-shadow .16s ease-out, transform .16s ease-out;
}

#rz-como-usar-page button:hover {
  background: #38efbd;
  box-shadow: 0 6px 20px rgba(0, 255, 200, .20);
}

#rz-como-usar-page button:active {
  transform: scale(.98);
}

@media (max-width: 1080px) {
  #rz-como-usar-page > div:first-child,
  #rz-como-usar-page > div:nth-child(2) {
    max-width: 820px !important;
  }

  #rz-como-usar-page > div:nth-child(2) {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 700px) {
  #rz-como-usar-page > div:first-child {
    padding: 38px 25px 27px !important;
  }

  #rz-como-usar-page > div:first-child::after {
    right: 25px;
  }

  #rz-como-usar-page > div:nth-child(2) {
    gap: 12px;
    padding: 20px 25px 42px !important;
  }

  #rz-como-usar-page > div:nth-child(2) > div {
    padding: 19px;
    border-radius: 12px;
  }
}

@media (max-width: 420px) {
  #rz-como-usar-page > div:first-child {
    padding: 33px 17px 24px !important;
  }

  #rz-como-usar-page > div:first-child::before {
    width: 28px;
    height: 3px;
    margin-bottom: 14px;
  }

  #rz-como-usar-page > div:first-child::after {
    right: 17px;
    width: 67px;
  }

  #rz-como-usar-page > div:first-child h1 {
    font-size: 30px !important;
    letter-spacing: -.048em;
  }

  #rz-como-usar-page > div:first-child p {
    font-size: 12px !important;
    line-height: 1.65;
  }

  #rz-como-usar-page > div:nth-child(2) {
    gap: 10px;
    padding: 16px 12px 34px !important;
  }

  #rz-como-usar-page > div:nth-child(2) > div {
    padding: 16px 13px;
    border-radius: 11px;
  }

  #rz-como-usar-page > div:nth-child(2) > div > div:first-child {
    gap: 10px !important;
    min-height: 39px;
    margin-bottom: 15px !important;
    padding-bottom: 14px;
  }

  #rz-como-usar-page > div:nth-child(2) > div > div:first-child > div {
    width: 38px !important;
    height: 38px !important;
    flex-basis: 38px;
    border-radius: 10px !important;
  }

  #rz-como-usar-page > div:nth-child(2) > div > div:first-child svg {
    width: 18px;
    height: 18px;
  }

  #rz-como-usar-page > div:nth-child(2) > div > div:first-child h2 {
    font-size: 15px !important;
    line-height: 1.28;
  }

  #rz-como-usar-page > div:nth-child(2) > div > div:not(:first-child) {
    margin: 0 0 8px 5px !important;
    padding: 12px 11px 12px 14px !important;
    border-radius: 0 8px 8px 0 !important;
  }

  #rz-como-usar-page > div:nth-child(2) > div > div:not(:first-child)::before {
    top: 17px;
  }

  #rz-como-usar-page > div:nth-child(2) > div > div:not(:first-child) > div:first-child {
    margin-bottom: 4px !important;
    font-size: 12px !important;
  }

  #rz-como-usar-page > div:nth-child(2) > div > div:not(:first-child) > div:last-child {
    font-size: 11px !important;
    line-height: 1.63 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #rz-como-usar-page,
  #rz-como-usar-page *,
  #rz-como-usar-page *::before,
  #rz-como-usar-page *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

