/* =====================================================================
   NYS 新营大 · 产品官网样式
   品牌蓝取自产品目录（#2F55AE），表头浅青呼应目录参数表。
   仅使用系统字体，无外部依赖，可离线运行。
   ===================================================================== */
:root {
  --navy: #0E2440;
  --navy-2: #163558;
  --blue: #2F55AE;
  --blue-dk: #22428C;
  --cyan: #2DB3E8;
  --cyan-lt: #E4F4FC;
  --paper: #F4F6F8;
  --white: #FFFFFF;
  --ink: #15202B;
  --steel: #5A6A77;
  --steel-2: #8796A2;
  --rule: rgba(21, 32, 43, .13);
  --rule-dk: rgba(255, 255, 255, .16);
  --warn: #9A5B00;
  --warn-bg: #FFF6E5;

  --f-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", "Source Han Sans SC",
            system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-en: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --f-num: "Bahnschrift", "DIN Alternate", "Roboto Condensed", "Arial Narrow", var(--f-en);

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font: 16px/1.7 var(--f-sans); }
html[data-lang="en"] body { font-family: var(--f-en); line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); }
h1, h2, h3 { margin: 0; line-height: 1.25; font-weight: 700; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
html[data-lang="zh"] .en, html[data-lang="en"] .zh { display: none !important; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.section { padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(48px, 7vw, 88px); }
.muted { color: var(--steel); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 8px 14px; background: var(--white); color: var(--ink); }
.skip:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: var(--radius); border: 1px solid transparent;
  font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .15s, border-color .15s, color .15s;
}
.btn small { font-weight: 400; opacity: .8; }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dk); }
.btn-line { border-color: var(--blue); color: var(--blue); background: var(--white); }
.btn-line:hover { background: var(--cyan-lt); }
.btn-light { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .4); color: var(--white); }
.btn-light:hover { background: rgba(255, 255, 255, .2); }
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { background: var(--cyan-lt); }
.text-link { font-weight: 600; }

/* ---------- header ---------- */
.hdr { background: var(--white); border-bottom: 1px solid var(--rule); }
.hdr-top { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.logo-mark {
  font-family: "Rockwell", "Roboto Slab", "Georgia", "Times New Roman", serif; font-weight: 800; font-size: 1.75rem; letter-spacing: .02em;
  color: var(--blue); line-height: 1; padding: 6px 10px 5px; border: 2px solid var(--blue); border-radius: 3px;
}
.logo-txt { display: flex; flex-direction: column; line-height: 1.3; }
.logo-txt b { font-family: var(--f-en); font-size: 1rem; }
.logo-txt small { font-size: .74rem; color: var(--steel); }
.hdr-search { flex: 1; display: flex; max-width: 440px; margin-left: auto; border: 1px solid #C5D0D9; border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.hdr-search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47, 85, 174, .15); }
.hdr-search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px 14px; outline: none; }
.hdr-search button { border: 0; background: transparent; color: var(--blue); padding: 0 14px; cursor: pointer; }
.hdr-tools { display: flex; gap: 8px; flex: none; }
.lang-btn, .menu-btn {
  min-height: 40px; padding: 0 14px; border: 1px solid #C5D0D9; border-radius: var(--radius); background: var(--white); cursor: pointer; font-size: .9rem;
}
.lang-btn:hover, .menu-btn:hover { border-color: var(--blue); color: var(--blue); }
.menu-btn { display: none; }
.nav { background: var(--navy); }
.nav-in { display: flex; gap: 2px; overflow-x: auto; }
.nav a { padding: 12px 18px; color: #D5DFE9; text-decoration: none; white-space: nowrap; font-size: .96rem; }
.nav a:hover { color: var(--white); background: var(--navy-2); }
.nav a[aria-current="page"] { color: var(--white); box-shadow: inset 0 -3px 0 var(--cyan); }

@media (max-width: 900px) {
  .hdr-top { flex-wrap: wrap; gap: 10px 12px; padding-top: 10px; padding-bottom: 10px; }
  .logo { flex: 1; min-width: 0; }
  .logo-txt { min-width: 0; }
  .logo-txt b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .92rem; }
  .logo-txt small { display: none; }
  .logo-mark { font-size: 1.4rem; padding: 5px 8px 4px; }
  .hdr-tools { margin-left: auto; }
  .menu-btn { display: inline-flex; align-items: center; }
  .hdr-search { order: 3; flex-basis: 100%; max-width: none; margin: 0; }
  .nav { display: none; }
  .nav.open { display: block; }
  .nav-in { flex-direction: column; padding-top: 6px; padding-bottom: 10px; }
  .nav a { border-bottom: 1px solid var(--rule-dk); padding: 12px 4px; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--cyan); padding-left: 12px; }
}

