:root {
  --body-bg: oklch(0.975 0.006 255);
  --surface: oklch(1 0 0);
  --surface-secondary: oklch(0.965 0.006 255);
  --body-color: oklch(0.27 0.03 255);
  --heading-color: oklch(0.2 0.035 255);
  --secondary: oklch(0.5 0.025 255);
  --muted: oklch(0.54 0.02 255);
  --border: oklch(0.89 0.012 255);
  --border-strong: oklch(0.79 0.02 255);
  --primary: oklch(0.55 0.16 252);
  --primary-dark: oklch(0.47 0.16 252);
  --primary-lt: oklch(0.95 0.028 252);
  --cyan: oklch(0.68 0.13 210);
  --cyan-lt: oklch(0.96 0.025 210);
  --indigo: oklch(0.53 0.16 278);
  --indigo-lt: oklch(0.95 0.025 278);
  --orange: oklch(0.68 0.16 58);
  --orange-lt: oklch(0.96 0.035 58);
  --teal: oklch(0.58 0.11 178);
  --teal-lt: oklch(0.95 0.026 178);
  --green: oklch(0.57 0.13 150);
  --green-lt: oklch(0.95 0.028 150);
  --purple: oklch(0.55 0.16 310);
  --purple-lt: oklch(0.95 0.028 310);
  --red: oklch(0.56 0.19 25);
  --red-lt: oklch(0.95 0.03 25);
  --white: oklch(1 0 0);
  --shadow-sm: 0 2px 6px oklch(0.22 0.03 255 / 0.08);
  --radius: 5px;
  --radius-lg: 7px;
  --z-dropdown: 30;
  --z-sticky: 40;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--body-bg);
  color: var(--body-color);
  font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  overflow-x: clip;
}

button, input, select { font: inherit; }
button, select { cursor: pointer; }
a { color: var(--primary); }
img, svg { display: block; }
svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }

:focus-visible { outline: 3px solid oklch(0.7 0.13 252); outline-offset: 2px; }

.container-xl { width: min(1200px, calc(100% - 32px)); margin-inline: auto; }
.page-pad { padding-block: 24px 32px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 7px 11px; transform: translateY(-150%); border-radius: var(--radius); background: var(--heading-color); color: var(--white); text-decoration: none; }
.skip-link:focus { transform: translateY(0); }

/* Shared navigation */
.navbar { position: relative; z-index: var(--z-sticky); min-height: 58px; border-bottom: 1px solid var(--border); background: var(--surface); }
.navbar-inner { min-height: 58px; display: flex; align-items: center; gap: 28px; }
.navbar-brand { order: 1; display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; min-width: 0; color: var(--heading-color); font-size: 16px; font-weight: 650; text-decoration: none; white-space: nowrap; }
.navbar-brand img { flex-shrink: 0; width: 42px; height: 35px; object-fit: contain; }
.navbar-menu { order: 2; display: flex; align-self: stretch; align-items: stretch; gap: 4px; }
.nav-link { position: relative; display: inline-flex; align-items: center; padding: 0 10px; border: 0; background: transparent; color: var(--body-color); font-size: 14px; text-decoration: none; white-space: nowrap; }
.nav-link:hover, .nav-link.active { color: var(--primary); }
.nav-link.active { font-weight: 600; }
.nav-link.active::after { position: absolute; right: 10px; bottom: -1px; left: 10px; height: 2px; background: var(--primary); content: ""; }
.navbar-actions { order: 3; display: flex; align-items: center; gap: 10px; margin-left: auto; }
.release-label { color: var(--secondary); font-size: 12px; white-space: nowrap; }
.navbar-toggler { display: none; width: 40px; height: 38px; padding: 8px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.navbar-toggler > span:not(.sr-only) { display: block; width: 20px; height: 2px; margin: 4px auto; background: var(--secondary); }

/* Controls */
.form-control, .form-select { width: 100%; min-height: 38px; padding: 8px 12px; border: 1px solid var(--border-strong); border-radius: var(--radius); background: var(--surface); color: var(--body-color); }
.form-control::placeholder { color: var(--muted); opacity: 1; }
.form-control:focus, .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px oklch(0.55 0.16 252 / 0.16); outline: 0; }
.form-select { padding-right: 34px; }
.form-select-sm { min-height: 32px; padding: 5px 30px 5px 10px; font-size: 13px; }
.form-label { display: block; margin-bottom: 6px; color: var(--heading-color); font-size: 13px; font-weight: 600; }
.input-icon { position: relative; }
.input-icon svg { position: absolute; top: 50%; left: 12px; width: 18px; height: 18px; color: var(--secondary); transform: translateY(-50%); pointer-events: none; }
.input-icon .form-control { padding-left: 40px; }
.btn { display: inline-flex; min-height: 38px; align-items: center; justify-content: center; gap: 7px; padding: 7px 15px; border: 1px solid transparent; border-radius: var(--radius); font-weight: 600; line-height: 1.2; text-decoration: none; transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease; }
.btn-sm { min-height: 32px; padding: 5px 12px; font-size: 13px; }
.btn-lg { min-height: 44px; padding: 10px 20px; font-size: 16px; }
.btn-primary { border-color: var(--primary); background: var(--primary); color: var(--white); }
.btn-primary:hover { border-color: var(--primary-dark); background: var(--primary-dark); color: var(--white); }
.btn-outline { border-color: var(--border-strong); background: var(--surface); color: var(--body-color); }
.btn-outline:hover { border-color: var(--secondary); background: var(--surface-secondary); color: var(--heading-color); }
.btn-link { min-height: auto; padding: 4px; border: 0; background: transparent; color: var(--primary); }

