/* =====================================================================
   NextViral — camada de marca sobre base.css
   Cores tiradas do perfil @nextviral_: preto profundo, vermelho vivo
   (botões e destaques), vinho escuro (fundos dos posts) e branco.
   ===================================================================== */

/* Fonte da plataforma: Satoshi (Fontshare, licença gratuita ITF FFL), a mesma da página de vendas */
@font-face { font-family: 'Satoshi'; font-style: normal; font-weight: 300; font-display: swap; src: url(../fonts/satoshi-300.woff2) format('woff2'); }
@font-face { font-family: 'Satoshi'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/satoshi-400.woff2) format('woff2'); }
@font-face { font-family: 'Satoshi'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/satoshi-500.woff2) format('woff2'); }
@font-face { font-family: 'Satoshi'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/satoshi-700.woff2) format('woff2'); }
@font-face { font-family: 'Satoshi'; font-style: normal; font-weight: 900; font-display: swap; src: url(../fonts/satoshi-900.woff2) format('woff2'); }

/* ---------- Tema claro (alternativo) ---------- */
:root {
  --display: 'Satoshi', system-ui, sans-serif;
  --font: 'Satoshi', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --nv-red: #d66733;
  --nv-red-deep: #723215;
  --nv-black: #0a0a0a;

  --bg: #ebeae8;
  --veil: linear-gradient(180deg, #f5f3f12e, #ebe8e552);
  --tint: rgba(245, 244, 242, calc(.44 + var(--frost) * .28));
  --card: rgba(255, 255, 255, calc(.46 + var(--frost) * .2));
  --card-2: #261e140b;
  --card-3: #261e1416;
  --panel: #faf9f7f2;
  --ink: #13110e;
  --ink-2: #2c2824;
  --muted: #5d5954;
  --line: #261e141a;
  --line-2: #261e142b;
  --shadow-sm: 0 1px 2px #261e1412;
  --shadow: 0 1px 2px #261e140f, 0 18px 40px -26px #261e1461;
  --glass-edge: #261e141a;

  --accent: #c35421;
  --accent-from: #df703c;
  --accent-to: #9a421a;
  --accent-ink: #ffffff;
  --accent-hi: #d3632f;
  --accent-soft: #c354211c;
  --accent-text: #aa4a1d;
  --accent-glow: #c3542166;
  --mint: #cb5e2c;
  --mint-deep: #99441c;
  --mint-soft: #cb5e2c30;
  --thumb: #c35421;
  --on-thumb: #ffffff;
  --sig: #c35421;
  --sig-text: #aa4a1d;
  --sig-soft: #c354211c;
  --data: #cb5e2c;
  --out: #8b8884;

  --good: #17774a;
  --warn: #8a5a08;
  --bad: #a95128;
  --info: #3a5f8f;

  --c1: #cb5e2c;  /* produto principal */
  --c2: #3a3734;  /* order bump        */
  --c3: #e8833a;  /* upsell            */
  --c4: #c49a2c;  /* downsell / boleto */
  --c5: #8b8884;
  --c6: #6f87b5;

  --h: #ede4da;
  --tile-1: #cb5e2c22;
  --tile-2: #3a37341a;
  --tile-3: #e8833a22;
  --tile-4: #6f87b51c;
  --mono-ink: #18140f;
}

/* ---------- Tema escuro (padrão da marca) ---------- */
[data-theme=dark] {
  --bg: #080706;
  --veil: linear-gradient(180deg, #0504031a, #03030257);
  --tint: rgba(25, 22, 19, calc(.36 + var(--frost) * .26));
  --card: rgba(10, 9, 7, calc(.40 + var(--frost) * .16));
  --card-2: #fbf2e80d;
  --card-3: #fbf2e819;
  --panel: #14120ff2;
  --ink: #f6f5f3;
  --ink-2: #e4e0dc;
  --muted: #b4afa8;
  --line: #faf0e317;
  --line-2: #faf0e329;
  --glass-hi: #faf1e60e;
  --glass-rim: #faf1e61a;
  --glass-top: #fdf8f233;
  --glass-edge: #00000040;

  --accent: #f17d48;
  --accent-from: #f39266;
  --accent-to: #bc5221;
  --accent-ink: #ffffff;
  --accent-hi: #f38d5e;
  --accent-soft: #f17d4824;
  --accent-text: #f5a078;
  --accent-glow: #f17d4866;
  --mint: #f17d48;
  --mint-deep: #c95c29;
  --mint-soft: #f17d4833;
  --thumb: #f17d48;
  --on-thumb: #ffffff;
  --sig: #f17d48;
  --sig-text: #f5a078;
  --sig-soft: #f17d4824;
  --data: #f17d48;
  --out: #999591;

  --good: #86e0aa;
  --warn: #f6c56b;
  --bad: #f7b393;
  --info: #a9c4ee;
  --good-soft: #86e0aa1f;
  --warn-soft: #f6c56b21;
  --bad-soft: #f7b39321;
  --info-soft: #a9c4ee1f;

  --c1: #f17d48;
  --c2: #eeebe7;
  --c3: #ff9a52;
  --c4: #f6c56b;
  --c5: #999591;
  --c6: #9db6e8;

  --h: #f0e7dd;
  --tile-1: #f17d481f;
  --tile-2: #eeebe712;
  --tile-3: #ff9a521a;
  --tile-4: #9db6e81a;
}

/* ---------- Marca ---------- */
.side__brand { gap: 0; }
.nv-logo { display: block; width: 168px; height: auto; }
[data-theme=light] .nv-logo,
[data-theme=light] .nv-mark img { filter: brightness(0); }
.nv-mark {
  width: 38px; height: 38px; flex: none; border-radius: 11px;
  display: none; place-items: center;
  background: linear-gradient(145deg, var(--accent-from), var(--accent-to));
  box-shadow: inset 0 1px 0 #fff6, 0 8px 20px -8px var(--accent-glow);
}
.nv-mark img { width: 19px; height: auto; }
[data-theme=light] .nv-mark img { filter: none; }
html.is-rail .nv-logo { display: none; }
html.is-rail .nv-mark { display: grid; }
@media (width<=1279px) { .nv-logo { display: none; } .nv-mark { display: grid; } }
.head__mark .nv-mark { display: grid; }

.side__tag {
  font-size: var(--fs-2xs); color: var(--muted); font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; margin-top: 6px; display: block;
}
html.is-rail .side__tag { display: none; }
@media (width<=1279px) { .side__tag { display: none; } }

/* Títulos (Satoshi Black) */
.phead h1 {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  letter-spacing: .01em; font-size: clamp(40px, 4vw, 58px); line-height: .95;
}
.phead h1 em { font-style: normal; color: var(--accent-text); }
.phead__eyebrow {
  font-size: var(--fs-sm); color: var(--muted); font-weight: 600; display: block; margin-bottom: 6px;
}
.bal__num { font-family: var(--display); font-weight: 400; letter-spacing: .01em; font-size: clamp(48px, 4.6vw, 64px); }
.kpi__value { font-family: var(--display); font-weight: 400; letter-spacing: .02em; font-size: 34px; line-height: 1; }
.nv-big { font-family: var(--display); font-weight: 400; letter-spacing: .01em; line-height: .95; }

/* ---------- Layouts das páginas ---------- */
.nv-grid { display: grid; gap: var(--gap); grid-template-columns: repeat(12, minmax(0, 1fr)); }
.nv-grid > * { min-width: 0; }
.span-12 { grid-column: span 12; } .span-8 { grid-column: span 8; } .span-7 { grid-column: span 7; }
.span-6 { grid-column: span 6; } .span-5 { grid-column: span 5; } .span-4 { grid-column: span 4; }
@media (width<=1279px) { .span-5, .span-7 { grid-column: span 6; } .span-4 { grid-column: span 6; } .span-8 { grid-column: span 12; } }
@media (width<=999px)  { .nv-grid > * { grid-column: span 12; } }
.nv-stack { display: flex; flex-direction: column; gap: var(--gap); }
.kpis + .nv-grid, .nv-grid + .nv-grid, .kpis + .card { margin-top: var(--gap); }

/* ---------- Faturamento (gráfico de linha) ---------- */
.nv-fat .bal { display: flex; align-items: flex-end; gap: 18px; flex-wrap: wrap; justify-content: space-between; }

/* ---------- Alunos ---------- */
.nv-alunos { display: flex; flex-direction: column; gap: 14px; height: 100%; }
.nv-alunos__num { display: flex; align-items: flex-end; gap: 12px; }
.nv-alunos__num .nv-big { font-size: 76px; }
.nv-alunos__num small { color: var(--muted); font-weight: 600; font-size: var(--fs-sm); padding-bottom: 12px; }
.nv-meta { display: flex; flex-direction: column; gap: 8px; }
.nv-meta__row { display: flex; justify-content: space-between; font-size: var(--fs-sm); color: var(--muted); font-weight: 600; }
.nv-meta__row b { color: var(--ink); font-weight: 700; }
.meter { display: block; height: 8px; border-radius: 99px; background: var(--card-3); overflow: hidden; }
.meter > i { display: block; height: 100%; border-radius: inherit; transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--accent-to), var(--accent-from)); transition: transform 1.1s var(--ease); }
.nv-mini { flex: none; margin-top: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }

