@charset "UTF-8";
:root {
  --orange: #C3522C;
  --ink: #292929;
  --muted: #626262;
  --line: #d5d5d5;
  --paper: #f4f4f4;
  font-family: "Segoe UI", "Microsoft YaHei UI", "PingFang SC", sans-serif;
  color: var(--ink);
  background: #fff;
  font-size: 15px;
  line-height: 1.85;
  font-synthesis: none;
  scroll-padding-top: 94px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
a,
button {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
button:disabled {
  cursor: default;
}
img,
svg {
  max-width: 100%;
}
img {
  height: auto;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 600;
  line-height: 1.5;
}
h1 {
  font-size: 36px;
}
h2 {
  font-size: 24px;
}
h3 {
  font-size: 17px;
}
p {
  color: var(--muted);
}
p + p {
  margin-top: 12px;
}
strong {
  font-weight: 600;
}
code,
pre,
.mono {
  font-family: Consolas, "SFMono-Regular", monospace;
}
code {
  font-size: 0.9em;
}
p code,
li code,
dd code {
  background: #eee;
  padding: 2px 4px;
  overflow-wrap: anywhere;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 13px;
  line-height: 1.9;
}
::selection {
  background: #ddd;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.container {
  width: min(1120px, calc(100% - 64px));
  margin-inline: auto;
}
.narrow {
  max-width: 960px;
}
.icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  vertical-align: middle;
}
.muted {
  color: var(--muted);
}
.eyebrow {
  font-size: 13px;
  color: var(--muted);
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  background: #292929;
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus {
  top: 10px;
}

/* 导航与基础控件 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #f3f3f3;
  border-bottom: 1px solid #ccc;
}
.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  line-height: 1;
  flex-shrink: 0;
}
.brand:hover {
  text-decoration: none;
}
.brand > img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  color: var(--orange);
  fill: var(--orange);
}
.brand > span {
  font-family: "Segoe UI", sans-serif;
  font-size: 26px;
  font-weight: 650;
}
#main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}
#main-nav a {
  font-size: 14px;
  white-space: nowrap;
  padding: 21px 0 18px;
  border-bottom: 3px solid transparent;
}
#main-nav [aria-current="page"] {
  border-color: var(--orange);
  font-weight: 600;
}
.header-download {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 23px;
  border-left: 1px solid #ccc;
  font-size: 13px;
}
.header-download .icon {
  width: 16px;
}
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid #bcbcbc;
  padding: 8px;
  border-radius: 2px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 10px 17px;
  border: 1px solid #bcbcbc;
  border-radius: 2px;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 600;
}
.button .icon {
  width: 17px;
  height: 17px;
}
.primary {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
.secondary {
  background: #f5f5f5;
  color: #333;
}
.secondary:hover {
  background: #e9e9e9;
}
.disabled {
  background: #e6e6e6;
  border-color: #ccc;
  color: #666;
  cursor: default;
}
.button-tag {
  margin-left: 5px;
  padding-left: 10px;
  border-left: 1px solid #aaa;
  font-size: 12px;
  white-space: nowrap;
}
.text-link,
.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.text-link .icon,
.inline-link .icon {
  width: 15px;
  height: 15px;
}
.inline-link {
  margin-top: 15px;
}
.version-label {
  font-size: 13px;
  color: var(--muted);
}
.cta-caption {
  font-size: 12px;
  margin: 8px 0 0;
  color: #666;
}

/* 首页：软件定位、下载、实机界面 */
.home-banner {
  position: relative;
  isolation: isolate;
  background: #fafafa;
  border-bottom: 1px solid #ddd;
  margin-bottom: 30px;
  overflow: hidden;
}
.home-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/assets/bioj-background-wide.png") right center / auto 100% no-repeat;
  image-rendering: pixelated;
  opacity: .22;
  pointer-events: none;
  z-index: -1;
}
.home-intro {
  display: flex;
  align-items: center;
  padding: 64px 0;
  min-height: 540px;
}
.home-intro h1 {
  font-family: "Segoe UI", sans-serif;
  font-size: 46px;
  line-height: 1.2;
}
.home-intro-copy {
  position: relative;
  max-width: 620px;
  width: 62%;
}
.product-description {
  font-size: 25px;
  color: var(--ink);
  margin-top: 9px;
}
.intro-text {
  font-size: 15px;
  max-width: 595px;
  margin-top: 17px;
  line-height: 1.95;
}
.home-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 14px;
  margin-top: 24px;
}
.intro-platform {
  font-size: 12px;
  margin-top: 19px;
}
.intro-note {
  font-size: 12px;
  margin-top: 20px;
}
.version-summary {
  background: rgba(255, 255, 255, .86);
  border: 1px solid var(--line);
  border-top: 2px solid var(--orange);
  padding: 19px 23px 21px;
}
.version-summary h2 {
  font-size: 16px;
}
.version-summary dl {
  margin: 11px 0 0;
}
.version-summary dl > div {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 8px;
  padding: 6px 0;
  font-size: 13px;
}
.version-summary dt {
  color: #666;
}
.version-summary dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.version-summary .inline-link {
  display: flex;
  margin-top: 10px;
  font-size: 12px;
}
.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 17px;
}
.section-heading > p {
  font-size: 13px;
}
.home-screenshot {
  padding-bottom: 32px;
}
.home-screenshot h2 {
  font-size: 21px;
}
.real-screenshot > a {
  display: block;
  background: #e9e9e9;
  padding: 5px;
  border: 1px solid #bfbfbf;
  line-height: 0;
}
.real-screenshot img {
  display: block;
  width: 100%;
  height: auto;
}
.real-screenshot figcaption {
  font-size: 12px;
  color: #666;
  margin-top: 9px;
  line-height: 1.8;
}
.screenshot-placeholder {
  min-height: 220px;
  border: 1px dashed #bcbcbc;
  background: #f2f2f2;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.screenshot-placeholder > .icon {
  width: 28px;
  height: 28px;
  color: #777;
}
.screenshot-placeholder p {
  font-size: 13px;
  text-align: center;
}
.home-section {
  padding: 28px 0 31px;
  border-top: 1px solid var(--line);
}
.home-section > h2 {
  margin-bottom: 18px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.feature + .feature {
  border-left: 1px solid #ddd;
  padding-left: 28px;
}
.feature .text-list {
  font-size: 14px;
  margin-bottom: 0;
}
.home-note {
  font-size: 13px;
  margin-top: 24px;
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}
.steps li {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.step-number {
  color: var(--orange);
  font-size: 20px;
  font-weight: 600;
}
.steps h3 {
  font-size: 16px;
  margin-bottom: 7px;
}
.steps p {
  font-size: 13px;
}
.home-database {
  margin-bottom: 18px;
}
.home-database > p {
  max-width: 920px;
  font-size: 14px;
}

/* 下载页 */
.download-section {
  margin-bottom: 38px;
}
.download-section > h2 {
  font-size: 21px;
  margin-bottom: 16px;
}
.download-file {
  padding: 22px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 94px;
}
.download-file h3 {
  font-size: 16px;
  overflow-wrap: anywhere;
}
.file-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 22px;
  margin-top: 18px;
}
.file-links .text-link {
  font-size: 13px;
}
.download-pending {
  font-size: 13px;
  color: #666;
  padding: 7px 12px;
  background: #f2f2f2;
  border: 1px solid #ddd;
}
.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  border-top: 1px solid var(--line);
  padding: 22px 0 45px;
  font-size: 13px;
}
.related-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.doc-help {
  margin-top: 20px;
}
.page-head {
  padding: 39px 0 30px;
}
.page-head h1 {
  margin-bottom: 12px;
}
.page-description {
  font-size: 15px;
  line-height: 1.95;
  max-width: 820px;
}
.download-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 45px;
  align-items: start;
}
.download-card {
  border: 1px solid var(--line);
  padding: 26px;
}
.download-card h2 {
  margin: 12px 0 5px;
  font-size: 27px;
}
.download-card > .muted {
  font-size: 13px;
}
.download-action {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-top: 24px;
}
.download-action .button {
  width: 100%;
}
.download-state {
  font-size: 12px;
  margin-top: 11px;
}
.release-facts {
  margin: 24px 0 0;
  font-size: 13px;
}
.release-facts > div {
  display: grid;
  grid-template-columns: 89px minmax(0, 1fr);
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid #e2e2e2;
}
.release-facts dt {
  color: #666;
}
.release-facts dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.release-facts small {
  display: block;
  font-size: 11px;
  color: #666;
}
.file-name {
  font-size: 12px;
}
.checksum {
  background: #f4f4f4;
  border: 1px solid #ddd;
  padding: 14px 16px;
  margin-top: 14px;
}
.checksum > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}
.checksum code {
  display: block;
  overflow-wrap: anywhere;
  margin-top: 9px;
  font-size: 12px;
  line-height: 1.9;
}
.checksum > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 13px;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.checksum > a .icon {
  width: 14px;
  height: 14px;
}
.copy-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid #c6c6c6;
  background: #fff;
  color: #444;
  padding: 3px 8px;
  font-size: 12px;
  border-radius: 2px;
}
.copy-button .icon {
  width: 13px;
  height: 13px;
}
.aside-section {
  padding: 0 0 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.aside-section > .icon {
  display: none;
}
.aside-section h3 {
  margin-bottom: 9px;
}
.aside-section p {
  font-size: 14px;
  line-height: 1.95;
}
.aside-section .inline-link {
  margin-top: 12px;
}
.release-safety {
  padding: 23px 26px;
  margin-top: 32px;
  background: #f5f5f5;
  border: 1px solid var(--line);
}
.release-safety h2 {
  font-size: 22px;
}
.release-safety > p {
  font-size: 13px;
  margin-top: 8px;
}
.text-list {
  padding-left: 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.95;
  margin: 14px 0;
}
.text-list li + li {
  margin-top: 5px;
}
.update-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  padding: 34px 0 44px;
}
.update-panel h2 {
  font-size: 23px;
  margin-bottom: 13px;
}
.update-panel p {
  font-size: 14px;
  line-height: 1.95;
}
.notice {
  display: flex;
  align-items: start;
  gap: 13px;
  padding: 17px 19px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--orange);
  background: #f4f4f4;
}
.notice-mark {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 18px;
  height: 18px;
  border: 1px solid #777;
  border-radius: 50%;
  font:
    12px Georgia,
    serif;
  color: #555;
  flex-shrink: 0;
  margin-top: 4px;
}
.notice strong {
  font-size: 14px;
}
.notice p {
  margin-top: 5px;
  font-size: 13px;
  line-height: 1.95;
}
.code-box {
  border: 1px solid var(--line);
  background: #f4f4f4;
  padding: 15px;
  display: flex;
  align-items: start;
  gap: 15px;
  justify-content: space-between;
}
.code-box code {
  overflow-wrap: anywhere;
  font-size: 12px;
}

