:root {
  color-scheme: light;

  --blue: #2464ec;
  --blue-dark: #1d4ed8;
  --blue-soft: #dbeafe;
  --green: #16a34a;
  --orange: #ea580c;
  --purple: #9333ea;
  --red: #dc2626;
  --cyan: #0891b2;
  --graphite: #18181b;

  --bg: #ffffff;
  --bg-muted: #f4f4f5;
  --surface: #ffffff;
  --ink: #18181b;
  --text: #27272a;
  --muted: #71717a;
  --nav-idle: #a1a1aa;
  --nav-hover: #3f3f46;
  --nav-active: #18181b;
  --line: #e4e4e7;
  --line-soft: #f4f4f5;
  --white: #ffffff;
  --inverse: #18181b;
  --inverse-fg: #fafafa;

  --footer: #fafafa;
  --footer-2: #ffffff;
  --footer-heading: #18181b;
  --footer-text: #71717a;
  --footer-muted: #a1a1aa;
  --footer-line: #e4e4e7;

  --radius-sm: 8px;
  --radius: 10px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 999px;
  --border-width: 1px;

  --shadow-xs: 0 1px 2px rgba(24, 24, 27, 0.04);
  --shadow-sm: 0 4px 16px rgba(24, 24, 27, 0.05);
  --shadow-md: 0 12px 32px rgba(24, 24, 27, 0.08);
  --shadow-clean: var(--shadow-sm);
  --shadow-glow: 0 0 0 1px rgba(36, 100, 236, 0.08);

  --btn-bg: #2464ec;
  --btn-fg: #ffffff;
  --btn-hover: #1d4ed8;
  --btn-border: #2464ec;
  --btn-shadow: 0 8px 22px rgba(36, 100, 236, 0.28);
  --btn-secondary-bg: transparent;
  --btn-secondary-fg: #18181b;
  --btn-secondary-border: #d4d4d8;
  --btn-secondary-hover-bg: #f4f4f5;
  --btn-radius: 4px;
  --input-radius: 8px;
  --btn-height: 42px;

  --card-bg: rgba(255, 255, 255, 0.9);
  --card-border: var(--line);
  --card-radius: 6px;
  --card-shadow: 0 4px 24px rgba(24, 24, 27, 0.04);

  --header-bg: rgba(255, 255, 255, 0.8);
  --header-border: rgba(228, 228, 231, 0.8);
  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-border: rgba(24, 24, 27, 0.06);
  --glass-shadow: 0 12px 40px -12px rgba(24, 24, 27, 0.12), inset 0 1px rgba(255, 255, 255, 0.65);
  --glass-blur: blur(28px) saturate(180%);

  --hero-from: #fafafa;
  --hero-via: #eff6ff;
  --hero-to: #ffffff;
  --hero-glow: rgba(36, 100, 236, 0.16);

  --input-bg: var(--surface);
  --input-border: var(--line);
  --focus-ring: rgba(36, 100, 236, 0.38);

  --scroll-thumb: #d4d4d8;
  --scroll-track: #f4f4f5;

  --icon-green-bg: #f0fdf4;
  --icon-orange-bg: #fff7ed;
  --icon-purple-bg: #faf5ff;

  /* Keep the brand mark readable against both theme surfaces. */
  --logo-filter: none;

  --lift-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --lift-duration: 520ms;
  --lift-out-duration: 420ms;
}

html[data-theme="dark"] {
  color-scheme: dark;

  --blue: #5b8af5;
  --blue-dark: #93b4ff;
  --blue-soft: rgba(36, 100, 236, 0.18);
  --green: #4ade80;
  --orange: #fb923c;
  --purple: #c084fc;
  --red: #f87171;
  --cyan: #22d3ee;
  --graphite: #fafafa;
  --logo-filter: brightness(0) invert(1);

  --bg: #09090b;
  --bg-muted: #111111;
  --surface: #111111;
  --ink: #fafafa;
  --text: #e4e4e7;
  --muted: #a1a1aa;
  --nav-idle: rgba(255, 255, 255, 0.42);
  --nav-hover: rgba(255, 255, 255, 0.82);
  --nav-active: #ffffff;
  --line: rgba(255, 255, 255, 0.08);
  --line-soft: rgba(255, 255, 255, 0.05);
  --inverse: #fafafa;
  --inverse-fg: #09090b;

  --footer: #09090b;
  --footer-2: #111111;
  --footer-heading: #fafafa;
  --footer-text: #a1a1aa;
  --footer-muted: #71717a;
  --footer-line: rgba(255, 255, 255, 0.08);

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.35);
  --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.28);
  --shadow-md: 0 18px 40px rgba(0, 0, 0, 0.4);
  --shadow-clean: 0 8px 28px rgba(0, 0, 0, 0.32);
  --shadow-glow: 0 0 0 1px rgba(36, 100, 236, 0.16), 0 8px 28px rgba(0, 0, 0, 0.28);

  --btn-bg: #2464ec;
  --btn-fg: #ffffff;
  --btn-hover: #3d78f2;
  --btn-border: #2464ec;
  --btn-shadow: 0 10px 28px rgba(36, 100, 236, 0.32);
  --btn-secondary-bg: rgba(24, 24, 27, 0.45);
  --btn-secondary-fg: #fafafa;
  --btn-secondary-border: rgba(250, 250, 250, 0.16);
  --btn-secondary-hover-bg: rgba(36, 100, 236, 0.12);

  --card-bg: rgba(17, 17, 17, 0.9);
  --card-border: rgba(255, 255, 255, 0.06);
  --card-shadow: none;

  --header-bg: rgba(9, 9, 11, 0.78);
  --header-border: rgba(255, 255, 255, 0.08);
  --glass-bg: rgba(24, 24, 27, 0.45);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 12px 40px -12px rgba(0, 0, 0, 0.5), inset 0 1px rgba(255, 255, 255, 0.08);
  --glass-blur: blur(28px) saturate(180%);

  --hero-from: #09090b;
  --hero-via: #111111;
  --hero-to: #09090b;
  --hero-glow: rgba(36, 100, 236, 0.18);

  --input-bg: #111111;
  --input-border: rgba(255, 255, 255, 0.12);
  --focus-ring: rgba(36, 100, 236, 0.42);

  --scroll-thumb: #3f3f46;
  --scroll-track: #18181b;

  --icon-green-bg: rgba(22, 163, 74, 0.16);
  --icon-orange-bg: rgba(234, 88, 12, 0.16);
  --icon-purple-bg: rgba(147, 51, 234, 0.16);
}

* {
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: var(--scroll-thumb) var(--scroll-track);
}

*::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

*::-webkit-scrollbar-track {
  background: var(--scroll-track);
}

*::-webkit-scrollbar-thumb {
  min-height: 36px;
  background: var(--scroll-thumb);
  background-clip: padding-box;
  border: 2px solid var(--scroll-track);
  border-radius: var(--radius-full);
}

*::-webkit-scrollbar-thumb:hover {
  background: var(--blue);
  background-clip: padding-box;
}

*::-webkit-scrollbar-corner {
  background: transparent;
}

*::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

@view-transition {
  navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 160ms;
}

html.theme-ready,
html.theme-ready body {
  transition: background-color 180ms ease, color 180ms ease;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  html.theme-ready,
  html.theme-ready body {
    transition: none;
  }

  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none;
  }
}

::selection {
  color: var(--blue-dark);
  background: var(--blue-soft);
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(1440px, calc(100% - 96px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--header-bg);
  border-bottom: var(--border-width) solid var(--header-border);
  backdrop-filter: blur(18px);
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, border-color 0.35s ease;
}

html.header-compact .site-header {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  border-color: transparent;
}

.nav-wrap {
  display: grid;
  grid-template-columns: auto 1fr minmax(260px, 320px) auto;
  align-items: center;
  gap: 28px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
}

.brand-logo {
  display: grid;
  grid-template-columns: repeat(4, 6px);
  grid-auto-rows: 6px;
  gap: 4px;
  width: 36px;
}

.brand-logo i {
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 999px;
}

.brand-logo i:nth-child(1) { grid-column: 2; }
.brand-logo i:nth-child(2) { grid-column: 3; }
.brand-logo i:nth-child(3) { grid-column: 1; }
.brand-logo i:nth-child(10) { grid-column: 2; }
.brand-logo i:nth-child(11) { grid-column: 3; }
.brand-logo i:nth-child(12) { grid-column: 1; }
.brand-logo i:nth-child(13) { grid-column: 2; }

.site-nav {
  display: flex;
  justify-content: center;
  gap: 32px;
  font-size: 15px;
  font-weight: 700;
}

.mobile-nav-search {
  display: none;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 72px;
  color: var(--nav-idle);
  font-weight: 500;
  transition: color 160ms ease;
}

.site-nav a:hover {
  color: var(--nav-hover);
}

.site-nav a.active {
  color: var(--nav-active);
  font-weight: 700;
}

.site-nav a.active::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  content: "";
  background: var(--blue);
  border-radius: 4px 4px 0 0;
}

.search-box {
  position: relative;
}

.search-box input,
.form-input {
  width: 100%;
  height: var(--btn-height);
  padding: 0 44px 0 18px;
  color: var(--text);
  background: var(--input-bg);
  border: var(--border-width) solid var(--input-border);
  border-radius: var(--input-radius);
  outline: 0;
}

textarea.form-input {
  height: auto;
  padding: 12px 16px;
  border-radius: var(--radius-md);
}

.search-box::after {
  position: absolute;
  top: 50%;
  right: 15px;
  width: 13px;
  height: 13px;
  content: "";
  border: 2px solid var(--muted);
  border-radius: 50%;
  transform: translateY(-55%);
}

.search-box::before {
  position: absolute;
  top: 26px;
  right: 12px;
  width: 8px;
  height: 2px;
  content: "";
  background: var(--muted);
  border-radius: 2px;
  transform: rotate(45deg);
}

.contact-btn,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--btn-height);
  padding: 0 20px;
  color: var(--btn-fg);
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  text-align: center;
  letter-spacing: 0;
  white-space: nowrap;
  background: var(--btn-bg);
  border: var(--border-width) solid var(--btn-border);
  border-radius: var(--btn-radius);
  box-shadow: var(--shadow-xs);
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.contact-btn:hover,
.btn:hover {
  background: var(--btn-hover);
  border-color: var(--btn-hover);
  box-shadow: var(--btn-shadow);
}

.btn.secondary {
  color: var(--btn-secondary-fg);
  background: var(--btn-secondary-bg);
  border-color: var(--btn-secondary-border);
  box-shadow: none;
}

.btn.secondary:hover {
  color: var(--btn-secondary-fg);
  background: var(--btn-secondary-hover-bg);
  box-shadow: none;
}

.btn.is-disabled,
.btn[aria-disabled="true"] {
  opacity: 0.55;
  pointer-events: none;
  cursor: default;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  color: var(--ink);
  background: var(--surface);
  border: var(--border-width) solid var(--line);
  border-radius: var(--radius);
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 78% 20%, var(--hero-glow), transparent 38%),
    linear-gradient(110deg, var(--hero-from) 0%, var(--hero-via) 55%, var(--hero-to) 100%);
}

.hero::before,
.page-hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    repeating-radial-gradient(ellipse at 78% 36%, var(--hero-glow) 0 2px, transparent 3px 18px);
  opacity: 0.32;
}

.hero-inner,
.page-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(440px, 0.95fr) 1.1fr;
  align-items: center;
  gap: 48px;
  min-height: 338px;
}

.page-hero-inner {
  min-height: 250px;
}

.hero-copy h1,
.page-hero h1 {
  max-width: 650px;
  margin: 0;
  color: var(--ink);
  font-size: 46px;
  line-height: 1.18;
}

.hero-mark {
  display: inline;
  font-size: 0.76em;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-copy h1:has(.hero-mark) {
  line-height: 1.48;
}

.page-hero h1 {
  font-size: 44px;
}

.hero-copy p,
.page-hero p {
  max-width: 640px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}

.reference-hero .hero-actions .btn,
.header-actions .contact-btn {
  border-radius: var(--btn-radius);
}

.hero-img,
.page-hero-img {
  justify-self: end;
  width: min(760px, 100%);
  object-fit: contain;
}

.brand-image {
  display: block;
  width: 118px;
  height: 32px;
  object-fit: contain;
  filter: var(--logo-filter);
  transition: filter 180ms ease;
}

.footer-brand-image {
  width: 128px;
  height: 32px;
  padding: 0;
  background: transparent;
}

.hero-real-img {
  max-height: 292px;
  border: var(--border-width) solid var(--line);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
}

.page-hero-img {
  max-height: 220px;
  object-position: right center;
}

.section {
  padding: 34px 0 0;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.section-head h2,
.section-title {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.3;
}

.section-link,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-weight: 800;
}

.section-link::after,
.text-link::after {
  width: 16px;
  height: 16px;
  content: "";
  background: currentColor;
  flex: 0 0 auto;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}

.section-link-button {
  padding: 0;
  font: inherit;
  color: var(--blue);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.capability-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: -24px;
  padding: 20px 24px;
  background: var(--card-bg);
  border: var(--border-width) solid var(--card-border);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
}

.capability-strip article {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 54px;
  font-weight: 800;
  border-right: 1px solid var(--line);
}

.capability-strip article:last-child {
  border-right: 0;
}

.quick-grid,
.product-grid,
.news-grid,
.advantage-grid,
.related-grid {
  display: grid;
  gap: 24px;
}

.quick-grid {
  grid-template-columns: repeat(4, 1fr);
  padding-top: 24px;
}

.product-grid,
.news-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.related-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.quick-card,
.product-card,
.news-card,
.panel,
.side-card,
.info-card,
.table-card,
.metric-card,
.contact-card,
.lead-card {
  background: var(--card-bg);
  border: var(--border-width) solid var(--card-border);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}

.quick-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: 92px;
  padding: 20px 22px;
}

.quick-card h3,
.quick-card p,
.product-card h3,
.product-card p,
.news-card h3,
.news-card p,
.info-card h3,
.info-card p {
  margin: 0;
}

.quick-card h3,
.product-card h3,
.news-card h3 {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.42;
}

.quick-card p,
.product-card p,
.news-card p,
.info-card p {
  margin-top: 6px;
  color: var(--muted);
}

.card-arrow {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--blue);
  font-size: 20px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.ui-icon {
  display: block;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.card-arrow .ui-icon {
  width: 16px;
  height: 16px;
}

.icon-box {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  color: var(--blue);
  font-size: 23px;
  font-weight: 800;
  background: var(--blue-soft);
  border-radius: var(--radius);
}

.icon-box .ui-icon {
  width: 23px;
  height: 23px;
}

.icon-box.green { color: var(--green); background: var(--icon-green-bg); }
.icon-box.orange { color: var(--orange); background: var(--icon-orange-bg); }
.icon-box.purple { color: var(--purple); background: var(--icon-purple-bg); }

.product-card {
  position: relative;
  display: grid;
  grid-template-columns: 42% 1fr;
  min-height: 214px;
  overflow: hidden;
}

.product-card-hit {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.product-card:has(.product-card-hit) {
  cursor: pointer;
}

.product-card img,
.news-card img {
  width: 100%;
  height: 100%;
  min-height: 214px;
  object-fit: cover;
  background: transparent;
}

.product-card img {
  padding: 18px;
  object-fit: contain;
}

.news-media {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 150px;
  background: var(--bg-muted);
  overflow: hidden;
}

.news-card .news-media img {
  min-height: 150px;
  padding: 16px;
  object-fit: contain;
  object-position: center;
  background: transparent;
  filter: drop-shadow(0 12px 16px rgba(16, 42, 72, 0.14));
}

.news-card .news-media img:not([src*="-transparent."]) {
  padding: 0;
  object-fit: cover;
  filter: none;
}

.product-card-body,
.news-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 26px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 18px;
}

.tag-list > span,
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  background: var(--blue-soft);
  border-radius: 5px;
}

.news-card {
  display: grid;
  grid-template-columns: 38% 1fr;
  min-height: 150px;
  overflow: hidden;
}

.news-card img {
  min-height: 150px;
}

.news-card > img {
  padding: 16px;
  object-fit: contain;
  object-position: center;
  background: var(--bg-muted);
}

.news-card > img:not([src*="-transparent."]) {
  padding: 0;
  object-fit: cover;
}

.news-card-body {
  padding: 22px 24px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 8px;
  color: var(--muted);
  font-weight: 700;
}

.site-footer {
  position: relative;
  z-index: 10;
  margin-top: 64px;
  color: var(--footer-text);
  background: var(--footer);
  border-top: 1px solid var(--footer-line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.55fr repeat(4, minmax(120px, 0.8fr)) 1.45fr;
  gap: 28px;
  padding: 42px 0 30px;
}

.footer-brand p {
  max-width: 330px;
  margin: 16px 0 0;
  color: var(--footer-text);
}

.footer-title {
  margin: 0 0 12px;
  color: var(--footer-heading);
  font-size: 17px;
}

.footer-col {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  padding-left: 24px;
  border-left: 1px solid var(--footer-line);
}

.footer-col a,
.footer-col span {
  color: var(--footer-text);
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: var(--blue);
}

.footer-contact span {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}

.site-footer .brand {
  color: var(--footer-heading);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0 20px;
  color: var(--footer-muted);
  border-top: 1px solid var(--footer-line);
}

.catalog-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 40px;
  padding-top: 36px;
}

.filter-panel {
  align-self: start;
  padding: 26px 24px;
}

.filter-group + .filter-group {
  padding-top: 22px;
  margin-top: 22px;
  border-top: 1px solid var(--line);
}

.filter-group h3 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 18px;
}

.check-row {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 32px;
  color: var(--text);
}

.check-row input {
  width: 16px;
  height: 16px;
  accent-color: var(--blue);
}

.toolbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.chip,
.select-btn {
  min-height: 40px;
  padding: 0 20px;
  color: var(--ink);
  font-weight: 800;
  background: var(--surface);
  border: var(--border-width) solid var(--line);
  border-radius: var(--radius-full);
}

.chip.active {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.toolbar-fields {
  display: flex;
  gap: 12px;
}

.toolbar-fields .search-box {
  width: 230px;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 28px;
}

.pagination button {
  display: grid;
  place-items: center;
  min-width: 36px;
  height: 36px;
  color: var(--ink);
  background: var(--surface);
  border: var(--border-width) solid var(--line);
  border-radius: var(--radius);
}

.pagination button.active {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.detail-page {
  padding-top: 22px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 16px;
  color: var(--muted);
  font-weight: 700;
}

.breadcrumb a {
  color: var(--ink);
}

.article-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin-bottom: 16px;
}

.article-toolbar .breadcrumb {
  margin-bottom: 0;
  min-width: 0;
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  margin-left: auto;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}

.article-back .ui-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.article-back:hover,
.article-back:focus-visible {
  color: var(--blue);
}

.article-back:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
  border-radius: 4px;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.85fr);
  gap: 58px;
  align-items: center;
}

.gallery-main {
  width: 100%;
  height: 340px;
  object-fit: cover;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.gallery-thumbs img {
  width: 100%;
  height: 64px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
}

.detail-summary h1 {
  margin: 0;
  color: var(--ink);
  font-size: 40px;
  line-height: 1.22;
}

.detail-summary > p {
  margin: 14px 0 10px;
  color: var(--muted);
}

.check-list {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 18px 0 26px;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.check-list li::before {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 4px;
  color: var(--white);
  font-size: 12px;
  content: "✓";
  background: var(--blue);
  border-radius: 50%;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.tabs {
  margin-top: 34px;
  overflow: hidden;
}

.tab-list {
  display: flex;
  gap: 0;
  background: var(--bg-muted);
  border-bottom: 1px solid var(--line);
}

.tab-list button {
  min-height: 48px;
  padding: 0 26px;
  color: var(--muted);
  font-weight: 800;
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
}

.tab-list button.active {
  color: var(--blue);
  border-color: var(--blue);
}

.tab-panel {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: 34px;
  padding: 28px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 22px;
}

.info-card {
  padding: 22px;
}

.info-card h3 {
  margin-top: 13px;
  font-size: 17px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.spec-table th,
.spec-table td {
  padding: 10px 16px;
  text-align: left;
  color: var(--text);
  background: transparent;
  border-bottom: 1px solid var(--line);
}

.spec-table th {
  width: 38%;
  color: var(--muted);
  background: var(--bg-muted);
}

.docs-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: start;
  gap: 28px;
  width: min(1510px, calc(100% - 160px));
  min-height: calc(100vh - 72px);
  margin: 0 auto;
}

.docs-sidebar,
.toc {
  background: var(--bg-muted);
}

.docs-sidebar {
  position: sticky;
  top: 88px;
  align-self: start;
  z-index: 8;
  max-height: calc(100vh - 104px);
  padding: 32px 16px;
  overflow-y: auto;
  border-right: 1px solid var(--line);
}

html.header-compact .docs-sidebar {
  top: 16px;
  max-height: calc(100vh - 32px);
}

.toc {
  padding: 42px 0 42px 24px;
  border-left: 1px solid var(--line);
}

.docs-sidebar h1,
.toc h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 20px;
}

.docs-nav {
  display: grid;
  gap: 4px;
  margin-top: 20px;
}

.docs-nav-label {
  margin: 16px 0 2px;
  padding: 0 14px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.docs-nav-label:first-child {
  margin-top: 0;
}

.docs-nav a,
.toc a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 12px;
  color: var(--text);
  font-size: 14px;
  font-weight: 650;
  border-radius: 6px;
}

.docs-nav a.active {
  color: var(--blue);
  background: var(--blue-soft);
  box-shadow: inset 3px 0 0 var(--blue);
}

.docs-article {
  width: 100%;
  max-width: none;
  padding: 32px 8px 42px 12px;
  margin: 0;
}

.docs-article .docs-content section,
.docs-article .docs-catalog,
.docs-article .docs-cta {
  scroll-margin-top: 96px;
}

.docs-reference {
  margin-top: 40px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.docs-callout {
  margin: 0 0 24px;
  padding: 14px 18px;
  color: var(--text);
  background: var(--bg-muted);
  border-left: 3px solid var(--blue);
  line-height: 1.7;
}

.docs-article h1 {
  margin: 0;
  color: var(--ink);
  font-size: 32px;
}

.docs-article > .post-content {
  font-size: 16px;
  line-height: 1.75;
}

.docs-article .docs-content h2 { font-size: 24px; }
.docs-article .docs-content h3 { font-size: 20px; }
.docs-article .docs-content h4 { font-size: 18px; }

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin: 12px 0 22px;
  color: var(--muted);
  font-weight: 700;
}

.notice {
  padding: 14px 18px;
  color: var(--text);
  background: var(--bg-muted);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.doc-step {
  margin-top: 22px;
}

.doc-step h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 20px;
}

.code-block {
  position: relative;
  margin: 12px 0 0;
  padding: 16px 54px 16px 18px;
  overflow: auto;
  color: var(--text);
  background: var(--bg-muted);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.copy-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.two-col-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 42px;
  padding-top: 36px;
}

.catalog-layout > *,
.two-col-layout > *,
.docs-layout > * {
  min-width: 0;
}

.table-card {
  margin-top: 22px;
  overflow-x: auto;
}

.resource-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
}

.resource-table th,
.resource-table td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.resource-table th {
  color: var(--muted);
  background: var(--bg-muted);
}

.platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.side-stack {
  display: grid;
  align-content: start;
  gap: 20px;
}

.side-card {
  padding: 26px;
}

.side-card h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 22px;
}

