/* AMARBARO header lockup: tree mark + AMARBARO wordmark + "seed · root · boot".
   Canonical copy: amarbaroHQ/brand/lockup/. Same look as the amarbaro.com home
   nav, self-contained so any app can load it without tokens.css. Fonts: the same
   stacks amarbaro.com uses (JetBrains Mono / Inter by name, system fallback;
   amarbaro.com ships no webfont files). Colours: brand olive #9DAE51 on the
   carbon dark deck, the darker olive on light.

   Two marks, one shown at a time. .abLk-d is the dark mark, an <img>. .abLk-l is the light twin. The macro
   (_lockup.html) renders it as an empty <span> whose --abLk-img custom property names the file; this sheet turns
   that into a background only while the light scheme is on, so a dark page never requests a light file, with or
   without script (an <img> twin is fetched even while hidden once scripting is off). An older page may still use
   an <img> twin: it works the same, minus the saving. Light = [data-theme="light"], or the OS scheme when the page
   sets no data-theme. Pin a dark-only app with <html data-theme="dark">.
   The dark mark is hidden only where a light twin follows it, so a lockup without a twin never goes blank. */
.abLockup {
  --abLk-accent: #9DAE51;
  --abLk-gap: 12px;
  display: inline-flex;
  align-items: center;
  gap: var(--abLk-gap);
  color: inherit;
  text-decoration: none;
}
.abLockup .abLk-mark { display: inline-flex; flex: none; }
.abLockup .abLk-text { display: flex; flex-direction: column; min-width: 0; }
.abLockup img {
  display: block;
  height: auto;
  max-width: 100%;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}
.abLockup .abLk-tree { width: 30px; height: 36px; }
.abLockup .abLk-word { width: auto; height: 14px; }
.abLockup span.abLk-word { width: 131px; max-width: 100%; }
.abLockup .abLk-sub {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--abLk-accent);
  white-space: nowrap;
}
.abLockup .abLk-l { display: none; }
[data-theme="light"] .abLockup { --abLk-accent: #55661F; }
[data-theme="light"] .abLockup .abLk-d:has(~ .abLk-l) { display: none; }
[data-theme="light"] .abLockup .abLk-l { display: block; background: var(--abLk-img, none) center / contain no-repeat; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) .abLockup { --abLk-accent: #55661F; }
  :root:not([data-theme]) .abLockup .abLk-d:has(~ .abLk-l) { display: none; }
  :root:not([data-theme]) .abLockup .abLk-l { display: block; background: var(--abLk-img, none) center / contain no-repeat; }
}
/* A print engine drops backgrounds: print the dark mark, which is an <img>. */
@media print {
  .abLockup .abLk-d { display: block !important; }
  .abLockup .abLk-l { display: none !important; }
}