/* 文档、数据库与关于页 */
.docs-grid {
  display: grid;
  grid-template-columns: 215px minmax(0, 1fr);
  gap: 44px;
  align-items: start;
  padding-bottom: 48px;
}
.docs-sidebar {
  position: sticky;
  top: 95px;
  border-right: 1px solid var(--line);
  padding-right: 20px;
}
.docs-sidebar > .eyebrow {
  font-weight: 600;
}
.docs-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 12px;
}
.docs-sidebar nav a {
  display: flex;
  gap: 11px;
  font-size: 13px;
  padding: 6px 0;
}
.docs-nav-group + .docs-nav-group { margin-top: 15px; }
.docs-sidebar nav .docs-group-link { font-weight: 650; font-size: 14px; }
.docs-group-links { margin: 4px 0 8px; padding-left: 14px; border-left: 1px solid var(--line); }
.docs-group-links:empty { display: none; }
.docs-sidebar nav span {
  color: #777;
  font:
    12px Consolas,
    monospace;
  padding-top: 5px;
}
.docs-sidebar a[aria-current="location"] {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-underline-offset: 5px;
}
.docs-body {
  min-width: 0;
}
.docs-body > * + * {
  margin-top: 44px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.doc-chapter, .doc-group { scroll-margin-top: 12px; }
.doc-group > .doc-chapter { margin-top: 28px; }
.doc-group > .doc-chapter > h3 { font-size: 21px; margin-bottom: 14px; }
.docs-body h4 { font-size: 17px; margin-bottom: 8px; }
.doc-group-empty { margin-top: 10px; }
.doc-block + .doc-block { margin-top: 22px; }
.docs-body h3 { font-size: 18px; margin-bottom: 8px; }
.docs-body .markdown { overflow-wrap: anywhere; }
.docs-body h2 {
  font-size: 24px;
  margin-bottom: 15px;
}
.docs-body p,
.docs-body ol,
.docs-body ul {
  font-size: 15px;
  line-height: 2;
}
.docs-body p a,
.docs-body li a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.docs-body ol {
  color: var(--muted);
  padding-left: 23px;
  margin: 17px 0;
}
.docs-body li {
  padding-left: 3px;
  margin-bottom: 8px;
}
.docs-body .notice {
  margin-block: 20px;
}
.docs-body .notice p {
  font-size: 13px;
}
.section-index {
  display: none;
}
.definition-list {
  margin: 18px 0 0;
}
.definition-list > div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 20px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.definition-list dt {
  font-weight: 600;
  font-size: 14px;
}
.definition-list dd {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  overflow-wrap: anywhere;
  line-height: 2;
}
.doc-workflow li p {
  margin-top: 5px;
}
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  margin-block: 17px;
}
table {
  border-collapse: collapse;
  width: 100%;
  min-width: 420px;
  font-size: 13px;
  line-height: 1.95;
}
th,
td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
}
th {
  background: #eee;
  font-weight: 600;
  text-align: left;
}
td {
  color: var(--muted);
}
td:first-child {
  white-space: nowrap;
}
tbody tr:last-child td {
  border-bottom: 0;
}
details {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
summary {
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
details p {
  margin: 11px 0 3px;
  padding-left: 17px;
  font-size: 14px !important;
}
.content-section {
  padding: 29px 0;
  border-bottom: 1px solid var(--line);
}
.content-section:last-child {
  padding-bottom: 45px;
  border-bottom: 0;
}
.content-section h2 {
  font-size: 24px;
  margin-bottom: 17px;
}
.content-section > p {
  font-size: 14px;
  line-height: 2;
}
.simple-steps {
  list-style: none;
  padding: 0;
  margin: 17px 0 0;
  display: grid;
  gap: 23px;
}
.simple-steps li {
  display: flex;
  gap: 20px;
}
.simple-steps li > span {
  font:
    17px Consolas,
    monospace;
  color: var(--orange);
  width: 30px;
  flex-shrink: 0;
  padding-top: 3px;
}
.simple-steps h3 {
  font-size: 16px;
  margin-bottom: 5px;
}
.simple-steps p {
  font-size: 14px;
}
.status-label {
  display: inline-block;
  font-size: 12px;
  padding: 3px 9px;
  color: #555;
  background: #eee;
  border: 1px solid #d5d5d5;
  line-height: 1.6;
  white-space: nowrap;
}
.database-catalog .section-heading {
  margin-bottom: 20px;
}
.database-catalog .section-heading h2 {
  margin-bottom: 0;
}
.empty-state {
  padding: 30px 24px;
  border: 1px solid var(--line);
  background: #f5f5f5;
}
.empty-state > .icon {
  display: none;
}
.empty-state h3 {
  font-size: 18px;
  margin-bottom: 12px;
}
.empty-state p {
  font-size: 14px;
  line-height: 2;
}
.empty-state > span {
  display: block;
  font-size: 12px;
  margin-top: 14px;
  color: #666;
}
.requirements-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 23px 32px;
}
.requirements-grid h3 {
  font-size: 16px;
  margin-bottom: 7px;
}
.requirements-grid p {
  font-size: 13px;
  line-height: 1.95;
}
.database-entry {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.release-entry {
  border-top: 1px solid var(--line);
  padding: 25px 0 30px;
}
.release-entry-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 19px;
}
.release-entry-head h2 {
  font-size: 27px;
}
.release-entry-head time {
  font-size: 13px;
  color: #666;
  margin-left: auto;
}
.release-summary {
  font-size: 15px;
  line-height: 2;
  margin-bottom: 21px;
}
.release-entry h3 {
  font-size: 17px;
  margin: 21px 0 10px;
}
.release-entry > .muted {
  font-size: 14px;
}
.release-entry-footer {
  display: flex;
  gap: 19px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 24px;
}
.release-entry-footer > .mono {
  font-size: 12px;
  color: #666;
}
.release-entry-footer > .muted {
  font-size: 13px;
}
.release-entry-footer .inline-link {
  margin-top: 0;
}
.empty-note {
  border-top: 1px solid var(--line);
  padding: 20px 0 40px;
  font-size: 13px;
  color: #666;
}
.about-intro {
  border-top: 1px solid var(--line);
  padding: 27px 0;
}
.about-intro h2 {
  font-size: 24px;
  margin-bottom: 15px;
}
.about-intro p {
  font-size: 15px;
  line-height: 2;
}
.pending-text {
  color: #666;
  font-size: 13px;
}
.feedback-template {
  margin-top: 22px;
  border: 1px solid var(--line);
  padding: 22px;
  background: #f6f6f6;
}
.feedback-template pre {
  margin: 0 0 20px;
  color: #555;
}
.content-section > .notice {
  margin-top: 20px;
}
.not-found {
  padding: 75px 0;
}
.not-found h1 {
  font-size: 32px;
  margin-bottom: 18px;
}
.not-found p {
  margin-bottom: 24px;
}
.not-found > .text-link {
  margin-left: 22px;
}

/* 页脚与操作提示 */
.site-footer {
  border-top: 1px solid #ccc;
  background: #f2f2f2;
}
.footer-top {
  position: relative;
  isolation: isolate;
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 28px;
  padding-block: 27px;
  padding-right: 242px;
  min-height: 144px;
}
.footer-top::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 10px;
  width: 224px;
  height: 112px;
  background: url("/assets/bioj-background-wide.png") center / contain no-repeat;
  opacity: .22;
  pointer-events: none;
  z-index: -1;
}
.footer-top .brand > span {
  font-size: 23px;
}
.footer-top .brand > img {
  width: 23px;
  height: 23px;
}
.footer-top p {
  font-size: 12px;
  margin-top: 10px;
}
.footer-links {
  display: flex;
  gap: 25px;
  font-size: 13px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: #666;
  padding-block: 15px;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  background: #333;
  color: #fff;
  border: 1px solid #222;
  padding: 10px 18px;
  font-size: 13px;
  opacity: 0;
  z-index: 80;
  pointer-events: none;
  max-width: calc(100% - 32px);
}
.toast.visible {
  opacity: 1;
}

