/* ===================================
   /acl-prep-roadmap only. Builds on css/acl-tools.css (shared tool classes, including the
   joined .elig-seg control and the .elig-result block) and adds the plan toggle and the math
   routes table. Editorial: hairlines, tabular type, no tints. Tokens come from
   eduavenues-ui.css; no raw colors here.
   =================================== */

/* Without JavaScript every plan shows, one after another, and the picker is hidden. */
html:not(.rm-ready) .rm-picker {
  display: none;
}

html:not(.rm-ready) .rm-result {
  margin-top: 0;
}

.rm-result {
  scroll-margin-top: 120px;
}

.rm-ready .rm-plan:not(.is-active) {
  display: none;
}

html:not(.rm-ready) .rm-plan + .rm-plan {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--mc-line);
}

.rm-steps li strong {
  color: var(--mc-ink);
}

/* Math routes table: hairline rules, tabular figures. */
.rm-table-wrap {
  margin: 24px 0 0;
  overflow-x: auto;
}

.rm-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.45;
}

.rm-table th,
.rm-table td {
  padding: 12px 16px 12px 0;
  border-bottom: 1px solid var(--mc-line);
  text-align: left;
  vertical-align: top;
}

.rm-table th {
  border-bottom-color: var(--mc-ink);
  color: var(--mc-ink);
  font-size: 0.8125rem;
  font-weight: 600;
}

.rm-table td {
  color: var(--mc-ink);
}

.rm-table td:last-child {
  color: var(--mc-muted);
}

.rm-after-table {
  margin-top: 20px;
}

@media (max-width: 640px) {
  .rm-table {
    font-size: 0.875rem;
  }

  .rm-table th,
  .rm-table td {
    padding-right: 10px;
  }

  .rm-picker .elig-seg--track span {
    padding: 8px 4px;
    font-size: 0.8125rem;
  }
}
