/* Perfil do cliente: versao premium e animada. Escopo forte porque o
   escuro.css pinta os mesmos cartoes com :root[data-tema]. */
@keyframes pf-sobe { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes pf-gira { to { transform: rotate(360deg); } }
@keyframes pf-respira { 0%,100% { opacity: .55; transform: scale(1); } 50% { opacity: .9; transform: scale(1.06); } }
@keyframes pf-enche { from { transform: scaleX(0); } }
@keyframes pf-brilho { from { transform: translateX(-130%) skewX(-18deg); } to { transform: translateX(330%) skewX(-18deg); } }
@keyframes pf-flutua { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes pf-barra { from { background-position: 0 0; } to { background-position: 40px 0; } }

:root body.em-perfil.em-perfil { --pf-tom: #ff5a1f; --pf-vidro: linear-gradient(165deg, rgba(255,255,255,.055), rgba(255,255,255,.012) 55%); --pf-borda: rgba(255,255,255,.075); }

/* ---- topo ---- */
:root body.em-perfil.em-perfil .perfil-topo { position: relative; animation: pf-sobe .5s cubic-bezier(.2,.8,.2,1) both; }
:root body.em-perfil.em-perfil .voltar-perfil { transition: transform .2s, border-color .2s, background .2s; }
:root body.em-perfil.em-perfil .voltar-perfil:hover { transform: translateX(-3px); border-color: rgba(255,90,31,.5); background: rgba(255,90,31,.08); }

:root body.em-perfil.em-perfil .perfil-identidade { position: relative; align-items: center; gap: 22px; padding: 22px 24px; margin-top: 16px; border-radius: 22px;
  background: radial-gradient(120% 160% at 0% 0%, rgba(255,90,31,.16), transparent 55%), var(--pf-vidro);
  border: 1px solid var(--pf-borda); box-shadow: 0 24px 60px -30px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.06); }
:root body.em-perfil.em-perfil .perfil-identidade::before { content: ''; position: absolute; right: 0; top: 0; width: 320px; height: 100%; border-radius: 22px;
  background: radial-gradient(circle at 80% 10%, rgba(255,90,31,.2), transparent 60%); animation: pf-respira 6s ease-in-out infinite; pointer-events: none; }
:root body.em-perfil.em-perfil .caixa-avatar { position: relative; isolation: isolate; }
:root body.em-perfil.em-perfil .caixa-avatar::before { content: ''; position: absolute; inset: -5px; border-radius: 50%; z-index: -1;
  background: conic-gradient(from 0deg, #ff5a1f, #ffb347, transparent 40%, #ff5a1f 70%, #ffb347, #ff5a1f); animation: pf-gira 6s linear infinite; }
:root body.em-perfil.em-perfil .caixa-avatar::after { content: ''; position: absolute; inset: -2px; border-radius: 50%; z-index: -1; background: #12151b; }
:root body.em-perfil.em-perfil .perfil-avatar { transition: transform .35s cubic-bezier(.3,1.5,.5,1); box-shadow: 0 10px 30px -10px rgba(255,90,31,.6); }
:root body.em-perfil.em-perfil .perfil-avatar:hover { transform: scale(1.05) rotate(-3deg); }
:root body.em-perfil.em-perfil .perfil-nome h2 { font-size: 30px; font-weight: 800; letter-spacing: -.03em;
  background: linear-gradient(90deg, #fff, #ffd9c4 60%, #fff); -webkit-background-clip: text; background-clip: text; color: transparent; }
:root body.em-perfil.em-perfil .selo-editavel { transition: transform .2s, box-shadow .2s; }
:root body.em-perfil.em-perfil .selo-editavel:hover { transform: translateY(-1px); box-shadow: 0 6px 16px -6px currentColor; }
:root body.em-perfil.em-perfil .atalho-perfil { transition: transform .2s, border-color .2s, background .2s; }
:root body.em-perfil.em-perfil .atalho-perfil:hover { transform: translateY(-2px); }

/* ---- abas ---- */
:root body.em-perfil.em-perfil .abas-perfil { position: relative; gap: 4px; margin-top: 18px; border-bottom: 1px solid var(--pf-borda); animation: pf-sobe .5s .06s cubic-bezier(.2,.8,.2,1) both; }
:root body.em-perfil.em-perfil .abas-perfil button { position: relative; padding: 10px 16px; border-radius: 10px 10px 0 0; background: none; transition: color .2s, background .2s; }
:root body.em-perfil.em-perfil .abas-perfil button:hover { background: rgba(255,255,255,.04); }
:root body.em-perfil.em-perfil .abas-perfil button::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, #ff5a1f, #ffb347); transform: scaleX(0); transition: transform .3s cubic-bezier(.2,.8,.2,1); box-shadow: 0 0 12px rgba(255,90,31,.8); }
:root body.em-perfil.em-perfil .abas-perfil button.ativa { background: linear-gradient(180deg, transparent, rgba(255,90,31,.08)); }
:root body.em-perfil.em-perfil .abas-perfil button.ativa::after { transform: scaleX(1); }

/* ---- cartoes ---- */
:root body.em-perfil.em-perfil #painel .cartao { position: relative; border-radius: 20px; background: var(--pf-vidro); border: 1px solid var(--pf-borda);
  box-shadow: 0 18px 50px -32px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.05);
  animation: pf-sobe .55s .1s cubic-bezier(.2,.8,.2,1) both; transition: transform .3s cubic-bezier(.2,.8,.2,1), border-color .3s, box-shadow .3s; }
:root body.em-perfil.em-perfil #painel .cartao:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.13); box-shadow: 0 26px 60px -30px rgba(0,0,0,.95), inset 0 1px 0 rgba(255,255,255,.07); }
:root body.em-perfil.em-perfil #painel .cartao:nth-child(2) { animation-delay: .18s; }
:root body.em-perfil.em-perfil #painel .cartao:nth-child(3) { animation-delay: .26s; }
:root body.em-perfil.em-perfil #painel .cartao:nth-child(4) { animation-delay: .34s; }
:root body.em-perfil.em-perfil #painel .cartao:nth-child(5) { animation-delay: .42s; }
:root body.em-perfil.em-perfil #painel .cartao h2 { font-weight: 800; letter-spacing: -.01em; }
:root body.em-perfil.em-perfil #painel .cartao h2 svg { color: var(--pf-tom); }

:root body.em-perfil.em-perfil .pessoa-linha { border-radius: 12px; transition: background .2s, transform .2s; }
:root body.em-perfil.em-perfil .pessoa-linha:hover { background: rgba(255,255,255,.035); transform: translateX(3px); }
:root body.em-perfil.em-perfil .pessoa-avatar { background: linear-gradient(135deg, #ff7a3d, #c2410c); color: #fff; box-shadow: 0 6px 16px -8px #ff5a1f; }
:root body.em-perfil.em-perfil .chip-pessoa { transition: transform .2s cubic-bezier(.3,1.5,.5,1), border-color .2s, background .2s; }
:root body.em-perfil.em-perfil .chip-pessoa:hover { transform: translateY(-2px) scale(1.03); border-color: rgba(255,90,31,.55); background: rgba(255,90,31,.08); }
:root body.em-perfil.em-perfil .chip-pessoa b { transition: transform .3s; display: inline-block; }
:root body.em-perfil.em-perfil .chip-pessoa:hover b { transform: rotate(90deg); }

/* ---- cartao do plano: o heroi da coluna ---- */
:root body.em-perfil.em-perfil .pl-cliente { overflow: hidden; isolation: isolate; }
:root body.em-perfil.em-perfil .pl-cliente.nivel-bronze { --pf-tom: #e0915a; }
:root body.em-perfil.em-perfil .pl-cliente.nivel-prata { --pf-tom: #cfd8e3; }
:root body.em-perfil.em-perfil .pl-cliente.nivel-ouro { --pf-tom: #f3c64d; }
:root body.em-perfil.em-perfil .pl-cliente.nivel-diamante { --pf-tom: #6fd3ff; }
:root body.em-perfil.em-perfil #painel .pl-cliente { border-color: color-mix(in srgb, var(--pf-tom) 30%, transparent);
  background: radial-gradient(110% 120% at 100% 0%, color-mix(in srgb, var(--pf-tom) 18%, transparent), transparent 55%), var(--pf-vidro); }
:root body.em-perfil.em-perfil .pl-cliente::before { content: ''; position: absolute; top: 0; left: 0; width: 35%; height: 100%; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.06), transparent); animation: pf-brilho 5s 1s ease-in-out infinite; }
:root body.em-perfil.em-perfil .pl-cliente-rotulo { color: var(--pf-tom); letter-spacing: .14em; }
:root body.em-perfil.em-perfil .pl-cliente h2 { font-size: 26px; font-weight: 800; color: var(--pf-tom); text-shadow: 0 0 24px color-mix(in srgb, var(--pf-tom) 45%, transparent); }
:root body.em-perfil.em-perfil .pl-cliente-resumo strong { font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
:root body.em-perfil.em-perfil .pl-uso li { grid-template-columns: 90px 1fr 46px; }
:root body.em-perfil.em-perfil .pl-uso-barra { height: 8px; background: rgba(255,255,255,.06); box-shadow: inset 0 1px 2px rgba(0,0,0,.4); }
:root body.em-perfil.em-perfil .pl-uso-barra span { min-width: 4px; transform-origin: left; animation: pf-enche 1s .35s cubic-bezier(.2,.8,.2,1) both;
  background: linear-gradient(90deg, color-mix(in srgb, var(--pf-tom) 70%, #000), var(--pf-tom)) !important; box-shadow: 0 0 10px color-mix(in srgb, var(--pf-tom) 60%, transparent); }
:root body.em-perfil.em-perfil .pl-uso-num { text-align: right; }
:root body.em-perfil.em-perfil .pl-nao-assinado { display: inline-flex; align-items: center; padding: 1px 8px; border-radius: 999px; background: rgba(232,176,74,.12); color: #f0b54a; }

/* ---- PDF do contrato ---- */
:root body.em-perfil.em-perfil .pl-pdf { position: relative; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--pf-borda); display: flex; align-items: center; gap: 12px; }
:root body.em-perfil.em-perfil .pl-pdf-soltar { flex: 1; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; text-align: left; cursor: pointer;
  border: 1.5px dashed color-mix(in srgb, var(--pf-tom) 45%, transparent); background: color-mix(in srgb, var(--pf-tom) 5%, transparent);
  color: inherit; font: inherit; box-shadow: none; filter: none; transition: border-color .2s, background .2s, transform .2s; }
:root body.em-perfil.em-perfil .pl-pdf-soltar:hover { border-color: var(--pf-tom); background: color-mix(in srgb, var(--pf-tom) 12%, transparent); transform: translateY(-1px); }
:root body.em-perfil.em-perfil .pl-pdf.sobre .pl-pdf-soltar { border-color: var(--pf-tom); background: color-mix(in srgb, var(--pf-tom) 16%, transparent); transform: scale(1.02); }
:root body.em-perfil.em-perfil .pl-pdf-soltar strong { display: block; font-size: 14px; }
:root body.em-perfil.em-perfil .pl-pdf-soltar small { display: block; margin-top: 2px; font-size: 12px; opacity: .6; }
:root body.em-perfil.em-perfil .pl-pdf-nuvem { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 12px; color: var(--pf-tom);
  background: color-mix(in srgb, var(--pf-tom) 14%, transparent); animation: pf-flutua 2.6s ease-in-out infinite; }
:root body.em-perfil.em-perfil .pl-pdf svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:root body.em-perfil.em-perfil .pl-pdf-arquivo { flex: 1; min-width: 0; display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 14px; color: inherit;
  background: rgba(255,255,255,.03); border: 1px solid var(--pf-borda); transition: background .2s, border-color .2s, transform .2s; }
:root body.em-perfil.em-perfil .pl-pdf-arquivo:hover { background: rgba(255,255,255,.06); border-color: rgba(239,68,68,.4); transform: translateY(-1px); color: inherit; }
:root body.em-perfil.em-perfil .pl-pdf-icone { position: relative; display: grid; place-items: center; width: 40px; height: 46px; flex: none; border-radius: 10px; color: #fff;
  background: linear-gradient(160deg, #f87171, #b91c1c); box-shadow: 0 8px 18px -8px #ef4444; }
:root body.em-perfil.em-perfil .pl-pdf-icone i { position: absolute; bottom: -6px; right: -8px; padding: 1px 5px; border-radius: 5px; font-size: 9px; font-weight: 800; font-style: normal; letter-spacing: .04em; background: #fff; color: #b91c1c; }
:root body.em-perfil.em-perfil .pl-pdf-texto { min-width: 0; }
:root body.em-perfil.em-perfil .pl-pdf-texto strong { display: block; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
:root body.em-perfil.em-perfil .pl-pdf-texto small { display: block; margin-top: 2px; font-size: 11.5px; opacity: .6; }
:root body.em-perfil.em-perfil .pl-pdf-acoes { display: flex; gap: 6px; }
:root body.em-perfil.em-perfil .pl-pdf-botao { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border-radius: 10px; color: inherit; cursor: pointer;
  background: rgba(255,255,255,.04); border: 1px solid var(--pf-borda); box-shadow: none; filter: none; transition: transform .2s, background .2s, border-color .2s, color .2s; }
:root body.em-perfil.em-perfil .pl-pdf-botao svg { width: 17px; height: 17px; }
:root body.em-perfil.em-perfil .pl-pdf-botao:hover { transform: translateY(-2px); border-color: var(--pf-tom); color: var(--pf-tom); background: color-mix(in srgb, var(--pf-tom) 10%, transparent); }
:root body.em-perfil.em-perfil .pl-pdf-botao.perigo:hover { border-color: #ef4444; color: #f87171; background: rgba(239,68,68,.1); }
:root body.em-perfil.em-perfil .pl-pdf-vazio { margin: 0; font-size: 13px; opacity: .6; }
:root body.em-perfil.em-perfil .pl-pdf-progresso { position: absolute; left: 0; right: 0; bottom: -8px; height: 3px; border-radius: 3px; overflow: hidden; opacity: 0; transition: opacity .2s; }
:root body.em-perfil.em-perfil .pl-pdf-progresso span { display: block; height: 100%; background: repeating-linear-gradient(90deg, var(--pf-tom) 0 20px, transparent 20px 40px); animation: pf-barra .6s linear infinite; }
:root body.em-perfil.em-perfil .pl-pdf.enviando .pl-pdf-progresso { opacity: 1; }
:root body.em-perfil.em-perfil .pl-pdf.enviando { pointer-events: none; opacity: .75; }

:root[data-tema="claro"] body.em-perfil .perfil-nome h2 { background: none; color: inherit; }
:root[data-tema="claro"] body.em-perfil .caixa-avatar::after { background: #fff; }

@media (prefers-reduced-motion: reduce) {
  body.em-perfil *, body.em-perfil *::before { animation: none !important; }
}
@media (max-width: 700px) {
  :root body.em-perfil.em-perfil .perfil-identidade { padding: 18px 16px; gap: 14px; }
  :root body.em-perfil.em-perfil .perfil-nome h2 { font-size: 22px; }
  :root body.em-perfil.em-perfil .pl-pdf { flex-wrap: wrap; }
}

/* ---- etiqueta do contrato ---- */
@keyframes pf-alerta { 0%,100% { box-shadow: 0 0 0 0 rgba(240,181,74,.35); } 50% { box-shadow: 0 0 0 5px rgba(240,181,74,0); } }
:root body.em-perfil.em-perfil .pl-cliente-linha { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
:root body.em-perfil.em-perfil .pl-tag-contrato { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 11px 0 8px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .01em; }
:root body.em-perfil.em-perfil .pl-tag-contrato svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
:root body.em-perfil.em-perfil .pl-tag-contrato.ok { color: #4ade80; background: linear-gradient(180deg, rgba(74,222,128,.16), rgba(74,222,128,.06)); border: 1px solid rgba(74,222,128,.35); }
:root body.em-perfil.em-perfil .pl-tag-contrato.falta { color: #f0b54a; background: linear-gradient(180deg, rgba(240,181,74,.16), rgba(240,181,74,.05)); border: 1px solid rgba(240,181,74,.35); animation: pf-alerta 2.4s ease-in-out infinite; }

/* ---- janela de troca ---- */
@keyframes pf-janela { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes pf-anel { from { stroke-dashoffset: var(--volta); } }
@keyframes pf-borda-gira { to { --pf-ang: 360deg; } }
@property --pf-ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

:root body.em-perfil.em-perfil .pl-troca { width: min(820px, calc(100vw - 32px)); border-radius: 24px; border: 1px solid rgba(255,255,255,.09);
  background: radial-gradient(90% 60% at 0% 0%, rgba(255,90,31,.12), transparent 60%), #10131a;
  box-shadow: 0 40px 120px -30px rgba(0,0,0,.9); animation: pf-janela .4s cubic-bezier(.2,.8,.2,1) both; }
:root body.em-perfil.em-perfil .pl-troca::backdrop { background: rgba(5,7,10,.7); backdrop-filter: blur(6px); }
:root body.em-perfil.em-perfil .pl-troca .janelao-topo h2 { font-size: 21px; font-weight: 800; letter-spacing: -.02em; }

:root body.em-perfil.em-perfil .pl-estado { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
:root body.em-perfil.em-perfil .pl-estado > div { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; position: relative;
  background: linear-gradient(165deg, rgba(255,255,255,.05), rgba(255,255,255,.01)); border: 1px solid rgba(255,255,255,.08);
  animation: pf-sobe .5s .05s cubic-bezier(.2,.8,.2,1) both; }
:root body.em-perfil.em-perfil .pl-estado > div + div { animation-delay: .12s; }
:root body.em-perfil.em-perfil .pl-estado strong { display: block; font-size: 14px; font-weight: 800; }
:root body.em-perfil.em-perfil .pl-estado small { display: block; margin-top: 2px; font-size: 12px; opacity: .6; }
:root body.em-perfil.em-perfil .pl-anel { width: 58px; height: 58px; flex: none; transform: rotate(-90deg); }
:root body.em-perfil.em-perfil .pl-anel circle { fill: none; stroke-width: 6; }
:root body.em-perfil.em-perfil .pl-anel .fundo { stroke: rgba(255,255,255,.08); }
:root body.em-perfil.em-perfil .pl-anel .cheio { stroke: #ff5a1f; stroke-linecap: round; stroke-dasharray: var(--volta); stroke-dashoffset: var(--resto);
  filter: drop-shadow(0 0 5px rgba(255,90,31,.7)); animation: pf-anel 1.2s .25s cubic-bezier(.2,.8,.2,1) both; }
:root body.em-perfil.em-perfil .pl-anel-num { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 58px; text-align: center; font-size: 13px; font-weight: 800; }
:root body.em-perfil.em-perfil .pl-vence-num { display: grid; place-items: center; min-width: 58px; height: 58px; padding: 0 8px; border-radius: 16px; font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
:root body.em-perfil.em-perfil .pl-estado-vence.bom .pl-vence-num { color: #4ade80; background: rgba(74,222,128,.1); }
:root body.em-perfil.em-perfil .pl-estado-vence.atencao .pl-vence-num { color: #f0b54a; background: rgba(240,181,74,.12); }
:root body.em-perfil.em-perfil .pl-estado-vence.perigo .pl-vence-num { color: #f87171; background: rgba(248,113,113,.12); animation: pf-alerta 2s infinite; }
:root body.em-perfil.em-perfil .pl-estado-vence.neutro .pl-vence-num { color: rgba(255,255,255,.7); background: rgba(255,255,255,.06); }

:root body.em-perfil.em-perfil .pl-troca .pl-opcoes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
:root body.em-perfil.em-perfil .pl-troca .pl-opcao { --tom: #ff5a1f; position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 18px; cursor: pointer;
  background: linear-gradient(165deg, rgba(255,255,255,.045), rgba(255,255,255,.01)); border: 1px solid rgba(255,255,255,.08); box-shadow: none;
  animation: pf-sobe .45s calc(.15s + var(--n, 0) * 60ms) cubic-bezier(.2,.8,.2,1) both;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), border-color .25s, box-shadow .25s, background .25s; }
:root body.em-perfil.em-perfil .pl-troca .pl-opcao.nivel-bronze { --tom: #e0915a; }
:root body.em-perfil.em-perfil .pl-troca .pl-opcao.nivel-prata { --tom: #cfd8e3; }
:root body.em-perfil.em-perfil .pl-troca .pl-opcao.nivel-ouro { --tom: #f3c64d; }
:root body.em-perfil.em-perfil .pl-troca .pl-opcao.nivel-diamante { --tom: #6fd3ff; }
:root body.em-perfil.em-perfil .pl-troca .pl-opcao:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--tom) 50%, transparent); box-shadow: 0 16px 34px -18px var(--tom); }
:root body.em-perfil.em-perfil .pl-troca .pl-opcao:has(input:checked) { border-color: var(--tom); transform: translateY(-3px) scale(1.01);
  background: radial-gradient(120% 100% at 100% 0%, color-mix(in srgb, var(--tom) 20%, transparent), transparent 60%), linear-gradient(165deg, rgba(255,255,255,.06), rgba(255,255,255,.015));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--tom) 18%, transparent), 0 20px 40px -20px var(--tom); }
/* o plano atual: borda girando na cor do nivel */
:root body.em-perfil.em-perfil .pl-troca .pl-opcao.atual::before { content: ''; position: absolute; inset: -1px; border-radius: 19px; padding: 1.5px; z-index: -1;
  background: conic-gradient(from var(--pf-ang), transparent 0 60%, var(--tom) 80%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: pf-borda-gira 3s linear infinite; }
:root body.em-perfil.em-perfil .pl-opcao-cabeca { display: flex; align-items: center; gap: 10px; }
:root body.em-perfil.em-perfil .pl-opcao-moeda { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; color: #1a1206;
  background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--tom), #fff 35%), var(--tom) 55%, color-mix(in srgb, var(--tom) 60%, #000));
  box-shadow: inset 0 1px 1px rgba(255,255,255,.45), 0 4px 12px -4px var(--tom); transition: transform .4s cubic-bezier(.3,1.6,.5,1); }
:root body.em-perfil.em-perfil .pl-opcao:hover .pl-opcao-moeda, :root body.em-perfil.em-perfil .pl-opcao:has(input:checked) .pl-opcao-moeda { transform: rotate(-14deg) scale(1.1); }
:root body.em-perfil.em-perfil .pl-opcao-moeda svg { width: 18px; height: 18px; fill: rgba(0,0,0,.18); stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
:root body.em-perfil.em-perfil .pl-troca .pl-opcao-nome { flex: 1; font-size: 16px; font-weight: 800; flex-wrap: wrap; }
:root body.em-perfil.em-perfil .pl-troca .pl-opcao-nome em { background: color-mix(in srgb, var(--tom) 18%, transparent); color: var(--tom); }
:root body.em-perfil.em-perfil .pl-opcao-check { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.2); transition: all .25s; }
:root body.em-perfil.em-perfil .pl-opcao-check svg { width: 14px; height: 14px; fill: none; stroke: #111; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .35s .05s; }
:root body.em-perfil.em-perfil .pl-opcao:has(input:checked) .pl-opcao-check { background: var(--tom); border-color: var(--tom); transform: scale(1.1); }
:root body.em-perfil.em-perfil .pl-opcao:has(input:checked) .pl-opcao-check svg { stroke-dashoffset: 0; }
:root body.em-perfil.em-perfil .pl-troca .pl-opcao-preco { font-size: 24px; font-weight: 800; letter-spacing: -.02em; margin-top: 4px; }
:root body.em-perfil.em-perfil .pl-troca .pl-opcao-preco small { font-size: 13px; font-weight: 600; opacity: .5; }
:root body.em-perfil.em-perfil .pl-opcao-diferenca { font-size: 12px; opacity: .7; min-height: 16px; }
:root body.em-perfil.em-perfil .pl-opcao-diferenca b.sobe { color: #4ade80; }
:root body.em-perfil.em-perfil .pl-opcao-diferenca b.desce { color: #f87171; }
:root body.em-perfil.em-perfil .pl-troca .pl-opcao-itens { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.06); font-size: 12px; color: inherit; }
:root body.em-perfil.em-perfil .pl-troca .pl-opcao-itens span { padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,.05); opacity: .85; transition: background .2s; }
:root body.em-perfil.em-perfil .pl-troca .pl-opcao-itens b { color: var(--tom); }
:root body.em-perfil.em-perfil .pl-troca .pl-opcao:has(input:checked) .pl-opcao-itens span { background: color-mix(in srgb, var(--tom) 12%, transparent); }

@media (max-width: 700px) {
  :root body.em-perfil.em-perfil .pl-estado, :root body.em-perfil.em-perfil .pl-troca .pl-opcoes { grid-template-columns: 1fr; }
}

/* ---- confirmacao de remover o PDF ---- */
@keyframes pf-treme { 0%,100% { transform: rotate(0); } 20% { transform: rotate(-10deg); } 40% { transform: rotate(8deg); } 60% { transform: rotate(-5deg); } 80% { transform: rotate(3deg); } }
@keyframes pf-sai { to { opacity: 0; transform: translateY(10px) scale(.96); } }
:root body.em-perfil.em-perfil .pl-confirma { width: min(420px, calc(100vw - 32px)); padding: 28px 26px 22px; border-radius: 24px; text-align: center; color: inherit;
  border: 1px solid rgba(239,68,68,.25); background: radial-gradient(100% 70% at 50% 0%, rgba(239,68,68,.16), transparent 65%), #11141b;
  box-shadow: 0 40px 100px -30px rgba(0,0,0,.95), 0 0 0 1px rgba(255,255,255,.03); animation: pf-janela .35s cubic-bezier(.2,.8,.2,1) both; }
:root body.em-perfil.em-perfil .pl-confirma.saindo { animation: pf-sai .18s ease-in both; }
:root body.em-perfil.em-perfil .pl-confirma::backdrop { background: rgba(5,7,10,.72); backdrop-filter: blur(6px); }
:root body.em-perfil.em-perfil .pl-confirma-icone { display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto 14px; border-radius: 20px; color: #fca5a5;
  background: linear-gradient(160deg, rgba(239,68,68,.28), rgba(239,68,68,.08)); border: 1px solid rgba(239,68,68,.35);
  box-shadow: 0 12px 30px -12px #ef4444; animation: pf-treme .6s .25s ease both; }
:root body.em-perfil.em-perfil .pl-confirma-icone svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:root body.em-perfil.em-perfil .pl-confirma h2 { margin: 0 0 6px; font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
:root body.em-perfil.em-perfil .pl-confirma p { margin: 0 auto 18px; max-width: 320px; font-size: 13px; line-height: 1.5; opacity: .65; }
:root body.em-perfil.em-perfil .pl-confirma-arquivo { display: flex; align-items: center; gap: 14px; padding: 12px 14px; margin-bottom: 20px; border-radius: 14px; text-align: left;
  background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.07); }
:root body.em-perfil.em-perfil .pl-confirma-arquivo .pl-pdf-icone svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
:root body.em-perfil.em-perfil .pl-confirma-arquivo span:last-child { min-width: 0; }
:root body.em-perfil.em-perfil .pl-confirma-arquivo strong { display: block; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
:root body.em-perfil.em-perfil .pl-confirma-arquivo small { display: block; margin-top: 2px; font-size: 11.5px; opacity: .55; }
:root body.em-perfil.em-perfil .pl-confirma-pe { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
:root body.em-perfil.em-perfil .pl-confirma-pe button { height: 44px; border-radius: 12px; font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; filter: none; transition: transform .2s, background .2s, box-shadow .2s, border-color .2s; }
:root body.em-perfil.em-perfil .pl-confirma-nao { color: inherit; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); box-shadow: none; }
:root body.em-perfil.em-perfil .pl-confirma-nao:hover { background: rgba(255,255,255,.09); transform: translateY(-1px); }
:root body.em-perfil.em-perfil .pl-confirma-sim { position: relative; overflow: hidden; color: #fff; border: 1px solid #ef4444; background: linear-gradient(180deg, #f05252, #c81e1e); box-shadow: 0 10px 24px -10px #ef4444; }
:root body.em-perfil.em-perfil .pl-confirma-sim:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px #ef4444; }
:root body.em-perfil.em-perfil .pl-confirma-sim::after { content: ''; position: absolute; inset: 0 auto 0 0; width: 40%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent); transform: translateX(-130%) skewX(-18deg); }
:root body.em-perfil.em-perfil .pl-confirma-sim:hover::after { animation: pf-brilho .7s ease; }
:root body.em-perfil.em-perfil .pl-confirma-pe button:active { transform: scale(.97); }

/* ---- botao Gerenciar plano no cartao ---- */
:root body.em-perfil.em-perfil .pl-cliente-botoes { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
:root body.em-perfil.em-perfil .pl-gerenciar-botao { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 12px;
  font: inherit; font-weight: 700; font-size: 14px; color: #1a1206; cursor: pointer; filter: none;
  border: 1px solid color-mix(in srgb, var(--pf-tom), #fff 20%);
  background: linear-gradient(180deg, color-mix(in srgb, var(--pf-tom), #fff 18%), var(--pf-tom));
  box-shadow: 0 10px 24px -12px var(--pf-tom), inset 0 1px 0 rgba(255,255,255,.4); transition: transform .2s, box-shadow .2s; }
:root body.em-perfil.em-perfil .pl-gerenciar-botao svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; transition: transform .4s; }
:root body.em-perfil.em-perfil .pl-gerenciar-botao:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px var(--pf-tom), inset 0 1px 0 rgba(255,255,255,.4); }
:root body.em-perfil.em-perfil .pl-gerenciar-botao:hover svg { transform: rotate(180deg); }
:root body.em-perfil.em-perfil .pl-gerenciar-botao::after { content: ''; position: absolute; inset: 0 auto 0 0; width: 40%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent); transform: translateX(-130%) skewX(-18deg); animation: pf-brilho 4s 1.5s ease-in-out infinite; }

/* ---- janela Gerenciar plano ---- */
@keyframes pg-pula { 0% { transform: scale(1); } 40% { transform: scale(1.25); } 100% { transform: scale(1); } }
@keyframes pg-novo { from { opacity: 0; transform: translateY(-8px) scale(.97); max-height: 0; } to { opacity: 1; transform: none; max-height: 140px; } }
@keyframes pg-sai { to { opacity: 0; transform: translateX(30px) scale(.96); } }
@keyframes pg-gira { to { transform: rotate(360deg); } }

:root body.em-perfil.em-perfil .pl-gerenciar { --tom: #ff5a1f; width: min(760px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border-radius: 26px; color: inherit; overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--tom) 28%, rgba(255,255,255,.08));
  background: radial-gradient(80% 50% at 100% 0%, color-mix(in srgb, var(--tom) 16%, transparent), transparent 60%), #10131a;
  box-shadow: 0 40px 120px -30px rgba(0,0,0,.95); animation: pf-janela .4s cubic-bezier(.2,.8,.2,1) both; }
:root body.em-perfil.em-perfil .pl-gerenciar.nivel-bronze { --tom: #e0915a; }
:root body.em-perfil.em-perfil .pl-gerenciar.nivel-prata { --tom: #cfd8e3; }
:root body.em-perfil.em-perfil .pl-gerenciar.nivel-ouro { --tom: #f3c64d; }
:root body.em-perfil.em-perfil .pl-gerenciar.nivel-diamante { --tom: #6fd3ff; }
:root body.em-perfil.em-perfil .pl-gerenciar.saindo { animation: pf-sai .18s ease-in both; }
:root body.em-perfil.em-perfil .pl-gerenciar::backdrop { background: rgba(5,7,10,.72); backdrop-filter: blur(6px); }
:root body.em-perfil.em-perfil .pl-gerenciar form { display: flex; flex-direction: column; max-height: calc(100vh - 48px); margin: 0; }

:root body.em-perfil.em-perfil .pg-topo { display: flex; align-items: center; gap: 14px; padding: 22px 24px 18px; border-bottom: 1px solid rgba(255,255,255,.06); }
:root body.em-perfil.em-perfil .pg-moeda { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 50%; color: #1a1206;
  background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--tom), #fff 35%), var(--tom) 55%, color-mix(in srgb, var(--tom) 60%, #000));
  box-shadow: inset 0 1px 1px rgba(255,255,255,.45), 0 8px 22px -6px var(--tom); animation: pf-flutua 3s ease-in-out infinite; }
:root body.em-perfil.em-perfil .pg-moeda svg { width: 24px; height: 24px; fill: rgba(0,0,0,.18); stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
:root body.em-perfil.em-perfil .pg-topo > div { flex: 1; min-width: 0; }
:root body.em-perfil.em-perfil .pg-topo small { display: block; font-size: 12px; opacity: .55; font-weight: 600; }
:root body.em-perfil.em-perfil .pg-topo h2 { margin: 2px 0 0; font-size: 24px; font-weight: 800; letter-spacing: -.02em; color: var(--tom); }
:root body.em-perfil.em-perfil .pg-fechar { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border-radius: 50%; color: inherit; cursor: pointer;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); box-shadow: none; filter: none; transition: transform .3s, background .2s; }
:root body.em-perfil.em-perfil .pg-fechar svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
:root body.em-perfil.em-perfil .pg-fechar:hover { transform: rotate(90deg); background: rgba(255,255,255,.1); }

:root body.em-perfil.em-perfil .pg-corpo { flex: 1; overflow-y: auto; padding: 18px 24px 8px; }
:root body.em-perfil.em-perfil .pg-bloco { margin-bottom: 20px; animation: pf-sobe .45s .1s cubic-bezier(.2,.8,.2,1) both; }
:root body.em-perfil.em-perfil .pg-bloco + .pg-bloco { animation-delay: .18s; }
:root body.em-perfil.em-perfil .pg-bloco h3 { margin: 0 0 10px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .55; }
:root body.em-perfil.em-perfil .pg-bloco-topo { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
:root body.em-perfil.em-perfil .pg-bloco-topo h3 { margin: 0; }
:root body.em-perfil.em-perfil .pg-total { font-size: 13px; opacity: .8; }
:root body.em-perfil.em-perfil .pg-total b { display: inline-block; font-size: 18px; font-weight: 800; color: var(--tom); margin-right: 2px; }
:root body.em-perfil.em-perfil .pulou { animation: pg-pula .35s cubic-bezier(.3,1.6,.5,1); }

:root body.em-perfil.em-perfil .pg-campos { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 10px; }
:root body.em-perfil.em-perfil .pg-campo { display: flex; flex-direction: column; gap: 6px; }
:root body.em-perfil.em-perfil .pg-campo > span { font-size: 12px; font-weight: 600; opacity: .65; }
:root body.em-perfil.em-perfil .pg-campo input, :root body.em-perfil.em-perfil .pg-reais { height: 44px; border-radius: 12px; border: 1px solid rgba(255,255,255,.09); background: rgba(255,255,255,.035); color: inherit; font: inherit; font-weight: 700; padding: 0 12px; transition: border-color .2s, box-shadow .2s, background .2s; }
:root body.em-perfil.em-perfil .pg-reais { display: flex; align-items: center; gap: 6px; }
:root body.em-perfil.em-perfil .pg-reais b { opacity: .5; font-size: 13px; }
:root body.em-perfil.em-perfil .pg-reais input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; padding: 0; box-shadow: none; }
:root body.em-perfil.em-perfil .pg-campo input:focus, :root body.em-perfil.em-perfil .pg-reais:focus-within { outline: none; border-color: var(--tom); background: color-mix(in srgb, var(--tom) 6%, transparent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--tom) 15%, transparent); }
:root body.em-perfil.em-perfil .pg-reais input:focus { box-shadow: none; background: none; }

:root body.em-perfil.em-perfil .pg-itens { display: grid; gap: 8px; }
:root body.em-perfil.em-perfil .pg-item { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 18px; border-radius: 16px; overflow: hidden;
  background: linear-gradient(165deg, rgba(255,255,255,.045), rgba(255,255,255,.012)); border: 1px solid rgba(255,255,255,.07);
  animation: pf-sobe .4s calc(.2s + var(--n, 0) * 50ms) cubic-bezier(.2,.8,.2,1) both; transition: border-color .2s, background .2s, transform .2s; }
:root body.em-perfil.em-perfil .pg-item:hover { border-color: color-mix(in srgb, var(--cor) 45%, transparent); background: linear-gradient(90deg, color-mix(in srgb, var(--cor) 9%, transparent), rgba(255,255,255,.015) 60%); }
:root body.em-perfil.em-perfil .pg-item:focus-within { border-color: color-mix(in srgb, var(--cor) 60%, transparent); }
:root body.em-perfil.em-perfil .pg-item.novo { animation: pg-novo .4s cubic-bezier(.2,.8,.2,1) both; }
:root body.em-perfil.em-perfil .pg-item.saindo { animation: pg-sai .22s ease-in both; }
:root body.em-perfil.em-perfil .pg-item-cor { position: absolute; left: 0; top: 10px; bottom: 10px; width: 4px; border-radius: 0 4px 4px 0; background: var(--cor); box-shadow: 0 0 12px var(--cor); transition: background .3s; }
:root body.em-perfil.em-perfil .pg-item-quem { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
:root body.em-perfil.em-perfil .pg-item-nome { width: 100%; padding: 2px 0; border: 0; border-bottom: 1px dashed transparent; border-radius: 0; background: none; color: inherit; font: inherit; font-size: 15px; font-weight: 700; box-shadow: none; transition: border-color .2s; }
:root body.em-perfil.em-perfil .pg-item-nome:hover { border-bottom-color: rgba(255,255,255,.18); }
:root body.em-perfil.em-perfil .pg-item-nome:focus { outline: none; border-bottom-color: var(--cor); box-shadow: none; background: none; }
:root body.em-perfil.em-perfil .pg-item-linha { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
:root body.em-perfil.em-perfil .pg-item-linha select { height: 28px; padding: 0 26px 0 10px; border-radius: 8px; font-size: 12px; font-weight: 700; color: var(--cor);
  border: 1px solid color-mix(in srgb, var(--cor) 35%, transparent); background-color: color-mix(in srgb, var(--cor) 10%, transparent); }
:root body.em-perfil.em-perfil .pg-acumula { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; opacity: .75; cursor: pointer; user-select: none; }
:root body.em-perfil.em-perfil .pg-acumula input { position: absolute; opacity: 0; pointer-events: none; }
:root body.em-perfil.em-perfil .pg-chave { position: relative; width: 30px; height: 17px; border-radius: 999px; background: rgba(255,255,255,.12); transition: background .25s; }
:root body.em-perfil.em-perfil .pg-chave::after { content: ''; position: absolute; top: 2px; left: 2px; width: 13px; height: 13px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.4); transition: transform .3s cubic-bezier(.3,1.6,.5,1); }
:root body.em-perfil.em-perfil .pg-acumula input:checked + .pg-chave { background: var(--cor); }
:root body.em-perfil.em-perfil .pg-acumula input:checked + .pg-chave::after { transform: translateX(13px); }
:root body.em-perfil.em-perfil .pg-acumula input:focus-visible + .pg-chave { outline: 2px solid var(--cor); outline-offset: 2px; }
:root body.em-perfil.em-perfil .pg-feito { font-size: 11.5px; opacity: .5; }

:root body.em-perfil.em-perfil .pg-passo { display: flex; align-items: center; flex: none; border-radius: 12px; background: rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.08); padding: 3px; }
:root body.em-perfil.em-perfil .pg-passo button { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border-radius: 9px; border: 0; background: rgba(255,255,255,.06); color: inherit;
  font-size: 18px; font-weight: 700; cursor: pointer; box-shadow: none; filter: none; transition: background .15s, transform .15s, color .15s; }
:root body.em-perfil.em-perfil .pg-passo button:hover { background: var(--cor); color: #111; }
:root body.em-perfil.em-perfil .pg-passo button:active { transform: scale(.88); }
:root body.em-perfil.em-perfil .pg-passo input { width: 52px; height: 32px; border: 0; background: none; text-align: center; color: inherit; font: inherit; font-size: 17px; font-weight: 800; box-shadow: none; -moz-appearance: textfield; }
:root body.em-perfil.em-perfil .pg-passo input::-webkit-inner-spin-button, :root body.em-perfil.em-perfil .pg-passo input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
:root body.em-perfil.em-perfil .pg-passo input:focus { outline: none; box-shadow: none; background: none; color: var(--cor); }
:root body.em-perfil.em-perfil .pg-tirar { display: grid; place-items: center; width: 34px; height: 34px; flex: none; padding: 0; border-radius: 10px; color: inherit; cursor: pointer; opacity: .45;
  background: none; border: 1px solid transparent; box-shadow: none; filter: none; transition: opacity .2s, color .2s, background .2s, border-color .2s; }
:root body.em-perfil.em-perfil .pg-tirar svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
:root body.em-perfil.em-perfil .pg-item:hover .pg-tirar { opacity: .8; }
:root body.em-perfil.em-perfil .pg-tirar:hover { opacity: 1 !important; color: #f87171; background: rgba(239,68,68,.1); border-color: rgba(239,68,68,.3); }
:root body.em-perfil.em-perfil .pg-vazio { margin: 0; padding: 20px; text-align: center; font-size: 13px; opacity: .55; border: 1px dashed rgba(255,255,255,.12); border-radius: 16px; }

:root body.em-perfil.em-perfil .pg-adicionar { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; margin-top: 10px; border-radius: 14px; cursor: pointer;
  font: inherit; font-weight: 700; font-size: 14px; color: var(--tom); filter: none; box-shadow: none;
  border: 1.5px dashed color-mix(in srgb, var(--tom) 40%, transparent); background: color-mix(in srgb, var(--tom) 4%, transparent); transition: background .2s, border-color .2s, transform .2s; }
:root body.em-perfil.em-perfil .pg-adicionar span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--tom); color: #111; font-size: 16px; line-height: 1; transition: transform .35s cubic-bezier(.3,1.6,.5,1); }
:root body.em-perfil.em-perfil .pg-adicionar:hover { border-color: var(--tom); background: color-mix(in srgb, var(--tom) 10%, transparent); transform: translateY(-1px); }
:root body.em-perfil.em-perfil .pg-adicionar:hover span { transform: rotate(90deg) scale(1.1); }
:root body.em-perfil.em-perfil .pg-nota { margin: 0 0 6px; font-size: 12px; line-height: 1.5; opacity: .5; }

:root body.em-perfil.em-perfil .pg-pe { display: flex; align-items: center; gap: 10px; padding: 16px 24px; border-top: 1px solid rgba(255,255,255,.06); background: rgba(0,0,0,.18); }
:root body.em-perfil.em-perfil .pg-mudou { flex: 1; display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; opacity: .45; transition: opacity .2s, color .2s; }
:root body.em-perfil.em-perfil .pg-mudou::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
:root body.em-perfil.em-perfil .pg-mudou.ativo { opacity: 1; color: #f0b54a; }
:root body.em-perfil.em-perfil .pg-mudou.ativo::before { animation: pf-alerta 1.6s infinite; }
:root body.em-perfil.em-perfil .pg-pe button { height: 44px; padding: 0 20px; border-radius: 12px; font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; filter: none; transition: transform .2s, box-shadow .2s, background .2s; }
:root body.em-perfil.em-perfil .pg-cancelar { color: inherit; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); box-shadow: none; }
:root body.em-perfil.em-perfil .pg-cancelar:hover { background: rgba(255,255,255,.09); }
:root body.em-perfil.em-perfil .pg-salvar { position: relative; min-width: 150px; color: #fff; border: 1px solid #ff6b2c; background: linear-gradient(180deg, #ff7a3d, #ff5a1f); box-shadow: 0 12px 26px -12px #ff5a1f; }
:root body.em-perfil.em-perfil .pg-salvar:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -12px #ff5a1f; }
:root body.em-perfil.em-perfil .pg-salvar.salvando { pointer-events: none; }
:root body.em-perfil.em-perfil .pg-salvar.salvando span { opacity: 0; }
:root body.em-perfil.em-perfil .pg-salvar.salvando::after { content: ''; position: absolute; inset: 0; margin: auto; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.35); border-top-color: #fff; animation: pg-gira .7s linear infinite; }
:root body.em-perfil.em-perfil .pg-salvar.salvo { background: linear-gradient(180deg, #34d399, #059669); border-color: #34d399; box-shadow: 0 12px 26px -12px #10b981; }
:root body.em-perfil.em-perfil .pg-salvar.salvo span { opacity: 0; }
:root body.em-perfil.em-perfil .pg-salvar.salvo::after { content: '✓'; position: absolute; inset: 0; display: grid; place-items: center; font-size: 20px; animation: pg-pula .4s; }

@media (max-width: 700px) {
  :root body.em-perfil.em-perfil .pg-campos { grid-template-columns: 1fr 1fr; }
  :root body.em-perfil.em-perfil .pg-campos .pg-campo:first-child { grid-column: 1 / -1; }
  :root body.em-perfil.em-perfil .pg-item { flex-wrap: wrap; }
  :root body.em-perfil.em-perfil .pg-mudou { display: none; }
}

/* ---- vencimento com o calendario do sistema ---- */
:root body.em-perfil.em-perfil .pg-data { position: relative; }
:root body.em-perfil.em-perfil .pg-data-botao { display: flex; align-items: center; gap: 9px; width: 100%; height: 44px; padding: 0 34px 0 12px; border-radius: 12px; cursor: pointer; text-align: left;
  border: 1px solid rgba(255,255,255,.09); background: rgba(255,255,255,.035); color: inherit; font: inherit; box-shadow: none; filter: none;
  transition: border-color .2s, background .2s, box-shadow .2s; }
:root body.em-perfil.em-perfil .pg-data-botao svg { width: 17px; height: 17px; flex: none; fill: none; stroke: var(--tom); stroke-width: 1.9; stroke-linecap: round; transition: transform .3s cubic-bezier(.3,1.6,.5,1); }
:root body.em-perfil.em-perfil .pg-data-botao b { font-weight: 700; }
:root body.em-perfil.em-perfil .pg-data-botao.vazio b { font-weight: 600; opacity: .5; }
:root body.em-perfil.em-perfil .pg-data-botao:hover { border-color: color-mix(in srgb, var(--tom) 50%, transparent); background: color-mix(in srgb, var(--tom) 6%, transparent); }
:root body.em-perfil.em-perfil .pg-data-botao:hover svg { transform: scale(1.12) rotate(-6deg); }
:root body.em-perfil.em-perfil .pg-data:has(.cal-janela) .pg-data-botao { border-color: var(--tom); box-shadow: 0 0 0 3px color-mix(in srgb, var(--tom) 15%, transparent); }
:root body.em-perfil.em-perfil .pg-data-limpar { position: absolute; right: 7px; bottom: 9px; display: grid; place-items: center; width: 26px; height: 26px; padding: 0; border-radius: 8px;
  border: 0; background: none; color: inherit; opacity: .45; font-size: 18px; line-height: 1; cursor: pointer; box-shadow: none; filter: none; transition: opacity .2s, background .2s, color .2s; }
:root body.em-perfil.em-perfil .pg-data-limpar:hover { opacity: 1; color: #f87171; background: rgba(239,68,68,.1); }
:root body.em-perfil.em-perfil .pg-data .cal-janela { top: 100%; left: auto; right: 0; animation: pf-janela .25s cubic-bezier(.2,.8,.2,1) both; }
:root body.em-perfil.em-perfil .pl-gerenciar .pg-corpo:has(.cal-janela) { padding-bottom: 260px; }

/* ---- seletor de tipo dentro da entrega: nao cortar a lista ---- */
:root body.em-perfil.em-perfil .pl-gerenciar .pg-item { overflow: visible; }
:root body.em-perfil.em-perfil .pl-gerenciar .pg-item:has(.sel-lista:not([hidden])) { z-index: 20; border-color: color-mix(in srgb, var(--cor) 60%, transparent); }
:root body.em-perfil.em-perfil .pl-gerenciar .pg-item .sel { position: relative; }
:root body.em-perfil.em-perfil .pl-gerenciar .pg-item .sel-botao { height: 30px; padding: 0 10px; border-radius: 9px; font-size: 12.5px; font-weight: 700; color: var(--cor);
  border: 1px solid color-mix(in srgb, var(--cor) 35%, transparent); background: color-mix(in srgb, var(--cor) 10%, transparent); }
:root body.em-perfil.em-perfil .pl-gerenciar .pg-item .sel-lista { min-width: 240px; max-height: 260px; z-index: 30; border-radius: 14px; box-shadow: 0 24px 50px -16px rgba(0,0,0,.9); animation: pf-janela .2s cubic-bezier(.2,.8,.2,1) both; }
:root body.em-perfil.em-perfil .pl-gerenciar .pg-corpo:has(.pg-item:last-child .sel-lista:not([hidden])) { padding-bottom: 280px; }

/* ---- calendario do vencimento: opaco e por cima das entregas ---- */
:root body.em-perfil.em-perfil .pl-gerenciar .pg-bloco:first-child { position: relative; z-index: 6; }
:root body.em-perfil.em-perfil .pl-gerenciar .pg-data-botao b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
:root body.em-perfil.em-perfil .pl-gerenciar .pg-data .cal-janela { z-index: 50; margin-top: 8px; background: #141821 !important; border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px; box-shadow: 0 30px 70px -20px rgba(0,0,0,.95), 0 0 0 1px rgba(0,0,0,.4); backdrop-filter: none; }
:root body.em-perfil.em-perfil .pl-gerenciar .pg-corpo:has(.cal-janela) { padding-bottom: 300px; }

/* ---- menu de tipo de entrega ---- */
@keyframes pg-op { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
:root body.em-perfil.em-perfil .pl-gerenciar .pg-item:has(.pg-tipo-menu) { z-index: 20; border-color: color-mix(in srgb, var(--cor) 60%, transparent); }
:root body.em-perfil.em-perfil .pg-tipo-caixa { position: relative; }
:root body.em-perfil.em-perfil .pg-tipo { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 8px 0 5px; border-radius: 10px; cursor: pointer;
  font: inherit; font-size: 12.5px; font-weight: 700; color: var(--cor); box-shadow: none; filter: none;
  border: 1px solid color-mix(in srgb, var(--cor) 35%, transparent); background: color-mix(in srgb, var(--cor) 10%, transparent); transition: background .2s, border-color .2s; }
:root body.em-perfil.em-perfil .pg-tipo:hover { background: color-mix(in srgb, var(--cor) 18%, transparent); border-color: var(--cor); }
:root body.em-perfil.em-perfil .pg-tipo .pg-tipo-icone { width: 21px; height: 21px; border-radius: 6px; background: var(--cor); color: #111; }
:root body.em-perfil.em-perfil .pg-tipo-seta { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; transition: transform .25s; }
:root body.em-perfil.em-perfil .pg-tipo-caixa:has(.pg-tipo-menu) .pg-tipo-seta { transform: rotate(180deg); }
:root body.em-perfil.em-perfil .pg-tipo-icone { display: grid; place-items: center; flex: none; }
:root body.em-perfil.em-perfil .pg-tipo-icone svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

:root body.em-perfil.em-perfil .pg-tipo-menu { position: absolute; top: calc(100% + 8px); left: 0; z-index: 40; width: 270px; max-height: 320px; overflow-y: auto; padding: 6px; border-radius: 16px;
  background: #141821; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 30px 70px -20px rgba(0,0,0,.95);
  display: grid; gap: 3px; animation: pf-janela .22s cubic-bezier(.2,.8,.2,1) both; }
:root body.em-perfil.em-perfil .pg-tipo-menu.acima { top: auto; bottom: calc(100% + 8px); }
:root body.em-perfil.em-perfil .pg-tipo-op { display: flex; align-items: center; gap: 11px; width: 100%; padding: 8px 10px 8px 8px; border-radius: 11px; text-align: left; cursor: pointer;
  border: 1px solid transparent; background: none; color: inherit; font: inherit; box-shadow: none; filter: none;
  animation: pg-op .25s calc(var(--k, 0) * 25ms) cubic-bezier(.2,.8,.2,1) both; transition: background .15s, border-color .15s; }
:root body.em-perfil.em-perfil .pg-tipo-op .pg-tipo-icone { width: 34px; height: 34px; border-radius: 10px; color: var(--c);
  background: color-mix(in srgb, var(--c) 16%, transparent); border: 1px solid color-mix(in srgb, var(--c) 30%, transparent); transition: transform .3s cubic-bezier(.3,1.6,.5,1), background .2s, color .2s; }
:root body.em-perfil.em-perfil .pg-tipo-op .pg-tipo-icone svg { width: 17px; height: 17px; }
:root body.em-perfil.em-perfil .pg-tipo-texto { flex: 1; min-width: 0; }
:root body.em-perfil.em-perfil .pg-tipo-texto b { display: block; font-size: 13.5px; font-weight: 700; }
:root body.em-perfil.em-perfil .pg-tipo-texto small { display: block; margin-top: 1px; font-size: 11px; opacity: .5; }
:root body.em-perfil.em-perfil .pg-tipo-ok { width: 16px; height: 16px; fill: none; stroke: var(--c); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: scale(.5); transition: all .25s; }
:root body.em-perfil.em-perfil .pg-tipo-op:hover { background: color-mix(in srgb, var(--c) 9%, transparent); }
:root body.em-perfil.em-perfil .pg-tipo-op:hover .pg-tipo-icone { transform: scale(1.08) rotate(-6deg); }
:root body.em-perfil.em-perfil .pg-tipo-op.escolhido { background: color-mix(in srgb, var(--c) 12%, transparent); border-color: color-mix(in srgb, var(--c) 35%, transparent); }
:root body.em-perfil.em-perfil .pg-tipo-op.escolhido .pg-tipo-icone { background: var(--c); color: #111; }
:root body.em-perfil.em-perfil .pg-tipo-op.escolhido .pg-tipo-ok { opacity: 1; transform: none; }
:root body.em-perfil.em-perfil .pl-gerenciar .pg-corpo:has(.pg-item:last-child .pg-tipo-menu:not(.acima)) { padding-bottom: 300px; }

/* menu de tipo solto na janela: fixo, por cima de tudo, nunca cortado */
:root body.em-perfil.em-perfil .pl-gerenciar > .pg-tipo-menu { position: absolute; top: 0; left: 0; bottom: auto; z-index: 100; max-height: min(340px, calc(100vh - 24px)); }
:root body.em-perfil.em-perfil .pl-gerenciar > .pg-tipo-menu.acima { animation-name: pf-sobe; }
:root body.em-perfil.em-perfil .pl-gerenciar .pg-item.menu-aberto { border-color: color-mix(in srgb, var(--cor) 60%, transparent); }
:root body.em-perfil.em-perfil .pg-tipo-caixa.aberto .pg-tipo-seta { transform: rotate(180deg); }
:root body.em-perfil.em-perfil .pl-gerenciar .pg-corpo:has(.pg-item:last-child .pg-tipo-menu:not(.acima)) { padding-bottom: 8px; }

/* ---- Tudo do cliente: linha do tempo ---- */
@keyframes hc-entra { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
@keyframes hc-pulso { 0%,100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--c) 45%, transparent); } 50% { box-shadow: 0 0 0 6px transparent; } }
:root body.em-perfil.em-perfil .hc-topo { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
:root body.em-perfil.em-perfil #painel .hc h2 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 19px; }
:root body.em-perfil.em-perfil .hc-titulo-icone { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; color: #ff7a3d; background: rgba(255,90,31,.12); border: 1px solid rgba(255,90,31,.3); }
:root body.em-perfil.em-perfil #painel .hc h2 .hc-titulo-icone svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; color: inherit; }
:root body.em-perfil.em-perfil .hc-topo p { margin: 6px 0 0; font-size: 13px; opacity: .55; }
:root body.em-perfil.em-perfil .hc-total { flex: none; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); }
:root body.em-perfil.em-perfil .hc-total b { font-size: 15px; color: #ff7a3d; }

:root body.em-perfil.em-perfil .hc-controles { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
:root body.em-perfil.em-perfil .hc-filtros { display: flex; flex-wrap: wrap; gap: 7px; flex: 1; }
:root body.em-perfil.em-perfil .hc-filtro { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 8px 0 12px; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: 12.5px; font-weight: 700; color: inherit; box-shadow: none; filter: none;
  border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.03);
  animation: pf-sobe .35s calc(var(--n, 0) * 35ms) cubic-bezier(.2,.8,.2,1) both; transition: border-color .2s, background .2s, transform .2s; }
:root body.em-perfil.em-perfil .hc-filtro svg { width: 15px; height: 15px; fill: none; stroke: var(--c); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s cubic-bezier(.3,1.6,.5,1); }
:root body.em-perfil.em-perfil .hc-filtro b { min-width: 22px; padding: 2px 7px; border-radius: 999px; font-size: 11px; text-align: center; background: rgba(255,255,255,.08); transition: background .2s, color .2s; }
:root body.em-perfil.em-perfil .hc-filtro:hover { transform: translateY(-1px); border-color: color-mix(in srgb, var(--c) 50%, transparent); }
:root body.em-perfil.em-perfil .hc-filtro:hover svg { transform: scale(1.15) rotate(-8deg); }
:root body.em-perfil.em-perfil .hc-filtro.ativo { border-color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 12%, transparent); }
:root body.em-perfil.em-perfil .hc-filtro.ativo b { background: var(--c); color: #111; }
:root body.em-perfil.em-perfil .hc-busca { display: flex; align-items: center; gap: 8px; width: 240px; height: 38px; padding: 0 12px; border-radius: 12px; cursor: text;
  border: 1px solid rgba(255,255,255,.09); background: rgba(255,255,255,.03); transition: border-color .2s, box-shadow .2s, width .3s; }
:root body.em-perfil.em-perfil .hc-busca svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; opacity: .5; }
:root body.em-perfil.em-perfil .hc-busca input { flex: 1; min-width: 0; height: 100%; border: 0; padding: 0; background: none; color: inherit; font: inherit; font-size: 13px; box-shadow: none; }
:root body.em-perfil.em-perfil .hc-busca input:focus { outline: none; box-shadow: none; background: none; }
:root body.em-perfil.em-perfil .hc-busca:focus-within { width: 280px; border-color: #ff5a1f; box-shadow: 0 0 0 3px rgba(255,90,31,.14); }

:root body.em-perfil.em-perfil .hc-linha { position: relative; display: grid; gap: 8px; padding-left: 22px; }
:root body.em-perfil.em-perfil .hc-linha::before { content: ''; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 2px; border-radius: 2px;
  background: linear-gradient(180deg, rgba(255,90,31,.6), rgba(255,255,255,.06) 40%, rgba(255,255,255,.03)); }
:root body.em-perfil.em-perfil .hc-mes { position: relative; margin: 10px 0 2px -22px; animation: hc-entra .35s calc(var(--k, 0) * 22ms) both; }
:root body.em-perfil.em-perfil .hc-mes span { position: relative; z-index: 1; display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  background: #141821; border: 1px solid rgba(255,255,255,.1); }
:root body.em-perfil.em-perfil .hc-mes:first-child { margin-top: 0; }

:root body.em-perfil.em-perfil .hc-item { position: relative; display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 0; border-radius: 16px;
  animation: hc-entra .4s calc(var(--k, 0) * 22ms) cubic-bezier(.2,.8,.2,1) both; transition: background .2s, transform .2s; }
:root body.em-perfil.em-perfil .hc-no { position: relative; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; flex: none; margin-left: -20px; border-radius: 13px; color: var(--c);
  background: #141821; border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); box-shadow: 0 6px 16px -8px var(--c); transition: transform .3s cubic-bezier(.3,1.6,.5,1), background .2s, color .2s; }
:root body.em-perfil.em-perfil .hc-no svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
:root body.em-perfil.em-perfil .hc-item:first-of-type .hc-no { animation: hc-pulso 2.4s ease-in-out infinite; }
:root body.em-perfil.em-perfil .hc-item:hover { background: linear-gradient(90deg, color-mix(in srgb, var(--c) 8%, transparent), transparent 80%); }
:root body.em-perfil.em-perfil .hc-item:hover .hc-no { transform: scale(1.1) rotate(-6deg); background: var(--c); color: #111; }
:root body.em-perfil.em-perfil .hc-item.clicavel { cursor: pointer; }
:root body.em-perfil.em-perfil .hc-item.clicavel:hover { transform: translateX(4px); }
:root body.em-perfil.em-perfil .hc-corpo { flex: 1; min-width: 0; }
:root body.em-perfil.em-perfil .hc-cabeca { display: flex; align-items: center; gap: 10px; }
:root body.em-perfil.em-perfil .hc-tipo { font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--c); }
:root body.em-perfil.em-perfil .hc-cabeca time { margin-left: auto; font-size: 12px; opacity: .5; white-space: nowrap; }
:root body.em-perfil.em-perfil .hc-nome { display: block; margin-top: 2px; font-size: 14.5px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
:root body.em-perfil.em-perfil .hc-rodape { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 5px; }
:root body.em-perfil.em-perfil .hc-detalhe { font-size: 12.5px; opacity: .55; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 420px; }
:root body.em-perfil.em-perfil .hc-pessoa { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; opacity: .8; }
:root body.em-perfil.em-perfil .hc-pessoa span { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; font-size: 8.5px; font-weight: 800; color: #fff; background: linear-gradient(135deg, #ff7a3d, #c2410c); }
:root body.em-perfil.em-perfil .hc-situacao { padding: 2px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; text-transform: capitalize; }
:root body.em-perfil.em-perfil .hc-situacao.bom { color: #4ade80; background: rgba(74,222,128,.12); }
:root body.em-perfil.em-perfil .hc-situacao.info { color: #60a5fa; background: rgba(96,165,250,.12); }
:root body.em-perfil.em-perfil .hc-situacao.atencao { color: #f0b54a; background: rgba(240,181,74,.12); }
:root body.em-perfil.em-perfil .hc-situacao.ruim { color: #f87171; background: rgba(248,113,113,.12); }
:root body.em-perfil.em-perfil .hc-situacao.neutro { color: rgba(255,255,255,.7); background: rgba(255,255,255,.07); }
:root body.em-perfil.em-perfil .hc-seta { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; opacity: .3; transition: transform .2s, opacity .2s; }
:root body.em-perfil.em-perfil .hc-item:hover .hc-seta { opacity: .9; transform: translateX(3px); color: var(--c); }

:root body.em-perfil.em-perfil .hc-mais { justify-self: center; margin-top: 8px; height: 40px; padding: 0 20px; border-radius: 999px; cursor: pointer; font: inherit; font-weight: 700; font-size: 13px;
  color: #ff7a3d; border: 1px dashed rgba(255,90,31,.45); background: rgba(255,90,31,.05); box-shadow: none; filter: none; transition: background .2s, transform .2s; }
:root body.em-perfil.em-perfil .hc-mais small { font-weight: 500; opacity: .6; margin-left: 4px; }
:root body.em-perfil.em-perfil .hc-mais:hover { background: rgba(255,90,31,.12); transform: translateY(-1px); }
:root body.em-perfil.em-perfil .hc-vazio { margin-left: -22px; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 34px 16px; text-align: center; border-radius: 16px; border: 1px dashed rgba(255,255,255,.1); }
:root body.em-perfil.em-perfil .hc-vazio-icone { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 8px; border-radius: 16px; color: #ff7a3d; background: rgba(255,90,31,.1); animation: pf-flutua 3s ease-in-out infinite; }
:root body.em-perfil.em-perfil .hc-vazio-icone svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
:root body.em-perfil.em-perfil .hc-vazio small { font-size: 12.5px; opacity: .55; max-width: 380px; }

@media (max-width: 700px) {
  :root body.em-perfil.em-perfil .hc-busca, :root body.em-perfil.em-perfil .hc-busca:focus-within { width: 100%; }
  :root body.em-perfil.em-perfil .hc-detalhe { max-width: 200px; }
}

/* ===== Perfil deitado: duas colunas, tudo a vista ===== */
:root body dialog.perfil-janela.pf-deitado { width: min(960px, calc(100vw - 32px)); max-height: calc(100vh - 32px); border-radius: 28px; }
:root body .pf-deitado .pf-capa { height: 112px; }
:root body .pf-deitado .pf-corpo {
  display: grid; grid-template-columns: 300px minmax(0, 1fr); align-items: start; justify-items: stretch; gap: 26px;
  margin-top: -64px; padding: 0 28px 24px; text-align: left;
}
:root body .pf-deitado .pf-esq {
  display: grid; justify-items: center; text-align: center; gap: 0; padding: 0 0 4px;
  position: relative;
}
:root body .pf-deitado .pf-esq .pf-miolo { width: 100%; }
:root body .pf-deitado .pf-dir {
  display: grid; align-content: start; gap: 12px; padding-top: 78px; min-width: 0;
  animation: qd-entra .45s .15s both;
}
:root body .pf-deitado .pf-dir > * { margin-top: 0 !important; width: 100% !important; max-width: none !important; justify-self: stretch !important; }
:root body .pf-deitado .pf-numeros { grid-template-columns: repeat(3, 1fr); gap: 10px; }
:root body .pf-deitado .pf-numeros div { padding: 16px 12px; text-align: center; }
:root body .pf-deitado .pf-agora { text-align: left; }
:root body .pf-deitado .pf-acoes { display: flex; gap: 10px; justify-content: flex-start; flex-wrap: wrap; }
:root body .pf-deitado .pf-acoes > * { flex: 1 1 0; justify-content: center; }
:root body .pf-deitado .pf-rodape { margin-top: 2px; justify-content: flex-start; }
/* separador vertical suave entre as colunas */
:root body .pf-deitado .pf-esq::after {
  content: ""; position: absolute; top: 80px; bottom: 10px; right: -13px; width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .08), transparent);
}
@media (max-width: 760px) {
  :root body .pf-deitado .pf-corpo { grid-template-columns: 1fr; }
  :root body .pf-deitado .pf-dir { padding-top: 0; }
  :root body .pf-deitado .pf-esq::after { display: none; }
}
