@page {
  size: A4;
  margin: 16mm 15mm 18mm 15mm;
}

html {
  color: #202124;
  font-family: "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", Arial, sans-serif;
  font-size: 10.8pt;
  line-height: 1.58;
}

body {
  margin: 0 auto;
  max-width: 186mm;
}

h1, h2, h3, h4 {
  break-after: avoid;
  color: #111827;
  font-weight: 700;
  line-height: 1.3;
  margin: 1.05em 0 .48em;
}

h1 {
  border-bottom: 2px solid #1f78d1;
  font-size: 20pt;
  padding-bottom: 4px;
}

h1[id^="app-"] {
  break-before: page;
}

h2 {
  color: #174b82;
  font-size: 15pt;
}

h3 {
  font-size: 12.4pt;
}

h4 {
  font-size: 11.2pt;
}

p {
  margin: .35em 0 .8em;
}

ul, ol {
  margin: .35em 0 .85em 1.3em;
  padding: 0;
}

li {
  margin: .15em 0;
}

table {
  border-collapse: collapse;
  font-size: 9.6pt;
  margin: .55em 0 1.05em;
  width: 100%;
}

th, td {
  border: 1px solid #c8d2dc;
  padding: 5px 7px;
  vertical-align: top;
}

th {
  background: #eaf2fb;
  color: #111827;
  font-weight: 700;
}

tbody tr:nth-child(even) td {
  background: #fafbfd;
}

.spec-table-2col {
  table-layout: fixed;
}

.spec-table-2col .spec-col-item {
  width: 30%;
}

.spec-table-2col .spec-col-value {
  width: 70%;
}

.spec-table-2col td:first-child {
  word-break: keep-all;
}

.model-code-table {
  font-size: 8.5pt;
  line-height: 1.25;
  table-layout: fixed;
}

.model-code-table th,
.model-code-table td {
  border-color: #4b5563;
  padding: 3px 4px;
  vertical-align: middle;
}

.model-code-table tbody tr:nth-child(even) td {
  background: #fff;
}

.model-code-table .model-title {
  background: #fff;
  text-align: left;
}

.model-code-table .model-code,
.model-code-table .model-group {
  font-weight: 700;
  white-space: nowrap;
}

.model-code-table .model-slot {
  padding-left: 1px;
  padding-right: 1px;
  text-align: center;
  white-space: nowrap;
}

.model-code-table .model-blank {
  background: #e5e7eb !important;
}

.model-code-table .model-col-group {
  width: 22mm;
}

.model-code-table .model-col-item {
  width: 42mm;
}

.model-code-table .model-col-slot {
  width: 8mm;
}

blockquote {
  background: #f6f9fc;
  border-left: 4px solid #1f78d1;
  margin: .75em 0 1em;
  padding: .55em .85em;
}

code {
  background: #f1f5f9;
  border-radius: 3px;
  color: #111827;
  font-family: Consolas, "Courier New", monospace;
  padding: 0 3px;
}

pre {
  background: #f6f8fa;
  border: 1px solid #d0d7de;
  border-radius: 4px;
  font-size: 9.2pt;
  padding: 9px 10px;
  white-space: pre-wrap;
}

img {
  max-width: 100%;
}

/* 安标小图标：若仅设 height、不设 width，max-width:100% 在部分排版下会压成 0 宽，导致不显示 */
img.ivp-safety-ico,
img.ivp-safety-ico--tbl {
  max-width: none;
  min-height: 1em;
  object-fit: contain;
}

/* 第 8 章：安标行内/表内尺寸（与正文随字号缩放） */
.ivp-safety-ico {
  height: 1.2em;
  width: auto;
  vertical-align: -0.2em;
  margin-right: 0.4em;
}
.ivp-safety-ico--tbl {
  height: 1.45em;
  vertical-align: middle;
  margin: 0 0.1em;
}

/* 第 8.1 节：安全信息分级表列宽（A4 正文栏宽约 186mm） */
table.ivp-table-safety-levels {
  table-layout: fixed;
  width: 100%;
}
table.ivp-table-safety-levels col.ivp-col-level {
  width: 9%;
}
table.ivp-table-safety-levels col.ivp-col-sym {
  width: 11%;
}
table.ivp-table-safety-levels col.ivp-col-en {
  width: 20%;
}
table.ivp-table-safety-levels col.ivp-col-mean {
  width: 60%;
}
table.ivp-table-safety-levels th:nth-child(2),
table.ivp-table-safety-levels td.ivp-td-sym {
  text-align: center;
  vertical-align: middle;
}
table.ivp-table-safety-levels td {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.manual-cover {
  height: 262mm;
}

.manual-cover p {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin: 0;
  width: 100%;
}

.manual-cover-title {
  letter-spacing: 0;
}

.page-break {
  break-after: page;
}

.keep-together {
  break-inside: avoid;
}

.note-danger,
.note-warning,
.note-caution {
  border-radius: 4px;
  margin: .75em 0 1em;
  padding: .55em .8em;
}

.note-danger {
  background: #fff5f5;
  border-left: 5px solid #d92d20;
}

.note-warning {
  background: #fff8e6;
  border-left: 5px solid #d97706;
}

.note-caution {
  background: #f4f8ff;
  border-left: 5px solid #1f78d1;
}

hr {
  border: 0;
  border-top: 1px solid #d8e0e8;
  margin: 1.1em 0;
}
