/*
  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: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;

  --gs-ink: #0f172a;
  --gs-ink-2: #334155;
  --gs-text: #475569;
  --gs-muted: #64748b;
  --gs-faint: #94a3b8;
  --gs-note: #b7bfcc;
  --gs-note-faint: #c0c7d2;
  --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(0, 0, 0, 0.05);
  --gs-nav-size: 15px;
  --gs-nav-pad: 16px;
  --gs-nav-color: #334155;
  --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: 24px;
  --gs-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --gs-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.06);
  --gs-shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.06);
  --gs-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);

  --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); 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); 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; }
}

/* Store-owned stylesheet for published guide pages (from MathType scripts/guide-publish/guide.css; SPSSAI pages are
   static, so this is the whole page style; footer and banner layout added for SPSSAI). Content-hashed by the
   publisher and never deleted, so pages from any generation keep resolving it across app releases. */
*{box-sizing:border-box}
body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:#1f2937;background:#f6f8fb;line-height:1.75}
a{color:#2563eb;text-decoration:none}a:hover{text-decoration:underline}
.gp-header{display:flex;align-items:center;justify-content:space-between;max-width:1200px;margin:0 auto;padding:14px 20px}
.gp-brand{font-weight:700;font-size:20px;color:#111827}.gp-nav a{margin-left:20px;color:#374151}
.guide-layout{max-width:880px;margin:0 auto;padding:12px 16px 48px}
.guide-container{background:#fff;border-radius:12px;padding:28px 32px;box-shadow:0 1px 3px rgba(15,23,42,.06)}
.guide-crumbs ol{display:flex;gap:8px;list-style:none;padding:0;margin:0 0 8px;font-size:13px;color:#6b7280}
.guide-crumbs li+li:before{content:"/";margin-right:8px;color:#cbd5e1}
.guide-title{font-size:28px;line-height:1.35;margin:4px 0 6px}.guide-updated{color:#6b7280;font-size:13px;margin:0 0 16px}
.guide-body img{max-width:100%;height:auto}.guide-body pre{background:#f3f4f6;padding:12px 14px;border-radius:8px;overflow:auto}
.guide-body code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.92em}
.guide-formula--inline{vertical-align:middle}.guide-fx-bar{text-align:right;margin-top:-6px}
.guide-banner,.guide-cta,.guide-cta-mid{display:flex;flex-wrap:wrap;align-items:center;gap:12px;justify-content:space-between;background:#eef4ff;border-radius:10px;padding:14px 16px;margin:16px 0}
.guide-banner-demo{display:none}.guide-cta-mid-shot img{max-width:100%;height:auto;border-radius:8px}
.guide-banner-title,.guide-cta-title,.guide-cta-mid-title{font-weight:600;margin:0}.guide-banner-sub,.guide-cta-sub,.guide-cta-mid-sub{margin:0;color:#4b5563;font-size:14px}
.guide-cta-btn,.guide-cta-mid-btn{display:inline-flex;align-items:center;gap:6px;background:#2563eb;color:#fff;border-radius:8px;padding:8px 14px}
.guide-banner-vip{display:inline-flex;align-items:center;gap:4px;margin-left:10px;color:#1a62f2}.guide-banner-vip-icon{width:16px;height:16px}
.guide-faq dt{font-weight:600;margin-top:12px}.guide-faq dd{margin:4px 0 0}
.guide-related ul,.guide-cat ul{padding-left:18px}.guide-cat p{margin:2px 0 10px;color:#6b7280;font-size:14px}
@media (max-width:640px){.guide-container{padding:20px 16px}.guide-title{font-size:22px}.gp-nav a{margin-left:12px}}
/* Body typography with enough specificity to survive the app's global reset, which the loader adds before mount. */
.guide-container .guide-body h2{font-size:22px;line-height:1.4;font-weight:700;margin:28px 0 12px;padding-bottom:6px;border-bottom:1px solid #e5e7eb}
.guide-container .guide-body h3{font-size:18px;line-height:1.45;font-weight:600;margin:22px 0 10px}
.guide-container .guide-body p{margin:0 0 12px}
.guide-container .guide-body ol,.guide-container .guide-body ul{margin:0 0 12px;padding-left:1.6em;list-style:revert}
.guide-container .guide-body li{margin:4px 0}
.guide-container .guide-body table{border-collapse:collapse;margin:0 0 14px}
.guide-container .guide-body th,.guide-container .guide-body td{border:1px solid #e5e7eb;padding:6px 10px}
.guide-container .guide-body blockquote{margin:0 0 12px;padding:8px 14px;border-left:3px solid #c7d2fe;background:#f8fafc}
.guide-container .guide-related h2,.guide-container .guide-faq h2{font-size:20px;font-weight:700;margin:28px 0 10px}
.guide-container .guide-related ul{list-style:revert}
/* SPSSAI: brand non-affiliation footer and the banner without the formula demo */
.gp-footer{max-width:880px;margin:0 auto;padding:8px 16px 32px;color:#6b7280;font-size:13px}.gp-footer p{margin:4px 0}.gp-footer a{color:#6b7280}
.guide-banner-actions{display:flex;align-items:center;gap:6px}
.guide-empty-actions{display:flex;gap:12px}.guide-tab{display:inline-block;padding:6px 14px;border:1px solid #d1d5db;border-radius:8px;color:#374151}.guide-tab.active{background:#2563eb;border-color:#2563eb;color:#fff}
