/* =========================================================
 * 文件：admin/css/normalize.css
 * 作用：跨浏览器样式重置（normalize.css v8.0.1）
 * 来源：github.com/necolas/normalize.css
 * 编码：UTF-8
 * 兼容：IE 10+ / Edge / Firefox / Chrome / Safari / Opera
 * 备注：已补充标准属性，移除冗余注释，添加中文区块说明
 * ========================================================= */

/* 1. 文档根元素与全局文本缩放 */
html {
  line-height: 1.15; /* 统一行高 */
  -webkit-text-size-adjust: 100%; /* iOS Safari */
  text-size-adjust: 100%; /* 未来标准属性 */
}

/* 2. 主体结构 */
body {
  margin: 0; /* 清除默认外边距 */
}

main {
  display: block; /* IE 11 中 main 默认为 inline */
}

h1 {
  font-size: 2em;
  margin: 0.67em 0; /* 统一 h1 外边距 */
}

/* 3. 分组内容 */
hr {
  box-sizing: content-box; /* Firefox 中 box-sizing 为 border-box */
  height: 0;
  overflow: visible; /* 修复溢出 */
}

pre {
  font-family: monospace, monospace; /* 修复字体继承 */
  font-size: 1em;
}

/* 4. 行内文本语义 */
a {
  background-color: transparent; /* IE 10 灰色背景修复 */
}

abbr[title] {
  border-bottom: none; /* 移除 Firefox 默认下边框 */
  text-decoration: underline dotted; /* 统一虚线下划线 */
}

b,
strong {
  font-weight: bolder; /* 统一加粗程度 */
}

code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* 5. 嵌入内容 */
img {
  border-style: none; /* 移除 IE 10 链接图片边框 */
}

/* 6. 表单元素 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 继承系统字体 */
  font-size: 100%;
  line-height: 1.15;
  margin: 0; /* 修复 Firefox、Safari 默认外边距 */
}

button,
input {
  overflow: visible; /* IE 溢出修复 */
}

button,
select {
  text-transform: none; /* Firefox 继承 text-transform */
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button; /* iOS Safari */
  appearance: button; /* 标准属性 */
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0; /* Firefox 虚线框修复 */
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

fieldset {
  padding: 0.35em 0.75em 0.625em; /* 统一内边距 */
}

legend {
  box-sizing: border-box;
  color: inherit;
  display: table; /* 修复 IE 溢出 */
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

progress {
  vertical-align: baseline; /* 修复 Firefox 对齐 */
}

textarea {
  overflow: auto; /* IE 默认滚动条 */
}

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0; /* 修复默认内边距 */
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto; /* Chrome 高度修复 */
}

[type="search"] {
  -webkit-appearance: textfield;
  appearance: textfield;
  outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration,
[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none; /* 移除搜索框装饰按钮 */
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  appearance: button;
  font: inherit; /* 修复字体继承 */
}

/* 7. 交互元素 */
details {
  display: block; /* IE/Edge 支持 */
}

summary {
  display: list-item; /* 修复 Firefox 显示 */
}

/* 8. 脚本与隐藏元素 */
template {
  display: none;
}

[hidden] {
  display: none;
}