/* Área de membros Venturi: identidade Venturi (preto, vermelho, Archivo + JetBrains Mono) */
:root {
  --bg: #060606; --panel: #0E0E10; --panel2: #141417; --line: rgba(244, 242, 239, .1); --line2: rgba(244, 242, 239, .18);
  --text: #F4F2EF; --sub: #C9C6C1; --muted: #8E8B86;
  --red: #DE1B1B; --red2: #FF2E2E; --red-press: #B81414; --redbg: rgba(222, 27, 27, .12);
  --ok: #3FB27F; --okbg: rgba(63, 178, 127, .12); --warn: #E7A33E; --warnbg: rgba(231, 163, 62, .12);
  --display: "Archivo", system-ui, sans-serif; --mono: "JetBrains Mono", ui-monospace, monospace;
  --r: 4px; --pill: 999px; --wrapw: 1040px;
  --ring: 0 0 0 3px rgba(244, 242, 239, .14);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --info: #8AB4FF; --on-ok: #04130C; --glass: rgba(6, 6, 6, .86); --glass2: rgba(10, 10, 11, .94); --shadow: 0 10px 40px rgba(0, 0, 0, .5);
  color-scheme: dark;
}
/* tema claro: neutros quentes, vermelho e verde mais escuros para manter contraste AA sobre fundo claro */
:root[data-theme="light"] {
  --bg: #F6F5F2; --panel: #FFFFFF; --panel2: #F0EEEA; --line: rgba(18, 17, 16, .1); --line2: rgba(18, 17, 16, .18);
  --text: #121110; --sub: #46423D; --muted: #6E6A64;
  --red2: #C41414; --redbg: rgba(222, 27, 27, .07);
  --ok: #1E7F52; --okbg: rgba(30, 127, 82, .09); --warn: #9A5B00; --warnbg: rgba(154, 91, 0, .09);
  --info: #1F57C3; --on-ok: #FFFFFF; --glass: rgba(246, 245, 242, .88); --glass2: rgba(255, 255, 255, .94); --shadow: 0 10px 40px rgba(18, 17, 16, .12);
  --ring: 0 0 0 3px rgba(18, 17, 16, .12);
  color-scheme: light;
}
:root[data-theme="light"] .card, :root[data-theme="light"] .sol, :root[data-theme="light"] .stat { box-shadow: 0 1px 2px rgba(18, 17, 16, .05); }
.logo-l { display: none !important; }
:root[data-theme="light"] .logo-d { display: none !important; }
:root[data-theme="light"] .logo-l { display: block !important; }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body { font: 15px/1.55 var(--display); -webkit-font-smoothing: antialiased; min-height: 100svh; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--red2); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* tipografia */
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -.02em; line-height: 1.05; }
h1 { font-size: clamp(28px, 6vw, 44px); font-weight: 900; text-transform: uppercase; letter-spacing: -.03em; }
h2 { font-size: 22px; font-weight: 800; }
h3 { font-size: 17px; font-weight: 700; }
.eyebrow { font: 500 11px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.eyebrow.red { color: var(--red2); }
.muted { color: var(--muted); }
.sub { color: var(--sub); }
.mono { font-family: var(--mono); }
p { margin: 0; }
.stack > * + * { margin-top: 12px; }
.stack-lg > * + * { margin-top: 24px; }

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: var(--pill);
  border: 1px solid var(--line2); background: transparent; color: var(--text); font-weight: 700; font-size: 14px; cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn { transition: background-color .15s ease, border-color .15s ease, transform .16s var(--ease-out); }
.btn:hover { border-color: var(--text); }
.btn:active:not([disabled]) { transform: scale(.97); }
label.btn { position: relative; }
label.btn:focus-within { outline: 2px solid var(--red2); outline-offset: 2px; }
.btn.primary { background: var(--red); border-color: var(--red); color: #fff; }
.btn.primary:hover { background: var(--red-press); border-color: var(--red-press); }
.btn.ok { background: var(--ok); border-color: var(--ok); color: var(--on-ok); }
.btn.ghost { border-color: transparent; }
.btn.sm { min-height: 36px; padding: 0 14px; font-size: 13px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
@media (pointer: coarse) { .btn.sm { min-height: 44px; } }
.btn svg { width: 18px; height: 18px; }
.link { background: none; border: 0; padding: 0; color: var(--sub); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* formulários */
label.f { display: block; }
label.f > span { display: block; font: 500 11px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
label.f > small { display: block; color: var(--muted); font-size: 13px; margin-top: 6px; }
.in { width: 100%; min-height: 46px; padding: 11px 14px; background: var(--panel2); border: 1px solid var(--line2); border-radius: var(--r); outline: none; }
.in { transition: border-color .15s ease, box-shadow .15s ease; }
.in:focus { border-color: var(--text); box-shadow: var(--ring); }
.in::placeholder { color: var(--muted); opacity: 1; }
textarea.in { min-height: 110px; resize: vertical; }
select.in { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.grid2 { display: grid; grid-template-columns: 1fr; gap: 14px; }
/* coluna de grade não estica além da tela no celular (tabela larga, link comprido): o conteúdo rola dentro dela (11/11/2026) */
.grid2 > * { min-width: 0; }
@media (min-width: 720px) { .grid2 { grid-template-columns: 1fr 1fr; } }
.err { color: var(--red2); font-size: 14px; min-height: 1em; }

/* cartões e superfícies */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; overflow-wrap: break-word; }
.card.tight { padding: 14px; }
.card.red { border-color: rgba(222, 27, 27, .5); background: linear-gradient(160deg, rgba(222, 27, 27, .14), var(--panel) 60%); }
.hr { height: 1px; background: var(--line); border: 0; margin: 20px 0; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--pill); font: 500 11px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; border: 1px solid var(--line2); color: var(--sub); white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.diagnostico { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 45%, transparent); }
.badge.producao, .badge.correcao { color: var(--info); border-color: color-mix(in srgb, var(--info) 45%, transparent); }
.badge.entregue { color: var(--red2); border-color: color-mix(in srgb, var(--red2) 45%, transparent); }
.badge.aprovado { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 45%, transparent); }
.badge.late { color: #fff; background: var(--red); border-color: var(--red); }
.badge.breve { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 45%, transparent); border-style: dashed; }
.notice { padding: 12px 14px; border-radius: var(--r); background: var(--panel2); border-left: 3px solid var(--line2); color: var(--sub); font-size: 14px; }
.notice.warn { border-color: var(--warn); background: var(--warnbg); }
.notice.ok { border-color: var(--ok); background: var(--okbg); }
.notice.red { border-color: var(--red); background: var(--redbg); }

/* casca */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px max(16px, calc((100% - var(--wrapw)) / 2 + 16px)); background: var(--glass); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top > a { display: flex; align-items: center; min-height: 44px; }
.top .logo { height: 18px; width: auto; }
.wrap { width: 100%; max-width: var(--wrapw); margin: 0 auto; padding: 24px 16px 96px; }
.wrap.narrow { max-width: 680px; }
.tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.tabs a { padding: 8px 12px; border-radius: var(--pill); text-decoration: none; font-weight: 600; font-size: 14px; color: var(--sub); white-space: nowrap; position: relative; }
.tabs a { transition: color .15s ease, background-color .15s ease; }
.tabs a:hover { color: var(--text); }
.tabs a.on { background: var(--text); color: var(--bg); }
/* abas que quebram linha em vez de esconder no celular (13/11/2026, kit do afiliado) */
.tabs.tabs-wrap { flex-wrap: wrap; overflow: visible; }
/* faixas de comissão: colunas no computador, lista abaixo de 560 px (13/11/2026) */
.kpis.tiers { grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); }
.kpis.tiers b { font-size: clamp(14px, 3.6vw, 20px); white-space: nowrap; }
.kpis.tiers .tier-n { display: none; }
@media (max-width: 560px) {
  .kpis.tiers { grid-template-columns: 1fr; gap: 6px; }
  .kpis.tiers .kpi { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0 12px; padding: 10px 14px; min-height: 0; }
  .kpis.tiers .kpi .eyebrow { grid-row: span 2; }
  .kpis.tiers .kpi b { text-align: right; }
  .kpis.tiers .kpi small { grid-column: 2; text-align: right; font-size: 12px; }
  .kpis.tiers .tier-n { display: inline; text-transform: none; letter-spacing: 0; }
}
.dot { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--red); color: #fff; font: 700 11px/1 var(--mono); margin-left: 4px; }
.bottomnav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; justify-content: space-around; padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); background: var(--glass2); backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
.bottomnav a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0; text-decoration: none; color: var(--muted); font-size: 11px; font-weight: 600; min-height: 48px; }
.bottomnav a { position: relative; }
.bottomnav a svg { width: 22px; height: 22px; }
.bottomnav .dot { position: absolute; top: 2px; left: calc(50% + 4px); margin: 0; }
.bottomnav a.on { color: var(--text); }
@media (min-width: 860px) { .bottomnav { display: none; } .wrap { padding-bottom: 48px; } }
@media (max-width: 859px) { .top .tabs { display: none; } }

/* etapas */
.steps { display: flex; gap: 4px; margin: 4px 0 0; }
.steps i { flex: 1; height: 4px; border-radius: 2px; background: var(--line2); }
.steps i.on { background: var(--red); }
.track { display: grid; gap: 0; }
.track li { list-style: none; display: grid; grid-template-columns: 24px 1fr; gap: 12px; padding-bottom: 16px; position: relative; }
.track li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--line2); margin: 4px 0 0 6px; background: var(--bg); z-index: 1; }
.track li::after { content: ""; position: absolute; left: 11px; top: 18px; bottom: 0; width: 2px; background: var(--line); }
.track li:last-child::after { display: none; }
/* concluído é verde em todo o produto (13/11/2026): vermelho fica para "é com você / atenção" */
.track li.done::before { background: var(--ok); border-color: var(--ok); }
.track li.now::before { border-color: var(--red2); box-shadow: 0 0 0 4px var(--redbg); }
.track li strong { display: block; }
.track { padding: 0; margin: 0; }

