/* Diagnóstico completo + AI Maturity Score (rodada 7, frente C). Só tokens de public/styles.css.
   Impressão: estilo comum em /report-print.css (isolamento, A4, sem chrome); aqui só a paleta clara do relatório. */
.ck-shared { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding: 10px 14px; border-radius: 14px; border: 1px solid rgba(52,195,240,.4); background: rgba(27,157,224,.1); font-size: 14.5px; color: var(--on-dark); max-width: 560px; }
.ck-shared b { color: var(--white); font-weight: 600; }
.ck-shared-m { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--grad); color: var(--navy-900); font: 700 16px var(--f-mono); }

.ck-pro-sec { padding: clamp(56px, 7vw, 96px) 0; background: var(--bg-0); border-top: 1px solid var(--line-exec); scroll-margin-top: 64px; }
.ck-pro-sec[hidden] { display: none; }
.ck-score { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center; margin-bottom: clamp(40px, 6vw, 72px); }
.ck-score-card { position: relative; overflow: hidden; padding: 24px; border-radius: 22px; border: 1px solid rgba(52,195,240,.45); background: radial-gradient(90% 70% at 85% 0%, rgba(27,157,224,.32), transparent 70%), var(--bg-2); }
.ck-score-card::after { content: ""; position: absolute; right: -30px; bottom: -40px; width: 160px; height: 160px; background: url(/media/agentes/agente-motor-240.webp) center / contain no-repeat; opacity: .9; }
.ck-score-k { font: 500 12px var(--f-mono); color: var(--cyan); }
.ck-score-m { margin-top: 6px; font: 700 clamp(3rem, 7vw, 4.4rem)/1 var(--f-display); color: var(--white); letter-spacing: -.02em; }
.ck-score-t { position: relative; z-index: 1; margin-top: 8px; max-width: 22ch; font: 600 17px/1.35 var(--f-display); color: var(--white); }
.ck-score-bar { position: relative; z-index: 1; list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; max-width: 200px; }
.ck-score-bar li { height: 6px; border-radius: 4px; background: var(--bg-3); }
.ck-score-bar li.on { background: var(--grad); }
.ck-score-copy h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.15; }
.ck-score-copy p { margin-top: 8px; font-size: 16px; }
.ck-score-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

.ck-pro { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(20px, 4vw, 48px); align-items: start; }
.ck-pro-copy h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.13; }
.ck-pro-copy > p { margin-top: 12px; font-size: 16.5px; line-height: 1.6; }
.ck-pro-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; counter-reset: r; }
.ck-pro-list li { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--line-exec); font-size: 14px; color: var(--on-dark); }
.ck-pro-list li::before { counter-increment: r; content: counter(r); flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: rgba(27,157,224,.16); color: var(--cyan); font: 600 11.5px var(--f-mono); }

