/* GENERATED by boson-kit/sync.mjs (kit 2.1.0). Do not edit directly: edit boson-kit/ and run `node sync.mjs`. */
/*! Boson Shell 2.1 — Swiss Blueprint Header, Global App Switcher & Shared Primitives.
    SOURCE FILE: edit in boson-kit/src/boson.css and run `node sync.mjs`. */

/* ── 1. Accessibility & Logo ─────────────────────────────────────────────── */
.boson-skip {
  position: fixed;
  top: -120px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: var(--radius-control);
  background: var(--brand-accent-dark);
  color: #FFFFFF;
  border: 1px solid var(--brand-accent-dark);
  font: 600 13px/1 var(--font-sans);
  text-decoration: none;
}
.boson-skip:focus-visible {
  top: 12px;
  outline: 2px solid var(--brand-accent);
  outline-offset: 2px;
}

boson-logo { display: inline-flex; line-height: 0; }
.boson-logo { display: block; flex: none; overflow: visible; }
.boson-logo:where(:not([width])) { width: 28px; height: 28px; }

/* ── 2. Global Boson Shell Header ────────────────────────────────────────── */
boson-global-header {
  display: block;
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: calc(var(--boson-header-h) + 1px);
  background: var(--bg-surface);
}
boson-global-header > .boson-header { position: static; }
boson-global-header > [slot] { display: none; }

.boson-header,
.boson-header * { box-sizing: border-box; }

.boson-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-hairline);
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

.boson-header__bar {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  min-height: var(--boson-header-h);
  max-width: var(--boson-max);
  margin: 0 auto;
}
@media (min-width: 1312px) {
  .boson-header__bar { border-inline: 1px solid var(--border-hairline); }
}

/* Global App Switcher Pill + Popover */
.boson-switcher {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-right: 1px solid var(--border-hairline);
}

.boson-switcher__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 9px 0 6px;
  margin: 0;
  background: var(--bg-canvas);
  color: var(--text-primary);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-control);
  font: 600 10.5px/1 var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color .12s, background-color .12s;
}
.boson-switcher__pill .boson-logo { width: 20px; height: 20px; }
.boson-switcher__pill:hover {
  background: var(--bg-surface);
  border-color: var(--border-strong);
}
.boson-switcher__pill[aria-expanded="true"] {
  background: var(--bg-surface);
  border-color: var(--brand-accent);
  color: var(--text-primary);
}
.boson-switcher__chev {
  width: 10px;
  height: 10px;
  flex: none;
  color: var(--text-muted);
  transition: transform .15s;
}
.boson-switcher__pill[aria-expanded="true"] .boson-switcher__chev { transform: rotate(180deg); }

.boson-switcher__menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 8px;
  z-index: 60;
  width: min(352px, calc(100vw - 24px));
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 8px 24px -16px rgba(15, 23, 42, 0.2);
}
[data-theme="dark"] .boson-switcher__menu {
  border-color: var(--border-strong);
  box-shadow: 0 12px 32px -12px rgba(0, 0, 0, 0.65);
}
.boson-switcher__menu[hidden] { display: none; }

.boson-switcher__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-hairline);
  background: var(--bg-canvas);
  font: 600 10px/1 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.boson-switcher__head a {
  color: var(--brand-ink);
  text-decoration: none;
}
.boson-switcher__head a:hover { text-decoration: underline; }

.boson-switcher__item {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  column-gap: 12px;
  align-items: center;
  padding: 12px 14px;
  color: var(--text-primary);
  text-decoration: none;
  border-bottom: 1px solid var(--border-hairline);
  transition: background-color .12s;
}
.boson-switcher__item:last-of-type { border-bottom: 0; }
.boson-switcher__item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--brand-accent);
  opacity: 0;
  transition: opacity .12s;
}
.boson-switcher__item:hover,
.boson-switcher__item:focus-visible { background: var(--bg-canvas); }
.boson-switcher__item:hover::before,
.boson-switcher__item:focus-visible::before,
.boson-switcher__item[aria-current="true"]::before { opacity: 1; }

.boson-switcher__item .boson-logo {
  width: 36px;
  height: 36px;
  padding: 4px;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-control);
  background: var(--bg-canvas);
}

