/* ==========================================================================
   yavin质观 · 硬科技人才与里程碑论文库 (/talent) & 四层资本与年报产销审计库 (/capital)
   V17 Edition — Void Obsidian #050507 · Cell #090a0f · Alabaster #fafafa
                 Surgical Cyan #38bdf8 · Amethyst #a78bfa · Champagne #e9cd7c · Emerald #34d399
   ========================================================================== */

.page-talent main,
.page-capital main {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
  background: #050507 !important;
  color: #fafafa !important;
}

@media (min-width: 601px) {
  .page-talent header nav > a[href="/"],
  .page-capital header nav > a[href="/"] {
    display: inline-flex !important;
  }
}

/* 5-tab layout unified across /talent and V17 /capital (retaining .is-4tabs fallback) */
.zg-ps-nav-tabs.is-4tabs {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.zg-ps-nav-tabs.is-5tabs {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

@media (max-width: 1060px) {
  .zg-ps-nav-tabs,
  .zg-ps-nav-tabs.is-4tabs,
  .zg-ps-nav-tabs.is-5tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .zg-ps-nav-tabs,
  .zg-ps-nav-tabs.is-4tabs,
  .zg-ps-nav-tabs.is-5tabs {
    grid-template-columns: 1fr;
  }
}

.zg-ps-hero.is-capital {
  background:
    radial-gradient(760px 300px at 18% -10%, rgba(167, 139, 250, 0.13), transparent 68%),
    radial-gradient(680px 260px at 82% -12%, rgba(52, 211, 153, 0.09), transparent 68%),
    #050507;
}

.zg-ps-tab[data-tc-group="capital"].is-active::before {
  background: #a78bfa;
}
.zg-ps-tab[data-tc-group="capital"].is-active .zg-ps-tab-code {
  color: #a78bfa;
}
.zg-ps-tab[data-tc-group="capital"].is-active .zg-ps-tab-cnt {
  border-color: rgba(167, 139, 250, 0.44);
  background: rgba(167, 139, 250, 0.14);
}

/* Champagne Gold Badge for Milestone arXiv Papers & LLM Track */
.zg-badge.is-gold {
  color: #f3dc99;
  border-color: rgba(233, 205, 124, 0.42);
  background: rgba(233, 205, 124, 0.10);
}

/* -------------------- SCHOLAR & FOUNDER CARDS -------------------- */
.zg-tc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.zg-tc-grid.is-2col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 1120px) {
  .zg-tc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 740px) {
  .zg-tc-grid,
  .zg-tc-grid.is-2col {
    grid-template-columns: 1fr;
  }
}

.zg-tc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 16px 17px;
  background: #090a0f;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 2px;
  transition: border-color 0.16s ease, background 0.16s ease;
}
.zg-tc-card:hover {
  background: #0d0f17;
  border-color: rgba(56, 189, 248, 0.34);
}
.zg-tc-card.is-cap:hover {
  border-color: rgba(167, 139, 250, 0.38);
}
.zg-tc-card.is-audit:hover {
  border-color: rgba(52, 211, 153, 0.42);
}

.zg-tc-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.zg-tc-person {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.zg-tc-avatar {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--zg-serif);
  font-weight: 700;
  font-size: 15px;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.09);
  border: 1px solid rgba(56, 189, 248, 0.28);
}
.zg-tc-avatar.is-violet {
  color: #c4b5fd;
  background: rgba(167, 139, 250, 0.10);
  border-color: rgba(167, 139, 250, 0.30);
}
.zg-tc-name-wrap {
  min-width: 0;
}
.zg-tc-name {
  margin: 0;
  font-family: var(--zg-sans);
  font-size: 15.5px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
}
.zg-tc-inst {
  margin: 2px 0 0;
  font-size: 12px;
  color: #a1a1aa;
  line-height: 1.38;
}
.zg-tc-role {
  font-size: 12px;
  color: #d4d4d8;
  line-height: 1.45;
}
.zg-tc-kv {
  font-size: 12px;
  line-height: 1.54;
  color: #a1a1aa;
}
.zg-tc-kv strong {
  color: #e4e4e7;
  font-weight: 600;
}

/* Milestone Paper Chips inside Scholar Cards */
.zg-tc-papers-box {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 4px;
}
.zg-paper-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 2px;
  font-family: var(--zg-mono);
  font-size: 11px;
  color: #f3dc99;
  background: rgba(233, 205, 124, 0.09);
  border: 1px solid rgba(233, 205, 124, 0.34);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.14s ease;
}
.zg-paper-chip:hover {
  background: rgba(233, 205, 124, 0.20);
  border-color: #e9cd7c;
  color: #ffffff;
}
.zg-paper-chip i {
  font-style: normal;
  font-size: 9.5px;
  padding: 1px 4px;
  border-radius: 1px;
  background: rgba(233, 205, 124, 0.22);
  color: #fde68a;
}