/* celular de prévia */
.phone { width: 100%; max-width: 360px; aspect-ratio: 9 / 19; border-radius: 34px; border: 10px solid #1B1B1E; background: #000; overflow: hidden; margin: 0 auto; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.phone iframe { width: 100%; height: 100%; border: 0; display: block; }
.phone:focus-within, .phone.kb { outline: 2px solid var(--red2); outline-offset: 3px; }
.wait { display: grid; gap: 6px; padding: 18px; border: 1px dashed var(--line2); border-radius: var(--r); text-align: center; }

/* escolha de cena */
.looks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 720px) { .looks { grid-template-columns: repeat(3, 1fr); } }
.look { position: relative; border: 2px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--panel); cursor: pointer; padding: 0; text-align: left; }
.look .frame { aspect-ratio: 9 / 15; overflow: hidden; position: relative; background: #000; }
.look iframe { width: 390px; height: 650px; border: 0; transform-origin: 0 0; pointer-events: none; position: absolute; top: 0; left: 0; }
.look .cap { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; font-weight: 700; font-size: 14px; }
.look[aria-pressed="true"] { border-color: var(--red2); box-shadow: 0 0 0 3px var(--redbg); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { min-height: 40px; padding: 0 14px; border-radius: var(--pill); border: 1px solid var(--line2); background: transparent; cursor: pointer; font-weight: 600; font-size: 14px; }
.chip[aria-pressed="true"], .chip[aria-current="true"], .chip[aria-current="page"] { background: var(--text); color: var(--bg); border-color: var(--text); }
/* link que parece chip (13/11/2026): estado atual por aria-current (aria-pressed é só para botão) */
a.chip { display: inline-flex; align-items: center; text-decoration: none; color: inherit; }

/* fotos */
.drops { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.drop { position: relative; aspect-ratio: 1; border: 1.5px dashed var(--line2); border-radius: 10px; display: grid; place-items: center; text-align: center; color: var(--muted); font-size: 13px; cursor: pointer; overflow: hidden; background: var(--panel2); padding: 8px; }
.drop.big { aspect-ratio: 4 / 5; max-width: 220px; }
.drop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.drop .x { position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .7); color: #fff; cursor: pointer; z-index: 2; font-size: 16px; line-height: 1; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop:focus-within { outline: 2px solid var(--red2); outline-offset: 2px; }
.drop:hover { border-color: var(--sub); }
.drop.busy::after { content: "Enviando…"; position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0, 0, 0, .7); color: #fff; }

/* listas editáveis */
.items { display: grid; gap: 8px; }
.item { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; align-items: center; }
@media (max-width: 560px) { .item { grid-template-columns: 1fr auto; } .item > :nth-child(2) { grid-column: 1; grid-row: 2; } .item > :nth-child(3) { grid-row: 1 / 3; grid-column: 2; } }
.iconbtn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--pill); border: 1px solid var(--line2); background: transparent; cursor: pointer; flex: none; }
.iconbtn svg { width: 18px; height: 18px; }

/* chat */
.chat { display: flex; flex-direction: column; gap: 10px; padding: 4px 0 16px; }
.msg { max-width: 82%; padding: 10px 14px; border-radius: 16px; background: var(--panel2); border: 1px solid var(--line); white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15px; }
.msg.me { align-self: flex-end; background: var(--text); color: var(--bg); border-color: var(--text); border-bottom-right-radius: 4px; }
.msg.them { align-self: flex-start; border-bottom-left-radius: 4px; }
.msg.sys { align-self: center; max-width: 92%; background: transparent; border-style: dashed; color: var(--sub); font-size: 14px; }
.msg small { display: block; margin-top: 4px; font: 500 11px/1.3 var(--mono); opacity: .65; }
.composer { position: sticky; bottom: 70px; display: flex; gap: 8px; padding: 10px 0; background: var(--bg); }
@media (min-width: 860px) { .composer { bottom: 0; } }
.composer textarea { min-height: 48px; max-height: 160px; flex: 1; }

/* tabelas da operação */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font: 500 11px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 10px 10px; border-bottom: 1px solid var(--line2); white-space: nowrap; }
.table td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr.click { cursor: pointer; }
.table tr.click:hover td { background: var(--panel); }
.scroll-x { overflow-x: auto; }
.table td.num, .table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.table a.rowlink { text-decoration: none; }
.table a.rowlink:hover { text-decoration: underline; }
@media (max-width: 719px) {
  .table.cards thead { display: none; }
  .table.cards, .table.cards tbody, .table.cards tr { display: block; }
  .table.cards tr { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; }
  .table.cards td { display: block; padding: 0; border: 0; text-align: left; }
  .table.cards td[data-l]::before { content: attr(data-l) " "; font: 500 11px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
  .table.cards td.hide-m { display: none; }
}

/* toast */
.toast { transition: opacity .2s var(--ease-out), transform .2s var(--ease-out); }
.toast[hidden] { display: block; opacity: 0; transform: translate(-50%, 8px); pointer-events: none; }
.toast { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%); z-index: 99; background: var(--text); color: var(--bg); padding: 12px 18px; border-radius: var(--pill); font-weight: 700; font-size: 14px; box-shadow: var(--shadow); max-width: calc(100% - 32px); }
.toast.bad { background: var(--red); color: #fff; }

/* modal */
dialog { background: var(--panel); color: var(--text); border: 1px solid var(--line2); border-radius: 10px; padding: 22px; width: min(560px, calc(100% - 24px)); }
dialog::backdrop { background: rgba(0, 0, 0, .7); }

/* entrada (login, acesso) */
.auth { min-height: 100svh; display: grid; place-items: center; padding: 24px 16px; background: radial-gradient(80% 60% at 80% 0%, rgba(222, 27, 27, .18), transparent 60%), var(--bg); }
.auth .box { width: 100%; max-width: 400px; }
.auth .logo { height: 22px; width: auto; margin-bottom: 36px; }
.grain { position: fixed; inset: 0; pointer-events: none; opacity: .06; z-index: 0; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.auth .box, .auth form { position: relative; z-index: 1; }

@media (prefers-reduced-motion: no-preference) {
  .fade { animation: fade .22s var(--ease-out) both; }
  @keyframes fade { from { opacity: 0; transform: translateY(4px); } }
}
@media (prefers-reduced-motion: reduce) {
  .fade { animation: fadeo .2s ease both; }
  @keyframes fadeo { from { opacity: 0; } }
  .btn:active:not([disabled]) { transform: none; }
}
main[tabindex="-1"]:focus { outline: none; }
@media (max-width: 719px) { .order-grid .preview-col.first { order: -1; } }
.chips.scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
.chips.scroll > * { flex: none; }
@media (min-width: 720px) { .chips.scroll { flex-wrap: wrap; margin-inline: 0; padding-inline: 0; } }

/* estilos favoritos: ordem de preferência no canto */
.look .rank { position: absolute; top: 10px; right: 10px; z-index: 2; min-width: 34px; height: 34px; padding: 0 8px; border-radius: var(--pill); background: var(--red); color: #fff; font: 700 13px/34px var(--mono); text-align: center; box-shadow: 0 4px 14px rgba(0, 0, 0, .5); }
.look .rank:empty { display: none; }

/* ===== contas da agência (2026-11-09): projeto, resultados, soluções ===== */
ul.plain { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.bar { height: 6px; border-radius: 3px; background: var(--line2); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--ok); border-radius: 3px; }
.metrics { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.metric .big { font: 900 30px/1.1 var(--display); letter-spacing: -.02em; margin-top: 8px; font-variant-numeric: tabular-nums; }
.metric .delta { font: 500 13px/1.4 var(--mono); margin-top: 6px; }
.metric .delta.up { color: var(--ok); }
.metric .delta.down { color: var(--red2); }
.metric .spark { display: block; width: 100%; height: 40px; margin-top: 10px; color: var(--sub); }
.sol-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.sol { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-top: 2px solid var(--line2); border-radius: var(--r); overflow: hidden; }
.sol.locked { background: linear-gradient(180deg, color-mix(in srgb, var(--text) 3%, transparent), var(--panel) 40%); }
.sol .cover { position: relative; aspect-ratio: 16 / 9; background: radial-gradient(120% 90% at 100% 0%, rgba(222, 27, 27, .22), transparent 60%), var(--panel2); border-bottom: 1px solid var(--line); display: grid; place-items: end start; padding: 14px; }
.sol .cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sol .cover > span { font: 900 20px/1 var(--display); text-transform: uppercase; letter-spacing: -.02em; color: var(--text); opacity: .82; }
.sol .pill { position: absolute; top: 10px; right: 10px; padding: 3px 9px; border-radius: var(--pill); font: 500 11px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; background: var(--glass2); border: 1px solid var(--line2); }
.sol .pill.ok { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 45%, transparent); }
.sol .body { display: flex; flex-direction: column; gap: 8px; padding: 16px; flex: 1; }
.pillar + .pillar { padding-top: 18px; border-top: 1px solid var(--line); }
.sol .foot { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 10px; }
.track li > div { min-width: 0; }
.mstep > * + * { margin-top: 4px; }
.mstep { padding-bottom: 4px; }
section.stack > h3 + .track { margin-top: 14px; }
.mrow { align-items: flex-start; flex-wrap: nowrap; }
@media (max-width: 719px) { .mrow { flex-wrap: wrap; } .mrow > div:nth-child(2) { flex: 1 1 100% !important; order: -1; } }
.bottomnav a { min-width: 0; }
.bottomnav a > span { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 2px; }


/* ===== plataforma do empresário (2026-11-09): casca com barra lateral (estilo comunidade), visão geral, mural, agenda ===== */
.shell { min-height: 100svh; }
.sidenav { display: none; }
@media (min-width: 860px) {
  body.app .top.mob { display: none; }
  .shell { display: grid; grid-template-columns: 248px minmax(0, 1fr); }
  .sidenav { display: flex; flex-direction: column; position: sticky; top: 0; height: 100svh; overflow-y: auto; padding: 18px 12px 14px; border-right: 1px solid var(--line); background: var(--panel); scrollbar-width: thin; }
  body.app .wrap { max-width: 1120px; padding: 32px 32px 56px; }
}
@media (max-width: 859px) { body.app .wrap { padding-bottom: 104px; } }
.sidenav .brand { display: flex; align-items: center; min-height: 44px; padding: 0 10px; margin-bottom: 10px; }
.sidenav .brand img { height: 18px; width: auto; }
.sidenav .sec { font: 500 11px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 16px 10px 6px; }
.sidenav a.item, .menu-list a { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 10px; border-radius: 8px; text-decoration: none; color: var(--sub); font-weight: 600; font-size: 15px; transition: background-color .15s ease, color .15s ease; }
.sidenav a.item svg, .menu-list a svg { width: 18px; height: 18px; flex: none; }
.sidenav a.item:hover { background: var(--panel2); color: var(--text); }
.sidenav a.item.on { background: var(--panel2); color: var(--text); box-shadow: inset 2px 0 0 var(--red); }
.sidenav a.item .dot, .menu-list a .dot { margin-left: auto; }
.side-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.side-foot .who { padding: 4px 10px; font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line2); background: transparent; cursor: pointer; font-weight: 600; font-size: 14px; color: var(--sub); }
.theme-btn:hover { color: var(--text); border-color: var(--text); }
.theme-btn svg { width: 17px; height: 17px; }
.top.mob .theme-btn { min-height: 40px; padding: 0 10px; }
.menu-list { display: grid; gap: 2px; }
.menu-list a { min-height: 48px; font-size: 16px; }

/* visão geral */
.hub { display: grid; gap: 24px; align-items: start; }
@media (min-width: 1100px) { .hub { grid-template-columns: minmax(0, 1fr) 340px; } }
.hub > * { min-width: 0; }
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 720px) { .kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.kpi { display: flex; flex-direction: column; justify-content: space-between; gap: 8px; min-height: 96px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); text-decoration: none; transition: border-color .15s ease; }
.kpi:hover { border-color: var(--line2); }
.kpi b { font: 900 26px/1 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.kpi small { color: var(--muted); font-size: 13px; }
.kpi.hot { border-color: var(--red); background: var(--redbg); }
.kpi.okk b { color: var(--ok); }
.agenda { list-style: none; margin: 0; padding: 0; display: grid; }
.agenda li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.agenda li:first-child { border-top: 0; }
.agenda .when { font: 700 13px/1.2 var(--mono); color: var(--sub); padding-top: 2px; font-variant-numeric: tabular-nums; }
.agenda .when.none { color: var(--muted); font-weight: 500; font-size: 12px; }
.agenda .when.late { color: var(--red2); }
.agenda a { text-decoration: none; }
.agenda a:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.agenda .meta { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin-top: 4px; font-size: 13px; color: var(--muted); }
.who-tag { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: var(--pill); font: 500 11px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; border: 1px solid var(--line2); color: var(--sub); }
.who-tag.client, .who-tag.both { color: var(--red2); border-color: color-mix(in srgb, var(--red2) 45%, transparent); }
.post { display: grid; gap: 8px; }
.post + .post { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 16px; }
.post .body { color: var(--sub); white-space: pre-wrap; overflow-wrap: anywhere; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.tile { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); text-decoration: none; transition: border-color .15s ease; min-height: 64px; }
.tile:hover { border-color: var(--line2); }
.tile .ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; background: var(--panel2); color: var(--sub); flex: none; }
.tile .ic svg { width: 18px; height: 18px; }
.tile strong { display: block; }
.tile small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.side-col > * + * { margin-top: 16px; }
.inv { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.inv:first-child { border-top: 0; }
.inv .amt { font: 700 16px/1.2 var(--display); font-variant-numeric: tabular-nums; text-align: right; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--sub); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--red); flex: none; }
.card > h2 + .inv { margin-top: 8px; }

