/* ====================================================================
   web/css/cockpit.css — o cockpit da jornada v6 (E4, 07/10/2026). Quem
   cria o botão e o painel é js/cockpit.js; o desenho é o da maquete
   aprovada (cockpit-maquetes/rodada-4/cockpit.html) com os ajustes do §3
   de cockpit-decisoes.md.

   Carregado sempre, sem efeito sem o marcador: TODA regra começa por
   `html[data-cockpit]` (o chat de uma negociação v6, com a flag). Quem
   não está na v6 não vê nada daqui; o painel lateral da v3 segue com
   css/painel-lateral.css.

   Padrão visual (o da maquete): fonte do sistema; escala 11 · 12 · 13 ·
   14 · 15 · 16/17 · 20; pesos 400/500/600; cor só com função (azul =
   evidência e ação; dourado = hipótese; vermelho discreto = falta);
   raios 8 · 12 · 14; hairline; um card só "flutua" (a única sombra).
   O layout responde à largura do PRÓPRIO painel: container queries
   (≤ 400 · 401–600 · ≥ 601).
   ==================================================================== */

html[data-cockpit] {
  --ck-w: 448px;
  --ck-barra-h: 52px;
  --ck-ink: var(--va-ink, #0a1628);
  --ck-ink2: #5b6472;
  --ck-ink3: #9aa1ab;
  --ck-hair: rgba(0, 0, 0, .08);
  --ck-hair2: rgba(0, 0, 0, .14);
  --ck-bg2: #f5f5f7;
  --ck-bg3: #ececef;
  --ck-azul: var(--va-azul, #152848);
  --ck-azul-soft: #eef2f8;
  --ck-azul-linha: #c9d3e6;
  --ck-hip: #a87a06;
  --ck-hip-soft: #fbf4e3;
  --ck-hip-linha: #e3c77a;
  --ck-bad: #b42318;
  --ck-bad-soft: #fbeaea;
  --ck-ease: cubic-bezier(.23, 1, .32, 1);
}

/* ---------- o botão do canto: o ponto de "mudou" ---------- */
html[data-cockpit] .ck-tog { position: relative; }
html[data-cockpit] .ck-ponto {
  position: absolute; top: 6px; right: 6px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--ck-hip); box-shadow: 0 0 0 2px #fff; pointer-events: none;
}
html[data-cockpit] .ck-ponto[hidden] { display: none; }

/* ---------- o painel ---------- */
html[data-cockpit] .ck-painel {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 60;
  width: var(--ck-w);
  display: flex; flex-direction: column;
  background: #fff; border-left: 1px solid var(--va-line, #e6e8ec);
  font: 15px/1.5 var(--va-font, -apple-system, "Segoe UI", Roboto, Arial, sans-serif); color: var(--ck-ink);
  -webkit-font-smoothing: antialiased;
  transform: translateX(104%); visibility: hidden;
  transition: transform .22s var(--ck-ease), visibility 0s linear .22s;
  container: ck / inline-size;
}
html[data-cockpit] .ck-painel[hidden] { display: none; }
html[data-cockpit] .ck-painel.ck-visivel { transform: none; visibility: visible; transition: transform .22s var(--ck-ease); }
html[data-cockpit] .ck-painel button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
html[data-cockpit] .ck-painel button:focus-visible,
html[data-cockpit] .ck-painel [role="button"]:focus-visible { outline: 2px solid var(--ck-azul); outline-offset: 2px; border-radius: 6px; }
html[data-cockpit] .ck-painel svg.lucide { width: 16px; height: 16px; stroke-width: 1.6; flex: none; }

/* a barra: o controle segmentado e o X */
html[data-cockpit] .ck-barra { flex: none; display: flex; align-items: center; gap: 8px; padding: 10px 8px 8px 16px; }
html[data-cockpit] .ck-seg { position: relative; flex: 1; min-width: 0; display: flex; padding: 2px; border-radius: 9px; background: var(--ck-bg3); }
html[data-cockpit] .ck-thumb {
  position: absolute; top: 2px; bottom: 2px; left: 2px; width: 80px; border-radius: 7px; background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .12), 0 0 0 .5px rgba(0, 0, 0, .04);
  transition: transform .24s var(--ck-ease), width .24s var(--ck-ease);
}
html[data-cockpit] .ck-tab {
  position: relative; z-index: 1; flex: 1 1 0; min-width: 0; height: 30px; padding: 0 8px; border-radius: 7px;
  font-size: 13px !important; font-weight: 500; color: var(--ck-ink2) !important; white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
}
html[data-cockpit] .ck-tab.on { color: var(--ck-ink) !important; }
/* o rótulo curto ("Docs") só no painel mais estreito (≤ 360 px, regra no fim do arquivo) */
html[data-cockpit] .ck-tab .ck-tab-curto { display: none; }
html[data-cockpit] .ck-tab .ck-ponto { position: static; box-shadow: none; flex: none; }
html[data-cockpit] .ck-x { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; color: var(--ck-ink2) !important; }
html[data-cockpit] .ck-x:hover { background: var(--ck-bg2) !important; color: var(--ck-ink) !important; }
html[data-cockpit] .ck-x svg.lucide { width: 20px; height: 20px; }

/* o corpo: rola sozinho */
html[data-cockpit] .ck-corpo { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; padding: 0 18px 56px; }
html[data-cockpit] .ck-aba[hidden] { display: none; }
html[data-cockpit] .ck-aviso {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 5; padding: 10px 14px; border-radius: 12px;
  background: var(--ck-ink); color: #fff; font-size: 13px; line-height: 1.4; box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
}
html[data-cockpit] .ck-aviso[hidden] { display: none; }
/* (20/10) com a folha "Enviar ao Ring" aberta, "Não deu para anotar…" e "Espere o Ring terminar…" saíam por baixo dela */
html[data-cockpit] .ck-aviso { z-index: 22; }

