/* Technical specification table.
   All wording is selectable HTML text; the blue title band, diagonal header,
   borders, shading and product-photo placement are rebuilt with CSS only.
   Sizes use container units so the layout keeps the original image proportions. */

.ocr-spec-scroll {
  width: 100%;
  margin: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.ocr-spec-inner {
  width: 100%;
  min-width: 900px;
  container-type: inline-size;
}
.ocr-spec-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  color: #222;
  background: #fff;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: clamp(11px, 1.26cqw, 25px);
  font-weight: 400;
  line-height: 1.35;
  user-select: text;
  -webkit-user-select: text;
  opacity: 1 !important;
  transform: none !important;
}
.ocr-spec-table * { box-sizing: border-box; }
.ocr-spec-table caption {
  caption-side: top;
  padding: 2cqw 0;
  border: 0;
  color: #fff;
  background: #3a6db5;
  font-size: 1.94cqw;
  font-weight: 400;
  letter-spacing: .08em;
  text-align: center;
  user-select: text;
}
.ocr-spec-table col.c-label { width: 17.7%; }
.ocr-spec-table col.c-a { width: 41.2%; }
.ocr-spec-table col.c-b { width: 41.1%; }
.ocr-spec-table th,
.ocr-spec-table td {
  position: relative;
  border: max(1px, .09cqw) solid #3b3b3b;
  padding: .55cqw .9cqw;
  text-align: left;
  vertical-align: middle;
  font-weight: 400;
  overflow-wrap: anywhere;
}
.ocr-spec-table tbody tr { height: 2.86cqw; }
.ocr-spec-table tbody tr.tall { height: 5.71cqw; }
.ocr-spec-table tbody th { background: #f3f0e9; color: #4a4a4a; }
.ocr-spec-table thead th {
  height: 8.2cqw;
  padding: 0;
  background: #e9e9e9;
  color: #333;
}
/* Original raster: the white divider runs from the TOP-LEFT corner to the
   BOTTOM-RIGHT corner (about 24.9deg), with "Model" above and "Parameter"
   below it. The corner cell is 17.7cqw wide x 8.2cqw high, so its diagonal
   is sqrt(17.7^2 + 8.2^2) = 19.51cqw long. */
.ocr-spec-table thead th.ocr-spec-corner { background: #e9e9e9; }
.ocr-spec-table thead th.ocr-spec-corner::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 19.51cqw;
  height: .16cqw;
  background: #fff;
  transform-origin: 0 0;
  transform: rotate(24.86deg);
  pointer-events: none;
}
.ocr-spec-table .cr-model,
.ocr-spec-table .cr-param {
  position: absolute;
  font-size: 1.1cqw;
  white-space: nowrap;
  user-select: text;
}
.ocr-spec-table .cr-model { right: 9%; top: 11%; }
.ocr-spec-table .cr-param { left: 9%; bottom: 11%; }
.ocr-spec-table .ocr-spec-model {
  position: absolute;
  left: 1.1cqw;
  bottom: 1.1cqw;
  font-size: 1.18cqw;
  white-space: nowrap;
  user-select: text;
}
.ocr-spec-table .ocr-spec-unit-photo {
  position: absolute;
  right: 3%;
  top: 50%;
  transform: translateY(-50%);
  width: 11.8cqw;
  height: auto;
  pointer-events: none;
}
.ocr-spec-table .ocr-spec-photo {
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  height: 4.6cqw;
  width: auto;
  pointer-events: none;
}
.ocr-spec-table .ocr-spec-cell-text {
  position: relative;
  z-index: 1;
  user-select: text;
}

/* English wording is longer; only the type size changes, never the geometry. */
.ocr-spec-table.lang-en { font-size: clamp(10px, 1.06cqw, 21px); line-height: 1.25; }
.ocr-spec-table.lang-en caption { font-size: 1.8cqw; letter-spacing: .02em; }
.ocr-spec-table.lang-en tbody th { font-size: .94em; }
.ocr-spec-table.lang-en .ocr-spec-model { font-size: 1.05cqw; }

/* Legacy AOS fade must not hide selectable, indexable text. */
.aos-init:has(.ocr-spec-table),
.aos-animate:has(.ocr-spec-table) {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