/* ===== painel do cliente (2026-11-09, do Portal da Transparência): capa, indicadores, notificações, escopo, cronograma ===== */
.capa { position: relative; overflow: hidden; border-radius: 10px; min-height: 220px; padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; color: #F4F2EF;
  background: radial-gradient(90% 120% at 100% 0%, color-mix(in srgb, var(--capa, #DE1B1B) 55%, transparent), transparent 62%), linear-gradient(135deg, #111013 0%, #060606 70%); isolation: isolate; }
.capa::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .07; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.capa > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.capa.has-bg::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 6, 6, .15) 0%, rgba(6, 6, 6, .82) 78%); }
.capa .logo-cli { position: absolute; top: 22px; right: 22px; max-height: 44px; max-width: 160px; width: auto; padding: 8px 10px; border-radius: 8px; background: rgba(255, 255, 255, .94); }
.capa .eyebrow { color: rgba(244, 242, 239, .78); }
.capa h1 { color: #fff; font-size: clamp(30px, 5vw, 52px); }
.capa p.lead { color: rgba(244, 242, 239, .86); max-width: 680px; font-size: 16px; }
@media (min-width: 860px) { .capa { min-height: 260px; padding: 36px; } }
.tiles5 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 720px) { .tiles5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.t5 { padding: 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); border-top: 3px solid var(--t5, var(--line2)); }
.t5 b { display: block; font: 900 28px/1 var(--display); font-variant-numeric: tabular-nums; }
.t5 span { display: block; margin-top: 6px; font-size: 13px; color: var(--sub); }
.t5.ok, .st-ok { --t5: var(--ok); } .t5.and { --t5: var(--info); } .t5.cli { --t5: var(--red); } .t5.plan { --t5: var(--line2); } .t5.atr { --t5: var(--warn); }
.notif { list-style: none; margin: 0; padding: 0; display: grid; }
.notif li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); }
.notif li:first-child { border-top: 0; }
.notif .ic { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 700 13px/1 var(--mono); background: var(--panel2); color: var(--sub); }
.notif .ic.cliente { background: var(--redbg); color: var(--red2); } .notif .ic.atrasado { background: var(--warnbg); color: var(--warn); } .notif .ic.concluido { background: var(--okbg); color: var(--ok); }
.notif button { all: unset; cursor: pointer; display: block; }
.notif button:focus-visible { outline: 2px solid var(--red2); outline-offset: 2px; }
.notif strong { display: block; font-size: 15px; } .notif small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.pils { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.pil { display: grid; gap: 8px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); text-decoration: none; }
.pil:hover { border-color: var(--line2); }
.sbar { display: flex; height: 8px; border-radius: 4px; overflow: hidden; background: var(--panel2); }
.sbar i { display: block; height: 100%; }
.sbar .b-ok { background: var(--ok); } .sbar .b-and { background: var(--info); } .sbar .b-cli { background: var(--red); } .sbar .b-atr { background: var(--warn); }
.stchip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: var(--pill); font: 500 11px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; border: 1px solid var(--line2); color: var(--sub); white-space: nowrap; }
.stchip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.stchip.concluido { color: var(--ok); } .stchip.andamento { color: var(--info); } .stchip.cliente { color: var(--red2); } .stchip.atrasado { color: var(--warn); }
.dl { list-style: none; margin: 0; padding: 0; }
.dl li + li { border-top: 1px solid var(--line); }
.dl button { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; width: 100%; padding: 12px 4px; }
.dl button:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.dl button:focus-visible { outline: 2px solid var(--red2); outline-offset: 2px; border-radius: 4px; }
.dl small { grid-column: 1; color: var(--muted); font-size: 13px; }
.dl .stchip { grid-row: 1 / 3; grid-column: 2; }
.gantt { display: grid; gap: 6px; }
.g-row { display: grid; grid-template-columns: minmax(120px, 34%) minmax(0, 1fr); gap: 12px; align-items: center; min-height: 28px; }
.g-lab { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.g-tr { position: relative; height: 14px; border-radius: 7px; background: var(--panel2); }
.g-b { position: absolute; top: 2px; height: 10px; border-radius: 5px; background: var(--line2); }
.g-b.concluido { background: var(--ok); } .g-b.andamento { background: var(--info); } .g-b.atrasado { background: var(--warn); }
.g-b.cliente { background: repeating-linear-gradient(45deg, var(--red) 0 4px, color-mix(in srgb, var(--red) 45%, transparent) 4px 8px); }
.g-hoje { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--text); z-index: 1; }
.g-head .g-tr { background: none; height: 18px; }
.g-m { position: absolute; font: 500 11px/1 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.g-sec { font: 500 11px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
.leg { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 14px; font-size: 13px; color: var(--sub); }
.leg span { display: inline-flex; align-items: center; gap: 6px; }
.leg i { display: inline-block; width: 18px; height: 8px; border-radius: 4px; position: static; }
/* cronograma unificado do cliente (13/11/2026): linha do Gantt com nome, frase curta e quem faz */
.g-row.rich { grid-template-columns: minmax(180px, 40%) minmax(0, 1fr); gap: 16px; padding: 8px 0; border-top: 1px solid var(--line); }
.g-row.rich.g-head { border-top: 0; padding: 0; }
.g-lab2 { display: grid; gap: 3px; min-width: 0; padding: 0; border: 0; background: none; color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.g-lab2 .g-t { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.g-lab2 strong { font-size: 15px; }
.g-lab2 .stchip { font-size: 10px; padding: 2px 7px; }
.g-lab2 small { color: var(--sub); font-size: 13px; line-height: 1.45; }
.g-lab2 small.g-meta { color: var(--muted); font-size: 12px; }
.g-lab2:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.g-lab2:focus-visible { outline: 2px solid var(--red2); outline-offset: 3px; border-radius: 4px; }
@media (max-width: 640px) { .g-row.rich { grid-template-columns: minmax(0, 1fr); gap: 8px; } .g-row.rich.g-head > div:first-child { display: none; } }
/* mapa de resultado (13/11/2026) */
.rmap { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 10px; }
.rmap-c { display: grid; gap: 4px; align-content: start; padding: 14px 16px; border: 1px solid var(--line2); border-radius: var(--r, 12px); background: var(--panel); color: var(--text); text-decoration: none; transition: border-color .15s ease; }
a.rmap-c:hover { border-color: var(--text); }
a.rmap-c:focus-visible { outline: 2px solid var(--red2); outline-offset: 2px; }
.rmap-c b { font: 900 24px/1.15 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.rmap-c small { font-size: 12.5px; color: var(--sub); }
.rmap-c small.delta { font: 500 12px/1.4 var(--mono); }
.rmap-c .delta.up { color: var(--ok); } .rmap-c .delta.down { color: var(--red2); }
.rmap-c.off { border-style: dashed; background: transparent; }
.rmap-c.off b, .rmap-c.off small { color: var(--muted); }
.res-sec { scroll-margin-top: 80px; }


/* ===== biblioteca em fileiras (estilo área de membros de curso) ===== */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 300px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }
@media (max-width: 719px) { .rail { grid-auto-columns: 78%; margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; } }
.poster { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--panel); transition: border-color .15s ease, transform .2s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .poster:hover { border-color: var(--line2); transform: translateY(-2px); } }
.poster:focus-visible { outline: 2px solid var(--red2); outline-offset: 2px; }
.poster[disabled] { cursor: default; }
.pcover { position: relative; aspect-ratio: 16 / 9; background: #0b0b0d; }
.pcover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ptag { position: absolute; top: 10px; left: 10px; padding: 3px 9px; border-radius: var(--pill); font: 500 11px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; background: rgba(6, 6, 6, .72); color: #F4F2EF; border: 1px solid rgba(244, 242, 239, .22); backdrop-filter: blur(6px); }
.pbar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(244, 242, 239, .22); }
.pbar i { display: block; height: 100%; background: var(--red); }
.pbody { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; flex: 1; }
.pbody strong { font-size: 15px; line-height: 1.3; }
.pbody small { color: var(--muted); font-size: 13px; }
.pcta { margin-top: auto; padding-top: 8px; font-weight: 700; font-size: 14px; color: var(--red2); }
.poster.locked .pcover img { filter: saturate(.8); }
.mini-steps { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.mini-steps span { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--pill); font-size: 13px; border: 1px solid var(--line2); color: var(--muted); }
.mini-steps span.done { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 45%, transparent); }
.mini-steps span.now { color: var(--red2); border-color: color-mix(in srgb, var(--red2) 50%, transparent); font-weight: 700; }

/* produtos e serviços contratados (2026-11-10) */
.ctr-list { display: grid; gap: 10px; }
.ctr { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
.ctr-main { min-width: 0; flex: 1 1 260px; }
.ctr-main h3 { margin: 6px 0 4px; }
.ctr-side { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ctr-status { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--sub); }
#ctrPanel .ctr { background: transparent; }

/* portfólio (2026-11-10): páginas reais no diagnóstico e no painel */
.pf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
@media (max-width: 559px) { .pf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .pf-body { padding: 10px; } }
.pf { display: flex; flex-direction: column; border: 2px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--panel); }
.pf.off .pf-cover { opacity: .45; }
.pf-toggle { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; cursor: pointer; min-height: 36px; }
.pf-toggle input { width: 18px; height: 18px; accent-color: var(--ok); }
.pf-cover { position: relative; display: grid; place-items: end start; aspect-ratio: 9 / 13; padding: 12px; border: 0; background: radial-gradient(120% 90% at 100% 0%, rgba(222, 27, 27, .25), transparent 60%), var(--panel2); cursor: pointer; text-align: left; color: var(--text); width: 100%; }
.pf-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pf-cover > span { position: relative; font: 800 16px/1.1 var(--display); }
.pf-body { display: grid; gap: 6px; padding: 12px; }
.pf-body h3 { font-size: 15px; }
.pf-heart { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(6, 6, 6, .7); color: #fff; font-style: normal; font-size: 16px; opacity: .55; }
.pf.pick[aria-pressed="true"] { border-color: var(--red2); box-shadow: 0 0 0 3px var(--redbg); }
.pf.pick[aria-pressed="true"] .pf-heart { background: var(--red); opacity: 1; }

/* jornada do Link in Bio na página principal (2026-11-10): 5 etapas ligadas, vermelho só na vez do cliente */
.jr { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; align-items: start; }
.jr li { position: relative; display: grid; justify-items: center; align-content: start; text-align: center; gap: 10px; padding: 0 6px; }
.jr li::before { content: ""; position: absolute; top: 19px; left: calc(-50% + 22px); width: calc(100% - 44px); height: 2px; background: var(--line2); }
.jr li:first-child::before { display: none; }
.jr li.done::before, .jr li.now::before { background: var(--ok); }
.jr-dot { position: relative; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--line2); background: var(--panel); font: 700 15px/1 var(--mono); color: var(--muted); }
.jr li.done .jr-dot { background: var(--ok); border-color: var(--ok); color: #04130C; }
.jr li.now .jr-dot { border-color: var(--text); color: var(--text); box-shadow: 0 0 0 5px var(--panel2); }
.jr li.now.you .jr-dot { border-color: var(--red); background: var(--red); color: #fff; box-shadow: 0 0 0 5px var(--redbg); }
.jr-txt { display: grid; gap: 4px; }
.jr-txt strong { font-size: 15px; }
.jr-txt span { font-size: 13px; line-height: 1.45; color: var(--muted); }
.jr li.now .jr-txt span { color: var(--sub); }
.jr-now { margin-top: 18px; padding: 12px 14px; border-radius: var(--r); background: var(--panel2); border-left: 3px solid var(--text); font-size: 14px; }
.jr-now.you { border-color: var(--red); background: var(--redbg); }
@media (max-width: 719px) {
  .jr { grid-template-columns: 1fr; gap: 0; }
  .jr li { grid-template-columns: 40px 1fr; justify-items: start; text-align: left; gap: 14px; padding: 0 0 18px; }
  .jr li::before { top: auto; bottom: 0; left: 19px; width: 2px; height: calc(100% - 44px); display: block; }
  .jr li:first-child::before { display: block; }
  .jr li:last-child::before { display: none; }
  .jr-dot { grid-row: 1; }
}

/* chamados (2026-11-10) */
.tk-list { display: grid; }
.tk { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 10px; border-top: 1px solid var(--line); text-decoration: none; }
.tk:first-child { border-top: 0; }
.tk:hover { background: var(--panel2); }
.tk strong { display: block; margin: 4px 0 2px; }
.tk.unread strong { color: var(--text); }
.tk-thread { display: grid; gap: 12px; }
.tk-msg { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); max-width: 92%; }
.tk-msg.me { justify-self: end; background: var(--panel2); }
.aviso { padding: 12px 6px; border-top: 1px solid var(--line); }
.aviso:first-child { border-top: 0; }
.aviso.unread { box-shadow: inset 3px 0 0 var(--red); padding-left: 12px; }

/* ---------- tutorial guiado (public/tour.js, 11/11/2026) ---------- */
.tour { position: fixed; inset: 0; z-index: 60; }
.tour-block { position: absolute; inset: 0; }
.tour-hole { position: absolute; top: 0; left: 0; border-radius: 10px; pointer-events: none;
  box-shadow: 0 0 0 2px var(--red), 0 0 0 200vmax rgba(6, 6, 6, .66);
  transition: transform .3s cubic-bezier(0.77, 0, 0.175, 1), width .3s cubic-bezier(0.77, 0, 0.175, 1), height .3s cubic-bezier(0.77, 0, 0.175, 1); }
.tour.center .tour-hole { box-shadow: 0 0 0 200vmax rgba(6, 6, 6, .66); }
.tour-pop { position: absolute; width: min(380px, calc(100vw - 24px)); background: var(--panel); color: var(--text); border: 1px solid var(--line2);
  border-radius: 12px; padding: 18px 18px 14px; box-shadow: 0 18px 50px rgba(0, 0, 0, .35); animation: tourIn .22s cubic-bezier(0.23, 1, 0.32, 1); }
.tour.center .tour-pop { top: 50%; left: 50%; transform: translate(-50%, -50%); animation-name: tourInC; }
.tour-pop h2 { font-size: 18px; line-height: 1.25; margin: 6px 0 6px; }
.tour-pop p { margin: 0; }
.tour-pop #tourD { color: var(--sub); font-size: 15px; line-height: 1.55; }
.tour-count { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--red2); }
.tour-act { display: flex; align-items: center; gap: 8px; margin-top: 16px; }
.tour-act > span { flex: 1; }
.tour-act [hidden] { display: none; }
.tour-skip { background: none; border: 0; padding: 10px 4px; color: var(--muted); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; min-height: 44px; }
.tour-skip:hover { color: var(--text); }
.tour-act .btn { min-height: 44px; }
@media (max-width: 559px) {
  .tour:not(.center) .tour-pop { left: 12px; right: 12px; width: auto; bottom: calc(12px + env(safe-area-inset-bottom)); }
  .tour.tour-up:not(.center) .tour-pop { bottom: auto; top: 12px; }
}
@keyframes tourIn { from { opacity: 0; transform: translateY(6px); } }
@keyframes tourInC { from { opacity: 0; transform: translate(-50%, calc(-50% + 6px)); } }
@media (prefers-reduced-motion: reduce) { .tour-hole, .tour-pop { transition: none; animation: none; } }

/* marcar na página (11/11/2026): cliente toca no ponto e comenta; operação vê os pinos */
.mk-cta { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 14px 16px; border: 1px dashed color-mix(in srgb, var(--red2) 55%, transparent); border-radius: var(--r); background: color-mix(in srgb, var(--red) 6%, transparent); }
.mk-sum { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mk-sum li { display: flex; gap: 10px; align-items: flex-start; }
.mk-sum li > div { display: grid; gap: 2px; }
.mk-sum small { font-size: 13px; }
.mk-n { all: unset; box-sizing: border-box; flex: none; width: 26px; height: 26px; border-radius: 50%; background: #DE1B1B; color: #fff; font: 700 13px/26px var(--mono, monospace); text-align: center; cursor: pointer; }
.mk-n:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.mk-dlg { box-sizing: border-box; width: min(1180px, 100%); max-width: 100%; height: 100dvh; max-height: 100dvh; margin: auto; padding: 0; border: 0; background: var(--bg); color: var(--text); }
.mk-dlg::backdrop { background: rgba(0, 0, 0, .7); }
.mk-wrap { display: flex; flex-direction: column; height: 100%; }
.mk-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.mk-top h2 { margin-top: 4px; font-size: 20px; }
.mk-body { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 20px; padding: 16px; }
.mk-phone { min-height: 0; border: 1px solid var(--line2); border-radius: 22px; overflow: hidden; background: #000; }
.mk-phone iframe { width: 100%; height: 100%; border: 0; display: block; }
.mk-list { min-height: 0; overflow: auto; display: grid; align-content: start; gap: 10px; }
.mk-item.on { border-color: color-mix(in srgb, var(--red2) 60%, transparent); }
@media (max-width: 760px) {
  .mk-body { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; gap: 10px; padding: 10px; }
  .mk-list { max-height: 34dvh; }
  .mk-top { padding: 10px 12px; }
  .mk-top h2 { font-size: 17px; }
}

/* corrigir na página (11/11/2026): ferramentas, barrinha de cada ponto, revisar e enviar, guia */
.mk-item { all: unset; box-sizing: border-box; display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); cursor: pointer; text-align: left; }
.mk-item:hover { border-color: var(--line2); }
.mk-item:focus-visible { outline: 2px solid var(--red2); outline-offset: 2px; }
.mk-it { display: grid; gap: 3px; min-width: 0; }
.mk-it strong { font-size: 14px; overflow-wrap: anywhere; }
.mk-it small { font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-badges { display: flex; gap: 6px; flex-wrap: wrap; font-size: 12px; color: var(--sub); }
.mk-badges span { display: inline-flex; align-items: center; gap: 3px; }
.mk-badges svg { width: 14px; height: 14px; }
.mk-badges .warn { color: var(--red2); font-weight: 600; }
.mk-n.sm { width: 20px; height: 20px; font-size: 11px; line-height: 20px; display: inline-block; vertical-align: -4px; }
.mk-tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.mk-tool { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 14px; border-radius: var(--pill); border: 1px solid var(--line2); background: transparent; color: var(--text); font-family: inherit; font-weight: 600; font-size: 14px; line-height: 1; cursor: pointer; }
.mk-tool[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.mk-tool:focus-visible { outline: 2px solid var(--red2); outline-offset: 2px; }
.mk-hint { flex: 1 1 220px; margin: 0; font-size: 13px; color: var(--sub); }
.mk-phone { position: relative; }
.mk-sheet { position: absolute; left: 8px; right: 8px; bottom: 8px; max-height: calc(100% - 16px); overflow: auto; z-index: 2; background: var(--panel); color: var(--text); border: 1px solid var(--line2); border-radius: 18px; box-shadow: 0 -12px 40px -12px rgba(0, 0, 0, .7); animation: mkUp .18s ease-out; }
.mk-sheet-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 12px; }
.mk-sheet-in > *, .mk-rv-in > * { min-width: 0; }
.mk-dlg [hidden] { display: none !important; }
/* abas da Config da operação (13/11/2026): seção escondida some mesmo com display do .card */
[data-cts][hidden] { display: none !important; }
.mk-near { display: block; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.mk-chips { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.mk-chips .chip { flex: none; min-height: 36px; font-size: 13px; }
.mk-sheet textarea { min-height: 64px; }
.mk-bar { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.mk-act { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 12px; border-radius: var(--pill); border: 1px solid var(--line2); background: var(--panel2); color: var(--text); font-family: inherit; font-weight: 600; font-size: 13px; line-height: 1; cursor: pointer; }
.mk-act:focus-within, .mk-act:focus-visible { outline: 2px solid var(--red2); outline-offset: 2px; }
.mk-act.rec { background: var(--red); border-color: var(--red); color: #fff; animation: mkRec 1.2s ease-in-out infinite; }
.mk-ok { margin-left: auto; min-height: 44px; }
.mk-rm { all: unset; box-sizing: border-box; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(0, 0, 0, .55); color: #fff; cursor: pointer; flex: none; }
.mk-rm.big { width: 36px; height: 36px; background: var(--panel2); color: var(--text); }
.mk-rm:focus-visible { outline: 2px solid var(--red2); }
.mk-media { display: flex; gap: 8px; flex-wrap: wrap; }
.mk-media:empty { display: none; }
.mk-aud { display: flex; align-items: center; gap: 6px; flex: 1 1 220px; min-width: 0; }
.mk-aud audio { width: 100%; min-width: 0; height: 40px; }
.mk-thumb { position: relative; width: 72px; height: 72px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line2); display: grid; place-items: center; background: var(--panel2); }
.mk-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mk-thumb .mk-rm { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; }
.mk-two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mk-review { flex: 1; min-height: 0; overflow: auto; }
.mk-rv-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; max-width: 680px; margin: 0 auto; padding: 18px 16px 40px; }
.mk-rv-in h3 { font-size: 17px; }
.mk-warn { margin: 0; font-size: 14px; color: var(--red2); }
.mk-ai { display: grid; gap: 6px; padding: 16px; border-radius: var(--r); border: 1px solid color-mix(in srgb, var(--red2) 45%, transparent); background: color-mix(in srgb, var(--red) 6%, var(--panel)); }
.mk-ai-h { display: flex; align-items: center; gap: 8px; color: var(--red2); }
.mk-ai-h strong { color: var(--text); }
.mk-ent { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.mk-ent li { display: flex; gap: 8px; align-items: flex-start; }
.mk-q { display: grid; gap: 8px; padding: 12px 0; border-top: 1px solid var(--line); }
.mk-q p { margin: 0; font-size: 14px; }
.mk-send { display: grid; gap: 8px; position: sticky; bottom: 0; margin: 0 -16px -40px; padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line); box-shadow: 0 -14px 24px -18px rgba(0, 0, 0, .5); }
.mk-send p { margin: 0; }
.mk-big { min-height: 54px; font-size: 16px; padding: 0 22px; }
.mk-coach { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; padding: 16px; background: rgba(0, 0, 0, .72); }
.mk-coach[hidden] { display: none; }
.mk-coach-in { display: grid; gap: 12px; width: min(440px, 100%); padding: 22px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line2); }
.mk-coach-in ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.mk-coach-in li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.mk-coach-in li b { display: inline-flex; gap: 2px; flex: none; min-width: 58px; color: var(--red2); }
.mk-wrap { position: relative; }
.fix-hero { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 16px; padding: 16px; border-radius: var(--r); border: 1px solid color-mix(in srgb, var(--red2) 55%, transparent); background: color-mix(in srgb, var(--red) 8%, transparent); }
.fix-hero-t { margin: 0 0 8px; font-weight: 700; font-size: 16px; }
.fix-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; color: var(--sub); }
.fix-steps li { display: flex; gap: 8px; align-items: center; }
.fix-steps span { display: inline-grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--red); color: #fff; font: 700 12px/1 var(--mono, monospace); }
@keyframes mkUp { from { transform: translateY(14px); opacity: 0; } }
@keyframes mkRec { 50% { opacity: .72; } }
@media (prefers-reduced-motion: reduce) { .mk-sheet, .mk-act.rec { animation: none; } }
@media (max-width: 760px) {
  .mk-tools { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 8px 10px; gap: 6px; }
  .mk-tool { justify-content: center; gap: 5px; padding: 0 4px; font-size: 13px; min-width: 0; }
  .mk-tool svg { flex: none; width: 16px; height: 16px; }
  .mk-top { flex-wrap: nowrap; padding: 8px 10px; }
  .mk-top > div:first-child { min-width: 0; }
  .mk-top h2 { display: none; }
  .mk-top .btn.sm { padding: 0 12px; }
  .mk-hint { display: none; }
  .mk-list { max-height: 26dvh; }
  .mk-wrap.sheet-open .mk-list { display: none; }
  .mk-wrap.sheet-open .mk-body { grid-template-rows: minmax(0, 1fr); }
  .mk-two { grid-template-columns: 1fr; }
  .mk-sheet { left: 0; right: 0; bottom: 0; border-radius: 18px 18px 0 0; max-height: 72%; }
  .mk-bar .mk-act span { display: none; }
  .mk-bar .mk-act { width: 44px; padding: 0; }
  .fix-hero .mk-big { width: 100%; }
}

/* ===== reuniões e jornada como game (11/11/2026) ===== */
.card.meet { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; border-color: var(--text); }
.gj-bar { height: 8px; border-radius: 99px; background: var(--panel2); overflow: hidden; }
.gj-bar i { display: block; height: 100%; background: var(--red); border-radius: 99px; transition: width .4s cubic-bezier(0.23, 1, 0.32, 1); }
.gj-lane { margin-top: 6px; }
.gj { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 0; }
.gj li { position: relative; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; align-items: start; padding-bottom: 14px; }
.gj li:not(:last-child)::before { content: ''; position: absolute; left: 15px; top: 32px; bottom: 0; width: 2px; background: var(--line); }
.gj li.gj-ok:not(:last-child)::before { background: var(--text); }
.gj-dot { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 800 13px/1 var(--display); border: 2px solid var(--line); background: var(--panel); color: var(--muted); }
.gj-dot svg { width: 15px; height: 15px; }
.gj-ok .gj-dot { background: var(--text); border-color: var(--text); color: var(--bg); }
.gj-now .gj-dot { border-color: var(--text); color: var(--text); box-shadow: 0 0 0 4px var(--panel2); }
.gj-you .gj-dot { border-color: var(--red); background: var(--red); color: #fff; box-shadow: 0 0 0 4px var(--redbg); }
.gj-b { all: unset; cursor: pointer; display: grid; gap: 2px; padding: 5px 0; min-width: 0; }
.gj-b strong { overflow-wrap: anywhere; }
.gj-b small { font-size: 13px; color: var(--muted); }
.gj-b:focus-visible { outline: 2px solid var(--red2); outline-offset: 3px; border-radius: 4px; }
.gj-lock .gj-b strong { color: var(--muted); font-weight: 600; }
.gj-you .gj-b small { color: var(--red2); font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .gj-bar i { transition: none; } }
.gj-done > summary { cursor: pointer; font-size: 14px; color: var(--muted); padding: 6px 0 10px; list-style: none; }
.gj-done > summary::-webkit-details-marker { display: none; }
.gj-done > summary::before { content: '✓'; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 8px; border-radius: 50%; background: var(--text); color: var(--bg); font-size: 12px; }
.gj-done > summary:hover { color: var(--text); }


/* ===== ventux 13/11/2026: peças de sistema compartilhadas ===== */
/* seletor segmentado (Quadro | Lista, Funil | Lista): links com aria-current */
.seg { display: inline-flex; padding: 3px; gap: 2px; border: 1px solid var(--line2); border-radius: var(--pill); background: var(--panel); flex: none; }
.seg a, .seg button { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: var(--pill); border: 0; background: transparent; color: var(--sub); font-weight: 600; font-size: 14px; text-decoration: none; cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.seg a:hover, .seg button:hover { color: var(--text); }
.seg [aria-current="page"], .seg [aria-current="true"], .seg [aria-pressed="true"] { background: var(--text); color: var(--bg); }
/* cabeçalho de tela: título à esquerda, ferramentas numa linha à direita */
.pagehead { align-items: flex-end; row-gap: 14px; }
.toolbar { flex-wrap: nowrap; gap: 10px; }
.toolbar .in { min-height: 40px; padding-block: 8px; }
@media (max-width: 719px) { .toolbar { flex-wrap: wrap; width: 100%; } .toolbar .in { flex: 1 1 160px; width: auto !important; } }
/* selo que pode quebrar linha (antes .badge.wrap colidia com o contêiner .wrap) */
.badge.multi { white-space: normal; text-align: left; }
@media (max-width: 559px) { .table.cards .badge { white-space: normal; max-width: 100%; } }
/* toque: nada interativo abaixo de 44px em tela de toque */
@media (pointer: coarse) {
  .chip, .tabs a, .seg a, .seg button, .theme-btn { min-height: 44px; }
  .tabs a { display: inline-flex; align-items: center; }
  .iconbtn { width: 44px; height: 44px; }
  .check { min-height: 44px; }
  .check input[type=checkbox], .check input[type=radio] { width: 22px; height: 22px; }
}
/* campos com 16px no celular: abaixo disso o Safari dá zoom ao tocar no campo */
@media (max-width: 719px) { .in, select.in, textarea.in { font-size: 16px; } }
/* decisão da versão entregue: no celular o botão de aprovar ocupa a linha */
@media (max-width: 719px) { .decide .btn, .livelink .btn { flex: 1 1 100%; } .livelink { flex-wrap: wrap !important; } }
/* aviso recolhível do diagnóstico */
.howto summary { cursor: pointer; list-style: none; }
.howto summary::-webkit-details-marker { display: none; }
.howto summary .muted { text-decoration: underline; text-underline-offset: 3px; margin-left: 4px; }
/* números alinhados em tabela */
.table td.num, .table th.num { text-align: right; font-variant-numeric: tabular-nums; }

/* ===== 13/11/2026 (ventux, leva 2) ===== */
/* cabeçalho padrão de tela: título + explicação à esquerda, ações à direita, fio embaixo */
.pagehead { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 14px 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.pagehead .ph-t { flex: 1 1 340px; min-width: 0; }
.pagehead .ph-t > .eyebrow + h1 { margin-top: 6px; }
.pagehead .ph-t > .sub { margin-top: 8px; max-width: 72ch; }
.pagehead .toolbar { flex: none; }
@media (max-width: 719px) { .pagehead .toolbar { flex: 1 1 100%; } .pagehead .toolbar > .btn { flex: 1 1 auto; } }

/* confirmação própria (substitui o confirm() do navegador) */
.btn.danger { background: transparent; border-color: var(--red2); color: var(--red2); }
.btn.danger:hover { background: var(--red); border-color: var(--red); color: #fff; }
dialog.ask { width: min(440px, calc(100% - 32px)); padding: 0; border-radius: 12px; box-shadow: 0 24px 60px -12px rgba(0, 0, 0, .55); }
dialog.ask[open] { animation: ask-in .18s var(--ease-out); }
dialog.ask[open]::backdrop { animation: fade-in .18s ease-out; }
dialog.ask.out { opacity: 0; transform: scale(.97); transition: opacity .14s ease-in, transform .14s ease-in; }
.ask-in { padding: 24px 24px 20px; }
.ask-t { margin: 0; font-size: 17px; font-weight: 800; line-height: 1.35; }
.ask-d { margin: 8px 0 0; color: var(--sub); font-size: 15px; line-height: 1.5; }
.ask-act { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
@media (max-width: 479px) { .ask-act { flex-direction: column-reverse; } .ask-act .btn { width: 100%; } }
@keyframes ask-in { from { opacity: 0; transform: scale(.96) translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* esqueleto de carregamento */
.skel { display: block; border-radius: var(--r); background: linear-gradient(90deg, var(--panel2) 0%, color-mix(in srgb, var(--panel2) 55%, var(--line2)) 50%, var(--panel2) 100%); background-size: 200% 100%; animation: skel 1.3s ease-in-out infinite; }
.skel-page { display: grid; gap: 14px; }
.skel-h { height: 34px; width: min(280px, 60%); }
.skel-l { height: 14px; }
.skel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 168px), 1fr)); gap: 12px; margin-top: 10px; }
.skel-c { height: 96px; border-radius: 8px; }
.skel-b { height: 220px; border-radius: 8px; }
@keyframes skel { from { background-position: 100% 0; } to { background-position: -100% 0; } }

/* barra fina no topo enquanto a próxima tela carrega */
.route-bar { position: fixed; top: 0; left: 0; z-index: 200; height: 2px; width: 0; background: var(--red); opacity: 0; pointer-events: none; }
.route-bar.on { opacity: 1; animation: route-go 8s cubic-bezier(.1, .7, .2, 1) forwards; }
.route-bar.done { width: 100% !important; animation: none; transition: width .18s ease-out, opacity .2s ease-out .08s; opacity: 0; }
@keyframes route-go { from { width: 0; } to { width: 88%; } }

@media (prefers-reduced-motion: reduce) {
  .skel, .route-bar.on, dialog.ask[open], dialog.ask[open]::backdrop { animation: none; }
  dialog.ask.out { transition: none; }
}

/* telas de detalhe (13/11/2026, leva 3): migalha de volta em cima do título, título um degrau menor */
.crumb { display: inline-flex; align-items: center; min-height: 32px; margin-bottom: 4px; color: var(--muted); font-size: 14px; font-weight: 600; text-decoration: none; transition: color .15s ease; }
.crumb:hover { color: var(--text); }
@media (pointer: coarse) { .crumb { min-height: 44px; } }
.pagehead.detail h1 { font-size: clamp(24px, 3.2vw, 32px); overflow-wrap: anywhere; }
.pagehead .ph-t > .crumb + h1 { margin-top: 0; }
.pagehead .ph-t > .crumb + .eyebrow { margin-top: 4px; }
.pagehead.detail .toolbar { align-self: flex-end; }

/* ===================================================================================================================
   PLATAFORMA DE ASSESSORIA (16/11/2026): o que foi acrescentado ao sistema visual trazido da venturi-membros.
   Nada de cor nem de fonte nova: tudo abaixo usa os tokens do começo deste arquivo. Regras de tela (pedido do Angelo):
   ação principal grande e perto, um destaque só por tela, progresso à vista, padrões que a pessoa já conhece.
   =================================================================================================================== */

/* teclado: pular direto para o conteúdo */
.skip { position: absolute; left: -9999px; top: 8px; z-index: 300; padding: 10px 16px; border-radius: var(--pill); background: var(--text); color: var(--bg); font-weight: 700; text-decoration: none; }
.skip:focus { left: 8px; }

/* entrada: o link "Esqueci a senha" fica logo abaixo do botão, com área de toque inteira */
.auth-foot { margin: 0; text-align: center; font-size: 14px; }
.auth-foot .link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; }

/* ---------- capa de valor (Visão geral do cliente) ---------- */
/* ação que depende do cliente em cima (o único vermelho da tela), progresso do projeto e os quatro números */
.card.valor { display: grid; gap: 18px; padding: 0; overflow: hidden; }
.valor-act { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; padding: 20px; border-bottom: 1px solid var(--line); border-left: 3px solid var(--red); background: linear-gradient(160deg, var(--redbg), transparent 70%); }
.valor-act .va-t { flex: 1 1 320px; min-width: 0; display: grid; gap: 6px; justify-items: start; }
.valor-act h2 { overflow-wrap: anywhere; line-height: 1.15; }
.valor-act .sub { font-size: 15px; }
.valor-act .link { font-size: 14px; }
.valor-act .va-b { flex: none; min-height: 52px; padding: 0 28px; font-size: 15px; }
@media (max-width: 640px) { .valor-act .va-b { width: 100%; } }
.valor-p { display: grid; gap: 10px; padding: 20px 20px 0; }
.valor-act + .valor-p { padding-top: 0; }
.valor-p .bar { height: 10px; border-radius: 5px; }
.valor-p .bar i { border-radius: 5px; transition: width .4s var(--ease-out); }
.kpis.valor-k { padding: 0 20px 20px; }
a.kpi { color: inherit; }
a.kpi:hover { border-color: var(--text); }
/* número que ainda não existe: escrito, nunca zero */
.kpi b.kpi-off { font: 700 16px/1.3 var(--display); letter-spacing: 0; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .valor-p .bar i { transition: none; } }

/* ---------- comece por aqui (os estilos estavam dentro da página, na origem) ---------- */
.card.cp { display: grid; gap: 14px; }
.cp ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.cp-s { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: start; }
.cp-n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 700 14px var(--mono); border: 1px solid var(--line2); }
.cp-s.ok .cp-n { background: var(--ok); border-color: var(--ok); color: var(--on-ok); }
.cp-s .btn { margin-top: 10px; }
.cp video { width: 100%; max-width: 720px; border-radius: 12px; background: #000; margin-top: 10px; display: block; }

/* ---------- horas trabalhadas ---------- */
/* barra de duas partes: entregas (cheia) e reuniões (clara). Sem vermelho: vermelho é "depende de você" */
@media (min-width: 720px) { .kpis.hr-k { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hr-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; }
.hr-row { display: grid; grid-template-columns: minmax(120px, 200px) minmax(0, 1fr) auto; gap: 4px 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.hr-row:first-child { border-top: 0; }
.hr-l { font-weight: 700; overflow-wrap: anywhere; }
.hr-l::first-letter { text-transform: uppercase; }
.hr-bar { display: flex; height: 10px; border-radius: 5px; overflow: hidden; background: var(--panel2); }
.hr-bar i { display: block; height: 100%; }
.hr-w { background: var(--text); }
.hr-m { background: var(--muted); }
.hr-n { min-width: 92px; font: 700 15px/1.2 var(--mono); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.hr-s { grid-column: 2 / -1; color: var(--muted); font-size: 13px; }
@media (max-width: 560px) {
  .hr-row { grid-template-columns: minmax(0, 1fr) auto; }
  .hr-bar { grid-column: 1 / -1; grid-row: 2; }
  .hr-s { grid-column: 1 / -1; }
}
.hr-more { margin-top: 8px; border-top: 1px solid var(--line); }
.hr-more > summary, .mt-sum > summary, .hf-more > summary { display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; }
.mt-sum { margin-top: 4px; }

/* ---------- transcrição da reunião ---------- */
.tr-box { max-height: min(58vh, 560px); overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; padding: 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel2); font-size: 15px; line-height: 1.65; }
.tr-box:focus-visible { outline: 2px solid var(--red2); outline-offset: 2px; }
fieldset.tr-f, fieldset.hf-time { display: grid; gap: 12px; min-width: 0; margin: 0; padding: 14px; border: 1px solid var(--line); border-radius: var(--r); }
fieldset.tr-f > legend, fieldset.hf-time > legend { padding: 0 6px; }

/* ---------- aprovação na ficha da entrega: os dois botões grandes, lado a lado ---------- */
.card.ap-box { padding: 16px; }
.ap-btns .btn { flex: 1 1 160px; min-height: 52px; }

/* ---------- operação (estes estilos estavam dentro de ops/index.html, na origem) ---------- */
body.ops .wrap { max-width: 1280px; }
body.ops h1 { font-size: clamp(26px, 4vw, 36px); }
.search .in { width: 240px; max-width: 100%; }
@media (max-width: 559px) { .search { width: 100%; flex-wrap: nowrap; } .search .in { flex: 1; width: auto; } }
/* cartões de número: rótulo em cima com altura fixa (o número fica na mesma linha em todos), legenda embaixo */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 144px), 1fr)); gap: 10px; }
.stat { display: flex; flex-direction: column; justify-content: flex-start; gap: 10px; min-height: 104px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); color: inherit; text-decoration: none; transition: border-color .15s ease; }
a.stat:hover { border-color: var(--line2); }
.stat b { display: block; font-size: 28px; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.stat > .eyebrow:first-child { min-height: 2.8em; display: flex; align-items: flex-start; }
.stat > small { margin-top: auto; font-size: 13px; line-height: 1.35; }
.stat.alert { border-color: var(--red); background: var(--redbg); }
@media (max-width: 559px) { .stat { padding: 10px; min-height: 84px; } .stat b { font-size: 22px; } .stat .eyebrow { font-size: 10px; letter-spacing: .08em; } }
/* Hoje: três perguntas, três colunas no computador */
.hoje-grid { display: grid; gap: 14px; align-items: start; }
.hoje-grid > * { min-width: 0; scroll-margin-top: 80px; }
@media (min-width: 1100px) { .hoje-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hj-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hj-vazio { margin-top: 10px; font-size: 14px; }
.hoje-grid h2 { font-size: 18px; line-height: 1.2; }
.hoje-grid .card > .row.between { flex-wrap: nowrap; align-items: flex-start; }
.btn.hj-go { min-height: 52px; padding: 0 26px; font-size: 15px; }
@media (max-width: 559px) { .pagehead .toolbar:has(.hj-go) { width: 100%; } .btn.hj-go { width: 100%; } }
.todo { list-style: none; margin: 10px 0 0; padding: 0; }
.todo li { padding: 10px 0; border-top: 1px solid var(--line); }
.todo a { text-decoration: none; }
.todo a:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.todo .meta { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin-top: 4px; font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
/* entregáveis: status por cor, seletor compacto à direita, setas de ordem discretas */
.sdot { width: 10px; height: 10px; border-radius: 50%; flex: none; margin-top: 6px; background: var(--muted); align-self: flex-start; }
.sdot.s-done { background: var(--ok); } .sdot.s-current { background: var(--info); } .sdot.s-blocked { background: var(--red2); } .sdot.s-next { background: transparent; border: 2px solid var(--line2); }
.st-sel { width: 150px; min-height: 36px !important; padding-block: 6px !important; font-size: 13px; font-weight: 600; }
.st-sel.s-done { color: var(--ok); } .st-sel.s-current { color: var(--info); } .st-sel.s-blocked { color: var(--red2); }
@media (pointer: fine) { .mrow .iconbtn { width: 32px; height: 32px; border-color: transparent; color: var(--muted); } .mrow .iconbtn:hover:not([disabled]) { border-color: var(--line2); color: var(--text); } .mrow .iconbtn[disabled] { opacity: .3; } }
@media (max-width: 719px) { .mrow { flex-wrap: wrap; } .mrow > .row { width: 100%; justify-content: flex-end; flex-wrap: nowrap; } .mrow .st-sel { flex: 1 1 0; width: auto; min-width: 0; } }
.msel { display: none; align-items: center; flex: none; }
.selmode .msel { display: inline-flex; }
.msel input { width: 20px; height: 20px; accent-color: var(--red2); }
.delbar { position: sticky; bottom: 12px; z-index: 5; display: none; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 16px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line2); box-shadow: var(--shadow); }
.selmode .delbar { display: flex; }
@media (max-width: 859px) { .delbar { bottom: 76px; } }
/* janela de lançar horas: tempo em destaque, o resto recolhido */
.hf-hm { flex-wrap: nowrap; align-items: flex-end; }
.hf-hm .f { flex: 1 1 0; min-width: 0; }
.hf-hm .in { font: 700 20px/1.2 var(--mono); }
.btn.hf-go { flex: 1 1 200px; min-height: 52px; font-size: 15px; }
/* apagar a conta: recolhido, para não competir com o resto da tela */
details.danger-zone > summary { cursor: pointer; min-height: 32px; display: flex; align-items: center; color: var(--red2); }
/* cartão da próxima reunião fora da aba Reuniões: sem a borda forte, para não disputar com a ação da capa de valor */
.card.meet.quiet { border-color: var(--line); }
/* valor com letra (42h 50min, 16h 35min): cabe numa linha em qualquer largura */
.kpi b.kpi-txt { font-size: clamp(19px, 2.2vw, 26px); white-space: nowrap; }
.stat b.stat-txt { font-size: clamp(18px, 1.9vw, 24px); white-space: nowrap; }
/* celular: a capa fica mais baixa e sem a frase de apoio, para a ação que depende do cliente subir na tela */
@media (max-width: 560px) { .capa { min-height: 150px; padding: 20px; } .capa p.lead { display: none; } .capa h1 { font-size: clamp(26px, 8vw, 34px); } }
/* tabela em modo cartão (celular): o número acompanha o rótulo dele, à esquerda */
@media (max-width: 719px) { .table.cards td.num { text-align: left; } }
/* marcar na entrega, celular: Cancelar e Pronto ficam lado a lado (o Pronto caía para a linha de baixo).
   Mesma regra que a plataforma de origem ganhou em 16/11/2026, depois da cópia do ui.css para cá */
@media (max-width: 760px) { .mk-top > .row { flex-wrap: nowrap; flex: none; } }

/* ---------- palco de valor (16/11/2026): os números da conta num painel escuro em vidro ----------
   Pedido do Angelo: "bem visual e diferente", a partir de uma referência de painel (vidro sobre fundo imersivo, um
   acento só, dado que se lê de relance). Traduzido para a identidade da Venturi:
   - o palco é sempre escuro, como a capa; por isso carrega os valores do tema escuro nos dois temas (--p-*);
   - o dado usa só o verde de "feito"; o vermelho continua reservado para a ação que depende do cliente;
   - raio maior só aqui dentro: é a única área de dado denso da tela, o resto do sistema continua reto. */
.card.valor > .valor-act:last-child { border-bottom: 0; }
.palco { --p-text: #F4F2EF; --p-sub: #C9C6C1; --p-muted: #8E8B86; --p-line: rgba(244, 242, 239, .1); --p-line2: rgba(244, 242, 239, .2); --p-ok: #3FB27F; --p-glass: rgba(244, 242, 239, .045); --p-surface: #101012;
  position: relative; isolation: isolate; overflow: hidden; display: grid; gap: 20px; padding: 24px; border-radius: 16px; border: 1px solid var(--p-line); color: var(--p-text);
  background: radial-gradient(70% 90% at 100% 0%, color-mix(in srgb, var(--capa, #3A3A44) 30%, transparent), transparent 64%), radial-gradient(60% 80% at 0% 100%, rgba(63, 178, 127, .13), transparent 60%), linear-gradient(135deg, #131216 0%, #070707 72%); }
/* malha de pontos, que some para baixo */
.palco::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(244, 242, 239, .1) 1px, transparent 1.3px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 82%); mask-image: linear-gradient(180deg, #000, transparent 82%); }
.palco-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; }
.palco-h .eyebrow { color: var(--p-muted); }
.palco-h h2 { margin-top: 6px; color: #fff; font-size: clamp(22px, 3vw, 28px); line-height: 1.1; }
.palco-s { color: var(--p-sub); font-size: 14px; }
.palco-g { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .palco-g { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pc-hero { grid-row: span 2; } }
@media (min-width: 1180px) { .palco-g { grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 4fr); } }

/* cartão de vidro: leva para a aba de onde o número saiu */
.pc { position: relative; display: grid; align-content: start; gap: 12px; min-width: 0; padding: 18px; border-radius: 14px; border: 1px solid var(--p-line); background: var(--p-glass); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: inherit; text-decoration: none; transition: border-color .15s ease, background-color .15s ease; }
.pc:hover { border-color: var(--p-line2); background: rgba(244, 242, 239, .07); }
.pc:focus-visible { outline: 2px solid var(--p-text); outline-offset: 2px; }
.pc-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pc-h .eyebrow { color: var(--p-sub); }
.pc-h i { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--p-line); color: var(--p-sub); }
.pc-h i svg { width: 15px; height: 15px; }
.pc-v { display: flex; align-items: center; justify-content: space-between; gap: 8px 12px; flex-wrap: wrap; }
.pc-v b { font: 900 clamp(28px, 4vw, 36px)/1 var(--display); letter-spacing: -.02em; color: #fff; }
.pc-v b.off, .pc-rad-n b.off { font: 700 17px/1.3 var(--display); letter-spacing: 0; color: var(--p-muted); }
.pc-chip { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: var(--pill); font: 500 11px/1 var(--mono); letter-spacing: .04em; color: var(--p-sub); background: rgba(244, 242, 239, .07); white-space: nowrap; }
.pc-chip.on { color: var(--p-text); background: rgba(63, 178, 127, .22); }
.pc-note { font-size: 13px; color: var(--p-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-note.livre { white-space: normal; line-height: 1.45; }

/* medidor e anéis: o número fica escrito no meio */
.pc-rad { position: relative; width: min(100%, 280px); margin: 6px auto 0; }
.pc-rad svg { display: block; width: 100%; height: auto; overflow: visible; }
.pc-rad-n { position: absolute; left: 0; right: 0; bottom: 5%; display: grid; justify-items: center; gap: 6px; text-align: center; pointer-events: none; }
.pc-rad-n b { font: 900 clamp(38px, 6vw, 48px)/1 var(--display); letter-spacing: -.03em; color: #fff; }
.pc-rad-n span { font: 500 11px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--p-muted); }
.pc-rad.multi { width: min(100%, 260px); }
.pc-rad.multi .pc-rad-n { inset: 0; display: block; }
.pc-rad.multi .pc-rad-n b { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); font-size: 30px; }
.pc-rad.multi .pc-rad-n span { position: absolute; left: 0; right: 0; top: 81%; }
.gz path, .rg path { fill: none; stroke-linecap: round; }
.gz-bg, .rg-bg { stroke: rgba(244, 242, 239, .1); stroke-width: 12; }
.gz-v, .rg-v { stroke: var(--p-ok); stroke-width: 12; stroke-dasharray: 100 100; filter: drop-shadow(0 0 7px rgba(63, 178, 127, .45)); }
.rg-bg, .rg-v { stroke-width: 10; }
.gz-t line { stroke: rgba(244, 242, 239, .2); stroke-width: 1.5; stroke-linecap: round; }
.gz-t line.on { stroke: rgba(244, 242, 239, .62); }
.pc-leg { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.pc-leg li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 10px; font-size: 14px; color: var(--p-sub); }
.pc-leg li > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-leg li b { font: 700 14px/1 var(--display); color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rg-k { width: 22px; height: 22px; }
.rg-k circle { fill: none; stroke: rgba(244, 242, 239, .22); stroke-width: 1.3; }
.rg-k circle.on { stroke: var(--p-ok); stroke-width: 2.2; }
.pc-leg.bars li { grid-template-columns: minmax(0, 1fr) auto; }
.pc-m { grid-column: 1 / -1; display: block; height: 6px; border-radius: 3px; background: rgba(244, 242, 239, .1); overflow: hidden; }
.pc-m i { display: block; height: 100%; border-radius: 3px; background: var(--p-ok); }

/* colunas por mês: o mês atual em verde, os outros neutros */
.cl { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; height: 88px; }
.cl-c { display: grid; grid-template-rows: minmax(0, 1fr) auto; justify-items: center; gap: 7px; min-width: 0; }
.cl-c i { align-self: end; display: block; width: 12px; border-radius: 4px 4px 0 0; background: rgba(244, 242, 239, .28); transform-origin: 50% 100%; }
.cl-c.z i { height: 2px !important; border-radius: 1px; background: rgba(244, 242, 239, .14); }
.cl-c.on i { background: var(--p-ok); }
.cl-c span { font: 500 10px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--p-muted); }
.cl-c.on span { color: var(--p-text); }

/* linha com área: acumulado por mês, com o ponto final marcado. No cartão que estica (pc-fill), o gráfico ocupa a sobra */
.pc-fill { grid-template-rows: auto auto minmax(0, 1fr); align-content: stretch; }
.pc-fill > .ar { display: grid; grid-template-rows: minmax(62px, 1fr) auto; align-self: stretch; }
.pc-fill > .ar .ar-p { height: 100%; min-height: 62px; max-height: 150px; align-self: end; }
.ar-p { position: relative; height: 62px; margin-right: 6px; }
.ar-p svg { display: block; width: 100%; height: 100%; overflow: visible; }
.ar-l { fill: none; stroke: var(--p-ok); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.ar-d { position: absolute; right: -5px; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--p-ok); box-shadow: 0 0 0 2px var(--p-surface); }
.ar-x { display: flex; justify-content: space-between; margin-top: 7px; font: 500 10px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--p-muted); }

/* barra fina em duas partes (entregas x reuniões), com a conta de cada parte escrita embaixo */
.sg-w { display: grid; gap: 8px; }
.sg { display: flex; gap: 2px; height: 8px; }
.sg i { display: block; min-width: 6px; border-radius: 4px; background: var(--p-ok); }
.sg i.b { background: rgba(244, 242, 239, .42); }
.sg-l { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--p-muted); }
.sg-l span::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: var(--p-ok); }
.sg-l span.b::before { background: rgba(244, 242, 239, .42); }

/* entrada: o arco se desenha e as colunas sobem uma vez. Tela vista de vez em quando; quem pede menos movimento não vê */
@media (prefers-reduced-motion: no-preference) {
  .gz-v, .rg-v { animation: pc-draw .7s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 70ms + 80ms); }
  .cl-c i { animation: pc-grow .45s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 40ms + 120ms); }
}
@keyframes pc-draw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes pc-grow { from { transform: scaleY(.2); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 480px) { .palco { padding: 16px; border-radius: 14px; } .pc { padding: 16px; } }

/* ---------- 17/11/2026: capa fina nas abas internas, horas no palco, resultados em grade ---------- */
.capa.slim { min-height: 0; padding: 20px 28px; gap: 4px; }
.capa.slim h1 { font-size: clamp(24px, 3vw, 32px); }
.capa.slim .logo-cli { top: 50%; transform: translateY(-50%); max-height: 36px; }
@media (min-width: 860px) { .capa.slim { min-height: 0; padding: 22px 32px; } }
@media (max-width: 560px) { .capa.slim { min-height: 0; padding: 16px 20px; } .capa.slim h1 { font-size: clamp(22px, 7vw, 28px); } }
.palco-g.hr-g { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.res-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); align-items: start; }
.res-grid .res-sec h3 { font-size: 18px; }
.res-m { display: grid; gap: 10px; }

/* ---------- 17/11/2026: menu completo, modo apresentação, fixados, CRM, dúvidas e "Como funciona" ---------- */
/* menu do cliente: subitens das frentes e o botão "Como funciona" com a mesma cara dos links */
.sidenav .item.sub { min-height: 34px; padding-left: 38px; font-size: 14px; font-weight: 500; }
.sidenav button.item { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 40px; padding: 0 10px; border: 0; border-radius: 8px; background: none; color: var(--sub); font: 600 15px/1.2 inherit; font-family: inherit; text-align: left; cursor: pointer; }
.sidenav button.item svg { width: 18px; height: 18px; flex: none; }
.sidenav button.item:hover { background: var(--panel2); color: var(--text); }
.sidenav .sec + .sec { display: none; }
.sidenav .tour-on { background: var(--panel2); color: var(--text); box-shadow: inset 2px 0 0 var(--ok), 0 0 0 2px color-mix(in srgb, var(--ok) 45%, transparent); }
/* no computador as seções do projeto estão no menu do lado: a faixa de seções fica só no celular */
@media (min-width: 860px) { .proj-chips { display: none; } }
/* faixa do modo apresentação: fixa no topo, com o botão de sair sempre à vista */
.act-bar { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; padding: 10px 16px; background: #0E5A63; color: #F4F2EF; font-size: 14px; }
.act-bar .btn { background: #F4F2EF; color: #0b0b0c; border-color: transparent; }
body.acting .sidenav { top: 46px; height: calc(100svh - 46px); }
/* fixar na visão geral */
.pinrow { display: flex; justify-content: flex-end; margin-bottom: -8px; }
.pinb svg, .pc-pin svg { width: 16px; height: 16px; flex: none; }
.pinb[aria-pressed="true"] { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 50%, transparent); }
.pc-pin { justify-self: start; display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px; border-radius: var(--pill); border: 1px solid var(--p-line2); background: transparent; color: var(--p-sub); font: 600 13px/1 inherit; font-family: inherit; cursor: pointer; }
.pc-pin:hover { color: var(--p-text); border-color: var(--p-sub); }
.pc-pin[aria-pressed="true"] { color: var(--p-text); background: rgba(63, 178, 127, .22); border-color: transparent; }
.fx-hint { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.fx-hint svg { width: 16px; height: 16px; flex: none; }
.fx-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.fx { position: relative; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); transition: border-color .15s ease; }
.fx:hover { border-color: var(--line2); }
.fx-a { display: grid; gap: 6px; padding: 14px 44px 14px 16px; color: inherit; text-decoration: none; }
.fx-a strong { font-size: 16px; }
.fx-a b { font: 900 26px/1.05 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.fx-a b.off { font: 700 15px/1.3 var(--display); letter-spacing: 0; color: var(--muted); }
.fx-a small { color: var(--sub); font-size: 13px; line-height: 1.4; }
.fx-x { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 0; background: none; color: var(--muted); cursor: pointer; }
.fx-x:hover { background: var(--panel2); color: var(--text); }
.fx-x svg { width: 14px; height: 14px; }
/* página da frente e tráfego lado a lado */
.fr-top { flex-wrap: wrap; gap: 8px; }
.palco-g.tf-g { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.tf-l { display: grid; gap: 2px; padding-top: 12px; border-top: 1px solid var(--p-line); }
.tf-l .eyebrow { color: var(--p-muted); }
.tf-l b { font: 800 20px/1.2 var(--display); color: #fff; }
.tf-l small { font-size: 13px; color: var(--p-sub); }
/* CRM */
.kpis.crm-k { grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); }
.kpi .off { font: 700 15px/1.3 var(--display); letter-spacing: 0; color: var(--muted); }
.crm-f { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.crm-f .in.sm { min-height: 40px; width: auto; }
.crm-f input.in.sm { flex: 1; min-width: 180px; }
.crm-f .chip[aria-pressed="true"], .seg button[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.seg { display: inline-flex; border: 1px solid var(--line2); border-radius: var(--pill); overflow: hidden; margin-left: auto; }
.seg button { min-height: 38px; padding: 0 14px; border: 0; background: none; color: var(--sub); font: 600 14px/1 inherit; font-family: inherit; cursor: pointer; }
.pr { display: inline-flex; align-items: center; min-height: 24px; padding: 0 9px; border-radius: var(--pill); font: 500 11px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; border: 1px solid var(--line2); color: var(--sub); white-space: nowrap; }
.pr-alta { color: var(--red2); border-color: color-mix(in srgb, var(--red2) 45%, transparent); }
.pr-baixa { color: var(--muted); }
.st-sel { min-height: 36px; padding: 0 8px; font-size: 13px; width: auto; }
.linkbtn { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-align: left; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line2); }
.linkbtn:hover { text-decoration-color: currentColor; }
.crm-board { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(168px, 1fr); gap: 10px; overflow-x: auto; padding-bottom: 6px; align-items: start; }
.crm-col { display: grid; gap: 8px; padding: 10px; border: 1px solid var(--line); border-top: 3px solid var(--line2); border-radius: var(--r); background: var(--panel2); }
.crm-col.ganho { border-top-color: var(--ok); } .crm-col.perdido { opacity: .8; }
.crm-col h3 { display: flex; justify-content: space-between; font-size: 14px; margin: 2px 2px 0; }
.crm-card { display: grid; gap: 6px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
.crm-card small { font-size: 13px; }
/* dúvidas */
.tk-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.tk-list li + li { border-top: 1px solid var(--line); }
.tk { display: grid; gap: 4px; width: 100%; padding: 12px 4px; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; border-radius: 8px; }
.tk:hover { background: var(--panel2); }
.tk-t { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.tk small { font-size: 13px; }
.tk-l { color: var(--sub); }
.tk-msgs { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-height: 50vh; overflow-y: auto; }
.tk-msgs li { max-width: 88%; padding: 10px 14px; border-radius: 14px; background: var(--panel2); border: 1px solid var(--line); }
.tk-msgs li.cliente { justify-self: end; background: var(--panel); }
.tk-msgs li.venturi { justify-self: start; border-color: color-mix(in srgb, var(--ok) 40%, var(--line)); }
.tk-who { font: 500 11px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
/* como funciona */
.cf-tour { max-width: 520px; }
.cf-tour h2 { font-size: clamp(22px, 3vw, 28px); }
/* documento aberto dentro da plataforma (17/11/2026) */
.doc-frame { width: 100%; height: min(78vh, 920px); border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.doc-img { max-width: 100%; height: auto; border-radius: var(--r); border: 1px solid var(--line); }
@media (max-width: 560px) { .doc-frame { height: 70vh; } }

/* ---------- Score 360 (17/11/2026) ---------- */
.sc-chip { display: flex; justify-content: center; }
.sc-next { font: 700 17px/1.35 var(--display); color: #fff; }
.sc-dims li b { min-width: 2.2em; text-align: right; }
.fx-of { font: 600 13px/1 var(--display); color: var(--muted); letter-spacing: 0; }
.sc-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); align-items: start; }
.sc-n { font: 900 26px/1 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.sc-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sc-items li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 14px; }
.sc-items li small { display: block; font-size: 12px; margin-top: 2px; }
.sc-ic { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line2); font: 700 12px/1 var(--mono); color: #fff; }
.sc-items li.ok .sc-ic { background: var(--ok); border-color: var(--ok); }
.sc-cols { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px; height: 180px; align-items: end; }
.sc-col { display: grid; grid-template-rows: auto 1fr auto; justify-items: center; gap: 6px; height: 100%; }
.sc-col i { align-self: end; width: min(44px, 70%); border-radius: 8px 8px 3px 3px; background: var(--line2); }
.sc-col.on i { background: var(--ok); }
.sc-col b { font: 800 14px/1 var(--display); font-variant-numeric: tabular-nums; }
.sc-col span { font: 500 11px/1 var(--mono); color: var(--muted); }
.sc-items.sc-ops li { grid-template-columns: minmax(0, 1fr); }
