
  :root {
    /* ===== 主色调 - 深蓝青体系 ===== */
    --primary: #0f766e;
    --primary-dark: #0d9488;
    --primary-light: #5eead4;
    --primary-lighter: #99f6e4;
    --primary-50: #f0fdfa;
    --primary-100: #ccfbf1;
    --primary-200: #99f6e4;

    /* ===== 辅助色 ===== */
    --accent-amber: #d97706;
    --accent-amber-light: #fbbf24;
    --accent-warm: #ea580c;
    --accent-teal: #0d9488;
    --accent-slate: #64748b;

    /* ===== 功能色 ===== */
    --success: #15803d;
    --warning: #b45309;
    --danger: #b91c1c;
    --info: #0f766e;

    /* ===== 中性色 - 高级灰 ===== */
    --bg-page: #f8fafc;
    --bg-card: #ffffff;
    --bg-sidebar: #0f172a;
    --bg-sidebar-hover: rgba(15, 118, 110, 0.15);
    --bg-sidebar-active: rgba(15, 118, 110, 0.25);
    --bg-input: #f1f5f9;
    --bg-input-focus: #ffffff;
    --bg-hover: rgba(15, 118, 110, 0.06);

    /* ===== 文字颜色 ===== */
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #4b5c6f;
    --text-disabled: #94a3b8;
    --text-white: #f8fafc;
    --text-sidebar: rgba(255,255,255,0.85);
    --text-sidebar-muted: rgba(255,255,255,0.55);

    /* ===== 边框颜色 ===== */
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --border-focus: #0f766e;
    --border-glow: rgba(15, 118, 110, 0.2);

    /* ===== 阴影 - 柔和层次 ===== */
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 1px rgba(15, 23, 42, 0.03);
    --shadow-md: 0 6px 16px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 16px 36px rgba(15, 23, 42, 0.09), 0 6px 12px rgba(15, 23, 42, 0.05);
    --shadow-xl: 0 20px 40px rgba(15, 23, 42, 0.08), 0 8px 16px rgba(15, 23, 42, 0.05);
    --shadow-glow: 0 0 0 3px rgba(15, 118, 110, 0.1);
    --shadow-card: 0 0 0 1px rgba(15, 23, 42, 0.05), 0 4px 12px rgba(15, 23, 42, 0.06), 0 12px 32px rgba(15, 23, 42, 0.05);

    /* ===== 圆角 ===== */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-full: 9999px;

    /* ===== 间距 ===== */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 12px;
    --spacing-lg: 16px;
    --spacing-xl: 24px;
    --spacing-2xl: 32px;
    --spacing-3xl: 48px;

    /* ===== 过渡 ===== */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);

    /* ===== 排版系统 ===== */
    --font-display: 40px;
    --font-h1: 30px;
    --font-h2: 22px;
    --font-h3: 17px;
    --font-body: 14px;
    --font-caption: 12px;
    --font-micro: 11px;
    --leading-tight: 1.2;
    --leading-normal: 1.6;
    --leading-relaxed: 1.8;
    --tracking-tight: -0.02em;
    --tracking-normal: 0;
    --tracking-wide: 0.02em;

    }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', 'PingFang SC', sans-serif;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
  }
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  }
  ::selection { background: rgba(15, 118, 110, 0.18); color: var(--text-primary); }
  ::-webkit-scrollbar { width: 6px; height: 6px; }
  ::-webkit-scrollbar-track { background: transparent; }
  ::-webkit-scrollbar-thumb { background: rgba(15, 118, 110, 0.2); border-radius: 10px; }
  ::-webkit-scrollbar-thumb:hover { background: rgba(15, 118, 110, 0.35); }

  /* ===== 无障碍：减弱动效 ===== */
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
    }
  }

  /* ===== Focus-visible 键盘导航 ===== */
  :focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
  }
  :focus:not(:focus-visible) {
    outline: none;
  }

  /* ===== 动画 ===== */
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  @keyframes slideInUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-16px); }
    to { opacity: 1; transform: translateX(0); }
  }
  @keyframes slideInRight {
    from { opacity: 0; transform: translateX(16px); }
    to { opacity: 1; transform: translateX(0); }
  }
  @keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
  }
  @keyframes spin {
    to { transform: rotate(360deg); }
  }
  @keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
  }
  @keyframes rippleEffect {
    0% { transform: scale(0); opacity: 1; }
    100% { transform: scale(6); opacity: 0; }
  }
  @keyframes checkGrow {
    0% { transform: rotate(45deg) scale(0); }
    50% { transform: rotate(45deg) scale(1.2); }
    100% { transform: rotate(45deg) scale(1); }
  }
  @keyframes blink { 0%, 45%, 55%, 100% { transform: scaleY(1); } 50% { transform: scaleY(0.1); } }
  @keyframes shyAway { 0% { transform: translateX(var(--x-offset, 0)) translateY(0); } 100% { transform: translateX(calc(var(--x-offset, 0) - 18px)) translateY(-9px) rotate(-14deg); } }
  @keyframes characterPeekRight { 0% { transform: translateX(var(--x-offset, 0)) translateY(0) scale(1); } 100% { transform: translateX(calc(var(--x-offset, 0) + 64px)) translateY(-26px) scale(1.15); } }
  @keyframes characterPeekUp { 0% { transform: translateX(var(--x-offset, 0)) translateY(0) scale(1); } 100% { transform: translateX(calc(var(--x-offset, 0) + 74px)) translateY(-49px) rotate(-16deg) scale(1.2); } }
  @keyframes characterPeekDown { 0% { transform: translateX(var(--x-offset, 0)) translateY(0) scale(1); } 100% { transform: translateX(calc(var(--x-offset, 0) + 74px)) translateY(25px) rotate(16deg) scale(1.2); } }
  @keyframes antennaGlow { 0%, 100% { box-shadow: 0 0 8px rgba(245, 158, 11, 0.4); } 50% { box-shadow: 0 0 16px rgba(245, 158, 11, 0.6); } }
  @keyframes confettiFall { 0% { transform: translateY(0) rotate(0deg); opacity: 1; } 100% { transform: translateY(100vh) rotate(720deg); opacity: 0; } }
  @keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 0 1px rgba(15, 118, 110, 0.1), 0 0 15px rgba(15, 118, 110, 0.05); }
    50% { box-shadow: 0 0 0 1px rgba(15, 118, 110, 0.25), 0 0 25px rgba(15, 118, 110, 0.1); }
  }

  @keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }

  @keyframes cardStaggerIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
  }


  /* ===== 登录页 - 克制的高级感 ===== */
  #loginPage {
    display: flex;
    min-height: 100vh;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    overflow: hidden;
    background: #0f172a;
    z-index: 9999;
  }

  /* 科技背景 - 简化为纯色+微妙纹理 */
  .tech-bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; }

  .bg-gradient {
    position: absolute; inset: 0;
    background:
      radial-gradient(ellipse at 15% 45%, rgba(15, 118, 110, 0.14) 0%, transparent 55%),
      radial-gradient(ellipse at 85% 25%, rgba(245, 159, 0, 0.09) 0%, transparent 45%),
      radial-gradient(ellipse at 50% 90%, rgba(15, 118, 110, 0.06) 0%, transparent 50%);
  }

  .grid-pattern {
    position: absolute; inset: 0;
    background-image:
      linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
  }

  .floating-glow { display: none; }
  .particles-container { display: none; }
  .particle { display: none; }
  .bg-lines { display: none; }
  .bg-line { display: none; }

  /* 登录容器 */
  .login-container {
    display: flex;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
    min-height: 100vh;
    align-items: center;
    gap: 60px;
  }

  /* 左侧登录表单区域 */
  .login-form-section {
    flex: 0 0 400px;
    display: flex;
    justify-content: flex-end;
  }

  .login-card {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(40px);
    border-radius: 16px;
    padding: 48px 40px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    animation: slideInLeft 0.5s ease, glowPulse 4s ease-in-out 1s infinite;
    transition: border-color 0.3s ease;
    position: relative;
  }

  .login-card::before { display: none; }
  .login-card::after { display: none; }

  .login-card:hover {
    border-color: rgba(255, 255, 255, 0.14);
  }

  /* Logo区域 */
  .logo-section {
    text-align: center;
    margin-bottom: 36px;
    position: relative;
  }

  .logo-image { margin-bottom: 20px; position: relative; }

  .company-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    filter: brightness(0) invert(1) opacity(0.9);
    transition: opacity 0.3s ease;
  }

  .company-logo:hover { opacity: 1; }

  .logo-fallback {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    display: none; align-items: center; justify-content: center;
    background: rgba(15, 118, 110, 0.15);
    border-radius: 50%;
    border: 1px solid rgba(15, 118, 110, 0.3);
  }

  .logo-image.show-fallback .logo-fallback { display: flex; }

  .logo-fallback svg {
    width: 60px; height: 60px; color: rgba(255,255,255,0.7);
  }

  .logo-text {
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: 0.5px;
  }

  .logo-subtitle {
    font-size: 15px;
    font-weight: 500;
    color: var(--accent-amber);
    margin-bottom: 8px;
    letter-spacing: 2px;
  }

  .logo-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.5;
    max-width: 260px;
    margin: 0 auto;
  }

  .logo-glow { color: var(--accent-amber); }
  .logo-dot { color: var(--accent-amber); font-size: 24px; }
  .logo-main { color: #ffffff; }

  /* 登录表单 */
  .login-form { display: flex; flex-direction: column; gap: 20px; }

  .form-group { display: flex; flex-direction: column; gap: 6px; }

  .form-group label {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
    padding-left: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .input-group {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: border-color 0.2s, background 0.2s;
    overflow: visible;
  }

  .input-group::before { display: none; }

  .input-group:focus-within {
    border-color: rgba(15, 118, 110, 0.5);
    background: rgba(255, 255, 255, 0.06);
  }

  .input-icon {
    padding: 14px 16px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 16px;
    transition: color 0.2s ease;
    flex-shrink: 0;
  }

  .input-group:focus-within .input-icon { color: rgba(15, 118, 110, 0.8); }

  .input-icon svg { width: 18px; height: 18px; }

  .tech-input {
    flex: 1;
    padding: 14px 16px;
    background: transparent !important;
    border: none;
    outline: none !important;
    color: #ffffff !important;
    font-size: 14px;
    font-family: inherit;
    letter-spacing: 0.2px;
    transition: color 0.2s ease;
    pointer-events: auto;
    z-index: 10;
    position: relative;
    -webkit-text-fill-color: #ffffff !important;
  }

  .tech-input::placeholder { color: rgba(255, 255, 255, 0.25) !important; }
  .tech-input:focus { color: #ffffff !important; outline: none !important; box-shadow: none !important; border-bottom: 2px solid var(--primary); margin-bottom: -2px; transition: border-bottom 0.25s ease; }

  .tech-input:-webkit-autofill,
  .tech-input:-webkit-autofill:hover,
  .tech-input:-webkit-autofill:focus,
  .tech-input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #0f172a inset !important;
    -webkit-text-fill-color: #ffffff !important;
    background-color: transparent !important;
  }

  .password-group { justify-content: space-between; }

  .password-toggle {
    padding: 14px 16px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: color 0.2s ease;
    flex-shrink: 0;
  }

  .password-toggle:hover,
  .input-group:focus-within .password-toggle { color: rgba(15, 118, 110, 0.8); }
  .password-toggle svg { width: 18px; height: 18px; }

  /* 表单选项 */
  .form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    margin-top: -4px;
  }

  .checkbox-wrapper {
    display: flex; align-items: center; gap: 10px; cursor: pointer; transition: opacity 0.2s;
  }
  .checkbox-wrapper:hover { opacity: 0.8; }
  .checkbox-wrapper input { display: none; }

  .checkmark {
    width: 16px; height: 16px;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    border-radius: 4px;
    position: relative;
    transition: border-color 0.2s, background 0.2s;
    background: transparent;
  }

  .checkbox-wrapper:hover .checkmark { border-color: rgba(15, 118, 110, 0.5); }

  .checkbox-wrapper input:checked + .checkmark {
    background: var(--primary);
    border-color: var(--primary);
  }

  .checkbox-wrapper input:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 4px; top: 1px;
    width: 5px; height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
  }

  .checkbox-text { font-size: 13px; color: rgba(255, 255, 255, 0.5); }

  .forgot-link {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 400;
    padding: 4px 8px;
    border-radius: 4px;
    position: relative;
  }

  .forgot-link::after { display: none; }

  .forgot-link:hover { color: rgba(255, 255, 255, 0.7); text-decoration: none; }

  /* 登录按钮 - 克制 */
  .login-btn {
    position: relative;
    padding: 14px 28px;
    background: var(--primary);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    overflow: hidden;
    transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
    letter-spacing: 1px;
    margin-top: 4px;
  }

  .login-btn:hover {
    background: linear-gradient(90deg, var(--primary), var(--primary-dark), var(--primary));
    background-size: 200% 100%;
    animation: gradientShift 2s ease infinite;
  }

  .login-btn::before { display: none; }
  .login-btn::after { display: none; }

  .btn-content { display: flex; align-items: center; justify-content: center; gap: 10px; position: relative; z-index: 2; }
  .btn-arrow { width: 18px; height: 18px; transition: transform 0.2s ease; }
  .login-btn:hover .btn-arrow { transform: translateX(4px); }
  .btn-text { position: relative; }
  .btn-text::after { display: none; }

  /* 登录错误 */
  .login-error {
    text-align: center;
    padding: 12px;
    background: rgba(240, 62, 62, 0.08);
    border: 1px solid rgba(240, 62, 62, 0.15);
    border-radius: 8px;
    color: #e07a7c;
    font-size: 13px;
    display: none;
    animation: shake 0.3s ease;
  }

  /* 验证码区�*/
  .captcha-group {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .captcha-input {
    flex: 1;
    min-width: 0;
  }
  .captcha-box {
    width: 100px;
    height: 36px;
    border-radius: 6px;
    cursor: pointer;
    overflow: hidden;
    background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%);
    border: 1px solid rgba(15, 118, 110, 0.2);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .captcha-box:hover {
    border-color: var(--primary);
  }
  .captcha-box:active {
    transform: scale(0.98);
  }
  #captchaCanvas {
    display: block;
  }

  /* 演示信息 */
  .demo-info {
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35);
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 8px;
  }

  /* 注册链接 */
  .signup-link {
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    padding-top: 8px;
  }

  .signup-link a { color: var(--accent-amber); text-decoration: none; transition: color 0.2s; }
  .signup-link a:hover { color: var(--accent-amber-light); }

  /* 右侧海报轮播区域 */
  .login-carousel-section {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    animation: slideInRight 0.4s ease-out;
  }

  .carousel-container { width: 100%; max-width: 520px; position: relative; }

  .carousel-wrapper {
    position: relative;
    height: 560px;
    overflow: hidden;
    border-radius: 16px;
  }

  .carousel-slide {
    position: absolute; inset: 0;
    opacity: 0;
    transform: scale(0.98);
    transition: all 0.5s ease;
    pointer-events: none;
  }

  .carousel-slide.active { opacity: 1; transform: scale(1); pointer-events: auto; }

  .slide-card {
    height: 100%;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 44px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease;
  }

  .slide-card:hover { border-color: rgba(255, 255, 255, 0.1); }

  .slide-card::before { display: none; }

  .slide-icon {
    width: 80px;
    height: 80px;
    background: rgba(15, 118, 110, 0.12);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    border: 1px solid rgba(15, 118, 110, 0.2);
    position: relative;
    z-index: 1;
    transition: transform 0.2s ease;
  }

  .slide-icon svg { width: 36px; height: 36px; color: var(--primary-light); }

  .slide-title {
    font-size: 26px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
    letter-spacing: 1px;
    line-height: 1.4;
  }

  .slide-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    position: relative;
    z-index: 1;
    max-width: 90%;
    letter-spacing: 0.3px;
  }

  .slide-header { margin-bottom: 12px; position: relative; z-index: 1; }

  .slide-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 20px;
    font-size: 11px;
    color: var(--accent-amber);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 500;
  }

  .slide-values {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .value-tag { font-size: 12px; color: var(--accent-amber); font-weight: 500; }
  .value-text { font-size: 12px; color: rgba(255, 255, 255, 0.4); line-height: 1.5; }
  .slide-decoration { display: none; }

  .slide-bg-pattern {
    position: absolute; inset: 0;
    background:
      radial-gradient(circle at 20% 30%, rgba(15, 118, 110, 0.04) 0%, transparent 50%),
      radial-gradient(circle at 80% 70%, rgba(245, 158, 11, 0.03) 0%, transparent 50%);
    z-index: 0;
  }

  .slide-float-elements { display: none; }
  .float-circle { display: none; }

  /* 特性展�*/
  .slide-features {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 28px;
    position: relative;
    z-index: 1;
  }

  .feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    transition: border-color 0.2s;
  }

  .feature-item:hover { border-color: rgba(255, 255, 255, 0.12); }
  .feature-icon { font-size: 22px; }
  .feature-text { font-size: 13px; color: rgba(255, 255, 255, 0.6); font-weight: 400; }

  /* 统计数据 */
  .slide-stats {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 28px;
    position: relative;
    z-index: 1;
  }

  .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 28px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    transition: border-color 0.2s;
  }

  .stat-item:hover { border-color: rgba(255, 255, 255, 0.12); }

  .stat-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--accent-amber);
    letter-spacing: -0.5px;
  }

  .stat-label { font-size: 12px; color: rgba(255, 255, 255, 0.5); }

  /* 价值观网格 */
  .slide-values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 20px;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 380px;
  }

  .value-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    transition: border-color 0.2s;
  }

  .value-card:hover { border-color: rgba(255, 255, 255, 0.12); }
  .value-icon { font-size: 24px; }
  .value-name { font-size: 14px; font-weight: 500; color: #fff; }
  .value-desc { font-size: 11px; color: rgba(255, 255, 255, 0.45); text-align: center; }

  /* 轮播指示�*/
  .carousel-indicators { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }

  .indicator {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    position: relative;
  }

  .indicator:hover { background: rgba(255, 255, 255, 0.35); }

  .indicator.active {
    background: var(--accent-amber);
    width: 24px;
    border-radius: 4px;
  }

  .indicator.active::after { display: none; }

  /* ===== 移动端适配 ===== */
  @media (max-width: 900px) {
    .login-container { flex-direction: column; padding: 20px 15px; min-height: 100vh; gap: 24px; }
    .login-form-section { flex: none; width: 100%; justify-content: center; }
    .login-carousel-section { width: 100%; justify-content: center; }
    .login-card { width: 100%; max-width: 400px; padding: 32px; }
    .carousel-container { width: 100%; max-width: 400px; }
    .carousel-wrapper { height: 340px; }
    .logo-section { margin-bottom: 28px; }
    .company-logo { width: 80px; height: 80px; }
    .logo-text { font-size: 18px; }
    .logo-subtitle { font-size: 13px; }
    .slide-card { padding: 32px 24px; }
    .slide-icon { width: 64px; height: 64px; margin-bottom: 20px; }
    .slide-icon svg { width: 28px; height: 28px; }
    .slide-title { font-size: 20px; margin-bottom: 12px; }
    .slide-desc { font-size: 13px; }
    .slide-features { gap: 10px; margin-top: 20px; }
    .feature-item { padding: 10px 14px; }
    .feature-icon { font-size: 18px; }
    .feature-text { font-size: 11px; }
    .slide-stats { gap: 12px; margin-top: 20px; }
    .stat-item { padding: 12px 16px; }
    .stat-number { font-size: 22px; }
    .stat-label { font-size: 11px; }
    .slide-values-grid { gap: 8px; margin-top: 16px; }
    .value-card { padding: 12px 8px; }
    .value-icon { font-size: 20px; }
    .value-name { font-size: 13px; }
    .value-desc { font-size: 10px; }
  }

  /* ===== 手机端适配 (≤480px) ===== */
  @media (max-width: 480px) {
    .login-container {
      flex-direction: column;
      padding: 16px 12px;
      min-height: 100vh;
      min-height: 100dvh;
      gap: 0;
      justify-content: center;
    }
    .login-carousel-section { display: none !important; }
    .login-form-section {
      flex: none;
      width: 100%;
      justify-content: center;
    }
    .login-card {
      width: 100%;
      max-width: 100%;
      padding: 28px 20px;
      border-radius: 12px;
    }
    .logo-section { margin-bottom: 20px; }
    .company-logo { width: 56px; height: 56px; }
    .logo-text { font-size: 16px; }
    .logo-main { font-size: 16px; }
    .logo-subtitle { font-size: 14px; margin-top: 4px; }
    .logo-desc { font-size: 12px; }
    .tech-input {
      font-size: 16px !important; /* 防止iOS自动缩放 */
      padding: 12px 14px !important;
    }
    .input-group { border-radius: 10px; }
    .input-icon { width: 40px; font-size: 16px; }
    .captcha-group canvas { width: 90px; height: 34px; }
    .login-btn {
      padding: 14px;
      font-size: 16px;
      border-radius: 10px;
    }
    .login-error { font-size: 13px; }
    .login-footer { margin-top: 20px; }
    .login-footer p { font-size: 11px; }
    .form-group { margin-bottom: 14px; }
    .password-toggle { width: 40px; }
  }

  /* ===== 纸屑动画容器 ===== */
  .confetti-container {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none; z-index: 9999; overflow: hidden;
  }

  /* 小人角色样式 */
  .character-eyes { display: flex; gap: 10px; margin-bottom: 6px; }
  .character-eye {
    width: 12px; height: 12px; background: white; border-radius: 50%;
    position: relative; display: flex; align-items: center; justify-content: center;
  }
  .character-eye::after {
    content: ''; width: 6px; height: 6px; background: #0f172a; border-radius: 50%;
    position: absolute; transition: all 0.3s ease;
  }
  .character-eye::before {
    content: ''; width: 3px; height: 3px; background: white; border-radius: 50%;
    position: absolute; top: 1px; left: 1px; z-index: 1;
  }
  .character-mouth { width: 16px; height: 8px; background: rgba(0,0,0,0.3); border-radius: 0 0 8px 8px; }
  .character-eye { animation: blink 4s ease-in-out infinite; }
  .character-1 .character-eye { animation-delay: 0s; }
  .character-2 .character-eye { animation-delay: 0.5s; }
  .character-3 .character-eye { animation-delay: 1s; }
  .character-4 .character-eye { animation-delay: 1.5s; }
  .character.shy { animation: shyAway 0.6s ease-out forwards; }
  .character.shy .character-eye::after { transform: translateX(-3px) translateY(3px) !important; background: var(--danger); }
  .character.shy .character-mouth { width: 6px; height: 6px; border-radius: 50%; background: #e07a7c; }
  .character-2.shy .blush-left, .character-2.shy .blush-right { opacity: 1; transform: scale(1.3); }
  .character-eye-pupil { width: 6px; height: 6px; background: #0f172a; border-radius: 50%; position: absolute; transition: transform 0.15s ease-out; }
  .character-eye-highlight { width: 3px; height: 3px; background: white; border-radius: 50%; position: absolute; top: 1px; left: 1px; z-index: 1; }
  .character.peeking { animation: characterPeekRight 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards; }
  .character.peeking-up { animation: characterPeekUp 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards; }
  .character.peeking-down { animation: characterPeekDown 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards; }
  .character.peeking .character-eye::after,
  .character.peeking-up .character-eye::after,
  .character.peeking-down .character-eye::after { transform: translateX(5px) translateY(-3px); }
  .character.peeking-up .character-eye::after { transform: translateX(5px) translateY(-5px); }
  .character.peeking-down .character-eye::after { transform: translateX(5px) translateY(-1px); }
  .character.peeking .character-mouth,
  .character.peeking-up .character-mouth,
  .character.peeking-down .character-mouth { width: 12px; height: 12px; border-radius: 50%; background: var(--danger); }
  .character-1 { --x-offset: -50%; }
  .character-2 { --x-offset: -80%; }
  .character-3 { --x-offset: -45%; }
  .character-4 { --x-offset: -25%; }

  /* 登录选项 */
  .login-options { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
  .checkbox-label { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 13px; color: var(--text-secondary); }
  .checkbox-label input[type="checkbox"] { width: 16px; height: 16px; cursor: pointer; accent-color: var(--primary); }
  .forgot-password { font-size: 13px; color: var(--primary); text-decoration: none; transition: color 0.2s; }
  .forgot-password:hover { color: var(--primary-dark); text-decoration: underline; }
  .login-signup { text-align: center; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-secondary); }
  .login-signup a { color: var(--primary); text-decoration: none; }
  .login-signup a:hover { text-decoration: underline; }

  /* 加载状�*/
  .btn-login.loading { pointer-events: none; opacity: 0.7; }
  .btn-login.loading::before, .btn-login.loading::after { display: none; }
  .btn-login .loading-spinner { display: none; }
  .btn-login.loading .loading-spinner {
    display: inline-block; width: 18px; height: 18px;
    border: 2px solid rgba(255,255,255,0.3); border-top-color: white;
    border-radius: 50%; animation: spin 0.8s linear infinite;
  }

  .confetti-container { display: none; }
  .confetti-container.active { display: block; }
  .confetti { position: absolute; width: 8px; height: 8px; background: var(--confetti-color); top: -8px; animation: confettiFall linear forwards; }

  /* 错误提示动画 */
  .login-error.show { display: block; }

  .login-logo { text-align: center; margin-bottom: 28px; }
  .login-logo img { height: 50px; margin-bottom: 10px; }
  .login-logo h1 { font-size: 18px; color: var(--text-primary); font-weight: 600; letter-spacing: -0.01em; }
  .login-logo p { color: var(--text-muted); font-size: 11px; margin-top: 4px; letter-spacing: 1.5px; text-transform: uppercase; }
  .login-tabs { display: flex; margin-bottom: 20px; border-bottom: 1px solid var(--border); }
  .login-tab { flex: 1; text-align: center; padding: 10px; cursor: pointer; color: var(--text-muted); font-weight: 500; transition: background 0.15s, color 0.15s, border-color 0.15s; border-bottom: 2px solid transparent; margin-bottom: -1px; }
  .login-tab.active { color: var(--primary); border-bottom-color: var(--primary); }
  .login-tab:hover { color: var(--text-secondary); }
  .form-group { margin-bottom: 14px; }
  .form-group label { display: block; margin-bottom: 6px; font-weight: 500; color: var(--text-secondary); font-size: 13px; }
  .form-group .input-wrapper { position: relative; }
  .form-group input, .form-group select {
    width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-md);
    font-size: 14px; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s; outline: none; background: var(--bg-input); color: var(--text-primary);
  }
  .form-group input:focus, .form-group select:focus {
    border-color: var(--border-focus);
    background: white;
    box-shadow: var(--shadow-glow);
  }
  .form-group input::placeholder { color: var(--text-disabled); }

  /* 输入框光�- 简�*/
  .form-group .input-glow { display: none; }

  /* 密码显示/隐藏按钮 */
  .password-wrapper { position: relative; }
  .password-wrapper input { padding-right: 40px; }
  .password-toggle-btn {
    position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
    background: none; border: none; cursor: pointer; padding: 4px;
    font-size: 16px; opacity: 0.5; transition: opacity 0.2s; z-index: 10;
  }
  .password-toggle-btn:hover { opacity: 0.8; }

  .btn-login {
    width: 100%; padding: 11px; background: var(--primary); color: white;
    border: none; border-radius: var(--radius-md); font-size: 14px; font-weight: 500;
    cursor: pointer; transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast); margin-top: 8px; letter-spacing: 0.3px;
    position: relative; overflow: hidden;
  }
  .btn-login::before { display: none; }
  .btn-login::after { display: none; }
  .btn-login:hover { background: var(--primary-dark); }
  .btn-login .ripple { position: absolute; width: 20px; height: 20px; border-radius: 50%; background: rgba(255,255,255,0.3); transform: scale(0); animation: rippleEffect 0.6s linear forwards; pointer-events: none; }
  .login-hint { text-align: center; margin-top: 16px; font-size: 12px; color: var(--text-muted); }

  /* ===== 主界�===== */
  #app { display: none; }
  .header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 0 24px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 100;
  }

  .header::after { display: none; }
  .header-left { display: flex; align-items: center; gap: 14px; }
  .header-logo { height: 28px; transition: opacity 0.2s; }
  .header-logo:hover { opacity: 0.8; }

  .header-left h1 {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text-primary);
  }

  .header-right { display: flex; align-items: center; gap: 16px; font-size: 13px; }

  .btn-logout {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 6px 14px;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 13px;
    font-weight: 400;
    transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 5px;
  }

  .btn-logout:hover {
    background: rgba(240, 62, 62, 0.04);
    border-color: rgba(240, 62, 62, 0.2);
    color: var(--danger);
  }

  .main-layout { display: flex; min-height: calc(100vh - 56px); overflow: hidden; }

  /* ===== 侧边�- 深炭�===== */
  .sidebar {
    position: relative;
    width: 220px;
    background: #0f172a;
    padding: 16px 0 48px;
    border-right: 1px solid rgba(255,255,255,0.04);
    flex-shrink: 0;
    overflow-y: auto;
    overflow-x: hidden;
    transition: all 0.2s ease;
    z-index: 200;
  }

  .sidebar::before { display: none; }

  .sidebar-logo {
    padding: 0 16px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 12px;
    text-align: center;
    position: relative;
    z-index: 1;
  }

  .sidebar-logo img {
    height: 36px;
    filter: brightness(0) invert(1) opacity(0.85);
    transition: opacity 0.2s;
  }

  .sidebar-logo img:hover { opacity: 1; }

  .sidebar-logo-name {
    font-size: 9px;
    color: rgba(255,255,255,0.3);
    margin-top: 6px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
  }

  .nav-group { margin-bottom: 4px; }

  .nav-group-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    margin: 1px 6px;
    border-radius: 6px;
    cursor: pointer;
    color: rgba(255,255,255,0.55);
    font-size: 13px;
    transition: background 0.15s, color 0.15s;
  }
  .nav-group-header:hover {
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.8);
  }
  .nav-group-header i:first-child { font-size: 15px; width: 20px; text-align: center; }
  .nav-group-arrow { margin-left: auto; font-size: 14px; transition: transform 0.2s; color: rgba(255,255,255,0.3); }
  .nav-group.open .nav-group-arrow { transform: rotate(180deg); }
  .nav-group-items {
    display: none;
    padding-left: 8px;
  }
  .nav-group.open .nav-group-items { display: block; }
  .nav-sub-item { padding-left: 30px !important; font-size: 12px !important; }

  .nav-item.has-submenu { cursor: pointer; }
  .submenu-arrow { font-size: 10px; margin-left: auto; transition: transform 0.2s ease; color: rgba(255,255,255,0.3); }
  .nav-item.has-submenu.active .submenu-arrow,
  .nav-item.has-submenu:hover .submenu-arrow { color: rgba(255,255,255,0.6); }

  .nav-submenu { padding-left: 16px; }
  .nav-item-child { padding-left: 32px !important; font-size: 12px !important; }
  .has-submenu-child { cursor: pointer; }
  .nav-submenu-child { padding-left: 16px; }
  .nav-item-child-2 { padding-left: 48px !important; font-size: 11px !important; }

  .nav-group-title {
    padding: 8px 16px 6px;
    font-size: 10px;
    color: rgba(255,255,255,0.25);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    position: relative;
  }

  .nav-group-title::after { display: none; }

  .nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    margin: 1px 6px;
    border-radius: 6px;
    cursor: pointer;
    color: rgba(255,255,255,0.55);
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    border-left: 2px solid transparent;
    font-size: 13px;
    position: relative;
    z-index: 1;
    overflow: hidden;
  }

  .nav-item::before { display: none; }

  .nav-item .icon { font-size: 15px; width: 20px; text-align: center; transition: color 0.15s; }

  .nav-item:hover {
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.8);
  }

  .nav-item:hover .icon { color: var(--primary-light); }

  .nav-item.active {
    background: rgba(15, 118, 110, 0.12);
    color: #ffffff;
    border-left-color: var(--primary);
    font-weight: 500;
  }

  .nav-item.active .icon { color: var(--primary-light); }

  /* 导航徽章 */
  .nav-item .badge {
    margin-left: auto;
    background: var(--danger);
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 1px 7px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
  }

  /* ===== 内容�===== */
  .content { flex: 1; padding: 24px; overflow-y: auto; background: var(--bg-page); position: relative; z-index: 1; box-sizing: border-box; }
  .page { display: none; }
  .page.active { display: block; animation: slideInUp 0.3s ease; }

  /* ===== 卡片 ===== */
  .card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: var(--shadow-card);
    margin-bottom: 20px;
    border: 1px solid var(--border-light);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    animation: cardStaggerIn 0.4s ease both;
  }

  .card:nth-child(1) { animation-delay: 0s; }
  .card:nth-child(2) { animation-delay: 0.06s; }
  .card:nth-child(3) { animation-delay: 0.12s; }
  .card:nth-child(4) { animation-delay: 0.18s; }
  .card:nth-child(5) { animation-delay: 0.24s; }
  .card:nth-child(6) { animation-delay: 0.30s; }

  .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), transparent);
    opacity: 0;
    transition: opacity var(--transition-normal);
  }

  .card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(15, 118, 110, 0.15);
    transform: translateY(-1px);
  }

  .card:hover::before {
    opacity: 1;
  }

  .doc-card { cursor: pointer; text-align: center; padding: 28px 16px; }
  .doc-card h3 { margin: 0 0 6px 0; font-size: 15px; color: var(--text-primary); }
  .doc-card p { margin: 0; font-size: 12px; color: var(--text-muted); }
  .doc-count { margin-top: 10px; font-size: 12px; color: var(--primary); font-weight: 500; }
  .doc-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; flex-wrap: wrap; gap: 10px; }
  .doc-filter select { padding: 7px 10px; border: 1px solid var(--border); border-radius: var(--radius-md); font-size: 13px; }
  .doc-list { display: flex; flex-direction: column; gap: 6px; }
  .doc-item { display: flex; align-items: center; padding: 10px 14px; background: var(--bg-input); border-radius: var(--radius-md); transition: background 0.15s; }
  .doc-item:hover { background: var(--border); }
  .doc-icon { font-size: 22px; margin-right: 10px; }
  .doc-info { flex: 1; min-width: 0; }
  .doc-name { font-size: 13px; font-weight: 500; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .doc-meta { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
  .doc-actions { display: flex; gap: 6px; }
  .doc-actions button { background: none; border: none; cursor: pointer; font-size: 14px; padding: 4px 6px; border-radius: var(--radius-sm); transition: background 0.15s; }
  .doc-actions button:hover { background: var(--border); }
  .doc-permission-section { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
  .doc-permission-section:last-child { border-bottom: none; margin-bottom: 0; }
  .doc-permission-section h4 { margin: 0 0 6px 0; font-size: 14px; color: var(--text-primary); }
  .doc-permission-section p { margin: 0 0 14px 0; font-size: 12px; color: var(--text-muted); }
  .permission-list { display: flex; flex-direction: column; gap: 10px; }
  .permission-item { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; background: var(--bg-input); border-radius: var(--radius-md); }
  .permission-item span { font-size: 13px; color: var(--text-primary); }
  .permission-item select { padding: 5px 8px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 12px; }
  .archive-year-section { margin-bottom: 14px; }
  .archive-year-section h4 { margin: 0 0 10px 0; font-size: 14px; color: var(--text-primary); }

  .card-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    letter-spacing: 0.2px;
    position: relative;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-light);
  }

  .card-title .badge {
    font-size: 11px; font-weight: 500;
    padding: 3px 10px;
    border-radius: 20px;
    background: var(--primary-50);
    color: var(--primary);
    border: 1px solid var(--primary-200);
  }

  /* 卡片装饰变体 */
  .card-accent-blue { border-top: 2px solid var(--primary); }
  .card-accent-cyan { border-top: 2px solid var(--accent-teal); }
  .card-accent-teal { border-top: 2px solid var(--accent-teal); }
  .card-accent-amber { border-top: 2px solid var(--accent-amber); }

  /* ===== 统计卡片 ===== */
  .stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 20px; }
  #dashboardRebateStats { grid-template-columns: repeat(5, 1fr); }
  .target-page .stat-grid { grid-template-columns: repeat(3, 1fr); }

  .stat-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 18px;
    box-shadow: var(--shadow-card);
    text-align: left;
    border: 1px solid var(--border-light);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    animation: cardStaggerIn 0.4s ease both;
  }

  .stat-card:nth-child(1) { animation-delay: 0s; }
  .stat-card:nth-child(2) { animation-delay: 0.07s; }
  .stat-card:nth-child(3) { animation-delay: 0.14s; }
  .stat-card:nth-child(4) { animation-delay: 0.21s; }
  .stat-card:nth-child(5) { animation-delay: 0.28s; }

  .stat-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), rgba(15, 118, 110, 0.3));
    opacity: 0;
    transition: opacity var(--transition-normal);
  }

  .stat-card .stat-content { display: flex; align-items: center; gap: 14px; }

  .stat-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(15, 118, 110, 0.15);
    transform: translateY(-2px);
  }

  .stat-card:hover::after {
    opacity: 1;
  }

  .stat-card .stat-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
  .stat-card .label { font-size: 12px; color: var(--text-muted); font-weight: 500; letter-spacing: 0.2px; }

  .stat-icon {
    width: 36px; height: 36px;
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
    position: relative;
    z-index: 1;
  }

  .stat-icon-blue { background: var(--primary-50); color: var(--primary); }
  .stat-icon-cyan { background: rgba(13, 148, 136, 0.08); color: var(--accent-teal); }
  .stat-icon-teal { background: rgba(13, 148, 136, 0.08); color: var(--accent-teal); }
  .stat-icon-amber { background: rgba(217, 119, 6, 0.08); color: var(--accent-amber); }

  .stat-card .stat-info { flex: 1; display: flex; flex-direction: column; gap: 3px; position: relative; z-index: 1; }
  .stat-card .stat-label { font-size: 12px; color: var(--text-muted); font-weight: 500; }
  .stat-card .stat-value { font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--text-primary); letter-spacing: -0.02em; line-height: 1.2; }
  .stat-card .stat-desc { font-size: 11px; color: var(--text-muted); }
  .stat-card .num { font-size: 28px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--text-primary); letter-spacing: -0.02em; position: relative; z-index: 1; }
  .stat-card .trend { font-size: 11px; margin-top: 6px; display: flex; align-items: center; gap: 3px; position: relative; z-index: 1; }
  .trend-up { color: var(--success); font-weight: 500; }
  .trend-down { color: var(--danger); font-weight: 500; }

  /* ===== 提醒 ===== */
  .alert { padding: 10px 14px; border-radius: var(--radius-md); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; font-size: 13px; border: 1px solid transparent; }
  .alert-warning { background: rgba(217, 119, 6, 0.06); border-color: rgba(217, 119, 6, 0.15); color: var(--accent-warm); }
  .alert-danger  { background: rgba(220, 38, 38, 0.06); border-color: rgba(220, 38, 38, 0.15); color: var(--danger); }
  .alert-success { background: rgba(22, 163, 74, 0.06); border-color: rgba(22, 163, 74, 0.15); color: var(--success); }
  .alert-info    { background: rgba(15, 118, 110, 0.06); border-color: rgba(15, 118, 110, 0.15); color: var(--info); }

  /* ===== 表格 ===== */
  .table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    background: #ffffff;
    box-shadow: var(--shadow-card);
  }

  table { width: 100%; border-collapse: collapse; font-size: 13px; position: relative; }
  thead { position: sticky; top: 0; z-index: 10; }

  th {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 13px 16px;
    text-align: left;
    border-bottom: 2px solid var(--border);
    font-weight: 600;
    white-space: nowrap;
    color: var(--text-secondary);
    font-size: 11px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    position: relative;
  }

  th::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 20px;
    height: 2px;
    background: var(--primary);
  }

  td { padding: 12px 16px; border-bottom: 1px solid var(--border-light); transition: background 0.15s; }

  tbody tr { transition: all 0.15s; }
  tbody tr:nth-child(even) { background: rgba(15, 118, 110, 0.01); }
  tbody tr:hover { background: var(--bg-hover); transform: scale(1.002); }
  tbody tr:hover td { color: var(--text-primary); }

  .status-badge {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 3px 10px; border-radius: 20px;
    font-size: 11px; font-weight: 500;
  }

  .status-badge::before {
    content: ''; width: 4px; height: 4px;
    border-radius: 50%; background: currentColor;
  }

  .status-active  { background: rgba(22, 163, 74, 0.06); color: var(--success); border: 1px solid rgba(22, 163, 74, 0.12); }
  .status-draft   { background: rgba(100, 116, 139, 0.06); color: var(--text-muted); border: 1px solid rgba(100, 116, 139, 0.12); }
  .status-paused  { background: rgba(217, 119, 6, 0.06); color: var(--accent-amber); border: 1px solid rgba(217, 119, 6, 0.12); }

  /* ===== 按钮 ===== */
  .btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 9px 16px; border-radius: var(--radius-md);
    font-size: 13px; font-weight: 500; cursor: pointer; border: none;
    transition: all var(--transition-fast);
    letter-spacing: 0.15px;
    position: relative;
    overflow: hidden;
  }

  .btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-fast);
  }

  .btn:hover::before {
    opacity: 1;
  }

  .btn-primary {
    background: var(--primary); color: white;
    box-shadow: 0 2px 8px rgba(15, 118, 110, 0.3);
  }
  .btn-primary:hover { background: #0d9488; box-shadow: 0 4px 12px rgba(15, 118, 110, 0.4); }
  .btn-primary:active { transform: translateY(1px); }

  .btn-success { background: rgba(22, 163, 74, 0.08); color: var(--success); border: 1px solid rgba(22, 163, 74, 0.15); }
  .btn-success:hover { background: rgba(22, 163, 74, 0.14); border-color: rgba(22, 163, 74, 0.3); }

  .btn-danger  { background: rgba(220, 38, 38, 0.08); color: var(--danger); border: 1px solid rgba(220, 38, 38, 0.15); }
  .btn-danger:hover  { background: rgba(220, 38, 38, 0.14); border-color: rgba(220, 38, 38, 0.3); }

  .btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text-secondary); }
  .btn-outline:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-50); }

  .btn-sm { padding: 6px 12px; font-size: 12px; }
  .btn-group { display: flex; gap: 8px; flex-wrap: wrap; }

  /* ===== 搜索�===== */
  .search-bar {
    display: flex; gap: 12px; flex-wrap: wrap; align-items: center;
    margin-bottom: 18px; padding: 16px;
    background: var(--bg-card); border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-card);
  }

  .search-bar input, .search-bar select {
    padding: 9px 12px; border: 1px solid var(--border); border-radius: var(--radius-md);
    font-size: 13px; outline: none; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    background: var(--bg-input); color: var(--text-primary);
  }

  .search-bar input:focus, .search-bar select:focus {
    border-color: var(--border-focus);
    box-shadow: var(--shadow-glow);
    background: white;
  }
  .search-bar input::placeholder { color: var(--text-disabled); }
  .search-bar input[type="text"] { min-width: 200px; }

  /* ===== 表单 ===== */
  .form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .form-grid.cols3 { grid-template-columns: repeat(3, 1fr); }
  .form-grid.cols4 { grid-template-columns: repeat(4, 1fr); }
  .form-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .form-grid-2 > div { display: flex; flex-direction: column; gap: 6px; }
  .form-grid-2 label { font-weight: 500; font-size: 13px; color: var(--text-secondary); display: flex; align-items: center; gap: 5px; }
  .form-grid-2 input, .form-grid-2 select {
    padding: 9px 12px; border: 1px solid var(--border); border-radius: var(--radius-md);
    font-size: 13px; outline: none; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    font-family: inherit; background: var(--bg-input); color: var(--text-primary); width: 100%;
  }
  .form-grid-2 input:focus, .form-grid-2 select:focus {
    border-color: var(--border-focus);
    box-shadow: var(--shadow-glow);
    background: white;
  }

  .form-item { display: flex; flex-direction: column; gap: 6px; }
  .form-item.full { grid-column: 1 / -1; }
  .form-item label { font-weight: 500; font-size: 13px; color: var(--text-secondary); letter-spacing: 0.2px; }
  .form-item label span { color: var(--danger); }
  .form-item input, .form-item select, .form-item textarea {
    padding: 9px 12px; border: 1px solid var(--border); border-radius: var(--radius-md);
    font-size: 13px; outline: none; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    font-family: inherit; background: var(--bg-input); color: var(--text-primary);
  }
  .form-item input:focus, .form-item select:focus, .form-item textarea:focus {
    border-color: var(--border-focus);
    box-shadow: var(--shadow-glow);
    background: white;
  }

  .form-item input::placeholder, .form-item textarea::placeholder { color: var(--text-disabled); }
  .form-item textarea { resize: vertical; min-height: 80px; }
  .form-hint { font-size: 11px; color: var(--text-muted); margin-top: 3px; }

  /* ===== 模态框 ===== */
  .modal-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1000; align-items: center; justify-content: center;
    backdrop-filter: blur(6px);
    animation: fadeIn 0.2s ease;
  }
  .modal-overlay.show { display: flex; }

  .modal {
    background: #ffffff; border-radius: var(--radius-xl);
    padding: 24px; width: 90%; max-width: 720px;
    max-height: 90vh; overflow-y: auto;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border);
    position: relative;
    animation: fadeIn 0.15s ease;
  }

  .modal.show { display: flex; }

  .modal-content {
    background: #ffffff; border-radius: var(--radius-xl);
    padding: 24px; width: 90%; max-width: 720px;
    max-height: 90vh; overflow-y: auto;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border);
    position: relative;
    animation: slideInUp 0.2s ease;
  }

  .modal-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 20px; padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
  }

  .modal-header h3 { margin: 0; font-size: 18px; font-weight: 600; color: var(--text-primary); letter-spacing: 0.3px; }
  .modal-title { font-size: 17px; font-weight: 600; color: var(--text-primary); }

  .modal-close {
    background: var(--bg-input); border: none; font-size: 14px;
    cursor: pointer; color: var(--text-muted);
    width: 28px; height: 28px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
  }

  .modal-close:hover { background: rgba(220, 38, 38, 0.08); color: var(--danger); }

  .modal-footer {
    margin-top: 24px; display: flex; justify-content: flex-end; gap: 10px;
    padding-top: 16px; border-top: 1px solid var(--border);
  }

  /* 舱位规则模态框样式 */
  .rule-row { display: grid; grid-template-columns: 80px 1fr 1fr 60px; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border-light); }
  .rule-row.header { font-weight: 600; color: var(--text-secondary); font-size: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
  .rule-row input { padding: 6px 10px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 13px; width: 100%; }
  .rule-row input:focus { outline: none; border-color: var(--primary); box-shadow: var(--shadow-glow); }

  .alert { padding: 10px 14px; border-radius: var(--radius-md); font-size: 13px; line-height: 1.6; margin-bottom: 14px; }
  .alert-info { background: rgba(15, 118, 110, 0.06); border: 1px solid rgba(15, 118, 110, 0.15); color: var(--info); }
  .modal-body { max-height: 60vh; overflow-y: auto; }

  /* ===== 详情 ===== */
  .detail-row { display: flex; padding: 12px 0; border-bottom: 1px solid var(--border-light); }
  .detail-label { width: 120px; font-weight: 500; color: var(--text-secondary); flex-shrink: 0; font-size: 13px; }
  .detail-value { flex: 1; color: var(--text-primary); }

  /* ===== 任务指标管理页面 ===== */
  .target-page { width: 100%; max-width: none; }
  .target-page .stat-card { cursor: default; }
  .target-page .regions-container { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 14px; }
  .target-page .region-tab { padding: 7px 14px; cursor: pointer; color: var(--text-muted); font-size: 13px; border-radius: var(--radius-md); transition: background 0.15s, color 0.15s, border-color 0.15s; border: 1px solid transparent; }
  .target-page .region-tab:hover { background: var(--primary-50); color: var(--text-secondary); }
  .target-page .region-tab.active { background: var(--primary-50); color: var(--primary); font-weight: 500; border-color: var(--primary-200); }
  .target-page .status-tab { border-bottom: 2px solid transparent !important; }
  .target-page .status-tab.active { background: var(--bg-card); color: var(--primary); font-weight: 600; border-bottom-color: var(--primary) !important; }
  .target-page .detail-charts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0; }
  .target-page .detail-chart { background: var(--bg-card); border-radius: var(--radius-lg); padding: 14px; border: 1px solid var(--border); }
  .target-page .detail-chart h4 { font-size: 13px; font-weight: 600; margin-bottom: 10px; color: var(--text-secondary); }
  .target-page .detail-header { display: flex; align-items: center; gap: 18px; padding: 14px; background: var(--bg-card); border-radius: var(--radius-lg); margin-bottom: 18px; border: 1px solid var(--border); }
  .target-page .detail-info { flex: 1; }
  .target-page .detail-name { font-size: 17px; font-weight: 600; color: var(--text-primary); }
  .target-page .detail-region { font-size: 12px; color: var(--text-muted); margin-top: 3px; }
  .target-page .detail-stats { display: flex; gap: 18px; }
  .target-page .detail-stat { text-align: center; min-width: 70px; }
  .target-page .detail-stat-num { font-size: 17px; font-weight: 700; color: var(--text-primary); }
  .target-page .detail-stat-label { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
  .target-page .detail-table { background: var(--bg-card); border-radius: var(--radius-lg); border: 1px solid var(--border); overflow: hidden; }
  .target-page .detail-table h4 { font-size: 13px; font-weight: 600; padding: 10px 14px; border-bottom: 1px solid var(--border); color: var(--text-secondary); }
  .target-page .detail-table table { width: 100%; border-collapse: collapse; font-size: 13px; }
  .target-page .detail-table th { background: var(--bg-page); padding: 9px 12px; text-align: left; font-weight: 500; color: var(--text-secondary); font-size: 12px; }
  .target-page .detail-table td { padding: 9px 12px; border-top: 1px solid var(--border-light); }
  .target-page .form-row { display: flex; gap: 14px; margin-bottom: 14px; }
  .target-page .form-row .form-group { flex: 1; margin-bottom: 0; }
  .target-page .checkbox-group { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px; background: var(--bg-input); border-radius: var(--radius-md); min-height: 40px; }
  .target-page .checkbox-item { display: flex; align-items: center; gap: 5px; padding: 5px 10px; background: var(--bg-card); border-radius: var(--radius-md); cursor: pointer; border: 1px solid var(--border); transition: background 0.15s, color 0.15s, border-color 0.15s; }
  .target-page .checkbox-item:hover { border-color: var(--border-focus); }
  .target-page .checkbox-item input { display: none; }
  .target-page .checkbox-item.checked { background: var(--primary-50); border-color: var(--primary-200); color: var(--primary); }

  /* ===== 排行�===== */
  .rank-list { list-style: none; padding: 0; }
  .rank-item { display: flex; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border-light); }
  .rank-num {
    width: 26px; height: 26px; border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 11px; margin-right: 10px; flex-shrink: 0;
  }
  .rank-1 { background: rgba(217, 119, 6, 0.1); color: var(--accent-amber); }
  .rank-2 { background: rgba(100, 116, 139, 0.08); color: var(--text-muted); }
  .rank-3 { background: rgba(180, 83, 9, 0.1); color: var(--accent-warm); }
  .rank-other { background: rgba(100, 116, 139, 0.04); color: var(--text-muted); }
  .rank-info { flex: 1; }
  .rank-name { font-weight: 500; font-size: 13px; color: var(--text-primary); }
  .rank-sub  { font-size: 11px; color: var(--text-muted); margin-top: 1px; }
  .rank-val  { font-weight: 600; color: var(--primary); font-size: 13px; }

  .progress {
    background: rgba(100, 116, 139, 0.08);
    border-radius: 4px; height: 4px; overflow: hidden; margin-top: 6px;
  }

  .progress-bar {
    height: 100%;
    background: var(--primary);
    border-radius: 4px;
    transition: width 0.5s ease;
  }

  .progress-bar::after { display: none; }

  /* ===== 版本历史 ===== */
  .version-item { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border-light); }
  .version-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); margin-top: 5px; flex-shrink: 0; }
  .version-meta { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
  .version-diff { font-size: 12px; background: var(--bg-page); padding: 6px 10px; border-radius: var(--radius-md); margin-top: 4px; border: 1px solid var(--border-light); }

  /* ===== 收藏 ===== */
  .fav-btn { font-size: 15px; cursor: pointer; color: var(--text-muted); transition: color 0.15s; }
  .fav-btn.active { color: var(--accent-amber); }

  /* ===== 文件上传 ===== */
  .upload-area {
    border: 2px dashed var(--border);
    border-radius: var(--radius-xl);
    padding: 36px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    background: var(--bg-card);
    position: relative;
    overflow: hidden;
  }

  .upload-area::before { display: none; }

  .upload-area:hover {
    border-color: var(--primary);
    background: var(--primary-50);
  }
  .upload-area .icon { font-size: 32px; margin-bottom: 10px; color: var(--text-muted); transition: color 0.2s; }
  .upload-area:hover .icon { color: var(--primary); }
  .upload-area p { color: var(--text-muted); font-size: 13px; }
  .upload-area:hover p { color: var(--text-secondary); }

  /* ===== 分页 ===== */
  .pagination {
    display: flex; gap: 4px; justify-content: flex-end; margin-top: 18px;
    align-items: center; padding: 6px;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-light);
  }

  .page-btn {
    padding: 7px 12px; border: 1px solid var(--border); border-radius: var(--radius-md);
    background: transparent; cursor: pointer; font-size: 13px;
    color: var(--text-secondary); transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast); font-weight: 500;
  }

  .page-btn:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-50); }

  .page-btn.active {
    background: var(--primary); color: white; border-color: transparent;
  }

  /* ===== 话术 ===== */
  .speech-box { background: var(--bg-page); border-radius: var(--radius-md); padding: 14px; font-size: 13px; line-height: 1.7; border: 1px solid var(--border); white-space: pre-wrap; word-break: break-word; position: relative; }
  .speech-box::before { content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 3px; background: var(--accent-teal); border-radius: 3px 0 0 3px; }

  /* ===== Toast ===== */
  #toast {
    position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(16px);
    background: #0c1222; color: #fff; padding: 12px 24px; border-radius: var(--radius-md);
    font-size: 13px; opacity: 0; transition: all 0.2s; z-index: 9999; pointer-events: none;
    box-shadow: var(--shadow-lg);
  }
  #toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

  .tag { display: inline-block; padding: 2px 7px; border-radius: 4px; font-size: 11px; margin: 2px; }
  .tag-blue { background: var(--primary-50); color: var(--primary); }
  .tag-green { background: rgba(22, 163, 74, 0.06); color: var(--success); }
  .tag-amber { background: rgba(217, 119, 6, 0.06); color: var(--accent-warm); }
  .tag-red { background: rgba(220, 38, 38, 0.06); color: var(--danger); }
  .tag-yellow { background: rgba(217, 119, 6, 0.06); color: var(--accent-amber); }

  .page-title {
    font-size: 22px; font-weight: 700; margin-bottom: 20px;
    display: flex; align-items: center; gap: 10px;
    color: var(--text-primary); letter-spacing: -0.3px;
    position: relative; padding-bottom: 14px;
  }

  .page-title::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 32px; height: 2px;
    background: var(--primary);
    border-radius: 1px;
  }

  .divider { border: none; border-top: 1px solid var(--border-light); margin: 18px 0; }

  /* TC 标签样式 */
  .tc-badge { display: inline-block; padding: 2px 7px; border-radius: 4px; font-size: 11px; font-weight: 500; background: rgba(87, 117, 144, 0.06); color: var(--accent-slate); }

  /* ===== 汉堡按钮 ===== */
  .hamburger { display: none; background: none; border: none; color: var(--text-secondary); font-size: 20px; cursor: pointer; padding: 4px 6px; line-height: 1; }

  /* ===== 下拉筛选器(看板) ===== */
  .db-filter-bar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
  .db-filter-item { position: relative; flex: 1; min-width: 130px; max-width: 190px; }
  .db-filter-item input { width: 100%; padding: 7px 10px; border: 1px solid var(--border); border-radius: var(--radius-md); font-size: 13px; outline: none; background: var(--bg-input); color: var(--text-primary); transition: border-color 0.2s, box-shadow 0.2s, background 0.2s; }
  .db-filter-item input:focus { border-color: var(--border-focus); box-shadow: var(--shadow-glow); }
  .db-filter-item input::placeholder { color: var(--text-disabled); }
  .db-filter-dropdown { display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 50; background: #ffffff; border: 1px solid var(--border); border-radius: var(--radius-md); max-height: 220px; overflow-y: auto; margin-top: 3px; box-shadow: var(--shadow-md); }
  .db-filter-dropdown.show { display: block; }
  .db-filter-opt { padding: 7px 10px; cursor: pointer; font-size: 13px; color: var(--text-secondary); transition: background 0.15s, color 0.15s; }
  .db-filter-opt:hover { background: var(--primary-50); color: var(--text-primary); }
  .db-filter-opt.selected { color: var(--primary); background: var(--primary-50); }

  @media (max-width: 768px) {
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
    .form-grid { grid-template-columns: 1fr; }
    .hamburger { display: block; }
    .sidebar { display: block; position: fixed; left: -260px; top: 56px; bottom: 0; width: 230px; z-index: 200; transition: left .2s ease; }
    .sidebar.open { left: 0; box-shadow: 4px 0 20px rgba(0,0,0,0.2); }
    .content { padding: 14px 10px; }
    .modal { width: 95%; max-width: none; padding: 18px; }
    .search-bar input[type="text"] { min-width: 0; width: 100%; }
    .search-bar { flex-direction: column; }
    .search-bar input, .search-bar select { width: 100%; }
    .page-title { font-size: 16px; }
    .btn-group { gap: 5px; }
    .btn { padding: 6px 10px; font-size: 12px; }
    table { font-size: 12px; }
    th, td { padding: 7px 5px; }
    .login-box { width: 92%; padding: 28px 20px; }
    .header-left h1 { font-size: 12px; }
    .db-filter-item { min-width: 90px; }
  }

  /* ===== 客户管理标签页样�===== */
  .tabs {
    display: flex; gap: 4px; margin-bottom: 18px; flex-wrap: wrap;
    padding: 3px; background: var(--bg-input); border-radius: var(--radius-md);
  }
  .tab-btn {
    padding: 7px 16px; border: none; background: transparent; border-radius: 5px;
    cursor: pointer; font-size: 13px; font-weight: 500; color: var(--text-secondary); transition: background 0.15s, color 0.15s;
  }
  .tab-btn:hover { background: var(--bg-card); color: var(--text-primary); }
  .tab-btn.active { background: var(--bg-card); color: var(--primary); box-shadow: var(--shadow-sm); }
  .customer-tab { display: none; }
  .customer-tab:first-child { display: block; }

  /* ===== 航司数据分析专属样式 ===== */
  .analysis-tabs {
    display: flex; gap: 3px; margin-bottom: 18px; background: var(--bg-input);
    border-radius: var(--radius-lg); padding: 3px; flex-wrap: wrap;
  }
  .analysis-tab {
    padding: 7px 14px; border: none; background: transparent; border-radius: var(--radius-md);
    cursor: pointer; font-size: 13px; color: var(--text-secondary); transition: background 0.15s, color 0.15s;
    white-space: nowrap; font-weight: 500;
  }
  .analysis-tab:hover { color: var(--text-primary); background: rgba(255,255,255,0.5); }
  .analysis-tab.active { background: var(--bg-card); color: var(--primary); box-shadow: var(--shadow-sm); font-weight: 600; }
  .analysis-panel { display: none; animation: fadeIn 0.2s ease; }
  .analysis-panel.active { display: block; }
  .analysis-toolbar { display: flex; gap: 10px; margin-bottom: 14px; align-items: center; flex-wrap: wrap; }
  .kpi-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-bottom: 18px; }
  .kpi-card {
    background: var(--bg-card); border-radius: var(--radius-lg); padding: 18px;
    box-shadow: var(--shadow-sm); border: 1px solid var(--border);
    transition: box-shadow 0.15s; position: relative; overflow: hidden;
  }
  .kpi-card:hover { box-shadow: var(--shadow-md); }
  .kpi-card .kpi-label { font-size: 11px; color: var(--text-muted); margin-bottom: 3px; text-transform: uppercase; letter-spacing: 0.5px; }
  .kpi-card .kpi-value { font-size: 26px; font-weight: 700; color: var(--text-primary); margin-bottom: 3px; }
  .kpi-card .kpi-change { font-size: 11px; display: flex; align-items: center; gap: 3px; }
  .kpi-card .kpi-change.up { color: var(--success); }
  .kpi-card .kpi-change.down { color: var(--danger); }
  .kpi-card .kpi-change.neutral { color: var(--text-muted); }
  .kpi-card .kpi-spark { position: absolute; bottom: 0; right: 0; opacity: 0.1; }
  .kpi-card.accent-blue { border-left: 3px solid var(--primary); }
  .kpi-card.accent-green { border-left: 3px solid var(--success); }
  .kpi-card.accent-amber { border-left: 3px solid var(--warning); }
  .kpi-card.accent-purple { border-left: 3px solid var(--accent-slate); }
  .analysis-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
  .analysis-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; margin-bottom: 14px; }
  .analysis-card { background: var(--bg-card); border-radius: var(--radius-lg); padding: 14px; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
  .analysis-card .card-header { font-size: 13px; font-weight: 600; color: var(--text-primary); margin-bottom: 6px; display: flex; align-items: center; gap: 5px; }
  .chart-desc { font-size: 11px; color: var(--text-muted); line-height: 1.5; padding: 5px 10px 8px; background: var(--bg-page); border-radius: 0 0 var(--radius-md) var(--radius-md); border-top: 1px solid var(--border-light); margin: 0 -14px 10px; padding: 6px 14px 8px; }
  .chart-box { width: 100%; min-height: 280px; }
  .data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
  .data-table th { background: var(--bg-input); padding: 9px 10px; text-align: left; font-weight: 600; color: var(--text-secondary); border-bottom: 1px solid var(--border); white-space: nowrap; position: sticky; top: 0; z-index: 1; }
  .data-table td { padding: 8px 10px; border-bottom: 1px solid var(--border-light); color: var(--text-primary); }
  .data-table tbody tr:hover { background: var(--bg-hover); }
  .data-table .text-right { text-align: right; }
  .data-table .text-center { text-align: center; }
  .data-table .trend-up { color: var(--success); }
  .data-table .trend-down { color: var(--danger); }
  .data-table .rank-badge { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; font-size: 11px; font-weight: 700; }
  .data-table .rank-1 { background: rgba(217, 119, 6, 0.12); color: var(--accent-amber); }
  .data-table .rank-2 { background: rgba(100, 116, 139, 0.08); color: var(--text-muted); }
  .data-table .rank-3 { background: rgba(180, 83, 9, 0.1); color: var(--accent-warm); }
  .alert-list { display: flex; flex-direction: column; gap: 6px; max-height: 340px; overflow-y: auto; }
  .alert-item { padding: 10px; border-radius: var(--radius-md); border-left: 3px solid; display: flex; justify-content: space-between; align-items: flex-start; gap: 6px; }
  .alert-item.level-danger { background: rgba(220, 38, 38, 0.04); border-color: var(--danger); }
  .alert-item.level-warning { background: rgba(217, 119, 6, 0.04); border-color: var(--warning); }
  .alert-item.level-info { background: rgba(15, 118, 110, 0.04); border-color: var(--info); }
  .alert-item .alert-title { font-weight: 600; font-size: 13px; color: var(--text-primary); }
  .alert-item .alert-desc { font-size: 12px; color: var(--text-secondary); margin-top: 1px; }
  .alert-item .alert-badge { font-size: 10px; padding: 2px 7px; border-radius: var(--radius-full); font-weight: 600; white-space: nowrap; }
  .alert-item .alert-badge.danger { background: var(--danger); color: #fff; }
  .alert-item .alert-badge.warning { background: var(--warning); color: #fff; }
  .alert-item .alert-badge.info { background: var(--info); color: #fff; }
  .alert-detailed-list { display: flex; flex-direction: column; gap: 8px; max-height: 400px; overflow-y: auto; }
  .alert-rules-box { font-size: 13px; line-height: 1.7; color: var(--text-secondary); }
  .alert-rules-box .rule-item { padding: 6px 0; border-bottom: 1px solid var(--border-light); }
  .alert-rules-box .rule-item:last-child { border-bottom: none; }
  .alert-rules-box .rule-icon { margin-right: 5px; }
  .btn-sm:hover { background: var(--bg-hover); }

  @media (max-width: 1024px) {
    .analysis-grid-2, .analysis-grid-3 { grid-template-columns: 1fr; }
    .kpi-cards { grid-template-columns: repeat(2, 1fr); }
    .analysis-tabs { overflow-x: auto; flex-wrap: nowrap; }
  }
  @media (max-width: 640px) {
    .kpi-cards { grid-template-columns: 1fr; }
  }

/* ============================================================
   AI 动画小鸡助手
   ============================================================ */

/* ---- 浮动按钮容器 ---- */
#aiFloatBtn {
  position: fixed; bottom: 24px; right: 24px;
  width: 64px; height: 64px;
  cursor: pointer;
  z-index: 9000;
  display: flex; align-items: center; justify-content: center;
  overflow: visible !important;
  border-radius: 50%;
  background: linear-gradient(135deg, #0f766e 0%, #0d9488 50%, #14b8a6 100%);
  box-shadow:
    0 4px 20px rgba(15,118,110,0.4),
    0 0 0 0 rgba(15,118,110,0.3);
  animation: planePulse 3s ease-in-out infinite;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* 呼吸光圈 */
#aiFloatBtn::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid rgba(15,118,110,0.2);
  animation: planeRing 3s ease-in-out infinite;
}

/* 外圈扩散 */
#aiFloatBtn::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(15,118,110,0.1);
  animation: planeRingOuter 3s ease-in-out infinite 0.5s;
}

#aiFloatBtn:hover {
  transform: translateY(-6px) scale(1.1);
  box-shadow:
    0 12px 36px rgba(15,118,110,0.5),
    0 0 0 8px rgba(15,118,110,0.08);
  animation: none;
}

#aiFloatBtn:hover .plane-icon {
  animation: planeTakeoff 0.6s ease forwards;
}

#aiFloatBtn:active {
  transform: translateY(-2px) scale(0.95);
}

