/* GENERATED by scripts/app-build.py from squarespace-output-production/GLOBAL-CUSTOM-CSS.css (Squarespace Custom CSS). Do not edit here. */
/* =========================================================
   SHARED FOUNDATION
   Common app-shell foundation, brand, navigation, shared colors, and utilities
   Extracted from css/MASTER-MEMBER-AREA.css
========================================================= */

/* =========================================================
   GARRETT ORTEGO — STUDENT HOME V3
   COMPLETE REPLACEMENT STYLESHEET
========================================================= */

/* =========================================================
   GLOBAL APP FOUNDATION
========================================================= */

.student-app-shell {
  --go-blue: #061c56;
  --go-blue-light: #0a2c78;
  --go-blue-panel: #071847;
  --go-blue-panel-light: #0a215e;
  --go-gold: #c9a24d;
  /* Normalized to match the refined Learning System / public-site gold
     value (was #e0b75d, a near-identical but slightly off hex). */
  --go-gold-light: #e1b85a;
  --go-black: #08090b;
  --go-panel: #111214;
  --go-panel-light: #17181b;
  --go-white: #ffffff;
  --go-muted: rgba(255, 255, 255, 0.64);
  /* Normalized to match the public site's default divider/border alpha
     (was 0.42) — same rgba(201,162,77,...) gold token. */
  --go-line: rgba(201, 162, 77, 0.36);
  --go-white-line: rgba(255, 255, 255, 0.08);

  /* Explicit px anchor (2026-07-23 root-independence pass): Squarespace's
     live theme renders html/body at 12px instead of the assumed 16px, which
     silently shrinks every `rem`-based size on this portal to 75% of intent
     (rem always resolves against the document root, not this shell, so
     setting font-size here alone would NOT fix descendant `rem` usages).
     All portal typography below has been converted from `rem` to `em` so it
     resolves relative to THIS explicit, root-independent 16px anchor instead
     of Squarespace's root. Do not change this back to rem. */
  font-size: 16px;
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow-x: clip;
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(6, 28, 86, 0.18),
      transparent 30%
    ),
    var(--go-black);
  color: var(--go-white);
}

.student-app-shell *,
.student-app-shell *::before,
.student-app-shell *::after {
  box-sizing: border-box;
}

.student-app-shell [hidden] {
  display: none !important;
}

.student-app-shell a {
  color: inherit;
}


/* =========================================================
   SHARED TYPOGRAPHY + LAYOUT TOKENS
   Normalization pass (2026-07-21): common scale for container
   width and typography, referenced (with literal fallbacks)
   from the page-specific source-css files so Student Home,
   Guided Play-Alongs, The CAGED System, Building Blocks, and
   Practice Library read as one consistent system. Declaring
   these here documents the canonical values; because the
   hybrid build has some pages assembled from a frozen
   compatibility baseline instead of this file, page-specific
   rules use `var(--gom-token, <literal>)` so they resolve
   correctly with or without this stylesheet in scope.
========================================================= */

.student-app-shell {
  --gom-content-width: 1500px;
  --gom-content-width-laptop: 1180px;
  --gom-text-hero-mobile: clamp(2em, 8vw, 2.125em);
  /* Desktop typography scale (2026-07-21 readability pass) */
  /* Units converted rem -> em (2026-07-23 root-independence pass): these are
     read via var(...) by descendants of .student-app-shell, which now sets
     an explicit font-size: 16px anchor above, so `em` here resolves to the
     same intended px values regardless of Squarespace's actual html/body
     root font-size. */
  --gom-text-section: clamp(1.5em, 1.6vw, 1.625em);
  --gom-text-card-title: 1.125em;
  --gom-text-body: 1.125em;
  --gom-text-meta: 0.9375em;
  --gom-text-row-title: 1.25em;
  --gom-text-row-title-lg: 1.375em;
  --gom-text-label: 0.875em;

  /* Module-sidebar "How It Works" / "About This Module" / "Your
     Progress" typography (2026-07-21 repair pass): these are
     targeted, narrowly-scoped tokens for CAGED System, Building
     Blocks, and Practice Library's sidebar info cards only — not
     the general section-heading/body/label scale above, so fixing
     this small text does not affect any other already-correct
     heading on these or other pages. */
  --gom-text-info-heading-mobile: 1.5em;
  --gom-text-info-heading: 1.75em;
  --gom-text-info-heading-lg: 1.875em;
  --gom-text-info-copy-mobile: 1.0625em;
  --gom-text-info-copy: 1.125em;
  --gom-text-info-copy-lg: 1.1875em;
  --gom-text-info-label-mobile: 1.25em;
  --gom-text-info-label: 1.375em;
  --gom-text-info-label-lg: 1.5em;
}

html {
  scroll-behavior: smooth;
}

#student-progress,
#student-curriculum,
#student-practice-library,
#student-recent {
  scroll-margin-top: 110px;
}


/* =========================================================
   NO FLOATING HEADERS (G51, Garrett 2026-10-01)
   Every top bar scrolls away with the page. These two cover bars
   this site-wide file doesn't own:
   - Squarespace's own header is set to a fixed position; where a
     page doesn't hide it (/free-vocabulary, legacy pages) it rode
     down the page. Absolute keeps it where it sits at the top.
   - The pre-Glass public header (.go-public-nav, /about) is sticky
     in the page's own block, which loads after this file: body
     lifts the specificity. No Glass page uses that class.
========================================================= */

body:not(.sqs-edit-mode-active) #header {
  position: absolute !important;
}

body .go-public-nav {
  position: relative;
}


/* =========================================================
   PREMIUM CUSTOM HEADER
========================================================= */

.student-app-header {
  position: relative; /* G51: scrolls away with the page (was sticky, top 0) */
  z-index: 1000;
  width: 100%;
  border-bottom: 1px solid rgba(201, 162, 77, 0.32);
  /* Desaturated from a solid, full-opacity navy (rgba(6,28,86,.96-.99)
     top to bottom) to the same black-led gradient family used on the
     public nav, ending in a moderate (not full-strength) navy so the
     portal keeps slightly stronger blue identification for navigation
     clarity without reading as a saturated royal-blue bar. */
  background:
    linear-gradient(
      180deg,
      rgba(8, 9, 11, 0.97) 0%,
      rgba(8, 9, 11, 0.93) 55%,
      rgba(6, 28, 86, 0.55) 100%
    );
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.42),
    0 1px 0 rgba(255, 255, 255, 0.07) inset;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.student-app-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  width: min(calc(100% - 48px), 1180px);
  max-width: 1180px;
  min-height: 96px;
  margin-right: auto;
  margin-left: auto;
}

.student-app-brand {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  /* flex-shrink:0 (not min-width:0): the brand/logo must never be
     squeezed by the sibling .student-app-navigation running out of
     room - any width deficit is absorbed by the navigation (which
     shrinks + scrolls horizontally) instead, so the wordmark can
     never collapse/wrap character-by-character. */
  flex-shrink: 0;
  color: var(--go-white);
  text-decoration: none;
}

.student-app-brand-icon {
  display: grid;
  place-items: center;
  flex: 0 0 62px;
  width: 62px;
  height: 62px;
  overflow: hidden;
  border: 1px solid rgba(201, 162, 77, 0.7);
  border-radius: 16px;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.01)
    );
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 8px 18px rgba(0, 0, 0, 0.3);
}

.student-app-brand-icon img {
  display: block;
  width: 88%;
  height: 88%;
  object-fit: contain;
}

.student-app-brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
}

.student-app-brand-name {
  color: var(--go-gold-light);
  font-size: 1.22em;
  font-weight: 700;
  letter-spacing: 0.025em;
  white-space: nowrap;
}

.student-app-brand-subtitle {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.72em;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.student-app-navigation {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  /* Matches compatibility-css/WORKING-LIVE-BASELINE.css's canonical
     nav-link gap (CAGED System / Building Blocks / Guided Play-Alongs /
     Practice Library) so Warm-Ups/Rhythm Studies/lesson pages (which
     only receive header/nav chrome via this shared file) render the
     same horizontal link spacing. Student Home ships its own explicit
     override in source-css/10-student-home.css and is unaffected. */
  gap: 4px;
  /* Absorbs any width deficit left over once the brand keeps its
     full natural size: shrinks below its own content width (min-
     width:0 overrides the flex default that would otherwise refuse
     to shrink past min-content) and scrolls horizontally rather than
     wrapping/overflowing the header row. Harmless at widths where
     the links already fit - overflow-x:auto only engages when the
     content is actually wider than the box. */
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.student-app-navigation::-webkit-scrollbar {
  display: none;
}

/* Matches WORKING-LIVE-BASELINE.css's laptop-tier nav gap, brand
   text size, and active-underline inset (851-1650px) so Warm-Ups/
   Rhythm Studies/lesson pages stay consistent with CAGED/Building
   Blocks/Guided/Practice Library at this width. The square brand
   icon size/position and nav-link font-size/padding are untouched
   (already unified via each page's own overrides). Student Home
   has its own equivalent override and is unaffected. */
@media screen and (min-width: 851px) and (max-width: 1650px) {

  .student-app-navigation {
    gap: 1px;
  }

  .student-app-brand-name {
    font-size: 1.1em;
  }

  .student-app-brand-subtitle {
    font-size: 0.64em;
  }
}

.student-app-shell .student-app-nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05em;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition:
    color 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease;
}

.student-app-nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-1px);
}