.boson-switcher__name {
  display: block;
  font: 700 15px/1.15 var(--font-display);
  letter-spacing: -0.03em;
  color: var(--text-primary);
}
.boson-switcher__role {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.35;
  color: var(--text-muted);
}
.boson-switcher__meta {
  display: grid;
  justify-items: end;
  gap: 4px;
  font: 500 10px/1 var(--font-mono);
  color: var(--text-muted);
  white-space: nowrap;
}
.boson-switcher__here {
  padding: 3px 6px;
  border-radius: 6px;
  background: var(--brand-tint);
  color: var(--brand-ink);
  border: 1px solid var(--brand-line);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.boson-switcher__foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 10px 14px;
  border-top: 1px solid var(--border-hairline);
  background: var(--bg-canvas);
  font: 500 10.5px/1.3 var(--font-mono);
  color: var(--text-muted);
  text-decoration: none;
  transition: background-color .12s, color .12s;
}
a.boson-switcher__foot:hover,
a.boson-switcher__foot:focus-visible {
  background: var(--bg-surface);
  color: var(--text-primary);
}
.boson-switcher__foot .boson-logo { width: 16px; height: 16px; }
.boson-switcher__foot-go {
  margin-left: auto;
  color: var(--brand-ink);
  font-weight: 600;
}

/* Lockup Styles: Swiss Hairline & Mono Slash */
.boson-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  color: var(--text-primary);
  text-decoration: none;
  white-space: nowrap;
}
.boson-lockup--hairline .boson-logo { width: 28px; height: 28px; }
.boson-lockup--slash .boson-logo { width: 24px; height: 24px; }

.boson-lockup__divider {
  width: 1px;
  height: 20px;
  background: var(--border-strong);
  flex: none;
}
.boson-lockup__slash {
  font: 600 12px/1 var(--font-mono);
  letter-spacing: 0.04em;
  color: var(--text-muted);
}
.boson-lockup__name {
  font: 700 17px/1 var(--font-display);
  letter-spacing: -0.03em;
  color: var(--text-primary);
}
.boson-lockup__badge {
  padding: 3px 7px;
  border: 1px solid var(--border-hairline);
  border-radius: 6px;
  background: var(--bg-canvas);
  font: 500 10px/1 var(--font-mono);
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.boson-header__nav {
  display: flex;
  align-items: stretch;
  flex: 1 1 auto;
  min-width: 0;
  padding: 0 8px;
}
.boson-header__nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
}
.boson-header__nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -1px;
  height: 2px;
  background: var(--brand-accent);
  transform: scaleX(0);
  transition: transform .15s;
}
.boson-header__nav a:hover { color: var(--text-primary); }
.boson-header__nav a[aria-current="page"],
.boson-header__nav a.active {
  color: var(--text-primary);
  font-weight: 600;
}
.boson-header__nav a[aria-current="page"]::after,
.boson-header__nav a.active::after { transform: scaleX(1); }

.boson-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 0 12px;
}

.boson-theme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 32px;
  min-width: 32px;
  padding: 0 9px;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-control);
  background: var(--bg-canvas);
  color: var(--text-muted);
  font: 500 11px/1 var(--font-mono);
  cursor: pointer;
  transition: border-color .12s, color .12s, background-color .12s;
}
.boson-theme-btn:hover {
  border-color: var(--border-strong);
  background: var(--bg-surface);
  color: var(--text-primary);
}
.boson-theme-btn svg { width: 14px; height: 14px; flex: none; }

.boson-header__coord {
  display: none;
  align-items: center;
  padding: 0 12px;
  border-left: 1px solid var(--border-hairline);
  font: 500 10px/1 var(--font-mono);
  letter-spacing: 0.04em;
  color: var(--text-muted);
  white-space: nowrap;
}
@media (min-width: 1024px) { .boson-header__coord { display: flex; } }

@media (max-width: 719px) {
  .boson-switcher { padding: 0 8px; }
  .boson-switcher__label { display: none; }
  .boson-lockup { padding: 0 10px; flex: 1 1 auto; min-height: var(--boson-header-h); }
  .boson-lockup__badge { display: none; }
  .boson-header--stack .boson-header__nav,
  .boson-header--stack .boson-header__actions {
    flex: 1 1 100%;
    order: 3;
    margin: 0;
    padding: 6px 8px;
    min-height: 44px;
    border-top: 1px solid var(--border-hairline);
    justify-content: space-between;
  }
}

/* ── 3. Shared Primitives ────────────────────────────────────────────────── */
.boson-display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
}
.boson-serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.boson-mono { font-family: var(--font-mono); }