/* ---- 飞机图标 ---- */
.plane-icon {
  font-size: 28px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
  transition: transform 0.3s ease;
  line-height: 1;
}

/* ---- 尾迹粒子 ---- */
.plane-trail {
  position: absolute;
  bottom: 8px; left: 8px;
  width: 4px; height: 4px;
  background: rgba(255,255,255,0.6);
  border-radius: 50%;
  animation: trailFade 2s ease-in-out infinite;
}

.plane-trail:nth-child(2) {
  bottom: 14px; left: 4px;
  width: 3px; height: 3px;
  animation-delay: 0.3s;
  opacity: 0.4;
}

.plane-trail:nth-child(3) {
  bottom: 20px; left: 2px;
  width: 2px; height: 2px;
  animation-delay: 0.6s;
  opacity: 0.2;
}

/* ---- 对话中状态 ---- */
#aiFloatBtn.chatting {
  animation: planeActive 1.5s ease-in-out infinite;
}

/* ---- 通知红点 ---- */
.plane-badge {
  position: absolute;
  top: -2px; right: -2px;
  background: #ef4444;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px; height: 18px;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 5px;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(239,68,68,0.3);
  animation: planeBadgePop 0.4s cubic-bezier(0.34,1.56,0.64,1);
}

/* ---- 对话窗标题头像 ---- */
.plane-chat-header {
  display: flex; align-items: center; gap: 10px;
}

