/* Shared brand tokens. Public and workspace layouts intentionally differ. */
:root {
  --brand: #087fb5;
  --brand-hover: #066b98;
  --sky: #eaf6fc;
  --ink: #173144;
  --muted: #607485;
  --line: #dde7ed;
  --surface: #f5f8fa;
  --radius: 5px;
  --max: 1280px;
  --header-h: 80px;
  --sans: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font: 15px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -0.025em;
}
p {
  color: var(--muted);
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #71c8ed;
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
.shell {
  width: min(var(--max), calc(100% - 96px));
  margin: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.btn,
.admin-btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 20px;
  background: #fff;
  color: var(--ink);
  border: 1px solid #cad8e1;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.btn:hover,
.admin-btn:hover {
  background: #eef6fa;
  border-color: #90b8cc;
}
.btn.primary,
.admin-btn.primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.btn.primary:hover,
.admin-btn.primary:hover {
  background: var(--brand-hover);
}
.btn:active,
.admin-btn:active {
  transform: translateY(1px);
}
.text-link,
.text-button {
  color: var(--brand);
  font-size: 14px;
  font-weight: 500;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.text-link::after {
  content: "\2192";
  font-size: 20px;
}
.text-link:hover {
  color: var(--brand-hover);
}
.text-button {
  background: none;
  border: 0;
  padding: 4px 0;
}
.text-button:hover {
  text-decoration: underline;
}
/* Public navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.topbar {
  display: none;
}
.nav {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand img {
  width: 44px;
  height: 48px;
  object-fit: contain;
  background: transparent;
}
.brand-copy {
  display: grid;
  line-height: 1.3;
}
.brand-copy strong {
  font-size: 21px;
  color: #15516d;
  letter-spacing: 0.035em;
}
.brand-copy span {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-top: 5px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-left: auto;
  font-size: 14px;
}
.nav-links a {
  position: relative;
  padding: 28px 0;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a[aria-current] {
  color: var(--brand);
}
.nav-links a[aria-current]::after {
  content: "";
  height: 2px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--brand);
}
.nav-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.lang-btn,
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
  font-size: 12px;
}
.lang-btn {
  border: 0;
}
.nav-cta {
  font-size: 13px;
  min-height: 38px;
  padding: 8px 17px;
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.menu-btn {
  display: none;
}
.mobile-menu {
  display: none;
}
/* Company presentation */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
  background: #f1f8fc;
  overflow: hidden;
}
.hero-media {
  grid-column: 2;
  grid-row: 1;
  min-height: 560px;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-copy {
  grid-column: 1;
  grid-row: 1;
  width: auto;
  max-width: 660px;
  align-self: center;
  padding: 60px 44px 60px max(48px, calc((100vw - var(--max)) / 2));
  margin: 0;
}
.eyebrow {
  font-size: 14px;
  color: var(--brand);
  letter-spacing: 0.05em;
  margin-bottom: 22px;
}
h1 {
  font-size: clamp(34px, 3.35vw, 52px);
  margin-bottom: 24px;
  line-height: 1.38;
}
h1 span {
  display: block;
  color: var(--brand);
}
.lede {
  font-size: 16px;
  line-height: 1.95;
  margin-bottom: 30px;
  max-width: 540px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero .btn {
  min-height: 46px;
  padding: 10px 24px;
}
.english .hero h1 {
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.2;
}
.stats-band {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-block: 26px;
}
.stats-grid article {
  padding: 4px 32px;
  border-right: 1px solid var(--line);
}
.stats-grid article:first-child {
  padding-left: 0;
}
.stats-grid article:last-child {
  border: 0;
}
.stats-grid b {
  font-size: 26px;
  line-height: 1.4;
  font-weight: 500;
  color: var(--brand);
}
.stats-grid span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}
.section {
  padding-block: 88px;
}
.section-kicker {
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--brand);
}
.section-kicker span {
  display: none;
}
.section-kicker em {
  font-style: normal;
}
.section-head {
  max-width: 780px;
  margin-bottom: 40px;
}
.section-head h2,
.workflow-copy h2 {
  font-size: clamp(27px, 2.6vw, 38px);
  margin-bottom: 17px;
}
.section-head p {
  font-size: 16px;
  line-height: 1.9;
  margin: 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  margin: 40px 0;
}
.about-intro {
  font-size: 23px;
  line-height: 1.8;
}
.about-copy {
  color: var(--muted);
  line-height: 2;
}
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  gap: 32px;
  padding-top: 28px;
}
.principle b,
.principle span {
  display: block;
}
.principle b {
  font-size: 16px;
  margin-bottom: 6px;
}
.principle span {
  font-size: 14px;
  color: var(--muted);
}
.dark-stage {
  background: var(--surface);
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px;
}
.service {
  border-top: 2px solid #b9dce9;
  padding-top: 20px;
}
.service .number {
  color: var(--brand);
  font-size: 13px;
}
.service h3 {
  font-size: 18px;
  margin: 22px 0 12px;
  min-height: 50px;
}
.service p {
  font-size: 14px;
  line-height: 1.9;
  margin: 0;
}
.solution-list {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 28px;
}
.solution {
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}
.solution:first-child {
  grid-row: span 2;
}
.solution-image {
  aspect-ratio: 2.3;
  overflow: hidden;
  background: var(--sky);
}
.solution:first-child .solution-image {
  aspect-ratio: 1.5;
}
.solution-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.solution-copy {
  padding: 26px 30px;
}
.solution-copy > span {
  display: none;
}
.solution-copy h3 {
  font-size: 22px;
  margin: 0 0 12px;
}
.solution-copy p {
  font-size: 14px;
  line-height: 1.85;
  margin-bottom: 15px;
}
.solution-copy b {
  font-size: 12px;
  font-weight: 500;
  color: var(--brand);
}
.solution:not(:first-child) {
  display: grid;
  grid-template-columns: 36% 1fr;
}
.solution:not(:first-child) .solution-image {
  aspect-ratio: auto;
}
.solution:not(:first-child) .solution-copy {
  padding: 25px;
}
.solution:not(:first-child) .solution-copy h3 {
  font-size: 19px;
}
.catalog-tools {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 30px;
}
.catalog-search {
  width: min(420px, 100%);
  padding: 12px 15px;
  background: #fff;
  color: var(--ink);
  border: 1px solid #c8d8e2;
  border-radius: var(--radius);
}
.catalog-count {
  font-size: 13px;
  color: var(--muted);
}
.product-layout {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 34px;
}
.filter-list {
  display: grid;
  align-content: start;
  position: sticky;
  top: 105px;
  gap: 5px;
  height: fit-content;
}
.filter {
  padding: 12px 14px;
  border: 0;
  border-radius: 4px;
  background: none;
  color: var(--muted);
  text-align: left;
  font-size: 14px;
}
.filter:hover,
.filter.active {
  color: var(--brand);
  background: var(--sky);
}
.filter.active {
  font-weight: 600;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px 24px;
}
.product {
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
  min-width: 0;
}
.product-media {
  height: 210px;
  background: var(--surface);
  overflow: hidden;
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
}
.product-body {
  padding: 22px 0 0;
}
.tag {
  font-size: 12px;
  color: var(--brand);
}
.product h3 {
  font-size: 18px;
  margin: 9px 0 10px;
}
.product p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 18px;
  min-height: 76px;
}
.industry-section {
  background: #f0f8fc;
}
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 40px;
}
.industry-item {
  padding: 28px 0;
  border-top: 1px solid #cee2ec;
}
.industry-item h3 {
  font-size: 20px;
  margin-bottom: 10px;
}
.industry-item p {
  font-size: 14px;
  margin: 0;
}
.case-section {
  background: #fff;
}
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.case {
  background: var(--surface);
  min-width: 0;
}
.case > img {
  width: 100%;
  aspect-ratio: 1.5;
  object-fit: cover;
}
.case-copy {
  padding: 26px;
}
.case-copy h3 {
  font-size: 21px;
  margin: 10px 0;
}
.case-copy p {
  font-size: 14px;
  line-height: 1.85;
}
.metric {
  display: block;
  font-size: 13px;
  color: var(--brand);
  border-top: 1px solid var(--line);
  padding-top: 15px;
}
.workflow-section {
  background: var(--surface);
}
.workflow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.workflow-art {
  position: relative;
  aspect-ratio: 1;
  background: url("/media/image79.jpeg") center/cover;
}
.workflow-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  padding: 16px 20px;
  font-size: 15px;
  border: 1px solid var(--line);
}
.steps {
  margin-top: 28px;
}
.step {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 16px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.step-number {
  font-size: 13px;
  color: var(--brand);
  padding-top: 3px;
}
.step h3 {
  font-size: 17px;
  margin-bottom: 6px;
}
.step p {
  font-size: 14px;
  margin: 0;
}
.contact-section {
  background: #eaf5fb;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 70px;
  align-items: start;
}
.contact-details {
  padding-top: 8px;
}
.contact-item {
  padding: 21px 0;
  border-bottom: 1px solid #cbdfe9;
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 20px;
  font-size: 15px;
  overflow-wrap: anywhere;
}
.contact-item b {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}
.contact-item a:hover {
  color: var(--brand);
}
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  background: #fff;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.field {
  display: grid;
  gap: 8px;
  min-width: 0;
}
.field label {
  font-size: 13px;
  font-weight: 500;
  color: #3e5465;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  min-width: 0;
  padding: 11px 13px;
  border: 1px solid #cbd8e1;
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
}
.field textarea {
  min-height: 110px;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #6c7c8c;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--brand);
}
.field.full,
.form-status {
  grid-column: 1/-1;
}
.form-status {
  font-size: 13px;
  color: var(--brand);
}
.form-status:empty {
  display: none;
}
.form-status.error {
  color: #ba3540;
}
.contact-form .btn {
  justify-self: start;
}
footer {
  background: #fff;
  padding: 60px 0 22px;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 42px;
}
.footer-main > div {
  display: grid;
  align-content: start;
  gap: 10px;
}
.footer-main b {
  font-size: 14px;
  margin-bottom: 8px;
}
.footer-main a,
.footer-main span,
.footer-main p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.footer-main .footer-brand {
  font-size: 23px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.footer-main a:hover {
  color: var(--brand);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  font-size: 12px;
  color: var(--muted);
}
.reveal {
  opacity: 1;
  transform: none;
}
.empty-products {
  grid-column: 1/-1;
  padding: 60px 20px;
  text-align: center;
  background: var(--surface);
  color: var(--muted);
}
/* Administration: predictable density, persistent navigation and clear actions. */
.admin-page {
  background: #f3f6f9;
  font-size: 14px;
}
.admin-shell {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  min-height: 100dvh;
}
.admin-side {
  position: sticky;
  top: 0;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 28px 16px 16px;
  background: #fff;
  border-right: 1px solid var(--line);
  z-index: 30;
}
.admin-brand {
  margin: 0 10px 28px;
}
.admin-brand .brand-copy strong {
  font-size: 18px;
}
.admin-brand .brand-copy span {
  font-size: 11px;
  letter-spacing: 0;
}
.admin-brand img {
  width: 34px;
  height: 40px;
}
.admin-side nav {
  overflow-y: auto;
  flex: 1;
  min-height: 0;
  display: block;
}
.nav-group {
  font-size: 11px;
  color: #758694;
  letter-spacing: 0.06em;
  margin: 22px 14px 9px;
}
.nav-group:first-child {
  margin-top: 0;
}
.admin-side nav button {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  width: 100%;
  padding: 11px 13px;
  margin: 3px 0;
  color: #526777;
  background: none;
  border: 0;
  border-radius: 5px;
  text-align: left;
  font-size: 14px;
}
.admin-side nav button:hover {
  background: #f3f7fa;
}
.admin-side nav button.active {
  color: var(--brand);
  background: #eaf5fc;
  font-weight: 600;
}
.admin-side nav button i {
  font-style: normal;
  font-size: 11px;
  background: #d8ecf8;
  padding: 0 6px;
  border-radius: 3px;
  margin-left: auto;
}
.nav-symbol {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 15px;
  opacity: 0.8;
}
.admin-side-foot {
  padding: 20px 10px 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 15px;
}
.admin-side-foot a,
.admin-side-foot button {
  border: 0;
  background: none;
  padding: 0;
  font-size: 12px;
  color: var(--muted);
}
.admin-side-foot a:hover,
.admin-side-foot button:hover {
  color: var(--brand);
}
.admin-main {
  min-width: 0;
  padding: 0 36px 48px;
  width: 100%;
  max-width: 1600px;
  margin-inline: auto;
}
.admin-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}
.admin-top p {
  font-size: 12px;
  margin: 0 0 6px;
  color: var(--muted);
}
.admin-top h1 {
  font-size: 25px;
  line-height: 1.3;
  margin: 0;
  letter-spacing: -0.02em;
}
.admin-top-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}
.account-chip {
  border-left: 1px solid var(--line);
  padding-left: 16px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  color: var(--muted);
}
.account-chip b {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  background: #e0eef7;
  border-radius: 50%;
  color: var(--brand);
  font-weight: 600;
}
.admin-menu-toggle {
  display: none;
}
.admin-content {
  min-width: 0;
}
.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.admin-toolbar p {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
}
.admin-btn {
  font-size: 13px;
  min-height: 36px;
  padding: 7px 15px;
}
.admin-btn.danger {
  color: #b84147;
  border-color: #e8cbd0;
  background: #fff;
}
.admin-btn.danger:hover {
  background: #fff0f1;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 26px;
}
.stat {
  min-width: 0;
  position: relative;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 23px 24px;
  color: var(--ink);
}
.stat:hover {
  border-color: #8abbd4;
}
.stat b {
  display: block;
  font-size: 32px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1.4;
  margin-bottom: 7px;
}
.stat span {
  font-size: 13px;
  color: var(--muted);
}
.stat::after {
  content: "\2197";
  position: absolute;
  right: 20px;
  top: 24px;
  color: #88a6b7;
}
.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.85fr);
  gap: 24px;
  align-items: start;
}
.overview-grid > section,
.content-group {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 24px;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.panel-head h2 {
  font-size: 16px;
  margin: 0;
}
.health-list {
  display: grid;
}
.health-list button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  text-align: left;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid #edf1f4;
  background: none;
}
.health-list button:last-child {
  border: 0;
}
.health-list button span {
  display: grid;
  gap: 4px;
}
.health-list b {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}
.health-list small {
  font-size: 12px;
  color: var(--muted);
}
.health-list i {
  font-size: 11px;
  font-style: normal;
  color: var(--brand);
  background: var(--sky);
  padding: 2px 7px;
  border-radius: 3px;
}
.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.overview-note {
  margin-top: 22px;
  font-size: 12px;
  color: var(--muted);
}
.empty {
  text-align: center;
  padding: 46px 22px;
  background: #f8fafc;
  border: 1px dashed #d5e0e8;
  border-radius: 5px;
  color: var(--muted);
}
.empty b {
  display: block;
  margin-bottom: 8px;
  color: #425c6f;
  font-size: 15px;
  font-weight: 500;
}
.empty p {
  font-size: 13px;
  margin: 0;
}
.content-groups {
  display: grid;
  gap: 20px;
}
.content-group h3 {
  font-size: 15px;
  margin: 0 0 24px;
}
.settings-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
}
.admin-content .field.full {
  grid-column: auto;
}
.admin-content .field textarea {
  min-height: 120px;
}
.editor-tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
  overflow-x: auto;
}
.editor-tabs button {
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  padding: 13px 2px;
  white-space: nowrap;
  font-size: 14px;
  color: var(--muted);
}
.editor-tabs button.active {
  border-color: var(--brand);
  color: var(--brand);
  font-weight: 600;
}
.sticky-save {
  position: sticky;
  bottom: 0;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
  padding: 14px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 5px;
}
.sticky-save span {
  font-size: 12px;
  color: var(--muted);
}
.capability-editor {
  display: grid;
  gap: 20px;
  margin-bottom: 22px;
}
.capability-editor article {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 20px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.capability-editor article > span {
  font-size: 13px;
  color: var(--brand);
  padding-top: 3px;
}
.collection-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.collection-tools input {
  min-width: 0;
  width: 320px;
  padding: 10px 13px;
  border: 1px solid #cbd8e1;
  border-radius: 4px;
  background: #fff;
}
.collection-tools span {
  font-size: 12px;
  color: var(--muted);
}
.content-table {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.content-table-head,
.content-table article {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.85fr) 150px;
  gap: 24px;
  align-items: center;
  padding: 17px 22px;
  border-bottom: 1px solid #edf1f4;
}
.content-table-head {
  background: #f8fafc;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  padding-block: 12px;
}
.content-table article:last-child {
  border: 0;
}
.content-table article:hover {
  background: #fcfdff;
}
.content-identity {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.content-identity img,
.content-placeholder {
  width: 64px;
  height: 54px;
  object-fit: contain;
  flex: 0 0 64px;
  background: #f3f7fa;
  border-radius: 4px;
  padding: 4px;
}
.content-placeholder {
  display: none;
}
.content-identity > span:last-child {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.content-identity b {
  font-size: 14px;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.content-identity small {
  font-size: 12px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.content-table article > div > b {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}
.admin-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.content-table .admin-btn {
  padding: 5px 11px;
  min-height: 32px;
}
.inquiry-list {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: auto;
}
.inquiry-list article {
  display: grid;
  grid-template-columns: 68px minmax(85px, 0.8fr) minmax(140px, 1.1fr) minmax(
      100px,
      1.2fr
    ) 125px;
  gap: 18px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.inquiry-list article:last-child {
  border: 0;
}
.inquiry-list article > div {
  display: grid;
  gap: 5px;
}
.inquiry-list b,
.inquiry-list a {
  font-size: 13px;
  overflow-wrap: anywhere;
}
.inquiry-list small,
.inquiry-list time {
  font-size: 11px;
  color: var(--muted);
}
.inquiry-list p {
  font-size: 13px;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.inquiry-meta {
  justify-items: end;
}
.overview-grid .inquiry-list article {
  grid-template-columns: 66px 1fr auto;
}
.overview-grid .inquiry-list article > div:nth-child(3),
.overview-grid .inquiry-list article > p {
  display: none;
}
.status {
  font-size: 11px;
  width: fit-content;
  white-space: nowrap;
  padding: 3px 7px;
  border-radius: 3px;
  color: #086b9c;
  background: #e8f3fb;
}
.status.inProgress {
  color: #90630d;
  background: #fff5de;
}
.status.handled {
  color: #35745b;
  background: #edf7f1;
}
.filter-tabs {
  display: flex;
  gap: 3px;
  padding: 4px;
  background: #e8eef3;
  border-radius: 5px;
}
.filter-tabs button {
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 12px;
  padding: 7px 12px;
  border-radius: 3px;
  white-space: nowrap;
}
.filter-tabs button.active {
  background: #fff;
  color: var(--brand);
}
.upload-button {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.upload-button input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
}
.upload-status {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
}
.media-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.media-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.media-grid article > img {
  width: 100%;
  aspect-ratio: 1.45;
  object-fit: contain;
  padding: 12px;
  background: #f7fafc;
}
.media-grid article > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 14px;
  align-items: center;
}
.media-grid b {
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.media-grid span {
  font-size: 11px;
  color: var(--muted);
}
.media-grid .admin-btn {
  grid-column: 1/-1;
  margin-top: 4px;
}
.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 42, 58, 0.38);
}
.modal-panel {
  position: relative;
  width: min(820px, 100%);
  max-height: calc(100dvh - 48px);
  overflow: auto;
  background: #fff;
  border-radius: 8px;
  padding: 28px 32px;
  box-shadow: 0 16px 48px #15334826;
}
.modal-panel > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
  margin-bottom: 24px;
}
.modal-panel > header h2 {
  font-size: 20px;
  margin: 0;
}
.modal-panel > header button {
  background: #f4f7fa;
  border: 0;
  border-radius: 4px;
  width: 32px;
  height: 32px;
  font-size: 22px;
  color: var(--muted);
}
.modal-panel .field.full {
  grid-column: auto;
}
.modal-panel .image-field {
  grid-column: 1/-1;
}
.modal-actions {
  position: sticky;
  bottom: -28px;
  background: #fff;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  padding-top: 20px;
  padding-bottom: 5px;
  margin-top: 24px;
  border-top: 1px solid var(--line);
}
.image-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}
.image-field [data-image-preview] {
  width: 130px;
  height: 90px;
  object-fit: contain;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 5px;
}
.image-field [src=""] {
  display: none;
}
.check-field {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.inquiry-detail dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 0 0 22px;
}
.inquiry-detail dl > div {
  padding: 15px;
  background: #f6f9fb;
  border-radius: 4px;
}
.inquiry-detail dt {
  font-size: 12px;
  color: var(--muted);
}
.inquiry-detail dd {
  margin: 7px 0 0;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.message-box {
  padding: 18px;
  border: 1px solid var(--line);
  margin-bottom: 20px;
  border-radius: 4px;
}
.message-box p {
  white-space: pre-wrap;
  margin: 10px 0 0;
}
.inquiry-detail form > .field {
  margin-bottom: 18px;
}
.toast {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 200;
  max-width: calc(100% - 40px);
  padding: 14px 22px;
  color: #fff;
  background: #174760;
  border-radius: 5px;
  box-shadow: 0 5px 20px #17314424;
  font-size: 14px;
}
.toast.error {
  background: #aa343e;
}
.admin-login {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  background: #fff;
}
.login-visual {
  position: relative;
  background: #e4f1f8;
  overflow: hidden;
  min-height: 100dvh;
}
.login-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.login-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #113b57d9, transparent 80%);
}
.login-visual-copy {
  position: absolute;
  z-index: 1;
  bottom: 65px;
  left: 55px;
  right: 55px;
  color: #fff;
}
.login-visual-copy p {
  color: #d6ecf7;
  font-size: 14px;
  margin-bottom: 18px;
}
.login-visual-copy h2 {
  font-size: 36px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0;
  margin: 0;
}
.login-box {
  width: min(460px, 100%);
  align-self: center;
  justify-self: center;
  padding: 52px 40px;
}
.login-box > img {
  width: 50px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 34px;
}
.admin-kicker {
  color: var(--brand);
  font-size: 13px;
  margin-bottom: 10px;
}
.login-box h1 {
  font-size: 30px;
  margin-bottom: 12px;
}
.login-box > p:not(.admin-kicker) {
  font-size: 13px;
  margin-bottom: 30px;
  line-height: 1.85;
}
.login-box .field {
  margin-bottom: 20px;
}
.login-box .field input {
  height: 46px;
}
.login-box .btn {
  width: 100%;
  margin-top: 14px;
  min-height: 46px;
}
.login-back {
  display: block;
  text-align: center;
  margin-top: 24px;
  font-size: 13px;
  color: var(--muted);
}
.password-row {
  position: relative;
}
.password-row input {
  padding-right: 62px;
}
.password-toggle {
  position: absolute;
  right: 8px;
  top: 7px;
  background: none;
  border: 0;
  color: var(--brand);
  padding: 5px;
  font-size: 12px;
}
.admin-mobile-backdrop {
  display: none;
}
@media (min-width: 1500px) {
  .hero-copy {
    padding-right: 60px;
  }
  .hero {
    min-height: 610px;
  }
  .hero-media {
    min-height: 610px;
  }
}
@media (max-width: 1200px) {
  .nav-links {
    gap: 15px;
    font-size: 13px;
  }
  .nav {
    gap: 18px;
  }
  .nav-cta {
    display: none;
  }
  .service-grid {
    gap: 18px;
  }
  .admin-main {
    padding-inline: 24px;
  }
  .admin-shell {
    grid-template-columns: 215px minmax(0, 1fr);
  }
  .media-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .inquiry-list article {
    min-width: 760px;
  }
  .overview-grid .inquiry-list article {
    min-width: 0;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 1000px) {
  .shell {
    width: calc(100% - 48px);
  }
  .nav-links {
    display: none;
  }
  .menu-btn {
    display: inline-flex;
  }
  .mobile-menu.open {
    display: grid;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px 24px;
    border-bottom: 1px solid var(--line);
    max-height: calc(100dvh - 80px);
    overflow: auto;
    box-shadow: 0 12px 20px #1731440d;
  }
  .mobile-menu nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 24px;
    margin-bottom: 18px;
  }
  .mobile-menu nav a {
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
  }
  .hero-copy {
    padding: 44px 28px 44px 24px;
  }
  .hero,
  .hero-media {
    min-height: 490px;
  }
  .hero h1 {
    font-size: 34px;
  }
  .solution-list {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .solution:first-child {
    grid-row: auto;
    display: grid;
    grid-template-columns: 40% 1fr;
  }
  .solution:first-child .solution-image {
    aspect-ratio: auto;
  }
  .solution:not(:first-child) {
    grid-template-columns: 40% 1fr;
  }
  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
  }
  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .case-grid {
    gap: 18px;
  }
  .case-copy {
    padding: 20px;
  }
  .case-copy h3 {
    font-size: 18px;
  }
  .workflow,
  .contact-grid {
    gap: 36px;
  }
  .overview-grid {
    grid-template-columns: 1fr;
  }
  .stats {
    gap: 12px;
  }
  .stat {
    padding: 18px;
  }
  .admin-top-actions .account-chip {
    display: none;
  }
  .content-table-head,
  .content-table article {
    gap: 16px;
    padding-inline: 16px;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr) 132px;
  }
  .media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  :root {
    --header-h: 68px;
  }
  .shell {
    width: calc(100% - 40px);
  }
  html {
    scroll-padding-top: 88px;
  }
  .nav {
    height: 68px;
  }
  .brand img {
    width: 32px;
    height: 39px;
  }
  .brand-copy strong {
    font-size: 18px;
  }
  .brand-copy span {
    font-size: 9px;
  }
  .nav-actions {
    gap: 6px;
  }
  .mobile-menu.open {
    top: 68px;
    max-height: calc(100dvh - 68px);
    padding: 16px 20px;
  }
  .hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .hero-copy {
    order: 0;
    padding: 40px 20px;
    width: 100%;
    max-width: none;
  }
  .hero h1 {
    font-size: clamp(27px, 6.4vw, 38px);
    line-height: 1.45;
    margin-bottom: 18px;
  }
  .english .hero h1 {
    font-size: 34px;
  }
  .hero-media {
    order: 1;
    min-height: 0;
    height: 260px;
    width: 100%;
  }
  .hero-media img {
    object-position: center 45%;
  }
  .eyebrow {
    font-size: 12px;
    margin-bottom: 15px;
  }
  .lede {
    font-size: 14px;
    margin-bottom: 24px;
  }
  .hero .btn {
    font-size: 13px;
    padding-inline: 18px;
    min-height: 43px;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    padding-block: 12px;
  }
  .stats-grid article,
  .stats-grid article:first-child {
    padding: 16px;
  }
  .stats-grid article:nth-child(even) {
    border: 0;
  }
  .stats-grid b {
    font-size: 23px;
  }
  .stats-grid span {
    font-size: 12px;
  }
  .section {
    padding-block: 58px;
  }
  .section-head {
    margin-bottom: 30px;
  }
  .section-head h2,
  .workflow-copy h2 {
    font-size: 27px;
  }
  .section-head p {
    font-size: 14px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-block: 28px;
  }
  .about-intro {
    font-size: 20px;
  }
  .about-copy {
    font-size: 14px;
  }
  .principles {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .service-grid {
    grid-template-columns: 1fr 1fr;
    gap: 26px 22px;
  }
  .service h3 {
    font-size: 17px;
    min-height: 0;
    margin-top: 16px;
  }
  .service p {
    font-size: 13px;
  }
  .solution:first-child,
  .solution:not(:first-child) {
    display: block;
  }
  .solution-image,
  .solution:first-child .solution-image {
    aspect-ratio: 1.9;
  }
  .solution-copy,
  .solution:not(:first-child) .solution-copy {
    padding: 23px;
  }
  .solution-copy h3 {
    font-size: 21px;
  }
  .product-layout {
    display: block;
  }
  .filter-list {
    display: flex;
    gap: 6px;
    overflow: auto;
    position: static;
    margin-bottom: 24px;
    padding-bottom: 8px;
  }
  .filter {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 9px 12px;
    font-size: 13px;
  }
  .product-grid {
    gap: 26px 18px;
  }
  .product-media {
    height: 170px;
  }
  .product-media img {
    padding: 12px;
  }
  .product h3 {
    font-size: 16px;
  }
  .product p {
    font-size: 13px;
    min-height: 0;
  }
  .product .text-link {
    font-size: 12px;
  }
  .catalog-tools {
    gap: 12px;
    margin-bottom: 18px;
  }
  .catalog-count {
    white-space: nowrap;
    font-size: 12px;
  }
  .catalog-search {
    font-size: 13px;
  }
  .industry-grid {
    gap: 0 24px;
  }
  .industry-item h3 {
    font-size: 18px;
  }
  .case-grid {
    grid-template-columns: 1fr;
  }
  .case > img {
    aspect-ratio: 1.8;
  }
  .case-copy {
    padding: 24px;
  }
  .workflow,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .workflow-art {
    aspect-ratio: 1.4;
  }
  .contact-form {
    padding: 23px;
    gap: 16px;
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 30px 24px;
  }
  .footer-main > div:first-child {
    grid-column: 1/-1;
  }
  .footer-bottom {
    flex-direction: column;
    font-size: 11px;
    gap: 8px;
  }
  .admin-shell {
    display: block;
  }
  .admin-side {
    position: fixed;
    left: 0;
    top: 0;
    width: 240px;
    transform: translateX(-100%);
    transition: transform 0.2s;
  }
  .admin-shell.menu-open .admin-side {
    transform: none;
  }
  .admin-shell.menu-open .admin-mobile-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 25;
    border: 0;
    background: #15314466;
  }
  .admin-main {
    padding: 0 18px 32px;
  }
  .admin-top {
    padding-block: 20px;
    gap: 12px;
    margin-bottom: 22px;
  }
  .admin-top > div:first-child {
    flex: 1;
  }
  .admin-top h1 {
    font-size: 21px;
  }
  .admin-top p {
    font-size: 10px;
  }
  .admin-menu-toggle {
    display: inline-flex;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 4px;
    color: var(--brand);
  }
  .admin-top-actions {
    gap: 0;
  }
  .admin-top-actions .admin-btn {
    font-size: 11px;
    min-height: 32px;
    padding: 5px 9px;
  }
  .admin-toolbar {
    align-items: flex-start;
    gap: 14px;
  }
  .admin-toolbar p {
    font-size: 12px;
    max-width: 68%;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .stat b {
    font-size: 28px;
  }
  .overview-grid > section,
  .content-group {
    padding: 20px;
  }
  .settings-form {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .capability-editor article {
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 14px;
    padding: 20px;
  }
  .capability-editor article > .admin-btn {
    grid-column: 2;
    justify-self: start;
  }
  .content-table {
    overflow: auto;
  }
  .content-table-head,
  .content-table article {
    min-width: 620px;
  }
  .collection-tools input {
    width: 65%;
  }
  .collection-tools span {
    font-size: 11px;
  }
  .filter-tabs {
    overflow: auto;
    max-width: 100%;
    gap: 0;
  }
  .admin-toolbar:has(.filter-tabs) {
    flex-direction: column;
  }
  .admin-toolbar:has(.filter-tabs) p {
    max-width: 100%;
  }
  .media-grid {
    gap: 12px;
  }
  .media-grid article > div {
    padding: 10px;
  }
  .media-grid span {
    font-size: 10px;
  }
  .media-grid b {
    font-size: 11px;
  }
  .modal-panel {
    padding: 22px 20px;
    max-height: calc(100dvh - 24px);
    border-radius: 6px;
  }
  .admin-modal {
    padding: 12px;
  }
  .modal-panel .settings-form {
    grid-template-columns: 1fr;
  }
  .modal-panel .field.full {
    grid-column: 1/-1;
  }
  .modal-actions {
    bottom: -22px;
  }
  .inquiry-detail dl {
    grid-template-columns: 1fr;
  }
  .admin-login {
    grid-template-columns: 1fr;
    min-height: 100dvh;
    background: #f4f8fb;
  }
  .login-visual {
    display: none;
  }
  .login-box {
    background: #fff;
    padding: 40px 30px;
    margin: 32px 20px;
    max-width: calc(100% - 40px);
    border: 1px solid var(--line);
    border-radius: 8px;
  }
  .login-box h1 {
    font-size: 28px;
  }
  .sticky-save {
    padding: 12px;
  }
  .sticky-save span {
    font-size: 11px;
  }
  .editor-tabs {
    gap: 20px;
  }
  .editor-tabs button {
    font-size: 13px;
  }
}
@media (min-width: 761px) {
  .admin-side {
    padding-top: 22px;
  }
  .admin-brand {
    margin-bottom: 22px;
  }
  .admin-side nav button {
    padding-block: 8px;
  }
  .nav-group {
    margin-top: 16px;
  }
  .admin-side nav {
    scrollbar-width: thin;
  }
}
@media (max-width: 760px) {
  .admin-side {
    visibility: hidden;
  }
  .admin-shell.menu-open .admin-side {
    visibility: visible;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* On phones, each record keeps its actions visible without horizontal scrolling. */
.media-pagination { margin-top: 24px; }
@media (max-width: 760px) {
  .content-table-head { display: none; }
  .content-table article { min-width: 0; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; padding: 20px 16px; }
  .content-table .content-identity { grid-column: 1 / -1; }
  .content-table .admin-actions { flex-wrap: nowrap; }
  .inquiry-list article { min-width: 0; grid-template-columns: 70px minmax(0, 1fr); gap: 12px; }
  .inquiry-list article > div:nth-child(3), .inquiry-list article > p, .inquiry-list .inquiry-meta { grid-column: 1 / -1; }
  .inquiry-list .inquiry-meta { display: flex; align-items: center; justify-content: space-between; }
}
