/* BabyPastel v3.10.647 — branch static fallback (pre-hydration crawlable branch list).
 *
 * Owned by scripts/generate-branch-static-list-v3-10-647.mjs.
 * Dedicated asset: shared styles.css is intentionally NOT modified, because its
 * cache version is only bumped for promotion pages.
 *
 * Design intent: the fallback reuses the site's own `.tabs` / `.tab` classes so it
 * is visually identical to the hydrated branch selector. This file therefore
 * carries only the deltas that `.tab` does not cover, because `.tab` was written
 * for <button> and the fallback uses <a> for crawlability.
 *
 * Contract:
 *   - real, visible UI (users may see it for seconds on slow or blocked networks)
 *   - display:none / visibility:hidden / off-screen hiding are forbidden
 *   - single-row geometry matches the hydrated `#tabs`, minimizing layout shift
 */

/* `.tab` is styled for <button>; anchors need these three resets. */
.branch-static-fallback .tab {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

/* Keyboard focus must stay obvious while the fallback is interactive. */
.branch-static-fallback .tab:focus-visible {
  outline: 2px solid var(--p, #8f6a4e);
  outline-offset: 2px;
}

/* The hydrated selector marks one tab active; the fallback has no active branch,
   so nothing here may borrow `.active`. Kept explicit to document the intent. */
.branch-static-fallback .tab[aria-current] {
  color: #fff;
  border-color: var(--p, #8f6a4e);
  background: var(--p, #8f6a4e);
}
