/* ==========================================================================
   As telas do app Smart SMS desenhadas em HTML (inc/app-sms-telas.php e
   inc/sms-cena.php), v3.27.0

   Saíram do assets/css/app-sms.css para valer em dois lugares com uma regra
   só: a página do app (dentro de .ah) e as cenas do celular mandando comando
   para os rastreadores (dentro de .sx: o topo dos Pacotes de SMS e o cartão
   do menu Preços). A página do app carrega este arquivo antes do app-sms.css;
   as cenas, junto do sms-cena.css.

   As telas são desenhadas em 390 por 844 (o iPhone) e encolhidas inteiras por
   transform: scale(--k). Seguem o tema do site: no escuro, o modo escuro do
   app.
   ========================================================================== */

.ah--sms, .sx {
	--t-fundo: #F0EFF5;
	--t-cartao: #FFFFFF;
	--t-linha: #E5E4E9;
	--t-campo: #E2E1E7;
	--t-trilho: #DEDDE3;
	--t-tinta: #1C1C1E;
	--t-tinta-2: #6E6D74;
	--t-laranja: #EF5500;
	--t-laranja-claro: #F3DED3;
	--t-verde: #15994A;
	--t-verde-claro: #DDF3E4;
	--t-ambar: #B9771D;
	--t-ambar-claro: #F3E6D6;
	--t-vermelho: #B8322B;
	--t-vermelho-claro: #F5DFDD;
	--t-sombra: 0 10px 30px -12px rgba(30, 20, 60, .25);
}
:root:not([data-theme="light"]) .ah.ah--sms,
:root:not([data-theme="light"]) .sx {
	--t-fundo: #000000;
	--t-cartao: #1C1B20;
	--t-linha: #2C2B31;
	--t-campo: #26252B;
	--t-trilho: #222127;
	--t-tinta: #F2F2F5;
	--t-tinta-2: #9C9BA3;
	--t-laranja-claro: rgba(239, 85, 0, .20);
	--t-verde: #43D17A;
	--t-verde-claro: rgba(67, 209, 122, .16);
	--t-ambar: #E8A53C;
	--t-ambar-claro: rgba(232, 165, 60, .16);
	--t-vermelho: #F06A5F;
	--t-vermelho-claro: rgba(240, 106, 95, .16);
	--t-sombra: 0 10px 30px -12px rgba(0, 0, 0, .8);
}

.sm-tela {
	position: relative; overflow: hidden; aspect-ratio: 390 / 844; border-radius: 12.65% / 5.85%;
	background: var(--t-fundo); isolation: isolate;
}
.sm-tela .sm-t,
.sm-tela .ah-tela-html > .sm-t { position: absolute; left: 0; top: 0; }
.sm-t {
	width: 390px; height: 844px; overflow: hidden; transform: scale(var(--k)); transform-origin: 0 0;
	background: var(--t-fundo); color: var(--t-tinta);
	font: 400 16px/1.25 var(--v3-body); text-align: left; letter-spacing: 0;
	-webkit-user-select: none; user-select: none; pointer-events: none;
}
.sm-t svg { display: block; width: 22px; height: 22px; max-width: none; flex: none; }
.sm-t h4, .sm-t h5 {
	margin: 0; color: var(--t-tinta); font-family: var(--v3-body); font-variation-settings: normal; letter-spacing: -.01em;
}
:is(.ah, .sx) .sm-t p { margin: 0; color: var(--t-tinta-2); }
:is(.ah, .sx) .sm-t code { padding: 0; background: none; border: 0; font: inherit; color: inherit; }
.sm-t b, .sm-t strong { font-weight: 700; }

