/* classes.css - the look of the Classes page and its Course Descriptions
   screen (classes.js; CLASSES_PAGE 0001)
   ------------------------------------------------------------------------
   Every number here is the approved drawings': Concept Art/classes.html
   frames 1 and 2 (.body, .banner, .bkicker, .btitle, .bsub, .pbtn, .quiet,
   .qline, .qsub, .gapA, .shead, .cards, .crow, .cname, .cwhen, .chev),
   course_description.html frames 1 to 5 (.col, .cbody, .cinner, .chead,
   .cprose, .cstate, .sbar, .sthumb, .fadepanel, .btn, .b62, .bblue, .bneut,
   .toast, .toastpill), wide_list_pages.html K1, K2, CD1 to CD3 (.cbody2,
   .banner, .quiet2, .cdpanel, .cdinner, .chead2, .cdstate, .tblock, .wact
   .btn, .wrap2, .wtoast) and element_icon_buttons.html §3 and §4, option A
   (.elA, with D2096's alignment). The light is D1699's, by shell.css's two
   tokens alone: each course row a list bubble; the Now Open panel the lit
   bubble in its see-through form (kit.html §4: the light in place of its
   own fill); every other panel, the description panel and the pill flat as
   their frames draw them. The band colors are shell.css's tokens (D550);
   the headlines take --font-headline (FINISH 0001). Every number is before
   nav.js's scale s; .nv-wide on the page's screen is nav.js's wide layout.

   NEVER a typed mark: every mark is drawn: caret 3 right (kit.html §1) from borders, the
      element signs as the kit's own drawing (classes.js); never a typed
      character. Loaded from this origin (style-src 'self'): no inline style;
      a size classes.js computes is set through the element's style object. */

/* == THE PAGES: nav's body. == */
.cl-page,
.cl-dpage {
  position: absolute;
  inset: 0;
}