/* Public Email & Action Footer */
.zg-tc-foot {
  margin-top: auto;
  padding-top: 9px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.zg-pub-email {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--zg-mono);
  font-size: 11px;
  color: #34d399;
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.26);
  padding: 2px 7px;
  border-radius: 2px;
  text-decoration: none;
}
.zg-pub-email:hover {
  border-color: #34d399;
  color: #ffffff;
}
.zg-tc-act-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px;
  border-radius: 2px;
  font-size: 11.5px;
  font-family: var(--zg-sans);
  color: #e4e4e7;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.14s ease;
}
.zg-tc-act-btn:hover {
  color: #ffffff;
  border-color: #38bdf8;
  background: rgba(56, 189, 248, 0.13);
}
.zg-tc-act-btn.is-violet:hover {
  border-color: #a78bfa;
  background: rgba(167, 139, 250, 0.15);
}
.zg-tc-act-btn.is-emerald {
  border-color: rgba(52, 211, 153, 0.34);
  color: #a7f3d0;
  background: rgba(52, 211, 153, 0.08);
}
.zg-tc-act-btn.is-emerald:hover {
  border-color: #34d399;
  background: rgba(52, 211, 153, 0.18);
  color: #ffffff;
}

/* -------------------- MILESTONE ARXIV PAPER LEDGER -------------------- */
.zg-arxiv-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 20px;
  background: #090a0f;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-left: 2px solid #e9cd7c;
  border-radius: 2px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.zg-arxiv-card:hover {
  background: #0d1018;
  border-color: rgba(233, 205, 124, 0.45);
}
.zg-arxiv-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.zg-arxiv-title {
  margin: 0;
  font-family: var(--zg-sans);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.38;
  color: #ffffff;
}
.zg-arxiv-title span {
  color: #f3dc99;
  margin-right: 7px;
  font-family: var(--zg-mono);
}
.zg-arxiv-authors {
  font-family: var(--zg-mono);
  font-size: 11.5px;
  color: #8e8e9a;
  line-height: 1.45;
}
.zg-arxiv-note {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.62;
  color: #d4d4d8;
  padding: 9px 11px;
  background: rgba(255, 255, 255, 0.025);
  border-left: 2px solid rgba(56, 189, 248, 0.45);
}
.zg-arxiv-scholars {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 11.5px;
  color: #a1a1aa;
}
.zg-scholar-jump {
  padding: 2px 7px;
  border-radius: 2px;
  border: 1px solid rgba(56, 189, 248, 0.30);
  background: rgba(56, 189, 248, 0.09);
  color: #bae6fd;
  font-size: 11.5px;
  cursor: pointer;
  text-decoration: none;
}
.zg-scholar-jump:hover {
  background: rgba(56, 189, 248, 0.20);
  color: #ffffff;
}

/* -------------------- WHAMPOA CRADLE BARS -------------------- */
.zg-whampoa-row {
  padding: 14px 16px;
  background: #090a0f;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 2px;
  margin-bottom: 10px;
}
.zg-whampoa-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.zg-whampoa-bar-track {
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 1px;
  overflow: hidden;
  margin-bottom: 10px;
}
.zg-whampoa-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #38bdf8, #a78bfa);
}
.zg-whampoa-people {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.zg-whampoa-person {
  font-size: 11.5px;
  padding: 3px 8px;
  background: #050508;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 2px;
  color: #d4d4d8;
}
.zg-whampoa-person em {
  font-style: normal;
  color: #71717a;
  margin-left: 4px;
}

/* -------------------- DIRECTED CAPITAL EDGES -------------------- */
.zg-edge-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.2fr) minmax(130px, 0.8fr) minmax(180px, 1.2fr) minmax(220px, 1.8fr);
  gap: 12px;
  align-items: center;
  padding: 12px 15px;
  background: #090a0f;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 2px;
  margin-bottom: 8px;
  font-size: 12.5px;
}
@media (max-width: 900px) {
  .zg-edge-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
.zg-edge-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--zg-mono);
  font-size: 11.5px;
  color: #34d399;
}