.side-card a {
  display: grid;
  gap: 2px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.side-card a:last-child {
  border-bottom: 0;
}

.side-card small,
.side-card time {
  color: var(--muted);
}

.subscribe-form {
  display: grid;
  gap: 12px;
}

.subscribe-actions {
  display: grid;
  gap: 10px;
}

.subscribe-actions .btn {
  width: 100%;
}

.subscribe-manage-link {
  justify-self: start;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.subscribe-form .form-input {
  padding-right: 18px;
}

.subscribe-manage-link:hover,
.subscribe-manage-link:focus-visible {
  color: var(--blue);
  outline: none;
}

.subscribe-actions button:disabled {
  cursor: wait;
  opacity: .68;
}

.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.subscribe-note {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.subscribe-note::before {
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--muted);
  content: "□";
  font-size: 15px;
  line-height: 1;
}

.update-list {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.update-card {
  position: relative;
  display: grid;
  grid-template-columns: 120px 210px 1fr;
  gap: 24px;
  align-items: center;
  padding: 18px;
  cursor: pointer;
}

.update-card:hover,
.update-card:focus-within {
  border-color: var(--blue);
}

.update-card h2 a::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

.update-card h2 a:focus-visible::after {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 6px;
}

.update-card .update-product-inline a {
  position: relative;
  z-index: 2;
}

.update-card time {
  color: var(--muted);
  font-weight: 800;
}

.update-card img {
  width: 100%;
  height: 112px;
  object-fit: cover;
  border-radius: 6px;
}

.update-labels {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.update-labels .badge {
  margin: 0;
}

.update-meta-field {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  min-height: 26px;
}

.update-meta-field small {
  display: none;
}

.update-meta-missing {
  color: var(--muted) !important;
  font-style: normal;
  font-weight: 700;
}

.update-meta-version .update-meta-missing,
.update-meta-version .update-version {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 9px;
  border: 1px solid color-mix(in srgb, var(--orange) 28%, transparent);
  border-radius: 4px;
  color: var(--orange) !important;
  background: var(--icon-orange-bg);
  font-size: 13px;
  line-height: 1.2;
}

.update-meta-release .update-meta-missing {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted) !important;
  background: var(--bg-muted);
  font-size: 13px;
  line-height: 1.2;
}

.update-meta-product .update-meta-missing {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 9px;
  border: 1px solid rgba(91, 70, 168, 0.28);
  border-radius: 4px;
  color: #5b46a8 !important;
  background: rgba(91, 70, 168, 0.16);
  font-size: 13px;
  line-height: 1.2;
}

.update-product-inline {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
}

.update-meta-value,
.update-product-inline a {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 9px;
  border: 1px solid var(--blue-soft);
  border-radius: 4px;
  color: var(--blue);
  background: var(--blue-soft);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.update-meta-type .update-meta-value {
  color: #087f8c;
  background: #e4f7f8;
  border-color: #a9e4e7;
}

.update-meta-product .update-meta-value,
.update-meta-product .update-product-inline a {
  color: #5b46a8;
  background: #eee9ff;
  border-color: #d6cbff;
}

.product-update-meta > span + span {
  padding-left: 0;
  border-left: 0;
}

.update-version {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 9px;
  border: 1px solid var(--blue-soft);
  border-radius: 4px;
  color: var(--blue-dark);
  background: var(--blue-soft);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.update-version-category {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 9px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.update-version-category.is-production,
.update-version-category.is-test {
  color: var(--green);
  background: var(--icon-green-bg);
  border-color: color-mix(in srgb, var(--green) 28%, transparent);
}

.update-version-category.is-draft,
.update-version-category.is-custom {
  color: var(--muted);
  background: var(--bg-muted);
  border-color: var(--line);
}

.change-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.change-item {
  min-width: 0;
  min-height: 112px;
  padding: 13px 14px;
  border: 1px solid transparent;
  border-radius: 7px;
}

.change-added {
  color: var(--ink);
  background: var(--bg-muted);
  border-color: var(--line);
}

.change-optimized {
  color: var(--text);
  background: var(--bg-muted);
  border-color: var(--line);
}

.change-fixed {
  color: var(--muted);
  background: var(--bg-muted);
  border-color: var(--line);
}

.change-grid h4 {
  margin: 0 0 8px;
  font-size: 14px;
}

.change-added h4 {
  color: var(--green);
}

.change-optimized h4 {
  color: var(--cyan);
}

.change-fixed h4 {
  color: var(--red);
}

.change-grid ul {
  padding-left: 18px;
  margin: 0;
  color: inherit;
  font-size: 13px;
  line-height: 1.65;
}

.change-grid li::marker {
  color: currentColor;
}

html[lang^="zh"] .update-item-no-zh {
  display: none;
}

.news-list {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.news-list .news-card {
  grid-template-columns: 280px 1fr;
}

.hot-list a {
  grid-template-columns: 86px 1fr;
  align-items: center;
  gap: 12px;
}

.hot-list img {
  width: 86px;
  height: 58px;
  object-fit: cover;
  border-radius: 6px;
}

.about-intro {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr 1fr;
  gap: 22px;
  padding-top: 36px;
}

.mission-card {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  padding: 28px;
}

.mission-card article + article {
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

.building-img {
  width: 100%;
  height: 100%;
  min-height: 170px;
  object-fit: cover;
  object-position: center 54%;
  border-radius: 8px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.metric-card {
  padding: 20px;
}

.metric-card strong,
.metric-card span {
  display: block;
}

.metric-card strong {
  color: var(--blue);
  font-size: 19px;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 18px var(--hero-glow);
}

.metric-card span {
  color: var(--muted);
}

.metric-card-link {
  position: relative;
  color: inherit;
  text-decoration: none;
  transition: border-color 180ms ease, transform 180ms ease;
}

.metric-card-link:hover,
.metric-card-link:focus-visible {
  border-color: var(--blue);
  transform: translateY(-2px);
}

.metric-card-link .ui-icon {
  position: absolute;
  top: 20px;
  right: 18px;
  width: 18px;
  height: 18px;
  color: var(--blue);
}

.patent-section {
  margin-top: 32px;
  padding: 56px 0 64px;
  color: var(--text);
  scroll-margin-top: 76px;
}

.patent-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.patent-section .section-title { color: var(--ink); }
.patent-section-head p { max-width: 780px; margin: 10px 0 0; color: var(--muted); line-height: 1.7; }
.patent-controls { display: flex; gap: 10px; flex: none; }
.patent-controls button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
}
.patent-controls button:hover:not(:disabled),
.patent-controls button:focus-visible { background: var(--bg-muted); border-color: var(--blue); }
.patent-controls button:disabled { opacity: .35; cursor: default; }
.patent-controls .ui-icon { width: 18px; height: 18px; }
.patent-gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 60px) / 4);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.patent-gallery::-webkit-scrollbar { display: none; }
.patent-item { min-width: 0; scroll-snap-align: start; }
.patent-image-button,
.patent-image-placeholder {
  display: grid;
  place-items: center;
  width: min(100%, 200px);
  aspect-ratio: 1322 / 1870;
  margin-inline: auto;
  padding: 6px;
  box-sizing: border-box;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
}
.patent-image-button { cursor: zoom-in; }
.patent-image-button:hover,
.patent-image-button:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.patent-image-button img { display: block; width: 100%; height: 100%; object-fit: contain; }
.patent-image-placeholder { color: var(--muted); }
.patent-image-placeholder .ui-icon { width: 56px; height: 56px; }
.patent-item h3 { margin: 14px 0 0; color: var(--text); font-size: 14px; font-weight: 600; line-height: 1.6; text-align: center; overflow-wrap: anywhere; }
.patent-item p { margin: 4px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; text-align: center; }
.patent-dialog {
  position: fixed;
  width: min(92vw, 820px);
  max-height: 94vh;
  padding: 18px;
  box-sizing: border-box;
  overflow: auto;
  color: #fff;
  background: #202630;
  border: 1px solid #5c6774;
  border-radius: 6px;
}
.patent-dialog::backdrop { background: rgba(8, 13, 22, .84); }
.patent-dialog img { display: block; width: auto; max-width: 100%; max-height: calc(94vh - 92px); margin: 0 auto; object-fit: contain; }
.patent-dialog p { margin: 12px 30px 0; text-align: center; line-height: 1.5; }
.patent-dialog-close { position: sticky; top: 0; float: right; width: 32px; height: 32px; margin: -10px -10px 0 0; color: #fff; background: #303845; border: 1px solid #8994a3; border-radius: 50%; font-size: 24px; line-height: 1; cursor: pointer; }

@media (max-width: 900px) {
  .patent-gallery { grid-auto-columns: calc((100% - 20px) / 2); }
}

@media (max-width: 600px) {
  .patent-section { padding: 36px 0 44px; }
  .patent-section-head { align-items: start; margin-bottom: 22px; }
  .patent-controls button { width: 36px; height: 36px; }
  .patent-gallery { grid-auto-columns: 100%; gap: 14px; }
}

.advantage-grid {
  grid-template-columns: repeat(4, 1fr);
}

.about-advantages-section {
  margin-top: 40px;
  scroll-margin-top: 96px;
}

.about-advantages-panel {
  padding: 26px;
}

.about-advantages-panel > .section-title {
  margin-bottom: 22px;
}

.about-advantage-group {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.about-advantage-group + .about-advantage-group {
  margin-top: 24px;
}

.about-advantage-group h3 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.4;
}

.about-advantage-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.about-advantage-list article {
  min-width: 0;
  padding: 0 22px;
}

.about-advantage-list article:first-child {
  padding-left: 0;
}

.about-advantage-list article + article {
  border-left: 1px solid var(--line);
}

.about-advantage-list h4 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
}

.about-advantage-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 760px) {
  .about-advantages-section { margin-top: 32px; }
  .about-advantages-panel { padding: 22px; }
  .about-advantage-group h3 { margin-bottom: 4px; font-size: 18px; }
  .about-advantage-list { grid-template-columns: minmax(0, 1fr); }
  .about-advantage-list article,
  .about-advantage-list article:first-child { padding: 14px 0; }
  .about-advantage-list article + article { border-top: 1px solid var(--line); border-left: 0; }
}

.about-lower {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  padding-top: 24px;
}

#about-partners {
  scroll-margin-top: 96px;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.partner-grid article {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}

.timeline::before {
  position: absolute;
  top: 7px;
  right: 0;
  left: 0;
  height: 1px;
  content: "";
  background: var(--line);
}

.timeline article {
  position: relative;
  padding-top: 26px;
}

.timeline article::before {
  position: absolute;
  top: 4px;
  left: 0;
  width: 7px;
  height: 7px;
  content: "";
  background: var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--card-bg);
}

.history-panel {
  padding: 26px;
}

#history {
  scroll-margin-top: 96px;
}

.history-slider {
  display: grid;
  grid-template-columns: 1fr auto auto;
  grid-template-areas:
    "title prev next"
    "view view view";
  align-items: center;
  column-gap: 8px;
}

.history-slider .section-title {
  grid-area: title;
}

.history-viewport {
  position: relative;
  grid-area: view;
  overflow: hidden;
  margin-top: 18px;
  container-type: inline-size;
  user-select: none;
  touch-action: pan-y;
}

.history-track {
  display: flex;
  gap: 16px;
  transition: transform 0.45s ease;
  will-change: transform;
}

.history-item {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 0 0 calc((100cqi - 48px) / 4);
  width: calc((100cqi - 48px) / 4);
  padding-top: 24px;
}

.history-viewport::before {
  position: absolute;
  top: 7px;
  right: 0;
  left: 0;
  height: 1px;
  content: "";
  background: var(--line);
}

.history-item::before {
  position: absolute;
  top: 4px;
  left: 0;
  z-index: 1;
  width: 7px;
  height: 7px;
  background: var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--card-bg);
  content: "";
  pointer-events: none;
}

.history-item strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
}

.history-item p {
  display: -webkit-box;
  overflow: hidden;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.history-image {
  margin: auto 0 0;
  padding-top: 18px;
}

.history-image img {
  display: block;
  width: 100%;
  max-height: 180px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--bg-muted);
  border-radius: 4px;
}

.history-image img.is-portrait { object-fit: contain; }

.history-nav {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.history-nav.is-prev {
  grid-area: prev;
}

.history-nav.is-next {
  grid-area: next;
}

.history-nav .ui-icon {
  width: 16px;
  height: 16px;
}

.history-nav:hover:not(:disabled) {
  background: var(--bg-muted);
}

.history-nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 30px;
  align-items: center;
  padding: 28px 34px;
}

.contact-card .contact-plane {
  width: 100%;
  max-width: 280px;
  height: auto;
  object-fit: contain;
  background: transparent;
  filter: none;
}

.contact-card ul {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0 0 18px;
  list-style: none;
}

.social-links {
  margin-top: 18px;
}

.contact-card .social-links {
  margin-top: 20px;
}

.social-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.social-item {
  position: relative;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 10px;
  color: var(--text);
  font-size: 13px;
  line-height: 1;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
}

a.social-link,
button.social-link {
  text-decoration: none;
}

.social-link img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.social-link:hover,
.social-link:focus-visible,
.social-item.is-open .social-link {
  color: var(--blue);
  border-color: var(--blue);
}

.social-qr {
  position: absolute;
  left: 0;
  bottom: calc(100% + 10px);
  z-index: 4;
  display: grid;
  justify-items: center;
  gap: 8px;
  width: 168px;
  padding: 12px;
  color: #334155;
  font-size: 12px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-clean);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.social-item.is-qr:hover .social-qr,
.social-item.is-qr:focus-within .social-qr,
.social-item.is-open .social-qr {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.social-qr img {
  width: 144px;
  height: 144px;
  object-fit: contain;
}

.footer-brand .social-links {
  margin-top: 18px;
  max-width: 360px;
}

.footer-brand .social-link {
  color: var(--footer-heading);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--footer-line);
}

.footer-brand .social-link:hover,
.footer-brand .social-link:focus-visible,
.footer-brand .social-item.is-open .social-link {
  color: var(--blue);
  border-color: var(--blue);
}

@media (max-width: 1400px) {
  .change-grid {
    grid-template-columns: 1fr;
  }

  .change-item {
    min-height: 0;
  }
}

@media (max-width: 1180px) {
  .container {
    width: min(100% - 48px, 1080px);
  }

  .nav-wrap {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .nav-toggle .nav-icon-close,
  body.nav-open .nav-toggle .nav-icon-open {
    display: none;
  }

  body.nav-open .nav-toggle .nav-icon-close {
    display: block;
  }

  .site-nav,
  .search-box.header-search,
  .contact-btn {
    display: none;
  }

  html.nav-open,
  body.nav-open {
    overflow: hidden;
    overscroll-behavior: none;
  }

  body.nav-open .site-header {
    z-index: 10000;
  }

  body.nav-open .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-content: stretch;
    gap: 2px;
    padding: 12px max(20px, calc((100vw - 720px) / 2)) 20px;
    background: var(--surface);
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    box-shadow: 0 18px 32px rgba(24, 24, 27, 0.14);
  }

  body.nav-open .site-nav a {
    min-height: 48px;
    padding: 0 16px;
    color: var(--text);
    font-size: 15px;
    font-weight: 500;
    border-radius: 6px;
  }

  body.nav-open .site-nav a.active,
  body.nav-open .site-nav .nav-docs > summary.active {
    color: var(--ink);
    font-weight: 700;
    background: var(--bg-muted);
  }

  body.nav-open .site-nav a.active::after {
    display: none;
  }

  body.nav-open .site-nav > a:hover,
  body.nav-open .site-nav .nav-docs > summary:hover {
    background: var(--bg-muted);
  }

  body.nav-open .site-nav a:focus-visible,
  body.nav-open .site-nav .nav-docs > summary:focus-visible {
    outline: 2px solid var(--focus-ring);
    outline-offset: -2px;
  }

  body.nav-open .mobile-nav-search {
    position: relative;
    display: flex;
    margin-bottom: 8px;
  }

  .mobile-nav-search input {
    width: 100%;
    height: 44px;
    padding: 0 48px 0 14px;
    color: var(--text);
    font-size: 14px;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 6px;
    outline: 0;
  }

  .mobile-nav-search input:focus-visible {
    outline: 2px solid var(--focus-ring);
    outline-offset: 2px;
  }

  .mobile-nav-search button {
    position: absolute;
    top: 1px;
    right: 1px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: var(--text);
    background: transparent;
    border: 0;
    border-radius: 5px;
    cursor: pointer;
  }

  .mobile-nav-search button .ui-icon {
    width: 18px;
    height: 18px;
  }

  .mobile-nav-search button:focus-visible {
    outline: 2px solid var(--focus-ring);
    outline-offset: -2px;
  }

  .hero-inner,
  .page-hero-inner,
  .catalog-layout,
  .detail-hero,
  .tab-panel,
  .two-col-layout,
  .about-intro,
  .about-lower {
    grid-template-columns: 1fr;
  }

  .about-hero .page-hero-inner {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.1fr);
    min-height: 320px;
    padding-top: 24px;
    padding-bottom: 12px;
  }

  .hero-inner,
  .page-hero-inner {
    padding: 42px 0;
  }

  .hero-img,
  .page-hero-img {
    justify-self: start;
  }

  .quick-grid,
  .product-grid,
  .news-grid,
  .related-grid,
  .advantage-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .docs-layout {
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 28px;
  }

  .toc {
    display: none;
  }

  .update-card {
    grid-template-columns: 110px 180px 1fr;
  }

  .change-grid {
    grid-template-columns: 1fr;
  }

  .history-item {
    flex-basis: calc((100cqi - 16px) / 2);
    width: calc((100cqi - 16px) / 2);
  }
}

.internal-download-dialog {
  box-sizing: border-box;
  width: min(440px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  overflow: auto;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 56px rgba(0, 0, 0, .2);
}

.internal-download-dialog::backdrop { background: rgba(10, 20, 32, .5); }
.internal-download-dialog-body { padding: 24px; }
.internal-download-dialog h2 { margin: 0 0 10px; color: var(--ink); font-size: 20px; }
.internal-download-dialog p { margin: 0; line-height: 1.7; }
.internal-download-dialog-actions { display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin-top: 24px; }
.internal-download-dialog-actions form { margin: 0; }

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 680px);
  }

  .brand {
    font-size: 22px;
  }

  .hero-copy h1,
  .page-hero h1,
  .detail-summary h1,
  .docs-article h1 {
    font-size: 32px;
  }

  .hero-inner,
  .page-hero-inner {
    gap: 26px;
    min-height: auto;
  }

  .about-hero .page-hero-inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .capability-strip,
  .quick-grid,
  .product-grid,
  .news-grid,
  .related-grid,
  .feature-grid,
  .advantage-grid,
  .metrics-grid,
  .partner-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .capability-strip {
    margin-top: 20px;
    padding: 8px 18px;
  }

  .capability-strip article {
    justify-content: flex-start;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .capability-strip article:last-child {
    border-bottom: 0;
  }

  .section {
    padding-top: 28px;
  }

  .section-head,
  .toolbar,
  .toolbar-fields,
  .footer-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .toolbar-fields .search-box {
    width: 100%;
  }

  .product-card,
  .news-card,
  .news-list .news-card,
  .update-card,
  .mission-card,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .product-card img,
  .news-card:not(.is-none) img,
  .news-card:not(.is-none) .news-media {
    min-height: 180px;
  }

  .detail-hero {
    gap: 28px;
  }

  .gallery-main {
    height: 260px;
  }

  .tab-list {
    overflow-x: auto;
  }

  .tab-list button {
    flex: 0 0 auto;
  }

  .docs-layout {
    grid-template-columns: 1fr;
    width: min(100% - 28px, 680px);
    gap: 0;
  }

  .docs-sidebar {
    position: static;
    top: auto;
    max-height: none;
    padding: 28px 0;
    overflow: visible;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .docs-article {
    padding: 30px 0;
  }

  .resource-table {
    min-width: 850px;
  }

  .mission-card article + article {
    padding-top: 20px;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .timeline {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    top: 0;
    bottom: 0;
    left: 3px;
    width: 1px;
    height: auto;
  }

  .timeline article {
    padding-top: 0;
    padding-left: 32px;
  }

  .history-item {
    flex-basis: 100cqi;
    width: 100cqi;
  }

  .footer-col {
    padding-left: 0;
    border-left: 0;
  }
}

/* 2026 product-system and resource-directory refactor */
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.home-fos-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-fos-grid .product-card {
  grid-template-columns: 42% 58%;
}

.foi-home-domain-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.foi-home-domain-grid .application-visual {
  min-width: 0;
}

.foi-home-domain-grid .application-visual img {
  aspect-ratio: 4 / 3;
}

.foi-home-domain-grid .application-visual > div {
  min-height: 232px;
  padding: 22px;
}

.foi-home-domain-grid .application-visual h3 {
  font-size: 18px;
}

.foi-home-domain-grid .application-visual p {
  font-size: 13px;
}

.product-system-hero .page-hero-inner,
.resource-library-hero .page-hero-inner {
  min-height: 430px;
}

.product-system-hero .page-hero-img,
.resource-library-hero .page-hero-img {
  height: 340px;
}

.delivery-architecture {
  padding-top: 82px;
  padding-bottom: 82px;
}

.architecture-heading {
  align-items: end;
}

.architecture-heading > p {
  max-width: 570px;
  margin: 0;
  color: var(--muted);
}

.delivery-stage-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 34px;
  border-top: 1px solid #cbd9e6;
  border-bottom: 1px solid #cbd9e6;
}

.delivery-stage-grid article {
  position: relative;
  min-height: 230px;
  padding: 30px 32px;
  border-right: 1px solid #cbd9e6;
}

.delivery-stage-grid article:last-child {
  border-right: 0;
}

.delivery-stage-grid article::after {
  position: absolute;
  top: 50%;
  right: -7px;
  z-index: 1;
  width: 13px;
  height: 13px;
  content: "";
  background: var(--surface);
  border-top: 1px solid var(--muted);
  border-right: 1px solid var(--muted);
  transform: translateY(-50%) rotate(45deg);
}

.delivery-stage-grid article:last-child::after {
  display: none;
}

.delivery-stage-grid span {
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
}

.delivery-stage-grid h3 {
  margin: 42px 0 10px;
  color: var(--ink);
  font-size: 21px;
}

.delivery-stage-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.product-system-nav {
  background: #edf3f7;
  border-top: 1px solid #d8e3ec;
  border-bottom: 1px solid #d8e3ec;
}

.system-tab-bar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.system-tab {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3px 18px;
  min-height: 132px;
  padding: 28px 38px;
  color: #31445b;
  text-align: left;
  background: transparent;
  border: 0;
  border-right: 1px solid #d3dfe8;
}

.system-tab:last-child {
  border-right: 0;
}

.system-tab small {
  grid-row: 1 / 3;
  align-self: center;
  color: #8b9aac;
  font-size: 28px;
  font-weight: 800;
}

.system-tab strong {
  align-self: end;
  color: var(--ink);
  font-size: 22px;
}

.system-tab span {
  color: var(--muted);
  font-size: 13px;
}

.system-tab.active {
  color: var(--white);
  background: #17222d;
}

.system-tab.active small {
  color: #65d7e5;
}

.system-tab.active strong,
.system-tab.active span {
  color: var(--white);
}

.system-panel {
  padding: 92px 0;
}

.system-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.7fr);
  align-items: end;
  gap: 72px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.system-intro h2,
.foi-intro-grid h2,
.resource-entry-section h2,
.fos-resource-section h2,
.foi-resource-section h2 {
  margin: 0;
  color: var(--ink);
}

.system-intro > p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.fos-kit-list {
  display: grid;
}

.fos-kit-row {
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(0, 1.18fr);
  min-height: 470px;
  border-bottom: 1px solid var(--line);
}

.fos-kit-row.reverse {
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
}

.fos-kit-row.reverse .fos-kit-media {
  grid-column: 2;
}

.fos-kit-row.reverse .fos-kit-content {
  grid-column: 1;
  grid-row: 1;
}

.fos-kit-media {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 44px;
  background: #f2f6f9;
}

.fos-kit-media img {
  width: 100%;
  height: 350px;
  object-fit: contain;
}

.kit-index {
  position: absolute;
  top: 24px;
  left: 28px;
  color: #9aa8b5;
  font-size: 13px;
  font-weight: 800;
}

.fos-kit-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 54px 64px;
}

.fos-kit-content h3 {
  margin: 0;
  color: var(--ink);
  font-size: 36px;
  line-height: 1.15;
}

.fos-kit-content h4 {
  margin: 8px 0 0;
  color: #33475f;
  font-size: 18px;
}

.fos-kit-content > p {
  max-width: 680px;
  margin: 20px 0;
  color: var(--muted);
  font-size: 16px;
}

.kit-resource-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.kit-resource-links a {
  padding: 13px 4px;
  color: #2d4057;
  font-size: 13px;
  font-weight: 700;
  border-bottom: 1px solid var(--line);
}

.kit-resource-links a:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.kit-resource-links a:nth-child(even) {
  padding-left: 18px;
}

.kit-resource-links a:hover {
  color: var(--blue);
}

.kit-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 24px;
  margin-top: 28px;
}

.foi-system-intro {
  padding: 0 0 92px;
  color: var(--white);
  background: #131d27;
}

.foi-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(440px, 1.15fr);
  align-items: center;
  min-height: 560px;
  gap: 80px;
}

.foi-intro-grid h2 {
  color: var(--white);
  font-size: 42px;
}

.foi-intro-grid p,
.foi-intro-grid li {
  color: #bdc9d3;
}

.foi-intro-grid p {
  margin: 24px 0;
  font-size: 17px;
}

.foi-intro-grid ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.foi-intro-grid li + li {
  margin-top: 10px;
}

.foi-intro-grid li::before {
  margin-right: 10px;
  color: #61d7e5;
  content: "•";
}

.foi-intro-grid img {
  width: 100%;
  height: 390px;
  object-fit: cover;
}

.foi-components,
.foi-domain-section {
  padding-top: 88px;
}

.foi-component-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 30px;
}

.foi-component-grid article {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px 18px;
  padding: 20px 0 28px;
  border-top: 2px solid #253748;
}

.foi-component-grid article > span {
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
}

