/* Correio Avante (email.js): webmail simulado, caça-golpe e medidor de senha. Cores da marca Avante. */
.em-janela { --em-azul: #00816D; }
.em-corpo { height: calc(100vh - 410px); min-height: 190px; max-height: 420px; }
.em-nav .ex-navitem { padding: 4px 10px; }
.em-nav { width: 22%; display: flex; flex-direction: column; gap: 2px; }
.em-escrever { margin: 4px 8px 6px; padding: 6px 10px; border: 2px solid var(--linha); border-radius: 99px; background: var(--laranja); color: var(--sobre-destaque, #fff); font-weight: 600; font-size: 14px; cursor: pointer; }
.em-escrever:hover { filter: brightness(1.05); }
.em-sub { padding-left: 22px; }
.em-area { flex: 1; display: flex; flex-direction: column; overflow-y: auto; min-width: 0; font-size: 14px; }
.em-cab { padding: 6px 10px; font-weight: 600; border-bottom: 1px solid #d5dde8; background: #f8f9fb; }
.em-linha { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-bottom: 1px solid #edf0f4; cursor: pointer; touch-action: none; }
.em-linha:hover { background: #e9f5f2; }
.em-linha.nova { font-weight: 700; background: #fbfdff; }
.em-est { border: 0; background: none; font-size: 18px; color: #b0b0b0; cursor: pointer; padding: 0 2px; line-height: 1; }
.em-est.on { color: #f0b400; }
.em-bola { color: #1a73c9; font-size: 11px; }
.em-de { width: 26%; flex: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.em-as { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.em-as b { font-weight: inherit; }
.em-previa { color: #888; font-weight: 400; }
.em-clipe { flex: none; }
.em-data { flex: none; color: #666; font-size: 12px; font-weight: 400; }
.em-ferr { display: flex; flex-wrap: wrap; gap: 5px; padding: 6px 8px; border-bottom: 1px solid #d5dde8; background: #f3f6fa; align-items: center; }
.em-ferr b { margin-right: auto; }
.em-bt { border: 1px solid #b9c4d3; background: #fff; border-radius: 4px; padding: 4px 9px; font-size: 13px; cursor: pointer; }
.em-bt:hover { background: #e5f1fb; border-color: #7eb4ea; }
.em-bt.on { color: #b88500; }
.em-bt.perigo:hover { background: #fde8e4; border-color: var(--erro); }
.em-ler-cab { padding: 8px 12px 4px; }
.em-ler-cab h4 { margin: 0 0 4px; font-size: 17px; }
.em-ler-de { font-size: 14px; } .em-ler-de span { color: #666; }
.em-ler-para { font-size: 12px; color: #777; }
.em-ler-texto { padding: 8px 12px; white-space: pre-wrap; line-height: 1.45; font-size: 15px; }
.em-link { color: #1a5fb4; text-decoration: underline; cursor: pointer; }
.ex-status.em-destino { background: #fff3dd; color: #8a4b00; font-weight: 600; }
.em-anexos { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 12px; }
.em-anexo { border: 1px solid #b9c4d3; background: #f3f6fa; border-radius: 6px; padding: 3px 8px; font-size: 13px; }
.em-x { border: 0; background: none; cursor: pointer; color: #a33; }
.em-form { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.em-campo { display: flex; align-items: center; border-bottom: 1px solid #edf0f4; padding: 2px 10px; }
.em-campo span { width: 70px; color: #555; font-size: 13px; }
.em-campo input { flex: 1; border: 0; outline: none; padding: 5px 4px; font-size: 15px; font-family: inherit; }
.em-campo input:focus { background: #f6fbff; }
.em-ccbt { align-self: flex-end; margin: -28px 10px 2px 0; border: 0; background: none; color: #1a5fb4; font-size: 13px; cursor: pointer; position: relative; }
.em-texto { flex: 1; min-height: 70px; border: 0; outline: none; padding: 8px 12px; font: inherit; font-size: 15px; resize: none; }
.em-acoes { display: flex; gap: 8px; padding: 6px 10px; border-top: 1px solid #edf0f4; }
.em-enviar { background: var(--verde); color: #fff; border: 2px solid var(--linha); border-radius: 99px; padding: 6px 20px; font-weight: 700; font-size: 15px; cursor: pointer; }
.em-arqs { top: 10%; text-align: left; }
.em-arq-lista { display: flex; flex-direction: column; gap: 4px; margin: 8px 0; max-height: 180px; overflow-y: auto; }
.em-arq { text-align: left; border: 1px solid #d5dde8; background: #fff; padding: 6px 10px; border-radius: 4px; cursor: pointer; font-size: 14px; }
.em-arq:hover { background: #e5f1fb; }
.em-check { display: none; flex-direction: column; gap: 2px; font-size: 14px; }
.em-check.on { display: flex; }
.em-check.lista { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 14px; }
.em-ck.ok b, .em-check.lista .em-ck.ok { color: var(--ok); }
.em-ck.nao b { color: var(--erro); }
.em-ck span { color: #444; }
[data-parte].em-pisca { outline: 2px dashed var(--laranja); outline-offset: 1px; border-radius: 4px; animation: emPisca 1.4s infinite; }
@keyframes emPisca { 50% { outline-color: transparent; } }
/* caça-golpe */
.em-golpe { height: calc(100vh - 470px); min-height: 180px; max-height: 340px; }
.em-golpe.caca .em-sinal-alvo { cursor: pointer; outline: 2px dashed #d9a400; outline-offset: 1px; border-radius: 3px; }
.em-golpe.caca .em-sinal-alvo:hover { background: #fff3c4; }
.em-sinal-alvo.achado { background: #ffe1db; outline: 2px solid var(--erro); border-radius: 3px; }
/* medidor de senha */
.em-alerta { background: #fff1e5; border: 2px solid var(--laranja-forte); border-radius: 10px; padding: 8px 12px; font-weight: 600; margin: 6px 0 10px; }
.em-exemplos { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.em-chip { font-family: Consolas, 'Courier New', monospace; font-size: 18px; border: 2px dashed #999; border-radius: 8px; padding: 4px 10px; }
.em-chip.ok { border-style: solid; border-color: var(--ok); background: #eaf6ec; }
.em-senha { width: 100%; box-sizing: border-box; font-family: Consolas, 'Courier New', monospace; font-size: 24px; padding: 8px 12px; border: 3px solid var(--linha); border-radius: 10px; }
.em-forca { height: 16px; border: 2px solid var(--linha); border-radius: 99px; overflow: hidden; margin-top: 10px; background: #f3f3f3; }
.em-forca i { display: block; height: 100%; width: 0; transition: width .3s, background .3s; }
.em-forca i.f0, .em-forca i.f1 { background: var(--erro); } .em-forca i.f2 { background: #f0b400; } .em-forca i.f3 { background: var(--verde-vivo, #6CC24A); } .em-forca i.f4 { background: var(--ok); }
body.compacto .em-corpo { max-height: 300px; }
.em-citado { flex: none; max-height: 64px; overflow-y: auto; margin: 0 12px 4px; padding: 4px 8px; border-left: 3px solid #c9d2de; color: #777; font-size: 12px; white-space: pre-wrap; }
