/* Visual baseline: the existing mainland DataFocus website, November 2026.
   Original brand: #5d1980 / #383b41, 1320px max container, 6px button radius. */
:root {
  font-family: Helvetica, Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
  color: #383b41;
  background: #fff;
  font-synthesis: none;
  line-height: 1.7;
  --purple: #5d1980;
  --purple-hover: #8324b3;
  --ink: #383b41;
  --muted: #676a6e;
  --line: #e8e9ec;
  --soft: #f4f5f7;
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 120px;
}
body {
  margin: 0;
  font-size: 16px;
}
::selection {
  background: #5d1980;
  color: #fff;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}
button,
summary {
  cursor: pointer;
}
button {
  border: 0;
}
button:disabled {
  opacity: 0.6;
  cursor: default;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #a25ac5;
  outline-offset: 4px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  overflow-wrap: anywhere;
  font-weight: 600;
  line-height: 1.35;
}
h1 {
  font-size: 44px;
}
h2 {
  font-size: 32px;
}
h3 {
  font-size: 22px;
}
p {
  line-height: 1.85;
}
ul,
ol {
  padding-left: 22px;
}
.section-max-width {
  max-width: 1320px;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}
.section-space {
  padding-top: 88px;
  padding-bottom: 88px;
}
.section-muted {
  background: var(--soft);
}
.muted {
  color: var(--muted);
}
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--purple);
  margin-bottom: 16px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 200;
  padding: 10px 18px;
  background: #fff;
  color: var(--purple);
  box-shadow: 0 2px 12px #383b4133;
}
.skip-link:focus {
  top: 10px;
}
main {
  min-height: 50vh;
}
main:focus {
  outline: none;
}
.nav-wrapper {
  position: relative;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid #f1f1f3;
}
.nav {
  display: flex;
  align-items: center;
  min-height: 76px;
  gap: 42px;
}
.nav-home-link {
  flex-shrink: 0;
  width: 165px;
}
.nav-logo {
  width: 165px;
  height: 32px;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  flex: 1;
}
.nav-link {
  font-size: 15px;
  white-space: nowrap;
  color: var(--ink);
  padding: 24px 0;
}
.nav-link:hover {
  color: var(--purple);
}
.nav-account {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-left: auto;
}
.nav-account form {
  margin: 0;
}
.nav-menu {
  position: relative;
}
.nav-menu summary {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.nav-menu summary::-webkit-details-marker,
.mobile-menu summary::-webkit-details-marker {
  display: none;
}
.chevron {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
}
header.nav-wrapper .nav-dropdown {
  position: absolute;
  top: 100%;
  left: -24px;
  background: #fff;
  padding: 12px 0;
  min-width: 180px;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 12px 24px #383b4110;
}
header.nav-wrapper .nav-dropdown a {
  display: block;
  padding: 10px 24px;
  font-size: 15px;
}
header.nav-wrapper .nav-dropdown a:hover {
  color: var(--purple);
  background: #f8f4fa;
}
.mobile-menu {
  display: none;
}
.resource-nav {
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.resource-nav > div {
  display: flex;
  gap: 32px;
  min-height: 48px;
  align-items: stretch;
}
.resource-nav a {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: var(--muted);
  border-bottom: 2px solid transparent;
}
.resource-nav a:hover,
.resource-nav a[aria-current] {
  color: var(--purple);
}
.resource-nav a[aria-current] {
  border-color: var(--purple);
  font-weight: 600;
}
.demo-banner {
  text-align: center;
  font-size: 12px;
  line-height: 1.7;
  padding: 9px 20px;
  background: #fff8e8;
  color: #78612d;
  border-bottom: 1px solid #f0e4c9;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 10px 32px;
  border-radius: 6px;
  font-size: 16px;
  line-height: 24px;
  white-space: nowrap;
  font-weight: 400;
  text-decoration: none;
  border: 1px solid transparent;
  transition:
    background-color 0.15s,
    border-color 0.15s,
    color 0.15s;
}
.button-primary {
  background: var(--purple);
  color: #fff;
}
.button-primary:hover {
  background: var(--purple-hover);
}
.button-outline {
  background: transparent;
  color: var(--purple);
  border-color: var(--purple);
}
.button-outline:hover {
  background: #f8f2fb;
}
.button-small {
  font-size: 14px;
  padding: 6px 22px;
  min-height: 36px;
}
.button-full {
  width: 100%;
}
.text-link {
  color: var(--purple);
  font-size: 15px;
}
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.text-link span {
  margin-left: 9px;
}
.badge {
  display: inline-block;
  font-size: 12px;
  line-height: 1.7;
  padding: 3px 9px;
  border-radius: 4px;
  background: #f4eef8;
  color: var(--purple);
  font-weight: 400;
}
.badge-warn {
  background: #fff4dc;
  color: #85621d;
}
.badge-success {
  background: #edf6ef;
  color: #377849;
}
.badge-muted {
  background: #eceef0;
  color: #676a6e;
}
.notice {
  padding: 14px 20px;
  border: 1px solid #ddd0e6;
  background: #f8f4fa;
  border-radius: 6px;
  color: #5d1980;
  margin-top: 24px;
  margin-bottom: 24px;
  font-size: 14px;
}
.notice-error {
  border-color: #f0c9c9;
  color: #a53535;
  background: #fff6f6;
}
.home-hero {
  background: #fff;
  min-height: 570px;
  display: flex;
  align-items: center;
  text-align: center;
  overflow: hidden;
}
.hero-inner {
  padding-top: 64px;
  padding-bottom: 64px;
}
.hero-wordmark {
  width: 440px;
  max-width: 75%;
  height: auto;
  margin: 0 auto 32px;
}
.home-hero h1 {
  font-size: 46px;
  line-height: 1.4;
  letter-spacing: 1px;
}
.home-hero p {
  margin-top: 20px;
  color: #5f526b;
  font-size: 20px;
}
.hero-actions {
  margin-top: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
}
.hero-secondary {
  font-size: 15px;
  color: var(--purple);
}
.hero-secondary:hover {
  text-decoration: underline;
}
.hero-secondary span {
  margin-left: 8px;
}
.section-heading {
  text-align: center;
  margin-bottom: 48px;
}
.section-heading h2 {
  font-size: 40px;
}
.section-heading > p:last-child,
.section-heading > div > p:last-child {
  margin-top: 18px;
  color: var(--muted);
  font-size: 17px;
}
.section-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  text-align: left;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.feature-card {
  display: block;
  text-align: center;
  padding: 32px 24px 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.feature-card:hover {
  border-color: #c9aed8;
  box-shadow: 0 8px 28px #5d19800a;
}
.feature-card h3 {
  font-size: 23px;
  margin-bottom: 16px;
}
.feature-card p {
  font-size: 15px;
  color: var(--muted);
  min-height: 58px;
}
.feature-card .text-link {
  display: inline-block;
  margin-top: 24px;
}
.feature-icon {
  display: block;
  width: 52px;
  height: 52px;
  margin: 0 auto 28px;
  position: relative;
  color: var(--purple);
}
.icon-search:before {
  content: "";
  position: absolute;
  top: 5px;
  left: 6px;
  width: 27px;
  height: 27px;
  border: 3px solid currentColor;
  border-radius: 50%;
}
.icon-search:after {
  content: "";
  position: absolute;
  top: 34px;
  left: 32px;
  width: 22px;
  height: 3px;
  background: currentColor;
  transform: rotate(45deg);
}
.icon-document {
  border: 2px solid currentColor;
  border-radius: 3px;
  width: 38px;
  height: 48px;
}
.icon-document:before {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: 13px;
  height: 2px;
  background: currentColor;
  box-shadow:
    0 8px currentColor,
    0 16px currentColor;
}
.icon-chat {
  border: 2px solid currentColor;
  border-radius: 7px;
  height: 39px;
  top: 3px;
  margin-bottom: 37px;
}
.icon-chat:before {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 10px;
  width: 12px;
  height: 12px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: skewY(-35deg);
  background: #fff;
}
.icon-chat:after {
  content: "···";
  position: absolute;
  font-size: 32px;
  line-height: 24px;
  letter-spacing: 3px;
  left: 10px;
  top: 0;
}
.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.article-card {
  border-radius: 6px;
  background: #fff;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
}
.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: #6d7076;
  font-size: 13px;
  line-height: 1.8;
}
.article-meta > span:first-child {
  color: var(--purple);
}
.article-card h3 {
  font-size: 22px;
  margin-top: 18px;
  margin-bottom: 16px;
  line-height: 1.6;
}
.article-card h3 a:hover {
  color: var(--purple);
}
.article-card > p {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 28px;
}
.article-card > .text-link {
  margin-top: auto;
}
.community-preview {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.community-preview h2 {
  font-size: 36px;
}
.community-preview > div > p:not(.eyebrow) {
  color: var(--muted);
  margin-top: 20px;
}
.community-preview .button {
  margin-top: 30px;
}
.preview-thread {
  display: block;
  position: relative;
  border-bottom: 1px solid var(--line);
  padding: 22px 38px 22px 0;
}
.preview-thread:first-child {
  padding-top: 0;
}
.preview-thread h3 {
  font-size: 19px;
  font-weight: 500;
  line-height: 1.6;
  margin: 12px 0 6px;
}
.preview-thread:hover h3 {
  color: var(--purple);
}
.preview-thread > .muted {
  font-size: 13px;
}
.thread-arrow {
  position: absolute;
  right: 0;
  top: 50%;
  color: var(--purple);
  font-size: 24px;
}
.page-hero {
  background: #f7f5fa;
  padding: 64px 0;
}
.page-hero h1 {
  margin-bottom: 20px;
}
.page-hero p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
}
.page-hero-compact {
  padding: 42px 0;
}
.hero-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}
.content-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 64px;
}
.side-panel h2 {
  font-size: 18px;
  margin-bottom: 20px;
}
.side-panel > a {
  display: flex;
  justify-content: space-between;
  padding: 14px 16px;
  margin: 0 -16px 4px;
  border-radius: 6px;
  font-size: 15px;
}
.side-panel > a:hover,
.side-panel > a[aria-current] {
  color: var(--purple);
  background: #f5eff8;
}
.side-panel > a[aria-current] {
  font-weight: 600;
}
.side-panel > p {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.side-panel > p a {
  font-size: 13px;
}
.search-form {
  display: flex;
  gap: 12px;
  align-items: stretch;
  margin-bottom: 22px;
}
.search-form > input {
  min-width: 0;
  flex: 1;
}
.results-label {
  font-size: 14px;
  color: var(--muted);
  margin: 18px 0;
}
.article-row {
  border-bottom: 1px solid var(--line);
  padding: 30px 0;
}
.article-row:first-child {
  padding-top: 20px;
}
.article-row h2 {
  font-size: 25px;
  line-height: 1.6;
  margin: 14px 0 12px;
}
.article-row h2 a:hover {
  color: var(--purple);
}
.article-row p {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 18px;
}
.empty-state {
  padding: 56px 24px;
  text-align: center;
  border: 1px dashed #dcd3e2;
  border-radius: 8px;
  background: #fff;
}
.empty-state h2,
.empty-state h3 {
  font-size: 22px;
  margin-bottom: 14px;
}
.empty-state p {
  color: var(--muted);
  font-size: 15px;
  max-width: 470px;
  margin: 0 auto 22px;
}
.empty-wide {
  grid-column: 1/-1;
}
.empty-symbol {
  display: block;
  color: #a78bb7;
  font-size: 40px;
  margin-bottom: 18px;
  line-height: 1.2;
}
.article-shell {
  max-width: 900px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #6d7076;
  font-size: 13px;
  margin-bottom: 38px;
  flex-wrap: wrap;
}
.breadcrumb a:hover {
  color: var(--purple);
}
.article-header {
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 38px;
}
.article-header h1 {
  font-size: 40px;
  line-height: 1.5;
  margin: 22px 0;
}
.article-lead {
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 24px;
}
.prose {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: normal;
  font-size: 17px;
  line-height: 2;
  tab-size: 4;
}
.article-end {
  border-top: 1px solid var(--line);
  margin-top: 64px;
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.article-end p {
  color: var(--muted);
  font-size: 15px;
}
.community-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 48px;
}
.thread-row {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.reply-count {
  width: 54px;
  flex-shrink: 0;
  text-align: center;
  border: 1px solid #e9e0ee;
  border-radius: 6px;
  padding: 8px 2px;
  color: var(--purple);
}
.reply-count strong {
  display: block;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
}
.reply-count span {
  font-size: 12px;
}
.thread-info {
  min-width: 0;
  flex: 1;
}
.thread-row h2 {
  font-size: 20px;
  line-height: 1.6;
  margin: 8px 0 12px;
  overflow-wrap: anywhere;
}
.thread-row h2 a:hover {
  color: var(--purple);
}
.thread-meta {
  font-size: 13px;
  color: #6d7076;
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  align-items: center;
}
.thread-open {
  color: var(--purple);
  font-size: 24px;
  padding: 8px;
}
.info-panel {
  background: #f6f2f8;
  padding: 26px;
  border-radius: 6px;
  margin-bottom: 24px;
}
.info-panel h2 {
  font-size: 18px;
  margin-bottom: 18px;
}
.info-panel p,
.info-panel li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}
.info-panel p + p {
  margin-top: 16px;
}
.info-panel ol {
  margin: 0 0 24px;
  padding-left: 18px;
}
.info-panel li + li {
  margin-top: 10px;
}
.info-panel .text-link {
  font-size: 14px;
  display: inline-block;
  margin-top: 12px;
}
.info-panel.light {
  background: var(--soft);
}
.discussion-shell {
  max-width: 980px;
}
.question-detail h1 {
  font-size: 32px;
  line-height: 1.6;
  margin: 20px 0;
}
.question-detail .prose {
  margin-top: 32px;
}
.source-note {
  font-size: 12px;
  color: var(--muted);
  background: var(--soft);
  padding: 12px 16px;
  border-radius: 4px;
  margin-top: 32px;
}
.answers {
  margin-top: 56px;
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
.answers > h2,
.reply-section > h2 {
  font-size: 23px;
  margin-bottom: 24px;
}
.answer {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.answer > header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  margin-bottom: 16px;
}
.answer time {
  font-size: 12px;
  color: var(--muted);
}
.answer .prose {
  font-size: 16px;
}
.reply-empty {
  padding: 24px 0;
  color: var(--muted);
  font-size: 15px;
}
.reply-section {
  margin-top: 48px;
}
.reply-section .stack-form {
  max-width: none;
}
.login-prompt {
  padding: 28px;
  background: var(--soft);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.login-prompt p {
  color: var(--muted);
  font-size: 15px;
}
input,
textarea,
select {
  background: #fff;
  border: 1px solid #d9dbe0;
  border-radius: 5px;
  color: var(--ink);
  padding: 11px 14px;
  min-height: 46px;
  line-height: 1.5;
  width: 100%;
  transition: border-color 0.15s;
}
input::placeholder,
textarea::placeholder {
  color: #6d7076;
  opacity: 1;
}
textarea {
  resize: vertical;
  min-height: 100px;
}
input:hover,
textarea:hover,
select:hover {
  border-color: #bda5ca;
}
input:focus,
textarea:focus,
select:focus {
  border-color: var(--purple);
}
.stack-form {
  display: flex;
  flex-direction: column;
}
.stack-form > label,
.editor-main > label,
.editor-settings > label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 9px;
}
.stack-form > input + label,
.stack-form > textarea + label,
.stack-form > select + label,
.editor-main > input + label,
.editor-main > textarea + label,
.editor-settings > select + label,
.editor-settings > input + label {
  margin-top: 25px;
}
.stack-form > .button {
  align-self: flex-start;
  margin-top: 28px;
}
.required,
.optional {
  font-size: 12px;
  font-weight: 400;
  color: #6d7076;
  margin-left: 8px;
}
.required {
  color: #8d6c9f;
}
.field-hint {
  color: #6d7076;
  font-size: 12px;
  line-height: 1.8;
  margin-top: 10px;
}
.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 40px;
  align-items: start;
  max-width: 1100px;
}
.form-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px;
  background: #fff;
}
.form-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 28px;
}
.login-page {
  display: grid;
  grid-template-columns: 1fr 430px;
  align-items: center;
  gap: 80px;
  padding-top: 90px;
  padding-bottom: 100px;
  max-width: 1120px;
}
.login-intro h1 {
  font-size: 42px;
  line-height: 1.55;
}
.login-intro > p:not(.eyebrow) {
  max-width: 420px;
  margin: 24px 0 32px;
  font-size: 16px;
  color: var(--muted);
}
.login-card {
  border: 1px solid var(--line);
  box-shadow: 0 12px 36px #383b4106;
  border-radius: 8px;
  padding: 36px;
}
.login-card h2 {
  font-size: 28px;
}
.login-card > .muted {
  font-size: 14px;
  margin: 12px 0 28px;
}
.login-card .stack-form > .button {
  align-self: stretch;
}
.login-help {
  font-size: 12px;
  color: #6d7076;
  margin-top: 22px;
  line-height: 1.8;
}
.admin-section + .admin-section {
  margin-top: 64px;
}
.admin-section-heading {
  margin-bottom: 24px;
}
.admin-section-heading h2 {
  font-size: 24px;
}
.admin-section-heading > .muted {
  font-size: 13px;
}
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.admin-table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  min-width: 720px;
  font-size: 14px;
}
.admin-table th,
.admin-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.admin-table thead {
  background: var(--soft);
}
.admin-table thead th {
  font-weight: 500;
  color: var(--muted);
  font-size: 13px;
}
.admin-table tbody th {
  font-weight: 500;
  max-width: 430px;
  overflow-wrap: anywhere;
}
.admin-table tbody th > a:hover {
  color: var(--purple);
}
.admin-table tbody tr:last-child > th,
.admin-table tbody tr:last-child > td {
  border-bottom: 0;
}
.table-secondary {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
  font-weight: 400;
}
.table-action {
  margin-left: 16px;
}
.inline-form {
  display: flex;
  gap: 8px;
  align-items: center;
}
.inline-form select {
  font-size: 13px;
  min-height: 36px;
  padding: 7px 10px;
  min-width: 108px;
}
.editor-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 32px;
  align-items: start;
}
.editor-main,
.editor-settings {
  display: flex;
  flex-direction: column;
}
.editor-settings h2 {
  font-size: 22px;
  margin-bottom: 28px;
}
.editor-settings .field-hint + label {
  margin-top: 24px;
}
.editor-settings .button-primary {
  margin-top: 30px;
}
.editor-settings > .button + .button {
  margin-top: 12px;
}
.editor-main textarea[name="body"] {
  min-height: 480px;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.9;
}
.error-page {
  padding-top: 90px;
  padding-bottom: 110px;
  text-align: center;
  min-height: 500px;
}
.error-page h1 {
  font-size: 34px;
  margin-bottom: 24px;
}
.error-page > p:not(.eyebrow) {
  font-size: 16px;
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto;
}
.error-page .form-actions {
  justify-content: center;
  margin-top: 34px;
}
.error-symbol {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 64px;
  height: 64px;
  border: 2px solid #cfb9db;
  color: #9667b0;
  border-radius: 50%;
  font-size: 36px;
  font-weight: 300;
  margin: 24px auto 32px;
}
.site-footer {
  background: #f4f5f7;
  border-top: 1px solid #e8e9ec;
  padding: 54px 0 0;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 42px;
}
.footer-brand > p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 22px;
}
.footer-main h2 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 22px;
}
.footer-main > div > a:not(:first-child),
.footer-main > div:not(.footer-brand) > a {
  display: block;
  font-size: 13px;
  color: #6d7076;
  margin-bottom: 12px;
}
.footer-main > div > a:hover {
  color: var(--purple);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #dfe1e5;
  padding-top: 20px;
  padding-bottom: 20px;
  color: #6d7076;
  font-size: 12px;
}
@media (max-width: 1440px) {
  .section-max-width {
    width: 86%;
  }
  .nav {
    gap: 36px;
  }
  .desktop-nav {
    gap: 26px;
  }
  .nav-home-link,
  .nav-logo {
    width: 140px;
  }
  .nav-logo {
    height: auto;
  }
  .nav {
    min-height: 68px;
  }
  .home-hero {
    min-height: 550px;
  }
}
@media (max-width: 1100px) {
  .nav {
    gap: 26px;
  }
  .desktop-nav {
    gap: 20px;
  }
  .nav-link {
    font-size: 14px;
  }
  .nav-account {
    gap: 14px;
  }
  .nav-account .button-small {
    padding-left: 18px;
    padding-right: 18px;
  }
  .nav-account > .nav-link {
    display: none;
  }
  .section-space {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .content-layout {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 36px;
  }
  .community-layout {
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 30px;
  }
  .community-preview {
    gap: 48px;
  }
  .login-page {
    gap: 48px;
    grid-template-columns: 1fr 400px;
  }
  .login-intro h1 {
    font-size: 36px;
  }
  .form-layout {
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 24px;
  }
  .editor-grid {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 24px;
  }
  .form-card {
    padding: 26px;
  }
}
@media (max-width: 900px) {
  .section-max-width {
    width: 92%;
  }
  .desktop-nav {
    display: none;
  }
  .nav {
    min-height: 66px;
    gap: 24px;
  }
  .nav-home-link,
  .nav-logo {
    width: 128px;
  }
  .nav-account {
    margin-left: auto;
  }
  .mobile-menu {
    display: block;
    margin-left: 0;
  }
  .mobile-menu > summary {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 14px;
    list-style: none;
    padding: 15px 0;
  }
  .mobile-dropdown {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 0 0 6px 6px;
    box-shadow: 0 12px 24px #383b4110;
    padding: 12px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 24px;
  }
  .mobile-dropdown a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
  }
  .resource-nav > div {
    gap: 28px;
    min-height: 46px;
  }
  .home-hero {
    min-height: 500px;
  }
  .home-hero h1 {
    font-size: 40px;
  }
  .hero-wordmark {
    width: 360px;
  }
  .hero-inner {
    padding: 56px 0;
  }
  .section-heading h2 {
    font-size: 34px;
  }
  .feature-grid {
    gap: 18px;
  }
  .feature-card {
    padding: 28px 18px;
  }
  .feature-card h3 {
    font-size: 20px;
  }
  .content-grid {
    gap: 18px;
  }
  .article-card {
    padding: 24px 20px;
  }
  .article-card h3 {
    font-size: 20px;
  }
  .community-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .community-aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .community-preview {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .community-preview h2 {
    font-size: 30px;
  }
  .footer-main {
    gap: 28px;
  }
  .login-page {
    grid-template-columns: 1fr 380px;
    gap: 36px;
  }
  .login-intro h1 {
    font-size: 30px;
  }
  .form-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .form-layout > .info-panel {
    max-width: none;
  }
  .editor-grid {
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 20px;
  }
  .editor-settings {
    padding: 22px;
  }
  .admin-section-heading {
    align-items: start;
    flex-direction: column;
    gap: 10px;
  }
}
@media (max-width: 650px) {
  body {
    font-size: 15px;
  }
  .section-max-width {
    width: 90%;
  }
  .section-space {
    padding-top: 48px;
    padding-bottom: 48px;
  }
  h1 {
    font-size: 30px;
  }
  h2 {
    font-size: 26px;
  }
  .nav {
    gap: 18px;
  }
  .nav-account .button {
    font-size: 12px;
    min-height: 32px;
    padding: 3px 12px;
  }
  .nav-home-link,
  .nav-logo {
    width: 120px;
  }
  .mobile-menu > summary {
    font-size: 13px;
  }
  .resource-nav > div {
    justify-content: space-between;
    gap: 16px;
  }
  .resource-nav a {
    font-size: 13px;
  }
  .demo-banner {
    font-size: 11px;
    padding: 8px 18px;
  }
  .home-hero {
    min-height: 425px;
  }
  .hero-wordmark {
    width: 300px;
    margin-bottom: 26px;
  }
  .hero-inner {
    padding-top: 48px;
    padding-bottom: 48px;
  }
  .home-hero h1 {
    font-size: 30px;
    letter-spacing: 0;
  }
  .home-hero p {
    font-size: 16px;
    margin-top: 16px;
  }
  .hero-actions {
    margin-top: 28px;
    gap: 20px;
    flex-wrap: wrap;
  }
  .hero-actions .button {
    padding: 9px 24px;
  }
  .hero-secondary {
    font-size: 14px;
  }
  .eyebrow {
    font-size: 11px;
    letter-spacing: 1.6px;
    margin-bottom: 13px;
  }
  .section-heading {
    margin-bottom: 30px;
  }
  .section-heading h2 {
    font-size: 28px;
    line-height: 1.5;
  }
  .section-heading > p:last-child,
  .section-heading > div > p:last-child {
    font-size: 15px;
    margin-top: 14px;
  }
  .feature-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }
  .feature-card {
    text-align: left;
    padding: 26px;
    display: grid;
    grid-template-columns: 48px 1fr;
    column-gap: 20px;
  }
  .feature-icon {
    grid-row: 1/4;
    transform: scale(0.8);
    transform-origin: top center;
    margin-top: 4px;
    margin-bottom: 0;
  }
  .feature-card h3 {
    font-size: 20px;
  }
  .feature-card p {
    min-height: 0;
    font-size: 14px;
  }
  .feature-card .text-link {
    margin-top: 16px;
    font-size: 14px;
  }
  .section-heading-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
  .article-card {
    padding: 26px;
  }
  .article-card h3 {
    font-size: 21px;
  }
  .article-card p {
    margin-bottom: 22px;
    font-size: 14px;
  }
  .community-preview {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .community-preview h2 {
    font-size: 28px;
  }
  .community-preview > div > p:not(.eyebrow) {
    font-size: 15px;
    margin-top: 14px;
  }
  .community-preview .button {
    margin-top: 24px;
  }
  .preview-thread:first-child {
    padding-top: 8px;
  }
  .preview-thread h3 {
    font-size: 18px;
  }
  .page-hero {
    padding: 38px 0;
  }
  .page-hero h1 {
    font-size: 32px;
    margin-bottom: 16px;
  }
  .page-hero p:not(.eyebrow) {
    font-size: 15px;
  }
  .page-hero-compact {
    padding: 30px 0;
  }
  .hero-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }
  .hero-row .button {
    padding: 8px 22px;
    font-size: 14px;
  }
  .content-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .side-panel {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    border-bottom: 1px solid var(--line);
    padding-bottom: 20px;
  }
  .side-panel h2,
  .side-panel > p {
    display: none;
  }
  .side-panel > a {
    margin: 0;
    padding: 8px 12px;
    font-size: 13px;
    gap: 20px;
  }
  .side-panel > a > span {
    display: none;
  }
  .search-form {
    gap: 8px;
  }
  .search-form > input {
    font-size: 14px;
    padding: 10px 12px;
  }
  .search-form .button {
    padding: 10px 20px;
    font-size: 14px;
  }
  .article-row h2 {
    font-size: 22px;
    margin: 12px 0;
  }
  .article-row p {
    font-size: 14px;
  }
  .article-row {
    padding: 26px 0;
  }
  .empty-state {
    padding: 38px 20px;
  }
  .empty-state h2,
  .empty-state h3 {
    font-size: 20px;
  }
  .empty-state p {
    font-size: 14px;
  }
  .breadcrumb {
    margin-bottom: 28px;
    gap: 10px;
    font-size: 12px;
  }
  .article-header h1 {
    font-size: 30px;
    line-height: 1.55;
    margin: 18px 0;
  }
  .article-lead {
    font-size: 16px;
  }
  .article-header {
    margin-bottom: 28px;
    padding-bottom: 24px;
  }
  .prose {
    font-size: 16px;
    line-height: 1.95;
  }
  .article-end {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 40px;
    padding-top: 28px;
    gap: 18px;
  }
  .article-end p {
    font-size: 14px;
  }
  .community-aside {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .thread-row {
    gap: 16px;
    padding: 24px 0;
  }
  .reply-count {
    width: 44px;
    padding: 6px 2px;
  }
  .reply-count strong {
    font-size: 18px;
  }
  .reply-count span {
    font-size: 11px;
  }
  .thread-row h2 {
    font-size: 18px;
  }
  .thread-open {
    display: none;
  }
  .thread-meta {
    font-size: 12px;
  }
  .article-meta {
    font-size: 12px;
    gap: 10px;
  }
  .thread-row .article-meta {
    gap: 8px;
  }
  .question-detail h1 {
    font-size: 27px;
  }
  .question-detail .prose {
    margin-top: 26px;
  }
  .answers {
    margin-top: 40px;
  }
  .answers > h2,
  .reply-section > h2 {
    font-size: 22px;
  }
  .login-prompt {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px;
  }
  .login-prompt p {
    font-size: 14px;
  }
  .form-card {
    padding: 22px;
  }
  .form-actions {
    gap: 22px;
  }
  .form-layout {
    gap: 24px;
  }
  .login-page {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 44px;
    padding-bottom: 54px;
  }
  .login-intro h1 {
    font-size: 30px;
  }
  .login-intro > p:not(.eyebrow) {
    font-size: 14px;
    margin: 18px 0 20px;
  }
  .login-card {
    padding: 28px 24px;
  }
  .login-card h2 {
    font-size: 26px;
  }
  .editor-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .editor-main textarea[name="body"] {
    min-height: 380px;
  }
  .editor-settings {
    padding: 26px;
  }
  .editor-settings h2 {
    font-size: 21px;
  }
  .admin-section + .admin-section {
    margin-top: 44px;
  }
  .admin-section-heading h2 {
    font-size: 23px;
  }
  .table-scroll {
    margin-left: -2px;
    margin-right: -2px;
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 32px 26px;
    padding-bottom: 32px;
  }
  .footer-brand {
    grid-column: 1/-1;
  }
  .footer-brand > p {
    margin-top: 16px;
    font-size: 13px;
  }
  .footer-brand img {
    width: 145px;
  }
  .footer-main h2 {
    font-size: 14px;
    margin-bottom: 18px;
  }
  .footer-main > div > a:not(:first-child),
  .footer-main > div:not(.footer-brand) > a {
    font-size: 12px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 6px;
    font-size: 11px;
    padding-top: 16px;
    padding-bottom: 20px;
  }
  .site-footer {
    padding-top: 40px;
  }
  .error-page {
    padding-top: 56px;
    padding-bottom: 66px;
  }
  .error-page h1 {
    font-size: 28px;
  }
  .error-page > p:not(.eyebrow) {
    font-size: 15px;
  }
  .error-page .form-actions {
    gap: 12px;
  }
  .error-page .button {
    padding: 9px 22px;
    font-size: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/* Homepage follows the current mainland site’s original two-column banner. */
.home-hero {
  background: #fff;
  min-height: 550px;
  text-align: left;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 60px;
}
.home-hero h1 {
  font-size: 36px;
  line-height: 1.5;
  letter-spacing: 0;
}
.home-hero p {
  color: #676a6e;
  font-size: 20px;
}
.hero-actions {
  justify-content: flex-start;
}
.hero-visual img {
  width: 100%;
  max-width: 540px;
  margin: auto;
}
.hero-visual p {
  font-size: 12px;
  text-align: center;
  margin-top: 18px;
  color: #6d7076;
}
.hero-visual {
  padding: 12px 0;
}
.feature-card {
  border-radius: 6px;
  box-shadow: none;
}
.feature-card:hover {
  box-shadow: none;
}
@media (max-width: 1100px) {
  .hero-inner {
    gap: 40px;
  }
  .home-hero h1 {
    font-size: 32px;
  }
  .home-hero p {
    font-size: 18px;
  }
}
@media (max-width: 900px) {
  .hero-inner {
    gap: 30px;
  }
  .home-hero {
    min-height: 460px;
  }
  .home-hero h1 {
    font-size: 30px;
  }
  .home-hero p {
    font-size: 16px;
  }
  .hero-actions {
    gap: 18px;
  }
  .hero-actions .button {
    padding-left: 22px;
    padding-right: 22px;
  }
}
@media (max-width: 650px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 42px;
    padding-bottom: 40px;
  }
  .home-hero {
    min-height: 0;
  }
  .home-hero h1 {
    font-size: 28px;
    line-height: 1.6;
  }
  .home-hero p {
    font-size: 16px;
  }
  .hero-visual img {
    max-width: 340px;
  }
  .hero-visual p {
    font-size: 11px;
  }
  .hero-visual {
    padding: 0;
  }
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.page-current {
  color: var(--muted);
  text-align: center;
}
.page-disabled {
  color: #6d7076;
  padding: 6px 22px;
  border: 1px solid var(--line);
  border-radius: 6px;
}
@media (max-width: 650px) {
  .pagination {
    gap: 12px;
    font-size: 13px;
    margin-top: 28px;
  }
  .pagination .button,
  .page-disabled {
    padding-left: 14px;
    padding-right: 14px;
    font-size: 13px;
  }
}

/* Knowledge surfaces follow the explicitly selected acceptance worktree:
   43660df, blog.css / community.css / tokens.css. No legacy runtime is reused. */
.knowledge-page {
  --knowledge-ink: #221e28;
  --knowledge-muted: #625f6b;
  --knowledge-rule: #e7e4eb;
  --knowledge-wash: #f7f2fa;
  --knowledge-serif:
    "Source Serif 4", "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  color: #383b41;
}
.knowledge-page h1,
.knowledge-page h2,
.knowledge-page h3 {
  font-family: var(--knowledge-serif);
  color: var(--knowledge-ink);
  letter-spacing: -0.005em;
  font-weight: 600;
  text-wrap: balance;
}
.knowledge-page .section-max-width {
  width: min(calc(100% - 96px), 1320px);
}
.knowledge-hero {
  padding: 64px 0 42px;
  background: #fff;
}
.knowledge-hero h1 {
  max-width: 22ch;
  font-size: clamp(2.3rem, 1.25rem + 3.2vw, 3.875rem);
  line-height: 1.22;
}
.knowledge-page .eyebrow {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.03em;
  margin-bottom: 20px;
}
.knowledge-lead,
.knowledge-hero p:not(.eyebrow) {
  color: var(--knowledge-muted);
  font-size: 18px;
  line-height: 1.85;
  max-width: 46em;
  margin-top: 24px;
}
.knowledge-list-space {
  padding-bottom: 88px;
}
.knowledge-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  border-top: 2px solid var(--knowledge-ink);
  border-bottom: 1px solid var(--knowledge-rule);
  margin-bottom: 0;
}
.knowledge-filter {
  border: 1px solid #d3cedb;
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 14px;
  white-space: nowrap;
}
.knowledge-filter[aria-current],
.knowledge-filter:hover {
  color: var(--purple);
  background: var(--knowledge-wash);
  border-color: var(--purple);
}
.knowledge-toolbar .search-form {
  width: min(420px, 60%);
  margin: 0;
}
.knowledge-toolbar .search-form input {
  background: #fff;
  border-color: #b6a7c3;
}
.knowledge-toolbar .button {
  font-size: 14px;
  padding-left: 22px;
  padding-right: 22px;
}
.blog-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(28px, 5vw, 72px);
}
.blog-card,
.blog-card:first-child {
  padding: 36px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  border-bottom-color: var(--knowledge-rule);
}
.blog-card h2 {
  font-size: clamp(1.4rem, 1.15rem + 0.7vw, 1.8rem);
  margin: 0;
  line-height: 1.42;
}
.blog-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--knowledge-muted);
}
.blog-card > .text-link {
  margin-top: auto;
  padding-top: 10px;
}
.knowledge-page .article-meta {
  color: var(--knowledge-muted);
  font-size: 14px;
}
.knowledge-page .badge {
  border-radius: 999px;
  border: 1px solid #d3cedb;
  background: transparent;
  color: var(--purple);
}
.docs-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 44px;
  padding-top: 36px;
  align-items: start;
}
.docs-main,
.knowledge-aside {
  min-width: 0;
}
.doc-grid,
.landing-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.doc-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
  background: var(--knowledge-wash);
  border: 1px solid var(--knowledge-rule);
  border-radius: 12px;
  min-width: 0;
}
.doc-card h2 {
  font-size: 26px;
  line-height: 1.5;
  margin-bottom: 16px;
}
.doc-card h2 a:hover {
  color: var(--purple);
}
.doc-card p:not(.eyebrow) {
  color: var(--knowledge-muted);
  font-size: 16px;
  margin-bottom: 24px;
  line-height: 1.85;
}
.doc-card .text-link {
  margin-top: auto;
  font-weight: 600;
}
.doc-card time {
  font-size: 12px;
  color: var(--knowledge-muted);
  margin-top: 22px;
}
.knowledge-note {
  border-top: 3px solid var(--purple);
  padding: 26px 24px;
  background: var(--knowledge-wash);
}
.knowledge-note h2,
.knowledge-aside-links h2 {
  font-size: 24px;
  line-height: 1.5;
  margin-bottom: 16px;
}
.knowledge-note p:not(.eyebrow) {
  color: var(--knowledge-muted);
  font-size: 15px;
  margin-bottom: 20px;
}
.knowledge-aside-links {
  margin-top: 32px;
}
.knowledge-aside-links > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--knowledge-rule);
  font-size: 15px;
  color: var(--purple);
}
.knowledge-reading .article-shell {
  max-width: 900px;
  padding-top: 58px;
  padding-bottom: 88px;
}
.knowledge-reading .article-header {
  border-bottom: 0;
  padding-bottom: 16px;
  margin-bottom: 28px;
}
.knowledge-reading .article-header h1 {
  font-size: clamp(2rem, 1.2rem + 2.8vw, 3.5rem);
  line-height: 1.3;
  margin: 24px 0;
}
.knowledge-reading .article-lead {
  font-size: 21px;
  line-height: 1.85;
  color: var(--knowledge-muted);
  margin: 24px 0 28px;
}
.knowledge-page .prose {
  font-size: 18px;
  line-height: 1.95;
  color: #383b41;
}
.knowledge-reading .article-end {
  margin-top: 48px;
  padding-top: 28px;
  border-top-color: #d3cedb;
}
.knowledge-reading .article-end p {
  font-family: var(--knowledge-serif);
  font-size: 21px;
}
.knowledge-community .knowledge-hero h1 {
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.35;
  max-width: none;
}
.knowledge-community .community-layout {
  padding-top: 0;
  grid-template-columns: minmax(0, 1fr) 295px;
  gap: 44px;
}
.knowledge-community .thread-list {
  border-top: 1px solid var(--knowledge-rule);
}
.knowledge-community .search-form input {
  border-color: #b6a7c3;
}
.knowledge-community .reply-count {
  border: 0;
  width: 64px;
}
.knowledge-community .reply-count strong {
  font-size: 24px;
  color: var(--knowledge-ink);
}
.knowledge-community .thread-row h2 {
  font-size: 22px;
  line-height: 1.55;
  margin-top: 12px;
}
.knowledge-community .info-panel {
  background: var(--knowledge-wash);
  border-radius: 0;
  border-top: 3px solid var(--purple);
}
.knowledge-community .info-panel.light {
  background: #fff;
  border: 0;
  padding-left: 0;
  padding-right: 0;
}
.knowledge-community .info-panel h2 {
  font-size: 24px;
  line-height: 1.5;
}
.knowledge-page .empty-state {
  background: #faf8fc;
  border-color: #d3cedb;
  border-radius: 0;
  padding: 48px 24px;
  margin-top: 24px;
}
.knowledge-page .empty-state h2,
.knowledge-page .empty-state h3 {
  font-size: 26px;
}
.knowledge-page .empty-symbol {
  display: none;
}
.knowledge-discussion .discussion-shell {
  max-width: 980px;
  padding-top: 56px;
}
.knowledge-discussion .question-detail h1 {
  font-size: 38px;
  line-height: 1.45;
}
.knowledge-discussion .answer,
.knowledge-discussion .answers {
  border-color: var(--knowledge-rule);
}
.knowledge-forms .page-hero {
  background: #fff;
}
.landing-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 60px;
  padding-top: 12px;
  align-items: start;
}
.landing-toc {
  border-top: 2px solid var(--knowledge-ink);
  position: sticky;
  top: 24px;
}
.landing-toc h2 {
  font-size: 18px;
  padding: 18px 0;
}
.landing-toc a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--knowledge-rule);
  padding: 13px 0;
  font-size: 14px;
  color: var(--purple);
}
.landing-main {
  min-width: 0;
}
.landing-section {
  margin-bottom: 42px;
  padding-top: 24px;
  border-top: 1px solid var(--knowledge-rule);
}
.landing-section h2 {
  margin-bottom: 20px;
  font-size: 30px;
}
.landing-section .prose {
  font-size: 17px;
}
.landing-links {
  margin-top: 36px;
}