.plane-chat-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0f766e, #14b8a6);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  box-shadow: 0 2px 8px rgba(15,118,110,0.3);
}

/* ============================================================
   飞机助手动画
   ============================================================ */

/* 呼吸浮动 */
@keyframes planePulse {
  0%, 100% { 
    transform: translateY(0);
    box-shadow: 0 4px 20px rgba(15,118,110,0.4), 0 0 0 0 rgba(15,118,110,0.3);
  }
  50% { 
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(15,118,110,0.5), 0 0 0 6px rgba(15,118,110,0.08);
  }
}

/* 光圈呼吸 */
@keyframes planeRing {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes planeRingOuter {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.15); opacity: 0.6; }
}

/* 悬停起飞 */
@keyframes planeTakeoff {
  0% { transform: rotate(0deg) scale(1); }
  30% { transform: rotate(-15deg) scale(1.2) translateY(-4px); }
  60% { transform: rotate(-10deg) scale(1.15) translateY(-2px); }
  100% { transform: rotate(-12deg) scale(1.1) translateY(-3px); }
}

/* 尾迹消散 */
@keyframes trailFade {
  0%, 100% { opacity: 0; transform: scale(0); }
  20% { opacity: 0.8; transform: scale(1.2); }
  80% { opacity: 0.2; transform: scale(0.6); }
}

/* 对话中微动 */
@keyframes planeActive {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-2px) rotate(-3deg); }
  75% { transform: translateY(-1px) rotate(3deg); }
}

/* 红点弹出 */
@keyframes planeBadgePop {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.3); }
  100% { transform: scale(1); opacity: 1; }
}

/* 响应式：小屏缩小 */
@media (max-width: 640px) {
  #aiFloatBtn {
    width: 52px; height: 52px;
    bottom: 16px; right: 16px;
  }
  .plane-icon { font-size: 22px; }
}
  .chick-comb::before { width: 7px; height: 10px; }
  .chick-comb::after { width: 7px; height: 7px; }
  #aiChatWindow { width: 100vw; height: 100vh; bottom: 0; right: 0; border-radius: 0; }
}