/* -------------------- PDF & EQUITY PENETRATION DRAWER -------------------- */
.zg-tc-pdf-frame {
  width: 100%;
  height: 64vh;
  min-height: 460px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 2px;
  background: #0e1015;
  margin-top: 12px;
}
@media (max-width: 768px) {
  .zg-tc-pdf-frame {
    display: none;
  }
}
.zg-eq-sec {
  padding: 13px 15px;
  background: #090a0f;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 2px;
  margin-bottom: 10px;
}
.zg-eq-sec.is-annual-audit {
  border-color: rgba(52, 211, 153, 0.32);
  border-left: 2px solid #34d399;
  background: linear-gradient(180deg, rgba(52, 211, 153, 0.05), rgba(9, 10, 15, 0.96) 56px);
}
.zg-eq-sec h4 {
  margin: 0 0 6px;
  font-family: var(--zg-mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: #a78bfa;
}
.zg-eq-sec.is-annual-audit h4 {
  color: #34d399;
}
.zg-eq-sec p {
  margin: 0;
  font-size: 13px;
  line-height: 1.62;
  color: #e4e4e7;
}

/* -------------------- V17 MOD-05 · STATUTORY ANNUAL REPORT & NBS AUDIT -------------------- */
.zg-caliber-alert {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 16px;
  margin-bottom: 14px;
  background: rgba(245, 158, 11, 0.07);
  border: 1px solid rgba(245, 158, 11, 0.30);
  border-left: 3px solid #f59e0b;
  border-radius: 2px;
  font-size: 12.5px;
  line-height: 1.58;
  color: #fde68a;
}
.zg-caliber-alert strong {
  color: #ffffff;
  font-family: var(--zg-mono);
  letter-spacing: 0.03em;
}

.zg-ann-subnav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}
@media (max-width: 860px) {
  .zg-ann-subnav {
    grid-template-columns: 1fr;
  }
}
.zg-ann-subbtn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 11px 14px;
  background: #08090d;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 2px;
  color: #a1a1aa;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s ease;
}
.zg-ann-subbtn:hover {
  background: #0d1018;
  color: #f4f4f5;
  border-color: rgba(52, 211, 153, 0.34);
}
.zg-ann-subbtn.is-on {
  background: rgba(52, 211, 153, 0.09);
  border-color: rgba(52, 211, 153, 0.52);
  color: #ffffff;
}
.zg-ann-subbtn span {
  font-family: var(--zg-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: #34d399;
}
.zg-ann-subbtn strong {
  font-size: 13.5px;
  font-weight: 700;
  color: inherit;
}
.zg-ann-subbtn small {
  font-size: 11.5px;
  color: #71717a;
}
.zg-ann-subbtn.is-on small {
  color: #cbd5e1;
}

/* Concentration Meter Bars & KPI Grid */
.zg-conc-meters {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 9px 11px;
  background: #06070b;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 2px;
}
.zg-conc-row {
  display: grid;
  grid-template-columns: 112px 1fr 64px;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
}
.zg-conc-lbl {
  color: #a1a1aa;
  white-space: nowrap;
}
.zg-conc-track {
  height: 6px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 1px;
  overflow: hidden;
}
.zg-conc-fill {
  height: 100%;
  background: linear-gradient(90deg, #38bdf8, #a78bfa);
}
.zg-conc-fill.is-warn {
  background: linear-gradient(90deg, #f59e0b, #fb7185);
}
.zg-conc-fill.is-emerald {
  background: linear-gradient(90deg, #34d399, #38bdf8);
}
.zg-conc-val {
  text-align: right;
  font-family: var(--zg-mono);
  font-size: 11.5px;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

.zg-ann-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(125px, 1fr));
  gap: 7px;
  margin: 8px 0;
}
.zg-ann-kpi {
  padding: 7px 10px;
  background: #06070b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2px;
}
.zg-ann-kpi span {
  display: block;
  font-size: 10.5px;
  color: #8e8e9a;
}
.zg-ann-kpi b {
  display: block;
  margin-top: 2px;
  font-family: var(--zg-mono);
  font-size: 13px;
  color: #34d399;
  font-variant-numeric: tabular-nums;
}

/* Compact Statutory Segment & Bureau Tables */
.zg-ann-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 2px;
  background: #07080c;
}
.zg-ann-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  line-height: 1.48;
}
.zg-ann-table th {
  padding: 8px 10px;
  text-align: left;
  font-family: var(--zg-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #8e8e9a;
  background: #0b0d14;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  white-space: nowrap;
}
.zg-ann-table td {
  padding: 7px 10px;
  color: #d4d4d8;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: top;
}
.zg-ann-table tr:last-child td {
  border-bottom: 0;
}
.zg-ann-table tr:hover td {
  background: rgba(255, 255, 255, 0.025);
}
.zg-ann-num {
  font-family: var(--zg-mono);
  color: #34d399;
  font-weight: 600;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.zg-partner-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.zg-partner-pill {
  font-family: var(--zg-mono);
  font-size: 10.5px;
  padding: 2px 6px;
  border-radius: 2px;
  color: #bae6fd;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.24);
}
