/* 分野 — Manus-inspired layout, teal brand + OPPO Sans */

/* Fraunces 可变字体（opsz 9..144，wght 500-550）—— 自托管，替代 Google Fonts 外链 */
@font-face {
  font-family: "Fraunces";
  src: url("../font/fraunces-latin.woff2") format("woff2");
  font-weight: 500 550;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  src: url("../font/fraunces-latin-ext.woff2") format("woff2");
  font-weight: 500 550;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fraunces";
  src: url("../font/fraunces-vietnamese.woff2") format("woff2");
  font-weight: 500 550;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* OPPO Sans 4.0 字体分包声明见 static/font/oppo/oppo-sans-split.css（base.html 引入），
   勿在此处单独声明 —— 否则会回退到 22MB 的原始 TTF */
@font-face {
  font-family: "ZiHun YanBoSong";
  src: url("../font/zihunyanbosong.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #14181a;
  --ink-soft: #4a5558;
  --muted: #8a9497;
  --line: #ebeeed;
  --line-strong: #dfe4e3;
  --paper: #f7f8f7;
  --surface: #ffffff;
  --brand: #1a7a84;
  --brand-deep: #0f4c55;
  --brand-soft: #e8f3f4;
  --brand-mid: #2a9aa5;
  --danger: #c44;
  --ok: #1e7a45;
  --warn: #9a6b12;
  --radius: 6px;
  --radius-sm: 4px;
  --radius-pill: 999px;
  --radius-card: 8px;
  --radius-panel: 8px;
  --font: "OPPO Sans 4.0", "Segoe UI", system-ui, sans-serif;
  --font-display: "Fraunces", "OPPO Sans 4.0", Georgia, serif;
  --font-logo: "ZiHun YanBoSong", "OPPO Sans 4.0", serif;
  --shadow-sm: 0 1px 2px rgba(15, 42, 46, 0.04);
  --shadow: 0 8px 30px rgba(15, 42, 46, 0.06);
  --sidebar-w: 216px;
  --nav-h: 56px;
  --ws-content: 880px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
pre, code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

.container { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.container-wide { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: var(--radius-pill);
  border: 1px solid transparent; cursor: pointer;
  font-weight: 600; font-size: 13.5px; transition: .15s ease;
  background: transparent; color: var(--ink);
}
.btn-primary { background: var(--brand-deep); color: #fff; }
.btn-primary:hover { background: var(--brand); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2a3235; }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--paper); }
.btn-soft { background: var(--brand-soft); color: var(--brand-deep); }
.btn-soft:hover { background: #d5ecee; }
.btn-danger { background: #fdecea; color: #842029; border-color: #f5c2c7; }
.btn-sm { padding: 7px 14px; font-size: 12.5px; }
.btn-xs { padding: 4px 10px; font-size: 12px; border-radius: var(--radius-sm); }
.btn-compact {
  height: 28px; padding: 0 10px; gap: 5px;
  font-size: 12px; font-weight: 600;
  border-radius: var(--radius-sm);
}
.btn-compact .ph { font-size: 13px; }
.btn-block { width: 100%; }
.btn-icon {
  width: 28px; height: 28px; padding: 0; border-radius: var(--radius-sm);
  border: none; background: transparent; color: var(--muted);
  display: inline-grid; place-items: center;
}
.btn-icon .ph { font-size: 15px; }
.btn-icon:hover { background: var(--paper); color: var(--ink); }
.btn-icon-danger:hover { background: #fdecea; color: #842029; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

/* Workspace: no pill / chubby buttons */
.ws-app .btn {
  border-radius: var(--radius-sm);
  padding: 0 12px;
  height: 30px;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 600;
}
.ws-app .btn .ph { font-size: 14px; }
.ws-app .btn-sm,
.ws-app .btn-compact,
.ws-app .btn-xs {
  height: 28px;
  padding: 0 10px;
  font-size: 12px;
  border-radius: var(--radius-sm);
}
.ws-app .btn-xs { height: 24px; padding: 0 8px; font-size: 11.5px; }
.ws-app .tab { border-radius: var(--radius-sm); }
.modal-backdrop .btn {
  border-radius: var(--radius-sm);
  padding: 0 12px;
  height: 30px;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 600;
}

/* ── Site nav (Manus marketing) ── */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(247, 248, 247, 0.86);
  border-bottom: 1px solid transparent;
}
.site-nav.scrolled { border-bottom-color: var(--line); background: rgba(255,255,255,.92); }
.site-nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h); gap: 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-logo);
  font-weight: 400; font-size: 22px; color: var(--brand-deep);
  margin: 0; padding: 0;
  letter-spacing: normal;
}
.brand-mark {
  height: 22px; width: auto; display: block;
  margin: 0; padding: 0; flex-shrink: 0;
}
.brand-text {
  letter-spacing: 0.08em; line-height: 1;
  transform: translateY(-1.5px);
}
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > a:not(.btn) {
  padding: 8px 12px; border-radius: var(--radius-sm);
  font-size: 13.5px; color: var(--ink-soft); font-weight: 500;
}
.nav-links > a:not(.btn):hover { background: rgba(0,0,0,.04); color: var(--ink); }
.nav-links > a.active { color: var(--ink); font-weight: 600; }
.nav-cta { display: flex; align-items: center; gap: 8px; margin-left: 8px; }
.nav-cta .btn {
  border-radius: var(--radius-sm);
  height: 32px;
  padding: 0 12px;
}

/* ── Marketing hero ── */
.hero {
  padding: 72px 0 56px;
  background:
    radial-gradient(900px 420px at 70% -10%, rgba(26,122,132,.10), transparent 60%),
    radial-gradient(700px 360px at 10% 20%, rgba(196,165,116,.08), transparent 55%),
    var(--paper);
}
.hero-center { text-align: center; max-width: 760px; margin: 0 auto; }
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px; border-radius: var(--radius-pill);
  background: var(--surface); border: 1px solid var(--line);
  font-size: 12px; font-weight: 600; color: var(--brand-deep); margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.25rem);
  font-weight: 550; letter-spacing: -0.03em;
  line-height: 1.15; margin: 0 0 16px; color: var(--ink);
}
.hero h1 em { font-style: italic; color: var(--brand-deep); }
.hero-lead {
  font-size: 16px; color: var(--ink-soft); max-width: 560px;
  margin: 0 auto 28px; line-height: 1.65;
}
.hero-cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.prompt-chips {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  margin-top: 36px;
}
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: var(--radius-pill);
  background: var(--surface); border: 1px solid var(--line);
  font-size: 13px; font-weight: 500; color: var(--ink-soft);
  transition: .15s ease; box-shadow: var(--shadow-sm);
}
.chip:hover { border-color: var(--brand); color: var(--brand-deep); background: var(--brand-soft); }
.chip-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--brand);
}

/* ── Sections / cards ── */
.section { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.section-head { max-width: 560px; margin-bottom: 36px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 550; margin: 0 0 10px; letter-spacing: -0.02em;
}
.section-head p { margin: 0; color: var(--muted); font-size: 15px; }

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

.m-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  transition: .15s ease;
}
.m-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.m-card .ico {
  width: 36px; height: 36px; border-radius: var(--radius);
  background: var(--brand-soft); color: var(--brand-deep);
  display: grid; place-items: center; font-size: 16px; font-weight: 700;
  margin-bottom: 14px;
}
.m-card h3 { margin: 0 0 6px; font-size: 15px; font-weight: 650; }
.m-card p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.55; }

.price-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-card); padding: 28px 24px; box-shadow: var(--shadow-sm);
}
.price-card.featured {
  border-color: var(--brand);
  box-shadow: 0 12px 40px rgba(26,122,132,.12);
}
.price-card .tier { font-size: 13px; font-weight: 650; color: var(--brand-deep); }
.price-card .price {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 550; margin: 10px 0 6px;
}
.price-card ul { margin: 18px 0 22px; padding: 0; list-style: none; }
.price-card li {
  padding: 8px 0; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--ink-soft);
}
.price-card li::before { content: "✓ "; color: var(--brand); font-weight: 700; }

.cta-band {
  padding: 64px 0;
  background:
    radial-gradient(700px 280px at 50% 0%, rgba(26,122,132,.10), transparent 65%),
    var(--surface);
  border-top: 1px solid var(--line);
  text-align: center;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 550; margin: 0 0 10px; letter-spacing: -0.02em;
}
.cta-band p { margin: 0 auto 24px; max-width: 420px; color: var(--muted); font-size: 15px; }

/* ── Marketing pages (Manus-inspired, non-card-grid) ── */
.mk-page { overflow: hidden; }
.mk-page .mono {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  letter-spacing: 0.06em; font-size: 11px; font-weight: 500;
}
.mk-page .btn { border-radius: var(--radius-sm); }
.mk-eyebrow { margin: 0 0 14px; color: var(--brand); }
.mk-hero {
  padding: 88px 0 64px;
  background:
    radial-gradient(900px 400px at 80% -20%, rgba(26,122,132,.12), transparent 55%),
    radial-gradient(rgba(15,42,46,.05) 1px, transparent 1px),
    var(--paper);
  background-size: auto, 18px 18px, auto;
}
.mk-hero-home { padding: 96px 0 72px; }
.mk-hero-inner { max-width: 720px; }
.mk-hero-center { margin: 0 auto; text-align: center; max-width: 760px; }
.mk-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  font-weight: 550; letter-spacing: -0.035em;
  line-height: 1.12; margin: 0 0 18px; color: var(--ink);
}
.mk-hero h1 em { font-style: italic; color: var(--brand-deep); }
.mk-lead {
  margin: 0 0 22px; font-size: 16px; line-height: 1.65;
  color: var(--ink-soft); max-width: 36em;
}
.mk-hero-center .mk-lead { margin-left: auto; margin-right: auto; }
.mk-lead-sm {
  margin: 0 0 20px; font-size: 15px; line-height: 1.7; color: var(--ink-soft);
}
.mk-jump {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px;
}
.mk-jump-center { justify-content: center; }
.mk-jump a {
  display: inline-flex; align-items: center;
  padding: 9px 14px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--line);
  font-size: 13px; font-weight: 550; color: var(--ink-soft);
  transition: .15s ease;
}
.mk-jump a:hover {
  border-color: var(--brand); color: var(--brand-deep); background: var(--brand-soft);
}

.mk-manifesto {
  padding: 64px 0;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(26, 122, 132, 0.07), rgba(26, 122, 132, 0.03)),
    var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.mk-manifesto::after {
  content: "";
  display: block;
  width: 28px; height: 28px;
  margin: 28px auto 0;
  border-right: 1.5px solid var(--line-strong);
  border-bottom: 1.5px solid var(--line-strong);
  transform: rotate(45deg);
  opacity: 0.55;
}
.mk-big {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 550; letter-spacing: -0.03em;
  line-height: 1.25; margin: 0;
  color: var(--ink);
}
.mk-big em { font-style: italic; color: var(--brand-deep); }
.mk-big strong { color: var(--brand-deep); font-weight: 550; }
.mk-manifesto-sub {
  margin: 18px auto 0; max-width: 420px;
  font-size: 14.5px; color: var(--muted); line-height: 1.6;
}

.mk-block { padding: 80px 0; }
.mk-block-dim { background: #eef2f1; }
.mk-block-head { max-width: 560px; margin-bottom: 36px; }
.mk-block-head h2,
.mk-block h2,
.mk-narrow h2,
.mk-scene-copy h2,
.mk-path-body h2,
.mk-note h2,
.mk-close h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 550; letter-spacing: -0.02em;
  margin: 0 0 12px; color: var(--ink);
}
.mk-block-head p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.mk-narrow { max-width: 640px; }
.mk-block-fig { margin: 36px 0 0; }
.mk-block-fig figcaption,
.mk-split-media figcaption,
.mk-scene-media figcaption {
  margin-top: 10px; color: var(--muted);
}

.mk-split {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 48px; align-items: center;
}
.mk-split-media { margin: 0; }
.mk-block-fig img,
.mk-split-media img {
  display: block; width: 100%;
  object-fit: cover; border-radius: var(--radius);
}
.mk-split-media img { aspect-ratio: 4 / 5; }
.mk-tech-row {
  display: flex; flex-wrap: wrap; gap: 10px 18px;
  margin-top: 8px; color: var(--muted);
}
.mk-tech-row span {
  padding: 4px 0; border-bottom: 1px dashed var(--line-strong);
}

