/* Generated by scripts/build-guides.tsx (npm run guides) from src/ui/components/siteTabs.css. Do not edit by hand. */
/* PixelTach header tabs, shared by every page (calculator, Signal Flow Planner, guides, pricing, API).
   Source of truth: src/ui/components/siteTabs.css. The static pages get a copy (public/guides/site-tabs.css and the block in
   api/public/index.html) from `npm run guides`; tests/siteTabs.test.ts fails if a copy drifts.
   Placement (where the nav sits in the header, how the header wraps on a phone) is left to each page. */
.site-tabs {
  --st-text: var(--text, #e8ece9); --st-muted: var(--muted, #a3ada6); --st-opt: var(--opt-text, #b4bdb7);
  --st-rule: var(--line, var(--border, #2b332e)); --st-green: var(--led-green, #2bff6e); --st-amber: var(--led-amber, #ffc21a);
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 2px; margin: 0;
  font-family: var(--sans, "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
}
.site-tabs a, .site-tabs button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 10px; margin: 0; border: 0; border-radius: 0;
  background: none; font: 500 14px/1.2 var(--sans, "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  color: var(--st-opt); text-decoration: none; white-space: nowrap; cursor: pointer;
}
.site-tabs a:hover, .site-tabs button:hover { color: var(--st-text); }
.site-tabs a:focus-visible, .site-tabs button:focus-visible { outline: 2px solid var(--st-text); outline-offset: 2px; }
/* The page you are on: underline plus a green LED. Tabs are links on some pages and buttons on the calculator, so style the class, not the element. */
.site-tabs .st-tab[aria-current="page"] {
  color: var(--st-text); font-weight: 600; box-shadow: inset 0 -2px 0 var(--st-text);
}
.site-tabs .st-tab[aria-current="page"]::before {
  content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--st-green); box-shadow: 0 0 8px var(--st-green); flex: none;
}
.site-tabs .lock { fill: none; stroke: var(--st-muted); stroke-width: 1.3; flex: none; }
/* Guides · Pricing beside "What's new" in the calculator and Planner headers: quiet text links. */
.site-links { display: inline-flex; align-items: center; gap: 14px; font: 500 13px/1.2 var(--sans, "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif); }
.site-links a { color: var(--st-muted, var(--muted, #a3ada6)); text-decoration: none; white-space: nowrap; }
.site-links a:hover, .site-links a:focus-visible { color: var(--text, #e8ece9); }
@media (max-width: 640px) {
  .site-tabs a, .site-tabs button { padding: 0 8px; min-height: 34px; font-size: 12.5px; }
  .site-links { gap: 12px; font-size: 12.5px; }
}

/* Header of the static pages: a slim bar floating 8px below the top. Its bottom edge is a row of square LEDs at the logo's
   pitch (3px dot, 4px step); the page you are on lights its part of that edge green. The calculator and the Planner keep their
   own docked header. */
.topbar { --hdr-pad: 7px; display: flex; flex-wrap: nowrap; align-items: center; gap: 4px 14px; position: sticky; top: 8px; z-index: 5;
  box-sizing: border-box; width: calc(100% - 16px); max-width: 1180px; margin: 8px auto 0;
  padding: var(--hdr-pad) max(10px, env(safe-area-inset-right)) var(--hdr-pad) max(20px, env(safe-area-inset-left));
  border: 1px solid rgba(255, 255, 255, 0.08); border-bottom: 3px solid #0f1311; border-radius: 12px;
  background: rgba(15, 19, 17, 0.9); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.85); }
.topbar::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -3px; height: 3px; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0 3px, transparent 3px 4px); }
.topbar .brand { display: inline-flex; align-items: center; min-height: 36px; }
.topbar .brand .logo { display: block; }
/* The logo's light-background panel stays hidden on these dark pages (the same three rules as public/guides/guides.css, so
   the API page, which does not load guides.css, no longer shows a black box behind the logo). */
.topbar .logo-panel { display: none; }
.topbar .logo-panel-bg { fill: #303237; }
.topbar .logo-tile { fill: #0c0d0f; }
.topbar .site-tabs { margin-left: 4px; flex-wrap: nowrap; }
.topbar .site-tabs .st-tab { min-height: 36px; }
.topbar .spacer { flex: 1; }
.topbar .links { display: flex; align-items: center; gap: 18px; font-size: 14px; }
.topbar .links a { display: inline-flex; align-items: center; min-height: 36px; color: var(--muted); text-decoration: none; white-space: nowrap; }
.topbar .links a:hover, .topbar .links a[aria-current="page"] { color: var(--text); }
/* The page you are on: bold white, and its part of the edge lit (no underline). The dots line up with the edge's dots
   (--lx, set by the header script; without it they can sit up to 3px off, nothing else changes). */
.topbar .st-tab[aria-current="page"] { box-shadow: none; position: relative; }
.topbar .links a[aria-current="page"] { position: relative; font-weight: 600; }
.topbar .st-tab[aria-current="page"]::after, .topbar .links a[aria-current="page"]::after { content: ""; position: absolute; left: 4px; right: 4px;
  bottom: calc(-1 * var(--hdr-pad) - 3px); height: 3px; pointer-events: none;
  background: repeating-linear-gradient(90deg, #2bff6e 0 3px, transparent 3px 4px); background-position-x: var(--lx, 0px);
  filter: drop-shadow(0 0 3px rgba(43, 255, 110, 0.95)) drop-shadow(0 0 8px rgba(43, 255, 110, 0.45)); }
.topbar .links a[aria-current="page"]::after { left: -2px; right: -2px; }
/* One button: quiet (dark, green edge) while the page's own hero buttons are on screen, white once you scroll past them. */
.topbar .links .hdr-cta { margin-left: 4px; padding: 0 15px; border-radius: 8px; background: #e8ece9; color: #0b0d0c; font-weight: 600; font-size: 13.5px;
  transition: background-color 0.25s, color 0.25s, box-shadow 0.25s; }
.topbar .links .hdr-cta:hover { background: #fff; color: #0b0d0c; }
.topbar .links .hdr-cta.quiet { background: rgba(43, 255, 110, 0.06); color: var(--text); box-shadow: inset 0 0 0 1px rgba(43, 255, 110, 0.45); }
.topbar .links .hdr-cta.quiet:hover { background: rgba(43, 255, 110, 0.12); }
.topbar .links .hdr-cta:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .topbar .links .hdr-cta { transition: none; } }
@media (prefers-reduced-transparency: reduce) { .topbar { background: #0f1311; -webkit-backdrop-filter: none; backdrop-filter: none; } }
/* Laptops: a short fade above the floating bar, so the page does not show in the gap while it scrolls under. */
@media (min-width: 641px) {
  body::before { content: ""; position: fixed; left: 0; right: 0; top: 0; height: 20px; z-index: 4; pointer-events: none;
    background: linear-gradient(var(--bg, #0b0d0c) 40%, transparent); }
}
/* Phones: logo, then the two tabs on one row; no links or button (they are in the footer); the header scrolls away. */
@media (max-width: 640px) {
  .topbar { --hdr-pad: 6px; position: relative; top: 0; flex-wrap: wrap; gap: 0 8px; padding: var(--hdr-pad) 10px var(--hdr-pad) 12px;
    background: #0f1311; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .topbar .brand .logo { height: 26px; width: auto; }
  .topbar .spacer, .topbar .links { display: none; }
  .topbar .site-tabs { order: 3; width: 100%; margin-left: -4px; }
  .topbar .site-tabs .st-tab { min-height: 44px; }
}
