/* ==================== 全局样式 ==================== */
:root {
    --primary-gradient: linear-gradient(135deg, #0062f2 0%, #00bdff 100%);
    --secondary-gradient: linear-gradient(135deg, #00bdff 0%, #00e5ff 100%);
    --primary-color: #0062f2;
    --primary-hover: #0050c8;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --info-color: #3b82f6;
    
    /* 浅色主题配色 */
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.9);
    --bg-card-hover: rgba(255, 255, 255, 1);
    --bg-input: #f1f5f9;
    --bg-input-hover: #e2e8f0;
    
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    
    --border-color: #e2e8f0;
    --border-color-hover: #cbd5e1;
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 40px rgba(0, 98, 242, 0.2);
    
    /* 侧边栏尺寸 */
    --sidebar-width: 240px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ==================== 整体布局 ==================== */
.app-layout {
    display: flex;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

/* ==================== 左侧导航栏 ==================== */
.sidebar {
    width: var(--sidebar-width);
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 100;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.04);
}

.sidebar-header {
    padding: 24px 20px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-header .logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-title {
    font-size: 1.25rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sidebar-nav {
    flex: 1;
    padding: 16px 12px;
    overflow-y: auto;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 16px;
    background: transparent;
    border: none;
    border-radius: 12px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 4px;
    text-align: left;
}

.nav-item svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.nav-item:hover {
    background: var(--bg-input);
    color: var(--text-primary);
}

.nav-item.active {
    background: rgba(0, 98, 242, 0.08);
    color: var(--primary-color);
    box-shadow: none;
    border-left: 3px solid var(--primary-color);
    padding-left: 13px; /* 补偿 border-left 的 3px */
}

.nav-item {
    border-left: 3px solid transparent;
}

.sidebar-footer {
    padding: 16px 12px;
    border-top: 1px solid var(--border-color);
}

.sidebar-footer .admin-link {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 16px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-muted);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sidebar-footer .admin-link svg {
    width: 18px;
    height: 18px;
}

.sidebar-footer .admin-link:hover {
    background: var(--bg-input);
    border-color: var(--border-color-hover);
    color: var(--text-primary);
}

/* ==================== 右侧内容区域 ==================== */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    padding: 0;
}

.content-section {
    display: none;
    padding: 32px 40px;
    animation: fadeIn 0.3s ease;
}

.content-section.active {
    display: block;
}

.section-header {
    margin-bottom: 32px;
    animation: fadeInDown 0.6s ease-out;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 1.3em;
    background: var(--primary-gradient);
    border-radius: 2px;
    flex-shrink: 0;
}

.section-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
    text-align: left;
}

/* ==================== 占位区域 ==================== */
.section-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    color: var(--text-muted);
    background: var(--bg-secondary);
    border: 2px dashed var(--border-color);
    border-radius: 20px;
    padding: 40px;
}

.section-placeholder svg {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    opacity: 0.4;
}

.section-placeholder p {
    font-size: 1.1rem;
}

/* ==================== 首页样式 ==================== */
.home-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.quick-entry {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.quick-entry-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.quick-entry-card:hover {
    border-color: var(--border-color-hover);
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.quick-entry-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    background: var(--primary-gradient);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.quick-entry-card:hover .quick-entry-icon {
    transform: scale(1.1);
}

.quick-entry-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.quick-entry-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.quick-entry-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.home-section {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.home-section-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.ongoing-projects {
    display: grid;
    gap: 15px;
}

.ongoing-project-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.ongoing-project-card:hover {
    border-color: var(--border-color-hover);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.ongoing-project-status {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--success-color);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.ongoing-project-info {
    flex: 1;
}

.ongoing-project-title {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 4px;
}

.ongoing-project-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.ongoing-project-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ongoing-project-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 10px;
    color: white;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.ongoing-project-btn:hover {
    transform: translateY(-2px);
}

.ongoing-project-btn svg {
    width: 14px;
    height: 14px;
}

.ongoing-project-btn.website-btn {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
}

.ongoing-project-btn.website-btn:hover {
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.ongoing-project-btn.guide-btn {
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
}

.ongoing-project-btn.guide-btn:hover {
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.ongoing-project-btn.dingtalk-btn {
    background: linear-gradient(135deg, #0089ff 0%, #00c6ff 100%);
}

.ongoing-project-btn.dingtalk-btn:hover {
    box-shadow: 0 4px 12px rgba(0, 137, 255, 0.4);
}

.ongoing-project-btn.detail-btn {
    background: linear-gradient(135deg, #0062f2, #00bdff);
    padding: 8px 20px;
}

.ongoing-project-btn.detail-btn:hover {
    box-shadow: 0 4px 12px rgba(0, 98, 242, 0.4);
}

.ongoing-project-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 20px;
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.ongoing-project-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 98, 242, 0.4);
}

.ongoing-project-link svg {
    width: 14px;
    height: 14px;
}

/* 申报网站链接样式 */
.website-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.website-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.website-btn svg {
    width: 14px;
    height: 14px;
}

/* 政策文件瀑布流卡片样式 */
.policy-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
}

.policy-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: fit-content;
}

.policy-item:hover {
    border-color: var(--border-color-hover);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.policy-item-tags {
    display: flex;
    gap: 8px;
    padding: 15px 20px 0;
    flex-wrap: wrap;
}

.policy-item-header {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px 20px 15px;
}

.policy-item-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.policy-item-content {
    padding: 0 20px 15px;
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
    white-space: pre-line;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.policy-item-footer {
    padding: 12px 20px 20px;
    margin-top: auto;
}

.policy-item-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.policy-item-link:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 98, 242, 0.3);
}

.policy-item-link svg {
    width: 16px;
    height: 16px;
}

/* 常见问题样式 */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--border-color-hover);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.faq-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    cursor: pointer;
}

.faq-item-question {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
}

.faq-item-answer {
    padding: 0 25px 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    white-space: pre-line;
}

.faq-item-answer {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

/* ==================== 小专业建议样式 ==================== */

.suggestion-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.suggestion-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
}

.suggestion-item:hover {
    border-color: var(--border-color-hover);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.suggestion-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.suggestion-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.suggestion-position {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.suggestion-center {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.suggestion-status {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.status-pending {
    background: #fff3e0;
    color: #e65100;
}

.status-ongoing {
    background: #e3f2fd;
    color: #1565c0;
}

.status-completed {
    background: #e8f5e9;
    color: #2e7d32;
}

.suggestion-advice {
    margin-bottom: 15px;
}

.suggestion-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.suggestion-content {
    font-size: 0.9rem;
    color: var(--text-primary);
    line-height: 1.6;
    white-space: pre-line;
}

.suggestion-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.suggestion-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.suggestion-link:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 98, 242, 0.3);
}

.suggestion-link svg {
    width: 16px;
    height: 16px;
}

/* 管理后台小专业建议卡片样式 */
.suggestion-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.suggestion-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.suggestion-card-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.suggestion-card-center {
    font-weight: 600;
    color: var(--text-primary);
}

.suggestion-card-position {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.suggestion-card-status {
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 500;
}

.suggestion-card-advice {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
}

.suggestion-card-links {
    display: flex;
    gap: 8px;
}

.link-badge {
    padding: 3px 8px;
    background: var(--bg-input);
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.suggestion-card-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    margin-top: 8px;
}

@media (max-width: 768px) {
    .suggestion-list {
        grid-template-columns: 1fr;
    }
    
    .suggestion-item {
        padding: 16px;
    }
    
    .suggestion-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .suggestion-status {
        align-self: flex-start;
    }
}

/* ==================== 背景动画 ==================== */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.bg-svg {
    width: 100%;
    height: 100%;
}

.floating-circle {
    animation: float 20s ease-in-out infinite;
}

.c1 {
    animation-delay: 0s;
}

.c2 {
    animation-delay: -5s;
    animation-duration: 25s;
}

.c3 {
    animation-delay: -10s;
    animation-duration: 30s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(50px, -50px) scale(1.1);
    }
    50% {
        transform: translate(-30px, 30px) scale(0.95);
    }
    75% {
        transform: translate(-50px, -30px) scale(1.05);
    }
}

/* ==================== 主容器 ==================== */
.main-container {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 100vh;
}

/* ==================== 头部样式 ==================== */
.header {
    text-align: center;
    padding: 20px 0 30px;
    animation: fadeInDown 0.8s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-5px) rotate(5deg);
    }
}

.title {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

.subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* ==================== 切换标签 ==================== */
.channel-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.tab-btn:hover {
    background: var(--bg-input);
    border-color: var(--border-color-hover);
    transform: translateY(-2px);
}

.tab-btn.active {
    background: var(--primary-gradient);
    border-color: transparent;
    color: white;
    box-shadow: var(--shadow-glow);
}

.tab-icon {
    width: 24px;
    height: 24px;
}

.tab-icon svg {
    width: 100%;
    height: 100%;
}

/* ==================== 时间轴容器 ==================== */
.timeline-wrapper {
    position: relative;
    padding: 20px 0 80px;
}

.timeline-container {
    position: relative;
    animation: fadeIn 0.8s ease-out;
}

.timeline-container.hidden,
.years-container.hidden {
    display: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 100px;
    height: 100%;
    pointer-events: none;
}

.timeline-svg {
    width: 100%;
    height: 100%;
}

.timeline-path {
    animation: drawLine 2s ease-out forwards;
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

.timeline-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 0 20px;
}

/* ==================== 时间轴项目 ==================== */
.timeline-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 30px;
    animation: slideIn 0.6s ease-out both;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.timeline-item:nth-child(even) {
    animation-name: slideInRight;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.timeline-node {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 3px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    z-index: 10;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.timeline-node::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    animation: pulse 2s ease-in-out infinite;
    opacity: 0;
}

.timeline-item:hover .timeline-node::before {
    opacity: 0.2;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.2;
    }
    50% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.timeline-node.status-pending {
    border-color: var(--text-muted);
    color: var(--text-muted);
}

.timeline-node.status-ongoing {
    border-color: var(--success-color);
    color: var(--success-color);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.timeline-node.status-paused {
    border-color: var(--info-color);
    color: var(--info-color);
}

.timeline-node.status-completed {
    border-color: var(--danger-color);
    color: var(--danger-color);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
}

.timeline-content {
    flex: 1;
    max-width: calc(50% - 60px);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 25px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.timeline-content:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-color-hover);
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.timeline-month {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.timeline-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.timeline-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.timeline-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
}

.timeline-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    flex-shrink: 0;
}

.timeline-status.status-pending {
    background: #f1f5f9;
    color: var(--text-muted);
}

.timeline-status.status-ongoing {
    background: #d1fae5;
    color: var(--success-color);
}

.timeline-status.status-paused {
    background: #dbeafe;
    color: var(--info-color);
}

.timeline-status.status-completed {
    background: #fee2e2;
    color: var(--danger-color);
}

.timeline-status::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.steps-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
    font-family: inherit;
}

.steps-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.steps-btn svg {
    width: 14px;
    height: 14px;
}

.timeline-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.guide-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    background: linear-gradient(135deg, #0062f2 0%, #00bdff 100%);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 98, 242, 0.3);
}

.guide-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 98, 242, 0.4);
}

.guide-btn svg {
    width: 14px;
    height: 14px;
}

.dingtalk-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    background: linear-gradient(135deg, #0089ff 0%, #00c6ff 100%);
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 137, 255, 0.3);
}

.dingtalk-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 137, 255, 0.4);
}

