/* ================================================
   京津冀·鄂一大家 OA系统 - Windows7 Aero 主题
   ================================================ */

/* ---------- 基础变量 ---------- */
:root {
  --aero-blue:       #0078D7;
  --aero-blue-dark:  #005A9E;
  --aero-blue-light: #3AA3E8;
  --aero-bg:         #F5F5F5;
  --aero-white:      #FFFFFF;
  --aero-text:       #333333;
  --aero-text-light: #666666;
  --aero-border:     #C8D9E8;
  --aero-shadow:     rgba(0, 84, 166, 0.18);
  --aero-glass:      rgba(255, 255, 255, 0.62);
  --aero-glass-dark: rgba(230, 240, 255, 0.55);
  --aero-radius:     6px;
  --aero-radius-lg:  10px;
  --win-title-h:     30px;
}

/* ---------- Reset & 全局 ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  width: 100%; height: 100%;
  font-family: 'Microsoft YaHei', 'Segoe UI', Arial, sans-serif;
  font-size: 13px;
  color: var(--aero-text);
  background: #1a6ea8;
  overflow: hidden;
}

a { color: var(--aero-blue); text-decoration: none; }
a:hover { text-decoration: underline; color: var(--aero-blue-dark); }

/* ---------- 桌面壁纸 ---------- */
#desktop {
  width: 100vw; height: 100vh;
  background: linear-gradient(160deg, #1a6ea8 0%, #0d4c8a 40%, #1a7fba 80%, #2a9fd6 100%);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

#desktop::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 60%, rgba(80,160,230,0.25) 0%, transparent 70%),
              radial-gradient(ellipse at 80% 20%, rgba(255,255,255,0.08) 0%, transparent 60%);
  pointer-events: none;
}

/* ---------- Aero 玻璃窗口 ---------- */
.aero-window {
  background: linear-gradient(180deg, rgba(255,255,255,0.78) 0%, rgba(235,245,255,0.72) 100%);
  backdrop-filter: blur(12px) saturate(1.4);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  border: 1px solid rgba(255,255,255,0.85);
  border-top: 1px solid rgba(255,255,255,0.95);
  border-radius: var(--aero-radius-lg);
  box-shadow:
    0 8px 32px var(--aero-shadow),
    0 2px 8px rgba(0,0,0,0.12),
    inset 0 1px 0 rgba(255,255,255,0.9);
  overflow: hidden;
}

.aero-window-title {
  height: var(--win-title-h);
  background: linear-gradient(180deg,
    rgba(200,225,255,0.92) 0%,
    rgba(160,205,248,0.88) 50%,
    rgba(120,185,240,0.85) 100%);
  border-bottom: 1px solid rgba(100,160,220,0.5);
  display: flex;
  align-items: center;
  padding: 0 8px;
  user-select: none;
  gap: 6px;
}

.aero-window-title .win-icon {
  width: 16px; height: 16px;
  object-fit: contain;
}

.aero-window-title .win-title-text {
  flex: 1;
  font-size: 12px;
  font-weight: 600;
  color: #1a3a5c;
  text-shadow: 0 1px 0 rgba(255,255,255,0.8);
}

.win-btns {
  display: flex; gap: 2px;
}

.win-btn {
  width: 21px; height: 21px;
  border-radius: 4px;
  border: 1px solid rgba(100,150,200,0.5);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
  transition: all .15s;
}

