/* Consultor: tela cheia de conversa, toda em verde (11/11: para não confundir com o painel azul). */
:root {
  --navy-deep: #0b2a1f; --navy: #14503a; --navy-lift: #1c6b4c; --sky: #2fb37a;
  --paper: #f5f8f6; --card: #ffffff; --ink: #16203a; --ink-2: #55617e; --ink-3: #8d97ad;
  --line: #e0e8e3; --line-strong: #c6d5cc; --danger: #96393c; --danger-bg: #f9ebeb;
  --lado: 17rem; --coluna: 48rem;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
.cs-html { overflow: hidden; }
body { font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif; font-size: .9375rem;
       background: var(--paper); color: var(--ink); -webkit-font-smoothing: antialiased; overflow: hidden; }
button { font: inherit; cursor: pointer; }
.cs { position: fixed; inset: 0; display: grid; grid-template-columns: var(--lado) minmax(0, 1fr); }

/* lateral */
.cs-lado { display: flex; flex-direction: column; min-height: 0; padding: 1.1rem .8rem .8rem;
           background: linear-gradient(200deg, #0d3527, #134a35 55%, #0a241b); color: #d7ebe0; }
.cs-marca { display: flex; align-items: center; gap: .65rem; padding: 0 .4rem 1.1rem; }
.cs-marca > svg { width: 36px; height: 36px; flex: 0 0 auto; color: #3fbf86; }
.cs-marca strong { display: block; font-size: .95rem; color: #fff; }
.cs-marca small { display: block; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: #9fc8b2; }
.cs-fechar-lado { display: none; margin-left: auto; background: none; border: 0; color: #cfe6da; padding: .3rem; }
.cs-fechar-lado svg { width: 20px; height: 20px; }
.cs-nova { display: flex; align-items: center; gap: .55rem; width: 100%; padding: .7rem .85rem; border-radius: .75rem;
           border: 1px solid #ffffff26; background: #ffffff12; color: #fff; font-weight: 600; font-size: .875rem; }
.cs-nova:hover { background: #ffffff20; }
.cs-nova svg { width: 18px; height: 18px; }
.cs-rotulo { margin: 1.2rem .5rem .3rem; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: #8fbba3; }
.cs-lista { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 1px; margin: 0 -.2rem; padding: 0 .2rem; }
.cs-grupo { margin: .8rem .55rem .25rem; font-size: .7rem; font-weight: 600; color: #8fbba3; }
.cs-item { position: relative; display: flex; align-items: center; border-radius: .6rem; }
.cs-item:hover { background: #ffffff12; }
.cs-item.on { background: #ffffff1f; }
.cs-item-link { flex: 1; min-width: 0; padding: .55rem .2rem .55rem .65rem; color: #cfe6da; text-decoration: none; font-size: .85rem;
                white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs-item-link[hidden] { display: none; }
.cs-item:hover .cs-item-link, .cs-item.on .cs-item-link { color: #fff; }
.cs-item.on .cs-item-link { font-weight: 600; }
.cs-item-mais { flex: 0 0 auto; display: inline-flex; padding: .35rem; margin-right: .2rem; border: 0; border-radius: .45rem; background: none;
                color: #9fc8b2; opacity: 0; }
.cs-item:hover .cs-item-mais, .cs-item.on .cs-item-mais, .cs-item-mais:focus-visible { opacity: 1; }
.cs-item-mais:hover { background: #ffffff1f; color: #fff; }
.cs-item-mais svg { width: 16px; height: 16px; }
.cs-item-menu { position: absolute; right: .2rem; top: calc(100% + .2rem); z-index: 30; min-width: 9rem; padding: .3rem; border-radius: .7rem;
                background: #fff; box-shadow: 0 8px 28px -8px #0b2a1faa; }
.cs-item-menu button { display: block; width: 100%; padding: .5rem .7rem; border: 0; border-radius: .45rem; background: none; color: var(--ink);
                       font-size: .85rem; text-align: left; }
.cs-item-menu button:hover { background: var(--paper); }
.cs-item-menu button.perigo { color: var(--danger); }
.cs-renomear { flex: 1; min-width: 0; margin: .25rem; padding: .35rem .5rem; border: 1px solid var(--sky); border-radius: .45rem;
               background: #fff; color: var(--ink); font: inherit; font-size: .85rem; outline: 0; }
.cs-topo .cs-renomear { font-size: 1rem; font-weight: 600; margin: 0; }
.cs-topo h1[hidden] { display: none; }
.cs-de-novo { border: 0; border-radius: .5rem; padding: .3rem .7rem; background: var(--navy); color: #fff; font-size: .78rem; font-weight: 600; }
.cs-de-novo:hover { background: var(--navy-lift); }
.cs-de-novo:disabled { background: var(--line-strong); }
@media (hover: none) { .cs-item-mais { opacity: 1; } }
.cs-vazio { margin: .5rem .6rem; font-size: .8rem; color: #8fbba3; }
.cs-pe { border-top: 1px solid #ffffff1a; margin-top: .6rem; padding-top: .6rem; }
.cs-pe form { margin: 0; }
.cs-pe-link { display: flex; align-items: center; gap: .6rem; width: 100%; padding: .55rem .65rem; border-radius: .6rem; border: 0;
              background: none; color: #cfe6da; text-decoration: none; font-size: .85rem; text-align: left; }
.cs-pe-link:hover { background: #ffffff12; color: #fff; }
.cs-pe-link svg { width: 17px; height: 17px; flex: 0 0 auto; }
.cs-fundo { display: none; }

/* principal */
.cs-main { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.cs-topo { display: flex; align-items: center; gap: .6rem; padding: .75rem 1.25rem; border-bottom: 1px solid var(--line); background: var(--paper); }
.cs-topo h1 { flex: 1; margin: 0; font-size: 1rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs-menu { display: none; background: none; border: 0; padding: .3rem; color: var(--ink); }
.cs-menu svg { width: 22px; height: 22px; }
.cs-acoes { display: flex; gap: .2rem; }
.cs-acoes[hidden] { display: none; }
.cs-acoes button { background: none; border: 0; padding: .4rem; border-radius: .5rem; color: var(--ink-2); }
.cs-acoes button:hover { background: var(--line); color: var(--ink); }
.cs-acoes svg { width: 18px; height: 18px; display: block; }
.cs-rolagem { flex: 1; min-height: 0; overflow-y: auto; padding: 1.5rem 1.25rem 1rem; }
.cs-msgs, .cs-boasvindas, .cs-compor { width: 100%; max-width: var(--coluna); margin: 0 auto; }

.cs-boasvindas { text-align: center; padding: 8vh 0 1rem; }
.cs-boasvindas[hidden] { display: none; }
.cs-boasvindas > svg { width: 84px; height: 84px; color: var(--sky); }
.cs-boasvindas h2 { margin: .8rem 0 .4rem; font-size: 1.6rem; font-weight: 700; letter-spacing: -.02em; }
.cs-boasvindas p { margin: 0 auto 1.6rem; max-width: 34rem; color: var(--ink-2); line-height: 1.55; }
.cs-sugestoes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; text-align: left; }
.cs-sugestoes button { padding: .8rem .95rem; border-radius: .8rem; border: 1px solid var(--line); background: var(--card); color: var(--ink);
                       font-size: .85rem; line-height: 1.4; text-align: left; }
.cs-sugestoes button:hover { border-color: var(--line-strong); background: #fbfcfe; }

.cs-msg { margin: 0 0 1.4rem; }
.cs-msg.pessoa { display: flex; flex-direction: column; align-items: flex-end; }
.cs-bolha { max-width: 85%; padding: .7rem 1rem; border-radius: 1.1rem 1.1rem .3rem 1.1rem; background: #2b3445; color: #fff;
            line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.cs-texto { line-height: 1.65; overflow-wrap: anywhere; }
.cs-texto > :first-child { margin-top: 0; }
.cs-texto > :last-child { margin-bottom: 0; }
.cs-texto p { margin: 0 0 .8rem; }
.cs-texto h1, .cs-texto h2, .cs-texto h3 { margin: 1.2rem 0 .5rem; font-size: 1.05rem; font-weight: 700; }
.cs-texto ul, .cs-texto ol { margin: 0 0 .8rem; padding-left: 1.4rem; }
.cs-texto li { margin: .2rem 0; }
.cs-texto table { display: block; overflow-x: auto; border-collapse: collapse; margin: 0 0 .9rem; font-size: .86rem; }
.cs-texto th, .cs-texto td { border: 1px solid var(--line); padding: .4rem .6rem; text-align: left; }
.cs-texto th { background: #eaf3ee; font-weight: 600; }
.cs-texto code { background: #eaf3ee; padding: .1rem .3rem; border-radius: .3rem; font-size: .85em; }
.cs-texto pre { background: #eaf3ee; padding: .8rem; border-radius: .6rem; overflow-x: auto; }
.cs-texto blockquote { margin: 0 0 .8rem; padding-left: .9rem; border-left: 3px solid var(--line-strong); color: var(--ink-2); }
.cs-msg-barra { display: flex; align-items: center; gap: .7rem; margin-top: .4rem; }
.cs-copiar { background: none; border: 1px solid var(--line); border-radius: .5rem; padding: .2rem .55rem; font-size: .75rem; color: var(--ink-2); }
.cs-copiar:hover { border-color: var(--line-strong); color: var(--ink); }
.cs-hora { font-size: .72rem; color: var(--ink-3); }
.cs-msg-anexos { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: flex-end; margin-bottom: .4rem; max-width: 85%; }
.cs-msg-anexo { display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .65rem; border-radius: .7rem; border: 1px solid var(--line);
                background: var(--card); color: var(--ink); text-decoration: none; font-size: .8rem; max-width: 16rem; }
.cs-msg-anexo span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cs-msg-anexo.img { padding: 0; overflow: hidden; }
.cs-msg-anexo.img img { display: block; max-width: 14rem; max-height: 11rem; object-fit: cover; }
.cs-ext { flex: 0 0 auto; padding: .15rem .35rem; border-radius: .35rem; background: var(--navy-lift); color: #fff; font-size: .62rem; font-weight: 700; }

.cs-passo { display: flex; align-items: center; gap: .55rem; margin-bottom: .5rem; font-size: .82rem; color: var(--ink-2); }
.cs-pontos { width: 10px; height: 10px; border-radius: 50%; background: var(--sky); animation: cs-pulso 1.1s ease-in-out infinite; }
@keyframes cs-pulso { 0%, 100% { transform: scale(.7); opacity: .5; } 50% { transform: scale(1.15); opacity: 1; } }

/* compor */
.cs-compor { padding: 0 1.25rem 1rem; padding-bottom: max(1rem, env(safe-area-inset-bottom)); }
.cs-caixa { border: 1px solid var(--line-strong); border-radius: 1.2rem; background: var(--card); box-shadow: 0 2px 14px -6px #16203a33;
            padding: .6rem .7rem .5rem; }
.cs-caixa:focus-within { border-color: var(--navy-lift); }
.cs-caixa textarea { display: block; width: 100%; border: 0; outline: 0; resize: none; background: none; color: var(--ink);
                     font: inherit; font-size: .95rem; line-height: 1.5; padding: .3rem .35rem; max-height: 260px; }
.cs-anexos { display: flex; flex-wrap: wrap; gap: .45rem; padding: .1rem .2rem .5rem; }
.cs-anexos[hidden] { display: none; }
.cs-chip { position: relative; display: inline-flex; align-items: center; gap: .45rem; max-width: 14rem; padding: .3rem 1.6rem .3rem .35rem;
           border: 1px solid var(--line); border-radius: .7rem; background: var(--paper); font-size: .78rem; }
.cs-chip img { width: 38px; height: 38px; object-fit: cover; border-radius: .45rem; }
.cs-chip-nome { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cs-chip-x { position: absolute; top: .15rem; right: .25rem; border: 0; background: none; color: var(--ink-3); font-size: 1rem; line-height: 1; }
.cs-chip-x:hover { color: var(--danger); }
.cs-barra { display: flex; align-items: center; gap: .5rem; padding-top: .3rem; }
.cs-clipe { position: relative; overflow: hidden; display: inline-flex; padding: .4rem; border-radius: .6rem; color: var(--ink-2); cursor: pointer; }
.cs-clipe:hover { background: var(--paper); color: var(--ink); }
.cs-clipe input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.cs-clipe svg { width: 20px; height: 20px; }
.cs-dica { flex: 1; font-size: .72rem; color: var(--ink-3); }
.cs-enviar { margin-left: auto; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; border: 0;
             background: var(--navy); color: #fff; }
.cs-enviar:hover { background: var(--navy-lift); }
.cs-enviar:disabled { background: var(--line-strong); cursor: default; }
.cs-enviar svg { width: 18px; height: 18px; }
.cs-erro { margin-top: .5rem; padding: .55rem .8rem; border-radius: .6rem; background: var(--danger-bg); color: var(--danger); font-size: .85rem; }
.cs-erro[hidden] { display: none; }
.cs-soltar { position: absolute; inset: .75rem; z-index: 5; display: flex; align-items: center; justify-content: center;
             border: 2px dashed var(--sky); border-radius: 1rem; background: #e9f6efee; color: var(--navy-lift); font-weight: 600; pointer-events: none; }
.cs-soltar[hidden] { display: none; }

/* celular */
@media (max-width: 820px) {
  .cs { grid-template-columns: minmax(0, 1fr); }
  .cs-lado { position: fixed; inset: 0 auto 0 0; z-index: 20; width: min(86vw, 19rem); transform: translateX(-100%); transition: transform .2s ease; }
  .cs.lado-aberto .cs-lado { transform: none; }
  .cs.lado-aberto .cs-fundo { display: block; position: fixed; inset: 0; z-index: 15; background: #0b2a1f66; }
  .cs-fechar-lado, .cs-menu { display: inline-flex; }
  .cs-topo { padding: .6rem 1rem; }
  .cs-rolagem { padding: 1rem 1rem .5rem; }
  .cs-compor { padding-left: .75rem; padding-right: .75rem; }
  .cs-sugestoes { grid-template-columns: minmax(0, 1fr); }
  .cs-dica { display: none; }
  .cs-bolha, .cs-msg-anexos { max-width: 92%; }
}

/* resposta do Consultor: robô verde à esquerda */
.cs-msg.consultor { position: relative; padding-left: 2.75rem; }
.cs-avatar { position: absolute; left: 0; top: -.15rem; width: 2rem; height: 2rem; padding: .2rem; border-radius: .65rem;
             background: #e3f4ea; color: var(--navy-lift); }
.cs-avatar svg { display: block; width: 100%; height: 100%; }
.cs-msg.consultor .cs-msg-anexos { justify-content: flex-start; max-width: 100%; margin: .6rem 0 0; }
.sr-svg, .oculto { position: absolute; width: 0; height: 0; overflow: hidden; }

/* anexos com prévia */
.cs-msg-anexo { cursor: pointer; }
.cs-msg-anexo.prev { flex-direction: column; align-items: stretch; gap: 0; padding: 0; overflow: hidden; width: 11rem; max-width: 11rem; }
.cs-msg-anexo.prev img { display: block; width: 100%; height: 8.5rem; object-fit: cover; object-position: top; background: #fff;
                         border-bottom: 1px solid var(--line); }
.cs-msg-anexo.prev .cs-anexo-nome { display: flex; align-items: center; gap: .4rem; padding: .4rem .5rem; font-size: .75rem; }
.cs-msg-anexo.prev .cs-anexo-nome span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cs-msg-anexo:hover { border-color: var(--line-strong); box-shadow: 0 4px 14px -8px #0b2a1f55; }
.cs-chip { cursor: pointer; }
.cs-ext.pdf { background: #b3413b; }
.cs-ext.xlsx, .cs-ext.xls, .cs-ext.csv, .cs-ext.ods { background: #1d7a45; }
.cs-ext.docx, .cs-ext.doc, .cs-ext.odt { background: #2b5cad; }

/* visualizador */
.cs-ver { position: fixed; inset: 0; z-index: 50; display: flex; flex-direction: column; background: #0b1510e8; }
.cs-ver[hidden] { display: none; }
.cs-ver-topo { display: flex; align-items: center; gap: .6rem; padding: .7rem 1rem; color: #fff; }
.cs-ver-topo strong { flex: 1; min-width: 0; font-size: .9rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs-ver-topo a, .cs-ver-topo button { display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .75rem; border-radius: .6rem; border: 0;
                                      background: #ffffff1f; color: #fff; text-decoration: none; font-size: .8rem; font-weight: 600; }
.cs-ver-topo a:hover, .cs-ver-topo button:hover { background: #ffffff33; }
.cs-ver-corpo { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 0 1rem 1rem; }
.cs-ver-corpo img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: .4rem; background: #fff; }
.cs-ver-corpo iframe { width: 100%; max-width: 60rem; height: 100%; border: 0; border-radius: .4rem; background: #fff; }
.cs-ver-corpo .cs-ver-sem { color: #e3f4ea; text-align: center; }

/* login do Consultor: simples, cartão no centro com o robô */
.cl-corpo { overflow: auto; height: auto; background: radial-gradient(circle at 50% 0%, #1c6b4c 0%, #0d3527 45%, #08201a 100%); min-height: 100vh; min-height: 100dvh; }
.cl { min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; justify-content: center; padding: 1.5rem 1rem; }
.cl-cartao { width: 100%; max-width: 23rem; padding: 2rem 1.75rem 1.5rem; border-radius: 1.4rem; background: var(--card);
             box-shadow: 0 24px 60px -20px #000a; text-align: center; }
.cl-robo { width: 104px; height: 104px; color: var(--sky); margin: -4.5rem auto .4rem; display: block;
           filter: drop-shadow(0 10px 18px #0b2a1f55); animation: cl-flutua 4s ease-in-out infinite; }
@keyframes cl-flutua { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.cl-cartao h1 { margin: 0; font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.cl-sub { margin: .3rem 0 1.4rem; font-size: .85rem; color: var(--ink-2); }
.cl-campo { display: block; margin: 0 0 .9rem; text-align: left; font-size: .78rem; font-weight: 600; color: var(--ink-2); }
.cl-campo input { display: block; width: 100%; margin-top: .3rem; padding: .75rem .85rem; border: 1px solid var(--line-strong); border-radius: .75rem;
                  font: inherit; font-size: .95rem; font-weight: 400; color: var(--ink); background: #fff; }
.cl-campo input:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px #2fb37a2e; }
.cl-senha { position: relative; display: block; }
.cl-senha input { padding-right: 2.8rem; }
.cl-senha .reveal { position: absolute; right: .35rem; bottom: .3rem; padding: .45rem; border: 0; border-radius: .5rem; background: none; color: var(--ink-3); }
.cl-senha .reveal:hover { color: var(--ink); }
.cl-linha { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin: .2rem 0 1.1rem; font-size: .8rem; }
.cl-linha a { color: var(--navy-lift); font-weight: 600; text-decoration: none; }
.cl-lembrar { display: inline-flex; align-items: center; gap: .4rem; color: var(--ink-2); cursor: pointer; }
.cl-lembrar input { accent-color: var(--navy-lift); }
.cl-entrar { width: 100%; padding: .85rem; border: 0; border-radius: .8rem; background: linear-gradient(135deg, #1c6b4c, #14503a); color: #fff;
             font-size: .95rem; font-weight: 700; box-shadow: 0 10px 22px -12px #14503ab3; }
.cl-entrar:hover { filter: brightness(1.1); }
.cl-pe { margin: 1rem 0 0; font-size: .75rem; color: var(--ink-3); }
.cl-alerta { margin: 0 0 1rem; padding: .6rem .8rem; border-radius: .7rem; background: var(--danger-bg); color: var(--danger); font-size: .82rem; text-align: left; }
.cl-alerta.ok { background: #e3f4ea; color: #1d6b45; }
.cl-alerta[hidden] { display: none; }

/* página da melhoria (link do WhatsApp) */
.ml { max-width: 34rem; text-align: left; margin-top: 3rem; }
.ml .cl-robo { margin-left: auto; margin-right: auto; }
.ml h1 { text-align: center; font-size: 1.25rem; margin-bottom: 1rem; }
.ml-tag { width: fit-content; margin: 0 auto .5rem; padding: .25rem .7rem; border-radius: 99px; font-size: .75rem; font-weight: 700;
          background: #e3f4ea; color: #1d6b45; }
.ml-tag.ml-falhou, .ml-tag.ml-recusada { background: var(--danger-bg); color: var(--danger); }
.ml-tag.ml-fazendo { background: #faf1dc; color: #8a6a22; }
.ml-bloco { margin: 0 0 1rem; font-size: .88rem; }
.ml-bloco strong { display: block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .25rem; }
.ml-bloco p { margin: 0; line-height: 1.55; white-space: pre-wrap; }
.ml-botoes { display: flex; gap: .6rem; margin-top: 1.2rem; }
.ml-botoes .cl-entrar { flex: 1; }
.ml-sec { flex: 1; padding: .85rem; border: 1px solid var(--line-strong); border-radius: .8rem; background: #fff; color: var(--ink); font-weight: 600; }
.ml-sec:hover { border-color: var(--ink-3); }
.ml-hist { margin-top: 1.2rem; font-size: .78rem; color: var(--ink-2); }
.ml-hist ul { margin: .4rem 0 0; padding-left: 1.1rem; }

/* app (PWA): botão de instalar e passo a passo do iPhone */
.pwa-lugar[hidden] { display: none; }
.cs-lado .pwa-lugar { margin-top: .6rem; }
.pwa-botao { display: flex; align-items: center; justify-content: center; gap: .5rem; width: 100%; padding: .65rem .8rem; border-radius: .75rem;
             border: 1px dashed #7be0a8aa; background: #2fb37a22; color: #e3f4ea; font-size: .85rem; font-weight: 600; }
.pwa-botao:hover { background: #2fb37a3a; }
.pwa-botao svg { width: 18px; height: 18px; }
.cl-cartao .pwa-lugar { margin-top: .9rem; }
.cl-cartao .pwa-botao { border-color: var(--line-strong); background: #f1f8f4; color: var(--navy-lift); }
.pwa-fundo { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
             padding: 1rem 1rem calc(4.5rem + env(safe-area-inset-bottom)); background: #0b2a1fb3; }
.pwa-caixa { width: 100%; max-width: 24rem; padding: 1.2rem 1.2rem 1rem; border-radius: 1.2rem; background: #fff; color: var(--ink);
             box-shadow: 0 20px 50px -20px #000c; font-size: .9rem; line-height: 1.5; }
.pwa-titulo { display: block; font-size: 1.05rem; margin-bottom: .6rem; }
.pwa-aviso { margin: 0 0 .6rem; padding: .5rem .7rem; border-radius: .6rem; background: #faf1dc; color: #8a6a22; font-size: .82rem; }
.pwa-passos { margin: 0 0 1rem; padding-left: 1.2rem; }
.pwa-passos li { margin: .45rem 0; }
.pwa-icone { display: inline-flex; vertical-align: -.3rem; width: 1.5rem; height: 1.5rem; padding: .15rem; border-radius: .4rem; background: #eaf3ee; color: #0a84ff; }
.pwa-icone svg { width: 100%; height: 100%; }
.pwa-ok { width: 100%; padding: .75rem; border: 0; border-radius: .8rem; background: var(--navy); color: #fff; font-weight: 700; }
.pwa-seta { margin-top: .6rem; font-size: 2rem; line-height: 1; color: #e3f4ea; animation: cl-flutua 1.6s ease-in-out infinite; }

/* iPhone instalado (barra de status por cima): respeita o entalhe e a barra de baixo */
.cs-topo { padding-top: max(.75rem, env(safe-area-inset-top)); }
.cs-lado { padding-top: max(1.1rem, env(safe-area-inset-top)); padding-bottom: max(.8rem, env(safe-area-inset-bottom)); }

/* alterar senha dentro do Consultor */
.pwa-fundo[hidden] { display: none; }
.cs-senha-fundo { justify-content: center; padding-bottom: 1rem; }
.cs-senha-caixa .cl-campo { margin-bottom: .75rem; }
.cs-senha-dica { margin: -.3rem 0 .8rem; font-size: .85rem; color: var(--ink-2); }
.cs-erro.ok { background: #e3f4ea; color: #1d6b45; }

/* sem zoom no iPhone (11/11): nada de pinça nem toque duplo; campo com 16px para o Safari não aproximar ao focar */
html, body { touch-action: pan-x pan-y; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
button, a, label, input, textarea { touch-action: manipulation; }
@media (max-width: 820px), (hover: none) {
  input, textarea, select, .cs-caixa textarea, .cl-campo input { font-size: 16px; }
}
