/* ==========================================================================
   ZWeb2027 · 前台样式
   视觉参考：zwickroell.com（大标题、留白、图片卡片、深色数据带）
   ========================================================================== */

:root {
  --brand: #1e96d5;
  --brand-600: #1583bf;
  --brand-700: #0f6a9c;
  --brand-soft: #e8f4fb;
  --navy: #0a1826;
  --navy-700: #0e2233;
  --ink: #101b28;
  --muted: #5a6b7d;
  --muted-2: #8595a6;
  --line: #e3e9f0;
  --line-strong: #cfd9e4;
  --bg: #ffffff;
  --bg-soft: #f4f7fa;
  --green: #15803d;
  --green-soft: #e7f6ec;
  --amber: #9a5b00;
  --amber-soft: #fdf3df;
  --danger: #b42318;
  --radius: 6px;
  --radius-md: 10px;
  --shadow-sm: 0 1px 2px rgba(16, 27, 40, .06), 0 1px 3px rgba(16, 27, 40, .08);
  --shadow-md: 0 14px 34px rgba(16, 27, 40, .10);
  --container: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.7 -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-700); text-decoration: none; }
a:hover { color: var(--brand); }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; letter-spacing: -.015em; font-weight: 700; }
h1 { font-size: clamp(34px, 4.4vw, 58px); }
h2 { font-size: clamp(26px, 3vw, 38px); }
h3 { font-size: 20px; }
p { margin: 0; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.mono { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; }
.muted { color: var(--muted); }
.right { text-align: right; }
.grow { flex: 1; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--brand); color: #fff; padding: 10px 16px; }
.skip-link:focus { left: 0; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: var(--radius);
  border: 1px solid var(--line-strong); background: #fff; color: var(--ink);
  font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; white-space: nowrap;
  transition: .18s ease;
}
.btn:hover { border-color: var(--brand); color: var(--brand-700); transform: translateY(-1px); }
.btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn.primary:hover { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }
.btn.outline-light { background: transparent; border-color: rgba(255, 255, 255, .38); color: #fff; }
.btn.outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; }
.btn.sm { height: 34px; padding: 0 14px; font-size: 13px; }
.btn.lg { height: 54px; padding: 0 28px; font-size: 16px; }
.btn.block { width: 100%; }

.eyebrow {
  color: var(--brand-700); font-size: 12.5px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; margin: 0 0 14px;
}
.eyebrow.light { color: #7fc4e8; }
.text-link { color: var(--brand-700); font-weight: 600; font-size: 14.5px; white-space: nowrap; }
.text-link:hover { color: var(--brand); }

/* ---------- 顶部工具条 ---------- */
.utility { background: var(--navy); color: #93a7bc; font-size: 12.5px; }
.utility-inner { display: flex; align-items: center; justify-content: space-between; min-height: 36px; gap: 20px; }
.utility-note { letter-spacing: .02em; }
.utility-links { display: flex; align-items: center; gap: 22px; }
.utility-links a { color: #b9c9db; display: inline-flex; align-items: center; gap: 6px; }
.utility-links a:hover { color: #fff; }
.utility-ico { color: var(--brand); }
.utility-admin { opacity: .55; font-size: 11.5px; }

/* ---------- 主导航 ---------- */
.masthead {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.masthead-inner { display: flex; align-items: center; gap: 28px; min-height: 84px; }
.brand img { width: 178px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 2px; margin-left: 18px; }
.nav-item { position: relative; flex: 0 0 auto; }
.nav-item > a {
  display: block; padding: 10px 12px; color: #2b3a4b; font-size: 14.5px; font-weight: 500;
  border-radius: 4px; white-space: nowrap;
}
.nav-item > a:hover { color: var(--brand-700); background: var(--bg-soft); }
.nav-item.is-active > a { color: var(--brand-700); }
.nav-item.is-active > a::after {
  content: ""; display: block; height: 2px; margin: 8px 4px -10px; background: var(--brand);
}
.nav-flyout {
  position: absolute; left: -14px; top: calc(100% + 12px); width: 560px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md);
  box-shadow: var(--shadow-md); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s ease;
}
.nav-item:hover .nav-flyout, .nav-item:focus-within .nav-flyout { opacity: 1; visibility: visible; transform: none; }
.nav-flyout-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 6px; }
.flyout-label { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); padding: 10px 12px 4px; }
.flyout-series { list-style: none; margin: 0; padding: 0; }
.flyout-series a {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 9px 12px; border-radius: 5px; color: #26384a; font-size: 14px;
}
.flyout-series a:hover { background: var(--bg-soft); color: var(--brand-700); }
.flyout-series em { font-style: normal; color: var(--muted-2); font-size: 12px; }
.flyout-cta { background: var(--bg-soft); border-radius: 6px; padding: 16px; margin: 6px; }
.flyout-cta strong { display: block; font-size: 14px; margin-bottom: 6px; }
.flyout-cta p { font-size: 12.5px; color: var(--muted); line-height: 1.6; margin-bottom: 12px; }
.nav-flyout-sm { width: 360px; }
.nav-flyout-sm .nav-flyout-inner { grid-template-columns: 1fr; }
.flyout-links { list-style: none; margin: 0; padding: 6px; }
.flyout-links a { display: block; padding: 10px 12px; border-radius: 5px; color: #26384a; font-size: 14px; }
.flyout-links a:hover { background: var(--bg-soft); color: var(--brand-700); }
.flyout-links em { display: block; font-style: normal; font-size: 12px; color: var(--muted-2); margin-top: 2px; }

.masthead-tools { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.search-mini { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; height: 38px; padding: 0 4px 0 14px; background: #fff; }
.search-mini input { border: 0; outline: 0; width: 150px; font: inherit; font-size: 13px; background: transparent; }
.search-mini button { border: 0; background: transparent; color: var(--muted); font-size: 17px; cursor: pointer; padding: 0 8px; }
.search-mini:focus-within { border-color: var(--brand); }
.masthead-cta { height: 40px; padding: 0 18px; font-size: 14px; }
.nav-toggle { display: none; align-items: center; gap: 4px; border: 0; background: transparent; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 3px 0; }
.nav-toggle em { font-style: normal; font-size: 13px; margin-left: 4px; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.hero-grid-bg {
  position: absolute; inset: 0; opacity: .5;
  background:
    radial-gradient(900px 420px at 78% 12%, rgba(30, 150, 213, .32), transparent 65%),
    radial-gradient(600px 300px at 8% 90%, rgba(30, 150, 213, .14), transparent 70%),
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 100% 56px,
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 56px 100%;
}
.hero-grid {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 56px; align-items: center; padding-top: 84px; padding-bottom: 84px;
}
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 .accent { color: #65c4ef; }
.hero-lead { color: #b9c9db; font-size: 17px; max-width: 54ch; }
.hero-actions { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 40px; margin: 42px 0 0; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); }
.hero-meta dt { font-size: 24px; font-weight: 750; color: #fff; letter-spacing: -.02em; }
.hero-meta dd { margin: 2px 0 0; font-size: 12.5px; color: #8fa2b6; }

.hero-visual { position: relative; }
.device-frame {
  position: relative; background: #16222f; border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px; padding: 30px 14px 14px; box-shadow: 0 30px 70px rgba(0, 0, 0, .45);
}
.device-bar { position: absolute; top: 10px; left: 16px; display: flex; gap: 5px; }
.device-bar span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.device-frame img { border-radius: 6px; width: 100%; }
.hero-chip {
  position: absolute; left: -26px; bottom: -22px;
  display: flex; flex-direction: column; gap: 2px;
  background: #fff; color: var(--ink); border-radius: 8px; padding: 12px 18px;
  box-shadow: var(--shadow-md); border-left: 3px solid var(--brand);
}
.hero-chip strong { font-size: 15px; }
.hero-chip span { font-size: 12px; color: var(--muted); }
.hero-chip.secondary { left: auto; right: -18px; top: -22px; bottom: auto; border-left-color: #65c4ef; }
.hero-chip.secondary strong { font-size: 20px; color: var(--brand-700); }

/* ---------- 通用区块 ---------- */
.section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 40px; }
.section-head h2 { max-width: 720px; }
.section-more { color: var(--brand-700); font-weight: 600; font-size: 15px; white-space: nowrap; padding-bottom: 6px; }
.section-more span { display: inline-block; transition: transform .18s; }
.section-more:hover span { transform: translateX(4px); }
.lead { color: var(--muted); font-size: 16.5px; max-width: 66ch; }

/* ---------- 系列卡片 ---------- */
.series-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.series-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-md); overflow: hidden; color: var(--ink);
  transition: .2s ease;
}
.series-card:hover { border-color: var(--brand); box-shadow: var(--shadow-md); transform: translateY(-3px); color: var(--ink); }
.series-media { aspect-ratio: 16 / 8.4; background: var(--bg-soft); overflow: hidden; border-bottom: 1px solid var(--line); }
.series-media .media-img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.series-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 8px; }
.series-body h3 { font-size: 19px; }
.series-body p { color: var(--muted); font-size: 13.5px; }
.series-meta { margin-top: 8px; font-size: 13px; color: var(--muted-2); display: flex; justify-content: space-between; }
.series-meta em { font-style: normal; color: var(--brand-700); }

/* ---------- 能力卡片 ---------- */
.cap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.cap-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; display: flex; flex-direction: column; }
.cap-media { aspect-ratio: 16 / 9; background: #e9eef4; }
.cap-media .media-img { width: 100%; height: 100%; object-fit: cover; }
.cap-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.cap-body p { color: var(--muted); font-size: 14px; }
.cap-body .text-link { margin-top: auto; padding-top: 8px; }

/* ---------- 软件区 ---------- */
.software-section { background: var(--navy); color: #fff; }
.software-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.software-copy h2 { color: #fff; margin-bottom: 18px; }
.software-copy .lead { color: #a9bbcd; }
.software-points { list-style: none; margin: 28px 0 32px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.software-points li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.software-points strong { color: #65c4ef; font-size: 14.5px; }
.software-points span { color: #9fb1c4; font-size: 13.5px; }
.software-visual { position: relative; }
.app-frame { background: #16222f; border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px; padding: 12px; box-shadow: 0 30px 70px rgba(0, 0, 0, .45); }
.app-frame img { border-radius: 6px; width: 100%; }
.app-chip { position: absolute; right: -16px; bottom: -20px; background: #fff; color: var(--ink); border-radius: 8px; padding: 12px 18px; box-shadow: var(--shadow-md); border-left: 3px solid var(--brand); display: flex; flex-direction: column; }
.app-chip strong { font-size: 14px; }
.app-chip span { font-size: 12px; color: var(--muted); }

/* ---------- 数据带 ---------- */
.band { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 48px 0; }
.band-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.band-grid strong { display: block; font-size: 40px; letter-spacing: -.03em; color: var(--navy); }
.band-grid span { color: var(--muted); font-size: 13.5px; }

/* ---------- 支持区 ---------- */
.support-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.support-copy h2 { margin-bottom: 16px; }
.support-copy .lead { margin-bottom: 28px; }
.support-links { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.support-links a {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 4px; border-bottom: 1px solid var(--line); color: var(--ink);
}
.support-links a:hover { color: var(--brand-700); }
.support-links span { font-weight: 600; font-size: 15.5px; }
.support-links em { font-style: normal; color: var(--muted-2); font-size: 13px; }

.doc-panel { background: var(--bg-soft); border-radius: var(--radius-md); padding: 8px 24px 20px; }
.doc-panel-head { display: flex; justify-content: space-between; padding: 18px 0 12px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.doc-mini { list-style: none; margin: 0; padding: 0; }
.doc-mini li { border-bottom: 1px solid var(--line); }
.doc-mini li:last-child { border-bottom: 0; }
.doc-mini a { display: flex; align-items: center; gap: 12px; padding: 13px 0; color: var(--ink); }
.doc-mini a:hover { color: var(--brand-700); }
.doc-type { flex: 0 0 auto; font-size: 11px; color: var(--brand-700); background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 2px 7px; }
.doc-title { flex: 1; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.doc-size { color: var(--muted-2); font-size: 12px; }

/* ---------- 新闻 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.news-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; color: var(--ink); transition: .2s; }
.news-card:hover { border-color: var(--brand); box-shadow: var(--shadow-md); color: var(--ink); }
.news-media { aspect-ratio: 16 / 9; background: var(--bg-soft); }
.news-media .media-img { width: 100%; height: 100%; object-fit: cover; }
.news-body { padding: 20px 22px 24px; }
.news-body time { font-size: 12.5px; color: var(--muted-2); }
.news-body h3 { font-size: 17.5px; margin: 8px 0 8px; }
.news-body p { color: var(--muted); font-size: 13.5px; }

/* ---------- CTA ---------- */
.cta-band { background: var(--brand); color: #fff; padding: 64px 0; }
.cta-grid { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-band h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); margin-bottom: 10px; }
.cta-band p { color: rgba(255, 255, 255, .85); font-size: 15px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- 内页 ---------- */
.page-hero { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 64px 0 52px; }
.page-hero h1 { margin-bottom: 14px; }
.page-hero .lead { margin-top: 6px; }
.page-body { padding: 48px 0 96px; }
.search-inline { display: flex; gap: 8px; margin-top: 22px; max-width: 560px; }
.search-inline input { flex: 1; height: 46px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--radius); font: inherit; }
.search-inline input:focus { outline: 2px solid var(--brand-soft); border-color: var(--brand); }
.crumb-bar { border-bottom: 1px solid var(--line); background: #fff; font-size: 12.5px; color: var(--muted-2); }
.crumb-bar .container { display: flex; gap: 8px; align-items: center; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.crumb-bar a { color: var(--muted); }
.crumb-bar a:hover { color: var(--brand-700); }

.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.filter-bar a {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 15px; border: 1px solid var(--line); border-radius: 999px;
  color: #33475c; font-size: 13.5px; background: #fff;
}
.filter-bar a:hover { border-color: var(--brand); color: var(--brand-700); }
.filter-bar a.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.filter-bar em { font-style: normal; font-size: 11.5px; opacity: .75; }

/* 产品网格 */
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.product-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; color: var(--ink); display: flex; flex-direction: column; transition: .2s; }
.product-card:hover { border-color: var(--brand); box-shadow: var(--shadow-md); transform: translateY(-3px); color: var(--ink); }
.product-media { position: relative; aspect-ratio: 16 / 10; background: var(--bg-soft); }
.product-media .media-img { width: 100%; height: 100%; object-fit: cover; }
.product-badge { position: absolute; top: 12px; left: 12px; }
.product-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-series { font-size: 12px; color: var(--brand-700); letter-spacing: .04em; }
.product-body h3 { font-size: 17.5px; }
.product-body p { color: var(--muted); font-size: 13.5px; flex: 1; }
.product-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.product-model { font-family: ui-monospace, Consolas, monospace; font-size: 12px; color: var(--muted-2); }
.product-arrow { color: var(--brand); }
.badge { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 4px; font-size: 11.5px; font-weight: 600; background: #fff; }
.badge.on-sale { background: var(--green-soft); color: var(--green); }
.badge.discontinued { background: #eef1f4; color: var(--muted); }
.badge.testing { background: var(--brand-soft); color: var(--brand-700); }
.badge.custom { background: #f3efff; color: #5b3fb5; }
.badge.planned { background: #eef6ff; color: #1a5fb4; }
.badge.dev { background: var(--amber-soft); color: var(--amber); }

/* 产品详情 */
.product-hero { padding: 48px 0 56px; border-bottom: 1px solid var(--line); }
.product-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: start; }
.gallery-main { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 16 / 10; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery-thumbs button { width: 92px; height: 60px; padding: 0; border: 1px solid var(--line); border-radius: 5px; background: #fff; cursor: pointer; overflow: hidden; }
.gallery-thumbs button.active { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-soft); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.product-info h1 { font-size: clamp(24px, 2.6vw, 34px); margin-bottom: 14px; }
.product-tags { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; }
.tag { font-size: 12px; color: var(--muted); border: 1px solid var(--line); border-radius: 4px; padding: 3px 9px; background: #fff; }
.tag.strong { color: var(--brand-700); border-color: #bfe0f2; background: var(--brand-soft); font-family: ui-monospace, Consolas, monospace; }
.product-lead { color: var(--muted); font-size: 16px; margin-bottom: 26px; }
.quick-specs { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; margin-bottom: 28px; }
.quick-specs div { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.quick-specs div:last-child { border-bottom: 0; }
.quick-specs dt { color: var(--muted-2); font-size: 12px; letter-spacing: .03em; flex: 0 0 auto; }
.quick-specs dd { margin: 0; font-size: 14px; font-weight: 600; text-align: right; }
.product-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.product-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 56px; padding-top: 56px; padding-bottom: 96px; }
.product-main { min-width: 0; }
.prose-block h2, .spec-block h2, .doc-block h2 { font-size: 24px; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.spec-block, .doc-block { margin-top: 48px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.spec-table th, .spec-table td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.spec-table th { width: 34%; color: var(--muted); font-weight: 500; background: #fbfcfe; }
.doc-list { list-style: none; margin: 0; padding: 0; }
.doc-list li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.doc-info { flex: 1; display: flex; flex-direction: column; }
.doc-info a { color: var(--ink); font-weight: 600; font-size: 14.5px; }
.doc-info a:hover { color: var(--brand-700); }
.doc-info span { font-size: 12px; color: var(--muted-2); }
.product-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 108px; align-self: start; }
.side-card { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 22px; background: #fff; }
.side-card h3 { font-size: 16px; margin-bottom: 8px; }
.side-card p { color: var(--muted); font-size: 13.5px; margin-bottom: 14px; }
.side-links { list-style: none; margin: 0; padding: 0; }
.side-links li { border-bottom: 1px solid var(--line); }
.side-links li:last-child { border-bottom: 0; }
.side-links a { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; color: var(--ink); font-size: 13.5px; }
.side-links a:hover { color: var(--brand-700); }
.side-links em { font-style: normal; color: var(--muted-2); font-family: ui-monospace, Consolas, monospace; font-size: 11.5px; }

/* 新闻列表 */
.news-feature { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; margin-bottom: 32px; color: var(--ink); background: #fff; }
.news-feature:hover { border-color: var(--brand); color: var(--ink); }
.news-feature-media { aspect-ratio: 16 / 10; background: var(--bg-soft); }
.news-feature-media .media-img { width: 100%; height: 100%; object-fit: cover; }
.news-feature-body { padding: 36px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.news-feature-body time { font-size: 12.5px; color: var(--muted-2); }
.news-feature-body h2 { font-size: clamp(22px, 2.4vw, 30px); }
.news-feature-body p { color: var(--muted); font-size: 14.5px; }

/* 文章 */
.article { padding-bottom: 96px; }
.article-head { padding-top: 56px; padding-bottom: 28px; max-width: 900px; }
.article-head h1 { font-size: clamp(28px, 3.6vw, 44px); margin-bottom: 14px; }
.article-meta { display: flex; gap: 10px; color: var(--muted-2); font-size: 13.5px; }
.article-cover { margin-bottom: 36px; }
.article-cover img { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius-md); }
.article-body { max-width: 900px; }
.simple-article { padding: 64px 0 96px; }
.simple-article h1 { margin-bottom: 20px; }
.page-cover { padding-top: 24px; }
.page-cover img { width: 100%; max-height: 360px; object-fit: cover; border-radius: var(--radius-md); }

/* 富文本 */
.prose { font-size: 16.5px; line-height: 1.85; color: #24303e; }
.prose h2 { font-size: 24px; margin: 40px 0 14px; }
.prose h3 { font-size: 19px; margin: 28px 0 10px; }
.prose p { margin: 14px 0; }
.prose ul, .prose ol { padding-left: 22px; margin: 14px 0; }
.prose li { margin: 6px 0; }
.prose img { border-radius: 6px; border: 1px solid var(--line); margin: 18px 0; }
.prose blockquote { margin: 22px 0; padding: 14px 22px; border-left: 3px solid var(--brand); background: var(--brand-soft); border-radius: 0 6px 6px 0; }
.prose code { background: #f1f5f9; padding: 2px 6px; border-radius: 4px; font-size: .92em; }
.prose pre { background: var(--navy); color: #e6eefc; padding: 20px; border-radius: 6px; overflow: auto; }
.prose pre code { background: none; color: inherit; padding: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 15px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose th { background: var(--bg-soft); }

/* 下载中心 */
.doc-table { border-top: 1px solid var(--line); }
.doc-row { display: grid; grid-template-columns: 74px minmax(0, 1fr) 90px 80px 110px 76px; gap: 16px; align-items: center; padding: 16px 6px; border-bottom: 1px solid var(--line); }
.doc-row:hover { background: #fbfcfe; }
.doc-main { display: flex; flex-direction: column; min-width: 0; }
.doc-main a { color: var(--ink); font-weight: 600; font-size: 15px; }
.doc-main a:hover { color: var(--brand-700); }
.doc-summary { color: var(--muted-2); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.doc-version, .doc-size, .doc-date { font-size: 12.5px; color: var(--muted); }
.doc-meta-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 26px 0 30px; max-width: 760px; }
.doc-meta-grid div { background: #fff; padding: 14px 16px; }
.doc-meta-grid dt { font-size: 11.5px; color: var(--muted-2); }
.doc-meta-grid dd { margin: 4px 0 0; font-size: 14px; font-weight: 600; }
.doc-actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }

/* FAQ */
.faq-layout { max-width: 900px; }
.faq-group { margin-bottom: 44px; }
.faq-group h2 { font-size: 22px; margin-bottom: 14px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; margin: 10px 0; background: #fff; }
.faq-item summary { cursor: pointer; font-weight: 600; font-size: 15.5px; }
.faq-item[open] { border-color: var(--line-strong); }
.faq-item .prose { font-size: 15px; margin-top: 10px; }

/* 解决方案 */
.solution-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.solution-card { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 30px; background: #fff; color: var(--ink); display: flex; flex-direction: column; gap: 10px; transition: .2s; }
.solution-card:hover { border-color: var(--brand); box-shadow: var(--shadow-md); color: var(--ink); }
.solution-industry { font-size: 12px; color: var(--brand-700); letter-spacing: .04em; }
.solution-card h3 { font-size: 20px; }
.solution-card p { color: var(--muted); font-size: 14px; flex: 1; }

/* 搜索 */
.search-group { margin-bottom: 36px; max-width: 900px; }
.search-group h2 { font-size: 18px; margin-bottom: 12px; }
.search-list { list-style: none; margin: 0; padding: 0; }
.search-list li { display: flex; flex-direction: column; gap: 2px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.search-list span { color: var(--muted); font-size: 13px; }

/* 分页 / 空态 / 404 */
.pagination { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 40px; font-size: 13.5px; }
.pagination a, .pagination .disabled { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }
.pagination a:hover { border-color: var(--brand); color: var(--brand-700); }
.pagination .disabled { opacity: .45; }
.page-info { color: var(--muted-2); }
.empty { color: var(--muted); padding: 48px 0; text-align: center; border: 1px dashed var(--line-strong); border-radius: var(--radius); }
.notfound { max-width: 640px; padding: 110px 32px 130px; }
.notice-card { max-width: 720px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 32px; }
.notice-card h2 { margin-bottom: 10px; }
.notice-card .btn { margin-top: 16px; }

/* 占位图 */
.media-fallback {
  width: 100%; height: 100%; display: grid; place-items: center;
  background:
    radial-gradient(360px 200px at 72% 18%, rgba(30, 150, 213, .12), transparent 70%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .55) 0 2px, transparent 2px 14px),
    linear-gradient(135deg, #f2f6fa, #e4ebf2);
  color: #62788c; font-weight: 650; font-size: 15px; letter-spacing: .03em; text-align: center; padding: 20px;
}
.media-fallback span { position: relative; padding-top: 26px; }
.media-fallback span::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 22px; height: 18px; border: 1.5px solid #a9bccd; border-radius: 3px;
}
.media-fallback span::after {
  content: ""; position: absolute; top: 15px; left: 50%; transform: translateX(-50%);
  width: 8px; height: 8px; border-radius: 50%; background: #a9bccd;
}

/* 列表（兼容） */
.simple-list { list-style: none; margin: 24px 0 0; padding: 0; }
.simple-row { display: flex; gap: 20px; justify-content: space-between; padding: 22px 0; border-bottom: 1px solid var(--line); }
.simple-row h3 { font-size: 18px; margin-bottom: 6px; }
.simple-row p { color: var(--muted); font-size: 14px; }
.simple-tag { flex: 0 0 auto; font-size: 12px; color: var(--muted-2); background: var(--bg-soft); padding: 4px 10px; border-radius: 4px; height: fit-content; }

/* ---------- 联系页 ---------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; padding-top: 56px; padding-bottom: 96px; }
.contact-aside { display: flex; flex-direction: column; gap: 18px; }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 26px; background: #fff; }
.contact-card h3 { font-size: 18px; margin-bottom: 14px; }
.contact-card p { display: flex; gap: 14px; font-size: 14.5px; padding: 8px 0; border-bottom: 1px dashed var(--line); margin: 0; }
.contact-card p:last-child { border-bottom: 0; }
.contact-card p span { flex: 0 0 44px; color: var(--muted-2); font-size: 13px; }
.contact-card.prose { font-size: 14.5px; }
.contact-form-wrap { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 32px; background: #fff; }
.contact-form .form-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.contact-form .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { font-size: 13px; color: var(--muted); }
.contact-form label span { color: var(--danger); }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 11px 13px; font: inherit; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--brand-soft); border-color: var(--brand); }
.contact-form .hp { position: absolute; left: -9999px; opacity: 0; height: 0; }
.contact-form .btn { margin-top: 6px; }
.form-note { color: var(--muted-2); font-size: 12px; margin-top: 12px; }
.form-success { background: var(--green-soft); border: 1px solid #bfe3c9; color: #14632f; border-radius: var(--radius); padding: 18px 20px; margin-bottom: 20px; }
.form-success h3 { font-size: 17px; margin-bottom: 4px; }
.form-error { background: #fef3f2; border: 1px solid #f3d3d0; color: var(--danger); border-radius: var(--radius); padding: 12px 16px; margin-bottom: 18px; font-size: 14px; }

/* ---------- 视频 ---------- */
.video-block { margin-top: 48px; }
.video-block h2 { font-size: 24px; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.video-grid video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-md); background: #0d1620; border: 1px solid var(--line); }

/* ---------- 定制开发 ---------- */
.custom-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.custom-card { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 24px; background: #fff; display: flex; flex-direction: column; gap: 10px; }
.custom-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.custom-card h3 { font-size: 18px; }
.custom-card p { color: var(--muted); font-size: 14px; flex: 1; }
.custom-meta { margin: 0; display: flex; flex-direction: column; gap: 6px; border-top: 1px solid var(--line); padding-top: 12px; }
.custom-meta div { display: flex; gap: 12px; font-size: 12.5px; }
.custom-meta dt { flex: 0 0 76px; color: var(--muted-2); }
.custom-meta dd { margin: 0; color: var(--ink); }
.custom-cta { margin-top: 48px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.custom-cta h2 { font-size: 22px; margin-bottom: 8px; }
.custom-cta p { color: var(--muted); font-size: 14px; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--navy); color: #9fb1c4; padding-top: 64px; }
.footer-top { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; padding-bottom: 48px; }
.footer-brand img { width: 168px; margin-bottom: 16px; }
.footer-brand p { font-size: 13.5px; color: #8fa2b6; max-width: 34ch; }
.footer-brand address { font-style: normal; display: flex; flex-direction: column; gap: 6px; margin-top: 16px; font-size: 13px; }
.footer-brand address a { color: #c9d7e6; }
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-col h3 { color: #fff; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.footer-col a { color: #a7b9cb; font-size: 13.5px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px 32px 28px; font-size: 12.5px; color: #7d90a5; }
.legal-links { display: flex; gap: 18px; flex-wrap: wrap; }
.legal-links a { color: #7d90a5; }
.legal-links a:hover { color: #c9d7e6; }

/* 防止网格子项被图片撑破 */
.hero-grid > *, .software-grid > *, .product-hero-grid > *, .support-grid > *, .news-feature > * { min-width: 0; }
.series-card, .product-card, .cap-card, .news-card, .series-media, .product-media, .news-media, .cap-media { min-width: 0; }
.series-media img, .product-media img, .news-media img, .cap-media img, .device-frame img, .app-frame img { max-width: 100%; }

/* 固定比例图片区：图片绝对定位，避免竖图把卡片撑高 */
.series-media, .product-media, .news-media, .cap-media, .news-feature-media, .gallery-main {
  position: relative; overflow: hidden; background: var(--bg-soft);
}
.series-media > img, .product-media > img, .news-media > img, .cap-media > img,
.news-feature-media > img, .gallery-main > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.gallery-main > img { object-fit: contain; background: #fff; }

/* ---------- 响应式 ---------- */
@media (max-width: 1180px) {
  .main-nav { gap: 0; }
  .nav-item > a { padding: 10px 9px; font-size: 14px; }
  .search-mini input { width: 110px; }
}
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; padding-top: 64px; padding-bottom: 64px; }
  .hero-visual { max-width: 620px; }
  .hero-chip.secondary { display: none; }
  .series-grid, .product-grid, .cap-grid, .news-grid, .custom-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .product-layout { grid-template-columns: 1fr; gap: 40px; }
  .product-side { position: static; }
  .support-grid { grid-template-columns: 1fr; gap: 36px; }
  .software-grid { grid-template-columns: 1fr; gap: 40px; }
  .news-feature { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .quick-specs { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .utility-note { display: none; }
  .masthead-inner { flex-wrap: wrap; min-height: 70px; padding-top: 12px; padding-bottom: 12px; gap: 12px; }
  .brand img { width: 150px; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .masthead-tools { display: none; }
  .main-nav {
    display: none; width: 100%; flex-direction: column; align-items: stretch;
    margin: 0; padding: 8px 0 14px; border-top: 1px solid var(--line);
  }
  .main-nav.open { display: flex; }
  .nav-item > a { padding: 12px 6px; font-size: 15px; }
  .nav-item.is-active > a::after { display: none; }
  .nav-flyout { position: static; width: auto; box-shadow: none; border: 0; padding: 0; opacity: 1; visibility: visible; transform: none; display: none; }
  .nav-item:hover .nav-flyout, .nav-item:focus-within .nav-flyout { display: block; }
  .nav-flyout-inner { grid-template-columns: 1fr; }
  .flyout-cta { display: none; }
  .section { padding: 60px 0; }
  .hero-meta { gap: 26px; }
  .doc-row { grid-template-columns: 64px minmax(0, 1fr) 76px; }
  .doc-row .doc-version, .doc-row .doc-size, .doc-row .doc-date { display: none; }
  .cta-grid { flex-direction: column; align-items: flex-start; }
  .solution-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 32px; }
  .contact-form .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .container { padding: 0 20px; }
  .series-grid, .product-grid, .cap-grid, .news-grid, .custom-grid { grid-template-columns: 1fr; }
  .custom-cta { flex-direction: column; align-items: flex-start; }
  .hero-meta { flex-wrap: wrap; gap: 20px 32px; }
  .hero-chip { left: 12px; bottom: -16px; }
  .quick-specs { grid-template-columns: 1fr; }
  .doc-meta-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .article-head { padding-top: 36px; }
  .cta-actions .btn { width: 100%; }
}






/* ---------- PHP 版补充组件 ---------- */
.filter-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink-2); font-size: 14px; }
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 16px; }
.group-title { display: flex; align-items: baseline; gap: 10px; margin: 36px 0 14px; font-size: 22px; }
.group-title span { color: var(--muted-2); font-size: 14px; font-weight: 400; }
.contact-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 36px; align-items: start; }
.contact-form.narrow { max-width: 520px; }
.software-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.software-card:hover { border-color: var(--brand); box-shadow: 0 10px 30px rgba(15, 35, 60, .08); }
.software-media { position: relative; aspect-ratio: 16 / 10; background: var(--bg-soft); overflow: hidden; }
.software-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.software-body { padding: 18px 20px 22px; }
.software-body h3 { margin: 10px 0 8px; font-size: 19px; }
.software-body p { margin: 0 0 12px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.software-meta { color: var(--muted-2); font-size: 12.5px; }
.doc-detail { max-width: 900px; }
.doc-detail h1 { margin-bottom: 12px; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

/* sidebar 链接 */
.side-link { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.side-link:last-child { border-bottom: 0; }
.side-link em { color: var(--muted-2); font-style: normal; white-space: nowrap; font-size: 12px; }

.software-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 1024px) { .software-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .software-card-grid { grid-template-columns: 1fr; } }

/* 产品信息查询 */
.serial-wrap { max-width: 820px; }
.serial-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 16px 18px; margin: 0 0 14px; }
.serial-card p { margin: 4px 0; font-size: 14px; color: var(--ink-2); }
.serial-note { margin-top: 22px; font-size: 12.5px; }

/* 查询验证码 */
.serial-captcha { display: flex; align-items: center; gap: 10px; }
.serial-captcha .captcha-image { display: inline-block; padding: 6px 12px; background: #eef3f8; border-radius: 4px; font-family: ui-monospace, Consolas, monospace; font-size: 20px; letter-spacing: 3px; }
.serial-captcha input { flex: 1; }

/* 查询结果布局 */
.serial-summary { margin: 22px 0 8px; padding: 12px 16px; background: #f4f8fc; border: 1px solid var(--line); border-radius: var(--radius-md); font-size: 14px; color: var(--ink-2); }
.serial-orders { display: grid; gap: 18px; }
.serial-order-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.serial-order-head { display: flex; align-items: baseline; gap: 12px; padding: 14px 18px; background: #f7fafc; border-bottom: 1px solid var(--line); }
.serial-order-head span { color: var(--muted-2); font-size: 12.5px; }
.serial-order-head strong { font-size: 16px; }
.serial-shipments { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.serial-shipment { background: #fff; padding: 14px 18px; }
.serial-shipment h3 { margin: 0 0 6px; font-size: 13px; color: var(--brand); font-weight: 600; }
.serial-date { margin: 0 0 6px; font-size: 12.5px; color: var(--muted-2); }
.serial-items { margin: 0; font-size: 13.5px; line-height: 1.7; color: var(--ink-2); word-break: break-word; }
.serial-qc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.serial-qc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 16px 18px; }
.serial-qc-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.serial-qc-head span { color: var(--muted-2); font-size: 12.5px; }
.serial-qc-head strong { font-size: 15px; }
.serial-qc-fields { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; font-size: 13.5px; }
.serial-qc-fields dt { color: var(--muted-2); white-space: nowrap; }
.serial-qc-fields dd { margin: 0; color: var(--ink-2); word-break: break-word; }
@media (max-width: 760px) {
  .serial-shipments, .serial-qc-grid { grid-template-columns: 1fr; }
}

/* 查询结果左右分栏 */
.serial-columns { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 20px; margin-top: 18px; align-items: start; }
.serial-panel { background: #f5f8fb; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px 20px; }
.serial-panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 10px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.serial-panel-head h2 { margin: 0; font-size: 18px; }
.serial-count { font-size: 12.5px; color: var(--muted-2); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 2px 9px; white-space: nowrap; }
.serial-columns .serial-shipments { grid-template-columns: 1fr; }
.serial-columns .serial-qc-grid { grid-template-columns: 1fr; }
.serial-columns .serial-order-card { margin-bottom: 14px; }
.serial-columns .serial-order-card:last-child { margin-bottom: 0; }
.serial-columns .serial-qc-card { margin-bottom: 12px; }
.serial-columns .serial-qc-card:last-child { margin-bottom: 0; }
.serial-panel .serial-orders { display: block; }
@media (max-width: 900px) {
  .serial-columns { grid-template-columns: 1fr; }
}
