/* =========================================
   HI-C Index — estilos específicos (camada fina)
   Reusa direto de css/styles.css (.screen, .btn, .input-group, .nav-buttons,
   .back-button, .host-message, .progress-bar, .container) e
   css/likert.css (.likert-section, .likert-grid, .likert-question, .likert-continue).
   Aqui só o que é exclusivo do HI-C.
   ========================================= */

/* ────── Tipografia auxiliar ────── */
.hic-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ff6b00;
  margin-bottom: 14px;
}
.hic-title {
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  color: #fff;
}
.hic-subtitle {
  font-size: clamp(0.98rem, 1.4vw, 1.05rem);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.55;
  max-width: 720px;
  margin: 0 0 28px;
}

/* ════════════════════════════════════════════════════════
   LANDING — 2 layers com clip-path transitions
   Inspirado em hic_cta_animation.html: 4 slides em loop,
   alterna preto ↔ laranja, transição diag60/bottomUp/circle.
   ════════════════════════════════════════════════════════ */
#screen-landing { padding: 0; }
.hic-stage {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 10; /* cobre as partículas (#particlesCanvas tem z-index menor) */
}
.hic-stage-layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(48px, 8vh, 96px) clamp(24px, 5vw, 56px);
}
.hic-stage-a { z-index: 1; }
/* Layer B só serve como overlay de transição (recebe conteúdo, anima clip-path,
   depois é limpo). Não deve nunca interceptar clicks — senão cobre o A e
   bloqueia o CTA. */
.hic-stage-b { z-index: 2; pointer-events: none; }
.hic-stage-content {
  text-align: center;
  width: 100%;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  pointer-events: none;
}
.hic-stage-content .hic-stage-btn { pointer-events: auto; }