/* ---------- Pagamentos ---------- */
.nv-pay { display: flex; flex-direction: column; gap: 4px; }
.nv-pay__row { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.nv-pay__row:last-child { border-bottom: 0; }
.nv-pay__row .meter { grid-column: 2 / 4; height: 6px; }
.nv-pay__name { font-weight: 600; font-size: var(--fs-md); display: flex; align-items: center; gap: 8px; min-width: 0; }
.nv-pay__name small { color: var(--muted); font-weight: 600; font-size: var(--fs-xs); }
.nv-pay__val { text-align: right; font-weight: 700; font-size: var(--fs-md); }
.nv-pay__val small { display: block; color: var(--muted); font-weight: 600; font-size: var(--fs-2xs); }
.nv-best {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; margin-bottom: 8px;
  background: linear-gradient(135deg, var(--accent-soft), transparent 70%), var(--card-2);
  box-shadow: inset 0 0 0 1px var(--line);
}
.nv-best b { display: block; font-size: var(--fs-lg); }
.nv-best small { color: var(--muted); font-weight: 600; font-size: var(--fs-xs); }
.nv-crit { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }

.nv-methods { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.nv-method { display: flex; flex-direction: column; gap: 12px; }
.nv-method__head { display: flex; align-items: center; gap: 12px; }
.nv-method__head .cell__text { flex: 1; }
.nv-method__big { font-family: var(--display); font-size: 40px; line-height: 1; letter-spacing: .01em; }
.nv-method__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.nv-method.is-best { box-shadow: inset 0 0 0 1.5px var(--accent), var(--shadow-sm); }

/* ---------- Tabela de vendas ---------- */
.nv-table td small { display: block; color: var(--muted); font-weight: 500; font-size: var(--fs-xs); margin-top: 2px; }
.nv-table td.r, .nv-table th.r { text-align: right; }
.nv-table tbody tr:hover td { background: var(--card-2); }
.nv-src { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; white-space: nowrap; }
.nv-src i { width: 9px; height: 9px; border-radius: 3px; background: var(--cc, var(--c1)); flex: none; }
.nv-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 6px 2px; color: var(--muted); font-size: var(--fs-sm); font-weight: 600; }
.nv-foot .btn { height: 34px; }
.card--flush .table-wrap { padding: 0 6px 6px; }

/* ---------- Funil / produtos ---------- */
.nv-prod { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 6px 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.nv-prod:last-child { border-bottom: 0; }
.nv-prod .cell__text b { display: flex; align-items: center; gap: 8px; }
.nv-prod__nums { text-align: right; font-weight: 700; }
.nv-prod__nums small { display: block; color: var(--muted); font-weight: 600; font-size: var(--fs-xs); }
.nv-prod .meter { grid-column: 2 / 4; height: 6px; }
.nv-funnel { display: flex; flex-direction: column; gap: 10px; }
.nv-funnel__step { display: grid; grid-template-columns: 150px minmax(0, 1fr) 70px; align-items: center; gap: 12px; font-weight: 600; font-size: var(--fs-sm); }
.nv-funnel__bar { height: 34px; border-radius: 10px; background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.nv-funnel__bar i { display: flex; align-items: center; height: 100%; padding-left: 10px; color: #fff; font-weight: 700; font-size: var(--fs-sm); white-space: nowrap;
  background: linear-gradient(90deg, var(--cc, var(--accent-to)), color-mix(in oklab, var(--cc, var(--accent)) 70%, #fff)); border-radius: 10px; transition: width 1s var(--ease); }
.nv-funnel__step > span:last-child { text-align: right; color: var(--muted); }
@media (width<=760px) { .nv-funnel__step { grid-template-columns: 96px minmax(0, 1fr) 52px; } }

/* ---------- Integração ---------- */
.nv-status { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 99px; font-weight: 700; font-size: var(--fs-sm); }
.nv-status:before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in oklab, currentColor 22%, transparent); }
.nv-steps { display: flex; flex-direction: column; gap: 4px; counter-reset: passo; }
.nv-step { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 4px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.nv-step:last-child { border-bottom: 0; }
.nv-step:before { counter-increment: passo; content: counter(passo); grid-row: span 2; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center;
  font-weight: 700; background: var(--accent-soft); color: var(--accent-text); }
.nv-step b { font-weight: 600; }
.nv-step p { color: var(--muted); font-size: var(--fs-sm); line-height: 1.5; }
.nv-code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line);
  border-radius: 8px; padding: 2px 7px; color: var(--ink-2); word-break: break-all; }
pre.nv-code { display: block; padding: 12px 14px; white-space: pre; overflow: auto; max-height: 340px; line-height: 1.5; word-break: normal; }
.nv-map td:first-child { white-space: nowrap; }

/* ---------- Alunos (lista) ---------- */
.nv-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.nv-tag { height: 22px; padding: 0 8px; border-radius: 99px; font-size: var(--fs-2xs); font-weight: 700; display: inline-flex; align-items: center;
  background: color-mix(in oklab, var(--cc, var(--c1)) 18%, transparent); color: color-mix(in oklab, var(--cc, var(--c1)) 75%, var(--ink)); }

/* Modo demonstração */
.nv-demo { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 99px; font-size: var(--fs-2xs); font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--warn); background: var(--warn-soft); white-space: nowrap; }
@media (width<=760px) { .nv-demo { display: none; } }

/* Entrada suave das páginas */
.view > .page { animation: nv-in .5s var(--ease) both; }
@keyframes nv-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.nav__pill { transition: transform .45s var(--ease), height .45s var(--ease), opacity .2s; }
.tabbar__pill { transition: transform .45s var(--ease), width .45s var(--ease), opacity .2s; }
.seg__thumb { transition: clip-path .4s var(--ease); }
.tube__fill { transition: transform .9s var(--ease); }
.split__seg i { transition: transform .9s var(--ease); }
@media (prefers-reduced-motion: reduce) { .view > .page { animation: none; } }

/* Menu "Mais" (celular) */
.nv-more {
  position: fixed; z-index: 41; right: 14px; bottom: calc(86px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 2px; padding: 6px; min-width: 220px; border-radius: 18px;
  background: linear-gradient(165deg, var(--glass-hi), transparent 46%), var(--panel);
  box-shadow: inset 0 0 0 1px var(--glass-rim), var(--shadow-lg);
  -webkit-backdrop-filter: blur(22px) saturate(1.4); backdrop-filter: blur(22px) saturate(1.4);
}
.nv-more[hidden] { display: none; }
.nv-more a, .nv-more button { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 12px; border-radius: 12px; font-weight: 600; font-size: var(--fs-md); color: var(--ink); text-align: left; }
.nv-more a:hover, .nv-more button:hover { background: var(--card-3); }
@media (width>760px) { .nv-more { display: none !important; } }
.side__me { cursor: default; }
.nv-recentes { display: flex; flex-direction: column; gap: 2px; }
.nv-recentes > small { font-size: var(--fs-xs); color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.nv-recente { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.nv-recente .cell__text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.nv-recente .cell__text b { font-size: var(--fs-md); font-weight: 600; }
.nv-recente .cell__text small { font-size: var(--fs-xs); color: var(--muted); font-weight: 500; }

/* correções de layout */
.nv-method__stats, .nv-mini, .nv-method .pace { flex: none; }
.nv-table td:first-child, .nv-table td:nth-child(5), .nv-table td:nth-child(6), .nv-table td.r { white-space: nowrap; }
.nv-table .nv-code { white-space: nowrap; word-break: normal; }
.nv-table td { vertical-align: top; }
.nv-method__head .cell__text { min-width: 0; }
.nv-method__head .cell__text b, .nv-method__head .cell__text small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.nv-table--alunos td:nth-child(2), .nv-table--alunos td:nth-child(4), .nv-table--alunos td:nth-child(5) { white-space: nowrap; }
.nv-table--alunos td:nth-child(5) { text-align: right; }
.nv-table--alunos td:nth-child(6) { white-space: normal; }
.nv-funnel__bar i { text-shadow: 0 1px 2px #000a; }
@media (width<=999px) {
  .nv-fat .bal { flex-direction: column; align-items: stretch; }
  .nv-fat .bal__fig { align-items: flex-start; }
}

/* =====================================================================
   Acesso: login, janelas, equipe
   ===================================================================== */
.nv-auth { display: grid; place-items: center; overflow-y: auto; }
.nv-login { width: 100%; min-height: 100%; display: grid; place-items: center; padding: 24px 12px; }
.nv-login__card { width: min(440px, 100%); display: flex; flex-direction: column; gap: 14px; padding: 30px 28px 26px !important;
  background: linear-gradient(160deg, var(--glass-hi), transparent 50%), var(--panel) !important; box-shadow: inset 0 0 0 1px var(--glass-rim), var(--shadow-lg) !important; }
.nv-login__logo { width: 210px; height: auto; align-self: center; }
[data-theme=light] .nv-login__logo { filter: brightness(0); }
.nv-login .seg { display: flex; }
.nv-login .seg button { flex: 1; justify-content: center; height: 36px; }
.nv-login form { display: flex; flex-direction: column; gap: 12px; }
.nv-login form[hidden] { display: none; }
.nv-login__btn { width: 100%; justify-content: center; margin-top: 4px; }
.nv-login__txt { color: var(--muted); font-size: var(--fs-sm); line-height: 1.5; }
.nv-field { display: flex; flex-direction: column; gap: 6px; }
.nv-field > span { font-size: var(--fs-sm); font-weight: 600; color: var(--ink-2); }
.nv-field .input { padding-left: 13px; }
.nv-aviso { border-radius: 12px; padding: 10px 12px; font-size: var(--fs-sm); font-weight: 600; line-height: 1.45; }
.nv-aviso[hidden] { display: none; }
.nv-pedido-ok { display: flex; gap: 10px; align-items: flex-start; }
.nv-pedido-ok svg { flex: none; width: 18px; height: 18px; margin-top: 1px; }
.nv-demo-box { border-radius: 14px; padding: 12px 14px; font-size: var(--fs-xs); line-height: 1.55; color: var(--muted);
  background: var(--warn-soft); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--warn) 30%, transparent); display: flex; flex-direction: column; gap: 6px; }
.nv-demo-box b { color: var(--warn); display: flex; align-items: center; gap: 6px; font-size: var(--fs-sm); }
.nv-demo-box .nv-code { font-size: 11px; padding: 1px 6px; }
.nv-demo-box .linkbtn { align-self: flex-start; font-size: var(--fs-xs); }
.btn.is-busy { opacity: .6; pointer-events: none; }
.btn--danger-solid { background: var(--bad) !important; color: #fff !important; box-shadow: none !important; }
[data-theme=dark] .btn--danger-solid { color: #251a0d !important; }

/* botão de conta na barra lateral */
button.side__me { text-align: left; width: 100%; border-radius: 14px; padding: 6px; margin-left: -6px; margin-right: -6px; width: calc(100% + 12px); cursor: pointer; }
button.side__me:hover { background: var(--card-2); }
button.side__me .me__text { flex: 1; min-width: 0; }
button.side__me .me__text b, button.side__me .me__text small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
button.side__me > svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
button.head__me { border-radius: 50%; }

/* janelas */
.nv-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: #0008;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: nv-fade .2s ease both; }
.nv-modal__box { width: min(460px, 100%); max-height: calc(100dvh - 32px); overflow: auto; border-radius: 22px; padding: 6px 4px 18px;
  background: linear-gradient(160deg, var(--glass-hi), transparent 50%), var(--panel); box-shadow: inset 0 0 0 1px var(--glass-rim), var(--shadow-lg);
  animation: nv-in .3s var(--ease) both; }
.nv-modal__box .chead { padding: 14px 18px 0; }
.nv-modal__body { padding: 0 20px; display: flex; flex-direction: column; gap: 14px; }
.nv-modal__body form { display: flex; flex-direction: column; gap: 10px; }
.nv-modal__body form .btn { align-self: flex-start; }
.nv-modal__foot { padding: 16px 20px 0; margin-top: 16px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; gap: 8px; }
.nv-modal__txt { color: var(--muted); font-size: var(--fs-sm); line-height: 1.55; }
.nv-modal__txt b { color: var(--ink); }
.nv-modal__sub { font-size: var(--fs-md); font-weight: 700; margin-top: 4px; }
.nv-conta { display: flex; align-items: center; gap: 12px; }
.nv-conta .cell__text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.nv-conta .cell__text small { color: var(--muted); font-size: var(--fs-xs); }
.nv-senha { display: flex; align-items: center; gap: 10px; }
.nv-senha .nv-code { font-size: 18px; padding: 8px 12px; letter-spacing: .04em; }
@keyframes nv-fade { from { opacity: 0; } to { opacity: 1; } }

/* avisos rápidos */
.nv-toasts { position: fixed; z-index: 120; right: 18px; bottom: 18px; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.nv-toast { padding: 11px 14px; border-radius: 12px; font-weight: 600; font-size: var(--fs-sm); max-width: 360px;
  background: var(--panel) !important; box-shadow: inset 0 0 0 1px var(--glass-rim), inset 3px 0 0 currentColor, var(--shadow-lg); animation: nv-in .3s var(--ease) both; transition: opacity .4s, transform .4s; }
.nv-toast.is-out { opacity: 0; transform: translateY(6px); }
@media (width<=760px) { .nv-toasts { left: 12px; right: 12px; bottom: calc(92px + env(safe-area-inset-bottom)); align-items: stretch; } }

/* equipe */
.nv-pessoa { display: flex; align-items: center; gap: 10px; min-width: 0; }
.nv-pessoa b { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.nv-pessoa .pill { height: 20px; font-size: var(--fs-2xs); }
.nv-muted { color: var(--muted); font-weight: 500; font-size: var(--fs-sm); }
.nv-pedidos { display: flex; flex-direction: column; }
.nv-pedido { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.nv-pedido:last-child { border-bottom: 0; }
.nv-pedido__acoes { display: flex; gap: 6px; align-items: center; }
@media (width<=760px) { .nv-pedido { grid-template-columns: 1fr; } .nv-pedido__acoes { flex-wrap: wrap; } }
.nv-select { height: 32px; min-width: 140px; padding: 0 10px; border-radius: 10px; font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.nv-select:disabled { opacity: .55; }
.nv-select option { color: #111; }
.nv-acoes { display: inline-flex; gap: 6px; flex-wrap: nowrap; justify-content: flex-end; }
.nv-table--equipe td { vertical-align: middle; }
.nv-table--equipe td:nth-child(3), .nv-table--equipe td:nth-child(4), .nv-table--equipe td:nth-child(5) { white-space: nowrap; }
.nv-papeis { display: flex; flex-direction: column; }
.nv-papel { display: grid; grid-template-columns: auto minmax(0, 220px) minmax(0, 1fr); gap: 8px 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.nv-papel:last-child { border-bottom: 0; }
.nv-papel .cell__text { display: flex; flex-direction: column; }
.nv-papel .cell__text small { color: var(--muted); font-size: var(--fs-xs); }
@media (width<=760px) { .nv-papel { grid-template-columns: auto 1fr; } .nv-papel .nv-tags { grid-column: 1 / -1; } }
.nv-login__alt { display: flex; justify-content: center; align-items: center; gap: 6px; font-size: var(--fs-sm); color: var(--muted); font-weight: 500; margin-top: 2px; }
.nv-login__link { font-size: var(--fs-sm); }
.nv-login__txt b { color: var(--ink); }
.nv-login input[readonly] { opacity: .8; cursor: default; }
.nv-login__titulo { font-family: var(--display); font-weight: 400; font-size: 40px; line-height: 1; letter-spacing: .01em; text-transform: uppercase; text-align: center; margin: 2px 0 2px; }
.nv-login__sep { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: var(--fs-sm); font-weight: 500; margin: 6px 0 -2px; }
.nv-login__sep:before, .nv-login__sep:after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.nv-codigo { text-align: center; font-size: 26px !important; letter-spacing: .4em; font-weight: 700; height: 56px !important; font-variant-numeric: tabular-nums; }
.nv-codigo::placeholder { letter-spacing: .3em; color: var(--muted); opacity: .5; }
.nv-code--big { font-size: 16px !important; letter-spacing: .15em; padding: 3px 10px !important; color: var(--ink) !important; font-weight: 700; }

/* =====================================================================
   Central de avisos e e-mails
   ===================================================================== */
.nv-bignums { display: grid; gap: var(--gap); grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (width>=1680px) { .nv-bignums { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (width<=760px) { .nv-bignums { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.nv-bignums .kpi__foot { display: block; line-height: 1.45; }
.nv-bignums .kpi__foot .delta { vertical-align: 1px; }
.chead h2 svg { width: 18px; height: 18px; vertical-align: -3px; margin-right: 4px; color: var(--accent-text); }
.nv-avisos { display: flex; flex-direction: column; gap: 8px; }
.nv-av { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px;
  background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line), inset 3px 0 0 var(--tom, var(--line-2)); }
.nv-av.tone-bad { --tom: var(--bad); } .nv-av.tone-warn { --tom: var(--warn); } .nv-av.tone-good { --tom: var(--good); } .nv-av.tone-info { --tom: var(--info); }
.nv-av__ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--tom); background: color-mix(in oklab, var(--tom) 16%, transparent); }
.nv-av__ico svg { width: 20px; height: 20px; }
.nv-av__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nv-av__tag { font-size: var(--fs-2xs); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--tom); }
.nv-av__txt b { font-size: var(--fs-lg); font-weight: 600; line-height: 1.3; }
.nv-av__txt small { color: var(--muted); font-size: var(--fs-sm); line-height: 1.45; }
.nv-av__acoes { display: flex; align-items: center; gap: 10px; }
@media (width<=760px) { .nv-av { grid-template-columns: 40px minmax(0, 1fr); } .nv-av__acoes { grid-column: 2; } }
.nv-var { font-weight: 700; }
.nv-var.is-up { color: var(--good); } .nv-var.is-down { color: var(--bad); }
.nv-pay__name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.nv-emails { display: flex; flex-direction: column; padding: 0 8px 8px; }
.nv-email { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 6px 14px; padding: 14px 10px; border-bottom: 1px solid var(--line); align-items: start; }
.nv-email:last-child { border-bottom: 0; }
.nv-email:not(.is-lido) { background: linear-gradient(90deg, var(--accent-soft), transparent 40%); border-radius: 12px; }
.nv-email.is-lido .nv-email__assunto { font-weight: 500; }
.nv-email__corpo { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.nv-email__topo { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.nv-email__topo small { color: var(--muted); font-size: var(--fs-xs); }
.nv-email__quando { margin-left: auto; color: var(--muted); font-size: var(--fs-xs); font-weight: 600; }
.nv-email__tags { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.nv-email__tags .pill { height: 22px; font-size: var(--fs-2xs); }
.nv-email__assunto { font-weight: 700; font-size: var(--fs-md); }
.nv-email__trecho { color: var(--muted); font-size: var(--fs-sm); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nv-email__acoes { display: flex; flex-direction: column; gap: 6px; align-items: stretch; }
@media (width<=760px) { .nv-email { grid-template-columns: auto minmax(0, 1fr); } .nv-email__acoes { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; } }

/* Exportar relatório */
.nv-modal__box--largo { width: min(560px, 100%); }
.nv-formatos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.nv-formato { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; gap: 0 10px; align-items: center; text-align: left; padding: 12px 14px; border-radius: 14px;
  background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line); }
.nv-formato svg { grid-row: span 2; width: 26px; height: 26px; color: var(--muted); }
.nv-formato b { font-size: var(--fs-md); }
.nv-formato small { color: var(--muted); font-size: var(--fs-xs); }
.nv-formato:hover { box-shadow: inset 0 0 0 1px var(--line-2); }
.nv-formato[aria-checked=true] { background: var(--accent-soft); box-shadow: inset 0 0 0 1.5px var(--accent); }
.nv-formato[aria-checked=true] svg { color: var(--accent-text); }
.nv-modal .seg { display: flex; } .nv-modal .seg button { flex: 1; justify-content: center; }
.nv-exp-acoes { display: flex; gap: 8px; } .nv-exp-acoes .btn { flex: 1; justify-content: center; }
.nv-exp-email { padding-top: 12px; border-top: 1px solid var(--line); }
.nv-exp-email[hidden] { display: none !important; }
.textarea { font-family: inherit; color: var(--ink); resize: vertical; }

/* ---------- Painel em tela cheia, sem foto de fundo (13/11/2026) ---------- */
.app:before { background: var(--bg) !important; }
.app { padding: 0 !important; }
.slab {
  max-width: none !important; border-radius: 0 !important; box-shadow: none !important;
  background:
    radial-gradient(1200px 600px at 100% 0%, color-mix(in oklab, var(--nv-red) 7%, transparent), transparent 70%),
    radial-gradient(900px 500px at 0% 100%, color-mix(in oklab, var(--nv-red-deep) 9%, transparent), transparent 70%),
    var(--bg) !important;
}
.main { max-width: none !important; }

/* =====================================================================
   Tela de entrada (13/11/2026) — card de vidro sobre o fundo "Fulgurite"
   (assets/js/fundo-login.js). Fonte da marca: Satoshi.
   ===================================================================== */
.nv-auth { --lg-ink: #fefbf7; --lg-muted: #e5ddd3b8; --lg-link: #f7b596;
  --lg-card: rgba(34, 25, 14, .42); --lg-rim: rgba(249, 235, 219, .13); --lg-field: rgba(251, 242, 230, .10); --lg-field-line: rgba(251, 242, 230, .09);
  background: radial-gradient(120% 90% at 20% 10%, #68331a 0%, #22180c 45%, #080604 100%); }
[data-theme=light] .nv-auth { --lg-ink: #1a150f; --lg-muted: #574f46; --lg-link: #aa4a1d;
  --lg-card: rgba(254, 251, 247, .80); --lg-rim: rgba(255, 255, 255, .7); --lg-field: rgba(76, 41, 24, .07); --lg-field-line: rgba(76, 41, 24, .08); }
.nv-auth:before { display: none !important; }

.nv-auth .nv-login { font-family: 'Satoshi', var(--font); align-content: center; justify-items: center; gap: 0; padding: 48px 16px 28px; }
.nv-login__marca { display: flex; flex-direction: column; align-items: center; gap: 20px; margin-bottom: 34px; }
.nv-auth .nv-login__logo { width: 230px; filter: drop-shadow(0 2px 14px rgba(0,0,0,.35)) !important; }

.nv-auth .nv-login__card { width: min(500px, 100%); display: flex; flex-direction: column; gap: 0; padding: 46px 40px 38px !important; border-radius: 24px;
  background: linear-gradient(165deg, rgba(255,255,255,.07), transparent 42%), var(--lg-card) !important;
  -webkit-backdrop-filter: blur(22px) saturate(1.35); backdrop-filter: blur(22px) saturate(1.35);
  box-shadow: inset 0 0 0 1px var(--lg-rim), inset 0 1px 0 rgba(255,255,255,.08), 0 30px 70px -30px rgba(0,0,0,.75) !important; color: var(--lg-ink); }
.nv-auth .nv-login__titulo { font-family: 'Satoshi', var(--font); font-weight: 700; font-size: 34px; line-height: 1.1; letter-spacing: -.01em; text-transform: none; text-align: center; margin: 0 0 14px; color: var(--lg-ink); }
.nv-login__sub { text-align: center; color: var(--lg-muted); font-size: 17px; line-height: 1.5; font-weight: 500; margin: 0 auto 32px; max-width: 360px; }
.nv-auth .nv-login__txt { color: var(--lg-muted); font-size: 15px; text-align: center; margin-bottom: 6px; }
.nv-auth .nv-login__txt b { color: var(--lg-ink); }
.nv-auth .nv-login form { gap: 14px; }
.nv-auth .nv-aviso { margin-bottom: 10px; }

/* campos agrupados (e-mail + senha numa peça só) */
.nv-grupo { background: var(--lg-field); border-radius: 16px; box-shadow: inset 0 0 0 1px var(--lg-field-line); overflow: hidden; }
.nv-grupo__in { all: unset; box-sizing: border-box; display: block; width: 100%; height: 64px; padding: 0 20px; font: 500 16px/1 'Satoshi', var(--font); color: var(--lg-ink); }
.nv-grupo__in::placeholder { color: var(--lg-muted); opacity: .85; }
.nv-grupo__in:focus-visible { background: rgba(255,255,255,.05); }
.nv-grupo > .nv-grupo__in { border-bottom: 1px solid var(--lg-field-line); }
.nv-grupo__senha { display: flex; align-items: center; }
.nv-grupo__senha .nv-grupo__in { padding-right: 6px; }
.nv-olho { all: unset; cursor: pointer; display: grid; place-items: center; width: 44px; height: 44px; margin-right: 10px; border-radius: 12px; color: var(--lg-muted); flex: none; }
.nv-olho svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.nv-olho:hover, .nv-olho.is-on { color: var(--lg-ink); }
.nv-olho:focus-visible { outline: 2px solid var(--lg-link); }

/* campos das outras telas (código, cadastro, nova senha) no mesmo vidro */
.nv-auth .nv-field > span { color: var(--lg-muted); font-weight: 600; font-size: 13px; }
.nv-auth .nv-field .input { background: var(--lg-field); border: 0; box-shadow: inset 0 0 0 1px var(--lg-field-line); color: var(--lg-ink); height: 54px; border-radius: 14px; font-size: 16px; padding-left: 18px; }
.nv-auth .nv-field .input:focus { box-shadow: inset 0 0 0 1.5px var(--lg-link); outline: none; }

/* botão principal: pílula escura com aro rosado */
.nv-login__entrar { all: unset; box-sizing: border-box; cursor: pointer; width: 100%; height: 62px; margin-top: 8px; display: flex; align-items: center; justify-content: center;
  border-radius: 999px; font: 700 19px/1 'Satoshi', var(--font); color: #fff; border: 1.5px solid transparent;
  background: linear-gradient(180deg, #191715, #0b0a08) padding-box, linear-gradient(100deg, rgba(185, 115, 82,.55), #f9ebdb 50%, rgba(185, 115, 82,.55)) border-box;
  box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 18px 34px -14px rgba(185, 115, 82, .65); transition: transform .15s var(--ease), box-shadow .2s; }
.nv-login__entrar:hover { box-shadow: 0 1px 0 rgba(255,255,255,.1) inset, 0 20px 40px -12px rgba(246, 166, 129, .7); }
.nv-login__entrar:active { transform: scale(.985); }
.nv-login__entrar:focus-visible { outline: 2px solid var(--lg-link); outline-offset: 3px; }
.nv-login__entrar[disabled], .nv-login__entrar.is-busy { opacity: .7; cursor: progress; }

.nv-login__esqueci { all: unset; cursor: pointer; align-self: center; margin-top: 14px; color: var(--lg-link); font: 600 17px/1.3 'Satoshi', var(--font); }
.nv-login__esqueci:hover { text-decoration: underline; text-underline-offset: 3px; }
.nv-login__esqueci--in { margin-top: 4px; font-size: 15px; }
.nv-auth .nv-login__sep { color: var(--lg-muted); font-size: 15px; margin: 22px 0 4px; }
.nv-auth .nv-login__sep:before, .nv-auth .nv-login__sep:after { background: var(--lg-field-line); }
.nv-login__nota { text-align: center; color: var(--lg-muted); font-size: 15px; line-height: 1.6; margin: 6px 0 0; }
.nv-auth .nv-login__alt { color: var(--lg-muted); font-size: 15px; margin-top: 8px; }
.nv-auth .nv-login__link { color: var(--lg-link); font-size: 15px; }
.nv-auth .nv-login__btn:not(.nv-login__entrar) { background: var(--lg-field); color: var(--lg-ink); border-radius: 999px; height: 52px; }

/* seletor de tema e rodapé */
.nv-tema { display: flex; gap: 4px; padding: 5px; margin-top: 36px; border-radius: 999px; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.nv-tema button { all: unset; cursor: pointer; width: 42px; height: 34px; display: grid; place-items: center; border-radius: 999px; color: rgba(253, 248, 242,.82); }
.nv-tema svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.nv-tema button[aria-pressed=true] { background: #fff; color: #120f0b; }
.nv-tema button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.nv-login__rodape { margin-top: 22px; text-align: center; color: rgba(253, 248, 242,.86); font-size: 14px; line-height: 1.6; font-weight: 500; text-shadow: 0 1px 8px rgba(0,0,0,.4); }

@media (max-width: 520px) {
  .nv-auth .nv-login__card { padding: 34px 22px 28px !important; }
  .nv-auth .nv-login__titulo { font-size: 30px; }
  .nv-login__sub { font-size: 15.5px; margin-bottom: 24px; }
  .nv-auth .nv-login__logo { width: 190px; }
}
/* tela baixa: rola em vez de cortar o topo */
.nv-auth { display: block !important; height: 100dvh; overflow-y: auto; }
.nv-auth .nv-login { min-height: 100dvh; display: flex !important; flex-direction: column; align-items: center; justify-content: safe center; }
.nv-auth { --lg-card: rgba(23, 17, 10, .5); }
[data-theme=light] .nv-auth { --lg-card: rgba(254, 251, 247, .80); }
/* preenchimento automático do Chrome: mantém o vidro (sem o azul claro) */
.nv-auth input:-webkit-autofill, .nv-auth input:-webkit-autofill:hover, .nv-auth input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--lg-ink); caret-color: var(--lg-ink); transition: background-color 600000s 0s, color 600000s 0s; }

/* 13/11/2026 — tela de entrada cabe inteira na tela + campos mais claros */
.nv-auth .nv-login { padding: 22px 16px 18px; }
.nv-login__marca { gap: 10px; margin-bottom: 18px; }
.nv-auth .nv-login__logo { width: 190px; }
.nv-auth .nv-login__card { padding: 32px 36px 28px !important; }
.nv-auth .nv-login__titulo { font-size: 30px; margin-bottom: 10px; }
.nv-login__sub { font-size: 16px; margin-bottom: 22px; }
.nv-grupo__in { height: 56px; }
.nv-login__entrar { height: 54px; margin-top: 4px; font-size: 18px; }
.nv-login__esqueci { margin-top: 10px; font-size: 16px; }
.nv-auth .nv-login__sep { margin: 14px 0 2px; font-size: 14px; }
.nv-login__nota { font-size: 14px; line-height: 1.5; margin-top: 4px; }
.nv-tema { margin-top: 18px; }
.nv-login__rodape { margin-top: 12px; font-size: 13px; line-height: 1.5; }
.nv-auth .nv-aviso { margin-bottom: 4px; }

/* tema claro: card e campos bem mais brancos */
[data-theme=light] .nv-auth { --lg-card: rgba(255, 255, 255, .90); --lg-field: rgba(255, 255, 255, .96); --lg-field-line: rgba(63, 47, 28, .12); }
[data-theme=light] .nv-grupo { box-shadow: inset 0 0 0 1px var(--lg-field-line), 0 1px 2px rgba(53, 37, 18, .06); }
[data-theme=light] .nv-grupo__in:focus-visible { background: #fff; }
/* tema escuro: campos um pouco mais claros também */
.nv-auth { --lg-field: rgba(252, 246, 239, .16); }
[data-theme=light] .nv-auth { --lg-field: rgba(255, 255, 255, .96); }

/* telas baixas (notebook): aperta mais */
@media (max-height: 820px) {
  .nv-auth .nv-login { padding-top: 14px; }
  .nv-login__marca { gap: 6px; margin-bottom: 12px; }
  .nv-auth .nv-login__logo { width: 150px; }
  .nv-auth .nv-login__card { padding: 24px 32px 22px !important; }
  .nv-auth .nv-login__titulo { font-size: 26px; margin-bottom: 6px; }
  .nv-login__sub { font-size: 14.5px; margin-bottom: 16px; }
  .nv-grupo__in { height: 50px; }
  .nv-login__entrar { height: 50px; }
  .nv-tema { margin-top: 12px; }
  .nv-login__rodape { margin-top: 8px; }
}

/* botão Atualizar (topo) */
.nv-atualizar.is-girando svg { animation: nv-gira .8s linear infinite; }
@keyframes nv-gira { to { transform: rotate(360deg); } }
@media (width <= 760px) { .head .rbtn.nv-atualizar { display: grid; } }

/* =====================================================================
   Central de avisos · cards brancos com glow vermelho (estilo plataforma)
   ===================================================================== */
.nv-bignums .kpi[class*=kpi--] {
  background: linear-gradient(160deg, #ffffff, #fefbf8);
  color: #18140f; --tile-ink: #18140f; --tile-muted: #68635d;
  box-shadow: inset 0 0 0 1px #db724133, 0 0 0 1px #db724114, 0 0 22px -4px #db724159, 0 14px 34px -18px #a9512866;
  transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}
.nv-bignums .kpi[class*=kpi--]:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 1px #db724155, 0 0 0 1px #db724126, 0 0 30px -2px #db724180, 0 18px 40px -18px #a9512880;
}
.nv-bignums .kpi .kpi__ico { background: #db724114; color: #bc582a; box-shadow: inset 0 0 0 1px #db724126; }
[data-theme=dark] .nv-bignums .kpi[class*=kpi--] { background: linear-gradient(160deg, #ffffff, #fdf9f5); }
[data-theme=dark] .nv-bignums .kpi .delta--up { color: #155f36; background: #17774a1a; }
[data-theme=dark] .nv-bignums .kpi .delta--down { color: #924c2b; background: #a9512814; }

/* Filtro de período do gráfico de faturamento */
.nv-fat__head { flex-wrap: wrap; }
.nv-fat__head > .seg { flex: none; }
@media (width <= 760px) { .nv-fat__head > .seg { order: 3; width: 100%; } .nv-fat__head > .seg button { flex: 1; justify-content: center; padding: 0 6px; } }

/* =====================================================================
   Personalizar cores dos cards e gráficos (13/11/2026)
   Cada card guarda: --p-bg (fundo), --p-glow (brilho), --p-ink (texto), --p-graf (gráficos)
   ===================================================================== */
.view [data-p-bg] {
  background: linear-gradient(160deg, color-mix(in srgb, var(--p-bg) 88%, #fff 12%), var(--p-bg) 70%) !important;
}
.view [data-p-ink] {
  color: var(--p-ink) !important;
  --ink: var(--p-ink) !important;
  --ink-2: color-mix(in srgb, var(--p-ink) 88%, transparent) !important;
  --muted: color-mix(in srgb, var(--p-ink) 66%, transparent) !important;
  --tile-ink: var(--p-ink) !important;
  --tile-muted: color-mix(in srgb, var(--p-ink) 66%, transparent) !important;
  --card-2: color-mix(in srgb, var(--p-ink) 7%, transparent) !important;
  --card-3: color-mix(in srgb, var(--p-ink) 12%, transparent) !important;
  --line: color-mix(in srgb, var(--p-ink) 12%, transparent) !important;
  --line-2: color-mix(in srgb, var(--p-ink) 22%, transparent) !important;
}
.view [data-p-ink] h2, .view [data-p-ink] b, .view [data-p-ink] .kpi__value, .view [data-p-ink] .nv-big, .view [data-p-ink] .bal__num { color: var(--p-ink); }
.view [data-p-glow] {
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--p-glow) 50%, transparent),
              0 0 0 1px color-mix(in srgb, var(--p-glow) 20%, transparent),
              0 0 26px -4px color-mix(in srgb, var(--p-glow) 70%, transparent),
              0 16px 36px -18px color-mix(in srgb, var(--p-glow) 60%, transparent) !important;
  transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}
.view [data-p-glow]:hover {
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--p-glow) 70%, transparent),
              0 0 0 1px color-mix(in srgb, var(--p-glow) 30%, transparent),
              0 0 34px -2px color-mix(in srgb, var(--p-glow) 85%, transparent),
              0 18px 40px -18px color-mix(in srgb, var(--p-glow) 70%, transparent) !important;
}
.view [data-p-glow="nenhum"], .view [data-p-glow="nenhum"]:hover { box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm) !important; }
.view [data-p-graf] {
  --mint: var(--p-graf) !important; --mint-deep: color-mix(in srgb, var(--p-graf) 80%, #000) !important;
  --mint-soft: color-mix(in srgb, var(--p-graf) 30%, transparent) !important;
  --accent-from: color-mix(in srgb, var(--p-graf) 75%, #fff) !important; --accent-to: var(--p-graf) !important;
  --accent: var(--p-graf) !important; --accent-hi: var(--p-graf) !important; --accent-text: var(--p-graf) !important;
  --accent-soft: color-mix(in srgb, var(--p-graf) 16%, transparent) !important;
  --data: var(--p-graf) !important; --sig: var(--p-graf) !important; --thumb: var(--p-graf) !important; --c1: var(--p-graf) !important;
}
.view [data-p-graf] .meter > i { background: var(--p-graf) !important; }
.view [data-p-graf] .kpi__label .ico, .view [data-p-graf] .chead h2 .ico { color: var(--p-graf); }
.view [data-p-graf] .split__seg:first-child i { background: var(--p-graf) !important; }

/* modo personalizar: contorno em todos os cards + selo "Personalizar" */
html.is-pers .view .card, html.is-pers .view .kpi {
  cursor: pointer; outline: 2px dashed color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 3px;
  transition: outline-color .2s, transform .2s var(--ease);
}
html.is-pers .view .card:hover, html.is-pers .view .kpi:hover { outline-color: var(--accent); outline-style: solid; }
html.is-pers .view .card *, html.is-pers .view .kpi * { pointer-events: none; }
html.is-pers .view .card::after, html.is-pers .view .kpi::after {
  content: "🎨 Personalizar"; position: absolute; top: 8px; right: 8px; z-index: 5;
  font: 700 11px/1 var(--font, inherit); letter-spacing: .02em; padding: 6px 9px; border-radius: 99px;
  background: var(--accent); color: var(--accent-ink, #fff); box-shadow: 0 4px 14px -4px #0008; opacity: .9;
}
html.is-pers .view .is-editando { outline: 3px solid var(--accent) !important; outline-offset: 4px; }
html.is-pers .view .is-editando::after { content: "Editando"; opacity: 1; }
.nv-pers-btn[aria-pressed="true"] { background: var(--accent-soft) !important; color: var(--accent-text); }

.nv-persbar {
  position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 80;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center;
  padding: 9px 10px 9px 16px; border-radius: 18px; max-width: calc(100vw - 24px);
  background: var(--panel); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-lg);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); font-size: 14px;
}
.nv-persbar > span { display: inline-flex; align-items: center; gap: 7px; }
.nv-persbar .ico { width: 18px; height: 18px; }
@media (width <= 760px) { .nv-persbar { bottom: 84px; } }

.nv-cores {
  position: fixed; z-index: 90; width: 340px; max-width: calc(100vw - 24px); max-height: calc(100vh - 100px); overflow: auto;
  padding: 14px; border-radius: 18px; background: var(--panel); color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-lg);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  animation: nv-cores-in .18s var(--ease);
}
@keyframes nv-cores-in { from { opacity: 0; transform: translateY(6px) scale(.98); } }
.nv-cores__topo { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.nv-cores__topo > span { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); flex: none; }
.nv-cores__topo > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.nv-cores__topo small { color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nv-cores__grupo { padding: 9px 0 10px; border-top: 1px solid var(--line); }
.nv-cores__rot { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.nv-cores__rot em { font-style: normal; font-weight: 600; color: var(--muted); }
.nv-cores__sw { display: grid; grid-template-columns: repeat(11, 1fr); gap: 5px; }
.nv-cor {
  aspect-ratio: 1; width: 100%; border-radius: 50%; border: 0; cursor: pointer; padding: 0;
  background: var(--sw, transparent); box-shadow: inset 0 0 0 1px #8888, 0 1px 2px #0003;
  transition: transform .15s var(--ease), box-shadow .15s;
}
.nv-cor:hover { transform: scale(1.12); }
.nv-cor[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--panel), 0 0 0 4px var(--accent); }
.nv-cor--padrao { background: conic-gradient(#d3602b, #facc15, #16a34a, #2563eb, #7e22ce, #d3602b); position: relative; }
.nv-cor--padrao::after { content: "↺"; position: absolute; inset: 3px; border-radius: 50%; display: grid; place-items: center; background: var(--panel); color: var(--ink); font: 700 12px/1 sans-serif; }
.nv-cor--nenhum { background: repeating-linear-gradient(135deg, transparent 0 4px, #8886 4px 5px); }
.nv-cores__acoes { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 10px; border-top: 1px solid var(--line); }
.nv-cores__acoes .btn { flex: 1; justify-content: center; }

/* =====================================================================
   Registro de atividades (Equipe e acessos · só administradores)
   ===================================================================== */
.nv-ativ .chead { flex-wrap: wrap; }
.nv-ativ .toolbar .nv-select { flex: 0 1 240px; height: 40px; }
.nv-ativ .chips .chip .ico { width: 14px; height: 14px; margin-right: 2px; }
.nv-table--ativ td { vertical-align: top; }
.nv-table--ativ td:first-child { white-space: nowrap; }
.nv-table--ativ .pill .ico { width: 13px; height: 13px; }
.nv-ativ__desc { display: block; margin-top: 6px; max-width: 360px; white-space: normal; color: var(--ink-2) !important; font-weight: 600; }
.nv-ativ__det { font-size: 13px; color: var(--muted); max-width: 340px; line-height: 1.5; white-space: normal; word-break: break-word; }
.nv-ativ__det .ico { width: 13px; height: 13px; vertical-align: -2px; }
.nv-ativ__trecho { font-style: italic; }
.nv-table--ativ .pill::before { display: none; }
.view [data-p-bg] .delta { background: color-mix(in srgb, var(--p-ink) 12%, transparent) !important; }
.view [data-p-bg] .delta--up { color: #22c55e !important; } .view [data-p-bg] .delta--down { color: #e37f50 !important; }

/* =====================================================================
   Apps do Agro Império dentro do painel (Separação de pedidos, Financeiro)
   ===================================================================== */
.nv-app { margin: -4px 0 0; }
.nv-app-frame { display: block; width: 100%; height: 70vh; border: 0; border-radius: 22px; background: transparent; color-scheme: normal; }
.nv-app--financeiro .nv-app-frame { background: #ededed; box-shadow: 0 0 0 1px #0000001a, 0 24px 48px -28px #000c; }

/* =====================================================================
   PLATAFORMAS (#inicio) — hero "Glow Horizon" + cards prateados
   ===================================================================== */
html.is-hub .app, html.is-hub .tabbar { display: none !important; }
html.is-hub body { background: #050507; }
.nv-hub { position: fixed; inset: 0; z-index: 30; overflow-y: auto; overflow-x: hidden; background: #050507; color: #fff; font-family: Satoshi, system-ui, sans-serif; color-scheme: dark; }
.nv-hub[hidden] { display: none; }
.nv-hub__topo { position: absolute; top: 0; left: 0; right: 0; z-index: 5; display: flex; align-items: center; gap: 10px; padding: 18px clamp(16px, 4vw, 40px); }
.nv-hub__logo { height: 34px; width: auto; filter: brightness(0) invert(1); opacity: .92; }
.nv-hub__sp { flex: 1; }
.nv-hub__lnk { display: inline-flex; align-items: center; gap: 7px; font: 600 14px Satoshi, sans-serif; color: #cfd2da; background: rgba(255,255,255,.06); border: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); padding: 9px 14px; border-radius: 999px; cursor: pointer; text-decoration: none; transition: background .2s, color .2s; }
.nv-hub__lnk:hover { background: rgba(255,255,255,.12); color: #fff; }
.nv-hub__me { border: 0; background: none; padding: 0; cursor: pointer; }
/* hero: mesmo desenho do GlowHorizon (variante "top"), nas cores originais */
.nv-hero { position: relative; height: min(70vh, 640px); min-height: 420px; overflow: hidden; display: grid; place-items: center; }
.gh { position: absolute; inset: 0; isolation: isolate; transform-origin: 50% 50%; animation: gh-in 2s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes gh-in { from { transform: translateY(-100%) scaleY(1.5); opacity: 0; filter: blur(15px); } to { transform: translateY(-50%) scaleY(1); opacity: 1; filter: blur(0); } }
.gh i { position: absolute; inset: 0; border-radius: 100%; transform: translateY(var(--y0, 0)) scale(var(--s)); }
.gh i:nth-child(1) { --s: 1.32; background: #fff; box-shadow: 0 -4px 23px 0 #ffffffb5; }
.gh i:nth-child(2) { --s: 1.2; --y0: -40%; background: #a558fb; filter: blur(31px); animation: gh-arco 2s cubic-bezier(.16, 1, .3, 1) .6s both; }
.gh i:nth-child(3) { --s: 1.24; --y0: -40%; background: #4922e5; filter: blur(21px); animation: gh-arco 2s cubic-bezier(.16, 1, .3, 1) 0s both; }
.gh i:nth-child(4) { --s: 1.2; --y0: -40%; background: #000; filter: blur(51px); animation: gh-arco 2s cubic-bezier(.16, 1, .3, 1) 0s both; }
@keyframes gh-arco { from { transform: translateY(-40%) scale(var(--s)); } to { transform: translateY(0) scale(var(--s)); } }
.nv-hero__txt { position: relative; z-index: 2; text-align: center; padding: 0 20px; margin-top: -6vh; }
.nv-hero__eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: #b9a6ff; opacity: 0; animation: nv-sobe .9s cubic-bezier(.16, 1, .3, 1) .35s forwards; }
.nv-hero__titulo { margin: 14px 0 10px; font-family: 'Satoshi', system-ui, sans-serif; font-weight: 400; font-size: clamp(46px, 8vw, 104px); line-height: .92; letter-spacing: .01em; color: #fff; text-shadow: 0 0 40px rgba(165, 88, 251, .35); }
.nv-hero__titulo span { display: inline-block; opacity: 0; filter: blur(12px); transform: translateY(18px); animation: nv-palavra 1.1s cubic-bezier(.16, 1, .3, 1) forwards; }
@keyframes nv-palavra { to { opacity: 1; filter: blur(0); transform: none; } }
.nv-hero__sub { margin: 0; font-size: clamp(15px, 2vw, 19px); font-weight: 500; color: #a9a6bd; opacity: 0; animation: nv-sobe .9s cubic-bezier(.16, 1, .3, 1) 1.1s forwards; }
@keyframes nv-sobe { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
/* cards das plataformas */
.nv-hub__cards { position: relative; z-index: 3; display: flex; flex-wrap: wrap; justify-content: center; gap: 36px; padding: 0 20px 72px; margin-top: -14vh; }
.nv-plat { display: flex; flex-direction: column; align-items: center; gap: 18px; text-decoration: none; color: inherit; opacity: 0; transform: translateY(28px); animation: nv-sobe-card 1s cubic-bezier(.16, 1, .3, 1) forwards; animation-delay: calc(.5s + var(--i) * .15s); }
@keyframes nv-sobe-card { to { opacity: 1; transform: none; } }
.nv-plat__card { transition: transform .45s cubic-bezier(.16, 1, .3, 1), filter .45s; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .55)); }
.nv-plat:hover .nv-plat__card, .nv-plat:focus-visible .nv-plat__card { transform: translateY(-8px) scale(1.015); filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .6)) drop-shadow(0 0 30px rgba(220, 225, 235, .14)); }
.nv-plat:focus-visible { outline: none; }
.nv-plat__info { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; max-width: 320px; }
.nv-plat__info b { font-size: 20px; font-weight: 700; letter-spacing: -.01em; background: linear-gradient(180deg, #ffffff, #b8bdc8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nv-plat__info small { font-size: 13.5px; color: #8f94a1; line-height: 1.4; }
.nv-plat__ir { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-size: 13px; font-weight: 700; color: #d7dbe3; padding: 7px 14px; border-radius: 999px; background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.05)); box-shadow: inset 0 1px 0 rgba(255,255,255,.25), inset 0 0 0 1px rgba(255,255,255,.12); transition: background .2s; }
.nv-plat:hover .nv-plat__ir { background: linear-gradient(180deg, rgba(255,255,255,.24), rgba(255,255,255,.08)); color: #fff; }
/* brilho metálico que passa pelo card prateado */
.pico--prata { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.pico__brilho { position: absolute; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
.pico__brilho::before { content: ""; position: absolute; top: -30%; bottom: -30%; width: 45%; left: -60%; transform: skewX(-18deg); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .10), rgba(255, 255, 255, .22), rgba(255, 255, 255, .10), transparent); }
.nv-plat:hover .pico__brilho::before { animation: nv-reflexo 1.1s cubic-bezier(.4, 0, .2, 1); }
@keyframes nv-reflexo { to { left: 120%; } }
@media (max-width: 760px) { .nv-hub__cards { margin-top: -10vh; gap: 44px; } .nv-hub__lnk span, .nv-hub__lnk:not([data-acao]) { font-size: 0; padding: 9px; } .nv-hero { height: 62vh; } }
@media (prefers-reduced-motion: reduce) { .gh, .gh i, .nv-plat, .nv-hero__titulo span, .nv-hero__eyebrow, .nv-hero__sub { animation-duration: .01s !important; animation-delay: 0s !important; } }
/* menu: botão de voltar às plataformas */
.nv-nav-voltar { color: var(--muted) !important; margin-bottom: 4px; }
.nv-nav-voltar .ico { width: 18px; height: 18px; }

/* =====================================================================
   Satoshi em toda a plataforma (13/11/2026). Os títulos que eram Bebas Neue
   (estreita, caixa alta) viram Satoshi Black em caixa normal, um pouco menores.
   ===================================================================== */
:root, [data-theme] { --font: 'Satoshi', system-ui, -apple-system, 'Segoe UI', sans-serif; }
html, body, button, input, select, textarea { font-family: var(--font); }
.phead h1, .nv-login__titulo { font-weight: 900 !important; text-transform: none !important; letter-spacing: -.035em !important; }
.phead h1 { font-size: clamp(30px, 3.4vw, 44px) !important; line-height: 1.05 !important; }
.bal__num { font-weight: 900 !important; letter-spacing: -.035em !important; font-size: clamp(36px, 3.4vw, 48px) !important; }
.kpi__value { font-weight: 900 !important; letter-spacing: -.03em !important; font-size: 26px !important; }
.nv-big { font-weight: 900 !important; letter-spacing: -.035em !important; }
.nv-method__big { font-weight: 900; letter-spacing: -.03em; font-size: 30px; }
.nv-hero__titulo { font-weight: 900 !important; letter-spacing: -.04em !important; font-size: clamp(38px, 6.4vw, 84px) !important; line-height: 1 !important; }
/* cards das plataformas: cada uma com a sua cor */
.nv-plat[data-plat="curso"] { --tom: 232, 52, 58; }
.nv-plat[data-plat="pedidos"] { --tom: 34, 197, 94; }
.nv-plat[data-plat="mercado"] { --tom: 250, 204, 21; }
.nv-plat:hover .nv-plat__card, .nv-plat:focus-visible .nv-plat__card { filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .6)) drop-shadow(0 0 34px rgba(var(--tom, 220, 225, 235), .28)); }
.nv-plat__ir { box-shadow: inset 0 1px 0 rgba(255,255,255,.25), inset 0 0 0 1px rgba(var(--tom, 255, 255, 255), .35); }
.nv-plat:hover .nv-plat__ir { background: rgba(var(--tom, 255, 255, 255), .18); }
.pico--vermelho { box-shadow: inset 0 0 0 1px rgba(246, 166, 129, .22); }
.pico--verde { box-shadow: inset 0 0 0 1px rgba(120, 255, 170, .2); }
.pico--amarelo { box-shadow: inset 0 0 0 1px rgba(255, 230, 120, .24); }
/* Equipe e acessos: acesso por plataforma */
.nv-accs { display: flex; flex-wrap: wrap; gap: 8px; }
.nv-acc { display: flex; flex-direction: column; gap: 3px; min-width: 132px; }
.nv-acc small { font-size: 11px; font-weight: 700; letter-spacing: .02em; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.nv-acc small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); }
.nv-acc--curso.is-leitor small::before, .nv-acc--curso.is-admin small::before { background: #db7241; }
.nv-acc--pedidos.is-leitor small::before, .nv-acc--pedidos.is-admin small::before { background: #22c55e; }
.nv-acc--mercado.is-leitor small::before, .nv-acc--mercado.is-admin small::before { background: #eab308; }
.nv-acc.is-admin select { font-weight: 700; }
.nv-acc select:disabled { opacity: .75; }
.nv-acc-nota { display: block; margin-top: 4px; font-size: 11.5px; }
.nv-pedido { flex-wrap: wrap; }
.nv-hub__nada { position: relative; z-index: 3; text-align: center; color: #b4b7c4; margin: -8vh auto 60px; max-width: 520px; padding: 0 20px; font-size: 16px; }
.nv-table--equipe .nv-accs { flex-wrap: nowrap; } .nv-table--equipe .nv-acc { min-width: 128px; }
/* hero: camada da galáxia (partículas sobre o arco) */
.nv-hero__fx { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
/* foto de perfil */
.av--foto { background-size: cover !important; background-position: center !important; background-color: #222 !important; color: transparent !important; }
.nv-foto { margin-bottom: 14px; }
.nv-foto__linha { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.nv-foto__linha label.btn { cursor: pointer; }
/* saudação: Gradual Spacing + risco vermelho no nome + "magnata" */
.nv-hero__titulo { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; row-gap: .05em; }
.nv-hero__titulo span { opacity: 1; filter: none; transform: none; animation: none; }
.nv-hero__titulo .ht-p { display: inline-flex; position: relative; white-space: nowrap; }
.nv-hero__titulo .ht-c { display: inline-block; opacity: 0; transform: translateX(-20px); animation: ht-entra .5s ease forwards; margin-right: .012em; }
@keyframes ht-entra { to { opacity: 1; transform: none; } }
.nv-hero__titulo .ht-risco { position: absolute; left: -3%; right: -3%; top: 54%; height: .085em; border-radius: 99px; background: linear-gradient(90deg, #f38a59, #db7241 60%, #bc582a); box-shadow: 0 0 18px rgba(219, 114, 65, .85), 0 0 4px rgba(246, 166, 129, .9); transform: scaleX(0) rotate(-3deg); transform-origin: 0 50%; animation: ht-risco .55s cubic-bezier(.7, 0, .2, 1) forwards; }
@keyframes ht-risco { to { transform: scaleX(1) rotate(-3deg); } }
.nv-hero__titulo .ht-nome .ht-c { transition: color .4s; }
.nv-hero__titulo .ht-c--mag { color: #f17e49; text-shadow: 0 0 28px rgba(219, 114, 65, .7), 0 0 2px rgba(243, 146, 102, .8); }
@media (prefers-reduced-motion: reduce) { .nv-hero__titulo .ht-c, .nv-hero__titulo .ht-risco { animation-duration: .01s !important; animation-delay: 0s !important; } }
.nv-hero__titulo { font-size: clamp(36px, 5.6vw, 76px) !important; }
/* o nome riscado sai (some e fecha o espaço) e fica só "magnata" */
.nv-hero__titulo .ht-nome { max-width: 14em; animation: ht-sai .55s cubic-bezier(.6, 0, .3, 1) forwards; animation-play-state: running; }
@keyframes ht-sai { 0% { opacity: 1; filter: blur(0); max-width: 14em; } 45% { opacity: 0; filter: blur(8px); transform: translateY(-.12em); max-width: 14em; } 100% { opacity: 0; filter: blur(8px); max-width: 0; transform: translateY(-.12em); } }
.nv-hero__titulo .ht-nome { overflow: visible; }

/* modo "magnata": quando o nome vira "magnata", o arco fica vermelho (partículas: no canvas, app.js) */
.gh i { transition: background-color 1.4s ease, box-shadow 1.4s ease; }
.nv-hero.is-magnata .gh i:nth-child(1) { background: #fdf8f3; box-shadow: 0 -4px 23px 0 rgba(243, 146, 102, .75); }
.nv-hero.is-magnata .gh i:nth-child(2) { background: #db7241; }
.nv-hero.is-magnata .gh i:nth-child(3) { background: #944019; }

/* "NextViral · Agro Império" também fica vermelho no modo magnata */
.nv-hero__eyebrow { transition: color 1.4s ease, text-shadow 1.4s ease; }
.nv-hero.is-magnata .nv-hero__eyebrow { color: #f17e49; text-shadow: 0 0 18px rgba(219, 114, 65, .55); }
/* voltando ao início na mesma sessão: tudo já no estado final, sem transições */
.nv-hero--fixo .gh, .nv-hero--fixo .gh i, .nv-hero--fixo .nv-hero__eyebrow, .nv-hero--fixo .nv-hero__sub, .nv-hero--fixo .nv-hero__titulo .ht-c { animation-duration: .01s !important; animation-delay: 0s !important; transition: none !important; }
.nv-hero--fixo .nv-hero__titulo .ht-c { opacity: 1; transform: none; }

/* "Escolha a plataforma" em branco, igual ao "Boa noite" */
.nv-hero__sub { color: #fff !important; }

/* Shopee: card e detalhes em laranja */
.nv-plat[data-plat="shopee"] { --tom: 249, 115, 22; }
.pico--laranja { box-shadow: inset 0 0 0 1px rgba(255, 170, 110, .24); }
.nv-acc--shopee.is-leitor small::before, .nv-acc--shopee.is-admin small::before { background: #f97316; }

/* Termo LGPD */
.nv-lgpd { z-index: 2000; }
.nv-lgpd__box { width: min(680px, 100%); }
.nv-lgpd .chead p { margin: 2px 0 0; font-size: 12px; color: var(--muted); }
.nv-lgpd__texto { max-height: min(52vh, 460px); overflow: auto; padding: 4px 14px 4px 4px; font-size: 14px; line-height: 1.55; border: 1px solid var(--line, rgba(255,255,255,.1)); border-radius: 14px; padding: 14px 16px; }
.nv-lgpd__intro { margin: 0 0 10px; }
.nv-lgpd__lista { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.nv-lgpd__ok { display: flex; gap: 10px; align-items: flex-start; margin: 14px 2px 10px; font-size: 14px; font-weight: 600; cursor: pointer; }
.nv-lgpd__ok input { width: 18px; height: 18px; margin-top: 2px; accent-color: #db7241; flex: none; }
/* cards das plataformas: até 4 por linha */
.nv-hub__cards { max-width: 1240px; margin-left: auto; margin-right: auto; }

/* Separação em azul claro (une ML, Shopee e TikTok Shop) · Bling verde · TikTok Shop branco */
.nv-plat[data-plat="pedidos"] { --tom: 125, 211, 252; }
.nv-plat[data-plat="bling"] { --tom: 127, 221, 88; }
.nv-plat[data-plat="tiktok"] { --tom: 255, 254, 254; }
.pico--azulclaro { box-shadow: inset 0 0 0 1px rgba(150, 215, 255, .24); }
.pico--verdebling { box-shadow: inset 0 0 0 1px rgba(127, 221, 88, .26); }
.pico--branco { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.nv-acc--pedidos.is-leitor small::before, .nv-acc--pedidos.is-admin small::before { background: #7dd3fc; }
.nv-acc--tiktok.is-leitor small::before, .nv-acc--tiktok.is-admin small::before { background: #fffffe; box-shadow: 0 0 0 1px rgba(0,0,0,.25); }
.nv-acc--bling.is-leitor small::before, .nv-acc--bling.is-admin small::before { background: #7fdd58; }

/* Cards das plataformas: borda de "metal líquido" girando, só na cor do card.
   Otimizado (14/11): o degradê fica parado numa camada que gira inteira (transform, feito pela placa de vídeo),
   em vez de redesenhar o degradê a cada quadro. Mesmo visual. */
.nv-plat__card { position: relative; }
.nv-plat__card > .pico { z-index: 1; }
.nv-anel { position: absolute; inset: 0; pointer-events: none; padding: 1.8px; z-index: 6; overflow: hidden;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.nv-anel::before { content: ''; position: absolute; left: 50%; top: 50%; width: 220%; aspect-ratio: 1; translate: -50% -50%; will-change: transform;
  background: conic-gradient(rgba(var(--tom), 1) 0deg, rgba(var(--tom), .18) 50deg, rgba(var(--tom), .85) 100deg, rgba(var(--tom), .08) 160deg,
    rgba(var(--tom), 1) 210deg, rgba(var(--tom), .22) 270deg, rgba(var(--tom), .9) 320deg, rgba(var(--tom), 1) 360deg);
  animation: nv-anel-gira 8s linear infinite; }
.nv-brilho { position: absolute; inset: -3px; z-index: 0; pointer-events: none; filter: blur(14px); opacity: .85; }
.nv-brilho .nv-anel { padding: 7px; z-index: 0; }
@keyframes nv-anel-gira { to { rotate: 360deg; } }
.nv-plat .pico { box-shadow: inset 0 0 0 1px rgba(var(--tom), .22), 0 0 26px rgba(var(--tom), .28), 0 0 70px rgba(var(--tom), .12) !important; }
.nv-plat:hover .nv-brilho { opacity: 1; filter: blur(18px); }
@media (prefers-reduced-motion: reduce) { .nv-anel::before { animation: none; } }
/* descrição dos cards em uma linha só */
.nv-plat__info { max-width: 100%; }
.nv-plat__info small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.nv-plat__info { width: 0; min-width: 100%; }

/* ===== Lista de alunos: coluna WhatsApp (13/11) ===== */
.nv-table--alunos td:nth-child(2), .nv-table--alunos td:nth-child(3), .nv-table--alunos td:nth-child(5), .nv-table--alunos td:nth-child(6) { white-space: nowrap; }
.nv-table--alunos td:nth-child(4) { white-space: normal; }
.nv-table--alunos td:nth-child(5) { text-align: left; }
.nv-table--alunos td:nth-child(6) { text-align: right; }
.nv-zap { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: inherit; text-decoration: none; padding: 4px 10px; border-radius: 999px; background: rgba(37, 211, 102, .12); box-shadow: inset 0 0 0 1px rgba(37, 211, 102, .35); white-space: nowrap; }
.nv-zap svg { color: #25D366; flex: none; }
.nv-zap:hover { background: rgba(37, 211, 102, .22); }

/* ===== Tela de entrada: logos dos canais em órbita + efeitos (13/11) ===== */
.nv-orbita { display: none; }
@media (min-width: 1024px) {
  .nv-auth--orbita { display: grid !important; grid-template-columns: 1fr 1fr; place-items: stretch; }
  .nv-auth--orbita .nv-orbita { display: block; position: relative; min-height: 100dvh; overflow: hidden; }
  .nv-auth--orbita .nv-login { grid-column: 2; }
}

/* brilho que segue o mouse nos campos */
.nv-campoluz { border-radius: 18px; padding: 2px; margin: -2px;
  background: radial-gradient(var(--gr, 0px) circle at var(--mx, 50%) var(--my, 50%), #db7241, transparent 80%); }
.nv-campoluz > .nv-grupo, .nv-campoluz > .input { position: relative; }
.nv-field .nv-campoluz { border-radius: 16px; }

/* entrada com faixa ("revelar") */
.nv-rev.nv-rev { position: relative; overflow: hidden !important; animation: nvRevSobe .5s cubic-bezier(.2, .8, .2, 1) calc(var(--rd, 0s) + .2s) both; }
.nv-rev__caixa { position: absolute; top: 4px; bottom: 4px; left: 0; right: 0; z-index: 20; border-radius: 4px; background: #db7241; pointer-events: none;
  animation: nvRevCaixa .5s ease-in var(--rd, 0s) both; }
@keyframes nvRevSobe { from { opacity: 0; transform: translateY(28px); } }
@keyframes nvRevCaixa { from { transform: translateX(0); } to { transform: translateX(101%); } }

/* linha de luz embaixo do botão */
.nv-login__entrar { position: relative; overflow: visible; }
.nv-btnluz { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; opacity: 0; transition: opacity .5s; pointer-events: none;
  background: linear-gradient(90deg, transparent, #f7b596, transparent); }
.nv-btnluz--2 { left: 25%; right: 25%; filter: blur(3px); height: 2px; background: linear-gradient(90deg, transparent, #db7241, transparent); }
.nv-login__entrar:hover .nv-btnluz { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
}

/* ===== Tela de entrada v2: globo no centro, fundo preto/branco com um pouco de vermelho ===== */
.app.nv-auth.nv-auth--orbita, [data-theme=light] .app.nv-auth.nv-auth--orbita, [data-theme=dark] .app.nv-auth.nv-auth--orbita {
  background:
    radial-gradient(900px 640px at 18% 22%, rgba(255, 255, 255, .13), transparent 62%),
    radial-gradient(760px 520px at 88% 92%, rgba(219, 114, 65, .30), transparent 62%),
    radial-gradient(520px 420px at 62% 8%, rgba(219, 114, 65, .10), transparent 70%),
    linear-gradient(140deg, #000 0%, #0e0e0f 42%, #1c1c1e 58%, #050505 100%) !important; }
.nv-auth--orbita .nv-login__marca { display: flex; }

/* ===== Órbita v3: linhas visíveis (cada logo anda em cima da sua linha) + logos em vidro ===== */

/* ===== Órbita v4: movimento 3D (camadas em profundidade + inclinação com o mouse) ===== */
.nv-auth--orbita .nv-orbita { perspective: 1100px; perspective-origin: 50% 50%; }

/* ===== Órbita v5: cena 3D de verdade (logos passam por trás e pela frente do globo) ===== */
.nv-auth--orbita .nv-orbita { cursor: grab; touch-action: none; user-select: none; }
.nv-auth--orbita .nv-orbita.is-arrastando { cursor: grabbing; }

/* ===== Tela de entrada (estado final 14/11, versões v6 a v9 consolidadas) =====
   Fundo parado: misto de preto com vermelho e branco. Globo à esquerda com grade de bolinhas (.nv-pontos),
   frase "No pain. No gain" e borda de metal líquido prata (assets/js/metal-liquido.js) no card e no botão Entrar. */
.app.nv-auth.nv-auth--grad, [data-theme=light] .app.nv-auth.nv-auth--grad, [data-theme=dark] .app.nv-auth.nv-auth--grad {
  position: relative; isolation: isolate;
  background:
    radial-gradient(900px 640px at 18% 22%, rgba(255, 255, 255, .13), transparent 62%),
    radial-gradient(760px 520px at 88% 92%, rgba(219, 114, 65, .30), transparent 62%),
    radial-gradient(520px 420px at 62% 8%, rgba(219, 114, 65, .10), transparent 70%),
    linear-gradient(140deg, #000 0%, #0e0e0f 42%, #1c1c1e 58%, #050505 100%) !important;
  background-attachment: fixed !important; }
.nv-auth--grad .nv-login { position: relative; z-index: 2; }
.nv-auth--grad .nv-login__marca { display: flex; }
.nv-auth--grad .nv-orbita { z-index: 1; background: transparent; }
.nv-pontos { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; z-index: 0; }
.nv-orbita__frase { position: absolute; left: 0; right: 0; top: clamp(28px, 7vh, 72px); z-index: 2; margin: 0; text-align: center; pointer-events: none;
  font-family: 'Satoshi', var(--font); font-weight: 900; font-size: clamp(34px, 3.4vw, 54px); line-height: 1; letter-spacing: -.02em; color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .6); }
.nv-orbita__frase span { color: #db6c38; }
/* metal líquido: o shader preenche a camada e a máscara deixa só a borda de 2px */
.nv-metal { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .8s ease; }
.is-metal > .nv-metal { opacity: 1; }
.nv-metal__aro { position: absolute; inset: 0; border-radius: inherit; padding: 2px; overflow: hidden;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.nv-metal__tela { position: absolute; inset: 0; display: block; filter: saturate(.55) brightness(1.45) contrast(.92); }
.nv-metal__tela canvas { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; display: block !important; }
.nv-metal--card { z-index: 6; filter: drop-shadow(0 0 6px rgba(235, 238, 245, .45)) drop-shadow(0 0 18px rgba(200, 205, 215, .22)); }
.nv-login__card--metal { position: relative; }
.nv-login__card--metal.is-metal { box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 30px 70px -30px rgba(0,0,0,.75) !important; }
.nv-login__entrar--metal { position: relative; isolation: isolate; }
.nv-metal--btn { z-index: 2; filter: drop-shadow(0 0 5px rgba(235, 238, 245, .35)); }
.nv-login__entrar--metal.is-metal { box-shadow: 0 10px 28px -10px rgba(0, 0, 0, .7) !important; }

/* ===== Personalizar (14/11): blocos, ocultos, menu, construtor de painéis ===== */
.nv-nav-pers { width: 100%; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; margin-top: 6px; }
.nv-nav-pers .ico { color: var(--accent); }
html.is-pers .nv-nav-pers { background: var(--accent-soft); color: var(--accent-text); }
.nv-bloco { display: flex; flex-direction: column; gap: 8px; padding: 2px 0 12px; }
.nv-bloco__acoes { display: flex; gap: 6px; flex-wrap: wrap; }
.nv-bloco__acoes .btn { flex: 1; justify-content: center; }
.nv-bloco__txt { margin: 0; }
.nv-bloco__txt > span { font-size: 12px; }
.nv-bloco__dica { color: var(--muted); font-size: 11.5px; }
.input--sm { height: 38px; font-size: 13.5px; }
.nv-ocultos { display: flex; flex-direction: column; gap: 6px; }
.nv-ocultos__item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); }
.nv-ocultos__item > span { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.nv-ocultos__item b { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nv-ocultos__item .ico { color: var(--muted); flex: none; }
.nv-menupers { display: flex; flex-direction: column; gap: 6px; }
.nv-menuped { display: flex; align-items: center; gap: 6px; padding: 7px 8px 7px 12px; border-radius: 12px; background: var(--surface-2); }
.nv-menuped__nome { flex: 1; display: inline-flex; align-items: center; gap: 9px; font-weight: 700; min-width: 0; }
.nv-menuped.is-off .nv-menuped__nome { opacity: .45; text-decoration: line-through; }
.nv-menuped.is-fixo { opacity: .7; } .nv-menuped.is-fixo small { color: var(--muted); padding-right: 6px; }
.nv-modal__box--largo { width: min(980px, calc(100vw - 24px)) !important; max-width: none !important; }
.nv-construtor { display: grid; grid-template-columns: minmax(0, 330px) minmax(0, 1fr); gap: 18px; align-items: start; }
.nv-construtor__campos { display: flex; flex-direction: column; gap: 10px; }
.nv-construtor__campos .nv-field { margin: 0; }
.nv-construtor__previa > small { display: block; color: var(--muted); font-weight: 700; font-size: 12px; margin-bottom: 6px; }
.nv-construtor__previa .card { min-height: 260px; }
@media (width <= 760px) { .nv-construtor { grid-template-columns: 1fr; } }
.nv-tipos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.nv-tipo { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px; border-radius: 12px; border: 0; cursor: pointer; font: 700 12px var(--font); color: var(--ink); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.nv-tipo[aria-checked="true"] { background: var(--accent-soft); color: var(--accent-text); box-shadow: inset 0 0 0 1.5px var(--accent); }
.nv-persbar .badge { margin-left: 4px; }
/* avisos: excluir */
.nv-av__excluir { opacity: .45; } .nv-av:hover .nv-av__excluir { opacity: 1; }
.nv-av__excluir:hover { color: var(--bad, #da7e53); }
.nv-av.is-saindo { opacity: 0; transform: translateX(16px); transition: opacity .2s, transform .2s; }
/* e-mails: caixa e excluir */
.nv-email__caixa { font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 99px; background: var(--surface-3); color: var(--muted); }
[data-caixa="vendas"] .nv-email__caixa { background: color-mix(in srgb, #1f6bff 16%, transparent); color: #6d9bff; }
.nv-email__excluir:hover { color: var(--bad, #da7e53); }
/* Produtos (Central): nome longo quebra em duas linhas em vez de cortar */
.nv-pay__name { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.25; overflow-wrap: anywhere; }
/* pizza de pagamentos */
.nv-pay--sob-pizza { margin-top: 12px; }
.nv-pay--sob-pizza .meter { display: none; }
.nv-pizza-card .nvpp-rosca { padding: 6px 0 4px; }
/* Prêmios (placas de faturamento, estilo Utmify) */
.nv-premio { display: inline-grid; grid-template-columns: auto auto; align-items: center; gap: 3px 16px; margin-left: 14px; padding: 7px 14px 9px; min-width: 236px;
  border-radius: 14px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); cursor: help; }
.nv-premio[hidden] { display: none; }
.nv-premio__rot { display: inline-flex; align-items: center; gap: 6px; color: #3d7bff; font-weight: 800; font-size: 13.5px; }
.nv-premio__rot .ico { width: 18px; height: 18px; } .nv-premio__rot .ico--sm { width: 14px; height: 14px; color: var(--muted); }
.nv-premio__val { font-weight: 800; font-size: 13.5px; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.nv-premio__val em { font-style: normal; color: var(--muted); font-weight: 700; }
.nv-premio__barra { grid-column: 1 / -1; height: 7px; border-radius: 7px; background: color-mix(in srgb, var(--ink) 10%, transparent); overflow: hidden; }
.nv-premio__barra i { display: block; height: 100%; border-radius: 7px; transform-origin: left; background: linear-gradient(90deg, #2f6bff, #6fa0ff); transition: transform .9s var(--ease); }
@media (width <= 1100px) { .nv-premio { min-width: 0; } .nv-premio__rot b { display: none; } }
@media (width <= 640px) { .nv-premio { display: none !important; } }
.head .nv-premio { flex: none; margin-left: 0; }
.head .head__search:not([hidden]) { flex: 0 1 420px; min-width: 0; }
.head .head__search span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }

/* ===== E-mails (14/11): escrever, enviados, automáticos e observação das caixas ===== */
.nv-caixas-obs { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: -6px 0 var(--gap); padding: 10px 14px; border-radius: 14px;
  background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; color: var(--muted); }
.nv-caixas-obs span { display: inline-flex; gap: 6px; align-items: baseline; }
.nv-caixas-obs b { color: var(--ink); font-weight: 800; }
.nv-caixas-obs span:first-child::before, .nv-caixas-obs span:last-child::before { content: ''; width: 8px; height: 8px; border-radius: 50%; align-self: center; flex: none; }
.nv-caixas-obs span:first-child::before { background: #9aa0aa; } .nv-caixas-obs span:last-child::before { background: #3d7bff; }
.nv-modal__box--medio { width: min(640px, calc(100vw - 24px)) !important; max-width: none !important; }
.nv-escrever { display: flex; flex-direction: column; gap: 12px; }
.nv-escrever .nv-field { margin: 0; }
.nv-escrever .seg { max-width: 100%; }
.nv-escrever__texto { height: auto; min-height: 180px; padding: 12px 14px; line-height: 1.5; resize: vertical; font: inherit; }
.nv-escrever__cit { padding: 10px 12px; border-left: 3px solid var(--line-2); background: var(--surface-2); border-radius: 0 10px 10px 0; }
.nv-escrever__cit small { color: var(--muted); font-weight: 700; } .nv-escrever__cit p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.nv-email__env { color: #3d7bff; background: color-mix(in srgb, #3d7bff 14%, transparent); }
.nv-email__env .ico { width: 16px; height: 16px; }
.nv-auto__topo { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; font-size: 13.5px; color: var(--muted); }
.nv-auto__topo b { color: var(--ink); } .nv-auto__todos { display: inline-flex; gap: 6px; }
.nv-auto { display: flex; flex-direction: column; gap: 8px; }
.nv-auto__item { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); transition: opacity .2s; }
.nv-auto__item:not(.is-on) { opacity: .62; }
.nv-auto__item.is-fixo { opacity: .85; }
.nv-auto__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.nv-auto__txt b { font-weight: 800; display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.nv-auto__txt small { color: var(--muted); font-size: 12.5px; line-height: 1.4; }
.nv-auto__meta { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 12px; color: var(--muted); margin-top: 2px; }
.nv-auto__acoes { display: flex; align-items: center; gap: 12px; flex: none; }
.nv-switch { position: relative; width: 44px; height: 26px; border-radius: 99px; border: 0; padding: 0; cursor: pointer; flex: none;
  background: color-mix(in srgb, var(--ink) 18%, transparent); transition: background .2s; }
.nv-switch i { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.3); transition: transform .22s cubic-bezier(.2,.8,.2,1); }
.nv-switch[aria-checked="true"] { background: #22a55a; }
.nv-switch[aria-checked="true"] i { transform: translateX(18px); }
.nv-switch:disabled { cursor: not-allowed; opacity: .55; }
.nv-switch:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (width <= 600px) { .nv-auto__item { flex-wrap: wrap; } .nv-auto__acoes { width: 100%; justify-content: flex-end; } }

/* ===== Modo de edição estilo Utmify (14/11): barra no topo, abas do bloco ===== */
.nv-persbar { top: 12px; bottom: auto; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 16px; width: min(1180px, calc(100vw - 24px));
  background: color-mix(in srgb, var(--panel) 92%, #1f3a8a 8%); box-shadow: inset 0 0 0 1px color-mix(in srgb, #3d7bff 45%, transparent), var(--shadow-lg); }
.nv-persbar__txt { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.nv-persbar__txt > .ico { width: 20px; height: 20px; color: #6d9bff; flex: none; }
.nv-persbar__txt > span { display: flex; flex-direction: column; min-width: 0; }
.nv-persbar__txt small { color: var(--muted); font-size: 12px; }
.nv-persbar__acoes { display: inline-flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
@media (width <= 760px) { .nv-persbar { top: auto; bottom: 84px; } .nv-persbar__txt small { display: none; } }
html.is-pers .head { visibility: hidden; }
@media (width <= 760px) { html.is-pers .head { visibility: visible; } }
.nv-abas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; margin: 2px 0 10px; border-radius: 12px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.nv-abas button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; background: none; color: var(--muted); font: 700 12.5px var(--font); padding: 8px 6px; border-radius: 9px; cursor: pointer; white-space: nowrap; }
.nv-abas button[aria-selected="true"] { background: var(--accent); color: var(--accent-ink, #fff); box-shadow: 0 4px 12px -6px var(--accent); }
.nv-bloco__dica--forte { color: var(--ink); font-size: 13px; line-height: 1.45; margin: 0; }
.nv-bloco .btn--primary { justify-content: center; }
/* preenchimento automático do navegador: mantém a cor do campo (sem o fundo branco/azul do Chrome) */
.nv-auth input:-webkit-autofill, .nv-auth input:-webkit-autofill:hover, .nv-auth input:-webkit-autofill:focus, .nv-auth input:autofill {
  -webkit-text-fill-color: var(--lg-ink, currentColor); caret-color: var(--lg-ink, currentColor);
  -webkit-box-shadow: 0 0 0 1000px transparent inset; box-shadow: 0 0 0 1000px transparent inset;
  transition: background-color 9999s ease-out 0s, color 9999s ease-out 0s; }

/* ===== Login: impressora térmica com a nota da venda (no lugar do globo) ===== */
@font-face { font-family: 'Space Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/spacemono-400.woff2) format('woff2'); }
.nv-impressora { --s: 1; position: absolute; left: 50%; top: calc(clamp(28px, 7vh, 72px) + clamp(34px, 3.4vw, 54px) + clamp(26px, 5vh, 56px));
  width: 404px; height: 840px; transform: translateX(-50%) scale(var(--s)); transform-origin: top center; z-index: 1; pointer-events: none; }
.nv-impressora__maq { position: absolute; left: 0; top: 0; width: 400px; height: 71.287px; z-index: 2; max-width: none; filter: drop-shadow(0 10px 18px rgba(0,0,0,.45)); }
.nv-impressora__janela { position: absolute; left: 34px; top: 43px; width: 328px; height: 790px; overflow: hidden; z-index: 1; }
.nv-impressora__papel { --p: 0; width: 328px; transform: translate3d(0, calc(-100% + var(--p) * 100%), 0);
  filter: drop-shadow(0 26px 20px rgba(0, 0, 0, .42)); backface-visibility: hidden; }
.nv-impressora__papel.is-descendo { will-change: transform; }
.nv-nota { width: 328px; color: #111; }
.nv-nota p { margin: 0; }
.nv-nota span { display: block; }
.nv-nota__corpo { background: #F2F0EA; padding: 32px 22px 10px; display: flex; flex-direction: column; gap: 10px; font-family: 'Space Mono', ui-monospace, monospace; }
.nv-nota__marca { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-align: center; }
.nv-nota__linha { height: 1px; background-image: repeating-linear-gradient(90deg, #111 0 5px, transparent 5px 10px); }
.nv-nota__foto { width: 178px; height: auto; margin: 0 auto; display: block; mix-blend-mode: multiply; }
.nv-nota__cols { display: flex; justify-content: space-between; gap: 12px; font-size: 8px; letter-spacing: .07em; line-height: 1.85; }
.nv-nota__cols .dir { text-align: right; }
.nv-nota__peq { font-size: 8px; letter-spacing: .07em; line-height: 1.85; }
.nv-nota__promo { display: flex; gap: 12px; }
.nv-nota__grande { font-size: 16px; font-weight: 700; line-height: 1.25; flex: 1; }
.nv-nota__lado { width: 132px; padding-left: 12px; border-left: 1px solid rgba(17,17,17,.25); display: flex; flex-direction: column; gap: 8px; }
.nv-nota__mini { font-size: 7px; letter-spacing: .07em; line-height: 1.6; color: #5b5b58; }
.nv-nota .nv-nota__botao { background: #111; color: #F2F0EA; font-size: 8px; font-weight: 700; letter-spacing: .09em; padding: 6px 9px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.nv-nota .nv-nota__botao span { display: inline; }
.nv-nota__barras { display: flex; align-items: flex-end; gap: 1px; height: 42px; }
.nv-nota .nv-nota__barras > span { display: block; height: 100%; flex: none; transform-origin: bottom center; transform: scaleY(var(--b)); }
.is-barras .nv-nota__barras > span { transform: scaleY(1); transition: transform .9s cubic-bezier(.22,.8,.3,1) calc(var(--i) / var(--n) * 500ms); }
.is-ja .nv-nota__barras > span { transition: none; }
.nv-nota__url { font-size: 7px; letter-spacing: .16em; text-align: center; }
.nv-nota__rasgo { display: block; }
.nv-auth--orbita .nv-orbita { cursor: default; touch-action: auto; user-select: auto; }

/* ===== Início: mapa de vendas (mapa-vendas.js) ===== */
.nv-mapa { position: relative; width: 100%; overflow: hidden; background: #0b0a0c; color: #f0edea; outline: none; user-select: none; touch-action: pan-y; cursor: grab; -webkit-tap-highlight-color: transparent; font-family: 'Satoshi', system-ui, sans-serif; }
.nv-mapa.is-arrastando { cursor: grabbing; }
.nv-mapa:focus-visible { box-shadow: inset 0 0 0 2px rgba(255,255,255,.5); }
.nv-mapa__cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.nv-mapa__mira { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; }
.nv-mapa__mira.is-on { opacity: 1; }
.nv-mapa__h { position: absolute; left: 0; right: 0; top: 0; height: 1px; background-image: linear-gradient(90deg, rgba(255,255,255,.22) 50%, transparent 50%); background-size: 6px 1px; }
.nv-mapa__v { position: absolute; top: 0; bottom: 0; left: 0; width: 1px; background-image: linear-gradient(180deg, rgba(255,255,255,.22) 50%, transparent 50%); background-size: 1px 6px; }
.nv-mapa__marcas { position: absolute; inset: 0; pointer-events: none; }
.nv-mapa__ponto { all: unset; position: absolute; left: 0; top: 0; width: 28px; height: 28px; display: grid; place-items: center; cursor: pointer; pointer-events: auto; }
.nv-mapa__pq { position: relative; width: 15px; height: 15px; display: grid; place-items: center; background: #0b0a0c; box-shadow: 0 0 0 1.5px #fff, 0 0 0 5px rgba(255,255,255,.08), 0 4px 12px rgba(0,0,0,.5); transition: background .2s; }
.nv-mapa__ponto.is-sel .nv-mapa__pq { background: #db6c38; }
.nv-mapa__ponto.is-sel .nv-mapa__pq svg * { fill: #0b0a0c; stroke: #0b0a0c; }
.nv-mapa__ponto.is-sel .nv-mapa__pq::after { content: ''; position: absolute; inset: -4px; border: 1.5px solid #f38f61; clip-path: polygon(0 0,35% 0,35% 1.5px,1.5px 1.5px,1.5px 35%,0 35%,0 65%,1.5px 65%,1.5px calc(100% - 1.5px),35% calc(100% - 1.5px),35% 100%,0 100%,0 0,100% 0,100% 35%,calc(100% - 1.5px) 35%,calc(100% - 1.5px) 1.5px,65% 1.5px,65% 0,100% 0,100% 100%,65% 100%,65% calc(100% - 1.5px),calc(100% - 1.5px) calc(100% - 1.5px),calc(100% - 1.5px) 65%,100% 65%,100% 100%); animation: nv-mapa-sel .35s cubic-bezier(.2,.9,.3,1.2); }
@keyframes nv-mapa-sel { from { transform: scale(1.8); opacity: 0; } }
.nv-mapa__ponto:focus-visible .nv-mapa__pq { box-shadow: 0 0 0 1.5px #fff, 0 0 0 4px rgba(255,255,255,.6); }
.nv-mapa__dica { position: absolute; left: 30px; top: 50%; margin-top: -10px; white-space: nowrap; border-radius: 5px; background: rgba(11,10,12,.9); padding: 3px 6px; font: 500 12px/1.4 'Satoshi', system-ui, sans-serif; letter-spacing: 0; color: rgba(255,255,255,.9); box-shadow: 0 0 0 1px rgba(255,255,255,.1); opacity: 0; transform: translateX(-4px); transition: opacity .16s, transform .16s; pointer-events: none; }
.nv-mapa__ponto:hover:not(.is-sel) .nv-mapa__dica { opacity: 1; transform: none; }
.nv-mapa__card { position: absolute; left: 0; top: 0; z-index: 10; width: 264px; max-width: calc(100% - 24px); padding: 14px; border-radius: 14px; background: rgba(19, 18, 17,.84); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 0 0 1px rgba(255,255,255,.09), 0 18px 40px -12px rgba(0,0,0,.7); opacity: 0; visibility: hidden; pointer-events: none; }
.nv-mapa__card.is-on { visibility: visible; pointer-events: auto; animation: nv-mapa-card .32s cubic-bezier(.2,.9,.3,1) forwards; }
@keyframes nv-mapa-card { from { opacity: 0; filter: blur(4px); margin-top: 6px; } to { opacity: 1; filter: none; margin-top: 0; } }
.nv-mapa__ctopo { display: flex; align-items: center; gap: 8px; font: 500 12px/1 'Satoshi', system-ui, sans-serif; color: rgba(255,255,255,.55); letter-spacing: 0; }
.nv-mapa__cc { margin-left: auto; text-transform: none; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.nv-mapa__x { all: unset; cursor: pointer; display: grid; place-items: center; width: 20px; height: 20px; margin-right: -4px; border-radius: 5px; color: rgba(255,255,255,.6); }
.nv-mapa__x:hover { background: rgba(255,255,255,.1); color: #fff; }
.nv-mapa__cnome { margin: 8px 0 0; font-size: 19px; font-weight: 700; line-height: 1.15; letter-spacing: -.02em; color: #fff; }
.nv-mapa__cdesc { margin: 4px 0 0; font-size: 13px; line-height: 1.45; color: rgba(255,255,255,.62); }
.nv-mapa__cat { margin-top: 12px; display: flex; align-items: center; gap: 10px; font: 500 12px/1 'Satoshi', system-ui, sans-serif; color: rgba(255,255,255,.5); }
.nv-mapa__cat b { color: rgba(255,255,255,.9); font-weight: 400; font-variant-numeric: tabular-nums; }
.nv-mapa__trilho { position: relative; flex: 1; height: 3px; border-radius: 99px; background: rgba(255,255,255,.1); overflow: hidden; }
.nv-mapa__trilho i { position: absolute; inset: 0 auto 0 0; width: var(--k); border-radius: 99px; animation: nv-mapa-barra .7s cubic-bezier(.2,.9,.3,1) .08s both; }
@keyframes nv-mapa-barra { from { width: 0; } }
.nv-mapa__filtros { position: absolute; left: 12px; bottom: 12px; padding: 8px; border-radius: 12px; background: rgba(14,11,13,.8); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
.nv-mapa__chips { display: flex; flex-wrap: wrap; gap: 4px; }
.nv-mapa__chips button { all: unset; cursor: pointer; display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 7px; font: 500 13px/1 'Satoshi', system-ui, sans-serif; color: rgba(255,255,255,.55); transition: color .15s, background .15s, box-shadow .15s; }
.nv-mapa__chips button:hover { color: rgba(255,255,255,.85); }
.nv-mapa__chips button[aria-checked="true"] { color: #fff; background: rgba(255,255,255,.09); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.nv-mapa__chips button:focus-visible { box-shadow: 0 0 0 2px rgba(255,255,255,.7); }
.nv-mapa__legenda { margin-top: 8px; padding: 0 4px 2px; }
.nv-mapa__barra { height: 4px; border-radius: 99px; }
.nv-mapa__rot { margin-top: 4px; display: flex; justify-content: space-between; font: 500 11px/1 'Satoshi', system-ui, sans-serif; color: rgba(255,255,255,.45); }
.nv-mapa__zoom { position: absolute; right: 12px; bottom: 12px; display: flex; flex-direction: column; overflow: hidden; border-radius: 10px; background: rgba(14,11,13,.8); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
.nv-mapa__zoom button { all: unset; cursor: pointer; display: grid; place-items: center; width: 32px; height: 32px; color: rgba(255,255,255,.7); }
.nv-mapa__zoom button + button { border-top: 1px solid rgba(255,255,255,.07); }
.nv-mapa__zoom button:hover, .nv-mapa__zoom button:focus-visible { background: rgba(255,255,255,.1); color: #fff; }
.nv-mapa__vazio { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); max-width: 340px; margin: 0; text-align: center; font-size: 13px; line-height: 1.5; color: rgba(255,255,255,.6); pointer-events: none; }
@media (max-width: 640px) { .nv-mapa__legenda { display: none; } }

/* bloco do mapa no Início (no lugar do hero) */
.nv-hub__mapa { position: relative; width: min(1320px, calc(100% - 48px)); margin: 0 auto; padding-top: 78px; }
.nv-hub .nv-hub__mapa ~ .nv-hub__cards { margin-top: 44px; }
.nv-hub__mapa-topo { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0 2px 12px; }
.nv-hub__mapa-topo h2 { margin: 0; font: 900 clamp(22px, 2.4vw, 30px)/1.1 'Satoshi', system-ui, sans-serif; letter-spacing: -.03em; color: #fff; }
.nv-hub__mapa-topo h2 span { color: #db6c38; }
.nv-hub__mapa-topo p { margin: 0; font-size: 13px; color: rgba(255,255,255,.55); }
.nv-hub__mapa .nv-mapa { height: clamp(330px, 52vh, 520px); border-radius: 22px; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 30px 60px -30px rgba(0,0,0,.8); }
@media (max-width: 760px) { .nv-hub__mapa { width: calc(100% - 32px); padding-top: 72px; } .nv-hub .nv-hub__mapa ~ .nv-hub__cards { margin-top: 36px; } }

/* tela de carregamento = boas-vindas (saudação que vira "magnata") */
.ld .ld-titulo { position: relative; z-index: 1; margin: 0; padding: 0 24px; text-align: center; text-shadow: 0 0 40px rgba(219, 108, 56,.18); }
/* "magnata" só ocupa espaço quando entra: a frase fica sempre no centro */
.ld .ld-titulo .ht-mag { max-width: 0; animation: ld-mag .55s cubic-bezier(.6,0,.3,1) forwards; }
@keyframes ld-mag { to { max-width: 14em; } }

/* mapa do Início: filtro recolhido (só o canal escolhido) + faturamento do mês embaixo · 14/11 */
.nv-mapa__filtros { display: flex; flex-direction: column; gap: 2px; min-width: 200px; padding: 6px; }
.nv-mapa__sel { all: unset; cursor: pointer; display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 10px; border-radius: 8px; font: 600 13px/1 'Satoshi', system-ui, sans-serif; color: #fff; background: rgba(255,255,255,.09); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.nv-mapa__sel:hover { background: rgba(255,255,255,.13); }
.nv-mapa__sel:focus-visible, .nv-mapa__total:focus-visible, .nv-mapa__menu button:focus-visible { box-shadow: 0 0 0 2px rgba(255,255,255,.7); }
.nv-mapa__selg:empty { display: none; }
.nv-mapa__chev { margin-left: auto; opacity: .7; transform: rotate(180deg); transition: transform .2s; }
.nv-mapa__sel[aria-expanded="true"] .nv-mapa__chev { transform: none; }
.nv-mapa__total { all: unset; cursor: pointer; display: grid; gap: 4px; padding: 8px 10px 6px; border-radius: 8px; }
.nv-mapa__total:hover { background: rgba(255,255,255,.05); }
.nv-mapa__total small { font: 500 11px/1 'Satoshi', system-ui, sans-serif; color: rgba(255,255,255,.5); }
.nv-mapa__total b { font: 700 21px/1.1 'Satoshi', system-ui, sans-serif; letter-spacing: -.02em; color: #fff; font-variant-numeric: tabular-nums; }
.nv-mapa__menu { position: absolute; left: 0; bottom: calc(100% + 8px); z-index: 12; min-width: 100%; width: max-content; display: grid; gap: 2px; padding: 6px; border-radius: 12px; background: rgba(19, 18, 17,.95); box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 18px 40px -12px rgba(0,0,0,.7); animation: nv-mapa-menu .18s cubic-bezier(.2,.9,.3,1); }
.nv-mapa__menu[hidden] { display: none; }
@keyframes nv-mapa-menu { from { opacity: 0; transform: translateY(6px); } }
.nv-mapa__menu button { all: unset; cursor: pointer; display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px; border-radius: 8px; font: 500 13px/1 'Satoshi', system-ui, sans-serif; color: rgba(255,255,255,.7); }
.nv-mapa__menu button:hover { background: rgba(255,255,255,.06); color: #fff; }
.nv-mapa__menu button[aria-checked="true"] { background: rgba(255,255,255,.09); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.nv-mapa__menu button b { margin-left: auto; padding-left: 22px; font-weight: 600; color: rgba(255,255,255,.92); font-variant-numeric: tabular-nums; }
.nv-mapa__mg { width: 8px; display: grid; place-items: center; }
.nv-mapa.is-menu .nv-mapa__card { opacity: 0 !important; pointer-events: none; }
/* mapa mais leve: sem desfoque por cima do desenho (o navegador refazia o desfoque a cada quadro) */
.nv-mapa__card, .nv-mapa__filtros, .nv-mapa__zoom { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.nv-mapa__card { background: rgba(19, 18, 17,.96); }
.nv-mapa__filtros, .nv-mapa__zoom { background: rgba(14,11,13,.94); }
@keyframes nv-mapa-card { from { opacity: 0; margin-top: 6px; } to { opacity: 1; margin-top: 0; } }

/* mapa do Início: aviso de venda nova + tela cheia com resumo · 14/11 */
.nv-hub__mapa-corpo { position: relative; }
.nv-hub__mapa-nova { position: absolute; top: 92px; left: 50%; z-index: 15; display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 99px; background: #db6c38; color: #fff; font: 600 13px/1 'Satoshi', system-ui, sans-serif; box-shadow: 0 10px 30px -8px rgba(219, 108, 56,.65); pointer-events: none; transform: translateX(-50%); white-space: nowrap; }
.nv-hub__mapa-nova[hidden] { display: none; }
.nv-hub__mapa-nova i { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: nv-vivo 1.4s ease-out infinite; }
.nv-hub__mapa-nova span { font-weight: 500; opacity: .88; }
.nv-hub__mapa-nova.is-on { animation: nv-nova .5s cubic-bezier(.2,.9,.3,1.2); }
@keyframes nv-nova { from { opacity: 0; transform: translate(-50%, -10px) scale(.92); } }
@keyframes nv-vivo { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.55); } 100% { box-shadow: 0 0 0 8px rgba(255,255,255,0); } }
.nv-cheia__topo[hidden], .nv-cheia__lado[hidden] { display: none !important; }

.nv-hub__mapa.is-cheia { position: fixed; inset: 0; z-index: 80; width: auto; margin: 0; padding: 0; display: flex; flex-direction: column; background: #060507; }
.nv-hub__mapa.is-cheia .nv-hub__mapa-nova { top: 86px; }
.nv-cheia__topo { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px 14px; }
.nv-cheia__topo h2 { margin: 0; font: 900 26px/1.1 'Satoshi', system-ui, sans-serif; letter-spacing: -.03em; color: #fff; }
.nv-cheia__topo h2 span { color: #db6c38; }
.nv-cheia__topo p { margin: 5px 0 0; display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,.55); }
.nv-cheia__vivo { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; animation: nv-vivo-v 2s ease-out infinite; }
@keyframes nv-vivo-v { 0% { box-shadow: 0 0 0 0 rgba(61,220,132,.55); } 100% { box-shadow: 0 0 0 8px rgba(61,220,132,0); } }
.nv-cheia__sair { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 10px; font: 600 13px/1 'Satoshi', system-ui, sans-serif; color: #fff; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.nv-cheia__sair:hover { background: rgba(255,255,255,.12); }
.nv-cheia__sair:focus-visible { box-shadow: 0 0 0 2px rgba(255,255,255,.7); }
.nv-cheia__sair kbd { font: 500 11px/1 'Satoshi', system-ui, sans-serif; padding: 3px 6px; border-radius: 5px; background: rgba(255,255,255,.1); color: rgba(255,255,255,.7); }
.nv-hub__mapa.is-cheia .nv-hub__mapa-corpo { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 16px; padding: 0 24px 24px; }
.nv-hub__mapa.is-cheia .nv-mapa { height: 100%; min-height: 0; }
.nv-cheia__lado { min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding-right: 4px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.15) transparent; font-family: 'Satoshi', system-ui, sans-serif; }
.nv-cheia__kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.nv-cheia__kpi, .nv-cheia__dest, .nv-cheia__ult, .nv-cheia__bloco { padding: 13px 14px; border-radius: 14px; background: #121014; box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); }
.nv-cheia__kpi { display: grid; gap: 7px; }
.nv-cheia__kpi.is-grande { grid-column: 1 / -1; background: linear-gradient(135deg, rgba(219, 108, 56,.24), rgba(219, 108, 56,.04) 60%), #121014; box-shadow: inset 0 0 0 1px rgba(219, 108, 56,.35); }
.nv-cheia__kpi small, .nv-cheia__dest small, .nv-cheia__ult small { font-size: 12px; font-weight: 500; color: rgba(255,255,255,.55); }
.nv-cheia__kpi b { font-size: 22px; line-height: 1; font-weight: 700; letter-spacing: -.02em; color: #fff; font-variant-numeric: tabular-nums; }
.nv-cheia__kpi.is-grande b { font-size: 32px; }
.nv-cheia__kpi b span { font-size: 14px; font-weight: 500; color: rgba(255,255,255,.4); }
.nv-cheia__dest, .nv-cheia__ult { display: grid; gap: 4px; }
.nv-cheia__dest b, .nv-cheia__ult b { font-size: 19px; line-height: 1.2; font-weight: 700; letter-spacing: -.01em; color: #fff; }
.nv-cheia__lado em { font-style: normal; font-size: .78em; font-weight: 700; color: #f28857; }
.nv-cheia__dest span, .nv-cheia__ult span { font-size: 13px; color: rgba(255,255,255,.62); }
.nv-cheia__lado .is-vazio { color: rgba(255,255,255,.4) !important; font-weight: 500 !important; font-size: 14px !important; }
.nv-cheia__bloco h3 { margin: 0 0 8px; font-size: 13px; font-weight: 700; color: rgba(255,255,255,.85); }
.nv-cheia__rank { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.nv-cheia__rank li { position: relative; display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 8px; font-size: 13px; color: rgba(255,255,255,.82); overflow: hidden; }
.nv-cheia__rank li > * { position: relative; z-index: 1; }
.nv-cheia__rank li > i { position: absolute; z-index: 0; left: 0; top: 0; bottom: 0; width: var(--k); border-radius: 8px; background: linear-gradient(90deg, rgba(219, 108, 56,.3), rgba(219, 108, 56,.07)); }
.nv-cheia__pos { width: 16px; flex: none; color: rgba(255,255,255,.4); font-variant-numeric: tabular-nums; }
.nv-cheia__nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nv-cheia__rank b { font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }
.nv-cheia__nota { margin: 2px 2px 0; font-size: 11.5px; line-height: 1.45; color: rgba(255,255,255,.4); }
html.nv-mapa-cheia .nv-hub__cards, html.nv-mapa-cheia .nv-hub__topo, html.nv-mapa-cheia .nv-hub__nada { visibility: hidden; }
html.nv-mapa-cheia .nv-hub { overflow: hidden; }
@media (max-width: 900px) {
  .nv-hub__mapa.is-cheia .nv-hub__mapa-corpo { grid-template-columns: 1fr; grid-template-rows: minmax(300px, 55vh) auto; overflow-y: auto; padding: 0 12px 16px; }
  .nv-cheia__topo { padding: 14px 12px 10px; } .nv-cheia__topo h2 { font-size: 20px; } .nv-cheia__sair kbd { display: none; }
  .nv-cheia__lado { overflow: visible; }
}

/* Agenda + sino no topo do Início · 14/11 */
.nv-hub__agenda span { font-size: inherit; }
.nv-hub__sino { position: relative; display: inline-grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 999px; cursor: pointer; color: #cfd2da; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); transition: background .15s, color .15s; }
.nv-hub__sino:hover { background: rgba(255,255,255,.12); color: #fff; }
.nv-hub__sino:focus-visible { outline: 2px solid rgba(255,255,255,.7); outline-offset: 2px; }
.nv-hub__sino.is-off { opacity: .55; }
.nv-hub__sino.is-off::after { content: ''; position: absolute; width: 20px; height: 1.6px; background: currentColor; transform: rotate(-45deg); border-radius: 2px; }
.nv-hub__sino.is-urgente .ico { animation: nv-sino 2.4s ease-in-out infinite; transform-origin: 50% 15%; }
@keyframes nv-sino { 0%, 70%, 100% { transform: rotate(0); } 74% { transform: rotate(14deg); } 80% { transform: rotate(-12deg); } 86% { transform: rotate(8deg); } 92% { transform: rotate(-4deg); } }
.nv-hub__sino-n { position: absolute; top: -3px; right: -3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; display: grid; place-items: center; background: #db6c38; color: #fff; font: 700 11px/1 Satoshi, sans-serif; box-shadow: 0 0 0 2px #050507; }
.nv-hub__sino-n[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .nv-hub__sino.is-urgente .ico { animation: none; } }

.nv-sino { position: fixed; z-index: 120; width: 340px; max-width: calc(100vw - 24px); padding: 12px; border-radius: 16px; background: #141116; color: #fff; font-family: Satoshi, system-ui, sans-serif; box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 24px 50px -16px rgba(0,0,0,.8); animation: nv-sino-in .18s cubic-bezier(.2,.9,.3,1); }
@keyframes nv-sino-in { from { opacity: 0; transform: translateY(-6px); } }
.nv-sino__topo { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 2px 4px 10px; font-size: 14px; }
.nv-sino__ag { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 8px; font-size: 12.5px; font-weight: 600; color: #fff; background: rgba(255,255,255,.08); }
.nv-sino__ag:hover { background: rgba(255,255,255,.14); }
.nv-sino__lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; max-height: 300px; overflow: auto; }
.nv-sino__lista li { display: flex; gap: 10px; align-items: flex-start; padding: 9px 10px; border-radius: 10px; background: rgba(255,255,255,.04); }
.nv-sino__lista li i { flex: none; width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: rgba(255,255,255,.35); }
.nv-sino__lista li.is-perto i { background: #db6c38; box-shadow: 0 0 0 3px rgba(219, 108, 56,.25); }
.nv-sino__lista li span { display: grid; gap: 3px; min-width: 0; }
.nv-sino__lista b { font-size: 13.5px; font-weight: 600; overflow-wrap: anywhere; }
.nv-sino__lista small { font-size: 12px; color: rgba(255,255,255,.55); }
.nv-sino__lista li.is-vazio { display: block; color: rgba(255,255,255,.5); font-size: 13px; background: none; }
.nv-sino__chave { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 10px 4px 2px; border-top: 1px solid rgba(255,255,255,.08); cursor: pointer; }
.nv-sino__chave span { flex: 1; display: grid; gap: 3px; font-size: 13px; font-weight: 600; }
.nv-sino__chave small { font-size: 11.5px; font-weight: 400; color: rgba(255,255,255,.5); }
.nv-sino__chave input { position: absolute; opacity: 0; pointer-events: none; }
.nv-sino__chave i { position: relative; flex: none; width: 36px; height: 20px; border-radius: 99px; background: rgba(255,255,255,.18); transition: background .2s; }
.nv-sino__chave i::after { content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; }
.nv-sino__chave input:checked + i { background: #db6c38; }
.nv-sino__chave input:checked + i::after { transform: translateX(16px); }
.nv-sino__chave input:focus-visible + i { outline: 2px solid rgba(255,255,255,.7); outline-offset: 2px; }

.nv-modal--agenda .nv-modal__box { width: min(620px, 100%); }
.nv-ag__linha { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.nv-ag__check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.nv-ag__check input { margin-top: 3px; accent-color: var(--accent); width: 16px; height: 16px; }
.nv-ag__check span { display: grid; gap: 2px; }
.nv-ag__check small { font-weight: 400; color: var(--muted); }
.nv-ag__info { display: flex; align-items: center; gap: 6px; margin: 0; }
.nv-ag__botoes { display: flex; flex-wrap: wrap; gap: 8px; }
.nv-ag__listas { display: flex; flex-direction: column; gap: 10px; padding-top: 6px; border-top: 1px solid var(--line); }
.nv-ag__dia h4 { margin: 4px 0 6px; font-size: var(--fs-sm); font-weight: 700; color: var(--muted); }
.nv-ag__dia ul, .nv-ag__pass ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.nv-ag__item { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line); }
.nv-ag__item.is-perto { box-shadow: inset 3px 0 0 var(--accent), inset 0 0 0 1px var(--line); }
.nv-ag__item.is-passado { opacity: .6; }
.nv-ag__hora b { display: inline-block; min-width: 46px; font-size: var(--fs-sm); font-variant-numeric: tabular-nums; color: var(--ink); }
.nv-ag__txt { flex: 1; min-width: 0; display: grid; gap: 3px; }
.nv-ag__txt b { color: var(--ink); overflow-wrap: anywhere; }
.nv-ag__txt p { margin: 0; font-size: var(--fs-sm); color: var(--muted); white-space: pre-wrap; overflow-wrap: anywhere; }
.nv-ag__txt small { font-size: var(--fs-xs); color: var(--muted); }
.nv-ag__eq { color: var(--accent-text); font-weight: 600; }
.nv-ag__acoes { display: flex; gap: 2px; }
.nv-ag__pass summary { cursor: pointer; font-size: var(--fs-sm); font-weight: 600; color: var(--muted); padding: 4px 0 8px; }
@media (max-width: 760px) { .nv-hub__agenda span { display: none; } }

/* Início: botão Menu (três tracinhos) + menu lateral à direita · 14/11 */
.nv-hub__menu { position: relative; }
.nv-hub__menu.is-urgente .ico { animation: nv-sino 2.4s ease-in-out infinite; transform-origin: 50% 50%; }
.nv-hub__menu-n { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; display: grid; place-items: center; background: #db6c38; color: #fff; font: 700 11px/1 Satoshi, sans-serif !important; box-shadow: 0 0 0 2px #050507; }
.nv-hub__menu-n[hidden] { display: none; }
.nv-gaveta { position: fixed; inset: 0; z-index: 95; }
.nv-gaveta__fundo { position: absolute; inset: 0; background: rgba(0,0,0,.55); opacity: 0; transition: opacity .2s; }
.nv-gaveta__painel { position: absolute; top: 0; right: 0; bottom: 0; width: min(360px, 100vw); display: flex; flex-direction: column; background: #0f0d10; color: #fff; font-family: Satoshi, system-ui, sans-serif; box-shadow: -1px 0 0 rgba(255,255,255,.08), -30px 0 60px -20px rgba(0,0,0,.8); transform: translateX(100%); transition: transform .22s cubic-bezier(.2,.9,.3,1); }
.nv-gaveta.is-on .nv-gaveta__fundo { opacity: 1; }
.nv-gaveta.is-on .nv-gaveta__painel { transform: none; }
.nv-gaveta__topo { display: flex; align-items: center; justify-content: space-between; padding: 18px 18px 10px; font-size: 16px; }
.nv-gaveta__x { all: unset; cursor: pointer; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: rgba(255,255,255,.7); }
.nv-gaveta__x:hover, .nv-gaveta__x:focus-visible { background: rgba(255,255,255,.1); color: #fff; }
.nv-gaveta__corpo { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; padding: 4px 14px 18px; }
.nv-gaveta__eu { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: rgba(255,255,255,.05); }
.nv-gaveta__eu span { display: grid; gap: 2px; min-width: 0; }
.nv-gaveta__eu b { font-size: 14px; }
.nv-gaveta__eu small { font-size: 12px; color: rgba(255,255,255,.55); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nv-gaveta__itens { display: grid; gap: 4px; }
.nv-gaveta__itens > a, .nv-gaveta__itens > button { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 12px; border-radius: 12px; color: #fff; text-decoration: none; transition: background .15s; }
.nv-gaveta__itens > *:hover, .nv-gaveta__itens > *:focus-visible { background: rgba(255,255,255,.08); }
.nv-gaveta__itens > *:focus-visible { outline: 2px solid rgba(255,255,255,.6); outline-offset: -2px; }
.nv-gaveta__itens .ico { flex: none; color: rgba(255,255,255,.75); }
.nv-gaveta__itens span { flex: 1; display: grid; gap: 2px; min-width: 0; }
.nv-gaveta__itens b { font-size: 14px; font-weight: 600; }
.nv-gaveta__itens small { font-size: 12px; color: rgba(255,255,255,.5); }
.nv-gaveta__itens em { font-style: normal; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; display: grid; place-items: center; background: #db6c38; font-size: 11px; font-weight: 700; }
.nv-gaveta__avisos { padding: 12px; border-radius: 14px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.nv-gaveta__avisos h3 { margin: 0 0 8px; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: rgba(255,255,255,.85); }
.nv-gaveta__avisos ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.nv-gaveta__avisos li { display: flex; gap: 10px; align-items: flex-start; padding: 8px 8px; border-radius: 10px; background: rgba(255,255,255,.04); }
.nv-gaveta__avisos li i { flex: none; width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: rgba(255,255,255,.35); }
.nv-gaveta__avisos li.is-perto i { background: #db6c38; box-shadow: 0 0 0 3px rgba(219, 108, 56,.25); }
.nv-gaveta__avisos li span { display: grid; gap: 3px; min-width: 0; }
.nv-gaveta__avisos li b { font-size: 13.5px; font-weight: 600; overflow-wrap: anywhere; }
.nv-gaveta__avisos li small { font-size: 12px; color: rgba(255,255,255,.55); }
.nv-gaveta__avisos li.is-vazio { display: block; background: none; font-size: 13px; color: rgba(255,255,255,.5); padding: 4px 2px; }
.nv-gaveta__sair { all: unset; cursor: pointer; display: flex; align-items: center; gap: 10px; margin-top: auto; padding: 11px 12px; border-radius: 12px; font-size: 14px; font-weight: 600; color: #f5a078; }
.nv-gaveta__sair:hover, .nv-gaveta__sair:focus-visible { background: rgba(219, 108, 56,.12); }
@media (prefers-reduced-motion: reduce) { .nv-gaveta__painel, .nv-gaveta__fundo { transition: none; } .nv-hub__menu.is-urgente .ico { animation: none; } }

/* Assistente IA (ChatGPT): botão redondo no canto inferior direito + janela de conversa · 14/11 */
.nv-ia-btn { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 54px; height: 54px; border: 0; border-radius: 50%; cursor: pointer; display: grid; place-items: center; color: #fff; background: radial-gradient(circle at 30% 25%, #f28857, #b85222 60%, #753213); box-shadow: 0 0 0 1px rgba(255,255,255,.15), 0 12px 30px -8px rgba(219, 108, 56,.7); transition: transform .18s, box-shadow .18s; }
.nv-ia-btn:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 0 0 1px rgba(255,255,255,.25), 0 16px 36px -8px rgba(219, 108, 56,.85); }
.nv-ia-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.nv-ia-btn.is-on { transform: rotate(18deg); }
html.nv-mapa-cheia .nv-ia-btn { display: none; }
.nv-ia { position: fixed; right: 22px; bottom: 88px; z-index: 91; width: min(400px, calc(100vw - 24px)); height: min(600px, calc(100dvh - 110px)); display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: #110e12; color: #fff; font-family: Satoshi, system-ui, sans-serif; box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 30px 70px -20px rgba(0,0,0,.85); animation: nv-ia-in .22s cubic-bezier(.2,.9,.3,1); }
@keyframes nv-ia-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.nv-ia__topo { display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 14px; border-bottom: 1px solid rgba(255,255,255,.07); }
.nv-ia__logo { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, #db6c38, #843a18); }
.nv-ia__logo svg { width: 18px; height: 18px; }
.nv-ia__topo div { flex: 1; display: grid; gap: 1px; }
.nv-ia__topo b { font-size: 14.5px; }
.nv-ia__topo small { font-size: 11.5px; color: rgba(255,255,255,.5); }
.nv-ia__b { all: unset; cursor: pointer; width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; color: rgba(255,255,255,.7); }
.nv-ia__b:hover, .nv-ia__b:focus-visible { background: rgba(255,255,255,.1); color: #fff; }
.nv-ia__msgs { flex: 1; min-height: 0; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.15) transparent; }
.nv-ia__m { max-width: 88%; padding: 10px 12px; border-radius: 14px; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.nv-ia__m p { margin: 0 0 8px; } .nv-ia__m p:last-of-type { margin-bottom: 0; }
.nv-ia__m ul { margin: 0 0 8px; padding-left: 18px; } .nv-ia__m li { margin: 2px 0; }
.nv-ia__m code { font-size: 12.5px; padding: 1px 5px; border-radius: 5px; background: rgba(255,255,255,.1); }
.nv-ia__m--eu { align-self: flex-end; background: #db6c38; border-bottom-right-radius: 4px; }
.nv-ia__m--ia { align-self: flex-start; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); border-bottom-left-radius: 4px; }
.nv-ia__m--erro { align-self: stretch; max-width: none; background: rgba(219, 108, 56,.12); box-shadow: inset 0 0 0 1px rgba(219, 108, 56,.4); color: #f9c7b0; font-size: 13px; }
.nv-ia__copiar { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; padding: 3px 8px; border-radius: 7px; font-size: 11.5px; color: rgba(255,255,255,.6); background: rgba(255,255,255,.06); }
.nv-ia__copiar:hover { color: #fff; background: rgba(255,255,255,.12); }
.nv-ia__digitando { display: flex; gap: 4px; padding: 13px 14px; }
.nv-ia__digitando i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.6); animation: nv-ia-dig 1s infinite ease-in-out; }
.nv-ia__digitando i:nth-child(2) { animation-delay: .15s; } .nv-ia__digitando i:nth-child(3) { animation-delay: .3s; }
@keyframes nv-ia-dig { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.nv-ia__vazio { margin: auto 0; display: grid; justify-items: center; gap: 6px; text-align: center; color: rgba(255,255,255,.6); padding: 10px; }
.nv-ia__vazio > svg { width: 34px; height: 34px; color: #f28857; }
.nv-ia__vazio b { color: #fff; font-size: 16px; }
.nv-ia__vazio p { margin: 0 0 6px; font-size: 13px; line-height: 1.5; }
.nv-ia__sug { display: grid; gap: 6px; width: 100%; }
.nv-ia__sug button { all: unset; cursor: pointer; padding: 9px 12px; border-radius: 10px; font-size: 13px; text-align: left; color: rgba(255,255,255,.85); background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.nv-ia__sug button:hover, .nv-ia__sug button:focus-visible { background: rgba(255,255,255,.1); color: #fff; }
.nv-ia__form { display: flex; align-items: flex-end; gap: 8px; padding: 10px; border-top: 1px solid rgba(255,255,255,.07); }
.nv-ia__form textarea { flex: 1; resize: none; min-height: 40px; max-height: 140px; padding: 10px 12px; border: 0; border-radius: 12px; font: 14px/1.4 Satoshi, system-ui, sans-serif; color: #fff; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); outline: none; }
.nv-ia__form textarea:focus { box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.nv-ia__enviar { flex: none; width: 40px; height: 40px; border: 0; border-radius: 12px; cursor: pointer; display: grid; place-items: center; color: #fff; background: #db6c38; }
.nv-ia__enviar:hover { background: #f17f4b; }
@media (prefers-reduced-motion: reduce) { .nv-ia, .nv-ia-btn, .nv-ia__digitando i { animation: none; transition: none; } }

/* Jarvis: botão no topo do Início + tela cheia com o orbe (orbloom), nas cores da NextViral, claro e escuro · 14/11 */
.nv-hub__jarvis { gap: 9px; }
.nv-hub__jv-dot { width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f8e9d6, #db6c38 45%, #251a0d 82%); box-shadow: 0 0 10px rgba(219, 108, 56,.8); }
html.nv-jv-on .nv-hub, html.nv-jv-on .nv-ia-btn { visibility: hidden; }
.nv-jv { --jv-ink: #f5f2ef; --jv-mut: rgba(245, 242, 239,.58); --jv-line: rgba(255,255,255,.12); --jv-chip: rgba(255,255,255,.06);
  position: fixed; inset: 0; z-index: 160; display: flex; flex-direction: column; overflow: hidden; color: var(--jv-ink); font-family: Satoshi, system-ui, sans-serif;
  background:
    radial-gradient(42% 36% at 38% 34%, oklch(0.63 0.21 28 / .22), transparent 70%),
    linear-gradient(118deg, transparent 38%, oklch(0.7 0.17 35 / .06) 50%, transparent 62%),
    radial-gradient(34% 30% at 78% 82%, oklch(0.6 0.12 20 / .1), transparent 72%),
    radial-gradient(120% 100% at 50% 45%, oklch(0.17 0.05 22), oklch(0.11 0.025 20) 55%, oklch(0.06 0.01 20) 100%);
  animation: nv-jv-in .3s ease both; }
.nv-jv.is-claro { --jv-ink: #1c1915; --jv-mut: rgba(28, 25, 21,.6); --jv-line: rgba(28, 25, 21,.14); --jv-chip: rgba(28, 25, 21,.05);
  background:
    radial-gradient(42% 36% at 38% 34%, oklch(0.75 0.15 28 / .22), transparent 70%),
    radial-gradient(34% 30% at 78% 82%, oklch(0.8 0.08 20 / .25), transparent 72%),
    radial-gradient(120% 100% at 50% 45%, #fefcfa, #f5f2ee 60%, #eae5de 100%); }
@keyframes nv-jv-in { from { opacity: 0; } }
.nv-jv__grao { position: absolute; inset: 0; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.nv-jv.is-claro .nv-jv__grao { opacity: .05; mix-blend-mode: multiply; }
.nv-jv__topo { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 20px 24px; }
.nv-jv__marca { flex: 1; min-width: 160px; display: grid; gap: 2px; }
.nv-jv__marca b { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.nv-jv__marca b::after { content: '.'; color: #db6c38; }
.nv-jv__marca small { font-size: 12.5px; color: var(--jv-mut); }
.nv-jv__voz { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--jv-mut); }
.nv-jv__voz select { max-width: 220px; height: 36px; padding: 0 10px; border-radius: 10px; border: 0; color: var(--jv-ink); background: var(--jv-chip); box-shadow: inset 0 0 0 1px var(--jv-line); font: 13px Satoshi, system-ui, sans-serif; }
.nv-jv__voz select option { color: #1c1915; background: #fff; }
.nv-jv__cont { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--jv-mut); cursor: pointer; }
.nv-jv__cont input { accent-color: #db6c38; width: 16px; height: 16px; }
.nv-jv__x { all: unset; cursor: pointer; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: var(--jv-ink); background: var(--jv-chip); box-shadow: inset 0 0 0 1px var(--jv-line); }
.nv-jv__x:hover, .nv-jv__x:focus-visible { background: rgba(219, 108, 56,.15); }
.nv-jv__x:focus-visible, .nv-jv__voz select:focus-visible { outline: 2px solid #db6c38; outline-offset: 2px; }
.nv-jv__palco { position: relative; z-index: 1; flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 1.25rem; text-align: center; }
.nv-jv__orbbtn { all: unset; cursor: pointer; border-radius: 50%; transition: transform .25s; }
.nv-jv__orbbtn:hover { transform: scale(1.02); }
.nv-jv__orbbtn:focus-visible { outline: 2px solid #db6c38; outline-offset: 10px; }
.nv-jv .orb-motion { --orb-diameter: clamp(200px, 42vmin, 380px); }
.nv-jv .orb-fallback { background: radial-gradient(circle at 40% 35%, #f8e9d6 0, #db6c38 30%, #251a0d 70%, #090705 100%); }
.nv-jv.is-claro .orb-shell { border-radius: 50%; box-shadow: 0 26px 50px -14px rgba(113, 54, 27,.4); }
.nv-jv__status { margin: 0; font-size: 17px; font-weight: 600; color: var(--jv-ink); min-height: 1.4em; }
.nv-jv[data-estado="error"] .nv-jv__status { color: #f49569; }
.nv-jv.is-claro[data-estado="error"] .nv-jv__status { color: #bc582a; }
.nv-jv[data-estado="listening"] .nv-jv__status::before { content: ''; display: inline-block; width: 9px; height: 9px; margin-right: 9px; border-radius: 50%; background: #db6c38; vertical-align: 1px; animation: nv-vivo-r 1.2s ease-out infinite; }
@keyframes nv-vivo-r { 0% { box-shadow: 0 0 0 0 rgba(219, 108, 56,.6); } 100% { box-shadow: 0 0 0 9px rgba(219, 108, 56,0); } }
.nv-jv__fala { width: min(680px, 100%); display: grid; gap: 10px; max-height: 30vh; overflow-y: auto; }
.nv-jv__fala p { margin: 0; line-height: 1.55; }
.nv-jv__eu { font-size: 15px; color: var(--jv-mut); font-style: italic; }
.nv-jv__ia { font-size: 18px; color: var(--jv-ink); }
.nv-jv__base { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; padding: 0 24px 28px; }
.nv-jv__mic { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 24px; border-radius: 99px; font-size: 15px; font-weight: 700; color: #fff; background: linear-gradient(135deg, #db6c38, #a8491d); box-shadow: 0 12px 30px -10px rgba(219, 108, 56,.75); }
.nv-jv__mic:hover { filter: brightness(1.08); }
.nv-jv__mic:focus-visible { outline: 2px solid var(--jv-ink); outline-offset: 3px; }
.nv-jv__mic.is-on { background: var(--jv-ink); color: #db6c38; }
.nv-jv__form { display: flex; align-items: center; gap: 6px; width: min(420px, 100%); height: 52px; padding: 0 6px 0 16px; border-radius: 99px; background: var(--jv-chip); box-shadow: inset 0 0 0 1px var(--jv-line); }
.nv-jv__form input { flex: 1; min-width: 0; border: 0; outline: none; background: none; color: var(--jv-ink); font: 14.5px Satoshi, system-ui, sans-serif; }
.nv-jv__form input::placeholder { color: var(--jv-mut); }
.nv-jv__form button { all: unset; cursor: pointer; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: #db6c38; }
.nv-jv__form button:hover, .nv-jv__form button:focus-visible { background: #f17f4b; }
@media (max-width: 760px) { .nv-jv__topo { padding: 14px; gap: 10px; } .nv-jv__marca b { font-size: 18px; } .nv-jv__voz span { display: none; } .nv-jv__voz select { max-width: 150px; } }
@media (prefers-reduced-motion: reduce) { .nv-jv { animation: none; } .nv-jv[data-estado="listening"] .nv-jv__status::before { animation: none; } }
/* Jarvis: som de abertura importado */
.nv-jv__som { position: absolute; z-index: 3; top: 76px; right: 24px; width: min(360px, calc(100vw - 32px)); display: grid; gap: 8px; padding: 14px; border-radius: 16px; background: #131211; color: #f5f2ef; box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 24px 50px -16px rgba(0,0,0,.7); }
.nv-jv.is-claro .nv-jv__som { background: #fff; color: #1c1915; box-shadow: 0 0 0 1px rgba(28, 25, 21,.1), 0 24px 50px -16px rgba(76, 41, 24,.3); }
.nv-jv__som[hidden] { display: none; }
.nv-jv__som b { font-size: 14px; }
.nv-jv__som-nome { font-size: 13px; opacity: .75; overflow-wrap: anywhere; }
.nv-jv__som small { font-size: 11.5px; opacity: .55; line-height: 1.45; }
.nv-jv__som-bts { display: flex; flex-wrap: wrap; gap: 6px; }
.nv-jv__som-bt { all: unset; cursor: pointer; padding: 8px 12px; border-radius: 10px; font-size: 13px; font-weight: 600; background: rgba(219, 108, 56,.14); color: inherit; }
.nv-jv__som-bt:first-child { background: #db6c38; color: #fff; }
.nv-jv__som-bt:hover { filter: brightness(1.1); }
.nv-jv__som-bt:focus-within, .nv-jv__som-bt:focus-visible { outline: 2px solid #db6c38; outline-offset: 2px; }
.nv-jv__som-bt[hidden] { display: none; }

/* Jarvis: painel "Minha voz" (14/11 15h30) */
.nv-jv__mv { max-height: calc(100vh - 110px); overflow: auto; }
.nv-jv__mv-ler { margin: 0; padding: 10px 12px; border-radius: 10px; font-size: 13.5px; line-height: 1.55; background: rgba(219, 108, 56,.1); box-shadow: inset 0 0 0 1px rgba(219, 108, 56,.3); }
.nv-jv__mv-ler[hidden] { display: none; }
.nv-jv__mv-ok { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; line-height: 1.4; cursor: pointer; }
.nv-jv__mv-ok input { accent-color: #db6c38; width: 16px; height: 16px; margin: 1px 0 0; flex: none; }
.nv-jv__som-bt.is-gravando { background: #db6c38; color: #fff; animation: nvJvGrav 1.2s ease-in-out infinite; }
@keyframes nvJvGrav { 50% { box-shadow: 0 0 0 6px rgba(219, 108, 56,.25); } }
.nv-jv__som-bt[aria-disabled="true"] { opacity: .5; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .nv-jv__som-bt.is-gravando { animation: none; } }

/* Jarvis: orbe leve v3 (14/11 15h20) no lugar do orbloom */
.nv-jv__orb { position: relative; width: clamp(220px, 46vmin, 420px); aspect-ratio: 1; }
.nv-jv__orbcv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.nv-jv__orbfb { position: absolute; inset: 14%; border-radius: 50%; display: none; background: radial-gradient(circle at 50% 50%, transparent 52%, #db6c38 62%, #f59e75 68%, transparent 74%); }
.nv-jv__orb.orb-no-webgl .nv-jv__orbfb { display: block; }
.nv-jv__orb.orb-no-webgl .nv-jv__orbcv { display: none; }
.nv-jv[data-estado="listening"] .nv-jv__orb { filter: drop-shadow(0 0 28px rgba(219, 108, 56,.35)); }
.nv-jv__mv-pend { margin: 0; font-size: 12.5px; line-height: 1.5; opacity: .85; overflow-wrap: anywhere; }
.nv-jv__mv-pend[hidden], .nv-jv__mv-salvar[hidden] { display: none; }
.nv-jv__mv-limpar { all: unset; cursor: pointer; text-decoration: underline; opacity: .7; margin-left: 4px; }
.nv-jv__mv-salvar { all: unset; cursor: pointer; text-align: center; padding: 11px 14px; border-radius: 12px; font-size: 14px; font-weight: 700; background: #db6c38; color: #fff; box-shadow: 0 10px 24px -10px rgba(219, 108, 56,.7); }
.nv-jv__mv-salvar:hover { filter: brightness(1.08); }
.nv-jv__mv-salvar:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.nv-jv__mv-salvar[aria-disabled="true"] { opacity: .5; pointer-events: none; }

/* Assistente IA e Jarvis: anexos e e-mail para confirmar (14/11 15h40) */
.nv-anexo { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 5px 6px 5px 9px; border-radius: 10px; font-size: 12.5px; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.nv-anexo > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 210px; }
.nv-anexo .ico { width: 14px; height: 14px; flex: none; opacity: .75; }
.nv-anexo button { all: unset; cursor: pointer; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; opacity: .7; }
.nv-anexo button:hover, .nv-anexo button:focus-visible { opacity: 1; background: rgba(255,255,255,.12); }
.nv-anexo-erro { flex-basis: 100%; font-size: 12.5px; color: #f6ab89; }
.nv-ia__anexos { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 10px 0; border-top: 1px solid rgba(255,255,255,.07); }
.nv-ia__anexos[hidden] { display: none; }
.nv-ia__arqs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.nv-ia__clip { flex: none; width: 40px; height: 40px; border-radius: 12px; cursor: pointer; display: grid; place-items: center; color: rgba(255,255,255,.75); background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.nv-ia__clip:hover, .nv-ia__clip:focus-within { color: #fff; background: rgba(255,255,255,.12); }
.nv-ia.is-soltar { box-shadow: 0 0 0 2px #db6c38, 0 30px 70px -20px rgba(0,0,0,.85); }
.nv-iaemail { margin-top: 10px; display: grid; gap: 4px; padding: 12px; border-radius: 12px; font-size: 13px; line-height: 1.45; text-align: left; background: rgba(219, 108, 56,.08); box-shadow: inset 0 0 0 1px rgba(219, 108, 56,.35); }
.nv-iaemail small { font-size: 11.5px; opacity: .65; text-transform: uppercase; letter-spacing: .04em; }
.nv-iaemail p { margin: 6px 0 0 !important; max-height: 160px; overflow: auto; opacity: .9; }
.nv-iaemail__bts { display: flex; gap: 8px; margin-top: 8px; }
.nv-iaemail__bts button { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 10px; font-weight: 700; font-size: 13px; }
.nv-iaemail__ok { background: #db6c38; color: #fff; }
.nv-iaemail__ok:hover { background: #f17f4b; }
.nv-iaemail__nao { box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.nv-iaemail__bts button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.nv-iaemail__st { font-style: normal; font-weight: 700; margin-top: 6px; }
.nv-iaemail__st--enviado { color: #6fdc8c; } .nv-iaemail__st--erro { color: #f6ab89; } .nv-iaemail__st--cancelado { opacity: .6; }
.nv-jv__email[hidden], .nv-jv__anexos[hidden] { display: none; }
.nv-jv__email .nv-iaemail { font-size: 14px; }
.nv-jv.is-claro .nv-iaemail__nao { box-shadow: inset 0 0 0 1px rgba(28, 25, 21,.25); }
.nv-jv.is-claro .nv-iaemail__bts button:focus-visible { outline-color: #1c1915; }
.nv-jv__anexos { flex-basis: 100%; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.nv-jv.is-claro .nv-anexo { background: rgba(28, 25, 21,.06); box-shadow: inset 0 0 0 1px rgba(28, 25, 21,.14); }
.nv-jv__clip { flex: none; width: 36px; height: 36px; margin-left: -8px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; color: var(--jv-mut); }
.nv-jv__clip:hover, .nv-jv__clip:focus-within { color: var(--jv-ink); background: var(--jv-chip); }

/* IA: escolha de modelo e inteligência; vozes da ElevenLabs (14/11 16h) */
.nv-iacfg { display: grid; gap: 10px; }
.nv-ia__cfg { padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.03); }
.nv-ia__cfg[hidden] { display: none; }
.nv-iacfg__l { display: grid; gap: 4px; font-size: 12.5px; opacity: .9; }
.nv-iacfg__l select { height: 36px; padding: 0 10px; border: 0; border-radius: 10px; font: 13.5px Satoshi, system-ui, sans-serif; color: inherit; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.nv-iacfg__l select option { color: #1c1915; background: #fff; }
.nv-iacfg__l select:focus-visible { outline: 2px solid #db6c38; outline-offset: 2px; }
.nv-iacfg small { font-size: 11.5px; opacity: .6; line-height: 1.45; }
.nv-jv.is-claro .nv-iacfg__l select { background: rgba(28, 25, 21,.05); box-shadow: inset 0 0 0 1px rgba(28, 25, 21,.15); }
.nv-jv__mv-vozes { display: grid; gap: 6px; padding: 10px; border-radius: 12px; font-size: 13px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.nv-jv__mv-vozes[hidden] { display: none; }
.nv-jv.is-claro .nv-jv__mv-vozes { background: rgba(28, 25, 21,.04); box-shadow: inset 0 0 0 1px rgba(28, 25, 21,.1); }
.nv-jv__voz-item { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.nv-jv__voz-item > span { flex: 1; min-width: 120px; overflow-wrap: anywhere; }
.nv-jv__voz-item em { font-style: normal; font-size: 11px; font-weight: 700; color: #db6c38; margin-left: 4px; }
.nv-jv__vbt { all: unset; cursor: pointer; padding: 5px 10px; border-radius: 8px; font-size: 12px; font-weight: 600; box-shadow: inset 0 0 0 1px rgba(219, 108, 56,.4); }
.nv-jv__vbt:hover { background: rgba(219, 108, 56,.12); }
.nv-jv__vbt:focus-visible { outline: 2px solid #db6c38; outline-offset: 2px; }
.nv-jv__vbt--perigo { background: #db6c38; color: #fff; box-shadow: none; }
.nv-jv__voz-vazio { opacity: .6; }

/* Assistente IA: visual com brilho leve, microfone (14/11 16h) */
@property --nv-ia-ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.nv-ia { isolation: isolate; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 30px 70px -20px rgba(0,0,0,.85), 0 0 60px -18px rgba(219, 108, 56,.45); background: radial-gradient(120% 60% at 50% 0%, rgba(219, 108, 56,.10), transparent 60%), #110e12; }
.nv-ia::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--nv-ia-ang), rgba(219, 108, 56,0) 0deg, rgba(243, 146, 102,.75) 60deg, rgba(219, 108, 56,0) 140deg, rgba(219, 108, 56,0) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: nvIaBorda 7s linear infinite; }
@keyframes nvIaBorda { to { --nv-ia-ang: 360deg; } }
.nv-ia__logo { box-shadow: 0 0 18px -2px rgba(219, 108, 56,.65); }
.nv-ia__vazio > svg { filter: drop-shadow(0 0 10px rgba(219, 108, 56,.7)); }
.nv-ia__m--eu { box-shadow: 0 6px 20px -10px rgba(219, 108, 56,.8); }
.nv-ia__form textarea:focus { box-shadow: inset 0 0 0 1px rgba(219, 108, 56,.7), 0 0 0 3px rgba(219, 108, 56,.15); }
.nv-ia__enviar { box-shadow: 0 6px 18px -6px rgba(219, 108, 56,.8); }
.nv-ia__mic { flex: none; width: 40px; height: 40px; border: 0; border-radius: 12px; cursor: pointer; display: grid; place-items: center; color: rgba(255,255,255,.8); background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); transition: background .15s, color .15s; }
.nv-ia__mic .ico { width: 18px; height: 18px; }
.nv-ia__mic:hover { color: #fff; background: rgba(255,255,255,.12); }
.nv-ia__mic:focus-visible { outline: 2px solid #db6c38; outline-offset: 2px; }
.nv-ia__mic.is-on { color: #fff; background: #db6c38; box-shadow: 0 0 0 0 rgba(219, 108, 56,.6); animation: nvIaMic 1.4s ease-out infinite; }
@keyframes nvIaMic { 0% { box-shadow: 0 0 0 0 rgba(219, 108, 56,.55); } 100% { box-shadow: 0 0 0 10px rgba(219, 108, 56,0); } }
.nv-ia-btn::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(219, 108, 56,.35), transparent 70%); animation: nvIaHalo 3.2s ease-in-out infinite; z-index: -1; }
@keyframes nvIaHalo { 50% { transform: scale(1.18); opacity: .55; } }
.nv-ia-btn svg { width: 24px; height: 24px; filter: drop-shadow(0 0 6px rgba(255,255,255,.35)); }
@media (prefers-reduced-motion: reduce) { .nv-ia::before, .nv-ia-btn::after, .nv-ia__mic.is-on { animation: none; } }

/* Assistente IA: arquivos criados (PDF, Excel, CSV) com botão Baixar (14/11 16h20) */
.nv-iaarq { margin-top: 10px; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; text-align: left; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 0 22px -12px rgba(219, 108, 56,.7); }
.nv-iaarq__ico { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: #db6c38; }
.nv-iaarq__t { flex: 1; min-width: 0; display: grid; }
.nv-iaarq__t b { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nv-iaarq__t small { font-size: 11.5px; opacity: .65; }
.nv-iaarq__b { all: unset; cursor: pointer; flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 10px; font-size: 12.5px; font-weight: 700; box-shadow: inset 0 0 0 1px rgba(219, 108, 56,.55); }
.nv-iaarq__b:hover { background: rgba(219, 108, 56,.15); }
.nv-iaarq__b:focus-visible { outline: 2px solid #db6c38; outline-offset: 2px; }
.nv-iaarq--erro { font-size: 12.5px; color: #f6ab89; }
.nv-jv.is-claro .nv-iaarq { background: rgba(28, 25, 21,.04); box-shadow: inset 0 0 0 1px rgba(28, 25, 21,.12); }

/* Equipe e acessos: "Como funciona o acesso" com o texto inteiro (sem cortar com reticências) */
.nv-papel { grid-template-columns: auto minmax(0, 1fr); }
.nv-papel .cell__text b { white-space: normal; }
.nv-papel .cell__text small { display: block; white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.5; max-width: 820px; }
.nv-papel .cell__text small b { display: inline; color: var(--text, inherit); font-weight: 700; }

/* ===== 14/11 17h: leveza. Nada decorativo roda para sempre: gira/pulsa algumas vezes e para (volta ao passar o mouse).
   Indicadores de estado (atualizando, ouvindo, gravando, digitando) continuam enquanto o estado durar. ===== */
.nv-anel::before { animation-iteration-count: 2; }
[data-card]:hover .nv-anel::before, [data-card]:focus-within .nv-anel::before { animation-iteration-count: infinite; }
.nv-ia-btn::after { animation-iteration-count: 3; }
.nv-ia-btn:hover::after { animation-iteration-count: infinite; }
.nv-ia::before { animation-iteration-count: 2; }
.nv-hub__sino.is-urgente .ico, .nv-hub__menu.is-urgente .ico { animation-iteration-count: 4; }
.nv-hub__mapa-nova i, .nv-cheia__vivo { animation-iteration-count: 10; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-iteration-count: 1 !important; animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* 14/11 20h: login no modo escuro, o e-mail preenchido pelo Chrome ficava com fundo branco e texto quase invisível.
   O fundo do autofill fica só atrás das letras (some) e o campo mantém o vidro do card. */
.nv-auth input:-webkit-autofill, .nv-auth input:-webkit-autofill:hover, .nv-auth input:-webkit-autofill:focus, .nv-auth input:-webkit-autofill:active {
  -webkit-background-clip: text !important; background-clip: text !important;
  -webkit-text-fill-color: var(--lg-ink) !important; caret-color: var(--lg-ink);
  -webkit-box-shadow: 0 0 0 1000px transparent inset !important; box-shadow: none !important;
  transition: background-color 600000s 0s, color 600000s 0s !important; }
.nv-auth input:autofill { background-clip: text !important; -webkit-text-fill-color: var(--lg-ink) !important; }
.nv-auth .nv-grupo__in, .nv-auth .nv-field .input { color-scheme: dark; }
[data-theme=light] .nv-auth .nv-grupo__in, [data-theme=light] .nv-auth .nv-field .input { color-scheme: light; }

/* 14/11 20h40: e-mail inteiro (botão "Ver inteiro" ou clique no assunto/texto) */
.nv-email__abrir { cursor: pointer; }
.nv-email__abrir:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); }
.nv-emailx .nv-modal__body { display: flex; flex-direction: column; gap: 12px; }
.nv-emailx__cab { display: flex; flex-direction: column; gap: 2px; padding-bottom: 10px; border-bottom: 1px solid var(--line); word-break: break-word; }
.nv-emailx__frame { width: 100%; height: min(68vh, 760px); border: 0; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); display: block; }
.nv-emailx__txt { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15px; line-height: 1.6; color: var(--ink); max-height: min(68vh, 760px); overflow-y: auto; padding: 4px 2px; }
.nv-emailx__txt a { color: var(--accent-text, var(--accent)); text-decoration: underline; }

/* ===== 14/11 21h: caixa de e-mail organizada (pastas, fixar, etiquetas, guardar) ===== */
.nv-mail { display: grid; grid-template-columns: 236px minmax(0, 1fr); margin-top: var(--gap); overflow: hidden; }
.nv-mail__lado { border-right: 1px solid var(--line); padding: 14px 10px; display: flex; flex-direction: column; gap: 4px; background: color-mix(in srgb, var(--surface-2, var(--card-2)) 55%, transparent); }
.nv-mail__pastas { display: flex; flex-direction: column; gap: 2px; }
.nv-mail__pasta { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; color: var(--ink); font: 600 14px/1.2 var(--font); }
.nv-mail__pasta span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nv-mail__pasta .ico { color: var(--muted); flex: none; }
.nv-mail__pasta em { font-style: normal; font-size: 12px; font-weight: 800; color: var(--muted); }
.nv-mail__pasta:hover { background: var(--surface-3, var(--line)); }
.nv-mail__pasta[aria-pressed="true"] { background: var(--accent-soft); color: var(--accent-text, var(--accent)); }
.nv-mail__pasta[aria-pressed="true"] .ico, .nv-mail__pasta[aria-pressed="true"] em { color: inherit; }
.nv-mail__pasta:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.nv-mail__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--etq); flex: none; margin: 0 3px; }
.nv-mail__etqtit { display: flex; align-items: center; justify-content: space-between; margin: 14px 4px 4px 12px; color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.nv-mail__nova { all: unset; cursor: pointer; padding: 8px 12px; color: var(--accent-text, var(--accent)); font-weight: 600; font-size: 13.5px; }
.nv-mail__main { min-width: 0; display: flex; flex-direction: column; }
.nv-mail__topo { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 16px 18px 12px; border-bottom: 1px solid var(--line); }
.nv-mail__topo h2 { font-size: 18px; margin: 0; }
.nv-mail__topo p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.nv-mail__busca { display: flex; align-items: center; gap: 8px; width: min(340px, 100%); height: 40px; padding: 0 12px; border-radius: 999px; background: var(--surface-2, var(--card-2)); box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); }
.nv-mail__busca input { all: unset; flex: 1; min-width: 0; font: 500 14px var(--font); color: var(--ink); }
.nv-mail__busca:focus-within { box-shadow: inset 0 0 0 1.5px var(--accent); }
.nv-mail__lista { display: flex; flex-direction: column; padding: 6px 8px 10px; min-height: 260px; }
.nv-mrow { display: grid; grid-template-columns: 30px 34px minmax(0, 1fr) auto; align-items: start; gap: 4px 10px; padding: 12px 10px; border-radius: 12px; border-bottom: 1px solid var(--line); cursor: pointer; position: relative; }
.nv-mrow[hidden] { display: none; }
.nv-mrow:last-of-type { border-bottom: 0; }
.nv-mrow:hover { background: var(--surface-2, var(--card-2)); }
.nv-mrow:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.nv-mrow:not(.is-lido) { background: linear-gradient(90deg, var(--accent-soft), transparent 45%); }
.nv-mrow:not(.is-lido)::before { content: ""; position: absolute; left: 2px; top: 16px; width: 4px; height: 22px; border-radius: 4px; background: var(--accent); }
.nv-mrow__pin { all: unset; cursor: pointer; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; color: var(--muted); opacity: .45; margin-top: 2px; }
.nv-mrow:hover .nv-mrow__pin, .nv-mrow__pin:focus-visible { opacity: 1; }
.nv-mrow__pin:hover { background: var(--surface-3, var(--line)); }
.nv-mrow__pin[aria-pressed="true"] { opacity: 1; color: var(--accent-text, var(--accent)); }
.nv-mrow__pin[aria-pressed="true"] svg { fill: currentColor; }
.nv-mrow.is-fixo { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 22%, transparent); }
.nv-mrow__corpo { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.nv-mrow__l1 { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.nv-mrow__l1 small { color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.nv-mrow__nome { white-space: nowrap; font-size: 14.5px; }
.nv-mrow.is-lido .nv-mrow__nome { font-weight: 600; }
.nv-mrow__quando { margin-left: auto; color: var(--muted); font-size: 12px; font-weight: 600; white-space: nowrap; padding-left: 8px; }
.nv-mrow__l2 { display: flex; gap: 8px; min-width: 0; font-size: 14px; line-height: 1.4; }
.nv-mrow__assunto { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 55%; flex: none; }
.nv-mrow.is-lido .nv-mrow__assunto { font-weight: 500; }
.nv-mrow__trecho { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.nv-mrow__trecho::before { content: "· "; }
.nv-mrow__tags { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.nv-mrow__tags .pill, .nv-mrow__tags .nv-tag { height: 22px; font-size: 11.5px; }
.nv-mrow__acoes { display: flex; align-items: center; gap: 2px; }
.nv-mrow__acoes .rbtn { opacity: .55; }
.nv-mrow:hover .nv-mrow__acoes .rbtn, .nv-mrow__acoes .rbtn:focus-visible { opacity: 1; }
.nv-mrow__acoes .btn--primary { margin-right: 4px; }
.nv-etq { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; color: color-mix(in srgb, var(--etq) 78%, var(--ink)); background: color-mix(in srgb, var(--etq) 15%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--etq) 32%, transparent); }
.nv-etq::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--etq); }
.nv-etq-lista { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 14px; }
.nv-etq-op { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px 6px 8px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; }
.nv-etq-op:has(input:checked) { box-shadow: inset 0 0 0 1.5px var(--accent); background: var(--accent-soft); }
.nv-etq-op input { accent-color: var(--accent); }
.nv-etq-nova { display: flex; gap: 8px; }
.nv-etq-nova .input { flex: 1; }
.nv-etq-ger { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.nv-etq-ger__item { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px 10px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); }
.nv-etq-ger__item > .nv-etq { min-width: 110px; }
.nv-etq-ger__cores { display: flex; gap: 5px; flex: 1; }
.nv-etq-cor { all: unset; cursor: pointer; width: 18px; height: 18px; border-radius: 50%; background: var(--etq); }
.nv-etq-cor[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--panel, #fff), 0 0 0 4px var(--etq); }
.nv-emailx .nv-modal__foot { flex-wrap: wrap; }
.nv-emailx__org { display: flex; gap: 6px; margin-right: auto; flex-wrap: wrap; }
@media (width <= 900px) {
  .nv-mail { grid-template-columns: 1fr; }
  .nv-mail__lado { border-right: 0; border-bottom: 1px solid var(--line); flex-direction: row; flex-wrap: nowrap; overflow-x: auto; gap: 6px; padding: 10px; }
  .nv-mail__pastas { flex-direction: row; gap: 4px; }
  .nv-mail__pasta { white-space: nowrap; padding: 8px 10px; }
  .nv-mail__etqtit { margin: 0 4px; }
  .nv-mrow { grid-template-columns: 26px minmax(0, 1fr); }
  .nv-mrow > .av { display: none; }
  .nv-mrow__acoes { grid-column: 2; flex-wrap: wrap; }
  .nv-mrow__acoes .rbtn { opacity: 1; }
  .nv-mrow__l2 { flex-direction: column; gap: 2px; }
  .nv-mrow__assunto { max-width: 100%; }
  .nv-mrow__trecho::before { content: none; }
}

/* ===== 14/11 21h30: e-mails programados (E-mails → Automáticos) ===== */
.nv-emailx__frame { height: min(56vh, 620px); }
.nv-emailx__txt { max-height: min(56vh, 620px); }
.nv-prog { margin-bottom: 6px; }
.nv-prog__topo { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 4px 0 10px; }
.nv-prog__topo > div { display: flex; flex-direction: column; gap: 2px; }
.nv-prog__topo small { color: var(--muted); }
.nv-prog__vazio { padding: 14px; border-radius: 12px; box-shadow: inset 0 0 0 1px dashed var(--line); background: var(--card-2); }
.nv-prog__erro { color: var(--bad) !important; font-weight: 600; }
.nv-prog__sep { margin: 18px 0 8px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.nv-prog-ed { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.nv-prog-ed > .nv-aviso { grid-column: 1 / -1; }
.nv-prog-ed__col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.nv-prog-ed__quando { padding: 16px; border-radius: 16px; background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line); }
.nv-prog-ed__quando h3 { display: flex; align-items: center; gap: 8px; font-size: 15px; margin: 0; }
.nv-prog-ed__linha { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.nv-prog-ed__cada { display: flex; align-items: center; gap: 10px; }
.nv-prog-ed__cada .input { width: 90px; }
.nv-prog-atalhos { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.nv-prog-atalhos .chip { height: 28px; font-size: 12px; }
.nv-prog-dias { display: flex; gap: 6px; flex-wrap: wrap; }
.nv-prog-dias button { width: 38px; height: 38px; border-radius: 50%; font-weight: 800; color: var(--muted); background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2); }
.nv-prog-dias button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); box-shadow: none; }
.nv-prog-check { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-weight: 600; font-size: 14px; color: var(--ink); min-height: 40px; }
.nv-prog-check input[type=checkbox], .nv-prog-check input[type=radio] { accent-color: var(--accent); width: 17px; height: 17px; margin: 0; }
.input.input--mini { width: auto; min-width: 70px; height: 36px; padding: 0 10px; }
.nv-prog-check .input--mini[type=date] { min-width: 150px; }
.nv-prog-check select.input--mini { padding-right: 30px; }
.nv-prog-para { display: flex; flex-wrap: wrap; gap: 6px; }
.nv-prog-para:empty { display: none; }
.nv-prog-chip { display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 4px 0 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); font-size: 13px; font-weight: 600; }
.nv-prog-chip button { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: inherit; }
.nv-prog-chip button:hover { background: rgba(0,0,0,.08); }
.nv-prog-equipe { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.nv-prog-eq { display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 10px 0 6px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line); }
.nv-prog-eq:hover { box-shadow: inset 0 0 0 1px var(--accent); }
.nv-prog-resumo { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border-radius: 12px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.nv-prog-resumo b { font-size: 14.5px; color: var(--accent-text); }
.nv-prog-resumo small { color: var(--muted); }
.nv-prog-resumo ul { margin: 0; padding-left: 18px; font-size: 13.5px; font-weight: 600; text-transform: capitalize; }
.nv-prog-resumo__nada { color: var(--bad) !important; font-weight: 600; }
@media (width <= 860px) { .nv-prog-ed { grid-template-columns: 1fr; } }
.nv-mail__grupo { display: flex; align-items: baseline; gap: 8px; margin: 12px 10px 4px; padding-bottom: 6px; border-bottom: 2px solid var(--line-2); font-size: 13px; }
.nv-mail__grupo small { color: var(--muted); font-weight: 700; }
.nv-mail__grupovazio { padding: 10px 12px; font-size: 13px; }
.nv-modal form.nv-prog-ed { display: grid !important; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 22px; align-items: start; }
@media (width <= 860px) { .nv-modal form.nv-prog-ed { grid-template-columns: 1fr; } }

/* ===== 14/11 22h: página Marketing (ofertas dos order bumps) ===== */
.nv-mk-tit { font-size: 17px; margin: 22px 2px 10px; }
.nv-mk-camps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.nv-mk-camp { border-radius: var(--r-lg); overflow: hidden; background: var(--card); box-shadow: inset 0 0 0 1px var(--glass-rim, var(--line)), var(--shadow-sm); display: flex; flex-direction: column; }
.nv-mk-camp.is-on { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--good) 55%, transparent), var(--shadow-sm); }
.nv-mk-camp__banner { aspect-ratio: 2 / 1; background: #0a0907; display: grid; place-items: center; overflow: hidden; }
.nv-mk-camp__banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nv-mk-camp__banner span { color: #bdb9b5; display: inline-flex; gap: 6px; align-items: center; font-size: 13px; font-weight: 600; }
.nv-mk-camp__corpo { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.nv-mk-camp__topo { display: flex; justify-content: space-between; gap: 10px; width: 100%; }
.nv-mk-camp__topo > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nv-mk-camp__topo small { color: var(--muted); }
.nv-mk-camp__etapas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; width: 100%; }
.nv-mk-camp__etapas span { display: flex; flex-direction: column; gap: 2px; padding: 8px; border-radius: 10px; background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line); font-size: 12px; }
.nv-mk-camp__etapas em { font-style: normal; color: var(--muted); font-weight: 600; }
.nv-mk-chips { padding: 0 20px 12px; }
.nv-mk-tabela td { vertical-align: top; }
.nv-mk-tabela td small { display: block; color: var(--muted); font-weight: 500; }
.nv-mk-cel { display: inline-flex; gap: 8px; align-items: flex-start; }
.nv-mk-cel > .ico { margin-top: 2px; flex: none; border-radius: 50%; padding: 2px; width: 18px; height: 18px; }
.nv-mk-cel.is-ok > .ico { color: var(--good); background: var(--good-soft); }
.nv-mk-cel.is-nao > .ico { color: var(--bad); background: var(--bad-soft); }
.nv-mk-cel .linkbtn { margin-top: 4px; font-size: 12px; text-align: left; }
.nv-modal .nv-mk-ed { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.nv-mk-ed__form { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.nv-mk-ed__linha { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.nv-mk-ed__desc { font-size: 20px; color: var(--accent-text); line-height: 42px; }
.nv-mk-ed__banner { border-radius: 12px; overflow: hidden; background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line); min-height: 90px; display: grid; place-items: center; }
.nv-mk-ed__banner img { width: 100%; display: block; }
.nv-mk-ed__banner span { display: inline-flex; gap: 8px; align-items: center; padding: 16px; color: var(--muted); font-size: 13px; text-align: center; }
.nv-mk-ed__bbtns { display: flex; gap: 6px; margin-top: 6px; }
.nv-mk-ed__abas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 12px; background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line); margin-top: 4px; }
.nv-mk-ed__abas button { height: 34px; border-radius: 9px; font-weight: 700; font-size: 13px; color: var(--muted); }
.nv-mk-ed__abas button[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); }
.nv-mk-ed__previa { position: sticky; top: 0; display: flex; flex-direction: column; gap: 6px; }
.nv-mk-ed__ptopo { display: flex; flex-direction: column; gap: 2px; }
.nv-mk-ed__ptopo small { color: var(--muted); }
.nv-mk-ed__previa iframe { width: 100%; height: min(68vh, 720px); border: 0; border-radius: 14px; background: #f2f1ef; box-shadow: inset 0 0 0 1px var(--line); }
.nv-mk-modal .nv-modal__foot { flex-wrap: wrap; }
.nv-mk-modal [data-mk-teste] { margin-right: auto; }
@media (width <= 1100px) { .nv-mk-camps { grid-template-columns: 1fr; } }
@media (width <= 900px) { .nv-modal .nv-mk-ed { grid-template-columns: 1fr; } .nv-mk-ed__previa { position: static; } }
.nv-modal label.nv-prog-check { display: flex !important; flex-direction: row !important; align-items: center; gap: 8px; }
.nv-mk-camp__banner { aspect-ratio: 3 / 1; }
/* 14/11 22h30: card da API da Hotmart (Integração) */
.nv-hapi .chead h2 { display: inline-flex; align-items: center; gap: 8px; }
.nv-hapi .chead p { max-width: 900px; }
.nv-hapi__grade { display: flex; flex-direction: column; gap: 12px; }
.nv-hapi__info { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.nv-hapi__info > div { padding: 10px 12px; border-radius: 12px; background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 2px; }
.nv-hapi__info small { color: var(--muted); font-weight: 600; }
.nv-hapi__acoes { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.nv-hapi__desde { display: inline-flex; gap: 6px; align-items: center; margin-left: auto; color: var(--muted); font-size: 13px; font-weight: 600; }
.nv-hapi__desde label { display: inline-flex; gap: 6px; align-items: center; }
@media (width <= 760px) { .nv-hapi__info { grid-template-columns: 1fr 1fr; } .nv-hapi__desde { margin-left: 0; } }
/* 14/11 21h40: botão Nova oferta */
.nv-mk-titulo { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 22px 2px 10px; }
.nv-mk-titulo .nv-mk-tit { margin: 0; }
.nv-mk-nova { display: flex; flex-direction: column; gap: 12px; }
.nv-mk-nova input[readonly] { opacity: .7; }
.nv-mk-modal [data-mk-apagar] { margin-right: 0; }
.nv-mk-modal .nv-modal__foot [data-mk-apagar] { margin-right: auto; }
.nv-mk-modal .nv-modal__foot [data-mk-teste] { margin-right: 0; }
.nv-mk-regras { display: flex; flex-direction: column; gap: 0; }
.nv-mk-regras .nv-prog-check { min-height: 32px; }
/* 14/11 22h: resultado do e-mail marketing (Marketing e Vendas) */
.nv-mk-res .chead h2 { display: inline-flex; gap: 8px; align-items: center; }
.nv-mk-res__tot { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 0 20px 14px; }
.nv-mk-res__tot > div { padding: 12px 14px; border-radius: 12px; background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 2px; }
.nv-mk-res__tot small { color: var(--muted); font-weight: 600; }
.nv-mk-res__tot b { font-size: 22px; }
.nv-mk-res__etapas { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12.5px; color: var(--muted); }
.nv-mk-res__etapas b { color: var(--ink); }
.nv-mk-pill { height: 20px; font-size: 11px; vertical-align: middle; }
.nv-mk-pill::before { display: none; }
.nv-mk-pill .ico { width: 12px; height: 12px; }
@media (width <= 760px) { .nv-mk-res__tot { grid-template-columns: 1fr 1fr; } }
.nv-mk-sair { color: var(--bad) !important; font-weight: 600 !important; }
.nv-mk-sair .linkbtn { font-size: 11.5px; }

/* Jarvis: botão Resumo do dia (14/11 22h) */
.nv-jv__resumo { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 20px; border-radius: 99px; font-size: 15px; font-weight: 700; color: var(--jv-ink); border: 1.5px solid color-mix(in srgb, var(--jv-ink) 28%, transparent); background: color-mix(in srgb, var(--jv-ink) 6%, transparent); }
.nv-jv__resumo:hover { border-color: #db6c38; color: #db6c38; }
.nv-jv__resumo:focus-visible { outline: 2px solid var(--jv-ink); outline-offset: 3px; }
.nv-jv__resumo .ico { width: 18px; height: 18px; }

/* ===== 14/11 23h: Página de vendas (rastreador) ===== */
.nv-lp-topo { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.nv-lp-topo .tabs { margin-bottom: 0; flex: 1 1 auto; border-bottom: 0; }
.nv-lp-abas button[aria-selected="true"] { color: var(--ink); }
.nv-lp-abas button[aria-selected="true"]::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 2px; border-radius: 2px; background: var(--accent); }
.nv-lp-aviso { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--info-soft); color: var(--ink); font-size: var(--fs-md); margin-bottom: var(--gap); }
.nv-lp-aviso > svg { color: var(--info); flex: none; margin-top: 1px; }
.nv-lp-aviso.is-ex { background: var(--warn-soft); } .nv-lp-aviso.is-ex > svg { color: var(--warn); }
.nv-lp-aviso.is-bad { background: var(--bad-soft); } .nv-lp-aviso.is-bad > svg { color: var(--bad); }
.nv-lp-aviso a { color: var(--accent-text); text-decoration: underline; }
.nv-lp-kpis { margin-bottom: var(--gap); }
.nv-lp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.nv-lp-grid--2 { align-items: start; }
.nv-lp-mapa-card { grid-column: 1 / -1; }
.nv-lp-nada { color: var(--muted); font-size: var(--fs-sm); padding: 10px 0; }
.nv-lp-dica { margin-top: 12px; font-size: var(--fs-sm); color: var(--muted); }
.nv-lp-barras { display: flex; flex-direction: column; gap: 9px; }
.nv-lp-barra { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto 76px; align-items: center; gap: 10px; font-size: var(--fs-md); }
.nv-lp-barra__n { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.nv-lp-barra__t, .nv-lp-funil__t { height: 10px; border-radius: 6px; background: var(--card-3); overflow: hidden; }
.nv-lp-barra__t i, .nv-lp-funil__t i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent-from), var(--accent)); }
.nv-lp-barra b { text-align: right; }
.nv-lp-barra small { color: var(--muted); text-align: right; white-space: nowrap; }
.nv-lp-tag { display: inline-block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 1px 6px; border-radius: 6px; margin-right: 6px; background: var(--good-soft); color: var(--good); vertical-align: 1px; }
.nv-lp-funil { display: flex; flex-direction: column; gap: 12px; }
.nv-lp-funil__l { display: grid; grid-template-columns: 170px minmax(0, 1fr) 64px 56px; gap: 10px; align-items: center; font-size: var(--fs-md); font-weight: 600; }
.nv-lp-funil__t { height: 18px; border-radius: 8px; }
.nv-lp-funil__l b { text-align: right; } .nv-lp-funil__l small { color: var(--muted); text-align: right; }
.nv-lp-rol { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; height: 190px; }
.nv-lp-rol > div { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.nv-lp-rol__t { flex: 1; width: 46px; border-radius: 12px; background: var(--card-3); position: relative; overflow: hidden; }
.nv-lp-rol__t i { position: absolute; left: 0; right: 0; bottom: 0; border-radius: inherit; background: linear-gradient(180deg, var(--accent-from), var(--accent-to)); }
.nv-lp-rol small { color: var(--muted); font-weight: 600; }
.nv-lp-horas { display: grid; grid-template-columns: repeat(24, 1fr); gap: 3px; height: 170px; align-items: end; }
.nv-lp-horas span { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; }
.nv-lp-horas i { width: 100%; min-height: 2px; border-radius: 4px 4px 2px 2px; background: var(--accent); opacity: .85; }
.nv-lp-horas small { font-size: 10px; color: var(--muted); height: 12px; }
.nv-lp-mapa { position: relative; height: 420px; border-radius: 14px; background: repeating-linear-gradient(180deg, var(--card-2) 0 10%, transparent 10% 20%); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; max-width: 520px; margin: 0 auto; }
.nv-lp-mapa i { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: radial-gradient(circle, rgba(214, 84, 24, .55), rgba(214, 84, 24, 0) 70%); pointer-events: none; }
.nv-lp-mapa .nv-lp-nada { position: absolute; inset: 0; display: grid; place-items: center; }
.nv-lp-mapa__r { position: absolute; left: 8px; font-size: 10px; color: var(--muted); font-weight: 700; text-transform: uppercase; padding: 2px 0; }
.nv-lp-gen > div { height: 16px; border-radius: 8px; overflow: hidden; background: #3d7fbf; margin-bottom: 12px; }
.nv-lp-gen > div span { display: block; height: 100%; width: var(--p); background: #c67651; }
.nv-lp-gen p { font-size: var(--fs-md); margin: 4px 0; } .nv-lp-gen p small { color: var(--muted); }
.nv-lp-gen p:nth-of-type(1) b { color: #c67651; } .nv-lp-gen p:nth-of-type(2) b { color: #3d7fbf; }
.nv-lp-tb { padding: 0 20px; }
.nv-lp-bts { display: inline-flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.nv-lp-code { background: var(--card-3); border-radius: 12px; padding: 12px 14px; font: 12.5px/1.5 "Space Mono", ui-monospace, monospace; white-space: pre-wrap; word-break: break-all; margin: 0 0 10px; }
.nv-lp-lista { margin: 14px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: var(--fs-sm); color: var(--ink-2); }
.nv-lp code { font: 12px "Space Mono", ui-monospace, monospace; background: var(--card-3); padding: 1px 5px; border-radius: 5px; }
.nv-lp-form { display: flex; flex-direction: column; gap: 12px; }
.nv-lp-sw { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.nv-lp-sw span { display: flex; flex-direction: column; } .nv-lp-sw small { color: var(--muted); font-size: var(--fs-xs); }
.nv-lp-form__bts { display: flex; justify-content: flex-end; }
.nv-lp-cam__perfil { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; border-radius: 14px; background: var(--card-2); margin-bottom: 14px; }
.nv-lp-cam__perfil small { color: var(--muted); } .nv-lp-cam__perfil .pill { align-self: flex-start; margin-top: 6px; }
.nv-lp-tl { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; max-height: 60vh; overflow: auto; }
.nv-lp-tl li { display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: center; padding: 7px 6px; border-radius: 10px; }
.nv-lp-tl li > span { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: var(--card-3); }
.nv-lp-tl li.is-checkout > span, .nv-lp-tl li.is-lead > span { background: var(--good-soft); color: var(--good); }
.nv-lp-tl li b { font-weight: 600; font-size: var(--fs-md); } .nv-lp-tl q { color: var(--accent-text); }
.nv-lp-tl li small { display: block; color: var(--muted); font-size: var(--fs-xs); }
.nv-lp-tl time { color: var(--muted); font-size: var(--fs-xs); white-space: nowrap; }
.nv-lp-tl__sep { display: block !important; text-align: center; font-size: var(--fs-xs); color: var(--muted); font-weight: 700; padding: 10px 0 4px !important; border-top: 1px dashed var(--line-2); margin-top: 6px; }
@media (width <= 1100px) { .nv-lp-grid { grid-template-columns: 1fr; } }
@media (width <= 760px) { .nv-lp-funil__l { grid-template-columns: 110px minmax(0, 1fr) 48px 44px; font-size: var(--fs-sm); } .nv-lp-barra { grid-template-columns: minmax(0, 1fr) 70px auto 58px; } .nv-lp-mapa { height: 340px; } }

/* Jarvis: menu do Resumo */
.nv-jv__resumo-wrap { position: relative; display: inline-flex; }
.nv-jv__resumo-menu { position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%); min-width: 250px; padding: 6px; border-radius: 16px; background: rgba(12, 12, 14, .92); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 20px 50px rgba(0, 0, 0, .5); display: flex; flex-direction: column; gap: 2px; z-index: 5; }
.nv-jv__resumo-menu[hidden] { display: none; }
.nv-jv__resumo-menu small { color: rgba(255, 255, 255, .5); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 6px 10px 4px; }
.nv-jv__resumo-menu button { text-align: left; padding: 9px 12px; border-radius: 10px; color: #f2f2f2; font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 10px; }
.nv-jv__resumo-menu button:hover, .nv-jv__resumo-menu button:focus-visible { background: rgba(255, 255, 255, .1); }
.nv-jv__resumo-menu button.is-tudo { background: rgba(214, 84, 24, .22); }
.nv-jv__resumo-menu button.is-tudo:hover { background: rgba(214, 84, 24, .35); }
.nv-jv__resumo-menu i { width: 8px; height: 8px; border-radius: 50%; background: var(--c, #fff); flex: none; }

/* ===== 15/11: Financeiro da empresa (paleta do dólar) ===== */
.nv-plat[data-plat="empresa"] { --tom: 39, 134, 100; }
html[data-plat="empresa"] {
  --accent: #278664; --accent-from: #79a471; --accent-to: #1f6b50; --accent-hi: #2f9a73; --accent-ink: #fefeea;
  --accent-soft: rgba(39, 134, 100, .14); --accent-text: #1f6b50; --accent-glow: rgba(39, 134, 100, .45);
  --thumb: #278664; --on-thumb: #fefeea; --mint: #79a471; --sig: #278664; --sig-text: #1f6b50; --sig-soft: rgba(39, 134, 100, .14);
}
html[data-plat="empresa"][data-theme=dark] { --accent: #79a471; --accent-from: #9cc493; --accent-to: #278664; --accent-hi: #8fb985; --accent-ink: #0f1a12; --accent-text: #a9cf9f; --accent-soft: rgba(121, 164, 113, .18); --thumb: #79a471; --on-thumb: #0f1a12; --sig-text: #a9cf9f; }
.nv-dolar { position: absolute; inset: 0; pointer-events: none; border-radius: inherit; overflow: hidden; }
.nv-dolar svg { width: 100%; height: 100%; display: block; }
.nv-emp .phead__eyebrow { color: #278664; }
[data-theme=dark] .nv-emp .phead__eyebrow { color: #79a471; }
.nv-emp-aviso { display: flex; gap: 8px; align-items: center; padding: 10px 14px; border-radius: 12px; background: rgba(121, 164, 113, .14); font-size: var(--fs-sm); margin-bottom: var(--gap); }
.nv-emp-filtros { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
.nv-emp-sel { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-sm); font-weight: 600; color: var(--muted); }
.nv-emp-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); margin-bottom: var(--gap); }
.nv-emp-kpi { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; min-height: 118px;
  background: linear-gradient(150deg, rgba(254, 254, 234, .75), rgba(254, 254, 234, .35) 60%), repeating-linear-gradient(135deg, rgba(39, 134, 100, .05) 0 2px, transparent 2px 7px), var(--card);
  box-shadow: inset 0 0 0 1px rgba(39, 134, 100, .22), var(--shadow-sm); color: #1b2a1f; }
.nv-emp-kpi::after { content: "$"; position: absolute; right: 12px; bottom: -18px; font: 700 86px/1 Georgia, "Times New Roman", serif; color: rgba(39, 134, 100, .08); pointer-events: none; }
[data-theme=dark] .nv-emp-kpi { background: linear-gradient(150deg, rgba(39, 134, 100, .28), rgba(78, 89, 74, .22) 70%), repeating-linear-gradient(135deg, rgba(254, 254, 234, .03) 0 2px, transparent 2px 7px), var(--card); box-shadow: inset 0 0 0 1px rgba(121, 164, 113, .25); color: #fefeea; }
[data-theme=dark] .nv-emp-kpi::after { color: rgba(254, 254, 234, .06); }
.nv-emp-kpi__rot { display: flex; align-items: center; gap: 7px; font-size: var(--fs-sm); font-weight: 600; color: #4e594a; }
[data-theme=dark] .nv-emp-kpi__rot { color: #c9d4c2; }
.nv-emp-kpi b { font-size: var(--fs-3xl); font-weight: 700; letter-spacing: -.01em; }
.nv-emp-kpi small { color: #676e5d; font-weight: 600; font-size: var(--fs-xs); }
[data-theme=dark] .nv-emp-kpi small { color: #b7c2b0; }
.nv-emp-kpi.is-good b { color: #278664; } [data-theme=dark] .nv-emp-kpi.is-good b { color: #9cd08f; }
.nv-emp-kpi.is-bad b { color: #a7532c; } [data-theme=dark] .nv-emp-kpi.is-bad b { color: #efb295; }
.nv-emp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); margin-top: var(--gap); align-items: start; }
.nv-emp-alertas { display: flex; flex-direction: column; gap: 8px; margin-bottom: var(--gap); }
.nv-emp-alerta { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: var(--card-2); }
.nv-emp-alerta div { display: flex; flex-direction: column; } .nv-emp-alerta small { color: var(--muted); }
.nv-emp-alerta.is-bad { background: var(--bad-soft); } .nv-emp-alerta.is-bad > svg { color: var(--bad); }
.nv-emp-alerta.is-warn { background: var(--warn-soft); } .nv-emp-alerta.is-warn > svg { color: var(--warn); }
.nv-emp-alerta.is-info { background: rgba(121, 164, 113, .14); } .nv-emp-alerta.is-info > svg { color: #278664; }
.nv-emp-graf__leg { display: flex; gap: 14px; font-size: var(--fs-xs); font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.nv-emp-graf__leg i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.nv-emp-graf__cols { display: flex; gap: 6px; height: 190px; align-items: stretch; }
.nv-emp-graf__col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.nv-emp-graf__bars { flex: 1; display: flex; gap: 2px; align-items: flex-end; justify-content: center; border-bottom: 1px solid var(--line-2); }
.nv-emp-graf__bars i { flex: 1; max-width: 18px; min-height: 2px; border-radius: 4px 4px 1px 1px; }
.nv-emp-graf__col small { font-size: 10px; color: var(--muted); text-align: center; white-space: nowrap; overflow: hidden; }
.nv-emp-v.is-neg { color: var(--bad); }
.nv-emp-pos { color: #278664; } [data-theme=dark] .nv-emp-pos { color: #9cd08f; }
.nv-emp-dre td:first-child { white-space: nowrap; }
.nv-emp-dre tr.is-t td, .nv-emp-tr-tot td, .table tr.is-t td { background: rgba(121, 164, 113, .1); font-weight: 700; }
.nv-emp-dre tr.is-T td { background: rgba(39, 134, 100, .18); font-weight: 800; font-size: var(--fs-base); }
.nv-emp-dre tr.is-b td { font-weight: 700; }
.table tr.is-pct td { color: var(--muted); font-style: italic; }
.nv-emp-dl { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; margin: 0; }
.nv-emp-dl dt { color: var(--muted); font-weight: 600; font-size: var(--fs-sm); } .nv-emp-dl dd { margin: 0; text-align: right; font-weight: 700; }
.nv-emp-cats { display: flex; flex-direction: column; gap: 8px; }
.nv-emp-cats > div { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto 44px; gap: 10px; align-items: center; font-size: var(--fs-md); }
.nv-emp-cats span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.nv-emp-cats i { height: 10px; border-radius: 6px; background: linear-gradient(90deg, #79a471, #278664) 0 0 / var(--w) 100% no-repeat, var(--card-3); }
.nv-emp-cats small { color: var(--muted); text-align: right; }
.nv-emp-lista { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: var(--fs-sm); color: var(--ink-2); }
.nv-emp-nota { font-size: var(--fs-sm); color: var(--muted); margin: 10px 20px 16px; }
.card:not(.card--flush) .nv-emp-nota { margin: 10px 0 0; }
.nv-emp-mini { display: block; width: 120px; height: 8px; border-radius: 5px; background: var(--card-3); overflow: hidden; }
.nv-emp-mini i { display: block; height: 100%; background: #278664; border-radius: inherit; }
.nv-emp-semana h3 { font-size: var(--fs-md); margin: 12px 0 6px; } .nv-emp-semana p { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); }
.nv-emp-sit { margin-bottom: 0; border-left: 5px solid #278664; } .nv-emp-sit p { margin: 4px 0; } .nv-emp-sit small { color: var(--muted); }
.nv-emp-sit.is-warn { border-left-color: var(--warn); } .nv-emp-sit.is-bad { border-left-color: var(--bad); }
.nv-emp-bal__l { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.nv-emp-bal__l span { display: flex; flex-direction: column; font-weight: 600; } .nv-emp-bal__l small { color: var(--muted); font-weight: 500; font-size: var(--fs-xs); }
.nv-emp-bal__t .nv-emp-bal__l { border-bottom: 0; font-size: var(--fs-lg); } .nv-emp-bal__t b { color: #278664; }
.nv-emp-ciclo { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.nv-emp-ciclo > div { flex: 1; min-width: 90px; padding: 12px; border-radius: 12px; background: var(--card-2); text-align: center; display: flex; flex-direction: column; }
.nv-emp-ciclo b { font-size: var(--fs-3xl); } .nv-emp-ciclo small { color: var(--muted); font-size: var(--fs-xs); font-weight: 600; }
.nv-emp-ciclo > div.is-tot { background: rgba(39, 134, 100, .16); } .nv-emp-ciclo > span { font-weight: 800; color: var(--muted); }
.nv-emp-tb { padding: 16px 20px 0; }
.nv-emp-form { display: flex; flex-direction: column; gap: 12px; } .nv-emp-form__bts { display: flex; justify-content: flex-end; margin-top: 12px; }
.nv-emp .pill[data-emp-pagar] { cursor: pointer; border: 0; } .nv-emp .pill[data-emp-pagar]:disabled { cursor: default; }
@media (width <= 1279px) { .nv-emp-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (width <= 1000px) { .nv-emp-grid { grid-template-columns: 1fr; } }
@media (width <= 760px) { .nv-emp-kpis { gap: 10px; } .nv-emp-kpi b { font-size: 18px; } .nv-emp-graf__cols { height: 150px; } }

/* ===== 15/11: Início personalizável ===== */
.nv-hub__barra { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; max-width: 1180px; margin: 30px auto 6px; padding: 0 4px; }
.nv-hub__barra .nv-hub__sp { flex: 1; }
.nv-hub__filtro { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.nv-hub__filtro button { padding: 7px 16px; border-radius: 999px; font-weight: 600; font-size: 13px; color: rgba(255, 255, 255, .72); }
.nv-hub__filtro button:hover { color: #fff; }
.nv-hub__filtro button[aria-pressed="true"] { background: rgba(255, 255, 255, .92); color: #0b0b0c; }
.nv-hub__ok { background: rgba(39, 134, 100, .35) !important; }
.nv-hub__dica { max-width: 1180px; margin: 0 auto 8px; padding: 0 4px; font-size: 13px; color: rgba(255, 255, 255, .6); }
.nv-hub__cards.is-editando .nv-plat { cursor: grab; }
.nv-hub__cards.is-editando .nv-plat__card { animation: nvBalanca 2.4s ease-in-out infinite; }
.nv-hub__cards.is-editando .nv-plat:nth-child(2n) .nv-plat__card { animation-delay: -1.2s; }
@keyframes nvBalanca { 0%, 100% { transform: rotate(-.5deg); } 50% { transform: rotate(.5deg); } }
.nv-plat.is-oculto .nv-plat__card, .nv-plat.is-oculto .nv-plat__info { opacity: .32; filter: grayscale(.8); }
.nv-plat.is-arrastando { opacity: .4; }
.nv-plat.is-alvo .nv-plat__card { outline: 2px dashed rgba(255, 255, 255, .6); outline-offset: 6px; border-radius: 26px; }
.nv-plat { position: relative; }
.nv-plat__ed { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); z-index: 6; display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(12, 12, 14, .92); box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 12px 30px rgba(0, 0, 0, .5); backdrop-filter: blur(12px); }
.nv-plat__ed > button { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: #f2f2f2; background: rgba(255, 255, 255, .08); }
.nv-plat__ed > button:hover { background: rgba(255, 255, 255, .2); }
.nv-plat__bola { background: var(--c) !important; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .7); }
.nv-plat__cores { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); display: grid; grid-template-columns: repeat(6, 26px); gap: 8px; padding: 10px; border-radius: 16px; background: rgba(12, 12, 14, .96); box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 16px 40px rgba(0, 0, 0, .6); }
.nv-plat__cores[hidden] { display: none; }
.nv-plat__cores button { width: 26px; height: 26px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .3); }
.nv-plat__cores button[aria-pressed="true"] { box-shadow: 0 0 0 2px #0c0c0e, 0 0 0 4px #fff; }

/* ===== 15/11: Documentos (azul e branco) ===== */
.nv-plat[data-plat="docs"] { --tom: 59, 130, 246; }
html[data-plat="docs"] { --accent: #1d4ed8; --accent-from: #3b82f6; --accent-to: #1e40af; --accent-hi: #2563eb; --accent-ink: #ffffff; --accent-soft: rgba(29, 78, 216, .12); --accent-text: #1d4ed8; --accent-glow: rgba(29, 78, 216, .4); --thumb: #1d4ed8; --on-thumb: #fff; --sig: #1d4ed8; --sig-text: #1d4ed8; --sig-soft: rgba(29, 78, 216, .12); --mint: #3b82f6; }
html[data-plat="docs"]:not([data-theme=dark]) { --bg: #eef3fb; --card: rgba(255, 255, 255, .86); --panel: #f8fbfff2; --tint: rgba(244, 248, 255, .8); --card-2: #1d4ed80a; --card-3: #1d4ed814; --line: #1e3a8a1a; --line-2: #1e3a8a2b; }
html[data-plat="docs"][data-theme=dark] { --accent: #60a5fa; --accent-from: #93c5fd; --accent-to: #2563eb; --accent-ink: #0b1220; --accent-text: #93c5fd; --accent-soft: rgba(96, 165, 250, .16); --thumb: #60a5fa; --on-thumb: #0b1220; --sig-text: #93c5fd; }
.nv-docs .phead__eyebrow { color: #1d4ed8; } [data-theme=dark] .nv-docs .phead__eyebrow { color: #93c5fd; }
.nv-docs .nv-emp-kpi { background: linear-gradient(150deg, #ffffff, #eef4ff); box-shadow: inset 0 0 0 1px rgba(29, 78, 216, .18), var(--shadow-sm); color: #0f172a; }
.nv-docs .nv-emp-kpi::after { content: ""; }
.nv-docs .nv-emp-kpi__rot, .nv-docs .nv-emp-kpi small { color: #475569; }
[data-theme=dark] .nv-docs .nv-emp-kpi { background: linear-gradient(150deg, rgba(29, 78, 216, .3), rgba(15, 23, 42, .4)); color: #e2e8f0; }
[data-theme=dark] .nv-docs .nv-emp-kpi__rot, [data-theme=dark] .nv-docs .nv-emp-kpi small { color: #cbd5e1; }
.nv-docs__wrap { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: var(--gap); align-items: start; }
.nv-docs__cls { display: flex; flex-direction: column; gap: 2px; padding: 14px; position: sticky; top: 8px; }
.nv-docs__cls > b { font-size: var(--fs-sm); color: var(--muted); padding: 0 8px 6px; }
.nv-docs__cls button { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; font-weight: 600; font-size: var(--fs-md); text-align: left; }
.nv-docs__cls button:hover { background: var(--card-2); }
.nv-docs__cls button[aria-pressed="true"] { background: #1d4ed8; color: #fff; }
[data-theme=dark] .nv-docs__cls button[aria-pressed="true"] { background: #2563eb; }
.nv-docs__cls button i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); flex: none; }
.nv-docs__cls button span { margin-left: auto; font-size: var(--fs-xs); opacity: .7; }
.nv-docs__nome { gap: 12px; }
.nv-docs__ext { width: 38px; height: 44px; border-radius: 8px; display: grid; place-items: end center; padding-bottom: 6px; font-size: 10px; font-weight: 800; letter-spacing: .04em; color: #1d4ed8; background: linear-gradient(180deg, #fff, #e8efff); box-shadow: inset 0 0 0 1px rgba(29, 78, 216, .25); flex: none; position: relative; }
.nv-docs__ext::before { content: ""; position: absolute; top: 0; right: 0; border-style: solid; border-width: 0 10px 10px 0; border-color: transparent #c7d7fe transparent transparent; }
.nv-docs__tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: var(--fs-xs); font-weight: 700; color: var(--c); background: color-mix(in srgb, var(--c) 12%, transparent); }
.nv-docs__acoes { display: inline-flex; gap: 4px; justify-content: flex-end; }
.nv-docs__acoes .btn { padding: 0 9px; } .nv-docs__acoes .btn small { font-size: 10px; margin-left: 2px; }
.nv-docs__drop { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 26px; border-radius: 16px; border: 2px dashed rgba(29, 78, 216, .35); background: rgba(29, 78, 216, .04); cursor: pointer; text-align: center; }
.nv-docs__drop.is-sobre { background: rgba(29, 78, 216, .12); }
.nv-docs__drop b { display: inline-flex; align-items: center; gap: 8px; color: #1d4ed8; } [data-theme=dark] .nv-docs__drop b { color: #93c5fd; }
.nv-docs__drop small { color: var(--muted); }
.nv-docs__drop span { display: flex; flex-direction: column; gap: 2px; margin-top: 6px; font-size: var(--fs-sm); }
.nv-docs__clsed { display: grid; grid-template-columns: 44px 1fr auto; gap: 8px; align-items: center; margin-bottom: 8px; }
.nv-docs__clsed input[type=color] { width: 40px; height: 40px; border: 0; border-radius: 10px; background: none; padding: 0; cursor: pointer; }
.nv-docs__acao { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; font-size: var(--fs-xs); font-weight: 700; background: var(--card-3); }
.nv-docs__acao.is-baixou { background: rgba(29, 78, 216, .12); color: #1d4ed8; } .nv-docs__acao.is-enviou_email { background: rgba(124, 58, 237, .12); color: #6d28d9; }
.nv-docs__acao.is-apagou { background: var(--bad-soft); color: var(--bad); } .nv-docs__acao.is-incluiu { background: var(--good-soft); color: var(--good); }
@media (width <= 900px) { .nv-docs__wrap { grid-template-columns: 1fr; } .nv-docs__cls { position: static; flex-direction: row; flex-wrap: wrap; } .nv-docs__cls > b { width: 100%; } }

/* ===== 15/11: Token de acesso ===== */
.nv-token { max-width: 520px; margin: 40px auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 32px 28px !important; }
.nv-token > svg { width: 42px; height: 42px; color: var(--accent); }
.nv-token h2 { font-size: var(--fs-2xl); } .nv-token > p { color: var(--muted); max-width: 40ch; }
.nv-token [data-ref="tk"] { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.nv-token__form { display: flex; gap: 8px; justify-content: center; width: 100%; margin-top: 6px; }
.nv-token__cod { max-width: 190px; text-align: center; font: 700 26px/1 "Space Mono", ui-monospace, monospace !important; letter-spacing: .3em; height: 54px; }
.nv-token__form .btn { height: 54px; }
.nv-token__novo { text-align: left; width: 100%; } .nv-token__novo ol { margin: 0 0 10px; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; font-size: var(--fs-md); }
.nv-token__qr { width: 200px; height: 200px; margin: 8px auto; display: block; background: #fff; border-radius: 14px; padding: 8px; }
.nv-token__novo details { font-size: var(--fs-sm); color: var(--muted); text-align: center; } .nv-token__novo code { font: 13px "Space Mono", monospace; word-break: break-all; }
.nv-seg__lista { display: flex; flex-direction: column; padding: 0 20px 14px; }
.nv-seg__item { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.nv-seg__item:last-child { border-bottom: 0; } .nv-seg__item span { display: flex; flex-direction: column; } .nv-seg__item small { color: var(--muted); }

/* ===== Estilo tubelight (topo da tela inicial e filtro) ===== */
.nv-tubo { position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: 6px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .6); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.nv-tubo > button, .nv-tubo > .nv-hub__lnk { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 7px; padding: 8px 22px; border: 0; border-radius: 999px; background: transparent; box-shadow: none; font: 600 14px Satoshi, sans-serif; color: rgba(255, 255, 255, .8); cursor: pointer; transition: color .2s; }
.nv-tubo > button:hover, .nv-tubo > button.is-luz, .nv-tubo > button[aria-pressed="true"] { color: #fff; background: transparent; }
.nv-hub__filtro.nv-tubo { gap: 6px; padding: 4px; background: rgba(255, 255, 255, .05); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .6); }
.nv-hub__filtro.nv-tubo button { padding: 7px 22px; font-size: 13.5px; }
.nv-hub__filtro.nv-tubo button[aria-pressed="true"] { background: transparent; color: #fff; }
.nv-tubo .nv-hub__ok { color: #fff; }
.nv-tubo__lamp { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px; background: rgba(255, 255, 255, .09); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); opacity: 0; pointer-events: none; transition: left .5s cubic-bezier(.3, 1.3, .5, 1), width .5s cubic-bezier(.3, 1.3, .5, 1), opacity .25s; }
.nv-tubo__lamp.is-on { opacity: 1; }
.nv-tubo__lamp.is-sem { transition: none; }
.nv-tubo__lamp::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: rgba(219, 114, 65, .07); }
.nv-tubo__lamp i { position: absolute; top: -9px; left: 50%; width: 32px; height: 4px; margin-left: -16px; border-radius: 4px 4px 0 0; background: var(--accent-hi, #d3632f); box-shadow: 0 0 10px 1px rgba(219, 114, 65, .75); }
.nv-tubo__lamp i::before { content: ""; position: absolute; width: 48px; height: 24px; top: -8px; left: -8px; border-radius: 999px; background: rgba(219, 114, 65, .28); filter: blur(12px); }
.nv-tubo__lamp i::after { content: ""; position: absolute; width: 32px; height: 24px; top: -4px; left: 0; border-radius: 999px; background: rgba(219, 114, 65, .22); filter: blur(10px); }
.nv-tubo--topo { margin-left: 4px; }
@media (max-width: 760px) { .nv-tubo > button, .nv-tubo > .nv-hub__lnk { padding: 9px 12px; } .nv-hub__filtro.nv-tubo button { padding: 7px 14px; } }
@media (prefers-reduced-motion: reduce) { .nv-tubo__lamp { transition: opacity .2s; } }
/* Token de acesso: respiro entre os blocos */
.nv-seg { display: flex; flex-direction: column; gap: 22px; }
.nv-seg > .card { margin: 0; }
.nv-seg .chead { padding-bottom: 6px; }
.nv-seg__lista { padding: 4px 24px 10px; }
.nv-seg__item { padding: 16px 0; gap: 20px; }
.nv-seg__item span { gap: 3px; }
.nv-seg .nv-emp-lista { gap: 10px; padding: 4px 24px 20px 40px; line-height: 1.5; }

/* Token pedido numa janela por cima da tela inicial */
.nv-modal--token .nv-modal__box { max-width: 460px; }
.nv-token--janela { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 4px 4px 8px; }
.nv-token--janela > svg { width: 38px; height: 38px; color: var(--accent); }
.nv-token--janela h3 { margin: 0; font-size: var(--fs-xl, 20px); }
.nv-token--janela > p { margin: 0 0 4px; color: var(--muted); max-width: 36ch; }
.nv-token--janela [data-ref="tk"] { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; }
/* Contatos salvos no campo Para */
.nv-ct { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: -2px 0 6px; }
.nv-ct__rot { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: var(--muted); margin-right: 2px; }
.nv-ct__chip { padding: 4px 11px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; font: 600 12.5px Satoshi, sans-serif; color: var(--ink-2); cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.nv-ct__chip:hover { border-color: var(--accent); color: var(--accent); }
.nv-ct__chip.is-on { background: var(--accent); border-color: var(--accent); color: #fff; }
.nv-ct__acao { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border: 0; background: none; font: 600 12px Satoshi, sans-serif; color: var(--accent); cursor: pointer; border-radius: 8px; }
.nv-ct__acao:hover { background: rgba(195, 84, 33, .08); }
.nv-ct__lista { display: flex; flex-direction: column; gap: 8px; margin: 10px 0 12px; }
.nv-ct__ed { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 8px; align-items: center; }
@media (max-width: 560px) { .nv-ct__ed { grid-template-columns: 1fr auto; } .nv-ct__ed [data-e] { grid-column: 1; } }
.nv-token--janela .nv-token__form { flex-direction: row; align-items: stretch; justify-content: center; }

/* Token: regra por pessoa (tabela pessoa × plataforma) */
.nv-tkm__rolo { overflow-x: auto; padding: 0 24px 6px; }
.nv-tkm { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13px; min-width: 980px; }
.nv-tkm th, .nv-tkm td { padding: 10px 6px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.nv-tkm thead th { font-weight: 700; font-size: 12.5px; color: var(--ink-2); white-space: nowrap; }
.nv-tkm thead th small { display: block; font-weight: 600; font-size: 11px; color: var(--muted); margin-top: 2px; }
.nv-tkm thead th small.is-pede { color: var(--accent); }
.nv-tkm tbody tr:last-child > * { border-bottom: 0; }
.nv-tkm__pessoa { text-align: left !important; position: sticky; left: 0; background: var(--card, #fff); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); z-index: 1; min-width: 220px; }
.nv-tkm__quem { display: flex; align-items: center; gap: 10px; }
.nv-tkm__quem > span { display: flex; flex-direction: column; } .nv-tkm__quem b { font-size: 13.5px; } .nv-tkm__quem b em { font-style: normal; font-size: 10.5px; font-weight: 700; color: var(--accent); background: rgba(195, 84, 33, .08); padding: 1px 6px; border-radius: 99px; margin-left: 4px; vertical-align: 1px; }
.nv-tkm__quem small { color: var(--muted); font-size: 11.5px; font-weight: 500; }
.nv-tkm__quem .av { width: 30px; height: 30px; flex: none; }
.nv-tkm__c { min-width: 92px; }
.nv-tkm__estado { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: 12px; margin-bottom: 5px; }
.nv-tkm__c.is-pede .nv-tkm__estado { color: var(--accent); }
.nv-tkm__c.is-livre .nv-tkm__estado { color: #1f8a4c; }
.nv-tkm__c:not(.is-padrao) .nv-tkm__estado::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin-left: 2px; }
.nv-tkm__c.is-sem { opacity: .45; }
.nv-tkm__sel { display: block; width: 100%; max-width: 128px; margin: 0 auto; font: 600 12px Satoshi, sans-serif; color: var(--ink-2); background: transparent; border: 1px solid var(--line-2); border-radius: 8px; padding: 5px 6px; cursor: pointer; }
.nv-tkm__sel:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.nv-tkm__c:not(.is-padrao) .nv-tkm__sel { border-color: currentColor; }
.nv-tkm__c.is-pede:not(.is-padrao) .nv-tkm__sel { color: var(--accent); }
.nv-tkm__c.is-livre:not(.is-padrao) .nv-tkm__sel { color: #1f8a4c; }
.nv-tkm__tudo { min-width: 120px; }
.nv-tkm__leg { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 12px 24px 18px; font-size: 12px; color: var(--muted); }
.nv-tkm__leg span { display: inline-flex; align-items: center; gap: 5px; } .nv-tkm__leg .is-pede { color: var(--accent); } .nv-tkm__leg .is-livre { color: #1f8a4c; } .nv-tkm__leg .is-sem { opacity: .6; }
.nv-tkm__ponto { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-2); display: inline-block; }
.nv-tkm__vazio { padding: 0 24px 18px; }

/* ===== 15/11 15h: Documentos (pastas, lixeira, kits, links, entrada, histórico) + Financeiro (ferramentas) ===== */
.nv-modal__box--largo { width: min(860px, 100%); }
.nv-docs__cls a.nv-docs__raiz, .nv-docs__cls .nv-docs__raiz { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; font-weight: 600; font-size: var(--fs-md); text-align: left; color: inherit; text-decoration: none; }
.nv-docs__cls a.nv-docs__raiz:hover { background: var(--card-2); }
.nv-docs__cls a.nv-docs__raiz span, .nv-docs__cls .nv-docs__raiz span { margin-left: auto; font-size: var(--fs-xs); opacity: .7; }
.nv-docs__cls .is-novo { background: #1d4ed8; color: #fff; opacity: 1 !important; border-radius: 999px; padding: 1px 7px; }
.nv-docs__cls > b { margin-top: 8px; }
.nv-docs__no { display: flex; align-items: center; gap: 2px; padding-left: calc(var(--n, 0) * 14px); }
.nv-docs__no > button:last-child { flex: 1; min-width: 0; }
.nv-docs__no em { font-style: normal; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.nv-docs__no .ico--sm { flex: none; opacity: .75; }
.nv-docs__cls .nv-docs__seta { width: 22px; height: 22px; padding: 0; justify-content: center; border-radius: 6px; flex: none; color: var(--muted); }
.nv-docs__seta .ico { transition: transform .15s; } .nv-docs__seta.is-aberta .ico { transform: rotate(90deg); }
.nv-docs__seta-vazia { width: 22px; flex: none; }
.nv-docs__cab { padding: 16px 20px 4px; } .nv-docs__cab h2 { margin: 0; font-size: var(--fs-lg); }
.nv-docs__migalhas { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: var(--fs-md); }
.nv-docs__migalhas button { padding: 4px 8px; border-radius: 8px; font-weight: 600; color: var(--muted); }
.nv-docs__migalhas button:hover { background: var(--card-2); color: inherit; }
.nv-docs__migalhas button[aria-current] { color: #1d4ed8; font-weight: 800; } [data-theme=dark] .nv-docs__migalhas button[aria-current] { color: #93c5fd; }
.nv-docs__migalhas .ico { opacity: .45; }
.nv-docs__pastas { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; padding: 12px 20px 4px; }
.nv-docs__pasta { position: relative; display: flex; border-radius: 14px; background: linear-gradient(160deg, #f8fbff, #eef4ff); box-shadow: inset 0 0 0 1px rgba(29, 78, 216, .14); }
[data-theme=dark] .nv-docs__pasta { background: rgba(29, 78, 216, .14); }
.nv-docs__pasta > button:first-child, .nv-docs__pasta.is-nova { flex: 1; display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; padding: 12px 14px; text-align: left; border-radius: 14px; min-width: 0; }
.nv-docs__pasta > button:first-child .ico, .nv-docs__pasta.is-nova .ico { grid-row: span 2; color: #1d4ed8; width: 26px; height: 26px; }
.nv-docs__pasta b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .nv-docs__pasta small { color: var(--muted); font-size: var(--fs-xs); }
.nv-docs__pasta:hover { box-shadow: inset 0 0 0 1.5px rgba(29, 78, 216, .45); }
.nv-docs__pasta > span { position: absolute; top: 6px; right: 6px; opacity: 0; transition: opacity .15s; } .nv-docs__pasta:hover > span { opacity: 1; }
.nv-docs__pasta.is-nova { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(29, 78, 216, .3); border: 0; outline-offset: 2px; }
.nv-docs__pasta.is-nova { box-shadow: none; border: 2px dashed rgba(29, 78, 216, .3); }
.nv-docs__alerta { display: flex; width: 100%; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; background: var(--warn-soft); text-align: left; margin-bottom: var(--gap); }
.nv-docs__alerta.is-bad { background: var(--bad-soft); } .nv-docs__alerta > svg { color: var(--warn); flex: none; } .nv-docs__alerta.is-bad > svg { color: var(--bad); }
.nv-docs__alerta span { display: flex; flex-direction: column; flex: 1; } .nv-docs__alerta small { color: var(--muted); } .nv-docs__alerta em { font-style: normal; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }
.nv-docs__link { font: inherit; font-weight: 700; color: inherit; text-align: left; padding: 0; } .nv-docs__link:hover { color: #1d4ed8; text-decoration: underline; }
.nv-docs__v { display: inline-block; padding: 0 6px; border-radius: 6px; font-size: 10px; font-weight: 800; background: rgba(29, 78, 216, .12); color: #1d4ed8; vertical-align: 1px; }
.nv-docs__h3 { margin: 18px 0 8px; font-size: var(--fs-md); }
.nv-docs__info { grid-template-columns: 140px 1fr; }
.nv-docs__kpis { margin: 14px 0 0; }
.nv-docs__pronto { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 14px; background: var(--good-soft); }
.nv-docs__pronto b { display: inline-flex; align-items: center; gap: 6px; color: var(--good); }
.nv-docs__url { display: flex; gap: 8px; } .nv-docs__url .input { flex: 1; font-size: var(--fs-sm); }
.nv-docs__kitlista { max-height: 340px; overflow: auto; display: flex; flex-direction: column; gap: 10px; padding: 4px; }
.nv-docs__kitlista fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.nv-docs__kitlista legend { font-size: var(--fs-xs); font-weight: 800; color: var(--muted); padding: 0 0 4px; }
.nv-docs__kitlista label { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 8px; cursor: pointer; } .nv-docs__kitlista label:hover { background: var(--card-2); }
.nv-docs__kitlista label small { margin-left: auto; color: var(--muted); }
.nv-docs__kits { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; padding: 4px 20px 20px; }
.nv-docs__kit { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; border-radius: 16px; background: linear-gradient(160deg, #f8fbff, #eef4ff); box-shadow: inset 0 0 0 1px rgba(29, 78, 216, .14); }
[data-theme=dark] .nv-docs__kit { background: rgba(29, 78, 216, .14); }
.nv-docs__kit header { display: flex; flex-direction: column; } .nv-docs__kit header b { display: inline-flex; align-items: center; gap: 6px; } .nv-docs__kit header small, .nv-docs__kit p { color: var(--muted); font-size: var(--fs-sm); margin: 0; }
.nv-docs__kit ul { margin: 0; padding-left: 18px; font-size: var(--fs-sm); display: flex; flex-direction: column; gap: 2px; }
.nv-docs__kit footer { display: flex; gap: 6px; margin-top: auto; flex-wrap: wrap; }
.nv-docs__acao.is-g-saida { background: rgba(29, 78, 216, .12); color: #1d4ed8; } .nv-docs__acao.is-g-link { background: rgba(124, 58, 237, .12); color: #6d28d9; }
.nv-docs__acao.is-g-mudanca { background: rgba(8, 145, 178, .12); color: #0e7490; } .nv-docs__acao.is-g-estrutura { background: var(--card-3); } .nv-docs__acao.is-g-entrada { background: rgba(217, 119, 6, .12); color: #b45309; }
.nv-docs__acao.is-incluiu, .nv-docs__acao.is-restaurou, .nv-docs__acao.is-entrada_classificou { background: var(--good-soft); color: var(--good); }
.nv-docs__acao.is-apagou, .nv-docs__acao.is-lixeira, .nv-docs__acao.is-pasta_apagou, .nv-docs__acao.is-classe_apagou, .nv-docs__acao.is-link_revogou { background: var(--bad-soft); color: var(--bad); }
[data-theme=dark] .nv-docs__acao { color: #e2e8f0 !important; }
.nv-table tr.is-sel td { background: rgba(29, 78, 216, .08); }
.nv-check { display: flex; align-items: center; gap: 8px; font-size: var(--fs-md); cursor: pointer; }
/* financeiro */
.nv-emp-neg { color: var(--bad); }
.nv-emp-kpi.is-warn { box-shadow: inset 0 0 0 1.5px var(--warn), var(--shadow-sm); }
.nv-emp-barra { display: inline-block; width: calc(100% - 44px); height: 8px; border-radius: 99px; background: var(--card-3); overflow: hidden; vertical-align: middle; }
.nv-emp-barra i { display: block; height: 100%; border-radius: 99px; background: #79a471; }
.nv-emp-barra.is-good i { background: #278664; } .nv-emp-barra.is-warn i { background: var(--warn); } .nv-emp-barra.is-bad i { background: var(--bad); } .nv-emp-barra.is-plain i { background: #a3ad9a; }
.nv-emp-pe { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: center; }
.nv-emp-pe__num { display: flex; flex-direction: column; gap: 4px; } .nv-emp-pe__num small, .nv-emp-pe__num span { color: var(--muted); font-size: var(--fs-sm); } .nv-emp-pe__num b { font-size: 30px; letter-spacing: -.02em; color: #278664; }
.nv-emp-pe__trilho { position: relative; height: 18px; border-radius: 99px; background: var(--card-3); overflow: hidden; }
.nv-emp-pe__trilho i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 99px; } .nv-emp-pe__trilho .is-proj { background: rgba(121, 164, 113, .35); } .nv-emp-pe__trilho .is-real { background: #278664; z-index: 1; }
.nv-emp-pe__trilho em { position: absolute; top: -2px; bottom: -2px; width: 2px; background: var(--text, #111); z-index: 2; }
.nv-emp-pe__barra p { margin: 10px 0 0; }
.nv-emp-clip { display: inline-flex; align-items: center; gap: 2px; padding: 0 6px; border-radius: 6px; font-size: 11px; font-weight: 800; background: rgba(39, 134, 100, .12); color: #278664; vertical-align: 1px; }
.nv-emp-comp { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border-radius: 14px; background: var(--card-2); }
.nv-emp-comp > b { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-sm); }
.nv-emp-comp [data-ref="comp"] { display: flex; flex-wrap: wrap; gap: 6px; } .nv-emp-comp [data-ref="comp"]:empty { display: none; }
.nv-emp-comp__it { display: inline-flex; align-items: center; gap: 4px; padding: 3px 4px 3px 10px; border-radius: 999px; background: var(--card); font-size: var(--fs-xs); font-weight: 600; box-shadow: inset 0 0 0 1px var(--line, rgba(0,0,0,.08)); }
.nv-emp-comp__it.is-novo { background: var(--good-soft); } .nv-emp-comp__it button { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; } .nv-emp-comp__it button:hover { background: var(--card-3); }
.nv-emp-comp__bts { display: flex; gap: 6px; flex-wrap: wrap; } .nv-emp-comp__bts label { cursor: pointer; }
@media (width <= 760px) { .nv-emp-pe { grid-template-columns: 1fr; } .nv-docs__info { grid-template-columns: 1fr; } }
/* 15/11 15h: espaço entre os cartões das telas de Documentos e Financeiro da empresa */
.page.nv-docs > .card + .card, .page.nv-emp > .card + .card, .page.nv-emp > .card + .nv-emp-nota, .page.nv-emp > .card + .nv-emp-grid { margin-top: var(--gap); }
.page.nv-emp > .card + .nv-emp-nota { margin-bottom: 0; }
.nv-docs .card--flush .empty, .nv-emp .card--flush .empty { padding: 22px 20px 26px; }
.nv-docs .card--flush > div:has(> .empty), .nv-emp .card--flush > div:has(> .empty) { padding-bottom: 6px !important; }
/* varredura de espaçamento (15/11 15h) */
.nv-emp-kpis:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (width <= 1279px) { .nv-emp-kpis:has(> :nth-child(3):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.page.nv-emp > .nv-emp-nota, .page.nv-docs > .nv-emp-nota { margin: 12px 4px 0; }
.nv-emp .card--flush > .table-wrap:first-child, .nv-docs .card--flush > .table-wrap:first-child { padding-top: 6px; }
.nv-emp .card--flush > .table-wrap:last-child, .nv-docs .card--flush > .table-wrap:last-child { padding-bottom: 8px; }
.nv-emp .card--flush > .table-wrap + .nv-emp-nota { margin-top: 4px; }
.chip > small { font-size: var(--fs-2xs); opacity: .75; font-weight: 700; }
.nv-docs__cls .nv-docs__raiz { padding-left: 34px !important; position: relative; }
.nv-docs__cls .nv-docs__raiz > i, .nv-docs__cls .nv-docs__raiz > svg { position: absolute; left: 12px; }
.nv-docs__cls > b { padding-left: 34px; }
.nv-docs__cab + .toolbar, .nv-docs__pastas + .toolbar { padding-top: 12px; }
.nv-docs .nv-docs__alerta { margin-bottom: var(--gap); }
.nv-emp-pe { padding-top: 4px; }
/* nível de acesso dos documentos (Geral / Confidencial) */
.nv-docs__nivel { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.nv-docs__nivel legend { font-size: var(--fs-sm); font-weight: 600; color: var(--ink-2); padding: 0 0 6px; }
.nv-docs__nivel label { cursor: pointer; }
.nv-docs__nivel input { position: absolute; opacity: 0; pointer-events: none; }
.nv-docs__nivel span { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line-2); height: 100%; }
.nv-docs__nivel span .ico { grid-row: span 2; }
.nv-docs__nivel small { color: var(--muted); font-size: var(--fs-xs); }
.nv-docs__nivel input:checked + span { background: rgba(29, 78, 216, .08); box-shadow: inset 0 0 0 2px #1d4ed8; }
.nv-docs__nivel input[value=confidencial]:checked + span { background: var(--bad-soft); box-shadow: inset 0 0 0 2px var(--bad); }
.nv-docs__nivel input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.nv-docs__nivel.is-erro span { box-shadow: inset 0 0 0 1.5px var(--bad); }
.nv-docs__conf { display: inline-flex; align-items: center; gap: 3px; padding: 0 7px; border-radius: 6px; font-size: 10.5px; font-weight: 800; background: var(--bad-soft); color: var(--bad); vertical-align: 1px; }
.nv-docs__conf .ico { width: 12px; height: 12px; }
@media (width <= 600px) { .nv-docs__nivel { grid-template-columns: 1fr; } }
.nv-emp-filtros > .chips[data-emp-unid] { padding-left: 12px; margin-left: 2px; border-left: 1px solid var(--line-2); }
.nv-emp-filtros > .chips[data-emp-unid]:first-child { padding-left: 0; margin-left: 0; border-left: 0; }
.nv-modal .nv-emp-nota { margin: 2px 0 0; }
/* e-mails automáticos: os do painel inteiro ficam num bloco à parte */
.nv-auto__painel { margin-top: 14px; border-radius: 14px; background: var(--card-2); padding: 10px 14px; }
.nv-auto__painel summary { cursor: pointer; font-size: var(--fs-sm); font-weight: 600; color: var(--muted); }
.nv-auto__painel .nv-auto { margin-top: 10px; }
.nv-plat-esc { display: grid; gap: 8px; margin-top: 12px; } .nv-plat-esc .btn { justify-content: flex-start; height: 44px; }
/* 15/11: sino fora do menu, no topo do Início, ao lado da Agenda */
.nv-hub__sino { position: relative; padding-left: 11px; padding-right: 11px; }
/* 15/11: a luz em cima da barra (lâmpada do nv-tubo) é sempre branca, em qualquer plataforma/cor */
.nv-tubo__lamp::after { background: rgba(255, 255, 255, .05) !important; }
.nv-tubo__lamp i { background: #fff !important; box-shadow: 0 0 10px 1px rgba(255, 255, 255, .75) !important; }
.nv-tubo__lamp i::before { background: rgba(255, 255, 255, .28) !important; }
.nv-tubo__lamp i::after { background: rgba(255, 255, 255, .22) !important; }
/* ===== 15/11: seletor de cor livre (personalizar) ===== */
.nv-cor--livre { position: relative; background: conic-gradient(from 90deg, #ed5712, #ff0, #0f0, #0ff, #00f, #f0f, #ed5712) !important; }
.nv-cor--livre::after { content: "+"; position: absolute; inset: 3px; border-radius: 50%; display: grid; place-items: center; background: var(--sw, var(--panel)); color: var(--ink); font: 700 13px/1 sans-serif; }
.nv-cor--livre[style*="--sw"]::after { content: ""; }
.nv-cp { position: fixed; z-index: 400; width: 268px; overflow: hidden; border-radius: 16px; background: #141116; color: #fff; font-family: Satoshi, system-ui, sans-serif; user-select: none;
  box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 24px 50px -16px rgba(0,0,0,.8); animation: nv-cp-in .18s cubic-bezier(.23,1,.32,1); transform-origin: top center; }
@keyframes nv-cp-in { from { opacity: 0; transform: scale(.96); } }
.nv-cp__sv { position: relative; isolation: isolate; height: 164px; cursor: crosshair; touch-action: none; outline: none; }
.nv-cp__sv.is-arrastando { cursor: grabbing; }
.nv-cp__sv:focus-visible { box-shadow: inset 0 0 0 2px rgba(255,255,255,.7); }
.nv-cp__sv i { position: absolute; inset: 0; pointer-events: none; }
.nv-cp__br { background: linear-gradient(to right, #fff, transparent); }
.nv-cp__pr { background: linear-gradient(to top, #000, transparent); }
.nv-cp__th { position: absolute; display: block; pointer-events: none; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.35), 0 1px 4px rgba(0,0,0,.4); transform: translate(-50%, -50%); transition: transform .1s ease-out; }
.nv-cp__sv .nv-cp__th { width: 16px; height: 16px; }
.is-arrastando > .nv-cp__th { transform: translate(-50%, -50%) scale(1.12); }
.nv-cp__corpo { display: grid; gap: 12px; padding: 12px; }
.nv-cp__linha { display: flex; align-items: center; gap: 10px; }
.nv-cp__btn { all: unset; box-sizing: border-box; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; color: rgba(255,255,255,.72); cursor: pointer;
  background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); transition: background .1s, color .1s, transform .1s; }
.nv-cp__btn:hover { background: rgba(255,255,255,.1); color: #fff; }
.nv-cp__btn:active { transform: scale(.97); }
.nv-cp__btn:focus-visible { outline: 2px solid rgba(255,255,255,.6); outline-offset: 2px; }
.nv-cp__fmt { background: none; box-shadow: none; margin-top: 1px; }
.nv-cp__prev { flex: none; width: 32px; height: 32px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14);
  background: repeating-conic-gradient(rgba(255,255,255,.26) 0% 25%, transparent 0% 50%) 50% / 8px 8px, #141116; }
.nv-cp__prev i { display: block; width: 100%; height: 100%; border-radius: 50%; }
.nv-cp__hue { position: relative; flex: 1; height: 12px; border-radius: 99px; cursor: pointer; touch-action: none; outline: none;
  background: linear-gradient(to right, #ed5712 0%, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #ed5712 100%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.nv-cp__hue:focus-visible { outline: 2px solid rgba(255,255,255,.6); outline-offset: 3px; }
.nv-cp__hue .nv-cp__th { top: 50%; width: 18px; height: 18px; }
.nv-cp__campos { display: flex; align-items: flex-start; gap: 8px; }
.nv-cp__flds { flex: 1; display: flex; gap: 8px; min-width: 0; }
.nv-cp__f { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.nv-cp__f input { box-sizing: border-box; width: 100%; height: 32px; border: 1px solid rgba(255,255,255,.1); border-radius: 10px; background: #0b0a0d; color: #fff; text-align: center;
  font: 500 12px/1 Satoshi, system-ui, sans-serif; font-variant-numeric: tabular-nums; outline: none; transition: border-color .15s, box-shadow .15s; }
.nv-cp__f input:hover { border-color: rgba(255,255,255,.18); }
.nv-cp__f input:focus { border-color: rgba(255,255,255,.3); box-shadow: 0 0 0 2px rgba(255,255,255,.18); }
.nv-cp__f span { font-size: 10px; font-weight: 500; letter-spacing: .08em; color: rgba(255,255,255,.6); }
.nv-cp__f--hex { position: relative; }
.nv-cp__f--hex b { position: absolute; left: 11px; top: 9px; font-size: 12px; font-weight: 400; color: rgba(255,255,255,.4); pointer-events: none; }
.nv-cp__f--hex input { text-align: left; padding: 0 10px 0 22px; text-transform: uppercase; letter-spacing: .08em; }
.nv-cp__sw { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.08); }
.nv-cp__sw button { all: unset; width: 20px; height: 20px; border-radius: 50%; cursor: pointer; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); transition: transform .1s; }
.nv-cp__sw button:hover { transform: scale(1.12); }
.nv-cp__sw button[aria-pressed="true"] { box-shadow: 0 0 0 2px #141116, 0 0 0 4px #fff; }
.nv-cp__sw button:focus-visible { outline: 2px solid rgba(255,255,255,.7); outline-offset: 2px; }

/* ===== 15/11: calendário escuro (todos os campos de data) ===== */
input[type="date"] { cursor: pointer; }
.nv-cal { position: fixed; z-index: 400; width: 312px; padding: 16px 14px 12px; border-radius: 16px; background: #0b0b0c; color: #fff; font-family: Satoshi, system-ui, sans-serif;
  box-shadow: 0 0 0 1px rgba(255,255,255,.09), 0 24px 50px -16px rgba(0,0,0,.85); animation: nv-cp-in .18s cubic-bezier(.23,1,.32,1); transform-origin: top left; }
.nv-cal__topo { display: flex; align-items: center; justify-content: space-between; margin: 0 2px 12px; }
.nv-cal__topo b { font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.nv-cal__nav { all: unset; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; color: rgba(255,255,255,.85); cursor: pointer; transition: background .12s; }
.nv-cal__nav:hover { background: rgba(255,255,255,.08); color: #fff; }
.nv-cal__nav:focus-visible { outline: 2px solid rgba(255,255,255,.6); }
.nv-cal__sem, .nv-cal__grade { display: grid; grid-template-columns: repeat(7, 1fr); }
.nv-cal__sem span { text-align: center; font-size: 12px; font-weight: 500; color: rgba(255,255,255,.5); padding-bottom: 8px; }
.nv-cal__grade { row-gap: 4px; }
.nv-cal__grade button { all: unset; box-sizing: border-box; justify-self: center; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; cursor: pointer;
  font-size: 14.5px; font-weight: 500; font-variant-numeric: tabular-nums; color: #fff; transition: background .12s, color .12s; }
.nv-cal__grade button:hover { background: rgba(255,255,255,.08); }
.nv-cal__grade button.is-fora { color: rgba(255,255,255,.32); }
.nv-cal__grade button.is-hoje { box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.nv-cal__grade button.is-sel { background: #2f7cf6; color: #fff; font-weight: 700; box-shadow: 0 4px 14px -4px rgba(47,124,246,.7); }
.nv-cal__grade button:focus-visible { outline: 2px solid rgba(255,255,255,.75); outline-offset: 1px; }
.nv-cal__grade button:disabled { color: rgba(255,255,255,.18); cursor: not-allowed; background: none; }
.nv-cal__pe { display: flex; justify-content: space-between; margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.07); }
.nv-cal__pe button { all: unset; cursor: pointer; padding: 6px 10px; border-radius: 8px; font-size: 13px; font-weight: 600; color: #6aa3ff; }
.nv-cal__pe button:hover { background: rgba(47,124,246,.12); }
.nv-cal__pe button:disabled { opacity: .4; cursor: default; }
@media (prefers-reduced-motion: reduce) { .nv-cp, .nv-cal { animation: none; } .nv-cp__th { transition: none; } }
/* 15/11: agenda com início e término + conflito */
.nv-modal--agenda .nv-ag__linha { grid-template-columns: 1.4fr 1fr 1fr; }
@media (max-width: 520px) { .nv-modal--agenda .nv-ag__linha { grid-template-columns: 1fr 1fr; } .nv-modal--agenda .nv-ag__linha > :first-child { grid-column: 1 / -1; } }
.nv-ag__conflito { display: flex; gap: 8px; align-items: flex-start; }
.nv-ag__conflito .ico { flex: none; margin-top: 2px; }
.nv-ag__hora { display: grid; gap: 2px; align-content: start; }
.nv-ag__hora small { font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.nv-ag__cf { justify-self: start; margin-top: 3px; padding: 1px 7px; border-radius: 99px; font-style: normal; font-size: 10.5px; font-weight: 700; color: #b45309; background: rgba(245, 158, 11, .16); }

/* =====================================================================
   ADMINISTRAÇÃO (15/11): plataforma 'admin'
   ===================================================================== */
.nv-adm { display: flex; flex-direction: column; gap: 22px; }
.nv-adm > .card, .nv-adm > div > .card, .nv-adm .nv-adm-grid > .card { margin: 0; }
.nv-adm [data-ref] > .card + .card, .nv-adm [data-ref] > .kpis + .nv-adm-grid, .nv-adm [data-ref] > .nv-adm-grid + .card, .nv-adm [data-ref] > .kpis + .card, .nv-adm [data-ref] > .nv-adm-grid + .nv-adm-grid { margin-top: 22px; }
.nv-adm .chead { padding-bottom: 8px; }
.nv-adm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.nv-adm-kpi { text-decoration: none; color: inherit; transition: transform .15s ease; }
.nv-adm-kpi:hover { transform: translateY(-2px); }
.nv-adm .kpis--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nv-adm-saude { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; text-decoration: none; color: inherit; border-left: 3px solid var(--line, rgba(127,127,127,.25)); transition: transform .15s ease; }
.nv-adm-saude:hover { transform: translateY(-2px); }
.nv-adm-saude > span { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(127,127,127,.12); }
.nv-adm-saude b { display: block; margin-bottom: 4px; }
.nv-adm-saude small { color: var(--ink-2); line-height: 1.45; display: block; }
.nv-adm-saude.is-ok { border-left-color: #1e8a52; }
.nv-adm-saude.is-ok > span { color: #1e8a52; background: rgba(30,138,82,.12); }
.nv-adm-saude.is-warn { border-left-color: #b7791f; }
.nv-adm-saude.is-warn > span { color: #b7791f; background: rgba(183,121,31,.14); }
.nv-adm-saude.is-bad { border-left-color: #d66733; }
.nv-adm-saude.is-bad > span { color: #d66733; background: rgba(214, 103, 51,.12); }
.nv-adm-mini { list-style: none; margin: 4px 0 0; padding: 0; font-size: var(--fs-sm); display: grid; gap: 3px; }
.nv-adm-mini li { display: flex; justify-content: space-between; gap: 10px; color: var(--ink-2); }
.nv-adm-alerta { grid-column: 1 / -1; border-left: 3px solid #b7791f; }
.nv-adm-lista { display: flex; flex-direction: column; gap: 10px; padding: 0 20px 18px; }
.nv-adm-linha { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: space-between; }
.nv-adm-filtros { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 14px 16px; }
.nv-adm-filtros .inwrap { flex: 1 1 220px; }
.nv-adm-data { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-sm); color: var(--ink-2); }
.nv-adm-data .input { width: 150px; }
.nv-adm-click { cursor: pointer; }
.nv-adm-click:hover td { background: rgba(127,127,127,.06); }
.nv-adm-json { margin: 12px 0 0; padding: 14px; border-radius: 12px; background: rgba(127,127,127,.1); font-size: 12px; line-height: 1.5; max-height: 50vh; overflow: auto; white-space: pre-wrap; word-break: break-word; }
.nv-adm-dl { display: grid; grid-template-columns: 110px 1fr; gap: 6px 14px; margin: 0; font-size: var(--fs-sm); }
.nv-adm-dl dt { color: var(--ink-2); }
.nv-adm-dl dd { margin: 0; }
.nv-adm-segs { list-style: none; margin: 0; padding: 0 20px 14px; display: grid; gap: 8px; }
.nv-adm-segs li { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.nv-adm-segs code, .nv-adm code { font-size: 12px; }
.nv-adm-p { padding: 0 20px 18px; margin: 0; line-height: 1.6; font-size: var(--fs-sm); }
.nv-adm-p .btn { margin-left: 8px; }
.nv-adm-seg { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; padding: 14px 16px 18px; border-top: 1px solid rgba(127,127,127,.15); }
.nv-adm-seg > div { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.nv-adm-seg b { font-size: 22px; }
.nv-adm-seg small { color: var(--ink-2); }
.nv-adm-pessoa { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.nv-adm-h3 { font-size: 15px; margin: 18px 0 8px; }
.nv-adm-h3 small { font-weight: 400; color: var(--ink-2); font-size: 12px; }
.nv-adm-perms { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }
.nv-adm td small, .nv-adm-pessoa small { display: block; }
.nv-adm .table td .nv-acoes { justify-content: flex-end; align-items: center; }
.nv-adm .tone--bad, .nv-adm-p .tone--bad { color: #d66733; }
@media (max-width: 760px) { .nv-adm .kpis--3 { grid-template-columns: 1fr; } .nv-adm-dl { grid-template-columns: 1fr; } }
.nv-adm-filtros .select, .nv-adm-filtros .nv-select { width: auto; flex: 0 1 200px; min-width: 150px; }
.nv-adm-filtros .nv-adm-data { flex: 0 0 auto; }
.nv-adm-filtros .inwrap { flex: 1 1 240px; width: auto; }
/* Administração: arte do card (cadeado) e filtro por ação do Histórico */
.nv-cadeado { position: absolute; inset: 0; pointer-events: none; border-radius: inherit; overflow: hidden; }
.nv-cadeado svg { width: 100%; height: 100%; display: block; }
.nv-adm-acoes { display: flex; gap: 12px; align-items: flex-start; padding: 0 16px 14px; }
.nv-adm-acoes__rot { flex: none; font-size: var(--fs-sm); font-weight: 700; color: var(--ink-2); padding-top: 7px; }
.nv-adm-acoes .chips { flex-wrap: wrap; gap: 6px; }
.nv-adm-acoes .chip.is-zero:not([aria-pressed="true"]) { opacity: .45; }
.nv-adm-acoes .nv-adm-limpar { border-style: dashed; }
.nv-adm-tag { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 99px; font-size: 11px; font-weight: 600; background: rgba(127,127,127,.14); color: var(--ink-2); vertical-align: middle; }
/* 15/11 18h20: número do sino no canto de fora do botão, sem cobrir o desenho do sino */
.nv-tubo > .nv-hub__sino, .nv-hub__sino { justify-content: center; padding-left: 12px; padding-right: 12px; overflow: visible; }
.nv-hub__sino .ico { margin: 0; }
.nv-hub__sino-n { top: -7px; right: -9px; min-width: 17px; height: 17px; padding: 0 4px; font-size: 10px; line-height: 17px; box-shadow: 0 0 0 2px #050507, 0 2px 6px rgba(219, 108, 56, .45); z-index: 2; pointer-events: none; }

/* 15/11 18h40: Adicionar pessoa (convite com acessos) */
.nv-addp { display: flex; flex-direction: column; gap: 14px; }
.nv-addp__linha { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 640px) { .nv-addp__linha { grid-template-columns: 1fr; } }
.nv-addp__plats .nv-accs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.nv-addp__plats .nv-acc { min-width: 0; }
.nv-addp .nv-check { display: flex; align-items: center; gap: 8px; font-size: var(--fs-sm); color: var(--ink-2); cursor: pointer; }
.nv-addp .nv-check input { width: 16px; height: 16px; accent-color: var(--accent, #db7241); }
.nv-table--convites td { vertical-align: middle; }
.nv-table--convites td small { display: block; }
.nv-convite__acc { font-size: 12.5px; color: var(--ink-2); max-width: 520px; white-space: normal; }

/* 15/11 19h: Agenda com participantes (convidar pessoas do painel) */
.nv-ag__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.nv-ag__chip { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px 5px 5px; border-radius: 99px; background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; font-weight: 600; color: var(--ink-2); cursor: pointer; user-select: none; transition: background .15s, box-shadow .15s, color .15s; }
.nv-ag__chip input { position: absolute; opacity: 0; pointer-events: none; }
.nv-ag__chip img, .nv-ag__chip em { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; flex: none; }
.nv-ag__chip em { display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 700; background: var(--line); color: var(--ink-2); }
.nv-ag__chip.is-on { background: color-mix(in srgb, var(--accent) 12%, transparent); box-shadow: inset 0 0 0 1.5px var(--accent); color: var(--ink); }
.nv-ag__chip:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.nv-ag__pessoas > small { display: block; margin-top: 2px; font-size: 12px; }
.nv-ag__parts { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.nv-ag__part { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 99px; font-size: 11.5px; font-weight: 600; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); }
.nv-ag__part i { font-style: normal; font-weight: 500; opacity: .75; }
.nv-ag__part.is-aceito { box-shadow: inset 0 0 0 1px rgba(34,160,90,.45); }
.nv-ag__part.is-aceito i { color: #1f9d55; opacity: 1; }
.nv-ag__part.is-pendente i { color: #c58a00; opacity: 1; }
.nv-ag__part.is-recusado { opacity: .6; text-decoration: line-through; }
.nv-ag__sair { margin-top: 6px; padding: 0; border: 0; background: none; color: var(--muted); font-size: 12px; text-decoration: underline; cursor: pointer; }
.nv-ag__conv { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.nv-ag__cfx { display: block; margin-top: 4px; color: #b45309; font-weight: 600; }
.nv-ag__resp, .nv-sino__resp { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.nv-sino__cf { color: #f5b041 !important; }
.nv-sino__conv { margin-bottom: 10px; }
.nv-sino__conv li { background: rgba(219, 108, 56,.08); }

/* 15/11 20h: Agenda com menu (abas com submenu) que recolhe para o lado + aba E-mail (next@) */
.nv-modal--agenda .nv-modal__box { width: min(780px, 100%); }
.nv-agw { display: flex; flex-direction: column; gap: 16px; }
.nv-agnav { display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: 14px; background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line); position: relative; z-index: 3; }
.nv-agnav__rec { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 10px; background: none; color: var(--muted); cursor: pointer; transition: background .15s, color .15s; }
.nv-agnav__rec:hover { background: var(--card); color: var(--ink); }
.nv-agnav__grp { position: relative; }
.nv-agnav__btn { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border: 0; border-radius: 10px; background: none; color: var(--ink-2); font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1; cursor: pointer; transition: background .15s, color .15s; white-space: nowrap; }
.nv-agnav__btn:hover, .nv-agnav__grp.is-aberto .nv-agnav__btn { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.nv-agnav__btn.is-on { color: var(--accent-text, var(--accent)); }
.nv-agnav__menu { position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px; padding: 6px; border-radius: 12px; background: var(--card); box-shadow: 0 0 0 1px var(--line), 0 18px 40px -12px rgba(0,0,0,.35); display: grid; gap: 2px; opacity: 0; transform: translateY(-4px); pointer-events: none; transition: opacity .15s, transform .15s; }
.nv-agnav__grp.is-aberto .nv-agnav__menu { opacity: 1; transform: none; pointer-events: auto; }
.nv-agnav__menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 12px; border: 0; border-radius: 8px; background: none; color: var(--ink); font-family: inherit; font-size: 14px; font-weight: 500; line-height: 1.2; text-align: left; cursor: pointer; }
.nv-agnav__menu button:hover, .nv-agnav__menu button:focus-visible { background: var(--card-2); outline: none; }
.nv-agnav__menu button.is-on { color: var(--accent-text, var(--accent)); font-weight: 600; }
.nv-agnav__menu .ico { color: var(--muted); }
.nv-agnav__n { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; display: grid; place-items: center; background: #db6c38; color: #fff; font-size: 11px; font-weight: 700; }
.nv-agnav__n[hidden] { display: none; }
/* recolhido: vira uma barrinha de ícones na lateral, submenu abre para o lado */
.nv-agw.is-recolhido { flex-direction: row; align-items: flex-start; }
.nv-agw.is-recolhido .nv-agnav { flex-direction: column; flex: none; width: 46px; position: sticky; top: 0; }
.nv-agw.is-recolhido .nv-agnav__btn { width: 38px; padding: 0; justify-content: center; }
.nv-agw.is-recolhido .nv-agnav__btn span { display: none; }
.nv-agw.is-recolhido .nv-agnav__menu { top: 0; left: calc(100% + 10px); transform: translateX(-4px); }
.nv-agw.is-recolhido .nv-agnav__grp.is-aberto .nv-agnav__menu { transform: none; }
.nv-agw.is-recolhido .nv-agnav__rec { color: var(--accent-text, var(--accent)); }
.nv-agw__corpo { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.nv-agw__corpo > section[hidden] { display: none; }
.nv-agw .nv-ag__listas { border-top: 0; padding-top: 0; }
/* e-mail */
.nv-agmail { display: flex; flex-direction: column; gap: 12px; }
.nv-agmail__de { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 6px 12px; border-radius: 99px; background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; color: var(--ink-2); }
.nv-agmail__todos { margin-left: 8px; padding: 0; border: 0; background: none; color: var(--accent-text, var(--accent)); font-size: 12px; font-weight: 600; cursor: pointer; text-decoration: underline; }
.nv-agmail__lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.nv-agmail__lista li { display: grid; gap: 3px; padding: 10px 12px; border-radius: 12px; background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line); }
.nv-agmail__lista small { color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.nv-agmail__lista p { margin: 4px 0 0; font-size: 13px; color: var(--ink-2); }
@media (max-width: 560px) { .nv-agnav__btn { padding: 0 10px; } .nv-agnav__menu { min-width: 210px; } }
/* 15/11 20h15: submenu da agenda com fundo sólido (antes ficava transparente e o texto de trás aparecia) */
.nv-agnav { z-index: 20; }
.nv-agnav__menu { z-index: 30; background: #fbfaf9; -webkit-backdrop-filter: blur(24px) saturate(130%); backdrop-filter: blur(24px) saturate(130%); box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 24px 48px -16px rgba(0,0,0,.35); }
[data-theme=dark] .nv-agnav__menu { background: #141416; box-shadow: 0 0 0 1px rgba(255,255,255,.09), 0 24px 48px -16px rgba(0,0,0,.7); }
.nv-agnav__menu button { color: var(--ink); background: transparent; }
.nv-agnav__menu button:hover, .nv-agnav__menu button:focus-visible { background: rgba(0,0,0,.05); }
[data-theme=dark] .nv-agnav__menu button:hover, [data-theme=dark] .nv-agnav__menu button:focus-visible { background: rgba(255,255,255,.07); }
.nv-agnav__menu button .ico { flex: none; position: static; }
.nv-agw__corpo { position: relative; z-index: 1; }

/* 15/11 20h20: anexar arquivos em todo e-mail escrito no painel */
.nv-anx { display: grid; gap: 8px; padding: 10px 12px; border-radius: 12px; border: 1.5px dashed var(--line-2); transition: border-color .15s, background .15s; }
.nv-anx.is-arrastando { border-color: var(--accent); background: var(--accent-soft); }
.nv-anx__topo { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.nv-anx__btn { position: relative; cursor: pointer; }
.nv-anx__btn svg { width: 16px; height: 16px; }
.nv-anx__btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.nv-anx__topo small { font-size: 12px; }
.nv-anx__lista { display: flex; flex-wrap: wrap; gap: 6px; }
.nv-anx__lista:empty { display: none; }
.nv-anx__item { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 4px 4px 4px 10px; border-radius: 99px; background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line); font-size: 12.5px; font-weight: 600; }
.nv-anx__item svg { width: 14px; height: 14px; flex: none; }
.nv-anx__item > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 260px; }
.nv-anx__item small { color: var(--muted); font-weight: 500; }
.nv-anx__item button { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); }
.nv-anx__item button:hover { background: var(--card-3); color: var(--ink); }
.nv-anx__erro { flex-basis: 100%; font-size: 12px; color: var(--bad); font-weight: 600; }

/* 15/11 20h50: anexos dos e-mails programados (arquivo fixo + relatório automático) */
.nv-prog-anx__lista { display: grid; gap: 6px; }
.nv-prog-anx__item { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 12px; border-radius: 12px; background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line); }
.nv-prog-anx__item > svg, .nv-prog-anx__item > .ico { width: 16px; height: 16px; flex: none; color: var(--muted); }
.nv-prog-anx__item.is-rel { box-shadow: inset 3px 0 0 #1d9a60, inset 0 0 0 1px var(--line); }
.nv-prog-anx__item.is-rel > .ico { color: #1d9a60; }
.nv-prog-anx__item > span { flex: 1; min-width: 0; display: grid; gap: 1px; }
.nv-prog-anx__item b { font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nv-prog-anx__item small { font-size: 11.5px; color: var(--muted); }
.nv-prog-anx__item button { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); flex: none; }
.nv-prog-anx__item button:hover { background: var(--card-3); color: var(--ink); }
.nv-prog-anx__acoes { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 2px; }
.nv-prog-rel { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 8px; align-items: end; padding: 10px; border-radius: 12px; background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line); }
.nv-prog-rel[hidden] { display: none; }
@media (max-width: 640px) { .nv-prog-rel { grid-template-columns: 1fr; } }
.nv-auto__meta svg { width: 14px; height: 14px; }