.student-app-nav-link.is-active {
  color: var(--go-gold-light);
}

.student-app-nav-link.is-active::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 6px;
  left: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--go-gold-light);
  box-shadow: 0 0 10px rgba(201, 162, 77, 0.38);
}

/* Matches WORKING-LIVE-BASELINE.css's laptop-tier active-underline
   inset (851-1650px) - placed after the base rule above (same
   specificity) so it wins by source order at this breakpoint only.
   Keeps Warm-Ups/Rhythm Studies/lesson pages' Curriculum underline
   width/position consistent with CAGED/Building Blocks/Guided/
   Practice Library. Student Home has its own equivalent override. */
@media screen and (min-width: 851px) and (max-width: 1650px) {

  .student-app-nav-link.is-active::after {
    right: 10px;
    bottom: 5px;
    left: 10px;
  }
}


/* =========================================================
   MEMBER PORTAL — HIDE NATIVE SQUARESPACE FOOTER (ALL MEMBER
   PAGES) + RESTRAINED REPLACEMENT FOOTER

   This block lives here (rather than in a single page's own CSS)
   because it is concatenated into GLOBAL-CUSTOM-CSS.css, which is
   pasted into Squarespace's site-wide Design > Custom CSS panel and
   therefore loads on every page, public and member alike. Every
   selector below is gated on `body.member-app-page` - a class added
   by compatibility-js/WORKING-LIVE-CODE-INJECTION.html's
   markMemberAppPage() whenever `.student-app-shell` is present
   (Student Home, Practice Loops, CAGED System, Building Blocks,
   Guided Play-Alongs, Warm-Ups, Rhythm Studies, Practice Library,
   Reference Guides, and every lesson-*.html page via
   .gom-lesson-shell). A plain body class (rather than a
   `body:has(.student-app-shell)` CSS selector) is used deliberately
   so this doesn't depend on :has() support and can be verified
   directly in devtools - never matches the public marketing pages
   (home-v2, lessons, online/in-person-guitar-lessons, schedule),
   which use the unrelated .go-public-home shell and already ship
   their own .go-public-footer.

   `#footer-sections` (confirmed against the live site's actual
   rendered DOM - Squarespace 7.1 fluid-engine footer wrapper,
   `<footer class="sections" id="footer-sections">`, a direct child of
   #siteWrapper) is the real, confirmed selector; the rest of the list
   is a safety net for other Squarespace footer markup variants and
   mirrors the pattern already established for the public pages (see
   source-css/110-home-v2.css etc.). */

body.member-app-page #footer-sections,
body.member-app-page .footer-sections,
body.member-app-page footer.Footer,
body.member-app-page #footer,
body.member-app-page .Footer,
body.member-app-page footer:not(.go-member-footer):not(:has(.go-member-footer)) {
  display: none !important;
}

/* Replacement footer markup is injected once, sitewide, by
   compatibility-js/WORKING-LIVE-CODE-INJECTION.html (appended as the
   last child of the page's .student-app-shell) so it never needs to
   be duplicated into every member page's own HTML source. Deliberately
   restrained: near-black background matching the app shell, a thin
   muted-gold top divider, and small, compact typography with gold used
   only as an accent (brand name + link hover), not as a dominant color. */

.go-member-footer {
  position: relative;
  margin-top: 32px;
  border-top: 1px solid var(--go-line, rgba(201, 162, 77, 0.36));
  background: var(--go-black, #08090b);
  color: var(--go-muted, rgba(255, 255, 255, 0.64));
}

.go-member-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(calc(100% - 48px), 1180px);
  margin: 0 auto;
  padding: 26px 0 18px;
}

.go-member-footer-brand {
  min-width: 0;
}