/* Temas — alternam por slide */
.hic-stage-layer.bg-black  { background: #0a0a0a; }
.hic-stage-layer.bg-orange { background: #FF6B00; }

/* Tipografia base por tema */
.bg-black .hic-stage-badge {
  background: rgba(255, 107, 0, 0.15);
  color: #FF6B00;
  border: 1px solid rgba(255, 107, 0, 0.35);
}
.bg-black .hic-stage-tag,
.bg-black .hic-stage-headline,
.bg-black .hic-stage-sub,
.bg-black .hic-stage-def-text,
.bg-black .hic-stage-def-num,
.bg-black .hic-stage-score-label { color: #fff; }
.bg-black .hic-stage-sub { color: rgba(255, 255, 255, 0.7); }
.bg-black .hic-stage-def-text { color: rgba(255, 255, 255, 0.8); }
.bg-black .hic-stage-btn { background: #FF6B00; color: #fff; }
.bg-black .hic-stage-r-track { background: rgba(255, 107, 0, 0.15); }
.bg-black .hic-stage-r-fill  { background: #FF6B00; }

.bg-orange .hic-stage-badge {
  background: rgba(0, 0, 0, 0.12);
  color: #111;
  border: 1px solid rgba(0, 0, 0, 0.2);
}
.bg-orange .hic-stage-tag,
.bg-orange .hic-stage-headline,
.bg-orange .hic-stage-sub,
.bg-orange .hic-stage-def-text,
.bg-orange .hic-stage-def-num,
.bg-orange .hic-stage-score-label { color: #111; }
.bg-orange .hic-stage-sub { color: rgba(0, 0, 0, 0.78); }
.bg-orange .hic-stage-def-text { color: rgba(0, 0, 0, 0.82); }
.bg-orange .hic-stage-btn { background: #111; color: #FF6B00; }
.bg-orange .hic-stage-r-track { background: rgba(0, 0, 0, 0.15); }
.bg-orange .hic-stage-r-fill  { background: #111; }

/* Componentes internos dos slides */
.hic-stage-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
}
.hic-stage-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.6;
}
.hic-stage-headline {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0;
}
.hic-stage-headline em {
  font-style: normal;
  opacity: 0.55;
  font-weight: 700;
  font-size: 0.72em;
}
.hic-stage-sub {
  font-size: clamp(0.98rem, 1.5vw, 1.1rem);
  font-weight: 400;
  max-width: 540px;
  line-height: 1.6;
  margin: 0;
}

/* Slide 2 — 4 def-items numerados */
.hic-stage-def-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 520px;
  margin-top: 6px;
}
.hic-stage-def-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  text-align: left;
}
.hic-stage-def-num {
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1;
  flex-shrink: 0;
  font-feature-settings: 'tnum';
  min-width: 40px;
}
.hic-stage-def-text {
  font-size: 0.92rem;
  line-height: 1.45;
}
.hic-stage-def-text strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 2px;
}

/* Slide 3 — radar SVG + barras */
.hic-stage-score-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.hic-stage-score-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.65;
}
.hic-stage-r-bars {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 280px;
  margin-top: 4px;
}
.hic-stage-r-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hic-stage-r-lbl {
  font-size: 0.7rem;
  width: 90px;
  text-align: right;
  opacity: 0.8;
  flex-shrink: 0;
  font-weight: 600;
}
.hic-stage-r-track {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
}
.hic-stage-r-fill {
  height: 100%;
  border-radius: 3px;
  width: 0%;
  transition: width 1s cubic-bezier(.4, 0, .2, 1);
}

/* Slide 4 — CTA */
.hic-stage-btn {
  padding: 16px 40px;
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  border: none;
  letter-spacing: 0.01em;
  font-family: inherit;
  transition: transform .15s ease, box-shadow .15s ease;
  margin-top: 8px;
}
.hic-stage-btn:hover { transform: scale(1.04); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25); }
.hic-stage-cta-hint {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  opacity: 0.6;
  margin-top: 4px;
}

/* Progress bar inferior */
.hic-stage-prog {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  z-index: 20;
  width: 0%;
  background: rgba(255, 107, 0, 0.65);
}
.bg-orange + .hic-stage-prog,
.hic-stage-layer.bg-orange ~ .hic-stage-prog { background: rgba(0, 0, 0, 0.5); }

/* ════════════════════════════════════════════════════════
   BRIEFING — cards das 8 dimensões
   ════════════════════════════════════════════════════════ */
.hic-briefing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}
.hic-brief-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 22px;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.hic-brief-card:hover {
  border-color: rgba(255, 107, 0, 0.35);
  background: rgba(255, 107, 0, 0.04);
  transform: translateY(-2px);
}
.hic-brief-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(255, 107, 0, 0.14);
  border: 1px solid rgba(255, 107, 0, 0.35);
  color: #ff6b00;
  font-weight: 700; font-size: 13px;
  margin-bottom: 14px;
  font-feature-settings: 'tnum';
}
.hic-brief-title { font-size: 1rem; font-weight: 700; margin-bottom: 6px; color: #fff; }
.hic-brief-desc  { font-size: 13.5px; color: rgba(255, 255, 255, 0.65); line-height: 1.55; }

/* ════════════════════════════════════════════════════════
   MC — telas multiple choice (1 pergunta + 5 opções narrativas)
   ════════════════════════════════════════════════════════ */
.hic-mc-header {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.hic-dim-badge {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #ff6b00;
  background: rgba(255, 107, 0, 0.12);
  border: 1px solid rgba(255, 107, 0, 0.35);
  padding: 5px 12px;
  border-radius: 999px;
  font-weight: 700;
}
.hic-dim-counter { font-size: 13px; color: rgba(255, 255, 255, 0.45); }

.hic-mc-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 auto 12px;
  color: #fff;
  max-width: 880px;
  text-align: center;
}
.hic-mc-helper {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 auto 28px;
  max-width: 700px;
  text-align: center;
}

.hic-mc-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.hic-mc-option {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px solid rgba(255, 255, 255, 0.10);
  border-radius: 14px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  line-height: 1.5;
  width: 100%;
  transition: all 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}
.hic-mc-option:hover {
  background: rgba(255, 107, 0, 0.06);
  border-color: rgba(255, 107, 0, 0.4);
  transform: translateX(2px);
}
.hic-mc-option.selected {
  background: rgba(255, 107, 0, 0.10);
  border-color: #ff6b00;
  box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.10), 0 4px 16px rgba(255, 107, 0, 0.18);
}
.hic-mc-option.selected .hic-mc-key {
  background: linear-gradient(135deg, #ff6b00, #ff8c3a);
  color: #fff;
  border-color: #ff6b00;
}
.hic-mc-key {
  flex-shrink: 0;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  transition: all 0.18s ease;
  font-feature-settings: 'tnum';
}
.hic-mc-text { flex: 1; }

/* ════════════════════════════════════════════════════════
   LIKERT — alinha sliders lado a lado mesmo com prompts
   de tamanhos diferentes. Cada .likert-question vira flex
   column; .likert-pole-labels com margin-top:auto empurra
   o slider pra base.
   ════════════════════════════════════════════════════════ */
.likert-grid { align-items: stretch; }
.likert-question {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.likert-question .likert-pole-labels { margin-top: auto; }

.hic-q-prompt {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 14px;
  line-height: 1.4;
  min-height: 2.8em; /* reserva 2 linhas pra prompts de tamanhos diferentes */
}

/* ════════════════════════════════════════════════════════
   TENSIONS — modo 1-por-vez + escala de cor por zona
   (extremos = patologia, centro = saúde)
   ════════════════════════════════════════════════════════ */
.likert-grid.is-tensions {
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  min-height: 380px;
}

/* Modo 1-por-vez: só a .is-active fica visível. */
.likert-grid.is-tensions .hic-tension-q {
  display: none;
  animation: hic-tension-enter 0.42s cubic-bezier(0.16, 1, 0.3, 1);
}
.likert-grid.is-tensions .hic-tension-q.is-active {
  display: flex;
}
.likert-grid.is-tensions .hic-tension-q.is-leaving {
  animation: hic-tension-leave 0.22s ease-out forwards;
}
@keyframes hic-tension-enter {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes hic-tension-leave {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-10px); }
}

/* Setas discretas pra navegar entre tensões (anterior /\ e próxima \/) */
.hic-tension-nav {
  display: flex;
  justify-content: center;
  margin: 4px 0;
}
.hic-tension-nav-btn {
  width: 40px;
  height: 22px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.35);
  font-size: 11px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: all 0.18s ease;
  font-family: inherit;
  letter-spacing: 0.05em;
  line-height: 1;
}
.hic-tension-nav-btn:hover {
  background: rgba(255, 107, 0, 0.08);
  border-color: rgba(255, 107, 0, 0.35);
  color: #ff8c3a;
  transform: scale(1.08);
}
.hic-tension-nav-btn[disabled] {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

/* Contador de progresso (Paradoxo X de 6) */
.hic-tensions-progress {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin: 22px auto 24px;
  max-width: 460px;
  letter-spacing: 0.02em;
  flex-wrap: wrap;
  justify-content: center;
}
.hic-tensions-progress-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.45);
}
.hic-tensions-progress-current {
  color: #ff6b00;
  font-weight: 800;
  font-size: 15px;
  font-feature-settings: 'tnum';
}
.hic-tensions-progress-sep { color: rgba(255, 255, 255, 0.4); }
.hic-tensions-progress-total {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  font-feature-settings: 'tnum';
}
.hic-tensions-progress-bar {
  flex-basis: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 6px;
}
.hic-tensions-progress-bar-fill {
  height: 100%;
  width: 16.66%;
  background: linear-gradient(90deg, #ff6b00, #ff8c3a);
  border-radius: 2px;
  transition: width 0.42s cubic-bezier(0.4, 0, 0.2, 1);
}

.hic-tension-q .hic-q-prompt {
  font-size: 18px;
  min-height: 0;
  text-align: center;
  margin-bottom: 8px;
}

.hic-tension-desc {
  font-size: 16px;
  line-height: 1.65;
  color: #fff;
  font-weight: 700;
  margin: 0 auto 20px;
  text-align: center;
  max-width: 700px;
  transition: opacity 0.18s ease, color 0.18s ease;
  min-height: 4.4em; /* reserva espaço pra evitar pulo de layout entre textos de tamanhos diferentes */
  letter-spacing: -0.005em;
}
.hic-tension-desc.is-fading { opacity: 0; }

/* Estado INICIAL (antes do primeiro clique): cinza, peso normal, sem destaque.
   É só um convite à reflexão. As palavras-chave laranja só aparecem DEPOIS
   que o usuário escolheu uma posição, ajudando a definir o que ele escolheu. */
.hic-tension-desc.is-intro {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 400;
  font-size: 14.5px;
}
.hic-tension-desc.is-intro em {
  color: rgba(255, 255, 255, 0.55);
  font-style: normal;
  font-weight: 400;
  text-shadow: none;
}

/* Palavras-chave em laranja (após primeiro clique) pra chamar atenção do que define a posição */
.hic-tension-desc em {
  color: #ff8c3a;
  font-style: normal;
  font-weight: 700;
  text-shadow: 0 0 18px rgba(255, 140, 58, 0.22);
}

/* Track das tensões com gradiente de zona: vermelho (patologia) → verde (saúde) → vermelho. */
.likert-track.tension-track {
  background:
    linear-gradient(90deg,
      rgba(239, 68, 68, 0.22)  0%,
      rgba(245, 158, 11, 0.18) 25%,
      rgba(94, 227, 155, 0.24) 50%,
      rgba(245, 158, 11, 0.18) 75%,
      rgba(239, 68, 68, 0.22) 100%
    );
  border-color: rgba(255, 255, 255, 0.10);
}
.likert-track.tension-track:hover {
  border-color: rgba(94, 227, 155, 0.35);
}
/* Tensions usam 7 pontos — centro = posição 4 (zona saudável) */
.likert-track.tension-track[data-value="4"] {
  border-color: rgba(94, 227, 155, 0.45);
  box-shadow: 0 0 0 3px rgba(94, 227, 155, 0.10);
}
/* Quando centro selecionado, o ponto verde substitui o laranja */
.likert-track.tension-track .likert-point.is-selected[data-value="4"]::before {
  background: #5EE39B;
  border-color: rgba(94, 227, 155, 0.85);
  box-shadow:
    0 0 0 6px rgba(94, 227, 155, 0.18),
    0 0 24px rgba(94, 227, 155, 0.55);
}
/* O preenchimento laranja não faz sentido em tensions bipolar — esconde. */
.likert-track.tension-track .likert-fill { display: none; }

/* Em tensions, só a bolinha clicada fica destacada. As anteriores ficam neutras
   (sem o efeito de "barra preenchida" que faz sentido em Likert ordinal mas não bipolar). */
.likert-track.tension-track .likert-point.is-before::before {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.30);
  width: 18px;
  height: 18px;
  box-shadow: none;
}

/* ─── Estado PENDING (1º clique) ───
   Bolinha selecionada vira ring vazio com glow pulsando — sinaliza "quase lá,
   confirme com outro toque". */