.sm-t-status { position: relative; height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 6px 30px 0 44px; }
.sm-t-status b { font: 600 17px/1 var(--v3-body); letter-spacing: -.01em; }
.sm-t-ilha { position: absolute; left: 50%; top: 11px; width: 124px; height: 36px; margin-left: -62px; border-radius: 20px; background: #000; }
.sm-t-sinais { display: flex; align-items: center; gap: 6px; }
.sm-t-sinais svg { fill: currentColor; height: 12px; width: auto; }
.sm-t-sinais svg:first-child { width: 18px; }
.sm-t-sinais svg:nth-child(2) { width: 16px; }
.sm-t-sinais svg:last-child { width: 27px; height: 13px; }

.sm-t-topo { display: flex; align-items: center; gap: 10px; height: 52px; padding: 6px 16px 0; }
.sm-t-topo h4 { flex: 1; font-size: 28px; font-weight: 700; line-height: 1; }
.sm-t-topo--dentro h4 { font-size: 26px; padding-left: 8px; }
.sm-t-voltar { display: grid; place-items: center; width: 30px; color: var(--t-tinta); }
.sm-t-voltar svg { width: 26px; height: 26px; }
.sm-t-saldinho { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px 0 9px; border-radius: 15px; background: var(--t-campo); font: 600 15px/1 var(--v3-body); color: var(--t-tinta-2); }
.sm-t-saldinho svg { width: 16px; height: 16px; }
.sm-t-perfil { color: var(--t-tinta); }
.sm-t-perfil svg { width: 25px; height: 25px; }

.sm-t-seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; margin: 18px 16px 0; padding: 4px; height: 50px; border-radius: 25px; background: var(--t-trilho); }
.sm-t-seg span { display: flex; align-items: center; justify-content: center; border-radius: 21px; font: 500 16.5px/1 var(--v3-body); color: var(--t-tinta-2); white-space: nowrap; }
.sm-t-seg span.sel { background: var(--t-laranja); color: #fff; font-weight: 600; box-shadow: 0 6px 14px -6px rgba(239, 85, 0, .7); }
.sm-t-seg em { display: inline-grid; place-items: center; width: 18px; height: 18px; margin-left: 7px; border-radius: 50%; background: #C8102E; color: #fff; font: 700 11px/1 var(--v3-body); font-style: normal; }
.sm-t-seg--apagado { opacity: .35; }
.sm-t-seg--mini { margin: 0; height: 44px; width: 228px; }
.sm-t-seg--mini span { font-size: 15px; }

.sm-t-campo { position: relative; display: flex; align-items: center; gap: 16px; height: 52px; margin: 14px 16px 0; padding: 0 18px; border-radius: 14px; background: var(--t-campo); font-size: 17px; color: var(--t-tinta); }
.sm-t-campo i { color: var(--t-tinta-2); }
.sm-t-campo--cmd .sm-t-valor { font: 500 17px/1.2 var(--v3-body); white-space: nowrap; }
.sm-t-campo--area { height: 118px; align-items: flex-start; padding-top: 14px; }
.sm-t-campo--area .sm-t-valor { font: 500 16.5px/1.42 var(--v3-body); }
.sm-t-cursor { width: 2px; height: 22px; margin-left: -14px; border-radius: 1px; background: var(--t-laranja); animation: sm-cursor 1s steps(2, jump-none) infinite; }
.sm-t-dica-campo { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--t-tinta-2); }
@keyframes sm-cursor { 50% { opacity: 0; } }
:is(.ah, .sx) .sm-t .sm-t-dica { margin: 7px 22px 0; font-size: 13px; color: var(--t-tinta-2); }

.sm-t-linha { display: flex; align-items: center; justify-content: space-between; margin: 12px 16px 0; }
.sm-t-cont { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 11px 0 9px; border-radius: 13px; background: var(--t-campo); font: 500 13px/1 var(--v3-body); color: var(--t-tinta-2); }
.sm-t-cont svg { width: 15px; height: 15px; }
.sm-t-usar { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 14px; background: var(--t-laranja-claro); font: 600 16.5px/1 var(--v3-body); color: var(--t-laranja); }
.sm-t-usar svg { width: 20px; height: 20px; }

.sm-t-botao { display: flex; align-items: center; justify-content: center; gap: 10px; height: 52px; margin: 14px 16px 0; border-radius: 14px; background: var(--t-laranja); color: #fff; font: 700 18px/1 var(--v3-body); transition: transform .14s cubic-bezier(.23, 1, .32, 1), filter .14s ease; }
.sm-t-botao svg { width: 21px; height: 21px; }
.sm-t-botao.sm-apertado { transform: scale(.96); filter: brightness(.9); }
.sm-t-botao--seq { position: absolute; left: 0; right: 0; bottom: 126px; margin: 0 16px; }

.sm-t-sec { display: flex; align-items: flex-start; justify-content: space-between; margin: 22px 16px 10px; }
.sm-t-sec h5 { font-size: 19.5px; font-weight: 700; line-height: 1.2; }
:is(.ah, .sx) .sm-t-sec p { margin-top: 3px; font-size: 13px; }
.sm-t-sec i { color: var(--t-tinta-2); margin-top: 4px; }

.sm-t-lista { display: grid; gap: 9px; padding: 0 16px; }
.sm-t-envio {
	display: grid; grid-template-columns: 1fr auto auto; grid-template-rows: auto auto; column-gap: 8px; row-gap: 5px; align-items: center;
	padding: 13px 15px; border-radius: 14px; background: var(--t-cartao); border: 1px solid var(--t-linha);
}
.sm-t-envio b { font: 700 16px/1.1 var(--v3-body); letter-spacing: .01em; }
.sm-t-copiar { color: var(--t-tinta-2); }
.sm-t-copiar svg { width: 16px; height: 16px; }
.sm-t-envio code { grid-column: 1; font: 400 15.5px/1.2 var(--v3-body) !important; color: var(--t-tinta-2) !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sm-t-envio small { grid-column: 2 / -1; justify-self: end; font: 400 12.5px/1 var(--v3-body); color: var(--t-tinta-2); white-space: nowrap; }
.sm-t-st { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 11px; font: 600 12.5px/1 var(--v3-body); white-space: nowrap; transition: background-color .25s ease, color .25s ease; }
.sm-t-st--ok { background: var(--t-verde-claro); color: var(--t-verde); }
.sm-t-st--op { background: var(--t-ambar-claro); color: var(--t-ambar); }
.sm-t-st--env { background: var(--t-campo); color: var(--t-tinta-2); }
.sm-t-st--falha { background: var(--t-vermelho-claro); color: var(--t-vermelho); }
/* a linha nova da cena entra abrindo espaço */
.sm-t-envio[data-sm-nova] { max-height: 90px; transition: max-height .4s cubic-bezier(.23, 1, .32, 1), opacity .3s ease, margin .4s cubic-bezier(.23, 1, .32, 1); }
.sm-t-envio[data-sm-nova].sm-escondida { max-height: 0; opacity: 0; padding-block: 0; border-width: 0; margin-bottom: -9px; }

.sm-t-abas {
	position: absolute; left: 15px; right: 15px; bottom: 30px; height: 72px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center;
	border-radius: 36px; background: var(--t-cartao); box-shadow: 0 10px 30px -10px rgba(20, 10, 40, .25), 0 0 0 1px var(--t-linha);
}
.sm-t-aba { display: grid; justify-items: center; gap: 4px; font: 500 12.5px/1 var(--v3-body); color: var(--t-tinta-2); }
.sm-t-aba i { position: relative; display: grid; place-items: center; width: 62px; height: 34px; border-radius: 17px; }
.sm-t-aba--sel { color: var(--t-laranja); font-weight: 600; }
.sm-t-aba--sel i { background: var(--t-laranja); color: #fff; }
.sm-t-aba em { position: absolute; top: -3px; right: 12px; display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: #C8102E; color: #fff; font: 700 10.5px/1 var(--v3-body); font-style: normal; }

/* folha de baixo (grupos e sequência) */
.sm-t-folha { position: absolute; left: 0; right: 0; top: 118px; bottom: 0; padding: 10px 0 0; border-radius: 26px 26px 0 0; background: var(--t-fundo); box-shadow: 0 -10px 30px -12px rgba(0, 0, 0, .3); }
.sm-t--grupos::before, .sm-t--sequencia::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .28); }
.sm-t--grupos .sm-t-status, .sm-t--grupos .sm-t-topo, .sm-t--sequencia .sm-t-status, .sm-t--sequencia .sm-t-topo { position: relative; z-index: 0; }
.sm-t-alca { display: block; width: 40px; height: 5px; margin: 0 auto 18px; border-radius: 3px; background: var(--t-tinta-2); opacity: .4; }
.sm-t-folha-topo { display: flex; align-items: center; gap: 12px; padding: 0 20px 0 16px; margin-bottom: 14px; }
.sm-t-folha-topo h5 { flex: 1; font-size: 20px; font-weight: 700; }
.sm-t-novo { display: inline-flex; align-items: center; gap: 6px; font: 600 15.5px/1 var(--v3-body); color: var(--t-laranja); }
.sm-t-novo svg { width: 20px; height: 20px; }
.sm-t-pasta, .sm-t-modelo { display: grid; grid-template-columns: 30px 1fr auto auto; column-gap: 16px; row-gap: 3px; align-items: center; padding: 11px 20px 11px 24px; }
.sm-t-pasta > i:first-child, .sm-t-modelo > i:first-child { grid-row: span 2; color: var(--t-tinta-2); }
.sm-t-pasta > i:first-child svg, .sm-t-modelo > i:first-child svg { width: 26px; height: 26px; }
.sm-t-pasta b, .sm-t-modelo b { font: 500 17px/1.2 var(--v3-body); }
.sm-t-pasta small { grid-column: 2; font-size: 14.5px; color: var(--t-tinta-2); }
.sm-t-pasta .sm-t-seta { grid-column: 3; grid-row: 1 / span 2; color: var(--t-tinta-2); }
.sm-t-pasta .sm-t-mais, .sm-t-modelo .sm-t-mais { grid-column: 4; grid-row: 1 / span 2; color: var(--t-tinta-2); }
.sm-t-modelo code { grid-column: 2; font: 400 14.5px/1.2 var(--v3-body) !important; color: var(--t-tinta-2) !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sm-t-modelo { grid-template-columns: 30px minmax(0, 1fr) auto; }
.sm-t-modelo .sm-t-mais { grid-column: 3; }

/* início */
.sm-t-saldo {
	position: relative; overflow: hidden; display: grid; justify-items: start; margin: 12px 16px 0; padding: 16px 20px 18px; border-radius: 24px; color: #fff;
	background: linear-gradient(135deg, #EB5300 0%, #D44A00 55%, #BD4303 100%); box-shadow: 0 18px 34px -16px rgba(212, 74, 0, .65);
}
.sm-t-saldo-rot { display: inline-flex; align-items: center; gap: 9px; font: 500 16px/1 var(--v3-body); opacity: .92; }
.sm-t-saldo-rot svg { width: 19px; height: 19px; }
.sm-t-saldo b { margin-top: 12px; font: 800 52px/.9 var(--v3-body); letter-spacing: -.03em; }
.sm-t-saldo > span:not(.sm-t-saldo-rot) { margin-top: 8px; font-size: 16.5px; opacity: .9; }
.sm-t-saldo em { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; height: 28px; padding: 0 12px; border-radius: 14px; background: rgba(255, 255, 255, .18); font: 600 13.5px/1 var(--v3-body); font-style: normal; }
.sm-t-saldo em svg { width: 15px; height: 15px; }
.sm-t-saldo-marca { position: absolute; right: 22px; bottom: 30px; font: italic 900 46px/1 var(--v3-display); letter-spacing: -.02em; color: rgba(255, 255, 255, .12); }
.sm-t-saldo-marca::after { content: ""; position: absolute; right: -14px; top: 50%; width: 118px; height: 118px; margin-top: -59px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .1); border-left-color: transparent; }
.sm-t-envios-topo { display: flex; align-items: center; justify-content: space-between; margin: 16px 16px 0; }
.sm-t-envios-topo h5 { font-size: 21px; font-weight: 700; }
:is(.ah, .sx) .sm-t .sm-t-periodo { margin: 8px 16px 0; font-size: 14px; }
.sm-t-painel { margin: 10px 16px 0; padding: 14px; border-radius: 20px; background: var(--t-cartao); border: 1px solid var(--t-linha); }
.sm-t-total { display: flex; align-items: baseline; gap: 10px; }
.sm-t-total b { font: 800 36px/1 var(--v3-body); letter-spacing: -.02em; }
.sm-t-total span { flex: 1; font-size: 16px; color: var(--t-tinta-2); }
.sm-t-total em { align-self: center; padding: 7px 12px; border-radius: 14px; background: var(--t-verde-claro); color: var(--t-verde); font: 600 15px/1 var(--v3-body); font-style: normal; }
.sm-t-barra { display: flex; height: 10px; margin-top: 12px; border-radius: 6px; overflow: hidden; background: var(--t-campo); }
.sm-t-barra i { background: var(--t-verde); }
.sm-t-barra i.op { background: var(--t-ambar); }
:is(.ah, .sx) .sm-t-painel > p { margin-top: 9px; font-size: 13.5px; }
.sm-t-quad { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.sm-t-q { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 8px; row-gap: 8px; align-items: center; padding: 10px 12px 12px; border-radius: 16px; background: var(--t-fundo); }
.sm-t-q > i { grid-column: 1; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; }
.sm-t-q > i svg { width: 20px; height: 20px; }
.sm-t-q .sm-t-seta { justify-self: end; color: var(--t-tinta-2); }
.sm-t-q .sm-t-seta svg { width: 17px; height: 17px; }
.sm-t-q-linha { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 8px; font-size: 13.5px; color: var(--t-tinta-2); white-space: nowrap; }
.sm-t-q b { font: 800 26px/1 var(--v3-body); }
.sm-t-q--ok > i { background: var(--t-verde-claro); color: var(--t-verde); }
.sm-t-q--ok b { color: var(--t-verde); }
.sm-t-q--op > i { background: var(--t-ambar-claro); color: var(--t-ambar); }
.sm-t-q--op b { color: var(--t-ambar); }
.sm-t-q--falha > i, .sm-t-q--rej > i { background: var(--t-vermelho-claro); color: var(--t-vermelho); }
.sm-t-q--falha b, .sm-t-q--rej b { color: var(--t-vermelho); }
.sm-t-cartao { display: flex; align-items: center; gap: 14px; margin: 12px 16px 0; padding: 14px 16px; border-radius: 18px; background: var(--t-cartao); border: 1px solid var(--t-linha); }
.sm-t-cartao > i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--t-laranja-claro); color: var(--t-laranja); }
.sm-t-cartao b { flex: 1; font: 700 17px/1 var(--v3-body); }
.sm-t-cartao strong { font: 800 22px/1 var(--v3-body); }
.sm-t-cartao .sm-t-seta { color: var(--t-tinta-2); }

/* respostas */
.sm-t-filtro { display: flex; align-items: center; justify-content: space-between; margin: 14px 16px 0; font-size: 14px; color: var(--t-tinta-2); }
.sm-t-filtro em { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border-radius: 17px; background: var(--t-laranja); color: #fff; font: 600 15px/1 var(--v3-body); font-style: normal; }
.sm-t-filtro em svg { width: 17px; height: 17px; }
.sm-t-busca { display: flex; align-items: center; gap: 14px; height: 52px; margin: 14px 16px 0; padding: 0 18px; border-radius: 14px; background: var(--t-cartao); font-size: 16.5px; color: var(--t-tinta-2); }
.sm-t-busca svg { width: 21px; height: 21px; }
:is(.ah, .sx) .sm-t .sm-t-contagem { margin: 18px 16px 10px; text-align: center; font: 700 17px/1 var(--v3-body); color: var(--t-tinta); }
.sm-t-resp { display: grid; grid-template-columns: 38px 1fr auto; column-gap: 12px; row-gap: 5px; margin: 0 16px 10px; padding: 14px; border-radius: 16px; background: var(--t-cartao); border: 1px solid var(--t-linha); }
.sm-t-resp > i { grid-row: span 3; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--t-laranja-claro); color: var(--t-laranja); }
.sm-t-resp > i svg { width: 19px; height: 19px; }
.sm-t-resp b { font: 700 16px/1.1 var(--v3-body); }
.sm-t-op { justify-self: end; padding: 3px 8px; border-radius: 8px; border: 1px solid var(--t-linha); font: 600 11px/1 var(--v3-body); color: var(--t-tinta-2); }
.sm-t-resp code { grid-column: 2 / -1; font: 400 15px/1.35 var(--v3-body) !important; color: var(--t-tinta) !important; }
.sm-t-resp small { grid-column: 2 / -1; font-size: 12.5px; color: var(--t-tinta-2); }

/* mensagens */
.sm-t-conv { display: grid; grid-template-columns: 44px 1fr auto; column-gap: 12px; row-gap: 4px; align-items: center; margin: 12px 16px 0; padding: 13px 14px; border-radius: 16px; background: var(--t-cartao); border: 1px solid var(--t-linha); }
.sm-t-avatar { grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--t-laranja-claro); color: var(--t-laranja); }
.sm-t-conv b { font: 700 16px/1.1 var(--v3-body); }
.sm-t-conv small { justify-self: end; font-size: 12.5px; color: var(--t-tinta-2); }
.sm-t-conv span { grid-column: 2; font-size: 14.5px; color: var(--t-tinta-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sm-t-conv em { grid-column: 3; justify-self: end; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--t-laranja); color: #fff; font: 700 11.5px/1 var(--v3-body); font-style: normal; }
.sm-t-nova { position: absolute; right: 16px; bottom: 126px; display: inline-flex; align-items: center; gap: 9px; height: 50px; padding: 0 18px; border-radius: 16px; background: var(--t-laranja); color: #fff; font: 600 16.5px/1 var(--v3-body); box-shadow: 0 12px 24px -10px rgba(239, 85, 0, .7); }