/* Both responsive navigation surfaces consume the same server-owned catalog. */
header.nav-wrapper .nav-dropdown {
  width: 320px;
  max-width: calc(100vw - 40px);
  max-height: min(680px, calc(100vh - 110px));
  overflow-y: auto;
  padding: 8px 0;
}
header.nav-wrapper .nav-dropdown a {
  white-space: normal;
  padding: 12px 22px;
}
header.nav-wrapper .nav-dropdown a strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
}
header.nav-wrapper .nav-dropdown a > span:not([aria-hidden]) {
  display: block;
  font-size: 12px;
  color: #676a6e;
  line-height: 1.65;
  margin-top: 5px;
}
header.nav-wrapper .nav-dropdown .nav-overview {
  border-bottom: 1px solid var(--line);
  color: var(--purple);
  font-weight: 600;
}
.nav-link[aria-current] {
  color: var(--purple);
}
.footer-main {
  grid-template-columns: 1.5fr repeat(5, minmax(0, 1fr));
  gap: 28px;
}
.footer-nav-group h2 a:hover {
  color: var(--purple);
}
@media (max-width: 1100px) {
  .footer-main {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .docs-layout {
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 30px;
  }
}
@media (max-width: 900px) {
  .mobile-dropdown {
    display: block;
    max-height: calc(100dvh - 80px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 10px 20px 18px;
  }
  .mobile-dropdown .mobile-home {
    display: block;
    font-size: 14px;
    color: var(--purple);
  }
  .mobile-group > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    font-size: 15px;
    border-bottom: 1px solid var(--line);
    list-style: none;
    padding: 12px 0;
  }
  .mobile-group > summary::-webkit-details-marker {
    display: none;
  }
  .mobile-group[open] > summary {
    color: var(--purple);
    font-weight: 600;
  }
  .mobile-group-links {
    background: #faf8fc;
    padding: 6px 14px 12px;
  }
  .mobile-dropdown .mobile-group-links a {
    display: block;
    font-size: 14px;
    padding: 11px 0;
  }
  .mobile-group-links a > span:not([aria-hidden]) {
    display: block;
    font-size: 12px;
    line-height: 1.7;
    color: #676a6e;
    margin-top: 5px;
  }
  .knowledge-page .section-max-width {
    width: calc(100% - 48px);
  }
  .knowledge-community .community-layout,
  .docs-layout {
    grid-template-columns: 1fr;
  }
  .knowledge-aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .knowledge-aside-links {
    margin: 0;
  }
  .landing-layout {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 30px;
  }
}
@media (max-width: 650px) {
  .knowledge-page .section-max-width {
    width: calc(100% - 40px);
  }
  .knowledge-hero {
    padding: 42px 0 30px;
  }
  .knowledge-hero h1 {
    font-size: 34px;
  }
  .knowledge-lead,
  .knowledge-hero p:not(.eyebrow) {
    font-size: 16px;
    margin-top: 20px;
  }
  .knowledge-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    padding: 20px 0;
  }
  .knowledge-toolbar .search-form {
    width: 100%;
  }
  .knowledge-list-space {
    padding-bottom: 54px;
  }
  .blog-list,
  .doc-grid,
  .landing-links {
    grid-template-columns: 1fr;
  }
  .blog-card,
  .blog-card:first-child {
    padding: 28px 0;
  }
  .knowledge-aside {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .doc-card {
    padding: 24px 20px;
  }
  .doc-card h2 {
    font-size: 25px;
  }
  .knowledge-reading .article-header h1 {
    font-size: 32px;
  }
  .knowledge-reading .article-lead {
    font-size: 17px;
  }
  .knowledge-page .prose {
    font-size: 16px;
  }
  .knowledge-community .community-layout {
    gap: 32px;
  }
  .knowledge-community .reply-count {
    width: 48px;
  }
  .knowledge-community .thread-row h2 {
    font-size: 20px;
  }
  .knowledge-discussion .question-detail h1 {
    font-size: 30px;
  }
  .landing-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .landing-toc {
    position: static;
  }
  .landing-toc nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
  }
  .landing-toc a {
    border: 0;
    padding: 8px 0;
  }
  .landing-section h2 {
    font-size: 26px;
  }
  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 24px;
  }
}

