/*
  GBMS site kit · the home-page parameter table as CSS variables (saas-frontend-standard 「〇·一、首页统一参数表」), plus
  the few base classes every block shares. Import once in the host (main.ts or the home page): every sdk/vue/site
  component reads these.
  🔴 The product sets only the brand colour (`--gs-brand`). Every other value, gradient ends and the dark download band
  included, is the standard's or derived from the brand here; scripts/kit-guard (saas-frontend-standard 〇·二 3) fails a
  product release that redefines one. 🔴 Layers (`--gs-z-*`, 〇·二 9) are fixed too, header < float < popover < dialog
  < dialog over a dialog < support window < toast, and every floating kit is teleported to <body>, so a host's stacking
  context can never cover it; the kits carry the same numbers as fallbacks (workbench pages may not load this file).
  Vendored byte for byte (README.md).
*/
:where(:root) {
  --gs-brand: #2563eb;
  --gs-brand-2: color-mix(in srgb, var(--gs-brand) 72%, #fff);
  --gs-brand-soft: color-mix(in srgb, var(--gs-brand) 7%, #fff);
  --gs-brand-ring: color-mix(in srgb, var(--gs-brand) 28%, #fff);
  --gs-brand-glow: color-mix(in srgb, var(--gs-brand) 45%, transparent);

  --gs-font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  --gs-font-num: "GS Num", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  --gs-font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --gs-ink: #0f172a;
  --gs-ink-2: #475569;
  --gs-text: #475569;
  --gs-muted: #64748b;
  --gs-faint: #94a3b8;
  --gs-note: #64748b;
  --gs-note-faint: #64748b;
  --gs-note-dark: rgba(255, 255, 255, 0.42);
  --gs-line: #e2e8f0;
  --gs-line-soft: #f1f5f9;
  --gs-bg: #fff;
  --gs-bg-soft: #f8fafc;
  --gs-ok: #16a34a;
  --gs-warn: #d97706;
  --gs-gold: #c8901a;
  --gs-gold-soft: #fdf6e3;

  --gs-max: 1170px;
  --gs-content: calc(var(--gs-max) - 48px);
  --gs-header-h: 80px;
  --gs-header-bg: rgba(255, 255, 255, 0.92);
  --gs-header-line: rgba(226, 232, 240, 0.8);
  --gs-header-shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 4px 12px -6px rgba(15, 23, 42, 0.12);
  --gs-nav-size: 15px;
  --gs-nav-pad: 16px;
  --gs-nav-color: #475569;
  --gs-nav-caret: #94a3b8;

  --gs-gap-hero: 80px;
  --gs-gap-section: 96px;

  --gs-r-sm: 10px;
  --gs-r: 12px;
  --gs-r-md: 16px;
  --gs-r-lg: 20px;
  --gs-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 4px 12px -6px rgba(15, 23, 42, 0.12);
  --gs-shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 4px 12px -6px rgba(15, 23, 42, 0.12);
  --gs-shadow-lg: 0 12px 24px -12px rgba(15, 23, 42, 0.25);
  --gs-shadow-xl: 0 24px 48px -20px rgba(15, 23, 42, 0.3), 0 0 0 1px rgba(15, 23, 42, 0.05);
  /* 〇·四: the four shadows (card · raise on hover · float for dropdowns and menus · dialog) */
  --gs-shadow-card: 0 1px 2px rgba(15, 23, 42, 0.06), 0 4px 12px -6px rgba(15, 23, 42, 0.12);
  --gs-shadow-raise: 0 12px 24px -12px rgba(15, 23, 42, 0.25);
  --gs-shadow-float: 0 24px 48px -20px rgba(15, 23, 42, 0.3), 0 0 0 1px rgba(15, 23, 42, 0.05);
  --gs-shadow-dialog: 0 40px 80px -30px rgba(15, 23, 42, 0.45);

  --gs-deploy: #2563eb;
  --gs-deploy-glow: rgba(59, 130, 246, 0.3);
  --gs-deploy-soft: #eff6ff;
  --gs-dealer: #9333ea;
  --gs-dealer-glow: rgba(168, 85, 247, 0.3);
  --gs-dealer-soft: #faf5ff;

  --gs-mac-1: #1e293b;
  --gs-mac-2: #0b1220;
  --gs-band-bg: color-mix(in srgb, var(--gs-brand) 18%, #0b1220);
  --gs-band-bg-2: color-mix(in srgb, var(--gs-brand) 35%, #0b1220);

  --gs-stale-bg: #fffbe6;
  --gs-stale-line: #f0d180;
  --gs-stale-ink: #5c4400;
  /* install dialog (install/InstallDialog.vue) */
  --gs-ok-soft: color-mix(in srgb, var(--gs-ok) 10%, #fff);
  --gs-warn-soft: color-mix(in srgb, var(--gs-warn) 12%, #fff);
  --gs-mask: rgba(15, 23, 42, 0.45);
  /* Bottom-right corner slot for kit cards (PushOptInCard): above the support pill (right / bottom 24, 52 tall, 4 px
     ring) with a 12 px gap. Fixed, not a product knob; a host's own corner cards may read it to line up. */
  --gs-corner-right: 24px;
  --gs-corner-bottom: 88px;

  --gs-z-header: 2000;
  --gs-z-float: 2500;
  --gs-z-popover: 3000;
  --gs-z-modal: 3100;
  --gs-z-modal-over: 3200;
  --gs-z-support: 3300;
  --gs-z-toast: 3400;
}
@media (max-width: 1440px) and (min-width: 1025px) {
  :where(:root) { --gs-max: 1080px; }
}
@media (max-width: 1366px) and (min-width: 1025px) {
  :where(:root) { --gs-max: 1040px; }
}
@media (max-width: 768px) {
  :where(:root) { --gs-header-h: 60px; --gs-gap-hero: 48px; --gs-gap-section: 64px; }
}

/* ---- base classes ---- */
.gs-root, .gs-root * { box-sizing: border-box; }
.gs-root { font-family: var(--gs-font, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif); color: var(--gs-ink); -webkit-font-smoothing: antialiased; text-wrap: pretty; }
.gs-root a { text-decoration: none; }
.gs-wrap { width: min(var(--gs-content), calc(100% - 32px)); margin: 0 auto; }
.gs-sec { padding: var(--gs-gap-section) 0 0; }
.gs-h2 { margin: 0; font-size: 36px; line-height: 1.3; font-weight: 800; color: var(--gs-ink); text-align: center; letter-spacing: -0.01em; }
.gs-sub { margin: 12px auto 0; max-width: 720px; font-size: 16px; line-height: 1.7; color: var(--gs-muted); text-align: center; }
.gs-note { font-size: 12px; line-height: 1.5; color: var(--gs-note); }
.gs-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 22px;
  border: 1px solid transparent; border-radius: var(--gs-r-sm); font: 600 15px/1 var(--gs-font, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif); cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s; white-space: nowrap;
}
.gs-btn--primary { background: var(--gs-brand); color: #fff; }
.gs-btn--primary:hover { background: color-mix(in srgb, var(--gs-brand) 88%, #000); color: #fff; }
.gs-btn--ghost { background: #fff; color: var(--gs-brand); border-color: var(--gs-brand-ring); }
.gs-btn--ghost:hover { border-color: var(--gs-brand); background: var(--gs-brand-soft); }
.gs-ico { width: 1em; height: 1em; flex: none; display: inline-block; vertical-align: -0.125em; }
.gs-spin {
  width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent;
  animation: gs-spin 0.7s linear infinite; flex: none;
}
@keyframes gs-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .gs-root *, .gs-root *::before, .gs-root *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/*
  MathType's only settings for the GBMS site kit (src/vendor/gbms/vue/site/tokens.css): the brand colour and the
  page-level layers (core-v1.10.99 locks the rest; the gradient end is derived from the brand colour). Every other kit value
  is the standard's (saas-frontend-standard 〇·一) and is not overridden here. Set on :root because the kit derives
  its tints there. Imported right after tokens.css by every page that mounts kit blocks.
*/
:root {
  --gs-brand: #2563eb;
  /* Layers are the kit's own since core-v1.10.115 (spec: header 2000 < float 2500 < popover 3000 < dialog 3100 <
     dialog over a dialog 3200 < support window 3300 < toast 3400; floating kits teleported to <body>). MathType's
     layer table (styles/variables.css) is laid around them. */
}

/*
  GBMS reading page · the one stylesheet for an article (help article and learning article; mockup help-guide-v1 v5
  「阅读页共享件」). Plain CSS, no framework: the Vue kits (ReadingArticle / ReadingToc) and the pages the publish runtime
  renders (sdk/publish-runtime/reader.mjs) share these class names, so both kinds of page read alike. Load it beside
  tokens.css; it reads only the site tokens (`--gs-*`), the brand colour included.
  🔴 Fixed by the rule, not product knobs: body ≤ 760, text 16 / 1.85, H1 28 · H2 24 · H3 18, three-line tables, dark
  code with 复制, two callouts (提示 green, 注意 amber), the 先看结论 / 本文要点 box, the TOC that follows the reading.
  Every heading and paragraph sets its own colour (a host's global `h1–h6 { color }` must not win).
  Vendored byte for byte (README.md).
*/
.gs-rd { max-width: 760px; min-width: 0; font-family: var(--gs-font, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif); color: var(--gs-ink, #0f172a); -webkit-font-smoothing: antialiased; }
.gs-rd *, .gs-rd *::before, .gs-rd *::after { box-sizing: border-box; }
.gs-rd a, .gs-rd-toc a { text-decoration: none; }
.gs-rd-toc, .gs-rd-toc * { box-sizing: border-box; }
.gs-rd-toc { font-family: var(--gs-font, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif); }

/* head: crumbs, title, meta line */
.gs-rd-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 10px; font-size: 13px; color: var(--gs-muted, #64748b); }
.gs-rd-crumbs a { color: var(--gs-muted, #64748b); }
.gs-rd-crumbs a:hover { color: var(--gs-brand, #2563eb); }
.gs-rd-crumbs i { font-style: normal; color: #94a3b8; }
.gs-rd-title { margin: 0 0 10px; font-size: 28px; line-height: 1.35; font-weight: 800; color: var(--gs-ink, #0f172a); text-wrap: balance; }
.gs-rd-meta { display: flex; flex-wrap: wrap; align-items: center; margin: 0 0 20px; font-size: 13px; color: var(--gs-muted, #64748b); }
.gs-rd-meta > span + span::before { content: "·"; margin: 0 10px; color: #94a3b8; }
.gs-rd-meta .gs-rd-tag { padding: 1px 8px; border-radius: 6px; background: color-mix(in srgb, var(--gs-brand, #2563eb) 8%, #fff); color: var(--gs-brand, #2563eb); font-weight: 600; }
.gs-rd-meta .gs-rd-tag + span::before { margin-left: 12px; }
.gs-rd-cover { display: block; width: 100%; height: 200px; margin: 0 0 20px; border: 1px solid var(--gs-line-soft, #f1f5f9); border-radius: 16px; object-fit: cover; background: color-mix(in srgb, var(--gs-brand, #2563eb) 5%, #fff); }

/* 先看结论 / 本文要点 */
.gs-rd-ans { margin: 0 0 20px; padding: 16px 18px; border: 1px solid color-mix(in srgb, var(--gs-brand, #2563eb) 16%, #fff); border-radius: 12px; background: color-mix(in srgb, var(--gs-brand, #2563eb) 6%, #fff); }
.gs-rd-ans-h { display: flex; align-items: center; gap: 6px; margin: 0 0 6px; font-size: 14px; font-weight: 700; color: var(--gs-brand, #2563eb); }
.gs-rd-ans-h svg { width: 16px; height: 16px; flex: none; }
.gs-rd-ans-t { margin: 0; font-size: 16px; line-height: 1.8; color: var(--gs-ink, #0f172a); }
.gs-rd-ans ol { margin: 0; padding-left: 22px; }
.gs-rd-ans li { font-size: 16px; line-height: 1.8; color: var(--gs-ink, #0f172a); }
.gs-rd-scope { display: flex; align-items: baseline; gap: 10px; margin: 10px 0 0; padding-top: 10px; border-top: 1px dashed color-mix(in srgb, var(--gs-brand, #2563eb) 25%, #fff); font-size: 14px; color: var(--gs-text, #475569); }
.gs-rd-scope b { flex: none; font-size: 12px; font-weight: 700; color: var(--gs-brand, #2563eb); }

/* body: plain HTML from the product's renderer */
.gs-rd-body h2 { margin: 34px 0 12px; font-size: 24px; line-height: 1.4; font-weight: 700; color: var(--gs-ink, #0f172a); scroll-margin-top: calc(var(--gs-header-h, 80px) + 16px); }
.gs-rd-body h3 { margin: 24px 0 8px; font-size: 18px; line-height: 1.45; font-weight: 700; color: var(--gs-ink, #0f172a); scroll-margin-top: calc(var(--gs-header-h, 80px) + 16px); }
.gs-rd-body h4 { margin: 18px 0 6px; font-size: 16px; font-weight: 700; color: var(--gs-ink, #0f172a); }
.gs-rd-body p { margin: 0 0 14px; font-size: 16px; line-height: 1.85; color: #0f172a; }
.gs-rd-body ul, .gs-rd-body ol { margin: 0 0 14px; padding-left: 22px; }
.gs-rd-body li { font-size: 16px; line-height: 1.85; color: #0f172a; }
.gs-rd-body a { color: var(--gs-brand, #2563eb); }
.gs-rd-body a:hover { text-decoration: underline; }
.gs-rd-body strong, .gs-rd-body b { font-weight: 700; color: var(--gs-ink, #0f172a); }
.gs-rd-body img { display: block; max-width: 100%; height: auto; margin: 6px 0 16px; border: 1px solid var(--gs-line-soft, #f1f5f9); border-radius: 12px; }
.gs-rd-body hr { margin: 28px 0; border: 0; border-top: 1px solid var(--gs-line, #e2e8f0); }
.gs-rd-body blockquote { margin: 0 0 16px; padding: 4px 0 4px 16px; border-left: 3px solid var(--gs-line, #e2e8f0); color: var(--gs-text, #475569); }
.gs-rd-body blockquote p { color: var(--gs-text, #475569); }
.gs-rd-body :not(pre) > code { padding: 1px 6px; border-radius: 6px; background: #f1f5f9; font: 14px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #0f172a; }
.gs-rd-body .gs-rd-note { margin: 0 0 16px; font-size: 13px; line-height: 1.6; color: var(--gs-muted, #64748b); }

/* three-line table: thick top and bottom, thin under the head; numbers tabular */
.gs-rd-table { margin: 6px 0 6px; overflow-x: auto; scrollbar-width: thin; }
.gs-rd-body table { width: 100%; border-collapse: collapse; font-size: 14px; color: #0f172a; }
.gs-rd-body caption { caption-side: top; margin-bottom: 6px; font-size: 14px; font-weight: 700; text-align: left; color: var(--gs-ink, #0f172a); }
.gs-rd-body th, .gs-rd-body td { padding: 8px 12px; text-align: left; white-space: nowrap; }
.gs-rd-body th { font-weight: 700; color: var(--gs-ink, #0f172a); }
.gs-rd-body td { font-family: "GS Num", var(--gs-font, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif); font-variant-numeric: tabular-nums; }
.gs-rd-body td:first-child { font-family: inherit; }
.gs-rd-body thead tr { border-top: 2px solid #0f172a; border-bottom: 1px solid #0f172a; }
.gs-rd-body tbody tr:last-child { border-bottom: 2px solid #0f172a; }
.gs-rd-body table:not(:has(thead)) tbody tr:first-child { border-top: 2px solid #0f172a; }

/* dark code block with 复制 */
.gs-rd-code { position: relative; margin: 0 0 16px; }
.gs-rd-body pre { margin: 0 0 16px; padding: 14px 16px; overflow: auto; border-radius: 12px; background: #0f172a; color: #e2e8f0; font: 14px/1.7 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; scrollbar-width: thin; }
.gs-rd-code pre { margin: 0; padding-right: 72px; }
.gs-rd-body pre code { padding: 0; background: none; font: inherit; color: inherit; }
.gs-rd-copy { position: absolute; top: 10px; right: 10px; padding: 2px 9px; border: 1px solid #334155; border-radius: 6px; background: #0f172a; color: #64748b; font: 12px/1.6 var(--gs-font, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif); cursor: pointer; }
.gs-rd-copy:hover { color: #e2e8f0; border-color: #475569; }
.gs-rd-copy[data-done] { color: #86efac; border-color: #166534; }

/* callouts: 提示 (tip) and 注意 (warn) */
.gs-rd-call { display: flex; gap: 10px; margin: 0 0 16px; padding: 12px 16px; border-radius: 12px; font-size: 14px; line-height: 1.75; }
.gs-rd-call > svg { flex: none; width: 18px; height: 18px; margin-top: 4px; }
.gs-rd-call > div { min-width: 0; }
.gs-rd-call p { margin: 0; font-size: 14px; line-height: 1.75; color: inherit; }
.gs-rd-call.is-tip { background: #f0fdf4; color: #16a34a; }
.gs-rd-call.is-tip > svg { color: #16a34a; }
.gs-rd-call.is-tip p { color: #16a34a; }
.gs-rd-call.is-warn { background: #fffbeb; color: #d97706; }
.gs-rd-call.is-warn > svg { color: #d97706; }
.gs-rd-call.is-warn p { color: #d97706; }

/* 延伸阅读 / 同分类文章 */
.gs-rd-rel { margin-top: 30px; }
.gs-rd-rel h3 { margin: 0 0 10px; font-size: 18px; font-weight: 700; color: var(--gs-ink, #0f172a); }
.gs-rd-rel a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid #f1f4f8; font-size: 14px; line-height: 1.5; color: var(--gs-ink, #0f172a); }
.gs-rd-rel a:hover { color: var(--gs-brand, #2563eb); }
.gs-rd-rel a span { flex: none; font-size: 13px; color: var(--gs-muted, #64748b); white-space: nowrap; }

/* product card inside the article */
.gs-rd-inl { display: flex; align-items: center; gap: 16px; margin: 22px 0; padding: 16px 18px; border: 1px solid color-mix(in srgb, var(--gs-brand, #2563eb) 18%, #fff); border-radius: 16px; background: linear-gradient(120deg, color-mix(in srgb, var(--gs-brand, #2563eb) 8%, #fff), #fff 80%); }
.gs-rd-inl-ic { flex: none; width: 44px; height: 44px; border-radius: 12px; object-fit: cover; }
.gs-rd-inl > div { flex: 1; min-width: 0; }
.gs-rd-inl .gs-rd-inl-t { margin: 0; font-size: 16px; font-weight: 700; color: var(--gs-ink, #0f172a); }
.gs-rd-inl .gs-rd-inl-l { margin: 2px 0 0; line-height: 1.6; font-size: 13px; color: var(--gs-muted, #64748b); }
.gs-rd-inl .gs-rd-inl-go:hover { text-decoration: none; }
.gs-rd-inl .gs-rd-inl-go { flex: none; display: inline-grid; place-items: center; height: 36px; padding: 0 16px; border-radius: 10px; background: var(--gs-brand, #2563eb); color: #fff; font-size: 14px; font-weight: 600; white-space: nowrap; }

/* foot: feedback, prev / next */
.gs-rd-fb { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; padding-top: 18px; border-top: 1px solid #eef1f6; font-size: 14px; color: var(--gs-text, #475569); }
.gs-rd-fb > span { margin-right: 4px; }
.gs-rd-fb button { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border: 1px solid var(--gs-line, #e2e8f0); border-radius: 10px; background: #fff; color: var(--gs-ink-2, #334155); font: 14px var(--gs-font, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif); cursor: pointer; }
.gs-rd-fb button:hover { border-color: var(--gs-brand-ring, #bfdbfe); color: var(--gs-brand, #2563eb); }
.gs-rd-fb button[aria-pressed="true"] { border-color: var(--gs-brand, #2563eb); background: color-mix(in srgb, var(--gs-brand, #2563eb) 6%, #fff); color: var(--gs-brand, #2563eb); }
.gs-rd-fb button svg { width: 15px; height: 15px; }
.gs-rd-fb .gs-rd-fb-done { color: var(--gs-ok, #16a34a); }
.gs-rd-pn { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.gs-rd-pn a { display: block; min-width: 0; padding: 12px 16px; border: 1px solid #e6ebf2; border-radius: 12px; }
.gs-rd-pn a:hover { border-color: var(--gs-brand-ring, #bfdbfe); }
.gs-rd-pn a span { display: block; font-size: 12px; color: var(--gs-muted, #64748b); }
.gs-rd-pn a b { display: block; overflow: hidden; font-size: 14px; font-weight: 600; color: var(--gs-ink, #0f172a); text-overflow: ellipsis; white-space: nowrap; }
.gs-rd-pn .is-next { grid-column: 2; text-align: right; }

/* TOC (right rail): follows the reading, the current heading in brand */
.gs-rd-toc { display: flex; flex-direction: column; min-height: 0; }
.gs-rd-toc-h { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; color: var(--gs-muted, #64748b); }
.gs-rd-toc nav { display: grid; gap: 2px; min-height: 0; overflow: auto; border-left: 2px solid #eef1f6; scrollbar-width: thin; }
.gs-rd-toc nav a { margin-left: -2px; padding: 4px 0 4px 12px; border-left: 2px solid transparent; font-size: 14px; line-height: 1.5; color: var(--gs-muted, #64748b); }
.gs-rd-toc nav a.is-h3 { padding-left: 24px; font-size: 13px; }
.gs-rd-toc nav a:hover { color: var(--gs-ink, #0f172a); }
.gs-rd-toc nav a.is-on { border-left-color: var(--gs-brand, #2563eb); color: var(--gs-brand, #2563eb); font-weight: 600; }

.gs-rd a:focus-visible, .gs-rd button:focus-visible, .gs-rd-toc a:focus-visible { outline: 2px solid var(--gs-brand, #2563eb); outline-offset: 2px; border-radius: 4px; }

@media (max-width: 768px) {
  .gs-rd-title { font-size: 24px; }
  .gs-rd-body h2 { font-size: 20px; margin-top: 28px; }
  .gs-rd-body h3 { font-size: 18px; }
  .gs-rd-pn { grid-template-columns: 1fr; }
  .gs-rd-pn .is-next { grid-column: auto; }
  .gs-rd-inl { flex-wrap: wrap; }
}
@media print {
  .gs-rd-copy, .gs-rd-fb, .gs-rd-pn { display: none; }
}

/*
  GBMS learning article frames (learn.mjs; mockup help-guide-v1 v5 「学习文章首页 / 详情」): head, category tabs,
  featured cards, list with thumbnails, pager, side rail (product card, analyst card, 热门, 本页目录 sticky), back bar,
  回到学习文章. Load after tokens.css and reader.css; reads only `--gs-*`. Vendored byte for byte (README.md).
*/
.gs-lr { font-family: var(--gs-font, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif); color: var(--gs-ink, #0f172a); }
.gs-lr *, .gs-lr *::before, .gs-lr *::after { box-sizing: border-box; }
.gs-lr a { text-decoration: none; }
.gs-lr img { display: block; object-fit: cover; }
.gs-lr-w { max-width: 1240px; margin: 0 auto; padding: 0 40px 64px; }
.gs-lr-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 44px; align-items: start; padding-top: 24px; }
.gs-lr-grid.is-article { padding-top: 8px; }
.gs-lr-main { min-width: 0; }
.gs-lr-cv, .gs-lr-lt, .gs-lr-pv { display: block; background: color-mix(in srgb, var(--gs-brand, #2563eb) 5%, #fff); }

/* head */
.gs-lr-head { border-bottom: 1px solid #eef1f6; background: linear-gradient(180deg, color-mix(in srgb, var(--gs-brand, #2563eb) 6%, #fff), #fff); }
.gs-lr-in { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 40px; align-items: end; max-width: 1240px; margin: 0 auto; padding: 36px 40px 28px; }
.gs-lr-ey { margin: 0; font-size: 13px; font-weight: 700; color: var(--gs-brand, #2563eb); }
.gs-lr-h1 { margin: 6px 0; font-size: 36px; font-weight: 800; line-height: 1.3; color: var(--gs-ink, #0f172a); }
.gs-lr-sub { margin: 0; font-size: 15px; color: var(--gs-muted, #64748b); }
.gs-lr-srch, .gs-lr-srch-sm { display: flex; align-items: center; gap: 10px; border: 1.5px solid #dfe5ee; background: #fff; }
.gs-lr-srch { height: 50px; padding: 0 6px 0 16px; border-radius: 12px; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 4px 12px -6px rgba(15, 23, 42, 0.12); }
.gs-lr-srch-sm { width: 280px; height: 38px; margin-left: auto; padding: 0 12px; border-width: 1px; border-radius: 12px; }
.gs-lr-srch:focus-within, .gs-lr-srch-sm:focus-within { border-color: var(--gs-brand, #2563eb); }
.gs-lr-srch svg, .gs-lr-srch-sm svg { flex: none; width: 18px; height: 18px; color: var(--gs-muted, #64748b); }
.gs-lr-srch input, .gs-lr-srch-sm input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--gs-ink, #0f172a); font: 15px var(--gs-font, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif); }
.gs-lr-srch-sm input { font-size: 14px; }
.gs-lr-srch button { height: 38px; padding: 0 18px; border: 0; border-radius: 10px; background: var(--gs-brand, #2563eb); color: #fff; font: 600 14px var(--gs-font, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif); cursor: pointer; }

/* tabs, featured, list, pager */
.gs-lr-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; }
.gs-lr-tabs a { padding: 6px 14px; border: 1px solid #e5e9f0; border-radius: 999px; background: #fff; font-size: 14px; color: var(--gs-text, #475569); }
.gs-lr-tabs a small { margin-left: 4px; font: 12px "GS Num", var(--gs-font, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif); color: var(--gs-muted, #64748b); }
.gs-lr-tabs a.is-on { border-color: #0f172a; background: #0f172a; color: #fff; }
.gs-lr-tabs a.is-on small { color: #94a3b8; }
.gs-lr-feat { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 14px; margin-bottom: 22px; }
.gs-lr-fc { overflow: hidden; border: 1px solid #e6ebf2; border-radius: 16px; background: #fff; }
.gs-lr-fc .gs-lr-cv { width: 100%; height: 118px; }
.gs-lr-fc:first-child .gs-lr-cv { height: 150px; }
.gs-lr-bd { padding: 14px 16px; }
.gs-lr-bd h2 { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.45; color: var(--gs-ink, #0f172a); }
.gs-lr-bd p { display: -webkit-box; margin: 6px 0 0; overflow: hidden; font-size: 13px; line-height: 1.6; color: var(--gs-muted, #64748b); -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.gs-lr-bd span { display: block; margin-top: 8px; font-size: 12px; color: var(--gs-muted, #64748b); }
.gs-lr-list a { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 20px; align-items: center; padding: 16px 0; border-bottom: 1px solid #f1f4f8; }
.gs-lr-list h2 { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.5; color: var(--gs-ink, #0f172a); }
.gs-lr-list a:hover h2 { color: var(--gs-brand, #2563eb); }
.gs-lr-list p { display: -webkit-box; margin: 4px 0 0; overflow: hidden; font-size: 14px; line-height: 1.7; color: var(--gs-muted, #64748b); -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.gs-lr-m { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; font-size: 13px; color: var(--gs-muted, #64748b); }
.gs-lr-m em { font-style: normal; color: var(--gs-brand, #2563eb); }
.gs-lr-lt { width: 150px; height: 96px; border: 1px solid #eef1f6; border-radius: 12px; }
.gs-lr-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 26px; }
.gs-lr-pager a, .gs-lr-pager span { display: inline-grid; place-items: center; min-width: 36px; height: 36px; padding: 0 10px; border: 1px solid #e5e9f0; border-radius: 10px; font: 14px "GS Num", var(--gs-font, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif); color: var(--gs-ink-2, #334155); }
.gs-lr-pager .is-on { border-color: var(--gs-brand, #2563eb); background: var(--gs-brand, #2563eb); color: #fff; }
.gs-lr-pager .gs-lr-gap { border-color: transparent; }

/* side rail */
.gs-lr-side { display: grid; gap: 14px; align-content: start; align-self: stretch; }
.gs-lr-stk { position: sticky; top: calc(var(--gs-header-h, 80px) + 8px); display: flex; flex-direction: column; gap: 14px; max-height: calc(100vh - var(--gs-header-h, 80px) - 100px); }
.gs-lr-stk > * { flex: none; }
.gs-lr-stk > .gs-rd-toc { flex: 0 1 auto; min-height: 140px; }
.gs-lr-pcard { display: block; padding: 16px; border: 1px solid color-mix(in srgb, var(--gs-brand, #2563eb) 18%, #fff); border-radius: 16px; background: linear-gradient(160deg, color-mix(in srgb, var(--gs-brand, #2563eb) 9%, #fff), #fff); }
.gs-lr-pcard .gs-lr-pv { width: 100%; height: 96px; margin-bottom: 10px; border: 1px solid #eef1f6; border-radius: 10px; }
.gs-lr-pcard-t { margin: 0; font-size: 15px; font-weight: 700; color: var(--gs-ink, #0f172a); }
.gs-lr-pcard-l { margin: 4px 0 10px; font-size: 13px; line-height: 1.6; color: var(--gs-muted, #64748b); }
.gs-lr-btn { display: grid; place-items: center; height: 36px; border-radius: 10px; background: var(--gs-brand, #2563eb); color: #fff; font-size: 14px; font-weight: 600; }
.gs-lr-anl { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; padding: 12px; border: 1px solid #e5e9f0; border-radius: 12px; background: #fff; }
.gs-lr-anl img { width: 84px; height: 84px; }
.gs-lr-anl-t { margin: 0; font-size: 14px; font-weight: 700; color: var(--gs-ink, #0f172a); }
.gs-lr-anl-l { margin: 2px 0 0; font-size: 13px; line-height: 1.6; color: var(--gs-muted, #64748b); }
.gs-lr-mini { padding: 12px 14px; border: 1px solid #edf0f5; border-radius: 12px; }
.gs-lr-mini-h { margin: 0 0 6px; font-size: 14px; font-weight: 700; color: var(--gs-ink, #0f172a); }
.gs-lr-mini a { display: block; padding: 4px 0; font-size: 13px; line-height: 1.5; color: var(--gs-text, #475569); }
.gs-lr-mini a:hover { color: var(--gs-brand, #2563eb); }
.gs-lr-mini em { margin-right: 8px; font: 800 13px "GS Num", var(--gs-font, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif); font-style: normal; color: var(--gs-brand, #2563eb); }

/* article page: back bar, FAQ, 回到学习文章 */
.gs-lr-back { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding-top: 18px; }
.gs-lr-back > a { display: inline-flex; align-items: center; gap: 4px; padding: 5px 14px 5px 10px; border: 1px solid color-mix(in srgb, var(--gs-brand, #2563eb) 25%, #fff); border-radius: 999px; background: #fff; font-size: 14px; font-weight: 600; color: var(--gs-brand, #2563eb); }
.gs-lr-back > a svg { width: 14px; height: 14px; }
.gs-lr-back > span { font-size: 13px; color: var(--gs-muted, #64748b); }
.gs-rd-body .gs-lr-fqa { margin: 0 0 16px; }
.gs-rd-body .gs-lr-fqa details { padding: 14px 4px; border-bottom: 1px solid #eef1f6; }
.gs-rd-body .gs-lr-fqa summary { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; font-weight: 600; color: var(--gs-ink, #0f172a); list-style: none; cursor: pointer; }
.gs-rd-body .gs-lr-fqa summary::-webkit-details-marker { display: none; }
.gs-rd-body .gs-lr-fqa summary::after { content: "+"; font-weight: 400; color: var(--gs-muted, #64748b); }
.gs-rd-body .gs-lr-fqa details[open] summary::after { content: "−"; }
.gs-rd-body .gs-lr-fqa p { margin: 6px 0 0; font-size: 14px; line-height: 1.75; color: var(--gs-muted, #64748b); }
.gs-lr-backall { display: flex; align-items: center; justify-content: center; height: 50px; margin-top: 26px; border: 1.5px solid color-mix(in srgb, var(--gs-brand, #2563eb) 30%, #fff); border-radius: 12px; background: color-mix(in srgb, var(--gs-brand, #2563eb) 4%, #fff); font-size: 15px; font-weight: 700; color: var(--gs-brand, #2563eb); }
.gs-lr a:focus-visible, .gs-lr button:focus-visible, .gs-lr summary:focus-visible { outline: 2px solid var(--gs-brand, #2563eb); outline-offset: 2px; }

@media (max-width: 1400px) { .gs-lr-w { padding: 0 32px 64px; } .gs-lr-in { padding: 36px 32px 28px; } }
@media (max-width: 1300px) { .gs-lr-grid { grid-template-columns: minmax(0, 1fr) 250px; gap: 32px; } .gs-lr-in { grid-template-columns: minmax(0, 1fr) 360px; } }
@media (max-height: 700px) { .gs-lr-in { padding-top: 24px; padding-bottom: 20px; } .gs-lr-tabs { margin-bottom: 14px; } }
@media (max-width: 1024px) {
  .gs-lr-grid { grid-template-columns: minmax(0, 1fr); }
  .gs-lr-stk { position: static; max-height: none; }
  .gs-lr-stk > .gs-rd-toc { display: none; }
  .gs-lr-in { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}
@media (max-width: 640px) {
  .gs-lr-w { padding: 0 16px 48px; }
  .gs-lr-in { padding: 24px 16px 20px; }
  .gs-lr-h1 { font-size: 24px; }
  .gs-lr-feat { grid-template-columns: 1fr; }
  .gs-lr-list a { grid-template-columns: minmax(0, 1fr) 96px; gap: 12px; }
  .gs-lr-lt { width: 96px; height: 64px; }
  .gs-lr-srch-sm { width: 100%; margin-left: 0; }
}

/* pageShell.mjs STATIC_SHELL_CSS */
.gs-hd--static{position:sticky;top:0;z-index:var(--gs-z-header,2000);height:var(--gs-header-h,80px);background:var(--gs-header-bg,rgba(255,255,255,.92));border-bottom:1px solid var(--gs-header-line,rgba(226,232,240,.8));-webkit-backdrop-filter:saturate(180%) blur(12px);backdrop-filter:saturate(180%) blur(12px)}
.gs-hd--static .gs-hd-in{position:relative;display:flex;align-items:center;height:100%;max-width:var(--gs-max,1170px);margin:0 auto;padding:0 24px}
.gs-hd--static a{text-decoration:none}
.gs-hd--static .gs-hd-brand{display:flex;align-items:center;gap:10px;flex:none;color:var(--gs-ink,#0f172a)}
.gs-hd--static .gs-hd-logo{width:44px;height:44px;border-radius:10px;object-fit:cover;flex:none}
.gs-hd--static .gs-hd-names{display:flex;flex-direction:column;justify-content:center;height:44px}
.gs-root .gs-wm{display:inline-flex;align-items:baseline;font-weight:800;letter-spacing:-.01em;color:var(--gs-ink,#0f172a);font-size:20px;line-height:24px;white-space:nowrap}
.gs-root .gs-wm-ai{margin-left:1px;font-size:.58em;color:var(--gs-brand,#2563eb)}
.gs-ft .gs-wm{font-size:20px}
.gs-hd--static .gs-hd-tag{margin-top:2px;font-size:12px;line-height:16px;color:var(--gs-muted,#64748b);white-space:nowrap}
.gs-hd--static .gs-hd-nav{display:flex;align-items:center;height:100%;margin-left:32px;min-width:0}
.gs-hd--static .gs-hd-item{display:inline-flex;align-items:center;gap:4px;height:40px;padding:0 var(--gs-nav-pad,16px);border:0;border-radius:10px;background:none;font:400 var(--gs-nav-size,15px)/1 var(--gs-font,system-ui,sans-serif);color:var(--gs-nav-color,#334155);white-space:nowrap;cursor:pointer}
.gs-hd--static .gs-hd-item:hover,.gs-hd--static .gs-hd-item.is-current{color:var(--gs-brand,#2563eb);font-weight:600}
.gs-hd--static .gs-chev{width:12px;height:12px;color:var(--gs-nav-caret,#94a3b8)}
.gs-hd--static .gs-dd{position:relative;display:flex;align-items:center;height:100%}
.gs-hd--static .gs-dd[hidden],.gs-hd--static [data-gs-folded]{display:none!important}
.gs-hd--static .gs-dd-panel{position:absolute;top:calc(50% + 24px);left:0;z-index:var(--gs-z-popover,3000);width:320px;padding:8px;background:var(--gs-bg,#fff);border:1px solid var(--gs-line,#e2e8f0);border-radius:var(--gs-r,12px);box-shadow:var(--gs-shadow-lg,0 16px 40px -16px rgba(15,23,42,.25));visibility:hidden;opacity:0;transform:translateY(-6px);transition:opacity .2s,transform .2s,visibility .2s}
.gs-hd--static .gs-dd-panel--more{width:auto;min-width:160px}
.gs-hd--static .gs-dd:hover .gs-dd-panel,.gs-hd--static .gs-dd:focus-within .gs-dd-panel{visibility:visible;opacity:1;transform:none}
.gs-hd--static .gs-dd-item{display:flex;align-items:flex-start;gap:12px;padding:10px 12px;border-radius:10px;color:inherit}
.gs-hd--static .gs-dd-item:hover{background:var(--gs-bg-soft,#f8fafc)}
.gs-hd--static .gs-dd-txt{display:flex;flex-direction:column;gap:2px;min-width:0}
.gs-hd--static .gs-dd-t{font-size:14px;line-height:1.4;font-weight:600;color:var(--gs-ink-2,#334155);white-space:nowrap}
.gs-hd--static .gs-dd-d{font-size:12px;line-height:1.5;color:var(--gs-muted,#64748b);text-wrap:balance}
.gs-hd--static .gs-hd-right{display:flex;align-items:center;gap:16px;flex:none;margin-left:auto;padding-left:16px}
.gs-hd--static .gs-btn{display:inline-flex;align-items:center;justify-content:center;height:44px;border-radius:var(--gs-r-sm,10px);font:600 15px/1 var(--gs-font, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif)}
.gs-hd--static .gs-btn--primary{background:var(--gs-brand,#2563eb);color:#fff}
.gs-hd--static .gs-hd-go{width:130px}
@media (max-width:1366px){.gs-hd--static .gs-hd-tag{display:none}}
@media (max-width:768px){.gs-hd--static .gs-hd-in{padding:0 16px}.gs-hd--static .gs-hd-nav{display:none}.gs-hd--static .gs-hd-go{width:auto;padding:0 16px}}
.gs-ft{background:var(--gs-bg-soft,#f8fafc);border-top:1px solid var(--gs-line,#e2e8f0);padding:48px 0 32px}
.gs-ft a{text-decoration:none}
.gs-ft .gs-wrap{max-width:var(--gs-max,1170px);margin:0 auto;padding:0 24px}
.gs-ft-top{display:flex;align-items:center;justify-content:space-between;gap:32px;padding-bottom:32px;border-bottom:1px solid var(--gs-line,#e2e8f0)}
.gs-ft-brand{min-width:0}
.gs-ft-mark{display:inline-flex;align-items:center;gap:12px;color:var(--gs-ink,#0f172a)}
.gs-ft-mark img{width:40px;height:40px;flex:none;border-radius:var(--gs-r-sm,10px)}
.gs-ft-tagline{margin:10px 0 0;font-size:13px;line-height:1.5;color:var(--gs-muted,#64748b)}
.gs-ft-links{margin-top:16px;font-size:14px;line-height:1.8;color: var(--gs-muted, #64748b)}
.gs-ft-links a{color:var(--gs-ink-2,#334155)}
.gs-ft-wx{display:flex;align-items:center;gap:16px;flex:none;padding:16px 24px 16px 16px;white-space:nowrap;background:var(--gs-bg,#fff);border:1px solid var(--gs-line,#e2e8f0);border-radius:var(--gs-r-md,16px)}
.gs-ft-wx img{width:104px;height:104px;padding:6px;background:#fff;border:1px solid var(--gs-line-soft,#eef2f7);border-radius:var(--gs-r-sm,10px)}
.gs-ft-wx div{display:flex;flex-direction:column;gap:6px}
.gs-ft-wx strong{font-size:15px;font-weight:700;color:var(--gs-ink,#0f172a)}
.gs-ft-wx span{font-size:13px;color:var(--gs-muted,#64748b)}
.gs-ft-wx small{font-size:12px;color: var(--gs-muted, #64748b)}
.gs-ft-bottom{padding-top:24px;text-align:center;font-size:12px;line-height:1.8;color:var(--gs-muted,#64748b)}
.gs-ft-bottom p{margin:0;color:inherit}
.gs-ft-bottom p+p{margin-top:4px}
.gs-ft-bottom a{color:inherit}
@media (max-width:768px){.gs-ft-top{flex-direction:column;align-items:flex-start}}

/* ============================================================================
 * Learning-article pages (/guide*): MathType's own additions to the GBMS learning frames
 * (src/vendor/gbms/vue/site/reader/reader.css + learn.css, loaded beside tokens.css).
 * ============================================================================
 * One file for both renderers: GuideIndex.vue / GuideArticle.vue @import it (non-scoped: the markup comes in through
 * v-html), and the publication store concatenates it into its stylesheet (scripts/guide-publish/publisher.mjs), so the
 * static page and the mounted page look the same.
 * 🔴 Only what the kit cannot know: the page spacing under the fixed header, the product's body pieces (formula images,
 * figures, 「在编辑器中打开」), the app's search state and the empty-site state. Nothing here restyles a kit class.
 */

/* page (app): the kit header is fixed, so the page starts below its height token; the store's static header is sticky
   and in the flow, and its page has no .guide-page wrapper */
.guide-page { min-height: 100vh; padding-top: var(--gs-header-h, 80px); background: #fff; }
.guide-learn { display: contents; }
.guide-loading { display: flex; align-items: center; justify-content: center; min-height: 60vh; color: var(--gs-muted, #64748b); }

/* ── body pieces from guideMarkdown.ts ── */
/* lists keep their markers: the app's global reset (Tailwind preflight) sets list-style: none on every ol / ul */
.guide-body ol { list-style: decimal; }
.guide-body ul { list-style: disc; }
/* formula images (scripts/gen-article-formulas.mjs): the size is on <img width height>; never set a height here */
.guide-body img.guide-formula--inline { display: inline; margin: 0 1px; border: 0; border-radius: 0; vertical-align: -0.25em; }
.guide-body p:has(> img.guide-formula--block:only-child),
.guide-body p:has(> .guide-fx--img:only-child) { margin: 20px 0; text-align: center; }
.guide-body img.guide-formula--block { display: inline-block; margin: 0; border: 0; border-radius: 0; transform: scale(1.4); transform-origin: center; }
/* figures: width/height attributes are the real pixels; width 100% + height auto keeps the reserved ratio (no CLS) */
.guide-body img.guide-figure { width: 100%; height: auto; margin: 20px auto; border: 1px solid var(--gs-line, #e2e8f0); border-radius: 10px; }
.guide-body a.guide-figure-link { display: block; }
/* 「在编辑器中打开」 under example formulas: block code → a small button below on the right; formula image → below it */
.guide-body .guide-fx { margin: 0 0 16px; }
/* the code block is the wrapper's first child (pre, or the reader's own code frame around it): kit classes are never named here */
.guide-body .guide-fx > :first-child, .guide-body .guide-fx pre { margin: 0; }
.guide-body .guide-fx-bar { display: flex; justify-content: flex-end; margin-top: 6px; }
.guide-body .guide-fx .guide-fx-open {
  display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 10px;
  border: 1px solid #dbe3f0; border-radius: 6px; background: #fff; color: var(--gs-brand, #2563eb);
  font-size: 12.5px; font-weight: 500; line-height: 1; text-decoration: none; white-space: nowrap;
  transition: background-color 0.2s, border-color 0.2s;
}
.guide-body .guide-fx .guide-fx-open:hover { background: var(--gs-brand-soft, #eff6ff); border-color: var(--gs-brand-ring, #bfdbfe); text-decoration: none; }
.guide-body .guide-fx .guide-fx-open svg { flex-shrink: 0; vertical-align: -2px; }
.guide-body .guide-fx--img { display: inline-flex; flex-direction: column; align-items: center; gap: 14px; margin: 0; }
@media (max-width: 768px) {
  /* phones: one line, a 40 px touch target */
  .guide-body .guide-fx .guide-fx-open { height: auto; min-height: 40px; padding: 0 14px; }
}

/* ── the app's local search state (GuideIndex.vue) ── */
.guide-search-head { margin: 0 0 6px; font-size: 15px; font-weight: 700; color: var(--gs-ink, #0f172a); }
.gs-lr .guide-empty { margin: 14px 0 0; font-size: 14px; line-height: 1.8; color: var(--gs-muted, #64748b); }
.gs-lr .guide-empty a { color: var(--gs-brand, #2563eb); }
.guide-empty-link { padding: 0; border: 0; background: none; color: var(--gs-brand, #2563eb); font: inherit; cursor: pointer; }
.guide-empty-link:hover { text-decoration: underline; }

/* ── a site without articles: the column head + one note + two exits ── */
.guide-learn-empty .guide-empty { padding: 32px 0 64px; }
.guide-empty-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.gs-lr .guide-empty-btn {
  display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border: 1px solid #e2e8f0; border-radius: 8px;
  color: var(--gs-text, #475569); font-size: 14px;
}
.gs-lr .guide-empty-btn.is-primary { border-color: var(--gs-brand, #2563eb); background: var(--gs-brand, #2563eb); color: #fff; }

/* Store-only base for published guide pages (pre-mount and no-JS view). The publisher serves ONE content-hashed sheet,
   never deleted (every generation keeps resolving its own): the kit tokens.css, MathType's brand colour
   (src/styles/site-kit-theme.css), the kit reader.css + learn.css, the static header / footer CSS (pageShell.mjs
   STATIC_SHELL_CSS), src/styles/guide-learn.css, then this file. Only what the app's global styles give the mounted page. */
*,*::before,*::after{box-sizing:border-box}
body{margin:0;background:#fff;color:var(--gs-ink,#0f172a);font-family:var(--gs-font,-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif);line-height:1.5}
img{max-width:100%}