.go-member-footer-name {
  margin: 0;
  color: var(--go-gold-light, #e1b85a);
  font-size: 0.9375em;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.go-member-footer-tagline {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.6875em;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.go-member-footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
}

.go-member-footer-links a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.8125em;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.18s ease;
}

.go-member-footer-links a:hover {
  color: var(--go-gold-light, #e1b85a);
}

.go-member-footer-bottom {
  border-top: 1px solid var(--go-white-line, rgba(255, 255, 255, 0.08));
}

.go-member-footer-copyright {
  width: min(calc(100% - 48px), 1180px);
  margin: 0 auto;
  padding: 12px 0;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.6875em;
  text-align: center;
}

@media screen and (max-width: 640px) {

  .go-member-footer {
    margin-top: 22px;
  }

  .go-member-footer-inner {
    justify-content: center;
    gap: 12px;
    padding: 20px 0 14px;
    text-align: center;
  }

  .go-member-footer-links {
    justify-content: center;
    gap: 6px 16px;
  }
}

/* ----- source-css/80-lesson-template.css ----- */

/* =========================================================
   REUSABLE LESSON-PAGE TEMPLATE (shared, namespaced)
   Pilot: "Intro to # Circles" (Building Blocks / Number Circles)
   Every selector below is scoped either to the page-unique ID
   #gom-lesson-top (Squarespace cleanup) or to the .gom-lesson-*
   class namespace, so this file is safe to ship inside the
   site-wide GLOBAL-CUSTOM-CSS.css without leaking into any
   directory/hub page. Reused verbatim from future lesson pages
   that adopt the same #gom-lesson-top / .gom-lesson-* markup.
========================================================= */

/* =========================================================
   PAGE-ONLY SQUARESPACE CLEANUP
========================================================= */

body:has(#gom-lesson-top) .header-announcement-bar-wrapper,
body:has(#gom-lesson-top) #header,
body:has(#gom-lesson-top) .Header {
  display: none !important;
}

body:has(#gom-lesson-top) main#page
.page-section:not(:has(#gom-lesson-top)) {
  display: none !important;
}

body:has(#gom-lesson-top) main#page,
body:has(#gom-lesson-top) #page,
body:has(#gom-lesson-top) .page-section:has(#gom-lesson-top),
body:has(#gom-lesson-top)
.page-section:has(#gom-lesson-top) .content-wrapper,
body:has(#gom-lesson-top)
.page-section:has(#gom-lesson-top) .content,
body:has(#gom-lesson-top)
.page-section:has(#gom-lesson-top) .sqs-layout,
body:has(#gom-lesson-top)
.page-section:has(#gom-lesson-top) .sqs-row,
body:has(#gom-lesson-top)
.page-section:has(#gom-lesson-top) .sqs-block,
body:has(#gom-lesson-top)
.page-section:has(#gom-lesson-top) .sqs-block-content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body:has(#gom-lesson-top) .gom-lesson-shell {
  position: relative !important;
  left: 50% !important;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
}

body:has(#gom-lesson-top)
.sqs-block:has(#gom-lesson-top),
body:has(#gom-lesson-top)
.sqs-block-content:has(#gom-lesson-top),
body:has(#gom-lesson-top)
.sqs-layout:has(#gom-lesson-top),
body:has(#gom-lesson-top)
.page-section:has(#gom-lesson-top) {
  max-width: none !important;
  overflow: visible !important;
}

body:has(#gom-lesson-top) {
  background:
    radial-gradient(
      circle at 50% -8%,
      rgba(6, 28, 86, 0.26),
      transparent 34%
    ),
    #08090b !important;
}


/* =========================================================
   MAIN CONTAINER
========================================================= */

/* NOTE: Squarespace's Custom CSS compiler cannot reliably evaluate
   calc() expressions that mix % and px (it silently "strips" the
   px term, corrupting the result) — confirmed against the live
   compiled stylesheet. So the responsive gutter here is done with
   width:100% + padding, never calc(100% - Npx), which passes
   through Squarespace's compiler unmodified. */
.gom-lesson-main {
  width: 100%;
  max-width: var(--gom-content-width-laptop, 1180px);
  margin: 0 auto;
  padding: 36px 18px 84px;
}


/* =========================================================
   LESSON BANNER — back link + context + title (left) paired
   with icon + lesson count + progress dots (right), inside one
   unified panel. Reuses the exact blue-gradient/gold-edge
   language of the Building Blocks hero panel (radial highlight
   over a navy linear gradient, gold hairline border) so the
   banner stays visually distinct from the blue portal nav band
   above it, separated by the page's dark background.
========================================================= */

.gom-lesson-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 34px;
  padding: 34px 40px;
  overflow: hidden;
  border: 1px solid var(--go-line, rgba(201, 162, 77, 0.44));
  border-radius: 20px;
  background:
    radial-gradient(
      circle at 86% 40%,
      rgba(29, 68, 163, 0.42),
      transparent 36%
    ),
    linear-gradient(
      145deg,
      rgba(6, 28, 86, 0.99),
      rgba(4, 13, 39, 0.99)
    );
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.36),
    0 1px 0 rgba(255, 255, 255, 0.07) inset;
}

.gom-lesson-banner::before,
.gom-lesson-banner::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(201, 162, 77, 0.09);
  border-radius: 50%;
  pointer-events: none;
}

.gom-lesson-banner::before {
  right: 25px;
  top: -85px;
  width: 260px;
  height: 260px;
}

.gom-lesson-banner::after {
  right: 55px;
  top: -50px;
  width: 195px;
  height: 195px;
}

.gom-lesson-banner-left {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.gom-lesson-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 10px 20px;
  border: 1px solid var(--go-line, rgba(201, 162, 77, 0.42));
  border-radius: 999px;
  color: var(--go-gold-light, #e0b75d);
  font-size: var(--gom-text-label, 0.875em);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.gom-lesson-back-link:hover {
  background: rgba(201, 162, 77, 0.08);
  border-color: rgba(224, 183, 93, 0.6);
  transform: translateY(-1px);
}

.gom-lesson-banner-context {
  margin: 0 0 6px;
  color: var(--go-gold-light, #e0b75d);
  font-size: var(--gom-text-label, 0.875em);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gom-lesson-banner-title {
  margin: 0;
  color: var(--go-white, #ffffff);
  font-size: clamp(1.75em, 2.6vw, 2.5em);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.gom-lesson-banner-icon-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.gom-lesson-banner-right {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: clamp(20px, 3vw, 36px);
  margin-right: clamp(8px, 2.5vw, 28px);
}

.gom-lesson-banner-icon {
  flex: 0 0 auto;
  width: 250px;
  height: auto;
  object-fit: contain;
}

/* CAGED banner icon modifier: caged-system-dashboard.png is a much
   taller/narrower asset (1500x1862, ~0.81 aspect ratio) than the
   Building Blocks banner icon (1500x506, ~2.97 aspect ratio). Sized
   by width alone, it renders far taller than the approved Number
   Circle banners. This modifier constrains height instead (matching
   the Number Circle icon's rendered height at each breakpoint) with
   width:auto, preserving the artwork's own aspect ratio while keeping
   banner height consistent across modules. Reusable on all five
   CAGED shape lesson pages (C/A/G/E/D). */
.gom-lesson-banner-icon--caged {
  width: auto;
  height: 84.33px;
}

/* Rhythm Studies banner icon modifier: rhythm-studies-dashboard.png is a
   wider/shorter asset (2049x1131, ~1.81 aspect ratio) than the Building
   Blocks banner icon (1500x506, ~2.97 aspect ratio). Sized by width alone,
   it renders taller than the approved Number Circle banners. This modifier
   constrains height instead (matching the Number Circle icon's rendered
   height at each breakpoint) with width:auto, preserving the artwork's own
   aspect ratio while keeping banner height consistent across modules.
   Reusable on all Rhythm Studies / Capo lesson pages. */
.gom-lesson-banner-icon--rhythm-studies {
  width: auto;
  height: 84.33px;
}

/* Warm-Ups banner icon modifier: warm-ups-dashboard.png is a square
   (1000x1000, 1:1 aspect ratio) circular badge asset, unlike the
   Building Blocks banner icon (1500x506, ~2.97 aspect ratio). Sized
   by width alone (the unmodified .gom-lesson-banner-icon rule), it
   renders far larger/taller than the approved lesson banners. This
   modifier constrains height instead (matching the same rendered
   height used by --caged/--rhythm-studies at each breakpoint) with
   width:auto, keeping banner height and icon visual footprint
   consistent across modules. Reusable on all Warm-Ups lesson pages. */
.gom-lesson-banner-icon--warm-ups {
  width: auto;
  height: 84.33px;
}

.gom-lesson-banner-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.gom-lesson-banner-count {
  display: inline-flex;
  padding: 12px 28px;
  border: 1px solid var(--go-line, rgba(201, 162, 77, 0.42));
  border-radius: 999px;
  color: var(--go-gold-light, #e0b75d);
  font-size: clamp(0.9em, 1vw, 1.0625em);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.gom-lesson-banner-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.gom-lesson-banner-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.gom-lesson-banner-dot.is-active {
  background: var(--go-gold, #c9a24d);
}


/* =========================================================
   LESSON WORKSPACE — unified panel, 3 columns
   (Overview ~23% / Video ~54% / Takeaways ~23%). fr units are
   used instead of raw percentages so the gap is never subtracted
   via calc() — compiler-safe.
========================================================= */

.gom-lesson-workspace {
  display: grid;
  grid-template-columns: 23fr 54fr 23fr;
  gap: 40px;
  margin-bottom: 34px;
  padding: 40px;
  border: 1px solid var(--go-line, rgba(201, 162, 77, 0.42));
  border-radius: 22px;
  background: var(--go-panel, #111214);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.32),
    0 1px 0 rgba(255, 255, 255, 0.05) inset;
}

.gom-lesson-workspace-col {
  min-width: 0;
}

.gom-lesson-workspace-video {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gom-lesson-overview-heading {
  margin: 0 0 16px;
  color: var(--go-gold-light, #e0b75d);
  font-size: var(--gom-text-section, clamp(1.5em, 1.6vw, 1.625em));
  font-weight: 700;
}

.gom-lesson-overview-copy {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.86);
  font-size: var(--gom-text-body, 1.125em);
  line-height: 1.65;
}

.gom-lesson-also-covered-label {
  display: inline-block;
  margin: 0 0 12px;
  color: var(--go-white, #ffffff);
  font-size: var(--gom-text-card-title, 1.125em);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.gom-lesson-also-covered {
  margin: 0 0 24px;
  padding-left: 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--gom-text-meta, 0.9375em);
  line-height: 1.75;
}

.gom-lesson-takeaways-heading {
  margin: 0 0 18px;
  color: var(--go-gold-light, #e0b75d);
  font-size: var(--gom-text-section, clamp(1.5em, 1.6vw, 1.625em));
  font-weight: 700;
}

.gom-lesson-takeaways {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gom-lesson-takeaways li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--gom-text-meta, 0.9375em);
  line-height: 1.5;
}

.gom-lesson-takeaways-check {
  display: grid;
  flex: 0 0 22px;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--go-gold, #c9a24d);
  color: #111111;
  /* Explicit px, not em: nested inside .gom-lesson-takeaways li, which
     itself sets font-size: var(--gom-text-meta, 0.9375em), so an em
     value here would compound against that parent. */
  font-size: 11.52px;
  font-weight: 700;
}


/* =========================================================
   VIDEO — real responsive Vimeo embed, native controls
   (lives inside .gom-lesson-workspace-video, sized by the
   workspace grid column — no standalone max-width wrapper needed)
========================================================= */

.gom-lesson-video-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--go-line, rgba(201, 162, 77, 0.42));
  border-radius: 22px;
  background: #000000;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.42);
}

.gom-lesson-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


/* =========================================================
   PREV / HOME / NEXT NAVIGATION
========================================================= */

.gom-lesson-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 40px;
}

.gom-lesson-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 14px;
  font-size: var(--gom-text-card-title, 1.125em);
  font-weight: 700;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease, filter 0.18s ease;
}

.gom-lesson-nav-prev,
.gom-lesson-nav-home {
  border: 1px solid var(--go-line, rgba(201, 162, 77, 0.42));
  background: transparent;
  color: var(--go-gold-light, #e0b75d);
}

.gom-lesson-nav-prev:hover,
.gom-lesson-nav-home:hover {
  background: rgba(201, 162, 77, 0.08);
  transform: translateY(-1px);
}

.gom-lesson-nav-next {
  border: 1px solid var(--go-gold, #c9a24d);
  background: var(--go-gold, #c9a24d);
  color: #111111;
}

.gom-lesson-nav-next:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.gom-lesson-nav-next-label {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.3;
}

.gom-lesson-nav-next-label small {
  font-size: var(--gom-text-label, 0.875em);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.72;
}


/* =========================================================
   COMPACT PROGRESS STRIP + "IN THIS SECTION" LIST
   Selectors below (.gom-lesson-progress[data-lesson-scope],
   .gom-lesson-list-item[data-lesson-id], .gom-lesson-progress-fill,
   .gom-lesson-progress-summary) are read directly by
   compatibility-js/WORKING-LIVE-CODE-INJECTION.html’s
   renderLessonProgressWidgets() — class names must stay exact even
   though the visual treatment here is a compact strip, not the
   old two-column panel.
========================================================= */

.gom-lesson-progress {
  margin-bottom: 30px;
  padding: 24px 28px;
  border: 1px solid var(--go-line, rgba(201, 162, 77, 0.42));
  border-radius: 18px;
  background: var(--go-panel, #111214);
}

.gom-lesson-progress-summary-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.gom-lesson-progress-eyebrow,
.gom-lesson-list-eyebrow {
  margin: 0 0 12px;
  color: var(--go-gold-light, #e0b75d);
  font-size: var(--gom-text-label, 0.875em);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gom-lesson-progress-summary-row .gom-lesson-progress-eyebrow {
  margin-bottom: 0;
}

.gom-lesson-progress-track {
  position: relative;
  height: 8px;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.gom-lesson-progress-fill {
  position: absolute;
  inset: 0;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--go-gold, #c9a24d), var(--go-gold-light, #e0b75d));
  transition: width 0.35s ease;
}

.gom-lesson-progress-summary {
  margin: 0;
  color: var(--go-muted, rgba(255, 255, 255, 0.64));
  font-size: var(--gom-text-meta, 0.9375em);
  white-space: nowrap;
}

.gom-lesson-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gom-lesson-list-item a,
.gom-lesson-list-item-current {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--go-line, rgba(201, 162, 77, 0.24));
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.86);
  font-size: var(--gom-text-meta, 0.9375em);
  font-weight: 600;
  text-decoration: none;
  transition: background 0.16s ease, border-color 0.16s ease;
}

.gom-lesson-list-item-current {
  border-color: var(--go-gold, #c9a24d);
  background: rgba(201, 162, 77, 0.08);
}

.gom-lesson-list-item a:hover {
  background: rgba(255, 255, 255, 0.05);
}

.gom-lesson-list-index {
  display: grid;
  flex: 0 0 18px;
  place-items: center;
  color: var(--go-muted, rgba(255, 255, 255, 0.64));
  font-size: var(--gom-text-meta, 0.9375em);
  font-weight: 700;
}

.gom-lesson-list-title {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gom-lesson-list-status {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border: 1px solid var(--go-line, rgba(201, 162, 77, 0.42));
  border-radius: 50%;
}

.gom-lesson-list-item.is-complete .gom-lesson-list-status {
  position: relative;
  border-color: var(--go-gold, #c9a24d);
  background: var(--go-gold, #c9a24d);
}

.gom-lesson-list-item.is-complete .gom-lesson-list-status::after {
  content: "\2713";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #111111;
  font-size: 0.6em;
  font-weight: 800;
}


/* =========================================================
   SUPPORT FOOTER
========================================================= */

.gom-lesson-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 32px;
  border: 1px solid var(--go-line, rgba(201, 162, 77, 0.42));
  border-radius: 18px;
  background: var(--go-panel-light, #17181b);
}

.gom-lesson-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--gom-text-meta, 0.9375em);
}

.gom-lesson-support-btn {
  display: inline-flex;
  align-items: center;
  padding: 13px 24px;
  border: 1px solid var(--go-line, rgba(201, 162, 77, 0.42));
  border-radius: 999px;
  color: var(--go-gold-light, #e0b75d);
  font-size: var(--gom-text-label, 0.875em);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.18s ease;
}

.gom-lesson-support-btn:hover {
  background: rgba(201, 162, 77, 0.08);
}


/* =========================================================
   Desktop banner icon column (851px+): reverted to the original
   approved pilot layout. The base .gom-lesson-banner rule above
   is already `display:flex` with .gom-lesson-banner-icon-wrap set
   to `flex:1 1 auto; justify-content:center`, so at 851px+ (i.e.
   above the tablet max-width:850px grid-template-areas override
   below) the icon naturally centers within the *middle flex
   column* between the left info block and the right meta block -
   the center/right icon area from the original "Intro to # Circles"
   pilot - not at the mathematical center of the whole banner. No
   desktop-only override is needed here; this comment marks the
   spot where a since-reverted grid-based "true centering" fix
   (and its accompanying title-font-size cap) used to live.
========================================================= */


/* =========================================================
   RESPONSIVE — Large Desktop (>=1651px)
========================================================= */

@media screen and (min-width: 1651px) {
  .gom-lesson-main {
    max-width: var(--gom-content-width, 1500px);
    padding-top: 52px;
  }

  .gom-lesson-banner-title {
    font-size: clamp(2.25em, 2.2vw, 2.875em);
  }

  .gom-lesson-workspace {
    padding: 48px;
    gap: 48px;
  }

  .gom-lesson-banner-icon {
    width: 260px;
  }

  .gom-lesson-banner-icon--caged {
    width: auto;
    height: 87.71px;
  }

  .gom-lesson-banner-icon--rhythm-studies {
    width: auto;
    height: 87.71px;
  }

  .gom-lesson-banner-icon--warm-ups {
    width: auto;
    height: 87.71px;
  }
}


/* =========================================================
   RESPONSIVE — Tablet (641px - 850px)
========================================================= */

@media screen and (max-width: 850px) {
  .gom-lesson-workspace {
    grid-template-columns: minmax(0, 1fr);
    padding: 26px 24px;
  }

  .gom-lesson-banner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "title title"
      "meta icon";
    align-items: stretch;
    gap: 22px 18px;
    padding: 28px 26px;
  }

  .gom-lesson-banner-left {
    grid-area: title;
  }

  .gom-lesson-banner-icon-wrap {
    grid-area: icon;
    align-items: flex-start;
    justify-content: center;
  }

  .gom-lesson-banner-right {
    grid-area: meta;
    width: auto;
    gap: 18px;
    margin-right: 0;
    align-items: flex-end;
    justify-content: flex-start;
  }

  .gom-lesson-banner-title {
    font-size: clamp(1.5em, 4.4vw, 1.875em);
  }

  .gom-lesson-banner-icon {
    width: 172px;
    height: auto;
  }

  .gom-lesson-banner-icon--caged {
    width: auto;
    height: 58.02px;
  }

  .gom-lesson-banner-icon--rhythm-studies {
    width: auto;
    height: 58.02px;
  }

  .gom-lesson-banner-icon--warm-ups {
    width: auto;
    height: 58.02px;
  }

  .gom-lesson-banner-count {
    padding: 10px 22px;
    font-size: 0.8em;
  }

  .gom-lesson-banner-dots {
    gap: 10px;
  }

  .gom-lesson-banner-dot {
    width: 10px;
    height: 10px;
  }
}


/* =========================================================
   RESPONSIVE — Compact shared header (<=1024px)

   Same canonical wrap-based compact header used by Student Home,
   Building Blocks, and Practice Library (via compatibility-css/
   WORKING-LIVE-BASELINE.css) — replicated here, scoped to
   #gom-lesson-top, since that stylesheet is never bundled
   alongside this page's global-only styling.

   Widened from the original 850px cutoff to 1024px: at 851-1024px
   (portrait iPad Pro 12.9", 1024px wide) the shared header has no
   Laptop/Medium scaled-down tier of its own (00-shared-foundation.css
   ships no responsive rules for .student-app-*), so the raw desktop
   header switched on right after 850px — too early for the brand
   and full 5-link nav to share the row comfortably. This block
   keeps the same compact two-row / scrollable-nav treatment already
   approved for phone and small-tablet widths running through the
   full portrait-tablet range, fixing the regression at the shared
   breakpoint responsible for it rather than patching the symptom.
========================================================= */

@media screen and (max-width: 1024px) {
  .gom-lesson-shell#gom-lesson-top .student-app-header-inner {
    width: calc(100% - 28px);
    max-width: 760px;
    flex-wrap: wrap;
    min-height: 0;
    gap: 8px;
    padding-top: 11px;
    padding-bottom: 9px;
  }

  .gom-lesson-shell#gom-lesson-top .student-app-brand-icon {
    flex-basis: 52px;
    width: 52px;
    height: 52px;
  }

  .gom-lesson-shell#gom-lesson-top .student-app-brand-name {
    font-size: 1em;
  }

  .gom-lesson-shell#gom-lesson-top .student-app-brand-subtitle {
    font-size: 0.61em;
  }

  .gom-lesson-shell#gom-lesson-top .student-app-navigation {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .gom-lesson-shell#gom-lesson-top .student-app-navigation::-webkit-scrollbar {
    display: none;
  }

  .gom-lesson-shell#gom-lesson-top .student-app-nav-link {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 0 10px;
    font-size: 0.73em;
  }
}


/* =========================================================
   RESPONSIVE — Desktop / Tablet lesson-tile dot alignment
   (min-width: 641px)

   Converts the "In This Section" tile row from the flex layout
   above to a fixed 3-column grid (index / title / status) so the
   gold status dot always lands the same distance from the tile's
   right edge no matter how long the lesson title is. The title
   wraps instead of being ellipsis-truncated so long titles never
   push or overlap the dot. Scoped to 641px+ only - the approved
   iPhone tile layout (flex row + single-line ellipsis, set in the
   base rules above and the <=640px block below) is untouched.
========================================================= */

@media screen and (min-width: 641px) {
  .gom-lesson-list-item a,
  .gom-lesson-list-item-current {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    height: 100%;
  }

  .gom-lesson-list-index {
    min-width: 20px;
  }

  .gom-lesson-list-title {
    white-space: normal;
    overflow-wrap: break-word;
  }
}


/* =========================================================
   RESPONSIVE — Mobile (<=640px)
========================================================= */

@media screen and (max-width: 640px) {
  .gom-lesson-main {
    padding: 20px 8px 56px;
  }

  .gom-lesson-banner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "title title"
      "meta icon";
    align-items: stretch;
    gap: 18px 14px;
    padding: 22px 20px;
    border-radius: 18px;
  }

  .gom-lesson-back-link {
    margin-bottom: 14px;
    padding: 9px 16px;
  }

  .gom-lesson-banner-title {
    font-size: clamp(1.4em, 7vw, 1.75em);
  }

  .gom-lesson-banner-left {
    grid-area: title;
  }

  .gom-lesson-banner-icon-wrap {
    grid-area: icon;
    align-items: flex-start;
    justify-content: center;
  }

  .gom-lesson-banner-right {
    grid-area: meta;
    width: auto;
    gap: 14px;
    margin-right: 0;
    align-items: flex-end;
    justify-content: flex-start;
  }

  .gom-lesson-banner-icon {
    width: 150px;
    height: auto;
  }

  .gom-lesson-banner-icon--caged {
    width: auto;
    height: 50.6px;
  }

  .gom-lesson-banner-icon--rhythm-studies {
    width: auto;
    height: 50.6px;
  }

  .gom-lesson-banner-icon--warm-ups {
    width: auto;
    height: 50.6px;
  }

  .gom-lesson-banner-meta {
    gap: 8px;
  }

  .gom-lesson-banner-count {
    padding: 7px 16px;
    font-size: 0.68em;
  }

  .gom-lesson-banner-dots {
    gap: 8px;
  }

  .gom-lesson-banner-dot {
    width: 8px;
    height: 8px;
  }

  .gom-lesson-workspace,
  .gom-lesson-progress {
    padding: 20px 18px;
    border-radius: 16px;
  }

  .gom-lesson-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .gom-lesson-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .gom-lesson-nav-btn {
    justify-content: center;
    padding: 14px 18px;
  }

  .gom-lesson-nav-next-label {
    align-items: center;
  }

  .gom-lesson-footer {
    flex-direction: column;
    text-align: center;
  }

  /* Shared site header/nav (same canonical wrap-based mobile header
     used by Student Home, Building Blocks, and Practice Library, via
     compatibility-css/WORKING-LIVE-BASELINE.css) — replicated here,
     scoped to #gom-lesson-top, since that stylesheet is never bundled
     alongside this page's global-only styling. Brand row on top, full-
     width horizontally-scrollable nav row below, matching the
     completed portal pages exactly. */
  .gom-lesson-shell#gom-lesson-top .student-app-header-inner {
    width: calc(100% - 24px);
    max-width: none;
    flex-wrap: wrap;
    min-height: 0;
    gap: 10px;
    padding-top: 12px;
    padding-bottom: 10px;
  }

  .gom-lesson-shell#gom-lesson-top .student-app-brand {
    gap: 13px;
  }

  .gom-lesson-shell#gom-lesson-top .student-app-brand-icon {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    border-radius: 15px;
  }

  .gom-lesson-shell#gom-lesson-top .student-app-brand-icon img {
    width: 92%;
    height: 92%;
  }

  .gom-lesson-shell#gom-lesson-top .student-app-brand-name {
    font-size: 1.22em;
    font-weight: 750;
    line-height: 1;
  }

  .gom-lesson-shell#gom-lesson-top .student-app-brand-subtitle {
    margin-top: 5px;
    font-size: 0.72em;
    letter-spacing: 0.15em;
  }

  .gom-lesson-shell#gom-lesson-top .student-app-navigation {
    width: 100%;
    justify-content: flex-start;
    gap: 3px;
    overflow-x: auto;
    padding-bottom: 1px;
    scrollbar-width: none;
  }

  .gom-lesson-shell#gom-lesson-top .student-app-navigation::-webkit-scrollbar {
    display: none;
  }

  .gom-lesson-shell#gom-lesson-top .student-app-nav-link {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 0 10px;
    font-size: 0.7em;
  }
}

/* ----- source-css/05-sh-sidebar-shell.css ----- */

/* =========================================================
   SHARED .sh-shell / .sh-sidebar / .sh-mobile-bar NAVIGATION SHELL
   =========================================================

   Extracted (verbatim copy, not moved) from source-css/10-student-
   home.css's "PHASE 3B -- SCREEN #1" block so the Curriculum-
   descendant module-directory pages and lesson-template pages (built
   on the older .student-app-shell architecture) can adopt the exact
   same approved left-sidebar / mobile-drawer navigation shell without
   editing 10-student-home.css itself - that file stays untouched so
   Student Home, Curriculum, Practice Library, Video History, Account,
   My Lessons, and Instructor Preview Student (all of which already
   reuse it directly) are never put at risk by this change.

   Only the SHELL rules live here (.sh-shell, .sh-main base, .sh-
   sidebar*, .sh-mobile-bar*, .sh-sidebar-scrim) - NOT the Student-
   Home-specific dashboard/hero/assignment content rules (.sh-hero,
   .sh-panel, .sh-assignment-*, .sh-welcome-band, etc.), which remain
   defined only in 10-student-home.css.

   Consumers (2026-09 Curriculum-descendant sidebar migration):
   - The 9 legacy module-directory pages (building-blocks, caged-
     system, guided-play-alongs, play-along-resources, practice-
     loops, reference-guides, rhythm-studies, submit-video, warm-ups)
     include this file directly in their own page-specific CSS
     sources.
   - The 18 shared lesson-template pages (lesson-*.html) receive it
     via GLOBAL-CUSTOM-CSS.css (see build_global_css() in both build
     scripts), alongside 00-shared-foundation.css and 80-lesson-
     template.css, since those pages ship no page-specific CSS of
     their own.
========================================================= */

.sh-shell {
  display: flex;
  align-items: stretch;
}

.sh-main {
  flex: 1 1 auto;
  min-width: 0;
}

/* --- Sidebar (desktop) --- */

/* Approved authenticated portal blue (2026-09-08, restored after the
   earlier gradient desaturation was rejected in visual review) - solid
   flat navy, no gradient. */
.sh-sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex: 0 0 260px;
  flex-direction: column;
  padding: 28px 20px;
  border-right: 1px solid var(--go-white-line, rgba(255, 255, 255, 0.08));
  border-bottom-right-radius: 16px;
  background-color: var(--go-blue-panel, #071847);
  background-image: none;
}

.sh-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 34px;
  text-decoration: none;
}

.sh-sidebar-brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.sh-sidebar-brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.sh-sidebar-brand-name {
  color: #ffffff;
  font-size: 0.92em;
  font-weight: 700;
}

.sh-sidebar-brand-subtitle {
  color: var(--go-gold, #c9a24d);
  font-size: 0.68em;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sh-sidebar-nav {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 4px;
}

.sh-sidebar-link,
.sh-sidebar-logout {
  gap: 6px 16px;
}

.sh-sidebar-link {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 11px 14px;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86em;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

/* Musical Geometry SVG icon family (approved 2026-09, propagated from
   the lesson-d-shape.html pilot to every sidebar instance) - sized/
   colored here once so it is never duplicated per page. */
.sh-sidebar-link-icon {
  display: inline-flex;
  flex: 0 0 34px;
  align-items: center;
  justify-content: center;
  min-height: 32px;
}

.sh-sidebar-link-icon svg {
  flex: 0 0 auto;
  stroke: currentColor;
}

.sh-sidebar-link:not(.sh-sidebar-link--soon) .sh-sidebar-link-icon,
.sh-sidebar-logout .sh-sidebar-link-icon {
  color: var(--go-gold-light, #e0b75d);
}

.sh-sidebar-link.is-active {
  background: rgba(201, 162, 77, 0.16);
  color: var(--go-gold-light, #e0b75d);
}

.sh-sidebar-link:not(.sh-sidebar-link--soon):hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.sh-sidebar-link--soon {
  cursor: default;
  color: rgba(255, 255, 255, 0.32);
}

.sh-sidebar-link--soon small {
  flex: 1 0 100%;
  margin-left: 32px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.72em;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  width: fit-content;
}

.sh-sidebar-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--go-white-line, rgba(255, 255, 255, 0.08));
}

.sh-sidebar-student-name {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.78em;
  font-weight: 600;
}

/* Log Out is a real enabled action everywhere (2026-09 propagation) -
   the previous muted/disabled "Coming Soon" treatment is retired. */
.sh-sidebar-logout {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border: 1px solid var(--go-white-line, rgba(255, 255, 255, 0.08));
  border-radius: 10px;
  background: transparent;
  color: #ffffff;
  font-size: 0.8em;
  font-weight: 700;
  cursor: pointer;
}

.sh-sidebar-logout:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.sh-sidebar-logout small {
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.72em;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* --- Mobile top bar + drawer scrim --- */

/* Matches the restored solid sidebar blue above. */
.sh-mobile-bar {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background-color: var(--go-blue-panel, #071847);
  background-image: none;
  border-bottom: 1px solid var(--go-white-line, rgba(255, 255, 255, 0.08));
}

.sh-mobile-bar-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.sh-mobile-bar-brand-icon {
  display: grid;
  flex: 0 0 42px;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(201, 162, 77, 0.55);
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.01));
}

.sh-mobile-bar-brand-icon img {
  display: block;
  width: 78%;
  height: 78%;
  object-fit: contain;
}

.sh-mobile-bar-brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.sh-mobile-bar-brand-name {
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.sh-mobile-bar-brand-subtitle {
  margin-top: 2px;
  color: var(--go-gold, #c9a24d);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.sh-mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 32px;
  padding: 6px;
  border: 1px solid var(--go-white-line, rgba(255, 255, 255, 0.1));
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  /* Without this, Safari renders its native system button chrome
     (a grayish beveled control) on top of/instead of the transparent
     background + gold bars below - most visible on iPad, where the
     native control reads as a dimmed/disabled-looking button even
     though the element is fully enabled and the gold bars still
     render underneath. */
  appearance: none;
  -webkit-appearance: none;
  /* The three bars are empty <span>s with no width of their own, so they
     were relying entirely on the flex default align-items:stretch to get
     any width at all. WebKit ships its own align-items value for <button>
     in the UA stylesheet, so on Safari the spans collapsed to zero width
     and the control rendered as an empty, dimmed-looking outline - the
     symptom reported on iPad (2026-09-20). Stating align-items here, and
     a width on the spans below, makes the bars independent of whatever a
     UA stylesheet supplies. Mirrors .go-public-nav-toggle on the public
     pages, which has always set an explicit bar width and never broke. */
  align-items: stretch;
  box-sizing: border-box;
}

.sh-mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--go-gold, #c9a24d);
  border-radius: 2px;
}

.sh-sidebar-scrim {
  position: fixed;
  z-index: 55;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

/* --- Responsive: sidebar collapses to mobile top bar + drawer --- */

@media screen and (max-width: 1080px) {
  /* .sh-sidebar/.sh-sidebar-scrim are position:fixed below (out of
     normal flow), leaving .sh-mobile-bar + .sh-main as .sh-shell's only
     remaining flex-row children - without this, the mobile bar sat
     beside .sh-main instead of above it, stealing ~110px of its width. */
  .sh-shell {
    flex-direction: column;
    align-items: stretch;
  }

  .sh-sidebar {
    position: fixed;
    z-index: 60;
    top: 0;
    left: 0;
    width: 260px;
    height: 100vh;
    border-bottom-right-radius: 0;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
  }

  .sh-sidebar.is-open {
    transform: translateX(0);
  }

  .sh-mobile-bar {
    display: flex;
    width: 100%;
  }
}

/* ----- source-css/06-glass-rail.css ----- */

/* =========================================================
   GLASS RAIL — the one Student Dashboard sidebar (G2, 2026-09-29)
   =========================================================
   Floating navy glass rail + mobile bar + drawer for pages that
   opted into the Glass System (.student-app-shell.gs-glass).
   The MARKUP is drawn once, site-wide, by the "GLASS RAIL" script
   in compatibility-js/WORKING-LIVE-CODE-INJECTION.html (Footer Code
   Injection). This file ships in GLOBAL-CUSTOM-CSS.css (registered
   in build_global_css) so it's in the page <head> and the rail
   column is sized before first paint.
   Design: Claude Design canvas "Curriculum Redesign — Glass System",
   board "Sidebar". Vault: 02 Work/Website Styling Platform.md § 10.

   Every rule is scoped under .gs-glass: public pages and pages that
   keep today's .sh-sidebar copy are untouched. Specificity is
   .gs-glass + 2 classes so it beats the page bundles' .sh-sidebar /
   .sh-mobile-bar rules (10-student-home.css), which load later.

   Squarespace's Custom CSS compiler is LESS: it mangles calc() that
   mixes units (see .gom-lesson-main note) and rejects saturate() inside
   backdrop-filter (reads it as its colour function) - neither used here.
========================================================= */

/* ---------- Desktop rail (floating) ---------- */

.gs-glass .sh-sidebar.gs-rail {
  position: sticky;
  z-index: 20;
  top: 0;
  align-self: flex-start;
  flex: 0 0 272px;
  width: 272px;
  height: 100vh;
  height: 100dvh;
  box-sizing: border-box;
  padding: 16px;
  border: 0;
  border-radius: 0;
  background: none;
  font-family: var(--gs-font, "Manrope", system-ui, sans-serif);
  color: #f4f2ec;
}

.gs-glass .gs-rail .gs-rail-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
  padding: 24px 14px 14px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 30px;
  background:
    radial-gradient(110% 40% at 0% 0%, rgba(80, 110, 230, 0.26), rgba(80, 110, 230, 0) 60%),
    linear-gradient(180deg, rgba(16, 27, 96, 0.9) 0%, rgba(10, 17, 70, 0.92) 100%);
  box-shadow:
    inset 0 1px 18px rgba(255, 255, 255, 0.07),
    0 0 40px -12px rgba(110, 140, 255, 0.3),
    0 30px 60px -24px rgba(0, 0, 0, 0.85);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
}

.gs-glass .gs-rail .gs-rail-panel::-webkit-scrollbar {
  display: none;
}

/* Brand */
.gs-glass .gs-rail .gs-rail-brand,
.gs-glass .gs-rail-bar .gs-rail-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #f4f2ec;
  text-decoration: none;
}

.gs-glass .gs-rail .gs-rail-brand {
  padding: 0 8px 26px;
}

.gs-glass .gs-rail-mark {
  display: grid;
  flex: 0 0 42px;
  place-items: center;
  width: 42px;
  height: 42px;
  box-sizing: border-box;
  border: 1.5px solid #d9b45e;
  border-radius: 50%;
  box-shadow: 0 0 18px -6px rgba(217, 180, 94, 0.8);
}

.gs-glass .gs-rail-mark.is-text::before {
  content: "GO";
  color: #e9c878;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.gs-glass .gs-rail-mark img {
  display: block;
  width: 64%;
  height: 64%;
  object-fit: contain;
}

.gs-glass .gs-rail-brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.15;
}

.gs-glass .gs-rail-brand-name {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.gs-glass .gs-rail-brand-sub {
  color: #d9b45e;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Section labels (a <div>, so no global/mobile <p> rules reach it) */
.gs-glass .gs-rail .gs-rail-label {
  margin: 0;
  line-height: 1.2;
  padding: 0 14px 8px;
  color: #8f98cf;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.gs-glass .gs-rail .gs-rail-label--practice {
  padding-top: 22px;
}

.gs-glass .gs-rail .gs-rail-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Main rows */
.gs-glass .gs-rail .gs-rail-link {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  height: 46px;
  box-sizing: border-box;
  margin: 0;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: none;
  color: #b7bde0;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: color 0.18s ease, background-color 0.18s ease;
}

.gs-glass .gs-rail .gs-rail-link svg {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
}

.gs-glass .gs-rail .gs-rail-link:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.05);
}

.gs-glass .gs-rail .gs-rail-link.is-active,
.gs-glass .gs-rail .gs-rail-acct.is-active {
  color: #ffffff;
  font-weight: 700;
  border-color: rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  box-shadow:
    inset 0 1px 14px rgba(255, 255, 255, 0.08),
    0 0 22px -8px rgba(160, 180, 255, 0.35);
}

.gs-glass .gs-rail .gs-rail-chev {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  margin-left: auto;
  opacity: 0.6;
  transition: transform 0.2s ease;
}

.gs-glass .gs-rail [aria-expanded="true"] .gs-rail-chev {
  transform: rotate(90deg);
}

/* Sub rows with family dots */
.gs-glass .gs-rail .gs-rail-sub {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 4px 0 6px 30px;
}

.gs-glass .gs-rail .gs-rail-sub[hidden] {
  display: none;
}

.gs-glass .gs-rail .gs-rail-sublink {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 36px;
  padding: 0 12px;
  border-radius: 12px;
  color: #9ea5ce;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease;
}

.gs-glass .gs-rail .gs-rail-sublink:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.04);
}

.gs-glass .gs-rail .gs-rail-sublink.is-active {
  color: #ffffff;
  font-weight: 700;
}

.gs-glass .gs-rail .gs-rail-dot {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  opacity: 0.45;
  transition: opacity 0.25s ease, box-shadow 0.25s ease;
}

.gs-glass .gs-rail .gs-rail-dot--blocks { background: #e2b65c; }
.gs-glass .gs-rail .gs-rail-dot--caged { background: #8db2ff; }
.gs-glass .gs-rail .gs-rail-dot--warm { background: #d98e5c; }
.gs-glass .gs-rail .gs-rail-dot--rhythm { background: #efe8d8; }

.gs-glass .gs-rail .is-active .gs-rail-dot,
.gs-glass .gs-rail .gs-rail-sublink:hover .gs-rail-dot {
  opacity: 1;
}

.gs-glass .gs-rail .is-active .gs-rail-dot--blocks {
  box-shadow: 0 0 0 3px rgba(226, 182, 92, 0.14), 0 0 12px #e2b65c, 0 0 22px rgba(226, 182, 92, 0.6);
}
.gs-glass .gs-rail .is-active .gs-rail-dot--caged {
  box-shadow: 0 0 0 3px rgba(141, 178, 255, 0.14), 0 0 12px #8db2ff, 0 0 22px rgba(141, 178, 255, 0.6);
}
.gs-glass .gs-rail .is-active .gs-rail-dot--warm {
  box-shadow: 0 0 0 3px rgba(217, 142, 92, 0.14), 0 0 12px #d98e5c, 0 0 22px rgba(217, 142, 92, 0.6);
}
.gs-glass .gs-rail .is-active .gs-rail-dot--rhythm {
  box-shadow: 0 0 0 3px rgba(239, 232, 216, 0.14), 0 0 12px #efe8d8, 0 0 22px rgba(239, 232, 216, 0.6);
}

.gs-glass .gs-rail .gs-rail-spacer {
  flex: 1 1 auto;
  min-height: 24px;
}

/* This week card */
.gs-glass .gs-rail .gs-rail-week {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 1px 14px rgba(255, 255, 255, 0.06);
  color: #dde0f0;
  text-decoration: none;
  transition: border-color 0.18s ease;
}

.gs-glass .gs-rail .gs-rail-week[hidden] {
  display: none;
}

.gs-glass .gs-rail .gs-rail-week:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.gs-glass .gs-rail .gs-rail-ring {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
}

.gs-glass .gs-rail .gs-rail-ring-fill {
  transition: stroke-dasharray 0.6s ease;
}

.gs-glass .gs-rail .gs-rail-week-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.gs-glass .gs-rail .gs-rail-week-eyebrow {
  color: #d9b45e;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gs-glass .gs-rail .gs-rail-week-line {
  display: -webkit-box;
  overflow: hidden;
  color: #dde0f0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

/* Account row */
.gs-glass .gs-rail .gs-rail-acct {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 8px;
  border: 1px solid transparent;
  border-radius: 16px;
}

.gs-glass .gs-rail .gs-rail-acct-link {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: #f4f2ec;
  text-decoration: none;
}

.gs-glass .gs-rail .gs-rail-avatar {
  display: grid;
  flex: 0 0 36px;
  place-items: center;
  width: 36px;
  height: 36px;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: linear-gradient(160deg, #2a3690, #151d5c);
  color: #f4f2ec;
  font-size: 13px;
  font-weight: 800;
}

.gs-glass .gs-rail .gs-rail-avatar svg {
  width: 18px;
  height: 18px;
}

.gs-glass .gs-rail .gs-rail-acct-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.gs-glass .gs-rail .gs-rail-acct-name,
.gs-glass .gs-rail .gs-rail-acct-fallback {
  overflow: hidden;
  color: #f4f2ec;
  font-size: 14px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gs-glass .gs-rail .gs-rail-acct-name[hidden],
.gs-glass .gs-rail .gs-rail-acct-name:not([hidden]) ~ .gs-rail-acct-fallback {
  display: none;
}

.gs-glass .gs-rail .gs-rail-acct-sub {
  color: #8f98cf;
  font-size: 12px;
  font-weight: 600;
}

.gs-glass .gs-rail .gs-rail-logout {
  display: grid;
  flex: 0 0 34px;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: #8f98cf;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: color 0.18s ease, background-color 0.18s ease;
}

.gs-glass .gs-rail .gs-rail-logout:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.gs-glass .gs-rail .gs-rail-logout:disabled {
  opacity: 0.5;
  cursor: default;
}

.gs-glass .gs-rail .gs-rail-logout svg {
  width: 16px;
  height: 16px;
}

/* ---------- G173 · Thumbnail rows (Garrett 2026-10-20, Option C) ----------
   Every nav row = a 40 px colour thumbnail (white icon on its family's
   gradient) + a bright label + a one-line hint, so no row reads as locked.
   The selected row keeps the glass pill and its thumbnail glows gold.
   Shared by the student rail (Footer script) and the instructor rails
   (their own markup), which both build .gs-rail-thumb / .gs-rail-txt.
   Design: artifact "Sidebar — Alive Options", board C. */
.gs-glass .gs-rail .gs-rail-label {
  color: #aab2ec;
}

.gs-glass .gs-rail .gs-rail-group {
  gap: 6px;
}

.gs-glass .gs-rail .gs-rail-link {
  gap: 12px;
  height: auto;
  min-height: 60px;
  padding: 9px 10px;
  color: #f3f4fb;
}

.gs-glass .gs-rail .gs-rail-thumb {
  display: grid;
  flex: 0 0 40px;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(145deg, #97a3d4, #2c3770);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 8px 16px -8px rgba(0, 0, 0, 0.7);
  color: #ffffff;
}

.gs-glass .gs-rail .gs-rail-link .gs-rail-thumb svg {
  flex: none;
  width: 20px;
  height: 20px;
}

.gs-glass .gs-rail .gs-rail-thumb--gold { background: linear-gradient(145deg, #e0bd68, #7a5a1c); color: #fff8e6; }
.gs-glass .gs-rail .gs-rail-thumb--steel { background: linear-gradient(145deg, #97a3d4, #2c3770); }
.gs-glass .gs-rail .gs-rail-thumb--warm { background: linear-gradient(145deg, #e09867, #7a3d1f); }
.gs-glass .gs-rail .gs-rail-thumb--blue { background: linear-gradient(145deg, #6a90ee, #1d2f86); }

.gs-glass .gs-rail .gs-rail-link.is-active .gs-rail-thumb {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 0 22px -4px rgba(226, 182, 92, 0.65);
}

.gs-glass .gs-rail .gs-rail-txt {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.gs-glass .gs-rail .gs-rail-lbl {
  overflow: hidden;
  color: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gs-glass .gs-rail .gs-rail-hint {
  overflow: hidden;
  color: #a6aedb;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gs-glass .gs-rail .gs-rail-link.is-active .gs-rail-hint,
.gs-glass .gs-rail .gs-rail-link:hover .gs-rail-hint {
  color: #d6dbf5;
}

/* sub rows sit under the label, not the thumbnail; brighter so they read as open */
.gs-glass .gs-rail .gs-rail-sub {
  padding-left: 40px;
}

.gs-glass .gs-rail .gs-rail-sublink {
  color: #d4d8ef;
}

.gs-glass .gs-rail .gs-rail-dot {
  opacity: 0.8;
}

.gs-glass .gs-rail .gs-rail-chev {
  opacity: 0.85;
}

.gs-glass .gs-rail .gs-rail-acct-sub {
  color: #aab2ec;
}

/* Instructor viewing a student page (/labs, /curriculum): his way back on top */
.gs-glass .gs-rail .gs-rail-group--instr + .gs-rail-label {
  padding-top: 22px;
}

/* Short windows (a MacBook's browser): tighter rows so the whole rail,
   account row included, still fits without scrolling. Same look. */
@media screen and (max-height: 880px) {
  .gs-glass .gs-rail .gs-rail-brand {
    padding-bottom: 16px;
  }

  .gs-glass .gs-rail .gs-rail-spacer {
    min-height: 12px;
  }

  .gs-glass .gs-rail .gs-rail-group {
    gap: 2px;
  }

  .gs-glass .gs-rail .gs-rail-link {
    min-height: 48px;
    padding: 4px 10px;
  }

  .gs-glass .gs-rail .gs-rail-thumb {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
    border-radius: 11px;
  }

  .gs-glass .gs-rail .gs-rail-label--practice {
    padding-top: 16px;
  }

  .gs-glass.gs-instr .gs-irail .gs-irail-badge {
    margin-bottom: 14px;
  }
}

/* Focus */
.gs-glass .gs-rail a:focus-visible,
.gs-glass .gs-rail button:focus-visible,
.gs-glass .gs-rail-bar a:focus-visible,
.gs-glass .gs-rail-bar button:focus-visible {
  outline: 2px solid #e2b65c;
  outline-offset: 2px;
}

/* ---------- Mobile bar (hidden on desktop by the page's own
   .sh-mobile-bar { display: none }, shown <= 1080px) ---------- */

.gs-glass .sh-mobile-bar.gs-rail-bar {
  /* Scrolls away with the page (G51, Garrett 2026-10-01: no header follows the page anywhere).
     Was sticky at top: 10px. The drawer is position: fixed, so the menu button still opens it. */
  position: relative;
  z-index: 50;
  width: auto;
  box-sizing: border-box;
  margin: 10px 12px 0;
  padding: 10px 10px 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 22px;
  background:
    radial-gradient(80% 120% at 0% 0%, rgba(80, 110, 230, 0.22), rgba(80, 110, 230, 0) 60%),
    linear-gradient(180deg, rgba(16, 27, 96, 0.88), rgba(10, 17, 70, 0.9));
  box-shadow:
    inset 0 1px 14px rgba(255, 255, 255, 0.07),
    0 18px 40px -20px rgba(0, 0, 0, 0.85);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  font-family: var(--gs-font, "Manrope", system-ui, sans-serif);
}

.gs-glass .gs-rail-bar .gs-rail-mark {
  flex-basis: 36px;
  width: 36px;
  height: 36px;
}

.gs-glass .gs-rail-bar .gs-rail-brand-name {
  font-size: 14px;
}

.gs-glass .gs-rail-bar .gs-rail-brand-sub {
  font-size: 9px;
}

.gs-glass .gs-rail-bar .sh-mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  -webkit-appearance: none;
  appearance: none;
  gap: 4px;
  width: 42px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 10px rgba(255, 255, 255, 0.06);
}

.gs-glass .gs-rail-bar .sh-mobile-menu-toggle span {
  /* G183c: Safari on the iPad drew the box but not the lines: the bars only had a width by stretching inside a
     flex <button>, which WebKit doesn't do there. Each bar gets its own width, the button no native look. */
  display: block;
  flex: none;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: #f4f2ec;
}

/* ---------- Drawer (<= 1080px, matching the shell breakpoint) ---------- */

@media screen and (max-width: 1080px) {
  .gs-glass .sh-sidebar.gs-rail {
    position: fixed;
    z-index: 60;
    top: 0;
    left: 0;
    width: 300px;
    max-width: 88vw;
    height: 100vh;
    height: 100dvh;
    padding: 12px;
    transform: translateX(-105%);
    transition: transform 0.28s ease;
  }

  .gs-glass .sh-sidebar.gs-rail.is-open {
    transform: translateX(0);
  }

  .gs-glass .gs-rail .gs-rail-panel {
    border-radius: 26px;
  }

  .gs-glass .sh-sidebar-scrim {
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
  }
}

/* =========================================================
   INSTRUCTOR RAIL (G8) — moved from 205-instructor-glass.css § 1 + 2
   (G173, 2026-10-20) so it ships once, site-wide, beside the student
   rail instead of in every instructor page's block. Scoped under
   .gs-glass.gs-instr (the instructor pages' root). Its rows are the
   G173 thumbnail rows above.
========================================================= */

/* ---------- 1. Instructor rail
========================================================= */

.gs-glass.gs-instr .gs-instr-frame {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  min-height: 100vh;
}

.gs-glass.gs-instr .gs-instr-frame[hidden] {
  display: none;
}

.gs-glass.gs-instr .gs-rail.gs-irail {
  position: sticky;
  z-index: 20;
  top: 0;
  flex: 0 0 272px;
  width: 272px;
  height: 100vh;
  height: 100dvh;
  box-sizing: border-box;
  padding: 16px;
  font-family: var(--gs-font);
  color: #f4f2ec;
}

/* Gold-tinted navy (the student rail's light is blue) */
.gs-glass.gs-instr .gs-irail .gs-rail-panel {
  background:
    radial-gradient(110% 40% at 0% 0%, rgba(226, 182, 92, 0.14), rgba(226, 182, 92, 0) 60%),
    linear-gradient(180deg, rgba(14, 24, 86, 0.92) 0%, rgba(8, 14, 60, 0.94) 100%);
  box-shadow:
    inset 0 1px 18px rgba(255, 255, 255, 0.07),
    0 0 40px -12px rgba(110, 140, 255, 0.25),
    0 30px 60px -24px rgba(0, 0, 0, 0.85);
}

.gs-glass.gs-instr .gs-irail .gs-rail-brand {
  padding-bottom: 8px;
}

.gs-glass.gs-instr .gs-irail-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  margin: 6px 8px 22px;
  border: 1px solid rgba(226, 182, 92, 0.45);
  border-radius: 999px;
  background: rgba(226, 182, 92, 0.12);
  color: #e9c878;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* G173: tool rows are thumbnail rows like the rest (06-glass-rail.css);
   the G31 family dots are gone. The instructor rail holds up to nine rows
   (Teach, Tools, Student view), so they sit a little closer than the
   student rail's, and the Lesson Editor's still fits a 900 px window
   (<= 880 px: the compact rows in 06-glass-rail.css). */
@media screen and (min-height: 881px) {
  .gs-glass.gs-instr .gs-irail .gs-rail-group {
    gap: 4px;
  }

  .gs-glass.gs-instr .gs-irail .gs-rail-link {
    min-height: 56px;
    padding: 7px 10px;
  }
}

/* Account row: instructor avatar is gold, not navy */
.gs-glass.gs-instr .gs-irail .gs-irail-avatar {
  border-color: rgba(226, 182, 92, 0.4);
  background: linear-gradient(160deg, #6b5320, #2b220e);
  color: #f7e3b4;
  font-size: 12px;
}

.gs-glass.gs-instr .gs-irail .gs-rail-acct-name {
  font-size: 13px;
}

/* The tool pages keep their sign-out hidden until sign-in */
.gs-glass.gs-instr .gs-irail .gs-rail-logout[hidden] {
  display: none;
}

/* The current tool page is a row, not a link */
.gs-glass.gs-instr .gs-irail span.gs-rail-link {
  cursor: default;
}

/* ---------- 2. Frame, mobile bar, drawer
========================================================= */

.gs-glass.gs-instr .gs-instr-body {
  flex: 1 1 auto;
  min-width: 0;
}

.gs-glass.gs-instr .gs-irail-bar,
.gs-glass.gs-instr .gs-irail-scrim {
  display: none;
}

@media screen and (max-width: 1080px) {
  .gs-glass.gs-instr .gs-instr-frame {
    display: block;
  }

  .gs-glass.gs-instr .gs-rail.gs-irail {
    position: fixed;
    z-index: 60;
    top: 0;
    left: 0;
    width: 300px;
    max-width: 88vw;
    padding: 12px;
    transform: translateX(-105%);
    transition: transform 0.28s ease;
  }

  .gs-glass.gs-instr .gs-rail.gs-irail.is-open {
    transform: translateX(0);
  }

  .gs-glass.gs-instr .gs-irail .gs-rail-panel {
    border-radius: 26px;
  }

  .gs-glass.gs-instr .gs-irail-scrim:not([hidden]) {
    display: block;
    position: fixed;
    z-index: 55;
    inset: 0;
    background: rgba(4, 5, 10, 0.55);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
  }

  /* Scrolls away with the page (Garrett, G8: a bar that follows you
     competed with the page itself) */
  .gs-glass.gs-instr .gs-irail-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 50;
    margin: 10px 12px 0;
    padding: 10px 10px 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 22px;
    background:
      radial-gradient(80% 120% at 0% 0%, rgba(226, 182, 92, 0.14), rgba(226, 182, 92, 0) 60%),
      linear-gradient(180deg, rgba(14, 24, 86, 0.9), rgba(8, 14, 60, 0.92));
    box-shadow:
      inset 0 1px 14px rgba(255, 255, 255, 0.07),
      0 18px 40px -20px rgba(0, 0, 0, 0.85);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
  }

  .gs-glass.gs-instr .gs-irail-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    -webkit-appearance: none;
    appearance: none;
    gap: 4px;
    width: 42px;
    height: 42px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 1px 10px rgba(255, 255, 255, 0.06);
    cursor: pointer;
  }

  .gs-glass.gs-instr .gs-irail-toggle span {
    /* G183c: Safari on the iPad drew the box but not the lines: the bars only had a width by stretching inside a
       flex <button>, which WebKit doesn't do there. Each bar gets its own width, the button no native look. */
    display: block;
    flex: none;
    width: 16px;
    height: 2px;
    border-radius: 2px;
    background: #f4f2ec;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gs-glass.gs-instr .gs-rail.gs-irail {
    transition: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gs-glass .sh-sidebar.gs-rail,
  .gs-glass .gs-rail *,
  .gs-glass .gs-rail-bar * {
    transition: none !important;
  }
}
