/* Greenbelt CE components ("The Ledger"). Colours and fonts come from the theme's presets, with fallbacks. */
:root {
  --gce-ink: var(--wp--preset--color--ink, #121a16);
  --gce-paper: var(--wp--preset--color--paper, #f8f5ee);
  --gce-surface: var(--wp--preset--color--surface, #fffdf8);
  --gce-forest: var(--wp--preset--color--forest, #123829);
  --gce-sage: var(--wp--preset--color--sage, #e6ece5);
  --gce-line: var(--wp--preset--color--line, #dcd4c4);
  --gce-muted: var(--wp--preset--color--muted, #4b5650);
  --gce-brass: var(--wp--preset--color--brass, #8a5a1e);
  --gce-poppy: var(--wp--preset--color--poppy, #b8461c);
  --gce-tint: #f1ece1;
  --gce-error: #9b2c1f;
  --gce-serif: var(--wp--preset--font-family--display, Georgia, "Times New Roman", serif);
  --gce-sans: var(--wp--preset--font-family--text, system-ui, sans-serif);
  --gce-radius: 6px;
}

.gce-small { font-size: .9rem; color: var(--gce-muted); }
.gce-hint { font-weight: 400; color: var(--gce-muted); font-size: .85rem; }
.gce-h { font-family: var(--gce-serif); font-weight: 400; font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); letter-spacing: -.015em; margin: 2.5rem 0 1.1rem; }
.gce-h--sm { font-size: 1.35rem; margin: 2.25rem 0 .5rem; }
.gce-empty { padding: 1.5rem 1.75rem; border: 1px dashed var(--gce-line); border-radius: var(--gce-radius); background: var(--gce-surface); }
.gce-empty p { margin: 0 0 .6rem; }
.gce-empty p:last-child { margin: 0; }

/* Status line */
.gce-status { margin: 0; font-size: .875rem; display: flex; gap: .6rem; align-items: baseline; line-height: 1.45; }
.gce-status__dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--gce-brass); flex: none; transform: translateY(-1px); display: inline-block; }

/* Buttons and links */
.gce-button, .gce-form input[type=submit], #gce-login .button {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: 600 1rem/1.2 var(--gce-sans); color: #fff; background: var(--gce-forest);
  border: 1px solid var(--gce-forest); border-radius: 2px; padding: .85rem 1.4rem; text-decoration: none; box-sizing: border-box;
  cursor: pointer; min-height: 48px; transition: background-color .15s ease, color .15s ease; text-align: center;
}
.gce-button:hover, .gce-button:focus-visible, #gce-login .button:hover { background: var(--gce-ink); border-color: var(--gce-ink); color: #fff; }
.gce-button--quiet { background: transparent; color: var(--gce-forest); }
.gce-button--quiet:hover, .gce-button--quiet:focus-visible { color: #fff; }
.gce-button--wide { width: 100%; }
.gce-button.is-disabled { background: var(--gce-sage); border-color: var(--gce-line); color: var(--gce-muted); cursor: not-allowed; }
.gce-link { color: var(--gce-forest); font-weight: 600; text-underline-offset: 4px; }
:where(.gce-learn, .gce-form, .gce-enroll, .gce-dashboard) a:focus-visible, .gce-button:focus-visible, .gce-form :focus-visible { outline: 3px solid var(--gce-brass); outline-offset: 2px; }

/* Notices */
.gce-notice { border-left: 3px solid var(--gce-forest); background: var(--gce-sage); padding: .95rem 1.15rem; margin: 1rem 0; border-radius: 0 var(--gce-radius) var(--gce-radius) 0; }
.gce-notice--error { border-color: var(--gce-error); background: #f7e9e5; }
.gce-notice--success { border-color: var(--gce-forest); }

/* Forms */
.gce-form label { display: block; font-weight: 600; margin-bottom: .4rem; font-size: .95rem; }
.gce-form input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=hidden]), .gce-form select, .gce-form textarea {
  width: 100%; box-sizing: border-box; font: 400 1rem/1.4 var(--gce-sans); color: var(--gce-ink); background: #fff;
  border: 1px solid #8f8a7e; border-radius: 4px; padding: .75rem .85rem; min-height: 48px; transition: border-color .15s ease, box-shadow .15s ease;
}
.gce-form input:focus, .gce-form select:focus, .gce-form textarea:focus { border-color: var(--gce-forest); box-shadow: 0 0 0 3px rgba(18, 56, 41, .15); outline: none; }
.gce-form p { margin: 0 0 1.15rem; }
.gce-form--stack { max-width: 40rem; }
.gce-grid2, .gce-grid3 { display: grid; gap: 0 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .gce-grid2 { grid-template-columns: 1fr 1fr; } .gce-grid3 { grid-template-columns: repeat(3, 1fr); } }
.gce-check { display: flex; gap: .7rem; align-items: flex-start; }
.gce-check input { width: 1.25rem; height: 1.25rem; margin-top: .15rem; flex: none; accent-color: var(--gce-forest); }
.gce-check label { font-weight: 400; margin: 0; }
.gce-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#gce-login p { margin: 0 0 1.1rem; }
#gce-login .login-remember label { font-weight: 400; display: flex; gap: .5rem; align-items: center; }
#gce-login .button { width: 100%; }

/* ---------- catalog ---------- */
.gce-jump ul { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0 0 3rem; }
.gce-jump a { display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; padding: .45rem 1rem; border: 1px solid var(--gce-line); border-radius: 99px; text-decoration: none; color: var(--gce-ink); background: var(--gce-surface); font-size: .92rem; font-weight: 600; box-sizing: border-box; }
.gce-jump a:hover { border-color: var(--gce-forest); }
.gce-jump a span { font-weight: 400; color: var(--gce-muted); font-variant-numeric: tabular-nums; }
.gce-group { margin: 0 0 4rem; scroll-margin-top: 1rem; }
.gce-group__head { display: grid; gap: .4rem 3rem; grid-template-columns: minmax(0, 1fr); border-top: 2px solid var(--gce-ink); padding-top: 1.1rem; margin-bottom: 1.75rem; }
@media (min-width: 900px) { .gce-group__head { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: baseline; } }
.gce-group__head h2 { font-family: var(--gce-serif); font-weight: 400; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); margin: 0; letter-spacing: -.015em; }
.gce-group__head p { margin: 0; color: var(--gce-muted); }
.gce-catalog { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr)); }
.gce-card, .gce-dash__item { background: var(--gce-surface); border: 1px solid var(--gce-line); border-radius: var(--gce-radius); padding: 1.5rem; display: flex; flex-direction: column; gap: .5rem; }
.gce-card--course { position: relative; display: grid; grid-template-columns: 3.75rem 1fr; gap: 1.1rem; padding: 1.5rem 1.5rem 1.35rem; transition: border-color .15s ease, box-shadow .15s ease; }
.gce-card--course:hover { border-color: var(--gce-forest); box-shadow: 0 24px 40px -30px rgba(18, 56, 41, .5); }
.gce-card--course:focus-within { outline: 3px solid var(--gce-brass); outline-offset: 2px; }
.gce-card__hours { margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; text-align: center; gap: .3rem; border-right: 1px solid var(--gce-line); padding-right: 1rem; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gce-muted); line-height: 1.2; }
.gce-card__n { font-family: var(--gce-serif); font-size: 2.6rem; line-height: .9; color: var(--gce-forest); letter-spacing: -.03em; text-transform: none; }
.gce-card__body { display: flex; flex-direction: column; gap: .45rem; min-width: 0; }
.gce-card__eyebrow { margin: 0; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gce-brass); font-weight: 600; }
.gce-card__title { font-family: var(--gce-serif); font-weight: 400; font-size: 1.4rem; line-height: 1.18; margin: 0; letter-spacing: -.01em; }
.gce-card__title a { color: inherit; text-decoration: none; }
.gce-card--course .gce-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--gce-radius); }
.gce-card__title a:focus-visible { outline: none; }
.gce-card__text { margin: 0; color: var(--gce-muted); font-size: .95rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.gce-card__facts { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin: .5rem 0 0; padding-top: .8rem; border-top: 1px solid var(--gce-line); }
.gce-card__facts dt { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gce-muted); }
.gce-card__facts dd { margin: 0; font-weight: 600; font-size: .95rem; font-variant-numeric: tabular-nums; }

/* Compact index (home) */
.gce-index__h { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; border-bottom: 2px solid var(--gce-ink); padding-bottom: .6rem; margin: 0 0 .25rem; font-family: var(--gce-serif); font-weight: 400; font-size: 1.45rem; }
.gce-index__sum { font-family: var(--gce-sans); font-size: .82rem; color: var(--gce-muted); white-space: nowrap; }
.gce-index__list { list-style: none; margin: 0; padding: 0; }
.gce-index__list a { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--gce-line); text-decoration: none; color: var(--gce-ink); min-height: 44px; box-sizing: border-box; }
.gce-index__list a:hover .gce-index__title { text-decoration: underline; text-decoration-color: var(--gce-poppy); text-underline-offset: 4px; }
.gce-index__title { min-width: 0; overflow-wrap: anywhere; }
.gce-index__hours { color: var(--gce-muted); font-size: .92rem; font-variant-numeric: tabular-nums; text-align: right; flex: 0 0 auto; max-width: 45%; }
.gce-index__group + .gce-index__group { margin-top: 0; }

/* Package price and tally */
.gce-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .75rem; margin: .25rem 0 0; }
.gce-price__amount { font-family: var(--gce-serif); font-size: clamp(2.4rem, 2rem + 1.5vw, 3.1rem); line-height: 1; color: var(--gce-forest); letter-spacing: -.03em; }
.gce-price__what { color: var(--gce-muted); font-size: .92rem; }

/* ---------- course page ---------- */
.gce-course { display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) {
  .gce-course { grid-template-columns: minmax(0, 1fr) 23rem; gap: 4.5rem; align-items: start; }
  .gce-course__aside { grid-column: 2; grid-row: 1; position: sticky; top: 1.5rem; }
  .gce-course__main { grid-column: 1; grid-row: 1; }
}
.gce-course__main { min-width: 0; max-width: 46rem; }
.gce-course__main > section + section, .gce-course__main > .gce-intro + section { margin-top: clamp(2.75rem, 2rem + 2vw, 4rem); }
.gce-course__main h2 { font-family: var(--gce-serif); font-weight: 400; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.15rem); letter-spacing: -.015em; margin: 0 0 1.1rem; }
.gce-course__card { background: var(--gce-surface); border: 1px solid var(--gce-line); border-radius: 8px; overflow: hidden; box-shadow: 0 30px 50px -40px rgba(18, 56, 41, .5); }
.gce-course__card .gce-enroll { border: 0; border-radius: 0; margin: 0; border-bottom: 1px solid var(--gce-line); }
.gce-course__card .gce-facts { padding: .5rem 1.5rem 1rem; }
.gce-course__card .gce-facts dl { border-top: 0; }
.gce-course__card .gce-facts dl > div { grid-template-columns: 7.5rem 1fr !important; gap: 1rem !important; padding: .7rem 0; }
.gce-course__card .gce-facts dl > div:last-child { border-bottom: 0; }
.gce-about p { font-size: 1.1rem; line-height: 1.7; margin: 0; }
.gce-includes__list { list-style: none; counter-reset: inc; margin: 0; padding: 0; border-top: 1px solid var(--gce-line); }
.gce-includes__list li { counter-increment: inc; display: grid; grid-template-columns: 2.5rem 1fr; gap: .15rem 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--gce-line); }
.gce-includes__list li::before { content: counter(inc, decimal-leading-zero); grid-row: span 2; font-family: var(--gce-serif); color: var(--gce-poppy); font-size: 1.05rem; padding-top: .1rem; }
.gce-includes__list h3 { margin: 0; font-family: var(--gce-sans); font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.gce-includes__list p { margin: 0; color: var(--gce-muted); }

/* Course facts, outline, GIP */
.gce-facts dl, .gce-gip__list { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--gce-line); }
.gce-facts dl > div, .gce-gip__list > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: .2rem; padding: .85rem 0; border-bottom: 1px solid var(--gce-line); }
@media (min-width: 700px) {
  .gce-facts dl > div, .gce-gip__list > div { grid-template-columns: 13rem 1fr; gap: 1.5rem; }
}
.gce-facts dt, .gce-gip__list dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gce-muted); padding-top: .2rem; }
.gce-facts dd, .gce-gip__list dd { margin: 0; overflow-wrap: anywhere; }
.gce-outline, .gce-enroll, .gce-gip, .gce-package { margin-top: 3rem; }
.gce-outline h2, .gce-gip h2, .gce-package h2 { font-family: var(--gce-serif); font-weight: 400; font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); margin: 0 0 1rem; }
.gce-outline__list { list-style: none; counter-reset: u; padding: 0; margin: 0; border-top: 1px solid var(--gce-line); }
.gce-outline__list li { counter-increment: u; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; padding: 1rem 0; border-bottom: 1px solid var(--gce-line); }
.gce-outline__list li::before { content: counter(u, decimal-leading-zero); font-family: var(--gce-serif); color: var(--gce-brass); width: 2.25rem; flex: none; }
.gce-outline__list li.gce-outline__final::before { content: "\2713"; color: var(--gce-forest); font-family: var(--gce-sans); }
.gce-outline__title { flex: 1 1 12rem; }
.gce-outline__time { color: var(--gce-muted); font-size: .9rem; font-variant-numeric: tabular-nums; }
.gce-outline__download { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin: 1.25rem 0 0; }

/* Enrollment box */
.gce-enroll { background: var(--gce-surface); border: 1px solid var(--gce-line); padding: 1.5rem; border-radius: var(--gce-radius); }
.gce-enroll__h { font-family: var(--gce-sans) !important; font-size: .74rem !important; font-weight: 600 !important; letter-spacing: .12em; text-transform: uppercase; color: var(--gce-brass); margin: 0 0 .9rem !important; }
.gce-enroll__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .75rem; margin: 0 0 .25rem; }
.gce-enroll__amount { font-family: var(--gce-serif); font-size: 2.9rem; line-height: 1; color: var(--gce-ink); letter-spacing: -.03em; }
.gce-enroll__what { color: var(--gce-muted); font-size: .9rem; }
.gce-enroll__sep { font-size: .9rem; color: var(--gce-muted); margin: .4rem 0 0; }
.gce-enroll__status { display: flex; align-items: center; gap: .55rem; margin: 1.1rem 0 .4rem; font-weight: 600; font-size: .95rem; }
.gce-enroll__status .gce-status__dot { box-shadow: 0 0 0 4px rgba(138, 90, 30, .15); transform: none; }
.gce-enroll__note { margin: 0; color: var(--gce-muted); font-size: .95rem; }
.gce-enroll__ask { margin: .9rem 0 0; }
.gce-enroll__actions { display: flex; flex-direction: column; align-items: stretch; gap: .75rem; margin: 1.25rem 0 0; text-align: center; }
.gce-form--test { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px dashed var(--gce-line); }
.gce-form--test .gce-small { margin: 0 0 .6rem; }
.gce-disclaimer { font-size: .9rem; font-style: italic; color: var(--gce-muted); border-left: 2px solid var(--gce-line); padding-left: 1rem; }
.gce-table-wrap { overflow-x: auto; }
.gce-table-wrap table, .gce-table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.gce-table-wrap th, .gce-table-wrap td { text-align: left; padding: .65rem .75rem .65rem 0; border-bottom: 1px solid var(--gce-line); vertical-align: top; font-variant-numeric: tabular-nums; }
.gce-table thead th { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gce-muted); border-bottom-color: var(--gce-ink); }
.gce-table caption { text-align: left; font-weight: 600; padding-bottom: .5rem; }

