/* Vertex Learn's own navigation and footer (learn_header() and LEARN_FOOTER in
   curriculum-scraper/generate_seo_pages.py, copied into the hand-written Learn pages):
   a fixed left sidebar from 1000px, a top bar with a menu button below that.
   Self-contained: the standalone Learn pages do not load styles.css. */
.lh { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid #e4e9f2; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; }
.lh-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; }
.lh-brand { display: flex; align-items: center; gap: 9px; text-decoration: none; font-family: 'Fredoka', system-ui, sans-serif; font-weight: 600; font-size: 21px; color: #14346b; }
.lh-brand img { height: 32px; width: auto; }
.lh-brand b { font-weight: 600; color: #1f6dd6; }
.lh-menu { width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; border: 0; border-radius: 12px; background: transparent; cursor: pointer; }
.lh-menu span { display: block; width: 22px; height: 2.5px; border-radius: 2px; background: #14346b; transition: transform .2s, opacity .2s; }
.lh-menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.lh-menu[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.lh-menu[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.lh-nav { display: none; flex-direction: column; gap: 2px; padding: 4px 12px 14px; max-height: calc(100vh - 64px); overflow-y: auto; }
.lh.open .lh-nav { display: flex; }
.lh-nav a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 12px; border-radius: 12px; font-weight: 700; font-size: 15.5px; color: #1d2433; text-decoration: none; }
.lh-nav a svg { width: 21px; height: 21px; flex: none; color: #5b6478; }
.lh-nav a:hover { background: #f1f6fe; }
.lh-nav a[aria-current] { background: #eaf2fd; color: #1856ad; }
.lh-nav a[aria-current] svg { color: #1f6dd6; }
.lh-nav .lh-out { margin-top: 10px; border-top: 1px solid #e4e9f2; border-radius: 0; padding-top: 16px; font-size: 14px; color: #5b6478; }
@media (min-width: 1000px) {
  body:has(> .lh) { padding-left: 240px; }
  .lh { position: fixed; top: 0; bottom: 0; left: 0; width: 240px; border-bottom: 0; border-right: 1px solid #e4e9f2; display: flex; flex-direction: column; }
  .lh-bar { padding: 20px 20px 14px; }
  .lh-menu { display: none; }
  .lh-nav { display: flex; flex: 1; max-height: none; padding: 4px 14px 20px; }
  .lh-nav .lh-out { margin-top: auto; }
}
/* Account: top right beside the menu button on phones, the foot of the sidebar on wide screens
   (learn-auth.js fills it). */
.lh-acct { position: absolute; top: 10px; right: 64px; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; }
.la-signin { min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: #1f6dd6; color: #fff; font: 700 15px 'Plus Jakarta Sans', system-ui, sans-serif; cursor: pointer; }
.la-signin:hover { background: #1856ad; }
.la-me { position: relative; }
.la-me summary { list-style: none; display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; border-radius: 12px; }
.la-me summary::-webkit-details-marker { display: none; }
.la-me summary i { flex: none; width: 36px; height: 36px; border-radius: 50%; background: #14346b; color: #fff; display: grid; place-items: center; font: 600 16px 'Fredoka', sans-serif; font-style: normal; }
.la-me summary span { display: none; min-width: 0; }
.la-me summary b { display: block; font-size: 14.5px; color: #14346b; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.la-me summary small { display: block; font-size: 12.5px; color: #5b6478; }
.la-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 50; min-width: 220px; padding: 10px; background: #fff; border: 1px solid #e4e9f2; border-radius: 14px; box-shadow: 0 18px 40px -20px rgba(20,52,107,.45); display: flex; flex-direction: column; gap: 6px; }
.la-menu p { margin: 2px 6px 6px; font-size: 13px; color: #5b6478; overflow-wrap: anywhere; }
.la-menu button { min-height: 40px; border: 1px solid #e4e9f2; border-radius: 10px; background: #fff; font: 700 14px 'Plus Jakarta Sans', system-ui, sans-serif; color: #1d2433; cursor: pointer; }
.la-menu button:hover { border-color: #1f6dd6; }
.la-menu .la-h { margin: 6px 6px 0; font-size: 12px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: #8a93a5; }
.la-menu .la-who { text-align: left; padding: 0 12px; }
.la-menu .la-who.on { border-color: #1f6dd6; background: #eaf2fd; color: #1856ad; }
@media (min-width: 1000px) {
  .lh-acct { position: static; padding: 12px 14px 18px; border-top: 1px solid #e4e9f2; }
  .la-signin { width: 100%; }
  .la-me summary { padding: 4px 6px; }
  .la-me summary:hover { background: #f1f6fe; }
  .la-me summary span { display: block; }
  .la-menu { right: auto; left: 0; top: auto; bottom: calc(100% + 6px); }
}
/* The sign-in dialog. */
.la-dlg { width: min(420px, calc(100vw - 24px)); margin: auto; padding: 26px 24px 18px; border: 0; border-radius: 20px; box-shadow: 0 30px 60px -24px rgba(20,52,107,.5); font-family: 'Plus Jakarta Sans', system-ui, sans-serif; color: #1d2433; }
.la-dlg::backdrop { background: rgba(10,20,40,.55); }
.la-x { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; font-size: 24px; color: #5b6478; cursor: pointer; }
.la-x:hover { background: #f1f6fe; }
.la-body { display: flex; flex-direction: column; gap: 12px; }
.la-body h2 { margin: 0 30px 4px 0; font: 600 24px/1.15 'Fredoka', sans-serif; color: #14346b; }
.la-field { display: flex; flex-direction: column; gap: 5px; font-size: 13.5px; font-weight: 700; color: #5b6478; }
.la-field input, .la-field select { min-height: 48px; padding: 0 14px; border: 1.5px solid #dbe3ee; border-radius: 12px; font: 600 16px 'Plus Jakarta Sans', system-ui, sans-serif; color: #1d2433; background: #fff; }
.la-field input:focus, .la-field select:focus { border-color: #1f6dd6; outline: none; }
.la-code { letter-spacing: 8px; font-size: 22px !important; text-align: center; }
.la-go, .la-google { min-height: 48px; border-radius: 12px; font: 700 16px 'Plus Jakarta Sans', system-ui, sans-serif; cursor: pointer; }
.la-go { border: 0; background: #1f6dd6; color: #fff; }
.la-go:hover { background: #1856ad; }
.la-go:disabled { opacity: .6; cursor: default; }
.la-google { border: 1.5px solid #dbe3ee; background: #fff; color: #1d2433; }
.la-google:hover { border-color: #1f6dd6; }
.la-or { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #8a93a5; }
.la-or::before, .la-or::after { content: ""; flex: 1; height: 1px; background: #e4e9f2; }
.la-link { border: 0; background: none; color: #1856ad; font: 700 14px 'Plus Jakarta Sans', system-ui, sans-serif; cursor: pointer; padding: 6px; }
.la-to { margin: -6px 0 0; font-weight: 700; color: #1856ad; overflow-wrap: anywhere; }
.la-kinds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.la-kind { min-height: 52px; border: 1.5px solid #dbe3ee; border-radius: 12px; background: #fff; font: 700 15px 'Plus Jakarta Sans', system-ui, sans-serif; color: #1d2433; cursor: pointer; }
.la-kind[aria-pressed="true"] { border-color: #1f6dd6; background: #eaf2fd; color: #1856ad; }
.la-young { margin: 0; padding: 10px 12px; border-radius: 10px; background: #fdf3e0; font-size: 14px; }
.la-status { min-height: 1.4em; margin: 10px 0 0; font-size: 14px; color: #5b6478; }
.la-status.bad { color: #a12a3c; font-weight: 700; }
.la-big { margin: 4px 0 0; font: 600 40px 'Fredoka', sans-serif; letter-spacing: 8px; color: #14346b; background: #fdf3e0; border-radius: 14px; text-align: center; padding: 6px 0; }
.la-small { margin: 0; font-size: 13.5px; color: #5b6478; text-align: center; }
.la-prow { display: flex; align-items: center; justify-content: space-between; padding: 8px 2px; border-top: 1px solid #e4e9f2; font-weight: 700; }
.la-dlg [hidden], .lh [hidden] { display: none !important; }
.lf { max-width: 1120px; margin: 0 auto; padding: 26px 16px 40px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-size: 14px; color: #5b6478; border-top: 1px solid #e4e9f2; }
.lf a { color: #1856ad; font-weight: 600; }
@media (min-width: 1000px) { .lf { max-width: 1240px; margin: 0 40px; padding-left: 0; padding-right: 0; } }
@media print { .lh, .lf { display: none !important; } body:has(> .lh) { padding-left: 0 !important; } }