.likert-track.tension-track.is-pending .likert-point.is-selected::before {
  background: transparent;
  border: 3px solid #ff8c3a;
  width: 30px;
  height: 30px;
  box-shadow:
    0 0 0 5px rgba(255, 140, 58, 0.15),
    0 0 22px rgba(255, 140, 58, 0.55);
  animation: hic-tension-pending-pulse 1.4s ease-in-out infinite;
}
.likert-track.tension-track.is-pending .likert-point.is-selected[data-value="4"]::before {
  border-color: #5EE39B;
  box-shadow:
    0 0 0 5px rgba(94, 227, 155, 0.15),
    0 0 22px rgba(94, 227, 155, 0.55);
}
@keyframes hic-tension-pending-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1);    opacity: 1; }
  50%      { transform: translate(-50%, -50%) scale(1.08); opacity: 0.85; }
}

/* Label flutuante na bolinha em pending — "Clique de novo pra confirmar".
   Mostra direto sob o ponto selecionado pra deixar a ação óbvia. */
.likert-track.tension-track.is-pending .likert-point.is-selected::after {
  content: 'clique de novo';
  position: absolute;
  top: calc(50% + 28px);
  left: 50%;
  transform: translateX(-50%);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ff8c3a;
  background: rgba(20, 8, 0, 0.92);
  border: 1px solid rgba(255, 140, 58, 0.5);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  pointer-events: none;
  animation: hic-tension-label-bounce 1.4s ease-in-out infinite;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}
.likert-track.tension-track.is-pending .likert-point.is-selected[data-value="4"]::after {
  color: #5EE39B;
  border-color: rgba(94, 227, 155, 0.5);
}
@keyframes hic-tension-label-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0);   opacity: 1;   }
  50%      { transform: translateX(-50%) translateY(-3px); opacity: 0.92; }
}

/* ─── Hint abaixo do track (instrução contextual) ─── */
.hic-tension-hint {
  margin-top: 14px;
  min-height: 1.4em;
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.01em;
  transition: opacity 0.18s ease;
}
.hic-tension-hint-confirm {
  color: #ff8c3a;
  font-weight: 600;
  animation: hic-tension-hint-fade 0.25s ease-out;
}
.hic-tension-hint-ok {
  color: #5EE39B;
  font-weight: 600;
  animation: hic-tension-hint-fade 0.25s ease-out;
}
@keyframes hic-tension-hint-fade {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── Subtítulo de instrução (como funciona) ─── */
.hic-tensions-howto {
  margin-top: 18px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 18px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ════════════════════════════════════════════════════════
   RESULTADO — identidade editorial (Fase 1: capa, metagrid, capítulos)
   Espelha .result-cover / .r-metagrid / .r-section-label da Bússola.
   Counter de capítulos é escopado ao relatório (.hic-report).
   ════════════════════════════════════════════════════════ */
.hic-report { counter-reset: hic-chapter; }

/* ── Capa editorial (HBR feature) — nome como protagonista ── */
.hic-cover {
  padding-block: clamp(1rem, 3vw, 2rem) clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
}
.hic-cover-eyebrow {
  font-family: var(--f-mono, ui-monospace, monospace);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper-700);
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}
.hic-cover-name {
  font-family: var(--f-display);
  font-size: clamp(2.4rem, 4.5vw + 1rem, 5rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.02;
  color: var(--paper-900);
  margin: 0 0 1rem;
  font-variation-settings: "opsz" 72;
  max-width: 14ch;
}
.hic-cover-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-family: var(--f-mono, ui-monospace, monospace);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper-700);
  margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
}
.hic-cover-arquetipo { color: var(--orange-500); font-weight: 500; }
.hic-cover-sep { opacity: 0.5; }
.hic-cover-rule {
  height: 1px;
  background: var(--orange-100);
  margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
  max-width: 320px;
}
.hic-cover-deck {
  font-family: var(--f-display);
  font-size: clamp(1.05rem, 0.7vw + 0.95rem, 1.35rem);
  line-height: 1.45;
  color: var(--paper-800);
  max-width: 52ch;
  margin: 0;
  font-variation-settings: "opsz" 22;
  font-style: italic;
  font-weight: 400;
}

/* ── MetaGrid 4 micro-cards ── */
.hic-metagrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}
.hic-meta-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--r-sm, 6px);
  padding: 10px 14px;
}
.hic-meta-key {
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 3px;
}
.hic-meta-value {
  font-size: 0.92rem;
  color: var(--paper-900);
  font-weight: 600;
}
@media (min-width: 560px) {
  .hic-metagrid { grid-template-columns: repeat(4, 1fr); }
}

