/* NAONDE — lote 3 (par do nd-lote3.js) */

/* ---------- Painel (antigo botão Deus) ----------
   continua exatamente no mesmo lugar, invisível; aparece quando o cursor passa por cima ou ao focar pelo teclado.
   O botão só existe para quem o servidor reconhece como administrador principal ou Operador. */
.nd55-fab { opacity: 0; transition: opacity .22s ease, transform .15s ease !important; }
.nd55-fab:hover, .nd55-fab:focus-visible, .nd55-fab:active { opacity: 1; }
.nd55-fab i { color: #fff !important; }
.nd55-papel { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; margin-left: 6px; border-radius: 6px; background: rgba(10, 132, 255, .12); color: #0a84ff; font-size: 11.5px; font-weight: 700; vertical-align: middle; }
.nd55-papel.op { background: rgba(255, 159, 10, .14); color: #c26a00; }
.nd55-fin { display: grid; gap: 14px; }
.nd55-fin-top, .nd55-fin-grade { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.nd55-fc { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 12px; background: rgba(120, 120, 128, .08); }
.nd55-fin-top .nd55-fc:first-child { background: rgba(48, 209, 88, .1); }
.nd55-fc span { font-size: 12.5px; color: #6e6e73; }
.nd55-fc b { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.nd55-fc small { font-size: 11.5px; color: #8e8e93; }
.nd55-fin h4 { margin: 4px 0 0; font-size: 14px; }
.nd55-fin-lista { list-style: none; margin: 0; padding: 0; display: grid; }
.nd55-fin-lista li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid rgba(120, 120, 128, .14); }
.nd55-fin-lista li span { display: flex; flex-direction: column; font-size: 13.5px; }
.nd55-fin-lista li small { font-size: 11.5px; color: #8e8e93; }
.nd55-fin-lista li b { font-variant-numeric: tabular-nums; }
.nd55-fin-at { font-size: 11.5px; }
html.nd-escuro .nd55-fc span { color: #a1a1aa; }

/* ---------- Perfil: Amigos só com texto, alinhado com Seguidores e Seguindo ---------- */
.nxp-info .nxp-seg .nxp-amg { margin-left: 0 !important; padding: 0 !important; background: none !important; }
.nxp-info .nxp-seg .nxp-amg > i, .nxp-info .nxp-seg .nxp-amg .nxp-amg-cad { display: none !important; }
.nxp-info .nxp-seg { gap: 18px !important; }

/* ---------- Perfil: selo grande (no lugar do selo pequeno ao lado do nome) ---------- */
.nd-selo-g { display: inline-flex; align-items: center; gap: 10px; margin: 8px 0 2px; padding: 7px 14px 7px 8px; border-radius: 14px;
  background: linear-gradient(180deg, rgba(10, 132, 255, .10), rgba(10, 132, 255, .06)); box-shadow: inset 0 0 0 1px rgba(10, 132, 255, .22); animation: ndSeloEntra .32s ease-out both; }
.nd-selo-g > i { font-size: 30px; line-height: 1; color: #0a84ff; filter: drop-shadow(0 2px 4px rgba(10, 132, 255, .35)); }
.nd-selo-g > span { display: flex; flex-direction: column; line-height: 1.15; }
.nd-selo-g b { font-size: 15px; font-weight: 700; color: #0a62c9; letter-spacing: -.005em; }
.nd-selo-g small { font-size: 12px; color: #4a6f9c; font-weight: 600; }
.nd-selo-g[data-tipo="supremo"] { background: linear-gradient(135deg, rgba(10, 132, 255, .14), rgba(94, 92, 230, .12)); box-shadow: inset 0 0 0 1px rgba(94, 92, 230, .32); }
.nd-selo-g[data-tipo="supremo"] > i { color: transparent; background: linear-gradient(135deg, #0a84ff, #5e5ce6); -webkit-background-clip: text; background-clip: text; }
html.nd-escuro .nd-selo-g b { color: #64b1ff; }
html.nd-escuro .nd-selo-g small { color: #9fbbe0; }
@keyframes ndSeloEntra { from { opacity: 0; transform: translateY(3px); } }
@media (prefers-reduced-motion: reduce) { .nd-selo-g { animation: none; } }
/* o selo pequeno colado ao nome não aparece mais no cabeçalho do perfil (o grande substitui) */
.nxp-info h1 .nd59-selo, .nxp-info h1 .nd59-prem, .nxp-info h1 .nd-verif-bt { display: none !important; }

/* ---------- Seguidores e Seguindo: janela única ---------- */
html.ndsj-aberto { overflow: hidden; }
.ndsj-fundo { position: fixed; inset: 0; z-index: 100050; display: grid; place-items: center; padding: 20px; background: rgba(0, 0, 0, 0);
  -webkit-backdrop-filter: blur(0); backdrop-filter: blur(0); transition: background .22s ease, backdrop-filter .22s ease; }
.ndsj-fundo.on { background: rgba(0, 0, 0, .32); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ndsj { --ind: 0; width: min(420px, 100%); height: min(620px, calc(100vh - 40px)); height: min(620px, calc(100dvh - 40px)); display: flex; flex-direction: column; overflow: hidden;
  border-radius: 22px; background: rgba(255, 255, 255, .96); color: #1d1d1f; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .35), 0 0 0 1px rgba(0, 0, 0, .06);
  font-family: var(--nd-fonte, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif); opacity: 0; transform: translateY(8px) scale(.98); transition: opacity .22s ease, transform .26s cubic-bezier(.2, .8, .2, 1); }
.ndsj-fundo.on .ndsj { opacity: 1; transform: none; }
.ndsj-fundo.saindo .ndsj { opacity: 0; transform: translateY(6px) scale(.985); transition-duration: .18s; }
html.nd-escuro .ndsj { background: rgba(28, 28, 30, .96); color: #f5f5f7; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .08); }
.ndsj-cab { flex: none; display: grid; grid-template-columns: 36px 1fr 36px; align-items: center; gap: 4px 8px; padding: 14px 14px 12px; border-bottom: 1px solid rgba(0, 0, 0, .07); }
html.nd-escuro .ndsj-cab { border-color: rgba(255, 255, 255, .08); }
.ndsj-cab h2 { margin: 0; text-align: center; font-size: 16px; font-weight: 700; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ndsj-x { width: 32px; height: 32px; border: 0; border-radius: 50%; display: grid; place-items: center; background: rgba(120, 120, 128, .12); color: inherit; cursor: pointer; font-size: 17px; }
.ndsj-x:hover { background: rgba(120, 120, 128, .2); }
.ndsj-seg { grid-column: 1 / -1; position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 2px; margin-top: 8px; border-radius: 10px; background: rgba(120, 120, 128, .12); }
.ndsj-seg button { position: relative; z-index: 1; height: 32px; border: 0; background: none; color: inherit; font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; opacity: .72; transition: opacity .15s; }
.ndsj-seg button.on { opacity: 1; }
.ndsj-seg button b { font-weight: 600; color: #8e8e93; font-variant-numeric: tabular-nums; font-size: 12.5px; }
.ndsj-ind { position: absolute; top: 2px; bottom: 2px; left: 2px; width: calc(50% - 2px); border-radius: 8px; background: #fff; box-shadow: 0 3px 8px rgba(0, 0, 0, .12), 0 0 0 .5px rgba(0, 0, 0, .04);
  transform: translateX(calc(var(--ind) * 100%)); transition: transform .28s cubic-bezier(.2, .8, .2, 1); }
html.nd-escuro .ndsj-ind { background: #636366; }
.ndsj-seg button:focus-visible, .ndsj-x:focus-visible, .ndsj-p:focus-visible { outline: 2px solid #0a84ff; outline-offset: 2px; }
.ndsj-lista { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 6px 0 10px; }
.ndsj-ul { list-style: none; margin: 0; padding: 0; }
.ndsj-it { display: flex; align-items: center; gap: 10px; padding: 0 14px 0 6px; }
.ndsj-p { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 9px 8px; border: 0; border-radius: 12px; background: none; color: inherit; text-align: left; cursor: pointer; font: inherit; }
.ndsj-p:hover { background: rgba(120, 120, 128, .08); }
.ndsj-av { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; color: #fff; font-weight: 700; font-size: 17px; background: #c7c7cc; }
.ndsj-av img { width: 100%; height: 100%; object-fit: cover; }
.ndsj-tx { min-width: 0; display: flex; flex-direction: column; }
.ndsj-tx b { font-size: 14.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ndsj-tx small { font-size: 13px; color: #8e8e93; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ndsj-selo { color: #0a84ff; font-size: 15px; vertical-align: -2px; }
.ndsj-voce { color: #8e8e93; font-size: 12.5px; }
.ndsj-it .n25-rel { flex: none; }
.ndsj-it.sk .ndsj-av { background: rgba(120, 120, 128, .14); }
.ndsj-it.sk { padding: 9px 14px; }
.ndsj-it.sk .ndsj-tx { gap: 6px; flex: 1; }
.ndsj-it.sk i { display: block; height: 11px; border-radius: 6px; background: rgba(120, 120, 128, .14); width: 46%; animation: ndSegsSk 1.2s ease-in-out infinite; }
.ndsj-it.sk i + i { width: 30%; }
@keyframes ndSegsSk { 50% { opacity: .5; } }
.ndsj-mais { display: grid; place-items: center; height: 48px; }
.ndsj-gira { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(120, 120, 128, .25); border-top-color: #8e8e93; animation: ndSegsGira .8s linear infinite; }
@keyframes ndSegsGira { to { transform: rotate(360deg); } }
.ndsj-vazio { text-align: center; padding: 56px 28px; }
.ndsj-vazio b { display: block; font-size: 16px; margin-bottom: 6px; }
.ndsj-vazio p { margin: 0 auto; max-width: 280px; font-size: 13.5px; line-height: 1.45; color: #8e8e93; }
.ndsj-bt { margin-top: 14px; height: 34px; padding: 0 16px; border: 0; border-radius: 999px; background: #0a84ff; color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
@media (max-width: 600px) {
  .ndsj-fundo { place-items: end center; padding: 0; }
  .ndsj { width: 100%; height: min(86vh, 680px); height: min(86dvh, 680px); border-radius: 18px 18px 0 0; padding-bottom: env(safe-area-inset-bottom); transform: translateY(24px); }
}
@media (prefers-reduced-motion: reduce) { .ndsj, .ndsj-fundo, .ndsj-ind { transition: none !important; } .ndsj-it.sk i, .ndsj-gira { animation-duration: 2.4s; } }

/* ---------- Saturno grande na tela de entrada (presença visual do X) ----------
   vetor fiel ao logo oficial (assets/marca/naonde-saturno.svg): nítido em qualquer tamanho, sem distorcer os anéis */
#auth .n23x .n14v-dir { display: flex !important; align-items: center !important; justify-content: center !important; min-width: 0; padding: 24px 3vw; overflow: visible !important; }
#auth .n23x .n14v-dir img.n23-sat-x { display: block; width: min(600px, 42vw) !important; max-width: 100%; height: auto !important; aspect-ratio: 444 / 241;
  filter: none !important; border-radius: 0 !important; box-shadow: none !important; background: none !important; object-fit: contain; }
@media (max-width: 760px) { #auth .n23x .n14v-dir { padding: 8px 0 0; } #auth .n23x .n14v-dir img.n23-sat-x { width: min(240px, 62vw) !important; } }

/* ---------- Botão Atividades (computador): destaque no estilo GNOME ----------
   Indicador de áreas de trabalho (barra = área atual, ponto = demais), agora maior que os botões comuns do topo (40 px),
   cantos suaves (não é mais uma pílula), cores próprias para o tema claro e o escuro.
   Fica no mesmo lugar e cabe antes da logo (que começa em 86 px). No celular continua o botão flutuante. */
@media (min-width: 900px) {
  html:not(.nd-celular) #activities-button:not(.nd-at),
  html:not(.nd-celular) #activities-button.on:not(.nd-at),
  html:not(.nd-celular) #activities-button[data-tema]:not(.nd-at) {
    top: 8px !important; left: 12px; width: 66px !important; height: 40px !important; min-width: 0 !important;
    padding: 0 !important; gap: 7px !important; border-radius: 12px !important; box-sizing: border-box !important;
    display: inline-flex !important; align-items: center !important; justify-content: center !important;
    background: #111214 !important; color: #fff !important; border: 0 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .20), 0 4px 12px -6px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(255, 255, 255, .07) !important;
    transform: none; transition: background-color .16s ease, box-shadow .16s ease, transform .12s ease !important; }
  html:not(.nd-celular) #activities-button:not(.nd-at) .n30-bt-barra { width: 24px !important; height: 10px !important; border-radius: 5px !important; background: #fff !important; transition: width .2s cubic-bezier(.2, .8, .2, 1) !important; }
  html:not(.nd-celular) #activities-button:not(.nd-at) .n30-bt-ponto { width: 8px !important; height: 8px !important; border-radius: 50% !important; background: #8e8e93 !important; opacity: 1 !important; }
  html:not(.nd-celular) #activities-button.on:not(.nd-at) .n30-bt-barra { width: 30px !important; }
  html:not(.nd-celular) #activities-button.on:not(.nd-at) .n30-bt-ponto { background: #c7c7cc !important; }
  html:not(.nd-celular) #activities-button:not(.nd-at):hover { background: #000 !important; transform: translateY(-1px) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .22), 0 8px 18px -8px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .09) !important; }
  html:not(.nd-celular) #activities-button:not(.nd-at):active { transform: scale(.96) !important; transition-duration: .06s !important; }
  html:not(.nd-celular) #activities-button:not(.nd-at):focus-visible { outline: 2px solid #0a84ff !important; outline-offset: 3px !important; }
  html:not(.nd-celular) #activities-button:not(.nd-at) .n30-bt-dica { top: calc(100% + 10px); }
  /* tema escuro: realce translúcido como o painel do GNOME, sem virar um bloco preto sobre o topo escuro */
  html.nd-escuro:not(.nd-celular) #activities-button:not(.nd-at),
  html.nd-escuro:not(.nd-celular) #activities-button.on:not(.nd-at) { background: #2c2c2e !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(255, 255, 255, .10) !important; }
  html.nd-escuro:not(.nd-celular) #activities-button:not(.nd-at):hover { background: #3a3a3c !important; }
  html.nd-escuro:not(.nd-celular) #activities-button:not(.nd-at) .n30-bt-ponto { background: rgba(255, 255, 255, .5) !important; }
}
@media (min-width: 900px) and (prefers-reduced-motion: reduce) {
  html:not(.nd-celular) #activities-button:not(.nd-at), html:not(.nd-celular) #activities-button:not(.nd-at) .n30-bt-barra { transition: none !important; }
  html:not(.nd-celular) #activities-button:not(.nd-at):hover { transform: none !important; }
}

/* ---------- Câmera (Stories): miniatura da última captura + visualizador em tamanho grande ---------- */
.ndc-galeria.tem { position: relative; overflow: visible !important; }
.ndc-galeria.tem img, .ndc-galeria.tem video { border-radius: inherit; }
.ndc-galeria video.espelho { transform: scaleX(-1); }
.ndc-gal-n { position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #fff; color: #000;
  font: 700 11px/18px -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; text-align: center; box-shadow: 0 1px 3px rgba(0, 0, 0, .45); pointer-events: none; }
.ndc-visor { position: absolute; inset: 0; z-index: 60; background: #000; opacity: 0; transition: opacity .18s ease; color: #fff; }
.ndc-visor.on { opacity: 1; }
.ndc-visor[hidden] { display: none !important; }
.ndc-v-midia { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.ndc-v-midia img, .ndc-v-midia video { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.ndc-v-midia video.espelho { transform: scaleX(-1); }
.ndc-v-top { position: absolute; top: 0; left: 0; right: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: calc(10px + env(safe-area-inset-top)) 12px 18px; background: linear-gradient(rgba(0, 0, 0, .55), transparent); }
.ndc-v-cont { font: 600 14px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; letter-spacing: .01em; text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
.ndc-v-bot { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px;
  padding: 22px 16px calc(16px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, rgba(0, 0, 0, .6)); }
.ndc-v-bot button { min-height: 46px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 15px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; cursor: pointer; }
.ndc-v-seta { position: absolute; top: 50%; z-index: 2; width: 44px; height: 44px; margin-top: -22px; border: 0; border-radius: 50%; display: grid; place-items: center;
  background: rgba(0, 0, 0, .42); color: #fff; cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.ndc-v-seta.ant { left: 10px; } .ndc-v-seta.prox { right: 10px; } .ndc-v-seta.prox svg { transform: scaleX(-1); }
.ndc-v-seta:focus-visible, .ndc-visor .ndc-ctl:focus-visible, .ndc-v-bot button:focus-visible { outline: 2px solid #0a84ff; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .ndc-visor { transition: none; } }

/* Loja carregando sob demanda (só aparece se a pessoa abrir a Loja antes do documento chegar) */
body.loja.nd-loja-carregando::after { content: ""; position: fixed; left: 50%; top: 50%; z-index: 50; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
  border: 3px solid rgba(0, 0, 0, .12); border-top-color: #007aff; animation: ndLojaGira .8s linear infinite; }
html.nd-escuro body.loja.nd-loja-carregando::after { border-color: rgba(255, 255, 255, .16); border-top-color: #0a84ff; }
@keyframes ndLojaGira { to { transform: rotate(360deg); } }

/* ---------- Melhores amigos: identidade amarela (estrela + selo discreto + filete suave na lateral do post) ---------- */
:root { --nd-ma: #f2b200; --nd-ma-txt: #7a5300; --nd-ma-bg: #fff6d9; --nd-ma-borda: rgba(242, 178, 0, .32); }
html.nd-escuro { --nd-ma: #ffd60a; --nd-ma-txt: #ffd60a; --nd-ma-bg: rgba(255, 214, 10, .12); --nd-ma-borda: rgba(255, 214, 10, .28); }
.nd-ma-selo, .nd-aud.ma { display: inline-flex !important; align-items: center; gap: 4px; height: 20px; padding: 0 8px 0 6px !important; border-radius: 999px;
  background: var(--nd-ma-bg) !important; color: var(--nd-ma-txt) !important; box-shadow: inset 0 0 0 1px var(--nd-ma-borda);
  font-size: 12px !important; font-weight: 600 !important; letter-spacing: .01em; line-height: 1; vertical-align: 1px; white-space: nowrap; }
.nd-ma-selo i, .nd-aud.ma i { color: var(--nd-ma) !important; font-size: 12px !important; }
.n23r-post.nd-ma-post, .post-card.nd-ma-post { background-image: linear-gradient(90deg, var(--nd-ma) 0 3px, transparent 3px) !important; background-repeat: no-repeat !important; }
#cpPubIn.ma { color: var(--nd-ma-txt); }
.nd-ma-selo svg { color: var(--nd-ma); flex: none; }

/* ---------- Pedidos e pagamentos: redesenho minimalista (tipografia limpa, cartões discretos, valores alinhados) ---------- */
.ndpp { max-width: 760px; margin: 0 auto; padding: 8px 0 40px; color: #1d1d1f; animation: ndppEntra .28s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes ndppEntra { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.ndpp-cab { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 6px 0 22px; flex-wrap: wrap; }
.ndpp-sobre { display: block; font-size: 13px; font-weight: 600; color: #86868b; letter-spacing: .02em; margin-bottom: 4px; }
.ndpp-cab h1 { margin: 0; font-size: 30px; line-height: 1.12; font-weight: 700; letter-spacing: -.022em; }
.ndpp-cab p { margin: 6px 0 0; font-size: 15px; color: #6e6e73; }
.ndpp-bt { height: 36px; padding: 0 16px; border-radius: 999px; border: 0; background: #f2f2f7; color: #1d1d1f; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background-color .15s ease, transform .1s ease; }
.ndpp-bt:hover { background: #e8e8ed; } .ndpp-bt:active { transform: scale(.97); }
.ndpp-bt.pri { background: #0071e3; color: #fff; } .ndpp-bt.pri:hover { background: #0077ed; }
.ndpp-link { border: 0; background: none; padding: 0; color: #0066cc; font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.ndpp-link:hover { text-decoration: underline; }
.ndpp-resumo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 26px; }
.ndpp-card { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px 20px; border-radius: 16px; background: #f5f5f7; min-width: 0; }
.ndpp-rot { font-size: 13px; color: #6e6e73; font-weight: 500; }
.ndpp-saldo { font-size: 28px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: #1d1d1f; }
.ndpp-ass { list-style: none; margin: 2px 0 0; padding: 0; display: grid; gap: 4px; font-size: 14px; }
.ndpp-mut { font-size: 14px; color: #86868b; }
.ndpp-seg { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 2px; padding: 2px; margin-bottom: 14px; border-radius: 10px; background: #f2f2f7; }
.ndpp-seg button { min-width: 120px; height: 32px; border: 0; border-radius: 8px; background: transparent; color: #1d1d1f; font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; transition: background-color .15s ease, box-shadow .15s ease; }
.ndpp-seg button[aria-selected="true"] { background: #fff; font-weight: 600; box-shadow: 0 1px 3px rgba(0, 0, 0, .12), 0 0 0 .5px rgba(0, 0, 0, .04); }
.ndpp-seg button:focus-visible, .ndpp-bt:focus-visible, .ndpp-link:focus-visible { outline: 2px solid #0071e3; outline-offset: 2px; }
.ndpp-mes { margin: 18px 0 6px; font-size: 13px; font-weight: 600; color: #86868b; }
.ndpp-lista { list-style: none; margin: 0; padding: 0; }
.ndpp-it { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 2px; border-bottom: 1px solid rgba(0, 0, 0, .07); }
.ndpp-it:last-child { border-bottom: 0; }
.ndpp-it-tx { min-width: 0; display: grid; gap: 2px; }
.ndpp-it-tx b { font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ndpp-it-tx small { font-size: 13px; color: #86868b; }
.ndpp-it-tx .ndpp-msg { color: #6e6e73; white-space: normal; }
.ndpp-it-dir { display: grid; justify-items: end; gap: 4px; flex: none; }
.ndpp-val { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; flex: none; }
.ndpp-val.entrada { color: #248a3d; }
.ndpp-st { font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 999px; }
.ndpp-st.ok { background: #e3f5e8; color: #1d7a34; } .ndpp-st.esp { background: #fff4dc; color: #8a5a00; } .ndpp-st.neu { background: #f2f2f7; color: #6e6e73; }
.ndpp-vazio { display: grid; justify-items: center; gap: 6px; padding: 36px 16px; text-align: center; color: #6e6e73; font-size: 14px; }
.ndpp-vazio b { color: #1d1d1f; font-size: 16px; font-weight: 600; }
.ndpp-pe { padding: 14px 2px 0; }
.ndpp-esq i { display: block; height: 12px; border-radius: 6px; background: linear-gradient(90deg, #f0f0f3 25%, #e6e6ea 50%, #f0f0f3 75%) 0 0 / 200% 100%; animation: ndppBrilho 1.2s linear infinite; }
.ndpp-esq .ndpp-it-tx { width: 60%; gap: 8px; } .ndpp-esq .ndpp-it-tx i:first-child { width: 70%; } .ndpp-esq .ndpp-it-tx i:last-child { width: 45%; } .ndpp-esq > i { width: 72px; }
@keyframes ndppBrilho { to { background-position: -200% 0; } }
html.nd-escuro .ndpp { color: #f5f5f7; } html.nd-escuro .ndpp-card, html.nd-escuro .ndpp-seg, html.nd-escuro .ndpp-bt:not(.pri), html.nd-escuro .ndpp-st.neu { background: #1c1c1e; color: #f5f5f7; }
html.nd-escuro .ndpp-saldo, html.nd-escuro .ndpp-vazio b, html.nd-escuro .ndpp-seg button { color: #f5f5f7; }
html.nd-escuro .ndpp-seg button[aria-selected="true"] { background: #3a3a3c; } html.nd-escuro .ndpp-it { border-color: rgba(255, 255, 255, .08); }
html.nd-escuro .ndpp-link { color: #2997ff; } html.nd-escuro .ndpp-st.ok { background: rgba(48, 209, 88, .14); color: #30d158; } html.nd-escuro .ndpp-st.esp { background: rgba(255, 214, 10, .12); color: #ffd60a; }
html.nd-escuro .ndpp-esq i { background: linear-gradient(90deg, #232325 25%, #2c2c2e 50%, #232325 75%) 0 0 / 200% 100%; }
@media (max-width: 600px) { .ndpp-resumo { grid-template-columns: 1fr; } .ndpp-cab h1 { font-size: 26px; } .ndpp-seg { display: grid; width: 100%; } .ndpp-seg button { min-width: 0; } }
@media (prefers-reduced-motion: reduce) { .ndpp { animation: none; } .ndpp-esq i { animation: none; } }

/* ---------- Escrever artigo: editor editorial (sem o ícone colorido, título forte, mais espaço para o texto) ---------- */
#n27Art .n23p-cx { width: min(860px, 100%); max-width: 860px; }
#n27Art .n23p-ic { display: none !important; }
#n27Art .n23p-topo { padding: 14px 22px; border-bottom-color: rgba(0, 0, 0, .06); }
#n27Art .n23p-topo h1 { font-size: 15px; font-weight: 600; color: #6e6e73; letter-spacing: .01em; }
.nd-artigo { gap: 0 !important; padding: 8px 6px 4px; }
.nd-artigo .n27-tit { border: 0 !important; border-radius: 0 !important; padding: 18px 4px 6px !important; background: transparent; resize: none;
  font-family: "Iowan Old Style", "New York", "Charter", Georgia, "Times New Roman", serif !important; font-size: clamp(28px, 4vw, 38px) !important; font-weight: 700 !important; line-height: 1.15; letter-spacing: -.015em; color: inherit; }
.nd-artigo .n27-tit::placeholder, .nd-artigo textarea::placeholder { color: #b0b0b5; }
.nd-artigo-meta { display: flex; gap: 10px; align-items: center; margin: 0 4px 14px; font-size: 13px; color: #86868b; }
.nd-artigo-meta span:first-child { font-weight: 600; }
.nd-artigo-salvo:not(:empty)::before { content: "·"; margin-right: 10px; }
.nd-artigo textarea { border: 0 !important; border-top: 1px solid rgba(0, 0, 0, .07) !important; border-radius: 0 !important; padding: 18px 4px !important; background: transparent; resize: none !important;
  min-height: max(320px, 52vh); font-size: 18px !important; line-height: 1.7; color: inherit; font-family: "Iowan Old Style", "New York", "Charter", Georgia, serif; }
.nd-artigo .n27-tit:focus, .nd-artigo textarea:focus { border-color: rgba(0, 0, 0, .07) !important; }
.nd-artigo .n27-form-pe { position: sticky; bottom: 0; padding: 12px 4px; background: inherit; border-top: 1px solid rgba(0, 0, 0, .07); }
#n27Art .n23p-cx { background: #fff; }
html.nd-escuro #n27Art .n23p-cx { background: #1c1c1e; color: #f5f5f7; }
html.nd-escuro .nd-artigo textarea, html.nd-escuro .nd-artigo .n27-form-pe, html.nd-escuro #n27Art .n23p-topo { border-color: rgba(255, 255, 255, .08) !important; background: transparent; }
@media (max-width: 600px) { .nd-artigo textarea { font-size: 17px !important; min-height: 50vh; } }

/* ---------- Revisão de ícones: um só estilo (Tabler, traço uniforme) sobre placa neutra ----------
   Os blocos pretos (.rd-ic, ex.: o "cartão" de Pedidos) e o degradê azul-dourado dos painéis (.n23p-ic) davam cara de
   modelo pronto/IA. Agora: placa cinza-clara com o ícone em grafite, igual em todas as páginas; no escuro, o inverso. */
.rd-topo .rd-ic { width: 48px; height: 48px; border-radius: 14px; background: #f2f2f7 !important; color: #1d1d1f !important; font-size: 24px; box-shadow: none !important; }
.n23-painel .n23p-ic:not(.n25amg-ic) { background: #f2f2f7 !important; color: #1d1d1f !important; box-shadow: none !important; }
html.nd-escuro .rd-topo .rd-ic, html.nd-escuro .n23-painel .n23p-ic:not(.n25amg-ic) { background: #2c2c2e !important; color: #f5f5f7 !important; }

/* ---------- Monetização: centro de desempenho do perfil ---------- */
#ndMonet .n23p-cx { width: min(980px, 100%); max-width: 980px; }
.ndm { display: grid; gap: 14px; padding: 4px 2px 8px; color: #1d1d1f; animation: ndppEntra .28s cubic-bezier(.2, .8, .2, 1) both; }
.ndm-cab { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ndm-sobre { display: block; font-size: 13px; font-weight: 600; color: #86868b; margin-bottom: 2px; }
.ndm-cab h2 { margin: 0; font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.ndm-per, .ndm-ser { display: inline-flex; gap: 2px; padding: 2px; border-radius: 10px; background: #f2f2f7; flex-wrap: wrap; }
.ndm-per button, .ndm-ser button { height: 30px; padding: 0 12px; border: 0; border-radius: 8px; background: transparent; color: #1d1d1f; font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; }
.ndm-per button[aria-selected="true"], .ndm-ser button[aria-selected="true"] { background: #fff; font-weight: 600; box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.ndm-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.ndm-kpi { display: grid; gap: 4px; padding: 14px 16px; border-radius: 14px; background: #f5f5f7; min-width: 0; min-height: 76px; }
.ndm-kpi span { font-size: 12.5px; color: #6e6e73; font-weight: 500; }
.ndm-kpi b { font-size: 22px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ndm-kpi em { font-style: normal; font-size: 12px; font-weight: 600; }
.ndm-up { color: #248a3d; } .ndm-down { color: #c9341f; }
.ndm-esq { background: linear-gradient(90deg, #f0f0f3 25%, #e8e8ec 50%, #f0f0f3 75%) 0 0 / 200% 100%; animation: ndppBrilho 1.2s linear infinite; }
.ndm-card { padding: 16px 18px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .07); }
.ndm-card h3 { margin: 0 0 10px; font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.ndm-card-cab { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.ndm-card-cab h3 { margin: 0; }
.ndm-graf { position: relative; }
.ndm-svg { display: block; width: 100%; height: 180px; }
.ndm-grade { stroke: rgba(0, 0, 0, .06); stroke-width: 1; }
.ndm-area { fill: rgba(0, 113, 227, .10); } .ndm-linha { fill: none; stroke: #0071e3; stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.ndm-alvo { fill: transparent; } .ndm-alvo:hover { fill: rgba(0, 113, 227, .06); }
.ndm-eixo { display: flex; justify-content: space-between; margin-top: 4px; font-size: 12px; color: #86868b; font-variant-numeric: tabular-nums; }
.ndm-top { margin: 0; padding: 0 0 0 20px; display: grid; gap: 10px; }
.ndm-top li span { display: block; font-size: 14.5px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ndm-top li small { font-size: 12.5px; color: #86868b; }
.ndm-rqs { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 14px; }
.ndm-rq-cab { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ndm-rq-cab b { font-size: 14.5px; font-weight: 600; }
.ndm-rq-num { display: flex; justify-content: space-between; gap: 8px; margin: 4px 0 6px; font-size: 13px; color: #6e6e73; font-variant-numeric: tabular-nums; }
.ndm-rq-num strong { color: #1d1d1f; font-size: 15px; }
.ndm-rq-det { margin: 4px 0 0; font-size: 13px; color: #6e6e73; }
.ndm-barra { display: block; height: 6px; border-radius: 3px; background: #ececf0; overflow: hidden; }
.ndm-barra i { display: block; height: 100%; background: #0071e3; transform-origin: left; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.ndm-st { flex: none; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.ndm-st.ok { background: #e3f5e8; color: #1d7a34; } .ndm-st.pend { background: #fff4dc; color: #8a5a00; } .ndm-st.neu { background: #f2f2f7; color: #6e6e73; }
.ndm-progs { list-style: none; margin: 0 0 8px; padding: 0; display: grid; }
.ndm-progs li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(0, 0, 0, .06); }
.ndm-progs li:last-child { border-bottom: 0; }
.ndm-progs b { display: block; font-size: 14.5px; font-weight: 600; } .ndm-progs small { font-size: 12.5px; color: #86868b; }
.ndm-avisos { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ndm-avisos li { padding: 10px 12px; border-radius: 10px; font-size: 14px; background: #f5f5f7; }
.ndm-avisos li.ok { background: #e9f7ee; color: #1d5f30; } .ndm-avisos li.alerta { background: #fff4dc; color: #6b4600; }
.ndm-mut { margin: 6px 0 0; font-size: 13px; color: #86868b; }
.ndm-nota { margin: 0 0 10px; font-size: 13.5px; color: #6b4600; }
.ndm-bt { height: 38px; padding: 0 18px; border: 0; border-radius: 999px; background: #f2f2f7; color: #1d1d1f; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.ndm-bt.pri { background: #0071e3; color: #fff; } .ndm-bt:disabled { opacity: .5; cursor: default; }
.ndm-saque { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.ndm-saque input { flex: 1 1 160px; height: 38px; padding: 0 12px; border: 0; border-radius: 10px; background: #f2f2f7; font: inherit; font-size: 14px; }
.ndm-vazio { display: grid; justify-items: center; gap: 10px; padding: 30px; text-align: center; }
.ndm-per button:focus-visible, .ndm-ser button:focus-visible, .ndm-bt:focus-visible { outline: 2px solid #0071e3; outline-offset: 2px; }
html.nd-escuro .ndm { color: #f5f5f7; } html.nd-escuro .ndm-kpi, html.nd-escuro .ndm-per, html.nd-escuro .ndm-ser, html.nd-escuro .ndm-avisos li, html.nd-escuro .ndm-saque input, html.nd-escuro .ndm-bt:not(.pri) { background: #1c1c1e; color: #f5f5f7; }
html.nd-escuro .ndm-card { background: #141416; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); } html.nd-escuro .ndm-per button, html.nd-escuro .ndm-ser button, html.nd-escuro .ndm-rq-num strong { color: #f5f5f7; }
html.nd-escuro .ndm-per button[aria-selected="true"], html.nd-escuro .ndm-ser button[aria-selected="true"] { background: #3a3a3c; } html.nd-escuro .ndm-barra { background: #2c2c2e; } html.nd-escuro .ndm-grade { stroke: rgba(255, 255, 255, .07); }
@media (max-width: 760px) { .ndm-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ndm-svg { height: 150px; } }
@media (prefers-reduced-motion: reduce) { .ndm { animation: none; } .ndm-barra i { transition: none; } .ndm-esq { animation: none; } }

/* ---------- Janelas das Atividades: cabeçalho com espaço reservado para os controles ----------
   O título é centralizado na barra inteira; antes podia passar por baixo de Minimizar/Maximizar/X em janelas estreitas
   ou com nome longo. Agora a área dos controles é reservada dos dois lados (centro real) e o título corta com reticências. */
#ndAppStage .nda-bar .nda-nome { left: 0 !important; right: 0 !important; padding: 0 148px !important; box-sizing: border-box; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 760px) { #ndAppStage .nda-bar .nda-nome { padding: 0 104px !important; } }
#ndAppStage .nda-bar .nda-b { flex: none; }
/* botão escondido (ex.: Maximizar no celular) não pode continuar ocupando espaço: o display do CSS global vencia o [hidden] */
#ndAppStage .nda-bar .nda-b[hidden] { display: none !important; }
