* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #1f2937;
  background: #f0f4f9;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul, li { list-style: none; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: #c1c9d6; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #9aa4b2; }
::-webkit-scrollbar-track { background: transparent; }

.req { color: #f56c6c; margin-left: 2px; font-weight: bold; }
[v-cloak] { display: none !important; }

.app-loading {
  position: fixed; inset: 0; z-index: 99999;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: #f0f4f9;
  transition: opacity .3s ease;
}
.app-loading.fade-out { opacity: 0; pointer-events: none; }
.app-loading .spinner {
  width: 44px; height: 44px;
  border: 3px solid #e0e6f0; border-top-color: #4f7df3; border-radius: 50%;
  animation: app-spin .7s linear infinite;
  margin-bottom: 18px;
}
.app-loading .text {
  font-size: 15px; color: #6b7a90; letter-spacing: 1px;
}
@keyframes app-spin { to { transform: rotate(360deg); } }