:root {
  /* Paleta da marca Tia Lara (extraída da logo) */
  --salmao: #e5a889;
  --mostarda: #e5b85d;
  --laranja: #e79657;
  --oliva: #8d9969;
  /* tons de apoio (acento laranja/salmão) */
  --rosa-50: #fffaf5;
  --rosa-100: #fcefe5;
  --rosa-200: #f6dccb;
  --rosa-300: #eab79a;
  --rosa-500: #c2652c;
  --rosa-600: #a9541f;
  --rosa-700: #8c4519;
  /* tons de apoio (verde oliva) */
  --verde-50: #f5f7ef;
  --verde-100: #e9eddc;
  --verde-200: #d2dabb;
  --verde-500: #8d9969;
  --verde-600: #5e6a3f;
  --primaria: #6f7c4d;
  --primaria-escura: #5e6a3f;
  --amarelo-100: #fbf0d6;
  --amarelo-600: #8a6414;
  --vermelho-100: #fde4e1;
  --vermelho-600: #b8432f;
  --azul-100: #e6ecf6;
  --azul-600: #46608f;
  --texto: #4a3b33;
  --texto-2: #85736a;
  --linha: #f1e6dc;
  --fundo: #fffbf6;
  --card: #ffffff;
  --sombra: 0 1px 2px rgba(120, 80, 50, .06), 0 4px 16px rgba(120, 80, 50, .07);
  --raio: 14px;
  --nav-w: 236px;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--texto); background: var(--fundo); font-size: 15px; line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--rosa-600); }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: 24px; }
h2 { font-size: 17px; }
h3 { font-size: 15px; }
.muted { color: var(--texto-2); }
.small { font-size: 13px; }
.hidden { display: none !important; }