.mk-cap-list { display: flex; flex-direction: column; }
.mk-cap {
  display: grid; grid-template-columns: 56px 1fr auto;
  gap: 16px; align-items: center;
  padding: 22px 0; border-top: 1px solid var(--line-strong);
  transition: background .15s;
}
.mk-cap:last-child { border-bottom: 1px solid var(--line-strong); }
.mk-cap:hover { background: rgba(26,122,132,.04); }
.mk-cap-num { color: var(--brand); font-size: 14px; font-weight: 700; }
.mk-cap h3 { margin: 0 0 4px; font-size: 16px; font-weight: 650; }
.mk-cap p { margin: 0; font-size: 13.5px; color: var(--muted); }
.mk-cap-go { color: var(--muted); font-size: 11px; }

.mk-scene { padding: 72px 0; border-top: 1px solid var(--line); }
.mk-scene-alt { background: #eef2f1; }
.mk-scene-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 48px; align-items: center;
}
.mk-scene-grid-rev { direction: rtl; }
.mk-scene-grid-rev > * { direction: ltr; }
.mk-scene-who { margin: 0 0 10px; color: var(--brand); }
.mk-pain {
  font-size: 15px; line-height: 1.7; color: var(--ink-soft); margin: 0 0 20px;
}
.mk-flow {
  padding: 16px 18px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  margin-bottom: 16px;
}
.mk-flow h3 { margin: 0 0 10px; font-size: 13px; font-weight: 650; }
.mk-flow ol {
  margin: 0; padding-left: 1.15em;
  font-size: 13.5px; color: var(--ink-soft); line-height: 1.65;
}
.mk-out {
  margin: 0; font-size: 14px; color: var(--ink); line-height: 1.6;
}
.mk-scene-media { margin: 0; }

.mk-path { padding: 24px 0 64px; }
.mk-path-list { list-style: none; margin: 0; padding: 0; }
.mk-path-item {
  display: grid; grid-template-columns: 72px 1fr;
  gap: 8px 20px;
  padding: 36px 0;
  border-top: 1px solid var(--line-strong);
}
.mk-path-item:last-child { border-bottom: 1px solid var(--line-strong); }
.mk-path-item-focus {
  background: linear-gradient(90deg, var(--brand-soft), transparent 60%);
  margin: 0 -12px; padding-left: 12px; padding-right: 12px;
  border-radius: var(--radius);
}
.mk-path-idx {
  font-size: 22px; font-weight: 700; color: var(--brand);
  padding-top: 6px;
}
.mk-path-top {
  display: flex; flex-wrap: wrap; align-items: baseline;
  justify-content: space-between; gap: 8px 16px;
  margin-bottom: 8px;
}
.mk-path-top h2 { margin: 0; }
.mk-path-price { font-size: 13px; font-weight: 650; color: var(--brand-deep); }
.mk-path-body > p {
  margin: 0 0 14px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.65;
}
.mk-path-body ul {
  margin: 0 0 18px; padding-left: 1.1em;
  font-size: 13.5px; color: var(--muted); line-height: 1.7;
}

.mk-note { padding: 48px 0 64px; }
.mk-note p {
  margin: 0; font-size: 15px; line-height: 1.75; color: var(--ink-soft);
}

.mk-close {
  padding: 80px 0 88px;
  background: var(--ink); color: #e8f0f0;
  margin-bottom: 0;
}
.mk-close .mk-eyebrow { color: var(--brand-mid); }
.mk-close h2 { color: #fff; }
.mk-close p {
  margin: 0 0 22px; max-width: 480px;
  font-size: 15px; color: rgba(232,240,240,.72); line-height: 1.65;
}
.mk-close-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.mk-close .btn-ghost {
  background: transparent; color: #fff; border-color: rgba(255,255,255,.28);
}
.mk-close .btn-ghost:hover { background: rgba(255,255,255,.08); }
.mk-close .btn-dark { background: #fff; color: var(--ink); }
.mk-close .btn-dark:hover { background: var(--brand-soft); color: var(--brand-deep); }

@media (max-width: 900px) {
  .mk-split,
  .mk-scene-grid { grid-template-columns: 1fr; gap: 28px; }
  .mk-scene-grid-rev { direction: ltr; }
  .mk-path-item { grid-template-columns: 48px 1fr; }
  .mk-cap { grid-template-columns: 40px 1fr; }
  .mk-cap-go { display: none; }
  .mk-hero { padding: 64px 0 48px; }
  .mk-split-media img { aspect-ratio: 16 / 10; }
}

/* ── About：文艺极客 ── */
.about-page { overflow: hidden; }
.about-page .mono {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  letter-spacing: 0.06em; font-size: 11px; font-weight: 500;
}
.about-kicker {
  margin: 0 0 14px; color: var(--brand);
}
.about-kicker .mono {
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(26, 122, 132, 0.35);
}

.about-hero {
  position: relative;
  padding: 72px 0 48px;
  background:
    radial-gradient(800px 360px at 85% 0%, rgba(26, 122, 132, 0.1), transparent 55%),
    radial-gradient(rgba(15, 42, 46, 0.05) 1px, transparent 1px),
    var(--paper);
  background-size: auto, 18px 18px, auto;
}
.about-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: end;
}
.about-hero-inner {
  position: relative; z-index: 1;
  max-width: 560px;
  animation: about-rise 0.9s ease both;
}
.about-brand {
  font-family: var(--font-logo);
  font-size: clamp(3.2rem, 8vw, 5.5rem);
  font-weight: 400; letter-spacing: 0.06em;
  line-height: 0.95; margin: 0 0 10px;
  color: var(--ink);
}
.about-tag {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 550; font-style: italic;
  color: var(--brand-deep);
  margin: 0 0 16px;
}
.about-lede {
  margin: 0; max-width: 34em;
  font-size: 15.5px; line-height: 1.7;
  color: var(--ink-soft);
}
.about-hero-fig { margin: 0; }
.about-hero-fig figcaption {
  margin-top: 10px; color: var(--muted);
}

.about-quote {
  padding: 72px 0;
  background:
    radial-gradient(rgba(15, 42, 46, 0.06) 1px, transparent 1px),
    var(--paper);
  background-size: 16px 16px;
}
.about-quote blockquote {
  margin: 0 auto; max-width: 640px; text-align: center;
  border: none; padding: 0;
  animation: about-fade 1s ease 0.15s both;
}
.about-quote blockquote p {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 550; line-height: 1.45;
  color: var(--ink); margin: 0 0 18px;
}
.about-quote cite {
  color: var(--muted); font-style: normal;
}

.about-chapter { padding: 80px 0; }
.about-chapter-dim {
  background:
    linear-gradient(180deg, #eef2f1 0%, var(--paper) 100%);
}
.about-chapter h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 550; letter-spacing: -0.02em;
  margin: 0 0 18px; color: var(--ink);
}
.about-h-wide { max-width: 14em; }
.about-chapter p {
  font-size: 15px; line-height: 1.75; color: var(--ink-soft); margin: 0 0 14px;
}
.about-chapter p em {
  font-style: italic; color: var(--brand-deep); font-family: var(--font-display);
}

.about-split {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 48px; align-items: center;
}
.about-meta {
  list-style: none; margin: 28px 0 0; padding: 0;
  display: flex; flex-direction: column; gap: 8px;
  color: var(--muted);
}
.about-meta li {
  padding: 8px 0;
  border-top: 1px solid var(--line);
}
.about-split-media { margin: 0; }
.about-split-media figcaption {
  margin-top: 10px; color: var(--muted);
}

.about-principles {
  list-style: none; margin: 36px 0 0; padding: 0;
  display: flex; flex-direction: column; gap: 0;
}
.about-principles > li {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 160px;
  gap: 20px; align-items: center;
  padding: 28px 0;
  border-top: 1px solid var(--line-strong);
}
.about-principles > li:last-child { border-bottom: 1px solid var(--line-strong); }
.about-pr-idx {
  font-size: 22px; color: var(--brand); font-weight: 600;
}
.about-pr-body h3 {
  margin: 0 0 8px; font-size: 1.15rem; font-weight: 650;
  letter-spacing: -0.02em;
}
.about-pr-body p { margin: 0; font-size: 14px; }
.about-pr-fig { margin: 0; }
.about-pr-fig img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  display: block; border-radius: var(--radius);
}

.about-studio-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  align-items: end; margin-bottom: 28px;
}
.about-studio-head p { margin: 0; max-width: 36em; }

.about-mosaic {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 180px 180px;
  gap: 12px;
}
.about-ph-mosaic.a { grid-row: 1 / 3; min-height: 100%; }
.about-ph-mosaic.b,
.about-ph-mosaic.c { min-height: 100%; }
.about-mosaic img { border-radius: var(--radius); }

.about-tech {
  display: flex; flex-wrap: wrap; gap: 10px 18px;
  margin-top: 22px; color: var(--muted);
}
.about-tech span {
  padding: 4px 0;
  border-bottom: 1px dashed var(--line-strong);
}

.about-close {
  padding: 88px 0 100px;
  background:
    radial-gradient(700px 320px at 50% 0%, rgba(26, 122, 132, 0.1), transparent 65%),
    var(--ink);
  color: #e8f0f0;
}
.about-close-inner { max-width: 560px; }
.about-close .about-kicker { color: var(--brand-mid); }
.about-close h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 550; margin: 0 0 12px; color: #fff;
}
.about-close p {
  margin: 0 0 24px; color: rgba(232, 240, 240, 0.72);
  font-size: 15px; line-height: 1.65;
}
.about-close-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.about-close .btn { border-radius: var(--radius-sm); }
.about-close .btn-ghost {
  background: transparent; color: #fff; border-color: rgba(255,255,255,.28);
}
.about-close .btn-ghost:hover { background: rgba(255,255,255,.08); }
.about-close .btn-dark { background: #fff; color: var(--ink); }
.about-close .btn-dark:hover { background: var(--brand-soft); color: var(--brand-deep); }

/* 图片占位：替换时保留外层 figure，把 .about-ph 换成 <img> 即可 */
.about-ph {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  border: 1.5px dashed rgba(26, 122, 132, 0.35);
  background:
    linear-gradient(135deg, rgba(26, 122, 132, 0.08), rgba(15, 42, 46, 0.04)),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 8px,
      rgba(15, 42, 46, 0.03) 8px,
      rgba(15, 42, 46, 0.03) 9px
    );
  color: var(--muted);
  font-size: 12.5px; font-weight: 550;
  text-align: center; padding: 16px;
  border-radius: var(--radius);
  overflow: hidden;
}
.about-ph-hero {
  min-height: 320px;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, var(--brand-soft) 0%, #dfeaea 45%, #eef2f1 100%),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 10px,
      rgba(15, 42, 46, 0.03) 10px,
      rgba(15, 42, 46, 0.03) 11px
    );
  color: var(--muted);
  border: 1.5px dashed rgba(26, 122, 132, 0.28);
}
.about-ph-tall { min-height: 420px; aspect-ratio: 4 / 5; }
.about-ph-sm { min-height: 100px; aspect-ratio: 1; }
.about-ph img,
.about-split-media img,
.about-mosaic img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.about-hero-fig img,
.about-split-media img {
  width: 100%; height: auto; object-fit: cover; display: block;
  aspect-ratio: 4 / 5; border-radius: var(--radius);
}

@keyframes about-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes about-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 900px) {
  .about-hero { padding: 48px 0 32px; }
  .about-hero-grid,
  .about-split,
  .about-studio-head { grid-template-columns: 1fr; gap: 24px; }
  .about-ph-hero { aspect-ratio: 16 / 10; min-height: 200px; }
  .about-principles > li {
    grid-template-columns: 48px 1fr;
    gap: 12px 16px;
  }
  .about-pr-fig { grid-column: 2; max-width: 120px; }
  .about-mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: 200px 140px 140px;
  }
  .about-ph-mosaic.a { grid-row: auto; }
  .about-ph-tall { min-height: 280px; aspect-ratio: 16 / 10; }
  .about-hero-fig img,
  .about-split-media img { aspect-ratio: 16 / 10; }
}


.step-num {
  font-family: var(--font-display);
  font-size: 1.35rem; font-weight: 550; color: var(--brand-deep);
  margin-bottom: 10px;
}