/* ---------- hero ---------- */
.hero { background: linear-gradient(180deg, var(--white) 0%, var(--paper) 100%); border-bottom: 1px solid var(--rule); }
.hero-in > * { min-width: 0; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 5vw, 64px); align-items: center; padding-top: clamp(36px, 6vw, 72px); padding-bottom: clamp(36px, 6vw, 72px); }
.hero-kicker { color: var(--steel); font-size: .9rem; margin-bottom: 14px; }
.hero h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); color: var(--navy); letter-spacing: -.01em; margin-bottom: 18px; }
html[data-lang="zh"] .hero h1 { letter-spacing: .02em; }
.hero-lead { color: #3D4C58; font-size: 1.07rem; max-width: 36em; margin-bottom: 26px; }
.hero-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 18px 0 0; }
.hero-links a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.hero-links a:hover { text-decoration: underline; }
.hero-links small { color: var(--steel); font-weight: 400; }
.hero-img {
  position: relative; display: block; background: var(--white); border: 1px solid var(--rule); border-radius: 6px; padding: clamp(16px, 3vw, 32px);
  text-decoration: none; color: var(--ink);
  background-image: linear-gradient(rgba(47, 85, 174, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(47, 85, 174, .06) 1px, transparent 1px);
  background-size: 24px 24px;
}
.hero-img img { margin: 0 auto; max-height: 380px; width: auto; mix-blend-mode: multiply; }
.hero-cap { display: block; margin-top: 12px; font-size: .9rem; color: var(--steel); }
.hero-cap b { color: var(--ink); font-weight: 600; margin-left: 6px; }
@media (max-width: 860px) { .hero-in { grid-template-columns: 1fr; } .hero-img img { max-height: 280px; } }

.big-search { display: flex; gap: 8px; max-width: 620px; min-width: 0; }
@media (max-width: 420px) { .big-search .btn { padding: 0 14px; } }
.big-search input {
  flex: 1; min-width: 0; min-height: 50px; padding: 0 16px; border: 1px solid #B9C6D1; border-radius: var(--radius); background: var(--white);
}
.big-search input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47, 85, 174, .15); }
.big-search .btn { min-height: 50px; }

