/* ===============================
   Evaluation modal (two-axis)
================================= */

/* Hero: two co-equal readings side by side */
.eval-hero {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-bottom: 0.5rem;
}

.eval-hero-col {
  flex: 1 1 0;
  text-align: center;
  padding: 0.5rem 0.75rem 0.75rem;
}

.eval-hero-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6c757d;
  margin-bottom: 0.5rem;
}

.eval-hero-sublabel {
  font-size: 0.8rem;
  color: #868e96;
  margin-bottom: 0.6rem;
  line-height: 1.3;
  min-height: 2.1em;
}

.eval-hero-note {
  text-align: center;
  font-size: 0.82rem;
  color: #868e96;
  font-style: italic;
  margin: 0 auto 1rem;
  max-width: 40rem;
}

.eval-section-sub {
  font-size: 0.83rem;
  color: #868e96;
  margin: -0.35rem 0 0.7rem;
  line-height: 1.4;
}

.eval-hero-sep {
  flex: 0 0 1px;
  background: #e9ecef;
  position: relative;
  margin: 0.25rem 0;
}

/* Grade chip (Axis A headline) */
.eval-grade-chip {
  display: inline-block;
  font-size: 1.35rem;
  font-weight: 600;
  padding: 0.4rem 1.1rem;
  border-radius: 999px;
  color: #fff;
}
.grade-strong {
  background: #198754;
}
.grade-adequate {
  background: #6c8a3c;
}
.grade-weak {
  background: #b8860b;
}
.grade-poor {
  background: #b02a37;
}
.grade-unknown {
  background: #6c757d;
}

/* Position chip (Axis B headline) */
.eval-pos-chip {
  display: inline-block;
  font-size: 1.15rem;
  font-weight: 600;
  padding: 0.4rem 1.1rem;
  border-radius: 999px;
  border: 2px solid transparent;
}
.pos-inmotion {
  background: #e7f1ff;
  color: #0a58ca;
  border-color: #9ec5fe;
}
.pos-awaiting {
  background: #fff3cd;
  color: #997404;
  border-color: #ffe69c;
}
.pos-negative {
  background: #f8d7da;
  color: #b02a37;
  border-color: #f1aeb5;
}

.eval-pos-chip-sm {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: #eef0f2;
  color: #495057;
}
.eval-pos-chip-sm.pos-awaiting {
  background: #fff3cd;
  color: #997404;
}
.eval-pos-chip-sm.pos-inmotion {
  background: #e7f1ff;
  color: #0a58ca;
}
.eval-pos-chip-sm.pos-negative {
  background: #f8d7da;
  color: #b02a37;
}

.eval-pos-gloss {
  text-align: center;
  font-size: 0.92rem;
  color: #495057;
  margin: 0.25rem auto 1rem;
  max-width: 42rem;
}

/* Sections */
.eval-section {
  border-top: 1px solid #eef0f2;
  padding-top: 0.85rem;
  margin-top: 0.85rem;
}
.eval-section-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6c757d;
  margin-bottom: 0.6rem;
}

/* Component rows */
.eval-comp-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.35rem 0;
  gap: 0.75rem;
}
.eval-comp-name {
  font-size: 0.95rem;
  color: #212529;
}
.eval-comp-levels {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.eval-level-chip {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.1rem 0.55rem;
  border-radius: 999px;
}
.level-present {
  background: #d1e7dd;
  color: #0f5132;
}
.level-partial {
  background: #fff3cd;
  color: #664d03;
}
.level-absent {
  background: #f8d7da;
  color: #842029;
}
.level-unknown {
  background: #e9ecef;
  color: #495057;
}

/* LLM concur (quiet) vs disagree (loud) */
.eval-llm-concur {
  font-size: 0.78rem;
  color: #6c757d;
  font-style: italic;
  cursor: help;
}
.eval-llm-disagree .eval-level-chip {
  outline: 2px solid #b02a37;
  outline-offset: 1px;
}

.eval-comp-rationale {
  font-size: 0.86rem;
  color: #495057;
  background: #f8f9fa;
  border-left: 3px solid #b8860b;
  padding: 0.5rem 0.7rem;
  border-radius: 4px;
  margin: 0.15rem 0 0.5rem;
}
.eval-disagree-note {
  border-left-color: #0d6efd;
}

.eval-judge-note {
  font-size: 0.86rem;
  color: #495057;
  margin: 0.6rem 0 0;
}
.eval-judge-note.muted {
  color: #adb5bd;
  font-style: italic;
}

.eval-warnings {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.88rem;
  color: #664d03;
}

.eval-raw {
  margin-top: 1rem;
}
.eval-raw summary {
  cursor: pointer;
  font-size: 0.82rem;
  color: #6c757d;
}
.eval-raw pre {
  font-size: 0.74rem;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 4px;
  padding: 0.6rem;
  margin-top: 0.4rem;
  max-height: 22rem;
  overflow: auto;
}

/* Fatigue band hint next to the interactional fatigue component. */
.eval-fatigue-band {
  font-size: 0.8rem;
  color: #868e96;
  font-weight: 400;
}

/* Position headline chip inside the (demoted) position section. */
.eval-position-headline {
  text-align: center;
  margin: 0.25rem 0 0.5rem;
}
