/* Trivsel — consultant shell and employee questionnaire.
   The candidate flow reuses test.css (item + scale). Only the station
   counts and the product colour differ from Indikator. */

.trivsel-app,
.trivsel-test {
  --petrol: #1f4e79;
  --accent: #1f4e79;
}

.wordmark--trivsel {
  font-weight: 650;
  letter-spacing: -0.02em;
  color: #1f4e79;
  text-decoration: none;
}

.trivsel-test .scale--2 .scale__points {
  grid-template-columns: repeat(2, 1fr);
  max-width: 16rem;
  margin-inline: auto;
}
.trivsel-test .scale--2 .scale__points::before {
  left: 18%;
  right: 18%;
}

.trivsel-test .scale--5 .scale__points {
  grid-template-columns: repeat(5, 1fr);
}
.trivsel-test .scale--5 .scale__points::before {
  left: 10%;
  right: 10%;
}

.trivsel-test .scale--10 .scale__points {
  grid-template-columns: repeat(10, 1fr);
  gap: 0;
}
.trivsel-test .scale--10 .scale__points::before {
  left: calc(100% / 20);
  right: calc(100% / 20);
}
.trivsel-test .scale--10 .pt--near .pt__dot {
  width: 0.85rem;
  height: 0.85rem;
}
.trivsel-test .scale--10 .pt--mid .pt__dot {
  width: 1.15rem;
  height: 1.15rem;
}

.follow {
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--mist);
}
.follow[hidden] { display: none; }
.follow__prompt {
  font-size: 0.9375rem;
  color: var(--ink-muted);
  margin: 0 0 0.75rem;
}
.follow__opts {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.follow__opt {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 2.1rem;
  cursor: pointer;
  font-size: 0.9375rem;
}
.follow__opt input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}
.follow__box {
  flex: 0 0 1.15rem;
  width: 1.15rem;
  height: 1.15rem;
  border: 1.5px solid var(--mist-strong);
  background: var(--paper);
  border-radius: 2px;
}
.follow__box--radio { border-radius: 50%; }
.follow__opt:hover .follow__box { border-color: var(--petrol); }
.follow__opt input:checked + .follow__box {
  background: var(--petrol);
  border-color: var(--petrol);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--petrol) 18%, transparent);
}
.follow__opt input:checked + .follow__box--radio {
  background: var(--paper);
  box-shadow:
    inset 0 0 0 3.5px var(--paper),
    inset 0 0 0 7px var(--petrol),
    0 0 0 3px color-mix(in srgb, var(--petrol) 12%, transparent);
}
.follow__opt input:focus-visible + .follow__box {
  outline: 2px solid var(--petrol);
  outline-offset: 3px;
}
.follow__text {
  width: 100%;
  resize: vertical;
  min-height: 5.5rem;
}
.follow--open {
  margin-top: 1.75rem;
}

.tr-report {
  max-width: 48rem;
}

.tr-cover {
  margin-bottom: 2.5rem;
}

.tr-cover__place {
  font-size: 1.25rem;
  font-weight: 600;
}

.tr-cover__meta {
  color: var(--ink-muted, #56635f);
}

.tr-section {
  margin: 2.5rem 0;
}

.tr-section h2 {
  border-bottom: 2px solid #1f4e79;
  padding-bottom: 0.3rem;
}

.tr-topic {
  margin: 1.8rem 0 2.2rem;
}

.tr-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 1rem 0;
}

.tr-table th,
.tr-table td {
  border: 0;
  border-bottom: 1px solid #e4e8ed;
  padding: 0.4rem 0.55rem;
  text-align: left;
}

.tr-table thead th {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b7785;
  border-bottom: 1.5px solid #1a2430;
  background: transparent;
}

.tr-table__band th {
  background: #f4f6f8;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1f4e79;
  border-bottom: 1px solid #c5ced8;
}

.tr-table .data {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.86rem;
}

.tr-table td.is-green {
  background: #e6f0e8;
  color: #2f6b45;
  font-weight: 700;
  box-shadow: inset 3px 0 0 #2f6b45;
}

.tr-table td.is-red {
  background: #f6e6e2;
  color: #a6462f;
  font-weight: 700;
  box-shadow: inset 3px 0 0 #a6462f;
}

.tr-table--blank td,
.tr-table--blank th {
  height: 2.8rem;
  border-bottom: 1px solid #c5ced8;
}

.tr-area-lead {
  margin: 0.4rem 0 1.2rem;
}

.tr-talk {
  margin: 1rem 0 1.35rem;
  padding: 0.9rem 1rem 0.95rem 1.1rem;
  border: 1px solid #e4e8ed;
  border-left: 4px solid #4a7ab5;
  background: #f7f8fa;
}

.tr-talk--low,
.tr-talk--present {
  border-left-color: #a6462f;
  background: #faf4f1;
}

.tr-talk--high {
  border-left-color: #2f6b45;
  background: #f3f7f3;
}

.tr-talk--mid {
  border-left-color: #8a5a28;
  background: #f7f4ef;
}

.tr-talk__kicker {
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7785;
}

.tr-talk h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.tr-talk__lead {
  margin: 0 0 0.65rem;
}

.tr-talk__qs {
  margin: 0 0 0 1.15rem;
  padding: 0;
}

.tr-talk__qs li {
  margin: 0 0 0.35rem;
}

.tr-callout {
  border-left: 3px solid #a6462f;
  background: #faf4f1;
  padding: 0.85rem 1rem;
  margin: 1rem 0;
}

.tr-figure {
  margin: 1.2rem 0;
  text-align: center;
}

.tr-figure__svg svg,
.tr-chart svg {
  max-width: 100%;
  height: auto;
}

.tr-chart {
  margin: 0.8rem 0 1rem;
}

@media (max-width: 640px) {
  .tr-scale {
    flex-direction: column;
  }
}