/* Reviewed historical images use local PNG derivatives and remain linked to
   the current visibility of their parent article, question or answer. */
.media-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; margin: 30px 0; }
.media-gallery figure { min-width: 0; margin: 0; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.media-gallery a { display: block; }
.media-gallery img { width: 100%; height: auto; max-height: 420px; object-fit: contain; }
.media-gallery figcaption { margin-top: 10px; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
@media (max-width: 650px) { .media-gallery { grid-template-columns: 1fr; } }
.prose .source-code { margin: 20px 0; padding: 20px; border: 1px solid var(--line); border-radius: 8px; background: #f4f5f7; font-family: ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; font-size: 14px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.prose .source-text { white-space: pre-wrap; }

/* The legacy Strapi/Nuxt blog's actual /infos templates (56), read on
   2026-11-07: 2:1 covers, three columns, 14px card corners, sans typography,
   32/42px article title and 16/30px prose. Keep this scope off Wiki/community. */
.legacy-blog { color: #383b41; background: #fff; font-family: Helvetica, Arial, "Microsoft YaHei", "PingFang SC", sans-serif; }
.legacy-blog .legacy-blog-container { width: min(calc(100% - 96px),1320px); max-width: 1320px; }
.legacy-blog-index { padding-top: 24px; padding-bottom: 60px; }
.legacy-blog-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.legacy-blog-heading h1 { font-size: 22px; font-weight: 500; line-height: 32px; }
.legacy-blog-heading .search-form { width: min(360px,55%); margin: 0; }
.legacy-blog-heading .search-form input { font-size: 14px; }
.legacy-blog-heading .button { padding: 8px 20px; min-height: 42px; font-size: 14px; }
.legacy-blog-banner { display: block; position: relative; height: min(36.3vw,478px); min-height: 260px; overflow: hidden; border-radius: 8px; background: #5d1980; margin-bottom: 34px; color: #fff; }
.legacy-blog-banner > img { width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.legacy-blog-banner::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent,rgba(0,0,0,.68)); }
.legacy-banner-copy { position: absolute; z-index: 1; inset: auto 24px 24px; }
.legacy-banner-copy h2 { color: #fff; font-size: 16px; line-height: 20px; font-weight: 500; margin: 10px 0 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.legacy-blog-tags { display: flex; flex-wrap: wrap; gap: 8px 12px; font-size: 13px; line-height: 20px; }
.legacy-blog-tags > a, .legacy-blog-tags > span { color: #5d1980; background: #f3edf6; border-radius: 4px; padding: 2px 8px; }
.legacy-banner-copy .legacy-blog-tags > span { background: rgba(255,255,255,.92); }
.legacy-blog-tags > a:hover { background: #5d1980; color: #fff; }
.legacy-blog-byline { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; min-width: 0; font-size: 14px; line-height: 22px; }
.legacy-blog-byline img { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.legacy-blog-byline time { color: #8e8d91; font-size: 13px; }
.legacy-banner-copy .legacy-blog-byline { font-size: 13px; }
.legacy-banner-copy .legacy-blog-byline time { color: rgba(255,255,255,.9); margin-left: 12px; }
.legacy-blog-filters { display: flex; gap: 12px; overflow-x: auto; padding: 0 0 12px; margin: 0 0 22px; scrollbar-width: thin; scroll-padding-inline: 12px; }
.legacy-blog-filters a { flex: 0 0 auto; padding: 5px 12px; font-size: 13px; line-height: 20px; border-radius: 6px; min-height: 30px; }
.legacy-blog-filters a:hover, .legacy-blog-filters a[aria-current="page"] { background: #5d1980; color: #fff; }
.legacy-blog-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 40px 34px; }
.legacy-blog-card { min-width: 0; display: flex; flex-direction: column; align-items: stretch; }
.legacy-blog-cover { display: block; aspect-ratio: 2/1; border: 1px solid #e6e6e6; border-radius: 14px; overflow: hidden; margin-bottom: 16px; background: #f4f4f4; }
.legacy-blog-cover > img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .2s; }
.legacy-blog-cover:hover > img { opacity: 1; }
.legacy-cover-placeholder { display: grid; place-items: center; height: 100%; color: #5d1980; font-size: 24px; background: #f3edf6; }
.legacy-blog-card .legacy-blog-tags { margin-bottom: 10px; }
.legacy-blog-card h2 { font-size: 16px; line-height: 24px; font-weight: 500; margin: 0 0 16px; }
.legacy-blog-card h2 a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.legacy-blog-card h2 a:hover { color: #5d1980; }
.legacy-blog-card .legacy-blog-byline { margin-top: auto; }
.legacy-blog-index .pagination { margin-top: 50px; }
.legacy-blog-detail { padding-top: 28px; padding-bottom: 48px; }
.legacy-reading-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(260px,.38fr); gap: 42px; }
.legacy-reading-main, .legacy-blog-article { min-width: 0; }
.legacy-breadcrumb-row { display: flex; align-items: start; gap: 14px; margin-bottom: 20px; font-size: 14px; line-height: 24px; }
.legacy-breadcrumb-row .breadcrumb { margin: 0; gap: 8px; line-height: 24px; font-size: 14px; }
.legacy-blog-toc { position: relative; padding-right: 14px; border-right: 1px solid #d0d0d0; flex: 0 0 auto; }
.legacy-blog-toc summary { list-style: none; cursor: pointer; color: #383b41; }
.legacy-blog-toc summary::after { content: "⌄"; margin-left: 6px; }
.legacy-blog-toc summary::-webkit-details-marker { display: none; }
.legacy-blog-toc nav { position: absolute; top: 36px; left: 0; z-index: 25; width: min(360px,calc(100vw - 48px)); max-height: 65vh; padding: 16px; border-radius: 14px; background: #fff; box-shadow: 0 12px 32px #0000001a,0 2px 6px #00000014; overflow-y: auto; }
.legacy-blog-toc nav a { display: block; padding: 5px 0; font-size: 13px; line-height: 22px; overflow-wrap: anywhere; }
.legacy-blog-toc nav a:hover { color: #5d1980; }
.legacy-blog-toc .toc-level-3 { padding-left: 14px; }.legacy-blog-toc :is(.toc-level-4,.toc-level-5,.toc-level-6) { padding-left: 28px; }
.legacy-blog-article .article-header { margin: 0 0 25px; padding: 0; border: 0; }
.legacy-blog-article .article-header h1 { font: 500 32px/42px Helvetica,Arial,"Microsoft YaHei","PingFang SC",sans-serif; margin: 0 0 25px; letter-spacing: 0; text-wrap: pretty; }
.legacy-blog-article .article-meta { gap: 8px 16px; margin: 0; color: rgba(28,28,28,.6); font-size: 14px; }
.legacy-blog-article .article-meta > span:first-child { color: inherit; }
.legacy-blog-article .article-meta img { width: 26px; height: 26px; }
.legacy-blog-article .article-meta time { color: inherit; font-size: 14px; }
.legacy-blog-prose { white-space: normal; color: #383b41; font-size: 16px; line-height: 30px; overflow-wrap: anywhere; }
.legacy-blog-prose p { margin: 0 0 20px; line-height: 30px; }
.legacy-blog-prose > :first-child { margin-top: 0; }
.legacy-blog-prose :is(h2,h3,h4,h5,h6) { margin: 32px 0 20px; line-height: 1.4; font-weight: 500; scroll-margin-top: 130px; }
.legacy-blog-prose h2 { font-size: 26px; margin-bottom: 26px; }.legacy-blog-prose h3 { font-size: 24px; margin-bottom: 15px; }.legacy-blog-prose h4 { font-size: 20px; margin-bottom: 14px; }.legacy-blog-prose :is(h5,h6) { font-size: 18px; }
.legacy-blog-prose :is(ul,ol) { margin: 16px 0 24px; padding-left: 1.7em; }.legacy-blog-prose ul { list-style: disc; }.legacy-blog-prose ol { list-style: decimal; }.legacy-blog-prose li { margin-bottom: 8px; }.legacy-blog-prose li > p { margin-bottom: 8px; }.legacy-blog-prose li > :is(ul,ol) { margin-block: 8px; }
.legacy-blog-prose a { color: #5d1980; text-decoration: underline; text-underline-offset: 3px; }
.legacy-blog-prose strong { font-weight: 700; }
.legacy-blog-prose blockquote { margin: 24px 0; padding: 12px 24px; border-left: 4px solid #5d1980; background: #f7f4f9; color: #676a6e; }.legacy-blog-prose blockquote > :last-child { margin-bottom: 0; }
.legacy-blog-prose code { padding: 2px 5px; background: #f4f5f7; border-radius: 3px; font-family: ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; font-size: .875em; }
.legacy-blog-prose .source-code { max-width: 100%; margin: 24px 0; padding: 20px; overflow-x: auto; white-space: pre; overflow-wrap: normal; font-size: 14px; line-height: 1.7; }
.legacy-blog-prose .source-code code { padding: 0; font-size: inherit; background: transparent; }
.legacy-blog-prose .article-inline-image { display: block; max-width: 100%; height: auto; margin: 24px auto; border-radius: 12px; }
.legacy-blog-prose figure { margin: 24px 0; }.legacy-blog-prose figcaption { font-size: 13px; line-height: 22px; text-align: center; color: #77757d; }
.legacy-blog-prose .article-table { width: 100%; max-width: 100%; overflow-x: auto; margin: 24px 0; overscroll-behavior-x: contain; }
.legacy-blog-prose table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: 15px; line-height: 26px; }
.legacy-blog-prose :is(td,th) { min-width: 100px; padding: 10px 14px; border: 1px solid #d8d8d8; text-align: left; vertical-align: top; }.legacy-blog-prose th { background: #f5f5f5; font-weight: 600; }.legacy-blog-prose :is(td,th) > :last-child { margin-bottom: 0; }
.legacy-blog-prose hr { margin: 30px 0; border: 0; border-top: 1px solid #e6e6e6; }
.legacy-blog-prose .text-align-center { text-align: center; }.legacy-blog-prose .text-align-right { text-align: right; }.legacy-blog-prose .text-align-left { text-align: left; }.legacy-blog-prose .text-align-justify { text-align: justify; }
.legacy-blog-prose .media-unavailable { display: block; margin: 20px 0; padding: 14px 18px; background: #f5f5f5; border: 1px solid #e6e6e6; border-radius: 8px; color: #77757d; font-size: 14px; }
.legacy-article-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin: 40px 0 32px; border-top: 1px solid #e6e6e6; padding-top: 24px; font-size: 14px; }
.legacy-blog-resources { border-top: 1px solid #e6e6e6; padding-top: 32px; }.legacy-blog-resources h2 { font-size: 24px; font-weight: 500; margin: 0 0 24px; }.legacy-blog-resources > div { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }.legacy-blog-resources a { display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: 12px; background: #f5f5f5; }.legacy-blog-resources strong { font-size: 16px; font-weight: 500; }.legacy-blog-resources span { font-size: 13px; color: #77757d; }.legacy-blog-resources a:hover strong { color: #5d1980; }
.legacy-blog-sidebar { padding-top: 44px; min-width: 0; }.legacy-blog-sidebar h2 { position: relative; margin: 0 0 20px; padding-bottom: 10px; font-size: 24px; line-height: 32px; font-weight: 500; border-bottom: 1px solid #e6e6e6; }.legacy-blog-sidebar h2::after { content: ""; position: absolute; height: 1px; width: 80px; bottom: -1px; left: 0; background: linear-gradient(to right,#5d1980,transparent); }
.legacy-blog-sidebar ul { padding: 0; margin: 0 0 32px; list-style: none; }.legacy-blog-sidebar li { padding: 14px 0; border-bottom: 1px solid #f0f0f0; }.legacy-blog-sidebar li a { display: block; font-size: 15px; line-height: 24px; }.legacy-blog-sidebar li a:hover { color: #5d1980; }.legacy-blog-sidebar li time { display: block; margin-top: 8px; color: #8e8d91; font-size: 12px; }
.legacy-sidebar-categories { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }.legacy-sidebar-categories a { font-size: 13px; border-radius: 4px; padding: 4px 10px; background: #f3edf6; color: #5d1980; }
@media (max-width:1320px) { .legacy-reading-layout { grid-template-columns: minmax(0,1fr); }.legacy-blog-sidebar { display: none; } }
@media (max-width:1023px) { .legacy-blog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width:767px) { .legacy-blog .legacy-blog-container { width: calc(100% - 40px); }.legacy-blog-grid { grid-template-columns: minmax(0,1fr); gap: 34px; }.legacy-blog-heading { align-items: start; flex-direction: column; gap: 14px; }.legacy-blog-heading .search-form { width: 100%; }.legacy-blog-banner { width: 100%; min-width: 0; max-width: 100%; height: auto; min-height: 230px; aspect-ratio: 2/1; }.legacy-banner-copy { inset: auto 18px 18px; }.legacy-banner-copy h2 { margin-block: 10px 12px; }.legacy-banner-copy .legacy-blog-tags { gap: 6px; }.legacy-banner-copy .legacy-blog-tags > span { font-size: 12px; padding: 1px 6px; }.legacy-banner-copy .legacy-blog-byline time { margin-left: 0; }.legacy-blog-article .article-header h1 { font-size: 28px; line-height: 40px; }.legacy-blog-prose h2 { font-size: 24px; }.legacy-blog-prose h3 { font-size: 21px; }.legacy-blog-prose .source-code { padding: 14px; }.legacy-blog-prose blockquote { padding-inline: 16px; }.legacy-blog-resources > div { grid-template-columns: minmax(0,1fr); }.legacy-breadcrumb-row .breadcrumb { font-size: 13px; } }

.reading-legacy-anchor{display:inline-block;vertical-align:top;block-size:0;inline-size:0;line-height:0;scroll-margin-top:120px}
