/* ChronoAtlas Classroom: the teachers' pages in their own register, after Zorgstek: a cool
   paper canvas, ink type set in DM Sans, white cards with a hairline ring and a long soft
   shadow, buttons that press down, one deep-blue block for the hero and the plan. The map
   plates are the only pictures. Scoped to body.cr, so the atlas keeps its own dark register. */
body.cr {
  --canvas: #f4f6fb; --canvas-deep: #e5eaf3; --ink: #18181b; --text: #1f1f23; --muted: #4b4b55; --faint: #71717a;
  --brand: #1d5fd1; --brand-hover: #1850b5; --brand-press: #103b8a; --brand-soft: #dbe6fb; --brand-mist: #eef3fd;
  --deep: #071a3d; --glow: #9fcbff; --ring: rgba(0, 0, 0, 0.06);
  --shadow-card: 0 2px 4px rgba(0, 0, 0, 0.04), 0 30px 60px -36px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.05);
  --shadow-lift: 0 2px 4px rgba(0, 0, 0, 0.04), 0 36px 70px -34px rgba(29, 95, 209, 0.55), 0 0 0 1px rgba(29, 95, 209, 0.22);
  --font: 'DM Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --header-height: 56px;
  background: var(--canvas); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; color-scheme: light;
}
html:has(body.cr) { background: #f4f6fb; height: auto; min-height: 100%; }
body.cr { height: auto; min-height: 100%; }
body.cr ::selection { background: var(--brand-soft); color: var(--ink); }
body.cr :focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
body.cr a { color: inherit; text-decoration: none; }
body.cr h1, body.cr h2, body.cr h3, body.cr h4 { font-family: var(--font); color: var(--ink); font-weight: 600; letter-spacing: -0.02em; margin: 0; }
body.cr p { margin: 0; }
body.cr img { display: block; max-width: 100%; }
body.cr button { font-family: inherit; }

/* The site bar on these pages: white, flat, ink links, the blue button. */
body.cr-nav { --font: 'DM Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif; --ink: #18181b; --text: #3f3f46; --muted: #71717a; --brand: #1d5fd1; --brand-hover: #1850b5; --brand-press: #103b8a; --ring: rgba(0, 0, 0, 0.06); --canvas: #f4f6fb; --shadow-card: 0 2px 4px rgba(0, 0, 0, 0.04), 0 30px 60px -36px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.05); --glow: #9fcbff; --deep: #071a3d; --brand-mist: #eef3fd; }
body.cr-nav .navbar-brand, body.cr-nav .navbar .nav-link { color: var(--text) !important; font-family: var(--font); font-weight: 500; font-size: 0.9375rem; }
body.cr-nav .navbar-brand { color: var(--ink) !important; font-weight: 700; font-size: 1rem; letter-spacing: -0.01em; }
body.cr-nav .navbar .nav-link:hover { color: var(--ink) !important; }
body.cr-nav .navbar .nav-link.active { color: var(--brand) !important; font-weight: 600; }
body.cr-nav .navbar-toggler { border: 1px solid var(--ring); border-radius: 0.625rem; }
body.cr-nav .navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='%2318181b' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }
body.cr-nav .nav-pro { background: var(--brand); color: #fff !important; box-shadow: 0 3px 0 var(--brand-press); border-radius: 0.625rem; font-family: var(--font); }
body.cr-nav .nav-pro:hover { background: var(--brand-hover); }
body.cr-nav .nav-me { color: var(--ink); background: var(--canvas); border-color: var(--ring); font-family: var(--font); }
body.cr-nav .nav-me:hover { border-color: var(--brand); }
body.cr-nav .navbar .brand-word { font: 700 1.0625rem/1 var(--font); letter-spacing: -0.01em; color: var(--ink); }
body.cr-nav .navbar .navbar-brand:hover .brand-word { color: var(--brand); }
body.cr-nav .nav-tos { display: none; }
body.cr-nav .nav-menu { background: #fff; border: 1px solid var(--ring); box-shadow: var(--shadow-card); border-radius: 1rem; color: var(--text); }
body.cr-nav .nav-menu__item { color: var(--text); }
body.cr-nav .nav-menu__item:hover { background: var(--canvas); color: var(--ink); }
body.cr-nav .nav-menu__head strong { color: var(--ink); }
@media (max-width: 991px) { body.cr-nav .navbar-collapse { background: #fff; margin: 0 -1.25rem; padding: 0.5rem 1.25rem 1rem; border-bottom: 1px solid var(--ring); } }

/* Width, type and the small set of parts the pages share. */
.cr-wrap { max-width: 76rem; margin: 0 auto; padding: 0 1.5rem; }
.cr-eyebrow { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand); }
.cr-eyebrow--light { color: var(--glow); }
.cr-h2 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.08; }
.cr-h2 em { font-style: normal; color: var(--brand); }
.cr-lead { font-size: 1.125rem; line-height: 1.65; color: var(--text); max-width: 36rem; }
.cr-card { background: #fff; border-radius: 1.5rem; box-shadow: var(--shadow-card); }
.cr-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; border: 0; border-radius: 0.875rem; padding: 0.95rem 1.75rem; font-size: 1.0625rem; font-weight: 700; line-height: 1.2; cursor: pointer; white-space: nowrap; transition: transform 120ms ease, box-shadow 120ms ease, background-color 150ms ease; }
.cr-btn .bi { font-size: 1.1em; }
body.cr .cr-btn--brand { background: var(--brand); color: #fff; box-shadow: 0 4px 0 0 var(--brand-press); }
body.cr .cr-btn--brand:hover { background: var(--brand-hover); color: #fff; }
body.cr .cr-btn--light { background: #fff; color: var(--ink); box-shadow: 0 4px 0 0 #b9c6dd; }
body.cr .cr-btn--light:hover { color: var(--brand); }
body.cr .cr-btn--brand:active, body.cr .cr-btn--light:active { transform: translateY(3px); box-shadow: 0 1px 0 0 currentColor; }
body.cr .cr-btn--ghost { background: rgba(255, 255, 255, 0.06); color: #fff; border: 1px solid rgba(255, 255, 255, 0.25); }
body.cr .cr-btn--ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.5); color: #fff; }
body.cr .cr-link { color: var(--brand); font-weight: 600; }
body.cr .cr-link:hover { color: var(--brand-press); text-decoration: underline; text-underline-offset: 3px; }
.cr-notice { margin: 1.5rem auto 0; padding: 0.9rem 1.25rem; border-radius: 1rem; background: #fff; box-shadow: var(--shadow-card); font-size: 0.9375rem; }
.cr-notice strong { color: var(--ink); }
body.cr .cr-notice a { color: var(--brand); font-weight: 600; }

/* The hero: a deep blue block, the words left, the atlas right. */
.cr-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--deep); color: #fff; padding: 4.5rem 0 8.5rem; }
.cr-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60rem 30rem at 85% 10%, rgba(29, 95, 209, 0.45), transparent 60%); }
.cr-hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 4rem; align-items: center; }
body.cr .cr-hero h1 { color: #fff; font-size: clamp(2.6rem, 4.6vw, 4.1rem); line-height: 1.04; margin-top: 1.5rem; max-width: 12ch; }
.cr-hero h1 em { font-style: normal; color: var(--glow); }
.cr-hero__lead { margin-top: 1.75rem; max-width: 32rem; font-size: 1.3rem; line-height: 1.55; color: rgba(255, 255, 255, 0.75); }
.cr-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.5rem; }
.cr-hero__langs { margin-top: 1.75rem; font-size: 0.9375rem; color: rgba(255, 255, 255, 0.6); }
body.cr .cr-hero__langs a { color: rgba(255, 255, 255, 0.85); margin-left: 0.6rem; border-bottom: 1px solid rgba(255, 255, 255, 0.3); }
body.cr .cr-hero__langs a:hover { color: #fff; border-color: #fff; }
.cr-hero__art { position: relative; }
.cr-hero__plate { display: block; border-radius: 1.25rem; overflow: hidden; aspect-ratio: 16 / 10; background: #0b2a4a; box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.12); }
.cr-hero__plate img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.cr-hero__art:hover .cr-hero__plate img { transform: scale(1.03); }
body.cr .cr-hero__card { position: absolute; left: -2.5rem; bottom: -2.25rem; width: min(22rem, 86%); padding: 1.1rem 1.25rem 1.2rem; border-radius: 1.25rem; background: #fff; color: var(--text); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(0, 0, 0, 0.05); }
.cr-hero__card small { display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand); }
.cr-hero__card strong { display: block; margin-top: 0.3rem; font-size: 1.0625rem; line-height: 1.3; color: var(--ink); font-weight: 600; letter-spacing: -0.01em; }
.cr-hero__card span { display: block; margin-top: 0.35rem; font-size: 0.875rem; color: var(--muted); }
.cr-hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(3rem, 7vw, 7rem); color: var(--canvas); }

/* What every lesson brings, on a card over the edge of the hero. */
.cr-promises { position: relative; z-index: 2; margin-top: -3.75rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; padding: 2rem; }
.cr-promise { display: flex; gap: 1rem; align-items: flex-start; }
.cr-promise__icon { flex: none; display: flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; border-radius: 1rem; background: var(--brand-mist); color: var(--brand); font-size: 1.35rem; }
.cr-promise__icon .bi { position: static !important; margin: 0 !important; line-height: 1; float: none; }
.cr-steps__n, .cr-promise__icon { box-sizing: border-box; }
.cr-promise > div > strong { display: block; font-size: 1.0625rem; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.cr-promise > div > span { display: block; margin-top: 0.15rem; font-size: 0.9375rem; line-height: 1.45; color: var(--muted); }

/* The library. */
.cr-sec { padding-top: 5.5rem; }
.cr-sec__head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 2rem 4rem; align-items: end; padding-bottom: 2rem; border-bottom: 1px solid var(--ring); }
.cr-sec__head .cr-h2 { margin-top: 0.75rem; }
.cr-tools { position: sticky; top: var(--header-height); z-index: 15; padding: 1rem 0 0; background: var(--canvas); }
.cr-tools__row { display: flex; gap: 0.75rem; }
.cr-search { flex: 1; display: flex; align-items: center; gap: 0.75rem; height: 3.25rem; padding: 0 1.1rem; border-radius: 0.875rem; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 0 0 1px rgba(0, 0, 0, 0.08); transition: box-shadow 150ms; }
.cr-search:focus-within { box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 0 0 2px var(--brand); }
.cr-search .bi { color: var(--muted); font-size: 1.1rem; }
.cr-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 500 1.0625rem var(--font); color: var(--ink); }
.cr-search input::placeholder { color: var(--faint); }
.cr-select { position: relative; flex: none; }
.cr-select select { appearance: none; height: 3.25rem; padding: 0 2.75rem 0 1.1rem; border: 0; border-radius: 0.875rem; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 0 0 1px rgba(0, 0, 0, 0.08); font: 600 0.9375rem var(--font); color: var(--ink); cursor: pointer; min-width: 13rem; }
.cr-select select:focus { outline: 0; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 0 0 2px var(--brand); }
.cr-select .bi { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
.cr-tabs { display: flex; gap: 1.4rem; margin-top: 0.25rem; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--ring); }
.cr-tabs::-webkit-scrollbar { display: none; }
.cr-tab { flex: none; padding: 0.9rem 0 0.8rem; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; background: none; font-size: 0.9rem; font-weight: 600; color: var(--muted); cursor: pointer; transition: color 150ms, border-color 150ms; }
.cr-tab b { font-weight: 500; color: var(--faint); margin-left: 0.3rem; font-variant-numeric: tabular-nums; }
.cr-tab:hover { color: var(--ink); }
.cr-tab.is-on { color: var(--ink); border-color: var(--brand); }
.cr-tab.is-on b { color: var(--brand); }
.cr-count { margin-top: 0.75rem; font-size: 0.875rem; color: var(--muted); }
.cr-period { margin-top: 3rem; }
.cr-period__title { display: flex; align-items: baseline; gap: 0.75rem; font-size: 1.5rem; margin-bottom: 1.25rem; }
.cr-period__title small { font-size: 0.9375rem; font-weight: 500; color: var(--muted); }
.cr-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.cr-lesson > a { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 1.5rem; background: #fff; box-shadow: var(--shadow-card); transition: transform 300ms ease, box-shadow 300ms ease; }
.cr-lesson > a:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.cr-lesson__map { position: relative; aspect-ratio: 2 / 1; overflow: hidden; background: var(--canvas-deep); }
.cr-lesson__map img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms ease; }
.cr-lesson > a:hover .cr-lesson__map img { transform: scale(1.04); }
.cr-lesson__map::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.08) 45%, transparent); }
.cr-lesson__no { position: absolute; left: 1rem; bottom: 0.8rem; z-index: 1; font-size: 0.8125rem; font-weight: 600; color: #fff; letter-spacing: 0.02em; }
.cr-lesson__free { position: absolute; left: 1rem; top: 1rem; z-index: 1; padding: 0.25rem 0.7rem; border-radius: 999px; background: rgba(255, 255, 255, 0.95); color: var(--brand); font-size: 0.75rem; font-weight: 700; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); }
.cr-lesson__body { display: flex; flex-direction: column; flex: 1; padding: 1.25rem 1.5rem 1.5rem; }
.cr-lesson__title { font-size: 1.1875rem; line-height: 1.3; letter-spacing: -0.012em; }
.cr-lesson__facts { display: flex; flex-wrap: wrap; gap: 0.3rem 1rem; margin: 0.65rem 0 0; padding: 0; list-style: none; font-size: 0.875rem; color: var(--muted); }
.cr-lesson__facts li { display: inline-flex; align-items: center; gap: 0.4rem; }
.cr-lesson__facts .bi { color: var(--faint); }
.cr-lesson__blurb { margin-top: 0.8rem; font-size: 0.9375rem; line-height: 1.5; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cr-lesson__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: 1.1rem; font-size: 0.875rem; color: var(--muted); }
.cr-lesson__go { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.9375rem; font-weight: 600; color: var(--brand); }
.cr-lesson > a:hover .cr-lesson__go { color: var(--brand-press); }
.cr-lesson[hidden], .cr-period[hidden] { display: none; }
.cr-empty { margin: 3rem 0; padding: 2rem; border-radius: 1.5rem; background: #fff; box-shadow: var(--shadow-card); text-align: center; color: var(--text); }

/* The rhythm of a lesson: five steps on cards. */
.cr-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.25rem; margin: 2.5rem 0 0; padding: 0; list-style: none; }
.cr-steps li { padding: 1.5rem; border-radius: 1.5rem; background: #fff; box-shadow: var(--shadow-card); }
.cr-steps__n { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 0.75rem; background: var(--brand-mist); color: var(--brand); font-weight: 700; font-size: 0.9375rem; }
.cr-steps h3 { margin-top: 1.1rem; font-size: 1.0625rem; letter-spacing: -0.01em; }
.cr-steps p { margin-top: 0.4rem; font-size: 0.9375rem; line-height: 1.5; color: var(--muted); }

/* The plan: one deep blue card. */
.cr-offer { margin: 5.5rem auto 6rem; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; padding: 3.5rem; border-radius: 2rem; background: var(--deep); color: #fff; box-shadow: 0 40px 80px -40px rgba(7, 26, 61, 0.7); }
body.cr .cr-offer h2 { color: #fff; margin-top: 0.75rem; }
.cr-offer h2 em { color: var(--glow); }
.cr-offer__lead { margin-top: 1.25rem; font-size: 1.125rem; line-height: 1.6; color: rgba(255, 255, 255, 0.75); max-width: 30rem; }
.cr-offer ul { margin: 1.5rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.6rem; }
.cr-offer li { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 1rem; color: rgba(255, 255, 255, 0.9); }
.cr-offer li .bi { color: var(--glow); font-size: 1.2rem; line-height: 1.4; }
.cr-offer__box { padding: 2rem; border-radius: 1.5rem; background: #fff; color: var(--text); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.5); }
.cr-offer__price { display: flex; align-items: baseline; gap: 0.6rem; color: var(--ink); }
.cr-offer__price b { font-size: 3rem; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.cr-offer__price span { font-size: 0.9375rem; color: var(--muted); }
.cr-offer__box p { margin-top: 0.9rem; font-size: 0.9375rem; line-height: 1.5; color: var(--muted); }
.cr-offer__box .cr-btn { width: 100%; margin-top: 1.5rem; }
.cr-offer__note { margin-top: 1rem; text-align: center; font-size: 0.875rem; }

@media (max-width: 1024px) {
  .cr-promises { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cr-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cr-hero__grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .cr-hero h1 { max-width: 16ch; }
  .cr-hero__card { left: 1rem; bottom: -1.5rem; }
  .cr-sec__head { grid-template-columns: 1fr; }
  .cr-offer { grid-template-columns: 1fr; padding: 2.5rem; }
}
@media (max-width: 640px) {
  body.cr { font-size: 16px; }
  .cr-wrap { padding: 0 1.1rem; }
  .cr-hero { padding: 3rem 0 7rem; }
  .cr-hero__lead { font-size: 1.125rem; }
  .cr-hero__actions .cr-btn { width: 100%; }
  .cr-hero__card { position: static; width: auto; margin-top: 1rem; }
  .cr-promises { grid-template-columns: 1fr; padding: 1.5rem; gap: 1.25rem; }
  .cr-grid { grid-template-columns: 1fr; }
  .cr-steps { grid-template-columns: 1fr; }
  .cr-tools__row { flex-direction: column; }
  .cr-select select { width: 100%; }
  .cr-offer { padding: 1.75rem; border-radius: 1.5rem; margin: 4rem auto; }
  .cr-offer__box { padding: 1.5rem; }
}

/* ══ The parts after Zorgstek: the bar that lifts, the light under the pointer, the glow buttons,
      the moving light behind a deep blue block, lines that grow under links, things that rise in. ══ */

/* The bar: fixed, flat and white-on-blue at the top of a dark hero; once you scroll it lifts into a white pill. */
body.cr-nav .navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1300; height: auto; padding: 0.75rem 0.75rem 0; background: transparent !important; border: 0; box-shadow: none; }
body.cr-nav .navbar .container-fluid { position: relative; min-height: 4rem; height: auto; flex-wrap: wrap; max-width: 88rem; margin: 0 auto; padding: 0 1rem 0 0.9rem; border-radius: 1rem; transition: background-color 300ms ease, box-shadow 300ms ease, max-width 300ms ease; }
body.cr-nav.is-lifted .navbar .container-fluid, body.cr-nav.cr-light-top .navbar .container-fluid, body.cr-nav .navbar .container-fluid:has(.navbar-collapse.show) { background: rgba(255, 255, 255, 0.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 12px 40px -18px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.05); max-width: 80rem; }
body.cr-nav.cr-dark-top:not(.is-lifted) .navbar .container-fluid:not(:has(.navbar-collapse.show)) .nav-link { color: rgba(255, 255, 255, 0.8) !important; }
body.cr-nav.cr-dark-top:not(.is-lifted) .navbar .container-fluid:not(:has(.navbar-collapse.show)) .nav-link:hover, body.cr-nav.cr-dark-top:not(.is-lifted) .navbar .container-fluid:not(:has(.navbar-collapse.show)) .nav-link.active { color: #fff !important; }
body.cr-nav.cr-dark-top:not(.is-lifted) .navbar .container-fluid:not(:has(.navbar-collapse.show)) .brand-word { color: #fff; }
body.cr-nav.cr-dark-top:not(.is-lifted) .navbar .container-fluid:not(:has(.navbar-collapse.show)) .navbar-toggler { border-color: rgba(255, 255, 255, 0.3); }
body.cr-nav.cr-dark-top:not(.is-lifted) .navbar .container-fluid:not(:has(.navbar-collapse.show)) .navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }
body.cr-nav.cr-dark-top:not(.is-lifted) .navbar .container-fluid:not(:has(.navbar-collapse.show)) .nav-me { color: #fff; background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.25); }
body.cr-nav .navbar .nav-item { margin: 0; }
body.cr-nav .navbar .navbar-nav { gap: 0; top: 0; }
body.cr-nav .navbar .navbar-collapse { min-width: 0; }
body.cr-nav .navbar .nav-link { position: relative; padding: 0.4rem 0; margin: 0 0.5rem; font-size: 0.875rem; white-space: nowrap; }
@media (min-width: 992px) and (max-width: 1500px) { body.cr-nav .navbar .nav-item:has(> .nav-link[href$="/tos"]) { display: none; } }
@media (min-width: 992px) and (max-width: 1340px) { body.cr-nav .navbar .nav-item:has(> .nav-link[href$="/request-map"]) { display: none; } body.cr-nav .navbar .nav-link { margin: 0 0.4rem; font-size: 0.8375rem; } }
@media (min-width: 992px) and (max-width: 1180px) { body.cr-nav .navbar .nav-item:has(> .nav-link[href$="/journeys"]) { display: none; } body.cr-nav .navbar .nav-pro__long { display: none; } }
@media (min-width: 992px) { body.cr-nav .navbar .container-fluid { flex-wrap: nowrap; } body.cr-nav .navbar .navbar-nav { flex-wrap: nowrap; } body.cr-nav .navbar .nav-end { margin-left: 0.25rem; } }
body.cr-nav .navbar .nav-link::after { content: ""; position: absolute; right: 0; bottom: -2px; left: 0; height: 1.5px; border-radius: 999px; background: linear-gradient(90deg, transparent, currentColor 30%, currentColor 70%, transparent); opacity: 0; transform: scaleX(0.2); transition: transform 450ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 300ms ease; }
body.cr-nav .navbar .nav-link:hover::after, body.cr-nav .navbar .nav-link.active::after { opacity: 1; transform: scaleX(1); }
body.cr-nav .navbar .nav-link.active::after { color: var(--brand); }
body.cr-nav .navbar .nav-signin { padding: 0.4rem 0.8rem; border-radius: 0.625rem; border: 1px solid currentColor; opacity: 0.9; }
body.cr-nav .navbar .nav-signin::after { display: none; }
body.cr-nav .nav-pro { border-radius: 0.75rem; padding: 0.55rem 1rem; }
body.cr-nav.cr-light-top .cr-first { padding-top: 6rem; }
@media (max-width: 991px) {
  body.cr-nav .navbar-collapse { margin: 0.25rem -1rem 0 -0.9rem; padding: 0.5rem 1rem 1rem; border-top: 1px solid var(--ring); border-bottom: 0; background: transparent; border-radius: 0 0 1rem 1rem; }
  body.cr-nav .navbar .nav-link { margin: 0; padding: 0.55rem 0; }
}

/* App views (the map, Rule History, Time Walk): the same bar as every page, transparent over the page at the top
   and a white pill once you scroll; the map runs under it, its controls start below it. A journey, with its light
   sidebar, keeps a flat white bar in the flow of the page. */
body.cr-nav.app-view:not(.senate-page) { --header-height: 4.75rem; }
body.cr-nav.app-view:not(.senate-page) #map { top: 0; height: 100vh; }
body.cr-nav.app-view:not(.senate-page) .maplibregl-ctrl-top-right, body.cr-nav.app-view:not(.senate-page) .maplibregl-ctrl-top-left { margin-top: var(--header-height); }
body.cr-nav.cr-static { --header-height: 3.75rem; }
body.cr-nav.cr-static .navbar { position: sticky; top: 0; padding: 0; height: var(--header-height); background: #fff !important; border-bottom: 1px solid var(--ring); box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02); }
body.cr-nav.cr-static .navbar .container-fluid { min-height: 0; height: 100%; max-width: none; border-radius: 0; background: transparent !important; box-shadow: none !important; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 0 1.25rem 0 1rem; }
body.cr-nav.cr-static .navbar .nav-link, body.cr-nav.cr-static .navbar .nav-link.nav-gold { color: var(--text) !important; }
body.cr-nav.cr-static .navbar .nav-link:hover { color: var(--ink) !important; }
body.cr-nav.cr-static .navbar .nav-link.active, body.cr-nav.cr-static .navbar .nav-link.nav-gold.active { color: var(--brand) !important; box-shadow: none; }
body.cr-nav.cr-static .navbar .brand-word { color: var(--ink); }
body.cr-nav.cr-static .navbar .nav-signin { color: var(--ink) !important; border-color: rgba(0, 0, 0, 0.15); }
body.cr-nav.cr-static .navbar .nav-me { color: var(--ink); background: var(--canvas); border-color: var(--ring); }
body.cr-nav.cr-static .nav-pro { padding: 0.45rem 0.9rem; }
@media (max-width: 991px) { body.cr-nav.cr-static .navbar-collapse { background: #fff; margin: 0 -1.25rem 0 -1rem; padding: 0.5rem 1.25rem 1rem; border-radius: 0; border-bottom: 1px solid var(--ring); } }

/* A soft blue light under the pointer, on cards and the bar; the ring that answers a hover. */
.spotlight { position: relative; }
.spotlight::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; pointer-events: none; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(96, 165, 250, 0.09), transparent 50%); opacity: 0; transition: opacity 300ms ease; }
.spotlight:hover::after { opacity: 1; }
.spotlight-ring { transition: box-shadow 300ms ease, transform 300ms ease; }
.spotlight-ring:hover { box-shadow: var(--shadow-lift); }
body.cr.is-lifted .navbar .container-fluid.spotlight::after { border-radius: 1rem; }

/* The main buttons: a blurred light inside that follows the pointer, a thin edge of light that runs round. */
@property --glow-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
body.cr .btn-glow { --fill: var(--brand); --fill-hover: var(--brand-hover); --glow: rgba(191, 219, 254, 0.22); --edge: 255, 255, 255; position: relative; isolation: isolate; overflow: clip; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; border: 0; border-radius: 0.875rem; background: var(--fill); color: #fff; font-weight: 700; box-shadow: 0 12px 36px -14px rgba(59, 130, 246, 0.7); transition: background-color 200ms ease, transform 150ms ease, box-shadow 200ms ease; }
body.cr .btn-glow::before { content: ""; position: absolute; top: -1.25em; left: -1.25em; z-index: -1; width: 2.5em; height: 2.5em; border-radius: 50%; background: var(--glow); filter: blur(16px); opacity: 0; pointer-events: none; transform: translate(var(--mx, 0px), var(--my, 0px)); transition: opacity 500ms ease, transform 350ms ease-out; }
body.cr .btn-glow::after { content: ""; position: absolute; inset: 0; padding: 1.5px; border-radius: inherit; pointer-events: none; background: linear-gradient(var(--glow-angle), rgba(var(--edge), 0.22) 20%, rgba(var(--edge), 0.04) 50%, rgba(var(--edge), 0.22) 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); animation: glow-spin 5s linear infinite; }
body.cr .btn-glow:hover { background: var(--fill-hover); color: #fff; transform: translateY(-1px); box-shadow: 0 14px 40px -14px rgba(59, 130, 246, 0.7); }
body.cr .btn-glow:hover::before { opacity: 1; transition: opacity 250ms ease, transform 350ms ease-out; }
body.cr .btn-glow:hover::after { background: linear-gradient(var(--glow-angle), rgba(var(--edge), 0.32) 20%, rgba(var(--edge), 0.08) 50%, rgba(var(--edge), 0.32) 100%); }
body.cr .btn-glow:active { transform: translateY(1px); }
body.cr .btn-glow-light { --fill: #fff; --fill-hover: #fff; --glow: rgba(59, 130, 246, 0.12); --edge: 29, 95, 209; color: var(--ink); }
body.cr .btn-glow-light:hover { color: var(--ink); }
@keyframes glow-spin { to { --glow-angle: 360deg; } }

/* A line of light grows out under a link on hover, faded at both ends. */
body.cr .link-line , body.app-view .link-line { position: relative; display: inline-block; transition: color 250ms ease; }
body.cr .link-line::after , body.app-view .link-line::after { content: ""; position: absolute; right: 0; bottom: -5px; left: 0; height: 1.5px; border-radius: 9999px; background: linear-gradient(90deg, transparent, var(--line, currentColor) 30%, var(--line, currentColor) 70%, transparent); opacity: 0; transform: scaleX(0.2); transition: transform 450ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 300ms ease; }
body.cr .link-line:hover::after, body.cr .link-line:focus-visible::after , body.app-view .link-line:hover::after, body.cr .link-line:focus-visible::after { opacity: 1; transform: scaleX(1); }

/* The moving light behind a deep blue block: five very large soft circles in the blues, blurred into
   one flowing light, and one more that trails the pointer. Runs for everyone, as on Zorgstek. */
.cr-mesh { --mesh-size: max(130vw, 70rem); position: absolute; inset: 0; z-index: -1; overflow: clip; pointer-events: none; background: linear-gradient(40deg, #1d5fd1, #040f26); }
.cr-mesh__wrap { position: absolute; inset: 0; filter: blur(40px); }
.cr-mesh__b { position: absolute; top: calc(50% - var(--mesh-size) / 2); left: calc(50% - var(--mesh-size) / 2); width: var(--mesh-size); height: var(--mesh-size); border-radius: 50%; opacity: 0.8; background: radial-gradient(circle at center, rgba(var(--blob), 0.8) 0, rgba(var(--blob), 0) 50%) no-repeat; }
.cr-mesh__b--1 { --blob: 59, 130, 246; animation: mesh-vertical 32s ease infinite; }
.cr-mesh__b--2 { --blob: 7, 25, 64; transform-origin: calc(50% - 400px); animation: mesh-circle 22s ease infinite reverse; }
.cr-mesh__b--3 { --blob: 96, 165, 250; top: calc(50% - var(--mesh-size) / 2 + 200px); left: calc(50% - var(--mesh-size) / 2 - 500px); transform-origin: calc(50% + 400px); animation: mesh-circle 34s linear infinite; }
.cr-mesh__b--4 { --blob: 125, 211, 252; opacity: 0.55; transform-origin: calc(50% - 200px); animation: mesh-horizontal 30s ease infinite; }
.cr-mesh__b--5 { --blob: 15, 52, 128; transform-origin: calc(50% - 800px) calc(50% + 200px); animation: mesh-circle 20s ease infinite; }
.cr-mesh__cursor { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at center, rgba(59, 130, 246, 0.8) 0, rgba(59, 130, 246, 0) 50%) no-repeat; opacity: 0; transform: translate3d(var(--mx, 70%), var(--my, 40%), 0) translate(-50%, -50%); transition: opacity 600ms ease, transform 900ms cubic-bezier(0.2, 0.7, 0.2, 1); }
.mesh-host:hover .cr-mesh__cursor { opacity: 0.5; }
@keyframes mesh-circle { 0% { transform: rotate(0deg); } 50% { transform: rotate(180deg); } 100% { transform: rotate(360deg); } }
@keyframes mesh-vertical { 0%, 100% { transform: translateY(-50%); } 50% { transform: translateY(50%); } }
@keyframes mesh-horizontal { 0%, 100% { transform: translate(-50%, -10%); } 50% { transform: translate(50%, 10%); } }

/* Things rise into view as they scroll in; the hero's words rise as the page opens. */
@keyframes cr-reveal { from { opacity: 0; transform: translateY(36px) scale(0.985); } to { opacity: 1; transform: none; } }
@supports (animation-timeline: view()) { .reveal { animation: cr-reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 45%; } }
@keyframes cr-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.rise { animation: cr-rise 700ms cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.rise-1 { animation-delay: 80ms; } .rise-2 { animation-delay: 160ms; } .rise-3 { animation-delay: 240ms; } .rise-4 { animation-delay: 420ms; }

/* ══ The hero as a pinned scene: the atlas as the deep layer, the plate and the card before it on their
      own depth, the words lifting away, the blue washing out to the paper of the page. ══ */
body.cr .cr-pin { position: relative; height: 150vh; }
body.cr .cr-stage { position: sticky; top: 0; height: 100vh; min-height: 720px; overflow: hidden; isolation: isolate; background: var(--deep); color: #fff; }
body.cr .cr-stage::before { content: ""; position: absolute; inset: 0; z-index: 0; background: #0b2a4a; }
body.cr .cr-stage::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(90deg, rgba(7, 26, 61, 0.92) 0%, rgba(7, 26, 61, 0.7) 36%, rgba(7, 26, 61, 0.15) 62%, rgba(7, 26, 61, 0) 80%), linear-gradient(180deg, rgba(7, 26, 61, 0.55), rgba(7, 26, 61, 0) 22%, rgba(7, 26, 61, 0) 70%, rgba(7, 26, 61, 0.35)); }
body.cr .cr-stage__layer { position: absolute; will-change: transform; pointer-events: none; user-select: none; }
body.cr .cr-stage__video { left: -4%; top: -4%; width: 108%; height: 108%; object-fit: cover; object-position: 50% 50%; z-index: 1; }
body.cr .cr-stage__video::-webkit-media-controls { display: none !important; }
body.cr .cr-stage__fade { left: 0; right: 0; bottom: 0; z-index: 5; height: calc(30% + var(--p, 0) * 70%); background: linear-gradient(to top, var(--canvas) calc(8% + var(--p, 0) * 52%), rgba(244, 246, 251, 0.85) calc(24% + var(--p, 0) * 40%), rgba(244, 246, 251, 0)); }
body.cr .cr-stage__grid { position: relative; z-index: 6; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: center; height: 100%; max-width: 76rem; margin: 0 auto; padding: 5.5rem 1.5rem 4rem; }
body.cr .cr-stage__content { will-change: transform, opacity; }
body.cr .cr-stage h1 { color: #fff; font-size: clamp(2.5rem, 4.3vw, 3.9rem); line-height: 1.04; margin-top: 1.25rem; max-width: 12ch; }
body.cr .cr-stage h1 em { font-style: normal; color: var(--glow); }
body.cr .cr-stage__art { position: relative; height: 31rem; pointer-events: none; opacity: calc(1 - var(--p, 0) * 2.4); display: flex; align-items: flex-end; justify-content: flex-end; }
body.cr .cr-stage__art > * { pointer-events: auto; }
body.cr .cr-stage__plate { position: absolute; top: 0; right: 0; width: 100%; display: block; aspect-ratio: 16 / 10; border-radius: 1.25rem; overflow: hidden; background: #0b2a4a; box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.12); }
body.cr .cr-stage__plate img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
body.cr .cr-stage__plate:hover img { transform: scale(1.03); }
body.cr .cr-stage__card { position: absolute; right: 0; bottom: 4.5rem; width: min(22rem, 86%); padding: 0; overflow: hidden; border-radius: 1.25rem; background: #fff; color: var(--text); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(0, 0, 0, 0.05); }
body.cr .cr-stage__card small { display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand); }
body.cr .cr-stage__card strong { display: block; margin-top: 0.3rem; font-size: 1.0625rem; line-height: 1.3; color: var(--ink); font-weight: 600; letter-spacing: -0.01em; }
body.cr .cr-stage__card span { display: block; margin-top: 0.35rem; font-size: 0.875rem; color: var(--muted); }
body.cr .cr-stage__live { position: absolute; right: 1.5rem; bottom: 1.75rem; display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.5rem 1rem 0.5rem 0.5rem; border-radius: 999px; background: var(--ink); color: #fff; font-size: 0.8125rem; font-weight: 600; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.55); }
body.cr .cr-stage__live i { display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--glow); color: var(--ink); font-size: 1rem; }
body.cr .cr-stage__scroll { position: absolute; z-index: 6; left: 50%; bottom: 1.5rem; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 0.5rem; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); opacity: calc(1 - var(--p, 0) * 5); }
body.cr .cr-stage__scroll::after { content: ""; width: 1px; height: 2.75rem; background: linear-gradient(var(--glow), transparent); animation: cr-drip 2.4s ease-in-out infinite; transform-origin: top; }
@keyframes cr-drip { 0% { transform: scaleY(0); opacity: 1; } 70% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
body.cr .cr-pin + .cr-wrap { position: relative; z-index: 7; margin-top: -40vh; }

/* The Senate, in the hero: a plaque for the class that wants to argue in the Curia. */
body.cr .cr-plaque { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr) auto; gap: 1rem; align-items: center; margin-top: 1.75rem; max-width: 36rem; padding: 0.75rem; border-radius: 1.25rem; background: rgba(255, 255, 255, 0.96); color: var(--text); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(0, 0, 0, 0.05); transition: transform 300ms ease, box-shadow 300ms ease; overflow: hidden; }
body.cr .cr-plaque:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); color: var(--text); }
body.cr .cr-plaque img { width: 5.5rem; height: 4.25rem; object-fit: cover; border-radius: 0.75rem; }
body.cr .cr-plaque small { display: block; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand); }
body.cr .cr-plaque strong { display: block; margin-top: 0.15rem; font-size: 0.9375rem; line-height: 1.3; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
body.cr .cr-plaque__body > span { display: block; margin-top: 0.2rem; font-size: 0.8125rem; line-height: 1.4; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
body.cr .cr-plaque__cta { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.55rem 0.9rem; border-radius: 0.75rem; background: var(--brand-mist); color: var(--brand); font-size: 0.875rem; font-weight: 700; white-space: nowrap; }
body.cr .cr-plaque:hover .cr-plaque__cta { background: var(--brand); color: #fff; }

/* The foot of every Classroom page: deep blue, the same moving light as the plan block. */
body.cr .cr-foot , body.app-view .cr-foot { position: relative; isolation: isolate; overflow: hidden; margin-top: 2rem; background: var(--deep); color: rgba(255, 255, 255, 0.7); }
body.cr .cr-foot__grid , body.app-view .cr-foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; padding-top: 4rem; padding-bottom: 2.5rem; }
body.cr .cr-foot__brand , body.app-view .cr-foot__brand { display: inline-flex; align-items: center; gap: 0.6rem; color: #fff; font-weight: 700; font-size: 1.0625rem; letter-spacing: -0.01em; }
body.cr .cr-foot__brand img , body.app-view .cr-foot__brand img { width: 1.875rem; height: 1.875rem; border-radius: 0.45rem; }
body.cr .cr-foot__lead , body.app-view .cr-foot__lead { margin-top: 1.25rem; max-width: 24rem; font-size: 0.9375rem; line-height: 1.6; }
body.cr .cr-foot__mail , body.app-view .cr-foot__mail { display: inline-block; margin-top: 1.25rem; font-size: 0.9375rem; font-weight: 600; color: var(--glow); }
body.cr .cr-foot__mail:hover , body.app-view .cr-foot__mail:hover { color: #fff; }
body.cr .cr-foot__title , body.app-view .cr-foot__title { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; }
body.cr .cr-foot ul , body.app-view .cr-foot ul { margin: 1.25rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.75rem; font-size: 0.9375rem; }
body.cr .cr-foot ul a:hover , body.app-view .cr-foot ul a:hover { color: #fff; }
body.cr .cr-foot__bar , body.app-view .cr-foot__bar { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; align-items: center; padding-top: 1.5rem; padding-bottom: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.875rem; color: rgba(255, 255, 255, 0.5); }
body.cr .cr-foot__bar a:hover , body.app-view .cr-foot__bar a:hover { color: #fff; }
body.cr .cr-foot__bar .cr-foot__langs , body.app-view .cr-foot__bar .cr-foot__langs { margin-left: auto; display: flex; gap: 1rem; }

@media (max-width: 1024px) {
  body.cr .cr-pin { height: auto; }
  body.cr .cr-stage { position: relative; height: auto; min-height: 0; padding-bottom: 4.5rem; }
  body.cr .cr-stage__grid { grid-template-columns: 1fr; height: auto; gap: 2.5rem; padding-bottom: 0; }
  body.cr .cr-stage__content { transform: none !important; opacity: 1 !important; }
  body.cr .cr-stage__art { height: auto; padding: 0 0 2.5rem; }
  body.cr .cr-stage__plate, body.cr .cr-stage__card, body.cr .cr-stage__live { position: relative; inset: auto; transform: none !important; }
  body.cr .cr-stage__card { width: calc(100% - 2rem); margin: -2.5rem 0 0 1rem; }
  body.cr .cr-stage__live { margin: 0.75rem 0 0 auto; display: inline-flex; float: right; }
  body.cr .cr-stage__video { opacity: 0.5; }
  body.cr .cr-stage__fade, body.cr .cr-stage__scroll { display: none; }
  body.cr .cr-pin + .cr-wrap { margin-top: -3.5rem; }
  body.cr .cr-foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body.cr .cr-stage h1 { max-width: none; }
  body.cr .cr-plaque { grid-template-columns: 4rem minmax(0, 1fr); }
  body.cr .cr-plaque__cta { grid-column: 2; justify-self: start; }
  body.cr .cr-foot__grid { grid-template-columns: 1fr; gap: 2rem; }
  body.cr .cr-foot__bar .cr-foot__langs { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .cr-mesh__b, .cr-stage__scroll::after { animation-duration: 60s; } }

/* ══ The lesson page ══ */
body.cr .lx-wrap { max-width: 76rem; margin: 0 auto; padding: 0 1.5rem; }
body.cr .lx-head { position: relative; isolation: isolate; overflow: hidden; background: var(--deep); color: #fff; padding: 6.5rem 0 7.5rem; }
body.cr .lx-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70rem 36rem at 80% 0%, rgba(29, 95, 209, 0.5), transparent 60%); }
body.cr .lx-head__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; opacity: 0.28; -webkit-mask: linear-gradient(90deg, transparent 20%, #000 60%); mask: linear-gradient(90deg, transparent 20%, #000 60%); }
body.cr .crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.6rem; font-size: 0.875rem; color: rgba(255, 255, 255, 0.65); }
body.cr .crumbs a { color: rgba(255, 255, 255, 0.85); }
body.cr .crumbs a:hover { color: #fff; }
body.cr .crumbs .bi { font-size: 0.7rem; }
body.cr .lx-tag { padding: 0.2rem 0.6rem; border-radius: 999px; background: #fff; color: var(--brand); font-size: 0.75rem; font-weight: 700; }
body.cr .lx-langs { display: inline-flex; gap: 0.25rem; margin-left: 0.5rem; }
body.cr .lx-langs a { padding: 0.15rem 0.45rem; border-radius: 0.4rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.7); border: 1px solid rgba(255, 255, 255, 0.2); }
body.cr .lx-langs a[aria-current] { background: #fff; color: var(--deep); border-color: #fff; }
body.cr .lx-head__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 3rem; align-items: start; margin-top: 2.25rem; }
body.cr .lx-kicker { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--glow); }
body.cr .lx-body .lx-kicker, body.cr .lx-live .lx-kicker, body.cr .lx-deck .lx-kicker, body.cr .lx-senate .lx-kicker { color: var(--brand); }
body.cr .lx-head h1 { color: #fff; font-size: clamp(2.3rem, 4vw, 3.6rem); line-height: 1.05; margin-top: 0.9rem; }
body.cr .lx-lead { margin-top: 1.25rem; max-width: 36rem; font-size: 1.2rem; line-height: 1.55; color: rgba(255, 255, 255, 0.78); }
body.cr .lx-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.75rem; }
body.cr .lx-actions form { display: contents; }
body.cr .cr-btn--outline { background: rgba(255, 255, 255, 0.06); color: #fff; border: 1px solid rgba(255, 255, 255, 0.28); padding: 0.8rem 1.2rem; font-size: 0.9375rem; font-weight: 600; }
body.cr .cr-btn--outline:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.55); color: #fff; }
body.cr .lx-body .cr-btn--outline, body.cr .lx-live .cr-btn--outline, body.cr .lx-deck .cr-btn--outline, body.cr .cr-canvas .cr-btn--outline { background: #fff; color: var(--ink); border-color: rgba(0, 0, 0, 0.12); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04); }
body.cr .lx-body .cr-btn--outline:hover, body.cr .lx-live .cr-btn--outline:hover, body.cr .lx-deck .cr-btn--outline:hover, body.cr .cr-canvas .cr-btn--outline:hover { border-color: var(--brand); color: var(--brand); }
body.cr .lx-cta__new { margin-left: 0.25rem; padding: 0.1rem 0.45rem; border-radius: 999px; background: var(--brand); color: #fff; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
body.cr .btn-glow-light .lx-cta__new { background: var(--brand-mist); color: var(--brand); }
body.cr .lx-spec { margin: 0; padding: 1.5rem 1.75rem; border-radius: 1.5rem; background: #fff; color: var(--text); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(0, 0, 0, 0.05); display: grid; gap: 0; }
body.cr .lx-spec div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1rem; padding: 0.7rem 0; border-top: 1px solid var(--ring); font-size: 0.9375rem; }
body.cr .lx-spec div:first-child { border-top: 0; padding-top: 0; }
body.cr .lx-spec div:last-child { padding-bottom: 0; }
body.cr .lx-spec dt { font-weight: 600; color: var(--ink); }
body.cr .lx-spec dd { margin: 0; color: var(--text); }

/* The plate: the map of the lesson with its steps lettered on it. */
body.cr .lx-plate { position: relative; z-index: 2; max-width: 76rem; margin: -4.5rem auto 0; padding: 0 1.5rem; }
body.cr .lx-plate__frame { position: relative; overflow: hidden; border-radius: 1.5rem; background: #0b2a4a; box-shadow: var(--shadow-card); }
body.cr .lx-plate__frame img { display: block; width: 100%; height: auto; aspect-ratio: 1600 / 620; }
body.cr .lx-mark { position: absolute; display: flex; align-items: center; gap: 0.6rem; transform: translate(-15px, -50%); color: var(--ink); }
body.cr .lx-mark--left { flex-direction: row-reverse; transform: translate(calc(-100% + 15px), -50%); }
body.cr .lx-mark__dot { display: grid; place-items: center; flex: none; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--brand); color: #fff; font-size: 0.9375rem; font-weight: 700; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.9), 0 6px 16px rgba(0, 0, 0, 0.35); transition: transform 200ms; }
body.cr .lx-mark__label { padding: 0.4rem 0.75rem 0.45rem; border-radius: 0.75rem; background: rgba(255, 255, 255, 0.95); box-shadow: 0 6px 20px -8px rgba(0, 0, 0, 0.5); font-size: 0.8125rem; font-weight: 600; line-height: 1.25; white-space: nowrap; }
body.cr .lx-mark__label small { display: block; font-weight: 500; font-size: 0.75rem; color: var(--muted); }
body.cr .lx-mark:hover .lx-mark__dot { transform: scale(1.12); }
body.cr .lx-plate figcaption { padding: 0.9rem 0.25rem 0; font-size: 0.875rem; color: var(--muted); }
body.cr .lx-plate figcaption span { margin-right: 0.6rem; font-weight: 700; color: var(--brand); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.75rem; }

/* The scale bar: one segment per part of the lesson, as long as its minutes; it follows the reader. */
body.cr .lx-scale { position: sticky; top: 0; z-index: 20; margin-top: 2.5rem; padding: 4.75rem 0 0.75rem; background: linear-gradient(var(--canvas) 70%, rgba(244, 246, 251, 0)); pointer-events: none; }
body.cr .lx-scale .lx-wrap { position: relative; pointer-events: auto; }
body.cr .lx-scale ol { display: grid; margin: 0; padding: 0.6rem 0.9rem 0.7rem; list-style: none; background: #fff; border-radius: 1rem; box-shadow: var(--shadow-card); }
body.cr .lx-scale a { display: grid; gap: 0.3rem; color: var(--muted); }
body.cr .lx-scale__tick { font-size: 0.6875rem; font-weight: 600; color: var(--faint); font-variant-numeric: tabular-nums; }
body.cr .lx-scale__bar { height: 0.375rem; border-radius: 999px; background: var(--canvas-deep); margin-right: 0.25rem; transition: background 250ms; }
body.cr .lx-scale__name { padding-right: 0.6rem; font-size: 0.8125rem; font-weight: 600; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.cr .lx-scale__name b { margin-right: 0.25rem; font-weight: 700; color: var(--brand); }
body.cr .lx-scale a:hover, body.cr .lx-scale a.is-now { color: var(--ink); }
body.cr .lx-scale a:hover .lx-scale__bar, body.cr .lx-scale a.is-now .lx-scale__bar { background: var(--brand); }
body.cr .lx-scale__end { position: absolute; right: 2.4rem; top: 0.55rem; font-size: 0.6875rem; font-weight: 600; color: var(--faint); }

/* The sections before the plan: a call, the live lesson, the deck, the Senate. */
body.cr .lx-call, body.cr .lx-live, body.cr .lx-deck, body.cr .lx-senate { padding-top: 4.5rem; }
body.cr .lx-call__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 2.5rem; padding: 2.5rem; border-radius: 2rem; background: var(--deep); color: #fff; box-shadow: 0 40px 80px -40px rgba(7, 26, 61, 0.7); }
body.cr .lx-call h2 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.25rem); line-height: 1.12; margin-top: 0.75rem; }
body.cr .lx-call__when { margin-top: 1.25rem; font-size: 0.9375rem; line-height: 1.8; color: rgba(255, 255, 255, 0.7); }
body.cr .lx-call__when .bi { margin-right: 0.4rem; color: var(--glow); }
body.cr .lx-call__dilemma { font-size: 1.25rem; line-height: 1.5; font-weight: 500; color: #fff; }
body.cr .lx-call__what > p + p { margin-top: 1rem; font-size: 0.9375rem; line-height: 1.6; color: rgba(255, 255, 255, 0.72); }
body.cr .lx-call .lx-small, body.cr .lx-call .lx-small a { color: rgba(255, 255, 255, 0.65); }
body.cr .lx-call .cr-btn--outline { background: rgba(255, 255, 255, 0.06); color: #fff; border-color: rgba(255, 255, 255, 0.28); }
body.cr .lx-live__go { margin-top: 1.5rem; }
body.cr .lx-live__go form { display: inline; }
body.cr .lx-live__go .cr-btn + .cr-btn { margin-left: 0.5rem; }
body.cr .lx-small { margin-top: 0.75rem; font-size: 0.875rem; line-height: 1.5; color: var(--muted); }
body.cr .lx-small a { color: var(--brand); font-weight: 600; }
body.cr .lx-live h2, body.cr .lx-deck h2, body.cr .lx-senate h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.1; margin-top: 0.75rem; }
body.cr .lx-live__intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 4rem; align-items: start; }
body.cr .lx-live__intro > div > p:not(.lx-kicker):not(.lx-small) { font-size: 1.0625rem; line-height: 1.6; }
body.cr .lx-live__shot { position: relative; margin: 2.5rem 0 0; padding-right: 10%; }
body.cr .lx-live__shot > img:first-child { width: 100%; border-radius: 1.5rem; box-shadow: var(--shadow-card); }
body.cr .lx-live__phone { position: absolute; right: 0; bottom: -2rem; width: 20%; max-width: 15rem; border-radius: 1.5rem; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.5), 0 0 0 6px var(--canvas); }
body.cr .lx-live__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin: 3.5rem 0 0; }
body.cr .lx-live__facts div { padding: 1.5rem; border-radius: 1.5rem; background: #fff; box-shadow: var(--shadow-card); }
body.cr .lx-live__facts dt { font-size: 1.125rem; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
body.cr .lx-live__facts dd { margin: 0.4rem 0 0; font-size: 0.9375rem; line-height: 1.5; color: var(--muted); }
body.cr .lx-hw { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 2rem; align-items: center; margin-top: 2rem; padding: 2rem 2.25rem; border-radius: 1.5rem; background: var(--brand-mist); box-shadow: 0 0 0 1px rgba(29, 95, 209, 0.1); }
body.cr .lx-hw h3 { margin-top: 0.6rem; font-size: 1.375rem; }
body.cr .lx-hw__text > p:last-child { margin-top: 0.75rem; font-size: 0.9375rem; line-height: 1.6; }
body.cr .lx-hw .lx-live__go { margin-top: 0; }
body.cr .lx-live__recent { margin-top: 2rem; }
body.cr .lx-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
body.cr .lx-live__recent ul { margin: 0.75rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.5rem; }
body.cr .lx-live__recent a { display: grid; grid-template-columns: 1fr auto auto; gap: 1rem; padding: 0.8rem 1.1rem; border-radius: 0.875rem; background: #fff; box-shadow: var(--shadow-card); font-size: 0.9375rem; color: var(--ink); }
body.cr .lx-live__recent a span:last-child { color: var(--brand); font-weight: 600; }
body.cr .lx-deck__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: center; }
body.cr .lx-deck__fan { position: relative; display: block; aspect-ratio: 16 / 11; }
body.cr .lx-deck__slide { position: absolute; left: 0; top: 0; width: 82%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 1rem; background: #0b2a4a; box-shadow: var(--shadow-card); transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1); }
body.cr .lx-deck__slide img { width: 100%; height: 100%; object-fit: cover; }
body.cr .lx-deck__slide:nth-child(1) { transform: translate(18%, 24%) rotate(2deg); }
body.cr .lx-deck__slide:nth-child(2) { transform: translate(12%, 14%) rotate(1deg); }
body.cr .lx-deck__slide:nth-child(3) { transform: translate(6%, 6%); }
body.cr .lx-deck__slide--cover { transform: none; }
body.cr .lx-deck__fan:hover .lx-deck__slide:nth-child(1) { transform: translate(22%, 30%) rotate(3deg); }
body.cr .lx-deck__fan:hover .lx-deck__slide:nth-child(2) { transform: translate(15%, 18%) rotate(1.5deg); }
body.cr .lx-deck__fan:hover .lx-deck__slide:nth-child(3) { transform: translate(7%, 8%); }
body.cr .lx-deck__title { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1.25rem 1rem; background: linear-gradient(to top, rgba(7, 26, 61, 0.92), transparent); color: #fff; font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
body.cr .lx-deck__title small { display: block; margin-bottom: 0.25rem; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--glow); }
body.cr .lx-deck__text > p:not(.lx-kicker):not(.lx-small) { margin-top: 1rem; font-size: 1rem; line-height: 1.6; }
body.cr .lx-senate__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 2.5rem; align-items: center; padding: 2.5rem; border-radius: 2rem; background: #fff; box-shadow: var(--shadow-card); }
body.cr .lx-senate__motion { margin-top: 1rem; font-size: 1.125rem; line-height: 1.5; font-weight: 500; color: var(--ink); }
body.cr .lx-senate__text > p:not(.lx-kicker):not(.lx-small):not(.lx-senate__motion) { margin-top: 0.75rem; font-size: 0.9375rem; line-height: 1.6; }
body.cr .lx-senate__art img { width: 100%; border-radius: 1.25rem; box-shadow: var(--shadow-card); }

/* The plan itself: five parts, the head of each beside its matter. */
body.cr .lx-body { padding-top: 2rem; }
body.cr .lx-sec { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 2rem 3rem; padding: 3rem 0; border-top: 1px solid var(--ring); }
body.cr .lx-sec:first-child { border-top: 0; }
body.cr .lx-sec__head { align-self: start; position: sticky; top: 7.5rem; display: grid; gap: 0.35rem; }
body.cr .lx-sec__n { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 0.75rem; background: var(--brand); color: #fff; font-weight: 700; }
body.cr .lx-sec__head h2 { font-size: 1.5rem; margin-top: 0.5rem; }
body.cr .lx-sec__min { font-size: 0.875rem; font-weight: 600; color: var(--muted); }
body.cr .lx-sec__main { font-size: 1.0625rem; line-height: 1.6; }
body.cr .lx-sec__main .lx-label { margin-top: 1.5rem; }
body.cr .lx-sec__main .lx-label:first-child { margin-top: 0; }
body.cr .lx-say { margin-top: 0.6rem; padding: 1.25rem 1.5rem; border-radius: 1.25rem; background: #fff; box-shadow: var(--shadow-card); font-size: 1.125rem; line-height: 1.55; color: var(--ink); }
body.cr .lx-goals { margin: 0.6rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.5rem; }
body.cr .lx-goals li { position: relative; padding-left: 1.75rem; }
body.cr .lx-goals li::before { content: ""; position: absolute; left: 0; top: 0.55rem; width: 0.9rem; height: 0.9rem; border-radius: 50%; background: var(--brand-soft); box-shadow: inset 0 0 0 0.25rem #fff, 0 0 0 1px var(--brand); }
body.cr .lx-note { font-size: 0.9375rem; color: var(--muted); }
body.cr .lx-step { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 1.5rem; align-items: center; margin-top: 1.5rem; padding: 1rem; border-radius: 1.5rem; background: #fff; box-shadow: var(--shadow-card); scroll-margin-top: 8rem; }
body.cr .lx-step__plate { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 1rem; background: #0b2a4a; }
body.cr .lx-step__plate img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms ease; }
body.cr .lx-step:hover .lx-step__plate img { transform: scale(1.04); }
body.cr .lx-step__letter { position: absolute; left: 0.9rem; top: 0.9rem; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.9); }
body.cr .lx-step__text { padding-right: 1rem; }
body.cr .lx-step__meta { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand); }
body.cr .lx-step h3 { margin-top: 0.4rem; font-size: 1.3rem; }
body.cr .lx-step__text > p:not(.lx-step__meta) { margin-top: 0.6rem; font-size: 1rem; line-height: 1.55; }
body.cr .lx-go { display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 0.9rem; font-size: 0.9375rem; font-weight: 600; color: var(--brand); }
body.cr .lx-go:hover { color: var(--brand-press); }
body.cr .lx-discuss { margin-top: 1rem; }
body.cr .lx-axis { display: flex; justify-content: space-between; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding: 0 0.25rem 0.5rem; background: linear-gradient(90deg, var(--brand-soft), var(--brand)) bottom / 100% 2px no-repeat; }
body.cr .lx-questions { margin: 1rem 0 0; padding: 0; list-style: none; counter-reset: q; display: grid; gap: 0.6rem; }
body.cr .lx-questions li { counter-increment: q; display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); gap: 0.75rem; align-items: start; padding: 1rem 1.25rem; border-radius: 1rem; background: #fff; box-shadow: var(--shadow-card); font-size: 1.0625rem; line-height: 1.5; color: var(--ink); }
body.cr .lx-questions li::before { content: counter(q); display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 0.6rem; background: var(--brand-mist); color: var(--brand); font-weight: 700; font-size: 0.9375rem; }
body.cr .lx-body-text { margin-bottom: 1.25rem; }
body.cr .lx-ws { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 2.5rem; align-items: center; }
body.cr .lx-paper { position: relative; padding: 1.75rem 1.75rem 2rem; border-radius: 0.5rem; background: #fff; color: #111; font-family: Georgia, 'Times New Roman', serif; box-shadow: var(--shadow-card); aspect-ratio: 210 / 297; overflow: hidden; }
body.cr .lx-paper__brand { font-size: 0.6rem; letter-spacing: 0.08em; text-transform: uppercase; padding-bottom: 0.35rem; border-bottom: 1px solid #111; }
body.cr .lx-paper__title { margin-top: 0.8rem; font-size: 1.1rem; font-weight: 700; line-height: 1.15; }
body.cr .lx-paper__fields { display: flex; gap: 0.75rem; margin: 0.7rem 0 1rem; font-size: 0.6rem; }
body.cr .lx-paper__fields span { flex: 1; border-bottom: 1px solid #111; padding-bottom: 0.6rem; }
body.cr .lx-paper ol { margin: 0; padding-left: 1rem; font-size: 0.68rem; line-height: 1.4; }
body.cr .lx-paper li { margin-bottom: 0.45rem; }
body.cr .lx-paper li i { display: block; height: 0.55rem; border-bottom: 1px solid #bbb; }
body.cr .lx-paper.is-locked ol { filter: blur(3px); opacity: 0.6; user-select: none; }
body.cr .lx-paper.is-locked::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, #fff 10%, transparent 60%); }
body.cr .lx-ws__text h3 { font-size: 1.375rem; }
body.cr .lx-ws__text > p { margin: 0.75rem 0 1.25rem; font-size: 1rem; line-height: 1.6; }
body.cr .lx-missing { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: 3rem; padding: 1.5rem 1.75rem; border-radius: 1.5rem; background: var(--brand-mist); box-shadow: 0 0 0 1px rgba(29, 95, 209, 0.1); font-size: 0.9375rem; line-height: 1.55; }
body.cr .lx-missing p { max-width: 48rem; }
body.cr .lx-missing b { color: var(--ink); }
body.cr .lx-next { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 3rem 0 5rem; }
body.cr .lx-next__item { position: relative; display: block; overflow: hidden; border-radius: 1.5rem; background: var(--deep); color: #fff; box-shadow: var(--shadow-card); aspect-ratio: 16 / 6; transition: transform 300ms ease, box-shadow 300ms ease; }
body.cr .lx-next__item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); color: #fff; }
body.cr .lx-next__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: transform 700ms ease; }
body.cr .lx-next__item:hover img { transform: scale(1.04); }
body.cr .lx-next__item > span { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1.5rem 1.25rem; background: linear-gradient(to top, rgba(7, 26, 61, 0.92), transparent); font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
body.cr .lx-next__item small { display: block; margin-bottom: 0.3rem; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--glow); }

/* The Classroom sheet: the free lesson first, then the plan. */
body.cr .lx-modal { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 1.25rem; background: rgba(7, 26, 61, 0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
body.cr .lx-modal[hidden] { display: none; }
body.cr .lx-modal__card { position: relative; width: min(36rem, 100%); max-height: 100%; overflow-y: auto; padding: 2.25rem 2rem 2rem; border-radius: 1.5rem; background: #fff; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.5); }
body.cr .lx-modal__close { position: absolute; top: 0.75rem; right: 1rem; border: 0; background: none; font-size: 1.75rem; line-height: 1; color: var(--muted); cursor: pointer; }
body.cr .lx-modal__close:hover { color: var(--ink); }
body.cr .lx-modal h2 { margin-top: 0.6rem; font-size: 1.75rem; line-height: 1.1; }
body.cr .lx-modal h2 em { font-style: normal; color: var(--brand); }
body.cr .lx-modal__which { margin-top: 0.5rem; font-size: 0.9375rem; font-weight: 600; color: var(--brand); }
body.cr .lx-modal__card > p { margin-top: 0.9rem; font-size: 0.9375rem; line-height: 1.6; }
body.cr .lx-modal__actions { display: grid; gap: 0.6rem; margin-top: 1.25rem; }
body.cr .lx-modal__actions form { display: contents; }
body.cr .lx-modal__plan { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--ring); }
body.cr .lx-modal__plan h3 { font-size: 1.125rem; }
body.cr .lx-modal__plan p { margin-top: 0.35rem; font-size: 0.875rem; line-height: 1.55; color: var(--muted); }
body.cr .cr-btn--soft { background: var(--brand-mist); color: var(--brand); font-size: 0.9375rem; padding: 0.8rem 1.2rem; }
body.cr .cr-btn--soft:hover { background: var(--brand-soft); color: var(--brand-press); }

@media (max-width: 1024px) {
  body.cr .lx-head__grid, body.cr .lx-call__grid, body.cr .lx-live__intro, body.cr .lx-deck__grid, body.cr .lx-senate__grid, body.cr .lx-hw, body.cr .lx-ws { grid-template-columns: 1fr; }
  body.cr .lx-sec { grid-template-columns: 1fr; gap: 1rem; }
  body.cr .lx-sec__head { position: static; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.75rem; }
  body.cr .lx-sec__head h2 { margin: 0; }
  body.cr .lx-live__facts { grid-template-columns: 1fr; }
  body.cr .lx-mark__label { display: none; }
  body.cr .lx-paper { max-width: 24rem; }
}
@media (max-width: 640px) {
  body.cr .lx-head { padding: 5.5rem 0 6rem; }
  body.cr .lx-plate { margin-top: -3.5rem; padding: 0 1.1rem; }
  body.cr .lx-plate__frame { border-radius: 1rem; }
  body.cr .lx-plate__frame img { aspect-ratio: 4 / 3; object-fit: cover; }
  body.cr .lx-mark { display: none; }
  body.cr .lx-scale { display: none; }
  body.cr .lx-step { grid-template-columns: 1fr; }
  body.cr .lx-next { grid-template-columns: 1fr; }
  body.cr .lx-call__grid, body.cr .lx-senate__grid { padding: 1.5rem; border-radius: 1.5rem; }
  body.cr .lx-live__shot { padding-right: 0; }
  body.cr .lx-live__phone { display: none; }
  body.cr .lx-actions .cr-btn { width: 100%; }
}

/* Printing a worksheet: two A4 pages, black on white, nothing of the site around it. */
@media print {
  @page { size: A4; margin: 0; }
  html:has(body.cr), body.cr { background: #fff !important; }
  body.cr > *:not(.print-only), body.cr .navbar, body.cr .no-print, body.cr .cr-foot { display: none !important; }
  body.cr .ws-sheet { display: block !important; }
  body.cr .ws-sheet, body.cr .ws-sheet * { color: #111 !important; text-shadow: none !important; font-family: Georgia, 'Times New Roman', serif !important; }
  body.cr .ws-page { padding: 16mm 18mm; box-sizing: border-box; min-height: 297mm; break-after: page; page-break-after: always; }
  body.cr .ws-page:last-child { break-after: auto; page-break-after: auto; }
  body.cr .ws-brand { font-size: 9pt; letter-spacing: 0.06em; text-transform: uppercase; border-bottom: 1pt solid #111; padding-bottom: 3mm; margin-bottom: 7mm; }
  body.cr .ws-sheet h1 { font-size: 24pt; font-weight: 700; margin: 0 0 6mm; line-height: 1.1; }
  body.cr .ws-sheet h2 { font-size: 13pt; font-weight: 700; margin: 0 0 3mm; }
  body.cr .ws-fields { display: flex; gap: 8mm; margin: 0 0 9mm; font-size: 11pt; }
  body.cr .ws-fields span { flex: 1; border-bottom: 0.8pt solid #111; padding-bottom: 6mm; }
  body.cr .ws-sheet ol { margin: 0; padding-left: 7mm; list-style: decimal; }
  body.cr .ws-sheet li { font-size: 11.5pt; line-height: 1.45; margin: 0 0 6mm; padding: 0; border: 0; break-inside: avoid; }
  body.cr .ws-sheet li::before { content: none !important; }
  body.cr .ws-line { border-bottom: 0.6pt solid #999; height: 8mm; }
  body.cr .ws-page--map img { display: block; width: 100%; height: 95mm; object-fit: cover; filter: grayscale(1) brightness(1.3) contrast(0.95); border: 0.8pt solid #111; margin-bottom: 7mm; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  body.cr .ws-box { height: 118mm; border: 1.2pt solid #111; position: relative; }
  body.cr .ws-box em { position: absolute; right: 3mm; bottom: 2mm; font-size: 8.5pt; color: #666 !important; }
}

/* Rules of the dark lesson page that were never scoped to it: undone here. */
body.cr .lx-deck { padding: 4.5rem 0 0; border: 0; background: none; }
body.cr .lx-deck__fan { margin-right: 0; }
body.cr .lx-deck__slide { border: 0; right: auto; }
body.cr .lx-deck__slide--cover { border: 0; }
body.cr .lx-deck__title { left: 0; right: 0; bottom: 0; font-family: var(--font); font-size: 1.125rem; }
body.cr .lx-senate { padding: 4.5rem 0 0; border: 0; }
body.cr .lx-senate__motion { font-family: var(--font); font-style: normal; font-size: 1.125rem; padding-left: 0; border-left: 0; margin: 1rem 0 0; }
body.cr .lx-senate__art { border: 0; box-shadow: none; }
body.cr .lx-hw { border: 0; }
body.cr .lx-missing { border: 0; }
body.cr .lx-langs a { font-family: var(--font); }
body.cr .lx-modal__which em { font-style: normal; }
body.cr .lx-live__shot img, body.cr .lx-step__plate img, body.cr .lx-next__item img, body.cr .lx-deck__slide img { filter: none; }

/* ══ The class workspace: the teacher's class, the invite link, the live lessons and debates to read back. ══ */
body.cr .cr-page { padding-top: 7rem; padding-bottom: 4rem; }
body.cr .cr-page__eyebrow { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand); }
body.cr .cr-page h1 { margin-top: 0.75rem; font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1.05; max-width: 20ch; }
body.cr .cr-page h1 em, body.cr .cr-page h1 .hl { font-style: normal; color: var(--brand); }
body.cr .cr-page__sub { margin-top: 1rem; max-width: 40rem; font-size: 1.125rem; line-height: 1.6; }
body.cr .cr-alert { margin: 0 0 1.25rem; padding: 0.9rem 1.25rem; border-radius: 1rem; background: var(--brand-mist); color: var(--ink); font-size: 0.9375rem; box-shadow: 0 0 0 1px rgba(29, 95, 209, 0.15); }
body.cr .cr-alert--err { background: #fdecec; box-shadow: 0 0 0 1px rgba(180, 35, 24, 0.2); color: #8a1c1c; }
body.cr .ws-top { display: grid; grid-template-columns: 22rem minmax(0, 1fr); gap: 2.5rem; align-items: start; }
body.cr .ws-side { display: grid; gap: 1.25rem; position: sticky; top: 6rem; }
body.cr .ws-card { padding: 1.5rem; border-radius: 1.5rem; background: #fff; box-shadow: var(--shadow-card); }
body.cr .ws-card h2 { font-size: 1.25rem; }
body.cr .ws-card > p { margin: 0.4rem 0 1rem; font-size: 0.9375rem; line-height: 1.5; color: var(--muted); }
body.cr .ws-link { display: flex; gap: 0.5rem; }
body.cr .ws-link input, body.cr .ws-form textarea, body.cr .ws-chips { flex: 1; min-width: 0; margin: 0; padding: 0.7rem 0.9rem; border: 0; border-radius: 0.75rem; background: var(--canvas); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08); font: 500 0.875rem/1.4 var(--font); color: var(--ink); }
body.cr .ws-link input:focus, body.cr .ws-form textarea:focus, body.cr .ws-chips:focus-within { outline: 0; box-shadow: inset 0 0 0 2px var(--brand); background: #fff; }
body.cr .ws-form { display: flex; gap: 0.5rem; align-items: flex-start; margin: 0; }
body.cr .ws-form .cr-btn, body.cr .ws-link .cr-btn { flex: none; padding: 0.7rem 1rem; font-size: 0.875rem; white-space: nowrap; }
body.cr .ws-hint { margin: 0.6rem 0 0; font-size: 0.8125rem; line-height: 1.45; color: var(--faint); }
body.cr .ws-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; cursor: text; }
body.cr .ws-chips__input { flex: 1 1 8rem; min-width: 7rem; border: 0 !important; background: none !important; box-shadow: none !important; padding: 0.15rem 0.2rem; font: 500 0.875rem var(--font); color: var(--ink); outline: 0; }
body.cr .ws-chip { display: inline-flex; align-items: center; gap: 0.25rem; max-width: 100%; padding: 0.2rem 0.3rem 0.2rem 0.6rem; border-radius: 999px; background: var(--brand-mist); color: var(--brand); font-size: 0.8125rem; font-weight: 600; }
body.cr .ws-chip > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.cr .ws-chip.is-bad { background: #fdecec; color: #8a1c1c; }
body.cr .ws-chip button { width: 1.25rem; height: 1.25rem; border-radius: 50%; border: 0; background: rgba(0, 0, 0, 0.06); color: inherit; font-size: 0.9rem; line-height: 1; cursor: pointer; }
body.cr .ws-chip button:hover { background: var(--brand); color: #fff; }
body.cr .ws-sub { margin: 1.25rem 0 0.5rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
body.cr .ws-pending { list-style: none; margin: 0; padding: 0; }
body.cr .ws-pending li { display: flex; justify-content: space-between; align-items: center; gap: 0.6rem; padding: 0.5rem 0; border-top: 1px solid var(--ring); font-size: 0.875rem; color: var(--text); }
body.cr .ws-pending form, body.cr .ws-branch form { margin: 0; }
body.cr .ws-x { width: 2rem; height: 2rem; flex: 0 0 2rem; border-radius: 50%; display: grid; place-items: center; border: 0; background: var(--canvas); color: var(--muted); font-size: 0.75rem; cursor: pointer; transition: background 150ms, color 150ms; }
body.cr .ws-x:hover { background: #fdecec; color: #8a1c1c; }
body.cr .ws-tree { position: relative; }
body.cr .ws-root { display: flex; align-items: center; gap: 1rem; padding: 1.25rem 1.5rem; border-radius: 1.5rem; background: var(--deep); color: #fff; box-shadow: 0 30px 60px -30px rgba(7, 26, 61, 0.7); }
body.cr .ws-root strong { display: block; font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; }
body.cr .ws-root small { display: block; margin-top: 0.15rem; font-size: 0.875rem; color: rgba(255, 255, 255, 0.7); }
body.cr .ws-seal { display: grid; place-items: center; flex: none; width: 3.25rem; height: 3.25rem; border-radius: 1rem; background: var(--glow); color: var(--deep); font-weight: 700; font-size: 1.0625rem; letter-spacing: 0.02em; }
body.cr .ws-seal--sm { width: 2.5rem; height: 2.5rem; border-radius: 0.75rem; background: var(--brand-mist); color: var(--brand); font-size: 0.875rem; }
body.cr .ws-empty { margin-top: 1.25rem; padding: 1.5rem; border-radius: 1.25rem; background: #fff; box-shadow: var(--shadow-card); font-size: 0.9375rem; line-height: 1.55; }
body.cr .ws-empty strong { color: var(--ink); }
body.cr .ws-branches { list-style: none; margin: 1.25rem 0 0; padding: 0 0 0 1.75rem; position: relative; display: grid; gap: 0.75rem; }
body.cr .ws-branches::before { content: ""; position: absolute; left: 0.75rem; top: -1.25rem; bottom: 1.5rem; width: 2px; border-radius: 2px; background: var(--brand-soft); }
body.cr .ws-branch { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 1rem; align-items: center; padding: 0.9rem 1rem 0.9rem 1.1rem; border-radius: 1.25rem; background: #fff; box-shadow: var(--shadow-card); }
body.cr .ws-branch::before { content: ""; position: absolute; left: -1.05rem; top: 50%; width: 1rem; height: 2px; background: var(--brand-soft); }
body.cr .ws-student { display: flex; align-items: center; gap: 0.9rem; min-width: 0; color: var(--ink); }
body.cr .ws-student__name { min-width: 0; }
body.cr .ws-student strong { display: block; font-weight: 600; letter-spacing: -0.01em; }
body.cr .ws-student small { display: block; margin-top: 0.1rem; font-size: 0.8125rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.cr .ws-coins { display: flex; flex-wrap: wrap; align-items: center; gap: 0.2rem; max-width: 22rem; justify-content: flex-end; }
body.cr .ws-coins__more { margin-left: 0.4rem; font-size: 0.75rem; font-weight: 600; color: var(--brand); white-space: nowrap; }
body.cr .ws-debates { margin-top: 3.5rem; }
body.cr .ws-debates h2 { font-size: 1.6rem; }
body.cr .ws-debates__lede { margin: 0.4rem 0 1.25rem; font-size: 0.9375rem; color: var(--muted); max-width: 44rem; }
body.cr .ws-debates__empty { padding: 1.25rem 1.5rem; border-radius: 1.25rem; background: #fff; box-shadow: var(--shadow-card); font-size: 0.9375rem; }
body.cr .ws-debates__empty a, body.cr .tlink { color: var(--brand); font-weight: 600; }
body.cr .debate-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
body.cr .debate-list a { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: 0.9rem 1.25rem; border-radius: 1rem; background: #fff; box-shadow: var(--shadow-card); color: var(--ink); transition: transform 200ms, box-shadow 200ms; }
body.cr .debate-list a:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
body.cr .debate-list__status { justify-self: start; padding: 0.2rem 0.6rem; border-radius: 999px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; background: var(--canvas-deep); color: var(--text); }
body.cr .debate-list__status--won, body.cr .debate-list__status--taught { background: #dcf5e7; color: #0f6b3b; }
body.cr .debate-list__status--lost { background: #fdecec; color: #8a1c1c; }
body.cr .debate-list__status--active, body.cr .debate-list__status--running { background: var(--brand-mist); color: var(--brand); }
body.cr .debate-list__title { font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.cr .debate-list__meta { font-size: 0.8125rem; color: var(--muted); white-space: nowrap; }
@media (max-width: 1024px) { body.cr .ws-top { grid-template-columns: 1fr; } body.cr .ws-side { position: static; } }
@media (max-width: 640px) { body.cr .ws-branch { grid-template-columns: minmax(0, 1fr) auto; } body.cr .ws-coins { grid-column: 1 / -1; justify-content: flex-start; max-width: none; } body.cr .debate-list a { grid-template-columns: 1fr; gap: 0.3rem; } body.cr .cr-page { padding-top: 6rem; } }

/* ══ The plan cards of /pricing, exactly as they are on the dark site: their own variables, their own rules. ══ */
body.cr .tiers, body.app-view .tiers { --u0: #0f0804; --u1: #170d07; --u2: #22140b; --u3: #2e1c10; --sienna: #8a4a1f; --gold: #d6a34a; --gold-hi: #f0c46c; --red: #8e1c1c; --p1: #f3e6cc; --p2: rgba(243, 230, 204, 0.76); --p3: rgba(243, 230, 204, 0.52); --p4: rgba(243, 230, 204, 0.3); --rule: rgba(243, 230, 204, 0.13); --rule-2: rgba(243, 230, 204, 0.26); --serif: 'Cormorant Garamond', 'Cormorant', Georgia, serif; --sans: 'IBM Plex Sans', system-ui, sans-serif; }
body.cr .tiers, body.app-view .tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: start; margin: 64px 0 0; }
body.cr .tier, body.app-view .tier { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 40px 28px 30px; border-radius: 22px;
  background: linear-gradient(180deg, #24160c, #1b1009); border: 2px solid rgba(214, 163, 74, 0.28); box-shadow: 0 8px 0 #0d0703, 0 30px 60px -30px rgba(0, 0, 0, 0.8); }
body.cr .tier--imperial, body.app-view .tier--imperial { margin-top: -18px; padding-top: 52px; border: 3px solid #d6a34a;
  background: radial-gradient(120% 70% at 50% 0%, rgba(240, 196, 108, 0.22), transparent 60%), linear-gradient(180deg, #8e1c1c, #5e1010 70%, #470c0c);
  box-shadow: 0 10px 0 #2a0606, 0 40px 80px -30px rgba(142, 28, 28, 0.7); }
body.cr .tier__ribbon, body.app-view .tier__ribbon { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); padding: 8px 20px; border-radius: 999px; background: #f0c46c; color: #3b1a06;
  font: 800 12px var(--sans); letter-spacing: 0.14em; text-transform: uppercase; box-shadow: 0 4px 0 #a8722a; white-space: nowrap; }
body.cr .tier__emblem, body.app-view .tier__emblem { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; font-size: 32px; color: #3b1a06;
  background: radial-gradient(circle at 35% 30%, #fbe3a6, #d6a34a 55%, #9c6a24); box-shadow: 0 5px 0 #7a4f16, inset 0 -4px 8px rgba(0, 0, 0, 0.25); }
body.cr .tier__name, body.app-view .tier__name { margin: 18px 0 4px; font: 700 34px/1 var(--serif); color: #f3e6cc; }
body.cr .tier__tag, body.app-view .tier__tag { margin: 0 0 22px; font-size: 15px; color: rgba(243, 230, 204, 0.72); }
body.cr .tier__price, body.app-view .tier__price { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 118px; margin-bottom: 22px; }
body.cr .tier__price b, body.app-view .tier__price b { font: 700 60px/1 var(--serif); color: #fff3d6; }
body.cr .tier__price span, body.app-view .tier__price span { margin-top: 6px; font: 600 12px var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: rgba(243, 230, 204, 0.6); }
body.cr .tier__laurel, body.app-view .tier__laurel { position: absolute; left: 50%; top: 50%; width: 220px; transform: translate(-50%, -50%); color: #f0c46c; opacity: 0.9; }
body.cr .tier--imperial .tier__price b, body.app-view .tier--imperial .tier__price b { color: #fff; }
body.cr .tier--imperial .tier__tag, body.cr .tier--imperial .tier__price span, body.app-view .tier--imperial .tier__tag, body.cr .tier--imperial .tier__price span { color: rgba(255, 238, 214, 0.85); }
body.cr .tier form, body.app-view .tier form { width: 100%; }
body.cr .tier__feats, body.app-view .tier__feats { list-style: none; width: 100%; margin: 26px 0 0; padding: 22px 0 0; border-top: 1px solid rgba(243, 230, 204, 0.14); text-align: left; }
body.cr .tier__feats li, body.app-view .tier__feats li { position: relative; padding: 7px 0 7px 32px; color: rgba(243, 230, 204, 0.85); font-size: 15px; border: 0 !important; }
body.cr .tier__feats li::before, body.app-view .tier__feats li::before { content: "✓"; font-family: 'IBM Plex Sans', system-ui, sans-serif; position: absolute; left: 0; top: 6px; width: 22px; height: 22px; display: grid; place-items: center;
  border-radius: 50%; background: #d6a34a; color: #3b1a06; font-size: 13px; font-weight: 700; }
body.cr .tier--imperial .tier__feats li, body.app-view .tier--imperial .tier__feats li { color: #fff3e0; }
body.cr .tier--imperial .tier__feats li::before, body.app-view .tier--imperial .tier__feats li::before { background: #f0c46c; }
body.cr .tier__feats strong, body.app-view .tier__feats strong { color: #fff; }
body.cr .tier__feats a, body.app-view .tier__feats a { color: #f0c46c; text-decoration: underline; text-underline-offset: 3px; }
body.cr .tier--lapis, body.app-view .tier--lapis { border: 3px solid #7aa3e0;
  background: radial-gradient(120% 70% at 50% 0%, rgba(140, 180, 255, 0.2), transparent 60%), linear-gradient(180deg, #1c3b7a, #12295a 70%, #0c1c3f);
  box-shadow: 0 10px 0 #06102c, 0 40px 80px -30px rgba(28, 59, 122, 0.75); }
body.cr .tier--lapis .tier__emblem, body.app-view .tier--lapis .tier__emblem { color: #0d1b3d; background: radial-gradient(circle at 35% 30%, #e4eeff, #8fb4ee 55%, #3f69b4); box-shadow: 0 5px 0 #24478a, inset 0 -4px 8px rgba(0, 0, 0, 0.25); }
body.cr .tier--lapis .tier__name, body.app-view .tier--lapis .tier__name { color: #f4f8ff; }
body.cr .tier--lapis .tier__price b, body.app-view .tier--lapis .tier__price b { color: #fff; }
body.cr .tier--lapis .tier__tag, body.cr .tier--lapis .tier__price span, body.app-view .tier--lapis .tier__tag, body.cr .tier--lapis .tier__price span { color: rgba(226, 236, 255, 0.85); }
body.cr .tier--lapis .tier__feats, body.app-view .tier--lapis .tier__feats { border-top-color: rgba(226, 236, 255, 0.2); }
body.cr .tier--lapis .tier__feats li, body.app-view .tier--lapis .tier__feats li { color: #eef4ff; }
body.cr .tier--lapis .tier__feats li::before, body.app-view .tier--lapis .tier__feats li::before { background: #bcd6ff; color: #0d1b3d; }

/* ══ The dark site's pages (body.site) in the new register: the same rules, the variables remapped to paper and ink. ══ */
body.cr.site { --u0: #e5eaf3; --u1: #f4f6fb; --u2: #ffffff; --u3: #eef3fd; --sienna: #1d5fd1; --gold: #1d5fd1; --gold-hi: #1850b5; --red: #b42318; --p1: #18181b; --p2: #3f3f46; --p3: #71717a; --p4: #a1a1aa; --rule: rgba(0, 0, 0, 0.08); --rule-2: rgba(0, 0, 0, 0.14); --serif: var(--font); --sans: var(--font); background: var(--canvas) !important; color: var(--text); font: 400 17px/1.6 var(--font); }
:where(body.cr.site) h1, :where(body.cr.site) h2, :where(body.cr.site) h3, :where(body.cr.site) h4 { font-family: var(--font); font-weight: 600; color: var(--ink); letter-spacing: -0.02em; }
body.cr.site h1 em, body.cr.site h2 em, body.cr.site .hl { font-style: normal; font-weight: 600; color: var(--brand); }
:where(body.cr.site) a { color: var(--brand); }
body.cr.site ::selection { background: var(--brand-soft); color: var(--ink); }
body.cr.site :focus-visible { outline-color: var(--brand); }
body.cr .page-hero { margin: 0; padding: 0; min-height: 0; background: none; overflow: visible; }
body.cr .page-hero > .scene, body.cr .art-band, body.cr .statue, body.cr .statue-sec > figure, body.cr .senate-plaque__art { display: none !important; }
body.cr .page-hero__inner, body.cr .page-hero:not(:has(.page-hero__inner)) { max-width: 76rem; margin: 0 auto; padding: 7rem 1.5rem 2.5rem; }
body.cr .page-hero .page-eyebrow, body.cr .page-eyebrow { display: block; margin-bottom: 0.75rem; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand); }
body.cr .page-hero h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1.05; margin: 0 0 1rem; max-width: 20ch; text-shadow: none; color: var(--ink); }
body.cr .page-hero .page-subtitle { max-width: 40rem; font-size: 1.125rem; line-height: 1.6; color: var(--text); text-shadow: none; }
body.cr .page-body { max-width: 76rem; margin: 0 auto; padding: 0 1.5rem 5rem; }
body.cr .page-card, body.cr .tos-section { padding: 2rem 0; border-bottom: 1px solid var(--ring); }
body.cr .page-card h3, body.cr .tos-section h3 { font-size: 1.5rem; }
body.cr .page-card p, body.cr .page-card li, body.cr .tos-section p, body.cr .tos-section li { color: var(--text); font-size: 1rem; line-height: 1.65; }
body.cr .notice { margin: 1.5rem 0 0; padding: 1rem 1.25rem; border: 0; border-radius: 1rem; background: var(--brand-mist); color: var(--text); }
body.cr .pr-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; width: auto; padding: 0.8rem 1.25rem; border: 0; border-radius: 0.875rem; font: 700 0.9375rem var(--font); cursor: pointer; transition: transform 120ms, box-shadow 120ms, background-color 150ms; }
body.cr .pr-btn--primary { background: var(--brand); color: #fff; box-shadow: 0 4px 0 0 var(--brand-press); filter: none; }
body.cr .pr-btn--primary:hover { background: var(--brand-hover); color: #fff; filter: none; }
body.cr .pr-btn--primary:active { transform: translateY(3px); box-shadow: 0 1px 0 0 var(--brand-press); }
body.cr .pr-btn--ghost { background: #fff; color: var(--ink); border: 1px solid rgba(0, 0, 0, 0.12); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04); }
body.cr .pr-btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
body.cr .press--gold:not(.tiers *) { background: var(--brand); color: #fff !important; box-shadow: 0 6px 0 var(--brand-press); font-family: var(--font); animation: none; }
body.cr .press--stone:not(.tiers *) { background: #fff; color: var(--ink) !important; box-shadow: 0 6px 0 #b9c6dd; font-family: var(--font); }
body.cr .pr-alert { max-width: none; margin: 0 0 1.25rem; padding: 0.9rem 1.25rem; border: 0; border-radius: 1rem; background: var(--brand-mist); color: var(--ink); box-shadow: 0 0 0 1px rgba(29, 95, 209, 0.15); }
body.cr .pr-alert--err { background: #fdecec; color: #8a1c1c; box-shadow: 0 0 0 1px rgba(180, 35, 24, 0.2); }
body.cr .auth-form input, body.cr .req-form input, body.cr .req-form select, body.cr .req-form textarea, body.cr .acct-form input, body.cr .acct-form select { padding: 0.8rem 1rem; border: 0; border-radius: 0.75rem; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 0 0 1px rgba(0, 0, 0, 0.1); color: var(--ink); font: 500 1rem var(--font); }
body.cr .auth-form input:focus, body.cr .req-form input:focus, body.cr .req-form select:focus, body.cr .req-form textarea:focus, body.cr .acct-form input:focus { outline: 0; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 0 0 2px var(--brand); border-color: transparent; }
body.cr .auth-form label, body.cr .req-label { color: var(--ink); font-weight: 600; font-size: 0.875rem; }
body.cr .auth-card, body.cr .acct-sec, body.cr .page-cta, body.cr .pr-restore, body.cr .pr-live, body.cr .cmp__wrap { background: #fff; border: 0; border-radius: 1.5rem; box-shadow: var(--shadow-card); }
body.cr .auth-card, body.cr .acct-sec, body.cr .page-cta, body.cr .pr-restore, body.cr .pr-live { padding: 2rem; }
body.cr .cmp__table thead th, body.cr .cmp__table .cmp__group th { background: var(--canvas); color: var(--ink); font-family: var(--font); }
body.cr .cmp__table thead th.is-pro { background: var(--brand-mist); color: var(--brand); }
body.cr .cmp__table thead th.is-classroom { background: #e9eef9; color: var(--deep); }
body.cr .cmp__table .is-pro { background: rgba(29, 95, 209, 0.04); }
body.cr .cmp__table .is-classroom { background: rgba(7, 26, 61, 0.04); }
body.cr .cmp__table { color: var(--text); font-family: var(--font); }
body.cr .cmp__table th[scope="row"] { color: var(--ink); }
body.cr .cmp__table .bi-check-lg { color: var(--brand); }
body.cr .cmp__table .cmp__group th { color: var(--brand); }
body.cr .cmp__table tbody tr + tr th, body.cr .cmp__table tbody tr + tr td { border-top-color: var(--ring); }
body.cr .cmp h2 { color: var(--ink); font-family: var(--font); }
body.cr .cmp__no { color: var(--faint); }
body.cr .tiers, body.app-view .tiers { color: rgba(243, 230, 204, 0.76); }
body.cr .tiers h2, body.app-view .tiers h2 { font-family: var(--serif); }

/* The gold links of the old bar carry !important at a higher weight; the register answers in kind. */
body.cr-nav .navbar .nav-link.nav-gold, body.cr-nav .navbar .nav-link.nav-gold:hover, body.cr-nav .navbar .nav-link.nav-gold.active { color: var(--text) !important; }
body.cr-nav .navbar .nav-link.nav-gold:hover { color: var(--ink) !important; }
body.cr-nav .navbar .nav-link.nav-gold.active { color: var(--brand) !important; }
body.cr-nav.cr-dark-top:not(.is-lifted) .navbar .container-fluid:not(:has(.navbar-collapse.show)) .nav-link.nav-gold { color: rgba(255, 255, 255, 0.8) !important; }
body.cr-nav.cr-dark-top:not(.is-lifted) .navbar .container-fluid:not(:has(.navbar-collapse.show)) .nav-link.nav-gold:hover, body.cr-nav.cr-dark-top:not(.is-lifted) .navbar .container-fluid:not(:has(.navbar-collapse.show)) .nav-link.nav-gold.active { color: #fff !important; }
body.cr-nav .navbar .nav-signin { color: inherit !important; }
/* The old page head: no painted box, the words set left, each on its own line. */
body.cr .page-hero { text-align: left; background: none !important; border: 0 !important; box-shadow: none; }
body.cr .page-hero h1, body.cr .page-hero .page-subtitle, body.cr .tos-updated, body.cr .page-hero p { display: block; margin-left: 0; margin-right: 0; text-shadow: none !important; }
body.cr .page-hero h1 { font-family: var(--font); letter-spacing: -0.02em; }
body.cr .page-hero .page-subtitle { font-family: var(--font); }
body.cr .tos-updated { margin-top: 0.75rem; font-size: 0.875rem; color: var(--muted); }
body.cr .tos-intro { max-width: 40rem; margin: 0 0 2rem; }
/* The plan cards keep their own type and colours whatever the page says about headings and links. */
body.cr.site .tiers .tier__name, body.app-view .tiers .tier__name { font-family: 'Cormorant Garamond', Georgia, serif; color: #f3e6cc; }
body.cr.site .tiers .tier--lapis .tier__name, body.app-view .tiers .tier--lapis .tier__name { color: #f4f8ff; }
body.cr.site .tiers .tier--imperial .tier__name, body.app-view .tiers .tier--imperial .tier__name { color: #fff3e0; }
body.cr.site .tiers .tier__feats a, body.app-view .tiers .tier__feats a { color: #f0c46c; }
body.cr.site .tiers .tier__price b, body.app-view .tiers .tier__price b { font-family: 'Cormorant Garamond', Georgia, serif; }
/* App views: the gold press buttons turn blue, except in the Senate. */
body.app-view:not(.senate-page) .press--gold { background: #1d5fd1; color: #fff !important; box-shadow: 0 6px 0 #103b8a; animation: none; }
body.app-view:not(.senate-page) .press--stone { background: #fff; color: #18181b !important; box-shadow: 0 6px 0 #b9c6dd; }
body.cr-nav.is-lifted .navbar .nav-signin, body.cr-nav.cr-light-top .navbar .nav-signin { color: var(--ink) !important; border-color: rgba(0, 0, 0, 0.15); }
body.cr-nav.cr-dark-top:not(.is-lifted) .navbar .container-fluid:not(:has(.navbar-collapse.show)) .nav-signin { color: #fff !important; border-color: rgba(255, 255, 255, 0.4); }
body.cr .page-hero { display: block; }

/* The root variables of the dark site, said again for both registers. */
body.cr { --void-bg: #f4f6fb; --void-surface: #ffffff; --void-surface-2: #eef3fd; --void-violet: #1d5fd1; --void-violet-deep: #103b8a; --void-violet-light: #3f3f46; --void-text: #18181b; --void-text-dim: #71717a; --void-line: rgba(0, 0, 0, 0.08); --void-glow: rgba(29, 95, 209, 0.25); --color-primary: #1d5fd1; --color-primary-light: #eef3fd; --color-text: #3f3f46; --color-text-light: #18181b; --color-text-muted: #71717a; --color-border: rgba(0, 0, 0, 0.08); --color-border-light: rgba(0, 0, 0, 0.05); --color-bg-white: #ffffff; --color-bg-cream: #ffffff; --color-bg-warm: #eef3fd; --color-accent: #1d5fd1; --color-shadow: rgba(0, 0, 0, 0.08); --color-shadow-md: rgba(0, 0, 0, 0.12); --color-shadow-lg: rgba(0, 0, 0, 0.18); --color-dark: #f4f6fb; --color-dark-secondary: #ffffff; --color-dark-border: rgba(0, 0, 0, 0.08); --font-heading: var(--font); --font-body: var(--font); }
body.app-view:not(.senate-page) { --font: 'DM Sans', ui-sans-serif, system-ui, sans-serif; --void-bg: #0b1020; --void-surface: #0f1629; --void-surface-2: #161e36; --void-violet: #9fcbff; --void-violet-deep: #1d5fd1; --void-violet-light: rgba(255, 255, 255, 0.8); --void-text: #ffffff; --void-text-dim: rgba(255, 255, 255, 0.6); --void-line: rgba(255, 255, 255, 0.12); --void-glow: rgba(29, 95, 209, 0.45); --color-primary: #9fcbff; --color-primary-light: #161e36; --color-text: #ffffff; --color-text-light: #ffffff; --color-text-muted: rgba(255, 255, 255, 0.6); --color-border: rgba(255, 255, 255, 0.12); --color-border-light: rgba(255, 255, 255, 0.08); --color-bg-white: #0f1629; --color-bg-cream: #0f1629; --color-bg-warm: #161e36; --color-accent: #9fcbff; --color-dark: #0b1020; --color-dark-secondary: #0f1629; --color-dark-border: rgba(255, 255, 255, 0.12); --font-heading: var(--font); --font-body: var(--font); --u0: #0b1020; --u1: #0f1629; --u2: #161e36; --u3: #1f2a48; --sienna: #1d5fd1; --gold: #9fcbff; --gold-hi: #c7e0ff; --red: #e5484d; --p1: #ffffff; --p2: rgba(255, 255, 255, 0.78); --p3: rgba(255, 255, 255, 0.55); --p4: rgba(255, 255, 255, 0.32); --rule: rgba(255, 255, 255, 0.12); --rule-2: rgba(255, 255, 255, 0.24); --serif: var(--font); --sans: var(--font); }
body.app-view:not(.senate-page), html:has(body.app-view:not(.senate-page)) { background: #0b1020; }
body.app-view:not(.senate-page) .press--gold, body.app-view:not(.senate-page) .senate-promo__cta { background: #1d5fd1; color: #fff !important; box-shadow: 0 6px 0 #103b8a; }

/* Room in the bar between Sign in and Pro; fewer links as the window narrows, never an overlap. */
body.cr-nav .navbar .nav-end { margin-left: 0.5rem; }
body.cr-nav .navbar .nav-signin { margin: 0 0.25rem 0 0; }
body.cr-nav .nav-pro { flex: none; margin-left: 1.25rem; }
body.cr-nav .navbar .nav-me { flex: none; margin-left: 0.5rem; }
body.cr-nav .navbar .nav-me__name, body.cr-nav .navbar .nav-me::after { color: inherit; }
body.cr-nav .navbar .nav-me__avatar { background: var(--brand-mist); color: var(--brand); font-family: var(--font); }
body.cr-nav.cr-dark-top:not(.is-lifted) .navbar .container-fluid:not(:has(.navbar-collapse.show)) .nav-me__avatar { background: rgba(255, 255, 255, 0.15); color: #fff; }
body.cr-nav .nav-menu { background: #fff; color: var(--text); border: 0; box-shadow: var(--shadow-card); border-radius: 1rem; font-family: var(--font); }
body.cr-nav .nav-menu__head strong, body.cr-nav .nav-menu__item { color: var(--ink); }
body.cr-nav .nav-menu__head span { color: var(--muted); }
body.cr-nav .nav-menu__plan { color: var(--brand); font-style: normal; }
body.cr-nav .nav-menu__item:hover { background: var(--canvas); }
body.cr-nav .nav-menu__item--gold { color: var(--brand); }
body.cr-nav .nav-menu__sep { border-color: var(--ring); }
@media (min-width: 992px) and (max-width: 1260px) { body.cr-nav .navbar .nav-item:has(> .nav-link[href$="/journeys"]) { display: none; } }
@media (min-width: 992px) and (max-width: 1150px) { body.cr-nav .navbar .nav-item:has(> .nav-link[href$="/hometown"]) { display: none; } }
@media (min-width: 992px) and (max-width: 1060px) { body.cr-nav .navbar .nav-item:has(> .nav-link[href$="/timewalk"]) { display: none; } body.cr-nav .nav-pro__long { display: none; } }
/* Hometown and Time Walk: the search button as a button of the register. */
body.cr .ht-search__go, body.app-view .ht-search__go, body.app-view .tw-search__go { text-transform: none; letter-spacing: 0; font: 700 0.9375rem var(--font); color: #fff; background: var(--brand); box-shadow: 0 4px 0 var(--brand-press); border-radius: 0.75rem; }
body.cr .ht-search__go:active, body.app-view .ht-search__go:active { box-shadow: 0 1px 0 var(--brand-press); }
body.cr .ht-search__loc { color: var(--ink); font-family: var(--font); }
/* The account menu: no gold anywhere, the plan in blue. */
body.cr-nav .nav-menu__plan.is-paid { color: #fff; background: var(--brand); }
body.cr-nav .nav-menu__item i { color: var(--brand); }
body.cr-nav .nav-menu__item--gold i { color: var(--brand); }
/* The marks on the history slider for the years with an old map stay light, or they vanish on the slate. */
body.app-view:not(.senate-page) .tl-mark { background: #9fcbff; opacity: 0.95; }
body.app-view:not(.senate-page) .tl-mark.is-locked { background: rgba(159, 203, 255, 0.5); }
body.app-view:not(.senate-page) .tl-mark.is-on { background: #fff; box-shadow: 0 0 0 1px rgba(159, 203, 255, 0.9); }
/* The lifted pill is wide enough for every link; the list may never run under the Pro button. */
body.cr-nav.is-lifted .navbar .container-fluid, body.cr-nav.cr-light-top .navbar .container-fluid { max-width: 86rem; }
@media (min-width: 992px) { body.cr-nav .navbar .navbar-nav { min-width: 0; } body.cr-nav .navbar .nav-user { margin-left: auto; } }
@media (min-width: 992px) and (max-width: 1700px) { body.cr-nav .navbar .nav-item:has(> .nav-link[href$="/tos"]) { display: none; } }
/* Rule History in the class: one row per student that opens on their last reigns. */
body.cr .ws-rh { display: grid; gap: 0.6rem; }
body.cr .ws-rh__student { border-radius: 1.25rem; background: #fff; box-shadow: var(--shadow-card); overflow: hidden; }
body.cr .ws-rh__student summary { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto auto; gap: 1rem; align-items: center; padding: 0.9rem 1.25rem; cursor: pointer; list-style: none; }
body.cr .ws-rh__student summary::-webkit-details-marker { display: none; }
body.cr .ws-rh__name { min-width: 0; }
body.cr .ws-rh__name strong { display: block; color: var(--ink); font-weight: 600; letter-spacing: -0.01em; }
body.cr .ws-rh__name small { display: block; margin-top: 0.1rem; font-size: 0.8125rem; color: var(--muted); }
body.cr .ws-rh__stat { text-align: right; min-width: 5rem; }
body.cr .ws-rh__stat b { display: block; font-size: 1.25rem; font-weight: 600; color: var(--ink); line-height: 1.1; }
body.cr .ws-rh__stat small { font-size: 0.75rem; color: var(--muted); }
body.cr .ws-rh__stat--best b { color: var(--brand); }
body.cr .ws-rh__chev { color: var(--muted); transition: transform 200ms; }
body.cr .ws-rh__student[open] .ws-rh__chev { transform: rotate(180deg); }
body.cr .ws-rh__list { margin: 0; padding: 0.25rem 1.25rem 1rem; list-style: none; display: grid; gap: 0.5rem; border-top: 1px solid var(--ring); }
body.cr .ws-rh__list li { display: grid; grid-template-columns: 11rem minmax(0, 1fr) 6rem; gap: 0.5rem 1rem; align-items: center; padding-top: 0.6rem; font-size: 0.9375rem; }
body.cr .ws-rh__ruler { font-weight: 600; color: var(--ink); }
body.cr .ws-rh__bar { height: 0.5rem; border-radius: 999px; background: var(--canvas-deep); overflow: hidden; }
body.cr .ws-rh__bar i { display: block; height: 100%; border-radius: 999px; background: var(--brand); }
body.cr .ws-rh__pts { text-align: right; color: var(--muted); font-size: 0.875rem; }
body.cr .ws-rh__pts b { color: var(--ink); font-weight: 600; }
body.cr .ws-rh__meta { grid-column: 2 / -1; font-size: 0.8125rem; color: var(--muted); margin-top: -0.3rem; }
body.cr .ws-rh__more { padding-top: 0.5rem; font-size: 0.875rem; }
@media (max-width: 640px) { body.cr .ws-rh__student summary { grid-template-columns: auto minmax(0, 1fr) auto; } body.cr .ws-rh__stat:not(.ws-rh__stat--best), body.cr .ws-rh__chev { display: none; } body.cr .ws-rh__list li { grid-template-columns: 1fr; } body.cr .ws-rh__pts { text-align: left; } body.cr .ws-rh__meta { grid-column: 1; } }
/* The launch buttons at the top left of the map sit under a taller bar now. */
body.app-view:not(.senate-page) .story-launch { top: calc(56px + 2rem); }
body.app-view:not(.senate-page) .guessr-launch { top: calc(100px + 2rem); }
body.app-view:not(.senate-page) .timewalk-launch { top: calc(144px + 2rem); }
body.app-view:not(.senate-page) .hometown-launch { top: calc(188px + 2rem); }

/* The laurels wall on account and profile: the sum, the tools, folded periods, twelve coins before the rest. */
body.cr .laurels-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; margin-bottom: 1.25rem; }
body.cr .laurels-top__sum { display: flex; align-items: center; gap: 0.6rem; font-size: 0.9375rem; color: var(--muted); }
body.cr .laurels-top__sum b { font-size: 1.75rem; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; line-height: 1; }
body.cr .laurels-bar { width: 9rem; height: 0.5rem; border-radius: 999px; background: var(--canvas-deep); overflow: hidden; }
body.cr .laurels-bar i { display: block; height: 100%; border-radius: 999px; background: var(--brand); }
body.cr .laurels-top__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; }
body.cr .laurels-search { display: flex; align-items: center; gap: 0.5rem; height: 2.5rem; padding: 0 0.9rem; border-radius: 0.75rem; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1); }
body.cr .laurels-search:focus-within { box-shadow: 0 0 0 2px var(--brand); }
body.cr .laurels-search .bi { color: var(--muted); }
body.cr .laurels-search input { width: 13rem; border: 0; outline: 0; background: none; font: 500 0.9375rem var(--font); color: var(--ink); }
body.cr .laurels-filter { display: inline-flex; padding: 0.2rem; border-radius: 0.75rem; background: var(--canvas-deep); }
body.cr .laurels-filter button { border: 0; border-radius: 0.6rem; padding: 0.4rem 0.8rem; background: none; font: 600 0.875rem var(--font); color: var(--text); cursor: pointer; }
body.cr .laurels-filter button b { font-weight: 500; color: var(--muted); margin-left: 0.2rem; }
body.cr .laurels-filter button.is-on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08); }
body.cr .laurels-filter button.is-on b { color: var(--brand); }
body.cr .laurels-expand { border: 0; background: none; padding: 0.4rem 0.2rem; font: 600 0.875rem var(--font); color: var(--brand); cursor: pointer; }
body.cr .laurels-expand:hover { text-decoration: underline; text-underline-offset: 3px; }
body.cr .laurels-period { border: 0; border-radius: 1.25rem; background: #fff; box-shadow: var(--shadow-card); padding: 0 1.25rem 1.25rem; }
body.cr .laurels-period:not([open]) { padding-bottom: 0; }
body.cr .laurels-period__head { display: grid; grid-template-columns: minmax(0, 1fr) 8rem auto auto; align-items: center; gap: 1rem; padding: 1rem 0; }
body.cr .laurels-period__head h3 { font: 600 1.125rem/1.2 var(--font); color: var(--ink); letter-spacing: -0.01em; }
body.cr .laurels-period__head h3 span { font: 500 0.75rem var(--font); letter-spacing: 0.08em; color: var(--muted); }
body.cr .laurels-period__meter { height: 0.375rem; border-radius: 999px; background: var(--canvas-deep); overflow: hidden; }
body.cr .laurels-period__meter i { display: block; height: 100%; border-radius: 999px; background: var(--brand); }
body.cr .laurels-period__count { font: 600 0.75rem var(--font); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
body.cr .laurels-period__count.has-won { color: var(--brand); }
body.cr .laurels-period--won { background: var(--brand-mist); box-shadow: 0 0 0 1px rgba(29, 95, 209, 0.12); }
body.cr .laurels-period[hidden] { display: none; }
body.cr .laurels-more { display: block; margin: 1rem auto 0; padding: 0.6rem 1.1rem; border: 0; border-radius: 0.75rem; background: var(--canvas); font: 600 0.875rem var(--font); color: var(--brand); cursor: pointer; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08); }
body.cr .laurels-more:hover { background: #fff; }
body.cr .laurels-none { margin: 1rem 0 0; font-size: 0.9375rem; color: var(--muted); }
body.cr .laurel { border-radius: 1rem; background: var(--canvas); border: 0; }
body.cr .laurel.is-earned { background: #fff; box-shadow: 0 0 0 1px rgba(29, 95, 209, 0.22); }
body.cr .laurel__name { font: 600 1rem/1.15 var(--font); color: var(--ink); }
body.cr .laurel:not(.is-earned) .laurel__name { color: var(--muted); }
@media (max-width: 640px) { body.cr .laurels-period__head { grid-template-columns: minmax(0, 1fr) auto; } body.cr .laurels-period__meter { display: none; } body.cr .laurels-search input { width: 9rem; } }
body.cr .badge-coin.is-locked { filter: grayscale(1) brightness(1.05) contrast(0.75); opacity: 0.55; }
/* Live lessons on a profile: the sum, one lesson open at a time, eight before the rest. */
body.cr .live-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; margin-bottom: 1.25rem; }
body.cr .live-top__sum { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; font-size: 0.9375rem; color: var(--muted); }
body.cr .live-top__sum b { font-size: 1.375rem; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; margin-right: 0.25rem; }
body.cr .live-list { gap: 0.6rem; }
body.cr .live-item details { border: 0; border-radius: 1.25rem; background: #fff; box-shadow: var(--shadow-card); }
body.cr .live-item details[open] { box-shadow: var(--shadow-lift); }
body.cr .live-item__rank { border-color: var(--ring); font-family: var(--font); font-weight: 600; color: var(--text); background: var(--canvas); }
body.cr .live-item__rank small { color: var(--muted); }
body.cr .live-item__rank.is-first { color: #fff; background: var(--brand); border-color: var(--brand); }
body.cr .live-item__rank.is-first small { color: rgba(255, 255, 255, 0.8); }
body.cr .live-item__title { font: 600 1.0625rem/1.25 var(--font); color: var(--ink); letter-spacing: -0.01em; }
body.cr .live-item__meta { color: var(--muted); }
body.cr .live-rounds { border-top-color: var(--ring); }
body.cr .live-rounds li { border-bottom-color: var(--ring); }
body.cr .live-rounds__label { color: var(--brand); }
body.cr .live-rounds__prompt { color: var(--text); }
body.cr .live-rounds__answer { color: var(--ink); }
body.cr .live-rounds li.is-right .live-rounds__answer { color: #0f6b3b; }
body.cr .live-rounds li.is-wrong .live-rounds__answer { color: #8a1c1c; }
body.cr .live-item__links a { color: var(--brand); font-weight: 600; }
body.cr .live-item[hidden] { display: none; }
/* Overlays of the map that stood just under the old bar move down with the taller one. */
body.cr-nav.app-view:not(.senate-page) .deep-card { top: calc(58px + 2rem); }
body.cr-nav.app-view:not(.senate-page) .tm-cap { top: calc(86px + 2rem); }
body.cr-nav.app-view:not(.senate-page) .map-cards { top: calc(var(--header-height) + 0.5rem); }
/* The Deep time button sits in the same stack as the launch buttons, and moves down with them. */
body.cr-nav.app-view:not(.senate-page) #timeline-deep, body.cr-nav.app-view:not(.senate-page) .timeline-deep { top: calc(232px + 2rem); }
/* Over a map the bar's words need a floor: at the top the pill is dark glass, white words on it; the white pill comes with the scroll. */
body.cr-nav.cr-dark-top.app-view:not(.is-lifted) .navbar .container-fluid:not(:has(.navbar-collapse.show)) { background: rgba(11, 16, 32, 0.72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 12px 40px -18px rgba(0, 0, 0, 0.5); max-width: 86rem; }
body.cr-nav.cr-dark-top.app-view:not(.is-lifted) .navbar .container-fluid:not(:has(.navbar-collapse.show)) .nav-link { text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35); }
/* Rule History's list scrolled inside its card, so the page never scrolled and the bar never lifted; the page scrolls. */
body.cr-nav.app-view .rp-card { max-height: none; overflow: visible; }

/* The feature pages (Time Walk, Hometown, Journeys, Pro) share the dark register of the map: the page head and the notes
   written for the paper pages are said again in it. */
body.app-view .cr-page { padding-top: 7rem; padding-bottom: 3rem; }
body.app-view .cr-page__eyebrow { color: #9fcbff; }
body.app-view .cr-page h1 { color: #fff; }
body.app-view .cr-page h1 em, body.app-view .cr-page h1 .hl { color: #9fcbff; font-style: normal; }
body.app-view .cr-page__sub { color: rgba(255, 255, 255, 0.72); }
body.app-view .cr-alert { background: rgba(159, 203, 255, 0.12); color: #fff; box-shadow: 0 0 0 1px rgba(159, 203, 255, 0.25); }
body.app-view .cr-alert--err { background: rgba(229, 72, 77, 0.15); color: #ffd3d3; box-shadow: 0 0 0 1px rgba(229, 72, 77, 0.35); }
body.app-view .cr-btn.btn-glow { --fill: #1d5fd1; --fill-hover: #1850b5; color: #fff; }
body.app-view .pr-page { padding-bottom: 5rem; }
body.app-view .pr-page .cmp h2, body.app-view .pr-page .pr-live h3, body.app-view .pr-page .pr-restore h3 { color: #fff; font-family: var(--font); }
body.app-view .pr-page .cmp__table th[scope="row"], body.app-view .pr-page .cmp__table thead th { color: #fff; }
body.app-view .pr-page .cmp__table { color: rgba(255, 255, 255, 0.8); }
body.app-view .pr-page .pr-live, body.app-view .pr-page .pr-restore { color: rgba(255, 255, 255, 0.8); }
body.app-view .pr-page .pr-live p, body.app-view .pr-page .pr-live li, body.app-view .pr-page .pr-restore p { color: rgba(255, 255, 255, 0.8); }
body.app-view .pr-page .pr-fineprint { color: rgba(255, 255, 255, 0.55); }
body.app-view .cr-foot { margin-top: 0; }
/* A journey keeps its sidebar light inside the dark page; the bar over it is the dark glass pill. */
body.app-view.jn-play .jn { top: var(--nav-h, 76px); }

body.app-view .ht-search__go { background: #1d5fd1; color: #fff; box-shadow: 0 4px 0 #103b8a; }
body.app-view .ht-search__loc { color: #fff; }
/* The buttons inside the plan cards stay exactly as they were, on the paper and on the dark page alike. */
body.app-view:not(.senate-page) .tiers .press--stone, body.cr .tiers .press--stone { background: #f3e6cc; color: #3b1a06 !important; box-shadow: 0 6px 0 #9c8866, inset 0 1px 0 #fff; }
body.app-view:not(.senate-page) .tiers .press--gold, body.cr .tiers .press--gold { background: linear-gradient(180deg, #f6d48e, #e2b35a 55%, #c8923c); color: #3b1a06 !important; box-shadow: 0 6px 0 #a8722a; }
/* While the atlas loads, its screen covers the whole window; the bar stays on top of it. */
body.cr-nav.app-view:not(.senate-page) .map-loader { inset: 0; }
body.cr-nav .navbar { z-index: 1500; }
/* Under the fixed bar, the dark feature pages begin a little lower. */
body.cr-nav.app-view:not(.senate-page) .ht-head { padding-top: calc(var(--header-height) + 2.5rem); }
/* The board and the phone keep their proportions whatever the width (the markup carries their pixel sizes). */
body.cr .lx-live__shot > img:first-child, body.cr .lx-live__phone, body.cr .lx-step__plate img, body.cr .lx-deck__slide img, body.cr .lx-plate__frame img, body.cr .lx-next__item img, body.cr .lx-senate__art img { height: auto; }
body.cr .lx-live__phone { height: auto; aspect-ratio: 390 / 664; object-fit: cover; }
body.cr .lx-step__plate img, body.cr .lx-deck__slide img, body.cr .lx-next__item img { height: 100%; }
body.cr .lx-deck__title small { font-family: var(--font); }

/* ══ Phones ══ */
/* The bar is lower on a phone: a smaller pill, less room above it, and the pages' chrome starts right under it. */
@media (max-width: 991px) {
  body.cr-nav .navbar { padding: 0.5rem 0.5rem 0; }
  body.cr-nav .navbar .container-fluid { min-height: 3.25rem; padding: 0 0.6rem 0 0.7rem; border-radius: 0.875rem; }
  body.cr-nav .navbar .navbar-brand .brand-mark { width: 26px; height: 26px; }
  body.cr-nav .navbar-toggler { padding: 0.3rem 0.5rem; }
  body.cr-nav .navbar-toggler-icon { width: 1.35em; height: 1.35em; }
  body.cr-nav .nav-pro { padding: 0.4rem 0.7rem; font-size: 0.8125rem; }
  body.cr-nav.app-view:not(.senate-page) { --header-height: 3.9rem; }
  body.cr-nav.app-view:not(.senate-page) .maplibregl-ctrl-top-right, body.cr-nav.app-view:not(.senate-page) .maplibregl-ctrl-top-left { margin-top: 0; }
  /* The Senate keeps its own measures; only its back button comes out from under the bar. */
  body.cr-nav.senate-page .sn-back { top: calc(3.9rem + 10px) !important; }
}
@media (min-width: 992px) { body.cr-nav.senate-page .sn-back { top: calc(4.75rem + 12px) !important; } }
/* Phones: the five launch buttons in two rows right under the bar, Hometown and Deep time under Stories. */
@media (max-width: 760px) {
  body.cr-nav.app-view:not(.senate-page) .story-launch, body.cr-nav.app-view:not(.senate-page) .guessr-launch, body.cr-nav.app-view:not(.senate-page) .timewalk-launch { top: calc(var(--header-height) + 8px) !important; }
  body.cr-nav.app-view:not(.senate-page) .hometown-launch, body.cr-nav.app-view:not(.senate-page) .timeline-deep { top: calc(var(--header-height) + 52px) !important; height: 36px; padding: 0 12px !important; font-size: 12px !important; gap: 5px; box-sizing: border-box; display: inline-flex; align-items: center; }
  body.cr-nav.app-view:not(.senate-page) .hometown-launch { left: 10px !important; }
  body.cr-nav.app-view:not(.senate-page) .timeline-deep { left: 134px !important; }
  body.cr-nav.app-view:not(.senate-page) .map-cards { top: calc(var(--header-height) + 100px); }
  body.cr-nav.app-view:not(.senate-page) .maplibregl-ctrl-top-right { top: calc(var(--header-height) + 100px) !important; }
  body.cr-nav.app-view:not(.senate-page) .deep-card { top: calc(var(--header-height) + 100px); }
}
/* The plan cards stand one under the other on a narrow screen, the popular one first. */
@media (max-width: 1000px) {
  body.cr .tiers, body.app-view .tiers { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  body.cr .tier--imperial, body.app-view .tier--imperial { margin-top: 0; order: -1; }
}
/* The handle of the layers sheet on a phone: a blue call, white words. */
@media (max-width: 991px) {
  body.cr-nav.app-view:not(.senate-page) .sidebar-handle { background: #1d5fd1 !important; box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.45), inset 0 -5px 0 #103b8a !important; }
  body.cr-nav.app-view:not(.senate-page) .sidebar-handle::before { background: rgba(255, 255, 255, 0.4); }
  body.cr-nav.app-view:not(.senate-page) .sidebar-handle .handle-text, body.cr-nav.app-view:not(.senate-page) .sidebar-handle .handle-text .bi, body.cr-nav.app-view:not(.senate-page) .sidebar-handle .handle-chevron { color: #fff; font-family: var(--font); text-transform: none; letter-spacing: 0; font-weight: 700; }
}
/* The game's back button is a round icon on a phone (styles.css); the navy sheet must not give its words a size again. */
@media (max-width: 640px) { body.app-view:not(.senate-page) .rh-back.rh-back--game { font-size: 0; width: 42px; height: 42px; padding: 0; gap: 0; } }
/* The plans page scrolls as a page, not inside the body (the map's rule), so a phone's scroll lands on the cards. */
html:has(body.pr-page), body.pr-page { height: auto; min-height: 100%; overflow: visible; }
/* The ruler picker starts under the round back button on a phone. */
@media (max-width: 640px) { body.app-view .rp-select { padding-top: 72px; } }
/* Phones, second row: Hometown, Deep time close to it, and the weather chip ("Warm Period") as the third in the row. */
@media (max-width: 760px) {
  body.cr-nav.app-view:not(.senate-page) .hometown-launch { width: 108px; justify-content: center; }
  body.cr-nav.app-view:not(.senate-page) .timeline-deep { left: 124px !important; width: 104px; justify-content: center; }
  body.cr-nav.app-view:not(.senate-page) .map-cards .climate-chip { position: fixed; top: calc(var(--header-height) + 52px); left: 234px; right: 10px; width: auto; max-width: none; height: 36px; min-height: 0; padding: 0 10px; justify-content: center; border-radius: 999px; font-size: 12px; font-weight: 600; z-index: 1199; }
  body.cr-nav.app-view:not(.senate-page) .map-cards .climate-chip span { max-width: 100%; }
  /* The handle of the layers sheet: the slate of the rest of the chrome, a blue mark, not a blue slab. */
  body.cr-nav.app-view:not(.senate-page) .sidebar-handle { background: rgba(15, 22, 41, 0.96) !important; box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important; }
  body.cr-nav.app-view:not(.senate-page) .sidebar-handle::before { background: rgba(159, 203, 255, 0.55); }
  body.cr-nav.app-view:not(.senate-page) .sidebar-handle .handle-text { color: #fff; font-weight: 600; }
  body.cr-nav.app-view:not(.senate-page) .sidebar-handle .handle-text .bi, body.cr-nav.app-view:not(.senate-page) .sidebar-handle .handle-chevron { color: #9fcbff; }
}
@media (max-width: 760px) { body.cr-nav.app-view:not(.senate-page) .map-cards .climate-chip { right: auto; max-width: calc(100vw - 244px); padding: 0 14px; } }

/* ══ The Senate record (Acta Senatus, /senate/debates/{id}) in the register: a white sheet with a hairline, blue seals, the speeches as a conversation. */
body.cr.site .record__actions { display: flex; flex-wrap: wrap; gap: 0.625rem; margin-bottom: 1.5rem; }
body.cr.site .record__actions .pr-btn { display: inline-flex; align-items: center; gap: 0.5rem; width: auto; padding: 0.7rem 1.1rem; border-radius: 0.75rem; font: 600 0.9375rem/1 var(--font); box-shadow: none; filter: none; }
body.cr.site .record__actions .pr-btn--primary { background: #1d5fd1; color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 8px 24px -12px rgba(29, 95, 209, 0.7); }
body.cr.site .record__actions .pr-btn--primary:hover { background: #1a54ba; filter: none; }
body.cr.site .record__actions .pr-btn--ghost { background: #fff; border: 1px solid rgba(24, 24, 27, 0.14); color: #18181b; }
body.cr.site .record__actions .pr-btn--ghost:hover { border-color: rgba(24, 24, 27, 0.32); }
body.cr.site .record__scroll { background: #fff; border: 1px solid rgba(24, 24, 27, 0.08); border-radius: 1.25rem; padding: 2rem 2.25rem; box-shadow: 0 1px 2px rgba(7, 26, 61, 0.04), 0 24px 48px -32px rgba(7, 26, 61, 0.25); }
body.cr.site .record__head { display: flex; align-items: center; gap: 1rem; padding-bottom: 1.25rem; margin-bottom: 1.5rem; border-bottom: 1px solid #e4e8f0; }
body.cr.site .record__head strong { display: block; font: 700 1.5rem/1.1 var(--font); color: #18181b; letter-spacing: -0.01em; }
body.cr.site .record__head small { font-size: 0.875rem; color: #4b4b55; }
body.cr.site .record__seal, body.cr.site .record__who { display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: #071a3d; color: #fff; font: 700 0.75rem var(--font); letter-spacing: 0.06em; box-shadow: none; }
body.cr.site .record__seal { width: 3rem; height: 3rem; font-size: 0.6875rem; }
body.cr.site .record__who { width: 2.125rem; height: 2.125rem; font-size: 0.8125rem; background: #eef3fd; color: #1d5fd1; }
body.cr.site .record__line { display: grid; grid-template-columns: 2.125rem minmax(0, 1fr); gap: 0.875rem; margin-bottom: 1.125rem; }
body.cr.site .record__line.is-you { grid-template-columns: minmax(0, 1fr) 2.125rem; }
body.cr.site .record__line.is-you .record__who { grid-column: 2; grid-row: 1; background: #1d5fd1; color: #fff; }
body.cr.site .record__line.is-you > div { grid-column: 1; grid-row: 1; text-align: right; }
body.cr.site .record__line > div { background: #f4f6fb; border-radius: 1rem; padding: 0.875rem 1.125rem; }
body.cr.site .record__line.is-you > div { background: #eef3fd; }
body.cr.site .record__line h4 { margin: 0 0 0.25rem; font: 700 1rem/1.3 var(--font); color: #18181b; }
body.cr.site .record__line h4 em { font: 600 0.625rem var(--font); letter-spacing: 0.12em; text-transform: uppercase; color: #1d5fd1; margin-left: 0.4rem; font-style: normal; }
body.cr.site .record__line--hostile h4 em { color: #b42318; }
body.cr.site .record__line--persuaded h4 em { color: #067647; }
body.cr.site .record__line p { margin: 0; color: #1f1f23; line-height: 1.6; font-size: 1rem; }
body.cr.site .record__outcome { margin: 1.5rem 0 0; padding-top: 1.25rem; border-top: 1px solid #e4e8f0; font-style: normal; color: #18181b; font-weight: 500; }
@media (max-width: 640px) { body.cr.site .record__scroll { padding: 1.25rem 1rem; border-radius: 1rem; } body.cr.site .record__line { gap: 0.625rem; } }
@media print { body.cr.site .record__scroll { box-shadow: none; border: 1px solid #999; } body.cr.site .record__line > div { background: none; padding: 0; } }
body.cr.site .record__who { width: 2.25rem; height: 2.25rem; font-size: 0.6875rem; letter-spacing: 0.02em; white-space: nowrap; }
body.cr.site .record__line { grid-template-columns: 2.25rem minmax(0, 1fr); }
body.cr.site .record__line.is-you { grid-template-columns: minmax(0, 1fr) 2.25rem; }
body.cr.site .page-eyebrow { font-style: normal; }
/* Desktop: the ask bar sits clear of the play button and the speed chip under it. */
@media (min-width: 761px) { body.cr-nav.app-view:not(.senate-page) .ai-guide { bottom: 122px; } }

/* ══ Breadcrumbs and the homework page: readable ink, not the old cream. */
body.cr.site .crumbs { color: #71717a; font-size: 0.875rem; }
body.cr.site .crumbs a { color: #4b4b55; text-decoration: none; }
body.cr.site .crumbs a:hover { color: #1d5fd1; }
body.cr.site .crumbs .bi { color: #a1a1aa; }
body.cr.site .hw .lx-kicker, body.cr.site .hw-head .lx-kicker { color: #1d5fd1; opacity: 1; }
body.cr.site .hw-lead { color: #3f3f46; }
body.cr.site .hw-card { background: #fff; border: 1px solid rgba(24, 24, 27, 0.08); box-shadow: 0 1px 2px rgba(7, 26, 61, 0.04), 0 24px 48px -32px rgba(7, 26, 61, 0.22); }
body.cr.site .hw-card h2 { color: #18181b; font: 700 1.25rem/1.2 var(--font); letter-spacing: -0.01em; }
body.cr.site .hw-card__head > span, body.cr.site .hw-card__head small { color: #4b4b55; }
body.cr.site .hw-label, body.cr.site .hw-small, body.cr.site .hw-empty, body.cr.site .hw-table th { color: #4b4b55; }
body.cr.site .hw-label b { color: #18181b; }
body.cr.site .hw-table td { color: #1f1f23; }
body.cr.site .hw-rounds li { color: #1f1f23; }
body.cr.site .hw-rounds .is-num { color: #1d5fd1; border-color: rgba(29, 95, 209, 0.4); }
body.cr.site .hw-link input { background: #fff; color: #18181b; border-color: rgba(24, 24, 27, 0.14); }

/* The plate card in the Classroom hero: the lesson's own plate on top, the words under it. */
body.cr .cr-stage__card-img { display: block; width: 100%; aspect-ratio: 16 / 7.5; object-fit: cover; object-position: center; border-bottom: 1px solid #e4e8f0; }
body.cr .cr-stage__card-body { display: block; padding: 1rem 1.25rem 1.15rem; }
body.cr .cr-stage__card-body > span { display: block; margin-top: 0.35rem; font-size: 0.875rem; color: var(--muted); }
body.cr .cr-stage__card-img { height: auto; }
/* Phones and tablets: the hero art stays as the page scrolls (no fade), the plate card full width with the live pill under it. */
@media (max-width: 1024px) {
  body.cr .cr-stage__art { opacity: 1 !important; flex-direction: column; align-items: stretch; height: auto; }
  body.cr .cr-stage__card { width: 100%; margin: 0; }
  body.cr .cr-stage__card-img { aspect-ratio: 16 / 9; }
  body.cr .cr-stage__live { float: none; align-self: flex-end; margin: 0.75rem 0 0; }
}

/* ══ The main links of the bar (Map … Pro, the ones with nav-gold) carry a shine: a brighter weight and a band of
   light that passes through the letters along the row every few seconds. Request a Map and TOS stay quiet. */
body.cr-nav .navbar { --nav-ink: var(--text); --nav-shine: #1d5fd1; --nav-quiet: var(--muted); }
body.cr-nav.cr-dark-top:not(.is-lifted) .navbar .container-fluid:not(:has(.navbar-collapse.show)) { --nav-ink: rgba(255, 255, 255, 0.9); --nav-shine: #8fc2ff; --nav-quiet: rgba(255, 255, 255, 0.58); }
body.cr-nav .navbar .nav-link.nav-gold { font-weight: 600; }
body.cr-nav .navbar .nav-link:not(.nav-gold):not(.nav-signin) { color: var(--nav-quiet) !important; font-weight: 500; }
body.cr-nav .navbar .nav-link:not(.nav-gold):not(.nav-signin):hover { color: var(--nav-ink) !important; }
body.cr-nav .navbar .nav-link.nav-gold:not(.active) { color: transparent !important; text-shadow: none !important;
  background-image: linear-gradient(100deg, var(--nav-ink) 0 42%, var(--nav-shine) 50%, var(--nav-ink) 58% 100%); background-size: 320% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; animation: nav-shine 8s linear infinite; }
body.cr-nav .navbar .nav-link.nav-gold:not(.active):hover { --nav-ink: var(--nav-shine); }
body.cr-nav .navbar .nav-link.nav-gold::after { background: var(--nav-ink); }
body.cr-nav .navbar .nav-link.nav-gold.active::after { background: var(--brand); }
body.cr-nav.cr-dark-top:not(.is-lifted) .navbar .container-fluid:not(:has(.navbar-collapse.show)) .nav-link.nav-gold.active::after { background: #fff; }
/* the light runs along the row: each link starts a little later than the one before it */
body.cr-nav .navbar .nav-item:nth-child(1) .nav-link.nav-gold { animation-delay: 0s; }
body.cr-nav .navbar .nav-item:nth-child(2) .nav-link.nav-gold { animation-delay: 0.16s; }
body.cr-nav .navbar .nav-item:nth-child(3) .nav-link.nav-gold { animation-delay: 0.32s; }
body.cr-nav .navbar .nav-item:nth-child(4) .nav-link.nav-gold { animation-delay: 0.48s; }
body.cr-nav .navbar .nav-item:nth-child(5) .nav-link.nav-gold { animation-delay: 0.64s; }
body.cr-nav .navbar .nav-item:nth-child(6) .nav-link.nav-gold { animation-delay: 0.8s; }
body.cr-nav .navbar .nav-item:nth-child(7) .nav-link.nav-gold { animation-delay: 0.96s; }
body.cr-nav .navbar .nav-item:nth-child(8) .nav-link.nav-gold { animation-delay: 1.12s; }
@keyframes nav-shine { 0% { background-position: 100% 0; } 34% { background-position: 0% 0; } 100% { background-position: 0% 0; } }
@media (prefers-reduced-motion: reduce) { body.cr-nav .navbar .nav-link.nav-gold:not(.active) { animation-duration: 12s; } }
/* The same, said with more weight than the old bar rules (styles.css and the navy sheet still carry gold with !important). */
body.cr-nav .navbar { --nav-active: var(--brand); }
body.cr-nav.cr-dark-top:not(.is-lifted) .navbar .container-fluid:not(:has(.navbar-collapse.show)) { --nav-active: #ffffff; }
body.cr-nav .navbar .container-fluid .navbar-collapse .navbar-nav .nav-item .nav-link.nav-gold:not(.active):not(.nav-signin):not(.nav-pro) { color: transparent !important; text-shadow: none !important; box-shadow: none !important;
  background-image: linear-gradient(100deg, var(--nav-ink) 0 42%, var(--nav-shine) 50%, var(--nav-ink) 58% 100%); background-size: 320% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; animation: nav-shine 8s linear infinite; }
body.cr-nav .navbar .container-fluid .navbar-collapse .navbar-nav .nav-item .nav-link.nav-gold.active:not(.nav-signin):not(.nav-pro) { color: var(--nav-active) !important; background: none !important; box-shadow: none !important; text-shadow: none !important; }
body.cr-nav .navbar .container-fluid .navbar-collapse .navbar-nav .nav-item .nav-link.active:not(.nav-gold):not(.nav-signin):not(.nav-pro) { color: var(--nav-active) !important; box-shadow: none !important; }
body.cr-nav .navbar .container-fluid .navbar-collapse .navbar-nav .nav-item .nav-link.active::after { background: var(--nav-active) !important; color: var(--nav-active); }
/* The Classroom sheet on a lesson page: its buttons stay inside the card on a narrow screen, with their words wrapped. */
body.cr .lx-modal__actions { grid-template-columns: minmax(0, 1fr); }
body.cr .lx-modal__actions .cr-btn { display: flex; width: 100%; min-width: 0; max-width: 100%; box-sizing: border-box; justify-content: center; align-items: center; text-align: center; white-space: normal; line-height: 1.3; padding: 0.8rem 1rem; }
body.cr .lx-modal__actions .cr-btn i { flex: 0 0 auto; }
@media (max-width: 640px) { body.cr .lx-modal { padding: 0.75rem; } body.cr .lx-modal__card { padding: 2rem 1.25rem 1.5rem; border-radius: 1.25rem; } body.cr .lx-modal h2 { font-size: 1.5rem; } }

/* ══ Desktop map: the layers panel is a full-height column from the very top; the bar's pill ends where the panel begins. */
@media (min-width: 992px) {
  body.cr-nav.app-view.sidebar-open:not(.jn-page):not(.senate-page):has(.sidebar .sidebar-handle) .navbar { right: var(--sidebar-width, 360px); }
  body.cr-nav.app-view:not(.jn-page):not(.senate-page) .sidebar:has(.sidebar-handle) { top: 0; height: 100vh; }
  /* the bar is a panel narrower now: the quiet links give way first, the main ones only on small screens */
  body.cr-nav.app-view.sidebar-open:not(.jn-page):not(.senate-page):has(.sidebar .sidebar-handle) .navbar .nav-item:has(> .nav-link[href$="/tos"]) { display: none; }
}
@media (min-width: 992px) and (max-width: 1700px) { body.cr-nav.app-view.sidebar-open:not(.jn-page):not(.senate-page):has(.sidebar .sidebar-handle) .navbar .nav-item:has(> .nav-link[href$="/request-map"]) { display: none; } }
@media (min-width: 992px) and (max-width: 1380px) { body.cr-nav.app-view.sidebar-open:not(.jn-page):not(.senate-page):has(.sidebar .sidebar-handle) .navbar .nav-item:has(> .nav-link[href$="/journeys"]) { display: none; } }
@media (min-width: 992px) and (max-width: 1270px) { body.cr-nav.app-view.sidebar-open:not(.jn-page):not(.senate-page):has(.sidebar .sidebar-handle) .navbar .nav-item:has(> .nav-link[href$="/hometown"]) { display: none; } }
@media (min-width: 992px) and (max-width: 1170px) { body.cr-nav.app-view.sidebar-open:not(.jn-page):not(.senate-page):has(.sidebar .sidebar-handle) .navbar .nav-item:has(> .nav-link[href$="/timewalk"]) { display: none; } }
/* With the panel open the bar is narrower: tighter spacing, and Journeys gives way a little sooner. */
@media (min-width: 992px) and (max-width: 1600px) {
  body.cr-nav.app-view.sidebar-open:not(.jn-page):not(.senate-page):has(.sidebar .sidebar-handle) .navbar .nav-link { margin: 0 0.3rem; font-size: 0.8125rem; }
  body.cr-nav.app-view.sidebar-open:not(.jn-page):not(.senate-page):has(.sidebar .sidebar-handle) .navbar .navbar-brand { margin-right: 0.5rem; }
}
@media (min-width: 992px) and (max-width: 1500px) { body.cr-nav.app-view.sidebar-open:not(.jn-page):not(.senate-page):has(.sidebar .sidebar-handle) .navbar .nav-item:has(> .nav-link[href$="/journeys"]) { display: none; } }
