@import url('lrl-tokens.css');
/* =========================================================
   Learning Rewired Lab — site-wide standards layer
   Adds: (1) a unified pulsing "live" dot to every eyebrow/kicker
   label, colored to match that eyebrow's own text color, and
   (2) one consistent breadcrumb design across every page,
   regardless of the legacy per-template class name in use.
   Loaded last in <head> so it wins ties with per-page CSS.
   ========================================================= */

/* ---------- eyebrow / kicker live dot ----------
   Matches the site's own established dot pattern (lr-pulse, st-pulse,
   il-blip, cmp-pulse, etc. — a simple opacity fade), so the new dot
   looks like the same component already used across most pages. */
.lrl-dot,
.lrl-dot {
  display: inline-block;
  vertical-align: middle;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  margin-top: -2px;
  border-radius: 50%;
  background: currentColor;
  animation: lrl-dot-pulse 2.4s ease-in-out infinite;
  flex: none;
}
@keyframes lrl-dot-pulse {
  0%, 100% { opacity: .4; }
  50%      { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .lrl-dot { animation: none; }
}


/* ---------- unified eyebrow typography ----------
   Every page uses the same compact label scale, regardless of its
   page-specific eyebrow or kicker class. */
:where([class*="eyebrow"], [class*="kicker"], main p[class*="badge"]):not([class*="breadcrumb"]) {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
  font-size: 11px !important;
  font-weight: 850 !important;
  line-height: 1.2 !important;
  letter-spacing: var(--lrl-tracking-kicker, .16em) !important;
  text-transform: uppercase !important;
}

/* ---------- unified breadcrumb design ---------- */
/* Doubled attribute selector = extra specificity so this beats
   any single-class rule from a page's own stylesheet. */
[class*="breadcrumb"][class*="breadcrumb"] {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 0 26px !important;
  padding: 0 !important;
  list-style: none !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: var(--lrl-slate-500) !important;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
}
[class*="breadcrumb"][class*="breadcrumb"] a {
  color: var(--lrl-slate) !important;
  text-decoration: none !important;
  font-weight: 700 !important;
}
[class*="breadcrumb"][class*="breadcrumb"] a:hover {
  color: var(--lrl-cyan-600) !important;
}
[class*="breadcrumb"][class*="breadcrumb"] strong,
[class*="breadcrumb"][class*="breadcrumb"] [aria-current] {
  color: var(--lrl-ink) !important;
  font-weight: 800 !important;
}
[class*="breadcrumb"][class*="breadcrumb"] span:not([aria-hidden]):not([aria-current]) {
  color: var(--lrl-ink) !important;
  font-weight: 800 !important;
}
[class*="breadcrumb"][class*="breadcrumb"] span[aria-hidden],
[class*="breadcrumb"][class*="breadcrumb"] i[aria-hidden] {
  color: var(--lrl-line, #e6ebf1) !important;
  font-weight: 700 !important;
}
/* Lab Goods remains discoverable through Community and the footer. Community
   stays visible as a primary trust-and-participation destination. */
@media (min-width: 980px) {
  .lrl-primary-nav-v38 > a[href="/lab-goods/"] {
    display: none !important;
  }
}

/* Ecosystem orientation: a restrained connective line between LRI and the
   page's specific job. It preserves each page's own visual identity. */
.lrl-context-strip {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--lrl-line);
  background: var(--lrl-mist);
  color: var(--lrl-slate);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
.lrl-context-strip__inner {
  width: min(1220px, 100%); padding-inline: 26px; box-sizing: border-box;
  min-height: 44px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.lrl-context-strip p {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.4;
}
.lrl-context-strip strong {
  color: var(--lrl-ink);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.lrl-context-strip a {
  flex: none;
  color: var(--lrl-cyan-700);
  font-size: 14.5px;
  font-weight: 800;
  text-decoration: none;
}
.lrl-context-strip a:hover { color: var(--lrl-teal-700); }
@media (max-width: 720px) {
  .lrl-context-strip__inner {
    width: min(1220px, 100%); padding-inline: 26px; box-sizing: border-box;
    padding: 10px 0;
    align-items: flex-start;
  }
  .lrl-context-strip p { display: grid; gap: 2px; }
  .lrl-context-strip a { font-size: 0; padding-top: 2px; }
  .lrl-context-strip a span { font-size: 18px; }
}

/* ---------- compliance guardrails ---------- */
.lrl-visually-hidden{
  position:absolute!important;width:1px!important;height:1px!important;padding:0!important;
  margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;border:0!important
}
:where(button,a[class*="btn"],a[class*="button"],[class*="badge"],[class*="pill"],[class*="chip"],[class~="tag"],[class$="-tag"],[class*="-tag "],[class*="-tag-"],nav a){
  border-radius:var(--lrl-radius-pill)!important
}
:where(button,a[class*="btn"],a[class*="button"]){min-height:44px}
/* ---------- canonical body-copy scale ----------
   Public-page body copy uses one 16px size. Labels, metadata, display copy,
   prices, statistics, and quotations remain distinct typographic roles.
   The chained selector overrides legacy page rules and inline font sizes. */
:root{--lrl-body-copy:16px}
:where(main p,main li):not([class*="kicker"]):not([class*="eyebrow"]):not([class*="meta"]):not([class*="caption"]):not([class*="badge"]):not([class*="label"]):not([class*="tag"]):not([class*="display"]):not([class*="headline"]):not([class*="title"]):not([class*="quote"]):not([class*="stat"]):not([class*="metric"]):not([class*="price"]):not([class*="number"]):not([class*="value"]):not([class*="wordmark"]):not([class*="logo"]):not([class*="perf__win"]){
  font-size:var(--lrl-body-copy)!important;
}
:where(h1){font-size:var(--lrl-display);font-weight:900;letter-spacing:-.045em}
:where(h2){font-size:var(--lrl-h2);font-weight:900;letter-spacing:-.038em}

/* ---------- heading wrap standard ----------
   Balance every heading, then let the shared header runtime keep the final
   two words together. This prevents a single-word final line without forcing
   page authors to insert manual line breaks. */
:where(h1,h2,h3,h4,h5,h6){
  text-wrap:balance;
}

/* Practitioner Lab previously overrode the canonical display scale with a
   78px hero and a fixed 48px mobile size. Keep its hero aligned to the
   site-wide H1 token while preserving its page-specific layout and accent. */
main .pl-hero h1 {
  font-size: var(--lrl-display) !important;
  letter-spacing: var(--lrl-tracking-display, -.045em) !important;
  line-height: 1.03 !important;
}


/* ---------- existing-customer Lab access prompt ----------
   One shared treatment across every product page. */
.lrl-existing-access {
  margin: 18px 0 0 !important;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
  font-size: var(--lrl-body-copy) !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  color: var(--lrl-slate, #475569) !important;
}
.lrl-existing-access a,
.lrl-existing-access a:link,
.lrl-existing-access a:visited,
.lrl-existing-access a:active {
  color: var(--lrl-teal-700, #0f766e) !important;
  font-weight: 850 !important;
  text-decoration: none !important;
}
.lrl-existing-access a:hover,
.lrl-existing-access a:focus-visible {
  color: var(--lrl-cyan-700, #0789a2) !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}


.lrl-existing-access--dark {
  color: rgba(226, 242, 247, .72) !important;
}
.lrl-existing-access--dark a,
.lrl-existing-access--dark a:link,
.lrl-existing-access--dark a:visited,
.lrl-existing-access--dark a:active {
  color: var(--lrl-mint, #6ee7d8) !important;
}
.lrl-existing-access--dark a:hover,
.lrl-existing-access--dark a:focus-visible {
  color: #ffffff !important;
}


/* ---------- pill search fields: ring on the container ----------
   Inputs inside pill search bars drop their own outline; the pill
   carries the shared focus ring instead. */
:where(.rl-search, .lab-search, .bd-search, .bd-quickjump, .bld-search, .search-form, .lab-cloud .search):focus-within {
  outline: 2px solid var(--lrl-cyan, #16b8d9);
  outline-offset: 2px;
}