/* General Information Page (document styling) */
.gce-gip__head { margin-bottom: 1.25rem; }
.gce-gip__head p { margin: 0; }
.gce-gip__doc { background: var(--gce-surface); border: 1px solid var(--gce-line); border-radius: var(--gce-radius); padding: clamp(1.1rem, .8rem + 1.5vw, 2rem); font-size: .97rem; overflow-wrap: anywhere; }
.gce-gip__doc > :first-child { margin-top: 0; }
.gce-gip__doc h2 { font-size: 1.3rem !important; margin: 2rem 0 .75rem !important; }
.gce-gip__doc table { border-collapse: collapse; width: 100%; font-size: .93rem; }
.gce-gip__doc th, .gce-gip__doc td { text-align: left; padding: .55rem .6rem .55rem 0; border-bottom: 1px solid var(--gce-line); vertical-align: top; overflow-wrap: anywhere; }
.gce-pending { background: #fbf3e6; border-bottom: 1px dashed var(--gce-brass); padding: 0 .2rem; }
details.gce-gip { margin-top: 2rem; border-top: 1px solid var(--gce-line); border-bottom: 1px solid var(--gce-line); }
details.gce-gip > summary, .gce-gip__course > summary { cursor: pointer; list-style: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .25rem 1rem; padding: 1.1rem 2.25rem 1.1rem 0; position: relative; font-family: var(--gce-serif); font-size: 1.25rem; min-height: 44px; box-sizing: border-box; }
details.gce-gip > summary::-webkit-details-marker, .gce-gip__course > summary::-webkit-details-marker { display: none; }
details.gce-gip > summary::after, .gce-gip__course > summary::after { content: ""; position: absolute; right: .4rem; top: 1.5rem; width: .6rem; height: .6rem; border-right: 2px solid var(--gce-forest); border-bottom: 2px solid var(--gce-forest); transform: rotate(45deg); transition: transform .2s ease; }
details[open].gce-gip > summary::after, .gce-gip__course[open] > summary::after { transform: rotate(-135deg); top: 1.75rem; }
details.gce-gip > summary .gce-small, .gce-gip__course > summary .gce-small { font-family: var(--gce-sans); }
.gce-gip__inner { padding: 0 0 1.5rem; }
.gce-gip__course { border-top: 1px solid var(--gce-line); }
.gce-gip__course > summary { font-size: 1.1rem; }
.gce-gip__course > .gce-gip__doc, .gce-gip__course > .gce-notice { margin-bottom: 1.25rem; }
.gce-gip-index details.gce-gip { margin: 0; border-bottom: 0; }
.gce-gip-index details.gce-gip:last-child { border-bottom: 1px solid var(--gce-line); }

/* ---------- packages ---------- */
.gce-pkg__head { display: grid; gap: .75rem; margin: .9rem 0 2rem; }
.gce-pkg__title { font-family: var(--gce-serif); font-weight: 400; font-size: clamp(2rem, 1.5rem + 2vw, 3rem); line-height: 1.05; letter-spacing: -.02em; margin: 0 !important; }
.gce-pkg__title a { color: inherit; text-decoration: none; }
.gce-pkg__title a:hover { text-decoration: underline; text-decoration-color: var(--gce-poppy); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.gce-pkg__lede { margin: 0; color: var(--gce-muted); font-size: 1.1rem; max-width: 44rem; }
.gce-pkg__grid { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .gce-pkg__grid { grid-template-columns: minmax(0, 1fr) 22rem; gap: 4rem; align-items: start; } .gce-pkg__grid .gce-enroll { position: sticky; top: 1.5rem; } }
.gce-pkg__grid .gce-package, .gce-pkg__grid .gce-enroll { margin-top: 0; }
.gce-package .gce-pkg__h, .gce-pkg__h { font-family: var(--gce-sans); font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gce-muted); margin: 0 0 .5rem; }
.gce-pkg__list { list-style: none; margin: 0; padding: 0; counter-reset: pk; }
.gce-pkg__group { font-family: var(--gce-serif); font-size: 1.15rem; padding: 1.4rem 0 .5rem; border-bottom: 2px solid var(--gce-ink); }
.gce-pkg__group:first-child { padding-top: .25rem; }
.gce-pkg__row { counter-increment: pk; display: grid; grid-template-columns: 2rem minmax(0, 1fr) auto; gap: .15rem .75rem; align-items: baseline; padding: .8rem 0; border-bottom: 1px solid var(--gce-line); }
.gce-pkg__row::before { content: counter(pk, decimal-leading-zero); font-family: var(--gce-serif); color: var(--gce-brass); font-size: .95rem; grid-row: span 2; }
.gce-pkg__row .gce-outline__title { color: var(--gce-ink); text-decoration-color: var(--gce-line); text-underline-offset: 4px; }
.gce-pkg__row .gce-outline__title:hover { text-decoration-color: var(--gce-poppy); }
.gce-pkg__row .gce-outline__time { grid-column: 3; grid-row: 1; font-weight: 600; color: var(--gce-ink); }
.gce-pkg__cat { display: none; }
.gce-pkg__total { display: flex; justify-content: space-between; margin: 0; padding: 1rem 0 0; font-weight: 600; font-size: 1.05rem; border-top: 2px solid var(--gce-ink); margin-top: -1px; }

/* ---------- dashboard ---------- */
.gce-dashboard { max-width: 76rem; margin: 0 auto; padding: clamp(2rem, 1.5rem + 3vw, 4.5rem) clamp(1rem, 4vw, 2.5rem) clamp(3rem, 2rem + 4vw, 6rem); box-sizing: content-box; }
.gce-dash-head { display: grid; gap: 1.5rem 3rem; grid-template-columns: minmax(0, 1fr); align-items: end; padding-bottom: 2rem; border-bottom: 1px solid var(--gce-line); margin-bottom: 1rem; }
@media (min-width: 900px) { .gce-dash-head { grid-template-columns: 1fr auto; } }
.gce-dash-head__title { font-family: var(--gce-serif); font-weight: 400; font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.6rem); letter-spacing: -.025em; line-height: 1.02; margin: .85rem 0 0; }
.gce-dash-stats { display: flex; gap: 0; margin: 0; }
.gce-dash-stats > div { padding: 0 1.5rem; border-left: 1px solid var(--gce-line); }
.gce-dash-stats > div:first-child { padding-left: 0; border-left: 0; }
.gce-dash-stats dt { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gce-muted); }
.gce-dash-stats dd { margin: .2rem 0 0; font-family: var(--gce-serif); font-size: 2.2rem; line-height: 1; color: var(--gce-forest); font-variant-numeric: tabular-nums; }
.gce-dash-grid { display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .gce-dash-grid { grid-template-columns: minmax(0, 1fr) 20rem; gap: 3.5rem; } }
.gce-dash { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .gce-dash { grid-template-columns: 1fr 1fr; } }
.gce-dash__item { gap: .85rem; }
.gce-dash__item.is-active { border-top: 3px solid var(--gce-forest); }
.gce-dash__item.is-completed { border-top: 3px solid var(--gce-brass); }
.gce-dash__head { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; align-items: start; }
.gce-dash__head .gce-card__eyebrow { grid-column: 1; }
.gce-dash__head .gce-tag { grid-column: 2; grid-row: 1; }
.gce-dash__item h3 { grid-column: 1 / -1; font-family: var(--gce-serif); font-weight: 400; font-size: 1.4rem; line-height: 1.2; margin: .15rem 0 0; }
.gce-dash__meter { display: flex; align-items: center; gap: .85rem; }
.gce-dash__meter .gce-progress { flex: 1; }
.gce-dash__pct { font-weight: 600; font-size: .9rem; font-variant-numeric: tabular-nums; min-width: 2.75rem; text-align: right; }
.gce-dash__next { margin: 0; font-size: .95rem; }
.gce-dash__next span { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gce-poppy); font-weight: 600; margin-right: .4rem; }
.gce-dash__item .gce-card__facts { margin-top: 0; }
.gce-dash__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: auto; padding-top: .4rem; }
.gce-dash__item p { margin: 0; }
.gce-dash-main .gce-h { margin-top: 1.5rem; }
.gce-panel { background: var(--gce-surface); border: 1px solid var(--gce-line); border-radius: var(--gce-radius); padding: 1.5rem; margin-top: 1.5rem; }
.gce-panel--quiet { background: transparent; }
.gce-panel__h { font-family: var(--gce-serif); font-weight: 400; font-size: 1.4rem; margin: 0 0 1rem; }
.gce-panel .gce-form--stack { max-width: none; }
.gce-panel__links { list-style: none; margin: 0; padding: 0; }
.gce-panel__links a { display: block; padding: .6rem 0; border-bottom: 1px solid var(--gce-line); color: var(--gce-ink); text-decoration: none; }
.gce-panel__links a:hover { color: var(--gce-forest); text-decoration: underline; }
.gce-progress { height: 6px; background: var(--gce-sage); border-radius: 3px; overflow: hidden; }
.gce-progress span { display: block; height: 100%; background: var(--gce-forest); border-radius: 3px; }
.gce-progress--lg { height: 8px; margin-top: 1.25rem; }
.gce-testarea { margin-top: 3rem; padding-top: 1rem; border-top: 1px dashed var(--gce-line); }
.gce-testlist { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.gce-tag { flex: none; font-size: .78rem; border: 1px solid var(--gce-line); border-radius: 99px; padding: .2rem .7rem; white-space: nowrap; background: var(--gce-paper); }
.gce-tag--active { border-color: var(--gce-forest); color: var(--gce-forest); }
.gce-tag--completed { background: var(--gce-sage); border-color: var(--gce-sage); }
.gce-tag--failed, .gce-tag--expired { border-color: var(--gce-error); color: var(--gce-error); }

/* ---------- course player ---------- */
.gce-learn { max-width: 48rem; margin: 0 auto; }
.gce-crumbs { font-size: .88rem; color: var(--gce-muted); margin-bottom: 1.75rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.gce-crumbs a { color: var(--gce-forest); }
.gce-learn__head { padding-bottom: 1.75rem; border-bottom: 1px solid var(--gce-line); }
.gce-learn__title { font-family: var(--gce-serif); font-weight: 400; font-size: clamp(1.9rem, 1.4rem + 2vw, 2.9rem); line-height: 1.1; letter-spacing: -.02em; margin: .35rem 0 1rem; }
.gce-learn__stats { display: flex; flex-wrap: wrap; gap: 1rem 2.25rem; margin: 1.25rem 0 0; }
.gce-learn__stats dt { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gce-muted); }
.gce-learn__stats dd { margin: .15rem 0 0; color: var(--gce-muted); font-variant-numeric: tabular-nums; }
.gce-learn__stats strong { color: var(--gce-ink); font-size: 1.1rem; }
.gce-units { list-style: none; padding: 0; margin: 1rem 0 0; border-top: 1px solid var(--gce-line); }
.gce-unit { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; padding: 1.15rem 0; border-bottom: 1px solid var(--gce-line); }
.gce-units--steps { counter-reset: st; }
.gce-units--steps .gce-unit { position: relative; padding-left: 3.25rem; counter-increment: st; }
.gce-units--steps .gce-unit::before { content: counter(st); position: absolute; left: 0; top: 1.1rem; width: 2.1rem; height: 2.1rem; border-radius: 50%; border: 1px solid var(--gce-line); display: grid; place-items: center; font-weight: 600; font-size: .9rem; background: var(--gce-surface); color: var(--gce-ink); }
.gce-units--steps .gce-unit.is-done::before { content: "\2713"; background: var(--gce-forest); border-color: var(--gce-forest); color: #fff; }
.gce-units--steps .gce-unit.is-locked::before { color: var(--gce-muted); border-style: dashed; }
.gce-units--steps .gce-unit:not(.is-locked):not(.is-done)::before { border: 2px solid var(--gce-poppy); }
.gce-units--steps .gce-unit:last-child::before { content: "\2605"; font-size: .85rem; }
.gce-unit__no { margin: 0; font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gce-brass); font-weight: 600; }
.gce-unit__title { font-family: var(--gce-serif); font-size: 1.3rem; line-height: 1.25; color: var(--gce-ink); }
a.gce-unit__title { text-decoration-color: var(--gce-line); text-underline-offset: 4px; }
a.gce-unit__title:hover { text-decoration-color: var(--gce-poppy); }
.gce-unit.is-locked .gce-unit__title { color: var(--gce-muted); }
.gce-unit p { margin: .2rem 0 0; }
.gce-unit.is-done .gce-tag { background: var(--gce-sage); border-color: var(--gce-sage); }
.gce-unit.is-locked .gce-tag { color: var(--gce-muted); border-style: dashed; }

/* Timer */
.gce-timer { background: var(--gce-surface); border: 1px solid var(--gce-line); border-radius: var(--gce-radius); padding: .9rem 1.1rem; margin-bottom: 1.5rem; display: grid; gap: .55rem; }
@media (min-width: 1024px) { .gce-timer { position: sticky; top: .75rem; z-index: 4; box-shadow: 0 12px 24px -20px rgba(18, 26, 22, .4); } }
.gce-timer p { margin: 0; }
.gce-timer__label { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gce-muted); margin-right: .35rem; }
#gce-timer-value { font-variant-numeric: tabular-nums; font-size: 1.05rem; }
.gce-timer__bar { height: 6px; background: var(--gce-sage); border-radius: 3px; overflow: hidden; }
.gce-timer__bar span { display: block; height: 100%; background: var(--gce-forest); border-right: 2px solid var(--gce-poppy); box-sizing: border-box; transition: width .6s ease; }
.gce-timer__state { font-size: .85rem; color: var(--gce-muted); display: flex; align-items: center; gap: .5rem; }
.gce-timer__state::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--gce-forest); flex: none; }
.gce-timer__state.is-paused { color: var(--gce-error); font-weight: 600; }
.gce-timer__state.is-paused::before { background: var(--gce-error); }
.gce-timer.is-paused { border-color: var(--gce-error); }