/* ── Ladder: escada de maturidade (5 etapas) — espelha .r-ladder ── */
.hic-ladder-wrap { margin: 4px 0 12px; }
.hic-ladder-caption {
  font-family: var(--f-mono, ui-monospace, monospace);
  font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--paper-700); margin-bottom: 10px;
}
.hic-ladder { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.hic-ladder-step {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px; padding: 12px 8px; text-align: center;
  display: flex; flex-direction: column; gap: 6px; justify-content: center;
  transition: all .3s var(--ease-out, ease);
}
.hic-ladder-step.current { background: rgba(255, 107, 0, 0.14); border-color: rgba(255, 107, 0, 0.5); }
.hic-ladder-step.next { border-color: rgba(255, 107, 0, 0.25); border-style: dashed; }
.hic-ladder-step.passed { opacity: 0.5; }
.hic-ladder-step-label { font-size: 0.78rem; font-weight: 700; color: var(--paper-900); line-height: 1.2; }
.hic-ladder-step.current .hic-ladder-step-label { color: #ff6b00; }
.hic-ladder-step-marker {
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: #ff6b00;
}
.hic-ladder-step.next .hic-ladder-step-marker { color: var(--paper-700); }
@media (max-width: 640px) {
  .hic-ladder { grid-template-columns: 1fr; }
  .hic-ladder-step { flex-direction: row; justify-content: space-between; align-items: center; text-align: left; padding: 12px 14px; }
}

/* ── Frontier: próxima evolução DE → PARA (Fase 5) ── */
.hic-frontier { margin: 4px 0 14px; padding: 16px 18px; background: rgba(255,107,0,0.05); border: 1px solid rgba(255,107,0,0.22); border-radius: var(--r-md, 12px); }
.hic-frontier-label { font-family: var(--f-mono, monospace); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--paper-700); margin-bottom: 10px; }
.hic-frontier-de-para { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; font-family: var(--f-display); font-size: clamp(1.1rem, 2vw, 1.45rem); line-height: 1.2; margin-bottom: 12px; }
.hic-frontier-de { color: var(--paper-700); }
.hic-frontier-arrow { color: #ff6b00; font-weight: 700; }
.hic-frontier-para { color: #ff6b00; }
.hic-frontier-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hic-frontier-chip { font-size: .8rem; font-weight: 600; color: var(--paper-900); background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--r-pill, 999px); padding: 5px 12px; }

/* ── Separador de round na mesa (Fase 5) ── */
.hic-ai-round-sep { font-family: var(--f-mono, monospace); font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-500, #ff6b00); margin: 16px 0 6px; padding-bottom: 6px; border-bottom: 1px solid rgba(255,107,0,0.2); }
.hic-ai-round-sep:first-child { margin-top: 0; }

/* ── IA mesclada no diagnóstico (selo + legenda) — espelha a Bússola ── */
.hic-ai { margin: 18px 0; }
/* espaçamento explícito entre blocos de topo (capa→leitura→score→arquétipo) */
.hic-score-hero { margin-top: 18px; }
.ai-tag {
  display: inline-flex; align-items: center; gap: 5px; vertical-align: middle;
  margin-left: 8px; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: #c9a8ff;
  background: rgba(201,168,255,0.12); border: 1px solid rgba(201,168,255,0.3);
  padding: 2px 8px; border-radius: var(--r-pill, 999px); white-space: nowrap;
}
.ai-tag i { font-size: 0.62rem; }
.ai-disclaimer {
  display: flex; gap: 12px; align-items: flex-start;
  margin-top: clamp(2rem, 4vw, 2.75rem); padding: 14px 16px;
  background: rgba(201,168,255,0.05); border: 1px solid rgba(201,168,255,0.18);
  border-radius: var(--r-md, 12px);
}
.ai-disclaimer .ai-tag { margin-left: 0; flex-shrink: 0; }
.ai-disclaimer-text { font-size: 0.82rem; line-height: 1.55; color: var(--paper-700, rgba(255,255,255,0.6)); }
.ai-disclaimer-text strong { color: var(--paper-800, rgba(255,255,255,0.82)); font-weight: 600; }

/* ── Modo preview de reordenação (só com ?reorder=1) ── */
.reorder-card { position: relative; border: 1px dashed rgba(255,107,0,0.45); border-radius: 10px; padding: 8px; margin: 10px 0; }
.reorder-hd { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; padding: 4px 8px; background: rgba(255,107,0,0.10); border-radius: 6px; }
.reorder-key { font-family: var(--f-mono, monospace); font-size: 0.72rem; font-weight: 700; letter-spacing: .04em; color: #ffb066; }
.reorder-btns { display: flex; gap: 4px; flex-shrink: 0; }
.reorder-btns button { width: 28px; height: 28px; border-radius: 6px; border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.06); color: #fff; font-size: 1rem; line-height: 1; cursor: pointer; }
.reorder-btns button:hover { background: rgba(255,107,0,0.25); border-color: rgba(255,107,0,0.5); }
.reorder-panel { position: fixed; right: 16px; bottom: 16px; z-index: 9999; width: 280px; max-height: 60vh; display: flex; flex-direction: column; background: #14100c; border: 1px solid rgba(255,107,0,0.4); border-radius: 12px; padding: 12px; box-shadow: 0 12px 40px rgba(0,0,0,0.5); font-family: var(--f-body, sans-serif); }
.reorder-panel-title { font-size: 0.78rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.reorder-panel-title span { color: rgba(255,255,255,0.45); font-weight: 400; }
.reorder-panel pre { flex: 1; overflow: auto; margin: 0 0 8px; font-family: var(--f-mono, monospace); font-size: 0.7rem; line-height: 1.4; color: #ffd9b3; background: rgba(0,0,0,0.4); border-radius: 6px; padding: 8px; }
.reorder-panel-actions { display: flex; gap: 6px; }
.reorder-panel-actions button { flex: 1; padding: 8px; border-radius: 6px; border: none; font-size: 0.78rem; font-weight: 600; cursor: pointer; }
#reorderCopy { background: #ff6b00; color: #1a1208; }
#reorderReset { background: rgba(255,255,255,0.1); color: #fff; }
.reorder-panel-hint { font-size: 0.68rem; color: rgba(255,255,255,0.5); margin-top: 8px; line-height: 1.4; }

/* ── ScoreRow: 8 dimensões com top-bar por status — espelha .r-scorerow ── */
.hic-scorerow {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px;
}
.hic-scorecard {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-md, 12px);
  padding: 14px 10px; text-align: center; position: relative; overflow: hidden;
}
.hic-scorecard::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--score-color, #ff6b00);
}
.hic-scorecard.status-frontier      { --score-color: #ffb066; }
.hic-scorecard.status-building       { --score-color: #4dabff; }
.hic-scorecard.status-consolidating  { --score-color: #28c2a8; }
.hic-scorecard.status-mastery        { --score-color: #28c76f; }
.hic-scorecard-value {
  font-size: 1.5rem; font-weight: 800; color: var(--paper-900); line-height: 1; margin-top: 4px;
}
.hic-scorecard-value-suffix { font-size: 0.7rem; font-weight: 600; color: rgba(255, 255, 255, 0.4); margin-left: 2px; }
.hic-scorecard-label {
  font-size: 0.72rem; font-weight: 600; color: rgba(255, 255, 255, 0.62); margin-top: 6px; line-height: 1.2;
}
@media (max-width: 640px) {
  .hic-scorerow { grid-template-columns: repeat(2, 1fr); }
}

/* ── Link permanente (espelha .copy-share-block da Bússola) ── */
.hic-share-block {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  padding: 16px 18px;
  background: rgba(255, 107, 0, 0.06);
  border: 1px solid rgba(255, 107, 0, 0.25);
  border-radius: var(--r-md, 12px);
}
.hic-share-eyebrow {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: #ff6b00; margin-bottom: 10px;
}
.hic-share-eyebrow i { margin-right: 6px; }
.hic-share-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.hic-share-input {
  flex: 1; min-width: 240px;
  background: rgba(0, 0, 0, 0.3); color: var(--paper-900, rgba(255,255,255,.92));
  border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 8px;
  padding: 10px 12px; font-family: var(--f-mono, monospace); font-size: 0.85rem;
}
.hic-share-hint { font-size: 0.75rem; color: rgba(255, 255, 255, 0.55); margin-top: 8px; }

/* ════════════════════════════════════════════════════════
   RESULTADO — score hero, arquetipos, radar, dim, tensions, gaps
   ════════════════════════════════════════════════════════ */
.hic-score-hero {
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
  padding: 26px 30px;
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.10), rgba(255, 107, 0, 0.02));
  border: 1px solid rgba(255, 107, 0, 0.35);
  border-radius: 18px;
  margin-bottom: 22px;
}
.hic-score-big {
  font-size: clamp(2.8rem, 6.5vw, 4.4rem);
  font-weight: 800; line-height: 1; color: #ff6b00;
  letter-spacing: -0.04em;
}
.hic-score-suffix { font-size: 1rem; color: rgba(255, 255, 255, 0.5); font-weight: 500; }
.hic-score-context { flex: 1; min-width: 220px; }
.hic-score-context .label {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.5); margin-bottom: 4px; font-weight: 600;
}
.hic-score-context .val { font-size: 1.6rem; font-weight: 700; color: #fff; }

.hic-arch-block {
  padding: 26px 30px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 107, 0, 0.35);
  border-radius: 16px;
  margin-bottom: 12px;
  position: relative; overflow: hidden;
}
.hic-arch-block::after {
  content: ''; position: absolute; top: -40px; right: -40px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.12), transparent 70%);
  pointer-events: none;
}
.hic-arch-block.descriptive { border-color: rgba(94, 227, 155, 0.30); }
.hic-arch-block.descriptive::after { background: radial-gradient(circle, rgba(94, 227, 155, 0.10), transparent 70%); }
.hic-arch-label {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.45); font-weight: 700; margin-bottom: 8px;
  position: relative; z-index: 2;
}
.hic-arch-block.descriptive .hic-arch-label { color: #5EE39B; }
.hic-arch-name {
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  font-weight: 800; line-height: 1.05;
  margin-bottom: 12px; letter-spacing: -0.02em; color: #fff;
  position: relative; z-index: 2;
}
.hic-arch-block.descriptive .hic-arch-name { color: #5EE39B; }
.hic-arch-diag {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  position: relative; z-index: 2;
}

/* Section label editorial: numeral grande em Newsreader + título alinhado.
   Auto-numeração via CSS counter (escopo .hic-report). Régua superior
   em orange-100 marca o início do capítulo. Espelha .r-section-label. */
.hic-section-label {
  counter-increment: hic-chapter;
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 1vw + 1.1rem, 2.2rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--paper-900);
  padding-top: 24px;
  padding-bottom: 16px;
  border-top: 1px solid var(--orange-100);
  display: grid;
  grid-template-columns: clamp(48px, 5vw, 80px) 1fr;
  align-items: baseline;
  gap: clamp(0.6rem, 2vw, 1.25rem);
  margin: clamp(2rem, 4vw, 2.75rem) 0 clamp(1.25rem, 3vw, 1.75rem);
  font-variation-settings: "opsz" 48;
}
.hic-section-label::before {
  content: counter(hic-chapter, decimal-leading-zero) ".";
  font-family: var(--f-display);
  font-size: clamp(2rem, 3vw + 1rem, 3.6rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--paper-700);
  line-height: 1;
  font-variation-settings: "opsz" 72;
}

.hic-result-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 8px;
}

/* Limita o radar (Chart.js é responsive e preencheria o card inteiro).
   O Chart.js dimensiona dentro do wrapper, então o cap vai aqui. */
.hic-radar-wrap { max-width: 560px; margin: 0 auto; padding: 8px 0; }
#hicRadarCanvas { max-width: 100%; height: auto; }

.hic-dim-table { margin-top: 18px; }
.hic-dim-row {
  display: grid; grid-template-columns: 1fr 110px 60px;
  gap: 16px; padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  align-items: center;
}
.hic-dim-row:last-child { border-bottom: none; }
.hic-dim-row .dim-name { font-weight: 600; font-size: 14px; color: rgba(255, 255, 255, 0.92); }
.hic-dim-row .dim-score { font-size: 1.25rem; font-weight: 700; text-align: right; color: #fff; }
.hic-dim-row .dim-bar { width: 110px; height: 6px; background: rgba(255, 255, 255, 0.08); border-radius: 3px; overflow: hidden; }
.hic-dim-row .dim-bar-fill { height: 100%; background: linear-gradient(90deg, #ff6b00, #ff8c3a); border-radius: 3px; }
.hic-dim-row.gap .dim-name::before { content: '⚑ '; color: #ffb454; }

/* ── DimTable editorial (Fase 3) — sem caixa, espelha .r-dimtable ── */
.hic-dimtable { margin-top: 18px; }
.hic-dimtable-row {
  display: grid; grid-template-columns: 1.5fr 1.2fr 0.5fr 1fr;
  gap: 14px; padding: 13px 2px; align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.hic-dimtable-row:last-child { border-bottom: none; }
.hic-dimtable-name .n { display: block; font-size: 0.92rem; font-weight: 600; color: var(--paper-900, #fff); }
.hic-dimtable-name .v { display: block; font-size: 0.72rem; font-weight: 400; color: rgba(255,255,255,0.5); margin-top: 2px; letter-spacing: .02em; }
.hic-dimtable-progress { display: flex; align-items: center; }
.hic-progress-track { flex: 1; height: 6px; background: rgba(255,255,255,0.08); border-radius: 3px; overflow: hidden; }
.hic-progress-fill { height: 100%; border-radius: 3px; background: #ff6b00; transition: width .6s var(--ease-out, ease); }
.hic-progress-fill.status-frontier      { background: #ff9f43; }
.hic-progress-fill.status-building       { background: #4dabff; }
.hic-progress-fill.status-consolidating  { background: #28c2a8; }
.hic-progress-fill.status-mastery        { background: #28c76f; }
.hic-dimtable-score { font-size: 1.05rem; font-weight: 700; color: var(--paper-900, #fff); text-align: center; }
.hic-pill {
  display: inline-flex; align-items: center; gap: 6px; justify-self: end;
  font-size: 0.7rem; font-weight: 600; padding: 4px 10px; border-radius: 50px; white-space: nowrap;
}
.hic-pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.hic-pill.status-frontier      { color: #ff9f43; background: rgba(255,159,67,0.12); }
.hic-pill.status-building       { color: #4dabff; background: rgba(77,171,255,0.12); }
.hic-pill.status-consolidating  { color: #28c2a8; background: rgba(40,194,168,0.12); }
.hic-pill.status-mastery        { color: #28c76f; background: rgba(40,199,111,0.12); }
@media (max-width: 600px) {
  .hic-dimtable-row { grid-template-columns: 1fr auto auto; gap: 10px; }
  .hic-dimtable-progress { display: none; }
}

.hic-tension-result {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  margin-bottom: 10px; gap: 16px;
}
.hic-tension-result-info { flex: 1; min-width: 0; }
.hic-tension-result-name {
  font-weight: 600; font-size: 14px; margin-bottom: 4px; color: #fff;
  overflow: hidden; text-overflow: ellipsis;
}
.hic-tension-result-zone {
  font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700;
}
.hic-zone-green  { color: #5EE39B; }
.hic-zone-yellow { color: #ffb454; }
.hic-zone-red    { color: #ff6b6b; }
.hic-tension-mini { width: 160px; position: relative; height: 24px; flex-shrink: 0; }
/* zonas bipolares: vermelho (extremos) → amarelo → verde (centro saudável) → amarelo → vermelho */
.hic-tension-mini::before {
  content: ''; position: absolute; top: 9px; left: 0; right: 0; height: 6px; border-radius: 3px;
  background: linear-gradient(90deg,
    rgba(255,107,107,0.55) 0%, rgba(255,107,107,0.55) 10%,
    rgba(255,180,84,0.45) 24%,
    rgba(94,227,155,0.45) 40%, rgba(94,227,155,0.45) 60%,
    rgba(255,180,84,0.45) 76%,
    rgba(255,107,107,0.55) 90%, rgba(255,107,107,0.55) 100%);
}
.hic-tension-marker {
  position: absolute; top: 4px; width: 16px; height: 16px;
  border-radius: 50%; transform: translateX(-50%);
}
.hic-marker-green  { background: #5EE39B; box-shadow: 0 0 12px rgba(94, 227, 155, 0.5); }
.hic-marker-yellow { background: #ffb454; box-shadow: 0 0 12px rgba(255, 180, 84, 0.5); }
.hic-marker-red    { background: #ff6b6b; box-shadow: 0 0 12px rgba(255, 107, 107, 0.5); }
.hic-tension-marker { border: 2px solid var(--ink-100, #14100c); }

/* ── Power Grid (Fase 4) — superpoder × limite, espelha .r-power-grid ── */
.hic-power-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hic-power-card { border-radius: 14px; padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; min-height: 130px; }
.hic-power-card.superpoder { background: rgba(40,199,111,0.06); border: 1px solid rgba(40,199,111,0.22); }
.hic-power-card.limite     { background: rgba(255,159,67,0.06); border: 1px solid rgba(255,159,67,0.22); }
.hic-power-eyebrow { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.hic-power-card.superpoder .hic-power-eyebrow { color: #28c76f; }
.hic-power-card.limite     .hic-power-eyebrow { color: #ff9f43; }
.hic-power-text { font-size: 0.92rem; color: var(--paper-800, rgba(255,255,255,0.85)); line-height: 1.55; margin: 0; }
@media (max-width: 600px) { .hic-power-grid { grid-template-columns: 1fr; } }

/* ── Callout da tensão (Fase 4) — espelha .r-callout.info ── */
.hic-callout { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.10); border-left: 3px solid #ff6b00; border-radius: var(--r-sm, 8px); padding: 14px 18px; margin-bottom: 14px; }
.hic-callout-eyebrow { font-family: var(--f-mono, monospace); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #ff6b00; margin-bottom: 6px; }
.hic-callout-text { font-size: 0.98rem; color: var(--paper-800, rgba(255,255,255,0.85)); line-height: 1.55; }
.hic-callout-text strong { color: var(--paper-900, #fff); font-weight: 600; }

.hic-gap-cta {
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.12), rgba(255, 170, 102, 0.03));
  border: 1px solid rgba(255, 107, 0, 0.35);
  padding: 22px 26px;
  border-radius: 14px;
  margin: 12px 0;
}
.hic-gap-name { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; color: #fff; }
.hic-gap-desc { font-size: 13.5px; color: rgba(255, 255, 255, 0.72); line-height: 1.55; }
/* leitura prática por pilar (coach.prioridades) */
.hic-gap-why { font-size: 0.95rem; color: var(--paper-800, rgba(255,255,255,0.82)); line-height: 1.6; margin-bottom: 12px; }
.hic-gap-step { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; background: rgba(255,107,0,0.08); border-radius: var(--r-sm, 8px); }
.hic-gap-step-label { font-size: 0.64rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #ff6b00; }
.hic-gap-step-text { font-size: 0.92rem; color: var(--paper-900, #fff); line-height: 1.5; }
/* legados (mantidos por compat; não mais renderizados no diagnóstico) */
.hic-gap-trail { font-size: 13.5px; color: #ff6b00; font-weight: 600; margin-bottom: 10px; }
.hic-gap-arg { font-size: 13.5px; color: rgba(255, 255, 255, 0.7); line-height: 1.55; font-style: italic; }

/* ────── Análise por IA ────── */
.hic-ai-loading {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255, 107, 0, 0.06);
  border: 1px dashed rgba(255, 107, 0, 0.3);
  border-radius: 12px;
  padding: 20px 22px;
}
.hic-ai-loading-dots { display: flex; gap: 6px; }
.hic-ai-loading-dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: #ff6b00; animation: hicAiPulse 1.4s infinite;
}
.hic-ai-loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.hic-ai-loading-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes hicAiPulse {
  0%, 80%, 100% { transform: scale(.5); opacity: .3; }
  40% { transform: scale(1); opacity: 1; }
}
.hic-ai-loading-text { font-size: 13.5px; color: rgba(255, 255, 255, 0.75); }

/* ── Curve loader (trilha de crescimento) — nos pontos de loading do HIC.
   Reduzido proporcionalmente (viewBox 240×160 → 96×64), tudo escala junto. ── */
.hic-curve-loader { --duration: 3.6s; width: 96px; height: 64px; flex: 0 0 auto; }
.hic-curve-loader svg { width: 100%; height: 100%; display: block; overflow: visible; }
.hic-curve-loader .grid-line { stroke: rgba(255,255,255,.08); stroke-width: 1; stroke-dasharray: 2 3; }
.hic-curve-loader .axis { stroke: rgba(255,255,255,.16); stroke-width: 1; }
.hic-curve-loader .curve-track { fill: none; stroke: rgba(255,255,255,.16); stroke-width: 1.5; }
.hic-curve-loader .curve {
  fill: none; stroke: #ff6b1a; stroke-width: 2.5; stroke-linecap: round;
  stroke-dasharray: 230; stroke-dashoffset: 230;
  filter: drop-shadow(0 0 6px rgba(255,107,26,.4));
  animation: hic-cl-draw var(--duration) linear infinite;
}
.hic-curve-loader .checkpoint { fill: #1c1c1c; stroke: #ff6b1a; stroke-width: 2; }
.hic-curve-loader .traveler {
  fill: #ff6b1a; filter: drop-shadow(0 0 8px #ff6b1a);
  offset-path: path("M 25 140 Q 80 138 130 105 T 215 25");
  offset-rotate: 0deg;
  animation: hic-cl-travel var(--duration) linear infinite;
}
.hic-curve-loader .checkpoint-glow { fill: #ff6b1a; opacity: 0; animation: hic-cl-flash var(--duration) linear infinite; }
.hic-curve-loader .cp-1 { animation-delay: 0.864s; }
.hic-curve-loader .cp-2 { animation-delay: 1.494s; }
.hic-curve-loader .cp-3 { animation-delay: 2.124s; }
.hic-curve-loader .cp-4 { animation-delay: 2.754s; }
@keyframes hic-cl-draw {
  0%   { stroke-dashoffset: 230; opacity: 1; }
  10%  { stroke-dashoffset: 230; opacity: 1; }
  80%  { stroke-dashoffset: 0;   opacity: 1; }
  95%  { stroke-dashoffset: 0;   opacity: 1; }
  100% { stroke-dashoffset: 0;   opacity: 0; }
}
@keyframes hic-cl-travel {
  0%   { offset-distance: 0%;   opacity: 0; }
  10%  { offset-distance: 0%;   opacity: 1; }
  80%  { offset-distance: 100%; opacity: 1; }
  95%  { offset-distance: 100%; opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}
@keyframes hic-cl-flash {
  0%, 100% { opacity: 0; r: 5; }
  2%       { opacity: 1; r: 9; }
  8%       { opacity: 0; r: 5; }
}

/* ── Versão fullscreen (interstitial) — espelha .compass-loader-fullscreen da Bússola ── */
.hic-curve-loader-fullscreen {
  position: fixed;
  inset: 0;
  background: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.45s ease;
}
.hic-curve-loader-fullscreen.is-fading { opacity: 0; pointer-events: none; }
.hic-curve-loader-fs-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: 24px;
  text-align: center;
}
.hic-curve-loader-lg { width: 220px; height: 147px; }
.hic-curve-loader-label {
  font-size: clamp(0.72rem, 1.6vw, 0.82rem);
  font-weight: 700;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: #ff8c3a;
}
.hic-curve-loader-sublabel {
  margin-top: -8px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  max-width: 34ch;
  line-height: 1.5;
}

.hic-ai-body { display: flex; flex-direction: column; gap: 10px; }
.hic-ai-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 107, 0, 0.30);
  border-radius: 14px;
  padding: 18px 22px;
}
.hic-ai-card-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #ff6b00;
  font-weight: 700;
  margin-bottom: 8px;
}
.hic-ai-headline {
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  letter-spacing: -0.01em;
}
.hic-ai-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
}
.hic-ai-card-warn { border-color: rgba(255, 180, 84, 0.35); }
.hic-ai-card-warn .hic-ai-card-label { color: #ffb454; }
.hic-ai-card-cta { background: linear-gradient(135deg, rgba(255, 107, 0, 0.10), rgba(255, 170, 102, 0.03)); }
.hic-ai-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 10px;
}
.hic-ai-next90 {
  list-style: none;
  counter-reset: hicain90;
  padding: 0;
  margin: 6px 0 0;
}
.hic-ai-next90 li {
  counter-increment: hicain90;
  position: relative;
  padding: 10px 12px 10px 44px;
  margin-bottom: 8px;
  background: rgba(255, 107, 0, 0.06);
  border-left: 3px solid #ff6b00;
  border-radius: 8px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}
.hic-ai-next90 li::before {
  content: counter(hicain90);
  position: absolute; left: 14px; top: 50%;
  transform: translateY(-50%);
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  background: #ff6b00; color: #fff;
  border-radius: 50%;
  font-weight: 700; font-size: 12px;
}

.hic-ai-fallback {
  display: flex; gap: 14px; align-items: flex-start;
  background: rgba(255, 180, 84, 0.05);
  border: 1px dashed rgba(255, 180, 84, 0.35);
  border-radius: 12px;
  padding: 18px 22px;
}
.hic-ai-fallback .icon { font-size: 1.4rem; line-height: 1; }
.hic-ai-fallback .body { font-size: 13.5px; color: rgba(255, 255, 255, 0.78); line-height: 1.55; }
.hic-ai-fallback strong { color: #ffb454; }

/* ════════════════════════════════════════════════════════
   Relatório IA expandido — Mesa de 5 agentes (espelha Bússola)
   ════════════════════════════════════════════════════════ */
.hic-ai-section-subhead {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 107, 0, 0.85);
  font-weight: 700;
  margin: 28px 0 10px;
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.hic-ai-card-hero {
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.10), rgba(255, 107, 0, 0.02));
  border: 1px solid rgba(255, 107, 0, 0.30);
}
.hic-ai-diag {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}
.hic-ai-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hic-ai-list li {
  position: relative;
  padding: 8px 12px 8px 26px;
  background: rgba(255, 255, 255, 0.02);
  border-left: 2px solid rgba(255, 107, 0, 0.45);
  border-radius: 6px;
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
}
.hic-ai-list li::before {
  content: '›';
  position: absolute;
  left: 10px; top: 7px;
  color: rgba(255, 107, 0, 0.85);
  font-weight: 700;
  font-size: 14px;
}
.hic-ai-card-warn .hic-ai-list li {
  border-left-color: rgba(255, 180, 84, 0.55);
}
.hic-ai-card-warn .hic-ai-list li::before { color: #ffb454; }
.hic-ai-list ol, ol.hic-ai-list { counter-reset: aili; }
ol.hic-ai-list li::before {
  counter-increment: aili;
  content: counter(aili);
  background: rgba(255, 107, 0, 0.18);
  border-radius: 50%;
  width: 18px; height: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; left: 6px; top: 9px;
}

/* Plano 90 dias — 3 cards mensais */
.hic-ai-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 8px;
}
.hic-ai-plan-card {
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex; flex-direction: column; gap: 6px;
  position: relative;
  overflow: hidden;
}
.hic-ai-plan-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}
.hic-ai-plan-card-1::before { background: linear-gradient(90deg, #ff6b00, #ff8c3a); }
.hic-ai-plan-card-2::before { background: linear-gradient(90deg, #ffb454, #5EE39B); }
.hic-ai-plan-card-3::before { background: linear-gradient(90deg, #5EE39B, #4dc4f9); }
.hic-ai-plan-mes {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 700;
}
.hic-ai-plan-foco {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}
.hic-ai-plan-acao {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}
@media (max-width: 760px) {
  .hic-ai-plan-grid { grid-template-columns: 1fr; }
}

/* Referências */
.hic-ai-refs {
  display: flex; flex-direction: column; gap: 10px;
}
.hic-ai-ref-card {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid #4dc4f9;
  border-radius: 10px;
}
.hic-ai-ref-fonte {
  font-weight: 700;
  color: #4dc4f9;
  font-size: 14px;
  margin-bottom: 4px;
}
.hic-ai-ref-contexto {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

/* ════════════════════════════════════════════════════════
   Tela "Mesa" — intermediária entre paradoxos e relatório.
   Mostra agentes IA "discutindo" enquanto a chain finaliza.
   ════════════════════════════════════════════════════════ */
.hic-mesa-header {
  text-align: center;
  margin-bottom: 28px;
}
.hic-mesa-title {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 12px 0 10px;
  color: #fff;
}
.hic-mesa-sub {
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.55);
  max-width: 620px;
  margin: 0 auto;
}
.hic-mesa-team {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 760px;
  margin: 0 auto 28px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  min-height: 180px;
}
.hic-mesa-bubble {
  animation: hic-mesa-bubble-in 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes hic-mesa-bubble-in {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.hic-mesa-emoji { margin-right: 6px; font-size: 14px; }
.hic-mesa-status {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin: 8px auto 28px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.6);
}
.hic-mesa-status-dots { display: flex; gap: 5px; }
.hic-mesa-status-dots span {
  width: 7px; height: 7px;
  background: #ff8c3a;
  border-radius: 50%;
  animation: hic-mesa-dot-bounce 1.2s ease-in-out infinite;
}
.hic-mesa-status-dots span:nth-child(2) { animation-delay: 0.15s; }
.hic-mesa-status-dots span:nth-child(3) { animation-delay: 0.30s; }
@keyframes hic-mesa-dot-bounce {
  0%, 100% { transform: translateY(0);   opacity: 0.4; }
  50%      { transform: translateY(-5px); opacity: 1;   }
}

/* Mesa de agentes — bolhas de chat (reused na seção do relatório também) */
.hic-ai-team-discussion {
  display: flex; flex-direction: column; gap: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.hic-ai-team-bubble {
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid rgba(255, 107, 0, 0.55);
  max-width: 100%;
}
.hic-ai-team-bubble.hic-ai-team-analista-dimensoes  { border-left-color: #ff6b00; }
.hic-ai-team-bubble.hic-ai-team-analista-tensions   { border-left-color: #ffb454; }
.hic-ai-team-bubble.hic-ai-team-especialista-trilhas{ border-left-color: #5EE39B; }
.hic-ai-team-bubble.hic-ai-team-coach-acao          { border-left-color: #4dc4f9; }
.hic-ai-team-nome {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.7);
}
.hic-ai-team-bubble.hic-ai-team-analista-dimensoes .hic-ai-team-nome   { color: #ff6b00; }
.hic-ai-team-bubble.hic-ai-team-analista-tensions .hic-ai-team-nome    { color: #ffb454; }
.hic-ai-team-bubble.hic-ai-team-especialista-trilhas .hic-ai-team-nome { color: #5EE39B; }
.hic-ai-team-bubble.hic-ai-team-coach-acao .hic-ai-team-nome           { color: #4dc4f9; }
.hic-ai-team-fala {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

/* ════════════════════════════════════════════════════════
   AI THUMBS FEEDBACK (replicado idêntico ao da Bússola)
   Variáveis locais pra não depender de tokens.css
   ════════════════════════════════════════════════════════ */
.hic-report-feedback-scope {
  --orange-500-local: #ff6b00;
  --paper-900-local: #ffffff;
  --ease-out-local: cubic-bezier(0.16, 1, 0.3, 1);
}

.hic-feedback-hint {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 14px 0 4px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,138,58,.3);
  background: rgba(255,138,58,.08);
  font-size: .85rem;
  line-height: 1.4;
  color: rgba(255,255,255,.78);
  text-align: left;
}
.hic-feedback-hint i { color: #ff8c3a; flex: 0 0 auto; }

.ai-thumbs {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,138,58,.18);
  background: linear-gradient(180deg, rgba(255,138,58,.06), rgba(255,255,255,.012));
  font-size: .86rem;
  color: rgba(255,255,255,.74);
}
.ai-thumbs-label {
  flex: 1;
  font-weight: 600;
  font-size: .9rem;
  color: rgba(255,255,255,.8);
  letter-spacing: -.005em;
}
.ai-thumb-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.7);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.02rem;
  flex: 0 0 auto;
  transition: transform .18s cubic-bezier(0.16,1,0.3,1), background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
  padding: 0;
  font-family: inherit;
}
.ai-thumb-btn:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.1);
  color: #fff;
  border-color: rgba(255,255,255,.32);
}
.ai-thumb-btn:active { transform: translateY(0) scale(.94); }
.ai-thumb-btn:focus-visible {
  outline: 2px solid rgba(255,179,71,.7);
  outline-offset: 3px;
}
.ai-thumb-btn.active.up {
  background: rgba(74,222,128,.18);
  border-color: rgba(74,222,128,.6);
  color: #4ade80;
  box-shadow: 0 0 0 5px rgba(74,222,128,.1);
}
.ai-thumb-btn.active.down {
  background: rgba(248,113,113,.16);
  border-color: rgba(248,113,113,.55);
  color: #f87171;
  box-shadow: 0 0 0 5px rgba(248,113,113,.1);
}
.ai-thumb-btn:disabled { cursor: default; }
.ai-thumb-btn.dimmed { opacity: .3; }

/* ════════════════════════════════════════════════════════
   REPORT RATING (replicado idêntico ao da Bússola)
   Auto-save: ao clicar estrela manda imediato; ao perder
   foco do textarea, manda update com comentário.
   ════════════════════════════════════════════════════════ */
.report-rating {
  margin-top: 36px;
  margin-bottom: 28px;
  padding: 32px 28px 28px;
  background:
    radial-gradient(ellipse at top, rgba(255,107,0,.12), transparent 65%),
    linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.01));
  border: 1px solid rgba(255,107,0,.28);
  border-radius: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 70px -34px rgba(255,107,0,.6);
}
.report-rating::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% -20%, rgba(255,107,0,.18), transparent 50%);
  pointer-events: none;
}
.report-rating-eyebrow {
  position: relative;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #ff8c3a;
  margin-bottom: 8px;
}
.report-rating-title {
  position: relative;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
  letter-spacing: -.01em;
}
.report-rating-sub {
  position: relative;
  font-size: .9rem;
  color: rgba(255,255,255,.55);
  margin: 0 0 24px;
}
.stars {
  position: relative;
  display: inline-flex;
  gap: 10px;
  padding: 6px 10px;
  direction: ltr;
}
.stars button {
  background: none;
  border: 0;
  padding: 6px;
  cursor: pointer;
  font-size: 2.5rem;
  line-height: 1;
  color: rgba(255,179,71,.28);
  transition: transform .18s cubic-bezier(0.16, 1, 0.3, 1), color .18s cubic-bezier(0.16, 1, 0.3, 1), text-shadow .18s cubic-bezier(0.16, 1, 0.3, 1), filter .18s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
  filter: drop-shadow(0 0 0 transparent);
  font-family: inherit;
}
.stars button:hover {
  transform: translateY(-3px) scale(1.18);
}
.stars[data-hover="1"] button:nth-child(-n+1),
.stars[data-hover="2"] button:nth-child(-n+2),
.stars[data-hover="3"] button:nth-child(-n+3),
.stars[data-hover="4"] button:nth-child(-n+4),
.stars[data-hover="5"] button:nth-child(-n+5),
.stars[data-value="1"] button:nth-child(-n+1),
.stars[data-value="2"] button:nth-child(-n+2),
.stars[data-value="3"] button:nth-child(-n+3),
.stars[data-value="4"] button:nth-child(-n+4),
.stars[data-value="5"] button:nth-child(-n+5) {
  color: #ffb347;
  text-shadow: 0 0 22px rgba(255,179,71,.55), 0 0 8px rgba(255,107,0,.7);
  filter: drop-shadow(0 4px 6px rgba(255,107,0,.35));
}
.stars[data-value]:not([data-value=""]) button {
  animation: hic-starPulse .55s ease;
}
@keyframes hic-starPulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.35); }
  100% { transform: scale(1); }
}
.stars button:focus-visible {
  outline: 2px solid rgba(255,179,71,.7);
  outline-offset: 4px;
  border-radius: 4px;
}
/* Convite: onda âmbar enquanto não houver nota, para no hover e após avaliar */
@media (prefers-reduced-motion: no-preference) {
  .stars:not([data-value]):not([data-value=""]):not(:hover) button {
    animation: hic-starInvite 3.4s ease-in-out infinite;
  }
  .stars:not([data-value]):not(:hover) button:nth-child(1) { animation-delay: 0s; }
  .stars:not([data-value]):not(:hover) button:nth-child(2) { animation-delay: .11s; }
  .stars:not([data-value]):not(:hover) button:nth-child(3) { animation-delay: .22s; }
  .stars:not([data-value]):not(:hover) button:nth-child(4) { animation-delay: .33s; }
  .stars:not([data-value]):not(:hover) button:nth-child(5) { animation-delay: .44s; }
}
@keyframes hic-starInvite {
  0%, 68%, 100% {
    color: rgba(255,179,71,.28);
    text-shadow: none;
    transform: translateY(0);
  }
  14% {
    color: rgba(255,179,71,.92);
    text-shadow: 0 0 18px rgba(255,179,71,.5), 0 0 6px rgba(255,107,0,.55);
    transform: translateY(-2px);
  }
}
.rating-label {
  position: relative;
  min-height: 24px;
  margin-top: 6px;
  font-size: .92rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  letter-spacing: -.005em;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .25s ease, transform .25s ease;
}
.rating-label.visible {
  opacity: 1;
  transform: translateY(0);
}
.rating-feedback {
  position: relative;
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows .35s cubic-bezier(0.16, 1, 0.3, 1), opacity .35s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
  text-align: left;
}
.rating-feedback > * { min-height: 0; overflow: hidden; }
.rating-feedback.open {
  grid-template-rows: 1fr;
  margin-top: 22px;
  opacity: 1;
}
.rating-feedback label {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: 8px;
}
.rating-feedback textarea {
  width: 100%;
  min-height: 96px;
  max-height: 220px;
  resize: vertical;
  padding: 12px 14px;
  font-family: inherit;
  font-size: .95rem;
  color: #fff;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  transition: border-color .18s ease, box-shadow .18s ease;
  box-sizing: border-box;
}
.rating-feedback textarea::placeholder { color: rgba(255,255,255,.3); }
.rating-feedback textarea:focus {
  outline: none;
  border-color: rgba(255,107,0,.55);
  box-shadow: 0 0 0 3px rgba(255,107,0,.18);
}
.rating-optional {
  color: rgba(255,255,255,.3);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}
.rating-status {
  margin-top: 10px;
  min-height: 18px;
  font-size: .76rem;
  color: rgba(255,255,255,.45);
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transition: opacity .25s ease;
}
.rating-status.visible { opacity: 1; }
.rating-status .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74,222,128,.45);
}
.rating-status.saving .dot {
  background: #ffb347;
  animation: hic-ratingSavingPulse 1s infinite;
}
.rating-status.saved .dot {
  animation: hic-ratingSavedPop .35s ease;
}
@keyframes hic-ratingSavingPulse {
  0%, 100% { opacity: .4; transform: scale(.9); }
  50% { opacity: 1; transform: scale(1.1); }
}
@keyframes hic-ratingSavedPop {
  0% { transform: scale(.5); }
  60% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

@media (max-width: 520px) {
  .report-rating { padding: 24px 18px 22px; }
  .report-rating-title { font-size: 1.15rem; }
  .stars { gap: 6px; }
  .stars button { font-size: 2.1rem; padding: 5px; }
}

@media (max-width: 700px) {
  .hic-dim-row { grid-template-columns: 1fr 80px 50px; gap: 10px; }
  .hic-dim-row .dim-bar { width: 80px; }
  .hic-phase-dots { bottom: 120px; }
  .hic-landing-cta { bottom: 36px; }
  .hic-tension-mini { width: 100px; }
  .hic-mc-option { padding: 16px; font-size: 14px; gap: 12px; }
  .hic-mc-key { width: 32px; height: 32px; font-size: 13px; }
}