.dingtalk-btn svg {
    width: 14px;
    height: 14px;
}

/* ==================== 管理后台入口 ==================== */
.admin-link-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
    animation: fadeIn 1s ease-out 1s both;
}

.admin-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 50%;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.5;
}

.admin-link:hover {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    opacity: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.admin-link svg {
    width: 18px;
    height: 18px;
}

/* ==================== 弹窗样式 ==================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    visibility: visible;
    opacity: 1;
}

.modal-container {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    width: 100%;
    max-width: 450px;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.15);
}

.modal-overlay.active .modal-container {
    transform: scale(1);
}

.detail-modal {
    max-width: 700px;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 30px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

.modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-input);
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #fee2e2;
    color: var(--danger-color);
}

.modal-close svg {
    width: 18px;
    height: 18px;
}

.modal-body {
    padding: 30px;
}

.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-field {
    width: 100%;
    padding: 16px 20px 16px 50px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-field:focus {
    outline: none;
    border-color: #0062f2;
    background: var(--bg-secondary);
    box-shadow: 0 0 0 3px rgba(0, 98, 242, 0.1);
}

.input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

.input-icon svg {
    width: 20px;
    height: 20px;
}

.btn-primary {
    width: 100%;
    padding: 16px;
    background: var(--primary-gradient);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-primary svg {
    width: 18px;
    height: 18px;
}

.error-message {
    color: var(--danger-color);
    font-size: 0.875rem;
    margin-top: 15px;
    text-align: center;
}

/* ==================== 步骤容器 ==================== */
/* 弹窗操作按钮区域 */
.detail-actions {
    margin-bottom: 20px;
}

.detail-actions-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.detail-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.detail-action-btn svg {
    width: 18px;
    height: 18px;
}

.detail-action-btn.website-btn {
    background: linear-gradient(135deg, #0062f2, #00bdff);
    color: white;
}

.detail-action-btn.website-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 98, 242, 0.3);
}

