/**
 * 四方化工统一视觉系统 V5.815
 * 只依赖 PHP 注入的 .sf-visual-system 与页面家族 class，不改变正文 DOM。
 */

body.sf-visual-system {
	--sf-blue: #00508f;
	--sf-blue-deep: #173a5e;
	--sf-blue-soft: #edf5fb;
	--sf-blue-pale: #f6f9fc;
	--sf-ink: #1d2d3d;
	--sf-copy: #405468;
	--sf-muted: #64778a;
	--sf-line: #d7e2ec;
	--sf-line-strong: #bfd2e2;
	--sf-surface: #ffffff;
	--sf-positive: #397b50;
	--sf-gold: #d5a400;
	--sf-radius-sm: 6px;
	--sf-radius: 10px;
	--sf-radius-lg: 12px;
	--sf-shadow-sm: 0 4px 15px rgba(21, 58, 92, 0.055);
	--sf-shadow: 0 8px 24px rgba(21, 58, 92, 0.08);
	--sf-shadow-hover: 0 12px 28px rgba(21, 58, 92, 0.12);
	--sf-reading-width: 78ch;
	color: var(--sf-ink);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", "Microsoft YaHei", sans-serif;
	font-size: 16px;
	line-height: 1.75;
}

body.sf-visual-system *,
body.sf-visual-system *::before,
body.sf-visual-system *::after {
	box-sizing: border-box;
}

body.sf-visual-system .entry-content {
	color: var(--sf-copy);
}

body.sf-visual-system .entry-content h1,
body.sf-visual-system .entry-content h2,
body.sf-visual-system .entry-content h3 {
	color: var(--sf-blue-deep);
	text-wrap: balance;
}

body.sf-visual-system .entry-content h1 {
	letter-spacing: -0.02em;
}

body.sf-visual-system .entry-content h2 {
	color: var(--sf-blue-deep) !important;
	border-left-color: var(--sf-blue) !important;
}

body.sf-visual-system .entry-content p,
body.sf-visual-system .entry-content li,
body.sf-visual-system .entry-content td {
	overflow-wrap: anywhere;
}

body.sf-visual-system .entry-content :is(img, video, svg) {
	max-width: 100%;
	height: auto;
}

body.sf-visual-system .entry-content pre {
	max-width: 100%;
	overflow-x: auto;
}

