/*
 * FIXER Sim research page (/sim). Loaded after site.css; uses its tokens (--yellow, --line, --muted ...).
 * Status chips always carry their meaning in the words, never in color alone.
 */
.page-title h1 {
  max-width: 980px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.page-title .chips {
  margin-top: 28px;
}

/* ---------- status chips ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02em;
  vertical-align: 1px;
  white-space: normal;
}
.chip::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--soft);
}
.chips .chip::before {
  display: none;
}
.chip--measured::before {
  background: #3ddc84;
}
.chip--sourced {
  border-color: var(--soft);
}
.chip--spec {
  border-color: rgba(255, 253, 1, 0.55);
  color: var(--yellow);
}
.chip--spec::before {
  background: var(--yellow);
}
.chip--assumed {
  border-style: dashed;
}
.chip--assumed::before {
  background: transparent;
  border: 1.5px solid var(--soft);
}
.chip--modelled {
  background: var(--yellow-glow);
  border-color: rgba(255, 253, 1, 0.35);
}
.chip--modelled::before {
  background: var(--yellow);
}
.chip--planned,
.chip--open {
  color: var(--muted);
}
.chip--planned::before,
.chip--open::before {
  background: transparent;
  border: 1.5px solid var(--muted);
}

/* ---------- three questions ---------- */
.qs {
  counter-reset: q;
  border-top: 1px solid var(--line);
}
.q {
  counter-increment: q;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px 16px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.q::before {
  content: counter(q, decimal-leading-zero);
  color: var(--yellow);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding-top: 6px;
}
.q__text {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
}
.q__status {
  grid-column: 2;
}
@media (min-width: 900px) {
  .q {
    grid-template-columns: 44px 1fr auto;
    align-items: baseline;
  }
  .q__status {
    grid-column: auto;
  }
}
.qs + .section__lead {
  margin-top: 28px;
}

/* ---------- Twin / Train / Transfer ---------- */
.triad {
  display: grid;
  gap: 12px;
}
@media (min-width: 960px) {
  .triad {
    grid-template-columns: repeat(3, 1fr);
  }
}
.triad__col {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink);
}
.triad__col h3 {
  font-size: 21px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.triad__col p {
  margin-top: 14px;
  color: var(--muted);
}
.triad__col p .chip {
  margin: 0 2px 0 4px;
}
.triad__col .triad__status {
  color: var(--soft);
}
.triad + .answer {
  margin-top: 24px;
}

/* ---------- legend ---------- */
.legend {
  border-top: 1px solid var(--line);
}
.legend__row {
  display: grid;
  gap: 10px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 820px) {
  .legend__row {
    grid-template-columns: 260px 1fr;
    gap: 32px;
    align-items: baseline;
  }
}
.legend dd {
  color: var(--muted);
}
.legend dd .chip {
  margin: 4px 6px 0 0;
}

/* ---------- limits ---------- */
.limits {
  display: grid;
  gap: 12px;
}
@media (min-width: 900px) {
  .limits {
    grid-template-columns: repeat(3, 1fr);
  }
}
.limit {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink);
}
.limit h3 {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.limit p {
  margin-top: 12px;
  color: var(--muted);
}
.limit p .chip {
  margin-right: 6px;
}
.section h2#limits-title {
  font-size: clamp(28px, 4.2vw, 48px);
}
.subhead {
  margin-top: 48px;
  font-size: 20px;
  font-weight: 800;
}
.ticks--cols {
  grid-template-columns: 1fr;
}
@media (min-width: 820px) {
  .ticks--cols {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 40px;
  }
}
.limits + .subhead + .ticks + .answer {
  margin-top: 40px;
}

/* ---------- status banner near the top (Oct 31 update, rule 17): what this page is and is not ---------- */
.status-banner {
  margin: 24px 0 8px;
  padding: 18px 20px;
  border: 1px solid var(--yellow);
  border-radius: 14px;
  background: rgba(255, 253, 1, 0.06);
  max-width: 760px;
}
.page-title .status-banner__gmv {
  margin: 0 0 10px;
  color: var(--yellow);
  max-width: none;
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 800;
  line-height: 1.2;
}
.page-title .status-banner ul {
  list-style: disc;
  margin: 0;
  padding-left: 20px;
}
.page-title .status-banner li {
  margin: 4px 0;
  color: var(--soft);
}