/* Shared page and card */
.page-wrapper { min-height: calc(100vh - 58px); display: flex; flex-direction: column; }
.page-body { flex: 1 0 auto; }
.page-header { padding-top: 22px; }
.page-header-row { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.page-header-actions { display: flex; align-items: center; gap: 8px; }
.page-header-actions .form-select { width: 116px; }
.page-title { margin: 0; color: var(--heading-color); font-size: 24px; font-weight: 620; line-height: 1.3; }
.page-pretitle { margin: 0 0 3px; color: var(--secondary); font-size: 12px; }
.page-subtitle { margin: 5px 0 0; color: var(--secondary); font-size: 14px; }
.card { min-width: 0; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.card.shadow-sm { border-color: transparent; box-shadow: var(--shadow-sm); }
.card-header { display: flex; min-height: 54px; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 18px; border-bottom: 1px solid var(--border); }
.card-title { margin: 0; color: var(--heading-color); font-size: 16px; font-weight: 620; }
.card-body { padding: 20px; }
.bg-primary-lt { background: var(--primary-lt); }
.badge { display: inline-flex; align-items: center; justify-content: center; min-height: 23px; padding: 3px 8px; border-radius: 999px; font-size: 12px; font-weight: 650; white-space: nowrap; }
.badge-primary { background: var(--primary-lt); color: var(--primary-dark); }
.badge-green { background: var(--green-lt); color: oklch(0.39 0.11 150); }
.badge-orange { background: var(--orange-lt); color: oklch(0.45 0.13 58); }
.badge-muted { background: var(--surface-secondary); color: var(--secondary); }

/* Home */
.home-banner { background: #25579e; color: var(--white); }
.home-banner-content { width: 100%; max-width: 1100px; min-height: 320px; margin-inline: auto; padding: 26px 48px; display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.home-banner-content p { margin: 0; }
.home-banner-brand { font-family: "Segoe UI", "Microsoft YaHei", sans-serif; font-size: 32px; font-weight: 300; line-height: 1.4; }
.home-banner-welcome { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 20px; font-size: 88px; font-weight: 300; line-height: 1.25; }
.home-banner-greeting { font-family: "Noto Serif SC", "Songti SC", SimSun, serif; white-space: nowrap; }
.home-banner-domain { min-width: 0; font-family: "Segoe UI", Arial, sans-serif; overflow-wrap: anywhere; }
.home-banner-description { align-self: flex-end; max-width: 100%; font-family: "Noto Serif SC", "Songti SC", SimSun, serif; font-size: 24px; font-weight: 400; line-height: 1.7; text-wrap: pretty; }
.home-search-band { padding: 28px 0; border-bottom: 1px solid var(--border); background: var(--surface); }
.home-search-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 64px; align-items: center; }
.home-search-main { min-width: 0; }
.home-search-main h1 { margin: 0; color: var(--heading-color); font-size: 24px; font-weight: 650; line-height: 1.3; text-wrap: balance; }
.home-lead { max-width: 65ch; margin: 13px 0 25px; color: var(--secondary); font-size: 16px; line-height: 1.75; text-wrap: pretty; }
.home-search-form { max-width: 720px; }
.home-search-label { display: block; margin-bottom: 7px; color: var(--heading-color); font-size: 13px; font-weight: 650; }
.home-search-control { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px; }
.home-search-control .form-control, .home-search-control .btn { min-height: 48px; }
.home-search-control .btn { padding-inline: 22px; }
.home-search-links { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 14px; color: var(--secondary); font-size: 13px; }
.home-search-links a, .text-link { color: var(--primary-dark); font-weight: 600; text-decoration: none; }
.home-search-links a:hover, .text-link:hover { text-decoration: underline; }
.home-scope { padding-left: 34px; border-left: 1px solid var(--border); }
.home-scope h2 { margin: 0 0 12px; color: var(--heading-color); font-size: 16px; }
.scope-list { margin: 0; }
.scope-list div { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.scope-list dt { color: var(--secondary); font-size: 13px; }
.scope-list dd { margin: 0; color: var(--heading-color); font-size: 15px; font-weight: 650; font-variant-numeric: tabular-nums; }
.scope-status { margin: 13px 0 7px; color: var(--secondary); font-size: 12px; line-height: 1.5; }
.home-paths { padding: 36px 0 42px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 17px; }
.section-heading h2 { margin: 0; color: var(--heading-color); font-size: 20px; font-weight: 650; }
.section-heading p { max-width: 68ch; margin: 5px 0 0; color: var(--secondary); font-size: 14px; }
.path-list { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface); }
.path-item { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 16px; align-items: center; min-height: 82px; padding: 14px 18px; border-bottom: 1px solid var(--border); color: inherit; text-decoration: none; }
.path-item:last-child { border-bottom: 0; }
.path-item:hover { background: var(--primary-lt); }
.path-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--radius); background: var(--primary-lt); color: var(--primary-dark); }
.path-icon svg { width: 22px; height: 22px; }
.path-item strong { display: block; color: var(--heading-color); font-size: 15px; }
.path-item small { display: block; margin-top: 3px; color: var(--secondary); font-size: 13px; }
.path-action { color: var(--primary-dark); font-size: 13px; font-weight: 600; white-space: nowrap; }
.home-reference { padding: 38px 0 46px; border-top: 1px solid var(--border); background: var(--surface); }
.home-reference-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 58px; align-items: start; }
.field-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--border); }
.field-list div { padding: 14px 18px 14px 0; border-bottom: 1px solid var(--border); }
.field-list div:nth-child(odd) { margin-right: 22px; }
.field-list dt { color: var(--heading-color); font-size: 14px; font-weight: 650; }
.field-list dd { margin: 4px 0 0; color: var(--secondary); font-size: 13px; }
.use-notice { padding: 24px; border-radius: var(--radius-lg); background: var(--orange-lt); }
.use-notice h2 { margin: 0 0 8px; color: var(--heading-color); font-size: 17px; }
.use-notice p { margin: 0 0 18px; color: oklch(0.42 0.04 58); font-size: 14px; line-height: 1.75; }

