/* ============================================================
   基础样式：变量、重置、排版
   多人协作约定：仅在此文件维护全局设计变量（颜色/间距/圆角）
   ============================================================ */
:root {
  /* 品牌色（政务蓝） */
  --brand-900: #0b2447;
  --brand-800: #123a72;
  --brand-700: #17509b;
  --brand-600: #1c63c4;
  --brand-500: #2b7ce5;
  --brand-100: #d7e7fb;
  --brand-50: #eef5ff;

  /* 功能色 */
  --orange: #e8833a;
  --orange-dark: #cf6c22;
  --orange-50: #fdf3ea;
  --green: #17995f;
  --green-50: #e9f7f0;
  --red: #d64545;
  --red-50: #fdeeee;
  --purple: #6f5bd6;
  --purple-50: #f1eefe;

  /* 中性色 */
  --text: #1f2a3a;
  --text-2: #54647a;
  --text-3: #8b98ab;
  --line: #dfe5ef;
  --line-2: #eef2f8;
  --bg: #eef1f6;
  --surface: #ffffff;
  --surface-2: #f7f9fc;

  --radius: 6px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 2px rgba(16, 42, 82, 0.06);
  --shadow-md: 0 6px 20px rgba(16, 42, 82, 0.10);
  --shadow-lg: 0 18px 48px rgba(11, 36, 71, 0.20);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

h1, h2, h3, h4, h5, p, ul, ol, dl, dd {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

a {
  color: var(--brand-600);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--brand-500);
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

table {
  border-collapse: collapse;
  width: 100%;
}

img {
  max-width: 100%;
}

code,
.mono {
  font-family: Consolas, "Courier New", monospace;
}

.muted {
  color: var(--text-3);
}

.text-2 {
  color: var(--text-2);
}

.nowrap {
  white-space: nowrap;
}

.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-thumb {
  background: #c8d3e2;
  border-radius: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}