/* Footer */
.site-footer-wrap {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 48px 0 28px;
  margin-top: 0;
}
/* 正文末段为深色收束时，去掉页脚顶边以免出现细缝感 */
.mk-page:has(> .mk-close:last-child) + .site-footer-wrap,
.about-page:has(> .about-close:last-child) + .site-footer-wrap {
  border-top: none;
}
.mk-page,
.about-page { margin-bottom: 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px;
  margin-bottom: 36px;
}
.footer-col h4 {
  margin: 0 0 14px; font-size: 12px; font-weight: 650;
  color: var(--muted); text-transform: uppercase; letter-spacing: .04em;
}
.footer-col a {
  display: block; padding: 5px 0; font-size: 13px; color: var(--ink-soft);
}
.footer-col a.brand {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 0; font-size: 22px; color: var(--brand-deep);
}
.footer-col a:hover { color: var(--brand-deep); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 20px; border-top: 1px solid var(--line);
  font-size: 12px; color: var(--muted); flex-wrap: wrap; gap: 8px;
}

/* ── Auth (Manus-like centered + dot grid) ── */
.auth-shell {
  min-height: 100vh; display: flex; flex-direction: column;
  background-color: var(--paper);
  background-image:
    radial-gradient(rgba(15, 42, 46, 0.09) 1px, transparent 1px);
  background-size: 18px 18px;
  background-position: 0 0;
}
.auth-shell .btn {
  border-radius: var(--radius-sm);
  height: 40px;
  padding: 0 16px;
  font-size: 13.5px;
}
.auth-top {
  height: 56px; display: flex; align-items: center;
  padding: 0 28px;
}
.auth-main {
  flex: 1; display: grid; place-items: center; padding: 24px 16px 64px;
}
.auth-card {
  width: min(400px, 100%);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 36px 32px;
  box-shadow: var(--shadow);
}
.auth-card h1 {
  font-family: var(--font-display);
  font-size: 1.65rem; margin: 0 0 6px; font-weight: 550;
}
.auth-card .sub { color: var(--muted); font-size: 13.5px; margin: 0 0 28px; }
.field { margin-bottom: 14px; }
.field label {
  display: block; font-size: 12px; font-weight: 600;
  color: var(--ink-soft); margin-bottom: 6px;
}
.field input[type="text"],
.field input[type="password"],
.field input[type="email"],
.field input[type="number"],
.field input[type="search"],
.field input[type="url"],
.field input:not([type]),
.field textarea,
.field select {
  width: 100%; padding: 10px 12px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: var(--paper); color: var(--ink); outline: none;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(26, 122, 132, 0.12);
  background: #fff;
}

/* 自定义下拉 */
.field select,
select {
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position:
    calc(100% - 16px) calc(50% - 3px),
    calc(100% - 11px) calc(50% - 3px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 32px;
  cursor: pointer;
}

/* 自定义复选 / 单选 */
.field-check {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 14px;
}
.field-check > label {
  margin: 0; font-size: 13px; font-weight: 500;
  color: var(--ink-soft); line-height: 1.4; cursor: pointer;
}
input[type="checkbox"],
input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px !important;
  height: 16px !important;
  min-width: 16px;
  max-width: 16px;
  margin: 2px 0 0;
  padding: 0 !important;
  flex-shrink: 0;
  border: 1.5px solid var(--line-strong);
  background: var(--surface);
  cursor: pointer;
  vertical-align: middle;
  box-shadow: none;
}
input[type="checkbox"] { border-radius: 4px; }
input[type="radio"] { border-radius: 50%; }
input[type="checkbox"]:checked,
input[type="radio"]:checked {
  border-color: var(--brand-deep);
  background-color: var(--brand-deep);
  background-repeat: no-repeat;
  background-position: center;
}
input[type="checkbox"]:checked {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5l3 3 6-6'/%3E%3C/svg%3E");
  background-size: 12px 12px;
}
input[type="radio"]:checked {
  background-image: radial-gradient(circle, #fff 0 3px, transparent 3.5px);
}
input[type="checkbox"]:focus-visible,
input[type="radio"]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(26, 122, 132, 0.18);
}
input[type="checkbox"]:disabled,
input[type="radio"]:disabled {
  opacity: .45; cursor: not-allowed;
}