/* Footer */
.footer { flex: 0 0 auto; margin-top: 28px; color: var(--secondary); }
.footer-info { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 12px 28px; padding: 18px 0; border-top: 1px solid var(--border); font-size: 13px; line-height: 1.8; }
.footer-info p { margin: 0 0 5px; overflow-wrap: anywhere; }
.footer-info p:last-child { margin-bottom: 0; }
.footer-info a { color: var(--primary-dark); text-underline-offset: 3px; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) 180px; gap: 24px; align-items: start; }
.contact-details { margin: 0; }
.contact-details > div { display: grid; grid-template-columns: 5em minmax(0, 1fr); gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.contact-details dt { color: var(--heading-color); font-weight: 600; }
.contact-details dd { margin: 0; color: var(--secondary); overflow-wrap: anywhere; }
.contact-qr { width: 180px; margin: 8px 0 0; }
.contact-qr img { width: 180px; height: auto; }
.contact-qr figcaption { margin-top: 8px; color: var(--secondary); text-align: center; font-size: 13px; }
.contact-qr-trigger { display: block; width: 180px; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
html.qr-preview-open { overflow: hidden; }
.qr-dialog { width: min(600px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 20px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); color: var(--body-color); }
.qr-dialog::backdrop { background: oklch(0.15 0 0 / 0.72); }
.qr-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.qr-dialog-header h2 { margin: 0; font-size: 18px; }
.qr-dialog-header form { margin: 0; }
.qr-dialog-close { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--border-strong); border-radius: var(--radius); background: var(--surface); color: var(--body-color); font-size: 28px; line-height: 1; }
.qr-dialog-close:hover { background: var(--surface-secondary); }
.qr-dialog-image { width: 100%; height: auto; max-height: calc(100dvh - 150px); object-fit: contain; }
.footer-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 18px; padding: 16px 0; border-top: 1px solid var(--border); font-size: 12px; }
.footer-bar a { color: var(--primary-dark); text-underline-offset: 3px; }

