/* CAS Exam 5 to 9 product pages (cas5.html … cas9.html). Loaded after
   fm.css (every shared product-page rule: tokens, Today card, path,
   collages, score cards, instructor cards, price terms, checked lists,
   about, questions, close) and ila101.css (the written-answer pieces the
   FSA, ALTAM and ASTAM pages share: the problem and its sheet, the files,
   the graded parts, the tip, the grading chat, the flashcards). This adds
   only what a CAS page draws differently: the student-code link in the
   price terms and a typed answer under a written-answer problem. Each
   page's outline sets its own card count (fm.css's .parts--1 /
   .parts--2). Every colour is a Clear token or an
   fm.css page token. */

/* The student price's link to the student-code page, in the terms. */
.cas-code { color: var(--primary-text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.cas-code:hover { text-decoration-thickness: 2px; }
.cas-code:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; border-radius: 3px; }

/* A written-answer problem answered in text: the student's typed answer,
   on the response box's paper, under the parts. */
.cas-answer { width: 150px; margin-top: 12px; padding: 8px 10px; border: 1px solid var(--hair); border-radius: var(--radius-md); font-family: var(--font-reading); font-size: 12.5px; line-height: 1.45; color: var(--ink); }
.cas-answer b { display: block; margin-bottom: 2px; font-family: var(--font-sans); font-size: 10.5px; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-foreground); }

/* A course page before its course opens (cas6c.html): a line in place of
   the test windows list. */
.soon-note { margin-top: 14px; font-size: 16px; line-height: 24px; color: var(--muted-foreground); }

/* A page with no test windows to list (cas6c.html) keeps cas.js's
   .windows ol, empty and hidden: .windows ol's display would otherwise
   show the "Next dates coming soon" row cas.js puts in it. */
.windows ol[hidden] { display: none; }

/* "Coming January 2027" in the price's place (cas6c.html): the price's
   style, one step smaller on a phone so it keeps one line. */
@media (max-width: 600px) {
  .price--soon strong { font-size: 32px; }
}
