/* Global document styles and lightweight utility helpers. */ // --- 视口与排版根 --- body { height: 100%; margin: 0; -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; background: var(--app-shell-bg); font-family: 'MiSans', 'HarmonyOS Sans SC', 'PingFang SC', 'Source Han Sans SC', 'Noto Sans SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif; } label { font-weight: 600; } html { height: 100%; box-sizing: border-box; } html.dark .svg-icon, html.dark svg { fill: var(--el-text-color-regular); } #app { height: 100%; } html, body, #app { min-height: 100%; } *, *:before, *:after { box-sizing: inherit; } a:focus, a:active { outline: none; } a, a:focus, a:hover { cursor: pointer; color: inherit; text-decoration: none; } div:focus { outline: none; } .clearfix { &:after { visibility: hidden; display: block; font-size: 0; content: ' '; clear: both; height: 0; } } .h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 { font-family: inherit; font-weight: 500; line-height: 1.1; color: inherit; }