@media (max-width: 1000px) {
  .header-download {
    display: none;
  }
  #main-nav {
    gap: 22px;
  }
  .home-intro {
    min-height: 500px;
  }
  .home-intro h1 {
    font-size: 42px;
  }
  .product-description {
    font-size: 23px;
  }
  .home-actions {
    gap: 12px;
  }
  .home-actions .button {
    font-size: 13px;
    padding-inline: 13px;
  }
  .version-summary {
    padding-inline: 18px;
  }
  .version-summary dl > div {
    grid-template-columns: 72px minmax(0, 1fr);
    font-size: 12px;
  }
  .feature-grid {
    gap: 22px;
  }
  .feature + .feature {
    padding-left: 20px;
  }
  .steps {
    gap: 20px;
  }
  .download-grid {
    gap: 28px;
    grid-template-columns: 1.4fr 1fr;
  }
  .download-card {
    padding: 23px;
  }
  .docs-grid {
    grid-template-columns: 195px minmax(0, 1fr);
    gap: 30px;
  }
  .update-panel {
    gap: 30px;
  }
}
@media (max-width: 760px) {
  .home-intro-copy {
    width: 100%;
  }
  .version-summary dl {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 22px;
  }
  .version-summary .inline-link {
    display: inline-flex;
    margin-right: 22px;
  }
  .download-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .download-aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .aside-section {
    margin-bottom: 0;
  }
  .aside-section:last-child {
    grid-column: 1 / -1;
  }
  .update-panel {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
  .docs-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .docs-sidebar {
    position: static;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 0 20px;
  }
  .docs-sidebar nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 18px;
  }
  .docs-nav-group { grid-column: 1 / -1; }
  .docs-group-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 18px; }
  .requirements-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  :root {
    scroll-padding-top: 88px;
  }
  .container {
    width: calc(100% - 36px);
  }
  .header-inner {
    min-height: 62px;
    position: relative;
    flex-wrap: wrap;
  }
  .brand > span {
    font-size: 24px;
  }
  .brand > img {
    width: 28px;
    height: 28px;
  }
  .nav-toggle {
    display: block;
    margin-left: auto;
    line-height: 1;
  }
  #main-nav {
    display: none;
    position: absolute;
    left: -18px;
    right: -18px;
    top: 61px;
    padding: 12px 18px 17px;
    border-bottom: 1px solid #bbb;
    background: #f3f3f3;
    grid-template-columns: 1fr 1fr;
    gap: 5px 24px;
  }
  #main-nav.open {
    display: grid;
  }
  #main-nav a {
    padding: 8px 0;
    border-bottom: 0;
    font-size: 14px;
  }
  #main-nav [aria-current="page"] {
    text-decoration: underline;
    text-decoration-color: var(--orange);
    text-underline-offset: 5px;
  }
  .home-intro {
    padding: 29px 0 25px;
    min-height: 0;
  }
  .home-intro h1 {
    font-size: 38px;
  }
  .home-banner::before {
    background-size: auto 420px;
    background-position: 58% top;
    opacity: .15;
  }
  .product-description {
    font-size: 22px;
    margin-top: 7px;
  }
  .intro-text {
    font-size: 14px;
    margin-top: 14px;
  }
  .home-actions {
    gap: 12px;
    margin-top: 21px;
  }
  .home-actions .button {
    font-size: 12px;
    gap: 6px;
    padding: 10px 12px;
  }
  .home-actions .button .icon {
    width: 14px;
    height: 14px;
  }
  .intro-platform,
  .intro-note,
  .cta-caption {
    font-size: 11px;
  }
  .intro-platform {
    margin-top: 16px;
  }
  .version-summary {
    padding: 16px;
  }
  .version-summary dl {
    grid-template-columns: 1fr;
  }
  .version-summary dl > div {
    font-size: 13px;
    grid-template-columns: 88px minmax(0, 1fr);
    padding: 5px 0;
  }
  .version-summary .inline-link {
    font-size: 12px;
  }
  .section-heading {
    gap: 15px;
    margin-bottom: 14px;
  }
  .section-heading h2 {
    font-size: 22px;
  }
  .section-heading .text-link {
    font-size: 12px;
  }
  .home-screenshot {
    padding-bottom: 24px;
  }
  .real-screenshot > a {
    padding: 2px;
  }
  .real-screenshot figcaption {
    font-size: 11px;
  }
  .home-section {
    padding: 24px 0;
  }
  .home-section h2 {
    font-size: 22px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .feature + .feature {
    padding: 17px 0 0;
    border-left: 0;
    border-top: 1px solid #e2e2e2;
    margin-top: 17px;
  }
  .feature .text-list {
    font-size: 14px;
    margin-top: 10px;
  }
  .home-note {
    font-size: 13px;
    margin-top: 21px;
  }
  .steps {
    gap: 20px 18px;
  }
  .steps li {
    gap: 8px;
  }
  .steps h3 {
    font-size: 15px;
    margin-bottom: 5px;
  }
  .steps p {
    font-size: 12px;
  }
  .home-database > p {
    font-size: 14px;
  }
  .page-head {
    padding: 28px 0 24px;
  }
  .page-head h1 {
    font-size: 29px;
    margin-bottom: 10px;
  }
  .page-description {
    font-size: 14px;
  }
  .download-card {
    padding: 21px 17px;
  }
  .download-card h2 {
    font-size: 25px;
  }
  .download-action .button {
    font-size: 12px;
    padding-inline: 10px;
    gap: 7px;
  }
  .button-tag {
    font-size: 11px;
    padding-left: 7px;
  }
  .download-state {
    font-size: 12px;
  }
  .release-facts > div {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 9px;
    font-size: 12px;
  }
  .file-name,
  .checksum code {
    font-size: 11px;
  }
  .checksum {
    padding: 12px;
  }
  .download-aside {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .aside-section p {
    font-size: 14px;
  }
  .release-safety {
    padding: 20px 17px;
    margin-top: 26px;
  }
  .release-safety h2 {
    font-size: 20px;
  }
  .text-list {
    font-size: 13px;
  }
  .update-panel {
    padding: 28px 0 35px;
  }
  .update-panel h2 {
    font-size: 22px;
  }
  .notice {
    padding: 15px 13px;
    gap: 10px;
  }
  .notice p {
    font-size: 12px;
  }
  .docs-sidebar nav a {
    font-size: 12px;
    gap: 8px;
  }
  .docs-body h2 {
    font-size: 22px;
  }
  .docs-body p,
  .docs-body ol,
  .docs-body ul {
    font-size: 14px;
  }
  .definition-list > div {
    grid-template-columns: 83px minmax(0, 1fr);
    gap: 12px;
    padding: 15px 0;
  }
  .definition-list dt,
  .definition-list dd {
    font-size: 13px;
  }
  .content-section h2 {
    font-size: 22px;
  }
  .simple-steps li {
    gap: 13px;
  }
  .simple-steps li > span {
    width: 25px;
  }
  .requirements-grid {
    gap: 24px 22px;
  }
  .requirements-grid h3 {
    font-size: 15px;
  }
  .requirements-grid p {
    font-size: 12px;
  }
  .database-catalog .section-heading {
    align-items: center;
    gap: 10px;
  }
  .database-catalog .section-heading h2 {
    font-size: 21px;
  }
  .status-label {
    font-size: 11px;
    padding: 3px 6px;
  }
  .empty-state {
    padding: 22px 17px;
  }
  .empty-state h3 {
    font-size: 17px;
  }
  .empty-state p {
    font-size: 13px;
  }
  .release-entry-head {
    gap: 12px;
  }
  .release-entry-head time {
    margin-left: 0;
    width: 100%;
    font-size: 12px;
  }
  .release-summary {
    font-size: 14px;
  }
  .release-entry-footer {
    gap: 14px;
  }
  .release-entry-footer > .mono {
    font-size: 11px;
  }
  .about-intro h2 {
    font-size: 22px;
  }
  .about-intro p {
    font-size: 14px;
  }
  .feedback-template {
    padding: 18px;
  }
  .feedback-template pre {
    font-size: 12px;
  }
  .footer-top {
    display: block;
    padding-block: 24px;
    padding-right: 0;
    min-height: 0;
  }
  .footer-top::before {
    width: 128px;
    height: 64px;
    top: 16px;
    bottom: auto;
  }
  .footer-links {
    margin-top: 22px;
    font-size: 12px;
    gap: 22px;
  }
  .footer-bottom {
    display: block;
    font-size: 11px;
  }
  .footer-bottom > span {
    display: block;
  }
  .footer-bottom > span + span {
    margin-top: 6px;
  }
  .not-found {
    padding: 55px 0;
  }
  .not-found h1 {
    font-size: 28px;
  }
  .not-found > .text-link {
    display: block;
    margin: 20px 0 0;
  }
  html:not(.js) .nav-toggle {
    display: none;
  }
  html:not(.js) .header-inner {
    padding-block: 15px;
    gap: 15px;
  }
  html:not(.js) #main-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    padding: 0;
    border: 0;
    gap: 4px 20px;
  }
}