.detail-action-btn.guide-btn {
    background: linear-gradient(135deg, #f093fb, #667eea);
    color: white;
}

.detail-action-btn.guide-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.detail-action-btn.dingtalk-btn {
    background: linear-gradient(135deg, #0089ff, #00c6ff);
    color: white;
}

.detail-action-btn.dingtalk-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 137, 255, 0.3);
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 10px;
}

.steps-container::-webkit-scrollbar {
    width: 6px;
}

.steps-container::-webkit-scrollbar-track {
    background: var(--bg-card);
    border-radius: 3px;
}

.steps-container::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.3s ease;
    animation: fadeInUp 0.5s ease-out both;
}

.step-item:hover {
    background: var(--bg-secondary);
    border-color: var(--border-color-hover);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.step-number {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.step-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-deadline {
    color: var(--danger-color);
    font-size: 0.8rem;
    font-weight: 500;
    margin: 8px 0 0 0;
}

.step-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-top: 10px;
}

/* ==================== 管理后台子区域 ==================== */
.admin-subsection {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.admin-subsection .section-header {
    margin-bottom: 20px;
}

/* 政策文件和FAQ列表 */
.policies-list, .faqs-list {
    display: grid;
    gap: 15px;
}

.policy-card, .faq-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.policy-card:hover, .faq-card:hover {
    border-color: var(--border-color-hover);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.policy-card-info, .faq-card-info {
    flex: 1;
}

.policy-card-title, .faq-card-question {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.policy-card-content, .faq-card-answer {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.policy-card-url {
    font-size: 0.8rem;
    color: #0062f2;
    margin-top: 8px;
    word-break: break-all;
}

.policy-card-actions, .faq-card-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

/* 筛选栏样式 */
.filter-bar {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.filter-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
}

.filter-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 6px 16px;
    border: none;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    background: #f0f0f0;
    color: #888;
}

.filter-btn:hover {
    opacity: 0.85;
}

/* 全部按钮 - 深灰色，对比度明显 */
.filter-btn-all.active {
    background: #475569;
    color: white;
}

/* 省通道按钮 - 蓝色 */
.filter-btn-province.active {
    background: #e3f2fd;
    color: #1565c0;
}

/* 国网通道按钮 - 绿色 */
.filter-btn-national.active {
    background: #e8f5e9;
    color: #2e7d32;
}

/* 政策文件按钮 - 橙色 */
.filter-btn-policy.active {
    background: #fff3e0;
    color: #e65100;
}

/* 资格条件按钮 - 粉色 */
.filter-btn-qualification.active {
    background: #fce4ec;
    color: #c2185b;
}

/* 旧的下拉框样式保留给管理后台使用 */
.filter-select {
    padding: 8px 30px 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: white;
    font-size: 0.9rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.filter-select:hover {
    border-color: #0062f2;
}

.filter-select:focus {
    outline: none;
    border-color: #0062f2;
    box-shadow: 0 0 0 3px rgba(0, 98, 242, 0.1);
}

/* 政策文件标签样式 */
.policy-card-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.policy-tag {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.tag-all {
    background: #f0f0f0;
    color: #666;
}

.tag-province {
    background: #e3f2fd;
    color: #1565c0;
}

.tag-national {
    background: #e8f5e9;
    color: #2e7d32;
}

.tag-policy {
    background: #fff3e0;
    color: #e65100;
}

.tag-qualification {
    background: #fce4ec;
    color: #c2185b;
}

/* ==================== 管理后台样式 ==================== */
.admin-body {
    background: var(--bg-primary);
}

.admin-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
}

.admin-header {
    padding: 30px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 30px;
}

.admin-header .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-logout {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-logout:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
    color: #ef4444;
}

.btn-logout svg {
    width: 16px;
    height: 16px;
}

.back-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: var(--text-primary);
}

.back-link svg {
    width: 18px;
    height: 18px;
}

.admin-content {
    animation: fadeInUp 0.8s ease-out;
}

.channel-selector {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.selector-group {
    flex: 1;
    min-width: 200px;
}

.selector-group label {
    display: block;
    margin-bottom: 10px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.selector-group select {
    width: 100%;
    padding: 14px 20px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 18px;
    transition: all 0.3s ease;
}

.selector-group select:focus {
    outline: none;
    border-color: #0062f2;
    background-color: var(--bg-secondary);
}

.steps-management {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    min-height: 400px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 300px;
    color: var(--text-muted);
}

.empty-state svg {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state p {
    font-size: 1rem;
}

/* ==================== 步骤管理项 ==================== */
.step-manage-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.step-manage-item:hover {
    border-color: var(--border-color-hover);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.step-manage-number {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.step-manage-content {
    flex: 1;
}

.step-manage-title {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 5px;
}

.step-manage-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.step-manage-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.status-btn {
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
}

.status-btn.pending {
    border-color: #cbd5e1;
    color: var(--text-muted);
}

.status-btn.pending.active,
.status-btn.pending:hover {
    background: #94a3b8;
    color: white;
}

.status-btn.ongoing {
    border-color: #34d399;
    color: var(--success-color);
}

.status-btn.ongoing.active,
.status-btn.ongoing:hover {
    background: var(--success-color);
    color: white;
}

.status-btn.completed {
    border-color: #f87171;
    color: var(--danger-color);
}

.status-btn.completed.active,
.status-btn.completed:hover {
    background: var(--danger-color);
    color: white;
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 1024px) {
    .sidebar {
        width: 200px;
    }
    
    .main-content {
        margin-left: 200px;
    }
    
    .content-section {
        padding: 24px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .timeline-item,
    .timeline-item:nth-child(odd) {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 80px;
    }
    
    .timeline-node {
        left: 20px;
    }
    
    .timeline-content {
        max-width: 100%;
        width: 100%;
    }
    
    .timeline-line {
        left: 20px;
        transform: translateX(0);
    }
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        width: 260px;
        transition: transform 0.3s ease;
    }
    
    .sidebar.open {
        transform: translateX(0);
    }
    
    .logo-icon {
        display: none;
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .content-section {
        padding: 16px;
        padding-top: 72px; /* 为移动端顶部导航栏留出空间 */
    }
    
    .section-header {
        margin-bottom: 20px;
    }
    
    .section-title {
        font-size: 1.35rem;
    }
    
    .section-subtitle {
        font-size: 0.8rem;
    }
    
    .title {
        font-size: 1.75rem;
    }
    
    .subtitle {
        font-size: 0.75rem;
        letter-spacing: 2px;
    }
    
    .channel-tabs {
        flex-direction: row;
        gap: 10px;
    }
    
    .tab-btn {
        flex: 1;
        justify-content: center;
        padding: 12px 16px;
        font-size: 0.85rem;
    }
    
    .tab-icon {
        width: 20px;
        height: 20px;
    }
    
    .header {
        padding: 40px 10px 30px;
    }
    
    .main-container {
        padding: 10px;
    }
    
    /* 首页样式优化 */
    .home-content {
        gap: 20px;
    }
    
    /* 快捷入口两行布局 */
    .quick-entry {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        padding: 4px 0;
    }
    
    .quick-entry-card {
        padding: 16px 10px;
        border-radius: 14px;
    }
    
    /* 第4、5个卡片左对齐 */
    
    .quick-entry-icon {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        margin-bottom: 10px;
    }
    
    .quick-entry-icon svg {
        width: 22px;
        height: 22px;
    }
    
    .quick-entry-card h3 {
        font-size: 0.85rem;
        margin-bottom: 0;
    }
    
    .quick-entry-card p {
        display: none;
    }
    
    .home-section {
        padding: 20px;
        border-radius: 16px;
    }
    
    .home-section-title {
        font-size: 1.1rem;
        margin-bottom: 16px;
    }
    
    /* 进行中项目卡片优化 */
    .ongoing-project-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 16px;
    }
    
    .ongoing-project-status {
        position: absolute;
        top: 16px;
        right: 16px;
    }
    
    .ongoing-project-info {
        width: 100%;
        padding-right: 20px;
    }
    
    .ongoing-project-title {
        font-size: 0.95rem;
    }
    
    .ongoing-project-desc {
        font-size: 0.8rem;
    }
    
    .ongoing-project-actions {
        width: 100%;
        justify-content: flex-start;
    }
    
    .ongoing-project-btn {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
    
    /* 手机端时间轴优化 - 左侧直线 */
    .timeline-items {
        padding: 0 10px;
        padding-left: 0;
    }
    
    .timeline-item,
    .timeline-item:nth-child(odd) {
        flex-direction: row;
        padding-left: 50px;
        padding-right: 5px;
        gap: 15px;
    }
    
    .timeline-node {
        width: 40px;
        height: 40px;
        font-size: 0.85rem;
        left: 5px;
        position: absolute;
        transform: none;
    }
    
    /* 手机端隐藏时间轴线 */
    .timeline-line {
        display: none;
    }
    
    .timeline-content {
        padding: 15px;
        width: 100%;
    }
    
    .timeline-title {
        font-size: 1rem;
    }
    
    .timeline-desc {
        font-size: 0.8rem;
    }
    
    .timeline-actions {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
    }
    
    .timeline-status,
    .guide-btn, .dingtalk-btn, .steps-btn, .website-btn {
        font-size: 0.7rem;
        padding: 5px 10px;
        white-space: nowrap;
    }
    
    .admin-link-container {
        bottom: 15px;
        right: 15px;
    }
    
    .admin-link {
        width: 32px;
        height: 32px;
    }
    
    .admin-link svg {
        width: 16px;
        height: 16px;
    }
    
    .modal-container {
        margin: 10px;
        max-width: calc(100% - 20px);
    }
    
    .modal-header {
        padding: 18px;
    }
    
    .modal-header h3 {
        font-size: 1.1rem;
    }
    
    .modal-body {
        padding: 18px;
    }
    
    .step-item {
        padding: 14px;
        gap: 12px;
    }
    
    .step-number {
        width: 32px;
        height: 32px;
        min-width: 32px;
        font-size: 0.8rem;
    }
    
    .step-title {
        font-size: 0.95rem;
    }
    
    .step-desc {
        font-size: 0.8rem;
    }
    
    .admin-header .header-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .channel-selector {
        flex-direction: column;
    }
    
    .step-manage-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .step-manage-actions {
        width: 100%;
        justify-content: flex-start;
    }
    
    /* 政策文件和FAQ移动端优化 */
    .policy-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .policy-item-header, .faq-item-header {
        padding: 16px;
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .policy-item-title, .faq-item-question {
        font-size: 0.9rem;
    }
    
    .policy-item-content, .faq-item-answer {
        padding: 0 16px 16px;
        font-size: 0.85rem;
    }
    
    /* 年限图表移动端优化 */
    .years-chart {
        padding: 20px 15px;
        margin: 0 -16px;
        border-radius: 0;
        width: calc(100% + 32px);
    }
    
    .chart-legend {
        padding: 15px;
        margin: 0 -16px;
        border-radius: 0;
        width: calc(100% + 32px);
    }
    
    .legend-example {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}



@media (max-width: 480px) {
    .logo-section {
        flex-direction: column;
        text-align: center;
    }
    
    .title {
        font-size: 1.5rem;
    }
    
    /* 政策文件卡片手机端单列 */
    .policy-list {
        grid-template-columns: 1fr;
    }
    
    /* 筛选栏移动端优化 */
    .filter-bar {
        flex-direction: column;
        gap: 12px;
        padding: 12px 16px;
    }
    
    .filter-group {
        width: 100%;
    }
    
    .filter-btn {
        padding: 5px 12px;
        font-size: 0.8rem;
    }
    
    /* 快捷入口小屏优化 */
    .quick-entry {
        gap: 10px;
    }
    
    .quick-entry-card {
        padding: 14px 8px;
        border-radius: 12px;
    }
    
    .quick-entry-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        margin-bottom: 8px;
    }
    
    .quick-entry-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .quick-entry-card h3 {
        font-size: 0.75rem;
    }
    
    .content-section {
        padding: 12px;
        padding-top: 66px;
    }
    
    .section-title {
        font-size: 1.2rem;
    }
    
    .timeline-node {
        width: 40px;
        height: 40px;
        font-size: 0.875rem;
    }
    
    .timeline-title {
        font-size: 1.1rem;
    }
    
    .step-number {
        width: 30px;
        height: 30px;
        min-width: 30px;
        font-size: 0.75rem;
    }
    
    .home-section {
        padding: 16px;
    }
    
    .home-section-title {
        font-size: 1rem;
    }
    
    .ongoing-project-card {
        padding: 14px;
    }
    
    .ongoing-project-title {
        font-size: 0.9rem;
    }
    
    /* 年限试算器优化 */
    .calculator-card {
        padding: 16px 12px;
        border-radius: 16px;
    }
    
    .calculator-header {
        margin-bottom: 20px;
        padding-bottom: 12px;
    }
    
    .calculator-header h3 {
        font-size: 1.1rem;
    }
    
    .calculator-form {
        gap: 14px;
    }
    
    .form-label {
        font-size: 0.85rem;
    }
    
    .calculator-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .result-item {
        padding: 12px;
    }
    
    .result-title {
        font-size: 0.75rem;
    }
    
    .result-main {
        font-size: 0.9rem;
    }
    
    .result-note {
        font-size: 0.75rem;
    }
}

/* ==================== 加载动画 ==================== */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top-color: #0062f2;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ==================== 保存成功提示 ==================== */
.toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--success-color);
    color: white;
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 500;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2000;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast.error {
    background: var(--danger-color);
}

.toast.warning {
    background: var(--warning-color);
}

/* ==================== 管理后台标签页 ==================== */
.admin-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.admin-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.admin-tab:hover {
    background: var(--bg-input);
    border-color: var(--border-color-hover);
}

.admin-tab.active {
    background: var(--primary-gradient);
    border-color: transparent;
    color: white;
}

.admin-tab svg {
    width: 20px;
    height: 20px;
}

/* ==================== 内容区域 ==================== */
.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

/* ==================== 申报年限版块 ==================== */
.years-wrapper {
    position: relative;
    width: 100%;
}

.years-container {
    animation: fadeIn 0.5s ease-out;
}

.years-chart {
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 40px 30px;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.02);
    margin-bottom: 25px;
    overflow-x: auto;
}

.chart-header {
    display: flex;
    margin-bottom: 40px;
    position: relative;
    padding-left: 140px;
    min-width: 600px;
}

.chart-col-title {
    flex: 1;
    flex-basis: 0;
    text-align: center;
    font-weight: 600;
    color: var(--text-primary);
    position: relative;
    font-size: 0.95rem;
}

.chart-col-title::after {
    content: '';
    position: absolute;
    top: 35px;
    bottom: -400px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    background: repeating-linear-gradient(to bottom, var(--border-color) 0, var(--border-color) 4px, transparent 4px, transparent 10px);
    z-index: 1;
    opacity: 0.6;
}

.chart-row {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
    min-width: 600px;
}

.chart-row:last-child {
    margin-bottom: 20px;
}

.chart-row-title {
    width: 140px;
    min-width: 140px;
    font-weight: 600;
    color: var(--text-primary);
    padding-right: 25px;
    text-align: right;
    font-size: 1rem;
}

.chart-track {
    flex: 1;
    position: relative;
    height: 12px;
    background: var(--bg-input);
    border-radius: 6px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
    z-index: 2;
}

.chart-node {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 4;
}

.node-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--bg-secondary);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.chart-row:hover .node-dot {
    transform: scale(1.15);
}

.node-green .node-dot {
    border-color: #10b981;
}

.node-blue .node-dot {
    border-color: #0088ff;
}

.node-label {
    position: absolute;
    white-space: nowrap;
    font-size: 0.75rem;
    font-weight: 500;
    color: white;
    background: var(--text-primary);
    padding: 6px 12px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    opacity: 0.9;
    transition: opacity 0.3s;
}

.chart-row:hover .node-label {
    opacity: 1;
}

.node-label::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 4px 4px 0;
    border-style: solid;
    border-color: var(--text-primary) transparent transparent transparent;
}

.node-label.top {
    bottom: 28px;
}

.chart-line {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 12px;
    border-radius: 6px;
    background: var(--primary-gradient);
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 98, 242, 0.2);
}

.chart-line::after {
    display: none; /* Remove old arrows */
}

.line-label {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 4px;
    color: var(--text-primary);
    font-size: 0.8rem;
    font-weight: 600;
    text-shadow: none;
    z-index: 5;
    background: transparent;
    padding: 0;
    letter-spacing: 1px;
    white-space: nowrap;
}

.line-dashed {
    background: repeating-linear-gradient(
        45deg,
        #f59e0b,
        #f59e0b 10px,
        #fbbf24 10px,
        #fbbf24 20px
    );
    border-top: none;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.2);
}

.line-orange .line-label {
    background: transparent;
    color: var(--warning-color);
}

.orange-arrow {
    display: none; /* Removed */
}

.chart-legend {
    background: var(--bg-input);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.legend-note {
    margin-bottom: 8px;
    line-height: 1.5;
}

.legend-example {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background: var(--bg-secondary);
    border-radius: 8px;
    border: 1px dashed var(--border-color-hover);
    flex-wrap: wrap;
    gap: 15px;
}

.highlight-red {
    color: #ef4444;
}

.legend-dots {
    display: flex;
    align-items: center;
    gap: 15px;
}

.legend-dot-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.legend-dot-item .node-dot {
    box-shadow: none;
    width: 14px;
    height: 14px;
    background: white;
    border: 2px solid;
}

.legend-dot-item .green-dot {
    border-color: #10b981;
}

.legend-dot-item .blue-dot {
    border-color: #0088ff;
}

@media (max-width: 768px) {
    .chart-header, .chart-row {
        min-width: 600px;
    }
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.section-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
}

.btn-add {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--primary-gradient);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-add:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-add svg {
    width: 18px;
    height: 18px;
}

/* ==================== 通道卡片 ==================== */
.channels-list {
    display: grid;
    gap: 15px;
}

.channel-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.channel-card:hover {
    border-color: var(--border-color-hover);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.channel-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.channel-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
}

.channel-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.channel-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.channel-name {
    font-size: 1.1rem;
    font-weight: 600;
}

.channel-key {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.channel-actions {
    display: flex;
    gap: 10px;
}

/* ==================== 项目卡片 ==================== */
.project-selector {
    margin-bottom: 25px;
}

.project-selector label {
    display: block;
    margin-bottom: 10px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.project-selector select {
    width: 100%;
    padding: 14px 20px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 18px;
    transition: all 0.3s ease;
}

.project-selector select:focus {
    outline: none;
    border-color: #0062f2;
    background-color: var(--bg-secondary);
}

.projects-list {
    display: grid;
    gap: 15px;
}

.project-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.project-card:hover {
    border-color: var(--border-color-hover);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.project-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.project-order {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 8px;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
}

.project-info {
    flex: 1;
}

.project-month {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.project-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.project-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.project-status {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
}

.project-meta {
    padding-left: 47px;
    margin-bottom: 15px;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.meta-item svg {
    width: 16px;
    height: 16px;
}

.meta-item.guide-indicator {
    color: #0062f2;
    background: rgba(0, 98, 242, 0.1);
    padding: 4px 10px;
    border-radius: 12px;
}

.meta-item.dingtalk-indicator {
    color: #0089ff;
    background: rgba(0, 137, 255, 0.1);
    padding: 4px 10px;
    border-radius: 12px;
}

.meta-item.dingtalk-indicator svg {
    width: 14px;
    height: 14px;
}

.project-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

/* ==================== 步骤选择器 ==================== */
.step-selectors {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.steps-list {
    min-height: 200px;
}

/* ==================== 图标按钮 ==================== */
.btn-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-icon:hover:not(:disabled) {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border-color: var(--border-color-hover);
}

.btn-icon:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.btn-icon svg {
    width: 18px;
    height: 18px;
}

.btn-icon-danger:hover:not(:disabled) {
    background: #fee2e2;
    border-color: var(--danger-color);
    color: var(--danger-color);
}

.btn-icon-sm {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-icon-sm:hover:not(:disabled) {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.btn-icon-sm:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.btn-icon-sm svg {
    width: 16px;
    height: 16px;
}

/* ==================== 表单样式 ==================== */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.form-group .input-field,
.form-group select {
    padding: 14px 18px;
    padding-left: 18px;
    background: var(--bg-input);
}

.form-group select {
    width: 100%;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 18px;
}

.form-group select:focus {
    background-color: var(--bg-secondary);
}

.textarea {
    min-height: 100px;
    resize: vertical;
}

.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 25px;
}

.btn-secondary {
    padding: 12px 24px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border-color: var(--border-color-hover);
}

.btn-danger {
    padding: 12px 24px;
    background: var(--danger-color);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-danger:hover {
    opacity: 0.9;
}

/* ==================== 确认弹窗 ==================== */
.confirm-modal {
    max-width: 400px;
}

.confirm-modal .modal-body p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 登录弹窗 */
.login-modal {
    max-width: 420px;
    z-index: 2001;
    position: relative;
}

#loginModal {
    z-index: 2000 !important;
}

.login-modal .modal-header {
    border-bottom: none;
    padding-bottom: 0;
}

.login-modal .modal-body {
    padding-top: 10px;
}

.login-modal .error-message {
    color: var(--danger-color);
    font-size: 0.875rem;
    margin-top: 10px;
    margin-bottom: 0;
}

/* ==================== 步骤状态区域 ==================== */
.step-status-section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    min-width: 120px;
}

.step-status-buttons {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.status-btn-mini {
    padding: 4px 10px;
    border-radius: 12px;
    border: 1px solid;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
}

.status-btn-mini.pending {
    border-color: #cbd5e1;
    color: var(--text-muted);
}

.status-btn-mini.pending.active {
    background: #94a3b8;
    color: white;
}

.status-btn-mini.ongoing {
    border-color: #34d399;
    color: var(--success-color);
}

.status-btn-mini.ongoing.active {
    background: var(--success-color);
    color: white;
}

.status-btn-mini.completed {
    border-color: #f87171;
    color: var(--danger-color);
}

.status-btn-mini.completed.active {
    background: var(--danger-color);
    color: white;
}

/* ==================== 移动端菜单按钮（默认隐藏） ==================== */
.mobile-menu-btn {
    display: none;
}


/* 移动端顶部导航栏 */
.mobile-header {
    display: none;
}

@media (max-width: 768px) {
    .mobile-header {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 56px;
        background: var(--bg-secondary);
        border-bottom: 1px solid var(--border-color);
        align-items: center;
        justify-content: space-between;
        padding: 0 12px;
        z-index: 150;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }
    
    .mobile-back-btn {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 8px 12px;
        background: transparent;
        border: none;
        border-radius: 10px;
        color: var(--text-secondary);
        font-size: 0.85rem;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.2s ease;
        opacity: 0;
        transform: translateX(-10px);
        pointer-events: none;
    }
    
    .mobile-back-btn.visible {
        opacity: 1;
        transform: translateX(0);
        pointer-events: auto;
    }
    
    .mobile-back-btn:active {
        background: var(--bg-input);
    }
    
    .mobile-back-btn svg {
        width: 18px;
        height: 18px;
    }
    
    /* 移动端菜单按钮样式调整 */
    .mobile-header .mobile-menu-btn {
        display: flex;
        width: 40px;
        height: 40px;
        background: transparent;
        border: none;
        border-radius: 10px;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }
    
    .mobile-header .mobile-menu-btn svg {
        width: 22px;
        height: 22px;
        color: var(--text-primary);
    }
    
    .mobile-header .mobile-menu-btn:active {
        background: var(--bg-input);
    }
}

/* ==================== 移动端触摸优化 ==================== */
@media (max-width: 768px) {
    /* 增加触摸目标大小 */
    .nav-item {
        padding: 16px 18px;
        min-height: 52px;
    }
    
    .quick-entry-card {
        min-height: 90px;
    }
    
    /* 优化触摸反馈 */
    .quick-entry-card:active {
        transform: scale(0.98);
    }
    
    .ongoing-project-card:active {
        transform: scale(0.99);
    }
    
    .timeline-content:active {
        transform: scale(0.99);
    }
    
    /* 平滑滚动 */
    .main-content {
        -webkit-overflow-scrolling: touch;
    }
    
    .sidebar {
        -webkit-overflow-scrolling: touch;
    }
    
    /* 防止文字选择干扰触摸操作 */
    .nav-item,
    .quick-entry-card,
    .tab-btn {
        -webkit-user-select: none;
        user-select: none;
    }
    
    /* 优化进行中项目卡片的状态指示器 */
    .ongoing-project-card {
        position: relative;
    }
    
    .ongoing-project-status {
        position: absolute;
        top: 16px;
        right: 16px;
        width: 8px;
        height: 8px;
    }
    
    .ongoing-project-info {
        width: 100%;
        padding-right: 20px;
    }
}

/* ==================== 响应式补充 ==================== */
@media (max-width: 768px) {
    .quick-entry {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .admin-tabs {
        flex-direction: column;
    }
    
    .admin-tab {
        width: 100%;
        justify-content: center;
    }
    
    .admin-subsection {
        padding: 15px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .btn-add {
        width: 100%;
        justify-content: center;
    }
    
    .channel-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .channel-actions {
        width: 100%;
        justify-content: flex-end;
    }
    
    .project-header {
        flex-direction: column;
    }
    
    .project-meta {
        padding-left: 0;
    }
    
    .project-actions {
        flex-wrap: wrap;
    }
    
    .step-selectors {
        flex-direction: column;
    }
    
    .step-manage-item {
        flex-wrap: wrap;
    }
    
    .step-status-section {
        width: 100%;
        align-items: flex-start;
        margin-top: 10px;
    }
    
    .step-status-buttons {
        justify-content: flex-start;
    }
    
    .step-manage-actions {
        width: 100%;
        margin-top: 10px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-secondary,
    .btn-danger,
    .btn-primary {
        width: 100%;
        justify-content: center;
    }
    
    .policy-card, .faq-card {
        flex-direction: column;
    }
    
    .policy-card-actions, .faq-card-actions {
        margin-top: 10px;
    }
    
    /* 详情弹窗移动端优化 */
    .detail-modal {
        max-width: calc(100% - 20px);
        margin: 10px;
    }
    
    .steps-container {
        max-height: 50vh;
        padding-right: 5px;
    }
    
    /* 通道切换标签优化 */
    .tab-btn {
        padding: 10px 14px;
    }
    
    .tab-text {
        font-size: 0.8rem;
    }
    
    /* 表单元素移动端优化 */
    .form-select,
    .form-input {
        font-size: 16px; /* 防止iOS缩放 */
    }
    
    .radio-label {
        padding: 12px 14px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .quick-entry {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .quick-entry-card {
        padding: 14px 6px;
    }
    
    .quick-entry-card h3 {
        font-size: 0.75rem;
    }
}

/* ==================== 年限试算器 ==================== */
.calculator-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.calculator-card {
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.02);
}

.calculator-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.calculator-header svg {
    width: 28px;
    height: 28px;
    color: var(--primary-color);
}

.calculator-header h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.calculator-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-label svg {
    width: 16px;
    height: 16px;
    color: var(--primary-color);
}

.radio-group {
    display: flex;
    gap: 12px;
    margin-top: 3px;
}

.radio-item {
    position: relative;
    cursor: pointer;
    flex: 1;
}

.radio-item input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    background: var(--bg-input);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.radio-item input[type="radio"]:checked + .radio-label {
    background: var(--primary-gradient);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 98, 242, 0.3);
}

.radio-item:hover .radio-label {
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

.form-select,
.form-input {
    width: 100%;
    padding: 10px 14px;
    background: var(--bg-input);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 0.9rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-select:focus,
.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 98, 242, 0.1);
}

.form-select option {
    background: white;
    color: var(--text-primary);
}

.form-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

.calculator-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 25px;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 5px;
    font-family: inherit;
}

.calculator-btn svg {
    width: 18px;
    height: 18px;
}

.calculator-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 98, 242, 0.3);
}

.calculator-btn:active {
    transform: translateY(0);
}

.calculator-result {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px solid var(--border-color);
    animation: slideIn 0.4s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.result-header svg {
    width: 20px;
    height: 20px;
    color: var(--success-color);
}

.result-header h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.result-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.result-item {
    background: var(--bg-input);
    border-radius: 10px;
    padding: 14px 16px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.result-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.result-item.success {
    border-left-color: var(--success-color);
}

.result-item.warning {
    border-left-color: var(--warning-color);
}

.result-item.info {
    border-left-color: #8b5cf6;
}

.result-title {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.result-main {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.result-note {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.result-highlight {
    color: var(--primary-color);
    font-weight: 700;
}

.result-warning-text {
    color: var(--warning-color);
    font-weight: 600;
}

@media (max-width: 768px) {
    .calculator-card {
        padding: 20px 15px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .radio-group {
        flex-direction: column;
    }

    .calculator-header h3 {
        font-size: 1.2rem;
    }
    
    .calculator-result {
        margin-top: 20px;
        padding-top: 16px;
    }
    
    .result-item {
        padding: 12px 14px;
    }
    
    /* 表单元素优化 */
    .form-select,
    .form-input {
        padding: 12px 14px;
        font-size: 16px;
    }
    
    .form-hint {
        font-size: 0.75rem;
    }
}