/* a borda que arrasta a largura */
html[data-cockpit] .ck-borda { position: absolute; left: -5px; top: 0; bottom: 0; z-index: 3; width: 10px; cursor: col-resize; touch-action: none; outline: 0; }
html[data-cockpit] .ck-borda::after { content: ""; position: absolute; left: 4px; top: 50%; width: 3px; height: 44px; margin-top: -22px; border-radius: 3px; background: var(--va-line, #e6e8ec); }
html[data-cockpit] .ck-borda:hover::after, html[data-cockpit] .ck-borda:focus-visible::after, html[data-cockpit] body.ck-arrastando .ck-borda::after { background: var(--ck-azul); }
html[data-cockpit] body.ck-arrastando { cursor: col-resize; user-select: none; -webkit-user-select: none; }
html[data-cockpit] .ck-alca { display: none; }

/* ao lado da conversa (≥ 1024 px): a conversa encolhe */
@media screen and (min-width: 1024px) {
  html[data-cockpit] body.ck-aberto .content { margin-right: var(--ck-w); }
}
/* a tela inteira (< 1024 px e celular), com o X */
@media (max-width: 1023px) {
  html[data-cockpit] .ck-painel { width: 100%; z-index: 300; border-left: 0; transform: translateX(100%); }
  html[data-cockpit] .ck-barra { padding-top: calc(10px + env(safe-area-inset-top)); }
  html[data-cockpit] .ck-borda { display: none; }
  html[data-cockpit] .ck-corpo { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
}
@media print { html[data-cockpit] .ck-painel, html[data-cockpit] .ck-tog { display: none !important; } }
/* (08/10) "Baixar PDF" do relatório do ensaio (aba Documentos): só o documento vai para o papel */
#ck-impressao { display: none; }
@media print {
  body.ck-imprimindo > *:not(#ck-impressao) { display: none !important; }
  body.ck-imprimindo #ck-impressao, body.ck-imprimindo #ck-impressao * { visibility: visible !important; }
  body.ck-imprimindo #ck-impressao { display: block; position: static; width: 100%; background: #fff; color: #0a1628; }
}
#ck-impressao .ck-imp-doc { font: 10.5pt/1.5 Georgia, "Times New Roman", serif; color: #0a1628; }
#ck-impressao .ck-imp-cab { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1.5pt solid #0A2540; padding-bottom: 4pt; margin-bottom: 10pt; font: 600 8.5pt/1.2 -apple-system, "Segoe UI", Roboto, Arial, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
#ck-impressao .ck-imp-cab span { color: #8a6d1f; }
#ck-impressao h1 { font: 700 15pt/1.25 -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: #0A2540; margin: 0 0 8pt; }
#ck-impressao .ck-imp-md h1 { font-size: 13pt; }
#ck-impressao .ck-imp-md h2 { font: 700 10pt/1.3 -apple-system, "Segoe UI", Roboto, Arial, sans-serif; text-transform: uppercase; letter-spacing: .05em; color: #0A2540; border-bottom: .75pt solid #c9a040; padding-bottom: 2pt; margin: 12pt 0 5pt; break-after: avoid; }
#ck-impressao .ck-imp-md blockquote { margin: 0 0 8pt; padding: 4pt 8pt; border-left: 2pt solid #c9a040; background: #f7f5ef; font-size: 9pt; color: #33475b; }
#ck-impressao .ck-imp-md ul { margin: 0 0 6pt; padding-left: 14pt; }
#ck-impressao .ck-imp-md li { margin: 0 0 3pt; break-inside: avoid; }
#ck-impressao .ck-imp-md p { margin: 0 0 6pt; }
html[data-cockpit] .ck-doc-pdf { margin: 0 0 10px; }

/* ---------- peças comuns ---------- */
html[data-cockpit] .ck-sec { margin-top: 24px; }
html[data-cockpit] .ck-h { display: flex; align-items: baseline; gap: 8px; margin: 0 0 10px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ck-ink3); }
html[data-cockpit] .ck-ht { display: inline; }
html[data-cockpit] .ck-h .ck-r { margin-left: auto; font-weight: 400; letter-spacing: 0; text-transform: none; font-size: 12px; text-align: right; }
html[data-cockpit] .ck-h .ck-termo { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
html[data-cockpit] .ck-g2 { font-size: 12px; color: var(--ck-ink3); margin: 14px 0 6px; }
html[data-cockpit] .ck-edu { font-size: 13px; line-height: 1.55; color: var(--ck-ink2); margin: 0; }
html[data-cockpit] .ck-dim { color: var(--ck-ink2); }
html[data-cockpit] .ck-vazio { padding: 40px 8px; text-align: center; color: var(--ck-ink2); font-size: 14px; }
html[data-cockpit] .ck-vazio .ck-btn { margin-top: 12px; }
html[data-cockpit] .ck-nada { font-size: 12px; color: var(--ck-ink3); padding: 4px 0; display: block; }

html[data-cockpit] .ck-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex: 0 1 auto; max-width: 100%;
  min-height: 32px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--ck-hair2) !important; background: #fff !important;
  font-size: 13px !important; font-weight: 500; line-height: 1.25; color: var(--ck-ink) !important; text-align: center; white-space: normal;
  transition: transform .12s var(--ck-ease), background .18s;
}
html[data-cockpit] .ck-btn > span { min-width: 0; overflow-wrap: anywhere; }
html[data-cockpit] .ck-btn:hover { background: var(--ck-bg2) !important; }
html[data-cockpit] .ck-btn:active { transform: scale(.97); }
html[data-cockpit] .ck-btn:disabled { opacity: .5; cursor: default; }
html[data-cockpit] .ck-btn.sm { min-height: 30px; padding: 5px 11px; font-size: 12.5px !important; }
html[data-cockpit] .ck-btn.pri { background: var(--ck-azul) !important; border-color: var(--ck-azul) !important; color: #fff !important; }
html[data-cockpit] .ck-btn.pri:hover { background: #1d365f !important; }
html[data-cockpit] .ck-btn.ghost { border-color: transparent !important; color: var(--ck-ink2) !important; }
html[data-cockpit] .ck-btn svg.lucide { width: 14px; height: 14px; }
/* (§3: os botões da avaliação "deformados") a linha de ações quebra, cada botão no tamanho do texto */
html[data-cockpit] .ck-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
html[data-cockpit] .ck-acts.ck-fim { margin-top: 12px; }

html[data-cockpit] .ck-tag { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 999px; background: var(--ck-bg2); color: var(--ck-ink2); font-size: 11px; font-weight: 500; white-space: nowrap; line-height: 1.5; }
html[data-cockpit] .ck-tag.evidencia { color: var(--ck-azul); background: var(--ck-azul-soft); }
html[data-cockpit] .ck-tag.hipotese { color: var(--ck-hip); background: var(--ck-hip-soft); }
html[data-cockpit] .ck-tag.falta { color: var(--ck-bad); background: var(--ck-bad-soft); }
html[data-cockpit] .ck-tag.pesquisa { color: var(--ck-ink2); background: var(--ck-bg2); }
html[data-cockpit] .ck-tag.sem { color: var(--ck-ink3); background: transparent; border: 1px dashed var(--ck-hair2); }
html[data-cockpit] .ck-tag.privado { color: var(--ck-ink2); background: var(--ck-bg3); }

html[data-cockpit] .ck-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ck-azul); display: inline-block; flex: none; }
html[data-cockpit] .ck-dot.hipotese { background: transparent; border: 1.5px solid var(--ck-hip); }
html[data-cockpit] .ck-dot.sem { background: transparent; border: 1.5px dashed var(--ck-ink3); }
html[data-cockpit] .ck-dot.falta { background: var(--ck-bad); }
html[data-cockpit] .ck-dot.pesquisa { background: var(--ck-ink2); }
html[data-cockpit] .ck-dot.privado { background: var(--ck-ink3); }
html[data-cockpit] .ck-dot.off { background: var(--ck-hair2); }

html[data-cockpit] .ck-nota { display: inline-flex; align-items: baseline; gap: 1px; font-variant-numeric: tabular-nums; line-height: 1; flex: none; }
html[data-cockpit] .ck-nota b { font-weight: 600; font-size: 22px; }
html[data-cockpit] .ck-nota small { font-size: 12px; color: var(--ck-ink3); }
html[data-cockpit] .ck-nota.hi b, html[data-cockpit] .ck-nota.hi i { color: var(--ck-hip); }
/* a régua: hipótese = o número com ~ e um tracejado dourado embaixo (evidência: o número limpo) */
html[data-cockpit] .ck-nota.hi b { border-bottom: 1.5px dashed var(--ck-hip); padding-bottom: 1px; }
html[data-cockpit] .ck-ind .ck-n.hi { border-bottom: 1.5px dashed var(--ck-hip); line-height: 1.1; }
html[data-cockpit] .ck-obs { margin: 6px 0 8px; padding: 8px 10px; border-radius: 10px; background: var(--ck-bg2); font-size: 12.5px; line-height: 1.5; color: var(--ck-ink2); }
html[data-cockpit] .ck-obs b { color: var(--ck-ink); font-weight: 600; }
html[data-cockpit] .ck-nota.hi i { font-style: normal; font-size: 18px; font-weight: 500; }
html[data-cockpit] .ck-nota.sem { color: var(--ck-ink3); font-size: 22px; }

/* o termo do método: sublinhado pontilhado, abre o card de conceito */
html[data-cockpit] .ck-termo { font: inherit !important; color: inherit !important; padding: 0 1px !important; border-radius: 4px; text-decoration: underline dotted var(--ck-ink3); text-underline-offset: 3px; text-decoration-thickness: 1px; display: inline; }
html[data-cockpit] .ck-termo:hover, html[data-cockpit] .ck-termo.on-card { color: var(--ck-azul) !important; text-decoration-color: var(--ck-azul); }
html[data-cockpit] .ck-termo.mini { width: 20px; height: 20px; border-radius: 50% !important; border: 1px solid var(--ck-hair2) !important; font-size: 11px !important; color: var(--ck-ink3) !important; text-decoration: none; display: inline-grid; place-items: center; padding: 0 !important; vertical-align: middle; }

/* o item clicável: o que o Ring sabe · corrigir · contar mais */
html[data-cockpit] .ck-it { display: flex; gap: 8px; align-items: flex-start; width: calc(100% + 12px); margin: 0 -6px; padding: 5px 6px; border-radius: 8px; font-size: 13px; line-height: 1.4; cursor: pointer; user-select: none; transition: background .18s; }
@media (hover: hover) { html[data-cockpit] .ck-it:hover { background: var(--ck-bg2); } }
html[data-cockpit] .ck-it.on-card { background: var(--ck-azul-soft); }
html[data-cockpit] .ck-it .ck-dot { margin-top: 5px; }
html[data-cockpit] .ck-tx { flex: 1; min-width: 0; overflow-wrap: anywhere; }
html[data-cockpit] .ck-tx b { font-weight: 600; }
html[data-cockpit] .ck-tx small { display: block; color: var(--ck-ink2); font-size: 12px; }
html[data-cockpit] .ck-tx .ck-tag { margin-left: 6px; vertical-align: 1px; }
html[data-cockpit] .ck-chev { color: var(--ck-ink3); font-size: 15px; line-height: 1.3; transition: transform .18s var(--ck-ease); }
html[data-cockpit] .ck-it.on-card .ck-chev { color: var(--ck-azul); transform: rotate(90deg); }
html[data-cockpit] .ck-lista { display: flex; flex-direction: column; gap: 2px; }
html[data-cockpit] .ck-fontes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
html[data-cockpit] .ck-fch { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px 2px 3px; border: 1px solid var(--ck-hair2); border-radius: 999px; font-size: 11.5px; color: var(--ck-ink2); }
html[data-cockpit] .ck-fch i { width: 16px; height: 16px; border-radius: 5px; background: var(--ck-bg3); color: var(--ck-ink); font: 600 9px/16px var(--va-font, sans-serif); text-align: center; font-style: normal; }
/* (08/10) a fonte do item quando veio de um documento (src/dossie/fontes.js): o nome do arquivo, discreto; e "fonte desligada" */
html[data-cockpit] .ck-fdoc { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; padding: 1px 8px 1px 5px; border: 1px solid var(--ck-hair2); border-radius: 999px; font-size: 11.5px; color: var(--ck-ink2); min-width: 0; }
html[data-cockpit] .ck-fdoc svg { width: 12px; height: 12px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
html[data-cockpit] .ck-fdoc span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[data-cockpit] .ck-fdesl { display: inline-flex; align-items: center; margin-left: 6px; padding: 1px 8px; border-radius: 999px; font-size: 11px; color: var(--ck-ink2); background: var(--ck-bg3); border: 1px dashed var(--ck-hair2); }
html[data-cockpit] .ck-it:has(.ck-fdesl) .ck-tx { color: var(--ck-ink3, var(--ck-ink2)); }
html[data-cockpit] .ck-it:has(.ck-fdesl) .ck-dot { opacity: .4; }
html[data-cockpit] .ck-fdesl-aviso { margin: 6px 0 0; font-size: 12.5px; color: var(--ck-ink2); }
html[data-cockpit] details.ck-mais { margin-top: 8px; }
html[data-cockpit] details.ck-mais > summary { cursor: pointer; font-size: 12px; color: var(--ck-ink2); padding: 4px 0; }

/* pulso de "mudou desde que você olhou" */
@keyframes ck-mudou { 0% { background: var(--ck-hip-soft); } 100% { background: transparent; } }
html[data-cockpit] .ck-mudou { animation: ck-mudou 1.8s var(--ck-ease) 1; }

/* (08/10) seções que recolhem: no celular e no painel estreito (≤ 400 px), o cabeçalho toca para recolher/expandir */
html[data-cockpit] .ck-recolher { display: none; }
html[data-cockpit] .ck-painel[data-recolhe] .ck-aba[data-aba="newgo"] .ck-sec[data-sec] > .ck-h { cursor: pointer; align-items: center; min-height: 32px; margin-bottom: 6px; }
html[data-cockpit] .ck-painel[data-recolhe] .ck-aba[data-aba="newgo"] .ck-sec[data-sec] > .ck-h .ck-recolher {
  display: grid; place-items: center; order: 2; margin-left: auto; width: 32px; height: 32px; border-radius: 50% !important; color: var(--ck-ink3) !important; flex: none;
}
html[data-cockpit] .ck-painel[data-recolhe] .ck-aba[data-aba="newgo"] .ck-sec[data-sec] > .ck-h .ck-r { order: 3; }
html[data-cockpit] .ck-recolher svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ck-ease); }
html[data-cockpit] .ck-painel[data-recolhe] .ck-sec.recolhida > .ck-h .ck-recolher svg { transform: rotate(-90deg); }
html[data-cockpit] .ck-painel[data-recolhe] .ck-sec.recolhida > :not(.ck-h) { display: none !important; }
html[data-cockpit] .ck-painel[data-recolhe] .ck-sec.recolhida > .ck-h .ck-r { display: none; }
html[data-cockpit] .ck-painel[data-recolhe] .ck-sec.recolhida { padding-bottom: 6px; border-bottom: 1px solid var(--ck-hair); }

/* ---------- agora ---------- */
html[data-cockpit] .ck-agora-sec { margin-top: 10px; }
html[data-cockpit] .ck-agora { font-size: 17px; font-weight: 500; letter-spacing: -.012em; line-height: 1.35; }
html[data-cockpit] .ck-agora small { display: block; margin-top: 4px; font-size: 12px; font-weight: 400; color: var(--ck-ink3); letter-spacing: 0; }

/* ---------- a órbita: o Ring + as etapas + os dez elementos ---------- */
html[data-cockpit] .ck-orbwrap { display: grid; grid-template-columns: 1fr; gap: 12px; align-items: start; margin-top: 8px; }
html[data-cockpit] .ck-orbwrap.on-card { background: transparent; }
html[data-cockpit] .ck-orb { position: relative; width: min(340px, 100%); aspect-ratio: 1; margin: 6px auto 0; }
html[data-cockpit] .ck-radar, html[data-cockpit] .ck-arcs { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
html[data-cockpit] .ck-radar .rg { fill: none; stroke: var(--ck-hair); }
html[data-cockpit] .ck-radar .ax { stroke: var(--ck-hair2); transition: stroke .18s; }
html[data-cockpit] .ck-radar .ax.off { stroke: var(--ck-hair); stroke-dasharray: 2 3; }
html[data-cockpit] .ck-radar .ax.on { stroke: var(--ck-azul); stroke-width: 1.5; }
html[data-cockpit] .ck-radar .poly { fill: rgba(21, 40, 72, .10); stroke: var(--ck-azul); stroke-width: 1.5; stroke-linejoin: round; }
html[data-cockpit] .ck-radar .vx { fill: var(--ck-azul); stroke: #fff; stroke-width: 1.5; }
html[data-cockpit] .ck-radar .vx.hipotese { fill: #fff; stroke: var(--ck-hip); stroke-dasharray: 2 1.5; }
html[data-cockpit] .ck-arcs path { fill: none; stroke: var(--ck-hair2); stroke-width: 3; stroke-linecap: round; }
html[data-cockpit] .ck-arcs path.done { stroke: var(--ck-ink3); }
html[data-cockpit] .ck-arcs path.cur { stroke: var(--ck-azul); stroke-width: 4; }
html[data-cockpit] .ck-arcs path.view:not(.cur) { stroke: var(--ck-ink); stroke-width: 4; }
html[data-cockpit] .ck-node {
  position: absolute; width: 42px; height: 42px; margin: -21px 0 0 -21px; border-radius: 50% !important; background: #fff !important;
  border: 1.5px solid var(--ck-hair2) !important; display: flex; align-items: center; justify-content: center;
  font-size: 13px !important; font-weight: 600; font-variant-numeric: tabular-nums; box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
  transition: transform .18s var(--ck-ease), box-shadow .18s, opacity .18s;
}
html[data-cockpit] .ck-node.evidencia { border-color: var(--ck-azul) !important; background: var(--ck-azul) !important; color: #fff !important; }
html[data-cockpit] .ck-node.hipotese { border-color: var(--ck-hip) !important; border-style: dashed !important; color: var(--ck-hip) !important; }
html[data-cockpit] .ck-node.sem { color: var(--ck-ink3) !important; border-style: dashed !important; }
html[data-cockpit] .ck-node.off { opacity: .4; }
html[data-cockpit] .ck-node.foco { box-shadow: 0 0 0 4px var(--ck-azul-soft), 0 1px 2px rgba(0, 0, 0, .05); }
@media (hover: hover) { html[data-cockpit] .ck-node:hover { transform: scale(1.1); opacity: 1; box-shadow: 0 4px 12px rgba(0, 0, 0, .12); } }
html[data-cockpit] .ck-node.on-card { transform: scale(1.16); opacity: 1; box-shadow: 0 0 0 4px var(--ck-azul-soft), 0 4px 12px rgba(0, 0, 0, .12); }
html[data-cockpit] .ck-node .lb { position: absolute; font-size: 10.5px; font-weight: 500; color: var(--ck-ink2); white-space: nowrap; pointer-events: none; }
html[data-cockpit] .ck-node.r .lb { left: calc(100% + 8px); top: 50%; transform: translateY(-50%); }
html[data-cockpit] .ck-node.l .lb { right: calc(100% + 8px); top: 50%; transform: translateY(-50%); }
html[data-cockpit] .ck-node.t .lb { bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); }
html[data-cockpit] .ck-node.b .lb { top: calc(100% + 6px); left: 50%; transform: translateX(-50%); }
/* (09/10, respiro) o nó em foco ganha um anel de 4 px: o rótulo se afasta junto, para não encostar no anel */
html[data-cockpit] .ck-node.foco.r .lb { left: calc(100% + 12px); }
html[data-cockpit] .ck-node.foco.l .lb { right: calc(100% + 12px); }
html[data-cockpit] .ck-node.foco.t .lb { bottom: calc(100% + 10px); }
html[data-cockpit] .ck-node.foco.b .lb { top: calc(100% + 10px); }
html[data-cockpit] .ck-stg { display: flex; justify-content: center; align-items: center; gap: 4px; flex-wrap: wrap; margin: 14px 0 0; }
html[data-cockpit] .ck-et { font-size: 11px !important; padding: 4px 9px; border-radius: 999px; color: var(--ck-ink3) !important; transition: background .18s; }
html[data-cockpit] .ck-et.done { color: var(--ck-ink2) !important; }
html[data-cockpit] .ck-et.cur { color: var(--ck-azul) !important; background: var(--ck-azul-soft) !important; font-weight: 600; }
html[data-cockpit] .ck-et.view:not(.cur) { box-shadow: inset 0 0 0 1px var(--ck-hair2); color: var(--ck-ink) !important; }
html[data-cockpit] .ck-lente { border: 1px solid var(--ck-hair); border-radius: 16px; padding: 14px 16px; font-size: 13.5px; line-height: 1.5; color: var(--ck-ink2); }
html[data-cockpit] .ck-lente p { margin: 6px 0 0; }
html[data-cockpit] .ck-lk { font-size: 12px; color: var(--ck-ink3); }
html[data-cockpit] .ck-erro b { color: var(--ck-ink); font-weight: 500; }
html[data-cockpit] .ck-lh { font-size: 12.5px; color: var(--ck-ink3); }

/* (auditoria 08/10) a legenda da régua de nota: uma linha discreta, sempre visível (nada só no hover) */
html[data-cockpit] .ck-legenda { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 14px; margin: 10px 0 0; font-size: 12px; color: var(--ck-ink3); }
html[data-cockpit] .ck-legenda span { display: inline-flex; align-items: baseline; gap: 5px; }
html[data-cockpit] .ck-legenda b { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ck-ink2); }
html[data-cockpit] .ck-legenda .ck-lg-ev { color: var(--ck-azul); }
html[data-cockpit] .ck-legenda .ck-lg-hi { color: var(--ck-hip); border-bottom: 1.5px dashed var(--ck-hip); line-height: 1.1; }
html[data-cockpit] .ck-legenda .ck-lg-sem { color: var(--ck-ink3); }
@container ck (min-width: 601px) { html[data-cockpit] .ck-orbwrap .ck-legenda { justify-content: flex-start; } }

/* ---------- contexto em linhas ---------- */
html[data-cockpit] .ck-rows { display: flex; flex-direction: column; }
html[data-cockpit] .ck-row { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 7px 0; border-top: 1px solid var(--ck-hair); align-items: start; }
html[data-cockpit] .ck-row:first-child { border-top: 0; padding-top: 0; }
html[data-cockpit] .ck-row .ck-k { font-size: 13px; color: var(--ck-ink2); padding-top: 5px; }
html[data-cockpit] .ck-row .ck-v { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
html[data-cockpit] .ck-perfil-mini { font-size: 10.5px !important; }

/* ---------- a mesa: você × eles ---------- */
html[data-cockpit] .ck-mhead { display: grid; grid-template-columns: 88px minmax(0, 1fr) minmax(0, 1fr); gap: 8px; padding: 0 0 6px; border-bottom: 1px solid var(--ck-hair2); font-size: 12px; font-weight: 600; color: var(--ck-ink2); }
html[data-cockpit] .ck-mhead span { display: flex; align-items: center; gap: 6px; }
html[data-cockpit] .ck-mrow { display: grid; grid-template-columns: 88px minmax(0, 1fr) minmax(0, 1fr); gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--ck-hair); align-items: start; }
html[data-cockpit] .ck-mrow .ck-k { font-size: 12px; color: var(--ck-ink3); padding-top: 5px; }
html[data-cockpit] .ck-mrow .ck-it { font-size: 12.5px; }
html[data-cockpit] .ck-vc, html[data-cockpit] .ck-el { min-width: 0; display: flex; flex-direction: column; }
html[data-cockpit] .ck-lab { display: none; }
html[data-cockpit] .ck-av { width: 20px; height: 20px; border-radius: 50%; background: var(--ck-azul); color: #fff; display: inline-grid; place-items: center; font-size: 10px; font-weight: 600; font-style: normal; flex: none; }
html[data-cockpit] .ck-av.e { background: var(--ck-bg3); color: var(--ck-ink2); }
/* (P-D) a mesa vazia mostra a forma e o que cada linha vai trazer: a frase ocupa as duas cadeiras */
html[data-cockpit] .ck-mvazia .ck-mfrase { grid-column: 2 / -1; margin: 0; padding-top: 4px; font-size: 13px; line-height: 1.45; color: var(--ck-ink2); }
html[data-cockpit] .ck-mesa-vazia .ck-mhead span:not(:first-child) { color: var(--ck-ink3); }

/* ---------- opções ---------- */
html[data-cockpit] .ck-plist { display: flex; flex-direction: column; gap: 6px; }
html[data-cockpit] .ck-p { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; border: 1px solid var(--ck-hair); border-radius: 12px; font-size: 13px; line-height: 1.4; cursor: pointer; transition: background .18s, border-color .18s; min-width: 0; }
@media (hover: hover) { html[data-cockpit] .ck-p:hover { background: var(--ck-bg2); } }
html[data-cockpit] .ck-p.on-card { border-color: var(--ck-azul); background: var(--ck-azul-soft); }
/* (07/10) a opção na diagramação da maquete (rodada 4): duas colunas, o lado deles ⇄ o seu; o que cada
   lado ganha em cinza embaixo; "Se"/"nós" em cinza, o que você dá em semibold */
html[data-cockpit] .ck-p { position: relative; padding: 12px 14px !important; }
html[data-cockpit] .ck-troca { display: grid; grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1fr); gap: 4px 10px; align-items: center; }
html[data-cockpit] .ck-tr-l { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
html[data-cockpit] .ck-tr-t { font-size: 13.5px; line-height: 1.4; color: var(--ck-ink); overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
html[data-cockpit] .ck-tr-t b { font-weight: 600; }
html[data-cockpit] .ck-tr-k { color: var(--ck-ink2); }
html[data-cockpit] .ck-tr-g { font-size: 12px; line-height: 1.35; color: var(--ck-ink3); overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
html[data-cockpit] .ck-tr-x { text-align: center; font-size: 14px; color: var(--ck-ink3); }
html[data-cockpit] .ck-pmarcas { display: flex; gap: 4px; margin-top: 8px; }
html[data-cockpit] .ck-pmarcas .ck-tag { padding: 0 6px; font-size: 10.5px; }

/* ---------- avaliação da proposta ---------- */
html[data-cockpit] .ck-q { font-size: 14px; line-height: 1.5; margin-bottom: 10px; }
html[data-cockpit] .ck-q b { font-weight: 600; }
html[data-cockpit] .ck-indgrid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
html[data-cockpit] .ck-ind { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; padding: 9px 2px 7px; border: 1px solid var(--ck-hair) !important; border-radius: 10px; font-size: 10.5px !important; line-height: 1.15; color: var(--ck-ink2) !important; text-align: center; }
html[data-cockpit] .ck-ind .ck-in { overflow-wrap: anywhere; }
html[data-cockpit] .ck-ind .ck-n { font-size: 16px; font-weight: 600; color: var(--ck-ink); font-variant-numeric: tabular-nums; }
html[data-cockpit] .ck-ind .ck-n.hi { color: var(--ck-hip); }
html[data-cockpit] .ck-ind .ck-n.sm { color: var(--ck-ink3); font-weight: 400; }
@media (hover: hover) { html[data-cockpit] .ck-ind:hover { background: var(--ck-bg2) !important; } }
html[data-cockpit] .ck-ind.on-card { border-color: var(--ck-azul) !important; background: var(--ck-azul-soft) !important; color: var(--ck-azul) !important; }
html[data-cockpit] .ck-ver { margin-top: 10px; font-size: 14px; font-weight: 500; line-height: 1.45; }

/* ---------- o card ancorado ---------- */
html[data-cockpit] .ck-card { position: relative; grid-column: 1 / -1; width: 100%; margin: 6px 0 10px; opacity: 0; transform: translateY(-4px); transition: opacity .18s var(--ck-ease), transform .18s var(--ck-ease); cursor: auto; user-select: text; }
html[data-cockpit] .ck-card.on { opacity: 1; transform: none; }
html[data-cockpit] .ck-caret { position: absolute; left: var(--caret, 20px); top: -6px; z-index: 1; width: 12px; height: 12px; background: #fff; border-left: 1px solid var(--ck-hair2); border-top: 1px solid var(--ck-hair2); transform: translateX(-50%) rotate(45deg); }
html[data-cockpit] .ck-cin { position: relative; padding: 14px 16px; background: #fff; border: 1px solid var(--ck-hair2); border-radius: 14px; box-shadow: 0 8px 24px rgba(0, 0, 0, .06); }
html[data-cockpit] .ck-card.compacto .ck-cin { padding: 12px 16px 14px; }
html[data-cockpit] .ck-card.c2 .ck-cin { background: var(--ck-bg2); box-shadow: none; }
html[data-cockpit] .ck-card.c2 .ck-caret { background: var(--ck-bg2); }
html[data-cockpit] .ck-xc { position: absolute; right: 8px; top: 8px; z-index: 2; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50% !important; color: var(--ck-ink3) !important; }
html[data-cockpit] .ck-xc:hover { background: var(--ck-bg2) !important; color: var(--ck-ink) !important; }
html[data-cockpit] .ck-xc svg.lucide { width: 14px; height: 14px; }
html[data-cockpit] .ck-det { font-size: 13px; line-height: 1.5; }
html[data-cockpit] .ck-dh { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; padding-right: 30px; margin-bottom: 4px; }
html[data-cockpit] .ck-dh h4 { flex: 1 1 160px; min-width: 0; margin: 0; font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; line-height: 1.35; overflow-wrap: anywhere; }
html[data-cockpit] .ck-sub { font-size: 12px; color: var(--ck-ink3); margin-bottom: 8px; }
html[data-cockpit] .ck-val { font-size: 14px; line-height: 1.5; margin: 6px 0; overflow-wrap: anywhere; }
html[data-cockpit] .ck-g { font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--ck-ink3); margin: 12px 0 4px; }
html[data-cockpit] .ck-ul { list-style: none; margin: 0; padding: 0; }
html[data-cockpit] .ck-ul li { display: flex; gap: 8px; align-items: flex-start; padding: 3px 0; overflow-wrap: anywhere; }
html[data-cockpit] .ck-ul li .ck-dot { margin-top: 6px; }
html[data-cockpit] .ck-ul small { color: var(--ck-ink3); }
html[data-cockpit] .ck-teste { display: block; color: var(--ck-ink2); font-size: 12px; margin-top: 2px; }
html[data-cockpit] .ck-orig { font-size: 12px; color: var(--ck-ink3); margin: 6px 0; }
html[data-cockpit] .ck-orig q { display: block; margin-top: 4px; padding-left: 8px; border-left: 2px solid var(--ck-hair2); color: var(--ck-ink2); quotes: none; font-style: normal; }
html[data-cockpit] .ck-prof { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 12px; margin: 8px 0 2px; font-size: 13px; line-height: 1.5; }
html[data-cockpit] .ck-prof dt { color: var(--ck-ink2); font-size: 12px; padding-top: 1px; white-space: nowrap; }
html[data-cockpit] .ck-prof dd { margin: 0; color: var(--ck-ink); overflow-wrap: anywhere; }
html[data-cockpit] .ck-fonte { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; margin-top: 6px; padding: 10px 12px; border: 1px solid var(--ck-hair); border-radius: 12px; background: #fff; font-size: 13px; line-height: 1.45; }
html[data-cockpit] .ck-fonte i { width: 28px; height: 28px; border-radius: 8px; background: var(--ck-bg3); color: var(--ck-ink); font: 600 12px/28px var(--va-font, sans-serif); text-align: center; font-style: normal; }
html[data-cockpit] .ck-fonte b { font-weight: 600; display: block; overflow-wrap: anywhere; }
html[data-cockpit] .ck-fd { font-size: 12px; color: var(--ck-ink3); }
html[data-cockpit] .ck-fd a { color: var(--ck-azul); font-weight: 500; text-decoration: none; }

/* o card de conceito: ensina em prosa curta, quatro blocos, sem ir ao chat (§3) */
html[data-cockpit] .ck-conc .ck-cb { margin-top: 10px; }
html[data-cockpit] .ck-conc .ck-cb h5 { margin: 0 0 2px; font-size: 12px; font-weight: 600; color: var(--ck-azul); letter-spacing: 0; text-transform: none; }
html[data-cockpit] .ck-conc .ck-cb p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--ck-ink); }

/* o perfil de negociador: grande e claro, marcado como hipótese (§3) */
html[data-cockpit] .ck-perfil { margin-top: 14px; padding: 14px; border-radius: 14px; background: var(--ck-hip-soft); border: 1px solid var(--ck-hip-linha); }
html[data-cockpit] .ck-pk { font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--ck-hip); }
html[data-cockpit] .ck-pk .ck-termo { text-transform: uppercase; }
html[data-cockpit] .ck-pnome { margin: 6px 0 4px; font-size: 20px; font-weight: 600; letter-spacing: -.015em; line-height: 1.25; color: var(--ck-ink); }
html[data-cockpit] .ck-pnome .ck-til { color: var(--ck-hip); font-weight: 500; margin-right: 2px; }
html[data-cockpit] .ck-pnome.vazio { font-size: 17px; color: var(--ck-ink2); }
html[data-cockpit] .ck-pest { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
html[data-cockpit] .ck-perfil p { margin: 6px 0 0; color: var(--ck-ink2); }
html[data-cockpit] .ck-perfil p b { color: var(--ck-ink); font-weight: 600; }
html[data-cockpit] .ck-pjeito { color: var(--ck-ink) !important; font-size: 14px; }
/* a mistura (07/10): o traço fica no mesmo título, mais leve; o nome da mistura e os sinais por perfil logo abaixo */
html[data-cockpit] .ck-pnome .ck-ptraco { font-weight: 500; color: var(--ck-ink2); }
html[data-cockpit] .ck-perfil p.ck-pcomb { margin: 2px 0 8px; font-size: 13px; }
html[data-cockpit] .ck-perfil p.ck-pcomb b { font-weight: 600; }
html[data-cockpit] .ck-psinais { margin: 4px 0 2px; }
html[data-cockpit] .ck-psinais dt { color: var(--ck-hip); font-weight: 600; }

/* "Corrigir": o campo dentro do card */
html[data-cockpit] .ck-corr { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--ck-hair); }
html[data-cockpit] .ck-corr label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; }
html[data-cockpit] .ck-corr textarea { font: inherit; font-size: 14px; font-weight: 400; width: 100%; padding: 8px 10px; border: 1px solid var(--ck-hair2); border-radius: 10px; resize: vertical; outline: none; }
html[data-cockpit] .ck-corr textarea:focus { border-color: var(--ck-azul); box-shadow: 0 0 0 3px var(--ck-azul-soft); }

/* ---------- Documentos ---------- */
html[data-cockpit] .ck-docs { margin-top: 14px; }
/* o botão de subir: claro, uma área só; acende quando ela arrasta um arquivo sobre o painel nesta aba */
html[data-cockpit] .ck-subir {
  display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: center; gap: 12px; padding: 14px; border-radius: 14px;
  border: 1.5px dashed var(--ck-hair2); background: #fff; cursor: pointer; transition: background .18s, border-color .18s, box-shadow .18s, transform .18s var(--ck-ease);
}
html[data-cockpit] .ck-subir:hover { background: var(--ck-bg2); }
html[data-cockpit] .ck-subir:focus-within { border-color: var(--ck-azul); }
html[data-cockpit] .ck-subir-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--ck-azul); color: #fff; transition: transform .18s var(--ck-ease); }
html[data-cockpit] .ck-subir-ic svg.lucide { width: 18px; height: 18px; stroke-width: 2; }
html[data-cockpit] .ck-subir-tx { min-width: 0; display: flex; flex-direction: column; }
html[data-cockpit] .ck-subir-tx b { font-size: 14.5px; font-weight: 600; color: var(--ck-ink); }
html[data-cockpit] .ck-subir-tx small { font-size: 12px; color: var(--ck-ink2); line-height: 1.4; }
html[data-cockpit] .ck-subir-solte { display: none; }
html[data-cockpit] .ck-painel.ck-solte .ck-subir { border-color: var(--ck-azul); border-style: solid; background: var(--ck-azul-soft); box-shadow: 0 0 0 4px rgba(21, 40, 72, .08); }
html[data-cockpit] .ck-painel.ck-solte .ck-subir-ic { transform: translateY(-2px); }
html[data-cockpit] .ck-painel.ck-solte .ck-subir-normal { display: none; }
html[data-cockpit] .ck-painel.ck-solte .ck-subir-solte { display: block; color: var(--ck-azul); font-weight: 500; }
html[data-cockpit] .ck-docs .ck-h { margin-top: 22px; }
html[data-cockpit] .ck-docs-vazio { margin-top: 14px !important; }
html[data-cockpit] .ck-doc-lista { display: flex; flex-direction: column; }
html[data-cockpit] .ck-doc { border-top: 1px solid var(--ck-hair); }
html[data-cockpit] .ck-doc:first-child { border-top: 0; }
html[data-cockpit] .ck-doc-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 10px; padding: 10px 0; }
html[data-cockpit] .ck-doc-sel { display: grid !important; grid-template-columns: 34px minmax(0, 1fr) 12px; gap: 12px; align-items: start; text-align: left; min-width: 0; padding: 0 !important; }
html[data-cockpit] .ck-doc-sel:disabled { cursor: default; }
html[data-cockpit] .ck-doc-sel .ck-chev { padding-top: 10px; transition: transform .18s var(--ck-ease); }
html[data-cockpit] .ck-doc.aberto .ck-doc-sel .ck-chev { transform: rotate(90deg); color: var(--ck-azul); }
html[data-cockpit] .ck-doc-ic { width: 34px; height: 42px; border-radius: 6px; border: 1px solid var(--ck-hair2); background: #fff; display: grid; place-items: end center; padding-bottom: 6px; font-size: 8.5px; font-weight: 700; letter-spacing: .04em; color: var(--ck-ink2); position: relative; }
html[data-cockpit] .ck-doc-ic::before { content: ""; position: absolute; top: 9px; left: 7px; right: 7px; height: 2px; border-radius: 1px; background: var(--ck-bg3); box-shadow: 0 5px 0 var(--ck-bg3), 0 10px 0 var(--ck-bg3); }
html[data-cockpit] .ck-doc-tx { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
html[data-cockpit] .ck-doc-tx b { font-size: 13.5px; font-weight: 600; overflow-wrap: anywhere; }
html[data-cockpit] .ck-doc-tx small { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ck-ink3); }
html[data-cockpit] .ck-doc-pv { margin-top: 3px; font-size: 13px; line-height: 1.45; color: var(--ck-ink2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
html[data-cockpit] .ck-doc.fora .ck-doc-tx b, html[data-cockpit] .ck-doc.fora .ck-doc-pv { color: var(--ck-ink3); }
html[data-cockpit] .ck-doc.falhou .ck-doc-tx small { color: var(--ck-bad); }
html[data-cockpit] .ck-doc-row .ck-sw { margin-top: 10px; }
html[data-cockpit] .ck-doc-md { margin: 0 0 12px 46px; padding: 2px 0 6px; }
html[data-cockpit] .ck-doc-md .ck-g { margin-top: 0; }
/* (08/10) "Seu comentário" sobre o documento: o Ring lê junto com o documento */
html[data-cockpit] .ck-doc-nota { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--ck-hair); }
html[data-cockpit] .ck-doc-nota label.ck-g { display: block; }
html[data-cockpit] .ck-nota-ajuda { margin: 2px 0 8px; font-size: 12.5px; line-height: 1.45; color: var(--ck-ink3); }
html[data-cockpit] .ck-doc-nota textarea { display: block; box-sizing: border-box; font: inherit; font-size: 14px; line-height: 1.5; width: 100%; padding: 8px 10px; border: 1px solid var(--ck-hair2); border-radius: 10px; resize: vertical; outline: none; background: #fff; color: var(--ck-ink); }
html[data-cockpit] .ck-doc-nota textarea:focus { border-color: var(--ck-azul); box-shadow: 0 0 0 3px var(--ck-azul-soft); }
html[data-cockpit] .ck-nota-pe { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
html[data-cockpit] .ck-nota-conta { font-size: 12px; color: var(--ck-ink3); font-variant-numeric: tabular-nums; }
html[data-cockpit] .ck-nota-pe .ck-btn:disabled { opacity: .45; cursor: default; }
@media (pointer: coarse) { html[data-cockpit] .ck-doc-nota textarea { font-size: 16px; } }
html[data-cockpit] .ck-doc-esq { height: 62px; border-radius: 10px; margin: 6px 0; background: linear-gradient(90deg, var(--ck-bg2) 0%, var(--ck-bg3) 50%, var(--ck-bg2) 100%); background-size: 200% 100%; animation: ck-brilho 1.4s linear infinite; border: 0; }
@keyframes ck-brilho { from { background-position: 100% 0; } to { background-position: -100% 0; } }
html[data-cockpit] .ck-gira { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--ck-hair2); border-top-color: var(--ck-azul); animation: ck-gira .8s linear infinite; flex: none; }
@keyframes ck-gira { to { transform: rotate(360deg); } }
/* (G2, 26/10) a espera do upload: etapa + o que falta + barra por documento; o total no topo da lista; o erro com motivo */
html[data-cockpit] .ck-espera { display: flex; flex-direction: column; gap: 5px; margin-top: 2px; min-width: 0; }
html[data-cockpit] .ck-espera small { display: block; line-height: 1.5; }
html[data-cockpit] .ck-espera .ck-gira { display: inline-block; vertical-align: -1px; margin-right: 6px; }
html[data-cockpit] .ck-esp-rot { color: var(--ck-ink2); font-variant-numeric: tabular-nums; }
html[data-cockpit] .ck-esp-falta { color: var(--ck-ink3); font-variant-numeric: tabular-nums; white-space: nowrap; }
html[data-cockpit] .ck-esp-falta:empty { display: none; }
html[data-cockpit] .ck-esp-barra { display: block; width: 100%; max-width: 360px; height: 3px; border-radius: 2px; background: var(--ck-bg3); overflow: hidden; }
html[data-cockpit] .ck-esp-barra > span { display: block; height: 100%; width: 3%; border-radius: 2px; background: var(--ck-azul); transition: width .6s ease; }
html[data-cockpit] .ck-esp-erro { display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.45; color: var(--ck-ink2); overflow-wrap: anywhere; }
html[data-cockpit] .ck-esp-motivo { color: var(--ck-bad); }
html[data-cockpit] .ck-esp-ajuda { color: var(--ck-ink3); }
html[data-cockpit] .ck-esp-total { display: flex; flex-direction: column; gap: 6px; margin: 10px 0 4px; padding: 10px 12px; border-radius: 10px; background: var(--ck-bg2); font-size: 13px; color: var(--ck-ink2); }
html[data-cockpit] .ck-esp-total .ck-esp-barra { max-width: none; }
html[data-cockpit] .ck-esp-total-tx { font-weight: 600; color: var(--ck-ink); font-variant-numeric: tabular-nums; }
html[data-cockpit] .ck-esp-dica { font-size: 12px; line-height: 1.45; color: var(--ck-ink3); }
@media (prefers-reduced-motion: reduce) { html[data-cockpit] .ck-esp-barra > span { transition: none; } }
html[data-cockpit] .ck-sw { position: relative; width: 34px; height: 20px; border-radius: 10px !important; background: var(--ck-bg3) !important; flex: none; }
html[data-cockpit] .ck-sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: transform .18s var(--ck-ease); }
html[data-cockpit] .ck-sw.on { background: #2e7d4f !important; }
html[data-cockpit] .ck-sw.on::after { transform: translateX(14px); }
html[data-cockpit] .ck-sw:disabled { opacity: .5; }
html[data-cockpit] .ck-md { font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
html[data-cockpit] .ck-md h1, html[data-cockpit] .ck-md h2, html[data-cockpit] .ck-md h3 { font-size: 15px; font-weight: 600; margin: 12px 0 6px; text-transform: none; letter-spacing: 0; color: var(--ck-ink); }
html[data-cockpit] .ck-md p { margin: 6px 0; }
html[data-cockpit] .ck-md ul { padding-left: 18px; }

/* ===== responsividade pela largura do PRÓPRIO painel ===== */
@container ck (max-width: 400px) {
  .ck-corpo { padding-left: 14px !important; padding-right: 14px !important; }
  .ck-orb { width: min(290px, 100%) !important; }
  .ck-node { width: 32px !important; height: 32px !important; margin: -16px 0 0 -16px !important; font-size: 11.5px !important; }
  .ck-node .lb { font-size: 9.5px !important; text-shadow: 0 0 3px #fff, 0 0 3px #fff; }
  .ck-node.l .lb, .ck-node.r .lb { left: 50% !important; right: auto !important; top: calc(100% + 6px) !important; transform: translateX(-50%) !important; }
  .ck-node.foco.l .lb, .ck-node.foco.r .lb { top: calc(100% + 10px) !important; }
  .ck-stg { gap: 2px !important; margin-top: 18px !important; }
  .ck-et { padding: 3px 6px !important; font-size: 10.5px !important; }
  .ck-row { grid-template-columns: minmax(0, 1fr) !important; gap: 2px !important; padding: 9px 0 !important; }
  .ck-row .ck-k { padding-top: 0 !important; font-size: 11px !important; text-transform: uppercase; letter-spacing: .04em; color: var(--ck-ink3) !important; }
  .ck-mhead { display: none !important; }
  .ck-mrow { grid-template-columns: minmax(0, 1fr) !important; gap: 6px !important; }
  .ck-mrow .ck-k { font-size: 11px !important; text-transform: uppercase; letter-spacing: .04em; padding-top: 0 !important; }
  .ck-lab { display: flex !important; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; color: var(--ck-ink2); margin: 4px 0 2px; }
  .ck-indgrid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .ck-ind { flex-direction: row !important; justify-content: flex-start !important; gap: 10px !important; padding: 8px 10px !important; font-size: 12.5px !important; text-align: left !important; }
  .ck-prof { grid-template-columns: minmax(0, 1fr) !important; gap: 2px 0 !important; }
  .ck-prof dt { margin-top: 6px; white-space: normal !important; }
  .ck-agora { font-size: 16px !important; }
  .ck-h { flex-wrap: wrap; row-gap: 2px; }
  .ck-h .ck-r { margin-left: 0 !important; flex-basis: 100%; text-align: left !important; }
  .ck-tab { font-size: 12.5px !important; padding: 0 4px !important; }
  .ck-troca { grid-template-columns: minmax(0, 1fr) !important; gap: 6px !important; }
  .ck-tr-x { text-align: left !important; transform: rotate(90deg); width: 12px; font-size: 12px !important; line-height: 1; }
  .ck-mvazia .ck-mfrase { grid-column: 1 / -1 !important; padding-top: 0 !important; }
  .ck-mesa-vazia .ck-mhead { display: none !important; }
  .fe-tela { margin: 0 -14px !important; }
  .ck-doc-md { margin-left: 0 !important; }
}
/* (07/10) "Documentos" cabe até no painel estreito; o curto ("Docs") fica só para o de 360 px ou menos */
@container ck (max-width: 360px) {
  html[data-cockpit] .ck-tab .ck-tab-curto { display: inline; }
  html[data-cockpit] .ck-tab:has(.ck-tab-curto) .ck-tab-longo { display: none; }
}
@container ck (min-width: 401px) and (max-width: 600px) {
  .ck-orb { width: min(330px, 100%) !important; }
  .ck-node { width: 36px !important; height: 36px !important; margin: -18px 0 0 -18px !important; font-size: 12px !important; }
  .ck-node .lb { font-size: 10px !important; text-shadow: 0 0 3px #fff, 0 0 3px #fff; }
}
@container ck (min-width: 601px) {
  .ck-corpo { padding-left: 24px !important; padding-right: 24px !important; }
  .ck-orbwrap { grid-template-columns: minmax(0, 420px) minmax(0, 1fr) !important; }
  .ck-orbwrap .ck-stg { justify-content: flex-start !important; }
  .ck-lente { align-self: center; }
  .ck-row { grid-template-columns: 120px minmax(0, 1fr) !important; }
  .ck-mhead, .ck-mrow { grid-template-columns: 110px minmax(0, 1fr) minmax(0, 1fr) !important; }
  .ck-indgrid { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
  .ck-ind { font-size: 11px !important; padding: 10px 4px 8px !important; }
  .fe-tela { margin: 0 -24px !important; }
}

/* (auditoria 08/10) toque ≥ 44 px no celular e em tela de toque: a caixa cresce onde dá; onde o desenho é pequeno
   de propósito (nó do Ring, "?", X do card, interruptor, chip de etapa), a área de toque cresce por um ::before
   invisível, sem mudar o desenho. Link de termo no meio do texto fica de fora (exceção de "inline" da WCAG 2.5.8). */
@media (max-width: 1023px), (pointer: coarse) {
  html[data-cockpit] .ck-tab { height: 44px; }
  html[data-cockpit] .ck-x { width: 44px; height: 44px; }
  html[data-cockpit] .ck-btn, html[data-cockpit] .ck-btn.sm { min-height: 44px; padding-top: 8px; padding-bottom: 8px; }
  html[data-cockpit] .ck-it { min-height: 44px; padding-top: 8px; padding-bottom: 8px; }
  html[data-cockpit] .ck-ind { min-height: 44px; }
  html[data-cockpit] .ck-painel[data-recolhe] .ck-aba[data-aba="newgo"] .ck-sec[data-sec] > .ck-h .ck-recolher { width: 44px; height: 44px; margin-right: -8px; }
  html[data-cockpit] .ck-node::before, html[data-cockpit] .ck-termo.mini::before, html[data-cockpit] .ck-xc::before,
  html[data-cockpit] .ck-sw::before, html[data-cockpit] .ck-et::before, html[data-cockpit] .fe-ib::before { content: ""; position: absolute; }
  html[data-cockpit] .ck-node::before { inset: -7px; border-radius: 50%; }
  /* o "?" das etapas: a caixa vira 44 × 44 e o círculo de 20 px é desenhado no fundo */
  html[data-cockpit] .ck-termo.mini { width: 44px; height: 44px; margin: -12px 0; border: 0 !important; background: radial-gradient(circle, #fff 0 9px, var(--ck-hair2) 9.5px 10.5px, transparent 11px) !important; }
  html[data-cockpit] .ck-termo.mini::before { display: none; }
  html[data-cockpit] .ck-xc::before { inset: -8px; border-radius: 50%; }
  html[data-cockpit] .ck-sw::before { inset: -12px -6px; }
  html[data-cockpit] .ck-et { position: relative; }
  html[data-cockpit] .ck-et::before { inset: -11px 0; }
  html[data-cockpit] .fe-voltar { width: 44px; height: 44px; }
  html[data-cockpit] .fe-ib { position: relative; }
  html[data-cockpit] .fe-ib::before { inset: -5px; border-radius: 50%; }
  html[data-cockpit] .ck-doc-sel { min-height: 44px; }
  .fe-aviso-abrir { height: 44px; }
  .fe-aviso-x { position: relative; }
  .fe-aviso-x::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; }
}

@media (prefers-reduced-motion: reduce) {
  html[data-cockpit] .ck-painel, html[data-cockpit] .ck-painel.ck-visivel,
  html[data-cockpit] .ck-card, html[data-cockpit] .ck-thumb, html[data-cockpit] .ck-node, html[data-cockpit] .ck-chev { transition: none !important; }
  html[data-cockpit] .ck-mudou { animation: none; }
  html[data-cockpit] .ck-subir, html[data-cockpit] .ck-subir-ic { transition: none !important; }
  html[data-cockpit] .ck-doc-esq, html[data-cockpit] .ck-gira { animation: none !important; }
}
/* ── O painel vivo (feedback 64/66 do Rafa, 08/10; refinado em D14, 08/10) ─────────────────────────────────────
   Enquanto o Consolidador grava (30–60 s depois da resposta), o painel diz isso de dois jeitos, um que se move e um
   que se lê: no topo, colada à barra das abas, uma BARRA FINA DE PROGRESSO INDETERMINADO (2 px, a cor da marca, um
   trecho que corre) — o padrão do ChatGPT/Claude/Linear para "está carregando, pode continuar lendo": está sempre à
   vista (não rola junto com o conteúdo), não ocupa espaço (nada se mexe nas seções nem no card aberto) e não compete
   com o texto. E a linha de cima ("Atualizando o painel com o que você contou…"), quieta, sem ponto: um movimento só.
   Ao terminar, a barra se completa e esmaece, e a linha vira "Neste turno: <o que mudou>", entrando de leve.
   Debaixo do Ring, com menos de 3 notas, uma linha diz qual já tem nota e por que as outras ainda não. */
html[data-cockpit] .ck-progresso { position: relative; flex: none; height: 0; z-index: 3; pointer-events: none; }
html[data-cockpit] .ck-progresso i {
  position: absolute; left: 0; right: 0; top: 0; height: 2px; overflow: hidden;
  background: var(--ck-azul-soft); opacity: 0; transition: opacity .4s ease .1s;
}
html[data-cockpit] .ck-progresso i::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 38%; border-radius: 2px;
  background: var(--ck-azul); opacity: .8; transform: translateX(-100%);
}
html[data-cockpit] .ck-painel.ck-atualizando .ck-progresso i { opacity: 1; transition-delay: 0s; }
html[data-cockpit] .ck-painel.ck-atualizando .ck-progresso i::before { animation: ck-indeterminado 1.6s cubic-bezier(.45, 0, .25, 1) infinite; }
/* o fim: o trecho se estende até a borda e a barra some (cockpit.js põe `ck-atualizou` por um instante) */
html[data-cockpit] .ck-painel.ck-atualizou .ck-progresso i::before { width: 100%; transform: none; transition: width .3s var(--ck-ease); }
@keyframes ck-indeterminado { 0% { transform: translateX(-100%); } 100% { transform: translateX(265%); } }
html[data-cockpit] .ck-agora small.ck-vivo { display: block; color: var(--ck-ink2); font-size: 13px; }
html[data-cockpit] .ck-agora small.ck-mudou-linha { color: var(--ck-ink2); font-size: 13px; line-height: 1.45; }
html[data-cockpit] .ck-agora small.ck-mudou-linha.ck-novo { animation: ck-entra .32s var(--ck-ease) both; }
@keyframes ck-entra { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }
html[data-cockpit] .ck-ring-dica { margin: 8px auto 0; max-width: 34em; font-size: 12.5px; line-height: 1.45; color: var(--ck-ink2); text-align: center; }
@container ck (min-width: 601px) { html[data-cockpit] .ck-orbwrap .ck-ring-dica { text-align: left; margin-left: 0; } }
@media (prefers-reduced-motion: reduce) {
  /* sem movimento: a barra fica parada, inteira e clara, enquanto grava */
  html[data-cockpit] .ck-painel.ck-atualizando .ck-progresso i::before { animation: none; transform: none; width: 100%; opacity: .45; }
  html[data-cockpit] .ck-progresso i, html[data-cockpit] .ck-painel.ck-atualizou .ck-progresso i::before { transition: none; }
  html[data-cockpit] .ck-agora small.ck-mudou-linha.ck-novo { animation: none; }
}

/* ====================================================================
   Painel de apoio v2 (08/10/2026) — js/cockpit-secoes.js. Porte da
   maquete painel-v2.2-desktop (v22.css/base.css) no prefixo `ck-`, com
   as cores da paleta acima (azul = evidência e ação; dourado = hipótese;
   vermelho discreto = falta; cinzas). Container queries 480 e 720.
   ==================================================================== */
html[data-cockpit][data-ck2] { --ck-gut: 18px; }
html[data-cockpit][data-ck2] .ck-aba[data-aba="newgo"] { min-width: 0; }

/* os atalhos: fixos no topo do corpo, fundo sólido (sem faixa transparente), rolagem lateral fácil */
html[data-cockpit][data-ck2] .ck-at-wrap { position: sticky; top: 0; z-index: 4; display: flex; align-items: center; margin: 0 calc(-1 * var(--ck-gut)); padding: 6px var(--ck-gut) 8px; background: #fff; border-bottom: 1px solid var(--ck-hair); }
html[data-cockpit][data-ck2] .ck-atalhos { flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
html[data-cockpit][data-ck2] .ck-atalhos::-webkit-scrollbar { display: none; }
html[data-cockpit][data-ck2] .ck-at-trilho { display: flex; gap: 2px; width: max-content; }
html[data-cockpit][data-ck2] .ck-atalhos a { position: relative; display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 500; color: var(--ck-ink2); text-decoration: none; white-space: nowrap; transition: background .18s, color .18s; }
html[data-cockpit][data-ck2] .ck-atalhos a:hover { background: var(--ck-bg2); color: var(--ck-ink); }
html[data-cockpit][data-ck2] .ck-atalhos a.on { background: var(--ck-ink); color: #fff; }
html[data-cockpit][data-ck2] .ck-novo { width: 6px; height: 6px; border-radius: 50%; background: var(--ck-hip); display: inline-block; }
html[data-cockpit][data-ck2] .ck-atalhos a.on .ck-novo { background: #fff; }
html[data-cockpit][data-ck2] .ck-at-seta { flex: none; width: 26px; height: 26px; display: none !important; place-items: center; border-radius: 50%; color: var(--ck-ink2) !important; background: #fff !important; }
html[data-cockpit][data-ck2] .ck-at-seta:hover { background: var(--ck-bg2) !important; }
html[data-cockpit][data-ck2] .ck-at-wrap.tem-l .ck-at-seta.l, html[data-cockpit][data-ck2] .ck-at-wrap.tem-r .ck-at-seta.r { display: grid !important; }
html[data-cockpit][data-ck2] .ck-at-wrap.tem-r .ck-atalhos { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
html[data-cockpit][data-ck2] .ck-at-wrap.tem-l.tem-r .ck-atalhos { -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 85%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 85%, transparent); }

/* o topo: etapa · turno · momento, a linha, os balões */
html[data-cockpit][data-ck2] .ck-ey { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; font-size: 12px; color: var(--ck-ink3); }
html[data-cockpit][data-ck2] .ck-ey b { color: var(--ck-ink2); font-weight: 600; }
html[data-cockpit][data-ck2] .ck-mom { margin-left: auto; padding: 1px 8px; border-radius: 999px; background: var(--ck-bg2); color: var(--ck-ink2); font-size: 11px; }
html[data-cockpit][data-ck2] h1.ck-agora { margin: 6px 0 0; font-size: 17px; font-weight: 600; letter-spacing: -.012em; line-height: 1.35; color: var(--ck-ink); }
html[data-cockpit][data-ck2] .ck-vivo-l { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 13px; color: var(--ck-ink2); }
html[data-cockpit][data-ck2] .ck-respira { width: 8px; height: 8px; border-radius: 50%; background: var(--ck-azul); animation: ck-respira 1.4s ease-in-out infinite; }
@keyframes ck-respira { 50% { opacity: .25; transform: scale(.7); } }
html[data-cockpit][data-ck2] .ck-baloes { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
html[data-cockpit][data-ck2] .ck-bl-h { display: flex; align-items: center; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ck-ink3); }
html[data-cockpit][data-ck2] .ck-bl-todos { margin-left: auto; font-size: 12px !important; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ck-ink2) !important; padding: 2px 6px; border-radius: 6px; }
html[data-cockpit][data-ck2] .ck-bl-todos:hover { background: var(--ck-bg2) !important; }
html[data-cockpit][data-ck2] .ck-balao { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; border: 1px solid var(--ck-hair2); border-radius: 12px; background: #fff; touch-action: pan-y; transition: transform .18s var(--ck-ease), opacity .18s; }
html[data-cockpit][data-ck2] .ck-bl-t { display: flex; gap: 8px; align-items: flex-start; padding: 8px 4px 8px 12px; text-align: left; min-width: 0; }
html[data-cockpit][data-ck2] .ck-bl-t > span { min-width: 0; }
html[data-cockpit][data-ck2] .ck-bl-t b { display: block; font-size: 13px; font-weight: 600; }
html[data-cockpit][data-ck2] .ck-bl-t small { font-size: 12px; color: var(--ck-ink2); line-height: 1.4; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
html[data-cockpit][data-ck2] .ck-balao.aberto .ck-bl-t small { -webkit-line-clamp: unset; }
html[data-cockpit][data-ck2] .ck-bl-pt { flex: none; width: 7px; height: 7px; margin-top: 6px; border-radius: 50%; background: var(--ck-hip); }
html[data-cockpit][data-ck2] .ck-bl-x { width: 32px; height: 32px; margin: 4px; display: grid; place-items: center; border-radius: 8px; color: var(--ck-ink3) !important; }
html[data-cockpit][data-ck2] .ck-bl-x:hover { background: var(--ck-bg2) !important; color: var(--ck-ink) !important; }
html[data-cockpit][data-ck2] .ck-bl-exp { display: none; grid-column: 1 / -1; padding: 0 12px 10px 27px; font-size: 12.5px; color: var(--ck-ink2); }
html[data-cockpit][data-ck2] .ck-bl-exp p { margin: 0 0 8px; }
html[data-cockpit][data-ck2] .ck-balao.aberto .ck-bl-exp { display: block; }
/* (08/10, teste ponta a ponta) "Neste turno" com medida: até 3 balões + "e mais N"; o aviso privado, discreto (cadeado,
   sem o ponto de novidade); o aviso único do painel nascendo, em azul */
html[data-cockpit][data-ck2] .ck-bl-resto { display: flex; flex-direction: column; gap: 6px; }
html[data-cockpit][data-ck2] .ck-bl-resto[hidden] { display: none; }
html[data-cockpit][data-ck2] .ck-bl-mais { align-self: flex-start; display: inline-flex; align-items: center; gap: 4px; min-height: 32px; padding: 2px 8px; border-radius: 8px; font-size: 12.5px; font-weight: 500; color: var(--ck-ink2) !important; }
html[data-cockpit][data-ck2] .ck-bl-mais:hover { background: var(--ck-bg2) !important; color: var(--ck-ink) !important; }
html[data-cockpit][data-ck2] .ck-bl-mais svg { width: 14px; height: 14px; transition: transform .18s var(--ck-ease); }
html[data-cockpit][data-ck2] .ck-bl-mais.aberto svg { transform: rotate(180deg); }
html[data-cockpit][data-ck2] .ck-bl-priv { background: var(--ck-bg2); border-style: dashed; }
html[data-cockpit][data-ck2] .ck-bl-priv .ck-bl-t b { font-weight: 500; color: var(--ck-ink2); }
html[data-cockpit][data-ck2] .ck-bl-cad { flex: none; display: grid; place-items: center; width: 14px; height: 14px; margin-top: 2px; color: var(--ck-ink3); }
html[data-cockpit][data-ck2] .ck-bl-cad svg { width: 13px; height: 13px; }
html[data-cockpit][data-ck2] .ck-bl-montado { border-color: var(--ck-azul-linha); background: var(--ck-azul-soft); }
html[data-cockpit][data-ck2] .ck-bl-montado .ck-bl-pt { background: var(--ck-azul); }
html[data-cockpit][data-ck2] .ck-bl-montado .ck-bl-t small { -webkit-line-clamp: 2; }
/* (08/10) a Avaliação diz quantos indicadores leu, e a Construção mostra o acordo fechado */
html[data-cockpit][data-ck2] .ck-av-conta { margin: 10px 0 0; font-size: 13px; color: var(--ck-ink2); }
html[data-cockpit][data-ck2] .ck-fechado { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--ck-azul-linha); background: linear-gradient(180deg, var(--ck-azul-soft), #fff 70%); }
html[data-cockpit][data-ck2] .ck-fechado .ck-ht { font-size: 15px; line-height: 1.4; }
html[data-cockpit][data-ck2] .ck-fechado-l { margin: 0; padding-left: 18px; font-size: 13px; line-height: 1.5; }
html[data-cockpit][data-ck2] .ck-fechado-l small { color: var(--ck-ink3); }
html[data-cockpit][data-ck2] .ck-fechado-l .feito { text-decoration: line-through; color: var(--ck-ink3); }
html[data-cockpit][data-ck2] .ck-fechado .ck-edu { margin: 0; }

/* as seções v2: cabeçalho inteiro clicável, resumo de 1 linha, recolhida */
html[data-cockpit][data-ck2] .ck-s2 { margin-top: 18px; scroll-margin-top: 52px; }
html[data-cockpit][data-ck2] .ck-s2 > .ck-h { display: flex; align-items: center; gap: 8px; margin: 0; padding: 8px 0; border-top: 1px solid var(--ck-hair); cursor: pointer; text-transform: none; letter-spacing: 0; color: var(--ck-ink); font-size: 15px; font-weight: 600; user-select: none; }
html[data-cockpit][data-ck2] .ck-s2 > .ck-h .ck-ht { flex: none; }
html[data-cockpit][data-ck2] .ck-s2 > .ck-h .ck-resumo { flex: 1; min-width: 0; font-size: 12px; font-weight: 400; color: var(--ck-ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transition: opacity .18s; }
html[data-cockpit][data-ck2] .ck-s2.recolhida > .ck-h .ck-resumo { opacity: 1; }
html[data-cockpit][data-ck2] .ck-s2 > .ck-h .ck-car { flex: none; margin-left: auto; color: var(--ck-ink3); display: inline-flex; transition: transform .2s var(--ck-ease); }
html[data-cockpit][data-ck2] .ck-s2.recolhida > .ck-h .ck-car { transform: rotate(-90deg); }
html[data-cockpit][data-ck2] .ck-s2.recolhida > .ck-sb { display: none; }
html[data-cockpit][data-ck2] .ck-s2 > .ck-sb { padding-top: 4px; }
html[data-cockpit][data-ck2] .ck-s2.leve > .ck-h { font-size: 14px; color: var(--ck-ink2); }
html[data-cockpit][data-ck2] .ck-ajuda { display: inline-grid !important; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: var(--ck-ink3) !important; flex: none; }
html[data-cockpit][data-ck2] .ck-ajuda:hover { background: var(--ck-bg2) !important; color: var(--ck-ink) !important; }
html[data-cockpit][data-ck2] .ck-ajuda svg.lucide { width: 15px; height: 15px; }
html[data-cockpit][data-ck2] .ck-fim-painel { margin: 28px 0 8px; padding-top: 14px; border-top: 1px solid var(--ck-hair); text-align: center; font-size: 12px; color: var(--ck-ink3); }
html[data-cockpit][data-ck2] .ck-lista { display: flex; flex-direction: column; min-width: 0; }
html[data-cockpit][data-ck2] .ck-lista > .ck-row { grid-template-columns: minmax(0, 1fr); padding: 3px 0; border-top: 0; }
html[data-cockpit][data-ck2] .ck-g2 { display: flex; align-items: center; gap: 4px; }
html[data-cockpit][data-ck2] .ck-it .ck-dir { flex: none; margin-left: auto; display: inline-flex; align-items: center; gap: 4px; padding-top: 1px; }
html[data-cockpit][data-ck2] .ck-it .ck-tx { flex: 1; min-width: 0; overflow-wrap: anywhere; }
html[data-cockpit][data-ck2] .ck-it .ck-tx small { display: block; color: var(--ck-ink2); font-size: 12px; }
html[data-cockpit][data-ck2] .ck-til { color: var(--ck-hip); font-weight: 600; }
html[data-cockpit][data-ck2] .ck-mudou { animation: ck-realce 2.4s var(--ck-ease) 1; }
html[data-cockpit][data-ck2] .ck-pisca { animation: ck-realce 1.6s var(--ck-ease) 1; }
@keyframes ck-realce { 0%, 30% { background: var(--ck-hip-soft); box-shadow: 0 0 0 3px var(--ck-hip-soft); } 100% { background: transparent; box-shadow: 0 0 0 0 transparent; } }
html[data-cockpit][data-ck2] .ck-node.ck-mudou { animation: ck-realce-no 2.4s var(--ck-ease) 1; }
@keyframes ck-realce-no { 0%, 30% { box-shadow: 0 0 0 6px var(--ck-hip-soft); } }

/* a escala: nota + quanto sabemos */
html[data-cockpit][data-ck2] .ck-nt { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
html[data-cockpit][data-ck2] .ck-nt b { font-weight: 600; color: var(--ck-azul); }
html[data-cockpit][data-ck2] .ck-nt.p b { color: var(--ck-hip); }
html[data-cockpit][data-ck2] .ck-nt.nada { font-size: 11.5px; color: var(--ck-ink3); }
html[data-cockpit][data-ck2] .ck-sab { display: inline-block; width: 7px; height: 7px; border-radius: 50%; flex: none; }
html[data-cockpit][data-ck2] .ck-sab.s { background: var(--ck-azul); }
html[data-cockpit][data-ck2] .ck-sab.p { background: linear-gradient(90deg, var(--ck-hip) 50%, transparent 50%); box-shadow: inset 0 0 0 1.2px var(--ck-hip); }
html[data-cockpit][data-ck2] .ck-sab.n { box-shadow: inset 0 0 0 1.2px var(--ck-ink3); }
html[data-cockpit][data-ck2] .ck-node .ck-nn { display: inline-flex; align-items: center; gap: 2px; }
html[data-cockpit][data-ck2] .ck-node.evidencia .ck-sab.s { background: #fff; }
html[data-cockpit][data-ck2] .ck-node .ck-sab { width: 5px; height: 5px; }
html[data-cockpit][data-ck2] .ck-node.sem .ck-nn .ck-sab { width: 6px; height: 6px; }
html[data-cockpit][data-ck2] .ck-legenda { flex-direction: column; align-items: center; gap: 4px; }
html[data-cockpit][data-ck2] .ck-legenda .ck-lg-a b { color: var(--ck-azul); }
html[data-cockpit][data-ck2] .ck-legenda .ck-lg-b { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 10px; }
html[data-cockpit][data-ck2] .ck-legenda .ck-lg-t { color: var(--ck-ink2); }
html[data-cockpit][data-ck2] .ck-legenda span { align-items: center; }
html[data-cockpit][data-ck2] .ck-ringslot { min-width: 0; }
html[data-cockpit][data-ck2] .ck-ring-padrao .ck-g2 { margin-top: 6px; }

/* as etapas: título + "?", o trilho, a linha com a postura, a expansão */
html[data-cockpit][data-ck2] .ck-etapas { margin-top: 16px; border: 1px solid var(--ck-hair); border-radius: 14px; padding: 12px 14px; }
html[data-cockpit][data-ck2] .ck-et-h { display: flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; }
html[data-cockpit][data-ck2] .ck-etapas .ck-stg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin: 10px 0 0; }
html[data-cockpit][data-ck2] .ck-etapas .ck-et { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; padding: 0 0 4px; border-radius: 0; background: none !important; box-shadow: none !important; font-size: 11.5px !important; text-align: left; }
html[data-cockpit][data-ck2] .ck-etapas .ck-et > i { display: block; width: 100%; height: 4px; border-radius: 4px; background: var(--ck-bg3); }
html[data-cockpit][data-ck2] .ck-etapas .ck-et.done > i { background: var(--ck-ink3); }
html[data-cockpit][data-ck2] .ck-etapas .ck-et.cur > i { background: var(--ck-azul); }
html[data-cockpit][data-ck2] .ck-etapas .ck-et.view > i { box-shadow: 0 0 0 2px var(--ck-azul-soft); }
html[data-cockpit][data-ck2] .ck-etapas .ck-et .nm { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[data-cockpit][data-ck2] .ck-etapas .ck-et.view .nm { color: var(--ck-ink); font-weight: 600; }
html[data-cockpit][data-ck2] .ck-aqui { font-size: 10px; font-weight: 600; color: var(--ck-azul); background: var(--ck-azul-soft); border-radius: 999px; padding: 0 6px; }
html[data-cockpit][data-ck2] .ck-et-linha { display: flex; align-items: center; gap: 8px; width: 100%; margin-top: 10px; padding: 8px 0 0; border-top: 1px solid var(--ck-hair) !important; text-align: left; font-size: 13px !important; color: var(--ck-ink2) !important; }
html[data-cockpit][data-ck2] .ck-et-linha > span:first-child { flex: 1; min-width: 0; }
html[data-cockpit][data-ck2] .ck-et-linha b { color: var(--ck-ink); font-weight: 600; }
html[data-cockpit][data-ck2] .ck-postura { display: inline-block; margin-left: 8px; padding: 0 8px; border-radius: 999px; background: var(--ck-bg2); font-size: 11px; color: var(--ck-ink2); }
html[data-cockpit][data-ck2] .ck-et-ver { flex: none; font-size: 12px; color: var(--ck-azul); font-weight: 500; }
html[data-cockpit][data-ck2] .ck-et-exp { margin-top: 10px; font-size: 13px; color: var(--ck-ink2); line-height: 1.5; }
html[data-cockpit][data-ck2] .ck-et-exp h4 { margin: 10px 0 2px; font-size: 12px; font-weight: 600; color: var(--ck-ink); }
html[data-cockpit][data-ck2] .ck-et-exp p { margin: 0; }
html[data-cockpit][data-ck2] .ck-et-exp > .ck-b { margin-top: 10px; }
html[data-cockpit][data-ck2] .ck-et-cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 16px; }
html[data-cockpit][data-ck2] .ck-et-prox { margin: 10px 0 0 !important; padding: 8px 10px; border-radius: 10px; background: var(--ck-bg2); }

/* o card do elemento */
html[data-cockpit][data-ck2] .ck-elc-h { display: flex; gap: 12px; align-items: center; padding-right: 28px; }
html[data-cockpit][data-ck2] .ck-nota-g { flex: none; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: var(--ck-azul-soft); color: var(--ck-azul); font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1; text-align: center; }
html[data-cockpit][data-ck2] .ck-nota-g.p { background: var(--ck-hip-soft); color: var(--ck-hip); }
html[data-cockpit][data-ck2] .ck-nota-g.n { background: var(--ck-bg2); color: var(--ck-ink3); }
html[data-cockpit][data-ck2] .ck-nota-g small { font-size: 10px; font-weight: 500; }
html[data-cockpit][data-ck2] .ck-elc-t { flex: 1; min-width: 0; }
html[data-cockpit][data-ck2] .ck-elc-t h4 { margin: 0; font-size: 15px; }
html[data-cockpit][data-ck2] .ck-elc-t span { font-size: 12.5px; color: var(--ck-ink2); }
html[data-cockpit][data-ck2] .ck-faixas { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 3px; margin: 12px 0 8px; }
html[data-cockpit][data-ck2] .ck-fx { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
html[data-cockpit][data-ck2] .ck-fx i { height: 4px; border-radius: 4px; background: var(--ck-bg3); }
html[data-cockpit][data-ck2] .ck-fx small { font-size: 10.5px; color: var(--ck-ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html[data-cockpit][data-ck2] .ck-fx.on i { background: var(--ck-azul); }
html[data-cockpit][data-ck2] .ck-fx.on.p i { background: repeating-linear-gradient(90deg, var(--ck-hip) 0 4px, transparent 4px 6px); }
html[data-cockpit][data-ck2] .ck-fx.on small { color: var(--ck-ink); font-weight: 600; }
html[data-cockpit][data-ck2] .ck-por { margin: 6px 0; font-size: 13.5px; line-height: 1.5; }
html[data-cockpit][data-ck2] .ck-fxt { color: var(--ck-ink3); }
html[data-cockpit][data-ck2] .ck-sabe, html[data-cockpit][data-ck2] .ck-fazer { display: flex; gap: 10px; align-items: flex-start; margin-top: 8px; padding: 8px 10px; border-radius: 10px; background: var(--ck-bg2); font-size: 13px; line-height: 1.45; }
html[data-cockpit][data-ck2] .ck-sabe .ck-sab { margin-top: 5px; }
html[data-cockpit][data-ck2] .ck-sabe small, html[data-cockpit][data-ck2] .ck-fazer small { display: block; font-size: 11px; color: var(--ck-ink3); font-weight: 600; }
html[data-cockpit][data-ck2] .ck-fazer { background: var(--ck-azul-soft); }
html[data-cockpit][data-ck2] .ck-conecta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; font-size: 12px; color: var(--ck-ink3); }
html[data-cockpit][data-ck2] .ck-chip { padding: 3px 10px; border-radius: 999px; border: 1px solid var(--ck-hair2) !important; font-size: 12px !important; color: var(--ck-ink) !important; }
html[data-cockpit][data-ck2] .ck-chip:hover { background: var(--ck-bg2) !important; }

/* os botões dos três tipos (a aparência fina é da Frente B; aqui o mínimo para não quebrar) */
html[data-cockpit][data-ck2] .ck-b { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; min-height: 32px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--ck-hair2) !important; background: #fff !important; font-size: 13px !important; font-weight: 500; color: var(--ck-ink) !important; text-align: left; }
html[data-cockpit][data-ck2] .ck-b:hover { background: var(--ck-bg2) !important; }
html[data-cockpit][data-ck2] .ck-b.pri { background: var(--ck-azul) !important; border-color: var(--ck-azul) !important; color: #fff !important; }
html[data-cockpit][data-ck2] .ck-b small { font-size: 11px; color: var(--ck-ink3); font-weight: 400; }
html[data-cockpit][data-ck2] .ck-b[hidden] { display: none; }
html[data-cockpit][data-ck2] .ck-det .ck-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
html[data-cockpit][data-ck2] .ck-fim-card { display: flex; justify-content: center; margin-top: 12px; }
html[data-cockpit][data-ck2] .ck-fechar-fim { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; font-size: 12px !important; color: var(--ck-ink3) !important; }
html[data-cockpit][data-ck2] .ck-fechar-fim:hover { background: var(--ck-bg2) !important; color: var(--ck-ink) !important; }
html[data-cockpit][data-ck2] .ck-dh { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-right: 28px; }
html[data-cockpit][data-ck2] .ck-dh h4 { margin: 0; font-size: 14.5px; font-weight: 600; }
html[data-cockpit][data-ck2] .ck-sub { margin-top: 2px; font-size: 12.5px; color: var(--ck-ink2); }
html[data-cockpit][data-ck2] .ck-val { margin: 8px 0 0; font-size: 14px; line-height: 1.5; }
html[data-cockpit][data-ck2] .ck-dl { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; margin: 10px 0 0; font-size: 13px; }
html[data-cockpit][data-ck2] .ck-dl dt { color: var(--ck-ink3); font-size: 11.5px; font-weight: 600; margin-top: 6px; }
html[data-cockpit][data-ck2] .ck-dl dd { margin: 0; line-height: 1.45; }
html[data-cockpit][data-ck2] .ck-obs { margin: 8px 0 0; font-size: 13px; color: var(--ck-ink2); }
html[data-cockpit][data-ck2] .ck-cb h5 { margin: 12px 0 2px; font-size: 12.5px; }
html[data-cockpit][data-ck2] .ck-cb p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--ck-ink2); }

/* rodada */
html[data-cockpit][data-ck2] .ck-rd-prox { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: var(--ck-azul-soft); margin-bottom: 6px; }
html[data-cockpit][data-ck2] .ck-rd-prox b { display: block; font-size: 14px; }
html[data-cockpit][data-ck2] .ck-rd-prox span { display: block; font-size: 12.5px; color: var(--ck-ink2); }
html[data-cockpit][data-ck2] .ck-rd-prox svg.lucide { margin-top: 2px; color: var(--ck-azul); }
html[data-cockpit][data-ck2] .ck-rd-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
html[data-cockpit][data-ck2] .ck-sala { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: var(--ck-bg2); font-size: 13px; }
html[data-cockpit][data-ck2] .ck-sala > span { flex: 1 1 200px; }

/* contexto: os privados com cadeado e olho fechado */
html[data-cockpit][data-ck2] .ck-cad { flex: none; color: var(--ck-ink3); margin-top: 1px; }
html[data-cockpit][data-ck2] .ck-it > .ck-cad svg.lucide { width: 14px; height: 14px; }
html[data-cockpit][data-ck2] .ck-priv-m { display: inline-flex; align-items: center; gap: 5px; color: var(--ck-ink3); font-size: 12.5px; }
html[data-cockpit][data-ck2] .ck-priv-m svg.lucide { width: 14px; height: 14px; }
html[data-cockpit][data-ck2] .ck-priv-av { display: flex; gap: 6px; align-items: flex-start; margin: 8px 0 0; font-size: 12px; color: var(--ck-ink3); }
html[data-cockpit][data-ck2] .ck-priv-av svg.lucide { width: 14px; height: 14px; margin-top: 2px; }

/* stakeholders */
html[data-cockpit][data-ck2] .ck-av { flex: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--ck-azul-soft); color: var(--ck-azul); font-size: 12px; font-weight: 600; }
html[data-cockpit][data-ck2] .ck-av.e { background: var(--ck-bg2); color: var(--ck-ink2); }
html[data-cockpit][data-ck2] .ck-av svg.lucide { width: 14px; height: 14px; }
html[data-cockpit][data-ck2] .ck-perfil { margin-top: 12px; padding: 10px 12px; border-radius: 12px; border: 1px dashed var(--ck-hip-linha); background: var(--ck-hip-soft); font-size: 13px; }
html[data-cockpit][data-ck2] .ck-pk { display: flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 600; color: var(--ck-ink2); }
html[data-cockpit][data-ck2] .ck-pn { margin-top: 4px; font-size: 18px; font-weight: 600; }
html[data-cockpit][data-ck2] .ck-pn span, html[data-cockpit][data-ck2] .ck-pn small { font-size: 13px; font-weight: 400; color: var(--ck-ink2); }
html[data-cockpit][data-ck2] .ck-pn.vazio { font-size: 14px; color: var(--ck-ink2); }
html[data-cockpit][data-ck2] .ck-perfil p { margin: 6px 0 0; }
html[data-cockpit][data-ck2] .ck-g { margin: 12px 0 4px; font-size: 11.5px; font-weight: 600; color: var(--ck-ink3); }
html[data-cockpit][data-ck2] .ck-ul small { display: block; color: var(--ck-ink3); }

/* poder e plano B · construção do acordo: os dois lados */
html[data-cockpit][data-ck2] .ck-poder, html[data-cockpit][data-ck2] .ck-duas { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
html[data-cockpit][data-ck2] .ck-poder > .ck-cad, html[data-cockpit][data-ck2] .ck-duas > .ck-cad { min-width: 0; border: 1px solid var(--ck-hair); border-radius: 14px; padding: 10px 12px; }
html[data-cockpit][data-ck2] h3.ck-lado { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 13px; font-weight: 600; }
html[data-cockpit][data-ck2] .ck-lado-ic { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 8px; background: var(--ck-azul-soft); color: var(--ck-azul); }
html[data-cockpit][data-ck2] .ck-lado-ic.e { background: var(--ck-bg2); color: var(--ck-ink2); }
html[data-cockpit][data-ck2] .ck-lado-ic svg.lucide { width: 14px; height: 14px; }
html[data-cockpit][data-ck2] .ck-it.ck-pb { margin-top: 6px; background: var(--ck-bg2); }
html[data-cockpit][data-ck2] .ck-it.ck-pb.fraco { background: var(--ck-bad-soft); }
html[data-cockpit][data-ck2] .ck-pb-k { display: flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; color: var(--ck-ink2); }
html[data-cockpit][data-ck2] .ck-pb-k svg.lucide { width: 12px; height: 12px; }
html[data-cockpit][data-ck2] .ck-forca { display: inline-flex; gap: 2px; margin-left: 4px; }
html[data-cockpit][data-ck2] .ck-forca i { width: 10px; height: 4px; border-radius: 2px; background: var(--ck-bg3); }
html[data-cockpit][data-ck2] .ck-forca i.on { background: var(--ck-azul); }
html[data-cockpit][data-ck2] .ck-bh { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 8px; margin: 16px 0 8px; }
html[data-cockpit][data-ck2] .ck-bh span { font-size: 13px; font-weight: 600; }
html[data-cockpit][data-ck2] .ck-bh small { font-size: 12px; color: var(--ck-ink3); }
html[data-cockpit][data-ck2] .ck-bh.sub span { font-size: 12.5px; color: var(--ck-ink2); }
html[data-cockpit][data-ck2] .ck-rk { flex: none; display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 4px; border-radius: 6px; background: var(--c, var(--ck-azul)); color: #fff; font-size: 11px; font-weight: 700; margin-top: 1px; }
html[data-cockpit][data-ck2] .ck-rk.deles { background: #fff; color: var(--c, var(--ck-ink2)); box-shadow: inset 0 0 0 1.5px var(--c, var(--ck-ink2)); }
html[data-cockpit][data-ck2] .ck-lig { display: block; font-size: 11.5px; color: var(--ck-ink3); }
html[data-cockpit][data-ck2] .ck-lig.falta { color: var(--ck-bad); }
html[data-cockpit][data-ck2] .ck-peso { display: inline-flex; gap: 2px; }
html[data-cockpit][data-ck2] .ck-peso i { width: 4px; height: 12px; border-radius: 2px; background: var(--ck-bg3); }
html[data-cockpit][data-ck2] .ck-peso.p1 i:nth-child(1), html[data-cockpit][data-ck2] .ck-peso.p2 i:nth-child(-n+2), html[data-cockpit][data-ck2] .ck-peso.p3 i { background: var(--ck-ink2); }
html[data-cockpit][data-ck2] .ck-liga { background: var(--ck-azul-soft) !important; }
html[data-cockpit][data-ck2] .ck-hero { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--ck-azul-linha); background: linear-gradient(180deg, var(--ck-azul-soft), #fff 70%); }
html[data-cockpit][data-ck2] .ck-hk { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; color: var(--ck-azul); }
html[data-cockpit][data-ck2] .ck-ht { font-size: 15.5px; line-height: 1.35; }
html[data-cockpit][data-ck2] .ck-troca { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 8px; align-items: center; font-size: 13px; }
html[data-cockpit][data-ck2] .ck-troca small, html[data-cockpit][data-ck2] .ck-cobre small { display: block; font-size: 11px; color: var(--ck-ink3); font-weight: 600; }
html[data-cockpit][data-ck2] .ck-tseta { color: var(--ck-ink3); }
html[data-cockpit][data-ck2] .ck-cobre { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
html[data-cockpit][data-ck2] .ck-ci { display: flex; gap: 6px; align-items: flex-start; font-size: 12.5px; margin-top: 4px; }
html[data-cockpit][data-ck2] .ck-ci.nada { color: var(--ck-ink3); }
html[data-cockpit][data-ck2] .ck-hdl { display: grid; grid-template-columns: minmax(0, 1fr); margin: 0; font-size: 12.5px; }
html[data-cockpit][data-ck2] .ck-hdl dt { font-size: 11px; color: var(--ck-ink3); font-weight: 600; margin-top: 4px; }
html[data-cockpit][data-ck2] .ck-hdl dd { margin: 0; }
html[data-cockpit][data-ck2] .ck-cob { display: inline-flex; flex-wrap: wrap; gap: 3px; align-items: center; max-width: 96px; justify-content: flex-end; }
html[data-cockpit][data-ck2] .ck-cob .ck-rk { min-width: 18px; height: 18px; font-size: 10.5px; }
html[data-cockpit][data-ck2] .ck-sep { width: 1px; height: 12px; background: var(--ck-hair2); margin: 0 2px; }
html[data-cockpit][data-ck2] .ck-ops .ck-it b { font-weight: 500; }
html[data-cockpit][data-ck2] .ck-sb .ck-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }

/* avaliação */
html[data-cockpit][data-ck2] .ck-av-cab { padding: 12px 14px; border-radius: 14px; background: var(--ck-bg2); font-size: 13px; }
html[data-cockpit][data-ck2] .ck-av-cab .ck-de { display: block; font-size: 11.5px; color: var(--ck-ink3); font-weight: 600; }
html[data-cockpit][data-ck2] .ck-av-cab b { display: block; margin: 2px 0 6px; font-size: 15px; }
html[data-cockpit][data-ck2] .ck-av-cab p { margin: 8px 0 0; color: var(--ck-ink2); }
html[data-cockpit][data-ck2] .ck-fxw { color: var(--ck-ink3); font-weight: 400; }
html[data-cockpit][data-ck2] .ck-rel { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 14px; padding: 12px; border-radius: 14px; border: 1px solid var(--ck-hair); }
html[data-cockpit][data-ck2] .ck-rel > span { flex: 1 1 180px; min-width: 0; font-size: 13px; }
html[data-cockpit][data-ck2] .ck-rel small { display: block; color: var(--ck-ink3); }

/* a validar: texto em largura cheia, ações numa linha embaixo */
html[data-cockpit][data-ck2] .ck-hrow { padding: 6px 0 8px; border-top: 1px solid var(--ck-hair); }
html[data-cockpit][data-ck2] .ck-hrow:first-child { border-top: 0; }
html[data-cockpit][data-ck2] .ck-hrow.decidida .ck-tx { color: var(--ck-ink2); }
html[data-cockpit][data-ck2] .ck-hacts { display: flex; align-items: center; gap: 6px; margin: 4px 0 0 16px; flex-wrap: wrap; }
html[data-cockpit][data-ck2] .ck-decide { display: inline-flex; padding: 2px; border-radius: 999px; background: var(--ck-bg2); }
html[data-cockpit][data-ck2] .ck-dc { padding: 4px 10px; border-radius: 999px; font-size: 12px !important; font-weight: 500; color: var(--ck-ink2) !important; }
html[data-cockpit][data-ck2] .ck-dc:hover { color: var(--ck-ink) !important; }
html[data-cockpit][data-ck2] .ck-dc.on { background: #fff !important; color: var(--ck-azul) !important; box-shadow: 0 1px 2px rgba(0, 0, 0, .1); }
html[data-cockpit][data-ck2] .ck-dc.nao.on { color: var(--ck-bad) !important; }
html[data-cockpit][data-ck2] .ck-dc.manter.on { color: var(--ck-hip) !important; }
html[data-cockpit][data-ck2] .ck-dc-lapis { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: var(--ck-ink3) !important; }
html[data-cockpit][data-ck2] .ck-dc-lapis:hover { background: var(--ck-bg2) !important; color: var(--ck-ink) !important; }
html[data-cockpit][data-ck2] .ck-pes { color: var(--ck-ink); font-weight: 500; }

/* critérios: favicon */
html[data-cockpit][data-ck2] .ck-fav { position: relative; flex: none; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 6px; background: var(--ck-bg2); overflow: hidden; }
html[data-cockpit][data-ck2] .ck-fav b { font-size: 11px; color: var(--ck-ink2); }
html[data-cockpit][data-ck2] .ck-fav img { position: absolute; inset: 3px; width: 16px; height: 16px; background: var(--ck-bg2); }

/* o card mais rico (ficha) */
html[data-cockpit][data-ck2] .ck-card.ficha .ck-cin { padding: 16px 18px; }

/* ---- larguras do PRÓPRIO painel ---- */
@container ck (min-width: 480px) {
  html[data-cockpit][data-ck2] .ck-poder, html[data-cockpit][data-ck2] .ck-duas { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; }
  html[data-cockpit][data-ck2] .ck-cobre { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; }
  html[data-cockpit][data-ck2] .ck-et-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; }
  html[data-cockpit][data-ck2] .ck-cob { max-width: 140px !important; }
}
@container ck (min-width: 601px) {
  html[data-cockpit][data-ck2] .ck-at-wrap { margin: 0 -24px !important; padding-left: 24px !important; padding-right: 24px !important; }
}
@container ck (min-width: 700px) {
  html[data-cockpit][data-ck2] .ck-orbwrap { grid-template-columns: minmax(0, 420px) minmax(0, 1fr) !important; }
  /* a 720 a linha do tempo das etapas ganha espaço, não aperta */
  html[data-cockpit][data-ck2] .ck-etapas .ck-stg { gap: 10px !important; }
  html[data-cockpit][data-ck2] .ck-etapas .ck-et { font-size: 12.5px !important; }
  html[data-cockpit][data-ck2] .ck-hdl { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 0 14px; }
}
@media (max-width: 1023px) { html[data-cockpit][data-ck2] .ck-b, html[data-cockpit][data-ck2] .ck-dc { min-height: 44px; } }
@media (prefers-reduced-motion: reduce) { html[data-cockpit][data-ck2] .ck-mudou, html[data-cockpit][data-ck2] .ck-pisca, html[data-cockpit][data-ck2] .ck-respira { animation: none !important; } }
html[data-cockpit][data-ck2] .ck-row.ck-row1 { grid-template-columns: minmax(0, 1fr) !important; gap: 0 !important; }
html[data-cockpit][data-ck2] .ck-orbcol { padding: 0 40px; min-width: 0; }
@container ck (max-width: 440px) { html[data-cockpit][data-ck2] .ck-orbcol { padding: 0 20px !important; } }
@container ck (max-width: 400px) {
  html[data-cockpit][data-ck2] .ck-at-wrap { margin: 0 -14px !important; padding-left: 14px !important; padding-right: 14px !important; }
}
@media (max-width: 1023px) {
  html[data-cockpit][data-ck2] .ck-bl-x { width: 44px; height: 44px; margin: 0; }
  html[data-cockpit][data-ck2] .ck-bl-todos { min-height: 44px; padding: 0 10px; }
  html[data-cockpit][data-ck2] .ck-bl-mais { min-height: 44px; padding: 0 10px; }
  html[data-cockpit][data-ck2] .ck-bl-h, html[data-cockpit][data-ck2] .ck-g2, html[data-cockpit][data-ck2] .ck-legenda, html[data-cockpit][data-ck2] .ck-lig, html[data-cockpit][data-ck2] .ck-pb-k, html[data-cockpit][data-ck2] .ck-aqui, html[data-cockpit][data-ck2] .ck-postura, html[data-cockpit][data-ck2] .ck-fx small, html[data-cockpit][data-ck2] .ck-ey, html[data-cockpit][data-ck2] .ck-mom { font-size: 12px; }
  html[data-cockpit][data-ck2] .ck-bl-t { min-height: 44px; }
}
html[data-cockpit][data-ck2] .ck-dot.ck-dot-oculta { display: none; }
html[data-cockpit][data-ck2] .ck-it:has(.ck-fdesl) > .ck-rk, html[data-cockpit][data-ck2] .ck-it:has(.ck-fdesl) > .ck-av, html[data-cockpit][data-ck2] .ck-it:has(.ck-fdesl) > .ck-fav { opacity: .4; }
html[data-cockpit][data-ck2] .ck-bl-h.com-resumo { text-transform: none; letter-spacing: 0; font-size: 12.5px; font-weight: 500; color: var(--ck-ink2); }
html[data-cockpit][data-ck2] .ck-bl-resumo { flex: 1; min-width: 0; }

/* ---------- UX final (08/10): hierarquia, contraste e fronteiras ----------
   Só apresentação. (1) os cartões "Você" / "A outra parte" herdavam a cor do
   cadeado (.ck-cad = ink3) e o texto todo saía cinza-claro; (2) seções sem
   fronteira: mais respiro e divisória visível antes de cada título; (3) os
   subgrupos ("Hipóteses do Ring", "Na mesa"...) viram rótulo de grupo legível;
   (4) rótulos x valores com pesos distintos no Contexto. */
html[data-cockpit][data-ck2] .ck-poder > .ck-cad, html[data-cockpit][data-ck2] .ck-duas > .ck-cad { flex: initial; margin-top: 0; color: var(--ck-ink); background: #fff; border-color: var(--ck-hair2); }
html[data-cockpit][data-ck2] .ck-poder > .ck-cad h3.ck-lado, html[data-cockpit][data-ck2] .ck-duas > .ck-cad h3.ck-lado { color: var(--ck-ink); font-size: 13.5px; padding-bottom: 6px; border-bottom: 1px solid var(--ck-hair); margin-bottom: 4px; }
html[data-cockpit][data-ck2] .ck-it.ck-pb .ck-tx { color: var(--ck-ink); }
html[data-cockpit][data-ck2] .ck-s2 { margin-top: 30px; }
html[data-cockpit][data-ck2] .ck-s2 > .ck-h { padding: 14px 0 10px; border-top: 1px solid var(--ck-hair2); font-size: 16px; letter-spacing: -.005em; }
html[data-cockpit][data-ck2] .ck-s2.leve > .ck-h { font-size: 15px; }
html[data-cockpit][data-ck2] .ck-s2 > .ck-sb { padding-top: 2px; }
html[data-cockpit][data-ck2] .ck-g2 { margin: 18px 0 6px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ck-ink2); }
html[data-cockpit][data-ck2] .ck-sb > div > .ck-g2:first-child, html[data-cockpit][data-ck2] .ck-sb > .ck-g2:first-child { margin-top: 6px; }
html[data-cockpit][data-ck2] .ck-g2 .ck-ajuda { width: 20px; height: 20px; }
html[data-cockpit][data-ck2] .ck-row .ck-k { font-size: 12.5px; color: var(--ck-ink2); font-weight: 500; }
html[data-cockpit][data-ck2] .ck-row .ck-v .ck-it { color: var(--ck-ink); }

/* ====================================================================
   v7 · Design system no painel (09/10/2026) — tokens de
   areas/produto/v7/DESIGN-SYSTEM.md aplicados SÓ ao painel v2 (o resto do
   produto não migra hoje). Contraste: ink-3 #676e7a (o --ck-ink3 #9aa1ab
   reprovava com 2,61 : 1), hipótese em texto #8a6405. Menor texto: 12 px.
   Caixa alta de 11 px some (rótulo de grupo vira título de bloco).
   ==================================================================== */
html[data-cockpit][data-ck2] {
  --ds-ink: #0a1628; --ds-ink-2: #5b6472; --ds-ink-3: #676e7a; --ds-borda-campo: #8a929e;
  --ds-hair: rgba(10, 22, 40, .08); --ds-hair-2: rgba(10, 22, 40, .14);
  --ds-fill: #f5f5f7; --ds-fill-2: #ececef; --ds-hover: rgba(10, 22, 40, .045);
  --ds-azul: #152848; --ds-azul-claro: #eef2f8; --ds-azul-linha: #c9d3e6; --ds-azul-texto: #33476b;
  --ds-hipotese: #8a6405; --ds-hipotese-forte: #a87a06; --ds-hipotese-claro: #fbf4e3; --ds-hipotese-linha: #e3c77a;
  --ds-perigo: #b42318; --ds-perigo-claro: #fbeaea; --ds-novo: #1f7a4d; --ds-novo-claro: #e8f3ec; --ds-ouro: #c9a040;
  --ds-r-1: 8px; --ds-r-2: 12px; --ds-r-3: 16px; --ds-r-4: 24px;
  --ds-ease: cubic-bezier(.23, 1, .32, 1);
  --ck-ink: var(--ds-ink); --ck-ink2: var(--ds-ink-2); --ck-ink3: var(--ds-ink-3);
  --ck-hair: var(--ds-hair); --ck-hair2: var(--ds-hair-2); --ck-bg2: var(--ds-fill); --ck-bg3: var(--ds-fill-2);
  --ck-azul: var(--ds-azul); --ck-azul-soft: var(--ds-azul-claro); --ck-azul-linha: var(--ds-azul-linha);
  --ck-hip: var(--ds-hipotese); --ck-hip-soft: var(--ds-hipotese-claro); --ck-hip-linha: var(--ds-hipotese-linha);
  --ck-bad: var(--ds-perigo); --ck-bad-soft: var(--ds-perigo-claro); --ck-ease: var(--ds-ease);
}
/* o ponto de "novo neste turno" é verde (DS: cor só com função; dourado = hipótese) */
html[data-cockpit][data-ck2] .ck-novo, html[data-cockpit][data-ck2] .ck-bl-pt { background: var(--ds-novo); }
html[data-cockpit][data-ck2] .ck-ponto { background: var(--ds-novo); }
/* 12 px é o menor tamanho do painel */
html[data-cockpit][data-ck2] .ck-mom, html[data-cockpit][data-ck2] .ck-tag, html[data-cockpit][data-ck2] .ck-pmarcas .ck-tag,
html[data-cockpit][data-ck2] .ck-nt.nada, html[data-cockpit][data-ck2] .ck-dl dt, html[data-cockpit][data-ck2] .ck-hdl dt,
html[data-cockpit][data-ck2] .ck-fav b, html[data-cockpit][data-ck2] .ck-lig, html[data-cockpit][data-ck2] .ck-hk, html[data-cockpit][data-ck2] .ck-pk,
html[data-cockpit][data-ck2] .ck-pb-k, html[data-cockpit][data-ck2] .ck-av-cab .ck-de, html[data-cockpit][data-ck2] .ck-troca small,
html[data-cockpit][data-ck2] .ck-cobre small, html[data-cockpit][data-ck2] .ck-sabe small, html[data-cockpit][data-ck2] .ck-fazer small,
html[data-cockpit][data-ck2] .ck-b small, html[data-cockpit][data-ck2] .ck-fx small, html[data-cockpit][data-ck2] .ck-nota-g small,
html[data-cockpit][data-ck2] .ck-aqui, html[data-cockpit][data-ck2] .ck-g { font-size: 12px !important; }
html[data-cockpit][data-ck2] .ck-cob .ck-rk, html[data-cockpit][data-ck2] .ck-rk { font-size: 12px; }
html[data-cockpit][data-ck2] .ck-termo.mini { font-size: 12px !important; }
html[data-cockpit][data-ck2] .ck-etapas .ck-et, html[data-cockpit][data-ck2] .ck-etapas .ck-et .nm { font-size: 12px !important; }
html[data-cockpit][data-ck2] .ck-node .lb, html[data-cockpit][data-ck2] .ck-ring .ck-node .lb { font-size: 12px !important; }
html[data-cockpit][data-ck2] .ck-node .ck-nn small, html[data-cockpit][data-ck2] .ck-node small { font-size: 12px !important; }
/* rótulo de grupo: título do bloco, sem caixa alta (DS 2.2; celular §4 hierarquia) */
html[data-cockpit][data-ck2] .ck-g2 { font-size: 13px !important; font-weight: 600; letter-spacing: 0 !important; text-transform: none !important; color: var(--ds-ink) !important; margin: 20px 0 6px; }
html[data-cockpit][data-ck2] .ck-bl-h { font-size: 13px !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--ds-ink-2) !important; }
html[data-cockpit][data-ck2] .ck-row .ck-k, html[data-cockpit][data-ck2] .ck-mrow .ck-k { font-size: 13px !important; text-transform: none !important; letter-spacing: 0 !important; color: var(--ds-ink-2) !important; font-weight: 500; }
/* hipótese em texto: o dourado escuro (5,38 : 1) */
html[data-cockpit][data-ck2] .ck-til, html[data-cockpit][data-ck2] .ck-tag.hipotese { color: var(--ds-hipotese) !important; }
/* raios do DS */
html[data-cockpit][data-ck2] .ck-card { border-radius: var(--ds-r-3); }
html[data-cockpit][data-ck2] .ck-balao, html[data-cockpit][data-ck2] .ckb-gate, html[data-cockpit][data-ck2] .ckb-compor { border-radius: var(--ds-r-2); }
html[data-cockpit][data-ck2] .ck-postura, html[data-cockpit][data-ck2] .ck-rel small, html[data-cockpit][data-ck2] .ck-legenda small,
html[data-cockpit][data-ck2] .ck-legenda span, html[data-cockpit][data-ck2] .ck-et, html[data-cockpit][data-ck2] .ck-et .nm { font-size: 12px !important; }
html[data-cockpit][data-ck2] .ck-ring .ck-node .lb, html[data-cockpit][data-ck2] .ck-orb .ck-node .lb { font-size: 12px !important; }
html[data-cockpit][data-ck2] .ck-fechado-l small, html[data-cockpit][data-ck2] .ck-fechado small { font-size: 12px !important; }
html[data-cockpit][data-ck2] .ck-erro-l { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 8px 0; padding: 10px 44px 10px 12px; border: 1px solid var(--ds-hair-2); border-radius: var(--ds-r-2); font-size: 13px; color: var(--ds-ink); background: #fff; }
html[data-cockpit][data-ck2] .ck-erro-l > span { flex: 1 1 160px; }
html[data-cockpit][data-ck2] .ck-erro-x { position: absolute; top: 2px; right: 2px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--ds-ink-2); font-size: 18px; cursor: pointer; }
html[data-cockpit][data-ck2] .ck-erro-x:hover { background: var(--ds-fill); }
/* (F4) Documentos: Excluir (destrutivo, com confirmação no lugar) e Tentar de novo */
html[data-cockpit][data-ck2] .ck-doc-acts, html[data-cockpit][data-ck2] .ck-doc-conf { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 4px 12px 10px; }
html[data-cockpit][data-ck2] .ck-doc-conf > span { flex: 1 1 100%; font-size: 13px; color: var(--ds-ink); }
html[data-cockpit][data-ck2] .ck-btn.ck-txt-perigo { color: var(--ds-perigo) !important; border-color: transparent !important; background: transparent !important; }
html[data-cockpit][data-ck2] .ck-btn.ck-perigo { color: #fff !important; background: var(--ds-perigo) !important; border-color: var(--ds-perigo) !important; }
html[data-cockpit][data-ck2] .ck-doc-ic { font-size: 12px !important; letter-spacing: 0 !important; }
/* (19/10, revisão clique a clique) Ferramentas a 375 px: "Relatório da simulação  gerado em 19 de out. · 18:" cortava
   a data na borda (o título não quebra e o subtítulo não encolhia o bastante). Agora o subtítulo desce para a linha de
   baixo quando não cabe, inteiro; com espaço, tudo segue numa linha só. (Seletor com [data-fe-tipo] para vencer
   css/ferramentas.css, que carrega depois.) */
html[data-cockpit] .fe-item[data-fe-tipo] .fe-tx h4 { flex-wrap: wrap; white-space: normal; row-gap: 0; }
html[data-cockpit] .fe-item[data-fe-tipo] .fe-tx h4 .fe-nome { min-width: 0; overflow-wrap: anywhere; }
html[data-cockpit] .fe-item[data-fe-tipo] .fe-tx h4 .fe-sub { flex: 0 1 auto; white-space: nowrap; overflow: visible; text-overflow: clip; max-width: 100%; }
/* (20/10, varredura da madrugada) no computador, com o painel estreito, o rótulo "Conformidade" saía cortado na borda esquerda da órbita
   (no celular os rótulos ficam embaixo dos nós e a órbita segue como estava) */
@media (min-width: 1024px) { @container ck (max-width: 440px) { html[data-cockpit][data-ck2] .ck-orbcol { padding: 0 30px !important; } html[data-cockpit][data-ck2] #ck-painel .ck-orbcol .ck-orb { width: min(290px, 100%) !important; } } }
/* (20/10) tabela do resumo do documento: colunas coladas ("Ar comprimido (m³)R$ 2,30") */
html[data-cockpit] .ck-md table { border-collapse: collapse; }
html[data-cockpit] .ck-md th, html[data-cockpit] .ck-md td { padding: 2px 12px 2px 0; text-align: left; vertical-align: top; }