.foi-component-grid img {
  grid-column: 1 / -1;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: transparent;
}

.foi-component-grid h3,
.foi-component-grid p,
.foi-component-grid .text-link {
  grid-column: 2;
}

.foi-component-grid h3 {
  margin: 0;
  color: var(--ink);
  font-size: 19px;
}

.foi-component-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.foi-domain-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.foi-domain-card {
  display: grid;
  grid-template-columns: 42% 58%;
  min-height: 390px;
  overflow: hidden;
  background: var(--bg-muted);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.foi-domain-card:first-child {
  grid-column: 1 / -1;
  grid-template-columns: 36% 64%;
}

.foi-domain-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.foi-domain-card > div {
  min-width: 0;
  padding: 32px;
}

.foi-domain-card > div > span {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.foi-domain-card h3 {
  margin: 8px 0 12px;
  color: var(--ink);
  font-size: 24px;
}

.foi-domain-card p {
  margin: 0;
  color: var(--muted);
}

.foi-domain-card ul {
  padding: 0;
  margin: 22px 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.foi-domain-card li {
  border-bottom: 1px solid var(--line);
}

.foi-domain-card li a {
  display: block;
  padding: 10px 0;
  color: #35485f;
  font-size: 13px;
}

.foi-domain-card li a:hover {
  color: var(--blue);
}

.product-resource-cta {
  padding: 68px 0;
  color: var(--white);
  background: #e3182d;
}

.product-resource-cta .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.product-resource-cta .eyebrow,
.product-resource-cta h2 {
  color: var(--white);
}

.product-resource-cta h2 {
  max-width: 760px;
  margin: 0;
}

.product-resource-cta .btn {
  color: var(--red);
  background: var(--surface);
  border-color: var(--white);
}

.product-resource-cta .btn.secondary {
  color: var(--white);
  background: transparent;
}

.resource-entry-section,
.foi-resource-section {
  padding-top: 90px;
  padding-bottom: 90px;
}

.resource-entry-section .section-head > p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
}

.resource-entry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.resource-entry {
  position: relative;
  min-height: 300px;
  padding: 42px;
  overflow: hidden;
  color: var(--white);
  background: #16222e;
  border-radius: 8px;
}

.resource-entry-foi {
  background: #28323b;
}

.resource-entry > span {
  color: #64d8e6;
  font-size: 14px;
  font-weight: 800;
}

.resource-entry h3 {
  max-width: 440px;
  margin: 70px 0 12px;
  color: var(--white);
  font-size: 30px;
}

.resource-entry p {
  max-width: 520px;
  color: #bdc9d3;
}

.resource-entry strong {
  position: absolute;
  right: 42px;
  bottom: 36px;
  color: var(--white);
  font-size: 14px;
}

.fos-resource-section {
  padding: 90px 0;
  background: #f1f5f8;
}

.fos-resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 30px;
}

.fos-resource-kit {
  min-width: 0;
  padding: 24px;
  background: var(--surface);
  border: 1px solid #d8e3ec;
  border-radius: 8px;
}

.fos-resource-product {
  display: grid;
  grid-template-columns: 124px 1fr;
  align-items: center;
  gap: 20px;
  min-height: 150px;
}

.fos-resource-product img {
  width: 124px;
  height: 124px;
  padding: 8px;
  object-fit: contain;
  background: #f4f7f9;
}

.fos-resource-product span {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 800;
}

.fos-resource-product h3 {
  margin: 5px 0;
  color: var(--ink);
  font-size: 20px;
}

.fos-resource-product p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.resource-folder-list {
  display: grid;
  margin: 18px 0 22px;
  border-top: 1px solid var(--line);
}

.resource-folder-list a {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  padding: 12px 0;
  color: #30445c;
  font-size: 13px;
  font-weight: 700;
  border-bottom: 1px solid var(--line);
}

.resource-folder-list a span {
  color: #9aa7b5;
  font-size: 11px;
}

.resource-folder-list a:hover {
  color: var(--blue);
}

.foi-resource-accordion {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.foi-resource-domain {
  border-top: 1px solid #cbd8e3;
  border-bottom: 1px solid #cbd8e3;
}

.foi-resource-domain summary {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 154px;
  padding: 24px 8px;
  cursor: pointer;
  list-style: none;
}

.foi-resource-domain summary::-webkit-details-marker {
  display: none;
}

.foi-resource-domain summary > span {
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
}

.foi-resource-domain summary small {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.foi-resource-domain summary h3 {
  margin: 4px 0;
  color: var(--ink);
  font-size: 24px;
}

.foi-resource-domain summary p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.foi-resource-domain summary > strong {
  color: #52657b;
  font-size: 13px;
}

.foi-resource-domain[open] summary {
  background: #f4f7f9;
}

.foi-scenario-list {
  padding: 0 24px 24px 88px;
}

.foi-scenario-row {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 32px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.scenario-title {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
}

.scenario-title > span {
  color: #a0acb8;
  font-size: 11px;
  font-weight: 800;
}

.scenario-title h4 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.45;
}

.scenario-title a {
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

.scenario-resource-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.scenario-resource-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  color: #40536a;
  font-size: 12px;
  font-weight: 700;
  background: #f3f6f8;
  border: 1px solid #e0e7ed;
  border-radius: 5px;
}

.scenario-resource-links a:hover {
  color: var(--blue);
  border-color: #9ec4f8;
}

.curated-resource-section {
  padding: 10px 0 96px;
  background: #f6f8fa;
}

.curated-resource-section .resource-catalog {
  padding-top: 76px;
  padding-bottom: 0;
}

.resource-toolbar > div > p {
  margin: 8px 0 0;
  color: var(--muted);
}

.compact-resource-filters {
  padding-top: 20px;
}

.curated-resource-grid .resource-card {
  min-height: 290px;
}

.curated-resource-grid .resource-cover {
  min-height: 290px;
}

@media (max-width: 1180px) {
  .home-fos-grid,
  .foi-home-domain-grid,
  .fos-resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-fos-grid .product-card:last-child,
  .foi-home-domain-grid .application-visual:last-child,
  .fos-resource-grid .fos-resource-kit:last-child {
    grid-column: 1 / -1;
  }

  .delivery-stage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .delivery-stage-grid article:nth-child(2) {
    border-right: 0;
  }

  .delivery-stage-grid article:nth-child(-n + 2) {
    border-bottom: 1px solid #cbd9e6;
  }

  .delivery-stage-grid article:nth-child(2)::after {
    display: none;
  }

  .fos-kit-row,
  .fos-kit-row.reverse,
  .foi-intro-grid {
    grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  }

  .fos-kit-content {
    padding: 44px;
  }

  .foi-domain-card,
  .foi-domain-card:first-child {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .foi-domain-card > img {
    height: 240px;
  }
}

@media (max-width: 900px) {
  .system-tab {
    padding: 24px;
  }

  .system-intro,
  .fos-kit-row,
  .fos-kit-row.reverse,
  .foi-intro-grid,
  .foi-scenario-row {
    grid-template-columns: 1fr;
  }

  .fos-kit-row.reverse .fos-kit-media,
  .fos-kit-row.reverse .fos-kit-content {
    grid-column: auto;
    grid-row: auto;
  }

  .foi-component-grid,
  .foi-domain-grid,
  .scenario-resource-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .foi-intro-grid {
    gap: 34px;
    padding-top: 60px;
  }

  .product-resource-cta .container {
    align-items: flex-start;
    flex-direction: column;
  }

  .fos-resource-product {
    grid-template-columns: 100px 1fr;
  }

  .fos-resource-product img {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 760px) {
  .hero-content h1 {
    font-size: 42px;
  }

  .home-fos-grid,
  .foi-home-domain-grid,
  .delivery-stage-grid,
  .system-tab-bar,
  .foi-component-grid,
  .foi-domain-grid,
  .resource-entry-grid,
  .fos-resource-grid,
  .scenario-resource-links {
    grid-template-columns: 1fr;
  }

  .home-fos-grid .product-card:last-child,
  .foi-home-domain-grid .application-visual:last-child,
  .fos-resource-grid .fos-resource-kit:last-child {
    grid-column: auto;
  }

  .home-fos-grid .product-card {
    grid-template-columns: 1fr;
  }

  .delivery-architecture,
  .system-panel,
  .resource-entry-section,
  .foi-resource-section,
  .fos-resource-section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .delivery-stage-grid article {
    min-height: 180px;
    border-right: 0;
    border-bottom: 1px solid #cbd9e6;
  }

  .delivery-stage-grid article::after {
    display: none;
  }

  .delivery-stage-grid h3 {
    margin-top: 24px;
  }

  .system-tab {
    min-height: 112px;
    border-right: 0;
    border-bottom: 1px solid #d3dfe8;
  }

  .fos-kit-row {
    min-height: 0;
  }

  .fos-kit-media,
  .fos-kit-content {
    padding: 28px 22px;
  }

  .fos-kit-media img {
    height: 240px;
  }

  .fos-kit-content h3 {
    font-size: 29px;
  }

  .kit-resource-links {
    grid-template-columns: 1fr;
  }

  .kit-resource-links a:nth-child(odd) {
    border-right: 0;
  }

  .kit-resource-links a:nth-child(even) {
    padding-left: 4px;
  }

  .foi-intro-grid h2 {
    font-size: 34px;
  }

  .foi-intro-grid img {
    height: 250px;
  }

  .resource-entry {
    min-height: 260px;
    padding: 28px 24px;
  }

  .resource-entry h3 {
    margin-top: 48px;
    font-size: 25px;
  }

  .resource-entry strong {
    right: 24px;
    bottom: 24px;
  }

  .foi-resource-domain summary {
    grid-template-columns: 38px 1fr;
    gap: 12px;
  }

  .foi-resource-domain summary > strong {
    grid-column: 2;
  }

  .foi-scenario-list {
    padding: 0 16px 16px;
  }

  .foi-scenario-row {
    gap: 18px;
  }

  .curated-resource-section .resource-catalog {
    padding-top: 54px;
  }
}

/* 2026 material-driven product and resource experience */
.eyebrow,
.hero-kicker,
.product-category-label,
.solution-code,
.application-visual span {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero-material {
  display: flex;
  align-items: stretch;
  min-height: min(760px, calc(100vh - 118px));
  color: var(--white);
  background-color: #111820;
  background-image: url("../images/official/hero-fulai-sensing.webp");
  background-position: center;
  background-size: cover;
}

.hero-material::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background: rgba(5, 15, 27, 0.68);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: inherit;
  padding-top: 72px;
  padding-bottom: 72px;
}

.hero-kicker {
  margin-bottom: 18px;
  color: #8ee9f5;
}

.hero-content h1 {
  max-width: 720px;
  margin: 0;
  color: var(--white);
  font-size: 58px;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-content > p {
  max-width: 760px;
  margin: 24px 0 0;
  color: #d9e4ee;
  font-size: 20px;
  line-height: 1.75;
}

.hero-secondary {
  color: var(--white) !important;
  background: rgba(8, 18, 31, 0.35) !important;
  border-color: rgba(255, 255, 255, 0.72) !important;
}

.hero-secondary:hover {
  color: var(--ink) !important;
  background: var(--white) !important;
}

.hero-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 36px;
  margin-top: 42px;
}

.hero-signals span {
  display: grid;
  gap: 2px;
  min-width: 128px;
  color: #b9c8d7;
  font-size: 13px;
}

.hero-signals strong {
  color: var(--white);
  font-size: 23px;
  line-height: 1.2;
}

.capability-strip {
  position: relative;
  z-index: 2;
  margin-top: 0;
  background: var(--card-bg);
  border-color: var(--card-border);
}

.capability-index {
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
}

.solution-showcase,
.application-showcase,
.resource-security-band {
  padding: 92px 0;
  background: #f2f5f7;
}

.solution-heading {
  align-items: end;
}

.solution-heading p,
.application-showcase .section-head > p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.solution-panel {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid #d9e3eb;
  border-radius: 8px;
}

.solution-panel img {
  width: 100%;
  aspect-ratio: 16 / 8.5;
  object-fit: cover;
}

.solution-panel > div {
  padding: 28px 30px 32px;
}

.solution-panel h3,
.application-visual h3,
.resource-card h3,
.product-line-panel h2,
.catalog-toolbar h2,
.resource-toolbar h2 {
  margin: 0;
  color: var(--ink);
}

.solution-panel p {
  margin: 10px 0 18px;
  color: var(--muted);
}

.home-products {
  padding-top: 92px;
  padding-bottom: 92px;
}

.product-card {
  grid-template-columns: minmax(190px, 42%) 1fr;
}

.product-media {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 230px;
  background: transparent;
  overflow: hidden;
}

.product-card .product-media img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  padding: 12px;
  object-fit: contain;
  filter: drop-shadow(0 14px 18px rgba(16, 42, 72, 0.13));
  transition: transform 260ms ease;
}

.product-card:hover .product-media img {
  transform: scale(1.035);
}

.product-card:hover .product-media .card-carousel img {
  transform: none;
}

.product-media .card-carousel,
.product-media .card-carousel-stage,
.reference-catalog-card .product-media .card-carousel,
.reference-catalog-card .product-media .card-carousel-stage {
  width: 100%;
  height: 100%;
  min-height: inherit;
}

.product-category-label {
  margin-bottom: 7px;
  color: var(--cyan);
}

.application-showcase {
  background: #111820;
}

.application-showcase .section-head h2,
.application-showcase .eyebrow {
  color: var(--white);
}

.application-showcase .section-head > p {
  color: #aebdca;
}

.application-visual-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 30px;
}

.application-visual {
  overflow: hidden;
  background: #1a2530;
  border: 1px solid #33414f;
  border-radius: 8px;
}

.application-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.application-visual > div {
  min-height: 174px;
  padding: 24px 26px 28px;
}

.application-visual span {
  color: #64d6e5;
}

.application-visual h3 {
  color: var(--white);
  font-size: 20px;
}

.application-visual p {
  margin: 8px 0 0;
  color: #b6c3ce;
}

.home-resources,
.home-news {
  padding-top: 92px;
  padding-bottom: 92px;
}

.home-news {
  padding-top: 0;
}

.resource-preview-list,
.product-resource-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.resource-preview-list article,
.product-resource-list article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.resource-preview-list h3,
.product-resource-list h3 {
  margin: 4px 0;
  color: var(--ink);
  font-size: 18px;
}

.resource-preview-list article > div > span,
.product-resource-list article > div > span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.resource-preview-list .btn,
.product-resource-list .btn,
.resource-preview-list .btn span,
.product-resource-list .btn span {
  color: var(--btn-fg);
  font-size: 14px;
  font-weight: 400;
}

.resource-preview-list p,
.product-resource-list p {
  margin: 0;
  color: var(--muted);
}

.page-hero {
  color: var(--text);
  background:
    radial-gradient(ellipse at 82% 30%, var(--hero-glow), transparent 46%),
    linear-gradient(180deg, var(--hero-from) 0%, var(--bg) 100%);
}

.page-hero::before {
  opacity: 0.16;
}

.products-hero .page-hero-img,
.resource-hero .page-hero-img {
  height: 310px;
  padding: 18px;
  object-fit: contain;
  background: var(--surface);
  border: 1px solid var(--line);
}

.product-line-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding-top: 56px;
}

.product-line-panel {
  display: grid;
  grid-template-columns: 48% 52%;
  min-height: 390px;
  overflow: hidden;
  color: var(--white);
  background: #15212d;
  border-radius: 8px;
}

.product-line-panel > div {
  align-self: center;
  padding: 36px;
}

.product-line-panel h2 {
  color: var(--white);
  font-size: 27px;
}

.product-line-panel p,
.product-line-panel li {
  color: #c4d0da;
}

.product-line-panel ul {
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.product-line-panel li + li {
  margin-top: 8px;
}

.product-line-panel li::before {
  margin-right: 9px;
  color: #59d4e4;
  content: "•";
}

.product-line-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-line-foi {
  background: #20252b;
}

.product-catalog-section,
.resource-catalog {
  padding-top: 72px;
  padding-bottom: 96px;
}

.catalog-toolbar,
.resource-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
}

.catalog-search,
.resource-search {
  width: min(390px, 100%);
}

.product-category-chips {
  margin-bottom: 28px;
}

.product-catalog-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.empty-state {
  grid-column: 1 / -1;
  padding: 50px 0;
  margin: 0;
  color: var(--muted);
  text-align: center;
}

.resource-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: -24px;
  background: var(--surface);
  border: 1px solid #d6e1e9;
  border-radius: 8px;
  box-shadow: 0 18px 34px rgba(24, 46, 68, 0.08);
}

.resource-stats div {
  display: grid;
  gap: 4px;
  padding: 24px 30px;
  border-right: 1px solid var(--line);
}

.resource-stats div:last-child {
  border-right: 0;
}

.resource-stats strong {
  color: var(--ink);
  font-size: 26px;
}

.resource-stats span {
  color: var(--muted);
  font-size: 13px;
}

.resource-filter-row {
  display: grid;
  gap: 18px;
  padding: 22px 0 28px;
  border-top: 1px solid var(--line);
}

.resource-filter-group {
  display: grid;
  grid-template-columns: 84px 1fr;
  align-items: start;
  gap: 18px;
}

.resource-filter-group > span {
  padding-top: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.resource-card {
  display: grid;
  grid-template-columns: 190px 1fr;
  min-height: 330px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid #d8e2ea;
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(24, 46, 68, 0.055);
}

.resource-cover {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  background: var(--bg-muted);
}

.resource-cover-placeholder {
  display: grid;
  place-items: center;
  color: #657384;
  font-size: 30px;
  font-weight: 800;
}

.resource-card-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px;
}

.resource-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

.access-badge {
  padding: 3px 8px;
  color: #536272;
  font-size: 11px;
  font-weight: 800;
  background: #edf1f4;
  border-radius: 4px;
}

.access-internal {
  color: #9c501c;
  background: #fff1e7;
}

.access-public {
  color: #08714c;
  background: #e7f7ef;
}

.resource-card h3 {
  margin-top: 14px;
  font-size: 19px;
  line-height: 1.4;
}

.resource-card-body > p {
  margin: 8px 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.resource-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  margin: auto 0 20px;
}

.resource-facts div {
  min-width: 0;
}

.resource-facts dt,
.resource-facts dd {
  margin: 0;
  font-size: 12px;
}

.resource-facts dt {
  color: #8793a0;
}

.resource-facts dd {
  overflow: hidden;
  color: #35465a;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.resource-card-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.resource-code {
  color: var(--muted);
  font-size: 12px;
}

.resource-security-band {
  color: var(--white);
  background: #15212d;
}

.resource-security-inner {
  display: grid;
  grid-template-columns: minmax(340px, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 64px;
}

.resource-security-inner h2 {
  margin: 0;
  color: var(--white);
}

.resource-security-inner p {
  margin: 0;
  color: #bac6d0;
  font-size: 17px;
}

.product-detail-page {
  padding-bottom: 88px;
}

.foi-purchase-note {
  padding-left: 14px;
  border-left: 3px solid var(--cyan);
  color: var(--text);
  font-size: 14px;
  line-height: 1.7;
}

.product-gallery {
  min-width: 0;
}

.gallery-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 520px;
  background: var(--bg-muted);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.gallery-stage > [hidden] {
  display: none !important;
}

.gallery-stage .gallery-main {
  width: 100%;
  height: 520px;
  padding: 20px;
  object-fit: contain;
  background: transparent;
  border: 0;
  border-radius: 0;
  filter: drop-shadow(0 18px 22px rgba(16, 42, 72, 0.12));
}

.gallery-stage .gallery-main:not([src*="-transparent."]) {
  padding: 0;
  object-fit: contain;
  background: var(--bg-muted);
  filter: none;
}

.gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  padding-bottom: 6px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
}

.gallery-thumb-button {
  flex: 0 0 calc((100% - 30px) / 4);
  height: 82px;
  padding: 4px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  scroll-snap-align: start;
  cursor: pointer;
}

.gallery-thumb-button.active {
  border-color: var(--blue);
}

.gallery-thumb-button img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
}

.gallery-stage .gallery-video,
.gallery-stage .gallery-video video {
  width: 100%;
  height: 100%;
  min-height: inherit;
}

.gallery-stage .gallery-video video {
  display: block;
  max-height: none;
  object-fit: contain;
  background: #0f1728;
  border: 0;
  border-radius: 0;
}

.gallery-thumb-video {
  position: relative;
}

.gallery-play-badge {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(7, 26, 56, 0.38);
  pointer-events: none;
}

.gallery-play-badge svg {
  width: 22px;
  height: 22px;
}

.gallery-thumb-video.active .gallery-play-badge {
  background: rgba(15, 76, 129, 0.42);
}

.detail-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 30px 0 0;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.detail-metrics div {
  display: grid;
  gap: 4px;
  padding: 22px 24px;
  border-right: 1px solid var(--line);
}

.detail-metrics div:last-child {
  border-right: 0;
}

.detail-metrics strong {
  color: var(--ink);
  font-size: 20px;
}

.detail-metrics span {
  color: var(--muted);
  font-size: 12px;
}

.detail-section-nav {
  position: sticky;
  top: 72px;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  padding: 18px 0;
  margin: 40px 0 0;
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
}

.detail-section-nav a {
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
}

.detail-section-nav a:hover {
  color: var(--blue);
}

.detail-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.6fr);
  gap: 54px;
  padding: 72px 0;
}

.product-overview h2,
.integration-panel h2,
.detail-spec-section h2,
.product-applications h2,
.product-resources h2,
.product-guides h2,
.product-updates h2 {
  margin: 0;
  color: var(--ink);
  font-size: 28px;
}

.integration-panel {
  align-self: start;
  padding: 28px;
  background: var(--bg-muted);
  border-left: 4px solid var(--cyan);
}

.integration-panel ol {
  padding-left: 22px;
  margin: 20px 0 0;
}

.integration-panel li + li {
  margin-top: 12px;
}

.detail-spec-section,
.product-applications,
.product-resources,
.product-guides,
.product-updates {
  padding: 64px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 130px;
}

.detail-spec-section .table-card {
  margin-top: 24px;
}

.spec-note {
  padding: 16px 18px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
  background: var(--icon-orange-bg);
  border-left: 3px solid var(--orange);
}

.application-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
  overflow: hidden;
  background: var(--bg-muted);
  border: 1px solid var(--line);
  border-radius: 6px;
  counter-reset: application-item;
}

.application-list article {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-height: 64px;
  padding: 16px 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.application-list article:nth-child(2n) {
  border-right: none;
}

.application-list article:nth-last-child(-n + 2):nth-child(odd),
.application-list article:last-child:nth-child(even) {
  border-bottom: none;
}

.application-list article:last-child:nth-child(odd) {
  border-right: none;
  border-bottom: none;
  grid-column: 1 / -1;
}

.application-list article::before {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.55;
  content: counter(application-item, decimal-leading-zero);
  counter-increment: application-item;
}

.application-list article strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
}