/* Guide */
.guide-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.guide-steps { padding: 26px 28px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.workflow-list { margin: 0; padding: 0; list-style: none; counter-reset: step; }
.workflow-list li { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 16px; padding: 24px 0; border-top: 1px solid var(--border); }
.workflow-list li:first-child { padding-top: 18px; }
.workflow-list li:last-child { padding-bottom: 4px; }
.workflow-number { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 999px; background: var(--primary); color: var(--white); font-weight: 700; }
.workflow-list h3 { margin: 2px 0 6px; color: var(--heading-color); font-size: 17px; }
.workflow-list p { max-width: 68ch; margin: 0 0 8px; color: var(--secondary); line-height: 1.75; }
.guide-aside { position: sticky; top: 20px; }
.guide-note { padding: 23px; border-radius: var(--radius-lg); background: var(--primary-lt); }
.guide-note h2, .guide-shortcuts h2 { margin: 0 0 12px; color: var(--heading-color); font-size: 16px; }
.guide-note ul { margin: 0; padding-left: 20px; color: oklch(0.4 0.045 252); }
.guide-note li { margin-top: 9px; line-height: 1.65; }
.guide-note li:first-child { margin-top: 0; }
.guide-shortcuts { margin-top: 16px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.guide-shortcuts h2 { padding: 17px 18px 2px; }
.guide-shortcuts a { display: block; padding: 13px 18px; border-top: 1px solid var(--border); color: inherit; text-decoration: none; }
.guide-shortcuts a:hover { background: var(--surface-secondary); }
.guide-shortcuts span { display: block; color: var(--heading-color); font-size: 14px; font-weight: 600; }
.guide-shortcuts small { display: block; margin-top: 2px; color: var(--secondary); font-size: 12px; }

/* Search and table */
.search-layout { display: grid; grid-template-columns: 276px minmax(0, 1fr); gap: 18px; align-items: start; }
.search-card { position: sticky; top: 18px; }
.search-fields { display: flex; flex-direction: column; gap: 16px; }
.search-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.search-actions .btn { width: 100%; }
.results-card { min-width: 0; }
.result-meta { margin: 0; color: var(--secondary); font-size: 13px; }
.sort-inline { display: flex; align-items: center; gap: 8px; }
.sort-inline label { color: var(--secondary); font-size: 13px; white-space: nowrap; }
.sort-inline .form-select { width: 138px; }
.table-responsive { width: 100%; max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; contain: inline-size; }
.journal-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.journal-table th, .journal-table td { padding: 14px 16px; text-align: left; vertical-align: middle; }
.journal-table th { color: var(--heading-color); font-size: 13px; font-weight: 620; white-space: nowrap; }
.journal-table td { border-top: 1px solid var(--border); color: var(--secondary); }
.journal-table tbody tr:hover { background: oklch(0.985 0.004 255); }
.journal-title { display: block; max-width: 42ch; color: var(--heading-color); font-weight: 620; text-decoration: none; line-height: 1.45; }
.journal-title:hover { color: var(--primary); }
.journal-publisher { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }
.text-muted { color: var(--muted); font-size: 12px; }
.issn { font-variant-numeric: tabular-nums; white-space: nowrap; }
.zone-cell { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.table-status { padding-block: 34px !important; text-align: center !important; }
.table-error { color: var(--red) !important; }
.empty-state { padding: 58px 20px; text-align: center; }
.empty-state img { width: 65px; height: 54px; margin: 0 auto 14px; object-fit: contain; opacity: 0.7; }
.empty-state h2 { margin: 0; color: var(--heading-color); font-size: 18px; }
.empty-state p { margin: 6px 0 18px; color: var(--secondary); }
.pagination { display: flex; justify-content: flex-end; gap: 5px; padding: 15px 18px; border-top: 1px solid var(--border); }
.page-btn { width: 34px; height: 34px; display: grid; place-items: center; padding: 0; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); color: var(--body-color); }
.page-gap { width: 26px; height: 34px; display: grid; place-items: center; color: var(--muted); }
.page-btn:hover:not(:disabled) { border-color: var(--primary); color: var(--primary); }
.page-btn[aria-current="page"] { border-color: var(--primary); background: var(--primary); color: var(--white); }
.page-btn:disabled { cursor: not-allowed; opacity: 0.45; }

/* Categories */
.category-search { width: min(380px, 100%); }
.category-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.category-item { display: flex; min-height: 74px; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 18px; border-bottom: 1px solid var(--border); color: inherit; text-decoration: none; }
.category-item:nth-child(odd) { border-right: 1px solid var(--border); }
.category-item:hover { background: var(--primary-lt); }
.category-item strong { color: var(--heading-color); font-size: 15px; font-weight: 600; }
.category-item span { display: block; margin-top: 3px; color: var(--secondary); font-size: 12px; }
.category-count { flex: 0 0 auto; color: var(--primary); font-size: 13px; }
.list-status { grid-column: 1 / -1; margin: 0; padding: 42px 18px; color: var(--secondary); text-align: center; }

/* About and detail */
.intro-hero { border: 0; background: var(--primary-lt); }
.intro-hero .card-body { padding: 34px; }
.intro-hero h1 { margin: 0 0 14px; color: var(--primary); font-size: 30px; font-weight: 520; }
.intro-hero p { max-width: 78ch; margin: 0 0 12px; color: var(--secondary); font-size: 16px; line-height: 1.85; }
.content-card { margin-top: 18px; }
.article-body { max-width: 850px; margin: 0 auto; padding: 34px; }
.article-body h2 { margin: 26px 0 10px; color: var(--heading-color); font-size: 20px; }
.article-body h2:first-child { margin-top: 0; }
.article-body p, .article-body li { color: var(--secondary); line-height: 1.8; }
.article-body ul { padding-left: 20px; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(250px, 0.8fr); gap: 18px; }
.journal-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.journal-heading h1 { margin: 0; color: var(--heading-color); font-size: 25px; font-weight: 620; line-height: 1.4; }
.detail-badges { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.detail-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.detail-list div { padding: 16px 18px; border-bottom: 1px solid var(--border); }
.detail-list div:nth-child(odd) { border-right: 1px solid var(--border); }
.detail-list .detail-wide { grid-column: 1 / -1; border-right: 0; }
.detail-list dt { color: var(--secondary); font-size: 12px; }
.detail-list dd { margin: 4px 0 0; color: var(--heading-color); overflow-wrap: anywhere; }
.detail-note { padding: 18px; color: var(--secondary); font-size: 13px; line-height: 1.7; }
.detail-side .card + .card { margin-top: 16px; }
.side-stat { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 13px 18px; border-top: 1px solid var(--border); }
.side-stat:first-child { border-top: 0; }
.side-stat span { color: var(--secondary); font-size: 13px; }
.side-stat strong { color: var(--heading-color); }
.side-category-list { margin: 0; }
.side-category-list div { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 18px; border-top: 1px solid var(--border); }
.side-category-list div:first-child { border-top: 0; }
.side-category-list dt { color: var(--secondary); font-size: 13px; }
.side-category-list dd { margin: 0; }
.category-zone-list { margin: 0; padding: 0; list-style: none; }
.category-zone-list li { display: flex; min-height: 52px; align-items: center; justify-content: space-between; gap: 16px; padding: 11px 18px; border-top: 1px solid var(--border); }
.category-zone-list li:first-child { border-top: 0; }
.category-zone-list li > span:first-child { color: var(--heading-color); overflow-wrap: anywhere; }

@media (max-width: 1100px) {
  .home-banner-welcome { font-size: 64px; }
  .home-banner-brand { font-size: 28px; }
  .home-banner-description { font-size: 20px; }
}

@media (max-width: 980px) {
  .home-banner-content { padding-inline: 28px; }
  .home-banner-welcome { font-size: 52px; }
  .navbar-inner { flex-wrap: wrap; gap: 0; padding-block: 9px; }
  .navbar-brand { flex: 1; }
  .navbar-toggler { order: 2; display: block; }
  .navbar-actions { order: 3; margin-left: 10px; }
  .navbar-actions .release-label { display: none; }
  .navbar-menu { order: 4; width: 100%; display: none; flex-direction: column; margin-top: 9px; padding-top: 7px; border-top: 1px solid var(--border); }
  .navbar-menu.is-open { display: flex; }
  .nav-link { width: 100%; min-height: 40px; padding: 8px 10px; }
  .nav-link.active { border-radius: var(--radius); background: var(--primary-lt); }
  .nav-link.active::after { display: none; }
  .home-search-layout { grid-template-columns: minmax(0, 1fr) 270px; gap: 36px; }
  .home-reference-layout { grid-template-columns: minmax(0, 1fr) 290px; gap: 34px; }
  .guide-layout { grid-template-columns: 1fr; }
  .guide-aside { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .guide-shortcuts { margin-top: 0; }
  .search-layout { grid-template-columns: 1fr; }
  .search-card { position: static; }
  .search-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; }
  .search-fields .keyword-field { grid-column: 1 / -1; }
  .detail-layout { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .home-banner-content { min-height: 0; padding: 24px 4px; gap: 12px; }
  .home-banner-brand { font-size: 15px; }
  .home-banner-welcome { flex-direction: column; align-items: flex-start; gap: 4px; font-size: 24px; line-height: 1.3; }
  .home-banner-domain { font-size: 32px; }
  .home-banner-description { align-self: flex-start; max-width: 40ch; font-size: 14px; line-height: 1.7; }
  .footer-info, .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .container-xl { width: min(100% - 24px, 1200px); }
  .navbar-brand span { font-size: 14px; }
  .page-header-row { align-items: flex-start; }
  .page-header-actions { flex-wrap: wrap; justify-content: flex-end; }
  .home-search-band { padding: 34px 0 30px; }
  .home-search-layout { grid-template-columns: 1fr; gap: 28px; }
  .home-search-main h1 { font-size: 24px; }
  .home-lead { font-size: 15px; }
  .home-scope { padding: 22px 0 0; border-top: 1px solid var(--border); border-left: 0; }
  .home-paths { padding: 30px 0 34px; }
  .home-reference { padding: 30px 0 36px; }
  .home-reference-layout { grid-template-columns: 1fr; gap: 26px; }
  .guide-aside { grid-template-columns: 1fr; }
  .guide-shortcuts { margin-top: 0; }
  .search-fields { grid-template-columns: 1fr; }
  .search-fields .keyword-field { grid-column: auto; }
  .card-header { align-items: flex-start; }
  .results-header { flex-direction: column; }
  .sort-inline { width: 100%; }
  .sort-inline .form-select { flex: 1; width: auto; }
  .journal-table { min-width: 820px; }
  .category-list { grid-template-columns: 1fr; }
  .category-item:nth-child(odd) { border-right: 0; }
  .detail-list { grid-template-columns: 1fr; }
  .detail-list div:nth-child(odd) { border-right: 0; }
}

@media (max-width: 520px) {
  .navbar-brand span { white-space: normal; overflow-wrap: anywhere; }
  .navbar-actions .btn { display: none; }
  .page-title { font-size: 21px; }
  .page-header-row { flex-direction: column; gap: 10px; }
  .page-header-actions { width: 100%; justify-content: flex-start; }
  .home-search-control { grid-template-columns: 1fr; }
  .home-search-control .btn { width: 100%; }
  .path-item { grid-template-columns: 40px minmax(0, 1fr); padding-inline: 12px; }
  .path-action { display: none; }
  .field-list { grid-template-columns: 1fr; }
  .field-list div:nth-child(odd) { margin-right: 0; }
  .footer-bar { flex-direction: column; align-items: flex-start; gap: 4px; }
  .guide-steps { padding: 21px 18px; }
  .workflow-list li { grid-template-columns: 36px minmax(0, 1fr); gap: 12px; }
  .workflow-number { width: 30px; height: 30px; }
  .article-body, .intro-hero .card-body { padding: 23px; }
  .journal-heading { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