/* ---------- layout ---------- */
#app { display: flex; height: 100vh; height: 100dvh; }
.nav {
  width: var(--nav-w); flex-shrink: 0; background: linear-gradient(180deg, var(--rosa-100), var(--verde-50));
  border-right: 1px solid var(--linha); display: flex; flex-direction: column; padding: 18px 12px;
}
.brand { display: block; padding: 6px 6px 18px; }
.brand .logo { display: block; width: 100%; background: #fff; border-radius: 14px; padding: 10px 10px 8px; box-shadow: var(--sombra); }
.brand .logo img { display: block; width: 100%; height: auto; }
.brand span { display: block; font-size: 11px; color: var(--texto-2); font-weight: 800; text-align: center; margin-top: 8px; letter-spacing: .04em; text-transform: uppercase; }
.nav > a {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--texto);
  text-decoration: none; font-weight: 700; margin-bottom: 2px;
}
.nav > a:hover { background: rgba(255, 255, 255, .6); }
.nav > a.ativo { background: #fff; box-shadow: var(--sombra); color: var(--rosa-700); }
.nav > a .ic { width: 20px; text-align: center; }
.nav > a .badge { margin-left: auto; }
.nav .rodape { margin-top: auto; padding: 10px 8px 0; font-size: 12px; }
.wa-pill { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 12px; }
.wa-pill i { width: 8px; height: 8px; border-radius: 50%; background: #bbb; display: inline-block; }
.wa-pill.on i { background: var(--primaria); }
.wa-pill.qr i, .wa-pill.con i { background: var(--laranja); }

main { flex: 1; min-width: 0; overflow-y: auto; }
.pagina { padding: 24px 28px 40px; max-width: 1280px; margin: 0 auto; }
.topo { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.topo .acoes { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }

.bottom-nav { display: none; }

/* ---------- componentes ---------- */
.card { background: var(--card); border: 1px solid var(--linha); border-radius: var(--raio); box-shadow: var(--sombra); padding: 16px; }
.card > h2 { margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.card > h2 .cont { margin-left: auto; font-size: 12px; color: var(--texto-2); font-weight: 700; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.stat { background: #fff; border: 1px solid var(--linha); border-radius: var(--raio); padding: 14px 16px; }
.stat .n { font-size: 24px; font-weight: 800; font-variant-numeric: tabular-nums; }
.stat .l { font-size: 12px; color: var(--texto-2); font-weight: 700; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--linha); background: #fff;
  padding: 8px 14px; border-radius: 10px; font-weight: 700; cursor: pointer; text-decoration: none; color: var(--texto); white-space: nowrap;
}
.btn:hover { border-color: var(--rosa-300); }
.btn.prim { background: var(--primaria); border-color: var(--primaria); color: #fff; }
.btn.prim:hover { background: var(--primaria-escura); }
.btn.verde { background: var(--primaria); border-color: var(--primaria); color: #fff; }
.btn.perigo { color: var(--vermelho-600); }
.btn.peq { padding: 4px 10px; font-size: 13px; border-radius: 8px; }
.btn.ghost { background: transparent; border-color: transparent; }
.btn:disabled { opacity: .5; cursor: default; }
.icon-btn { border: 0; background: transparent; cursor: pointer; font-size: 18px; padding: 6px; border-radius: 8px; }
.icon-btn:hover { background: var(--rosa-100); }

.badge { background: var(--rosa-500); color: #fff; border-radius: 999px; font-size: 11px; font-weight: 800; padding: 1px 7px; min-width: 20px; text-align: center; }
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--rosa-100); color: var(--rosa-700); white-space: nowrap; }
.chip.v { background: var(--verde-100); color: var(--verde-600); }
.chip.a { background: var(--amarelo-100); color: var(--amarelo-600); }
.chip.r { background: var(--vermelho-100); color: var(--vermelho-600); }
.chip.z { background: var(--azul-100); color: var(--azul-600); }
.chip.c { background: #f1eef0; color: var(--texto-2); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.filtros { display: flex; gap: 6px; flex-wrap: wrap; }
.filtros button { border: 1px solid var(--linha); background: #fff; border-radius: 999px; padding: 5px 12px; font-weight: 700; font-size: 13px; cursor: pointer; }
.filtros button.ativo { background: var(--primaria); color: #fff; border-color: var(--primaria); }

label.campo { display: block; font-size: 12px; font-weight: 800; color: var(--texto-2); margin-bottom: 10px; }
label.campo > input, label.campo > select, label.campo > textarea, .inp {
  display: block; width: 100%; margin-top: 4px; border: 1px solid var(--linha); background: #fff; border-radius: 10px; padding: 9px 11px; font-size: 15px; color: var(--texto); font-weight: 400;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--rosa-300); outline-offset: 0; border-color: var(--rosa-300); }
textarea { resize: vertical; }
.linha2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.linha3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0 12px; }
.check { display: flex; align-items: center; gap: 8px; font-weight: 700; margin: 6px 0 12px; cursor: pointer; }
.check input { flex-shrink: 0; width: 18px; height: 18px; accent-color: var(--primaria); }
.multi { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.multi label { border: 1px solid var(--linha); border-radius: 999px; padding: 4px 10px; font-weight: 700; font-size: 13px; cursor: pointer; color: var(--texto); }
.multi input { display: none; }
.multi label:has(input:checked) { background: var(--verde-100); border-color: var(--verde-200); color: var(--verde-600); }

.lista { list-style: none; margin: 0; padding: 0; }
.lista li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--linha); }
.lista li:last-child { border-bottom: 0; }
.lista .grow { flex: 1; min-width: 0; }
.lista .t { font-weight: 700; }
.vazio { color: var(--texto-2); font-size: 14px; padding: 8px 0; }
.hora { font-weight: 800; font-variant-numeric: tabular-nums; min-width: 46px; }
.clic { cursor: pointer; }
.clic:hover .t { color: var(--rosa-600); }
.avatar { width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; background: var(--rosa-200); color: var(--rosa-700); display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.avatar.v { background: var(--verde-200); color: var(--verde-600); }
.alerta { padding: 12px 14px; border-radius: 12px; background: var(--amarelo-100); color: #6b4a05; font-weight: 700; margin-bottom: 16px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.barra { height: 8px; background: var(--rosa-100); border-radius: 99px; overflow: hidden; }
.barra > i { display: block; height: 100%; background: var(--oliva); border-radius: 99px; }
table.tab { width: 100%; border-collapse: collapse; }
table.tab th { text-align: left; font-size: 12px; color: var(--texto-2); font-weight: 800; padding: 8px 10px; border-bottom: 1px solid var(--linha); }
table.tab td { padding: 10px; border-bottom: 1px solid var(--linha); vertical-align: middle; }
table.tab tr.clic:hover td { background: var(--rosa-50); }

/* ---------- modal / toast ---------- */
.modal-fundo { position: fixed; inset: 0; background: rgba(59, 47, 53, .35); display: grid; place-items: center; z-index: 50; padding: 16px; }
.modal { background: #fff; border-radius: 18px; width: min(560px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; padding: 20px; box-shadow: 0 20px 60px rgba(0, 0, 0, .2); }
.modal.larga { width: min(760px, 100%); }
.modal h2 { margin-bottom: 14px; }
.modal .rodape { display: flex; gap: 8px; justify-content: flex-end; margin-top: 8px; flex-wrap: wrap; }
.modal .rodape .esq { margin-right: auto; }
#toasts { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 60; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.toast { background: var(--texto); color: #fff; padding: 10px 16px; border-radius: 12px; font-weight: 700; box-shadow: var(--sombra); max-width: 90vw; }
.toast.erro { background: var(--vermelho-600); }

/* ---------- autocomplete ---------- */
.ac { position: relative; }
.ac-lista { position: absolute; z-index: 5; left: 0; right: 0; top: 100%; background: #fff; border: 1px solid var(--linha); border-radius: 10px; box-shadow: var(--sombra); max-height: 240px; overflow-y: auto; }
.ac-lista div { padding: 8px 12px; cursor: pointer; }
.ac-lista div:hover, .ac-lista div.sel { background: var(--rosa-50); }

/* ---------- login ---------- */
.login { min-height: 100dvh; width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--fundo); }
.login .foto { background: linear-gradient(160deg, var(--rosa-100), var(--verde-100)); display: flex; align-items: flex-end; justify-content: center; overflow: hidden; position: relative; }
.login .foto img { height: 100%; max-height: 100dvh; width: 100%; object-fit: cover; object-position: center 20%; }
.login .foto .frase { position: absolute; left: 24px; right: 24px; bottom: 24px; background: rgba(255,255,255,.88); border-radius: 16px; padding: 14px 18px; font-weight: 800; color: var(--texto); box-shadow: var(--sombra); }
.login .lado { display: grid; place-items: center; padding: 24px 16px; }
.login .caixa { width: min(380px, 100%); }
.login .caixa > img { display: block; width: min(300px, 80%); margin: 0 auto 6px; }
.login form { text-align: left; margin-top: 18px; background: #fff; border: 1px solid var(--linha); border-radius: var(--raio); box-shadow: var(--sombra); padding: 22px; }
.login .sub { text-align: center; color: var(--texto-2); font-weight: 700; }
@media (max-width: 820px) {
  .login { grid-template-columns: 1fr; }
  .login .foto { display: none; }
}

/* ---------- conversas ---------- */
.conv { display: grid; grid-template-columns: 340px minmax(0, 1fr) 300px; height: 100%; }
.conv.sem-painel { grid-template-columns: 340px minmax(0, 1fr); }
.conv-lista { border-right: 1px solid var(--linha); display: flex; flex-direction: column; min-height: 0; background: #fff; }
.conv-lista .cab { padding: 14px; border-bottom: 1px solid var(--linha); }
.conv-lista .itens { overflow-y: auto; flex: 1; }
.conv-item { display: flex; gap: 10px; padding: 11px 14px; border-bottom: 1px solid var(--linha); cursor: pointer; }
.conv-item:hover { background: var(--rosa-50); }
.conv-item.ativo { background: var(--rosa-100); }
.conv-item .grow { flex: 1; min-width: 0; }
.conv-item .nome { font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conv-item .prev { font-size: 13px; color: var(--texto-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conv-item .meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-size: 11px; color: var(--texto-2); }
.conv-item.naolida .prev { color: var(--texto); font-weight: 700; }
.chat { display: flex; flex-direction: column; min-height: 0; min-width: 0; background: var(--rosa-50); }
.chat .cab { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #fff; border-bottom: 1px solid var(--linha); }
.chat .cab .grow { flex: 1; min-width: 0; }
.msgs { flex: 1; overflow-y: auto; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px;
  background-image: radial-gradient(var(--rosa-100) 1px, transparent 1px); background-size: 18px 18px; }
.dia-sep { align-self: center; background: #fff; border-radius: 8px; padding: 2px 10px; font-size: 12px; font-weight: 700; color: var(--texto-2); margin: 8px 0; box-shadow: var(--sombra); }
.msg { max-width: min(78%, 560px); padding: 7px 10px 5px; border-radius: 12px; background: #fff; box-shadow: 0 1px 1px rgba(0, 0, 0, .06); align-self: flex-start; white-space: pre-wrap; word-wrap: break-word; }
.msg.eu { align-self: flex-end; background: #eef2e2; }
.msg .info { font-size: 11px; color: var(--texto-2); text-align: right; margin-top: 2px; display: flex; gap: 6px; justify-content: flex-end; align-items: center; }
.msg img, .msg video { max-width: 100%; max-height: 320px; border-radius: 8px; display: block; margin-bottom: 4px; cursor: pointer; }
.msg audio { max-width: 260px; display: block; }
.msg .doc { display: flex; align-items: center; gap: 8px; padding: 6px 8px; background: rgba(0, 0, 0, .04); border-radius: 8px; margin-bottom: 4px; text-decoration: none; color: var(--texto); font-weight: 700; }
.tick { font-weight: 800; letter-spacing: -3px; }
.tick.lido { color: #34b7f1; }
.compositor { background: #fff; border-top: 1px solid var(--linha); padding: 10px; position: relative; }
.compositor .row { display: flex; gap: 8px; align-items: flex-end; }
.compositor textarea { flex: 1; border: 1px solid var(--linha); border-radius: 12px; padding: 10px 12px; max-height: 180px; min-height: 44px; resize: none; }
.tpl-pop { position: absolute; bottom: 100%; left: 10px; right: 10px; background: #fff; border: 1px solid var(--linha); border-radius: 12px; box-shadow: var(--sombra); max-height: 300px; overflow-y: auto; }
.tpl-pop > div { padding: 8px 12px; cursor: pointer; border-bottom: 1px solid var(--linha); }
.tpl-pop > div.sel, .tpl-pop > div:hover { background: var(--rosa-50); }
.tpl-pop b { color: var(--rosa-600); }
.painel { border-left: 1px solid var(--linha); background: #fff; overflow-y: auto; padding: 16px; }
.painel h3 { margin: 14px 0 6px; font-size: 13px; color: var(--texto-2); text-transform: uppercase; letter-spacing: .04em; }
.chat-vazio { flex: 1; display: grid; place-items: center; color: var(--texto-2); text-align: center; padding: 20px; }

/* ---------- funil ---------- */
.funil { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 12px; align-items: flex-start; min-height: calc(100dvh - 140px); }
.coluna { flex: 0 0 250px; background: var(--rosa-50); border: 1px solid var(--linha); border-radius: var(--raio); display: flex; flex-direction: column; max-height: calc(100dvh - 150px); }
.coluna.drop { outline: 2px dashed var(--rosa-300); }
.coluna .cab { padding: 10px 12px; font-weight: 800; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--linha); }
.coluna .cab .n { margin-left: auto; font-size: 12px; color: var(--texto-2); }
.coluna .cards { padding: 8px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; min-height: 60px; }
.kcard { background: #fff; border: 1px solid var(--linha); border-radius: 12px; padding: 10px; cursor: grab; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); }
.kcard:hover { border-color: var(--rosa-300); }
.kcard .t { font-weight: 800; }
.kcard .s { font-size: 12px; color: var(--texto-2); }
.kcard .rod { display: flex; gap: 6px; align-items: center; margin-top: 6px; flex-wrap: wrap; }
.kcard .mover { display: none; }
.st-novo { border-top: 4px solid #e5a889; }
.st-interessado { border-top: 4px solid #e79657; }
.st-avaliacao_agendada { border-top: 4px solid #e5b85d; }
.st-avaliada { border-top: 4px solid #c2652c; }
.st-pacote_fechado { border-top: 4px solid #b9c493; }
.st-em_terapia { border-top: 4px solid #8d9969; }
.st-renovacao { border-top: 4px solid #d9a43f; }
.st-alta { border-top: 4px solid #9aabc9; }
.st-perdido { border-top: 4px solid #c9bfc3; }

/* ---------- agenda ---------- */
.semana { display: grid; grid-template-columns: 54px repeat(6, minmax(0, 1fr)); border: 1px solid var(--linha); border-radius: var(--raio); background: #fff; overflow: hidden; }
.semana .cabdia { padding: 8px; text-align: center; font-weight: 800; border-bottom: 1px solid var(--linha); border-left: 1px solid var(--linha); font-size: 13px; }
.semana .cabdia.hoje { background: var(--rosa-100); color: var(--rosa-700); }
.semana .horas { position: relative; }
.semana .horas div { height: 48px; font-size: 11px; color: var(--texto-2); text-align: right; padding-right: 6px; transform: translateY(-7px); }
.semana .dia { position: relative; border-left: 1px solid var(--linha); background-image: linear-gradient(var(--linha) 1px, transparent 1px); background-size: 100% 48px; cursor: copy; }
.semana .dia.hoje { background-color: #fffbfc; }
.ev { position: absolute; left: 3px; right: 3px; border-radius: 8px; padding: 3px 6px; font-size: 12px; overflow: hidden; cursor: pointer; border-left: 4px solid; line-height: 1.25; }
.ev b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev.avaliacao { background: var(--rosa-100); border-color: var(--rosa-500); }
.ev.sessao { background: var(--verde-100); border-color: var(--primaria); }
.ev.retorno { background: var(--azul-100); border-color: var(--azul-600); }
.ev.realizado { opacity: .6; }
.ev.faltou { background: var(--vermelho-100); border-color: var(--vermelho-600); opacity: .75; }
.ev.desmarcado { display: none; }
.ev.confirmado::after { content: '✓'; position: absolute; top: 2px; right: 5px; font-weight: 800; color: var(--verde-600); }
.agora-linha { position: absolute; left: 0; right: 0; height: 2px; background: var(--rosa-500); z-index: 2; }
.agenda-lista .dia-bloco { margin-bottom: 14px; }
.agenda-lista .dia-bloco h3 { margin-bottom: 6px; text-transform: capitalize; }

/* ---------- ficha ---------- */
.ficha-cab { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; }
.ficha-cab .avatar { width: 56px; height: 56px; font-size: 20px; }
.ficha-cab .grow { flex: 1; min-width: 200px; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--linha); margin-bottom: 16px; overflow-x: auto; }
.tabs button { border: 0; background: none; padding: 10px 14px; font-weight: 800; color: var(--texto-2); cursor: pointer; border-bottom: 3px solid transparent; white-space: nowrap; }
.tabs button.ativo { color: var(--rosa-600); border-color: var(--rosa-500); }
.hist li { align-items: flex-start; }
.hist .quando { font-size: 12px; color: var(--texto-2); white-space: nowrap; min-width: 92px; }
.hist .nota { background: var(--amarelo-100); padding: 6px 10px; border-radius: 8px; }

.qr-box { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.qr-box img { width: 240px; height: 240px; border-radius: 12px; border: 1px solid var(--linha); }
.qr-box ol { margin: 0; padding-left: 18px; }

/* ---------- celular ---------- */
@media (max-width: 1100px) {
  .conv { grid-template-columns: 300px minmax(0, 1fr); }
  .conv .painel { display: none; }
  .conv.painel-aberto .painel { display: block; position: fixed; right: 0; top: 0; bottom: 0; width: min(340px, 92vw); z-index: 30; box-shadow: -10px 0 40px rgba(0, 0, 0, .15); }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  :root { --nav-w: 0px; }
  .nav { display: none; }
  #app { flex-direction: column; }
  main { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .bottom-nav {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 20; background: #fff; border-top: 1px solid var(--linha);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .bottom-nav a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 2px; text-decoration: none; color: var(--texto-2); font-size: 11px; font-weight: 800; position: relative; }
  .bottom-nav a .ic { font-size: 20px; }
  .bottom-nav a.ativo { color: var(--primaria); }
  .bottom-nav a .badge { position: absolute; top: 2px; left: 52%; }
  .pagina { padding: 16px 16px 30px; }
  h1 { font-size: 21px; }
  .g2, .g3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .linha3 { grid-template-columns: 1fr 1fr; }
  .conv { grid-template-columns: 1fr; height: calc(100dvh - 64px - env(safe-area-inset-bottom)); }
  .conv .chat { display: none; }
  .conv.com-chat .conv-lista { display: none; }
  .conv.com-chat .chat { display: flex; }
  .msg { max-width: 88%; }
  .chat .cab .grow > div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .chat .cab .chip { display: none; }
  .lista li { flex-wrap: wrap; }
  .lista .grow { min-width: 55%; }
  .stats .stat:last-child { grid-column: 1 / -1; }
  .kcard .mover { display: block; margin-top: 6px; }
  .tab-wide { display: none; }
  .modal { border-radius: 18px 18px 0 0; align-self: end; }
  .modal-fundo { padding: 0; place-items: end stretch; }
}
@media (min-width: 821px) { .so-cel { display: none !important; } }
.mais-antigas { align-self: center; margin: 4px 0 10px; }
.msg .baixar-midia { display: block; margin: 2px 0 6px; }