.mapping-table-wrap {
  margin-top: 24px;
  overflow: hidden;
  background: var(--bg-muted);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.mapping-table {
  width: 100%;
  border-collapse: collapse;
}

.mapping-table th,
.mapping-table td {
  padding: 16px 18px;
  text-align: left;
  vertical-align: top;
}

.mapping-table th {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.mapping-table td {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.55;
}

.mapping-table tbody tr + tr td {
  border-top: 1px solid var(--line);
}

.mapping-table .mapping-form {
  width: 18%;
  color: var(--muted);
}

.mapping-table .mapping-model {
  width: 26%;
  font-weight: 700;
  white-space: nowrap;
}

.mapping-table .mapping-apps {
  width: auto;
}

.product-resources .section-head {
  margin-bottom: 18px;
}

.product-guides .section-head,
.product-updates .section-head {
  align-items: flex-start;
  margin-bottom: 22px;
}

.section-description {
  max-width: 620px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.product-guide-list,
.product-update-list {
  display: grid;
  gap: 12px;
}

.product-guide-group-title { margin: 20px 0 2px; font-size: 17px; line-height: 1.4; }
.product-guide-group-title:first-child { margin-top: 0; }

.product-tutorial-steps .product-guide-card { border-left: 3px solid var(--accent, #23736b); }
.tutorial-step-number { display: inline-block; margin-bottom: 10px; color: var(--accent, #23736b); font-size: 14px; }

.product-guide-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding: 22px 24px;
  background: var(--bg-muted);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.product-guide-body {
  min-width: 0;
}

.product-guide-meta,
.product-update-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.product-guide-meta span + span {
  padding-left: 14px;
  border-left: 1px solid var(--line);
}

.product-update-meta > span + span {
  padding-left: 0;
  border-left: 0;
}

.product-guide-card h3,
.product-update-card h3 {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: 19px;
}

.product-guide-card h3 a {
  color: inherit;
}

.product-guide-card h3 a:hover {
  color: var(--blue);
}

.product-guide-card p {
  max-width: 760px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.product-guide-prerequisites strong {
  color: var(--ink);
}

.product-guide-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 12px;
}

.product-guide-links a {
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}

.product-guide-card > .btn {
  flex: 0 0 auto;
  margin-top: 4px;
}

.product-update-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 20px;
  padding: 20px 22px;
  background: var(--bg-muted);
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

.product-update-card:hover,
.product-update-card:focus-within { border-color: var(--blue); }

.product-update-card:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.product-update-card time {
  padding-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.product-update-meta strong {
  color: var(--ink);
}

.product-update-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.product-update-body {
  min-width: 0;
}

.product-update-changes {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.product-update-changes .change-item {
  min-height: 0;
  padding: 12px 14px;
  background: var(--surface);
}

.product-update-changes h4 {
  margin-bottom: 7px;
}

.product-update-changes ul {
  font-size: 13px;
  line-height: 1.6;
}

.related-products-section {
  padding-bottom: 0;
}

.related-grid .product-card {
  grid-template-columns: 1fr;
}

.related-grid .product-media,
.related-grid .product-card .product-media img {
  min-height: 170px;
}

.related-grid .product-card-body {
  padding: 20px;
}

.docs-catalog {
  margin-top: 44px;
  padding-top: 8px;
}

.docs-guide-catalog {
  margin-top: 44px;
  padding-top: 8px;
  scroll-margin-top: 100px;
}

.docs-guide-catalog > p {
  max-width: 58em;
  color: var(--muted);
}

.docs-guide-toolbar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(220px, 1.4fr);
  gap: 12px;
  padding: 16px;
  margin-top: 20px;
  background: var(--bg-muted);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.docs-guide-toolbar label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.docs-guide-toolbar select,
.docs-guide-toolbar input {
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 5px;
}

.docs-guide-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.docs-guide-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.docs-guide-card-body {
  min-width: 0;
}

.docs-guide-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.docs-guide-meta span + span {
  padding-left: 12px;
  border-left: 1px solid var(--line);
}

.docs-guide-card h3 {
  margin: 8px 0 6px;
  font-size: 19px;
}

.docs-guide-card h3 a {
  color: var(--ink);
}

.docs-guide-card h3 a:hover {
  color: var(--blue);
}

.docs-guide-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.docs-guide-card > .btn {
  flex: 0 0 auto;
  margin-top: 3px;
}

.docs-guide-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 12px;
}

.docs-guide-links a {
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}

.docs-guide-empty {
  padding: 18px 20px;
  margin-top: 16px;
  color: var(--muted);
  background: var(--bg-muted);
  border: 1px dashed var(--line);
  border-radius: 8px;
}

@media (max-width: 760px) {
  .docs-guide-toolbar {
    grid-template-columns: 1fr;
  }

  .docs-guide-card {
    display: block;
  }

  .docs-guide-card > .btn {
    display: inline-flex;
    margin-top: 16px;
  }
}

.docs-catalog > p {
  max-width: 46em;
  color: var(--muted);
}

.docs-catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.docs-catalog-grid article {
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.docs-catalog-grid h3 {
  margin: 0 0 12px;
}

.docs-catalog-grid ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.docs-catalog-grid li {
  display: grid;
  gap: 2px;
}

.docs-catalog-grid a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.docs-catalog-grid a:hover {
  color: var(--blue);
}

.docs-catalog-grid span {
  color: var(--muted);
  font-size: 12px;
}

.docs-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 28px;
  margin-top: 44px;
  color: var(--white);
  background: #172431;
  border-radius: 8px;
}

.docs-cta h2,
.docs-cta p {
  margin: 0;
  color: inherit;
}

.docs-cta p {
  margin-top: 6px;
  color: #bdc8d1;
}

.docs-content section {
  scroll-margin-top: 100px;
}

/* Scroll-in motion: restrained distance, soft easing and short stagger. */
@media (prefers-reduced-motion: no-preference) {
  html.theme-ready .wow:not(.fulai-animated) {
    opacity: 0;
  }
}

.fulai-animated {
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  animation-fill-mode: both;
  animation-duration: var(--fulai-motion-duration, 720ms);
}

.fulai-rise-in {
  animation-name: fulaiRiseIn;
}

.fulai-soft-in {
  animation-name: fulaiSoftIn;
}

.fulai-fade-in {
  animation-name: fulaiFadeIn;
}

@keyframes fulaiRiseIn {
  from {
    opacity: 0;
    translate: 0 22px;
  }
  to {
    opacity: 1;
    translate: none;
  }
}

@keyframes fulaiSoftIn {
  from {
    opacity: 0;
    translate: 0 12px;
    scale: 0.985;
  }
  to {
    opacity: 1;
    translate: none;
    scale: none;
  }
}

@keyframes fulaiFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.product-card,
.reference-domain-card,
.news-card,
.foi-system-module,
.reference-catalog-card,
.reference-quick-grid .quick-card {
  transition:
    transform var(--lift-out-duration) var(--lift-ease),
    border-color 280ms ease;
}

.product-card:hover,
.reference-domain-card:hover,
.news-card:hover,
.foi-system-module:hover,
.reference-catalog-card:hover,
.reference-quick-grid .quick-card:hover,
.reference-quick-grid .quick-card:focus-visible {
  transform: translate3d(0, -5px, 0);
  transition-duration: var(--lift-duration);
}

.reference-domain-card > img {
  transition: transform 680ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reference-domain-card:hover > img {
  transform: scale(1.045);
}

@media (prefers-reduced-motion: reduce) {
  .wow,
  .fulai-animated {
    opacity: 1;
    translate: none;
    scale: none;
    animation: none;
    transition: none;
  }

  .product-card .product-media img,
  .product-card:hover,
  .reference-domain-card:hover,
  .news-card:hover,
  .foi-system-module:hover,
  .reference-catalog-card:hover,
  .reference-quick-grid .quick-card:hover,
  .reference-quick-grid .quick-card:focus-visible,
  .reference-domain-card > img,
  .reference-domain-card:hover > img {
    opacity: 1;
    transform: none;
    translate: none;
    scale: none;
    transition: none;
  }
}

@media (max-width: 1180px) {
  .solution-grid,
  .product-line-showcase,
  .resource-grid {
    grid-template-columns: 1fr;
  }

  .application-visual-grid,
  .application-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-catalog-grid {
    grid-template-columns: 1fr;
  }

  .resource-card {
    grid-template-columns: 220px 1fr;
  }
}

@media (max-width: 760px) {
  .hero-material {
    min-height: min(650px, calc(100svh - 92px));
    background-position: 42% center;
  }

  .hero-material::before {
    background: rgba(5, 15, 27, 0.76);
  }

  .hero-content {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .hero-content h1 {
    font-size: 40px;
  }

  .hero-content > p {
    font-size: 17px;
  }

  .hero-signals {
    gap: 18px;
    margin-top: 30px;
  }

  .hero-signals span {
    min-width: calc(50% - 12px);
  }

  .capability-strip {
    margin-top: -18px;
  }

  .solution-showcase,
  .application-showcase,
  .resource-security-band,
  .home-products,
  .home-resources,
  .home-news {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .solution-heading,
  .application-showcase .section-head,
  .catalog-toolbar,
  .resource-toolbar,
  .resource-preview-list article,
  .product-resource-list article,
  .docs-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .solution-panel > div {
    padding: 24px;
  }

  .application-visual-grid,
  .application-list,
  .product-catalog-grid {
    grid-template-columns: 1fr;
  }

  .application-list article,
  .application-list article:nth-child(2n),
  .application-list article:nth-last-child(-n + 2):nth-child(odd),
  .application-list article:last-child:nth-child(even),
  .application-list article:last-child:nth-child(odd) {
    border-right: none;
    grid-column: auto;
  }

  .application-list article:last-child {
    border-bottom: none;
  }

  .product-card {
    grid-template-columns: 1fr;
  }

  .product-media,
  .product-card .product-media img {
    min-height: 240px;
  }

  .product-line-panel {
    grid-template-columns: 1fr;
  }

  .product-line-panel > div {
    padding: 28px 24px;
  }

  .product-line-panel img {
    height: 250px;
  }

  .resource-stats,
  .detail-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .resource-stats div:nth-child(2),
  .detail-metrics div:nth-child(2) {
    border-right: 0;
  }

  .resource-stats div:nth-child(-n + 2),
  .detail-metrics div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .resource-filter-group {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .resource-filter-group > span {
    padding-top: 0;
  }

  .resource-card {
    grid-template-columns: 1fr;
  }

  .resource-cover {
    height: 210px;
    min-height: 210px;
  }

  .resource-security-inner,
  .detail-content-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .gallery-stage,
  .gallery-stage .gallery-main {
    height: 360px;
    min-height: 360px;
  }

  .gallery-thumb-button {
    flex-basis: calc((100% - 10px) / 2);
  }

  .detail-section-nav {
    top: 64px;
    gap: 8px 18px;
  }

  .detail-content-grid,
  .detail-spec-section,
  .product-applications,
  .product-resources,
  .product-guides,
  .product-updates {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .product-guide-card {
    display: block;
  }

  .product-guide-card > .btn {
    display: inline-flex;
    margin-top: 16px;
  }

  .product-update-card {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* Typecho content fallback */
.archive-main {
  min-height: 48vh;
}

.cms-list {
  display: grid;
  gap: 18px;
  margin-top: 20px;
}

.cms-card,
#main .post,
.page-content,
.error-page {
  width: min(900px, calc(100% - 96px));
  margin: 36px auto 0;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-clean);
}

.cms-card {
  width: 100%;
  margin: 0;
}

#main {
  min-height: 48vh;
}

#secondary {
  display: none;
}

.post-title {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 26px;
  line-height: 1.35;
}

.post-title a {
  color: inherit;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  padding: 0;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  list-style: none;
}

.post-content {
  color: var(--text);
}

.post-content img,
.post-content video,
.fulai-video video {
  max-width: 100%;
  height: auto;
}

.fulai-video {
  margin: 16px 0 0;
}

.product-videos,
.article-videos {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.article-videos {
  margin: 20px 0 8px;
}

.article-videos .fulai-video {
  margin: 0;
}

.article-videos .fulai-video video {
  aspect-ratio: 16 / 9;
  max-height: none;
  object-fit: contain;
}

.fulai-video video {
  display: block;
  width: 100%;
  max-height: 640px;
  background: #111827;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.fulai-video figcaption {
  padding-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.post-content .fulai-video {
  margin: 22px 0;
}

.article-page .cms-card {
  max-width: 960px;
  margin: 0 auto;
}

.guide-detail-page .cms-card {
  max-width: 960px;
  margin: 0 auto;
}

.guide-detail-header {
  padding: 18px 0 8px;
}

.guide-detail-header h1 {
  margin: 10px 0 0;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.2;
}

.guide-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.guide-detail-meta span + span,
.guide-detail-meta span + time,
.guide-detail-meta time + span {
  padding-left: 14px;
  border-left: 1px solid var(--line);
}

.guide-detail-summary {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.guide-detail-cover {
  margin: 22px 0 0;
}

.guide-detail-cover img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.guide-detail-links {
  display: grid;
  gap: 16px;
  padding: 18px 20px;
  margin: 24px 0;
  background: var(--bg-muted);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.guide-detail-links > div {
  display: grid;
  gap: 8px;
}

.guide-detail-links strong {
  color: var(--ink);
  font-size: 13px;
}

.guide-detail-links nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.guide-detail-links a {
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
}

.guide-detail-prerequisites {
  padding: 16px 18px;
  margin: 24px 0;
  background: var(--icon-orange-bg);
  border-left: 3px solid var(--orange);
}

.guide-detail-prerequisites strong {
  color: var(--ink);
}

.guide-detail-prerequisites p {
  margin: 6px 0 0;
  color: var(--muted);
}

.guide-detail-content {
  margin-top: 28px;
}

.article-cover {
  width: 100%;
  max-height: 420px;
  margin: 20px 0 24px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
}

@media (max-width: 760px) {
  .catalog-layout {
    padding-top: 20px;
  }

  .filter-panel {
    padding: 18px;
  }

  .filter-panel .filter-group:not(:first-child) {
    display: none;
  }
}

.post-content h2,
.post-content h3 {
  color: var(--ink);
}

.post-content p,
.post-content li {
  line-height: 1.85;
}

.docs-content h1,
.docs-content h2,
.docs-content h3,
.docs-content h4 {
  margin: 30px 0 12px;
  color: var(--ink);
  line-height: 1.35;
}

.docs-content h1:first-child,
.docs-content h2:first-child,
.docs-content h3:first-child {
  margin-top: 0;
}

.docs-content h2 { font-size: 24px; }
.docs-content h3 { font-size: 20px; }
.docs-content h4 { font-size: 17px; }

.docs-content p,
.docs-content ul,
.docs-content ol,
.docs-content blockquote,
.docs-content pre,
.docs-content table {
  margin: 0 0 18px;
}

.docs-content ul,
.docs-content ol {
  padding-left: 24px;
}

.docs-content blockquote {
  padding: 14px 18px;
  color: var(--text);
  background: var(--bg-muted);
  border-left: 3px solid var(--blue);
}

.docs-content code {
  padding: 2px 6px;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.9em;
  background: var(--bg-muted);
  border-radius: 4px;
}

.docs-content pre {
  overflow-x: auto;
  padding: 18px;
  color: #e5e5e5;
  background: #111111;
  border-radius: 6px;
}

.docs-content pre code {
  padding: 0;
  color: inherit;
  background: transparent;
}

.docs-content table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

.docs-content th,
.docs-content td {
  min-width: 120px;
  padding: 11px 14px;
  text-align: left;
  border: 1px solid var(--line);
}

.docs-content th {
  color: var(--ink);
  background: var(--bg-muted);
}

.tags,
.post-near,
.page-navigator {
  width: min(900px, calc(100% - 96px));
  margin: 24px auto 0;
}

.page-navigator {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.page-navigator a {
  display: grid;
  place-items: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  color: #30425f;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.page-navigator .current a,
.page-navigator a:hover {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

@media (max-width: 760px) {
  .cms-card,
  #main .post,
  .page-content,
  .error-page,
  .tags,
  .post-near,
  .page-navigator {
    width: min(100% - 28px, 680px);
  }

  .cms-card,
  #main .post,
  .page-content,
  .error-page {
    padding: 22px;
  }
}

.article-cover-figure {
  margin: 24px 0 0;
}

.article-cover-figure .article-cover {
  margin: 0;
}

.article-cover-figure figcaption {
  padding-top: 9px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.article-source-footnote {
  margin: 36px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.article-source-footnote p {
  margin: 0 0 6px;
}

.article-source-footnote p:last-child {
  margin-bottom: 0;
}

.article-source-footnote-mark {
  margin-right: 4px;
  font-variant-numeric: tabular-nums;
}

.article-source-footnote-link {
  margin-left: 6px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-source-footnote-link:hover {
  color: var(--blue);
}

.related-links {
  margin: 32px 0 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft, var(--surface));
}

.related-links-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.related-links-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
}

.related-links-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.related-links-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.related-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 46px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--surface);
  text-decoration: none;
  transition: border-color .2s ease, color .2s ease, transform .2s ease;
}

.related-link:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-1px);
}

.related-link-title {
  min-width: 0;
  line-height: 1.45;
}

.related-link-arrow {
  flex: 0 0 auto;
  color: var(--blue);
  font-size: 18px;
}

@media (max-width: 760px) {
  .related-links-head {
    display: block;
  }

  .related-links-head p {
    margin-top: 5px;
  }

  .related-links-list {
    grid-template-columns: 1fr;
  }
}

/* Keep the refactored system layouts authoritative after legacy theme rules. */
@media (min-width: 1181px) {
  .foi-home-domain-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.product-system-hero .page-hero-img,
.resource-library-hero .page-hero-img {
  height: 340px;
}

@media (max-width: 1180px) and (min-width: 761px) {
  .foi-home-domain-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .foi-home-domain-grid {
    grid-template-columns: 1fr;
  }

  .product-system-hero .page-hero-img,
  .resource-library-hero .page-hero-img {
    height: 250px;
  }
}

/* Reference-board visual system */
@media (min-width: 1181px) {
  .container {
    width: min(1510px, calc(100% - 160px));
  }
}

.reference-hero,
.reference-page-hero {
  color: var(--text);
  background:
    radial-gradient(ellipse at 78% 38%, var(--hero-glow), transparent 46%),
    linear-gradient(180deg, var(--hero-from) 0%, var(--bg) 100%);
}

.reference-hero::before,
.reference-page-hero::before {
  opacity: 0.18;
}

.home-page .reference-hero::before {
  opacity: 0;
}

.home-dot-grid {
  display: none;
}

@media (min-width: 761px) {
  .home-dot-grid {
    display: block;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
  }

  .home-page.has-dot-grid .container,
  .home-page.has-dot-grid .hero-inner {
    position: relative;
    z-index: 3;
  }

  .home-page.has-dot-grid .capability-strip {
    z-index: 3;
  }
}

.reference-hero .hero-inner {
  grid-template-columns: minmax(500px, 0.9fr) minmax(620px, 1.1fr);
  min-height: 420px;
  padding-top: 36px;
  padding-bottom: 28px;
}

@media (min-width: 1181px) {
  .reference-hero .hero-copy {
    transform: translateX(18px);
  }
}

.reference-hero .hero-copy h1 {
  color: var(--ink);
  font-size: 46px;
  font-weight: 750;
  line-height: 1.48;
}

.reference-hero .hero-copy p {
  max-width: 610px;
  color: var(--muted);
  font-size: 15px;
}

.reference-hero .hero-img {
  align-self: center;
  width: 100%;
  max-height: 440px;
  object-fit: contain;
  object-position: center right;
  background: transparent;
  filter: drop-shadow(0 16px 28px rgba(32, 61, 91, 0.14));
}

html[data-theme="dark"] .reference-hero .hero-img {
  filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.38));
}

.hero-touch-stage {
  position: relative;
  justify-self: end;
  width: min(760px, 100%);
  min-height: 330px;
  overflow: hidden;
  isolation: isolate;
  outline: none;
  cursor: pointer;
}

.hero-touch-stage:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 4px;
  border-radius: 8px;
}

.hero-touch-stage::before,
.hero-touch-stage::after {
  position: absolute;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.hero-touch-stage::before {
  display: none;
}

.hero-touch-stage::after {
  right: 5%;
  bottom: 6%;
  width: 72%;
  height: 26%;
  background: radial-gradient(ellipse at center, var(--hero-glow), transparent 68%);
  filter: blur(10px);
}

.hero-touch-hand {
  position: absolute;
  z-index: 20;
  top: 228px;
  left: 49%;
  width: 58%;
  transform: translate(-96.5%, calc(-77% - 16px));
  transform-origin: 62% 78%;
  transition: transform 800ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.hero-touch-hand img {
  position: relative;
  z-index: 2;
  width: 130%;
  max-width: none;
  height: auto;
  transform: translate(0, -4%);
  filter: contrast(1.04) brightness(1.01) drop-shadow(0 10px 14px rgba(32, 61, 91, 0.1));
  user-select: none;
  pointer-events: none;
}

.hero-touch-sensor {
  position: absolute;
  z-index: 2;
  right: -1%;
  bottom: 4%;
  width: 88%;
  height: 60%;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  clip-path: none;
  transform: perspective(760px) rotateX(44deg) rotateZ(-5deg);
  transform-origin: center;
}

@media (min-width: 761px) {
  .reference-hero .hero-img {
    align-self: stretch;
    max-height: none;
    height: 100%;
    margin-block: -20px -32px;
  }

  .reference-hero .hero-touch-stage {
    align-self: stretch;
    min-height: 0;
    margin-block: -28px -44px;
  }

  .reference-hero .hero-touch-hand {
    top: 270px;
    left: 60%;
  }

  .reference-hero .hero-touch-sensor {
    bottom: 35px;
    height: 198px;
    transform: perspective(760px) rotateX(44deg) rotateZ(-12deg);
  }
}

.hero-touch-heatmap {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: transparent;
  filter: saturate(0.86) blur(0.3px);
  pointer-events: none;
}

.hero-touch-stage:hover .hero-touch-hand,
.hero-touch-stage:focus .hero-touch-hand {
  transform: translate(-96.5%, calc(-77% + 14px));
}

.hero-touch-stage:hover .hero-touch-sensor,
.hero-touch-stage:focus .hero-touch-sensor {
  box-shadow: none;
}

/* The home hero uses the same sensor surface as the about page, with a small
   inspection lens that makes fingertip deformation and heat response legible. */
.home-hero-touch-stage {
  --touch-progress: 0;
}

.home-hero-touch-stage .hero-home-scene {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 16px 28px rgba(32, 61, 91, 0.14));
  transform: translateY(var(--touch-lift-y, -14px));
  user-select: none;
  pointer-events: none;
}

.home-hero-touch-stage .hero-touch-hand,
.home-hero-touch-stage .hero-touch-sensor {
  visibility: hidden;
  pointer-events: none;
}

.home-hero-touch-stage .hero-touch-contact {
  position: absolute;
  z-index: 22;
  display: none;
  top: 64%;
  left: 54.2%;
  width: 94px;
  height: 48px;
  border-radius: 50%;
  opacity: 0;
  background: radial-gradient(ellipse at center, rgba(242, 74, 63, 0.92) 0 4%, rgba(245, 173, 68, 0.72) 18%, rgba(71, 187, 156, 0.38) 40%, transparent 72%);
  filter: blur(5px);
  transform: translate(-50%, -50%) scale(0.62);
  transition: opacity 800ms ease, transform 900ms cubic-bezier(0.22, 0.61, 0.36, 1);
  pointer-events: none;
}

.home-hero-touch-stage .hero-touch-contact::after {
  position: absolute;
  inset: -12px 8px;
  content: "";
  border: 1px solid rgba(118, 201, 232, 0.76);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.62);
  transition: opacity 760ms ease, transform 920ms ease;
}

.home-hero-touch-stage.is-touching .hero-touch-contact {
  opacity: 0.95;
  transform: translate(-50%, -50%) scale(1);
}

.home-hero-touch-stage.is-touching .hero-touch-contact::after {
  opacity: 0.78;
  transform: scale(1);
}

.home-hero-touch-stage .hero-touch-zoom-window {
  background: transparent;
  box-shadow: none;
}

.home-hero-touch-stage .hero-touch-zoom-hand,
.home-hero-touch-stage .hero-touch-zoom::after {
  display: none;
}

.home-hero-touch-stage .hero-touch-hand img {
  transition: transform 820ms cubic-bezier(0.22, 0.61, 0.36, 1), filter 820ms ease;
}

.home-hero-touch-stage.is-touching .hero-touch-hand img,
.home-hero-touch-stage:hover .hero-touch-hand img,
.home-hero-touch-stage:focus .hero-touch-hand img {
  transform: translate(0, -4%) scaleX(1.018) scaleY(0.982);
  filter: contrast(1.05) brightness(1.02)
    drop-shadow(0 24px 28px rgba(24, 48, 74, 0.2))
    drop-shadow(0 6px 8px rgba(14, 31, 52, 0.28));
}

.hero-touch-zoom {
  position: absolute;
  z-index: 24;
  top: 7%;
  right: 4%;
  width: 164px;
  opacity: 0;
  transform: translateY(4px) scale(0.88);
  transform-origin: 50% 50%;
  transition: opacity 520ms ease, transform 720ms cubic-bezier(0.22, 0.61, 0.36, 1);
  pointer-events: none;
}

.hero-touch-zoom::after {
  position: absolute;
  right: 72%;
  bottom: 12%;
  width: 100px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, rgba(118, 185, 255, 0), rgba(118, 185, 255, 0.8));
  opacity: 0.55;
  transform: rotate(138deg);
  transform-origin: right center;
}

.hero-home-showcase .hero-touch-zoom::after {
  display: none;
}

.home-hero-touch-stage .hero-touch-connector {
  position: absolute;
  z-index: 19;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  opacity: var(--touch-lens-progress, 0);
  pointer-events: none;
}

.hero-touch-connector-line {
  stroke: rgba(67, 145, 237, 0.75);
  stroke-width: 1.5;
}

.hero-touch-connector-point {
  fill: #80c5ff;
}

.hero-touch-zoom-window {
  position: relative;
  width: 164px;
  height: 164px;
  overflow: hidden;
  border: 1px solid rgba(224, 238, 255, 0.8);
  border-radius: 50%;
  background: radial-gradient(circle at 48% 62%, rgba(27, 47, 74, 0.95), rgba(6, 12, 23, 0.98) 72%);
  box-shadow: 0 12px 28px rgba(4, 12, 25, 0.34), inset 0 0 0 5px rgba(111, 163, 226, 0.08);
}

.hero-touch-zoom-window::before {
  position: absolute;
  inset: 8px;
  z-index: 3;
  content: "";
  border: 1px solid rgba(167, 208, 255, 0.28);
  border-radius: 50%;
  pointer-events: none;
}

.hero-touch-zoom-hand {
  position: absolute;
  z-index: 1;
  top: -376%;
  left: -327%;
  width: 520%;
  max-width: none;
  height: auto;
  opacity: 0.68;
  filter: contrast(1.15) brightness(0.82) saturate(0.8);
  transition: transform 820ms cubic-bezier(0.22, 0.61, 0.36, 1), opacity 520ms ease;
}

.hero-touch-zoom-heat {
  position: absolute;
  z-index: 2;
  inset: 0;
  background:
    radial-gradient(ellipse at 51% 65%, rgba(237, 77, 61, 0.92) 0 5%, rgba(248, 175, 63, 0.8) 11%, rgba(76, 196, 154, 0.46) 22%, rgba(59, 137, 222, 0.12) 42%, transparent 64%),
    radial-gradient(circle at 50% 70%, rgba(255, 233, 126, 0.32), transparent 25%);
  mix-blend-mode: screen;
  opacity: 0;
  transform: scale(0.62);
  transition: opacity 760ms ease, transform 900ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.hero-touch-zoom-grid {
  position: absolute;
  z-index: 3;
  inset: 22% 10% 15%;
  opacity: 0;
  background-image: radial-gradient(rgba(157, 211, 255, 0.78) 0.8px, transparent 0.9px);
  background-size: 7px 7px;
  mask-image: radial-gradient(ellipse at 50% 66%, #000 0 40%, transparent 78%);
  transition: opacity 650ms ease;
}

.hero-touch-zoom-label {
  display: block;
  margin-top: 8px;
  color: rgba(183, 214, 255, 0.78);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-align: center;
}

.home-hero-touch-stage.is-touching .hero-touch-zoom {
  opacity: 1;
  transform: translateY(-4px) scale(1);
}

.home-hero-touch-stage.is-touching .hero-touch-zoom-hand {
  opacity: 0.82;
  transform: scaleX(1.035) scaleY(0.96);
}

.home-hero-touch-stage.is-touching .hero-touch-zoom-heat {
  opacity: 1;
  transform: scale(1);
}

.home-hero-touch-stage.is-touching .hero-touch-zoom-grid {
  opacity: 0.7;
}

.reference-capability {
  margin-top: 0;
  margin-bottom: 18px;
  padding-top: 22px;
  padding-bottom: 22px;
}

.reference-capability-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--blue);
  font-size: 25px;
  background: var(--blue-soft);
  border-radius: 8px;
}

.reference-capability-icon .ui-icon {
  width: 25px;
  height: 25px;
}

.nav-toggle .ui-icon {
  width: 18px;
  height: 18px;
}

.reference-quick-grid {
  padding-top: 26px;
}

.reference-quick-grid .quick-card:hover,
.reference-quick-grid .quick-card:focus-visible {
  border-color: var(--blue);
}

.reference-quick-grid .quick-card:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
}

.reference-home-section {
  padding-top: 24px;
}

.reference-home-section .section-head {
  margin-bottom: 14px;
}

.reference-product-grid,
.reference-news-grid {
  gap: 22px;
}

.reference-product-grid .product-card {
  min-height: 190px;
}

.reference-product-grid .product-media,
.reference-product-grid .product-media img {
  min-height: 190px;
}

.reference-product-grid .product-card-body {
  padding: 20px;
}

.reference-product-grid .tag-list {
  margin: 10px 0 12px;
}

.reference-product-grid .tag-list > span {
  color: #075fda;
  font-weight: 900;
}

.home-product-accordion {
  display: flex;
  gap: 16px;
  height: 336px;
  overflow: hidden;
  contain: layout;
}

.home-product-accordion-item {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: var(--card-bg);
  border: var(--border-width) solid var(--card-border);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  transition:
    flex-grow 620ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.home-product-accordion-item.is-active {
  flex-grow: 2.15;
}

.home-product-accordion-panel {
  display: grid;
  grid-template-rows: 170px minmax(0, 1fr);
  width: 100%;
  height: 100%;
  min-width: 0;
}

.home-product-accordion-item.is-active .home-product-accordion-panel {
  grid-template-columns: minmax(230px, 43%) minmax(0, 1fr);
  grid-template-rows: 1fr;
}

.home-product-media {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: transparent;
}

.home-product-media .card-carousel,
.home-product-media .card-carousel-stage {
  width: 100%;
  height: 100%;
}

.home-product-media img {
  width: 100%;
  height: 100%;
  padding: 18px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 14px 18px rgba(16, 42, 72, 0.13));
}

.home-product-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 26px;
  overflow: hidden;
}

.home-product-system {
  margin-bottom: 9px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.home-product-body h3,
.home-product-body p {
  margin: 0;
}

.home-product-body h3 {
  color: var(--ink);
  font-size: 22px;
  line-height: 1.35;
}

.home-product-body p {
  display: -webkit-box;
  margin-top: 10px;
  overflow: hidden;
  color: var(--muted);
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.home-product-body .tag-list {
  margin: 15px 0 17px;
}

.home-product-body .text-link {
  position: relative;
  z-index: 4;
  align-self: flex-start;
  margin-top: auto;
}

.home-product-accordion-trigger {
  position: absolute;
  inset: 0;
  z-index: 3;
  padding: 0;
  color: transparent;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.home-product-accordion-item.is-active .home-product-accordion-trigger {
  pointer-events: none;
}

.home-product-accordion-trigger:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: -3px;
}

.home-product-accordion-item:not(.is-active) .home-product-accordion-panel {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 12px;
}

.home-product-accordion-item:not(.is-active) .home-product-media {
  flex: 0 0 196px;
  min-height: 196px;
}

.home-product-accordion-item:not(.is-active) .home-product-media img {
  padding: 8px 12px 0;
  object-position: center center;
}

.home-product-accordion-item:not(.is-active) .card-carousel-nav,
.home-product-accordion-item:not(.is-active) .card-carousel-dots {
  display: none;
}

.home-product-accordion-item:not(.is-active) .home-product-body {
  position: static;
  z-index: 2;
  justify-content: flex-start;
  padding: 2px 12px 16px;
  background: none;
}

.home-product-accordion-item:not(.is-active) .home-product-body h3 {
  display: -webkit-box;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.35;
  text-align: center;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-product-accordion-item:not(.is-active) .home-product-system {
  display: block;
  overflow: hidden;
  margin: 0 0 5px;
  text-align: center;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.home-product-accordion-item:not(.is-active) .home-product-body p,
.home-product-accordion-item:not(.is-active) .tag-list,
.home-product-accordion-item:not(.is-active) .text-link {
  display: none;
}

.home-product-accordion-item:not(.is-active):hover {
  border-color: color-mix(in srgb, var(--blue) 42%, var(--card-border));
}

@media (max-width: 980px) {
  .home-product-accordion {
    display: grid;
    height: auto;
    min-height: 0;
    overflow: visible;
    contain: none;
  }

  .home-product-accordion-item,
  .home-product-accordion-item.is-active {
    min-height: 112px;
    max-height: 112px;
    transition:
      max-height 620ms cubic-bezier(0.22, 1, 0.36, 1),
      border-color 220ms ease,
      box-shadow 220ms ease;
  }

  .home-product-accordion-item.is-active {
    max-height: 320px;
  }

  .home-product-accordion-panel,
  .home-product-accordion-item.is-active .home-product-accordion-panel {
    grid-template-columns: 132px minmax(0, 1fr);
    grid-template-rows: 1fr;
    min-height: 110px;
  }

  .home-product-accordion-item.is-active .home-product-accordion-panel {
    min-height: 318px;
  }

  .home-product-accordion-item:not(.is-active) .home-product-accordion-panel {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    grid-template-rows: 1fr;
    padding-top: 0;
  }

  .home-product-accordion-item:not(.is-active) .home-product-media {
    flex: none;
    min-height: 0;
  }

  .home-product-accordion-item:not(.is-active) .home-product-media img {
    padding: 12px;
  }

  .home-product-accordion-item:not(.is-active) .home-product-body {
    position: static;
    justify-content: center;
    padding: 16px 14px;
    background: none;
  }

  .home-product-accordion-item:not(.is-active) .home-product-system {
    display: none;
  }

  .home-product-accordion-item:not(.is-active) .home-product-body h3 {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .home-product-accordion-item.is-active {
    max-height: 490px;
  }

  .home-product-accordion-item.is-active .home-product-accordion-panel {
    grid-template-columns: 1fr;
    grid-template-rows: 210px minmax(0, 1fr);
    min-height: 488px;
  }

  .home-product-body {
    padding: 22px;
  }

  .home-product-body h3 {
    font-size: 20px;
  }

  .home-product-body p {
    -webkit-line-clamp: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-product-accordion-item {
    transition: none;
  }
}

.reference-news-section {
  padding-bottom: 24px;
}

.reference-news-grid .news-card {
  min-height: 132px;
}

.reference-news-grid .news-media,
.reference-news-grid .news-card img {
  min-height: 132px;
}

.reference-news-grid .news-media img {
  padding: 14px 12px;
}

.reference-news-grid .news-card-body {
  padding: 16px 18px;
}

.reference-news-grid .news-card h3 {
  font-size: 16px;
}

.reference-page-hero .page-hero-inner {
  min-height: 210px;
}

.reference-page-hero .page-hero-inner > div {
  max-width: 680px;
}

.reference-page-hero h1 {
  font-size: 42px;
}

.reference-page-hero .page-hero-img {
  height: 210px;
  max-height: 210px;
  padding: 0;
  background: transparent;
  border: 0;
}

.about-hero .page-hero-inner {
  grid-template-columns: minmax(420px, 1.1fr) minmax(360px, 0.78fr);
  min-height: 340px;
  padding-top: 32px;
  padding-bottom: 20px;
}

.about-hero .page-hero-inner > div:first-child {
  max-width: 680px;
}

.about-hero .page-hero-inner {
  grid-template-columns: minmax(0, 1fr);
  min-height: 230px;
}

.about-hero .hero-touch-stage {
  width: min(520px, 100%);
  max-width: 520px;
  min-height: 280px;
}

@media (min-width: 761px) {
  .about-hero .hero-touch-stage {
    align-self: center;
    min-height: 280px;
    margin-block: -8px -12px;
  }

  .about-hero .hero-touch-hand {
    top: 150px;
    left: 60%;
  }

  .about-hero .hero-touch-sensor {
    bottom: 28px;
    height: 168px;
    transform: perspective(760px) rotateX(44deg) rotateZ(-12deg);
  }
}

/* Use the tightly cropped hand so its wrist transitions into the hero without a hard cut. */
.about-hero .hero-touch-hand img {
  width: 65%;
  margin-left: 30%;
  transform: none;
}

.about-hero .hero-touch-stage:hover .hero-touch-hand img,
.about-hero .hero-touch-stage:focus .hero-touch-hand img {
  transform: none;
}

/* The About hero is a still illustration; only the home hero runs the touch
   approach and inspection sequence. */
.about-hero .hero-touch-stage {
  cursor: default;
}

.about-hero .hero-touch-stage:hover .hero-touch-hand,
.about-hero .hero-touch-stage:focus .hero-touch-hand {
  transform: translate(-96.5%, calc(-77% - 16px));
}

.about-hero .hero-touch-hand img,
.about-hero .hero-touch-sensor,
.about-hero .hero-touch-heatmap {
  transition: none;
}

@media (max-width: 760px) {
  .about-hero .hero-touch-hand img {
    width: 85%;
    margin-left: 10%;
  }
}

.reference-catalog-layout {
  align-items: start;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 34px;
  padding-top: 30px;
  padding-bottom: 20px;
}

.reference-filter-panel {
  position: sticky;
  top: 88px;
  z-index: 8;
  max-height: calc(100vh - 104px);
  padding: 24px 20px;
  overflow-y: auto;
}

html.header-compact .reference-filter-panel {
  top: 16px;
  max-height: calc(100vh - 32px);
}

.catalog-side-link {
  display: block;
  min-height: 38px;
  padding: 8px 12px;
  color: #3c4e68;
  font-size: 13px;
  font-weight: 700;
  border-radius: 5px;
}

.catalog-side-link:hover,
.catalog-side-link.active {
  color: var(--blue);
  background: var(--blue-soft);
}

.reference-system-toolbar {
  align-items: center;
  margin-bottom: 18px;
}

.reference-system-toolbar .chip {
  min-height: 40px;
}

@media (min-width: 1351px) {
  .reference-resource-page .reference-system-toolbar .catalog-search {
    width: 280px;
  }
}

@media (min-width: 761px) and (max-width: 1350px) {
  .reference-resource-page .reference-system-toolbar {
    flex-wrap: wrap;
  }
}

.reference-system-panel,
.reference-resource-panel {
  padding: 0;
}

.reference-catalog-heading,
.reference-resource-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.reference-catalog-heading h2,
.reference-resource-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
}

.reference-catalog-heading > p,
.reference-resource-heading > p {
  max-width: 580px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.reference-product-catalog {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.catalog-products-toggle {
  display: flex;
  margin: 0 0 16px auto;
}

[data-catalog-product][hidden],
.catalog-products-toggle[hidden] {
  display: none;
}

.reference-foi-domain-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.home-page .home-foi-domains {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.home-page .home-foi-domains .reference-domain-card {
  grid-template-columns: 1fr;
  grid-template-rows: 168px minmax(0, 1fr);
}

.home-page .home-foi-domains .reference-domain-card > img {
  height: 168px;
  min-height: 168px;
}

.home-page .home-foi-domains .reference-domain-body {
  padding: 18px 20px 20px;
}

.home-page .home-foi-domains .reference-domain-card h3 {
  font-size: 20px;
}

.home-page .home-foi-domains .reference-domain-card p {
  margin: 6px 0 12px;
  font-size: 13px;
}

@media (max-width: 1180px) {
  .home-page .home-foi-domains {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .home-page .home-foi-domains {
    grid-template-columns: 1fr;
  }
}

.reference-catalog-card {
  grid-template-columns: 42% 58%;
  min-height: 260px;
}

.reference-catalog-card .product-media,
.reference-catalog-card .product-media img {
  min-height: 260px;
}

.reference-catalog-card .product-card-body {
  justify-content: flex-start;
  padding: 22px;
}

.reference-catalog-card .tag-list {
  margin: 10px 0;
}

.catalog-resource-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin: 6px 0 12px;
}

.catalog-resource-inline a,
.catalog-resource-inline span {
  color: #58708e;
  font-size: 11px;
  font-weight: 700;
}

.catalog-resource-inline a:hover {
  color: var(--blue);
}

.reference-foi-components {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.reference-foi-components a {
  display: grid;
  grid-template-columns: 96px 1fr;
  align-items: center;
  gap: 14px;
  min-height: 104px;
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 7px;
}

.reference-foi-components img {
  width: 96px;
  height: 82px;
  object-fit: contain;
  background: transparent;
}

.reference-foi-components span,
.reference-foi-components strong {
  display: block;
}

.reference-foi-components span {
  color: var(--cyan);
  font-size: 10px;
  font-weight: 800;
}

.reference-foi-components strong {
  margin-top: 4px;
  color: var(--ink);
  font-size: 14px;
}

.foi-system-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 30px;
}

.foi-system-product {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  align-items: stretch;
  min-height: 248px;
  margin-bottom: 28px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-clean);
}

.foi-system-product-media {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 248px;
  padding: 16px;
}

.foi-system-product-media img {
  display: block;
  width: 100%;
  max-height: 216px;
  object-fit: contain;
  filter: drop-shadow(0 12px 16px rgba(16, 42, 72, 0.12));
}

.foi-system-product-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 22px 28px;
}

.foi-system-product h3 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.3;
}

.foi-system-product h3 a {
  color: inherit;
}

.foi-system-product-body > p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.foi-system-components {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  margin: 16px 0 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.foi-system-component {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.foi-system-component img {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.foi-system-component div {
  min-width: 0;
}

.foi-system-component span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.foi-system-component strong {
  display: block;
  margin-top: 3px;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.4;
}

.foi-system-module {
  position: relative;
  display: grid;
  grid-template-rows: 150px minmax(0, 1fr);
  min-height: 292px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-clean);
}

.btn .ui-icon {
  width: 17px;
  height: 17px;
}

.foi-system-module > img,
.foi-system-module > .card-carousel {
  width: 100%;
  height: 150px;
  max-height: 150px;
  min-height: 0;
  padding: 14px 18px;
  object-fit: contain;
  object-position: center;
  background: transparent;
  overflow: hidden;
  filter: drop-shadow(0 12px 16px rgba(16, 42, 72, 0.14));
}

.foi-system-module > .card-carousel {
  padding: 0;
  filter: none;
}

.foi-system-module .card-carousel img,
.foi-system-module.software .card-carousel img {
  padding: 14px 20px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 8px 12px rgba(16, 42, 72, 0.12));
}

.foi-system-module.software > img,
.foi-system-module.software .card-carousel img {
  padding: 18px 22px;
}

.foi-system-module-hit {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.foi-system-module > div {
  padding: 18px;
}

.foi-system-module > div > span {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 800;
}

.foi-system-module strong {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  font-size: 18px;
}

.foi-system-module p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.foi-module-index {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 4px 7px;
  color: var(--blue);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
}

.card-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.card-carousel-stage {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.card-carousel-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  pointer-events: none;
  transition: opacity 360ms ease;
}

.card-carousel-stage img.is-active {
  opacity: 1;
}

.card-carousel-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  box-shadow: 0 2px 8px rgba(16, 42, 72, 0.12);
  transform: translateY(-50%);
  opacity: 0;
  pointer-events: none;
  cursor: pointer;
  transition: opacity 180ms ease;
}

.card-carousel:hover .card-carousel-nav,
.card-carousel:focus-within .card-carousel-nav {
  opacity: 1;
  pointer-events: auto;
}

@media (hover: none) {
  .card-carousel-nav {
    opacity: 1;
    pointer-events: auto;
  }
}

.card-carousel-nav.prev {
  left: 8px;
}

.card-carousel-nav.next {
  right: 8px;
}

.card-carousel-nav.prev::before,
.card-carousel-nav.next::before {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  margin: 0 auto;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
}

.card-carousel-nav.prev::before {
  margin-left: 10px;
  transform: rotate(-135deg);
}

.card-carousel-nav.next::before {
  margin-right: 10px;
  transform: rotate(45deg);
}

.card-carousel-dots {
  position: absolute;
  right: 0;
  bottom: 8px;
  left: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 5px;
}

.card-carousel-dot {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: color-mix(in srgb, var(--ink) 28%, transparent);
  cursor: pointer;
}

.card-carousel-dot.is-active {
  background: var(--blue);
}

.foi-domain-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 16px;
}

.foi-domain-heading h2,
.foi-domain-heading p {
  margin: 0;
}

.foi-domain-heading p {
  max-width: 520px;
  color: var(--muted);
  font-size: 13px;
  text-align: right;
}

.reference-domain-card {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-clean);
}

.reference-domain-card > img {
  width: 100%;
  height: 100%;
  min-height: 188px;
  object-fit: cover;
}

.reference-domain-card > img[src*="-transparent."] {
  object-fit: contain;
  object-position: center;
  padding: 18px 14px;
  background: transparent;
  filter: drop-shadow(0 10px 16px rgba(24, 24, 27, 0.08));
}

.reference-domain-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px 28px 22px;
}

.reference-domain-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.3;
}

.reference-domain-card p {
  max-width: 46em;
  margin: 8px 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.reference-domain-scenes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0 0 16px;
  overflow: visible;
  list-style: none;
}

.reference-domain-scenes li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  padding: 6px 10px;
  color: var(--text);
  background: var(--bg-muted);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 12px;
  line-height: 1.45;
}

.reference-domain-scenes li a {
  color: inherit;
  text-decoration: none;
}

.reference-domain-scenes li a:hover {
  color: var(--blue);
}

.reference-domain-scenes li em {
  margin-left: auto;
  color: var(--blue);
  font-style: normal;
  font-weight: 700;
}

.reference-domain-scenes li.is-pending em,
.reference-domain-scenes li.is-shared em,
.reference-domain-scenes li.is-partial em {
  color: var(--muted);
  font-weight: 600;
}

.scenario-model {
  display: block;
  margin-top: 4px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

.resource-table tr.is-hash-target,
.reference-domain-card.is-hash-target {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.reference-domain-card .text-link {
  width: fit-content;
}

.reference-resource-layout {
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 34px;
  padding-top: 28px;
  padding-bottom: 10px;
}

.reference-resource-heading {
  padding-top: 14px;
}

.reference-directory-table {
  margin-top: 0;
}

.reference-directory-table .resource-table {
  min-width: 850px;
}

.reference-directory-table .resource-table th,
.reference-directory-table .resource-table td {
  padding: 12px 14px;
  font-size: 13px;
}

.reference-directory-table td small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.table-product {
  display: grid;
  grid-template-columns: 68px 1fr;
  align-items: center;
  gap: 12px;
}

.table-product img {
  width: 68px;
  height: 58px;
  padding: 0;
  object-fit: contain;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.table-resource-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px 12px;
}

.table-resource-links > a,
.table-resource-links > span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
}

.resource-availability {
  grid-template-columns: minmax(0, 1fr);
  gap: 7px;
}

.resource-availability-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.resource-availability-item > a,
.resource-availability-item > span {
  min-width: 0;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.resource-availability-item > a {
  color: var(--blue);
  font-weight: 700;
}

.resource-availability-item > a:hover {
  text-decoration: underline;
}

.resource-availability-item.is-pending > span,
.resource-availability-item.is-internal > span {
  color: var(--text);
}

.reference-directory-table .resource-availability-item small {
  display: inline-block;
  margin: 0;
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--muted);
  background: var(--bg-muted);
  white-space: nowrap;
  font-size: 11px;
  line-height: 1.4;
}

.reference-directory-table .resource-availability-item.is-public small {
  color: var(--blue);
  background: var(--blue-soft);
}

.reference-directory-table .resource-availability-item.is-internal small {
  color: var(--orange);
  background: var(--icon-orange-bg);
}

.delivery-summary {
  color: #61728a;
  font-size: 11px;
}

.reference-directory-table .btn {
  min-height: 34px;
  padding: 0 14px;
  font-size: 12px;
}

.reference-resource-side .side-card {
  padding: 22px;
}

.reference-resource-side .side-card h2 {
  font-size: 19px;
}

.reference-resource-side .side-card p {
  color: var(--muted);
  font-size: 13px;
}

.reference-resource-side .side-card p a {
  color: var(--blue);
  font-weight: 700;
}

.side-resource-line {
  display: block;
  padding: 8px 0;
  color: #52657d;
  font-size: 12px;
  border-bottom: 1px solid var(--line);
}

.product-detail-page {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 28px;
  padding-bottom: 20px;
}

.product-detail-page > * { min-width: 0; overflow-wrap: anywhere; }

.product-detail-page > .breadcrumb,
.product-detail-page > .detail-hero,
.product-detail-page > .detail-metrics,
.product-detail-page > .detail-section-nav,
.product-detail-page > .product-applications,
.product-detail-page > .product-guides,
.product-detail-page > .product-resources,
.product-detail-page > .product-updates,
.product-detail-page > .related-products-section {
  grid-column: 1 / -1;
}

.detail-hero {
  gap: 58px;
  padding-top: 20px;
}

.gallery-stage,
.gallery-stage .gallery-main {
  height: 390px;
  min-height: 390px;
}

.gallery-thumb-button {
  height: 66px;
}

.detail-summary h1 {
  font-size: 40px;
}

.detail-summary > p {
  font-size: 15px;
}

.detail-summary .check-list {
  margin: 14px 0;
}

.detail-metrics {
  margin-top: 4px;
}

.detail-section-nav {
  top: 72px;
}

.detail-content-grid {
  grid-template-columns: 1fr;
  gap: 0;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.integration-panel {
  display: none;
}

.detail-spec-section {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.detail-spec-section .table-card {
  margin-top: 14px;
}

.detail-spec-section .spec-table th,
.detail-spec-section .spec-table td {
  padding: 7px 12px;
  font-size: 12px;
}

.product-applications,
.product-resources,
.product-guides,
.product-updates {
  padding-top: 24px;
  padding-bottom: 8px;
}

.application-list article {
  min-height: 62px;
  padding: 14px 16px;
}

.mapping-table th,
.mapping-table td {
  padding: 14px 16px;
}

.product-resource-list article {
  padding: 14px 0;
}

.related-products-section {
  padding-top: 20px;
}

.related-products-section .related-grid {
  gap: 14px;
}

.related-products-section .product-card {
  grid-template-rows: 236px minmax(0, 1fr);
  min-height: 430px;
}

.related-products-section .product-media {
  width: 100%;
  height: 236px;
  min-height: 236px;
}

.related-products-section .product-media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 24px;
  object-fit: contain;
}

.related-products-section .product-media img:not([src*="-transparent."]) {
  padding: 0;
  object-fit: cover;
  filter: none;
}

.related-products-section .product-card-body {
  display: flex;
  flex-direction: column;
  min-height: 192px;
  padding: 18px;
}

.related-products-section .product-card-body h3 {
  display: -webkit-box;
  min-height: 2.84em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.related-products-section .product-card-body p {
  display: -webkit-box;
  min-height: 4.8em;
  overflow: hidden;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.related-products-section .product-card-body .text-link {
  margin-top: auto;
}

.site-footer {
  margin-top: 72px;
}

.footer-grid {
  padding-top: 48px;
  padding-bottom: 32px;
}

@media (max-width: 1180px) {
  .reference-hero .hero-inner {
    grid-template-columns: 1fr 1fr;
  }

  .reference-product-catalog {
    grid-template-columns: 1fr;
  }

  .reference-resource-layout {
    grid-template-columns: 1fr;
  }

  .reference-resource-side {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .foi-system-flow {
    grid-template-columns: 1fr;
  }

  .foi-system-module {
    grid-template-columns: 168px 1fr;
    grid-template-rows: auto;
    min-height: 0;
    align-items: start;
  }

  .foi-system-module > img,
  .foi-system-module > .card-carousel {
    width: 168px;
    height: 132px;
    max-height: 132px;
    min-height: 0;
  }

}

@media (max-width: 760px) {
  .reference-hero .hero-inner {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 48px 0 30px;
  }

  .reference-hero .hero-copy h1 {
    font-size: 38px;
  }

  .reference-hero .hero-img {
    max-height: 300px;
    object-position: center;
  }

  .hero-touch-stage {
    justify-self: stretch;
    min-height: 260px;
  }

  .hero-touch-hand {
    top: 168px;
    left: 49%;
    width: 72%;
    transform: translate(-96.5%, calc(-77% - 10px));
  }

  .hero-touch-sensor {
    right: 3%;
    bottom: 13%;
    width: 76%;
    height: 44%;
  }

  .hero-touch-zoom {
    top: 3%;
    right: 2%;
    width: 112px;
  }

  .hero-touch-zoom-window {
    width: 112px;
    height: 112px;
  }

  .hero-touch-zoom-label {
    margin-top: 5px;
    font-size: 7px;
  }

  .hero-touch-zoom::after {
    right: 68%;
    bottom: 9%;
    width: 68px;
  }

  .reference-capability {
    margin-top: 12px;
    margin-bottom: 8px;
  }

  .related-products-section .product-card {
    grid-template-rows: 210px minmax(0, 1fr);
    min-height: 398px;
  }

  .related-products-section .product-media {
    height: 210px;
    min-height: 210px;
  }

  .reference-page-hero .page-hero-inner {
    min-height: 0;
    padding: 38px 0;
  }

  .reference-page-hero .page-hero-img {
    height: 180px;
  }

  .reference-catalog-layout {
    grid-template-columns: 1fr;
    padding-top: 18px;
  }

  .reference-filter-panel {
    display: none;
  }

  .reference-system-toolbar,
  .reference-catalog-heading,
  .reference-resource-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .foi-domain-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .foi-domain-heading p {
    text-align: left;
  }

  .foi-system-module {
    grid-template-columns: 1fr;
    grid-template-rows: 170px minmax(0, 1fr);
  }

  .foi-system-product {
    grid-template-columns: 1fr;
  }

  .foi-system-product-media {
    min-height: 192px;
    padding: 16px 18px 0;
  }

  .foi-system-product-media img {
    max-height: 180px;
  }

  .foi-system-product-body {
    padding: 16px 18px 20px;
  }

  .foi-system-components {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .foi-system-module > img,
  .foi-system-module > .card-carousel {
    height: 170px;
    max-height: 170px;
    min-height: 0;
  }

  .reference-catalog-card,
  .reference-domain-card {
    grid-template-columns: 1fr;
  }

  .reference-domain-card > img {
    min-height: 180px;
    max-height: 200px;
  }

  .reference-domain-body {
    padding: 20px;
  }

  .reference-domain-card h3 {
    font-size: 22px;
  }

  .reference-catalog-card .product-media,
  .reference-catalog-card .product-media img {
    min-height: 220px;
  }

  .reference-foi-components,
  .reference-resource-side,
  .product-detail-page,
  .application-list {
    grid-template-columns: 1fr;
  }

  .mapping-table th,
  .mapping-table td {
    padding: 12px 14px;
    font-size: 13px;
  }

  .mapping-table .mapping-form,
  .mapping-table .mapping-model {
    width: auto;
    white-space: normal;
  }

  .reference-directory-table .resource-table {
    min-width: 760px;
  }

  .detail-hero {
    gap: 24px;
  }

  .gallery-stage,
  .gallery-stage .gallery-main {
    height: 280px;
    min-height: 280px;
  }

  .detail-summary h1 {
    font-size: 32px;
  }

  .detail-content-grid,
  .detail-spec-section {
    grid-column: 1;
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-touch-hand,
  .hero-touch-sensor,
  .hero-touch-zoom,
  .hero-touch-zoom-hand,
  .hero-touch-zoom-heat,
  .hero-touch-zoom-grid,
  .reference-quick-grid .quick-card {
    animation: none;
    transition: none;
  }
}

/* Header language switch */
.nav-wrap {
  grid-template-columns: auto 1fr minmax(240px, 320px) auto auto;
  grid-template-areas: "brand navigation search contact language";
  gap: 20px;
}

.nav-wrap > .brand { grid-area: brand; }
.nav-wrap > .site-nav { grid-area: navigation; }
.nav-wrap > .header-search { grid-area: search; }
.nav-wrap > .contact-btn { grid-area: contact; }
.nav-wrap > .lang-switch { grid-area: language; }
.nav-wrap > .nav-toggle { grid-area: toggle; }

.lang-switch {
  display: inline-grid;
  grid-template-columns: repeat(2, 38px);
  align-items: center;
  height: 42px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.lang-switch span,
.lang-switch a {
  display: grid;
  place-items: center;
  height: 100%;
  color: #52657d;
  font-size: 13px;
  font-weight: 800;
}

.lang-switch .active {
  color: var(--white);
  background: var(--blue);
}

.lang-switch a:hover {
  color: var(--blue);
  background: var(--blue-soft);
}

@media (max-width: 1180px) {
  .nav-wrap {
    grid-template-columns: auto 1fr auto auto;
    grid-template-areas: "brand . language toggle";
    gap: 10px;
  }

  .lang-switch {
    display: inline-grid;
  }

  .nav-toggle {
    justify-self: end;
  }
}

@media (max-width: 420px) {
  .lang-switch {
    grid-template-columns: repeat(2, 32px);
    height: 38px;
  }

  .lang-switch span,
  .lang-switch a {
    font-size: 12px;
  }
}

.header-actions .lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  flex: 0 0 38px;
  width: 38px;
  height: 42px;
  padding: 0;
  color: #173a65;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-size: 0;
  font-weight: 800;
  letter-spacing: 0;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.header-actions .lang-toggle::after {
  content: "EN";
  font-size: 13px;
  font-weight: 800;
}

html[lang="en"] .header-actions .lang-toggle::after {
  content: "\4E2D";
}

html[lang="en"] .reference-hero .hero-copy {
  width: min(100%, 570px);
}

html[lang="en"] .reference-hero .hero-copy h1 {
  max-width: 570px;
  font-size: 36px;
  line-height: 1.38;
}

html[lang="en"] .hero-mark {
  font-size: 0.88em;
}

html[lang="en"] .reference-hero .hero-copy h1 br {
  display: none;
}

html[lang="en"] .reference-hero .hero-copy p {
  max-width: 570px;
  font-size: 14px;
  line-height: 1.65;
}

.reference-quick-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.reference-quick-grid .quick-card {
  height: 136px;
  min-height: 136px;
  overflow: hidden;
}

.reference-quick-grid .quick-card > div {
  min-width: 0;
}

.reference-quick-grid .quick-card h3,
.reference-quick-grid .quick-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
}

.reference-quick-grid .quick-card h3 {
  -webkit-line-clamp: 2;
}

.reference-quick-grid .quick-card p {
  -webkit-line-clamp: 3;
}

html[lang="en"] .reference-quick-grid .quick-card h3 {
  font-size: 16px;
  line-height: 1.35;
}

html[lang="en"] .reference-quick-grid .quick-card p {
  font-size: 12px;
  line-height: 1.55;
}

@media (max-width: 1180px) {
  .reference-quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .reference-quick-grid .quick-card {
    height: auto;
    min-height: 92px;
    overflow: visible;
  }
}

@media (max-width: 760px) {
  .reference-quick-grid {
    gap: 10px;
    padding-top: 16px;
  }

  .reference-quick-grid .quick-card {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    min-height: 72px;
    padding: 14px;
    gap: 12px;
  }

  .reference-quick-grid .quick-card p,
  .reference-quick-grid .quick-card .card-arrow {
    display: none;
  }

  .reference-quick-grid .quick-card h3,
  html[lang="en"] .reference-quick-grid .quick-card h3 {
    font-size: 14px;
    line-height: 1.35;
  }

  .reference-quick-grid .quick-card:hover,
  .reference-quick-grid .quick-card:focus-visible {
    transform: none;
  }
}

.header-actions .lang-toggle:hover {
  color: var(--blue);
  background: transparent;
  box-shadow: none;
}

.header-actions .lang-toggle:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

@media (max-width: 420px) {
  .header-actions .lang-toggle {
    flex-basis: 36px;
    width: 36px;
    height: 38px;
  }

  .header-actions .lang-toggle::after {
    font-size: 12px;
  }
}

/* Keep search, contact and language controls aligned as one header action group. */
.nav-wrap {
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "brand navigation actions";
  gap: 24px;
}

.nav-wrap > .header-actions {
  grid-area: actions;
}

.nav-wrap > .header-brand {
  grid-area: brand;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.header-back {
  display: inline-grid;
  flex: 0 0 36px;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--ink);
  border-radius: 6px;
}

.header-back .ui-icon { width: 20px; height: 20px; }
.header-back:hover { color: var(--blue); background: var(--blue-soft); }
.header-back:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }

@media (max-width: 420px) {
  .has-header-back .header-brand { gap: 4px; }
  .has-header-back .header-back { flex-basis: 32px; width: 32px; height: 32px; }
  .has-header-back .brand-image { width: clamp(80px, 25vw, 100px); height: auto; }
}

@media (max-width: 380px) {
  .nav-wrap.has-header-back { gap: 6px; }
  .has-header-back .header-actions .lang-switch { min-width: 90px; padding: 0 6px; gap: 4px; }
}

.header-actions {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px;
  margin-right: 24px;
}

.header-actions .header-search {
  flex: 0 0 280px;
  width: 280px;
}

.header-actions .contact-btn,
.header-actions .lang-switch {
  flex: 0 0 auto;
}

@media (min-width: 1181px) and (max-width: 1439px) {
  .header-actions .header-search {
    display: none;
  }
}

@media (max-width: 1180px) {
  .nav-wrap {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    grid-template-areas: "brand . actions toggle";
    gap: 10px;
  }

  .header-actions {
    margin-right: 0;
  }

  .header-actions .header-search,
  .header-actions .contact-btn {
    display: none;
  }
}

/* Final language switch overrides */
.header-actions .lang-switch {
  display: inline-flex;
  grid-template-columns: none;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: auto;
  min-width: 126px;
  height: 42px;
  padding: 0 14px;
  overflow: visible;
  background: var(--bg-muted);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow-xs);
}

.lang-switch .language-icon {
  position: relative;
  display: block;
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  border: 1.5px solid #4f6f95;
  border-radius: 50%;
}

.lang-switch .language-icon::before,
.lang-switch .language-icon::after {
  position: absolute;
  content: "";
}

.lang-switch .language-icon::before {
  inset: 3px 5px;
  border-right: 1px solid #4f6f95;
  border-left: 1px solid #4f6f95;
  border-radius: 50%;
}

.lang-switch .language-icon::after {
  top: 7px;
  right: 2px;
  left: 2px;
  border-top: 1px solid #4f6f95;
}

.header-actions .lang-switch .active,
.header-actions .lang-switch a {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: auto;
  height: 40px;
  padding: 0;
  color: #52657d;
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.header-actions .lang-switch .active {
  color: #0a3568;
}

.header-actions .lang-switch .active::after {
  position: absolute;
  right: 2px;
  bottom: 6px;
  left: 2px;
  height: 2px;
  content: "";
  background: var(--blue);
  border-radius: 2px;
}

.lang-switch .language-divider {
  display: block;
  width: 1px;
  height: 14px;
  background: #cbd7e5;
}

.header-actions .lang-switch a:hover {
  color: var(--blue);
  background: transparent;
}

@media (max-width: 420px) {
  .header-actions .lang-switch {
    min-width: 110px;
    height: 38px;
    gap: 7px;
    padding: 0 10px;
  }

  .header-actions .lang-switch .active,
  .header-actions .lang-switch a {
    height: 36px;
    font-size: 12px;
  }

  .header-actions .lang-switch .active::after {
    bottom: 5px;
  }
}

/* Selection request form */
.site-nav .mobile-contact-link { display: none; }

@media (max-width: 1180px) {
  body.nav-open .site-nav .mobile-contact-link {
    display: flex;
    align-items: center;
  }
}

.contact-hero .page-hero-inner {
  grid-template-columns: minmax(0, 1fr);
  min-height: 200px;
}

.lead-section {
  padding-bottom: 56px;
  scroll-margin-top: 100px;
}

.lead-card {
  display: grid;
  grid-template-columns: minmax(240px, 340px) minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
}

.lead-intro {
  display: flex;
  flex-direction: column;
  padding: 32px;
}

.lead-intro .eyebrow {
  margin-bottom: 10px;
}

.lead-intro > p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.lead-points {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.lead-points article {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lead-points .icon-box {
  width: 40px;
  height: 40px;
}

.lead-points .icon-box .ui-icon {
  width: 20px;
  height: 20px;
}

.lead-points article > div strong,
.lead-points article > div span {
  display: block;
}

.lead-points article > div strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.35;
}

.lead-points article > div span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
}

.lead-form {
  padding: 32px;
  background: var(--bg);
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}

.resource-request-context {
  display: grid;
  gap: 3px;
  margin-bottom: 20px;
  padding: 14px 16px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  border-radius: 6px;
}

.resource-request-context span,
.resource-request-context small {
  color: var(--muted);
  font-size: 12px;
}

.resource-request-context strong { font-size: 15px; }

.lead-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.lead-fields label:not(.lead-honeypot) {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.lead-field-wide {
  grid-column: 1 / -1;
}

.lead-form .form-input {
  padding: 0 14px;
  font: inherit;
  font-weight: 400;
}

.lead-form textarea.form-input {
  height: 92px;
  padding: 11px 14px;
  line-height: 1.6;
  resize: vertical;
}

.lead-form .form-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--focus-ring);
}

.lead-form .form-input[aria-invalid="true"] {
  border-color: var(--red);
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.12);
}

.lead-field-error {
  color: var(--red);
  font-size: 12px;
  font-weight: 500;
}

.lead-field-error:empty { display: none; }

.lead-submit-row {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}

.lead-consent {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  max-width: 560px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.lead-consent input {
  flex: 0 0 auto;
  margin-top: 3px;
  accent-color: var(--blue);
}

.lead-submit-row .btn {
  min-width: 118px;
  border: 0;
  cursor: pointer;
}

.lead-submit-row .btn:disabled {
  cursor: wait;
  opacity: 0.68;
}

.lead-status {
  min-height: 20px;
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 700;
}

.lead-status:empty {
  min-height: 0;
  margin-top: 0;
}

.lead-status.is-success { color: #147a4b; }
.lead-status.is-error { color: #c73535; }

.lead-resource-link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-left: 12px;
  padding: 0 14px;
  color: #fff;
  background: var(--blue);
  border-radius: 3px;
}

.lead-resource-link:hover { color: #fff; background: #075dc9; }

.lead-access-code {
  display: inline-block;
  margin-left: 10px;
  color: #24476d;
  font-weight: 700;
}

.subscribe-status {
  min-height: 18px;
  margin: 9px 0 0;
  font-size: 12px;
  font-weight: 700;
}

.subscribe-status.is-success { color: #147a4b; }
.subscribe-status.is-error { color: #c73535; }

.search-results-content { max-width: 1080px; }
.search-results-form { max-width: 680px; margin: 0 auto; }
.search-results-form input { height: 50px; }
.search-results-summary { display: flex; gap: 12px; justify-content: space-between; margin: 28px 0; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.search-results-summary span { color: var(--muted); }
.search-result-group { margin-top: 34px; }
.search-result-group > header { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }
.search-result-group > header h2 { margin: 0; font-size: 22px; }
.search-result-group > header span { color: var(--blue); font-weight: 800; }
.search-result-list { display: grid; gap: 10px; }
.search-result-list article { padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; }
.search-result-list article > div { display: flex; gap: 12px; align-items: center; color: var(--muted); font-size: 13px; }
.search-result-list h3 { margin: 9px 0 6px; font-size: 18px; }
.search-result-list h3 a { color: var(--text); }
.search-result-list h3 a:hover { color: var(--blue); }
.search-result-list p { margin: 0; color: var(--muted); line-height: 1.65; }

.footer-bottom a { color: inherit; }
.footer-bottom a:hover { color: var(--blue); }
.footer-legal-links { display: flex; gap: 14px; }
.legal-layout { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 42px; align-items: start; max-width: 1120px; }
.legal-document { padding: 34px 40px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; }
.legal-document .post-content { color: var(--text); line-height: 1.85; }
.legal-document .post-content h2 { margin: 34px 0 12px; color: var(--text); font-size: 22px; }
.legal-document .post-content h2:first-child { margin-top: 0; }
.legal-document .post-content ul { padding-left: 22px; }
.legal-side { position: sticky; top: 98px; display: grid; gap: 2px; padding: 18px; background: var(--bg-muted); border-left: 2px solid var(--blue); }
.legal-side strong { margin-bottom: 8px; }
.legal-side a { padding: 9px 4px; color: var(--muted); border-bottom: 1px solid var(--line); }
.legal-side a:hover { color: var(--blue); }
.error-page { min-height: 55vh; padding-top: 90px; text-align: center; }
.error-page h1 { margin: 10px 0 14px; font-size: 42px; }
.error-page > p { max-width: 620px; margin: 0 auto 28px; color: var(--muted); line-height: 1.75; }
.error-search { max-width: 560px; margin: 0 auto; }
.error-search input { height: 50px; }
.error-actions { display: flex; gap: 12px; justify-content: center; margin-top: 22px; }
@media (max-width: 760px) { .legal-layout { grid-template-columns: 1fr; } .legal-document { padding: 24px 20px; } .legal-side { position: static; } .footer-legal-links { flex-wrap: wrap; justify-content: center; } }

.lead-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (max-width: 900px) {
  .lead-card {
    grid-template-columns: 1fr;
  }

  .lead-form {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  .lead-section {
    padding-bottom: 36px;
  }

  .lead-intro,
  .lead-form {
    padding: 22px;
  }

  .lead-fields {
    grid-template-columns: 1fr;
  }

  .lead-field-wide {
    grid-column: auto;
  }

  .lead-submit-row {
    align-items: stretch;
    flex-direction: column;
  }

  .lead-submit-row .btn {
    width: 100%;
  }
}

/* Unified product and editorial image treatment */
.product-card .product-media,
.news-card .news-media {
  background: transparent;
}

.gallery-stage,
.gallery-thumb-button,
.product-card > img {
  background: var(--bg-muted);
}

.gallery-stage:has(.gallery-main[src*="-transparent."]) {
  background: transparent;
  border-color: transparent;
}

.product-media,
.news-media,
.gallery-stage {
  isolation: isolate;
}

.product-media img,
.gallery-stage .gallery-main,
.gallery-thumb-button img,
.table-product img,
.product-card > img {
  object-fit: contain;
  object-position: center;
}

.news-list .news-card {
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 190px;
}

.news-card.is-none,
.news-list .news-card.is-none,
.reference-news-grid .news-card.is-none {
  grid-template-columns: 1fr;
  min-height: 0;
}

.news-card.is-none .news-card-body {
  padding-top: 22px;
  padding-bottom: 22px;
}

.news-media-video {
  position: relative;
}

.news-media-video .fulai-video {
  margin: 0;
  width: 100%;
  height: 100%;
}

.news-media-video video {
  width: 100%;
  height: 190px;
  max-height: none;
  object-fit: cover;
  border: 0;
  border-radius: 0;
}

.news-video-badge,
.hot-video-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: rgba(15, 76, 129, 0.88);
}

.news-video-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 4px;
}

.hot-video-mark {
  width: 86px;
  height: 58px;
  border-radius: 6px;
}

.hot-list a.is-none,
.hot-list a.is-text {
  grid-template-columns: 1fr;
}

.news-format-badge {
  font-weight: 700;
}

.news-list .news-card > .news-media,
.news-list .news-card > img {
  width: 280px;
  height: 190px;
  min-height: 190px;
  aspect-ratio: 28 / 19;
}

.news-list .news-card .news-media img {
  height: 190px;
  min-height: 190px;
}

.news-list .news-card-body {
  min-height: 190px;
}

.news-list .news-card h3,
.hot-list strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.news-list .news-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.news-list .news-card .text-link {
  margin-top: auto;
}

.hot-list img {
  aspect-ratio: 43 / 29;
  object-fit: cover;
  object-position: center;
  background: var(--bg-muted);
}

.hot-list img[src*="-transparent."] {
  padding: 6px;
  object-fit: contain;
}

.article-cover-figure .article-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: none;
  object-fit: cover;
  object-position: center;
  background: var(--bg-muted);
}

.article-cover-figure .article-cover[src*="-transparent."] {
  padding: 36px 28px;
  object-fit: contain;
}

@media (max-width: 760px) {
  .news-list .news-card {
    grid-template-columns: 1fr;
  }

  .news-list .news-card > .news-media,
  .news-list .news-card > img {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .news-list .news-card .news-media img,
  .news-list .news-card .news-media-video video {
    height: 100%;
    min-height: 0;
  }
}

/* Design tokens: cards, buttons, radius, shadows */
.quick-card,
.product-card,
.news-card,
.panel,
.side-card,
.info-card,
.table-card,
.metric-card,
.contact-card,
.lead-card,
.filter-panel,
.capability-strip,
.search-result-list article,
.docs-card,
.resource-card,
.change-item,
.fos-kit-row,
.foi-domain-card,
.fos-resource-kit,
.solution-panel,
.application-visual,
.hot-list article,
.subscribe-card,
.legal-card {
  background: var(--card-bg);
  border: var(--border-width) solid var(--card-border);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}

.contact-btn,
.btn,
.search-box input {
  border-radius: var(--btn-radius);
}

.nav-toggle,
.select-btn,
.pagination button {
  border-radius: var(--btn-radius);
}

.form-input {
  border-radius: var(--input-radius);
}

textarea.form-input {
  border-radius: var(--radius-md);
}

.header-actions .contact-btn,
.reference-hero .hero-actions .btn,
.chip,
.select-btn {
  border-radius: var(--btn-radius);
}

.btn.secondary {
  color: var(--btn-secondary-fg);
  background: var(--btn-secondary-bg);
  border-color: var(--btn-secondary-border);
}

.header-actions .theme-toggle,
.header-actions .lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  padding: 0;
  color: var(--ink);
  background: var(--surface);
  border: var(--border-width) solid var(--line);
  border-radius: var(--btn-radius);
  box-shadow: var(--shadow-xs);
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.header-actions .lang-toggle {
  font-size: 0;
  font-weight: 800;
}

.header-actions .lang-toggle::after {
  content: "EN";
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

html[lang="en"] .header-actions .lang-toggle::after {
  content: "\4E2D";
}

.header-actions .theme-toggle .theme-icon,
.header-actions .theme-toggle .ui-icon {
  width: 18px;
  height: 18px;
}

.header-actions .theme-toggle .theme-icon-moon,
html[data-theme="dark"] .header-actions .theme-toggle .theme-icon-sun {
  display: none;
}

html[data-theme="dark"] .header-actions .theme-toggle .theme-icon-moon {
  display: block;
}

.header-actions .theme-toggle:hover,
.header-actions .lang-toggle:hover {
  color: var(--blue);
  background: var(--blue-soft);
  border-color: var(--line);
  box-shadow: none;
}

.header-actions .theme-toggle:focus-visible,
.header-actions .lang-toggle:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

html.theme-ready,
html.theme-ready body,
html.theme-ready .site-header,
html.theme-ready .site-footer,
html.theme-ready .panel,
html.theme-ready .btn,
html.theme-ready .contact-btn {
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

html.theme-ready .quick-card,
html.theme-ready .product-card,
html.theme-ready .news-card {
  transition:
    transform var(--lift-out-duration) var(--lift-ease),
    background-color 180ms ease,
    color 180ms ease,
    border-color 280ms ease,
    box-shadow 180ms ease;
}

html.theme-ready .quick-card:hover,
html.theme-ready .product-card:hover,
html.theme-ready .news-card:hover,
html.theme-ready .reference-quick-grid .quick-card:focus-visible {
  transition-duration: var(--lift-duration), 180ms, 180ms, 280ms, 180ms;
}

html[data-theme="dark"] .news-media,
html[data-theme="dark"] .news-list .news-card > img,
html[data-theme="dark"] .hot-list img,
html[data-theme="dark"] .article-cover-figure .article-cover,
html[data-theme="dark"] .product-card .product-media,
html[data-theme="dark"] .product-card .product-media img,
html[data-theme="dark"] .product-card > img,
html[data-theme="dark"] .home-product-media,
html[data-theme="dark"] .home-product-media img,
html[data-theme="dark"] .gallery-stage:has(.gallery-main[src*="-transparent."]),
html[data-theme="dark"] .gallery-stage:has(.gallery-main[src*="-transparent."]) .gallery-main {
  background: transparent;
}

html[data-theme="dark"] .home-product-media img,
html[data-theme="dark"] .product-card .product-media img {
  filter: none;
}

html[data-theme="dark"] .fulai-video video,
html[data-theme="dark"] .gallery-stage .gallery-video video {
  background: #050608;
}

html[data-theme="dark"] .news-card .news-media img[src*="-transparent."],
html[data-theme="dark"] .article-cover-figure .article-cover[src*="-transparent."],
html[data-theme="dark"] .foi-system-module > img[src*="-transparent."],
html[data-theme="dark"] .foi-system-module .card-carousel img[src*="-transparent."],
html[data-theme="dark"] .reference-domain-card > img[src*="-transparent."] {
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.45));
}

html[data-theme="dark"] .check-row,
html[data-theme="dark"] .detail-summary > p,
html[data-theme="dark"] .breadcrumb a {
  color: var(--ink);
}

html[data-theme="dark"] .site-nav a {
  color: var(--nav-idle);
}

html[data-theme="dark"] .site-nav a:hover {
  color: var(--nav-hover);
}

html[data-theme="dark"] .site-nav a.active {
  color: var(--nav-active);
}

html[data-theme="dark"] .breadcrumb,
html[data-theme="dark"] .hero-copy p,
html[data-theme="dark"] .page-hero p {
  color: var(--muted);
}

html[data-theme="dark"] body.nav-open .site-nav {
  background: var(--surface);
  border-bottom-color: var(--line);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.34);
}

html[data-theme="dark"] body.nav-open .site-nav > a {
  color: var(--text);
}

html[data-theme="dark"] body.nav-open .site-nav > a.active,
html[data-theme="dark"] body.nav-open .site-nav .nav-docs > summary.active {
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 360px) {
  .nav-toggle,
  .header-actions .theme-toggle,
  .header-actions .lang-toggle {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
  }
}

html[data-theme="dark"] .docs-sidebar,
html[data-theme="dark"] .toc,
html[data-theme="dark"] .legal-document,
html[data-theme="dark"] .legal-side,
html[data-theme="dark"] .resource-cover,
html[data-theme="dark"] .resource-cover-placeholder,
html[data-theme="dark"] .foi-component-grid img,
html[data-theme="dark"] .fos-kit-media,
html[data-theme="dark"] .cms-card,
html[data-theme="dark"] .article-source-footnote,
html[data-theme="dark"] .resource-toolbar,
html[data-theme="dark"] .resource-stats div,
html[data-theme="dark"] .docs-content code,
html[data-theme="dark"] .docs-content pre,
html[data-theme="dark"] .docs-content th,
html[data-theme="dark"] .subscribe-note,
html[data-theme="dark"] .hot-list,
html[data-theme="dark"] .filter-panel {
  background: var(--surface);
  border-color: var(--line);
  color: var(--text);
}

html[data-theme="dark"] .legal-document .post-content,
html[data-theme="dark"] .legal-side a,
html[data-theme="dark"] .resource-cover-placeholder,
html[data-theme="dark"] .docs-nav a,
html[data-theme="dark"] .toc a {
  color: var(--text);
}

html[data-theme="dark"] .legal-side a,
html[data-theme="dark"] .docs-content th,
html[data-theme="dark"] .docs-content td {
  border-color: var(--line);
}

html[data-theme="dark"] .docs-content blockquote,
html[data-theme="dark"] .docs-callout {
  background: var(--bg-muted);
  border-color: var(--blue);
}

html[data-theme="dark"] .tag,
html[data-theme="dark"] .chip:not(.active),
html[data-theme="dark"] .select-btn,
html[data-theme="dark"] .pagination button:not(.active),
html[data-theme="dark"] .form-input,
html[data-theme="dark"] textarea.form-input,
html[data-theme="dark"] select.form-input {
  color: var(--ink);
  background: var(--input-bg);
  border-color: var(--input-border);
}

html[data-theme="dark"] .chip.active,
html[data-theme="dark"] .pagination button.active {
  color: #fff;
  background: var(--btn-bg);
  border-color: var(--btn-bg);
}

.site-footer .btn,
.site-footer .contact-btn {
  --btn-bg: #2464ec;
  --btn-fg: #ffffff;
  --btn-hover: #3d78f2;
  --btn-border: #2464ec;
}

.reference-hero .eyebrow {
  margin-bottom: 16px;
  color: var(--blue);
  letter-spacing: 0.18em;
  font-weight: 700;
}

.reference-hero .hero-copy h1 {
  letter-spacing: -0.03em;
}

.reference-hero .hero-actions {
  gap: 12px;
  margin-top: 28px;
}

.reference-hero .hero-actions .btn {
  min-height: 46px;
  padding: 0 26px;
  border-radius: var(--btn-radius);
  box-shadow: none;
}

.reference-hero .hero-actions .btn.secondary {
  color: var(--btn-secondary-fg);
  background: var(--btn-secondary-bg);
  border-color: var(--btn-secondary-border);
}

.reference-hero .hero-actions .btn.secondary:hover {
  background: var(--btn-secondary-hover-bg);
}

.reference-capability.capability-strip {
  margin-top: 0;
  margin-bottom: 28px;
  padding: 20px 24px;
  background: var(--card-bg);
  border: var(--border-width) solid var(--card-border);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
}

.reference-capability-icon {
  background: var(--blue-soft);
  border-radius: var(--radius);
}

.reference-quick-grid .quick-card:hover,
.reference-quick-grid .quick-card:focus-visible {
  border-color: var(--blue);
  box-shadow: var(--card-shadow);
}

html[data-theme="dark"] .hero-touch-hand img {
  filter: contrast(1.06) brightness(1.05) drop-shadow(0 18px 32px rgba(0, 0, 0, 0.5));
}

html[data-theme="dark"] .hero-touch-stage::after {
  background: radial-gradient(ellipse at center, rgba(36, 100, 236, 0.24), transparent 70%);
}

.fulai-quickbar {
  position: fixed;
  top: 20px;
  left: 50%;
  z-index: 60;
  width: max-content;
  max-width: calc(100vw - 24px);
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -120%);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

html.header-compact .fulai-quickbar,
.fulai-quickbar.is-visible {
  pointer-events: auto;
  opacity: 1;
  transform: translate(-50%, 0);
}

.fulai-quickbar-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 6px 5px 6px;
  overflow: visible;
  color: var(--ink);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--btn-radius);
  box-shadow: var(--glass-shadow);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.fulai-quickbar-links {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.fulai-quickbar-links::-webkit-scrollbar {
  display: none;
}

.fulai-quickbar-links a {
  flex: 0 0 auto;
  padding: 7px 12px;
  color: color-mix(in srgb, var(--ink) 42%, transparent);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  border-radius: var(--btn-radius);
  transition: color 180ms ease, background 180ms ease;
}

.fulai-quickbar-links a:hover {
  color: var(--ink);
}

.fulai-quickbar-links a.active:not(.fulai-quickbar-cta) {
  color: var(--btn-fg);
  background: var(--btn-bg);
}

.fulai-quickbar-links a.active:not(.fulai-quickbar-cta):hover {
  color: var(--btn-fg);
}

.fulai-quickbar-cta {
  padding: 7px 14px;
  color: var(--btn-fg) !important;
  background: var(--btn-bg);
  font-size: 14px !important;
  font-weight: 400 !important;
}

.fulai-quickbar-cta:hover {
  background: var(--btn-hover);
}

.fulai-quickbar-tools {
  display: flex;
  align-items: center;
  gap: 2px;
  padding-left: 10px;
  border-left: 1px solid var(--glass-border);
}

.fulai-quickbar .theme-toggle,
.fulai-quickbar .lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: var(--btn-radius);
  cursor: pointer;
}

.fulai-quickbar .lang-toggle {
  font-size: 0;
  font-weight: 800;
}

.fulai-quickbar .lang-toggle::after {
  content: "EN";
  font-size: 11px;
  font-weight: 800;
}

html[lang="en"] .fulai-quickbar .lang-toggle::after {
  content: "\4E2D";
}

.fulai-quickbar .theme-toggle .ui-icon,
.fulai-quickbar .theme-toggle .theme-icon {
  width: 15px;
  height: 15px;
}

.fulai-quickbar .theme-toggle .theme-icon-moon,
html[data-theme="dark"] .fulai-quickbar .theme-toggle .theme-icon-sun {
  display: none;
}

html[data-theme="dark"] .fulai-quickbar .theme-toggle .theme-icon-moon {
  display: block;
}

.fulai-quickbar .theme-toggle:hover,
.fulai-quickbar .lang-toggle:hover {
  background: color-mix(in srgb, var(--ink) 8%, transparent);
}

@media (max-width: 1180px) {
  html.header-compact .site-header {
    transform: none;
    opacity: 1;
    pointer-events: auto;
    border-color: var(--header-border);
  }

  .fulai-quickbar {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .fulai-quickbar {
    transition: none;
  }
}

.page-hero {
  color: var(--text);
}

.page-hero h1 {
  color: var(--ink);
  letter-spacing: -0.03em;
}

.page-hero p {
  color: var(--muted);
}

.page-hero .eyebrow {
  margin-bottom: 12px;
  color: var(--blue);
  letter-spacing: 0.16em;
  font-weight: 700;
}

.page-hero-inner:not(:has(img)) {
  grid-template-columns: minmax(0, 1fr);
  min-height: 0;
  padding: 42px 0 18px;
}

.page-hero-img {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  object-fit: contain;
}

.reference-page-hero .page-hero-img,
.reference-download-hero .page-hero-img {
  background: transparent;
  box-shadow: none;
  isolation: isolate;
  -webkit-mask-image: radial-gradient(ellipse 88% 82% at 50% 48%, #000 52%, transparent 80%);
  mask-image: radial-gradient(ellipse 88% 82% at 50% 48%, #000 52%, transparent 80%);
}

.reference-download-hero .page-hero-img {
  width: min(300px, 40vw);
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.18));
  -webkit-mask-image: radial-gradient(ellipse 82% 78% at 50% 42%, #000 46%, transparent 76%);
  mask-image: radial-gradient(ellipse 82% 78% at 50% 42%, #000 46%, transparent 76%);
}

html[data-theme="dark"] .reference-page-hero .page-hero-img {
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.35));
}

.reference-directory-table {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  box-shadow: none;
  overflow-x: auto;
}

.reference-directory-table .resource-table th {
  color: var(--muted);
  background: var(--bg-muted);
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}

.reference-directory-table .resource-table td {
  color: var(--text);
  background: transparent;
  border-bottom: 1px solid var(--line);
}

.reference-directory-table .resource-table tr:last-child td {
  border-bottom: 0;
}

.table-product img {
  background: transparent;
  border: 0;
}

html[data-theme="dark"] .table-product img {
  background: transparent;
  mix-blend-mode: multiply;
}

html[data-theme="dark"] .table-product {
  isolation: isolate;
}


/* Product documentation navigation shares the site's light and dark tokens. */
.nav-docs { position: relative; }
.nav-docs > summary { display: flex; align-items: center; gap: 6px; min-height: 72px; color: var(--nav-idle); font-weight: 500; cursor: pointer; list-style: none; }
.nav-docs > summary::-webkit-details-marker { display: none; }
.nav-docs > summary:hover, .nav-docs[open] > summary, .nav-docs > summary.active { color: var(--nav-active); }
.nav-docs > summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.nav-docs > summary.active { box-shadow: inset 0 -3px var(--blue); font-weight: 700; }
.nav-docs-panel { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); width: 660px; max-width: calc(100vw - 48px); padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-clean); max-height: calc(100dvh - 100px); overflow-y: auto; z-index: 50; }
.nav-docs-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.nav-docs-groups section { min-width: 0; }
.nav-docs-groups h2 { margin: 0 0 10px; font-size: 13px; color: var(--muted); }
.nav-docs-note { margin: 0 0 10px; font-size: 12px; font-weight: 400; line-height: 1.6; color: var(--muted); }
.site-nav .nav-docs .nav-docs-panel a { min-height: 44px; display: flex; padding: 10px 12px; border-radius: 6px; color: var(--text); font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.site-nav .nav-docs .nav-docs-panel a:hover { background: var(--bg-muted); color: var(--blue); }
.site-nav .nav-docs-all { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); justify-content: space-between; }
.product-docs-page { padding-top: 32px; padding-bottom: 64px; min-height: 60vh; }
.product-docs-page h1 { font-size: clamp(24px, 3vw, 36px); }
.product-docs-page .product-guide-card h2 { font-size: 18px; margin: 8px 0; }
@media (max-width: 1180px) {
  body.nav-open .site-header { z-index: 10000; }
  body.nav-open .site-nav { z-index: 10000; max-height: calc(100dvh - 73px - env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; }
  body.nav-open .nav-docs > summary { min-height: 48px; padding: 0 16px; justify-content: space-between; color: var(--text); font-size: 15px; border-radius: 6px; }
  body.nav-open .nav-docs > summary.active { box-shadow: none; }
  body.nav-open .nav-docs > summary::after { width: 8px; height: 8px; margin-right: 3px; content: ""; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform 160ms ease; }
  body.nav-open .nav-docs[open] > summary::after { transform: rotate(225deg); }
  body.nav-open .nav-docs-panel { position: static; transform: none; width: auto; max-width: none; max-height: none; margin: 0; padding: 0 0 8px 14px; background: transparent; border: 0; box-shadow: none; }
  body.nav-open .nav-docs-groups { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  body.nav-open .nav-docs-groups h2 { margin: 10px 12px 4px; font-size: 11px; }
  body.nav-open .nav-docs-note { margin: 0 12px 6px; font-size: 11px; line-height: 1.4; }
  body.nav-open .site-nav .nav-docs .nav-docs-panel a { min-height: 40px; padding: 8px 12px; font-size: 13px; line-height: 1.4; }
  body.nav-open .site-nav .nav-docs-all { margin-top: 6px; padding: 8px 12px; min-height: 40px; }
}

/* Product documentation: directory, reading column and page outline. */
.product-docs-shell { display: grid; grid-template-columns: 240px minmax(0, 1fr) 180px; gap: 28px; align-items: start; padding-top: 32px; padding-bottom: 64px; }
.product-docs-shell.docs-no-product { grid-template-columns: minmax(0, 1fr) 180px; }
.product-docs-sidebar, .product-docs-toc { position: sticky; top: 100px; min-width: 0; max-height: calc(100dvh - 124px); overflow-y: auto; }
.product-docs-directory > summary { display: none; }
.docs-product-switch { border: 1px solid var(--line); border-radius: 8px; padding: 12px; background: var(--surface); }
.docs-product-switch summary { cursor: pointer; font-size: 14px; font-weight: 600; line-height: 1.6; }
.docs-product-switch nav { display: grid; gap: 4px; margin-top: 12px; }
.docs-product-switch a { padding: 8px; font-size: 13px; border-radius: 4px; }
.docs-directory-search { display: grid; gap: 8px; margin: 20px 0; font-size: 12px; color: var(--muted); }
.docs-directory-search input { width: 100%; min-width: 0; border: 1px solid var(--line); border-radius: 6px; padding: 10px; background: var(--surface); color: var(--text); }
.docs-directory-links h3 { margin: 22px 8px 8px; font-size: 12px; color: var(--muted); }
.docs-directory-links a { display: block; padding: 9px 10px; border-radius: 6px; color: var(--text); font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.docs-directory-links a:hover, .docs-product-switch a:hover { background: var(--bg-muted); color: var(--blue); }
.docs-directory-links a[aria-current], .docs-product-switch a[aria-current] { color: var(--blue); background: var(--blue-soft); }
.docs-directory-links [hidden] { display: none !important; }
.docs-back-product { display: block; margin-top: 24px; padding: 14px 8px; border-top: 1px solid var(--line); font-size: 13px; }
.product-docs-main, .product-docs-shell.guide-detail-page .guide-detail-card { min-width: 0; width: 100%; max-width: none; margin: 0; padding: 32px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.docs-product-hero { display: flex; gap: 20px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line); }
.docs-product-hero > div { min-width: 0; flex: 1; }
.docs-product-hero h1 { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.35; margin: 8px 0 16px; }
.docs-product-hero p { line-height: 1.8; color: var(--muted); }
.docs-product-hero img { width: 150px; height: 140px; object-fit: contain; border-radius: 8px; }
.docs-eyebrow { font-size: 12px; font-weight: 600; color: var(--blue) !important; }
.docs-learning-section { margin-top: 36px; scroll-margin-top: 100px; }
.docs-learning-section h2 { font-size: 22px; margin: 0 0 12px; }
.docs-section-intro { color: var(--muted); margin-bottom: 16px; }
.docs-product-note { padding: 14px 16px; background: var(--blue-soft); border-left: 3px solid var(--blue); border-radius: 4px; line-height: 1.8; }
.docs-guide-entry { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--blue); }
.docs-guide-entry:hover { background: var(--bg-muted); }
.docs-guide-entry strong { font-size: 16px; }
.docs-guide-entry p { color: var(--muted); font-size: 14px; line-height: 1.7; margin: 8px 0; }
.docs-guide-type { display: inline-block; color: var(--muted); background: var(--bg-muted); border-radius: 4px; font-size: 12px; margin-top: 8px; padding: 2px 8px; }
.product-docs-toc { font-size: 12px; padding-top: 12px; }
.product-docs-toc strong { color: var(--muted); }
.product-docs-toc nav { display: grid; gap: 6px; margin-top: 12px; border-left: 1px solid var(--line); }
.product-docs-toc a { padding: 6px 12px; color: var(--muted); overflow-wrap: anywhere; }
.product-docs-toc a[aria-current] { color: var(--blue); border-left: 2px solid var(--blue); margin-left: -1px; }
.product-docs-toc a[data-level="3"] { padding-left: 24px; }
.product-docs-shell .guide-detail-content h2, .product-docs-shell .guide-detail-content h3 { scroll-margin-top: 100px; }
.docs-reading-pagination { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; border-top: 1px solid var(--line); margin-top: 32px; padding-top: 24px; }
.docs-reading-pagination a { border: 1px solid var(--line); border-radius: 8px; padding: 16px; }
.docs-reading-pagination span, .docs-reading-pagination strong { display: block; }
.docs-reading-pagination span { color: var(--muted); font-size: 12px; margin-bottom: 8px; }
@media (max-width: 1180px) {
  .product-docs-shell { grid-template-columns: 220px minmax(0, 1fr); gap: 20px; }
  .product-docs-shell.docs-no-product { grid-template-columns: minmax(0, 1fr); }
  .product-docs-toc { display: none; }
}
@media (max-width: 800px) {
  .product-docs-shell { grid-template-columns: minmax(0, 1fr); padding-top: 20px; }
  .product-docs-sidebar { position: static; max-height: none; }
  .product-docs-directory { border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
  .product-docs-directory > summary { display: list-item; padding: 14px; cursor: pointer; font-weight: 600; }
  .product-docs-directory-body { padding: 0 14px 14px; }
  .product-docs-main, .product-docs-shell.guide-detail-page .guide-detail-card { padding: 20px; }
  .docs-product-hero img { width: 90px; height: 90px; }
  .docs-product-hero { flex-wrap: wrap; }
  .docs-reading-pagination { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
  .reference-directory-table .resource-table {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .reference-directory-table .resource-table thead {
    display: none;
  }

  .reference-directory-table .resource-table tbody {
    display: grid;
  }

  .reference-directory-table .resource-table tr {
    display: grid;
    min-width: 0;
    gap: 10px;
    padding: 16px;
    border-bottom: 1px solid var(--line);
  }

  .reference-directory-table .resource-table tr:last-child {
    border-bottom: 0;
  }

  .reference-directory-table .resource-table td {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: start;
    min-width: 0;
    padding: 0;
    border: 0;
    overflow-wrap: anywhere;
  }

  .reference-directory-table .resource-table td:empty {
    display: none;
  }

  .reference-directory-table .resource-table td::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
  }
  html[lang="en"] .reference-directory-table .resource-table td::before {
    content: attr(data-label-en);
  }
  html[lang="en"] .reference-directory-table .resource-table td[data-mobile-title]::before,
  html[lang="en"] .reference-directory-table .resource-table td[data-mobile-action]::before {
    content: none;
  }

  .reference-directory-table .resource-table td[data-mobile-title],
  .reference-directory-table .resource-table td[data-mobile-action] {
    display: block;
  }

  .reference-directory-table .resource-table td[data-mobile-title]::before,
  .reference-directory-table .resource-table td[data-mobile-action]::before {
    content: none;
  }

  .reference-directory-table .resource-table td[data-mobile-title] > strong {
    display: block;
    line-height: 1.55;
  }

  .reference-directory-table .resource-table td[data-mobile-action] {
    padding-top: 4px;
  }

  .reference-directory-table .resource-table td[data-mobile-action] .btn {
    min-height: 42px;
    width: 100%;
  }

  .reference-directory-table .resource-table .access-badge {
    justify-self: start;
  }

  .reference-directory-table .table-resource-links {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Premium interaction layer: quiet ambient motion, card spotlights and reading progress. */
#fulai-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 120;
  width: 100%;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(90deg, #4f83ff 0%, #31c9d7 48%, #9b7cff 100%);
  box-shadow: 0 0 14px rgba(79, 131, 255, 0.65);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 120ms linear;
}

.reference-hero {
  isolation: isolate;
}

.reference-hero::after {
  position: absolute;
  inset: -18% -8%;
  z-index: 0;
  pointer-events: none;
  content: "";
  opacity: 0.42;
  background:
    radial-gradient(ellipse at 72% 38%, rgba(82, 139, 255, 0.16), transparent 34%),
    radial-gradient(ellipse at 92% 78%, rgba(42, 198, 207, 0.1), transparent 30%);
  filter: blur(18px);
  animation: fulaiAurora 13s ease-in-out infinite alternate;
}

.reference-hero .hero-inner {
  z-index: 1;
}

@keyframes fulaiAurora {
  from { transform: translate3d(-1.5%, 0, 0) scale(1); }
  to { transform: translate3d(1.5%, 1.5%, 0) scale(1.04); }
}

.premium-spotlight {
  position: relative;
  isolation: isolate;
}

/* The shared spotlight enhancement adds a positioning context to cards. Keep
   the catalog navigation sticky so its top edge stays aligned with the
   catalog toolbar instead of receiving the relative `top` offset. */
.reference-filter-panel.premium-spotlight {
  position: sticky;
}

.premium-spotlight::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  border-radius: inherit;
  background: radial-gradient(220px circle at var(--spot-x, 50%) var(--spot-y, 0%), rgba(105, 157, 255, 0.16), transparent 72%);
  opacity: 0;
  transition: opacity 260ms ease;
}

.premium-spotlight:hover::after,
.premium-spotlight:focus-within::after {
  opacity: 1;
}

.quick-card .card-arrow,
.reference-quick-grid .quick-card .card-arrow {
  transition: transform 360ms var(--lift-ease), border-color 220ms ease, color 220ms ease;
}

.quick-card:hover .card-arrow,
.quick-card:focus-visible .card-arrow {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
  transform: rotate(-45deg) scale(1.06);
}

.section-link::after,
.text-link::after {
  transition: transform 300ms var(--lift-ease);
}

.section-link:hover::after,
.text-link:hover::after {
  transform: translateX(4px);
}

.btn:not(.secondary),
.contact-btn {
  background-image: linear-gradient(115deg, transparent 22%, rgba(255, 255, 255, 0.2) 47%, transparent 70%);
  background-size: 220% 100%;
  background-position: 125% 0;
}

.btn:not(.secondary):hover,
.contact-btn:hover {
  background-image: linear-gradient(115deg, transparent 22%, rgba(255, 255, 255, 0.25) 47%, transparent 70%);
  background-position: -35% 0;
}

.reference-capability-icon {
  transition: transform 420ms var(--lift-ease), box-shadow 420ms ease;
}

.reference-capability article:hover .reference-capability-icon {
  transform: translateY(-3px) rotate(-4deg);
  box-shadow: 0 10px 22px rgba(36, 100, 236, 0.16);
}

@media (prefers-reduced-motion: reduce) {
  #fulai-scroll-progress,
  .reference-hero::after,
  .premium-spotlight::after,
  .quick-card .card-arrow,
  .reference-capability-icon,
  .section-link::after,
  .text-link::after {
    transition: none;
    animation: none;
  }

  .btn:not(.secondary),
  .contact-btn {
    background-image: none;
  }
}

.update-detail-page { max-width: 1120px; padding-bottom: 64px; }
.update-detail-page .breadcrumb { margin-bottom: 28px; }
.update-entry { min-width: 0; }
.update-entry h1 { margin: 16px 0 28px; color: var(--ink); font-size: clamp(28px, 3vw, 36px); line-height: 1.35; }
.update-detail-body { display: grid; grid-template-columns: minmax(280px, .82fr) minmax(0, 1fr); align-items: start; gap: clamp(32px, 5vw, 72px); }
.update-detail-body--text-only { grid-template-columns: minmax(0, 1fr); }
.update-detail-changes { min-width: 0; }
.update-detail-changes section { padding: 18px 0; border-top: 1px solid var(--line); }
.update-detail-changes h3 { margin: 0 0 10px; color: var(--ink); font-size: 16px; line-height: 1.4; }
.update-detail-changes ul { margin: 0; padding-left: 21px; }
.update-detail-changes li { padding-left: 3px; overflow-wrap: anywhere; }
.update-detail-changes li + li { margin-top: 8px; }
.update-detail-changes > p { margin: 0; }
.update-detail-cover { width: 100%; max-width: 460px; margin: 0; justify-self: start; }
.update-detail-cover img { display: block; width: 100%; height: auto; max-height: 400px; object-fit: contain; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.update-detail-content { margin-top: 26px; padding: 24px 0 0; border-top: 1px solid var(--line); }
.update-detail-content > :first-child { margin-top: 0; }
.update-detail-content > :last-child { margin-bottom: 0; }
.update-detail-attachments { margin-top: 36px; padding-top: 30px; border-top: 1px solid var(--line); }
.update-detail-attachments h2 { margin: 0 0 16px; color: var(--ink); font-size: 20px; line-height: 1.4; }
.guide-detail-files { margin-top: 28px; }
.guide-detail-files h2 { margin: 0 0 12px; font-size: 20px; }
.docs-guide-files { margin-top: 14px; }
.docs-guide-entry-block .docs-guide-files { margin: 0 0 8px; }
.update-detail-files { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.update-detail-files a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-width: 0; padding: 15px 16px; border: 1px solid var(--line); border-radius: 6px; color: var(--blue); overflow-wrap: anywhere; }
.update-detail-files a:hover, .update-detail-files a:focus-visible { border-color: var(--blue); }
.update-detail-files small { flex: 0 0 auto; color: var(--muted); }
@media (max-width: 760px) {
  .update-detail-page { padding-bottom: 48px; }
  .update-detail-page .breadcrumb { margin-bottom: 22px; }
  .update-entry h1 { margin: 14px 0 22px; font-size: 27px; }
  .update-detail-body { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .update-detail-cover { max-width: none; justify-self: stretch; }
  .update-detail-attachments { margin-top: 30px; padding-top: 24px; }
}
.update-product-links{display:flex;flex-wrap:wrap;gap:10px;font-size:14px;margin:12px 0}

/* Product context uses the existing page typography and spacing. */
.catalog-context { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:0 0 20px; }
.catalog-context a { margin-left:auto; text-decoration:underline; }
.update-product-side a {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin: 0 -12px;
  padding: 10px 12px 10px 9px;
  border-left: 3px solid transparent;
  border-radius: 4px;
}
.update-product-side a strong { min-width: 0; overflow-wrap: anywhere; }
.update-product-side a small { font-variant-numeric: tabular-nums; }
.update-product-side a:hover,
.update-product-side a:focus-visible {
  color: var(--blue);
  background: var(--bg-muted);
}
.update-product-side a[aria-current="page"],
.update-product-side a[aria-current="page"]:hover,
.update-product-side a[aria-current="page"]:focus-visible {
  color: var(--blue-dark);
  background: var(--blue-soft);
  border-left-color: var(--blue);
  border-bottom-color: transparent;
  text-decoration: none;
}

@media (max-width: 1180px) {
  .update-layout > .side-stack { order: -1; }
}

/* Site-wide typography scale: compact body copy with restrained heading sizes. */
body { font-size: 15px; }
.site-nav { font-size: 14px; }
.brand { font-size: 24px; }
.hero-copy h1,
.page-hero h1,
.reference-hero .hero-copy h1 { font-size: 40px; }
.hero-content h1 { font-size: 48px; }
.reference-page-hero h1,
.detail-summary h1,
.guide-detail-header h1,
.docs-article > h1 { font-size: 34px; }
.section-head h2,
.section-title { font-size: 22px; }
.fos-kit-content h3 { font-size: 30px; }
.foi-intro-grid h2 { font-size: 36px; }
.resource-entry h3 { font-size: 26px; }
.post-content p,
.post-content li { font-size: 15px; }
.hero-copy p,
.page-hero p,
.hero-content > p { font-size: 15px; }
.docs-article > .post-content { font-size: 15px; }
.docs-article .docs-content h2 { font-size: 22px; }
.docs-article .docs-content h3 { font-size: 19px; }
.docs-article .docs-content h4 { font-size: 17px; }
.docs-learning-section h2 { font-size: 20px; }
.docs-guide-entry strong { font-size: 15px; }
.docs-guide-card h3 { font-size: 18px; }

@media (max-width: 760px) {
  .hero-copy h1,
  .page-hero h1,
  .reference-hero .hero-copy h1 { font-size: 34px; }
  .hero-content h1 { font-size: 36px; }
  .reference-page-hero h1,
  .detail-summary h1,
  .guide-detail-header h1,
  .docs-article > h1 { font-size: 30px; }
  .foi-intro-grid h2 { font-size: 30px; }
}

/* Give product detail navigation and update filters more breathing room. */
.product-detail-page .detail-section-nav {
  row-gap: 16px;
  column-gap: 36px;
  padding: 22px 0;
}

.product-detail-page .detail-section-nav a {
  line-height: 1.5;
}

.product-updates .section-head {
  margin-bottom: 0;
}

.product-updates .chips,
.update-filter-toolbar .chips {
  gap: 14px;
  row-gap: 12px;
}

.product-updates .chips {
  margin: 22px 0 26px;
}

.update-filter-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin: 22px 0 26px;
}

.update-filter-toolbar .chips {
  flex: 1 1 680px;
  min-width: 0;
}

.update-search {
  flex: 0 1 260px;
  width: 260px;
  margin-left: auto;
}

.update-search input {
  height: 44px;
}

.product-updates .chip,
.update-filter-toolbar .chip {
  min-height: 44px;
  padding: 0 23px;
  line-height: 1.4;
}

/* Home hero split layers: the table stays fixed while the transparent hand
   moves toward it. The original scene is intentionally kept out of this path
   so the inspection lens is generated by the animation below. */
.home-hero-touch-stage .hero-home-platform {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  /* Keep the optical offset proportional to the stage instead of tying it
     to one viewport height. */
  transform: translateY(7.5%);
  filter: none;
  user-select: none;
  pointer-events: none;
}

.home-hero-touch-stage .hero-touch-hand,
.home-hero-touch-stage:hover .hero-touch-hand,
.home-hero-touch-stage:focus .hero-touch-hand {
  position: absolute;
  z-index: 20;
  top: -23%;
  left: 15%;
  width: 40%;
  height: 85.71%;
  visibility: visible;
  transform: translateY(var(--touch-lift-y, -14px));
  transition: none;
  pointer-events: none;
}

.home-hero-touch-stage .hero-touch-hand img {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  transform: none !important;
  filter: contrast(1.04) brightness(1.01)
    drop-shadow(0 22px 26px rgba(24, 48, 74, 0.18))
    drop-shadow(0 5px 7px rgba(14, 31, 52, 0.24));
}

html[data-theme="dark"] .home-hero-touch-stage .hero-touch-hand img {
  filter: contrast(1.06) brightness(1.05)
    drop-shadow(0 24px 30px rgba(0, 0, 0, 0.48))
    drop-shadow(0 7px 9px rgba(0, 0, 0, 0.58));
}

.home-hero-touch-stage .hero-touch-sensor {
  visibility: hidden;
}

.home-hero-touch-stage .hero-touch-zoom-window {
  background: rgba(8, 15, 26, 0.92);
  box-shadow: 0 12px 28px rgba(4, 12, 25, 0.34), inset 0 0 0 5px rgba(111, 163, 226, 0.08);
}

/* The lens carries the same translucent dot array as the about-page film. */
.hero-home-showcase .hero-touch-zoom-film {
  position: absolute;
  z-index: 1;
  top: 12%;
  left: 22%;
  display: block;
  width: 56%;
  height: 78%;
  transform: rotate(-3deg);
  filter: saturate(0.86) blur(0.15px);
  pointer-events: none;
}

.home-hero-touch-stage:not(.is-touching) .hero-touch-zoom {
  opacity: var(--touch-lens-progress, 0);
}

.home-hero-touch-stage .hero-touch-zoom-label {
  color: var(--muted);
}

@media (max-width: 760px) {
  .home-hero-touch-stage .hero-touch-hand,
  .home-hero-touch-stage:hover .hero-touch-hand,
  .home-hero-touch-stage:focus .hero-touch-hand {
    top: -23%;
    left: 15%;
    width: 40%;
    height: 85.71%;
  }
}

.product-update-list,
.update-list {
  gap: 18px;
}

.product-update-card {
  gap: 30px;
  padding: 24px 26px;
}

.product-update-meta {
  gap: 10px 18px;
  line-height: 1.5;
}

.product-update-card h3 {
  margin-top: 12px;
  line-height: 1.5;
}

.product-update-card p {
  margin-top: 10px;
  line-height: 1.75;
}

.product-resources .section-head {
  margin-bottom: 24px;
}

@media (max-width: 760px) {
  .product-detail-page .detail-section-nav {
    row-gap: 12px;
    column-gap: 22px;
    padding: 17px 0;
  }

  .product-updates .chips,
  .update-filter-toolbar {
    margin: 18px 0 22px;
  }

  .product-updates .chip,
  .update-filter-toolbar .chip {
    min-height: 42px;
    padding: 0 18px;
  }

  .update-search {
    flex: 1 1 100%;
    width: 100%;
    margin-left: 0;
  }

  .update-filter-toolbar .chips {
    flex-basis: 100%;
  }

  .product-update-card {
    gap: 12px;
    padding: 20px;
  }

  .product-update-changes {
    grid-template-columns: 1fr;
  }
}

/* Small transparent product assets need a little optical scaling so the catalog
   keeps a consistent visual weight without changing the source artwork. */
.reference-catalog-card .product-media img[src*="fos-p300s-6df"] {
  transform: scale(1.55);
}

.home-product-media img[src*="fos-p300s-6df"] {
  transform: scale(1.25);
}

/* Keep adjacent catalog modules anchored while the pointer moves between them.
   The hover state uses depth cues instead of a positional lift, avoiding a
   small jump when the pointer crosses a card edge. */
.reference-catalog-card,
.foi-system-module {
  transition: border-color 220ms ease, box-shadow 220ms ease;
}

.reference-catalog-card:hover,
.foi-system-module:hover {
  transform: none;
  border-color: var(--blue);
  box-shadow: 0 14px 28px rgba(36, 100, 236, 0.12);
}

.reference-catalog-card:hover .product-media img {
  transform: none;
}

/* Restore the product artwork to its normal size when the pointer leaves,
   then enlarge it smoothly while the card is hovered. */
.reference-catalog-card:hover .product-media img[src*="fos-p300s-6df"] {
  transform: scale(1.78);
}

html[data-theme="dark"] .reference-catalog-card:hover,
html[data-theme="dark"] .foi-system-module:hover {
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.3);
}

@media (prefers-reduced-motion: reduce) {
  .reference-catalog-card,
  .foi-system-module {
    transition: none;
  }
}

/* Give the small icon tiles a quiet layer of depth that works with both themes. */
.icon-box,
.reference-capability-icon {
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.28), 0 8px 18px rgba(36, 100, 236, 0.08);
}

html[data-theme="dark"] .icon-box,
html[data-theme="dark"] .reference-capability-icon {
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.1), 0 8px 18px rgba(0, 0, 0, 0.22);
}

/* Keep the catalog hierarchy readable against the dark surface. */
html[data-theme="dark"] .reference-filter-panel .catalog-side-link {
  color: var(--text);
}

html[data-theme="dark"] .reference-filter-panel .catalog-side-link:hover,
html[data-theme="dark"] .reference-filter-panel .catalog-side-link.active {
  color: var(--blue);
  background: var(--blue-soft);
}

/* Keep the hero animation flush with the section edges. The copy keeps the
   breathing room so the visual stage can use the full hero height. */
.reference-hero .hero-inner,
.about-hero .page-hero-inner {
  padding-top: 0;
  padding-bottom: 0;
}

.reference-hero .hero-copy {
  padding-top: 36px;
  padding-bottom: 28px;
}

@media (min-width: 761px) {
  .reference-hero .hero-inner {
    min-height: min(420px, 25vw);
  }
}

.about-hero .page-hero-inner > div:first-child {
  padding-top: 32px;
  padding-bottom: 20px;
}

@media (min-width: 761px) {
  .reference-hero .hero-touch-stage,
  .about-hero .hero-touch-stage {
    align-self: stretch;
    height: 100%;
    max-height: 100%;
    margin-block: 0;
    min-height: 0;
  }

  .about-hero .hero-touch-hand {
    left: 67%;
  }
}

@media (max-width: 760px) {
  .about-hero .page-hero-inner {
    grid-template-columns: 1fr;
  }

  .reference-hero .hero-copy {
    padding-top: 48px;
    padding-bottom: 30px;
  }

  .about-hero .page-hero-inner > div:first-child {
    padding-top: 24px;
    padding-bottom: 12px;
  }

  .about-hero .hero-touch-hand {
    left: 72%;
  }
}

/* Keep the touch-map module in its own row beneath the home animation. */
.reference-hero .hero-home-showcase {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-self: end;
  width: min(760px, 100%);
  min-width: 0;
}

.reference-hero .hero-home-showcase .hero-touch-stage {
  align-self: stretch;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 947 / 502;
  margin-block: 0;
}

.hero-home-showcase .hero-touch-zoom {
  position: relative;
  top: auto;
  right: auto;
  z-index: 2;
  flex: 0 0 auto;
  width: 164px;
  margin: 14px 4% 0 0;
  opacity: var(--touch-lens-progress, 0);
  transform: translateY(4px) scale(0.88);
}

.home-hero-touch-stage.is-touching + .hero-touch-zoom {
  opacity: 1;
  transform: translateY(-4px) scale(1);
}

.home-hero-showcase .hero-touch-zoom-window {
  background: rgba(8, 15, 26, 0.92);
  box-shadow: 0 12px 28px rgba(4, 12, 25, 0.34), inset 0 0 0 5px rgba(111, 163, 226, 0.08);
}

.hero-home-showcase .hero-touch-zoom-film {
  position: absolute;
  z-index: 1;
  top: 12%;
  left: 22%;
  display: block;
  width: 56%;
  height: 78%;
  transform: rotate(-3deg);
  filter: saturate(0.86) blur(0.15px);
  pointer-events: none;
}

.home-hero-showcase .hero-touch-zoom-label {
  color: var(--muted);
}

/* Keep the reference composition in one coordinate system at every size. */
.reference-hero .hero-home-showcase .hero-touch-zoom {
  position: absolute;
  top: 6%;
  right: 14%;
  width: 21.6%;
  margin: 0;
}

.reference-hero .hero-home-showcase .hero-touch-zoom-window {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
}

/* Keep the touch map in its own row below the home animation on desktop. */
@media (min-width: 761px) {
  .reference-hero .hero-home-showcase {
    position: relative;
  }

  .hero-home-showcase .hero-touch-zoom {
    position: absolute;
    top: 6%;
    right: 14%;
    margin: 0;
  }
}

@media (max-width: 760px) {
  .reference-hero .hero-home-showcase {
    align-items: center;
    width: 100%;
  }

  .reference-hero .hero-home-showcase .hero-touch-stage {
    height: auto;
    min-height: 0;
    aspect-ratio: 947 / 502;
  }

  .hero-home-showcase .hero-touch-zoom {
    margin: 0;
  }
}

/* Update metadata values: compact, aligned tags without divider lines. */
.product-update-meta,
.update-labels {
  align-items: center;
}

.product-update-meta > span + span {
  padding-left: 0;
  border-left: 0;
}

.product-update-meta .update-meta-field,
.update-labels .update-meta-field {
  min-height: 26px;
  align-items: center;
}

.update-meta-product .update-meta-value,
.update-meta-product .update-product-inline a {
  min-height: 26px;
  padding: 3px 9px;
  border: 1px solid rgba(91, 70, 168, 0.28);
  border-radius: 4px;
  color: #5b46a8;
  background: rgba(91, 70, 168, 0.16);
}

.update-meta-type .update-meta-value {
  min-height: 26px;
  padding: 3px 9px;
  border: 1px solid rgba(8, 127, 140, 0.28);
  border-radius: 4px;
  color: #087f8c;
  background: rgba(8, 127, 140, 0.16);
}

.update-meta-type { display: inline-flex; flex-wrap: wrap; gap: 6px; }

html[data-theme="dark"] .update-meta-product .update-meta-value,
html[data-theme="dark"] .update-meta-product .update-product-inline a {
  color: var(--purple);
  background: rgba(192, 132, 252, 0.16);
  border-color: rgba(192, 132, 252, 0.28);
}

html[data-theme="dark"] .update-meta-product .update-meta-missing {
  color: var(--purple) !important;
  background: rgba(192, 132, 252, 0.16);
  border-color: rgba(192, 132, 252, 0.28);
}

html[data-theme="dark"] .update-meta-type .update-meta-value {
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.16);
  border-color: rgba(34, 211, 238, 0.28);
}

.reference-resource-panel[data-system-panel="curated"] .resource-table {
  min-width: 900px;
  table-layout: fixed;
}

.reference-resource-panel[data-system-panel="curated"] .resource-table th:nth-child(1) { width: 34%; }
.reference-resource-panel[data-system-panel="curated"] .resource-table th:nth-child(2) { width: 30%; }
.reference-resource-panel[data-system-panel="curated"] .resource-table th:nth-child(3) { width: 13%; }
.reference-resource-panel[data-system-panel="curated"] .resource-table th:nth-child(4) { width: 9%; }
.reference-resource-panel[data-system-panel="curated"] .resource-table th:nth-child(5) { width: 14%; }

.reference-resource-panel[data-system-panel="curated"] .resource-table th,
.reference-resource-panel[data-system-panel="curated"] .resource-table td {
  padding: 12px 10px;
}

.resource-file-details {
  display: grid;
  gap: 3px;
  margin: 0;
}

.resource-file-details > div {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 6px;
}

.resource-file-details dt {
  color: var(--muted);
}

.resource-file-details dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.reference-resource-panel[data-system-panel="curated"] .resource-table td:first-child {
  overflow-wrap: anywhere;
}

.resource-file-version,
.reference-resource-panel[data-system-panel="curated"] .resource-table td:nth-child(4),
.reference-resource-panel[data-system-panel="curated"] .resource-table td:nth-child(5) {
  white-space: nowrap;
}

.resource-file-version strong {
  font-weight: 500;
}

.reference-directory-table .resource-file-version small {
  white-space: nowrap;
}

.reference-resource-panel[data-system-panel="curated"] .access-badge {
  display: inline-flex;
  white-space: nowrap;
}

.reference-resource-panel[data-system-panel="curated"] .btn {
  padding: 0 8px;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .reference-resource-panel[data-system-panel="curated"] .resource-table {
    min-width: 0;
  }

  .reference-resource-panel[data-system-panel="curated"] .resource-file-classification {
    display: block;
  }

  .reference-resource-panel[data-system-panel="curated"] .resource-file-classification::before {
    content: none;
  }
}

/* Product contents shares the document page's sidebar proportions and reading column. */
.product-detail-page { width: min(1510px, calc(100% - 160px)); }

.product-detail-page > .product-detail-layout {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  min-width: 0;
  margin-top: 12px;
}

.product-detail-page > .product-detail-layout--no-nav { grid-template-columns: minmax(0, 1fr); }

.product-detail-content { min-width: 0; }

.product-detail-page .detail-section-nav {
  position: sticky;
  top: 88px;
  z-index: 8;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 4px;
  box-sizing: border-box;
  width: 100%;
  min-height: min(620px, calc(100dvh - 112px));
  max-height: calc(100dvh - 112px);
  padding: 28px 16px;
  margin: 0;
  overflow-y: auto;
  background: var(--bg-muted);
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

html.header-compact .product-detail-page .detail-section-nav { top: 16px; }

.detail-nav-title {
  padding: 0 12px;
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.3;
}

.product-detail-page .detail-section-nav a {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 40px;
  padding: 8px 12px;
  color: var(--text);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
  border-radius: 6px;
}

.product-detail-page .detail-section-nav a:hover,
.product-detail-page .detail-section-nav a[aria-current="location"] {
  color: var(--blue);
  background: var(--blue-soft);
}

.product-detail-page .detail-section-nav a[aria-current="location"] {
  box-shadow: inset 3px 0 0 var(--blue);
}

@media (min-width: 801px) and (max-width: 1180px) {
  .product-detail-page { width: min(1510px, calc(100% - 64px)); }
  .product-detail-page > .product-detail-layout { grid-template-columns: 200px minmax(0, 1fr); gap: 24px; }
  .product-detail-page > .product-detail-layout--no-nav { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 800px) {
  .product-detail-page { width: min(100% - 28px, 680px); }
  .product-detail-page > .product-detail-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; scroll-margin-top: 76px; }
  .product-detail-page .detail-section-nav {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    min-height: 0;
    max-height: none;
    padding: 8px 0 12px;
    overflow-x: auto;
    overflow-y: hidden;
    background: transparent;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    scrollbar-width: thin;
  }
  .product-detail-page .detail-nav-title { display: none; }
  .product-detail-page .detail-section-nav a { min-height: 36px; white-space: nowrap; }
}

.product-detail-page > .product-share { grid-column: 1 / -1; }

.product-share {
  margin-top: 34px;
  padding: 24px 0 12px;
  border-top: 1px solid var(--line);
}

.product-share-heading h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.3;
}

.product-share-label {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 13px;
}

.product-share-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(2, auto);
  gap: 8px;
  align-items: center;
}

.product-share.has-native-share .product-share-controls {
  grid-template-columns: minmax(0, 1fr) repeat(3, auto);
}

.product-share-controls input {
  width: 100%;
  min-width: 0;
  height: 42px;
  padding: 0 12px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 14px;
  text-overflow: ellipsis;
}

.product-share-controls input:focus-visible {
  border-color: var(--blue);
  outline: 2px solid var(--focus-ring);
  outline-offset: 1px;
}

.product-share-controls .btn,
.product-share-dialog .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  white-space: nowrap;
}

.product-share-controls .ui-icon,
.product-share-dialog .ui-icon { width: 18px; height: 18px; }
.product-share-status { margin: 0; color: var(--muted); font-size: 13px; }
.product-share-status:not(:empty) { margin-top: 10px; }
.product-share [hidden], .product-share-dialog [hidden] { display: none !important; }

.product-share-dialog {
  width: min(420px, calc(100% - 32px));
  max-width: none;
  padding: 24px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.product-share-dialog::backdrop { background: rgba(10, 20, 32, 0.65); }
.product-share-dialog h2 { margin: 0 30px 18px; color: var(--ink); font-size: 20px; }
.product-share-dialog img { display: block; width: 240px; height: 240px; max-width: 100%; margin: 0 auto; background: #fff; image-rendering: pixelated; }
.product-share-dialog-url { margin: 14px 0 20px; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.product-share-close { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; color: var(--muted); background: transparent; border: 0; border-radius: 4px; cursor: pointer; }
.product-share-close:hover, .product-share-close:focus-visible { color: var(--ink); background: var(--bg-muted); }

@media (max-width: 700px) {
  .product-share-controls,
  .product-share.has-native-share .product-share-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-share-controls input { grid-column: 1 / -1; }
  .product-share-controls .btn { min-width: 0; padding-inline: 8px; font-size: 13px; }
  .product-share-controls [data-share-native] { grid-column: 1 / -1; }
}