.win-btn:hover { background: rgba(255,255,255,0.85); }
.win-btn.close:hover { background: #e81123; color: #fff; border-color: #c50f1f; }
.win-btn.minimize { background: linear-gradient(180deg, #f0f8ff 0%, #d0e8f8 100%); }
.win-btn.maximize { background: linear-gradient(180deg, #f0f8ff 0%, #d0e8f8 100%); }
.win-btn.close    { background: linear-gradient(180deg, #f9f9f9 0%, #e8e8e8 100%); }

.aero-window-body {
  padding: 16px;
  overflow: auto;
}

/* ---------- 任务栏 ---------- */
#taskbar {
  width: 100%;
  height: 40px;
  background: linear-gradient(180deg,
    rgba(60,100,160,0.92) 0%,
    rgba(30,70,130,0.97) 50%,
    rgba(20,55,110,0.99) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(100,150,220,0.6);
  box-shadow: 0 -2px 12px rgba(0,0,60,0.3);
  display: flex;
  align-items: center;
  padding: 0 8px;
  gap: 4px;
  position: relative;
  z-index: 1000;
  flex-shrink: 0;
}

/* 开始按钮 */
#start-btn {
  height: 32px;
  padding: 0 14px;
  border-radius: 14px;
  background: linear-gradient(180deg, #4aacf0 0%, #1a7ad4 40%, #0d5bb5 60%, #1a7ad4 100%);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; gap: 5px;
  box-shadow: 0 1px 4px rgba(0,0,80,0.4), inset 0 1px 0 rgba(255,255,255,0.35);
  transition: all .15s;
  white-space: nowrap;
}

#start-btn:hover {
  background: linear-gradient(180deg, #5cc0ff 0%, #2a8ee8 40%, #1a6dc8 60%, #2a8ee8 100%);
}

/* 任务栏时钟 */
#taskbar-clock {
  margin-left: auto;
  color: #fff;
  font-size: 12px;
  text-align: center;
  line-height: 1.4;
  padding: 0 12px;
  min-width: 70px;
}

/* 任务栏快捷按钮 */
.taskbar-app {
  height: 34px;
  padding: 0 10px;
  border-radius: 5px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  font-size: 12px;
  cursor: pointer;
  display: flex; align-items: center; gap: 6px;
  transition: all .15s;
}

.taskbar-app:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.4);
}

.taskbar-app.active {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.5);
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.2);
}

/* ---------- 桌面图标 ---------- */
.desktop-icons {
  position: absolute;
  top: 16px; left: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.desktop-icon {
  width: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  padding: 6px 4px;
  border-radius: 4px;
  transition: background .15s;
}

.desktop-icon:hover {
  background: rgba(255,255,255,0.2);
}

.desktop-icon:active {
  background: rgba(100,170,255,0.35);
}

.desktop-icon .icon-img {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}

.desktop-icon .icon-label {
  color: #fff;
  font-size: 11px;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
  line-height: 1.3;
}

/* ---------- 开始菜单 ---------- */
#start-menu {
  position: absolute;
  bottom: 40px; left: 0;
  width: 340px;
  background: linear-gradient(180deg, rgba(40,80,150,0.97) 0%, rgba(20,55,115,0.99) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(100,160,230,0.5);
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  box-shadow: 4px -4px 20px rgba(0,0,0,0.4);
  z-index: 2000;
  display: none;
  overflow: hidden;
}

#start-menu.show { display: block; }

.start-menu-header {
  background: linear-gradient(90deg, rgba(0,120,210,0.9) 0%, rgba(0,80,160,0.85) 100%);
  padding: 12px 14px;
  display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid rgba(100,160,230,0.3);
}

.start-menu-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5ab4f5, #0d6ec9);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
}

.start-menu-username {
  color: #fff;
  font-size: 14px; font-weight: 600;
}

.start-menu-dept {
  color: rgba(200,220,255,0.85);
  font-size: 11px;
}

.start-menu-nav {
  padding: 8px 0;
}

.start-nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  color: rgba(220,235,255,0.92);
  font-size: 13px;
  cursor: pointer;
  transition: background .15s;
}

.start-nav-item:hover {
  background: rgba(255,255,255,0.12);
}

.start-nav-item .nav-icon {
  width: 20px; text-align: center; font-size: 15px;
}

.start-menu-sep {
  height: 1px;
  background: rgba(100,160,230,0.25);
  margin: 4px 0;
}

.start-menu-footer {
  background: rgba(0,0,0,0.2);
  padding: 6px 12px;
  display: flex; justify-content: flex-end; gap: 8px;
}

/* ---------- 按钮组件 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 16px;
  border-radius: var(--aero-radius);
  border: 1px solid;
  font-size: 13px;
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(180deg, #3aacf5 0%, #1a8de0 45%, #0d6ec8 55%, #1a8de0 100%);
  border-color: #0a5aaa;
  color: #fff;
  box-shadow: 0 1px 3px rgba(0,80,180,0.3), inset 0 1px 0 rgba(255,255,255,0.3);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #4ec0ff 0%, #2a9ef0 45%, #1a7ed8 55%, #2a9ef0 100%);
}

.btn-primary:active {
  background: linear-gradient(180deg, #0d6ec8 0%, #1a8de0 100%);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
  transform: translateY(1px);
}

.btn-default {
  background: linear-gradient(180deg, #f8fbff 0%, #ddeeff 50%, #c5e0f5 100%);
  border-color: #9abcd8;
  color: var(--aero-text);
  box-shadow: 0 1px 2px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,0.9);
}

.btn-default:hover {
  background: linear-gradient(180deg, #ffffff 0%, #e8f4ff 50%, #d0eaff 100%);
  border-color: #6aaad0;
}

.btn-default:active {
  background: linear-gradient(180deg, #c5e0f5 0%, #ddeeff 100%);
  transform: translateY(1px);
}

.btn-danger {
  background: linear-gradient(180deg, #ff6b6b 0%, #e53e3e 45%, #c53030 55%, #e53e3e 100%);
  border-color: #9b2c2c;
  color: #fff;
  box-shadow: 0 1px 3px rgba(180,0,0,0.3);
}

.btn-danger:hover {
  background: linear-gradient(180deg, #ff8080 0%, #f05050 45%, #d84040 55%, #f05050 100%);
}

.btn-success {
  background: linear-gradient(180deg, #68d391 0%, #38a169 45%, #276749 55%, #38a169 100%);
  border-color: #276749;
  color: #fff;
}

.btn-sm { padding: 3px 10px; font-size: 12px; }
.btn-lg { padding: 8px 22px; font-size: 14px; }

/* ---------- 输入框 ---------- */
.aero-input {
  width: 100%;
  padding: 5px 10px;
  border: 1px solid #a8c6e0;
  border-radius: var(--aero-radius);
  background: linear-gradient(180deg, #f0f8ff 0%, #ffffff 30%);
  box-shadow: inset 0 2px 4px rgba(0,80,160,0.1);
  font-size: 13px;
  color: var(--aero-text);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}

.aero-input:focus {
  border-color: var(--aero-blue);
  box-shadow: inset 0 2px 4px rgba(0,80,160,0.1), 0 0 0 3px rgba(0,120,215,0.15);
}

select.aero-input {
  cursor: pointer;
}

textarea.aero-input {
  resize: vertical; min-height: 80px;
}

/* ---------- 表单组 ---------- */
.form-group {
  margin-bottom: 14px;
}

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--aero-text);
  margin-bottom: 4px;
}