.alert {
  padding: 10px 12px; border-radius: var(--radius-sm);
  font-size: 13px; margin-bottom: 14px;
}
.alert-error { background: #fdecea; color: #842029; border: 1px solid #f5c2c7; }
.alert-success { background: #e6f4ea; color: #1e6b34; border: 1px solid #b7dfc3; }
.auth-foot { margin-top: 20px; text-align: center; font-size: 13px; color: var(--muted); }
.auth-foot a { color: var(--brand-deep); font-weight: 600; }

/* ── Workspace shell (Manus sidebar) ── */
.ws-app {
  display: flex; min-height: 100vh; background: var(--paper);
}
.ws-sidebar {
  width: var(--sidebar-w); flex-shrink: 0;
  background: #f3f4f3;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column;
  position: sticky; top: 0; height: 100vh;
}
.ws-side-top {
  padding: 14px 14px 8px;
  display: flex; align-items: center; justify-content: space-between;
}
.ws-side-top .brand { margin: 0 0 0 12px; padding: 0; }
.ws-side-nav { padding: 4px 10px; flex: 1; overflow-y: auto; }
.ws-nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: var(--radius-sm);
  font-size: 13.5px; font-weight: 500; color: var(--ink-soft);
  margin-bottom: 2px;
}
.ws-nav-item:hover { background: rgba(0,0,0,.05); color: var(--ink); }
.ws-nav-item.active {
  background: #e5e7e6;
  color: var(--ink); font-weight: 600;
  box-shadow: none;
}
.ws-nav-item .ph {
  font-size: 18px; width: 20px; text-align: center;
  color: var(--muted); flex-shrink: 0;
}
.ws-nav-item:hover .ph,
.ws-nav-item.active .ph { color: var(--brand-deep); }
.ws-section-label {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 12px 6px;
  font-size: 11px; font-weight: 650; color: var(--muted);
  letter-spacing: .03em; text-transform: uppercase;
}
.ws-side-foot {
  padding: 10px;
  border-top: 1px solid var(--line);
  position: relative;
}
.ws-plan-badge {
  flex-shrink: 0;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .03em;
  line-height: 1.5;
}
.lvl-lite { background: var(--paper); color: var(--ink-soft); box-shadow: inset 0 0 0 1px var(--line); }
.lvl-pro { background: var(--brand-soft); color: var(--brand-deep); }
.lvl-max { background: linear-gradient(135deg, #0f2a2e, #0b6e6e); color: #fff; }
.ws-user-wrap { position: relative; }
.ws-user {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 8px 10px; border-radius: var(--radius-sm);
  border: none; background: transparent; cursor: pointer;
  text-align: left; color: inherit;
}
.ws-user:hover { background: rgba(0,0,0,.04); }
.ws-user-wrap.open .ws-user { background: rgba(255,255,255,.75); }
.ws-avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand-deep);
  display: grid; place-items: center; font-weight: 700; font-size: 12px;
  flex-shrink: 0;
}
.ws-user-name {
  flex: 1; font-size: 13px; font-weight: 600; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ws-user-caret {
  font-size: 12px; color: var(--muted); transition: transform .18s ease;
}
.ws-user-wrap.open .ws-user-caret { transform: rotate(180deg); color: var(--brand-deep); }

.ws-user-panel {
  position: absolute; left: 0; right: 0; bottom: calc(100% + 6px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 6px;
  z-index: 30;
  animation: wsPanelUp .16s ease;
}
@keyframes wsPanelUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.ws-user-panel-item {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 10px 12px;
  border: none; background: transparent;
  border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 550; color: var(--ink);
  cursor: pointer; text-align: left;
}
.ws-user-panel-item:hover { background: var(--paper); }
.ws-user-panel-item .ph { font-size: 16px; color: var(--muted); }

.ws-main {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column;
}
.ws-content {
  width: min(var(--ws-content), calc(100% - 48px));
  margin: 0 auto;
}
.ws-page-head {
  display: none;
  align-items: center; justify-content: space-between; gap: 16px;
  margin: 0 0 18px;
}
.ws-page-head:has(.ws-page-title:not(:empty)),
.ws-page-head:has(.ws-page-actions:not(:empty)) { display: flex; }
.ws-page-title {
  font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em;
  font-family: var(--font-display); color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  min-width: 0;
}
.ws-page-actions {
  display: flex; gap: 8px; flex-wrap: nowrap; align-items: center; justify-content: flex-end;
  flex-shrink: 0;
}
.ws-page-actions form { display: contents; }
.ws-title-row {
  display: inline-flex; align-items: center; gap: 8px; min-width: 0; max-width: 100%;
}
.ws-title-back {
  width: 28px; height: 28px; flex-shrink: 0;
  display: inline-grid; place-items: center;
  border-radius: var(--radius-sm); color: var(--muted);
}
.ws-title-back:hover { background: var(--paper); color: var(--ink); }
.ws-title-back .ph { font-size: 16px; }
.ws-title-text {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ws-page-actions form { display: contents; }
.ws-body {
  flex: 1; padding: 28px 0 48px; overflow-y: auto;
}
.form-wrap {
  display: flex; justify-content: center;
}
.form-wrap .form-card {
  width: 100%; max-width: 560px; margin: 0;
}

/* 文件拖拽上传区 */
.file-drop {
  position: relative; display: block;
  border: 1.5px dashed var(--line, #d8d5cd); border-radius: 10px;
  padding: 16px 14px; text-align: center;
  color: var(--muted); cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
}
.file-drop:hover { border-color: var(--brand, #9a9a9a); color: var(--ink-soft, #666); }
.file-drop.dragover { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-deep); }
.file-drop:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.file-drop-input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.file-drop-hint { font-size: 13.5px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.file-drop-hint .ph { font-size: 18px; }
.file-drop-sub { font-size: 12px; color: var(--muted); margin-top: 4px; }
.file-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.file-chip {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; color: var(--ink-soft);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 3px 10px; max-width: 100%;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.file-chip .ph { font-size: 13px; color: var(--muted); flex: none; }

/* Modal */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(15, 42, 46, 0.35);
  display: grid; place-items: center;
  padding: 20px;
}
.modal-backdrop[hidden] { display: none !important; }
.modal-card {
  width: min(420px, 100%);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 20px 22px 22px;
}
.modal-h {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.modal-h h3 { margin: 0; font-size: 16px; font-weight: 650; }
.modal-actions {
  display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px;
}

/* ── 更换头像弹层 ── */
.ws-avatar img {
  width: 100%; height: 100%; border-radius: 50%;
  object-fit: cover; display: block;
}
.avatar-modal-tip {
  margin: 0 0 14px; font-size: 12.5px; line-height: 1.7; color: var(--muted);
}
.avatar-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 12px; max-height: 320px; overflow-y: auto;
  padding: 4px; margin-bottom: 8px;
}
.avatar-cell {
  position: relative; border: none; background: none; padding: 0;
  cursor: pointer; border-radius: 50%; aspect-ratio: 1;
}
.avatar-cell img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
  border: 2px solid transparent; display: block;
  transition: transform .12s ease, border-color .12s ease;
}
.avatar-cell:hover img { transform: scale(1.06); }
.avatar-cell.is-current img { border-color: var(--brand); }
.avatar-check {
  position: absolute; right: -2px; bottom: -2px; width: 18px; height: 18px;
  border-radius: 50%; background: var(--brand); color: #fff;
  display: none; align-items: center; justify-content: center;
  font-size: 11px; box-shadow: 0 0 0 2px var(--surface);
}
.avatar-cell.is-current .avatar-check { display: flex; }
.avatar-grid-loading {
  grid-column: 1 / -1; text-align: center;
  color: var(--muted); font-size: 13px; padding: 24px 0;
}
.btn .ph { font-size: 15px; line-height: 1; }
.panel-h .ph { font-size: 16px; color: var(--brand-deep); margin-right: 6px; vertical-align: -2px; }
.tool-card .ph {
  font-size: 22px; color: var(--brand-deep);
  display: block; margin-bottom: 10px;
}

/* Project detail — workspace detail layout */
.ws-content:has(.pd-page) {
  /* 与工作台统一内容宽，居中 */
  width: min(var(--ws-content), calc(100% - 48px));
}
.pd-page { display: flex; flex-direction: column; gap: 16px; }
.pd-hero { margin-bottom: 4px; }
.pd-hero .back-link { display: inline-flex; align-items: center; gap: 4px; }
.pd-top { display: flex; flex-direction: column; gap: 12px; }
.pd-meta-bar {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
}
.pd-chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: var(--radius-pill);
  background: var(--surface); border: 1px solid var(--line);
  font-size: 11.5px; color: var(--ink-soft);
}
.pd-chip .ph { font-size: 12px; color: var(--muted); }

/* Stage status card — 4-stage pipeline status while generating */
@keyframes pdSpin {
  to { transform: rotate(360deg); }
}
.pd-stage-card {
  padding: 20px 26px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  box-shadow: var(--shadow-sm);
}
.pd-stage-track {
  display: flex; align-items: flex-start;
}
.pd-stage {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  min-width: 84px;
}
.pd-stage-node {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  border: 2px solid var(--line-strong);
  background: var(--surface); color: var(--muted);
  font-size: 15px;
  transition: all .25s ease;
}
.pd-stage-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong);
}
.pd-stage.done .pd-stage-node { background: var(--brand); border-color: var(--brand); color: #fff; }
.pd-stage.run .pd-stage-node { border-color: var(--brand); color: var(--brand); }
.pd-stage.run .pd-stage-node .ph { animation: pdSpin 1.1s linear infinite; }
.pd-stage.wait .pd-stage-node { border-color: var(--warn); color: var(--warn); }
.pd-stage.err .pd-stage-node { border-color: var(--danger); background: var(--danger); color: #fff; }
.pd-stage-label { font-size: 13px; font-weight: 550; color: var(--muted); }
.pd-stage.done .pd-stage-label,
.pd-stage.run .pd-stage-label,
.pd-stage.wait .pd-stage-label,
.pd-stage.err .pd-stage-label { color: var(--ink); font-weight: 650; }
.pd-stage-sub { min-height: 15px; font-size: 11.5px; color: var(--muted); }
.pd-stage.run .pd-stage-sub { color: var(--brand-deep); font-weight: 600; }
.pd-stage.wait .pd-stage-sub { color: var(--warn); font-weight: 600; }
.pd-stage.err .pd-stage-sub { color: var(--danger); font-weight: 600; }
.pd-stage-line {
  flex: 1; height: 2px; border-radius: 1px;
  background: var(--line-strong); margin-top: 16px;
  min-width: 20px;
}
.pd-stage-line.done { background: var(--brand); }
.pd-stage-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  margin-top: 10px; padding-top: 10px;
  border-top: 1px dashed var(--line);
}
.pd-stage-foot:empty { display: none; }
.pd-stage-copy { margin: 0; font-size: 12.5px; color: var(--muted); }

/* View switcher */
.pd-views {
  display: flex; flex-wrap: wrap; gap: 4px;
  padding: 4px;
  background: #eef0ef;
  border-radius: var(--radius);
  margin-bottom: 2px;
}
.pd-view-tab {
  display: inline-flex; align-items: center; gap: 6px;
  height: 32px; padding: 0 12px;
  border: none; border-radius: var(--radius-sm);
  background: transparent; color: var(--ink-soft);
  font-size: 12.5px; font-weight: 550; cursor: pointer;
}
.pd-view-tab .ph { font-size: 15px; color: var(--muted); }
.pd-view-tab em {
  font-style: normal; font-size: 10.5px; font-weight: 650;
  padding: 1px 6px; border-radius: var(--radius-sm);
  background: rgba(0,0,0,.06); color: var(--muted);
}
.pd-view-tab:hover { color: var(--ink); background: rgba(255,255,255,.45); }
.pd-view-tab.active {
  background: var(--surface); color: var(--ink); font-weight: 650;
  box-shadow: 0 1px 2px rgba(15, 42, 46, 0.06);
}
.pd-view-tab.active .ph { color: var(--brand-deep); }
.pd-view-tab.active em { background: var(--brand-soft); color: var(--brand-deep); }

.pd-panel[hidden] { display: none !important; }
.pd-section-flush { margin: 0; }

/* Deliverable hero */
.pd-deliver { display: flex; flex-direction: column; gap: 14px; }
.pd-deliver-hero {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  box-shadow: var(--shadow-sm);
  background-image:
    linear-gradient(135deg, var(--brand-soft) 0%, transparent 42%),
    linear-gradient(var(--surface), var(--surface));
}
.pd-deliver-ico {
  width: 52px; height: 52px; border-radius: var(--radius);
  display: grid; place-items: center; flex-shrink: 0;
  background: var(--surface); border: 1px solid var(--line);
  color: var(--brand-deep);
}
.pd-deliver-ico .ph { font-size: 26px; }
.pd-deliver-copy { flex: 1; min-width: 180px; }
.pd-deliver-copy h2 {
  margin: 0 0 4px; font-size: 17px; font-weight: 650; letter-spacing: -0.02em;
}
.pd-deliver-copy p { margin: 0; font-size: 13px; color: var(--muted); }
.pd-deliver-cta {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
}
.pd-deliver-tools {
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
}
.pd-deliver-versions {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  overflow: hidden;
}
.pd-deliver-versions h3 {
  margin: 0; padding: 10px 14px;
  font-size: 12.5px; font-weight: 650;
  border-bottom: 1px solid var(--line);
}
.pd-deliver-versions .pd-doc-list { border-top: none; }
.pd-fold {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  overflow: hidden;
}
.pd-fold > summary {
  padding: 12px 16px; cursor: pointer; list-style: none;
  font-size: 13px; font-weight: 650;
  display: flex; align-items: center; justify-content: space-between;
}
.pd-fold > summary::-webkit-details-marker { display: none; }
.pd-fold > summary::after {
  content: "";
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--muted);
}
.pd-fold[open] > summary::after { transform: rotate(180deg); }
.pd-fold[open] > summary { border-bottom: 1px solid var(--line); }

/* PPT 导出工具（按需） */
.pd-fold > summary .badge { margin-left: 8px; }
.pd-ppt-tools { padding: 14px 16px; display: flex; flex-direction: column; gap: 12px; }
.pd-ppt-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pd-ppt-actions form { margin: 0; }
.pd-ppt-note {
  margin: 0; font-size: 13px; color: var(--muted);
  display: flex; align-items: center; gap: 6px;
}
.pd-ppt-note.pd-ppt-err { color: var(--danger, #b4483c); }

/* 方案报告预览 */
.pd-report-frame {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  overflow: hidden;
}
.pd-report-frame iframe {
  display: block; width: 100%; height: 72vh; border: 0; background: #fff;
}

/* 汇报链接弹窗 */
.share-intro { font-size: 13px; color: var(--muted); margin: 0 0 14px; line-height: 1.7; }
.share-link-row { display: flex; gap: 8px; align-items: stretch; }
.share-link-input {
  flex: 1; min-width: 0; height: 34px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 0 10px; font-size: 12.5px; color: var(--ink);
  background: var(--surface-2, #f7faf9); font-family: ui-monospace, monospace;
}
.share-link-input:focus { outline: none; border-color: var(--brand); }
.share-meta {
  margin: 10px 0 0; font-size: 12.5px; color: var(--muted);
  display: flex; align-items: center; gap: 5px;
}
.share-actions { justify-content: flex-start; }

.pd-rail {
  list-style: none; margin: 0; padding: 10px 12px;
  display: flex; gap: 0; align-items: stretch;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-panel); overflow-x: auto;
}
.pd-rail-item {
  flex: 1; min-width: 72px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  position: relative; padding: 2px 6px;
}
.pd-rail-item:not(:last-child)::after {
  content: "";
  position: absolute; top: 11px; left: calc(50% + 14px); right: calc(-50% + 14px);
  height: 1px; background: var(--line-strong);
}
.pd-rail-link {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  width: 100%; color: inherit;
}
.pd-rail-link:hover .lab { color: var(--brand-deep); }
.pd-rail-item .dot {
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; z-index: 1;
  font-size: 10.5px; font-weight: 700;
  background: var(--paper); color: var(--muted); border: 1px solid var(--line);
}
.pd-rail-item.done .dot { background: var(--brand-soft); color: var(--brand-deep); border-color: transparent; }
.pd-rail-item.run .dot { background: #fef3cd; color: #856404; border-color: transparent; }
.pd-rail-item.err .dot { background: #fdecea; color: #842029; border-color: transparent; }
.pd-rail-item.done:not(:last-child)::after { background: var(--brand); opacity: 0.35; }
.pd-rail-item .lab {
  font-size: 10.5px; font-weight: 600; color: var(--muted);
  text-align: center; line-height: 1.25;
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pd-rail-item.done .lab,
.pd-rail-item.run .lab { color: var(--ink-soft); }

.pd-layout {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
  gap: 16px; align-items: start;
}
.pd-main, .pd-aside, .pd-stream { display: flex; flex-direction: column; gap: 14px; min-width: 0; }

.pd-section {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-panel); overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.pd-sec-h {
  padding: 10px 16px; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  min-height: 44px;
  background: linear-gradient(180deg, #fbfcfc 0%, var(--surface) 100%);
}
.pd-sec-h h2 {
  margin: 0; font-size: 13.5px; font-weight: 650;
  display: inline-flex; align-items: center; gap: 6px;
}
.pd-sec-h h2 .ph { font-size: 15px; color: var(--brand-deep); }
.pd-sec-meta { font-size: 11.5px; color: var(--muted); font-weight: 500; }
.pd-sec-b { padding: 14px 16px; }
.pd-empty {
  padding: 28px 16px; text-align: center; color: var(--muted); font-size: 12.5px;
}
.pd-target {
  padding: 10px 12px; border-radius: var(--radius-sm);
  background: var(--brand-soft); color: var(--brand-deep);
  font-size: 12.5px; margin-bottom: 12px; line-height: 1.5;
}
.pd-target .ph { margin-right: 4px; vertical-align: -2px; }
.pd-brief {
  max-height: 220px; overflow: auto;
  padding-right: 4px;
}

/* Readable rendered content (not dark code) */
.pd-prose {
  padding: 16px 20px 20px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.pd-prose.md-body h1,
.pd-prose.md-body h2,
.pd-prose.md-body h3,
.pd-prose.md-body h4 {
  font-family: var(--font);
  font-weight: 650;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 1.25em 0 0.45em;
}
.pd-prose.md-body h1 { font-size: 1.2rem; }
.pd-prose.md-body h2 {
  font-size: 1.05rem;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.pd-prose.md-body h3 { font-size: 0.95rem; color: var(--brand-deep); }
.pd-prose.md-body h2:first-child,
.pd-prose.md-body h3:first-child { margin-top: 0; }
.pd-prose.md-body p { margin: 0.55em 0; }
.pd-prose.md-body ul, .pd-prose.md-body ol { margin: 0.45em 0; padding-left: 1.25em; }
.pd-prose.md-body li { margin: 0.2em 0; }
.pd-prose.md-body blockquote {
  margin: 10px 0;
  padding: 8px 14px;
  border-left: 3px solid var(--brand);
  background: var(--brand-soft);
  color: var(--brand-deep);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.pd-prose.md-body table {
  width: 100%; border-collapse: collapse; margin: 12px 0;
  font-size: 12.5px;
}
.pd-prose.md-body th, .pd-prose.md-body td {
  border: 1px solid var(--line); padding: 8px 10px; text-align: left;
}
.pd-prose.md-body th { background: #f3f6f5; font-weight: 650; }
.pd-prose.md-body hr {
  border: none; border-top: 1px solid var(--line); margin: 18px 0;
}
.pd-prose.md-body code {
  font-size: 12px; background: var(--paper);
  padding: 1px 5px; border-radius: 3px;
}
.pd-prose.md-body pre {
  background: #0f2a2e; color: #d7e6e8;
  padding: 12px; border-radius: var(--radius-sm);
  overflow: auto; font-size: 12px;
}

/* Upload dropzone */
.upload-form { display: flex; flex-direction: column; gap: 8px; }
.upload-drop {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; padding: 18px 12px;
  border: 1.5px dashed var(--line-strong); border-radius: var(--radius);
  background: var(--paper); cursor: pointer; text-align: center;
  transition: border-color .15s, background .15s;
}
.upload-drop:hover { border-color: var(--brand); background: var(--brand-soft); }
.upload-drop .ph { font-size: 22px; color: var(--brand); line-height: 1; margin-bottom: 2px; }
.upload-drop-title { font-size: 12.5px; font-weight: 600; color: var(--ink-soft); }
.upload-drop-hint { font-size: 11px; color: var(--muted); }
.upload-drop-input {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.upload-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.upload-fname {
  font-size: 11.5px; color: var(--muted);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0;
}

/* Doc / PPT rows */
.pd-doc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.pd-doc-list .pd-empty { border: none; }
.pd-doc-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; padding: 10px 12px;
  border-bottom: 1px solid #f0f2f1;
}
.pd-doc-row:last-child { border-bottom: none; }
.pd-doc-info {
  display: flex; align-items: flex-start; gap: 8px; min-width: 0; flex: 1;
}
.pd-doc-info > .ph {
  font-size: 16px; color: var(--muted); margin-top: 2px; flex-shrink: 0;
}
.pd-doc-text { min-width: 0; }
.pd-doc-text .title {
  font-size: 12.5px; font-weight: 600;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pd-doc-text .meta { font-size: 11px; color: var(--muted); margin-top: 1px; }
.pd-doc-ops {
  display: flex; align-items: center; gap: 2px; flex-shrink: 0;
}
.pd-doc-ops form { display: contents; }

/* PPT compact toolbar */
.ppt-toolbar {
  display: flex; align-items: flex-end; gap: 8px; flex-wrap: wrap;
}
.ctrl {
  display: flex; flex-direction: column; gap: 4px; margin: 0;
}
.ctrl > span {
  font-size: 11px; font-weight: 600; color: var(--muted); line-height: 1;
}
.ctrl-select {
  width: 100px; height: 28px; padding: 0 26px 0 8px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background-color: var(--paper); color: var(--ink);
  font-size: 12px; outline: none; cursor: pointer;
  appearance: none; -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position:
    calc(100% - 14px) calc(50% - 2px),
    calc(100% - 9px) calc(50% - 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.ctrl-select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(26, 122, 132, 0.12);
  background-color: #fff;
}
.ppt-run { margin-left: auto; height: 28px; }

/* Custom select (replaces native dropdown panel) */
.c-select {
  position: relative;
  display: inline-block;
  vertical-align: top;
  min-width: 0;
}
.c-select-native {
  position: absolute !important;
  width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important;
  overflow: hidden !important; clip: rect(0,0,0,0) !important;
  border: 0 !important; white-space: nowrap !important;
  pointer-events: none;
}
.c-select-trigger {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 8px;
  width: 100%; min-width: 100px; height: 28px;
  padding: 0 8px 0 10px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: var(--paper); color: var(--ink);
  font-size: 12px; font-weight: 550; cursor: pointer;
  text-align: left; transition: border-color .12s, box-shadow .12s, background .12s;
}
.c-select-trigger:hover { border-color: #c8d0cf; background: #fff; }
.c-select.open .c-select-trigger,
.c-select-trigger:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(26, 122, 132, 0.12);
}
.c-select-trigger .c-select-label {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; min-width: 0;
}
.c-select-caret {
  width: 0; height: 0; flex-shrink: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--muted);
  transition: transform .15s;
}
.c-select.open .c-select-caret { transform: rotate(180deg); }
.c-select-menu {
  position: absolute; z-index: 60; top: calc(100% + 4px); left: 0; right: 0;
  min-width: 100%;
  margin: 0; padding: 4px;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(15, 42, 46, 0.12), 0 2px 6px rgba(15, 42, 46, 0.06);
  max-height: 220px; overflow-y: auto;
}
.c-select-menu[hidden] { display: none !important; }
.c-select-option {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 7px 10px; border-radius: var(--radius-sm);
  font-size: 12.5px; color: var(--ink-soft); cursor: pointer;
  transition: background .1s, color .1s;
}
.c-select-option:hover,
.c-select-option[aria-selected="true"] {
  background: var(--brand-soft); color: var(--brand-deep);
}
.c-select-option[aria-selected="true"] { font-weight: 650; }
.c-select-option .check {
  width: 14px; color: var(--brand); font-size: 12px; opacity: 0;
}
.c-select-option[aria-selected="true"] .check { opacity: 1; }
.c-select-lg .c-select-trigger {
  min-width: 100%; height: 38px; padding: 0 12px;
  font-size: 13.5px;
}
.c-select-lg .c-select-option { padding: 9px 12px; font-size: 13.5px; }
.field .c-select { display: block; width: 100%; }
.field .c-select-trigger { min-width: 0; width: 100%; height: 38px; padding: 0 12px; font-size: 13.5px; }
.ctrl .c-select { display: block; }
.ctrl .c-select-trigger { width: 108px; min-width: 108px; }

.code-block-flush { margin: 0 !important; border-radius: 0 !important; max-height: 280px; }

.form-inline-row {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end;
}
.form-inline-row .field { margin: 0; min-width: 120px; flex: 0 1 auto; }

@media (max-width: 1100px) {
  .pd-layout { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .pd-layout { grid-template-columns: 1fr; }
  .pd-rail-item { min-width: 64px; }
}

.page-hero {
  text-align: center; padding: 28px 12px 36px; max-width: 720px; margin: 0 auto;
}
.page-hero h2 {
  font-family: var(--font-display);
  font-size: 1.75rem; font-weight: 550; margin: 12px 0 10px;
}
.page-hero p { color: var(--muted); margin: 0 auto 20px; max-width: 480px; }

.ws-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; margin-bottom: 22px; flex-wrap: wrap;
}
.ws-header h1, .ws-header .title {
  font-size: 1.35rem; margin: 0 0 4px; font-weight: 650; letter-spacing: -0.02em;
}
.ws-header p { margin: 0; color: var(--muted); font-size: 13px; }

.stat-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin-bottom: 22px;
}
.stat-row-4 { grid-template-columns: repeat(4, 1fr); }
.stat-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-card); padding: 16px 18px;
}
.stat-card .v {
  font-family: var(--font-display);
  font-size: 26px; font-weight: 550; color: var(--brand-deep);
}
.stat-card .l { font-size: 12px; color: var(--muted); margin-top: 2px; }

.panel {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-panel); overflow: hidden; margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}
.panel-h {
  padding: 13px 16px; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-weight: 650; font-size: 13.5px;
}
.panel-b { padding: 4px 0; }
.panel-pad { padding: 16px 18px; }

.list-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 12px 16px;
  border-bottom: 1px solid #f0f2f1;
}
.list-row:last-child { border-bottom: none; }
.list-row-link:hover { background: #f6f8f7; }
.list-row .title { font-weight: 600; font-size: 13.5px; }
.list-row .meta { font-size: 12px; color: var(--muted); margin-top: 2px; }

.badge {
  display: inline-flex; padding: 2px 8px; border-radius: var(--radius-sm);
  font-size: 11px; font-weight: 650; background: var(--brand-soft); color: var(--brand-deep);
  white-space: nowrap; align-items: center; gap: 4px;
}
.badge-warn { background: #fef3cd; color: #856404; }
.badge-ok { background: #e6f4ea; color: #1e6b34; }
.badge-muted { background: #efefeb; color: #5d6f74; }
.badge-err { background: #fdecea; color: #842029; }

.empty {
  padding: 48px 18px; text-align: center; color: var(--muted); font-size: 14px;
}
.empty-box {
  max-width: 360px; margin: 48px auto; text-align: center;
}
.empty-box .empty-ico {
  width: 64px; height: 64px; margin: 0 auto 16px;
  border: 1.5px dashed var(--line-strong); border-radius: var(--radius-card);
  display: grid; place-items: center; color: var(--muted); font-size: 22px;
}
.empty-box h3 { margin: 0 0 6px; font-size: 15px; }
.empty-box p { margin: 0 0 18px; color: var(--muted); font-size: 13px; }

.form-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-card); padding: 28px; max-width: 640px;
  box-shadow: var(--shadow-sm);
}
.flash-wrap { margin-bottom: 14px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.back-link {
  display: inline-block; font-size: 12px; color: var(--muted);
  margin-bottom: 8px; font-weight: 550;
}
.back-link:hover { color: var(--brand-deep); }
.prose-plain {
  white-space: pre-wrap; font-size: 13.5px; color: var(--ink-soft); line-height: 1.7;
}
.code-block {
  margin: 0 14px 12px; padding: 12px; border-radius: var(--radius-sm);
  background: #0f2a2e; color: #d7e6e8; font-size: 12px;
  overflow: auto; max-height: 380px; line-height: 1.5;
  white-space: pre-wrap; word-break: break-word;
}
.report-body { padding: 18px 20px 24px !important; }
.md-body h1, .md-body h2, .md-body h3 {
  font-family: var(--font-display); font-weight: 550;
  color: var(--brand-deep); margin: 1.3em 0 0.45em;
}
.md-body h1 { font-size: 1.3rem; }
.md-body h2 { font-size: 1.15rem; }
.md-body p, .md-body li { font-size: 13.5px; color: var(--ink-soft); line-height: 1.75; }
.md-body ul, .md-body ol { padding-left: 1.2em; }
.md-body a { color: var(--brand); text-decoration: underline; }
.md-body blockquote {
  margin: 12px 0; padding: 8px 14px;
  border-left: 3px solid var(--brand);
  background: var(--brand-soft); color: var(--ink-soft);
}
.md-body table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 12.5px; }
.md-body th, .md-body td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.md-body th { background: #f3f6f5; }
.cite-badge {
  font-size: 0.72em;
  font-weight: 650;
  color: var(--brand);
  vertical-align: super;
  margin-left: 1px;
  cursor: default;
}
.cite-badge.muted { color: var(--ink-soft); opacity: 0.55; font-weight: 500; }
.cite-num { color: var(--brand); font-weight: 650; margin-right: 2px; }
.cite-open {
  display: inline;
  font-size: 12px;
  font-weight: 500;
  color: var(--brand);
  margin-left: 6px;
  white-space: nowrap;
}
.cite-open:hover { text-decoration: underline; }

.qa-thread { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; }
.qa-bubble {
  padding: 10px 12px; border-radius: var(--radius); font-size: 13px; line-height: 1.55;
  max-width: 92%;
}
.qa-bubble.user { align-self: flex-end; background: var(--brand-soft); color: var(--brand-deep); }
.qa-bubble.assistant { align-self: flex-start; background: var(--paper); border: 1px solid var(--line); }

.upload-zone {
  border: 1.5px dashed var(--line-strong); border-radius: var(--radius);
  padding: 18px; text-align: center; background: var(--paper);
  color: var(--muted); font-size: 13px;
}
.upload-zone:hover { border-color: var(--brand); background: var(--brand-soft); }

.tabs {
  display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 18px;
}
.tab {
  padding: 7px 14px; border-radius: var(--radius-pill);
  font-size: 12.5px; font-weight: 550; color: var(--ink-soft);
  background: transparent;
}
.tab:hover { background: rgba(0,0,0,.04); }
.tab.active { background: var(--ink); color: #fff; }

.tool-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.tool-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-card); padding: 18px; transition: .15s;
}
.tool-card:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.tool-card h3 { margin: 0 0 6px; font-size: 14px; }
.tool-card p { margin: 0; font-size: 12.5px; color: var(--muted); }

/* Manus-style project / item cards */
.ws-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 300px));
  justify-content: start;
  gap: 14px;
}
.ws-item-card {
  display: flex; flex-direction: column; gap: 10px;
  padding: 16px 16px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  min-height: 168px;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.ws-item-card:hover {
  border-color: #cfd6d4;
  box-shadow: 0 8px 24px rgba(15, 42, 46, 0.07);
  transform: translateY(-1px);
}
.ws-item-card-head {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.ws-item-mark {
  width: 36px; height: 36px; border-radius: var(--radius);
  display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand-deep);
}
.ws-item-mark .ph { font-size: 18px; }
.ws-item-title {
  margin: 0;
  font-size: 14.5px; font-weight: 650; letter-spacing: -0.02em;
  line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.ws-item-desc {
  margin: 0;
  flex: 1;
  font-size: 12.5px; color: var(--muted); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.ws-item-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-top: auto;
  padding-top: 10px; border-top: 1px solid #f0f2f1;
  font-size: 11.5px; color: var(--muted);
}
.ws-item-foot span {
  display: inline-flex; align-items: center; gap: 4px;
  min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ws-item-foot .ph { font-size: 12px; }

/* 跨模块「进行中」聚合条（方案列表顶部） */
.ws-running-bar {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px;
  margin-bottom: 18px; padding: 10px 14px;
  background: var(--brand-soft); border: 1px solid #d8e9e5;
  border-radius: var(--radius);
}
.ws-running-label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 700; color: var(--brand-deep);
  white-space: nowrap;
}
.ws-running-bar a {
  display: inline-flex; align-items: center; gap: 6px;
  max-width: 320px;
  font-size: 12.5px; color: var(--brand-deep); text-decoration: none;
  background: #fff; border: 1px solid #d8e9e5; border-radius: 999px;
  padding: 4px 12px;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  transition: border-color .15s, color .15s;
}
.ws-running-bar a:hover { border-color: var(--brand); color: var(--brand); }
.ws-running-bar a em {
  font-style: normal; font-size: 11px; font-weight: 600;
  color: var(--brand); background: var(--brand-soft);
  border-radius: 999px; padding: 1px 8px;
  flex-shrink: 0;
}
.ws-running-bar a .ph { font-size: 13px; flex-shrink: 0; }
@keyframes ws-spin-anim { to { transform: rotate(360deg); } }
.ws-spin { animation: ws-spin-anim 1.1s linear infinite; }

/* Usage page */
.usage-page { display: flex; flex-direction: column; gap: 16px; }
.usage-lead {
  margin: 0; font-size: 13px; color: var(--muted); line-height: 1.55;
}
.usage-profile {
  display: flex; align-items: center; gap: 14px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-panel); box-shadow: var(--shadow-sm);
  padding: 16px 18px;
}
.usage-avatar {
  width: 56px; height: 56px; border-radius: 50%; overflow: hidden;
  background: var(--brand-soft); color: var(--brand-deep);
  display: grid; place-items: center; font-weight: 700; font-size: 20px;
  flex-shrink: 0;
}
.usage-avatar img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.usage-profile-info { flex: 1; min-width: 0; }
.usage-profile-name {
  display: flex; align-items: center; gap: 8px;
  font-size: 16px; font-weight: 650; color: var(--ink);
}
.usage-profile-sub { margin-top: 3px; font-size: 12.5px; color: var(--muted); }
.usage-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.usage-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-panel); overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.usage-card-full { grid-column: 1 / -1; }
.usage-card-h {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 16px; border-bottom: 1px solid var(--line);
}
.usage-card-h h2 {
  margin: 0; font-size: 13.5px; font-weight: 650;
  display: inline-flex; align-items: center; gap: 6px;
}
.usage-card-h h2 .ph { font-size: 16px; color: var(--brand-deep); }
.usage-card-meta { font-size: 11.5px; color: var(--muted); }
.usage-card-b { padding: 16px; }

.usage-ring-wrap {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  margin-bottom: 18px;
}
.usage-ring {
  --pct: 0;
  width: 112px; height: 112px; border-radius: 50%; flex-shrink: 0;
  background: conic-gradient(var(--brand) calc(var(--pct) * 1%), var(--line) 0);
  display: grid; place-items: center;
}
.usage-ring-inner {
  width: 82px; height: 82px; border-radius: 50%;
  background: var(--surface);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.usage-ring-inner strong { font-size: 18px; font-weight: 700; color: var(--brand-deep); letter-spacing: -0.02em; }
.usage-ring-inner span { font-size: 11px; color: var(--muted); }
.usage-ring-stats { display: flex; flex-direction: column; gap: 10px; }
.usage-stat .l { display: block; font-size: 11.5px; color: var(--muted); }
.usage-stat .v { font-size: 16px; font-weight: 650; }

.usage-bars { display: flex; flex-direction: column; gap: 12px; }
.usage-bar-label {
  display: flex; justify-content: space-between; gap: 10px;
  font-size: 12px; color: var(--ink-soft); margin-bottom: 6px;
}
.usage-bar-label .ph { font-size: 13px; color: var(--muted); margin-right: 2px; }
.usage-bar-label .mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 70%;
}
.usage-bar-track {
  height: 8px; border-radius: var(--radius-pill); background: var(--paper); overflow: hidden;
}
.usage-bar-fill {
  height: 100%; border-radius: inherit; background: var(--brand); min-width: 0;
}
.usage-bar-fill-alt { background: var(--brand-mid); }

.usage-kpi-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  margin-bottom: 14px;
}
.usage-kpi {
  padding: 12px 10px; border-radius: var(--radius);
  background: var(--paper); text-align: center;
}
.usage-kpi .v {
  display: block; font-size: 18px; font-weight: 700; color: var(--brand-deep);
  letter-spacing: -0.02em;
}
.usage-kpi .l { font-size: 11px; color: var(--muted); }

.plan-head {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-bottom: 16px;
}
.plan-level-badge {
  display: inline-flex; align-items: center;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 13px; font-weight: 700; letter-spacing: .02em;
}
.plan-note { font-size: 12.5px; color: var(--muted); }
.plan-cells {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.plan-cell {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.plan-cell-top {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-bottom: 8px;
}
.plan-cell-label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 650; color: var(--ink);
}
.plan-cell-label .ph { font-size: 15px; color: var(--brand-deep); }
.plan-cell-num {
  font-size: 22px; font-weight: 700; color: var(--brand-deep);
  letter-spacing: -0.02em; line-height: 1.2;
}
.plan-cell-num .unit {
  font-size: 12px; font-weight: 550; color: var(--muted);
  margin-left: 3px; letter-spacing: 0;
}
.plan-cell-note { margin-top: 6px; font-size: 11.5px; color: var(--muted); }
.plan-cell-bar {
  margin-top: 8px; height: 5px; border-radius: 999px;
  background: var(--line); overflow: hidden;
}
.plan-cell-bar-fill {
  height: 100%; border-radius: 999px;
  background: var(--brand); transition: width .3s ease;
}
.plan-cell-bar-fill.warn { background: #d97706; }
.plan-cell-bar-fill.full { background: #dc2626; }
.plan-lock {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 650; color: var(--ink-soft);
}
a.plan-cell.locked {
  border-style: dashed; background: transparent;
  text-decoration: none;
}
a.plan-cell.locked:hover { border-color: var(--brand); background: var(--brand-soft); }
a.plan-cell.locked:hover .plan-unlock { text-decoration: underline; }
.plan-unlock {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 8px; font-size: 11.5px; font-weight: 600; color: var(--brand-deep);
}

.usage-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  margin-bottom: 14px;
}
.usage-split-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 12px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); font-size: 12.5px;
}
.usage-split-item .l { color: var(--muted); }
.usage-split-item .v { font-weight: 650; }

.usage-io-label { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.usage-io-track {
  display: flex; height: 10px; border-radius: var(--radius-pill); overflow: hidden;
  background: var(--paper);
}
.usage-io-in { background: var(--brand); }
.usage-io-out { background: #7eb8be; }
.usage-io-legend {
  display: flex; gap: 14px; margin-top: 8px; font-size: 11.5px; color: var(--muted);
}
.usage-io-legend .dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  margin-right: 5px; vertical-align: 1px;
}
.usage-io-legend .dot.in { background: var(--brand); }
.usage-io-legend .dot.out { background: #7eb8be; }

.usage-chart {
  display: flex; align-items: flex-end; gap: 6px;
  height: 140px; padding-top: 8px;
}
.usage-chart-col {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  height: 100%;
}
.usage-chart-bar-wrap {
  flex: 1; width: 100%; display: flex; align-items: flex-end; justify-content: center;
}
.usage-chart-bar {
  width: 70%; max-width: 28px; min-height: 2px;
  border-radius: 3px 3px 1px 1px;
  background: linear-gradient(180deg, var(--brand-mid), var(--brand-deep));
}
.usage-chart-lab {
  font-size: 10px; color: var(--muted); white-space: nowrap;
}

@media (max-width: 900px) {
  .usage-grid { grid-template-columns: 1fr; }
  .usage-kpi-row { grid-template-columns: 1fr; }
  .plan-cells { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .plan-cells { grid-template-columns: 1fr; }
}

.empty-ico .ph { font-size: 26px; color: var(--muted); }
.tab .ph { font-size: 14px; margin-right: 4px; vertical-align: -2px; }
.tab.active .ph { color: #fff; }

@media (max-width: 960px) {
  .card-grid, .card-grid-4, .tool-grid, .footer-grid, .stat-row, .stat-row-4, .two-col, .card-grid-2 {
    grid-template-columns: 1fr;
  }
  .ws-sidebar { display: none; }
  .ws-body { padding: 18px 0 40px; }
  .ws-content { width: min(var(--ws-content), calc(100% - 28px)); }
  .ws-content:has(.pd-page) { width: min(var(--ws-content), calc(100% - 28px)); }
  .ws-content:has(.kb-narrow) { width: min(var(--ws-content), calc(100% - 28px)); }
  .nav-links .hide-sm { display: none; }
  .pd-layout { grid-template-columns: 1fr; }
}

/* ══ 融合首页（官网 × 工作台）新增组件 ══ */

/* Hero 任务输入框 */
.mk-hbox {
  max-width: 680px; margin: 10px auto 0; text-align: left;
  background: var(--surface);
  border: 1px solid var(--line-strong); border-radius: 12px;
  box-shadow: var(--shadow); overflow: hidden;
}
.mk-hbox-tabs { display: flex; gap: 4px; padding: 10px 12px 0; border-bottom: 1px solid var(--line); }
.mk-hbox-tab {
  appearance: none; border: none; background: transparent;
  padding: 8px 14px; font-size: 13px; font-weight: 600; color: var(--muted);
  border-radius: 8px 8px 0 0; border-bottom: 2px solid transparent;
}
.mk-hbox-tab:hover { color: var(--ink); }
.mk-hbox-tab.active { color: var(--brand-deep); border-bottom-color: var(--brand); }
.mk-hbox-form textarea {
  display: block; width: 100%; border: none; resize: none;
  padding: 14px 16px 6px; background: transparent; outline: none;
  font-size: 14.5px; line-height: 1.6; color: var(--ink); min-height: 88px;
}
.mk-hbox-form textarea::placeholder { color: var(--muted); }
.mk-hbox-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 12px 12px 16px; }
.mk-hbox-hint { color: var(--muted); font-size: 10.5px; }
.mk-hbox-note { margin: 12px 0 0; text-align: center; color: var(--muted); font-size: 12.5px; }

/* Hero 能力 chips */
.mk-chip-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 18px; }
.mk-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 14px; border-radius: var(--radius-pill);
  background: var(--surface); border: 1px solid var(--line);
  font-size: 13px; font-weight: 550; color: var(--ink-soft); transition: .15s ease;
}
.mk-chip:hover { border-color: var(--brand); color: var(--brand-deep); background: var(--brand-soft); }
.mk-chip .ph { font-size: 14px; }

/* 导航「工作台」下拉（登录态） */
.nav-dd { position: relative; }
.nav-dd::before { content: ""; position: absolute; top: 100%; right: 0; width: 100%; height: 10px; }
.nav-dd-btn {
  display: inline-flex; align-items: center; gap: 6px;
  height: 32px; padding: 0 12px; border: none;
  border-radius: var(--radius-sm);
  background: var(--brand-deep); color: #fff;
  font-weight: 600; font-size: 12.5px;
}
.nav-dd-btn:hover { background: var(--brand); }
.nav-dd-btn .ph { font-size: 13px; }
.nav-dd-menu {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 150px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 6px; display: none; flex-direction: column; z-index: 70;
}
.nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu { display: flex; }
.nav-dd-menu a {
  display: flex; align-items: center; gap: 9px;
  padding: 8px 10px; border-radius: var(--radius-sm);
  font-size: 13px; color: var(--ink-soft);
}
.nav-dd-menu a:hover { background: var(--paper); color: var(--ink); }
.nav-dd-menu .ph { font-size: 15px; color: var(--brand-deep); }

/* 功能介绍页（/features/<slug>）：单卡片 · 视口垂直水平居中 */
.ws-body:has(.mk-feat-center) { display: flex; flex-direction: column; }
.ws-content:has(.mk-feat-center) {
  display: flex; flex-direction: column; flex: 1;
  width: 100%; max-width: none; margin: 0;
}
.mk-feat-center {
  flex: 1; width: 100%;
  display: flex; flex-direction: column; align-items: center;
  gap: 18px; padding: 24px 24px 12px;
}
.mk-feat-card {
  position: relative; overflow: hidden;
  width: 100%; max-width: 880px; margin: auto;
  padding: 60px 68px 54px;
  background:
    radial-gradient(640px 320px at 50% -90px, rgba(32, 128, 141, 0.12), transparent 72%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  box-shadow: 0 28px 64px -32px rgba(15, 42, 46, 0.28), var(--shadow-sm);
  text-align: center;
}
.mk-feat-card::before {
  content: ""; position: absolute; inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--brand) 30%, var(--brand-mid) 70%, transparent);
  opacity: .55;
}
.mk-feat-card::after {
  content: ""; position: absolute; right: -70px; bottom: -90px;
  width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(32, 128, 141, 0.07), transparent 68%);
  pointer-events: none;
}
.mk-feat-card > * { position: relative; }
.mk-feat-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 18px;
  background: linear-gradient(135deg, var(--brand-soft), #fff 75%);
  color: var(--brand-deep); font-size: 30px;
  border: 1px solid rgba(32, 128, 141, 0.18);
  box-shadow: 0 12px 26px -14px rgba(32, 128, 141, 0.45);
  margin-bottom: 18px;
}
.mk-feat-card .mk-eyebrow { margin-bottom: 12px; }
.mk-feat-title {
  font-family: var(--font-display); font-weight: 550;
  font-size: clamp(1.9rem, 3.4vw, 2.45rem);
  letter-spacing: -0.02em; line-height: 1.22;
  margin: 0 0 16px; color: var(--ink);
}
.mk-feat-title em { font-style: italic; color: var(--brand-deep); }
.mk-feat-lead {
  max-width: 36em; margin: 0 auto;
  font-size: 15px; line-height: 1.85; color: var(--ink-soft);
}
.mk-feat-cta { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 30px; }
.mk-feat-points {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 10px 12px; max-width: 700px;
  margin: 32px auto 0; padding: 0; list-style: none; text-align: left;
}
.mk-feat-points li {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 13px 15px; border-radius: var(--radius-sm);
  background: var(--paper); border: 1px solid var(--line);
  font-size: 13.5px; color: var(--ink-soft); line-height: 1.65;
  transition: border-color .15s ease;
}
.mk-feat-points li:hover { border-color: rgba(32, 128, 141, 0.35); }
.mk-feat-points .ph { color: var(--brand); font-size: 16px; margin-top: 1px; flex-shrink: 0; }

/* 场景卡片 */
.mk-scenecards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mk-scenecard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 22px; }
.mk-scenecard h3 { margin: 0 0 10px; font-size: 15px; }
.mk-scenecard-pain { margin: 0 0 12px; font-size: 13px; color: var(--ink-soft); line-height: 1.65; }
.mk-scenecard-out {
  margin: 0; padding-top: 10px; border-top: 1px solid var(--line);
  font-size: 12.5px; color: var(--muted); line-height: 1.6;
}
.mk-scenecard-out strong { color: var(--ink-soft); }
/* 第六张「旷野」卡：深青渐变 + 品牌衬线，与五张白卡强差异 */
.mk-scenecard.mk-scene-more {
  border: none;
  background: linear-gradient(135deg, #0f2a2e 0%, #0b6e6e 100%);
  color: #fff;
  box-shadow: 0 10px 26px rgba(11, 110, 110, .22);
}
.mk-scene-more .mk-scene-who { color: #7fd4cf; }
.mk-scene-more h3 {
  font-family: var(--font-logo);
  font-weight: 400;
  font-size: 21px;
  letter-spacing: .05em;
  color: #fff;
}
.mk-scene-more .mk-scenecard-pain { color: rgba(255,255,255,.78); }
.mk-scene-more .mk-scenecard-out {
  border-top: 1px solid rgba(255,255,255,.16);
  color: #7fd4cf;
}

/* 关于 · 三原则 */
.mk-pr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; }
.mk-pr-grid h3 { margin: 8px 0; font-size: 15px; }
.mk-pr-grid p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.65; }
.mk-pr-idx { color: var(--brand); font-size: 12px; font-weight: 700; }

/* 关于 · 品牌文案铺满卡片宽度 */
#about .mk-feed-head p:not(.mk-eyebrow) { max-width: none; }

/* 关于 · 联系方式 */
.mk-contact {
  margin-top: 40px; padding-top: 28px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.mk-contact .mk-eyebrow { margin: 0 0 14px; }
.mk-contact-row {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 12px 28px;
}
.mk-contact-item {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--ink);
}
.mk-contact-item .ph { font-size: 18px; color: var(--brand-deep); }
a.mk-contact-item { text-decoration: none; }
a.mk-contact-item:hover { color: var(--brand-deep); }
.mk-contact-divider { width: 1px; height: 16px; background: var(--line); }
.mk-contact-note { margin: 14px 0 0; font-size: 12.5px; color: var(--muted); }

@media (max-width: 960px) {
  .mk-scenecards, .mk-pr-grid, .mk-plan-grid { grid-template-columns: 1fr; }
  .mk-feat-points { grid-template-columns: 1fr; }
  .mk-hbox-hint { display: none; }
  .mk-feed { padding: 22px; }
  .mk-feed-hero { padding: 26px 20px; }
  .mk-feat-card { padding: 40px 24px 36px; }
}

/* ══ 融合首页：工作台外壳 + 右侧宣传面板流 ══ */

/* 融合首页/功能介绍页：内容区与工作台各列表同宽 */
.ws-content:has(.mk-feed-wrap) { width: min(var(--ws-content), calc(100% - 48px)); }

/* mono：工作台外壳内无 .mk-page 作用域，需重新声明 */
.mk-feed-wrap .mono, .kb-doc-layout .mono {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  letter-spacing: 0.06em; font-size: 11px; font-weight: 500;
}

.mk-feed-wrap { padding-bottom: 8px; }
.mk-feed {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-panel); padding: 32px;
  box-shadow: var(--shadow-sm);
}
.mk-feed + .mk-feed, .mk-feed + .mk-feed-foot { margin-top: 16px; }
.mk-feed[id] { scroll-margin-top: 20px; }

.mk-feed-hero {
  background: none;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  padding: 40px 36px;
  text-align: center;
}
.mk-feed-hero .mk-feed-lead { margin-left: auto; margin-right: auto; }
.mk-feed-h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 2.7rem);
  font-weight: 550; letter-spacing: -0.03em; line-height: 1.14;
  margin: 0 0 14px; color: var(--ink);
}
.mk-feed-h1 em { font-style: italic; color: var(--brand-deep); }
.mk-feed-lead { margin: 0 0 24px; font-size: 15.5px; line-height: 1.7; color: var(--ink-soft); max-width: 40em; }
.mk-hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; justify-content: center; }

.mk-feed-head { margin-bottom: 22px; }
.mk-feed-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-weight: 550; letter-spacing: -0.02em; margin: 0 0 8px; color: var(--ink);
}
.mk-feed-head p:not(.mk-eyebrow) { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; max-width: 46em; }

.mk-feed-note { margin: 0; font-size: 13.5px; line-height: 1.75; color: var(--ink-soft); max-width: 46em; }
.mk-feed-fig { margin: 18px 0 0; }
.mk-feed-fig img {
  width: 100%; max-height: 300px; object-fit: cover;
  border: 1px solid var(--line); border-radius: var(--radius-card);
}
.mk-feed-fig figcaption { margin-top: 8px; color: var(--muted); font-size: 11px; }

/* 面板内场景卡降为两列 */
.mk-feed .mk-scenecards { grid-template-columns: repeat(2, 1fr); }

/* 收束暗色面板 */
.mk-feed-close { background: var(--ink); border-color: var(--ink); color: #e8f0f0; }
.mk-feed-close h2 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-weight: 550; letter-spacing: -0.02em; margin: 0 0 10px; color: #fff;
}
.mk-feed-close p { margin: 0 0 20px; max-width: 480px; font-size: 14.5px; color: rgba(232, 240, 240, 0.72); line-height: 1.65; }
.mk-feed-close .mk-eyebrow { color: var(--brand-mid); }
.mk-feed-close .btn-dark { background: #fff; color: var(--ink); }
.mk-feed-close .btn-dark:hover { background: var(--brand-soft); color: var(--brand-deep); }
.mk-feed-close .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.28); }
.mk-feed-close .btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }

