/* OMR Scanner — "Built by WebMob Technologies" badge.
   Loaded on every page (landing, login, tool, result) so the pill is
   identical everywhere, instead of living only inside landing.css. Colour
   comes entirely from theme-tokens.css — no colour is hardcoded here.

   One floating pill, bottom-right, on every screen. Standardized across
   every WebMobTech POC to the same mark + "BUILT BY / WebMob Technologies"
   two-line lockup, fixed bottom-right, 24px mark, 12px radius,
   design-system shadow/motion steps. */

.built-by {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 50;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem .75rem; border: 1px solid var(--line-2); border-radius: 12px;
  background: var(--surface);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 25px -5px rgba(15, 27, 45, .18);
  text-decoration: none;
  transition: box-shadow .3s ease, border-color .3s ease, transform .3s ease;
}
.built-by:hover, .built-by:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 20px 25px -5px rgba(15, 27, 45, .28);
  transform: translateY(-2px);
}
.built-by img { height: 24px; width: auto; display: block; }
/* The light-mode logo (dark wordmark) is drawn with higher specificity so it
   reliably wins over the dark-mode default regardless of stylesheet order. */
.built-by .wmt-light { display: none; }
:root[data-theme="light"] .built-by .wmt-dark  { display: none; }
:root[data-theme="light"] .built-by .wmt-light { display: block; }
.built-by-txt {
  display: flex; flex-direction: column; gap: .1rem;
  padding-left: .5rem; margin-left: 0;
  border-left: 1px solid var(--line-2);
  line-height: 1.15; font-size: .75rem; font-weight: 700; color: var(--fg);
}
.built-by-txt em {
  display: block; font-style: normal; font-weight: 500; font-size: .625rem;
  letter-spacing: .025em; text-transform: uppercase; color: var(--dim);
}
@media (max-width: 640px) { .built-by { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .built-by { transition: none; }
  .built-by:hover { transform: none; }
}
