/* css/logo.css — the 2026 wordmark in the page headers (kenshopro_logo, 2026-10-16).
   Loaded on every page with a header logo:
     <link rel="stylesheet" href="/css/logo.css?v=...">
   The header link holds two images of the wordmark (color-on-light and
   color-on-dark, from _KENSHO/01_BRAND/logo_2026/); this file shows the one
   that matches the page's ground. 24 px tall (about 112 px wide; the usage
   note's screen minimum is 100 px wide), the same at every width: the
   wordmark is "Kensho" alone, which is what the phone menu used to squeeze
   the text logo down to.
   Dark signals: the marketing, course and cart pages are dark unless the
   body has .light-mode (site.css, js/theme.js); the dashboard, work queue and
   profile use html.dark-mode (js/dark-mode.js). Login, sign-up, verify-email
   and the two password pages have no dark mode: they carry the light image
   alone, marked kp-logo-only. */
.kp-logo { display: block; height: 24px; width: auto; max-width: none; }
.kp-logo-dark { display: none; }
body:not(.light-mode) .site-header .kp-logo-light,
html.dark-mode .kp-logo-light { display: none; }
body:not(.light-mode) .site-header .kp-logo-dark,
html.dark-mode .kp-logo-dark { display: block; }
/* The password pages' header is .site-header but cream: the one image always shows. */
.kp-logo.kp-logo-only { display: block !important; }
a:has(> .kp-logo) { display: inline-block; line-height: 0; text-decoration: none; }

/* Small laptops (1024-1339 px, the band js/phone-menu.js squeezes onto one
   line): the wordmark is about 52 px wider than the "Kensho" text it replaces,
   so the menu gives the room back here: links 14 px apart (20 elsewhere) and
   16 px side padding (24). Measured logged in, two courses in the cart, every
   1 px from 1024 to 1040 and every 8 px to 1600, every page with this menu. */
@media (min-width: 1024px) and (max-width: 1339px) {
  body .site-header { padding-left: 16px; padding-right: 16px; }
  body .site-header nav { column-gap: 14px; }
}
