:root {
  --navy: #081830;
  --navy-2: #12284d;
  --ink: #1a2436;
  --muted: #5a6880;
  --line: #d5deeb;
  --paper: #fffdf9;
  --bg: #eef2f7;
  --bg-soft: #e6edf6;
  --brand: #0e7c74;
  --brand-2: #0b5f59;
  --blue: #1d4ed8;
  --gold: #b8943a;
  --gold-soft: #f4e8c4;
  --shadow: 0 18px 50px rgba(8, 24, 48, 0.08);
  --shadow-sm: 0 8px 24px rgba(8, 24, 48, 0.06);
  --radius: 18px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --serif: "Source Han Serif SC", "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 88% -8%, rgba(184, 148, 58, 0.09), transparent 55%),
    radial-gradient(720px 380px at -6% 18%, rgba(14, 124, 116, 0.07), transparent 50%),
    linear-gradient(180deg, #f7f4ee 0%, var(--bg) 28%, #e8eef6 100%);
  line-height: 1.75;
  letter-spacing: 0.01em;
  min-height: 100vh;
}

::selection {
  background: #d7efe9;
  color: var(--navy);
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

button, input, select, textarea { font: inherit; }

.skip-link {
  position: absolute;
  left: 16px;
  top: 0;
  z-index: 80;
  padding: 8px 16px;
  background: var(--navy);
  color: #fff;
  border-radius: 0 0 10px 10px;
  transform: translateY(-120%);
}
.skip-link:focus { transform: none; }

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

main.container {
  padding: 40px 0 72px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 253, 249, 0.86);
  backdrop-filter: blur(18px) saturate(1.15);
  border-bottom: 1px solid rgba(184, 148, 58, 0.22);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background:
    linear-gradient(160deg, #16325f 0%, #0c2048 48%, #0e7c74 130%);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: -0.04em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 8px 18px rgba(8, 24, 48, 0.18);
}

.logo-text {
  display: grid;
  line-height: 1.18;
}

.logo-text strong {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.04em;
}
.logo-text span {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.site-header .nav-links,
.site-header .header-search,
.site-header .menu-toggle {
  display: none !important;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--navy-2);
  font-size: 14px;
  letter-spacing: 0.02em;
}

.nav-links a:hover,
.nav-links a.is-active {
  background: var(--bg-soft);
  color: var(--brand-2);
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.header-actions .btn {
  height: 36px;
  padding: 0 14px;
  font-size: 13px;
}
.header-actions .account-name {
  color: var(--navy);
  font-size: 13px;
  font-weight: 650;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-search {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav .header-search + .header-actions,
.nav .header-actions + .header-search { margin-left: 0; }

.catalog-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin: 0 0 18px;
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}
.catalog-search input {
  width: 100%;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 16px;
  background: #fff;
}
.catalog-search input:focus {
  outline: 2px solid rgba(14, 124, 116, 0.28);
  border-color: var(--brand);
}

.header-search input {
  width: min(280px, 32vw);
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 16px 0 40px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%235a6880' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") 14px center no-repeat;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.header-search input:focus {
  outline: 2px solid rgba(14, 124, 116, 0.28);
  border-color: var(--brand);
  background-color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-weight: 650;
  letter-spacing: 0.02em;
  transition: transform 0.22s var(--ease), box-shadow 0.22s, background 0.22s, border-color 0.22s;
}

.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 10px 22px rgba(8, 24, 48, 0.18);
}
.btn-brand {
  background: linear-gradient(180deg, #129387 0%, var(--brand) 100%);
  color: #fff;
  box-shadow: 0 10px 22px rgba(14, 124, 116, 0.22);
}
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid rgba(8, 24, 48, 0.14);
  background-color: rgba(255, 255, 255, 0.55);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.hero {
  position: relative;
  padding: 52px 0 28px;
  overflow: hidden;
}

.hero.hero-library {
  padding: 36px 0 12px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: min(620px, 78%);
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.05) 0%, transparent 42%),
    radial-gradient(ellipse 80% 70% at 88% 0%, rgba(184, 148, 58, 0.16), transparent 50%),
    linear-gradient(165deg, #061225 0%, #0c2144 46%, #0a3a38 100%);
  z-index: -1;
}

.hero.hero-library::before {
  height: min(760px, 92%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr;
  gap: 22px;
}

.hero-mast {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 18px 22px;
  align-items: end;
  padding: 28px 32px 26px;
  margin-bottom: 16px;
  background: var(--paper);
  border: 1px solid rgba(213, 222, 235, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-mast .stat-row-home {
  grid-column: 1 / -1;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 4px;
}

.hero-mast::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--gold), var(--brand));
}

.hero-mast h1 {
  margin: 8px 0 10px;
  font-size: clamp(28px, 3.6vw, 40px);
}

.hero-mast .lead {
  margin: 0;
  max-width: 62ch;
  font-size: 16px;
}

.hero-mast-side .stat-row {
  margin-top: 0;
}

.hero-mast-side .hero-actions {
  margin-top: 16px;
}

.hero-mast-side .hero-photo {
  margin: 0;
}

.hero-mast-side .hero-photo img {
  height: 210px;
}

.scene-photos {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0 8px;
}

.scene-photo {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(213, 222, 235, 0.9);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s var(--ease), box-shadow 0.22s;
}

.scene-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.scene-photo span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 12px 10px;
  background: linear-gradient(180deg, transparent, rgba(6, 18, 37, 0.82));
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.scene-photo:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.scene-photos .scene-photo:last-child {
  grid-column: span 1;
}

.hero-card,
.card,
.panel {
  background: var(--paper);
  border: 1px solid rgba(213, 222, 235, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 40px 40px 34px;
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--gold), var(--brand));
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1,
.page-head h1,
.article-body h1 {
  margin: 12px 0 14px;
  font-family: var(--serif);
  font-size: clamp(32px, 4.4vw, 48px);
  line-height: 1.22;
  color: var(--navy);
  letter-spacing: 0.01em;
  font-weight: 700;
}

.lead {
  color: var(--muted);
  font-size: 17px;
  max-width: 58ch;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 30px;
}

.stat {
  padding: 16px 16px 14px;
  border-radius: 14px;
  background: linear-gradient(180deg, #f6f8fb 0%, #eef3f8 100%);
  border: 1px solid rgba(213, 222, 235, 0.8);
}

.stat b {
  display: block;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: 0.02em;
}
.hero-mast .stat-row-home .stat b { font-size: 32px; }
.editor-line {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  color: #3d5270;
  font-size: 14px;
}
.hero-search {
  display: flex;
  gap: 8px;
  margin: 14px 0 10px;
  max-width: 640px;
}
.hero-search input {
  flex: 1;
  min-width: 0;
  height: 48px;
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 0 18px;
  font-size: 15px;
  background: #fff;
}
.hero-search input:focus {
  outline: 2px solid rgba(14, 124, 116, 0.35);
  border-color: #9ad9cf;
}
.hot-terms,
.beijing-focus {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}
.hot-terms a,
.beijing-focus a {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 999px;
  background: #f4f7fb;
  border: 1px solid var(--line);
  color: var(--navy-2);
  font-size: 13px;
}
.hot-terms a:hover,
.beijing-focus a:hover {
  background: #d9f3ee;
  border-color: #9ad9cf;
  color: var(--brand-2);
}
.beijing-focus { margin-top: 14px; }
.kw-board.cols-3 { grid-template-columns: repeat(3, 1fr); }
.ai-summary {
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  background: #f0f4fa;
  border-left: 4px solid #0c2048;
  border-radius: 4px;
  font-size: 0.95rem;
  line-height: 1.6;
}
.ai-summary p { margin: 0; }
.qa-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.qa-list article {
  padding: 18px 16px;
  border-radius: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.qa-list h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--navy);
}
.qa-list p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.consult-offer {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 999px;
  background: #2b7be4;
  color: #fff !important;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}
.consult-offer:hover { color: #fff !important; background: #1d4ed8; }
.stat b a { color: inherit; }
.stat span { color: var(--muted); font-size: 13px; }

.hero-aside { display: grid; gap: 12px; }

.aside-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 14px;
  padding: 14px;
  align-items: center;
}

.hero-photo {
  margin: 24px 0 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  position: relative;
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  pointer-events: none;
}
.hero-photo img { width: 100%; height: 228px; object-fit: cover; }

.thumb {
  width: 80px;
  height: 80px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--navy-2), var(--brand));
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.thumb.t2 { background: linear-gradient(145deg, #1e3a8a, #38bdf8); }
.thumb.t3 { background: linear-gradient(145deg, #134e4a, #99f6e4); }
.thumb.t4 { background: linear-gradient(145deg, #3b0764, #c4b5fd); }
.thumb.t5 { background: linear-gradient(145deg, #7c2d12, #fdba74); }
.thumb.t6 { background: linear-gradient(145deg, #1e293b, #94a3b8); }

.aside-item h3,
.article-card h3,
.list-card h3 {
  margin: 0 0 4px;
  font-size: 16px;
  line-height: 1.45;
  color: var(--navy);
  font-weight: 700;
}

.meta {
  color: var(--muted);
  font-size: 13px;
}

.section { padding: 36px 0 8px; }
#graph,
#companies,
#kb { scroll-margin-top: 84px; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 20px;
}

.section-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 28px;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.section-head p { margin: 6px 0 0; color: var(--muted); }
.section-head > a {
  color: var(--brand-2);
  font-weight: 650;
  font-size: 14px;
  border-bottom: 1px solid rgba(11, 95, 89, 0.25);
}

.kw-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.kw-col {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 18px 18px;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 0.22s var(--ease), box-shadow 0.22s, border-color 0.22s;
}
.kw-col:hover {
  transform: translateY(-3px);
  border-color: #c5d3e6;
}
.kw-col::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, var(--gold), var(--brand));
}
.kw-head {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}
.kw-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #12284d, #0e7c74);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.kw-col h3 {
  margin: 0 0 2px;
  font-family: var(--serif);
  font-size: 20px;
  color: var(--navy);
}
.kw-col p,
.kw-head p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.06em;
}
.kw-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.kw-list a {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 999px;
  background: #f4f7fb;
  border: 1px solid var(--line);
  color: var(--navy-2);
  font-size: 13px;
}
.kw-list a:hover {
  background: #d9f3ee;
  border-color: #9ad9cf;
  color: var(--brand-2);
}

.road-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 20px 0 28px;
}
.road-card {
  padding: 20px 18px;
  border-radius: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.road-card h2 {
  margin: 8px 0 8px;
  font-family: var(--serif);
  font-size: 20px;
}
.road-card p { margin: 0; color: var(--muted); font-size: 14px; }
.road-card.is-now {
  background: linear-gradient(180deg, #f3fbf9, #e7f6f3);
  border-color: #9ad9cf;
}
.cite-box {
  margin-top: 28px;
  padding: 16px 18px;
  border-radius: 14px;
  background: #f6f3ea;
  border: 1px solid var(--gold-soft);
  font-size: 13px;
  color: var(--navy-2);
}
.cite-box code { font-size: 12px; word-break: break-all; }

.kb-home-list { display: grid; gap: 12px; }
.kb-home-list .list-card { display: grid; }

.pager {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 22px 0 10px;
}
.pager a,
.pager span {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 650;
}
.pager a:hover { border-color: var(--brand); color: var(--brand-2); }
.pager .is-on {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.pager-meta { color: var(--muted); font-size: 13px; margin: 0 0 12px; }

.cat-grid,
.article-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.cat-card,
.article-card,
.list-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s var(--ease), box-shadow 0.22s, border-color 0.22s;
}

.cat-card:hover,
.article-card:hover,
.list-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #c5d3e6;
}

.cat-card .icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #12284d, #0e7c74);
  color: #fff;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}

.cat-card h3 {
  margin: 0 0 6px;
  color: var(--navy);
  font-size: 18px;
  font-family: var(--serif);
}
.cat-card p { margin: 0; color: var(--muted); font-size: 13px; }

.article-grid { grid-template-columns: repeat(3, 1fr); }

.article-card .cover {
  height: 148px;
  border-radius: 12px;
  margin: -6px -6px 14px;
}
.article-card .cover.photo,
.thumb.photo {
  background-size: cover;
  background-position: center;
}

.list-card {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 16px;
  row-gap: 6px;
  align-items: start;
  padding: 18px 20px 18px 18px;
  border-left: 3px solid transparent;
}
.list-card:hover { border-left-color: var(--gold); }
.list-card .tag { grid-column: 1; margin-top: 3px; }
.list-card h3 { grid-column: 2; font-family: var(--serif); font-size: 18px; }
.list-card .meta { grid-column: 2; margin: 0; }

.tag {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  background: #d9f3ee;
  color: var(--brand-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.tag.gold { background: var(--gold-soft); color: #7a5a12; }
.tag.cert { background: #f4e8c4; color: #6b4e10; }
.tag.blue { background: #dbeafe; color: #1d4ed8; }

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  padding: 40px 0 72px;
}

.page-head { margin-bottom: 28px; }
.page-head h1 { margin-top: 8px; }
.breadcrumb { color: var(--muted); font-size: 13px; margin-bottom: 8px; letter-spacing: 0.04em; }
.breadcrumb a:hover { color: var(--brand-2); }

.article-prose {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px 44px 48px;
  box-shadow: var(--shadow);
}

.article-prose h1 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.28;
  color: var(--navy);
}
.article-prose h2 {
  margin: 36px 0 12px;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: 0.01em;
}
.article-prose h3 { margin: 24px 0 8px; color: var(--navy-2); }
.article-prose p { margin: 0 0 16px; }
.article-prose a {
  color: var(--brand-2);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(11, 95, 89, 0.35);
}
.article-prose a:hover { text-decoration-color: var(--brand-2); }
.article-prose ul, .article-prose ol { padding-left: 1.2em; }
.article-prose li { margin: 7px 0; }
.article-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 22px;
  font-size: 14px;
  overflow: hidden;
  border-radius: 12px;
}
.article-prose th,
.article-prose td {
  border: 1px solid var(--line);
  padding: 11px 13px;
  text-align: left;
}
.article-prose th { background: #f3f0e6; color: var(--navy); font-weight: 700; }
.article-prose blockquote {
  margin: 20px 0;
  padding: 14px 18px;
  border-left: 4px solid var(--gold);
  background: #f7f3e8;
  color: var(--navy-2);
  border-radius: 0 12px 12px 0;
}

.callout {
  margin: 24px 0 0;
  padding: 18px 20px;
  border-radius: 14px;
  background: linear-gradient(180deg, #f3fbf9, #e8f5f2);
  border: 1px solid #9ad9cf;
}

.toc {
  background: #f6f3ea;
  border-radius: 14px;
  padding: 16px 18px;
  margin: 20px 0 28px;
  border: 1px solid var(--gold-soft);
}
.toc strong { display: block; margin-bottom: 8px; color: var(--navy); letter-spacing: 0.06em; }
.toc a { display: block; color: var(--navy-2); font-size: 14px; padding: 4px 0; text-decoration: none; }
.toc a:hover { color: var(--brand-2); }

.sidebar { display: grid; gap: 16px; align-content: start; }
.panel { padding: 18px 20px; }
.panel h3 {
  margin: 0 0 12px;
  font-size: 16px;
  color: var(--navy);
  font-family: var(--serif);
}

.side-list { margin: 0; padding: 0; list-style: none; }
.side-list li { padding: 9px 0; border-bottom: 1px solid var(--line); }
.side-list li:last-child { border: 0; }
.side-list a:hover { color: var(--brand-2); }

.cta-box {
  background: linear-gradient(165deg, #081830 0%, #12284d 48%, #0a3d3a 100%);
  color: #fff;
  border: 0;
}
.cta-box h3,
.cta-box p { color: #fff; }
.cta-box p { color: #d7efe9; font-size: 14px; }
.cta-box .btn { width: 100%; margin-top: 8px; }

.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 10px;
  box-shadow: var(--shadow-sm);
}
.faq-item h3 { margin: 0 0 6px; font-size: 16px; color: var(--navy); }
.faq-item p { margin: 0; color: var(--muted); }

.search-results { display: grid; gap: 12px; }
.search-empty { color: var(--muted); padding: 24px 0; }

.dir-search {
  display: grid;
  grid-template-columns: 1.6fr 140px 140px auto;
  gap: 10px;
  margin-bottom: 16px;
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}
.dir-search input,
.dir-search select,
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 13px;
  background: #fff;
}
.dir-search input:focus,
.dir-search select:focus,
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid rgba(14, 124, 116, 0.28);
  border-color: var(--brand);
}
.dir-count { color: var(--muted); font-size: 13px; margin: -6px 0 12px; }
.company-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.company-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.company-card h3 {
  margin: 8px 0 6px;
  font-size: 18px;
  color: var(--navy);
  font-family: var(--serif);
}
.company-card p { margin: 0 0 8px; color: var(--muted); font-size: 14px; }
.company-contact { display: flex; gap: 12px; flex-wrap: wrap; }
.company-link { color: var(--brand-2); font-weight: 700; }

.form-grid { display: grid; gap: 16px; }
.form-grid.two { grid-template-columns: 1fr 1fr; }
.field label { display: block; margin-bottom: 7px; color: var(--navy); font-weight: 650; font-size: 14px; }
.field textarea { min-height: 168px; resize: vertical; }
.form-note { color: var(--muted); font-size: 14px; }
.form-note a { color: var(--brand-2); text-decoration: underline; text-underline-offset: 3px; }
.notice {
  padding: 12px 14px;
  border-radius: 12px;
  background: #e8f5f2;
  border: 1px solid #9ad9cf;
  color: var(--navy-2);
}
.notice.error { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.tabs { display: flex; gap: 8px; margin: 0 0 20px; }
.tabs button {
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}
.tabs button.is-on { background: var(--navy); color: #fff; border-color: var(--navy); }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--paper); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); }
.admin-table th, .admin-table td { border-bottom: 1px solid var(--line); padding: 12px 10px; text-align: left; vertical-align: top; }
.admin-table th { color: var(--navy); background: #f3f0e6; }
.status-pending { color: #92400e; }
.status-approved { color: var(--brand-2); }
.status-rejected { color: #b91c1c; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.admin-actions button { height: 32px; padding: 0 10px; border-radius: 8px; border: 0; cursor: pointer; }
.btn-ok { background: #d9f3ee; color: var(--brand-2); }
.btn-no { background: #fee2e2; color: #991b1b; }

.page-auth main {
  display: grid;
  place-items: start center;
  min-height: calc(100vh - 76px);
  padding-top: 56px;
}
.auth-card {
  width: min(460px, 100%);
  padding: 36px 36px 32px;
  margin-left: auto;
  margin-right: auto;
}
.auth-card.wide { width: min(560px, 100%); }

.kg-wrap { margin-top: 8px; }
.kg-hero { margin-top: 0; }
.kg-hero .kg-shell {
  min-height: 760px;
  box-shadow: 0 22px 48px rgba(6, 18, 37, 0.28);
}
.kg-hero .kg-svg { height: 760px; }
.kg-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  min-height: 580px;
  background:
    radial-gradient(520px 280px at 18% 20%, rgba(184, 148, 58, 0.14), transparent 55%),
    linear-gradient(165deg, #061225 0%, #0c2144 48%, #0a332f 100%);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(184, 148, 58, 0.22);
}
.kg-svg {
  width: 100%;
  height: 760px;
  display: block;
}
.kg-edge {
  stroke: rgba(201, 214, 232, 0.22);
  stroke-width: 1.2;
  fill: none;
}
.kg-edge-domain { stroke: rgba(201, 162, 58, 0.38); stroke-width: 1.6; }
.kg-edge-relate { stroke: rgba(153, 246, 228, 0.28); stroke-dasharray: 4 5; }
.kg-edge.is-on { stroke: #e8d48a; stroke-width: 2; }
.kg-edge.is-dim { opacity: 0.18; }
.kg-node { cursor: pointer; }
.kg-node circle {
  fill: #14325f;
  stroke: rgba(232, 212, 138, 0.45);
  stroke-width: 1.2;
}
.kg-node-hub circle {
  fill: url(#kgGlow);
  fill: #b8943a;
  stroke: #f4e8c4;
  stroke-width: 2;
  filter: drop-shadow(0 8px 18px rgba(184, 148, 58, 0.35));
}
.kg-node-domain circle {
  fill: #0e7c74;
  stroke: #9ad9cf;
}
.kg-node-topic circle { fill: #d7e3f7; stroke: #8ea0be; }
.kg-node text {
  fill: #e8eef8;
  font-size: 13px;
  text-anchor: middle;
  pointer-events: none;
  font-family: var(--serif);
}
.kg-node-hub text { fill: #1a1406; font-size: 15px; font-weight: 700; }
.kg-node-domain text { font-size: 12px; }
.kg-node-topic text { font-size: 11px; fill: #c9d6ea; font-family: var(--sans); }
.kg-node.is-on circle { stroke: #fff; stroke-width: 2; }
.kg-node.is-dim { opacity: 0.22; }
.kg-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.kg-chip {
  border: 1px solid rgba(154, 217, 207, 0.28);
  background: rgba(14, 124, 116, 0.22);
  color: #d7e3f7;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 12px;
  line-height: 1.3;
  cursor: pointer;
}
.kg-chip:hover { background: rgba(184, 148, 58, 0.28); border-color: rgba(232, 212, 138, 0.45); color: #fff; }
.kg-panel {
  padding: 22px 20px 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  color: #d7e3f7;
  overflow: auto;
}
.kg-panel h3 {
  margin: 8px 0 12px;
  color: #fff;
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.3;
}
.kg-panel p { margin: 0 0 14px; color: #b7c6dc; }
.kg-panel .kicker { color: #e8d48a; }
.kg-panel .btn { margin-top: 8px; }

@media (max-width: 860px) {
  .kg-shell { grid-template-columns: 1fr; min-height: 0; }
  .kg-svg { height: 560px; }
  .kg-panel { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.08); }
}

.site-footer {
  margin-top: 48px;
  padding: 48px 0 24px;
  background:
    radial-gradient(700px 240px at 90% 0%, rgba(184, 148, 58, 0.12), transparent 50%),
    linear-gradient(180deg, #081830 0%, #061225 100%);
  color: #c9d6ea;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 28px;
}

.site-footer h4 {
  margin: 0 0 12px;
  color: #fff;
  font-family: var(--serif);
  letter-spacing: 0.04em;
}
.site-footer a { color: #c5d4ee; }
.site-footer a:hover { color: #e8d48a; }
.site-footer p, .site-footer li { font-size: 14px; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin: 7px 0; }
.copyright {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #8ea0be;
  font-size: 13px;
}

.intent-note {
  margin: 16px 0 0;
  max-width: 78ch;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.consult {
  position: fixed;
  z-index: 30;
  right: 18px;
  top: 108px;
  width: 200px;
  text-align: center;
}
.consult-avatar {
  position: relative;
  z-index: 1;
  display: block;
  width: 168px;
  height: auto;
  margin: 0 auto -42px;
  pointer-events: none;
}
.consult-card {
  background: #fff;
  border-radius: 18px;
  padding: 52px 14px 16px;
  border: 1px solid rgba(226, 234, 244, 0.9);
  box-shadow: 0 16px 40px rgba(20, 40, 80, 0.12);
}
.consult-qr {
  display: block;
  width: 128px;
  height: 128px;
  margin: 0 auto 8px;
}
.consult-wechat {
  margin: 0 0 10px;
  font-size: 14px;
  color: #3d4d5c;
}
.consult-label {
  margin: 0;
  font-size: 13px;
  color: #5c6b7a;
}
.consult-phone {
  display: block;
  margin: 2px 0;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #2b7be4;
}
.consult-phone:hover { color: #1d4ed8; }
.consult-hours {
  margin: 0;
  font-size: 12px;
  color: #8b9aab;
}

@media (max-width: 1620px) and (min-width: 761px) {
  body.has-consult .container {
    width: min(1160px, calc(100% - 250px));
    margin-left: 20px;
    margin-right: auto;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .hero-mast,
  .layout,
  .footer-grid,
  .cat-grid,
  .article-grid,
  .company-grid,
  .kw-board,
  .road-grid { grid-template-columns: 1fr 1fr; }
  .scene-photos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-mast .stat-row-home { grid-template-columns: repeat(3, 1fr); }
  .dir-search,
  .form-grid.two { grid-template-columns: 1fr 1fr; }
  .header-search input { width: 180px; }
  .hero::before { height: 72%; }
}

@media (max-width: 760px) {
  .header-actions { width: 100%; margin-left: 0; justify-content: flex-start; }
  .menu-toggle { display: grid; place-items: center; margin-left: auto; }
  .nav { flex-wrap: wrap; }
  .nav-links,
  .header-search {
    display: none;
    width: 100%;
  }
  .nav.is-open .nav-links,
  .nav.is-open .header-search {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 12px;
  }
  .header-search input { width: 100%; }
  .hero-grid,
  .hero-mast,
  .layout,
  .footer-grid,
  .cat-grid,
  .article-grid,
  .company-grid,
  .kw-board,
  .road-grid,
  .stat-row { grid-template-columns: 1fr; }
  .hero-mast .stat-row-home { grid-template-columns: 1fr 1fr; }
  .scene-photos { grid-template-columns: 1fr 1fr; }
  .dir-search,
  .form-grid.two { grid-template-columns: 1fr; }
  .hero-card, .hero-mast, .article-prose, .auth-card { padding: 24px 18px; }
  .hero.hero-library { padding-top: 24px; }
  .kg-hero .kg-shell,
  .kg-hero .kg-svg { min-height: 0; height: 560px; }
  .list-card { grid-template-columns: 1fr; }
  .list-card .tag,
  .list-card h3,
  .list-card .meta { grid-column: 1; }
  .qa-list,
  .kw-board.cols-3 { grid-template-columns: 1fr; }
  .hero::before { height: 420px; }
  .consult {
    top: auto;
    bottom: 12px;
    right: 8px;
    width: 148px;
  }
  .consult-avatar { width: 136px; margin-bottom: -34px; }
  .consult-card { padding: 42px 10px 12px; }
  .consult-qr { width: 104px; height: 104px; }
  .consult-phone { font-size: 14px; }
  main.container,
  .layout { padding-top: 28px; padding-bottom: 48px; }
}