/* ---------- facts strip ---------- */
.facts { background: var(--navy); color: #C9D6E2; }
.facts-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts p { margin: 0; padding: 22px 20px 22px 0; display: flex; flex-direction: column; gap: 2px; font-size: .92rem; }
.facts p + p { padding-left: 20px; border-left: 1px solid var(--rule-dk); }
.facts b { font-family: var(--f-num); font-size: 1.6rem; color: var(--white); font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1.2; }
@media (max-width: 760px) {
  .facts-in { grid-template-columns: 1fr 1fr; }
  .facts p, .facts p + p { padding: 16px 12px 16px 0; border-left: 0; }
  .facts p:nth-child(2n) { padding-left: 14px; border-left: 1px solid var(--rule-dk); }
  .facts p:nth-child(n+3) { border-top: 1px solid var(--rule-dk); }
}

/* ---------- section heads ---------- */
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 8px 24px; margin-bottom: 28px; }
.sec-head h2, .section > h2, .split h2, .prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); color: var(--navy); }
.sec-head p { color: var(--steel); margin: 0; }
.band { background: var(--paper); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.split h2 { margin-bottom: 14px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---------- category tiles ---------- */
.sg + .sg { margin-top: 44px; }
.sg h2, .sg h3 { font-size: 1.25rem; color: var(--navy); }
.sg-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 12px; margin-bottom: 16px; border-bottom: 2px solid var(--navy); }
.sg > h2 { padding-bottom: 12px; margin-bottom: 16px; border-bottom: 2px solid var(--navy); }
.sg-head a { font-size: .92rem; font-weight: 600; text-decoration: none; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.tile {
  display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: var(--white);
  border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; transition: border-color .15s;
}
.tile:hover { border-color: var(--blue); }
.tile-img { aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; padding: 14px; background: var(--white); }
.tile-img img { max-height: 100%; width: auto; object-fit: contain; }
.tile-name { padding: 10px 14px 0; font-weight: 700; }
.tile:hover .tile-name { color: var(--blue); }
.tile-meta { padding: 0 14px 12px; color: var(--steel); font-size: .88rem; }

/* ---------- product cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.cards-sm { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.card {
  display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: var(--white);
  border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; transition: border-color .15s;
}
.card:hover { border-color: var(--blue); }
.card[hidden] { display: none; }
.card-img { aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; padding: 14px; background: var(--white); border-bottom: 1px solid var(--rule); }
.card-img img { max-height: 100%; width: auto; object-fit: contain; }
.card-body { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px 14px; }
.card-name { font-weight: 700; line-height: 1.4; }
.card:hover .card-name { color: var(--blue); }
.card-alt { color: var(--steel); font-size: .85rem; line-height: 1.4; }
.card-models { margin-top: 6px; font-size: .84rem; color: var(--blue-dk); font-family: var(--f-en); font-variant-numeric: tabular-nums; }
.card mark, .search-hit mark { background: #FFF1A8; color: inherit; padding: 0 1px; }

.ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 100%; height: 100%; min-height: 120px;
  color: var(--steel-2); background: repeating-linear-gradient(135deg, var(--paper) 0 10px, #EEF1F4 10px 20px); border: 1px dashed #C3CDD6; font-size: .84rem; text-align: center; padding: 8px; }

/* ---------- page head ---------- */
.page-head { background: var(--navy); color: var(--white); padding: clamp(32px, 5vw, 56px) 0; }
.page-head h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 10px; }
.page-head p { color: #C9D6E2; max-width: 46em; margin-bottom: 20px; }
.page-head p:last-child { margin-bottom: 0; }

/* ---------- category page ---------- */
.cat-head { background: var(--navy); color: var(--white); }
.cat-head-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; padding-top: clamp(28px, 4vw, 48px); padding-bottom: clamp(28px, 4vw, 48px); }
.cat-head h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.cat-alt { color: #A9BBCB; font-size: 1.05rem; margin: 4px 0 8px; }
.cat-meta { color: #C9D6E2; margin-bottom: 18px; }
.cat-cover { max-height: 200px; width: auto; border-radius: var(--radius); background: var(--white); padding: 10px; }
@media (max-width: 760px) { .cat-head-in { grid-template-columns: 1fr; } .cat-cover { display: none; } }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .88rem; color: var(--steel); padding: 18px 0 8px; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--blue); text-decoration: underline; }
.crumbs-dark { color: #A9BBCB; padding-top: 0; }
.crumbs-dark a:hover { color: var(--white); }
.cat-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 36px; align-items: start; padding-top: 32px; padding-bottom: 72px; }
.cat-side { position: sticky; top: 16px; }
.cat-side h2 { font-size: .9rem; color: var(--steel); font-weight: 400; margin-bottom: 8px; }
.cat-list { display: flex; flex-direction: column; border-top: 1px solid var(--rule); }
.cat-list a { padding: 8px 10px; border-bottom: 1px solid var(--rule); border-left: 3px solid transparent; color: var(--ink); text-decoration: none; font-size: .93rem; }
.cat-list a:hover { background: var(--paper); color: var(--blue); }
.cat-list a[aria-current="page"] { border-left-color: var(--blue); background: var(--cyan-lt); font-weight: 700; color: var(--navy); }
@media (max-width: 900px) {
  .cat-layout { grid-template-columns: 1fr; }
  .cat-side { position: static; order: 2; }
}
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip { padding: 6px 12px; border: 1px solid #C5D0D9; border-radius: 999px; background: var(--white); cursor: pointer; font-size: .9rem; }
.chip small { color: var(--steel); margin-left: 2px; }
.chip:hover { border-color: var(--blue); }
.chip.is-on { background: var(--blue); border-color: var(--blue); color: var(--white); }
.chip.is-on small { color: #DCE6F7; }

/* ---------- product page ---------- */
.pd { padding-bottom: 72px; }
.pd-top { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; padding-top: 8px; }
@media (max-width: 900px) { .pd-top { grid-template-columns: 1fr; } }
.gallery { position: sticky; top: 16px; }
@media (max-width: 900px) { .gallery { position: static; } }
.g-main { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: 18px; }
.g-main img { max-height: 100%; width: auto; object-fit: contain; }
.g-empty { padding: 0; }
.g-kind { min-height: 1.4em; margin: 6px 0 0; font-size: .85rem; color: var(--steel); }
.g-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.g-thumb { width: 78px; height: 78px; padding: 4px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--white); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.g-thumb img { max-height: 100%; width: auto; object-fit: contain; }
.g-thumb.is-on { border-color: var(--blue); box-shadow: 0 0 0 2px var(--blue) inset; }
.note-missing { font-size: .86rem; color: var(--warn); background: var(--warn-bg); padding: 6px 10px; border-radius: var(--radius); }
.pd-cat { font-size: .92rem; color: var(--steel); margin-bottom: 8px; }
.pd-cat a { font-weight: 600; text-decoration: none; }
.pd-title { font-size: clamp(1.7rem, 3.2vw, 2.4rem); color: var(--navy); }
.pd-alt { color: var(--steel); font-size: 1.08rem; margin: 6px 0 0; }
.pd-meta { display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; margin: 18px 0 0; font-size: .95rem; }
.pd-meta div { display: contents; }
.pd-meta dt { color: var(--steel); }
.pd-meta dd { margin: 0; font-weight: 600; }
.pd-models { margin-top: 20px; }
.pd-models h2, .pd-dl h2 { font-size: .95rem; color: var(--steel); font-weight: 400; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; max-height: 168px; overflow: auto; }
.chips li { padding: 3px 10px; background: var(--cyan-lt); color: var(--navy); border-radius: 3px; font-family: var(--f-en); font-size: .88rem; font-variant-numeric: tabular-nums; }
.pd-summary { margin-top: 18px; color: #3D4C58; }
.pd-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.pd-dl { margin-top: 28px; }
.pd-dl ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.pd-dl a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 4px; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; }
.pd-dl a:hover { background: var(--paper); }
.pd-dl a svg { color: var(--blue); }
.pd-dl b { display: block; font-weight: 600; }
.pd-dl small { color: var(--steel); font-size: .85rem; }
.pd-dl em { font-style: normal; color: var(--steel); font-size: .85rem; white-space: nowrap; font-family: var(--f-en); }
.pd-sec { margin-top: clamp(40px, 6vw, 64px); }
.pd-sec > h2, .pd-feat h2 { font-size: 1.35rem; color: var(--navy); padding-bottom: 10px; margin-bottom: 18px; border-bottom: 2px solid var(--navy); }
.pd-feat { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding: 6px 0 6px 22px; border-bottom: 1px solid var(--rule); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 8px; height: 8px; background: var(--cyan); border-radius: 1px; }
.missing-box { padding: 18px 20px; border: 1px dashed #D9B36B; background: var(--warn-bg); color: #6B4A00; border-radius: var(--radius); }

/* ---------- tables ---------- */
.tbl-wrap { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--rule); border-radius: var(--radius); margin-bottom: 24px; background: var(--white); }
.tbl { width: 100%; border-collapse: collapse; font-size: .92rem; font-variant-numeric: tabular-nums; }
.tbl caption { text-align: left; padding: 12px 14px; font-weight: 700; color: var(--navy); border-bottom: 1px solid var(--rule); caption-side: top; }
.tbl th, .tbl td { padding: 9px 12px; border-bottom: 1px solid var(--rule); border-right: 1px solid var(--rule); text-align: center; white-space: nowrap; vertical-align: middle; }
.tbl th:last-child, .tbl td:last-child { border-right: 0; }
.tbl thead th { background: var(--cyan-lt); color: var(--navy); font-weight: 600; font-size: .86rem; line-height: 1.35; white-space: normal; min-width: 64px; }
.tbl tbody th { text-align: left; font-weight: 600; color: var(--navy); background: #FAFBFC; }
.tbl tbody tr:nth-child(even) td { background: #FAFCFD; }
.tbl tbody tr:hover td, .tbl tbody tr:hover th { background: #EEF6FC; }
.tbl tbody tr:last-child > * { border-bottom: 0; }
.tbl-rows tbody th { background: var(--cyan-lt); }
.tbl-note { color: var(--steel); font-size: .88rem; }
.tbl-mini { font-size: .88rem; }
.tbl-guide td { white-space: normal; line-height: 1.8; }
.tbl-guide td a { font-family: var(--f-en); font-weight: 600; text-decoration: none; }
.tbl-guide td a:hover { text-decoration: underline; }
.tbl-dl td, .tbl-dl th { text-align: left; }
.mini-guide { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); overflow-x: auto; }

/* ---------- factory / certs ---------- */
.factory, .factory-wide { width: 100%; border-radius: var(--radius); }
.certs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; list-style: none; margin: 18px 0 18px; padding: 0; }
.certs img, .cert-grid img { border: 1px solid var(--rule); background: var(--white); aspect-ratio: 3 / 4; object-fit: contain; width: 100%; }
.cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 18px; list-style: none; margin: 0; padding: 0; }
.cert-grid span { display: block; margin-top: 8px; font-size: .88rem; color: var(--steel); line-height: 1.45; }
.map { width: 100%; border-radius: var(--radius); }

/* ---------- about / contact ---------- */
.prose { max-width: 42em; }
.prose h2 { margin: 0 0 12px; }
.prose h2 + p { margin-bottom: 28px; }
.markets { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.markets li { padding: 5px 12px; border: 1px solid var(--rule); border-radius: 3px; background: var(--paper); font-size: .93rem; }
.record { margin: 0; border-top: 1px solid var(--rule); align-self: start; }
.record div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--rule); }
.record dt { color: var(--steel); font-size: .92rem; }
.record dd { margin: 0; font-weight: 600; }
.record dd small { display: block; font-weight: 400; color: var(--steel); font-size: .88rem; }
.record a { text-decoration: none; }
.record a:hover { text-decoration: underline; }
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
.form { border: 1px solid var(--rule); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); background: var(--paper); }
.form h2 { font-size: 1.4rem; color: var(--navy); margin-bottom: 6px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } }
.field { display: grid; gap: 5px; margin-bottom: 14px; }
.field label { font-weight: 600; font-size: .92rem; }
.field i { color: #C0392B; font-style: normal; margin-left: 2px; }
.field input, .field textarea, .search-form input, .search-form select {
  width: 100%; padding: 10px 12px; border: 1px solid #B9C6D1; border-radius: var(--radius); background: var(--white);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47, 85, 174, .15); }
.form-status { margin: 14px 0 0; padding: 10px 12px; border-left: 3px solid var(--blue); background: var(--white); }
.form-status[data-kind="error"] { border-left-color: #C0392B; }

/* ---------- search ---------- */
.search-form { display: grid; grid-template-columns: minmax(0, 1fr) 220px auto; gap: 8px; max-width: 880px; }
.search-form input, .search-form select { min-height: 50px; color: var(--ink); }
.search-form .btn { min-height: 50px; }
@media (max-width: 640px) { .search-form { grid-template-columns: 1fr; } }
.search-tips { font-size: .9rem; margin-top: 12px; }
.search-status { color: var(--steel); margin-bottom: 18px; }
.search-hit { font-size: .82rem; color: var(--steel); }

/* ---------- downloads ---------- */
.dl-hero { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; align-items: center; padding: 24px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--paper); }
.dl-hero img { border: 1px solid var(--rule); box-shadow: 0 8px 24px rgba(14, 36, 64, .12); }
.dl-hero h2 { font-size: 1.5rem; color: var(--navy); margin-bottom: 8px; }
@media (max-width: 640px) { .dl-hero { grid-template-columns: 1fr; } .dl-hero img { max-width: 180px; } }
.dl-split { margin-top: 24px; align-items: stretch; }
.dl-box { border: 1px solid var(--rule); border-radius: var(--radius); padding: 22px; }
.dl-box h2 { font-size: 1.2rem !important; }
.dl-h { font-size: 1.35rem; color: var(--navy); margin: 48px 0 16px; }
.dl-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; white-space: nowrap; }

/* ---------- guide ---------- */
.guide-help { margin-top: 40px; align-items: start; }
.steps { margin: 0; padding-left: 1.3em; }
.steps li { margin-bottom: 6px; }

/* ---------- CTA + footer ---------- */
.cta { background: var(--blue); color: var(--white); }
.cta-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding-top: 44px; padding-bottom: 44px; }
.cta h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 6px; }
.cta p { margin: 0; color: #DCE6F7; }
.cta-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.cta-mail { color: var(--white); font-weight: 600; }
.ftr { background: var(--navy); color: #B9C8D6; font-size: .92rem; }
.ftr-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; padding-top: 48px; padding-bottom: 32px; }
.ftr h2 { font-size: .9rem; color: #8FA5B9; font-weight: 400; margin-bottom: 10px; }
.ftr-name { color: var(--white); font-weight: 600; margin-bottom: 10px; line-height: 1.5; }
.ftr-name span { color: #A9BBCB; font-weight: 400; font-size: .88rem; }
.ftr-contact { margin: 14px 0 0; }
.ftr-contact div { margin-bottom: 4px; }
.ftr-contact dt { display: inline; color: #8FA5B9; }
.ftr-contact dd { display: inline; margin: 0 0 0 6px; }
.ftr a { color: #D5DFE9; text-decoration: none; }
.ftr a:hover { color: var(--white); text-decoration: underline; }
.ftr-links { list-style: none; margin: 0; padding: 0; }
.ftr-links li { margin-bottom: 5px; }
.ftr-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 16px; padding-bottom: 20px; border-top: 1px solid var(--rule-dk); font-size: .85rem; color: #8FA5B9; }
.ftr-base p { margin: 0; }
@media (max-width: 900px) { .ftr-grid { grid-template-columns: 1fr 1fr; } .ftr-co { grid-column: 1 / -1; } .vh-sm { display: none; } }
@media (max-width: 520px) { .ftr-grid { grid-template-columns: 1fr; } }

.notfound { text-align: left; }
.notfound h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--navy); margin-bottom: 10px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
@media print {
  .hdr, .ftr, .cta, .pd-actions, .pd-dl, .g-thumbs, .cat-side, .filter { display: none !important; }
  .pd-top { grid-template-columns: 1fr 1fr; }
  .tbl-wrap { overflow: visible; border: 0; }
}
@media (max-width: 520px) {
  .btn { white-space: normal; text-align: center; }
  .dl-hero, .dl-box { padding: 16px; }
  .dl-hero > *, .dl-split > * { min-width: 0; }
}

/* Three languages share every image and page. */
html[data-lang="zh"] .ru, html[data-lang="en"] .ru,
html[data-lang="ru"] .zh, html[data-lang="ru"] .en { display: none !important; }
html[data-lang="ru"] body { font-family: var(--f-en); line-height: 1.65; }
.lang-switch { display: flex; align-items: center; gap: 3px; }
.lang-switch .lang-btn { padding: 0 9px; }
.lang-btn[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: white; }
html[data-lang="ru"] .btn { white-space: normal; text-align: center; height: auto; padding-top: 10px; padding-bottom: 10px; }
html[data-lang="ru"] .hero h1 { font-size: clamp(1.9rem, 3.3vw, 3.1rem); line-height: 1.17; }
html[data-lang="ru"] .pd-title { font-size: clamp(1.6rem, 3vw, 2.3rem); overflow-wrap: anywhere; }
html[data-lang="ru"] .card-name, html[data-lang="ru"] .tile-name,
html[data-lang="ru"] .pd-dl b, html[data-lang="ru"] .ftr-name { overflow-wrap: anywhere; }
html[data-lang="ru"] .pd-alt, html[data-lang="ru"] .cat-alt { display: none; }
html[data-lang="ru"] .tbl th { white-space: normal; min-width: 100px; max-width: 310px; }
html[data-lang="ru"] .nav a { font-size: .9rem; padding-left: 14px; padding-right: 14px; }
.hdr-search { min-width: 150px; }
.pd-info, .card-body, .hero-txt { min-width: 0; }
html[data-lang="ru"] .record dd { overflow-wrap: anywhere; }
@media (min-width: 901px) and (max-width: 1200px) {
 .hdr-top { flex-wrap: wrap; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
 .hdr-search { order: 3; flex-basis: 100%; max-width: none; margin: 0; }
 .hdr-tools { margin-left: auto; }
}
@media (max-width: 520px) {
 .logo-txt { display: none; }
 .lang-switch .lang-btn { font-size: .8rem; padding: 0 7px; }
 .hdr-tools { gap: 5px; }
 .menu-btn { padding: 0 8px; }
 html[data-lang="ru"] .pd-actions { flex-direction: column; align-items: stretch; }
 html[data-lang="ru"] .pd-dl a { gap: 8px; }
 html[data-lang="ru"] .pd-dl em { font-size: .72rem; }
}
@media print { .lang-switch { display: none !important; } }

html[data-lang="ru"] .card-alt-name { display: none; }