.cl-btn {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* == CLASSES: the panel, the 28 px gap, Our Courses and the rows, one
   column 14 px in (24 px wide), scrolling with §1e's bean when longer than
   its room. == */
.cl-scroll {
  position: absolute;
  inset: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.cl-scroll::-webkit-scrollbar {
  display: none;
}
.cl-column {
  display: flex;
  flex-direction: column;
  padding: 0 14px;
}

/* .banner: the see-through lit bubble (kit.html §4). */
.cl-banner {
  flex: none;
  margin-top: 6px;
  padding: 22px 20px 20px;
  border: 1px solid #2F4670;
  border-radius: 18px;
  background-image: var(--lit-bubble);
  box-shadow: var(--lit-bubble-shadow);
}
.cl-kicker {
  line-height: normal;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #6FAEFF;
}
.cl-btitle {
  margin-top: 6px;
  font-family: var(--font-headline);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  color: #FFFFFF;
}
.cl-bsub {
  margin-top: 6px;
  margin-bottom: 18px;
  font-size: 15px;
  line-height: 1.5;
  color: #AEBBD0;
}

/* .quiet: the gray panel, no button. */
.cl-quiet {
  flex: none;
  margin-top: 6px;
  padding: 18px 20px;
  border: 1px solid #222D42;
  border-radius: 18px;
  background: #151E30;
  text-align: center;
}
.cl-qline {
  line-height: normal;
  font-size: 16px;
  font-weight: 600;
  color: #C8D3E4;
}
.cl-qsub {
  line-height: normal;
  margin-top: 4px;
  font-size: 13.5px;
  color: #7D8CA5;
}

.cl-gap {
  flex: none;
  height: 28px;
}
.cl-shead {
  flex: none;
  height: 16px;
  margin-bottom: 8px;
  padding-left: 4px;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #6E7E99;
}
.cl-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* .crow: a list bubble, lit (D1699). */
.cl-row {
  position: relative;
  flex: none;
  display: flex;
  align-items: center;
  width: 100%;
  height: 68px;
  padding: 0 18px;
  border: 1px solid #2C3850;
  border-radius: 18px;
  background-color: #1D2739;
  background-image: var(--lit-bubble);
  box-shadow: var(--lit-bubble-shadow);
  color: #EAF0FA;
  text-align: left;
}
.cl-rtext {
  display: block;
  min-width: 0;
}
.cl-name {
  display: block;
  font-size: 17.5px;
  font-weight: 600;
  line-height: normal;
}
.cl-when {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  line-height: normal;
  color: #7D8CA5;
}

/* .chev: caret 3 right (kit.html §1), right 18 px, the row's middle, in
   the chevron's #5C6B85, in settings.html's 18 x 22 box. */
.cl-kbox {
  position: relative;
  display: flex;
  flex: none;
  width: 18px;
  height: 22px;
  align-items: center;
  justify-content: center;
}
.cl-chev {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #5C6B85;
}
.cl-c3 {
  position: relative;
  left: -2px;
  flex: none;
  width: 9px;
  height: 9px;
  transform: rotate(-45deg);
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

/* THE SIGN (element_icon_buttons.html option A; D2087, D2096): the kit's
   .ic size, 1.18 em, before the name in one inline run, .38 em from it,
   its middle on the middle of the capitals (Inter's capitals .727 em:
   .59 - .3635 = .2265 em below the baseline). */
.cl-run {
  white-space: nowrap;
}
.cl-sign {
  display: inline-block;
  flex: none;
  width: 1.18em;
  height: 1.18em;
  margin-right: .38em;
  vertical-align: -.2265em;
}

/* == COURSE DESCRIPTIONS: the panel the only thing that stretches, then
   the two 62 px buttons, 10 px apart (482 + 10 + 62 + 10 + 62 = 626). == */
.cl-dpage {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 14px;
}
.cl-dpanel {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  border: 1px solid #2C3850;
  border-radius: 18px;
  background: #1D2739;
}
.cl-dscroll {
  position: absolute;
  inset: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.cl-dscroll::-webkit-scrollbar {
  display: none;
}
.cl-dinner {
  padding: 22px 18px;
}
.cl-head {
  font-family: var(--font-headline);
  font-size: 27.5px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.3px;
}
.cl-prose {
  margin-top: 18px;
  font-size: 15.5px;
  line-height: 1.62;
  color: #AEBBD0;
}
.cl-prose p + p {
  margin-top: 14px;
}
/* .cstate: D383's empty description, a statement panel at 24% of its own
   height (classes.js sets it; 116 px on the drawn phone); wide 116 px. */
.cl-state .cl-prose {
  margin-top: 0;
  font-size: 17px;
  color: #96A5BD;
}
/* .fadepanel: the long description's fade at the panel's foot, only while
   it scrolls (frame 2). */
.cl-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 64px;
  pointer-events: none;
  visibility: hidden;
  background: linear-gradient(to bottom, rgba(29, 39, 57, 0), #1D2739);
}
.cl-dpanel.cl-long .cl-fade {
  visibility: visible;
}
.cl-dbuttons {
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* .btn.b62: every button outlined; blue the forward action, neutral the
   other (§1b). */
.cl-blue,
.cl-neutral {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  height: 62px;
  padding: 0 18px;
  border: 1px solid;
  border-radius: 12px;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
}
.cl-blue {
  border-color: #6FAEFF;
  color: #6FAEFF;
  background: rgba(111, 174, 255, .07);
}
.cl-neutral {
  border-color: #39445C;
  color: #AEBBD0;
  background: rgba(255, 255, 255, .03);
}
/* .pbtn: Sign Up in the panel, 17 px. */
.cl-inline {
  width: 100%;
  font-size: 17px;
}

/* .toast: §1c's pill on the panel's bottom edge (10 + 62 + 10 + 62 = 144
   up), ~1.5 s, no buttons, no scrim; wide 14 px above the panel's foot. */
.cl-toast {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 144px;
  z-index: 7;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.cl-pill {
  line-height: normal;
  padding: 11px 22px;
  border: 1px solid #37476B;
  border-radius: 22px;
  background: #22304A;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .5);
  font-size: 15px;
  font-weight: 600;
  color: #EAF0FA;
}

/* §1e: the bean, 6 px, #8FA3C4, round, NO track; 6 px in from the right,
   10 px clear of the top and the bottom; only where it scrolls. */
.cl-bean-track {
  position: absolute;
  top: 10px;
  bottom: 10px;
  right: 6px;
  z-index: 4;
  width: 6px;
  visibility: hidden;
  pointer-events: none;
}
.cl-bean-track.cl-scrolls {
  visibility: visible;
}
.cl-bean {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  border-radius: 99px;
  background: #8FA3C4;
}

/* == THE FOUR BAND COLORS (D550), shell.css's tokens, written last. == */
.cl-earth {
  color: var(--earth);
}
.cl-water {
  color: var(--water);
}
.cl-air {
  color: var(--air);
}
.cl-fire {
  color: var(--fire);
}

/* == WIDE (K1, K2, CD1 to CD3): 24 px in; the page's buttons in the
   middle of nav's bottom row, never in the column. == */
.nv-wide .cl-column {
  padding: 0 24px;
}
.nv-wide .cl-banner {
  padding: 22px 24px 22px;
}
.nv-wide .cl-bsub {
  margin-bottom: 0;
}
.nv-wide .cl-inline,
.nv-wide .cl-dbuttons {
  display: none;
}
.nv-wide .cl-dpage {
  padding: 0;
}
.nv-wide .cl-dpanel {
  width: 830px;
  margin: 0 auto;
}
.nv-wide .cl-dinner {
  padding: 30px 24px;
}
.nv-wide .cl-state {
  padding-top: 116px;
}
.nv-wide .cl-state .cl-prose {
  margin-top: 8px;
}
.nv-wide .cl-prose translate-text {
  margin: 0 auto;
}
.nv-wide .cl-toast {
  bottom: 14px;
}
.nv-wide .cl-neutral {
  border-color: rgba(255, 255, 255, .22);
  color: #C8D3E4;
  background: rgba(255, 255, 255, .045);
}
.nv-wide .cl-blue.cl-wrap2,
.nv-wide .cl-neutral.cl-wrap2 {
  padding: 0 14px;
  font-size: 18px;
  line-height: 1.25;
  white-space: normal;
}
