/* 与 N 首页共用的内容边界和深色视觉；文档与表格按阅读任务另设密度。 */
:root {
  color-scheme: dark;
  --bg: #101210;
  --fg: #efefea;
  --muted: #999f98;
  --line: #303830;
  --accent: #a6f1d0;
  --surface: #171d18;
  --mono: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  --content-width: 1120px;
  --page-gutter: clamp(24px, 5vw, 64px);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC',
    'Microsoft YaHei', sans-serif;
  font-size: 14px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button {
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
a:hover,
button:hover {
  color: var(--accent);
}
p,
h1,
h2,
h3,
h4,
dl {
  margin: 0;
}
p {
  color: var(--muted);
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
[tabindex]:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.wrap {
  width: min(var(--content-width), calc(100% - var(--page-gutter) * 2));
  margin-inline: auto;
}
.product-header {
  display: flex;
  align-items: center;
  gap: 36px;
  min-height: 96px;
  border-bottom: 1px solid var(--line);
}
.product-brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.8px;
  white-space: nowrap;
}
.product-brand svg {
  width: 30px;
  height: 30px;
  color: var(--accent);
}
/* 品牌字标始终呈现产品名和品类，避免手机上只剩陌生的新名称。 */
.brand-symbol {
  display: block;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
}
.brand-wordmark {
  display: inline-grid;
  grid-template-columns: max-content;
  font-size: 23px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.9px;
}
.brand-category {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font: 9px/1.2 var(--mono);
  letter-spacing: 0;
  text-transform: uppercase;
}
/* 让品类两端跟随品牌名，不用随字号变化而失准的固定字距。 */
.brand-category-letters {
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.brand-category-gap {
  flex: 0 0 0.5em;
}
.language-choice .product-brand {
  width: 100%;
  margin-bottom: 20px;
}
@media (max-width: 700px) {
  .brand-symbol {
    width: 30px;
    height: 30px;
  }
  .brand-wordmark {
    font-size: 20px;
  }
  .brand-category {
    font-size: 8px;
  }
}
.product-header nav {
  display: flex;
  gap: 30px;
  margin-left: auto;
  font-size: 12px;
}
.product-header nav a[aria-current] {
  color: var(--accent);
}
.header-console,
.header-demo {
  padding: 9px 17px;
  border: 1px solid #465044;
  border-radius: 3px;
  font-size: 12px;
  white-space: nowrap;
}
/* 以轻量品牌色区分预约入口，保留深色页头的通透感。 */
.header-demo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  color: #b3dcc8;
  background: #a6f1d00a;
  border-color: #a6f1d059;
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    border-color 160ms ease;
}
.header-demo:hover,
.header-demo:focus-visible {
  color: var(--accent);
  background: #a6f1d014;
  border-color: #a6f1d099;
}
.header-demo:active {
  background: #a6f1d01f;
  border-color: #a6f1d099;
}
.product-footer {
  border-top: 1px solid var(--line);
  padding: 35px 0;
  display: flex;
  gap: 27px;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
  margin-top: 100px;
}
.product-footer > a:first-child {
  font-size: 17px;
  font-weight: 600;
  color: var(--fg);
}
.product-footer > span {
  margin-right: auto;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 40;
  background: var(--accent);
  color: #102219;
  padding: 10px;
}
.skip-link:focus {
  top: 10px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.eyebrow {
  font: 9px/1.5 var(--mono);
  letter-spacing: 1.3px;
  color: #a0b19c;
  margin-bottom: 20px;
}
h1 {
  font-size: clamp(38px, 4.1vw, 58px);
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -2.2px;
}
h2 {
  font-size: 28px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: -0.9px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 11px 18px;
  min-height: 43px;
  border: 1px solid #3b493c;
  border-radius: 3px;
  font-size: 12px;
}
.button.primary {
  background: var(--accent);
  color: #14271c;
  border-color: var(--accent);
}
.button.primary:hover {
  background: #c3fbe1;
  color: #14271c;
}
.subtle-link {
  font-size: 12px;
  color: #c1d8c8;
}
.quiet {
  border: 1px solid #394638;
  border-radius: 3px;
  padding: 7px 12px;
  font-size: 11px;
}
.quiet[aria-pressed='true'] {
  color: var(--accent);
  border-color: #739883;
}
.page-intro {
  padding: 64px 0 42px;
}
.page-intro-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}
.page-intro h1 + p {
  margin-top: 25px;
  font-size: 14px;
}
.page-intro-row > a {
  margin-bottom: 5px;
}
.price-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.vendor-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.vendor-filters button {
  font-size: 11px;
  padding: 7px 12px;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 3px;
}
.vendor-filters button[aria-pressed='true'] {
  color: #13261b;
  background: var(--accent);
  border-color: var(--accent);
}
.search {
  font-size: 0;
}
.search input {
  width: 250px;
  background: #171d17;
  color: var(--fg);
  border: 1px solid var(--line);
  padding: 9px 12px;
  font-size: 12px;
  border-radius: 3px;
}
.price-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 3px 0 24px;
}
.price-meta p {
  font: 10px/1.8 var(--mono);
}
.price-meta > div {
  display: flex;
  gap: 8px;
  white-space: nowrap;
}
.price-table-scroll,
.doc-table {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-color: #455744 transparent;
  scrollbar-width: thin;
}
.table-scroll-hint {
  font-size: 10px;
  color: #81947f;
  margin-bottom: 12px;
}
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
  text-align: left;
}
.price-table th {
  font-size: 10px;
  color: #a4afa3;
  font-weight: 400;
  white-space: nowrap;
  padding: 16px 14px;
  border-block: 1px solid var(--line);
  background: #181e18;
}
.price-table td {
  border-bottom: 1px solid #29312b;
  padding: 18px 14px;
  vertical-align: top;
  white-space: nowrap;
}
.price-table td code {
  display: block;
  font: 8px/1.8 var(--mono);
  margin-top: 5px;
  color: #8c9d8d;
}
.price-table td small {
  display: block;
  max-width: 240px;
  white-space: normal;
  font-size: 10px;
  color: #91a18f;
  line-height: 1.8;
  margin-top: 7px;
}
.price-table .sku-cell {
  min-width: 190px;
  max-width: 260px;
  white-space: normal;
}
.price-model {
  font-size: 12px;
  font-weight: 500;
}
.price-table .sale-cell {
  color: var(--accent);
  font-family: var(--mono);
}
.saving-cell {
  color: #bce8cc;
}
.price-table tr:hover td {
  background: #141b16;
}
.empty-result,
.price-error {
  border: 1px solid var(--line);
  padding: 30px;
  font-size: 13px;
}
.price-error a {
  color: var(--accent);
}
.price-warning {
  border: 1px solid #715e3e;
  padding: 18px;
  margin-bottom: 24px;
  color: #dacdaf;
  font-size: 12px;
}
.billing-policies {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 11px;
}
summary {
  cursor: pointer;
}
.billing-policies li {
  margin-top: 7px;
}
.pricing-explainer {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  padding-top: 72px;
}
.pricing-explainer h2 {
  font-size: 26px;
}
.pricing-explainer p {
  font-size: 12px;
  line-height: 1.9;
}
.pricing-explainer p + p {
  margin-top: 15px;
}
.docs-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 72px;
  padding-top: 58px;
  align-items: start;
}
.docs-sidebar {
  position: sticky;
  top: 30px;
  max-height: calc(100vh - 60px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #3a4a3c transparent;
}
.docs-sidebar summary {
  font-size: 11px;
  color: #c5d6c8;
  padding-bottom: 15px;
}
.docs-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 11px;
}
.docs-sidebar nav a {
  padding: 7px 10px;
  color: #9ca69b;
  border-left: 1px solid var(--line);
}
.docs-sidebar nav a:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: #182019;
}
.docs-sidebar nav a.nav-model {
  font-size: 10px;
  padding-left: 21px;
}
.docs-article {
  min-width: 0;
}
.document-heading {
  padding: 12px 0 66px;
  border-bottom: 1px solid var(--line);
}
.document-heading h1 {
  font-size: 47px;
}
.document-heading h1 + p {
  margin-top: 25px;
  max-width: 540px;
  font-size: 14px;
}
.document-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
/* AI 交接指令是可选中的普通正文；脚本只增强复制和当前站点地址。 */
.integration-prompt .doc-code pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: 13px/1.9 var(--mono);
}
.integration-prompt .fineprint {
  margin-top: 14px;
  line-height: 1.8;
}
.agent-handoff {
  margin-top: 44px;
}
.docs-article .agent-handoff h2 {
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  font-size: 24px;
}
.agent-handoff > p,
.agent-handoff details > p {
  margin: 16px 0;
  color: var(--muted);
}
.agent-handoff details {
  margin-top: 24px;
}
.agent-handoff summary {
  cursor: pointer;
}
.docs-article h2 {
  font-size: 29px;
  margin: 64px 0 24px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 25px;
}
.docs-article h3 {
  margin: 42px 0 19px;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.7px;
}
.docs-article h4 {
  margin: 30px 0 15px;
  font-size: 17px;
  font-weight: 500;
}
.docs-article h5 {
  margin: 26px 0 12px;
  font-size: 14px;
}
.docs-article > p {
  margin: 18px 0;
  font-size: 13px;
  line-height: 2;
  color: #aab2a8;
  overflow-wrap: anywhere;
}
.docs-article p code,
.docs-article td code {
  color: #b5d2be;
  font: 11px/1.8 var(--mono);
  overflow-wrap: anywhere;
}
.heading-link {
  color: #70816f;
  font: 13px var(--mono);
  padding-left: 10px;
  opacity: 0;
}
h2:hover .heading-link,
h3:hover .heading-link,
h4:hover .heading-link,
.heading-link:focus {
  opacity: 1;
}
.doc-table {
  margin: 24px 0;
}
.doc-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.doc-table th,
.doc-table td {
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  padding: 13px 12px;
  min-width: 100px;
  line-height: 1.9;
}
.doc-table th {
  background: #192019;
  color: #c3cec0;
  font-weight: 500;
  white-space: nowrap;
}
.doc-table td {
  color: #a5afa3;
}
.doc-table td:first-child {
  color: #d5ded1;
}
.doc-code {
  background: #151b17;
  border: 1px solid #354038;
  border-radius: 3px;
  min-width: 0;
  margin: 25px 0;
}
.doc-code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 12px 17px;
  border-bottom: 1px solid #354038;
  background: #1b231e;
  font: 10px var(--mono);
  color: #a1b49e;
}
.doc-code-head button {
  font:
    10px -apple-system,
    BlinkMacSystemFont,
    sans-serif;
}
pre {
  font: 11px/1.95 var(--mono);
  color: #d0ddc6;
  overflow-x: auto;
  padding: 23px;
  margin: 0;
  tab-size: 2;
  max-width: 100%;
}
.copy-status {
  position: fixed;
  z-index: 50;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #b4eacc;
  color: #152519;
  padding: 10px 19px;
  border-radius: 4px;
  font-size: 12px;
  max-width: 90vw;
}
.breadcrumbs {
  display: flex;
  gap: 13px;
  color: var(--muted);
  font-size: 11px;
  padding: 38px 0 42px;
}
.model-title-line {
  display: flex;
  align-items: center;
  gap: 20px;
}
.company-monogram {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #455747;
  border-radius: 10px;
  width: 62px;
  height: 62px;
  font-size: 31px;
  color: var(--accent);
  background: #18251d;
  flex-shrink: 0;
}
.model-title-line .eyebrow {
  margin-bottom: 7px;
}
.model-title-line h1 {
  font-size: 40px;
  letter-spacing: -1.5px;
}
.model-title-line > a {
  margin-left: auto;
}
.model-identifier {
  display: flex;
  align-items: center;
  gap: 19px;
  margin-top: 25px;
  color: #a7bba8;
  font: 12px var(--mono);
}
.model-description {
  margin-top: 28px;
  max-width: 870px;
  font-size: 14px;
  line-height: 1.95;
}
.model-facts {
  display: grid;
  grid-template-columns: 0.7fr 1.5fr 1fr 1fr;
  margin: 39px 0 50px;
  border-block: 1px solid var(--line);
}
.model-facts > div {
  padding: 22px 23px;
  border-right: 1px solid var(--line);
}
.model-facts > div:first-child {
  padding-left: 0;
}
.model-facts > div:last-child {
  border: 0;
}
.model-facts dt {
  font-size: 10px;
  color: var(--muted);
}
.model-facts dd {
  margin: 9px 0 0;
  font-size: 13px;
}
.model-section-nav {
  display: flex;
  gap: 35px;
  font-size: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.detail-section {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  gap: 64px;
  padding: 65px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 20px;
}
.detail-heading .eyebrow {
  margin-bottom: 15px;
}
.detail-heading h2 {
  font-size: 25px;
}
.detail-heading > a {
  display: inline-block;
  margin-top: 23px;
}
.detail-body {
  min-width: 0;
}
.capability-modes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.capability-modes span {
  background: #202b22;
  color: #b6d0bb;
  font-size: 11px;
  padding: 5px 11px;
  border: 1px solid #354235;
  border-radius: 3px;
}
.capability-description {
  margin: 24px 0;
  font-size: 13px;
  line-height: 1.95;
}
.model-fields {
  margin-top: 18px;
  font-size: 12px;
}
.availability-note {
  margin-top: 22px;
  font-size: 11px;
}
.detail-body > [data-price-status] {
  font-size: 10px;
  margin-bottom: 16px;
}
.detail-body > [data-price-refresh] {
  margin-bottom: 18px;
}
.detail-body .price-table {
  font-size: 10px;
}
.detail-body .price-table th,
.detail-body .price-table td {
  padding: 14px 10px;
}
.detail-body .doc-code {
  margin: 22px 0 0;
}
.related-models {
  padding-top: 55px;
}
.related-models h2 {
  font-size: 23px;
  margin-bottom: 25px;
}
.related-models > a {
  display: inline-flex;
  gap: 40px;
  padding: 17px 22px;
  border: 1px solid var(--line);
  margin: 0 10px 10px 0;
  font-size: 13px;
}
@media (max-width: 1100px) {
  .price-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 19px;
  }
  .search,
  .search input {
    width: 100%;
  }
  .docs-layout {
    grid-template-columns: 165px minmax(0, 1fr);
    gap: 38px;
  }
  .detail-section {
    grid-template-columns: 205px minmax(0, 1fr);
    gap: 37px;
  }
  .model-facts dd {
    font-size: 12px;
  }
}
@media (max-width: 800px) {
  :root {
    --page-gutter: 32px;
  }
  .product-header {
    gap: 20px;
  }
  .product-header nav {
    gap: 19px;
  }
  .product-brand {
    font-size: 18px;
  }
  .product-brand svg {
    width: 25px;
  }
  .header-console,
  .header-demo {
    padding: 8px 12px;
    font-size: 11px;
  }
  .page-intro {
    padding: 66px 0 45px;
  }
  .price-meta {
    align-items: flex-start;
    flex-direction: column;
  }
  .docs-layout {
    grid-template-columns: 1fr;
    gap: 27px;
    padding-top: 30px;
  }
  .docs-sidebar {
    position: static;
    max-height: 210px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 18px;
  }
  .docs-sidebar nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .document-heading {
    padding-top: 17px;
  }
  .document-heading h1 {
    font-size: 43px;
  }
  .detail-section {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 48px 0;
  }
  .detail-heading h2 br {
    display: none;
  }
  .model-title-line h1 {
    font-size: 32px;
  }
  .model-facts {
    grid-template-columns: 1fr 1.6fr;
  }
  .model-facts > div {
    border-bottom: 1px solid var(--line);
  }
  .model-facts > div:nth-child(2) {
    border-right: 0;
  }
  .model-facts > div:nth-child(3) {
    padding-left: 0;
    border-bottom: 0;
  }
  .product-footer {
    margin-top: 70px;
  }
}
@media (max-width: 600px) {
  :root {
    --page-gutter: 20px;
  }
  .product-header {
    flex-wrap: wrap;
    gap: 14px;
    padding: 20px 0 15px;
  }
  .product-header nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    margin: 0;
    font-size: 11px;
  }
  .header-console,
  .header-demo {
    margin-left: auto;
  }
  .product-brand {
    font-size: 19px;
  }
  h1 {
    font-size: 39px;
    letter-spacing: -1.7px;
  }
  .page-intro-row {
    display: block;
  }
  .page-intro-row > a {
    display: inline-block;
    margin-top: 25px;
  }
  .page-intro h1 + p {
    font-size: 12px;
    margin-top: 21px;
  }
  .page-intro {
    padding: 56px 0 38px;
  }
  .vendor-filters {
    gap: 6px;
  }
  .vendor-filters button {
    font-size: 10px;
    padding: 6px 9px;
  }
  .price-meta p {
    font-size: 9px;
  }
  .price-table th,
  .price-table td {
    padding: 14px 10px;
  }
  .price-table {
    font-size: 10px;
  }
  .price-table .sku-cell {
    min-width: 170px;
  }
  .pricing-explainer {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 50px;
  }
  .pricing-explainer h2 {
    font-size: 24px;
  }
  .docs-sidebar nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .document-heading h1 {
    font-size: 37px;
  }
  .document-heading h1 + p {
    font-size: 12px;
  }
  .document-actions .button {
    font-size: 10px;
    padding: 10px 12px;
  }
  .document-heading {
    padding-bottom: 42px;
  }
  .docs-article h2 {
    font-size: 25px;
    margin-top: 42px;
  }
  .docs-article h3 {
    font-size: 20px;
  }
  .docs-article > p {
    font-size: 12px;
  }
  .doc-table th,
  .doc-table td {
    font-size: 11px;
    min-width: 100px;
    padding: 11px 9px;
  }
  .doc-code-head {
    padding: 11px 13px;
  }
  pre {
    font-size: 10px;
    padding: 17px;
  }
  .breadcrumbs {
    padding: 27px 0 33px;
  }
  .model-title-line {
    flex-wrap: wrap;
    gap: 13px;
  }
  .company-monogram {
    width: 45px;
    height: 45px;
    font-size: 26px;
    border-radius: 6px;
  }
  .model-title-line h1 {
    font-size: 26px;
    letter-spacing: -1px;
  }
  .model-title-line .eyebrow {
    font-size: 8px;
  }
  .model-title-line > a {
    margin: 14px 0 0;
    width: 100%;
  }
  .model-identifier {
    font-size: 10px;
    gap: 12px;
    overflow-wrap: anywhere;
  }
  .model-identifier .quiet {
    flex-shrink: 0;
  }
  .model-description {
    font-size: 12px;
    margin-top: 23px;
  }
  .model-facts {
    margin: 30px 0 35px;
  }
  .model-facts > div {
    padding: 18px 13px;
  }
  .model-facts dd {
    font-size: 11px;
  }
  .model-section-nav {
    gap: 28px;
    font-size: 11px;
  }
  .detail-heading h2 {
    font-size: 24px;
  }
  .capability-description {
    font-size: 12px;
  }
  .product-footer {
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 55px;
  }
  .product-footer > span {
    width: 50%;
    font-size: 10px;
  }
  .related-models > a {
    width: 100%;
    margin-right: 0;
    justify-content: space-between;
  }
}
@media (max-width: 360px) {
  :root {
    --page-gutter: 16px;
  }
  .product-brand {
    font-size: 17px;
    gap: 8px;
  }
  .product-brand svg {
    width: 22px;
  }
  .model-title-line h1 {
    font-size: 23px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