/* relatório */
.isol-report { margin-top: clamp(32px, 5vw, 56px); padding: clamp(20px, 3.5vw, 40px); border-radius: 24px; border: 1px solid rgba(52,195,240,.35); background: var(--bg-1); outline: none; scroll-margin-top: 80px; }
.isol-report[hidden] { display: none; }
.rp-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--line-exec); }
.rp-head img { width: 56px; height: auto; }
.rp-k { font: 500 12px var(--f-mono); color: var(--cyan); }
.rp-head h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.15; margin-top: 4px; }
.rp-date { margin-top: 4px; font-size: 13.5px; color: var(--on-dark-mut); }
.rp-m { display: flex; flex-direction: column; align-items: center; padding: 10px 16px; border-radius: 16px; background: var(--grad); color: var(--navy-900); text-align: center; }
.rp-m b { font: 700 28px/1 var(--f-display); }
.rp-m span { font: 600 11px var(--f-mono); max-width: 14ch; }
.rp-sec { padding: 22px 0; border-bottom: 1px solid var(--line-exec); break-inside: avoid; }
.rp-sec h3 { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; margin-bottom: 12px; }
.rp-sec h3 i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: rgba(27,157,224,.16); color: var(--cyan); font: 600 13px var(--f-mono); font-style: normal; }
.rp-lead { font-size: 17px; line-height: 1.6; color: var(--white); max-width: 70ch; }
.rp-next { margin-top: 10px; padding-left: 12px; border-left: 3px solid var(--cyan); font-size: 15.5px; }
.rp-map { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.rp-map li { display: flex; flex-direction: column; gap: 2px; padding: 12px 10px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line-exec); }
.rp-map b { font: 700 16px var(--f-mono); color: var(--on-dark-soft); }
.rp-map span { font-size: 13px; line-height: 1.35; }
.rp-map li.on { border-color: var(--cyan); background: rgba(27,157,224,.14); }
.rp-map li.on b { color: var(--cyan); }
.rp-dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.rp-dl div { padding: 12px; border-radius: 12px; background: var(--bg-2); }
.rp-dl dt { font: 500 11.5px var(--f-mono); color: var(--on-dark-mut); }
.rp-dl dd { margin: 4px 0 0; font-size: 15px; color: var(--white); }
.rp-ladder { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; align-items: end; }
.rp-ladder li { display: flex; flex-direction: column; gap: 2px; padding: 12px; border-radius: 14px 14px 6px 6px; background: var(--bg-2); border: 1px solid var(--line-exec); }
.rp-ladder li:nth-child(1) { min-height: 120px; } .rp-ladder li:nth-child(2) { min-height: 140px; } .rp-ladder li:nth-child(3) { min-height: 160px; } .rp-ladder li:nth-child(4) { min-height: 180px; }
.rp-ladder img { width: 40px; height: auto; margin-bottom: auto; }
.rp-ladder b { font: 600 15px var(--f-display); color: var(--white); }
.rp-ladder small { font: 500 12px var(--f-mono); color: var(--on-dark-mut); }
.rp-ladder em { font-style: normal; font: 600 11.5px var(--f-mono); color: var(--cyan); }
.rp-ladder li.on { border-color: var(--cyan); background: radial-gradient(80% 60% at 50% 0%, rgba(27,157,224,.24), transparent 70%), var(--bg-2); }
.rp-ladder li.past { border-style: dashed; }
.rp-infra { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.rp-infra div { padding: 14px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line-exec); }
.rp-infra div.on { border-color: var(--cyan); }
.rp-infra b { font: 600 16px var(--f-display); color: var(--white); }
.rp-infra em { margin-left: 8px; font-style: normal; font: 500 11px var(--f-mono); color: var(--cyan); border: 1px solid currentColor; border-radius: 999px; padding: 1px 8px; }
.rp-infra p { margin-top: 6px; font-size: 14.5px; }
.rp-infra p.why { color: var(--white); }
.rp-list, .rp-q { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: 15px; line-height: 1.5; color: var(--on-dark); }
.rp-90 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.rp-90 li { padding: 14px; border-radius: 14px; background: var(--bg-2); border-top: 3px solid var(--cyan); }
.rp-90 small { font: 500 12px var(--f-mono); color: var(--cyan); }
.rp-90 b { display: block; margin-top: 2px; font: 600 15.5px var(--f-display); color: var(--white); }
.rp-90 p { margin-top: 6px; font-size: 14.5px; line-height: 1.5; }
.rp-fine { margin-top: 18px; font-size: 13px; color: var(--on-dark-mut); }
.rp-mail { margin-top: 6px; font-size: 14px; color: var(--cyan); min-height: 1em; }
.rp-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

@media (max-width: 1023px) {
  .ck-score, .ck-pro { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .rp-head { grid-template-columns: auto minmax(0, 1fr); }
  .rp-m { grid-column: 1 / -1; flex-direction: row; gap: 10px; justify-content: center; }
  .rp-map { grid-template-columns: minmax(0, 1fr); }
  .rp-map li { flex-direction: row; align-items: baseline; gap: 10px; }
  .rp-dl, .rp-infra, .rp-90 { grid-template-columns: minmax(0, 1fr); }
  .rp-ladder { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rp-ladder li:nth-child(n) { min-height: 0; }
  .ck-pro-list { grid-template-columns: minmax(0, 1fr); }
  .rp-cta .btn { flex: 1 1 auto; }
}

/* impressão: só o relatório, em fundo branco */
@media print {
  body, body.exec, .isol-report { background: #fff !important; color: #0A2540 !important; }
  .isol-report * { color: #0A2540 !important; box-shadow: none !important; }
  .isol-report h2, .isol-report h3, .isol-report b { color: #061627 !important; }
  .rp-map li, .rp-dl div, .rp-ladder li, .rp-infra div, .rp-90 li { background: #f4f8fc !important; border-color: #d9e6f2 !important; }
  .rp-map li.on, .rp-ladder li.on, .rp-infra div.on { border-color: #1B9DE0 !important; background: #e7f6fe !important; }
  .rp-m { background: #e7f6fe !important; border: 1px solid #1B9DE0; }
  .rp-sec { border-color: #d9e6f2 !important; }
  .rp-ladder img, .rp-head img { filter: none; }
}
.rp-cta .btn, .ck-score-cta .btn, .ck-result-cta .btn { white-space: normal; text-align: center; max-width: 100%; }
/* rodada 8: 30 dias em destaque e score no relatório */
.rp-30 { border: 1px solid rgba(52,195,240,.5); border-radius: 14px; padding: 18px; margin-top: 12px; background: linear-gradient(180deg, rgba(52,195,240,.10), transparent); }
.rp-30l { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rp-30l li { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 10px; }
.rp-30l b { font: 600 13px var(--f-mono); }
.rp-score { display: flex; align-items: baseline; gap: 8px; margin: 0; }
.rp-score b { font: 600 34px/1 var(--f-display); color: var(--cyan); }
@media (max-width: 760px) { .rp-30l li { grid-template-columns: minmax(0, 1fr); gap: 2px; } }
.rp-map li.rec { border: 1px dashed rgba(234,243,251,.6) !important; }
.rp-map li em { display: block; margin-top: 4px; font: 500 11px var(--f-mono); font-style: normal; color: var(--cyan); }
