:root {
  --ink: #102125;
  --ink-soft: #42585d;
  --night: #12275c;
  --night-2: #1a336e;
  --teal: #16788d;
  --teal-dark: #0f6072;
  --green: #6f9b73;
  --amber: #d69045;
  --paper: #ffffff;
  --mist: #f3f6f5;
  --line: #dce5e3;
  --danger: #bd3b3b;
  --shadow: 0 16px 40px rgba(19, 39, 43, 0.11);
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

body.menu-open {
  overflow: hidden;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

svg {
  width: 1.1em;
  height: 1.1em;
  stroke-width: 1.8;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.utility-bar {
  height: 36px;
  color: #c4d0d2;
  background: var(--night);
  font-size: 12px;
}

.utility-inner,
.utility-links,
.nav-inner,
.site-menu,
.nav-contact,
.hero-actions,
.keyword-inner,
.section-heading,
.text-link,
.contact-band-inner,
.contact-band-actions,
.contact-band-actions > a,
.footer-bottom .shell,
.admin-header .admin-shell,
.admin-header nav,
.admin-titlebar,
.toast-message,
.admin-stats > div,
.table-actions,
.form-heading,
.switch-control,
.editor-section-heading,
.visit-inner,
.visit-inner > div {
  display: flex;
  align-items: center;
}

.utility-inner {
  height: 100%;
  justify-content: space-between;
}

.utility-links {
  gap: 18px;
}

.utility-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.utility-links svg {
  width: 14px;
  height: 14px;
}

.utility-links .muted {
  color: #718589;
}

.utility-links .active-language {
  color: white;
  font-weight: 700;
}

.main-nav {
  position: relative;
  z-index: 20;
  height: 82px;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(16, 33, 37, 0.08);
}

.nav-inner {
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand-logo {
  width: 180px;
  height: 70px;
  object-fit: contain;
}

.brand-logo-footer {
  width: 160px;
  height: auto;
  border-radius: 2px;
}

.brand-logo-admin {
  width: 132px;
  height: auto;
}

.admin-brand-label {
  padding-left: 12px;
  color: #607478;
  border-left: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  overflow: hidden;
  background: var(--teal);
  border-radius: 4px;
}

.brand-mark::before,
.brand-mark::after,
.brand-mark span {
  position: absolute;
  display: block;
  content: "";
  background: white;
}

.brand-mark::before {
  width: 23px;
  height: 6px;
  transform: skewX(-28deg) translateY(-7px);
}

.brand-mark::after {
  width: 23px;
  height: 6px;
  transform: skewX(-28deg) translateY(7px);
}

.brand-mark span {
  width: 7px;
  height: 25px;
  transform: skewY(-28deg);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-copy strong {
  font-size: 22px;
  font-weight: 800;
}

.brand-copy small {
  margin-top: 4px;
  color: #718286;
  font-size: 9px;
  font-weight: 700;
}

.site-menu {
  height: 100%;
  gap: 4px;
  margin-left: auto;
}

.site-menu a {
  position: relative;
  display: grid;
  height: 100%;
  padding: 0 18px;
  place-items: center;
  color: #26393d;
  font-size: 15px;
  font-weight: 600;
}

.site-menu a::after {
  position: absolute;
  right: 18px;
  bottom: 0;
  left: 18px;
  height: 3px;
  content: "";
  background: var(--teal);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.site-menu a:hover::after,
.site-menu a:focus-visible::after {
  transform: scaleX(1);
}

.site-menu-dropdown {
  position: relative;
  height: 100%;
}

.site-menu-dropdown > a {
  display: flex;
  gap: 6px;
}

.site-menu-dropdown > a svg {
  width: 14px;
  height: 14px;
}

.site-submenu {
  position: absolute;
  top: calc(100% - 1px);
  left: 0;
  min-width: 190px;
  padding: 7px 0;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 14px 30px rgba(16, 33, 37, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.site-menu .site-submenu a {
  min-height: 44px;
  height: auto;
  padding: 9px 18px;
  place-items: center start;
  font-size: 14px;
  font-weight: 500;
}

.site-menu .site-submenu a::after {
  display: none;
}

.site-menu .site-submenu a:hover,
.site-menu .site-submenu a:focus-visible {
  color: var(--teal-dark);
  background: var(--mist);
}

.site-menu-dropdown:hover .site-submenu,
.site-menu-dropdown:focus-within .site-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-language-switch {
  display: none;
}

.nav-contact {
  align-self: stretch;
  flex-direction: column;
  justify-content: center;
  margin-left: 14px;
  padding: 0 20px;
  color: white;
  background: var(--teal);
}

.nav-contact span {
  font-size: 11px;
  opacity: 0.78;
}

.nav-contact strong {
  font-size: 15px;
}

.icon-button {
  display: inline-grid;
  width: 38px;
  height: 38px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
  place-items: center;
}

.menu-toggle {
  display: none;
  margin-left: auto;
}

.hero {
  position: relative;
  display: flex;
  min-height: clamp(520px, calc(100svh - 170px), 680px);
  color: white;
  background-color: var(--night);
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
  align-items: center;
  isolation: isolate;
}

.hero-overlay {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 27, 69, 0.93) 0%, rgba(11, 27, 69, 0.72) 48%, rgba(11, 27, 69, 0.12) 100%);
}

.hero-content {
  padding-block: 70px 96px;
}

.eyebrow {
  margin-bottom: 14px;
  color: #86cedb;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow-dark {
  color: var(--teal);
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 22px;
  overflow-wrap: anywhere;
  font-size: clamp(38px, 5.2vw, 70px);
  line-height: 1.14;
}

.hero-lead {
  max-width: 660px;
  margin-bottom: 32px;
  color: #d3dfe0;
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.8;
}

.hero-actions {
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  min-width: 0;
  padding: 0 22px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: white;
  background: var(--teal);
}

.button-primary:hover {
  background: var(--teal-dark);
}

.button-ghost {
  color: white;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.42);
}

.button-light {
  color: var(--night);
  background: white;
}

.button-secondary {
  color: var(--ink);
  background: white;
  border-color: var(--line);
}

.button-full {
  width: 100%;
}

.hero-stats {
  display: flex;
  gap: 0;
  margin: 54px 0 0;
}

.hero-stats div {
  min-width: 155px;
  padding: 0 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-stats div:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-stats dt {
  font-size: 28px;
  font-weight: 800;
}

.hero-stats dd {
  margin: 2px 0 0;
  color: #b5c5c8;
  font-size: 13px;
}

.scroll-hint {
  position: absolute;
  bottom: 18px;
  left: 50%;
  display: grid;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  place-items: center;
  transform: translateX(-50%);
}

.keyword-strip {
  background: var(--mist);
  border-bottom: 1px solid var(--line);
}

.keyword-inner {
  min-height: 64px;
  gap: 28px;
  color: #607176;
  font-size: 13px;
}

.keyword-inner strong {
  color: var(--ink);
}

.keyword-inner a {
  display: inline-flex;
  margin-left: auto;
  color: var(--teal-dark);
  align-items: center;
  gap: 6px;
  font-weight: 700;
}

.section {
  padding: 96px 0;
}

.section-heading {
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 40px;
}

.section-heading h2,
.capability-intro h2,
.contact-band h2,
.about-copy h2,
.contact-main h2 {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.25;
}

.section-heading > p {
  max-width: 530px;
  margin: 0;
  color: var(--ink-soft);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  color: white;
  background: var(--night);
  border-radius: 6px;
}

.product-card-wide {
  grid-column: span 2;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
  transition: transform 400ms ease, opacity 300ms ease;
}

.product-card::after {
  position: absolute;
  content: "";
  inset: 0;
  background: linear-gradient(0deg, rgba(11, 27, 69, 0.94) 0%, rgba(11, 27, 69, 0.08) 68%);
}

.product-card:hover img {
  opacity: 0.9;
  transform: scale(1.025);
}

.product-card > div {
  position: absolute;
  z-index: 2;
  right: 26px;
  bottom: 24px;
  left: 26px;
}

.product-card h3 {
  margin-bottom: 5px;
  font-size: 23px;
}

.product-card p {
  margin: 0;
  color: #cbd6d8;
  font-size: 14px;
}

.product-index {
  position: absolute;
  z-index: 2;
  top: 22px;
  left: 24px;
  color: white;
  font-size: 12px;
  font-weight: 800;
}

.text-link {
  width: fit-content;
  margin-top: 15px;
  color: white;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
}

.text-link-dark {
  color: var(--teal-dark);
}

.capability-section {
  padding: 100px 0;
  color: white;
  background: var(--night-2);
}

.capability-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 90px;
}

.capability-intro p:not(.eyebrow) {
  max-width: 520px;
  margin: 22px 0 30px;
  color: #b8c8ca;
}

.capability-list {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.capability-list a {
  display: grid;
  min-height: 124px;
  padding: 22px 4px;
  grid-template-columns: 46px 1fr 24px;
  gap: 18px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  transition: padding 180ms ease, background-color 180ms ease;
}

.capability-list a:hover {
  padding-inline: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.capability-list > a > span {
  color: #6fb4c0;
  font-size: 12px;
}

.capability-list h3 {
  margin: 0 0 3px;
  font-size: 19px;
}

.capability-list p {
  margin: 0;
  color: #9eb1b4;
  font-size: 13px;
}

.news-preview {
  background: var(--mist);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.news-card {
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.news-image,
.news-list-image {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #dfe6e5;
}

.news-image img,
.news-list-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.news-card:hover .news-image img,
.news-list article:hover .news-list-image img {
  transform: scale(1.03);
}

.news-image span {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 7px 12px;
  color: white;
  background: var(--teal);
  font-size: 12px;
}

.news-card-body {
  padding: 24px;
}

.news-card time {
  color: #78898d;
  font-size: 12px;
}

.news-card h3 {
  margin: 10px 0;
  font-size: 19px;
  line-height: 1.5;
}

.news-card h3 a:hover,
.news-list h2 a:hover {
  color: var(--teal-dark);
}

.news-card p {
  display: -webkit-box;
  min-height: 48px;
  margin-bottom: 0;
  overflow: hidden;
  color: var(--ink-soft);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 14px;
  line-height: 1.7;
}

.contact-band {
  padding: 64px 0;
  color: white;
  background: #1d4d58;
}

.contact-band-inner {
  justify-content: space-between;
  gap: 40px;
}

.contact-band-actions {
  flex: 0 0 auto;
  gap: 26px;
}

.contact-band-actions > a:first-child {
  gap: 10px;
}

.contact-band-actions svg {
  width: 28px;
  height: 28px;
}

.contact-band-actions span {
  display: flex;
  flex-direction: column;
}

.contact-band-actions small {
  color: #bad0d4;
  font-size: 11px;
}

.contact-band-actions strong {
  font-size: 17px;
}

.site-footer {
  color: #bac7c9;
  background: var(--night);
}

.footer-grid {
  display: grid;
  padding: 66px 0 54px;
  grid-template-columns: 1.2fr 0.7fr 1.1fr;
  gap: 80px;
}

.brand-light .brand-copy strong {
  color: white;
}

.footer-brand p {
  max-width: 320px;
  margin: 22px 0 0;
  font-size: 14px;
}

.site-footer h2 {
  margin: 0 0 18px;
  color: white;
  font-size: 15px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px 18px;
  font-size: 13px;
}

.footer-links a:hover {
  color: white;
}

.contact-list {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 10px;
  list-style: none;
  font-size: 13px;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.contact-list svg {
  flex: 0 0 auto;
  margin-top: 5px;
  color: #74adba;
}

.footer-bottom {
  padding: 16px 0;
  color: #71878b;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
}

.footer-bottom .shell {
  justify-content: space-between;
}

.page-hero {
  display: flex;
  min-height: 320px;
  color: white;
  background-color: var(--night-2);
  background-image: linear-gradient(100deg, rgba(18, 39, 92, 0.96), rgba(30, 58, 120, 0.72)),
    url("https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=abstract%20macro%20view%20of%20precision%20fiber%20optics%20and%20scientific%20imaging%20sensor%2C%20dark%20industrial%20laboratory%2C%20realistic%20photography%2C%20wide%20composition%2C%20no%20text&image_size=landscape_16_9");
  background-position: center;
  background-size: cover;
  align-items: center;
}

.page-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(36px, 4.8vw, 58px);
}

.page-hero p:last-child {
  margin: 0;
  color: #c2d0d2;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 76px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
}

.about-badge {
  position: absolute;
  right: -18px;
  bottom: -22px;
  display: flex;
  width: 155px;
  height: 105px;
  flex-direction: column;
  color: white;
  background: var(--teal);
  border-radius: 4px;
  align-items: center;
  justify-content: center;
}

.about-badge strong {
  font-size: 32px;
  line-height: 1;
}

.about-badge span {
  margin-top: 7px;
  font-size: 12px;
}

.about-copy > p:not(.eyebrow) {
  color: var(--ink-soft);
}

.fact-list {
  margin: 28px 0 0;
  border-top: 1px solid var(--line);
}

.fact-list div {
  display: grid;
  padding: 13px 0;
  grid-template-columns: 75px 1fr;
  border-bottom: 1px solid var(--line);
}

.fact-list dt {
  color: var(--teal-dark);
  font-weight: 700;
}

.fact-list dd {
  margin: 0;
  color: var(--ink-soft);
}

.values-section {
  padding: 90px 0;
  color: white;
  background: var(--night-2);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.value-grid > div {
  min-height: 230px;
  padding: 32px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.value-grid svg {
  width: 34px;
  height: 34px;
  margin-bottom: 28px;
  color: #7eb8c3;
}

.value-grid h3 {
  margin-bottom: 7px;
  font-size: 20px;
}

.value-grid p {
  margin: 0;
  color: #aebfc2;
  font-size: 13px;
}

.filter-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 34px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.filter-button {
  min-height: 40px;
  padding: 0 18px;
  color: var(--ink-soft);
  background: white;
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
}

.filter-button.active {
  color: white;
  background: var(--teal);
  border-color: var(--teal);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.catalog-item {
  position: relative;
  display: grid;
  min-height: 230px;
  padding: 30px;
  grid-template-columns: 34px 64px 1fr 38px;
  gap: 20px;
  align-items: start;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background-color 180ms ease;
}

.catalog-item:hover {
  background: var(--mist);
}

.catalog-item > svg {
  width: 48px;
  height: 48px;
  color: var(--teal);
  stroke-width: 1.3;
}

.catalog-number {
  color: #8b9b9e;
  font-size: 12px;
}

.catalog-item h2 {
  margin: 2px 0 10px;
  font-size: 22px;
}

.catalog-item p {
  margin: 0;
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.catalog-item div > span {
  color: var(--ink-soft);
  font-size: 14px;
}

.catalog-item > a {
  display: grid;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  place-items: center;
}

.custom-process {
  padding: 90px 0;
  color: white;
  background: #163f48;
}

.process-list {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.process-list li {
  min-height: 210px;
  padding: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.process-list span {
  color: #85bdc7;
  font-size: 12px;
}

.process-list h3 {
  margin: 42px 0 8px;
}

.process-list p {
  margin: 0;
  color: #aec1c4;
  font-size: 13px;
}

.about-section-nav {
  background: white;
  border-bottom: 1px solid var(--line);
}

.about-section-nav .shell {
  display: flex;
  min-height: 66px;
  align-items: stretch;
}

.about-section-nav a {
  display: grid;
  min-width: 150px;
  padding: 0 24px;
  color: var(--ink-soft);
  border-right: 1px solid var(--line);
  place-items: center;
  font-size: 14px;
  font-weight: 700;
}

.about-section-nav a:first-child {
  border-left: 1px solid var(--line);
}

.about-section-nav a:hover,
.about-section-nav a.active {
  color: white;
  background: var(--teal);
}

.about-page-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.about-page-heading h2 {
  margin: 0 0 12px;
  font-size: 34px;
}

.about-page-heading > p:last-child {
  color: var(--ink-soft);
}

.about-profile-logo {
  display: grid;
  min-height: 250px;
  margin-bottom: 42px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  place-items: center;
}

.about-profile-logo img {
  width: min(430px, 76%);
  height: auto;
}

.about-profile-copy {
  max-width: 1040px;
  margin-inline: auto;
  color: var(--ink-soft);
  line-height: 2;
}

.about-profile-copy p {
  margin-bottom: 18px;
}

.about-facts {
  display: grid;
  margin: 42px 0 0;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.about-facts div {
  display: flex;
  min-height: 125px;
  padding: 24px;
  flex-direction: column;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  justify-content: center;
}

.about-facts dt {
  color: var(--teal-dark);
  font-size: 28px;
  font-weight: 800;
}

.about-facts dd {
  margin: 2px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.qualification-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 22px;
}

.qualification-grid figure {
  margin: 0;
  background: white;
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
}

.qualification-grid figure > div {
  display: grid;
  aspect-ratio: 4 / 3;
  padding: 16px;
  background: #f5f7f6;
  place-items: center;
}

.qualification-grid img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qualification-grid figcaption {
  min-height: 54px;
  padding: 14px 16px;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 13px;
}

.culture-list {
  border-top: 1px solid var(--line);
}

.culture-list article {
  display: grid;
  min-height: 150px;
  padding: 30px 0;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 22px;
  border-bottom: 1px solid var(--line);
}

.culture-list article > span {
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
}

.culture-list h3 {
  margin: 0 0 9px;
  font-size: 22px;
}

.culture-list p {
  max-width: 850px;
  margin: 0;
  color: var(--ink-soft);
}

.product-catalog-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.product-category-panel {
  position: sticky;
  top: 24px;
  min-width: 0;
  border-top: 3px solid var(--teal);
}

.product-catalog-main {
  min-width: 0;
}

.product-category-title {
  padding: 21px 16px 18px;
  border-bottom: 1px solid var(--line);
}

.product-category-title p {
  margin: 0 0 2px;
  color: var(--teal);
  font-size: 10px;
  font-weight: 800;
}

.product-category-title h2 {
  margin: 0;
  font-size: 21px;
}

.product-category-panel nav a {
  display: flex;
  min-height: 49px;
  padding: 9px 14px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
}

.product-category-panel nav a svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

.product-category-panel nav a:hover,
.product-category-panel nav a.active {
  color: white;
  background: var(--teal);
}

/* 二级展开导航 */
.product-sub-nav {
  border-bottom: 1px solid var(--line);
  background: #f4f8f7;
}

.product-sub-nav a {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 39px;
  padding: 6px 14px 6px 28px;
  color: var(--ink-soft);
  border-bottom: 1px solid #e8efee;
  font-size: 12px;
  transition: background .15s, color .15s;
}

.product-sub-nav a:last-child {
  border-bottom: none;
}

.product-sub-nav a svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  opacity: .5;
}

.product-sub-nav a:hover,
.product-sub-nav a.active {
  color: var(--teal-dark, #0a6e6e);
  background: #e2efed;
}

/* 面包屑 */
.product-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 12px;
  color: #718286;
}

.product-breadcrumb a {
  color: var(--teal-dark, #0a6e6e);
  text-decoration: none;
  transition: opacity .15s;
}

.product-breadcrumb a:hover {
  opacity: .7;
}

.product-breadcrumb svg {
  width: 13px;
  height: 13px;
  opacity: .6;
}

.product-breadcrumb > span {
  color: var(--ink);
  font-weight: 600;
}

.product-catalog-heading {
  display: flex;
  min-height: 74px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.product-catalog-heading p {
  margin-bottom: 2px;
}

.product-catalog-heading h2 {
  margin: 0;
  font-size: 28px;
}

.product-catalog-heading > span {
  color: #718286;
  font-size: 12px;
}

.product-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 18px;
}

.product-catalog-card {
  min-width: 0;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 5px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.product-catalog-card:hover {
  border-color: #a9c5c8;
  box-shadow: 0 12px 26px rgba(19, 39, 43, 0.09);
}

.product-catalog-image {
  position: relative;
  display: grid;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f2f5f4;
  place-items: center;
}

.product-catalog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.product-catalog-card:hover .product-catalog-image img {
  transform: scale(1.025);
}

.product-catalog-image > span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  width: 34px;
  height: 34px;
  color: white;
  background: rgba(12, 26, 30, 0.82);
  border-radius: 4px;
  place-items: center;
}

.product-catalog-card > div:last-child {
  padding: 16px 17px 19px;
}

.product-catalog-card p {
  margin: 0 0 3px;
  color: var(--teal-dark);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-catalog-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.35;
}

.product-catalog-card > div:last-child > span {
  display: -webkit-box;
  overflow: hidden;
  color: var(--ink-soft);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 12px;
  line-height: 1.65;
}

.product-detail-hero {
  padding: 42px 0 72px;
  background: var(--mist);
  border-bottom: 1px solid var(--line);
}

.product-detail-hero .back-link {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--ink-soft);
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: 62px;
  align-items: center;
}

.product-detail-image {
  display: grid;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: white;
  border: 1px solid var(--line);
  border-radius: 5px;
  place-items: center;
}

.product-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-detail-copy .eyebrow {
  color: var(--teal-dark);
}

.product-detail-copy h1 {
  margin: 0 0 16px;
  font-size: 42px;
  line-height: 1.2;
}

.product-detail-summary {
  margin-bottom: 28px;
  color: var(--ink-soft);
  font-size: 17px;
}

.product-detail-content {
  max-width: 920px;
}

.product-detail-content-heading {
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.product-detail-content-heading h2 {
  margin: 0;
  font-size: 28px;
}

.service-detail-list {
  border-top: 1px solid var(--line);
}

.service-detail-list article {
  display: grid;
  min-height: 190px;
  padding: 32px 10px;
  grid-template-columns: 45px 132px 1.4fr 0.9fr;
  gap: 24px;
  align-items: start;
  border-bottom: 1px solid var(--line);
}

.service-number {
  color: #8fa0a3;
  font-size: 12px;
}

.service-icon {
  display: grid;
  width: 54px;
  height: 54px;
  color: white;
  background: var(--teal);
  border-radius: 4px;
  place-items: center;
}

.service-icon svg {
  width: 25px;
  height: 25px;
}

.service-image {
  overflow: hidden;
  width: 132px;
  aspect-ratio: 4 / 3;
  background: var(--mist);
  border-radius: 4px;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-detail-list h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.service-detail-list p {
  max-width: 570px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.service-detail-list ul {
  margin: 0;
  padding: 0;
  color: var(--ink-soft);
  list-style: none;
  font-size: 13px;
}

.service-detail-list li {
  position: relative;
  padding: 3px 0 3px 17px;
}

.service-detail-list li::before {
  position: absolute;
  top: 13px;
  left: 0;
  width: 5px;
  height: 5px;
  content: "";
  background: var(--green);
  border-radius: 50%;
}

/* 富文本服务要点：位于要点列，兼容段落、列表与图片 */
.service-detail-list .service-highlights {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.service-detail-list .service-highlights > :first-child {
  margin-top: 0;
}

.service-detail-list .service-highlights > :last-child {
  margin-bottom: 0;
}

.service-detail-list .service-highlights p {
  margin: 0 0 8px;
}

.service-detail-list .service-highlights img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.quality-band {
  padding: 70px 0;
  color: white;
  background: var(--night);
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.quality-grid > div {
  padding: 10px 44px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.quality-grid > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.quality-grid strong {
  color: #73b2be;
  font-size: 12px;
}

.quality-grid h3 {
  margin: 18px 0 7px;
  font-size: 20px;
}

.quality-grid p {
  margin: 0;
  color: #9db0b3;
  font-size: 13px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
  align-items: stretch;
}

.contact-main > p:not(.eyebrow) {
  max-width: 620px;
  margin: 22px 0 30px;
  color: var(--ink-soft);
}

.contact-methods {
  display: grid;
  margin-bottom: 32px;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.contact-methods > * {
  display: flex;
  min-height: 118px;
  padding: 20px;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-methods svg {
  margin-bottom: 13px;
  color: var(--teal);
}

.contact-methods span {
  display: flex;
  flex-direction: column;
}

.contact-methods small {
  color: #7b8b8e;
  font-size: 11px;
}

.contact-methods strong {
  font-size: 14px;
}

.address-panel {
  position: relative;
  min-height: 430px;
  padding: 50px 44px;
  overflow: hidden;
  color: white;
  background: #1e5865;
  border-radius: 6px;
}

.address-panel > svg {
  width: 42px;
  height: 42px;
  margin-bottom: 46px;
  color: #91c9d3;
}

.address-panel p {
  margin-bottom: 8px;
  color: #a9cbd1;
  font-size: 12px;
}

.address-panel h2 {
  position: relative;
  z-index: 1;
  font-size: 24px;
}

.address-panel a {
  position: relative;
  z-index: 1;
  display: inline-flex;
  margin-top: 20px;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
}

.address-grid {
  position: absolute;
  right: -20px;
  bottom: -35px;
  display: grid;
  width: 270px;
  height: 210px;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  opacity: 0.16;
  transform: rotate(-9deg);
}

.address-grid span {
  border: 1px solid white;
}

.visit-band {
  padding: 34px 0;
  color: white;
  background: var(--night);
}

.visit-inner {
  gap: 80px;
}

.visit-inner > div {
  gap: 14px;
}

.visit-inner svg {
  width: 27px;
  height: 27px;
  color: #7eb7c2;
}

.visit-inner span {
  display: flex;
  flex-direction: column;
}

.visit-inner small {
  color: #80969a;
  font-size: 11px;
}

.visit-inner strong {
  font-size: 14px;
}

.news-tools {
  display: flex;
  margin-bottom: 38px;
  justify-content: space-between;
  gap: 24px;
}

.category-tabs {
  display: flex;
  gap: 6px;
}

.category-tabs a {
  display: grid;
  min-height: 42px;
  padding: 0 17px;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 4px;
  place-items: center;
}

.category-tabs a.active {
  color: white;
  background: var(--teal);
  border-color: var(--teal);
}

.search-field {
  position: relative;
  display: flex;
  min-width: 320px;
}

.search-field > svg {
  position: absolute;
  top: 13px;
  left: 13px;
  color: #819195;
}

.search-field input {
  width: 100%;
  min-width: 0;
  padding: 0 90px 0 42px;
  border: 1px solid var(--line);
  border-radius: 4px;
  outline: 0;
}

.search-field input:focus {
  border-color: var(--teal);
}

.search-field button {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  padding: 0 18px;
  color: white;
  background: var(--teal);
  border: 0;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
}

.news-list {
  border-top: 1px solid var(--line);
}

.news-list article {
  display: grid;
  padding: 28px 0;
  grid-template-columns: 330px 1fr;
  gap: 36px;
  border-bottom: 1px solid var(--line);
}

.news-list-image {
  align-self: start;
  border-radius: 5px;
}

.news-list-copy {
  padding: 7px 0;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #7b8b8e;
  font-size: 12px;
}

.news-meta span {
  color: var(--teal-dark);
  font-weight: 700;
}

.news-list h2 {
  margin: 13px 0 10px;
  font-size: 24px;
  line-height: 1.45;
}

.news-list p {
  display: -webkit-box;
  max-width: 680px;
  margin-bottom: 18px;
  overflow: hidden;
  color: var(--ink-soft);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 14px;
}

.pagination {
  display: flex;
  margin-top: 38px;
  justify-content: center;
  gap: 7px;
}

.pagination a {
  display: grid;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 4px;
  place-items: center;
}

.pagination a.active {
  color: white;
  background: var(--teal);
  border-color: var(--teal);
}

.pagination a.disabled {
  opacity: 0.35;
  pointer-events: none;
}

.empty-state {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 6px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.empty-state > svg {
  width: 44px;
  height: 44px;
  color: var(--teal);
}

.empty-state h2 {
  margin: 18px 0 6px;
}

.empty-state p {
  color: var(--ink-soft);
}

.article-header {
  padding: 78px 0 62px;
  color: white;
  background: var(--night-2);
}

.article-header-inner {
  max-width: 900px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 42px;
  color: #9fb4b7;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.article-header .news-meta span {
  color: #86c8d3;
}

.article-header h1 {
  margin: 18px 0;
  font-size: clamp(32px, 4.5vw, 54px);
  line-height: 1.32;
}

.article-header p {
  max-width: 780px;
  margin: 0;
  color: #b8c7ca;
  font-size: 17px;
}

.article-content-wrap {
  max-width: 900px;
  padding-top: 56px;
  padding-bottom: 90px;
}

.article-cover {
  width: 100%;
  margin-bottom: 42px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
}

.article-content {
  color: #33494e;
  font-size: 17px;
  line-height: 2;
}

.article-content p { margin: 0 0 1.2em; }
.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5 {
  color: #12275c;
  margin: 1.8em 0 0.8em;
  line-height: 1.4;
}
.article-content h1 { font-size: 1.6em; }
.article-content h2 { font-size: 1.4em; }
.article-content h3 { font-size: 1.2em; }
.article-content h4 { font-size: 1.05em; }
.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 1em 0;
}
.article-content blockquote {
  border-left: 4px solid #d0d9da;
  padding: 8px 16px;
  margin: 1.2em 0;
  color: #5a7378;
  background: #f6f8f8;
}
.article-content ul,
.article-content ol { padding-left: 1.8em; margin: 0 0 1.2em; }
.article-content li { margin: 0.3em 0; }
.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2em 0;
}
.article-content th,
.article-content td {
  border: 1px solid #d0d9da;
  padding: 8px 12px;
  text-align: left;
}
.article-content th { background: #f0f4f4; font-weight: 600; }
.article-content a { color: #1a9f8a; }

.article-inline-images {
  display: grid;
  gap: 24px;
  margin-top: 28px;
}

.article-inline-images img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.article-footer {
  display: flex;
  margin-top: 50px;
  padding-top: 28px;
  justify-content: space-between;
  border-top: 1px solid var(--line);
}

/* Administration */
.admin-body {
  min-height: 100vh;
  background: #f3f6f5;
}

.admin-shell {
  width: min(1320px, calc(100% - 48px));
  margin-inline: auto;
}

.admin-header {
  height: 70px;
  background: white;
  border-bottom: 1px solid var(--line);
}

.admin-header .admin-shell {
  height: 100%;
  justify-content: space-between;
}

.admin-header .brand-mark {
  width: 36px;
  height: 36px;
}

.admin-header .brand-copy strong {
  font-size: 18px;
}

.admin-header nav {
  gap: 18px;
  color: var(--ink-soft);
  font-size: 13px;
}

.admin-header nav > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.admin-header form,
.table-actions form {
  margin: 0;
}

.admin-main {
  min-height: calc(100vh - 70px);
}

.admin-page {
  padding-block: 42px 70px;
}

.admin-titlebar {
  min-height: 70px;
  margin-bottom: 26px;
  justify-content: space-between;
}

.admin-titlebar p {
  margin: 0;
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
}

.admin-titlebar h1 {
  margin: 2px 0 0;
  font-size: 32px;
}

.admin-back {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--ink-soft);
  align-items: center;
  gap: 7px;
  font-size: 13px;
}

.toast-message {
  margin-bottom: 18px;
  padding: 13px 16px;
  color: #285d35;
  background: #e6f3e9;
  border: 1px solid #badabe;
  border-radius: 4px;
  gap: 9px;
  font-size: 14px;
}

.admin-stats {
  display: grid;
  margin-bottom: 22px;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.admin-stats > div {
  min-height: 105px;
  padding: 22px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  gap: 16px;
}

.admin-stats svg {
  width: 26px;
  height: 26px;
  color: var(--teal);
}

.admin-stats span {
  display: flex;
  flex-direction: column;
}

.admin-stats small {
  color: #77888b;
  font-size: 11px;
}

.admin-stats strong {
  font-size: 24px;
  line-height: 1.2;
}

.admin-table-wrap {
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.admin-table-heading {
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}

.admin-table-heading h2 {
  margin: 0;
  font-size: 18px;
}

.admin-table-heading p {
  margin: 3px 0 0;
  color: #75868a;
  font-size: 12px;
}

.table-scroll {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.admin-table th {
  padding: 12px 18px;
  color: #6b7d80;
  background: #f7f9f8;
  font-size: 11px;
  text-align: left;
}

.admin-table td {
  padding: 17px 18px;
  border-top: 1px solid #e8eeec;
  vertical-align: middle;
}

.admin-table tbody tr:first-child td {
  border-top: 0;
}

.table-title {
  display: flex;
  max-width: 540px;
  flex-direction: column;
}

.table-title strong {
  font-size: 14px;
}

.table-title span {
  overflow: hidden;
  color: #78898c;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-table-title {
  display: grid;
  min-width: 360px;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
}

.product-table-title > img {
  width: 72px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--mist);
  border-radius: 3px;
}

.product-table-title > img.contain-image,
.contain-image {
  object-fit: contain;
}

.product-image-preview {
  object-fit: contain;
  background: var(--mist);
}

.category-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  color: #49646a;
  background: #edf2f1;
  border-radius: 20px;
  font-size: 11px;
}

.category-chip i {
  width: 13px;
  height: 13px;
}

.product-row-child {
  background: #f9fbfa;
}

.product-row-child td {
  border-top: 1px solid #eef2f1 !important;
}

.product-row-grandchild {
  background: #f5f8f7;
}

.product-row-grandchild td {
  border-top: 1px solid #e9efee !important;
}

.product-table-title-child {
  padding-left: 8px;
}

.product-table-title-grandchild {
  padding-left: 16px;
}

.child-indent {
  display: inline-flex;
  align-items: center;
  color: #909c9e;
  flex-shrink: 0;
}

.child-indent i {
  width: 16px;
  height: 16px;
}

.child-indent-deep {
  gap: 2px;
}

.child-indent-deep i {
  width: 14px;
  height: 14px;
  opacity: .6;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
}

.status i {
  width: 7px;
  height: 7px;
  background: #909c9e;
  border-radius: 50%;
}

.status.published i {
  background: #4f9b60;
}

.actions-column {
  width: 190px;
}

.table-actions {
  gap: 7px;
}

.table-actions .icon-button {
  width: 34px;
  height: 34px;
  background: white;
}

.icon-button:hover {
  color: var(--teal-dark);
  border-color: var(--teal);
}

.icon-button.danger:hover {
  color: var(--danger);
  border-color: var(--danger);
}

.empty-state.compact {
  min-height: 310px;
  border: 0;
  border-radius: 0;
}

.login-page {
  display: grid;
  min-height: calc(100vh - 70px);
  grid-template-columns: 1.1fr 0.9fr;
}

.login-visual {
  display: flex;
  min-height: 620px;
  padding: 8vw;
  color: white;
  background-color: var(--night-2);
  background-image: linear-gradient(90deg, rgba(11, 27, 69, 0.86), rgba(11, 27, 69, 0.48)),
    url("https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=precision%20scientific%20camera%20and%20fiber%20optic%20instrument%20in%20a%20modern%20dark%20laboratory%2C%20cyan%20indicator%20lights%2C%20realistic%20professional%20photography%2C%20vertical%20composition%2C%20no%20people%2C%20no%20text&image_size=portrait_4_3");
  background-position: center;
  background-size: cover;
  align-items: flex-end;
}

.login-visual h1 {
  margin-bottom: 16px;
  font-size: clamp(34px, 4.5vw, 58px);
  line-height: 1.28;
}

.login-visual p:last-child {
  margin: 0;
  color: #c5d3d5;
}

.login-panel {
  display: grid;
  padding: 60px;
  background: white;
  place-items: center;
}

.admin-form {
  width: min(430px, 100%);
}

.form-heading {
  margin-bottom: 34px;
  gap: 14px;
}

.form-icon {
  display: grid;
  width: 48px;
  height: 48px;
  color: white;
  background: var(--teal);
  border-radius: 5px;
  place-items: center;
}

.form-heading h2 {
  margin: 0;
  font-size: 24px;
}

.form-heading p {
  margin: 2px 0 0;
  color: #718286;
  font-size: 12px;
}

.admin-form label,
.field-group label {
  display: block;
  margin: 17px 0 7px;
  color: #33484d;
  font-size: 13px;
  font-weight: 700;
}

.admin-form input,
.field-group input,
.field-group textarea,
.field-group select {
  width: 100%;
  padding: 11px 13px;
  color: var(--ink);
  background: white;
  border: 1px solid #cfdad8;
  border-radius: 4px;
  outline: 0;
}

.admin-form input:focus,
.field-group input:focus,
.field-group textarea:focus,
.field-group select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(22, 120, 141, 0.09);
}

.input-with-icon {
  position: relative;
}

.input-with-icon svg {
  position: absolute;
  top: 13px;
  left: 13px;
  color: #839296;
}

.input-with-icon input {
  padding-left: 42px;
}

.admin-form .check-control {
  display: flex;
  margin: 20px 0;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  font-weight: 400;
}

.check-control input {
  width: 16px;
  height: 16px;
}

.login-back {
  display: inline-flex;
  width: 100%;
  margin-top: 20px;
  color: #687b7f;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 12px;
}

.validation-summary,
.field-validation-error {
  color: var(--danger);
  font-size: 12px;
}

.validation-summary:empty,
.field-validation-error:empty {
  display: none;
}

.validation-summary ul {
  margin: 0;
  padding: 10px 12px 10px 30px;
  background: #fff0f0;
  border: 1px solid #efc7c7;
  border-radius: 4px;
}

.editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 22px;
  align-items: start;
}

.editor-main,
.editor-sidebar section {
  padding: 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.editor-main .field-group:first-of-type label,
.editor-sidebar .field-group:first-of-type label {
  margin-top: 0;
}

.field-row .field-group label {
  margin-top: 0;
}

.editor-language-tabs {
  display: flex;
  margin: -6px 0 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  gap: 6px;
}

.editor-language-tabs button {
  min-height: 38px;
  padding: 0 16px;
  color: var(--ink-soft);
  background: white;
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.editor-language-tabs button.active {
  color: white;
  background: var(--teal);
  border-color: var(--teal);
}

.translation-note {
  display: flex;
  margin-bottom: 18px;
  padding: 11px 13px;
  color: #49646a;
  background: #eef5f4;
  border: 1px solid #d3e4e1;
  border-radius: 4px;
  align-items: center;
  gap: 9px;
  font-size: 12px;
}

.content-editor {
  min-height: 440px;
  resize: vertical;
  line-height: 1.8;
}

.content-editor-hidden { display: none !important; }

.wang-editor-container {
  border: 1px solid #d0d9da;
  border-radius: 6px;
  overflow: hidden;
}

.field-hint {
  display: block;
  margin-bottom: 8px;
  color: #5a7378;
  font-size: 12px;
}

.editor-sidebar {
  display: grid;
  gap: 16px;
}

.editor-section-heading {
  margin-bottom: 18px;
  justify-content: space-between;
}

.editor-section-heading h2 {
  margin: 0;
  font-size: 16px;
}

.editor-section-heading svg {
  color: #7c8d90;
}

.field-group small {
  display: block;
  margin-top: 5px;
  color: #7b8b8e;
  font-size: 11px;
}

.switch-control {
  position: relative;
  margin-top: 19px;
  gap: 11px;
  cursor: pointer;
}

.switch-control input {
  position: absolute;
  opacity: 0;
}

.switch {
  position: relative;
  width: 38px;
  height: 22px;
  flex: 0 0 auto;
  background: #c6d1cf;
  border-radius: 12px;
  transition: background-color 160ms ease;
}

.switch::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  content: "";
  background: white;
  border-radius: 50%;
  transition: transform 160ms ease;
}

.switch-control input:checked + .switch {
  background: var(--teal);
}

.switch-control input:checked + .switch::after {
  transform: translateX(16px);
}

.switch-control > span:last-child {
  display: flex;
  flex-direction: column;
}

.switch-control strong {
  font-size: 13px;
}

.switch-control small {
  color: #7d8d90;
  font-size: 11px;
}

.file-upload {
  display: flex !important;
  min-height: 104px;
  margin: 0 !important;
  padding: 18px;
  color: var(--ink-soft) !important;
  background: #f7f9f8;
  border: 1px dashed #aec0bd;
  border-radius: 5px;
  align-items: center;
  gap: 13px;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.file-upload:hover,
.file-upload:focus-within {
  background: #eef5f4;
  border-color: var(--teal);
}

.file-upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.file-upload-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  color: white;
  background: var(--teal);
  border-radius: 4px;
  place-items: center;
}

.file-upload-icon svg {
  width: 21px;
  height: 21px;
}

.file-upload > span:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.file-upload strong {
  color: var(--ink);
  font-size: 13px;
}

.file-upload small {
  color: #7b8b8e;
  font-size: 11px;
}

.upload-file-name {
  display: block;
  margin-top: 7px;
  overflow: hidden;
  color: #6d7f82;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cover-preview {
  width: 100%;
  margin-top: 15px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 4px;
}

.gallery-preview,
.existing-gallery > div {
  display: grid;
  margin-top: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.gallery-preview:empty {
  display: none;
}

.gallery-preview img,
.existing-gallery-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
}

.existing-gallery {
  margin-top: 20px;
}

.existing-gallery > p {
  margin-bottom: 0;
  color: #33484d;
  font-size: 13px;
  font-weight: 700;
}

.existing-gallery-item {
  position: relative;
  margin: 0;
}

.existing-gallery-item.removed img {
  opacity: 0.25;
  filter: grayscale(1);
}

.existing-gallery-item .icon-button {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 30px;
  height: 30px;
  color: white;
  background: rgba(12, 26, 30, 0.78);
  border-color: transparent;
}

.existing-gallery-item.removed .icon-button {
  color: var(--ink);
  background: white;
  border-color: var(--line);
}

.editor-actions {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 9px;
}

@media (max-width: 1050px) {
  .site-menu a {
    padding-inline: 10px;
    font-size: 14px;
  }

  .site-menu a::after {
    right: 10px;
    left: 10px;
  }

  .nav-contact {
    display: none;
  }

  .capability-grid {
    gap: 52px;
  }

  .contact-methods {
    grid-template-columns: 1fr;
  }

  .contact-methods > * {
    min-height: 88px;
  }
}

@media (max-width: 820px) {
  .shell,
  .admin-shell {
    width: min(100% - 32px, 680px);
  }

  .utility-bar {
    display: none;
  }

  .main-nav {
    height: 70px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .brand-copy strong {
    font-size: 19px;
  }

  .menu-toggle {
    display: grid;
  }

  .site-menu {
    position: fixed;
    top: 70px;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    padding: 24px;
    overflow-y: auto;
    flex-direction: column;
    background: white;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  }

  .site-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-menu a {
    width: 100%;
    height: 56px;
    flex: 0 0 56px;
    padding: 0;
    border-bottom: 1px solid var(--line);
    place-items: center start;
  }

  .site-menu a::after {
    display: none;
  }

  .site-menu-dropdown {
    width: 100%;
    height: auto;
    flex: 0 0 auto;
  }

  .site-menu-dropdown > a {
    height: 56px;
  }

  .site-submenu {
    position: static;
    min-width: 0;
    padding: 0 0 8px 18px;
    background: #f7f9f8;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .site-menu .site-submenu a {
    min-height: 42px;
    height: 42px;
    padding: 0 14px;
    color: #52666a;
    border-bottom: 1px solid #e4eae9;
    font-size: 13px;
  }

  .mobile-language-switch {
    display: flex;
    width: 100%;
    flex: 0 0 auto;
    margin-top: 20px;
    align-items: center;
    gap: 10px;
  }

  .site-menu .mobile-language-switch a {
    width: auto;
    height: 40px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 4px;
    place-items: center;
  }

  .site-menu .mobile-language-switch a.active-language {
    color: white;
    background: var(--teal);
    border-color: var(--teal);
  }

  .mobile-language-switch span {
    width: 1px;
    height: 22px;
    background: var(--line);
  }

  .hero {
    min-height: clamp(560px, calc(100svh - 120px), 690px);
    background-position: 62% center;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(11, 27, 69, 0.94), rgba(11, 27, 69, 0.55));
  }

  .hero-content {
    padding-block: 58px 90px;
  }

  .hero-stats div {
    min-width: 0;
    padding-inline: 16px;
  }

  .hero-stats dt {
    font-size: 22px;
  }

  .keyword-inner {
    overflow-x: auto;
    gap: 20px;
    white-space: nowrap;
  }

  .keyword-inner a {
    margin-left: 0;
  }

  .section {
    padding: 72px 0;
  }

  .section-heading {
    display: block;
  }

  .section-heading > p,
  .section-heading > a {
    margin-top: 16px;
  }

  .product-grid,
  .news-grid {
    grid-template-columns: 1fr 1fr;
  }

  .product-card-wide {
    grid-column: span 1;
  }

  .capability-grid,
  .about-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .about-grid {
    gap: 60px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: span 2;
  }

  .value-grid,
  .process-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .qualification-grid,
  .product-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-catalog-layout,
  .product-detail-layout {
    grid-template-columns: 1fr;
  }

  .product-category-panel {
    position: static;
  }

  .product-category-title {
    padding-inline: 0;
  }

  .product-category-panel nav {
    display: flex;
    overflow-x: auto;
    padding-bottom: 8px;
    gap: 8px;
  }

  .product-category-panel nav a {
    min-width: max-content;
    min-height: 42px;
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 4px;
  }

  .product-category-panel nav a svg {
    display: none;
  }

  .product-detail-layout {
    gap: 34px;
  }

  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .service-detail-list article {
    grid-template-columns: 40px 120px 1fr;
  }

  .service-detail-list ul,
  .service-detail-list .service-highlights {
    grid-column: 3;
  }

  .quality-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .quality-grid > div,
  .quality-grid > div:first-child {
    padding: 0 0 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    border-left: 0;
  }

  .news-tools {
    flex-direction: column;
  }

  .news-list article {
    grid-template-columns: 240px 1fr;
    gap: 24px;
  }

  .editor-layout {
    grid-template-columns: 1fr;
  }

  .login-page {
    grid-template-columns: 1fr;
  }

  .login-visual {
    display: none;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  .shell,
  .admin-shell {
    width: calc(100% - 28px);
  }

  .brand-copy small {
    display: none;
  }

  .brand-logo {
    width: 132px;
    height: auto;
  }

  .brand-logo-footer {
    width: 150px;
  }

  .brand-logo-admin {
    width: 116px;
  }

  .admin-brand-label {
    display: none;
  }

  .hero {
    min-height: calc(100svh - 112px);
  }

  .hero h1 {
    font-size: 37px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-stats {
    margin-top: 40px;
  }

  .hero-stats div {
    padding-inline: 11px;
  }

  .hero-stats dt {
    font-size: 19px;
  }

  .hero-stats dd {
    font-size: 10px;
  }

  .hero-actions .button {
    flex: 1;
    padding-inline: 12px;
  }

  .hero-actions {
    flex-wrap: wrap;
  }

  .keyword-inner span:nth-of-type(n + 3) {
    display: none;
  }

  .section {
    padding: 58px 0;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .product-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: 340px;
  }

  .capability-section {
    padding: 66px 0;
  }

  .capability-grid {
    gap: 46px;
  }

  .capability-list a {
    grid-template-columns: 32px 1fr 20px;
    gap: 10px;
  }

  .contact-band-inner,
  .contact-band-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .contact-band-actions .button {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom .shell {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-hero {
    min-height: 260px;
  }

  .about-badge {
    right: -6px;
  }

  .about-section-nav {
    overflow-x: auto;
  }

  .about-section-nav .shell {
    width: max-content;
    min-width: 100%;
  }

  .about-section-nav a {
    min-width: 126px;
    padding-inline: 17px;
  }

  .about-profile-logo {
    min-height: 190px;
  }

  .about-facts,
  .qualification-grid,
  .product-catalog-grid {
    grid-template-columns: 1fr;
  }

  .culture-list article {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
  }

  .product-catalog-heading {
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-end;
  }

  .product-detail-hero {
    padding: 30px 0 50px;
  }

  .product-detail-copy h1 {
    font-size: 34px;
  }

  .value-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .value-grid > div,
  .process-list li {
    min-height: 170px;
  }

  .filter-bar,
  .category-tabs {
    overflow-x: auto;
    padding-bottom: 10px;
    white-space: nowrap;
  }

  .catalog-item {
    min-height: 240px;
    padding: 24px 18px;
    grid-template-columns: 28px 1fr 36px;
    gap: 14px;
  }

  .catalog-item > svg {
    display: none;
  }

  .custom-process {
    padding: 64px 0;
  }

  .service-detail-list article {
    grid-template-columns: 32px 96px 1fr;
    gap: 12px;
  }

  .service-image {
    width: 96px;
  }

  .service-detail-list ul,
  .service-detail-list .service-highlights {
    grid-column: 1 / -1;
    padding-left: 140px;
  }

  .contact-methods {
    grid-template-columns: 1fr;
  }

  .address-panel {
    min-height: 360px;
    padding: 38px 28px;
  }

  .visit-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .search-field {
    min-width: 0;
    min-height: 44px;
  }

  .news-list article {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .article-header {
    padding: 50px 0;
  }

  .back-link {
    margin-bottom: 30px;
  }

  .article-content-wrap {
    padding-top: 34px;
  }

  .article-footer {
    flex-direction: column;
    gap: 10px;
  }

  .admin-header nav > span {
    display: none;
  }

  .admin-header nav {
    gap: 5px;
  }

  .admin-header nav > a {
    display: inline-flex;
    width: 32px;
    height: 32px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 4px;
    justify-content: center;
    font-size: 0;
  }

  .admin-header nav > a svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
  }

  .admin-header nav > a[target="_blank"] {
    display: none;
  }

  .admin-page {
    padding-block: 28px 50px;
  }

  .admin-titlebar {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .admin-titlebar .button {
    width: 100%;
  }

  .admin-stats {
    grid-template-columns: 1fr;
  }

  .admin-stats > div {
    min-height: 78px;
  }

  .login-panel {
    padding: 44px 22px;
  }

  .editor-main,
  .editor-sidebar section {
    padding: 20px;
  }

  .editor-actions {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

/* Visit Logs */
.visit-filter-form {
  display: flex;
  gap: 8px;
  align-items: center;
}

.visit-filter-form input {
  width: 200px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 14px;
}

.visit-time {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  font-size: 13px;
}

.visit-path {
  display: inline-block;
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font-mono, "JetBrains Mono", ui-monospace, monospace);
  font-size: 13px;
}

.visit-referer {
  display: inline-block;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  color: var(--muted);
}

.method-chip {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.method-get { background: #e6f4ea; color: #137333; }
.method-post { background: #e8f0fe; color: #174ea6; }
.method-put { background: #fef7e0; color: #b06000; }
.method-delete { background: #fce8e6; color: #c5221f; }

.status-code {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.status-success { background: #e6f4ea; color: #137333; }
.status-redirect { background: #fef7e0; color: #b06000; }
.status-client-error { background: #fce8e6; color: #c5221f; }
.status-server-error { background: #fce8e6; color: #c5221f; }

.text-muted { color: var(--muted); }

.pagination-info {
  display: flex;
  align-items: center;
  padding: 0 16px;
  font-size: 14px;
  color: var(--muted);
  white-space: nowrap;
}

/* Careers */
.careers-list {
  display: grid;
  gap: 24px;
}

.job-card {
  padding: 32px 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.job-card:hover {
  border-color: var(--teal);
  box-shadow: 0 10px 30px rgba(18, 39, 92, 0.08);
}

.job-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 14px;
}

.job-card-title h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  color: var(--ink-soft);
  font-size: 14px;
}

.job-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.job-meta svg {
  width: 16px;
  height: 16px;
  color: var(--teal);
}

.job-summary {
  margin: 0 0 22px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.7;
}

.job-requirements {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.job-requirements pre {
  margin: 8px 0 0;
  white-space: pre-wrap;
  word-wrap: break-word;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

@media (max-width: 768px) {
  .job-card {
    padding: 24px 20px;
  }

  .job-card-head {
    flex-direction: column;
  }
}

/* Admin field row */
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
  margin-top: 17px;
}

@media (max-width: 600px) {
  .field-row {
    grid-template-columns: 1fr;
  }
}