.mk-feed-foot { text-align: center; color: var(--muted); font-size: 11px; padding: 12px 0 20px; }

/* 会员方案三档卡（一行三列） */
.mk-plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: stretch; }
.mk-plan-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-card); padding: 24px;
}
.mk-plan-idx { margin: 0 0 10px; color: var(--brand); font-size: 11px; }
.mk-plan-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-bottom: 8px; }
.mk-plan-top h3 {
  margin: 0; font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 550; letter-spacing: -0.015em;
}
.mk-plan-price { font-size: 12px; font-weight: 650; color: var(--brand-deep); }
.mk-plan-desc { margin: 0 0 14px; font-size: 13px; color: var(--ink-soft); line-height: 1.65; }
.mk-plan-card ul { margin: 0 0 18px; padding: 0; list-style: none; }
.mk-plan-card ul li {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 7px 0; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--ink-soft); line-height: 1.55;
}
.mk-plan-card ul li::before { content: "✓"; color: var(--brand); font-weight: 700; flex-shrink: 0; }
.mk-plan-card .btn { margin-top: auto; align-self: flex-start; }
.mk-plan-focus {
  border-color: var(--brand); box-shadow: var(--shadow);
  background: linear-gradient(180deg, var(--brand-soft), var(--surface) 62%);
}