body.sf-visual-system .entry-content a {
	color: var(--sf-blue);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

body.sf-visual-system a:focus-visible,
body.sf-visual-system button:focus-visible,
body.sf-visual-system input:focus-visible,
body.sf-visual-system textarea:focus-visible,
body.sf-visual-system select:focus-visible {
	outline: 3px solid rgba(0, 80, 143, 0.24);
	outline-offset: 3px;
	border-radius: var(--sf-radius-sm);
}

/* 首屏与信息面板。 */
body.sf-visual-system :is(
	.sf-v5316-hero,
	.sf-v5317-hero,
	.sf-v5318-hero,
	.sf-v5010-hero,
	.sf-v5714-hero,
	.sf-v5699-putty-standard-hero,
	.entry-content [class$="-hero"],
	.entry-content [class*="-hero "]
) {
	border-color: var(--sf-line-strong);
	border-radius: var(--sf-radius-lg);
	background-color: var(--sf-blue-pale);
	box-shadow: var(--sf-shadow);
}

body.sf-visual-system :is(
	.sf-v5010-panel,
	.sf-v56-hero-panel,
	.sf-v5318-facts > div,
	.sf-v5714-facts > div
) {
	border-color: var(--sf-line-strong);
	border-radius: var(--sf-radius);
	background: var(--sf-surface);
	box-shadow: var(--sf-shadow-sm);
}

/* 共用卡片：效果只在支持 hover 的设备出现，键盘使用 focus-within。 */
body.sf-visual-system :is(
	.sf-v5316-card,
	.sf-v5317-product,
	.sf-v5318-card,
	.sf-v5010-card,
	.sf-v5010-metric,
	.sf-v5010-logistic,
	.sf-v5714-card,
	.sf-v5809-priority-paths article,
	.entry-content [class$="-card"],
	.entry-content [class*="-card "]
) {
	border-color: var(--sf-line);
	border-radius: var(--sf-radius);
	box-shadow: var(--sf-shadow-sm);
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

body.sf-visual-system :is(
	.sf-v5316-card,
	.sf-v5317-product,
	.sf-v5318-card,
	.sf-v5010-card,
	.sf-v5010-metric,
	.sf-v5010-logistic,
	.sf-v5714-card,
	.sf-v5809-priority-paths article,
	.entry-content [class$="-card"],
	.entry-content [class*="-card "]
):focus-within {
	border-color: #9ebdd3;
	box-shadow: var(--sf-shadow-hover);
}

@media (hover: hover) and (pointer: fine) {
	body.sf-visual-system :is(
		.sf-v5316-card,
		.sf-v5317-product,
		.sf-v5318-card,
		.sf-v5010-card,
		.sf-v5010-metric,
		.sf-v5010-logistic,
		.sf-v5714-card,
		.sf-v5809-priority-paths article,
		.entry-content [class$="-card"],
		.entry-content [class*="-card "]
	):hover {
		transform: translateY(-2px);
		border-color: #afc8db;
		box-shadow: var(--sf-shadow-hover);
	}
}

/* 表格保持工业资料感，移动端只在自身容器滚动。 */
body.sf-visual-system .entry-content :is(.wp-block-table, .sf-table-wrap, .sf-v5678-table-wrap) {
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border-color: var(--sf-line);
	border-radius: var(--sf-radius);
}

body.sf-visual-system .entry-content table {
	width: 100%;
	border-color: var(--sf-line);
	background: var(--sf-surface);
}

body.sf-visual-system .entry-content th {
	background: var(--sf-blue);
	color: #fff;
	font-weight: 750;
}

body.sf-visual-system .entry-content td {
	border-color: #e0e8ef;
}

body.sf-visual-system .entry-content tbody tr:nth-child(even) td {
	background: #f9fbfd;
}

/* CTA 和边界提示保持克制，不增加新的行动入口。 */
body.sf-visual-system :is(
	.sf-v5316-cta,
	.sf-v5317-band,
	.sf-v5318-cta,
	.sf-v5318-band,
	.sf-v5010-cta,
	.sf-v5714-cta,
	.entry-content [class$="-cta"],
	.entry-content [class*="-cta "]
) {
	border-color: var(--sf-line-strong);
	border-radius: var(--sf-radius);
	background: linear-gradient(135deg, var(--sf-blue-soft), #f8fbfd);
	box-shadow: var(--sf-shadow-sm);
}

/* 响应式目录与当前章节状态。 */
body.sf-visual-system :is(
	.sf-v5318-side-toc,
	.sf-v5010-side-toc,
	.sf-v5714-toc,
	.sf-v5700-toc,
	.sf-v5699-putty-standard-toc,
	.entry-content nav[aria-label*="目录"],
	.entry-content aside[aria-label*="目录"]
) {
	border-color: var(--sf-line);
	border-radius: var(--sf-radius);
	box-shadow: var(--sf-shadow);
}

body.sf-visual-system :is(
	.sf-v5318-mobile-toc,
	.sf-v5010-mobile-toc,
	.sf-v5714-toc-links,
	.entry-content [class*="-mobile-toc"],
	.entry-content [class*="-toc-links"]
) {
	scrollbar-width: thin;
	scrollbar-color: #9ebdd3 transparent;
}

body.sf-visual-system [aria-label*="目录"] a {
	transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

body.sf-visual-system [aria-label*="目录"] a.is-current,
body.sf-visual-system [aria-label*="目录"] a[aria-current="location"] {
	border-color: #8fb4cd;
	background: var(--sf-blue-soft);
	color: var(--sf-blue-deep);
	font-weight: 780;
	text-decoration: none;
}

body.sf-visual-system .entry-content [id] {
	scroll-margin-top: 104px;
}

/* 技术方案正文控制行宽，表格、目录和结构化卡片不受限制。 */
body.sf-visual-technical :is(.sf-v5714-content, .sf-v5699-putty-standard-content) > p,
body.sf-visual-technical :is(.sf-v5714-content, .sf-v5699-putty-standard-content) > ul,
body.sf-visual-technical :is(.sf-v5714-content, .sf-v5699-putty-standard-content) > ol {
	max-width: var(--sf-reading-width);
}

/* 现有核心插画保持稳定尺寸与无布局偏移。 */
body.sf-visual-core .sf-v5811-entry-visual img {
	display: block;
	width: 100%;
	height: auto;
}

/* 公司与联系页沿用正文，仅强化首屏和表单控件。 */
body.sf-visual-company .sf-v5316-section,
body.sf-visual-contact .sf-v5316-section {
	padding-block: clamp(24px, 4vw, 36px);
}

body.sf-visual-contact :is(input, textarea, select) {
	min-height: 44px;
	border: 1px solid var(--sf-line-strong);
	border-radius: var(--sf-radius-sm);
	background: #fff;
}

body.sf-visual-contact textarea {
	min-height: 128px;
}

body.sf-visual-contact :is(button, input[type="submit"]) {
	min-height: 44px;
	border-radius: var(--sf-radius-sm);
	background: var(--sf-blue);
	color: #fff;
	font-weight: 750;
}

/* 只读阅读进度条：不占文档流，不成为导航或内容。 */
.sf-reading-progress {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 100000;
	width: 100%;
	height: 3px;
	pointer-events: none;
	background: transparent;
}

.sf-reading-progress > span {
	display: block;
	width: 0;
	height: 100%;
	background: linear-gradient(90deg, var(--sf-blue), #4b92bc 70%, #77afca);
	transform-origin: left center;
	transition: width 80ms linear;
}

@media (max-width: 960px) {
	body.sf-visual-system :is(
		.sf-v5318-side-toc,
		.sf-v5010-side-toc,
		.sf-v5714-toc,
		.sf-v5700-toc,
		.sf-v5699-putty-standard-toc,
		.entry-content aside[aria-label*="目录"]
	) {
		position: static;
		max-height: none;
		box-shadow: none;
	}

	body.sf-visual-system :is(
		.sf-v5318-mobile-toc,
		.sf-v5010-mobile-toc,
		.sf-v5714-toc-links,
		.entry-content [class*="-mobile-toc"],
		.entry-content [class*="-toc-links"]
	) {
		display: flex;
		gap: 8px;
		overflow-x: auto;
		overscroll-behavior-inline: contain;
		box-shadow: none;
	}
}

@media (max-width: 760px) {
	body.sf-visual-system {
		font-size: 15px;
	}

	body.sf-visual-system .entry-content h1 {
		font-size: clamp(26px, 8vw, 32px);
	}

	body.sf-visual-system .entry-content h2 {
		font-size: clamp(21px, 6vw, 25px);
	}

	body.sf-visual-system :is(
		.sf-v5316-hero,
		.sf-v5317-hero,
		.sf-v5318-hero,
		.sf-v5010-hero,
		.sf-v5714-hero,
		.sf-v5699-putty-standard-hero,
		.entry-content [class$="-hero"],
		.entry-content [class*="-hero "]
	) {
		border-radius: var(--sf-radius);
	}

	body.sf-visual-system .entry-content :is(.wp-block-table, .sf-table-wrap, .sf-v5678-table-wrap) {
		border-radius: 8px;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.sf-visual-system *,
	body.sf-visual-system *::before,
	body.sf-visual-system *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}

	.sf-reading-progress > span {
		transition: none;
	}
}

/* ========================================================================
 * V5.815 工业品牌视觉方向
 * 目标：重建站点外壳、首屏、内容节奏与品牌辨识度；不改变正文 DOM。
 * ===================================================================== */

body.sf-visual-system {
	--sf-navy: #0a2235;
	--sf-navy-2: #103a54;
	--sf-steel: #547082;
	--sf-mist: #eef2f4;
	--sf-canvas: #f5f6f6;
	--sf-brass: #c99a43;
	--sf-brass-light: #edcf8a;
	--sf-blue: #0b628a;
	--sf-blue-deep: #0a2b40;
	--sf-blue-soft: #eaf2f5;
	--sf-blue-pale: #f5f8f9;
	--sf-ink: #102633;
	--sf-copy: #344f5e;
	--sf-muted: #687d89;
	--sf-line: #d9e1e4;
	--sf-line-strong: #becdd3;
	--sf-surface: #fff;
	--sf-radius-sm: 7px;
	--sf-radius: 12px;
	--sf-radius-lg: 20px;
	--sf-shadow-sm: 0 8px 24px rgba(11, 34, 51, 0.05);
	--sf-shadow: 0 18px 48px rgba(11, 34, 51, 0.09);
	--sf-shadow-hover: 0 22px 54px rgba(11, 34, 51, 0.14);
	--sf-reading-width: 72ch;
	background: var(--sf-canvas);
	color: var(--sf-ink);
	font-family: Inter, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	line-height: 1.78;
}

/* 品牌头部：紧凑、左对齐、深色导航，不再使用大块亮蓝菜单。 */
body.sf-visual-system .site-header {
	max-width: none !important;
	background: #fff !important;
	border: 0 !important;
	border-top: 3px solid var(--sf-brass) !important;
	box-shadow: none !important;
}

body.sf-visual-system .inside-header {
	width: 100% !important;
	max-width: 1180px !important;
	min-height: 76px;
	margin-inline: auto !important;
	padding: 13px 24px !important;
	justify-content: flex-start !important;
	flex-wrap: nowrap !important;
}

body.sf-visual-system .site-logo,
body.sf-visual-system .site-logo a {
	display: flex;
	align-items: center;
}

body.sf-visual-system .site-logo img {
	display: block;
	width: auto !important;
	max-width: min(340px, 60vw) !important;
	max-height: 48px !important;
}

body.sf-visual-system .main-navigation {
	max-width: none !important;
	background: var(--sf-navy) !important;
	border: 0 !important;
	box-shadow: 0 8px 22px rgba(8, 28, 43, 0.13);
}

body.sf-visual-system .main-navigation .inside-navigation {
	width: 100%;
	max-width: 1180px;
	min-height: 58px;
	margin-inline: auto;
	padding: 0 24px;
}

body.sf-visual-system .main-navigation .main-nav > ul {
	min-height: 58px;
	align-items: center !important;
}

body.sf-visual-system .main-navigation .main-nav ul li a {
	position: relative;
	padding: 20px 18px !important;
	background: transparent !important;
	color: #e8f0f3 !important;
	font-size: 15px !important;
	font-weight: 650 !important;
	line-height: 1.2 !important;
	letter-spacing: 0.025em;
}

body.sf-visual-system .main-navigation .main-nav > ul > li > a::after {
	content: "";
	position: absolute;
	left: 18px;
	right: 18px;
	bottom: 10px;
	height: 2px;
	background: var(--sf-brass);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 180ms ease;
}

body.sf-visual-system .main-navigation .main-nav > ul > li:hover > a,
body.sf-visual-system .main-navigation .main-nav > ul > li.sfHover > a,
body.sf-visual-system .main-navigation .main-nav > ul > li[class*="current-menu"] > a {
	background: transparent !important;
	color: #fff !important;
}

body.sf-visual-system .main-navigation .main-nav > ul > li:hover > a::after,
body.sf-visual-system .main-navigation .main-nav > ul > li.sfHover > a::after,
body.sf-visual-system .main-navigation .main-nav > ul > li[class*="current-menu"] > a::after {
	transform: scaleX(1);
}

body.sf-visual-system .main-navigation .main-nav > ul::after {
	min-width: 0;
	margin-left: auto;
	padding: 8px 15px;
	border: 1px solid rgba(237, 207, 138, 0.72);
	border-radius: 999px;
	background: transparent;
	color: var(--sf-brass-light) !important;
	font-size: 13px;
	font-weight: 760;
	letter-spacing: 0.035em;
}

body.sf-visual-system .main-navigation .main-nav > ul:hover::after {
	background: rgba(201, 154, 67, 0.1);
}

body.sf-visual-system .main-navigation .main-nav ul ul {
	padding: 8px !important;
	border: 1px solid var(--sf-line) !important;
	border-top: 3px solid var(--sf-brass) !important;
	border-radius: 0 0 10px 10px;
	background: #fff !important;
	box-shadow: var(--sf-shadow) !important;
}

body.sf-visual-system .main-navigation .main-nav ul ul li a {
	padding: 11px 13px !important;
	border: 0 !important;
	border-radius: 7px;
	color: var(--sf-blue-deep) !important;
	font-size: 14px !important;
}

body.sf-visual-system .main-navigation .main-nav ul ul li:hover > a,
body.sf-visual-system .main-navigation .main-nav ul ul li.sfHover > a,
body.sf-visual-system .main-navigation .main-nav ul ul li[class*="current-menu"] > a {
	padding-left: 17px !important;
	background: var(--sf-mist) !important;
}

/* 搜索从“整条表单”收束为站点工具条。 */
body.sf-visual-system .sf-site-search {
	padding: 14px 24px;
	border: 0;
	border-bottom: 1px solid var(--sf-line);
	background: #edf1f2;
}

body.sf-visual-system .sf-site-search__form {
	grid-template-columns: 174px minmax(260px, 1fr) 92px;
	gap: 12px;
	max-width: 1180px;
}

body.sf-visual-system .sf-site-search__form label {
	color: var(--sf-steel);
	font-size: 13px;
	font-weight: 720;
	letter-spacing: 0.02em;
}

body.sf-visual-system .sf-site-search__form input[type="search"] {
	height: 46px;
	padding-inline: 16px;
	border: 1px solid transparent;
	border-radius: 10px;
	background: #fff;
	color: var(--sf-ink);
	font-size: 15px;
	box-shadow: 0 5px 18px rgba(10, 34, 53, 0.06);
}

body.sf-visual-system .sf-site-search__form input[type="search"]:focus {
	border-color: rgba(11, 98, 138, 0.48);
	outline: 3px solid rgba(11, 98, 138, 0.11);
}

body.sf-visual-system .sf-site-search__form button {
	height: 46px;
	padding: 0 18px;
	border-radius: 10px;
	background: var(--sf-navy);
	font-size: 14px;
	font-weight: 760;
	line-height: 46px;
	box-shadow: none;
}

body.sf-visual-system .sf-site-search__form button:hover,
body.sf-visual-system .sf-site-search__form button:focus {
	background: var(--sf-navy-2);
}

/* 页面画布与阅读层级。 */
body.sf-visual-system .site-content {
	width: 100%;
	max-width: 1228px !important;
	margin-inline: auto;
	padding: clamp(38px, 5vw, 66px) 24px 80px !important;
}

body.sf-visual-system .site-main,
body.sf-visual-system .inside-article,
body.sf-visual-system .entry-content {
	background: transparent !important;
}

body.sf-visual-system .inside-article {
	padding: 0 !important;
}

body.sf-visual-system .entry-content {
	font-size: 16px;
	line-height: 1.82;
}

body.sf-visual-system .entry-content h1 {
	color: var(--sf-ink);
	font-size: clamp(36px, 4.4vw, 56px);
	font-weight: 820;
	line-height: 1.12;
	letter-spacing: -0.035em;
}

body.sf-visual-system .entry-content h2 {
	color: var(--sf-ink) !important;
	font-weight: 780 !important;
	letter-spacing: -0.018em;
}

body.sf-visual-system :is(
	.sf-v5316-section,
	.sf-v5317-section,
	.sf-v5318-content,
	.sf-v5530-content,
	.sf-v5714-content,
	.sf-v5678-technical-index > section,
	.sf-v5630-applications-index > section
) > h2 {
	position: relative;
	padding: 17px 0 0 !important;
	border: 0 !important;
}

body.sf-visual-system :is(
	.sf-v5316-section,
	.sf-v5317-section,
	.sf-v5318-content,
	.sf-v5530-content,
	.sf-v5714-content,
	.sf-v5678-technical-index > section,
	.sf-v5630-applications-index > section
) > h2::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 42px;
	height: 3px;
	border-radius: 999px;
	background: var(--sf-brass);
}

/* 首页：首屏文字与现有工业示意图组成真正的双栏品牌画面。 */
body.home.sf-visual-core .sf-v5316 {
	display: grid;
	grid-template-columns: minmax(0, 0.92fr) minmax(380px, 1.08fr);
	gap: 24px;
}

body.home.sf-visual-core .sf-v5316 > * {
	grid-column: 1 / -1;
}

body.home.sf-visual-core .sf-v5316 > .sf-v5316-hero {
	grid-column: 1;
	grid-row: 1;
	position: relative;
	display: flex;
	min-height: 472px;
	margin: 0;
	padding: clamp(38px, 5vw, 62px);
	flex-direction: column;
	justify-content: flex-end;
	overflow: hidden;
	border: 0 !important;
	border-radius: 20px;
	background:
		radial-gradient(circle at 82% 18%, rgba(87, 151, 172, 0.23), transparent 31%),
		linear-gradient(145deg, #081d2e 0%, #0d344d 66%, #0e5367 100%) !important;
	box-shadow: 0 26px 60px rgba(8, 29, 46, 0.18);
}

body.home.sf-visual-core .sf-v5316 > .sf-v5316-hero::before {
	content: "";
	position: absolute;
	inset: 24px 24px auto auto;
	width: 112px;
	height: 112px;
	border: 1px solid rgba(237, 207, 138, 0.2);
	border-radius: 50%;
	box-shadow: 0 0 0 24px rgba(237, 207, 138, 0.035), 0 0 0 48px rgba(237, 207, 138, 0.025);
}

body.home.sf-visual-core .sf-v5316-hero h1 {
	position: relative;
	max-width: 7em;
	margin: 0 0 24px;
	color: #fff !important;
	font-size: clamp(40px, 4.1vw, 52px) !important;
	line-height: 1.1 !important;
	text-wrap: wrap;
}

body.home.sf-visual-core .sf-v5316-hero h1::before {
	content: "";
	display: block;
	width: 54px;
	height: 4px;
	margin-bottom: 20px;
	border-radius: 999px;
	background: var(--sf-brass);
}

body.home.sf-visual-core .sf-v5316-hero .sf-v5316-lead {
	position: relative;
	max-width: 39em;
	margin: 0;
	color: rgba(238, 246, 248, 0.84);
	font-size: 16px;
	line-height: 1.86;
}

body.home.sf-visual-core .sf-v5316 > .sf-v5811-entry-visual {
	grid-column: 2;
	grid-row: 1;
	position: relative;
	display: flex;
	min-height: 472px;
	margin: 0 !important;
	flex-direction: column;
	overflow: hidden;
	border: 0 !important;
	border-radius: 20px;
	background:
		linear-gradient(145deg, rgba(10, 34, 53, 0.05), rgba(10, 34, 53, 0.22)),
		#dbe5e8;
	box-shadow: 0 26px 60px rgba(8, 29, 46, 0.15);
}

body.home.sf-visual-core .sf-v5316 > .sf-v5811-entry-visual img {
	width: 100% !important;
	height: 100% !important;
	min-height: 472px;
	flex: 1 1 auto;
	object-fit: cover;
	filter: saturate(0.84) contrast(1.04);
}

body.home.sf-visual-core .sf-v5316 > .sf-v5811-entry-visual figcaption {
	position: absolute;
	left: 18px;
	right: 18px;
	bottom: 18px;
	margin: 0;
	padding: 10px 13px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 9px;
	background: rgba(7, 27, 42, 0.76);
	color: rgba(255, 255, 255, 0.84);
	font-size: 12px;
	line-height: 1.45;
	backdrop-filter: blur(10px);
}

body.home.sf-visual-core .sf-v5316-section {
	padding-block: clamp(54px, 7vw, 84px);
	border-bottom: 1px solid var(--sf-line);
}

body.home.sf-visual-core .sf-v5316-section > h2 {
	max-width: 18ch;
	font-size: clamp(28px, 3.4vw, 40px) !important;
	line-height: 1.18 !important;
}

body.home.sf-visual-core .sf-v5316-grid {
	counter-reset: sf-home-card;
	gap: 16px;
}

body.home.sf-visual-core .sf-v5316-card {
	counter-increment: sf-home-card;
	position: relative;
	padding: 28px 24px 24px;
	border: 1px solid var(--sf-line);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.78);
	box-shadow: none;
}

body.home.sf-visual-core .sf-v5316-card::before {
	content: counter(sf-home-card, decimal-leading-zero);
	display: block;
	position: static !important;
	width: auto !important;
	height: auto !important;
	margin-bottom: 24px;
	border: 0 !important;
	background: none !important;
	box-shadow: none !important;
	color: var(--sf-brass);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.12em;
}

body.home.sf-visual-core .sf-v5316-card h3 {
	font-size: 18px;
	line-height: 1.45;
}

/* 产品中心和核心索引：沿用现有图，建立清晰的图文首屏。 */
body.sf-visual-core .sf-v5317-products-page {
	display: grid;
	grid-template-columns: minmax(0, 0.96fr) minmax(360px, 1.04fr);
	gap: 24px;
}

body.sf-visual-core .sf-v5317-products-page > * {
	grid-column: 1 / -1;
}

body.sf-visual-core .sf-v5317-products-page > .sf-v5317-hero {
	grid-column: 1;
	grid-row: 1;
	margin: 0;
	padding: clamp(36px, 4.5vw, 54px);
	border: 0 !important;
	border-radius: 20px;
	background: linear-gradient(145deg, var(--sf-navy), #164d67) !important;
	box-shadow: var(--sf-shadow);
}

body.sf-visual-core .sf-v5317-products-page > .sf-v5317-hero :is(h1, h2, h3) {
	color: #fff !important;
}

body.sf-visual-core .sf-v5317-products-page > .sf-v5317-hero p {
	color: rgba(239, 246, 248, 0.82) !important;
}

body.sf-visual-core .sf-v5317-products-page > .sf-v5317-hero a {
	color: var(--sf-brass-light) !important;
}

body.sf-visual-core .sf-v5317-products-page > .sf-v5811-entry-visual {
	grid-column: 2;
	grid-row: 1;
	position: relative;
	min-height: 390px;
	margin: 0 !important;
	overflow: hidden;
	border: 0 !important;
	border-radius: 20px;
	background: #dbe5e8;
	box-shadow: var(--sf-shadow);
}

body.sf-visual-core .sf-v5317-products-page > .sf-v5811-entry-visual img {
	width: 100% !important;
	height: 100% !important;
	min-height: 390px;
	object-fit: cover;
}

body.sf-visual-core :is(.sf-v5317-products-page, .sf-v5630-applications-index, .sf-v5678-technical-index) .sf-v5811-entry-visual figcaption {
	padding: 11px 14px;
	color: var(--sf-muted);
	font-size: 12px;
}

/* 应用索引的前 3 个文字节点与现有图片组合为双栏。 */
body.sf-visual-core .sf-v5630-applications-index {
	display: grid;
	grid-template-columns: minmax(0, 0.94fr) minmax(370px, 1.06fr);
	column-gap: 24px;
}

body.sf-visual-core .sf-v5630-applications-index > * {
	grid-column: 1 / -1;
}

body.sf-visual-core .sf-v5630-applications-index > h1,
body.sf-visual-core .sf-v5630-applications-index > h1 + p,
body.sf-visual-core .sf-v5630-applications-index > h1 + p + p {
	grid-column: 1;
	position: relative;
	z-index: 1;
	margin: 0;
	padding-inline: clamp(34px, 4vw, 52px);
	background: var(--sf-navy);
	color: rgba(239, 246, 248, 0.84) !important;
}

body.sf-visual-core .sf-v5630-applications-index > h1 {
	grid-row: 1;
	padding-top: 48px;
	padding-bottom: 22px;
	border-radius: 20px 20px 0 0;
	color: #fff !important;
	font-size: clamp(38px, 4.2vw, 52px) !important;
}

body.sf-visual-core .sf-v5630-applications-index > h1 + p {
	grid-row: 2;
	padding-bottom: 16px;
}

body.sf-visual-core .sf-v5630-applications-index > h1 + p + p {
	grid-row: 3;
	padding-bottom: 48px;
	border-radius: 0 0 20px 20px;
}

body.sf-visual-core .sf-v5630-applications-index > :is(h1, h1 + p, h1 + p + p) a {
	color: var(--sf-brass-light) !important;
}

body.sf-visual-core .sf-v5630-applications-index > .sf-v5811-entry-visual {
	grid-column: 2;
	grid-row: 1 / 4;
	position: relative;
	margin: 0 !important;
	overflow: hidden;
	border: 0 !important;
	border-radius: 20px;
	background: #dbe5e8;
	box-shadow: var(--sf-shadow);
}

body.sf-visual-core .sf-v5630-applications-index > .sf-v5811-entry-visual img {
	width: 100% !important;
	height: 100% !important;
	min-height: 430px;
	object-fit: cover;
}

/* 技术方案索引已具备 header 包装，直接形成编辑式双栏。 */
body.sf-visual-core .sf-v5678-technical-index {
	display: grid;
	grid-template-columns: minmax(0, 0.96fr) minmax(370px, 1.04fr);
	gap: 24px;
}

body.sf-visual-core .sf-v5678-technical-index > * {
	grid-column: 1 / -1;
}

body.sf-visual-core .sf-v5678-technical-index > header {
	grid-column: 1;
	grid-row: 1;
	padding: clamp(38px, 4.6vw, 56px);
	border-radius: 20px;
	background: linear-gradient(145deg, var(--sf-navy), #15475f);
	box-shadow: var(--sf-shadow);
}

body.sf-visual-core .sf-v5678-technical-index > header :is(h1, h2, h3) {
	color: #fff !important;
}

body.sf-visual-core .sf-v5678-technical-index > header p {
	color: rgba(239, 246, 248, 0.82) !important;
}

body.sf-visual-core .sf-v5678-technical-index > header a {
	color: var(--sf-brass-light) !important;
}

body.sf-visual-core .sf-v5678-technical-index > .sf-v5811-entry-visual {
	grid-column: 2;
	grid-row: 1;
	position: relative;
	min-height: 410px;
	margin: 0 !important;
	overflow: hidden;
	border: 0 !important;
	border-radius: 20px;
	background: #dbe5e8;
	box-shadow: var(--sf-shadow);
}

body.sf-visual-core .sf-v5678-technical-index > .sf-v5811-entry-visual img {
	width: 100% !important;
	height: 100% !important;
	min-height: 410px;
	object-fit: cover;
}

/* 产品页：保留既有专业资料结构，移除“彩色标签模板”感。 */
/* 中文产品资料表保留原文大小写，避免全局 capitalize 改写单位和型号显示。 */
html[lang^="zh"] body.sf-visual-product .entry-content table {
	text-transform: none;
}

body.sf-visual-product .sf-v5530-hero {
	padding: clamp(34px, 4.7vw, 56px);
	border: 0 !important;
	border-radius: 20px;
	background:
		radial-gradient(circle at 90% 10%, rgba(64, 143, 158, 0.28), transparent 30%),
		linear-gradient(140deg, #081e31, #124966) !important;
	box-shadow: 0 26px 60px rgba(8, 29, 46, 0.17);
}

body.sf-visual-product .sf-v5530-hero-copy h1 {
	max-width: 17ch;
	color: #fff !important;
	font-size: clamp(34px, 4vw, 50px) !important;
	line-height: 1.16 !important;
}

body.sf-visual-product .sf-v5530-eyebrow {
	border-color: rgba(237, 207, 138, 0.42) !important;
	background: rgba(201, 154, 67, 0.08) !important;
	color: var(--sf-brass-light) !important;
	letter-spacing: 0.04em;
}

body.sf-visual-product .sf-v5530-tags span,
body.sf-visual-product .sf-v5530-tags span.scene,
body.sf-visual-product .sf-v5530-tags span.feature {
	border: 1px solid rgba(221, 235, 239, 0.24) !important;
	background: rgba(255, 255, 255, 0.07) !important;
	color: #dce9ed !important;
	box-shadow: none !important;
}

body.sf-visual-product .sf-v5530-tags span.feature {
	border-color: rgba(237, 207, 138, 0.4) !important;
	background: rgba(201, 154, 67, 0.1) !important;
	color: var(--sf-brass-light) !important;
}

body.sf-visual-product .sf-v5530-product-card {
	border: 1px solid rgba(255, 255, 255, 0.48) !important;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.96) !important;
	box-shadow: 0 22px 46px rgba(4, 20, 32, 0.18);
}

body.sf-visual-product .sf-v5530-hero-intro,
body.sf-visual-product .sf-v5530-facts > div {
	border-color: rgba(255, 255, 255, 0.16) !important;
	background: rgba(255, 255, 255, 0.075) !important;
	color: rgba(239, 246, 248, 0.86) !important;
}

body.sf-visual-product .sf-v5530-hero-intro p,
body.sf-visual-product .sf-v5530-facts :is(strong, span) {
	color: inherit !important;
}

/* 应用与技术长文：深色首屏 + 明确的编辑式正文层级。 */
body.sf-visual-application .sf-v5318-hero,
body.sf-visual-technical .sf-v5714-hero,
body.sf-visual-technical .sf-v5699-putty-standard-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(36px, 5vw, 62px);
	border: 0 !important;
	border-radius: 20px;
	background:
		radial-gradient(circle at 92% 10%, rgba(69, 147, 161, 0.23), transparent 32%),
		linear-gradient(145deg, #081e30, #123e58) !important;
	box-shadow: 0 24px 58px rgba(8, 29, 46, 0.15);
}

body.sf-visual-application .sf-v5318-hero::after,
body.sf-visual-technical .sf-v5714-hero::after,
body.sf-visual-technical .sf-v5699-putty-standard-hero::after {
	content: "";
	position: absolute;
	right: -72px;
	top: -72px;
	width: 220px;
	height: 220px;
	border: 1px solid rgba(237, 207, 138, 0.13);
	border-radius: 50%;
	box-shadow: 0 0 0 38px rgba(237, 207, 138, 0.025), 0 0 0 76px rgba(237, 207, 138, 0.02);
	pointer-events: none;
}

body.sf-visual-application .sf-v5318-hero > *,
body.sf-visual-technical .sf-v5714-hero > *,
body.sf-visual-technical .sf-v5699-putty-standard-hero > * {
	position: relative;
	z-index: 1;
}

body.sf-visual-application .sf-v5318-hero h1,
body.sf-visual-technical .sf-v5714-hero h1,
body.sf-visual-technical .sf-v5699-putty-standard-hero h1 {
	max-width: 20ch;
	color: #fff !important;
	font-size: clamp(35px, 4.2vw, 52px) !important;
	line-height: 1.16 !important;
}

body.sf-visual-application .sf-v5318-kicker {
	margin-bottom: 18px;
	color: var(--sf-brass-light) !important;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

body.sf-visual-application .sf-v5318-hero :is(p, li),
body.sf-visual-technical .sf-v5714-hero :is(p, li),
body.sf-visual-technical .sf-v5699-putty-standard-hero :is(p, li) {
	max-width: 78ch;
	color: rgba(238, 246, 248, 0.83) !important;
}

body.sf-visual-application .sf-v5318-hero a,
body.sf-visual-technical .sf-v5714-hero a,
body.sf-visual-technical .sf-v5699-putty-standard-hero a {
	color: var(--sf-brass-light) !important;
	text-decoration-color: rgba(237, 207, 138, 0.45);
}

body.sf-visual-application .sf-v5318-facts > div {
	border: 1px solid rgba(255, 255, 255, 0.13) !important;
	background: rgba(255, 255, 255, 0.07) !important;
	box-shadow: none;
}

body.sf-visual-application .sf-v5318-facts :is(dt, dd) {
	color: rgba(240, 247, 249, 0.88) !important;
}

body.sf-visual-application .sf-v5318-hero-note,
body.sf-visual-application .sf-v5318-hero .sf-v5318-band {
	border-color: rgba(237, 207, 138, 0.22) !important;
	background: rgba(5, 21, 33, 0.24) !important;
	color: rgba(240, 247, 249, 0.8) !important;
}

body.sf-visual-longform :is(.sf-v5318-body, .sf-v5714-content, .sf-v5699-putty-standard-content) {
	margin-top: clamp(36px, 5vw, 62px);
}

body.sf-visual-longform :is(.sf-v5318-content, .sf-v5714-content, .sf-v5699-putty-standard-content) > p,
body.sf-visual-longform :is(.sf-v5318-content, .sf-v5714-content, .sf-v5699-putty-standard-content) > ul,
body.sf-visual-longform :is(.sf-v5318-content, .sf-v5714-content, .sf-v5699-putty-standard-content) > ol {
	font-size: 16.5px;
	line-height: 1.9;
}

body.sf-visual-system :is(
	.sf-v5316-card,
	.sf-v5317-product,
	.sf-v5318-card,
	.sf-v5010-card,
	.sf-v5010-metric,
	.sf-v5010-logistic,
	.sf-v5714-card,
	.sf-v5809-priority-paths article,
	.entry-content [class$="-card"],
	.entry-content [class*="-card "]
) {
	border-color: var(--sf-line);
	background-color: rgba(255, 255, 255, 0.82);
	box-shadow: none;
}

body.sf-visual-system .entry-content table {
	border-radius: 12px;
	box-shadow: none;
}

body.sf-visual-system .entry-content th {
	background: var(--sf-navy) !important;
	color: #fff !important;
}

body.sf-visual-system .site-info {
	border-top: 1px solid rgba(237, 207, 138, 0.22);
	background: #071b2a !important;
	color: #b9cbd3 !important;
}

@media (max-width: 1024px) {
	body.sf-visual-system .inside-header {
		min-height: 66px;
		padding: 10px 16px !important;
	}

	body.sf-visual-system .site-logo img {
		max-height: 42px !important;
	}

	body.sf-visual-system .main-navigation .inside-navigation {
		min-height: 52px;
		padding: 0;
	}

	body.sf-visual-system .main-navigation .menu-toggle {
		height: 52px;
		padding: 0 18px !important;
		background: var(--sf-navy) !important;
		color: #fff !important;
		font-size: 14px !important;
		font-weight: 720 !important;
		line-height: 52px;
		letter-spacing: 0.03em;
	}

	body.sf-visual-system .main-navigation.toggled .main-nav > ul > li > a {
		padding: 13px 18px !important;
		background: var(--sf-navy) !important;
	}

	body.sf-visual-system .main-navigation.toggled .main-nav ul ul {
		padding: 4px 0 8px !important;
		border: 0 !important;
		border-radius: 0;
		background: #0d3048 !important;
	}

	body.sf-visual-system .main-navigation.toggled .main-nav ul ul li a {
		background: transparent !important;
		color: #d7e5ea !important;
	}

	body.home.sf-visual-core .sf-v5316,
	body.sf-visual-core .sf-v5317-products-page,
	body.sf-visual-core .sf-v5630-applications-index,
	body.sf-visual-core .sf-v5678-technical-index {
		grid-template-columns: 1fr;
	}

	body.home.sf-visual-core .sf-v5316 > .sf-v5316-hero,
	body.sf-visual-core .sf-v5317-products-page > .sf-v5317-hero,
	body.sf-visual-core .sf-v5630-applications-index > h1,
	body.sf-visual-core .sf-v5630-applications-index > h1 + p,
	body.sf-visual-core .sf-v5630-applications-index > h1 + p + p,
	body.sf-visual-core .sf-v5678-technical-index > header {
		grid-column: 1;
	}

	body.home.sf-visual-core .sf-v5316 > .sf-v5811-entry-visual,
	body.sf-visual-core .sf-v5317-products-page > .sf-v5811-entry-visual,
	body.sf-visual-core .sf-v5630-applications-index > .sf-v5811-entry-visual,
	body.sf-visual-core .sf-v5678-technical-index > .sf-v5811-entry-visual {
		grid-column: 1;
		grid-row: auto;
	}

	body.sf-visual-core .sf-v5630-applications-index > h1 {
		grid-row: auto;
	}

	body.sf-visual-core .sf-v5630-applications-index > h1 + p {
		grid-row: auto;
	}

	body.sf-visual-core .sf-v5630-applications-index > h1 + p + p {
		grid-row: auto;
	}
}

@media (max-width: 760px) {
	body.sf-visual-system .site-header {
		border-top-width: 2px !important;
	}

	body.sf-visual-system .inside-header {
		min-height: 58px;
		padding: 8px 14px !important;
		gap: 0 !important;
	}

	body.sf-visual-system .site-logo img {
		max-width: min(274px, 78vw) !important;
		max-height: 38px !important;
	}

	body.sf-visual-system .sf-site-search {
		padding: 10px 12px;
	}

	body.sf-visual-system .sf-site-search__form {
		position: relative;
		grid-template-columns: minmax(0, 1fr) 72px;
		gap: 8px;
	}

	body.sf-visual-system .sf-site-search__form label {
		position: absolute;
		width: 1px;
		height: 1px;
		padding: 0;
		margin: -1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
		border: 0;
	}

	body.sf-visual-system .sf-site-search__form input[type="search"] {
		height: 42px;
		padding-inline: 13px;
		font-size: 14px;
	}

	body.sf-visual-system .sf-site-search__form button {
		height: 42px;
		padding: 0 12px;
		font-size: 13px;
		line-height: 42px;
	}

	body.sf-visual-system .site-content {
		padding: 28px 14px 60px !important;
	}

	body.sf-visual-system .entry-content {
		font-size: 15px;
		line-height: 1.78;
	}

	body.home.sf-visual-core .sf-v5316 {
		gap: 14px;
	}

	body.home.sf-visual-core .sf-v5316 > .sf-v5316-hero {
		min-height: 0;
		padding: 34px 24px 30px;
		border-radius: 15px;
	}

	body.home.sf-visual-core .sf-v5316-hero h1 {
		max-width: 12ch;
		margin-bottom: 18px;
		font-size: clamp(31px, 10vw, 40px) !important;
	}

	body.home.sf-visual-core .sf-v5316-hero h1::before {
		width: 42px;
		margin-bottom: 16px;
	}

	body.home.sf-visual-core .sf-v5316-hero .sf-v5316-lead {
		font-size: 14px;
		line-height: 1.82;
	}

	body.home.sf-visual-core .sf-v5316 > .sf-v5811-entry-visual {
		min-height: 236px;
		border-radius: 15px;
	}

	body.home.sf-visual-core .sf-v5316 > .sf-v5811-entry-visual img {
		min-height: 236px;
		aspect-ratio: 4 / 3;
	}

	body.home.sf-visual-core .sf-v5316-section {
		padding-block: 48px;
	}

	body.home.sf-visual-core .sf-v5316-section > h2 {
		font-size: 28px !important;
	}

	body.sf-visual-core :is(.sf-v5317-products-page > .sf-v5317-hero, .sf-v5678-technical-index > header) {
		padding: 32px 24px;
		border-radius: 15px;
	}

	body.sf-visual-core .sf-v5630-applications-index > h1,
	body.sf-visual-core .sf-v5630-applications-index > h1 + p,
	body.sf-visual-core .sf-v5630-applications-index > h1 + p + p {
		padding-inline: 24px;
	}

	body.sf-visual-core .sf-v5630-applications-index > h1 {
		padding-top: 34px;
		padding-bottom: 16px;
		border-radius: 15px 15px 0 0;
		font-size: 32px !important;
	}

	body.sf-visual-core .sf-v5630-applications-index > h1 + p + p {
		padding-bottom: 34px;
		border-radius: 0 0 15px 15px;
	}

	body.sf-visual-core :is(
		.sf-v5317-products-page,
		.sf-v5630-applications-index,
		.sf-v5678-technical-index
	) > .sf-v5811-entry-visual {
		min-height: 230px;
		border-radius: 15px;
	}

	body.sf-visual-core :is(
		.sf-v5317-products-page,
		.sf-v5630-applications-index,
		.sf-v5678-technical-index
	) > .sf-v5811-entry-visual img {
		min-height: 230px;
		aspect-ratio: 4 / 3;
	}

	body.sf-visual-product .sf-v5530-hero,
	body.sf-visual-application .sf-v5318-hero,
	body.sf-visual-technical .sf-v5714-hero,
	body.sf-visual-technical .sf-v5699-putty-standard-hero {
		padding: 30px 22px;
		border-radius: 15px;
	}

	body.sf-visual-product .sf-v5530-hero-copy h1,
	body.sf-visual-application .sf-v5318-hero h1,
	body.sf-visual-technical .sf-v5714-hero h1,
	body.sf-visual-technical .sf-v5699-putty-standard-hero h1 {
		font-size: clamp(29px, 9vw, 38px) !important;
	}

	body.sf-visual-product .sf-v5530-tags {
		flex-wrap: wrap !important;
		overflow-x: visible !important;
		padding-bottom: 0 !important;
	}

	body.sf-visual-application .sf-v5318-facts {
		grid-template-columns: 1fr;
	}

	body.sf-visual-longform :is(.sf-v5318-content, .sf-v5714-content, .sf-v5699-putty-standard-content) > p,
	body.sf-visual-longform :is(.sf-v5318-content, .sf-v5714-content, .sf-v5699-putty-standard-content) > ul,
	body.sf-visual-longform :is(.sf-v5318-content, .sf-v5714-content, .sf-v5699-putty-standard-content) > ol {
		font-size: 15.5px;
		line-height: 1.86;
	}
}