/* Sections nav (per-section time locks) */
.gce-sections ol { list-style: none; margin: 0 0 2rem; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.gce-sections li a, .gce-sections li span { display: inline-flex; align-items: center; justify-content: center; gap: .3rem; min-width: 48px; min-height: 44px; padding: 0 .7rem; border: 1px solid var(--gce-line); border-radius: 4px; font-size: .9rem; text-decoration: none; color: var(--gce-ink); background: var(--gce-surface); box-sizing: border-box; font-variant-numeric: tabular-nums; }
.gce-sections li.is-done a { background: var(--gce-sage); border-color: var(--gce-sage); }
.gce-sections li.is-current a { border: 2px solid var(--gce-forest); font-weight: 600; box-shadow: inset 0 -3px 0 var(--gce-poppy); }
.gce-sections li.is-locked span { color: var(--gce-muted); border-style: dashed; }
.gce-sections li.is-locked span::before { content: ""; width: .55rem; height: .45rem; border: 1.5px solid currentColor; border-radius: 1px; box-shadow: 0 -.3rem 0 -.1rem var(--gce-surface), 0 -.32rem 0 0 currentColor; margin-top: .3rem; transform: scale(.9); }

/* Reading */
.gce-unit-body { font-size: 1.1rem; line-height: 1.75; }
.gce-unit-body > .gce-learn__title { margin-top: 0; }
.gce-unit-body h2 { font-family: var(--gce-serif); font-weight: 400; font-size: clamp(1.55rem, 1.3rem + 1vw, 1.95rem); line-height: 1.2; letter-spacing: -.01em; margin: 2.5rem 0 .85rem; scroll-margin-top: 7rem; }
.gce-unit-body h3 { font-size: 1.15rem; margin: 2rem 0 .5rem; }
.gce-unit-body blockquote { margin: 1.75rem 0; padding: 1.1rem 1.35rem; background: var(--gce-tint); border-left: 3px solid var(--gce-forest); border-radius: 0 var(--gce-radius) var(--gce-radius) 0; font-size: 1rem; }
.gce-unit-body blockquote p { margin: 0; }
.gce-unit-body table { border-collapse: collapse; width: 100%; font-size: .95rem; display: block; overflow-x: auto; }
.gce-unit-body th, .gce-unit-body td { text-align: left; padding: .55rem .75rem .55rem 0; border-bottom: 1px solid var(--gce-line); vertical-align: top; }
.gce-unit-body li { margin-bottom: .35rem; }
.gce-unit-foot { margin: 3rem 0 1rem; padding-top: 1.5rem; border-top: 1px solid var(--gce-line); display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; }
.gce-unit-foot > .gce-rp-list { flex-basis: 100%; }

/* Questions */
.gce-questions { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.gce-questions > li { padding: 1.5rem 0; border-top: 1px solid var(--gce-line); }
.gce-q { border: 0; margin: 0; padding: 0; min-width: 0; }
.gce-q legend { font-weight: 600; margin-bottom: .9rem; line-height: 1.5; padding: 0; font-size: 1.05rem; }
.gce-q__n { font-family: var(--gce-serif); color: var(--gce-brass); margin-right: .25rem; font-weight: 400; }
.gce-choice { margin: 0 0 .5rem !important; position: relative; }
.gce-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.gce-choice label { display: flex; gap: .85rem; align-items: flex-start; font-weight: 400 !important; border: 1px solid var(--gce-line); border-radius: var(--gce-radius); padding: .85rem 1rem; cursor: pointer; background: var(--gce-surface); margin: 0 !important; min-height: 48px; box-sizing: border-box; transition: border-color .12s ease, background-color .12s ease; }
.gce-choice label:hover { border-color: var(--gce-forest); }
.gce-choice__l { flex: none; width: 1.7rem; height: 1.7rem; border: 1px solid #8f8a7e; border-radius: 50%; display: inline-grid; place-items: center; font-size: .82rem; font-weight: 600; }
.gce-choice input:checked + label { border-color: var(--gce-forest); box-shadow: inset 0 0 0 1px var(--gce-forest); background: #f3f7f2; }
.gce-choice input:checked + label .gce-choice__l { background: var(--gce-forest); color: #fff; border-color: var(--gce-forest); }
.gce-choice input:focus-visible + label { outline: 3px solid var(--gce-brass); outline-offset: 2px; }

/* Results */
.gce-result { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: center; padding: 1.5rem; border: 1px solid var(--gce-line); border-radius: 8px; background: var(--gce-surface); margin-bottom: 1.5rem; }
.gce-result .gce-learn__title { margin: .15rem 0 .4rem; }
.gce-result__ring { --c: var(--gce-forest); width: 6.5rem; height: 6.5rem; border-radius: 50%; background: conic-gradient(var(--c) calc(var(--p) * 1%), var(--gce-sage) 0); display: grid; place-items: center; }
.gce-result--fail .gce-result__ring { --c: var(--gce-error); }
.gce-result__ring span { width: 5.1rem; height: 5.1rem; border-radius: 50%; background: var(--gce-surface); display: grid; place-items: center; font-family: var(--gce-serif); font-size: 1.6rem; font-variant-numeric: tabular-nums; }
.gce-result--pass { border-top: 3px solid var(--gce-forest); }
.gce-result--fail { border-top: 3px solid var(--gce-error); }
@media (max-width: 480px) { .gce-result { grid-template-columns: minmax(0, 1fr); justify-items: start; } }
.gce-score { font-size: 1.1rem; margin: 0; }
.gce-review { padding-left: 1.25rem; }
.gce-review li { margin-bottom: 1.5rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--gce-line); }
.gce-review li::marker { font-family: var(--gce-serif); color: var(--gce-brass); }
.gce-review__q { font-weight: 600; margin-bottom: .35rem; }
.gce-statement { margin: 1rem 0 1.5rem; padding: 1.35rem 1.5rem; border: 1px solid var(--gce-line); border-left: 3px solid var(--gce-brass); background: var(--gce-surface); font-family: var(--gce-serif); font-size: 1.12rem; line-height: 1.6; border-radius: 0 var(--gce-radius) var(--gce-radius) 0; }
.gce-rules { padding-left: 0; list-style: none; line-height: 1.6; border-top: 1px solid var(--gce-line); margin: 1.25rem 0 1.5rem; }
.gce-rules li { padding: .75rem 0 .75rem 1.75rem; border-bottom: 1px solid var(--gce-line); position: relative; }
.gce-rules li::before { content: ""; position: absolute; left: .2rem; top: 1.05rem; width: .8rem; height: .4rem; border-left: 2px solid var(--gce-forest); border-bottom: 2px solid var(--gce-forest); transform: rotate(-45deg); }
.gce-actions { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; }

/* Exam */
.gce-exam__bar { position: static; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; align-items: center; background: var(--gce-forest); color: #fff; padding: .9rem 1.2rem; border-radius: var(--gce-radius); margin-bottom: 1.25rem; }
.gce-exam__bar p { margin: 0; }
.gce-exam__bar strong { font-weight: 600; }
.gce-exam__clock { display: flex; align-items: baseline; gap: .6rem; }
.gce-exam__clock span { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #d9e3dc; }
#gce-clock { font-family: var(--gce-serif); font-size: 1.9rem; font-weight: 400; font-variant-numeric: tabular-nums; line-height: 1; }
@media (min-width: 1024px) { .gce-exam__bar { position: sticky; top: .5rem; z-index: 5; box-shadow: 0 14px 28px -18px rgba(12, 42, 30, .6); } }
#gce-exam { -webkit-user-select: none; user-select: none; }
@media print { .gce-no-print #gce-exam, .gce-no-print .gce-learn { display: none !important; } .gce-no-print body::after { content: "The final exam cannot be printed."; } }

/* Role-play */
.gce-rp-node { font-family: var(--gce-serif); font-size: 1.2rem; line-height: 1.6; padding: 1.5rem 1.6rem; background: var(--gce-surface); border: 1px solid var(--gce-line); border-radius: var(--gce-radius); margin: 1rem 0 1.5rem; position: relative; }
.gce-rp-node::before { content: ""; position: absolute; left: -1px; top: 1.25rem; bottom: 1.25rem; width: 3px; background: var(--gce-poppy); border-radius: 2px; }
.gce-rp-node p { margin: 0 0 .75rem; }
.gce-rp-node p:last-child { margin: 0; }
.gce-rp-list { margin-top: 1rem; }

/* Messages */
.gce-thread { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .75rem; }
.gce-thread__msg { background: var(--gce-surface); border: 1px solid var(--gce-line); border-radius: var(--gce-radius); padding: .9rem 1.1rem; max-width: 38rem; }
.gce-thread__msg.is-instructor { border-left: 3px solid var(--gce-forest); justify-self: start; }
.gce-thread__msg:not(.is-instructor) { justify-self: end; background: #f3f7f2; }
.gce-thread__msg p { margin: 0 0 .4rem; }

/* Long URLs and emails in the General Information Page must wrap on phones. */
.gce-gip__doc { overflow-wrap: anywhere; }

/* Pinned elements are static on phones and tablets (standing rule). */
@media (max-width: 1023px) {
  .gce-course__aside, .gce-exam__bar, .gce-timer, .gce-pkg__grid .gce-enroll { position: static !important; }
}
@media (max-width: 599px) {
  .gce-dash-stats > div { padding: 0 .9rem; }
  .gce-dash-stats dt { white-space: nowrap; font-size: .66rem; }
  .gce-dash-stats dd { font-size: 1.8rem; }
  .gce-unit { flex-direction: column; gap: .5rem; }
  .gce-unit .gce-tag { align-self: flex-start; }
  .gce-exam__bar { flex-direction: column; align-items: flex-start; }
}

/* Fix round 1: learner */
.gce-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.gce-badge { display: inline-block; margin-left: .35rem; padding: .05rem .5rem; border-radius: 99px; background: var(--gce-poppy); color: #fff; font-size: .74rem; font-weight: 600; line-height: 1.5; vertical-align: .1em; }

/* Tap targets on learner screens (WCAG 2.5.8, 44 px for primary links). */
.gce-crumbs a, .gce-learn .gce-link, .gce-msg-link, #gce-back-to-exam { display: inline-flex; align-items: center; min-height: 44px; }
.gce-crumbs { align-items: center; gap: 0 .4rem; margin-bottom: 1.25rem; }
.gce-crumbs__back { display: none; }
.gce-learn__continue { margin: 1.5rem 0 0; }

/* Reading measure for long statutory text. */
.gce-unit-body p, .gce-unit-body li, .gce-unit-body blockquote { max-width: 62ch; }
.gce-sec-where { font-size: .9rem; color: var(--gce-muted); margin: -1.25rem 0 1.5rem; }
.gce-sections li a, .gce-sections li span { position: relative; }
.gce-sec-title { scroll-margin-top: 7rem; }
.gce-unit-foot__note { flex-basis: 100%; margin: 0; }
.gce-countdown { font-variant-numeric: tabular-nums; }

/* Quiz: inline message for unanswered questions. */
.gce-qitem { scroll-margin-top: 5rem; }

/* Exam: answered count, saved state, navigator, time cues, review step. */
.gce-exam__count { font-size: .92rem; color: #e9efe9; display: flex; flex-wrap: wrap; gap: .25rem .75rem; align-items: baseline; }
.gce-exam__count [data-answered] { font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }
.gce-exam__save { font-size: .82rem; color: #d9e3dc; }
.gce-exam__save[data-state="saved"]::before { content: "\2713  "; }
.gce-exam__save[data-state="error"] { color: #fff; background: var(--gce-error); padding: .05rem .45rem; border-radius: 3px; font-weight: 600; }
.gce-exam__alert { flex-basis: 100%; background: #fff; color: var(--gce-ink); border-left: 3px solid var(--gce-poppy); padding: .5rem .75rem; border-radius: 0 3px 3px 0; font-weight: 600; }
.gce-exam.is-low #gce-clock { color: #ffd9c9; }
.gce-exam__mini { display: none; }
.gce-exam__nav { margin: 0 0 1.5rem; }
.gce-exam__nav ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.gce-exam__nav a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border: 1px dashed #8f8a7e; border-radius: 4px; text-decoration: none; color: var(--gce-ink); background: var(--gce-surface); font-variant-numeric: tabular-nums; font-size: .9rem; box-sizing: border-box; }
.gce-exam__nav a.is-answered { border: 1px solid var(--gce-forest); background: var(--gce-forest); color: #fff; }
.gce-exam__cue { margin: 1.25rem 0 0; padding: .55rem .8rem; background: var(--gce-sage); border-radius: 4px; font-size: .9rem; color: var(--gce-ink); font-variant-numeric: tabular-nums; }
.gce-exam__cue--end { margin: 1.5rem 0 0; }
.gce-exam-review { margin: 1.5rem 0; padding: 1.25rem 1.4rem; border: 2px solid var(--gce-error); border-radius: var(--gce-radius); background: #fbf3f0; scroll-margin-top: 5rem; }
.gce-exam-review:focus { outline: 3px solid var(--gce-brass); outline-offset: 2px; }
.gce-exam-review .gce-h { margin-top: 0; }
.gce-exam-review__list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
.gce-breakdown { list-style: none; padding: 0; margin: 0 0 1.5rem; border-top: 1px solid var(--gce-line); }
.gce-breakdown li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .35rem 0; border-bottom: 1px solid var(--gce-line); }
.gce-breakdown li.is-weak .gce-tag { border-color: var(--gce-error); color: var(--gce-error); }

/* Open-book reader. */
.gce-reader-note p { margin: 0 0 .35rem; }
.gce-reader-clock { font-variant-numeric: tabular-nums; }
.gce-reader-toc { margin: 0 0 2rem; padding: .9rem 1.1rem; border: 1px solid var(--gce-line); border-radius: var(--gce-radius); background: var(--gce-surface); }
.gce-reader-toc summary { font-weight: 600; cursor: pointer; min-height: 44px; display: flex; align-items: center; }
.gce-reader-toc ol { margin: .25rem 0 .5rem; padding-left: 1.25rem; }
.gce-reader-toc li a { min-height: 36px; font-weight: 400; }

/* Role-play: step, feedback tags, recap, word count. */
.gce-rp-step { font-size: .9rem; color: var(--gce-muted); margin: -.5rem 0 1rem; font-variant-numeric: tabular-nums; }
.gce-rp-fb p { margin: 0 0 .4rem; }
.gce-rp-fb p:last-child { margin: 0; }
.gce-rp-fb__tag { font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; display: flex; gap: .45rem; align-items: center; }
.gce-rp-fb__tag span { display: inline-grid; place-items: center; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: var(--gce-forest); color: #fff; font-size: .8rem; letter-spacing: 0; }
.gce-rp-fb--weak { border-color: var(--gce-brass); background: #f6eedf; }
.gce-rp-fb--weak .gce-rp-fb__tag span { background: var(--gce-brass); }
.gce-rp-recap { margin: 1.5rem 0; padding: .9rem 1.1rem; border: 1px solid var(--gce-line); border-radius: var(--gce-radius); background: var(--gce-surface); }
.gce-rp-recap summary { font-weight: 600; cursor: pointer; min-height: 44px; display: flex; align-items: center; }
.gce-rp-recap ol { margin: .5rem 0 0; padding-left: 1.25rem; }
.gce-rp-recap li { margin-bottom: .75rem; }
.gce-rp-recap li p { margin: 0 0 .25rem; }
.gce-rp-recap__tag { font-size: .76rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; padding: .05rem .45rem; border-radius: 3px; border: 1px solid currentColor; white-space: nowrap; }
.gce-rp-recap li.is-best .gce-rp-recap__tag { color: var(--gce-forest); }
.gce-rp-recap li.is-weak .gce-rp-recap__tag { color: var(--gce-brass); }
.gce-rp-replay { margin: 1.5rem 0; }
.gce-wordcount { font-size: .92rem; font-weight: 600; margin: -.25rem 0 1rem; font-variant-numeric: tabular-nums; }
.gce-wordcount[data-state="short"] { color: var(--gce-muted); }
.gce-wordcount[data-state="ok"] { color: var(--gce-forest); }
.gce-wordcount[data-state="long"] { color: var(--gce-error); }

/* Messages. */
.gce-thread__status { margin: .25rem 0 0 !important; font-style: italic; }
.gce-thread-empty { padding: 1rem 1.25rem; border: 1px dashed var(--gce-line); border-radius: var(--gce-radius); background: var(--gce-surface); color: var(--gce-muted); }

/* ID upload. */
#gce-idphoto { display: block; width: 100%; padding: .6rem; border: 1px dashed #8f8a7e; border-radius: var(--gce-radius); background: var(--gce-surface); box-sizing: border-box; min-height: 52px; font: inherit; }
#gce-idphoto::file-selector-button { font: 600 .95rem/1.2 var(--gce-sans); color: #fff; background: var(--gce-forest); border: 0; border-radius: 2px; padding: .7rem 1.1rem; margin-right: .9rem; cursor: pointer; }
.gce-file-preview { display: flex; gap: 1rem; align-items: center; padding: .75rem; border: 1px solid var(--gce-line); border-radius: var(--gce-radius); background: var(--gce-surface); margin: -.5rem 0 1rem; }
.gce-file-preview img { width: 96px; height: 64px; object-fit: cover; border-radius: 3px; border: 1px solid var(--gce-line); }
.gce-file-preview p { margin: 0; font-size: .92rem; overflow-wrap: anywhere; }

/* During the exam the header link only led back to the exam: show the state instead. */
body.gce-exam-open .gce-account-link { display: none; }
body.gce-exam-open .gba-player-header .gba-header__inner::after { content: "Exam in progress"; font-size: .85rem; font-weight: 600; color: var(--gce-forest); letter-spacing: .02em; }

/* Phones and tablets. The slim exam time bar is the ONE element allowed to stick below 1024 px (owner, fix round 1). */
@media (max-width: 1023px) {
  .gce-exam__mini { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .15rem 1rem; position: sticky; top: 0; z-index: 6; margin: 0 -.25rem 1rem; padding: .45rem .8rem; background: var(--gce-forest); color: #fff; border-radius: 0 0 4px 4px; font-size: .9rem; line-height: 1.3; font-variant-numeric: tabular-nums; box-shadow: 0 6px 14px -10px rgba(12, 42, 30, .7); }
  .gce-exam__mini strong { font-weight: 700; }
  .gce-exam__mini-alert { flex-basis: 100%; font-weight: 600; color: #ffe2d6; }
  .gce-exam .gce-exam__alert { display: none; }
  .gce-qitem, .gce-exam-review, .gce-sec-title { scroll-margin-top: 4.5rem; }
}
@media (max-width: 599px) {
  .gce-crumbs .gce-crumbs__dash, .gce-crumbs .gce-crumbs__sep, .gce-crumbs .gce-crumbs__here { display: none; }
  .gce-crumbs .gce-crumbs__back { display: inline; margin-right: .25rem; }
  .gce-crumbs .gce-crumbs__course { display: inline-block; padding: .65rem 0; line-height: 1.35; }
  .gce-crumbs { margin-bottom: .5rem; }
  .gce-crumbs__course { font-weight: 600; }
  .gce-timer { padding: .6rem .85rem; gap: .35rem; margin-bottom: 1rem; }
  .gce-timer__label { display: none; }
  .gce-timer__state:not(.is-paused) { display: none; }
  .gce-sections ol { flex-wrap: nowrap; overflow-x: auto; margin-bottom: 1rem; padding-bottom: .25rem; }
  .gce-sections li { flex: none; }
  .gce-sec-where { margin: -.5rem 0 1rem; }
  .gce-exam__nav a { min-width: 44px; min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .gce-timer__bar span, .gce-choice label { transition: none; }
}

/* Fix round 1: public pages, registration, dashboard */
.gce-status__short { display: none; }
@media (max-width: 599px) {
  .gce-status__long { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .gce-status__short { display: inline; }
}
.gce-button--light { background: var(--gce-paper); color: var(--gce-forest); border-color: var(--gce-paper); }
.gce-button--light:hover, .gce-button--light:focus-visible { background: #fff; color: var(--gce-ink); border-color: #fff; }
.gce-button__sub { font-weight: 400; }
.gce-link-pad { display: inline-block; padding: .65rem 0; min-height: 44px; box-sizing: border-box; }
.gce-auth-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 .6rem; }

/* Labels: never under 12px */
.gce-card__facts dt, .gce-facts dt, .gce-gip__list dt, .gce-fine__list dt { font-size: .75rem; letter-spacing: .07em; }
.gce-card__eyebrow, .gce-enroll__h, .gce-pkg__h, .gce-package .gce-pkg__h { font-size: .78rem !important; }
.gce-dash-stats dt, .gce-learn__stats dt, .gce-timer__label { font-size: .75rem; }

/* "Email me when enrollment opens" */
.gce-notify { margin: 1rem 0 0; }
.gce-notify__form { display: grid; gap: .45rem; }
.gce-notify__label { font-weight: 600; font-size: .95rem; }
.gce-notify__row { display: flex; flex-wrap: wrap; gap: .5rem; }
.gce-notify__row input[type=email] { flex: 1 1 12rem; min-width: 0; min-height: 48px; box-sizing: border-box; padding: .7rem .85rem; font: inherit; border: 1px solid #8b8576; border-radius: 2px; background: #fff; color: var(--gce-ink); }
.gce-notify__row input[type=email]:focus { outline: 3px solid var(--gce-brass); outline-offset: 2px; border-color: var(--gce-forest); }
.gce-notify__row .gce-button { flex: 0 0 auto; }
.gce-notify__note { font-size: .85rem; color: var(--gce-muted); }
.gce-notify__err { color: var(--gce-error); font-weight: 600; margin: 0 0 .5rem; font-size: .92rem; }
.gce-notify__done { margin: 0; padding: .85rem 1rem; background: var(--gce-sage); border-left: 3px solid var(--gce-forest); border-radius: 0 var(--gce-radius) var(--gce-radius) 0; color: var(--gce-ink); }
.gce-notify--light .gce-notify__label, .gce-notify--light .gce-notify__note { color: #e9e3d6; }
.gce-notify--light .gce-notify__row .gce-button { background: var(--gce-paper); color: var(--gce-forest); border-color: var(--gce-paper); }
.gce-notify--light .gce-notify__row .gce-button:hover { background: #fff; color: var(--gce-ink); }
.gce-notify--light .gce-notify__row input[type=email] { border-color: var(--gce-paper); }
.gce-notify--light .gce-notify__err { color: #ffd9cc; }
.gce-notify--light .gce-notify__done { background: rgba(255, 255, 255, .12); border-color: #d9b77e; color: #fff; }

/* Package price story: both prices are real, no strikethrough */
.gce-price { display: grid; gap: .35rem; margin: .5rem 0 0; }
.gce-price p { margin: 0; }
.gce-price__line { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .75rem; }
.gce-price__compare { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .75rem; font-size: .95rem; color: var(--gce-ink); }
.gce-price__vs { color: var(--gce-ink); }
.gce-price__save { display: inline-block; font-size: .85rem; font-weight: 600; color: var(--gce-forest); background: var(--gce-sage); border: 1px solid #c9d6c8; border-radius: 99px; padding: .2rem .7rem; }
.gce-price__per { font-size: .88rem; color: var(--gce-muted); }
.gce-price--compact .gce-price__amount { font-size: 2.2rem; }
.gba-catalog__help .gce-price__vs, .gba-catalog__help .gce-price__per { color: #e9e3d6; }
.gba-catalog__help .gce-price__save { background: rgba(255, 255, 255, .12); border-color: rgba(233, 227, 214, .35); color: #fff; }
.gce-enroll__sep { display: flex; flex-wrap: wrap; gap: .35rem .6rem; align-items: center; color: var(--gce-ink); }

/* Catalog: even rows, a wide card for a lone course, compact cards on phones */
.gce-catalog-note { margin: -2rem 0 3rem; font-size: .92rem; color: var(--gce-muted); max-width: 46rem; }
@media (min-width: 700px) { .gce-catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .gce-catalog { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 700px) and (max-width: 1099px) { .gce-catalog > li:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (min-width: 1100px) {
  .gce-catalog > li:last-child:nth-child(3n+1) { grid-column: 1 / -1; }
  .gce-catalog > li:last-child:nth-child(3n+2) { grid-column: span 2; }
}
@media (min-width: 700px) {
  .gce-catalog--n1 > li, .gce-catalog > li:last-child:nth-child(3n+1) { grid-template-columns: 5rem minmax(0, 1fr); }
  .gce-catalog--n1 .gce-card__text { -webkit-line-clamp: 4; max-width: 52rem; }
}
.gce-card__eyehours { display: none; }
@media (max-width: 599px) {
  .gce-card--course { grid-template-columns: minmax(0, 1fr); padding: 1.15rem 1.15rem 1rem; gap: .35rem; }
  .gce-card__hours { display: none; }
  .gce-card__eyehours { display: inline; }
  .gce-card__text { -webkit-line-clamp: 2; }
  .gce-card__facts { gap: .4rem 1.1rem; }
}

/* Home catalog index: required on the left, survey and electives on the right */
.gce-index__col { display: grid; gap: 2.5rem; align-content: start; }

/* Course page */
.gce-checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem 2rem; border-top: 1px solid var(--gce-line); }
.gce-checklist li { position: relative; padding: .75rem 0 .75rem 2rem; border-bottom: 1px solid var(--gce-line); line-height: 1.5; }
.gce-checklist li::before { content: ""; position: absolute; left: .2rem; top: 1.05rem; width: .8rem; height: .4rem; border-left: 2px solid var(--gce-forest); border-bottom: 2px solid var(--gce-forest); transform: rotate(-45deg); }
@media (min-width: 760px) { .gce-checklist--cols { grid-template-columns: 1fr 1fr; } }
.gce-topics__more, .gce-outcomes .gce-small { margin: 1rem 0 0; color: var(--gce-muted); }
.gce-outline__sum { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; margin: 0; padding: 1rem 0 0; border-top: 2px solid var(--gce-ink); margin-top: -1px; }
.gce-outline__sum span:first-child { font-weight: 600; }
.gce-outline__sum span:last-child { color: var(--gce-muted); font-size: .92rem; }
.gce-upsell { background: var(--gce-tint); border: 1px solid var(--gce-line); border-left: 3px solid var(--gce-forest); border-radius: var(--gce-radius); padding: clamp(1.25rem, 1rem + 1vw, 2rem); }
.gce-upsell p { margin: 0; }
.gce-upsell__eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gce-brass); }
.gce-course__main h2.gce-upsell__h, .gce-upsell__h { font-family: var(--gce-serif); font-weight: 400; font-size: clamp(1.35rem, 1.2rem + .6vw, 1.75rem); line-height: 1.2; margin: .4rem 0 .6rem; }
.gce-upsell__go { margin-top: 1rem !important; }
.gce-upsell--rail { border-width: 1px 0 0; border-radius: 0; border-left: 0; padding: 1.25rem 1.5rem 1.5rem; background: var(--gce-tint); }
.gce-upsell--rail .gce-upsell__h { font-size: 1.15rem; }
.gce-fine__list { margin: 1rem 0 0; display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--gce-line); }
.gce-fine__list > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: .2rem; padding: .8rem 0; border-bottom: 1px solid var(--gce-line); }
@media (min-width: 700px) { .gce-fine__list > div { grid-template-columns: 11rem 1fr; gap: 1.5rem; } }
.gce-fine__list dt { text-transform: uppercase; color: var(--gce-muted); padding-top: .2rem; }
.gce-fine__list dd { margin: 0; }
.gce-fine > .gce-small { margin: 0; }
details.gce-gip--course { margin-top: 1.5rem; }
details.gce-gip--course > summary { font-family: var(--gce-serif); font-size: 1.2rem; padding: 1.15rem 2.5rem 1.15rem 0; position: relative; min-height: 44px; }
details.gce-gip--course > summary:focus-visible { outline: 3px solid var(--gce-brass); outline-offset: 2px; }
.gce-notice--admin { border-color: var(--gce-brass); background: #fbf3e6; }
.gce-cta { display: grid; gap: 1.25rem 2.5rem; grid-template-columns: minmax(0, 1fr); background: var(--gce-forest); color: #e9e3d6; border-radius: 8px; padding: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem); }
@media (min-width: 900px) { .gce-cta { grid-template-columns: 5fr 6fr; align-items: end; } }
.gce-cta p { margin: 0 0 .75rem; color: #e9e3d6; }
.gce-cta__eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #d9b77e !important; }
.gce-course__main .gce-cta h2 { color: #fff; margin: .25rem 0 0; }
.gce-related__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .gce-related__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gce-related__list a { display: grid; gap: .35rem; height: 100%; box-sizing: border-box; padding: 1.1rem 1.15rem; background: var(--gce-surface); border: 1px solid var(--gce-line); border-radius: var(--gce-radius); text-decoration: none; color: var(--gce-ink); min-height: 44px; }
.gce-related__list a:hover { border-color: var(--gce-forest); }
.gce-related__list a:focus-visible { outline: 3px solid var(--gce-brass); outline-offset: 2px; }
.gce-related__cat { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gce-brass); }
.gce-related__title { font-family: var(--gce-serif); font-size: 1.15rem; line-height: 1.25; }
.gce-related__meta { font-size: .88rem; color: var(--gce-muted); }
.gce-instructor { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 1.25rem; align-items: start; border-top: 2px solid var(--gce-ink); padding-top: 1.5rem; }
.gce-instructor__mono { margin: 0; width: 4.5rem; height: 4.5rem; border-radius: 50%; display: grid; place-items: center; background: var(--gce-forest); color: #fff; font-family: var(--gce-serif); font-size: 1.6rem; }
.gce-instructor__eyebrow { margin: 0; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gce-brass); }
.gce-instructor__name, .gce-course__main h2.gce-instructor__name { margin: .3rem 0 .25rem; font-size: 1.6rem; }
.gce-instructor__cred { margin: 0 0 .6rem; color: var(--gce-muted); font-weight: 600; font-size: .95rem; }
.gba-twocol .gce-instructor { margin: 2.5rem 0; }

/* Head drawings (course, catalog and package mastheads): desktop only */
.gce-hero-card { display: none; }
.gce-hbars { display: none; }
@media (min-width: 1024px) {
  .gce-hero-card { display: block; background: var(--gce-surface); border: 1px solid var(--gce-line); border-radius: 8px; padding: 1.1rem 1.25rem 1.25rem; box-shadow: 0 30px 50px -36px rgba(18, 56, 41, .45); font-size: .88rem; }
  .gce-hero-card__top { display: flex; justify-content: space-between; gap: 1rem; margin: 0 0 .6rem; font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gce-brass); }
  .gce-hero-card__list { list-style: none; margin: 0; padding: 0; }
  .gce-hero-card__list li { display: grid; grid-template-columns: 1.9rem minmax(0, 1fr) auto; gap: .15rem .6rem; align-items: baseline; padding: .5rem 0; border-top: 1px solid var(--gce-line); }
  .gce-hero-card__n { font-family: var(--gce-serif); color: var(--gce-brass); }
  .gce-hero-card__t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--gce-ink); }
  .gce-hero-card__m { color: var(--gce-muted); font-variant-numeric: tabular-nums; }
  .gce-hero-card__bar { grid-column: 2 / -1; height: 3px; background: var(--gce-sage); border-radius: 2px; overflow: hidden; }
  .gce-hero-card__bar i { display: block; height: 100%; background: var(--gce-forest); }
  .gce-hero-card__final .gce-hero-card__n { color: var(--gce-forest); font-family: var(--gce-sans); }
  .gce-hero-card__more .gce-hero-card__t { color: var(--gce-muted); font-style: italic; }
  .gce-hbars { display: grid; gap: 1.25rem; background: var(--gce-surface); border: 1px solid var(--gce-line); border-radius: 8px; padding: 1.25rem 1.35rem 1.4rem; box-shadow: 0 30px 50px -36px rgba(18, 56, 41, .45); }
  .gce-hbar__label { display: flex; justify-content: space-between; margin: 0 0 .45rem; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gce-brass); }
  .gce-hbar__bar { display: flex; gap: 3px; margin: 0; }
  .gce-hbar__seg { min-width: 0; padding: .55rem .6rem; font-size: .8rem; line-height: 1.25; color: #fff; background: var(--gce-forest); border-radius: 3px; overflow: hidden; }
  .gce-hbar__seg b { display: block; font-family: var(--gce-serif); font-weight: 400; font-size: 1.35rem; }
  .gce-hbar__seg--survey { background: #2d5a45; }
  .gce-hbar__seg--cp { background: #e6ece5; color: var(--gce-ink); }
  .gce-hbar__seg--service { background: var(--gce-tint); color: var(--gce-ink); }
}

/* Registration errors next to their fields */
.gce-notice ul { margin: .35rem 0 0; padding-left: 1.2rem; }
.gce-notice ul a { color: var(--gce-error); font-weight: 600; }
.gce-field-err { display: block; margin-top: .35rem; color: var(--gce-error); font-weight: 600; font-size: .9rem; }
.gce-form [aria-invalid="true"] { border-color: var(--gce-error) !important; box-shadow: 0 0 0 1px var(--gce-error); }
.gce-check input { width: 1.5rem; height: 1.5rem; }
#gce-login .login-remember label { min-height: 44px; }
#gce-login .login-remember input { width: 1.5rem; height: 1.5rem; accent-color: var(--gce-forest); }

/* Contact details (only those filled in Settings) */
.gce-contact-details { margin: 0 0 1.5rem; display: grid; gap: .5rem; }
.gce-contact-details > div { display: grid; gap: .1rem; }
.gce-contact-details dt { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gce-brass); }
.gce-contact-details dd { margin: 0; }
.gce-contact-details--inline { margin: 1rem 0 0; font-size: .92rem; }
.gba-footer .gce-contact-details dt { color: #d9b77e; }

/* Dashboard */
@media (min-width: 760px) { .gce-dash--single > li { grid-column: 1 / -1; } }
.gce-dash-head__account { margin: .9rem 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0 1rem; color: var(--gce-muted); font-size: .92rem; }
.gce-dash__msg a { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; font-weight: 600; color: var(--gce-forest); }
.gce-dash__msg .gce-badge { margin-left: 0; }
.gce-review-table th[scope=row] { font-weight: 600; }
.gce-review-table__go { white-space: nowrap; }
.gce-review-table__go .gce-button { min-height: 44px; padding: .55rem 1rem; }
@media (max-width: 699px) {
  .gce-review-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .gce-review-table, .gce-review-table tbody, .gce-review-table tr, .gce-review-table th, .gce-review-table td { display: block; }
  .gce-review-table tr { padding: .75rem 0; border-bottom: 1px solid var(--gce-line); }
  .gce-review-table th, .gce-review-table td { border: 0; padding: .15rem 0; }
  .gce-review-table__go { white-space: normal; padding-top: .5rem !important; }
}

/* Package page: the sticky enrollment rail stays static below 1024px (standing rule) */
@media (max-width: 1023px) { .gce-pkg__grid .gce-enroll, .gce-course__aside { position: static !important; } }
.gce-upsell__text { color: var(--gce-muted); margin: 0 0 .5rem !important; }
.gce-upsell__pkgs { list-style: none; margin: .5rem 0 0; padding: 0; display: grid; gap: .5rem; }
.gce-upsell__pkgs li { display: grid; gap: .1rem; padding: .55rem 0; border-top: 1px solid var(--gce-line); }
.gce-upsell__pname { font-weight: 600; }
.gce-upsell__pprice strong { font-family: var(--gce-serif); font-weight: 400; font-size: 1.45rem; color: var(--gce-forest); margin-right: .2rem; }
/* The course rail is sticky at 1024px and up; it scrolls inside itself if it is taller than the window. */
@media (min-width: 1024px) { .gce-course__aside { max-height: calc(100vh - 3rem); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; } }
@media (max-width: 1023px) { .gce-upsell--rail { display: none; } }

/* ---------- fix round 2 (public pages) ---------- */
/* Catalog cards: full lead sentence (no ellipsis), package tags, one accessible eyebrow */
.gce-card__text { display: block; -webkit-line-clamp: unset; overflow: visible; }
.gce-card__eyehours { display: inline; }
@media (min-width: 600px) { .gce-card__eyehours { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; } }
.gce-card__hours { font-size: .75rem; letter-spacing: .08em; }
.gce-card__facts dt { font-size: .75rem; letter-spacing: .1em; }
.gce-card__pkgs { margin: .35rem 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; font-size: .8rem; }
.gce-card__pkgs-label { color: var(--gce-muted); font-weight: 600; margin-right: .1rem; }
.gce-tag { display: inline-block; padding: .15rem .55rem; border: 1px solid #c9d6c8; background: var(--gce-sage); color: var(--gce-forest); border-radius: 99px; font-weight: 600; line-height: 1.4; }
/* A lone last card keeps the width of the others (no stretched row) */
@media (min-width: 700px) {
  .gce-catalog > li:last-child:nth-child(odd), .gce-catalog > li:last-child:nth-child(3n+1), .gce-catalog > li:last-child:nth-child(3n+2) { grid-column: auto; }
  .gce-catalog > li:last-child:nth-child(3n+1) { grid-template-columns: 3.75rem 1fr; }
  .gce-catalog--n1 > li { grid-column: 1 / -1 !important; grid-template-columns: 5rem minmax(0, 1fr) !important; }
}
.gce-catalog-note { font-size: .95rem; }

/* Course page rail: facts first (scroll away), then the compact enrollment card, which alone is sticky at 1024px+ */
.gce-course__aside { display: grid; gap: 1.25rem; align-content: start; }
.gce-course__aside > .gce-facts { margin: 0; }
@media (min-width: 1024px) {
  .gce-course__aside { position: static !important; max-height: none !important; overflow: visible !important; align-self: stretch; }
  .gce-course__aside > .gce-course__card { position: sticky; top: 1.5rem; }
  .gce-course__aside > .gce-facts dl > div { grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: .6rem 0; }
}
@media (max-width: 1023px) {
  .gce-course__aside > .gce-course__card { position: static !important; }
  /* Phones and tablets: a compact fact strip, then the enrollment card, then the course content */
  .gce-course__aside > .gce-facts dl { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.25rem; }
  .gce-course__aside > .gce-facts dl > div { grid-template-columns: minmax(0, 1fr) !important; gap: .1rem !important; padding: .55rem 0; }
  .gce-course__aside > .gce-facts dd { font-size: .95rem; }
  .gce-course__aside .gce-enroll { padding: 1.1rem 1.25rem; }
  .gce-course__aside .gce-enroll__status { margin-top: .6rem; }
}
.gce-enroll .gce-enroll__actions { margin-top: .9rem; }

/* Course head drawing: unit titles wrap instead of being cut off */
@media (min-width: 1024px) { .gce-hero-card__t { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.3; } }

/* Topics: writers' opening sentence, then the list; the course-method sentence as a note */
.gce-topics__intro { margin: 0 0 1rem; }
.gce-topics__more.gce-note { font-size: .95rem; padding: .85rem 1rem; background: var(--gce-tint); border-left: 3px solid var(--gce-line); border-radius: 0 var(--gce-radius) var(--gce-radius) 0; }

/* Package card on course pages: one row per package with its honest sum */
.gce-upsell__pkgs li { gap: .15rem; }
a.gce-upsell__pname { color: var(--gce-ink); font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.gce-upsell__who { font-size: .9rem; color: var(--gce-muted); }

/* Packages page head: "Which package is mine?" */
@media (min-width: 1024px) {
  .gce-explain__list { margin: 0; }
  .gce-explain__list > div { padding: .65rem 0; border-top: 1px solid var(--gce-line); }
  .gce-explain__list dt { font-weight: 600; color: var(--gce-ink); margin: 0 0 .15rem; }
  .gce-explain__list dd { margin: 0; color: var(--gce-muted); line-height: 1.5; font-size: .92rem; }
}

/* Small text never under 14px for notes, 12px for labels */
.gce-notify__note, .gce-price__save, .gce-enroll__what, .gce-enroll__sep { font-size: .875rem; }
.gce-facts dt, .gce-fine__list dt { font-size: .75rem; letter-spacing: .1em; }
@media (max-width: 1023px) {
  .gce-course__aside .gce-facts__wide { display: none !important; }
  .gce-course__aside .gce-enroll__note { font-size: .9rem; }
}

/* ---------- fix round 3 (public components) ---------- */
/* Two-step package chooser: works without JS (GET form), live with JS. */
.gce-chooser { display: grid; gap: 1.25rem 2rem; grid-template-columns: minmax(0, 1fr); background: var(--gce-surface); border: 1px solid var(--gce-line); border-radius: var(--gce-radius); padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); margin: 0 0 2rem; }
@media (min-width: 900px) { .gce-chooser { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .gce-chooser__go, .gce-chooser__result { grid-column: 1 / -1; } }
.gce-chooser__step { border: 0; margin: 0; padding: 0; min-width: 0; }
.gce-chooser__step legend { padding: 0; margin: 0 0 .75rem; font-family: var(--gce-serif); font-size: clamp(1.2rem, 1.1rem + .5vw, 1.45rem); line-height: 1.25; display: flex; gap: .65rem; align-items: center; }
.gce-chooser__n { width: 1.9rem; height: 1.9rem; flex: none; border-radius: 50%; display: inline-grid; place-items: center; background: var(--gce-forest); color: #fff; font: 600 .9rem/1 var(--gce-sans); }
.gce-seg { display: grid; grid-template-columns: minmax(0, 1fr); gap: .5rem; }
@media (min-width: 480px) { .gce-seg { grid-template-columns: 1fr 1fr; } }
.gce-seg__opt { position: relative; display: flex; }
.gce-seg__in { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.gce-seg__label { flex: 1; display: flex; align-items: center; gap: .65rem; min-height: 52px; padding: .7rem 1rem; border: 1px solid #8b8576; border-radius: 4px; background: #fff; cursor: pointer; font-weight: 600; line-height: 1.3; color: var(--gce-ink); }
.gce-seg__label::before { content: ""; flex: none; width: 1.1rem; height: 1.1rem; border-radius: 50%; border: 2px solid #6d675a; box-sizing: border-box; background: #fff; }
.gce-seg__in:checked + .gce-seg__label { border-color: var(--gce-forest); background: var(--gce-sage); box-shadow: inset 0 0 0 1px var(--gce-forest); }
.gce-seg__in:checked + .gce-seg__label::before { border-color: var(--gce-forest); background: radial-gradient(circle, var(--gce-forest) 0 40%, #fff 45%); }
.gce-seg__in:focus-visible + .gce-seg__label { outline: 3px solid var(--gce-brass); outline-offset: 2px; }
.gce-seg__in:disabled + .gce-seg__label { cursor: default; color: var(--gce-muted); background: var(--gce-paper); border-color: var(--gce-line); }
.gce-chooser__hint { margin: .55rem 0 0; font-size: .95rem; color: var(--gce-muted); }
.gce-chooser.is-later .gce-chooser__step--license legend { color: var(--gce-muted); }
.gce-chooser__go { margin: 0; }
.gce-chooser__result:empty { display: none; }
.gce-chooser__result { border-top: 1px solid var(--gce-line); padding-top: 1.1rem; outline: none; }
.gce-chooser__result:focus-visible { outline: 3px solid var(--gce-brass); outline-offset: 4px; }
.gce-chooser__ans { margin: 0 0 .85rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem .75rem; }
.gce-chooser__label { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gce-brass); }
.gce-chooser__name { font-family: var(--gce-serif); font-weight: 400; font-size: clamp(1.35rem, 1.2rem + .7vw, 1.7rem); line-height: 1.2; color: var(--gce-ink); }
.gce-chooser__meta { color: var(--gce-muted); }
.gce-chooser__ans--wait { color: var(--gce-muted); font-weight: 600; }
.gce-chooser__links { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }
.gce-chooser__pending { color: var(--gce-muted); font-size: .95rem; }

/* Highlight of the chosen package anywhere on the page (cards, table columns, phone disclosures). */
.is-match { --gce-match: 1; }

/* Comparison: a table at 900px and up, one disclosure per package below. */
.gce-pkgcompare { margin: 1.5rem 0 0; }
.gce-compare-wrap { display: none; }
.gce-pkgacc { display: grid; gap: .75rem; }
@media (min-width: 900px) { .gce-compare-wrap { display: block; } .gce-pkgacc { display: none; } }
.gce-compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--gce-surface); border: 1px solid var(--gce-line); border-radius: var(--gce-radius); font-size: .98rem; }
.gce-compare th, .gce-compare td { padding: .6rem .9rem; border-bottom: 1px solid var(--gce-line); text-align: left; vertical-align: middle; }
.gce-compare thead th { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gce-muted); font-weight: 600; vertical-align: bottom; padding-top: 1rem; }
.gce-compare thead th.gce-compare__pkg { font: 400 1.12rem/1.25 var(--gce-serif); letter-spacing: 0; text-transform: none; color: var(--gce-ink); text-wrap: balance; width: 17%; text-align: center; }
.gce-compare__course { width: auto; }
.gce-compare__hrs { text-align: center !important; width: 4.5rem; font-variant-numeric: tabular-nums; color: var(--gce-muted); }
.gce-compare tbody th[scope=row] { font-weight: 400; }
.gce-compare tbody th a { color: var(--gce-ink); text-decoration-color: var(--gce-line); text-underline-offset: 3px; }
.gce-compare tbody th a:hover { text-decoration-color: var(--gce-forest); }
.gce-compare__group th { background: var(--gce-paper); font-size: .8rem !important; letter-spacing: .1em; text-transform: uppercase; color: var(--gce-brass) !important; font-weight: 600 !important; padding-top: .9rem !important; }
.gce-compare__cell { text-align: center !important; }
.gce-yes { display: inline-block; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--gce-forest); position: relative; vertical-align: middle; }
.gce-yes::after { content: ""; position: absolute; left: .5rem; top: .28rem; width: .32rem; height: .62rem; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.gce-no { display: inline-block; width: .7rem; height: 2px; background: var(--gce-line); vertical-align: middle; }
.gce-compare tfoot th, .gce-compare tfoot td { background: var(--gce-paper); font-variant-numeric: tabular-nums; }
.gce-compare tfoot th { font-weight: 600; }
.gce-compare__price { font: 400 1.6rem/1 var(--gce-serif); color: var(--gce-ink); }
.gce-compare__go td { border-bottom: 0; }
.gce-compare tr:last-child > * { border-bottom: 0; }
.gce-compare .is-match { background: #e9f0e8; }
.gce-compare thead .is-match { box-shadow: inset 0 3px 0 var(--gce-forest); }
.gce-pkgacc__item { border: 1px solid var(--gce-line); border-radius: var(--gce-radius); background: var(--gce-surface); }
.gce-pkgacc__item.is-match { border-color: var(--gce-forest); box-shadow: inset 4px 0 0 var(--gce-forest); }
.gce-pkgacc__item > summary { list-style: none; cursor: pointer; display: grid; gap: .2rem; padding: 1rem 3rem 1rem 1.1rem; position: relative; min-height: 48px; }
.gce-pkgacc__item > summary::-webkit-details-marker { display: none; }
.gce-pkgacc__item > summary::after { content: ""; position: absolute; right: 1.2rem; top: 1.45rem; width: .55rem; height: .55rem; border-right: 2px solid var(--gce-forest); border-bottom: 2px solid var(--gce-forest); transform: rotate(45deg); }
.gce-pkgacc__item[open] > summary::after { transform: rotate(-135deg); top: 1.7rem; }
.gce-pkgacc__item > summary:focus-visible { outline: 3px solid var(--gce-brass); outline-offset: 2px; }
.gce-pkgacc__name { font: 400 1.25rem/1.25 var(--gce-serif); color: var(--gce-ink); }
.gce-pkgacc__meta { font-size: .95rem; color: var(--gce-muted); }
.gce-pkgacc__body { padding: 0 1.1rem 1.1rem; }
.gce-pkgacc__sum { margin: 0 0 .5rem; color: var(--gce-muted); font-size: .95rem; }
.gce-pkgacc__list { list-style: none; margin: 0; padding: 0; }
.gce-pkgacc__list li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--gce-line); }
.gce-pkgacc__list li a { color: var(--gce-ink); text-underline-offset: 3px; min-height: 24px; }
.gce-pkgacc__list li span { color: var(--gce-muted); flex: none; font-variant-numeric: tabular-nums; }
.gce-pkgacc__list .gce-pkgacc__group { display: block; border: 0; padding: .9rem 0 .2rem; font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gce-brass); }
.gce-pkgacc__go { margin: 1rem 0 0; }

/* Notify inside an enrollment box, and compact variants */
.gce-notify--compact { margin: .75rem 0 0; }
.gce-enroll .gce-notify__row .gce-button { flex: 1 1 auto; }

/* Catalog: one status line above the list, the reading notes in a disclosure, a way back to the groups */
.gce-catalog-status { margin: -1.75rem 0 1rem; display: flex; gap: .6rem; align-items: baseline; font-size: 1rem; color: var(--gce-ink); }
.gce-catalog-help { margin: 0 0 3rem; max-width: 46rem; }
.gce-catalog-help > summary { cursor: pointer; font-weight: 600; color: var(--gce-forest); min-height: 44px; display: inline-flex; align-items: center; text-underline-offset: 4px; text-decoration: underline; }
.gce-catalog-help > summary:focus-visible { outline: 3px solid var(--gce-brass); outline-offset: 2px; }
.gce-catalog-help p { margin: .35rem 0 0; font-size: 1rem; color: var(--gce-ink); }
.gce-group__top { margin: 1.25rem 0 0; }
.gce-link-pad { display: inline-flex; align-items: center; min-height: 44px; color: var(--gce-forest); font-weight: 600; text-underline-offset: 4px; }
.gce-card__min { color: var(--gce-muted); font-weight: 400; }
.gce-card--course .gce-card__body { height: 100%; }
.gce-card--course .gce-card__pkgs { margin-top: auto; padding-top: .5rem; }
.gce-card__title { text-wrap: balance; }

/* Course page: "On this page" jump links (phones and tablets; the rail does this job on desktop). Not pinned. */
.gce-onpage { margin: 0 0 2rem; }
.gce-onpage__label { margin: 0 0 .4rem; font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gce-brass); }
.gce-onpage ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.gce-onpage a { display: inline-flex; align-items: center; min-height: 44px; padding: .3rem .95rem; border: 1px solid var(--gce-line); border-radius: 99px; text-decoration: none; color: var(--gce-ink); font-weight: 600; font-size: .95rem; background: var(--gce-surface); }
.gce-onpage a:hover { border-color: var(--gce-forest); }
.gce-onpage a:focus-visible { outline: 3px solid var(--gce-brass); outline-offset: 2px; }
@media (min-width: 1024px) { .gce-onpage { display: none; } }
.gce-course__main h2[id] { scroll-margin-top: 1rem; }
.gce-upsell__sum { margin: .75rem 0 0; color: var(--gce-muted); }

/* Fine print: readable size and a darker grey (AA with room to spare on ivory) */
:where(.gce-course, .gce-enroll, .gce-gip, .gce-pkgcompare, .gce-catalog-help) .gce-small, .gce-note, .gce-enroll__note, .gce-notify__note { font-size: 1rem; }
.gce-notify__note, .gce-enroll__note { color: #3f4943; }

/* Phones and tablets: the course rail stays short (the ribbon and status line already say approval is pending). */
@media (max-width: 1023px) { .gce-course__aside .gce-enroll__note, .gce-course__aside .gce-notify__note { display: none; } .gce-course__aside .gce-notify--compact { margin-top: .5rem; } }

/* Fix round 2 (learner screens) */
.gce-refl-prompt { display: block; font-size: 1.05rem; font-weight: 400; line-height: 1.6; color: var(--gce-ink); margin-bottom: .6rem; }
#gce-reflection { min-height: 16rem; font-size: 1rem; line-height: 1.6; }
#gce-reflection[aria-invalid="true"] { border-color: var(--gce-error); box-shadow: 0 0 0 1px var(--gce-error); }
.gce-rp-returned { margin-bottom: 1.5rem; }
.gce-rp-returned p { margin: 0 0 .5rem; }
.gce-rp-returned__label { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.gce-rp-returned .gce-statement { margin: 0 0 .75rem; background: var(--gce-surface); }
.gce-status-note { margin: 1rem 0; }
.gce-status-note p { margin: 0 0 .4rem; }
.gce-status-note p:last-child { margin-bottom: 0; }
.gce-dash__item .gce-status-note { font-size: .95rem; }
.gce-tag--alert { background: var(--gce-error); color: #fff; border-color: var(--gce-error); }
.gce-field-err { display: block; color: var(--gce-error); font-weight: 600; font-size: .92rem; margin: .1rem 0 .3rem; }
.gce-form [aria-invalid="true"] { border-color: var(--gce-error); box-shadow: 0 0 0 1px var(--gce-error); }
.gce-errsum ul { margin: .4rem 0 0; padding-left: 1.2rem; }
.gce-errsum a { color: inherit; font-weight: 600; }
.gce-file-preview[hidden] { display: none !important; }
.gce-sections__locked:focus-visible { outline: 3px solid var(--gce-poppy); outline-offset: 2px; }
.gce-review__given, .gce-review__right { display: flex; gap: .5rem; align-items: baseline; margin: .25rem 0; }
.gce-mark { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 1.35rem; height: 1.35rem; border-radius: 50%; font-size: .8rem; font-weight: 700; color: #fff; }
.gce-mark--wrong { background: var(--gce-error); }
.gce-mark--right { background: var(--gce-forest); }
#gce-rp-feedback:focus, #gce-reflection-err:focus, #gce-id-errors:focus, .gce-qitem:focus { outline: 3px solid var(--gce-poppy); outline-offset: 3px; }
/* Exam: the course title is the page h1, styled like the bar text it replaces. */
.gce-exam__title { font: inherit; margin: 0; color: inherit; letter-spacing: 0; }
/* Low time: a label and a poppy panel, not colour alone. */
.gce-exam__low, .gce-exam__clock .gce-exam__low, .gce-exam__mini .gce-exam__low { display: none; margin-left: .5rem; padding: .15rem .55rem; border-radius: 4px; background: #fff; color: var(--gce-error); font-size: .8125rem; font-weight: 700; line-height: 1.4; text-transform: uppercase; letter-spacing: .05em; }
.gce-exam.is-low .gce-exam__low, .gce-exam.is-low .gce-exam__clock .gce-exam__low, .gce-exam.is-low .gce-exam__mini .gce-exam__low { display: inline-block; }
.gce-exam.is-low #gce-clock { color: #fff; }
.gce-exam.is-low .gce-exam__bar { box-shadow: inset 0 -4px 0 var(--gce-poppy); }
.gce-exam.is-low .gce-exam__mini { background: var(--gce-poppy); }
@media (max-width: 1023px) {
  .gce-exam.has-mini-js.is-bar-visible .gce-exam__mini { visibility: hidden; height: 0; padding: 0; margin: 0; overflow: hidden; }
  .gce-review-table td[data-label]::before { content: attr(data-label) ": "; color: var(--gce-muted); font-size: .85rem; }
}
@media (max-width: 399px) {
  .gce-dash-stats > div { padding: 0 .6rem; }
  .gce-dash-stats dt { white-space: normal; }
}

/* Fix round 3 (learner) */
/* Dashboard: certificates strip, package progress, Continue cards, compact rows for Not started and Completed. */
.gce-certs { margin: 1.5rem 0 0; padding: 1.1rem 1.35rem 1rem; background: var(--gce-surface); border: 1px solid var(--gce-line); border-top: 3px solid var(--gce-brass); border-radius: var(--gce-radius); }
.gce-certs .gce-h { margin: 0 0 .5rem; }
.gce-certs__list { list-style: none; margin: 0; padding: 0; }
.gce-certs__list li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; padding: .65rem 0; border-top: 1px solid var(--gce-line); }
.gce-certs__list li:first-child { border-top: 0; }
.gce-certs__list p { margin: 0; }
.gce-certs__title { font-weight: 600; }
.gce-certs > .gce-small { margin: .5rem 0 0; }
.gce-dash-pkg { margin: 1.25rem 0 0; padding: 1rem 1.35rem; background: var(--gce-tint); border-radius: var(--gce-radius); display: grid; gap: .45rem; }
.gce-dash-pkg p { margin: 0; }
.gce-dash-pkg__title { font-family: var(--gce-serif); font-size: 1.3rem; line-height: 1.2; }
.gce-dash-pkg .gce-dash__pct { min-width: 0; white-space: nowrap; }
.gce-dash-group .gce-h { margin: 2.25rem 0 1rem; }
.gce-dash-sub { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gce-muted); font-weight: 600; margin: 1.25rem 0 .5rem; }
.gce-dash-sub__n { letter-spacing: 0; text-transform: none; font-weight: 400; }
.gce-dash__tags { grid-column: 2; grid-row: 1; margin: 0; display: flex; flex-wrap: wrap; gap: .3rem; justify-content: flex-end; }
.gce-dash__head .gce-card__eyebrow { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gce-dash__facts { display: grid; grid-template-columns: minmax(0, 1fr); gap: .45rem; }
.gce-dash__facts > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 1rem; }
.gce-dash__actions .gce-button { width: 100%; justify-content: center; text-align: center; box-sizing: border-box; }
.gce-dash__links { display: flex; flex-wrap: wrap; gap: 0 1.25rem; margin: 0; }
.gce-dash__links a { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; color: var(--gce-forest); font-weight: 600; font-size: .95rem; text-underline-offset: 3px; }
.gce-dash-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--gce-line); }
.gce-dash-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.25rem; padding: .9rem 0; border-bottom: 1px solid var(--gce-line); }
.gce-dash-row__main { flex: 1 1 18rem; min-width: 0; }
.gce-dash-row__main p { margin: 0; }
.gce-dash-row__title { font-family: var(--gce-serif); font-weight: 400; font-size: 1.2rem; line-height: 1.25; margin: .15rem 0 .2rem; }
.gce-dash-row__go { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.gce-tag--fresh { background: var(--gce-surface); border-color: var(--gce-line); color: var(--gce-muted); }
.gce-tag--sample { background: var(--gce-surface); border-color: var(--gce-brass); color: var(--gce-brass); }
.gce-dash-done > summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 600; color: var(--gce-forest); }
.gce-dash-done[open] > summary { margin-bottom: .5rem; }
.gce-dash-note { margin: 2rem 0 0; max-width: 60ch; }
.gce-learn__credit { margin: .6rem 0 0; }
/* Timer: a short label on every screen; the section minimum on its own line. */
.gce-timer__sec { margin: 0; }
@media (max-width: 599px) {
  .gce-timer__label { display: inline; }
  body .gba-player-main { padding-left: 16px !important; padding-right: 16px !important; }
  /* Section chips wrap onto two lines instead of a row cut off at the edge. */
  .gce-sections ol { flex-wrap: wrap; overflow: visible; }
  .gce-sections li a, .gce-sections li span { min-width: 44px; padding: 0 .55rem; }
  .gce-dash-row__go { width: 100%; justify-content: space-between; }
}
/* Role-play feedback and anchors land clear of the page top. */
#gce-rp-feedback, #gce-rp-returned, #gce-reflection-err, #gce-reflection-h { scroll-margin-top: 1.5rem; }
.gce-rp-next { margin: 1.25rem 0 .25rem; }
/* After an exam pass: what comes next. */
.gce-next-steps { margin: 1.75rem 0 1rem; padding: 1rem 1.35rem; background: var(--gce-tint); border-radius: var(--gce-radius); }
.gce-next-steps .gce-h { margin: 0 0 .4rem; }
.gce-next-steps__list { margin: 0 0 .5rem; padding-left: 1.2rem; }
.gce-next-steps .gce-actions { margin: .5rem 0 0; }
/* Quiz pass: explanations for every question. */
.gce-explain { margin: 1.5rem 0; border: 1px solid var(--gce-line); border-radius: var(--gce-radius); background: var(--gce-surface); padding: .25rem 1.1rem; }
.gce-explain > summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 600; color: var(--gce-forest); }
/* Messages: a reflection reply names its reflection. */
.gce-thread__about { margin: .25rem 0 .5rem; }
/* Long unit titles in the section eyebrow: sentence case, so they do not wrap into two shouting lines. */
.gce-unit-body > .gce-card__eyebrow { text-transform: none; letter-spacing: .01em; font-size: .92rem; }
/* Four dashboard counters fit a phone: two by two. */
@media (max-width: 599px) {
  .gce-dash-stats[data-stats] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 0; }
  .gce-dash-stats[data-stats] > div { padding: 0 1rem; }
  .gce-dash-stats[data-stats] > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .gce-dash-stats[data-stats] dt { white-space: normal; line-height: 1.25; }
}

/* ---------- fix round 4 ---------- */
/* Course page: the facts card sits in the page head on every width (the one list of facts). */
.gce-hero-card--facts { display: block; background: var(--gce-surface); border: 1px solid var(--gce-line); border-radius: 8px; padding: 1rem 1.15rem 1.1rem; margin: 1.5rem 0 0; box-shadow: 0 30px 50px -36px rgba(18, 56, 41, .45); font-size: .95rem; }
.gce-hero-card--facts .gce-hero-card__top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .35rem 1rem; margin: 0 0 .5rem; font-family: var(--gce-sans); font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gce-brass); }
.gce-hero-card__status { display: inline-flex; align-items: center; gap: .45rem; color: var(--gce-ink); letter-spacing: .04em; text-transform: none; font-size: .85rem; }
.gce-hero-facts { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 1.25rem; align-items: start; }
.gce-hero-facts > div { padding: .6rem 0; border-top: 1px solid var(--gce-line); align-self: stretch; }
.gce-hero-facts dt { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gce-muted); }
.gce-hero-facts dd { margin: .15rem 0 0; color: var(--gce-ink); line-height: 1.4; }
.gce-hero-card__note { margin: .6rem 0 0; padding-top: .6rem; border-top: 1px solid var(--gce-line); font-size: .9rem; color: var(--gce-muted); line-height: 1.5; }
@media (max-width: 1023px) { .gce-hero-facts > div:nth-child(n+5) { display: none; } }
@media (min-width: 1024px) { .gce-hero-card--facts { margin: 0; } }
/* The enrollment rail: the aside stretches the full grid row so the card can stay in view while the page scrolls (1024px+). */
@media (min-width: 1024px) {
  .gce-course { align-items: stretch; }
  .gce-course__aside { position: static; align-self: stretch; }
  .gce-course__aside .gce-course__card { position: sticky; top: 1.5rem; }
}
/* Related courses: content top-aligned, the hours line pinned to the bottom. */
.gce-related__list a { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: .35rem; }
.gce-related__cat { min-height: 1.2em; }
.gce-related__meta { margin-top: auto; padding-top: .35rem; }
/* Package page: the enrollment card stays in view beside the course list and the General Information Pages (1024px+). */
.gce-pkg__main { min-width: 0; display: grid; gap: 2rem; align-content: start; }
@media (min-width: 1024px) { .gce-pkg__grid > .gce-enroll { position: sticky; top: 1.5rem; align-self: start; } }
.gce-pkg__check { list-style: none; margin: 1rem 0 0; padding: .85rem 1rem; display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; background: var(--gce-sage); border-radius: 6px; font-size: .95rem; }
.gce-pkg__check li { display: inline-flex; align-items: baseline; gap: .4rem; }
.gce-pkg__ok { color: var(--gce-forest); font-weight: 700; }
.gce-gip__h { font-family: var(--gce-serif); font-weight: 400; font-size: 1.3rem; margin: 2rem 0 .75rem; padding-top: 1.25rem; border-top: 2px solid var(--gce-ink); }
.gce-gip__course { scroll-margin-top: 1rem; }
/* Register before enrollment opens: the notify form first, the account form closed for reviewers and testers. */
.gce-reg-pre { margin: 0 0 1.5rem; }
.gce-reg-pre__h { font-family: var(--gce-serif); font-weight: 400; font-size: 1.5rem; margin: 0 0 .5rem; }
.gce-reg-pre p { margin: 0 0 1rem; }
.gce-reg-test { border-top: 1px solid var(--gce-line); padding-top: .5rem; }
.gce-reg-test > summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 600; color: var(--gce-forest); }
.gce-reg-test[open] > summary { margin-bottom: .5rem; }
.gce-reg-test > summary { list-style: none; gap: .6rem; }
.gce-reg-test > summary::-webkit-details-marker { display: none; }
.gce-reg-test > summary::after { content: ""; width: .45rem; height: .45rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.gce-reg-test[open] > summary::after { transform: rotate(-135deg); }
/* Exam: compact header and a folded navigator on phones, so question 1 is on the first screen. */
.gce-exam__short { display: none; }
.gce-exam__navwrap { margin: 0 0 1.5rem; }
.gce-exam__navwrap > summary { cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--gce-forest); list-style: none; }
.gce-exam__navwrap > summary::-webkit-details-marker { display: none; }
.gce-exam__navwrap > summary::after { content: ""; width: .45rem; height: .45rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.gce-exam__navwrap[open] > summary::after { transform: rotate(-135deg); }
.gce-exam__navwrap .gce-exam__nav { margin: .5rem 0 0; }
@media (min-width: 768px) { .gce-exam__navwrap > summary { display: none; } .gce-exam__navwrap .gce-exam__nav { margin: 0; } }
.gce-exam__autonote { margin-top: .5rem; }
@media (max-width: 767px) {
  .gce-exam__long { display: none; }
  .gce-exam__short { display: inline; }
  .gce-exam__bar { padding: .6rem .9rem; gap: .25rem 1rem; flex-direction: row !important; align-items: baseline !important; margin-bottom: .75rem; }
  .gce-exam__bar .gce-exam__save { display: none; }
  .gce-exam__navwrap { margin-bottom: .75rem; }
}
/* The phone time bar sits flush with the top edge: a solid strip above it covers any text scrolling past. */
@media (max-width: 1023px) {
  .gce-exam__mini { top: 0; padding-top: calc(.45rem + env(safe-area-inset-top, 0px)); box-shadow: 0 -3rem 0 var(--gce-forest), 0 6px 14px -10px rgba(12, 42, 30, .7); }
  .gce-exam.is-low .gce-exam__mini { box-shadow: 0 -3rem 0 var(--gce-poppy), 0 6px 14px -10px rgba(12, 42, 30, .7); }
}
/* Learner timer: pinned at 1024px+ only while it still matters (unit pages, unit time not met). Quiz and role-play
   pages keep it in the flow, and anchored targets clear the pinned card. */
@media (min-width: 1024px) {
  .gce-timer.is-met, .gce-timer.gce-timer--static { position: static; box-shadow: none; }
  .gce-learn [id], .gce-qitem, #gce-rp-feedback { scroll-margin-top: 9rem; }
}
/* After a rejected reflection the live count shows the problem in the error colour too, right under the box. */
.gce-refl-form.is-rejected .gce-wordcount[data-state="short"] { color: var(--gce-error); }
#gce-reflection-err2 { display: block; margin: .35rem 0; }
/* Messages: grouped acceptance notices. */
.gce-thread__group > summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: .75rem; font-size: .95rem; }
.gce-thread__inner { list-style: none; margin: .5rem 0 0; padding: 0; }
.gce-thread__inner > li { padding: .6rem 0; border-top: 1px solid var(--gce-line); }
/* Dashboard order (fix round 4): action first, then a compact certificates strip, renewal progress, the rest. */
.gce-dash-start { margin: 0 0 1.5rem; padding: 1.25rem 1.4rem; background: var(--gce-surface); border: 1px solid var(--gce-line); border-left: 4px solid var(--gce-forest); border-radius: var(--gce-radius); }
.gce-dash-start__title { font-family: var(--gce-serif); font-weight: 400; font-size: 1.5rem; margin: .2rem 0 .4rem; }
.gce-dash-start p { margin: 0 0 .75rem; }
.gce-dash-start .gce-dash__actions { margin: 0; }
.gce-certs--strip { padding: .8rem 1.1rem .75rem; }
.gce-certs--strip .gce-certs__list li { padding: .45rem 0; }
.gce-certs__title .gce-small { color: var(--gce-muted); font-weight: 400; }
.gce-certs__dl { white-space: nowrap; font-weight: 600; }
.gce-dash-renewal { margin: 1.25rem 0 0; padding: 1rem 1.35rem; background: var(--gce-sage); border-radius: var(--gce-radius); display: grid; gap: .45rem; }
.gce-dash-renewal p { margin: 0; }
.gce-dash-renewal__n { font-size: 1.05rem; }
.gce-dash-renewal__n strong { font-family: var(--gce-serif); font-size: 1.6rem; font-weight: 400; color: var(--gce-forest); }
.gce-dash-order { margin: -.5rem 0 .75rem; }
.gce-dash-group:first-child, .gce-dash-main > .gce-dash-group:first-child { margin-top: 0; }
.gce-dash-stats dd a { color: inherit; text-decoration: underline; text-decoration-color: var(--gce-line); text-underline-offset: .2em; }

/* ===== Fix round 5 ===== */
/* Quiz: the error is drawn on the answer group (never through the question text), with its own message line. */
.gce-q__err { margin: -.35rem 0 .6rem !important; color: var(--gce-error); font-weight: 600; font-size: .95rem; }
.gce-q__choices { border-radius: 6px; }
fieldset.gce-q.is-missing .gce-q__choices { box-shadow: inset 4px 0 0 var(--gce-error); padding: .5rem 0 .1rem 1rem; background: #fdf3f1; }
.gce-quiz-missing ul { margin: .35rem 0 0; padding-left: 1.2rem; display: flex; flex-wrap: wrap; gap: .2rem 1.2rem; }
.gce-quiz-missing li { margin: 0; }
.gce-quiz-missing a { color: inherit; font-weight: 600; }
.gce-quiz-missing:focus, #gce-quiz-missing:focus { outline: 3px solid var(--gce-poppy); outline-offset: 3px; }
/* Role-play: a best choice gets the evergreen ring, not the error-red one; the scenario intro reads as body text. */
#gce-rp-feedback.is-best:focus { outline-color: var(--gce-forest); }
.gce-rp-intro, .gce-rp-intro p { color: var(--gce-ink); }
.gce-quiz-wait { margin: .6rem 0 0; flex-basis: 100%; }
/* Dashboard: pending certificate row, one renewal box with the package line inside. */
.gce-certs__held .gce-certs__why { display: block; margin-top: .15rem; color: var(--gce-muted); font-weight: 400; }
.gce-dash-stats__pending { font-size: .55em; color: var(--gce-muted); white-space: nowrap; }
.gce-dash-renewal .gce-dash-pkg { margin: .35rem 0 0; padding: .7rem 0 0; background: none; border-top: 1px solid rgba(18, 26, 22, .14); border-radius: 0; display: block; }
.gce-dash-renewal .gce-dash-pkg__title { font-family: var(--gce-sans); font-size: 1rem; line-height: 1.5; }
.gce-dash-pkg__label { display: block; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gce-muted); font-weight: 600; }
.gce-tag--sep { font-family: var(--gce-sans); font-size: .72rem; vertical-align: middle; }
.gce-dash-more { margin-top: .75rem; }
/* Exam result: a timed-out attempt says so first; the retake note says what is at stake. */
.gce-timeout { margin: .25rem 0 .5rem; }
.gce-retake-note { margin: 1.5rem 0 1rem; padding: 1rem 1.25rem; border-left: 4px solid var(--gce-brass); background: var(--gce-surface); border-radius: 0 var(--gce-radius) var(--gce-radius) 0; }
.gce-retake-note p { margin: 0 0 .5rem; }
.gce-retake-note p:last-child { margin: 0; }
/* One size per bullet, and inline links never change the line spacing of their paragraph. */
.gce-next-steps__list li, .gce-next-steps__list li span { font-size: 1rem; color: var(--gce-ink); }
.gce-learn p a, .gce-learn li a, .gce-small a { line-height: inherit; }
.gce-draft-status { margin: .25rem 0 0; color: var(--gce-muted); }

/* ===== fix round 6 ===== */
/* Labels never under 13px (BUILD-STANDARD 1). */
.gce-card__eyebrow, .gce-card__eyehours, .gce-enroll__h, .gce-pkg__h, .gce-package .gce-pkg__h, .gce-upsell__eyebrow, .gce-cta__eyebrow,
.gce-related__cat, .gce-onpage__label, .gce-card__hours, .gce-card__facts dt, .gce-card__pkgs, .gce-card__pkgs-label, .gce-tag,
.gce-hbar__seg, .gce-compare thead th, .gce-pkgacc__group, .gce-dash-stats dt, .gce-learn__stats dt, .gce-timer__label,
.gce-dash__next span, .gce-hero-facts dt, .gce-hero-card__top, .gce-badge, .gce-contact dt, .gce-contact__label, .gce-catalog-summary dt,
.gce-stack dt, .gce-stack dd, .gce-hours dt { font-size: .8125rem !important; letter-spacing: .06em; }
@media (max-width: 480px) { .gce-dash-stats dt { white-space: normal; } }
/* Catalog cards: on phones the credit hours get their own line under the category (never orphaned). */
@media (max-width: 599px) {
  .gce-card__eyehours { display: block !important; position: static !important; width: auto !important; height: auto !important; clip: auto !important; clip-path: none !important; white-space: normal !important; }
  .gce-card__dot { display: none; }
}
/* Catalog cards: content top-aligned, facts and package tags pinned to the bottom (one baseline per row). */
.gce-card--course { align-items: stretch; }
.gce-card--course .gce-card__body { display: flex; flex-direction: column; min-height: 100%; }
.gce-card--course .gce-card__facts { margin-top: auto; padding-top: .75rem; }
/* Catalog groups fold on phones (catalog.js); the heading is the toggle. */
.gce-group__toggle { all: unset; box-sizing: border-box; display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 1rem; min-height: 48px; cursor: pointer; font: inherit; color: inherit; }
.gce-group__toggle::after { content: ""; flex: none; width: .55rem; height: .55rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .2s ease; }
.gce-group__toggle[aria-expanded="true"]::after { transform: rotate(-135deg) translateY(-1px); }
.gce-group__toggle:focus-visible { outline: 3px solid var(--gce-brass); outline-offset: 3px; }
.gce-group__count { margin-left: auto; font-family: var(--gce-sans); font-size: .9rem; font-weight: 600; color: var(--gce-muted); }
.gce-group.is-folded .gce-group__head { margin-bottom: 0; }
@media (prefers-reduced-motion: reduce) { .gce-group__toggle::after { transition: none; } }
/* Chooser: an empty step is drawn as an error on its question group. */
.gce-chooser__step.is-error { border-left: 3px solid var(--gce-error); padding-left: .85rem; }
.gce-chooser__ans--error { color: var(--gce-error); font-weight: 600; }
/* Phones: after a result, the packages that do not match shrink to their names. */
@media (max-width: 599px) {
  .gce-has-pick .gba-choice:not(.is-match) > :not(h3):not(h4) { display: none !important; }
  .gce-has-pick .gba-choice:not(.is-match) { padding: .9rem 1.1rem; opacity: .85; }
}
/* Notices: warning (license mismatch). */
.gce-notice--warn { border-color: var(--gce-brass); background: #fbf3e6; }
/* Waiting states: a status line, never a dead button. */
.gce-tag--wait { background: #fbf3e6; border-color: #e3cfa9; color: #6b4513; }
.gce-wait { display: flex; flex-wrap: wrap; gap: .5rem .75rem; align-items: baseline; margin: 1rem 0 0; font-weight: 600; }
.gce-wait__meanwhile { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.gce-learn__total { display: block; font-size: .9rem; color: var(--gce-muted); font-weight: 400; margin-top: .15rem; }
/* Remediation bar on every section of a unit while its quiz retake is pending. */
.gce-remed { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 1.25rem; margin: 0 0 1.25rem; padding: .85rem 1.1rem; border: 1px solid #e3cfa9; border-left: 3px solid var(--gce-brass); background: #fbf3e6; border-radius: 0 var(--gce-radius) var(--gce-radius) 0; }
.gce-remed p { margin: 0; }
.gce-remed .gce-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .15rem; }
/* Course record after completion. */
.gce-record { margin-top: 2.5rem; border-top: 1px solid var(--gce-line); padding-top: 1.5rem; }
.gce-record__list { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.gce-rp-history { margin: 1.25rem 0; }
.gce-rp-history > summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 600; color: var(--gce-forest); }
/* Dashboard card: the eyebrow wraps instead of being cut off; tags sit on their own row. */
.gce-dash__head { grid-template-columns: minmax(0, 1fr); }
.gce-dash__head .gce-card__eyebrow { white-space: normal; overflow: visible; text-overflow: clip; }
.gce-dash__head .gce-tag { grid-column: 1; grid-row: auto; }
.gce-dash__tags { margin: .35rem 0 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.gce-nowrap { white-space: nowrap; }
/* Section counter under the page heading. */
.gce-sec-where { margin: -.25rem 0 1.25rem; color: var(--gce-muted); font-size: .95rem; }
/* Exam table on How it works. */
.gce-examtable td:nth-child(n+2), .gce-examtable th:nth-child(n+2) { text-align: center; }
.gce-contact-details dt, .gce-gip__list dt, .gce-fine__list dt, .gce-table thead th, .gce-compare__group th, .gce-hbar__label, .gce-hbar__label span,
.gce-learn .gce-card__eyebrow, .gce-dash dt, .gce-card__facts dt, .gce-dash__facts dt { font-size: .8125rem !important; }
.gce-cite-sub { text-transform: none; letter-spacing: 0; }
[hidden] { display: none !important; }
.gce-card--course .gce-card__pkgs { margin-top: auto; padding-top: .5rem; }
.gce-card--course .gce-card__facts { margin-top: .75rem; padding-top: .75rem; }

/* ===== 0.9.0: study tools, public tools, commerce plumbing ===== */
.gce-lede-sm { font-size: 1.05rem; line-height: 1.6; color: var(--gce-muted); margin: 0 0 1.5rem; }
/* Study tools list (overview and the foot of each study page). */
.gce-study { margin: 2rem 0 1rem; padding: 1.25rem 1.25rem 1rem; background: var(--gce-surface); border: 1px solid var(--gce-line); border-radius: 12px; }
.gce-study .gce-h--sm { margin-top: 0; }
.gce-study__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr)); gap: .6rem; }
.gce-study__item { display: flex; flex-direction: column; justify-content: center; gap: .1rem; min-height: 56px; box-sizing: border-box; padding: .6rem .85rem; border: 1px solid var(--gce-line); border-radius: 8px; background: var(--gce-paper); color: var(--gce-ink); text-decoration: none; }
.gce-study__item:hover, .gce-study__item:focus-visible { border-color: var(--gce-forest); background: #fff; }
.gce-study__item.is-current { border-color: var(--gce-forest); box-shadow: inset 3px 0 0 var(--gce-forest); }
.gce-study__name { font-weight: 600; color: var(--gce-forest); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.gce-study__meta { font-size: .875rem; color: var(--gce-muted); }
.gce-study__note { margin: .85rem 0 0; }
.gce-offline-save { display: inline-flex; align-items: center; min-height: 44px; background: none; border: 0; padding: 0; font: inherit; font-size: .9rem; color: var(--gce-forest); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.gce-offline-status { display: block; }
.gce-resume { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .6rem; margin: 1.25rem 0 0; padding: .6rem .9rem; border-left: 3px solid var(--gce-brass); background: #fbf3e6; border-radius: 0 var(--gce-radius) var(--gce-radius) 0; }
.gce-resume__label { font-weight: 600; }
.gce-weak-teaser { margin: .75rem 0 0; }
/* Read aloud. */
.gce-ra { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .6rem; margin: 0 0 1.25rem; padding: .6rem .75rem; border: 1px solid var(--gce-line); border-radius: 10px; background: var(--gce-surface); }
.gce-ra button { min-height: 44px; min-width: 44px; padding: .45rem .9rem; border: 1px solid var(--gce-forest); border-radius: 6px; background: var(--gce-paper); color: var(--gce-forest); font: inherit; font-weight: 600; cursor: pointer; }
.gce-ra .gce-ra__play { background: var(--gce-forest); color: #fff; min-width: 6.5rem; }
.gce-ra button:hover, .gce-ra button:focus-visible { background: var(--gce-ink); border-color: var(--gce-ink); color: #fff; }
.gce-ra button:disabled { opacity: 1; background: var(--gce-sage); border-color: var(--gce-line); color: var(--gce-muted); cursor: default; }
.gce-ra__opt { display: inline-flex; align-items: center; gap: .35rem; font-size: .9rem; font-weight: 600; }
.gce-ra__btns { display: inline-flex; flex-wrap: nowrap; gap: .5rem; }
.gce-ra__opt select { min-height: 44px; height: 44px; max-width: 13rem; border: 1px solid var(--gce-line); border-radius: 6px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231f4d3a' stroke-width='2'/%3E%3C/svg%3E") no-repeat right .6rem center; font: inherit; font-size: 1rem; padding: 0 2rem 0 .6rem; -webkit-appearance: none; appearance: none; color: var(--gce-ink); }
.gce-ra__pos { font-size: .875rem; color: var(--gce-muted); }
.is-reading { background: #fbf3e6; box-shadow: -8px 0 0 #fbf3e6, 8px 0 0 #fbf3e6; outline: 2px solid #e3cfa9; outline-offset: 6px; border-radius: 2px; }
/* Glossary term links and tips. */
a.gce-term { color: inherit; text-decoration: underline dotted var(--gce-brass); text-decoration-thickness: 2px; text-underline-offset: 4px; }
a.gce-term:hover, a.gce-term[aria-expanded="true"] { color: var(--gce-forest); text-decoration-style: solid; }
.gce-tip { display: block; margin: .5rem 0 .75rem; padding: .8rem 1rem; background: var(--gce-sage); border-left: 3px solid var(--gce-forest); border-radius: 0 var(--gce-radius) var(--gce-radius) 0; font-size: 1rem; line-height: 1.55; }
.gce-tip__more { display: inline-flex; align-items: center; min-height: 44px; margin-right: .75rem; color: var(--gce-forest); font-weight: 600; }
.gce-tip__close { min-height: 44px; padding: 0 .8rem; border: 1px solid var(--gce-forest); border-radius: 6px; background: transparent; color: var(--gce-forest); font: inherit; font-weight: 600; cursor: pointer; }
/* Glossary page. */
.gce-az ul { list-style: none; margin: 0 0 1.5rem; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.gce-az a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border: 1px solid var(--gce-line); border-radius: 6px; font-weight: 600; color: var(--gce-forest); text-decoration: none; background: var(--gce-surface); }
.gce-az a:hover, .gce-az a:focus-visible { border-color: var(--gce-forest); }
.gce-gl__letter { margin: 2rem 0 .5rem; font-size: 1.6rem; }
.gce-gl__list { margin: 0; }
.gce-gl__item { padding: .9rem 0; border-top: 1px solid var(--gce-line); scroll-margin-top: 5rem; }
.gce-gl__item:target, .gce-gl__item:focus { background: #fbf3e6; outline: none; box-shadow: -10px 0 0 #fbf3e6, 10px 0 0 #fbf3e6; }
.gce-gl__item dt { font-weight: 700; font-family: var(--gce-sans); }
.gce-gl__item dd { margin: .25rem 0 0; line-height: 1.6; }
.gce-gl__where { display: block; margin-top: .15rem; }
/* Flashcards. */
.gce-fc-filter ul { list-style: none; margin: 0 0 1.25rem; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.gce-chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .9rem; border: 1px solid var(--gce-line); border-radius: 99px; background: var(--gce-surface); color: var(--gce-forest); font-weight: 600; text-decoration: none; }
.gce-chip.is-current { background: var(--gce-forest); border-color: var(--gce-forest); color: #fff; }
.gce-fc__progress { font-weight: 600; margin: 0 0 .75rem; }
.gce-fc__list { padding-left: 0; list-style: none; margin: 0; }
.gce-fc__static { border: 1px solid var(--gce-line); border-radius: 8px; padding: 0 1rem; margin: 0 0 .5rem; background: var(--gce-surface); }
.gce-fc__static > summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; gap: .4rem; padding: .5rem 0; font-weight: 600; }
.gce-fc__n { color: var(--gce-muted); font-weight: 600; flex: none; }
.gce-fc__count { margin: 0 0 .5rem; color: var(--gce-muted); font-size: .95rem; }
.gce-fc__card { min-height: 12rem; padding: 1.5rem 1.5rem 1.25rem; border: 1px solid var(--gce-line); border-radius: 14px; background: #fff; box-shadow: 0 10px 30px -18px rgba(18, 56, 41, .45); display: flex; flex-direction: column; justify-content: center; gap: 1rem; }
.gce-fc__card.is-flipped { border-color: var(--gce-forest); }
.gce-fc__label { margin: 0; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gce-brass); }
.gce-fc__text { margin: .35rem 0 0; font-family: var(--gce-serif); font-size: clamp(1.15rem, 1.05rem + .5vw, 1.4rem); line-height: 1.45; }
.gce-fc__back { border-top: 1px solid var(--gce-line); padding-top: 1rem; }
.gce-fc__flip { margin: 1rem 0 0; }
.gce-fc__marks { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0 0; }
.gce-fc__tools { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin: 1rem 0 0; }
.gce-fc__tools button { background: none; border: 0; padding: 0; font: inherit; color: var(--gce-forest); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.gce-fc__tools button:disabled { color: var(--gce-muted); text-decoration: none; cursor: default; }
.gce-fc__done { padding: 1.25rem; border: 1px dashed var(--gce-line); border-radius: 10px; margin-top: 1rem; }
.gce-fc__done:focus { outline: 3px solid var(--gce-brass); outline-offset: 2px; }
/* Practice test. */
.gce-practice__score { padding: 1rem 1.15rem; border-left: 3px solid var(--gce-forest); background: var(--gce-sage); border-radius: 0 var(--gce-radius) var(--gce-radius) 0; margin: 0 0 1.5rem; }
.gce-practice__score p { margin: 0; }
.gce-practice__item { padding: 1rem 0 .5rem; border-top: 1px solid var(--gce-line); }
.gce-practice__q { font-weight: 600; margin: 0 0 .4rem; }
.gce-practice__verdict { margin: 0 0 .4rem; }
.gce-practice__item.is-wrong .gce-practice__verdict strong { color: var(--gce-error); }
.gce-practice__item.is-right .gce-practice__verdict strong { color: var(--gce-forest); }
.gce-practice__label { font-weight: 600; }
.gce-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; }
/* Sections to review, notes, search. */
.gce-weak, .gce-notes-list, .gce-search__hits { list-style: none; margin: 0; padding: 0; }
.gce-weak__item, .gce-notes-list__item, .gce-search__hits > li { padding: .85rem 0; border-top: 1px solid var(--gce-line); }
.gce-weak__title { margin: 0; font-weight: 600; }
.gce-weak__item .gce-small, .gce-search__hits .gce-small { margin: .2rem 0 0; }
.gce-notes-list__where { margin: 0; display: flex; flex-wrap: wrap; gap: .25rem .75rem; align-items: baseline; }
.gce-notes-list__text { margin: .35rem 0 0; white-space: pre-wrap; }
.gce-search__row { display: flex; gap: .5rem; flex-wrap: wrap; }
.gce-search__row input { flex: 1 1 14rem; }
.gce-search__count { font-weight: 600; }
.gce-search__hits mark { background: #f6e3b8; color: inherit; padding: 0 .1em; }
.gce-learn .gce-link, .gce-weak__title a, .gce-search__hits > li > a { display: inline-flex; align-items: center; min-height: 44px; }
/* Notes under a section. */
.gce-notes { margin: 1.5rem 0; border: 1px solid var(--gce-line); border-radius: 10px; background: var(--gce-surface); padding: 0 1rem; }
.gce-notes > summary { cursor: pointer; min-height: 48px; display: flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--gce-forest); }
.gce-notes__form textarea { width: 100%; box-sizing: border-box; }
.gce-notes__row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
/* RE 251 panel. */
.gce-re251 { margin-top: 2.5rem; }
.gce-re251__table td, .gce-re251__table th { vertical-align: top; }
.gce-re251__copy { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.gce-re251__plain > summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 600; color: var(--gce-forest); }
.gce-re251__text { width: 100%; box-sizing: border-box; font-family: ui-monospace, Menlo, monospace; font-size: .875rem; white-space: pre; overflow-x: auto; }
.gce-lookup { display: block; margin-top: .25rem; }
.gce-lookup .gce-lookup-link { padding: 0; }
/* Demo lesson. */
.gce-demo { max-width: 48rem; }
.gce-demo__note { padding: .9rem 1.1rem; border-left: 3px solid var(--gce-brass); background: #fbf3e6; border-radius: 0 var(--gce-radius) var(--gce-radius) 0; margin: 0 0 1.5rem; }
.gce-demo__frame { border: 1px solid var(--gce-line); border-radius: 14px; background: #fff; padding: 1.25rem clamp(1rem, 3vw, 2rem) 1.5rem; box-shadow: 0 14px 40px -28px rgba(18, 56, 41, .5); }
.gce-demo__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; padding-bottom: .75rem; margin-bottom: 1rem; border-bottom: 1px solid var(--gce-line); }
.gce-demo__bar p { margin: 0; font-size: .9rem; }
.gce-demo__where { font-weight: 600; color: var(--gce-forest); }
.gce-demo__time { color: var(--gce-muted); }
.gce-demo__body h2 { font-family: var(--gce-serif); font-weight: 400; font-size: clamp(1.5rem, 1.3rem + 1vw, 2rem); line-height: 1.2; margin: 0 0 1rem; }
.gce-demo__h { margin: 2.5rem 0 .5rem; }
.gce-demo__go { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; margin: 1.25rem 0; }
/* Certificate verification. */
.gce-verify { max-width: 36rem; }
.gce-verify__form p { margin: 0 0 1rem; }
.gce-verify__form input { width: 100%; box-sizing: border-box; }
.gce-verify__card { margin: 1.25rem 0; padding: 1.25rem; border: 1px solid var(--gce-forest); border-radius: 12px; background: #fff; }
.gce-verify__head { margin: 0 0 .75rem; font-weight: 700; color: var(--gce-forest); }
.gce-verify__facts { margin: 0; display: grid; gap: .6rem; }
.gce-verify__facts dt { font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gce-muted); }
.gce-verify__facts dd { margin: .1rem 0 0; font-size: 1.1rem; }
.gce-verify__sample { margin: 1rem 0 0; padding: .75rem .9rem; background: #fbf3e6; border-left: 3px solid var(--gce-poppy); font-weight: 600; }
.gce-verify__fine { margin-top: 1.5rem; }
/* Offline page. */
.gce-offline__list { list-style: none; padding: 0; margin: 1rem 0; }
.gce-offline__item { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1rem; padding: .5rem 0; border-top: 1px solid var(--gce-line); }
.gce-offline__item button { background: none; border: 0; font: inherit; color: var(--gce-forest); font-weight: 600; text-decoration: underline; cursor: pointer; }
/* Commerce plumbing (rendered only once the owner turns a feature on). */
.gce-reviews { margin: 2.5rem 0; }
.gce-reviews__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.gce-review { padding: 1rem 1.15rem; border: 1px solid var(--gce-line); border-radius: 10px; background: var(--gce-surface); }
.gce-review__stars { margin: 0; color: var(--gce-brass); letter-spacing: .1em; }
.gce-review blockquote { margin: .5rem 0; }
.gce-codes { list-style: none; margin: 0; padding: 0; }
.gce-codes li { padding: .3rem 0; }
.gce-ref-link { width: 100%; box-sizing: border-box; min-height: 44px; font: inherit; }
.gce-rate { display: inline-flex; align-items: center; gap: .3rem; min-height: 44px; margin-right: .6rem; }
.gce-builder__list { list-style: none; padding: 0; }
.gce-builder__list label { display: flex; gap: .5rem; align-items: center; min-height: 44px; }
.gce-help { margin: 2rem auto; max-width: var(--wp--style--global--wide-size, 76rem); padding: 0 1rem; }
.gce-help__open { min-height: 48px; padding: 0 1.25rem; border-radius: 99px; border: 1px solid var(--gce-forest); background: var(--gce-forest); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.gce-help__dialog { width: min(36rem, calc(100vw - 2rem)); max-height: min(80vh, 40rem); border: 1px solid var(--gce-line); border-radius: 14px; padding: 1.25rem; }
.gce-help__dialog::backdrop { background: rgba(12, 42, 30, .45); }
.gce-help__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.gce-help__head h2 { margin: 0; font-size: 1.3rem; }
.gce-help__close { min-height: 44px; padding: 0 .9rem; border: 1px solid var(--gce-forest); border-radius: 6px; background: transparent; color: var(--gce-forest); font: inherit; font-weight: 600; cursor: pointer; }
.gce-help__dialog input { width: 100%; box-sizing: border-box; min-height: 48px; font: inherit; font-size: 1rem; padding: 0 .75rem; border: 1px solid var(--gce-line); border-radius: 6px; }
.gce-help__list { list-style: none; padding: 0; margin: 0; }
.gce-help__item { padding: .6rem 0; border-top: 1px solid var(--gce-line); }
.gce-help__q { font-weight: 600; margin: 0; }
@media (min-width: 1024px) { .gce-help { position: fixed; right: 1.5rem; bottom: 1.5rem; margin: 0; padding: 0; z-index: 40; } }
@media print { .gce-ra, .gce-notes, .gce-study, .gce-help { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .gce-fc__card { transition: none; } }
/* Phones (end of stylesheet): tools stack; the read-aloud bar wraps to two rows. */
@media (max-width: 599px) {
  .gce-ra { gap: .4rem; }
  .gce-ra__btns { flex: 1 1 100%; gap: .35rem; }
  .gce-ra__btns button { flex: 1 1 0; min-width: 0; padding: .45rem .3rem; }
  .gce-ra .gce-ra__play { min-width: 0; flex: 1.4 1 0; }
  .gce-ra__opt { flex: 1 1 100%; }
  .gce-ra__opt select { flex: 1; max-width: none; }
  .gce-fc__card { padding: 1.15rem; }
  .gce-fc__marks .gce-button { flex: 1 1 auto; }
  .gce-re251__table thead { display: none; }
  .gce-re251__table tr { display: block; padding: .6rem 0; border-top: 1px solid var(--gce-line); }
  .gce-re251__table td, .gce-re251__table th { display: flex; justify-content: space-between; gap: 1rem; padding: .15rem 0; border: 0; text-align: right; }
  .gce-re251__table td::before, .gce-re251__table th::before { content: attr(data-label); font-weight: 600; text-align: left; color: var(--gce-muted); }
  .gce-re251__table tfoot td:empty { display: none; }
}
.gce-demo__fold > summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 600; color: var(--gce-forest); }
/* Screen-reader-only text inside the section chips stays 1px (the chips' 44px sizing must not reach it). */
.gce-sections .gce-sr { width: 1px !important; height: 1px !important; min-width: 0 !important; min-height: 0 !important; padding: 0 !important; display: inline-block !important; }
/* Read-aloud: long device voice names never widen the bar (voices load after the page). */
.gce-ra { max-width: 100%; box-sizing: border-box; }
.gce-ra__opt { min-width: 0; max-width: 100%; }
.gce-ra__opt select { min-width: 0; text-overflow: ellipsis; }
@media (max-width: 599px) { .gce-ra__opt select { width: 100%; } }
/* Fix round 7 (learner review 7, defect 14): on desktop the section text starts in the first screen at 1440 x 900.
   Compact timer (one row), tighter chips and read-aloud bar, smaller unit heading on section pages. */
@media (min-width: 1024px) {
  .gce-timer { grid-template-columns: auto 1fr auto; align-items: center; gap: .35rem 1rem; padding: .55rem 1rem; margin-bottom: 1rem; }
  .gce-timer__bar { grid-column: 1 / -1; }
  .gce-timer__line, .gce-timer__sec, .gce-timer__state { margin: 0; }
  .gce-sections ol { margin-bottom: 1rem; }
  .gce-ra { margin-bottom: .9rem; padding: .45rem .6rem; }
  .gce-unit-body > .gce-learn__title:first-child { font-size: clamp(1.7rem, 2.2vw, 2.1rem); margin-bottom: .25rem; }
  .gce-unit-body > blockquote:first-of-type { margin: .5rem 0 1rem; padding: .5rem .9rem; font-size: .95rem; }
}

/* ===== Fix round 7, second builder (public review 7; learner review 7 defects 11 to 13) ===== */
/* Catalog: package chips wrap inside their card (public defect 1); the phone group count stays on one line. */
.gce-card__pkgs { min-width: 0; max-width: 100%; }
.gce-card__pkgs .gce-tag { flex: 0 1 auto; min-width: 0; max-width: 100%; box-sizing: border-box; white-space: normal; overflow-wrap: anywhere; border-radius: 14px; }
.gce-group__count { white-space: nowrap; flex: none; }
/* Lesson subheads sit clearly above the 1.1rem body text (public defect 11). */
.gce-unit-body h3 { font-size: 1.3rem; font-weight: 500; line-height: 1.3; margin: 1.5em 0 .5rem; }
/* Course page: a quiet link to the demo lesson in the enrollment card (public defect 2). */
.gce-enroll__demo { margin: .85rem 0 0; padding-top: .5rem; border-top: 1px solid var(--gce-line); }
.gce-enroll__demo .gce-small { display: block; font-size: .9375rem; }
.gce-outline__a11y { margin: .5rem 0 0; }
.gce-outline__a11y a { display: inline-block; padding: .55rem 0; }
/* Course page rail (1024px and up): "On this page" under the enrollment card, inside the same pinned card (public defect 3). */
.gce-rail-nav { display: none; }
@media (min-width: 1024px) {
  .gce-rail-nav { display: block; padding: 1rem 1.5rem .75rem; }
  .gce-rail-nav__h { font-family: var(--gce-sans) !important; font-size: .8125rem !important; font-weight: 600 !important; letter-spacing: .08em; text-transform: uppercase; color: var(--gce-brass); margin: 0 0 .25rem !important; }
  .gce-rail-nav ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 1rem; }
  .gce-rail-nav a { display: flex; align-items: center; min-height: 44px; color: var(--gce-forest); font-weight: 600; text-underline-offset: 4px; }
  .gce-course__aside .gce-course__card { max-height: calc(100vh - 3rem); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
}
/* Package page: the other two packages (public defect 12). */
.gce-pkg-other { margin: 3rem 0 0; padding-top: 1.75rem; border-top: 1px solid var(--gce-line); }
.gce-pkg-other__h { font-family: var(--gce-serif); font-weight: 400; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); letter-spacing: -.01em; margin: 0 0 1rem; }
.gce-pkg-other__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .gce-pkg-other__list { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.gce-pkg-other__link { display: flex; flex-direction: column; justify-content: center; gap: .15rem; min-height: 56px; height: 100%; box-sizing: border-box; padding: .8rem 1rem; border: 1px solid var(--gce-line); border-radius: 8px; background: var(--gce-surface); color: var(--gce-ink); text-decoration: none; }
.gce-pkg-other__link:hover { border-color: var(--gce-forest); }
.gce-pkg-other__name { font-weight: 600; color: var(--gce-forest); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.gce-pkg-other__who { font-size: .9375rem; color: var(--gce-muted); }
.gce-pkg-other__find { margin: .5rem 0 0; }
/* Packages page: the 45 hours of each package as a ruled strip, one mark per credit hour (public defect 7). SVG text is 15px
   or more at every width: one column until three columns are each wide enough. */
.gce-hchart { display: grid; gap: 1.5rem 2rem; grid-template-columns: minmax(0, 1fr); margin: 0 0 2rem; }
@media (min-width: 1100px) { .gce-hchart { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gce-hchart__item { margin: 0; max-width: 30rem; }
.gce-hchart svg { display: block; width: 100%; height: auto; color: var(--gce-forest); }
.gce-hchart__line { fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.gce-hchart__line--soft { opacity: .55; }
.gce-hchart__line--hill { stroke: var(--gce-brass); opacity: .5; }
.gce-hchart__line--cut { stroke: var(--gce-poppy); stroke-width: 2; }
.gce-hchart__n { font: 600 16px var(--gce-sans); fill: var(--gce-ink); }
.gce-hchart__l { font: 400 15px var(--gce-sans); fill: var(--gce-muted); }
.gce-hchart figcaption { display: flex; justify-content: space-between; gap: 1rem; margin-top: .35rem; padding-top: .5rem; border-top: 1px solid var(--gce-line); font-weight: 600; }
/* Packages comparison table: one header style, package names at body size (public defect 14). */
.gce-compare thead th, .gce-compare thead th.gce-compare__pkg { font: 600 1rem/1.3 var(--gce-sans); font-size: 1rem !important; letter-spacing: 0 !important; text-transform: none; color: var(--gce-ink); }
/* Demo lesson: a sample quiz question; the rail at 1024px and up (public defects 2 and 3). */
.gce-demo__quiz .gce-q legend { font-size: 1.1rem; }
.gce-demo__answer { margin-top: .25rem; }
.gce-demo__key { margin: .25rem 0 .6rem; padding: .75rem 1rem; background: var(--gce-sage); border-left: 3px solid var(--gce-forest); border-radius: 0 var(--gce-radius) var(--gce-radius) 0; }
.gce-demo__why { margin: 0 0 .5rem; }
.gce-demo__rail .gce-notify { margin-top: 1rem; }
@media (min-width: 1024px) {
  .gce-demo { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) 21rem; gap: 0 3.5rem; align-items: start; }
  .gce-demo__rail { position: sticky; top: 1.5rem; max-height: calc(100vh - 3rem); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; box-sizing: border-box; padding: 1.25rem 1.35rem 1.35rem; background: var(--gce-surface); border: 1px solid var(--gce-line); border-radius: 8px; box-shadow: 0 30px 50px -40px rgba(18, 56, 41, .5); font-size: .97rem; }
  .gce-demo__rail .gce-demo__h { margin: 0 0 .6rem; font-family: var(--gce-serif); font-weight: 400; font-size: 1.45rem; line-height: 1.2; }
  .gce-demo__rail .gce-demo__go { flex-direction: column; align-items: flex-start; gap: .25rem; margin: 1rem 0 .5rem; }
}
/* Read-aloud selects keep a 44px box in WebKit (learner defect 11). */
.gce-ra select { min-height: 44px; height: 44px; box-sizing: border-box; -webkit-appearance: none; appearance: none; }
/* Install the Academy app (learner defect 12): shown by study.js only when the browser can install. */
.gce-install__btn { width: 100%; text-align: left; font: inherit; cursor: pointer; -webkit-appearance: none; appearance: none; }
.gce-install__ios { margin: 0; padding: .6rem .85rem; border: 1px solid var(--gce-line); border-radius: 8px; background: var(--gce-paper); font-size: .95rem; line-height: 1.5; }
.gce-install__status:empty { display: none; }
.gce-dash-aside > .gce-install { margin-top: 1.5rem; }
/* Glossary (learner defect 13): each letter folds behind its heading. Open in the page source; study.js closes them below 1024px. */
.gce-gl__fold > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: .75rem; min-height: 48px; margin-top: 1.25rem; border-bottom: 2px solid var(--gce-ink); }
.gce-gl__fold > summary::-webkit-details-marker { display: none; }
.gce-gl__fold > summary .gce-gl__letter { margin: 0; }
.gce-gl__count { font-size: .9375rem; color: var(--gce-muted); }
.gce-gl__fold > summary::after { content: ""; flex: none; margin-left: auto; margin-right: .35rem; width: .55rem; height: .55rem; border-right: 2px solid var(--gce-forest); border-bottom: 2px solid var(--gce-forest); transform: rotate(45deg) translateY(-3px); }
.gce-gl__fold[open] > summary::after { transform: rotate(-135deg) translateY(-1px); }
.gce-gl__fold > summary:focus-visible { outline: 3px solid var(--gce-brass); outline-offset: 2px; }
.gce-gl__fold > .gce-gl__list > .gce-gl__item:first-child { border-top: 0; }
.gce-gl__all { margin: 0 0 .5rem; }
/* Phones (end of stylesheet). */
@media (max-width: 1023px) {
  .gce-gl__fold > summary { margin-top: 0; border-bottom: 1px solid var(--gce-line); }
  .gce-gl__fold[open] > summary { border-bottom: 2px solid var(--gce-ink); }
}
@media (max-width: 599px) {
  .gce-pkg-other { margin-top: 2rem; }
}
/* Fix round 7: demo lesson measure on phones (about 45 characters a line at 390 px). Phone override, end of file. */
@media (max-width: 599px) {
  .gce-demo__frame .gce-unit-body, .gce-demo__frame .gce-unit-body p, .gce-demo__frame .gce-unit-body li { font-size: 1rem; }
}
/* Fix round 7: the demo's read-aloud bar is added by script; this slot holds its space so nothing shifts (CLS). */
.gce-ra-slot { min-height: 138px; }
.gce-ra-slot[hidden] { min-height: 0; }
@media (min-width: 1024px) { .gce-ra-slot { min-height: 127px; } }
@media (max-width: 599px) { .gce-ra-slot { min-height: 193px; } }
/* Fix round 7: the long demo notice reflowed by one line when the web font arrived (CLS 0.17 on phones). It is set in
   the system face, so its line count never changes after first paint. */
.gce-demo__note { font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }

/* ===== fix round 8 (public review 8) ===== */
/* Course page facts card: all six facts at every width (Format and Finish within too). */
@media (max-width: 1023px) { .gce-hero-facts > div:nth-child(n+5) { display: block; } }
/* Enrollment card: the honesty line ("No payments until then; the price is for information") stays on phones. */
@media (max-width: 1023px) { .gce-course__aside .gce-enroll__note { display: block; margin: .35rem 0 .25rem; font-size: .95rem; } }
/* Catalog: the electives group does not repeat "Consumer protection" on every card (the group heading says it);
   the title gets a quiet arrow on hover and focus. */
.gce-card__eyebrow--ingroup { min-height: 0; }
@media (min-width: 600px) { .gce-card__eyebrow--ingroup { margin: 0 !important; line-height: 0; } }
.gce-card--course .gce-card__title::after { content: "\2192"; display: inline-block; margin-left: .35rem; font-family: var(--gce-sans); font-size: .8em; color: var(--gce-forest); opacity: 0; transform: translateX(-4px); transition: opacity .15s ease, transform .15s ease; }
.gce-card--course:hover .gce-card__title::after, .gce-card--course:focus-within .gce-card__title::after { opacity: 1; transform: none; }
@media (hover: none) { .gce-card--course .gce-card__title::after { opacity: .7; transform: none; } }
@media (prefers-reduced-motion: reduce) { .gce-card--course .gce-card__title::after { transition: none; } }
/* Related courses: balanced title lines; from 640px one row per course (category, title, hours), so long titles
   never break into four ragged lines in a narrow card. */
.gce-related__title { text-wrap: balance; }
@media (min-width: 640px) {
  .gce-related__list { grid-template-columns: minmax(0, 1fr) !important; gap: .6rem; }
  .gce-related__list a { display: grid !important; grid-template-columns: 10rem minmax(0, 1fr) auto; align-items: baseline; column-gap: 1.25rem; padding: .9rem 1.15rem; }
  .gce-related__cat { min-height: 0; }
  .gce-related__meta { white-space: nowrap; }
}
/* Demo lesson: "Show the answer" and "Show the definitions" read as controls (bordered button with a chevron). */
.gce-demo__fold > summary { list-style: none; display: inline-flex; gap: .6rem; padding: .5rem 1rem; border: 1px solid var(--gce-forest); border-radius: 4px; background: var(--gce-surface); }
.gce-demo__fold > summary::-webkit-details-marker { display: none; }
.gce-demo__fold > summary::after { content: ""; flex: none; width: .5rem; height: .5rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.gce-demo__fold[open] > summary::after { transform: rotate(-135deg) translateY(-1px); }
.gce-demo__fold > summary:hover { background: var(--gce-sage); }
.gce-demo__fold > summary:focus-visible { outline: 3px solid var(--gce-brass); outline-offset: 2px; }
.gce-demo__fold[open] > summary { margin-bottom: .75rem; }
/* Phones (end of stylesheet): "On this page" chips wrap to rows of three, nothing cut at the edge. */
@media (max-width: 599px) {
  .gce-onpage ul { display: flex; flex-wrap: wrap; gap: .4rem; }
  .gce-onpage li { flex: 1 1 auto; min-width: 0; }
  .gce-onpage a { width: 100%; justify-content: center; padding: .3rem .4rem; font-size: .9rem; box-sizing: border-box; }
}

/* ===== fix round 8 learner (learner review 8) ===== */
/* Long bare URLs and long words wrap inside the reading column, sources lists, glossary and course text
   (IB Section 1.7 sources scrolled sideways at 360 and 390). Table cells keep whole words where they fit. */
.gce-unit-body, .gce-reader, .gce-gl, .gce-offline, .gce-review, .gce-weak, .gce-notes-list, .gce-search__hits, .gce-fc, .gce-practice__review { overflow-wrap: break-word; }
.gce-unit-body :is(p, li, dd, dt, blockquote, a, figcaption), .gce-gl :is(dt, dd, a), .gce-review a, .gce-search__hits a, .gce-offline a { overflow-wrap: anywhere; word-break: normal; }
.gce-unit-body a[href^="http"], .gce-gl a[href^="http"] { word-break: break-word; }
.gce-unit-body :is(td, th) { overflow-wrap: break-word; }
/* Course home: the back link goes to the Dashboard (phones show it as the single back link too). */
.gce-crumbs--home .gce-crumbs__here { color: var(--gce-ink); }
/* One progress measure, labelled where it is shown. */
.gce-learn__pct { margin: .4rem 0 0; }
.gce-learn__pct strong, .gce-dash__pct strong { color: var(--gce-ink); font-weight: 600; }
.gce-dash__meter { flex-wrap: wrap; gap: .35rem .85rem; }
.gce-dash__meter .gce-progress { flex: 1 1 8rem; }
.gce-dash__meter .gce-dash__pct { min-width: 0; text-align: left; font-weight: 400; font-size: .9rem; color: var(--gce-muted); }
/* End of a unit after its quiz is passed: one primary next step, or the study time still to go. */
.gce-unit-done { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; flex-basis: 100%; }
.gce-unit-wait { flex: 1 1 18rem; margin: 0; padding: .65rem .9rem; border-left: 3px solid var(--gce-brass); background: #fbf3e6; border-radius: 0 var(--gce-radius) var(--gce-radius) 0; }
.gce-unit-done__quiz { font-size: .95rem; }
/* Study tools: the course book gets a full-width row, with the accessible alternative and the offline copy
   beside it on wide screens instead of squeezed under the tile. */
.gce-study__bookrow { grid-column: 1 / -1; display: grid; gap: .6rem 1.25rem; align-items: stretch; }
@media (min-width: 700px) { .gce-study__bookrow { grid-template-columns: minmax(13rem, 1fr) minmax(0, 2fr); } }
.gce-study__bookside { display: grid; align-content: center; gap: .4rem; padding: .6rem .9rem; border: 1px dashed var(--gce-line); border-radius: 8px; }
.gce-book__a11y { margin: 0; }
.gce-study__offline { display: flex; flex-direction: column; gap: .1rem; }
.gce-offline-save[hidden] ~ .gce-offline-note { display: none; }
/* Phones (end of stylesheet): the course home shows "Dashboard" as its single back link. */
@media (max-width: 599px) {
  .gce-crumbs.gce-crumbs--home .gce-crumbs__dash { display: inline-flex; font-weight: 600; padding: .65rem 0; }
  .gce-crumbs.gce-crumbs--home .gce-crumbs__back { display: inline; margin-right: .25rem; }
  .gce-unit-done > .gce-button { width: 100%; justify-content: center; text-align: center; }
}
/* Links inside the book note are in a sentence (inline target exception): no 44px line boxes. */
.gce-book__a11y .gce-link { display: inline; min-height: 0; }
