@font-face {
  font-family: "Geist Variable";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/licenses/geist-latin-wght-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Geist Mono Variable";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/licenses/geist-mono-latin-wght-normal.woff2") format("woff2");
}
:root {
  --site-header-height: 64px;
  color-scheme: dark;
  font:
    16px/1.5 "Geist Variable",
    ui-sans-serif,
    system-ui,
    sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
}
[hidden] {
  display: none !important;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
button,
input,
select,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 3px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--site-header-height);
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 32px;
  border-bottom: 1px solid var(--border);
  background: var(--card);
}
.brand {
  display: flex;
  align-items: center;
}
.brand img {
  width: 64px;
  height: auto;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted-foreground);
  font-size: 13px;
}
.breadcrumb > span:last-child {
  color: var(--foreground);
}
.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.button {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  box-shadow: none;
  outline: none;
  color: var(--foreground);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  height: 36px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}
.button:hover {
  background: var(--accent);
  text-decoration: none;
}
.button.outline {
  border-color: var(--border);
}
.button.primary {
  color: var(--primary-foreground);
  background: var(--primary);
}
.button.primary:hover {
  opacity: 0.9;
}
.page-layout {
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  min-height: calc(100dvh - var(--site-header-height));
  width: 100%;
}
.sidebar {
  padding: 28px 16px;
  border-right: 1px solid var(--border);
  background: var(--sidebar);
  align-self: start;
  position: sticky;
  top: var(--site-header-height);
  height: calc(100dvh - var(--site-header-height));
  overflow-y: auto;
  overscroll-behavior-y: contain;
}
.nav-label {
  margin: 0 10px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted-foreground);
}
.projects-label {
  margin-top: 28px;
}
.nav-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  margin: 3px 0;
  border-radius: 6px;
  font-size: 13px;
}
.nav-item:hover {
  text-decoration: none;
  background: var(--sidebar-accent);
}
.nav-item[aria-current] {
  background: var(--sidebar-accent);
  color: var(--sidebar-accent-foreground);
  font-weight: 500;
}
.nav-count {
  color: var(--muted-foreground);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.sidebar-footer {
  display: grid;
  gap: 12px;
  padding: 24px 10px;
  margin-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted-foreground);
}
main {
  min-width: 0;
  padding: 36px 40px 20px;
}
.page-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.3;
}
.page-heading p {
  margin: 8px 0 0;
  max-width: 600px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted-foreground);
}
.downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.metadata {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin: 20px 0 28px;
  color: var(--muted-foreground);
  font-size: 12px;
}
.metadata > span + span::before {
  content: "·";
  margin-right: 16px;
}
.metadata a {
  margin-left: auto;
}
h2 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}
.about {
  margin: 24px 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 12px;
  color: var(--muted-foreground);
}
.about > summary {
  padding: 14px 16px;
  cursor: pointer;
}
.about > div {
  padding: 0 20px 16px;
  line-height: 1.8;
  max-width: 850px;
}
.about a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  color: var(--muted-foreground);
  font-size: 11px;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  padding: 12px;
  background: var(--popover);
  z-index: 20;
}
.skip-link:focus {
  top: 12px;
}
@media (max-width: 1000px) {
  main {
    padding: 28px 24px;
  }
  .page-layout {
    grid-template-columns: 200px minmax(0, 1fr);
  }
}
@media (max-width: 700px) {
  .site-header {
    padding: 0 16px;
    gap: 16px;
  }
  .breadcrumb {
    display: none;
  }
  .page-layout {
    display: block;
  }
  .sidebar {
    position: static;
    height: auto;
    overflow-y: visible;
    overscroll-behavior-y: auto;
    padding: 12px 16px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .sidebar nav {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    position: static;
  }
  .nav-label,
  .sidebar-footer {
    display: none;
  }
  .nav-item {
    flex-shrink: 0;
    gap: 8px;
  }
  main {
    padding: 24px 16px;
  }
  h1 {
    font-size: 22px;
  }
  .metadata {
    gap: 10px;
  }
  .metadata > span + span::before {
    margin-right: 10px;
  }
  .metadata a {
    margin-left: 0;
  }
}

.loading {
  padding: 32px 0;
  color: var(--muted-foreground);
  font-size: 14px;
}