.markdown {color:var(--muted);line-height:1.95}
.markdown h3 {margin:20px 0 10px;color:var(--ink)}
.markdown ul,.markdown ol {padding-left:22px}
.markdown a {text-decoration:underline;text-underline-offset:4px}
.markdown pre {padding:16px;background:#f3f3f3;overflow:auto}

/* BioJFlow project hub */
.hub-site{font-size:16px;background:#fff;color:#242424}
.hub-header{background:#f4f4f4;border-bottom:1px solid #d5d5d5}
.hub-header>.container{min-height:80px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.hub-brand{display:inline-flex;align-items:center;gap:12px;font-size:25px;font-weight:650;letter-spacing:-.6px;text-decoration:none!important;color:#242424}
.hub-mark{color:#c3522c;display:flex;font-size:23px;letter-spacing:-4px;border-left:2px solid #c3522c;padding-left:6px;margin-right:3px;line-height:1}
.hub-mark>span{color:#242424}
.hub-header nav{display:flex;align-items:center;gap:34px;font-size:15px}
.hub-header nav [aria-current]{text-decoration:underline;text-decoration-color:#c3522c;text-underline-offset:8px}
.hub-contact{border-left:1px solid #ccc;padding-left:28px}
.hub-hero{padding:82px 0 66px;border-bottom:1px solid #ccc}
.hub-eyebrow{color:#9c3f23;font-size:14px;letter-spacing:.04em;margin:0 0 23px}
.hub-hero h1{font-size:clamp(40px,5.5vw,74px);line-height:1.28;font-weight:650;letter-spacing:-2px;margin:0 0 33px}
.hub-hero-bottom{display:flex;gap:60px;align-items:flex-end;justify-content:space-between}
.hub-hero-bottom p{max-width:580px;line-height:1.9;font-size:17px;color:#555;margin:0}
.hub-hero-bottom .button{white-space:nowrap;font-size:15px;padding:12px 27px}
.hub-projects{padding:40px 0 64px}
.hub-section-head{display:flex;align-items:baseline;justify-content:space-between;gap:20px;margin-bottom:27px}
.hub-section-head h2{font-size:25px;margin:0;font-weight:600}
.hub-text-link{text-decoration:underline;text-decoration-color:#b6b6b6;text-underline-offset:5px;font-size:15px}
.projects-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:46px}
.project-card{min-width:0}
.project-card-meta{display:flex;gap:14px;justify-content:space-between;color:#666;font-size:14px}
.project-card h3{font-size:29px;letter-spacing:-.5px;margin:13px 0 11px}
.project-card h3 a{text-decoration:none}
.project-card>p{line-height:1.85;font-size:16px;min-height:60px;color:#555;margin:0 0 22px}
.project-cover{display:flex;aspect-ratio:1.82;overflow:hidden;background:#f4f4f4;border:1px solid #d5d5d5;margin-bottom:22px;align-items:center;justify-content:center}
.project-cover>img{width:100%;height:100%;object-fit:contain;display:block}
.project-cover-empty{background:#f4f4f4;color:#777;font-size:14px;border-style:dashed}
.hub-about-strip{padding:36px 0 52px;border-top:1px solid #ccc}
.hub-about-strip h2{font-size:29px;margin-bottom:13px}
.hub-about-strip p{color:#555;margin:0 0 16px}
.hub-footer{background:#f4f4f4;border-top:1px solid #ccc;padding:27px 0}
.hub-footer>.container{display:flex;align-items:center;gap:30px;flex-wrap:wrap}
.hub-footer>.container>span{font-size:14px;color:#666}
.hub-footer>.container>a:last-child{font-size:14px;margin-left:auto}
.hub-page-head{padding:54px 0 32px}
.hub-page-head h1{font-size:42px;line-height:1.35;letter-spacing:-1px;margin:0 0 18px}
.hub-page-head p:not(.hub-eyebrow){max-width:720px;color:#555;font-size:17px;line-height:1.9}
.hub-project-list{padding-bottom:74px}
.hub-project-detail{padding-bottom:72px}
.hub-breadcrumb{padding-top:28px;font-size:14px;color:#666}
.hub-project-detail .hub-page-head{padding-top:26px}
.hub-detail-image{border:1px solid #ccc;background:#f4f4f4;margin:0 0 28px}
.hub-detail-image img{display:block;width:100%;height:auto}
.project-actions{display:flex;align-items:center;gap:15px;flex-wrap:wrap;margin:22px 0}
.hub-pending{padding:13px 17px;background:#f2f2f2;color:#666;font-size:15px}
.hub-detail-body{max-width:800px;margin-top:30px}
.hub-about-page{max-width:900px;padding-bottom:70px}
.hub-about-copy{max-width:720px;font-size:18px;color:#444;line-height:2}
.hub-about-copy p{margin:0 0 20px}
.hub-about-contact{border-top:1px solid #ccc;margin-top:40px;padding-top:30px}
.hub-about-contact h2{font-size:24px;margin-bottom:14px}
.hub-about-contact p{font-size:16px;color:#555;margin-bottom:16px}
.hub-about-contact a{color:#a34324;text-decoration:underline;text-underline-offset:4px}
.hub-project-nav{border-bottom:1px solid #ccc}
.hub-project-nav>.container{display:flex;align-items:center;gap:35px;padding-block:13px}
.project-wordmark{display:inline-flex;align-items:center;gap:10px;font-weight:650;font-size:21px;flex-shrink:0}
.hub-project-nav nav{display:flex;gap:28px;overflow-x:auto;white-space:nowrap;font-size:14px;padding-block:6px}
.hub-project-nav [aria-current]{text-decoration:underline;text-decoration-color:#c3522c;text-underline-offset:7px}
@media(max-width:760px){
.hub-header>.container{min-height:69px;gap:16px;flex-wrap:wrap;padding-block:15px}
.hub-brand{font-size:23px;gap:10px}.hub-header nav{font-size:14px;gap:18px}.hub-contact{display:none}
.hub-hero{padding:45px 0 35px}.hub-hero h1{letter-spacing:-1.4px;font-size:43px;margin-bottom:24px}
.hub-hero-bottom{align-items:flex-start;gap:23px;flex-direction:column}.hub-hero-bottom p{font-size:16px}
.hub-eyebrow{font-size:14px;margin-bottom:20px}.hub-projects{padding:29px 0 40px}
.projects-grid{grid-template-columns:minmax(0,1fr);gap:38px}.project-card+ .project-card{border-top:1px solid #ccc;padding-top:28px}
.project-card h3{font-size:26px}.project-card>p{min-height:0}.hub-section-head h2{font-size:23px}
.hub-footer>.container{gap:18px;align-items:flex-start}.hub-footer>.container>a:last-child{width:100%;margin-left:0}
.hub-page-head{padding:38px 0 25px}.hub-page-head h1{font-size:33px}.hub-page-head p:not(.hub-eyebrow){font-size:16px}
.hub-project-nav>.container{display:block}.hub-project-nav nav{gap:23px;padding-top:12px}
.hub-project-list{padding-bottom:44px}.hub-about-copy{font-size:16px}
}
