/* Shared Target Analysis self-assessment styles */

.assess-intro {
  margin-top: 12px;
}
.assess-intro p {
  margin: 0;
  color: var(--soft);
  font-size: 14px;
  line-height: 1.45;
}
.assess-intro p + p {
  margin-top: 8px;
}
.assess-meta {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}
/* Subtle tier - light blue fill (see assets/button-guide.html) */
.assess-pdf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 9999px;
  border: 1px solid rgba(0, 88, 176, 0.16);
  background: var(--blue-soft, #E8F2FC);
  color: var(--blue-deep, #0058B0);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}
.assess-pdf:hover {
  background: #D6E9F8;
}
.assess-pdf:active {
  transform: scale(0.98);
}

/* Flat text legend - no nested grey card or white chips */
.likert-legend {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 12px;
  line-height: 1.5;
  color: var(--soft);
}
.likert-legend-title {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-weight: 700;
  font-size: 12px;
}
.likert-legend-items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 420px) {
  .likert-legend-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.likert-legend-item {
  display: block;
  min-width: 0;
  padding: 2px 0;
  color: var(--soft);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.likert-legend-item b {
  color: var(--text);
  font-weight: 800;
  margin-right: 4px;
}

.section-label {
  margin: 18px 0 8px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.q-card {
  border: 1px solid var(--line, #D2D2D7);
  border-radius: 18px;
  background: var(--surface, #FFFFFF);
  padding: 14px 14px 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}
.q-card + .q-card {
  margin-top: 10px;
}
.q-card.unanswered {
  box-shadow: 0 0 0 2px rgba(0, 113, 227, 0.28);
}
.q-num {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.q-text {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

/* Simple numbered radio row - no mini-card stack */
.likert {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 4px;
}
.likert label {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 40px;
  padding: 0;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.12s ease, background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}
.likert label:active {
  transform: scale(0.96);
}
.likert input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.likert-face {
  display: grid;
  place-items: center;
  text-align: center;
}
.likert-num {
  font-size: 15px;
  font-weight: 800;
  color: var(--soft);
  line-height: 1;
}
.likert-name {
  display: none;
}
.likert label:has(input:checked) {
  border-color: transparent;
  background: var(--blue);
}
.likert label:has(input:checked) .likert-num {
  color: #fff;
}
.likert label:not(:has(input:checked)):hover {
  background: rgba(0, 113, 227, 0.08);
}
.likert-ends {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.likert-ends span {
  white-space: nowrap;
}

.reflect-card {
  margin-top: 16px;
}
.reflect-card .field {
  margin-top: 12px;
}
.reflect-card .field:first-of-type {
  margin-top: 0;
}

.progress-note {
  margin: 12px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.results {
  display: none;
}
.results.is-visible {
  display: block;
}
.assess-form.is-hidden {
  display: none;
}

.score-hero {
  text-align: center;
  padding: 8px 4px 4px;
}
.score-hero .score-num {
  margin: 0;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
}
.score-hero .score-label {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.score-hero .score-summary {
  margin: 10px auto 0;
  max-width: 34ch;
  color: var(--soft);
  font-size: 14px;
  line-height: 1.4;
}

.section-scores {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}
.section-score {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.section-score:last-child {
  border-bottom: 0;
}
.section-score .name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}
.section-score .val {
  font-size: 13px;
  font-weight: 800;
  color: var(--blue);
}
.section-score.is-low .val {
  color: #c93400;
}

.hvt-list {
  margin: 0;
  padding-left: 18px;
}
.hvt-list li {
  margin: 6px 0;
  color: var(--soft);
  font-size: 13px;
  line-height: 1.4;
}

.rec-list {
  display: grid;
  gap: 0;
}
.rec-link {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: transparent;
  color: inherit;
  text-decoration: none;
}
.rec-link:last-child {
  border-bottom: 0;
}
.rec-link:active {
  transform: scale(0.99);
}
.rec-link .rec-name {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.rec-link .rec-why {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}
.rec-link .rec-go {
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
}

.soft-prompt {
  margin-top: 8px;
  color: var(--soft);
  font-size: 13px;
  line-height: 1.4;
}

/* Sibling pills share equal width = widest label (copy-driven, per tool) */
.dock-split {
  display: inline-grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 8px;
  justify-content: center;
  max-width: 100%;
  text-align: center;
}
.dock-split .pill {
  width: 100%;
  min-width: 0;
  justify-content: center;
  align-items: center;
  text-align: center;
  white-space: nowrap;
}
.dock-full {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

@media print {
  .assess-pdf,
  .likert label {
    box-shadow: none !important;
  }
  .results {
    display: block !important;
  }
  .assess-form.is-hidden {
    display: block !important;
  }
  .likert label:has(input:checked) {
    background: rgba(0, 113, 227, 0.1) !important;
    border: 1px solid #0071E3 !important;
  }
  .likert label:has(input:checked) .likert-num {
    color: #0071E3 !important;
  }
}