.boson-index {
  font: 600 11px/1 var(--font-mono);
  letter-spacing: 0.04em;
  color: var(--brand-ink);
  white-space: nowrap;
}
.boson-eyebrow {
  font: 600 11px/1.2 var(--font-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.boson-coord {
  font: 500 10px/1 var(--font-mono);
  letter-spacing: 0.04em;
  color: var(--text-muted);
  white-space: nowrap;
}

.boson-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  font: 600 10.5px/1.2 var(--font-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--text-primary);
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: 6px;
}
.boson-badge--accent {
  color: var(--brand-ink);
  background: var(--brand-tint);
  border-color: var(--brand-line);
}
.boson-badge--solid {
  color: #FFFFFF;
  background: var(--brand-accent-dark);
  border-color: var(--brand-accent-dark);
}
.boson-badge--pulse {
  color: #92400E;
  background: #FEF3C7;
  border-color: #FCD34D;
}
[data-theme="dark"] .boson-badge--pulse {
  color: #FCD34D;
  background: rgba(245, 158, 11, 0.16);
  border-color: rgba(245, 158, 11, 0.35);
}
.boson-badge--ok {
  color: var(--status-ok);
  background: var(--status-ok-soft);
  border-color: color-mix(in srgb, var(--status-ok) 32%, var(--bg-surface));
}
.boson-badge--warn {
  color: var(--status-warn);
  background: var(--status-warn-soft);
  border-color: color-mix(in srgb, var(--status-warn) 32%, var(--bg-surface));
}
.boson-badge--bad {
  color: var(--status-bad);
  background: var(--status-bad-soft);
  border-color: color-mix(in srgb, var(--status-bad) 32%, var(--bg-surface));
}

.boson-kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  font: 500 11px/1 var(--font-mono);
  color: var(--text-primary);
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-bottom-width: 2px;
  border-radius: 6px;
}

.boson-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  font: 600 14px/1 var(--font-sans);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  color: var(--text-primary);
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-control);
  transition: background-color .12s, border-color .12s, color .12s;
}
.boson-btn:hover { border-color: var(--brand-accent); }
.boson-btn--primary {
  color: #FFFFFF;
  background: var(--brand-accent);
  border-color: var(--brand-accent);
}
.boson-btn--primary:hover {
  background: var(--brand-accent-dark);
  border-color: var(--brand-accent-dark);
}
.boson-btn--lg { min-height: 46px; padding: 0 22px; font-size: 15px; border-radius: var(--radius-card); }
.boson-btn--sm { min-height: 32px; padding: 0 11px; font-size: 12.5px; }

.boson-btn:focus-visible,
.boson-switcher__pill:focus-visible,
.boson-theme-btn:focus-visible,
.boson-lockup:focus-visible,
.boson-switcher__item:focus-visible,
.boson-header__nav a:focus-visible {
  outline: 2px solid var(--brand-accent);
  outline-offset: 2px;
}

.boson-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-card);
}
.boson-cells {
  display: grid;
  gap: 1px;
  background: var(--border-hairline);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.boson-cells > * {
  background: var(--bg-surface);
  min-width: 0;
}

.boson-plate {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.boson-plate .boson-logo { width: 58%; height: 58%; }
.boson-plate__tag {
  position: absolute;
  font: 500 9.5px/1 var(--font-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  z-index: 3;
}
.boson-plate__tag--tl { top: 8px; left: 10px; }
.boson-plate__tag--tr { top: 8px; right: 10px; }
.boson-plate__tag--bl { bottom: 8px; left: 10px; }
.boson-plate__tag--br { bottom: 8px; right: 10px; }

/* Ecosystem footer strip */
.boson-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  font: 500 11px/1.4 var(--font-mono);
  letter-spacing: 0.03em;
  color: var(--text-muted);
}
.boson-foot .boson-logo { width: 18px; height: 18px; }
.boson-foot a {
  color: var(--text-primary);
  text-decoration: none;
}
.boson-foot a:hover {
  color: var(--brand-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.boson-foot__sep { opacity: 0.45; }
.boson-foot__higgs {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border: 1px solid var(--border-hairline);
  border-radius: 6px;
  background: var(--bg-canvas);
  color: var(--text-muted);
}

@media (prefers-reduced-motion: reduce) {
  .boson-switcher__chev,
  .boson-header__nav a::after,
  .boson-btn,
  .boson-switcher__pill,
  .boson-theme-btn { transition: none; }
}
@media print {
  .boson-header,
  boson-global-header,
  .boson-foot,
  .boson-skip { display: none !important; }
}