/* 未登录侧栏登录/注册按钮组 */
.ws-side-auth { display: grid; gap: 8px; padding: 4px 2px 6px; }
.ws-side-auth .btn { width: 100%; }

/* ═══ 公开知识库 / 问档（工作台外壳内呈现，SEO/GEO 获客页） ═══ */
.kb-eyebrow { font-size: 11px; letter-spacing: 0.14em; color: var(--muted); margin: 0 0 8px; }
.kb-hero { max-width: 720px; margin: 0 auto; text-align: center; }
.kb-hero h1 { font-family: var(--font-display); font-size: 2rem; margin: 0 0 12px; color: var(--ink); }
.kb-hero-lead { color: var(--muted); font-size: 14.5px; line-height: 1.8; margin: 0 0 20px; }
.kb-search { display: flex; gap: 8px; max-width: 480px; margin: 0 auto 16px; }
.kb-search input {
  flex: 1; min-width: 0; height: 44px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; color: var(--ink); font-size: 13.5px;
}
.kb-search input:focus { outline: none; border-color: var(--brand); }
.kb-search .btn { height: 44px; padding: 0 22px; flex-shrink: 0; }
.kb-tagbar { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.kb-tag {
  display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 12px;
  background: #f6f4ee; border: 1px solid #ebe6da; color: #5d6f74; text-decoration: none;
  transition: all 0.15s ease;
}
.kb-tag:hover { border-color: var(--brand); color: var(--brand-deep); }
.kb-tag.active { background: var(--brand-deep); border-color: var(--brand-deep); color: #fff; }
.kb-tag.sm { padding: 2px 10px; font-size: 11.5px; }

.kb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 18px; margin: 0; }
.kb-grid.cols-4 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.kb-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.kb-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(19, 52, 59, 0.08); }
.kb-cover { position: relative; aspect-ratio: 21 / 9; background: linear-gradient(135deg, #eef4f2, #dce8e5); }
.kb-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kb-cover-fallback { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.kb-cover-fallback i { font-size: 32px; color: var(--brand); opacity: 0.5; }
.kb-industry {
  position: absolute; top: 10px; left: 10px; padding: 3px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.92); font-size: 11.5px; color: var(--brand-deep); font-weight: 600;
}
.kb-card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; }
.kb-card-body h3 { margin: 0; font-size: 15px; font-weight: 650; color: var(--ink); line-height: 1.5; }
.kb-summary { margin: 0; font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.kb-meta { display: flex; gap: 6px; font-size: 11.5px; color: #919998; }
.kb-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.kb-empty { text-align: center; padding: 60px 0; color: var(--muted); }
.kb-empty i { font-size: 36px; opacity: 0.4; }

/* 文档详情页 */
.kb-article { margin: 0; }
.kb-doc-toprow { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.kb-doc-toprow .kb-crumbs { margin-bottom: 0; min-width: 0; }
.kb-share-btn {
  display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
  padding: 6px 13px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line-strong); background: #fff; color: var(--ink-soft);
  font-size: 12px; font-family: var(--font); line-height: 1;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.kb-share-btn i { font-size: 14px; }
.kb-share-btn:hover { border-color: var(--brand); color: var(--brand-deep); background: var(--brand-soft); }
.kb-share-btn.copied { border-color: var(--brand); color: var(--brand-deep); background: var(--brand-soft); }
.kb-share-btn.copied i::before { content: "\e182"; }  /* ph-check */
.kb-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--muted); margin-bottom: 20px; }
.kb-crumbs a { color: var(--muted); text-decoration: none; }
.kb-crumbs a:hover { color: var(--brand); }
.kb-doc-head h1 { font-family: var(--font-display); font-size: 1.55rem; line-height: 1.4; margin: 0 0 12px; color: var(--ink); }
.kb-doc-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.kb-doc-cover { margin: 20px 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.kb-doc-cover img { width: 100%; display: block; max-height: 300px; object-fit: cover; }
.kb-doc-summary {
  margin: 24px 0; padding: 16px 20px; background: var(--brand-soft);
  border-left: 3px solid var(--brand); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.kb-doc-summary p { margin: 6px 0 0; font-size: 13.5px; line-height: 1.8; color: var(--brand-deep); }
/* 富文本摘要（summary_html）：文章正文级排版，与文档标题同一视觉体系；
   纯文本存量文档仍走上方 .kb-doc-summary 小卡片 */
.kb-article-summary { margin: 28px 0 8px; }
.kb-article-summary .kb-eyebrow {
  display: block; margin: 0 0 16px; padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.kb-article-body { font-size: 15px; line-height: 1.9; color: var(--ink-soft); overflow-wrap: break-word; }
.kb-article-body > :first-child { margin-top: 0; }
.kb-article-body > :last-child { margin-bottom: 0; }
.kb-article-body p { margin: 0 0 14px; }
.kb-article-body h2, .kb-article-body h3, .kb-article-body h4 {
  font-family: var(--font-display); font-weight: 550; color: var(--brand-deep); line-height: 1.45;
}
.kb-article-body h2 { font-size: 1.25rem; margin: 1.6em 0 0.5em; }
.kb-article-body h3 { font-size: 1.08rem; margin: 1.4em 0 0.45em; }
.kb-article-body h4 { font-size: 1rem; margin: 1.3em 0 0.4em; }
.kb-article-body strong, .kb-article-body b { font-weight: 700; color: var(--ink); }
.kb-article-body em, .kb-article-body i { font-style: italic; }
.kb-article-body u { text-decoration: underline; text-underline-offset: 2px; }
.kb-article-body s { text-decoration: line-through; }
.kb-article-body ul, .kb-article-body ol { margin: 0 0 14px; padding-left: 1.5em; }
.kb-article-body li { margin: 6px 0; }
.kb-article-body li::marker { color: var(--brand); font-weight: 600; }
.kb-article-body li > p { margin: 0; }
.kb-article-body a {
  color: var(--brand); font-weight: 550;
  text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px;
}
.kb-article-body a:hover { color: var(--brand-deep); }
.kb-article-body blockquote {
  margin: 18px 0; padding: 12px 18px; background: var(--brand-soft);
  border-left: 3px solid var(--brand); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--ink-soft);
}
.kb-article-body blockquote p { margin: 0 0 6px; }
.kb-article-body blockquote p:last-child { margin-bottom: 0; }
.kb-article-body img {
  display: block; max-width: 100%; height: auto; margin: 18px auto;
  border-radius: var(--radius); border: 1px solid var(--line);
}
.kb-article-body code {
  background: rgba(19, 52, 59, 0.06); padding: 2px 6px; border-radius: 4px;
  font-size: 0.88em; color: var(--brand-deep);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.kb-article-body hr { border: none; border-top: 1px solid var(--line); margin: 24px 0; }
.kb-prose { margin-top: 8px; }
.kb-industry-inline {
  display: inline-block; padding: 2px 10px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand-deep); font-weight: 600; font-size: 11.5px;
}

/* 详情页两栏铺满：页面本身不滚动，左右两栏各自独立滚动 */
.ws-app:has(.kb-doc-layout) { height: 100vh; }
.ws-content:has(.kb-doc-layout) { width: 100%; max-width: none; position: relative; height: 100%; }
.ws-body:has(.kb-doc-layout) { padding: 0; overflow: hidden; }
.ws-content:has(.kb-doc-layout) .flash-wrap {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: min(460px, calc(100% - 32px)); z-index: 40; margin: 0;
}
.kb-doc-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; height: 100%; min-height: 0; }
.kb-doc-pane { min-width: 0; height: 100%; overflow-y: auto; padding: 32px 40px 56px; }
.kb-doc-pane .kb-related { margin-top: 48px; }

/* 问档对话面板：全高 flex，头部固定 / 消息流内部滚动 / 提问框钉底 */
.kb-qa-pane {
  height: 100%;
  display: flex; flex-direction: column;
  background: var(--surface);
  border-left: 1px solid var(--line);
  min-width: 0; min-height: 0;
}
.kb-qa-head { flex-shrink: 0; padding: 22px 26px 16px; border-bottom: 1px solid var(--line); }
.kb-qa-head h2 { font-family: var(--font-display); font-size: 1.15rem; margin: 0 0 6px; color: var(--ink); }
.kb-qa-head p { color: var(--muted); font-size: 13px; line-height: 1.7; margin: 0; }
.kb-qa-locked {
  margin: 22px 26px; padding: 24px; text-align: center; background: #f7f7f5;
  border: 1px dashed var(--line); border-radius: var(--radius-sm); color: var(--muted); font-size: 13.5px;
}
.kb-qa-locked i { font-size: 26px; opacity: 0.5; display: block; margin-bottom: 8px; }

/* 消息流：用户右对齐深色气泡，AI 左对齐带头像 */
.kb-qa-thread {
  flex: 1 1 auto; min-height: 0; overflow-y: auto;
  display: flex; flex-direction: column; gap: 12px;
  padding: 22px 26px;
}
.kb-msg { display: flex; gap: 8px; align-items: flex-end; max-width: 94%; }
.kb-msg.user { align-self: flex-end; }
.kb-msg.ai { align-self: flex-start; }
.kb-msg-avatar {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-soft); color: var(--brand-deep); font-size: 14px;
}
.kb-msg.err .kb-msg-avatar { background: #fdf1ee; color: #a04b2f; }
.kb-msg.user .kb-msg-avatar { background: var(--brand-deep); color: #fff; }
.kb-msg-bubble { padding: 9px 13px; border-radius: 14px; font-size: 13.5px; line-height: 1.7; }
.kb-msg-bubble p { margin: 0; white-space: pre-wrap; word-break: break-word; }
.kb-msg.user .kb-msg-bubble { background: var(--brand-deep); color: #fff; border-bottom-right-radius: 4px; }
.kb-msg.ai .kb-msg-bubble { background: #eef2f1; color: var(--ink-soft); border-bottom-left-radius: 4px; }
.kb-msg.ai.err .kb-msg-bubble { background: #fdf1ee; color: #a04b2f; }

/* 回答内容：markdown 渲染（图片/列表/加粗） */
.kb-msg-answer { white-space: pre-wrap; word-break: break-word; }
.kb-msg-answer p { margin: 0; }
.kb-msg-answer p + p { margin-top: 8px; }
.kb-msg-answer ul, .kb-msg-answer ol { margin: 6px 0; padding-left: 18px; }
.kb-msg-answer li { margin: 3px 0; }
.kb-msg-answer li::marker { color: var(--brand); }
.kb-msg-answer strong { color: var(--ink); }
.kb-ans-fig { margin: 10px 0 4px; }
.kb-ans-fig img {
  display: block; max-width: min(420px, 100%); max-height: 320px;
  border-radius: 10px; border: 1px solid var(--line); background: #fff;
}
.kb-ans-fig figcaption { font-size: 11px; color: var(--muted); margin-top: 5px; }
.kb-qa-thread[hidden], .kb-qa-empty[hidden] { display: none !important; }

/* AI 思考中动画 */
.kb-typing { display: inline-flex; gap: 4px; align-items: center; padding: 3px 1px; }
.kb-typing i {
  width: 6px; height: 6px; border-radius: 50%; background: #9fb4b1;
  animation: kbTypingBlink 1.2s infinite ease-in-out;
}
.kb-typing i:nth-child(2) { animation-delay: 0.18s; }
.kb-typing i:nth-child(3) { animation-delay: 0.36s; }
@keyframes kbTypingBlink {
  0%, 80%, 100% { opacity: 0.25; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-2px); }
}

.kb-qa-empty {
  flex: 1 1 auto; min-height: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; text-align: center; color: var(--muted); padding: 20px 26px;
}
.kb-qa-empty i { font-size: 30px; opacity: 0.4; }
.kb-qa-empty p { margin: 0; font-size: 13px; line-height: 1.8; }
.kb-qa-empty .row { display: flex; gap: 10px; margin-top: 6px; }

/* 提问框：ChatGPT 风格，发送按钮固定在输入框右下角 */
.kb-ask-form { flex-shrink: 0; margin: 0 26px 20px; }
.kb-composer {
  display: flex; align-items: flex-end; gap: 10px;
  border: 1px solid var(--line-strong); border-radius: 16px; background: #fff;
  padding: 10px 10px 10px 14px; transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.kb-composer:focus-within { border-color: var(--brand); box-shadow: 0 4px 14px rgba(19, 52, 59, 0.08); }
.kb-composer textarea {
  flex: 1; min-width: 0; border: 0; outline: none; resize: none; background: transparent;
  color: var(--ink); font-size: 13.5px; font-family: var(--font); line-height: 1.6;
  padding: 4px 0 2px; display: block;
}
.kb-composer textarea::placeholder { color: #9aa7a5; }
.kb-composer-send {
  flex-shrink: 0; width: 34px; height: 34px; padding: 0; margin: 0 2px 4px;
  border: 0; border-radius: 50%; cursor: pointer;
  background: var(--brand-deep); color: #fff; font-size: 16px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.kb-composer-send:hover { opacity: 0.88; }
.kb-composer-send:active { transform: scale(0.96); }
.kb-composer-foot { display: flex; justify-content: flex-end; margin-top: 6px; }
.kb-composer-foot .mono { font-size: 11px; color: var(--muted); }

@media (max-width: 960px) {
  .ws-app:has(.kb-doc-layout) { height: auto; }
  .ws-body:has(.kb-doc-layout) { overflow: visible; }
  .ws-content:has(.kb-doc-layout) { height: auto; }
  .kb-doc-layout { grid-template-columns: 1fr; height: auto; }
  .kb-doc-pane { height: auto; overflow: visible; padding: 20px 18px 32px; }
  .kb-qa-pane {
    height: auto; min-height: 78vh;
    border-left: 0; border-top: 1px solid var(--line);
  }
  .kb-qa-thread { max-height: 50vh; }
  .kb-qa-locked { margin: 22px 18px; }
  .kb-ask-form { margin: 0 18px 18px; }
  .kb-related-meta { display: none; }
}

/* CTA 面板 / 相关阅读 */
.kb-cta-panel {
  background: linear-gradient(135deg, #13343b, #1d4a52);
  border: 0; color: #fff; display: flex; gap: 24px; align-items: center; flex-wrap: wrap;
}
.kb-cta-panel h2 { margin: 0 0 8px; font-size: 1.2rem; font-family: var(--font-display); }
.kb-cta-panel p { margin: 0; font-size: 13px; line-height: 1.8; opacity: 0.85; flex: 1; min-width: 280px; }
.kb-cta-actions { display: flex; gap: 10px; }
/* 延伸阅读：单列弱化列表（不抢视觉焦点） */
.kb-related h2 {
  font-family: var(--font-display); font-size: 0.95rem; font-weight: 600;
  color: var(--muted); margin: 0 0 4px;
}
.kb-related-list { list-style: none; margin: 0; padding: 0; }
.kb-related-list li + li { border-top: 1px solid var(--line); }
.kb-related-list a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 11px 2px; text-decoration: none; min-width: 0;
}
.kb-related-title {
  font-size: 13px; color: var(--ink-soft); line-height: 1.6;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.kb-related-list a:hover .kb-related-title { color: var(--brand-deep); }
.kb-related-meta { flex-shrink: 0; color: #9aa7a5; }

/* 顶栏下拉「实验室」分组标签 */
.nav-dd-label {
  padding: 6px 14px 4px; font-size: 10.5px; letter-spacing: 0.1em;
  color: #919998; text-transform: uppercase; border-top: 1px solid var(--line); margin-top: 4px;
}