.form-label .required { color: #e53e3e; margin-left: 2px; }

/* ---------- 表格 ---------- */
.aero-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 13px;
}

.aero-table thead th {
  background: linear-gradient(180deg, #e8f3fc 0%, #d0e8f8 100%);
  border: 1px solid #b8d4ec;
  padding: 8px 12px;
  text-align: left;
  font-weight: 600;
  color: #1a4a7a;
  white-space: nowrap;
}

.aero-table tbody tr:nth-child(even) {
  background: #f2f8fd;
}

.aero-table tbody tr:nth-child(odd) {
  background: #ffffff;
}

.aero-table tbody tr:hover {
  background: #d8eefb !important;
}

.aero-table td {
  border: 1px solid #d0e4f4;
  padding: 7px 12px;
  color: var(--aero-text);
}

/* ---------- 分页 ---------- */
.pagination {
  display: flex; align-items: center; gap: 4px;
  margin-top: 12px; justify-content: flex-end;
}

.page-btn {
  min-width: 28px; height: 26px;
  padding: 0 6px;
  border: 1px solid #a8c6e0;
  border-radius: 4px;
  background: linear-gradient(180deg, #f8fbff 0%, #ddeeff 100%);
  cursor: pointer;
  font-size: 12px;
  color: var(--aero-text);
  transition: all .15s;
  display: flex; align-items: center; justify-content: center;
}

.page-btn:hover { background: linear-gradient(180deg, #e0f0ff 0%, #c5e0f5 100%); border-color: var(--aero-blue); }
.page-btn.active { background: linear-gradient(180deg, #1a8de0 0%, #0d6ec8 100%); color: #fff; border-color: #0a5aaa; }
.page-info { font-size: 12px; color: var(--aero-text-light); margin: 0 6px; }

/* ---------- 弹窗 ---------- */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,20,60,0.45);
  backdrop-filter: blur(3px);
  z-index: 5000;
  display: flex; align-items: center; justify-content: center;
  animation: fadeIn .2s;
}

.modal-box {
  min-width: 380px;
  max-width: 680px;
  width: 90%;
  max-height: 85vh;
  display: flex; flex-direction: column;
  animation: slideDown .22s;
}

.modal-box .aero-window-body {
  overflow-y: auto;
}

.modal-footer {
  padding: 10px 16px;
  border-top: 1px solid rgba(180,210,240,0.6);
  display: flex; justify-content: flex-end; gap: 8px;
  background: rgba(240,248,255,0.8);
}

@keyframes fadeIn  { from { opacity:0 } to { opacity:1 } }
@keyframes slideDown { from { opacity:0; transform: translateY(-18px) } to { opacity:1; transform:translateY(0) } }

/* ---------- Badge / 状态 ---------- */
.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
}

.badge-success { background: #c6f6d5; color: #276749; border: 1px solid #9ae6b4; }
.badge-danger  { background: #fed7d7; color: #9b2c2c; border: 1px solid #feb2b2; }
.badge-warning { background: #fefcbf; color: #7b6000; border: 1px solid #f6e05e; }
.badge-info    { background: #bee3f8; color: #1a4a7a; border: 1px solid #90cdf4; }
.badge-gray    { background: #e2e8f0; color: #4a5568; border: 1px solid #cbd5e0; }

.dot-unread {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #e53e3e;
  display: inline-block;
  margin-right: 4px;
  box-shadow: 0 0 4px rgba(229,62,62,0.6);
}

/* ---------- 卡片 ---------- */
.aero-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.82) 0%, rgba(235,245,255,0.78) 100%);
  border: 1px solid rgba(180,215,245,0.7);
  border-radius: var(--aero-radius);
  box-shadow: 0 2px 8px var(--aero-shadow), inset 0 1px 0 rgba(255,255,255,0.9);
  padding: 12px;
  transition: box-shadow .2s;
}

.aero-card:hover {
  box-shadow: 0 4px 14px rgba(0,84,166,0.22), inset 0 1px 0 rgba(255,255,255,0.9);
}

.card-title {
  font-size: 13px;
  font-weight: 700;
  color: #1a4a7a;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(180,215,245,0.6);
  display: flex; align-items: center; gap: 6px;
}

/* ---------- 通知气泡 ---------- */
.toast-container {
  position: fixed; top: 18px; right: 18px;
  z-index: 9999;
  display: flex; flex-direction: column; gap: 8px;
}

.toast {
  min-width: 260px; max-width: 380px;
  padding: 10px 14px;
  border-radius: var(--aero-radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(235,245,255,0.88) 100%);
  border: 1px solid rgba(200,220,245,0.8);
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  display: flex; align-items: flex-start; gap: 8px;
  animation: slideDown .25s;
  font-size: 13px;
}

.toast-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.toast-body { flex: 1; }
.toast-title { font-weight: 700; margin-bottom: 2px; font-size: 12px; }
.toast.success .toast-title { color: #276749; }
.toast.error   .toast-title { color: #9b2c2c; }
.toast.info    .toast-title { color: #1a4a7a; }
.toast.warning .toast-title { color: #7b6000; }

/* ---------- 侧边导航 ---------- */
.sidebar {
  width: 200px;
  flex-shrink: 0;
  background: linear-gradient(180deg, rgba(20,60,130,0.96) 0%, rgba(10,40,100,0.98) 100%);
  backdrop-filter: blur(12px);
  border-right: 1px solid rgba(100,160,230,0.3);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.sidebar-logo {
  padding: 14px 14px 10px;
  border-bottom: 1px solid rgba(100,160,230,0.25);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.sidebar-logo .logo-sub { font-size: 10px; font-weight: 400; color: rgba(200,220,255,0.7); }

.sidebar-nav { padding: 6px 0; flex: 1; }

.nav-group-title {
  padding: 8px 14px 4px;
  font-size: 10px;
  color: rgba(150,180,220,0.8);
  text-transform: uppercase;
  letter-spacing: .5px;
}

.nav-item {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  color: rgba(220,235,255,0.88);
  font-size: 13px;
  cursor: pointer;
  transition: background .15s;
  text-decoration: none;
}

.nav-item:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
  text-decoration: none;
}

.nav-item.active {
  background: rgba(0,120,215,0.5);
  color: #fff;
  border-left: 3px solid #5ac8fa;
  padding-left: 11px;
}

.nav-item .nav-icon { width: 18px; text-align: center; font-size: 14px; }

/* ---------- 页面主内容区 ---------- */
.main-content {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.page-header {
  padding: 12px 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.88) 0%, rgba(240,250,255,0.82) 100%);
  border-bottom: 1px solid rgba(180,215,245,0.7);
  display: flex; align-items: center; justify-content: space-between;
  flex-shrink: 0;
}

.page-title {
  font-size: 16px;
  font-weight: 700;
  color: #1a3a6a;
}

.page-body {
  padding: 16px;
  flex: 1;
}

/* ---------- 搜索栏 ---------- */
.search-bar {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.search-bar .aero-input { width: auto; min-width: 160px; }

/* ---------- 登录页专属 ---------- */
#login-page {
  width: 100vw; height: 100vh;
  background: linear-gradient(160deg, #1a6ea8 0%, #0d4c8a 40%, #1a7fba 80%, #2a9fd6 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}

#login-page::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(100,180,255,0.2) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(255,255,255,0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(0,80,180,0.2) 0%, transparent 50%);
}

.login-box {
  width: 400px;
  position: relative;
  z-index: 1;
}

.login-box .aero-window-title { padding: 0 12px; }

.login-logo {
  text-align: center;
  padding: 20px 0 14px;
}

.login-logo .logo-title {
  font-size: 18px; font-weight: 800; color: #1a3a6a;
  line-height: 1.3;
}

.login-logo .logo-sub {
  font-size: 12px; color: var(--aero-text-light); margin-top: 2px;
}

.login-form { padding: 0 20px 20px; }

.login-btn {
  width: 100%; height: 36px;
  font-size: 14px; font-weight: 700;
  margin-top: 6px;
}

/* ---------- 工作台布局 ---------- */
#workspace {
  flex: 1;
  display: flex;
  overflow: hidden;
  min-height: 0;
}

/* ---------- 个人信息卡 ---------- */
.user-card {
  display: flex; align-items: center; gap: 10px;
  padding: 10px;
  background: linear-gradient(135deg, rgba(0,90,180,0.15) 0%, rgba(0,60,140,0.1) 100%);
  border-radius: var(--aero-radius);
  border: 1px solid rgba(100,160,230,0.3);
  margin-bottom: 12px;
}

.user-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5ab4f5, #0d6ec9);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  border: 2px solid rgba(255,255,255,0.7);
  flex-shrink: 0;
  overflow: hidden;
}

.user-avatar img { width: 100%; height: 100%; object-fit: cover; }

.user-info .name { font-weight: 700; font-size: 14px; color: #1a3a6a; }
.user-info .dept { font-size: 11px; color: var(--aero-text-light); }

/* ---------- 公告卡片 ---------- */
.announcement-card {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(180,215,245,0.5);
  cursor: pointer;
  transition: background .15s;
}

.announcement-card:hover { background: rgba(220,240,255,0.5); }
.announcement-card .ann-title { font-size: 13px; font-weight: 600; color: #1a3a6a; display: flex; align-items: center; gap: 4px; }
.announcement-card .ann-meta  { font-size: 11px; color: var(--aero-text-light); margin-top: 2px; }

/* ---------- 待办列表 ---------- */
.todo-item {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(180,215,245,0.4);
  cursor: pointer; transition: background .15s;
}

.todo-item:hover { background: rgba(220,240,255,0.5); }
.todo-item .todo-icon { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0; }
.todo-item .todo-text { flex: 1; font-size: 12px; }
.todo-item .todo-time { font-size: 11px; color: var(--aero-text-light); }

/* ---------- 检索过滤 ---------- */
.filter-bar {
  background: linear-gradient(180deg, rgba(240,248,255,0.9) 0%, rgba(225,240,255,0.85) 100%);
  border: 1px solid rgba(180,215,245,0.7);
  border-radius: var(--aero-radius);
  padding: 10px 14px;
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}

/* ---------- 顶部 Header ---------- */
.top-header {
  height: 42px; flex-shrink: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(230,245,255,0.85) 100%);
  border-bottom: 1px solid rgba(180,215,245,0.7);
  display: flex; align-items: center; padding: 0 16px; gap: 10px;
}

.top-header .site-name {
  font-size: 15px; font-weight: 800; color: #1a3a6a;
  display: flex; align-items: center; gap: 6px;
}

.top-header-right {
  margin-left: auto; display: flex; align-items: center; gap: 12px;
}

.header-user {
  display: flex; align-items: center; gap: 6px; cursor: pointer;
  padding: 4px 8px; border-radius: 4px; transition: background .15s;
}

.header-user:hover { background: rgba(0,120,215,0.08); }

.header-time { font-size: 12px; color: var(--aero-text-light); }

/* ---------- 统计数字卡片 ---------- */
.stat-cards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  margin-bottom: 16px;
}

.stat-card {
  padding: 14px;
  display: flex; align-items: center; gap: 12px;
}

.stat-icon {
  width: 44px; height: 44px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}

.stat-num { font-size: 22px; font-weight: 800; line-height: 1; color: #1a3a6a; }
.stat-label { font-size: 11px; color: var(--aero-text-light); margin-top: 2px; }

/* ---------- 滚动条美化 ---------- */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: rgba(200,220,240,0.3); border-radius: 4px; }
::-webkit-scrollbar-thumb { background: rgba(100,160,220,0.6); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0,120,215,0.7); }

/* ---------- Checkbox / Radio Aero ---------- */
.aero-check {
  appearance: none;
  width: 14px; height: 14px;
  border: 1px solid #a8c6e0;
  border-radius: 3px;
  background: linear-gradient(180deg, #f8fbff 0%, #ddeeff 100%);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}

.aero-check:checked {
  background: linear-gradient(180deg, #1a8de0 0%, #0d6ec8 100%);
  border-color: #0a5aaa;
}

.aero-check:checked::after {
  content: '✓';
  position: absolute;
  top: -1px; left: 1px;
  font-size: 11px;
  color: #fff;
  font-weight: 700;
}

/* ---------- 进入动画 ---------- */
.fade-in { animation: fadeIn .3s; }
.slide-in { animation: slideDown .3s; }

/* ---------- 响应式调整 ---------- */
@media (max-width: 900px) {
  .stat-cards { grid-template-columns: repeat(2, 1fr); }
  .sidebar { width: 160px; }
}
