/**
 * 作业时间估算 - 全局样式
 * 放置路径: /css/style.css
 * 清新朴素风格，浅灰底色 + 白色圆角卡片 + 蓝色主色调
 */

/* ===== 基础变量 ===== */
:root {
    --bg-color: #f0f2f5;
    --card-bg: #ffffff;
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --primary-light: #dbeafe;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --text-main: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 12px 28px rgba(0,0,0,0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== 全局重置 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
                 "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue",
                 Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    padding-bottom: 80px; /* 为底部导航留出空间 */
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

/* ===== 顶部导航栏 ===== */
.site-header {
    background: var(--card-bg);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-main);
}

.header-brand img {
    height: 28px;
    width: auto;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
}

.header-nav a {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}

.header-nav a:hover {
    background: var(--primary-light);
    color: var(--primary);
}

/* ===== 主容器 ===== */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 20px;
}

.page-header {
    margin-bottom: 24px;
}

.page-header h1,
.page-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 4px;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* ===== 卡片组件 ===== */
.card {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 24px;
    margin-bottom: 20px;
    transition: var(--transition);
    border: 1px solid var(--border);
    animation: fadeInUp 0.5s ease-out both;
}

.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.card-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
}

/* ===== 统计卡片 ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    animation: fadeInUp 0.5s ease-out both;
    display: flex;
    align-items: center;
    gap: 14px;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.stat-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.stat-icon.blue { background: var(--primary-light); color: var(--primary); }
.stat-icon.green { background: #d1fae5; color: var(--success); }
.stat-icon.orange { background: #fef3c7; color: var(--warning); }
.stat-icon.red { background: #fee2e2; color: var(--danger); }

.stat-info {
    flex: 1;
    min-width: 0;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.2;
}

/* ===== 作业清单面板 ===== */
.task-panel {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    overflow: hidden;
    animation: fadeInUp 0.5s ease-out both;
}

.task-panel-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 16px 20px;
    font-weight: 600;
    font-size: 1rem;
}

.task-item {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
    gap: 12px;
    flex-wrap: wrap;
}

.task-item:last-child {
    border-bottom: none;
}

.task-item:hover {
    background: #f8fafc;
}

.task-subject {
    font-weight: 600;
    color: var(--text-main);
    min-width: 60px;
}

.task-content {
    flex: 1;
    color: var(--text-secondary);
    font-size: 0.875rem;
    min-width: 120px;
}

.task-time {
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
}

.task-time.est {
    background: var(--primary-light);
    color: var(--primary);
}

.task-time.actual {
    background: #d1fae5;
    color: var(--success);
}

.task-status {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
}

.task-status.ontime {
    background: #d1fae5;
    color: #047857;
}

.task-status.overtime {
    background: #fef3c7;
    color: #b45309;
}

/* 计时器按钮 */
.timer-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    font-weight: 500;
    border: 1px solid var(--border);
    background: white;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.timer-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.timer-btn.running {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
}

/* ===== 按钮 ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
    text-decoration: none;
    line-height: 1.5;
    white-space: nowrap;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.btn:active {
    transform: scale(0.96);
}

.btn-primary {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
}

.btn-secondary {
    background: white;
    color: var(--text-secondary);
    border-color: var(--border);
}

.btn-secondary:hover {
    background: var(--bg-color);
    border-color: var(--text-muted);
}

.btn-success {
    background: var(--success);
    color: white;
    border-color: var(--success);
}

.btn-success:hover {
    background: #059669;
    border-color: #059669;
    color: white;
}

.btn-danger {
    background: var(--danger);
    color: white;
    border-color: var(--danger);
}

.btn-danger:hover {
    background: #dc2626;
    border-color: #dc2626;
    color: white;
}

.btn-warning {
    background: var(--warning);
    color: white;
    border-color: var(--warning);
}

.btn-info {
    background: #06b6d4;
    color: white;
    border-color: #06b6d4;
}

.btn-add {
    background-color: #8181ce;
    color: white;
    border-color: #8181ce;
}

.btn-add:hover {
    background-color: #6b6bb8;
    border-color: #6b6bb8;
    color: white;
}

.btn-sm {
    padding: 4px 10px;
    font-size: 0.8125rem;
}

.btn-lg {
    padding: 10px 20px;
    font-size: 1rem;
}

.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 16px 0;
}

/* ===== 导航标签页 ===== */
.nav-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    list-style: none;
    margin-bottom: 16px;
    padding: 0;
    border-bottom: 2px solid var(--border);
    padding-bottom: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.nav-tabs::-webkit-scrollbar {
    display: none;
}

.nav-tabs li {
    flex-shrink: 0;
}

.nav-tabs a {
    display: block;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: transparent;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-tabs a:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.nav-tabs li.active a,
.nav-tabs a.active {
    background: var(--primary);
    color: white;
}

/* ===== 列表组 ===== */
.list-group {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    overflow: hidden;
    margin-bottom: 20px;
    animation: fadeInUp 0.5s ease-out both;
}

.list-group-item {
    display: block;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
    color: var(--text-main);
}

.list-group-item:last-child {
    border-bottom: none;
}

.list-group-item:hover {
    background: #f8fafc;
}

.list-group-item.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-bottom: none;
}

.list-group-item.active h2,
.list-group-item.active h3,
.list-group-item.active h4 {
    color: white;
}

.list-group-item-heading {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: inherit;
}

.list-group-item-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.list-group-item.active .list-group-item-text {
    color: rgba(255,255,255,0.85);
}

/* ===== 表格 ===== */
.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--card-bg);
    animation: fadeInUp 0.5s ease-out both;
}

.table-wrapper::-webkit-scrollbar {
    height: 6px;
}

.table-wrapper::-webkit-scrollbar-track {
    background: transparent;
}

.table-wrapper::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

th, td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

th {
    background: #f8fafc;
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

tr {
    transition: var(--transition);
}

tr:hover {
    background: #f8fafc;
}

/* ===== 表单 ===== */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-main);
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    font-family: inherit;
    color: var(--text-main);
    background: white;
    transition: var(--transition);
    -webkit-appearance: none;
    appearance: none;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

select.form-control {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 10px center;
    background-repeat: no-repeat;
    background-size: 20px;
    padding-right: 40px;
}

/* ===== 底部导航（手机端） ===== */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--card-bg);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 12px rgba(0,0,0,0.08);
    z-index: 1000;
    padding: 8px 16px;
    justify-content: space-around;
    align-items: center;
}

.bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.625rem;
    color: var(--text-muted);
    transition: var(--transition);
    flex: 1;
    max-width: 80px;
}

.bottom-nav a svg,
.bottom-nav a .icon {
    width: 22px;
    height: 22px;
    font-size: 1.125rem;
}

.bottom-nav a:hover,
.bottom-nav a.active {
    color: var(--primary);
    background: var(--primary-light);
}

/* ===== 弹窗 ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(4px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 20px;
}

.modal-form {
    background: var(--card-bg);
    padding: 28px;
    border-radius: var(--radius-md);
    width: 100%;
    max-width: 400px;
    box-shadow: var(--shadow-lg);
    animation: fadeInUp 0.3s ease-out;
}

.modal-form p {
    margin: 0 0 16px 0;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-main);
}

.modal-form input {
    width: 100%;
    padding: 10px 14px;
    margin-bottom: 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    font-family: inherit;
    transition: var(--transition);
}

.modal-form input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.modal-form button {
    width: 100%;
    padding: 10px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.modal-form button:hover {
    background: var(--primary-dark);
}

/* ===== 页脚 ===== */
.site-footer {
    text-align: center;
    padding: 24px 20px;
    color: var(--text-muted);
    font-size: 0.8125rem;
    border-top: 1px solid var(--border);
    margin-top: 40px;
}

/* ===== 首页大图 ===== */
.hero-section {
    background: linear-gradient(135deg, var(--primary), #60a5fa);
    border-radius: var(--radius-lg);
    padding: 48px 32px;
    color: white;
    text-align: center;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
}

.hero-section h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
}

.hero-section p {
    font-size: 1.05rem;
    opacity: 0.9;
    margin-bottom: 24px;
    position: relative;
}

.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

/* ===== 角色卡片 ===== */
.role-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.role-card {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    padding: 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    animation: fadeInUp 0.5s ease-out both;
}

.role-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.role-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-main);
}

.role-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

/* ===== 登录页 ===== */
.login-container {
    max-width: 420px;
    margin: 0 auto;
    animation: fadeInUp 0.5s ease-out;
}

.login-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.login-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-main);
}

/* ===== ECharts 容器 ===== */
.chart-container {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    margin-bottom: 20px;
    animation: fadeInUp 0.5s ease-out both;
}

.chart-container > div {
    width: 100% !important;
    max-width: 100%;
}

/* ===== 徽章标签 ===== */
.badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-ljc {
    background: #d1fae5;
    color: #047857;
}

.badge-ljc2 {
    background: #fef3c7;
    color: #b45309;
}

/* ===== 时间筛选按钮组 ===== */
.time-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 12px 20px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
}

.time-filters .btn {
    font-size: 0.8125rem;
    padding: 4px 12px;
}

/* ===== 返回按钮区域 ===== */
.action-bar {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}

/* ===== 动画 ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 列表项依次淡入 */
.list-group-item:nth-child(1) { animation-delay: 0s; }
.list-group-item:nth-child(2) { animation-delay: 0.05s; }
.list-group-item:nth-child(3) { animation-delay: 0.1s; }
.list-group-item:nth-child(4) { animation-delay: 0.15s; }
.list-group-item:nth-child(5) { animation-delay: 0.2s; }
.list-group-item:nth-child(6) { animation-delay: 0.25s; }
.list-group-item:nth-child(7) { animation-delay: 0.3s; }
.list-group-item:nth-child(8) { animation-delay: 0.35s; }
.list-group-item:nth-child(9) { animation-delay: 0.4s; }
.list-group-item:nth-child(10) { animation-delay: 0.45s; }

.task-item:nth-child(1) { animation-delay: 0s; }
.task-item:nth-child(2) { animation-delay: 0.05s; }
.task-item:nth-child(3) { animation-delay: 0.1s; }
.task-item:nth-child(4) { animation-delay: 0.15s; }
.task-item:nth-child(5) { animation-delay: 0.2s; }

/* ===== 排版 ===== */
h2 {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-main);
}

h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-main);
}

h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-main);
}

p {
    margin-bottom: 12px;
    color: var(--text-secondary);
}

ul, ol {
    margin-bottom: 16px;
    padding-left: 20px;
}

li {
    margin-bottom: 6px;
    color: var(--text-secondary);
}

strong {
    color: var(--text-main);
    font-weight: 600;
}

hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 24px 0;
}

/* ===== 手机端响应式 ===== */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    body {
        padding-bottom: 72px;
    }

    .main-container {
        padding: 16px 12px;
    }

    /* 隐藏顶部导航栏 */
    .header-nav {
        display: none;
    }

    /* 显示底部导航 */
    .bottom-nav {
        display: flex;
    }

    .header-inner {
        height: 50px;
        padding: 0 16px;
    }

    .header-brand {
        font-size: 1rem;
    }

    .header-brand img {
        height: 24px;
    }

    .card {
        padding: 16px;
        border-radius: var(--radius-sm);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .stat-card {
        padding: 14px;
    }

    .stat-value {
        font-size: 1.25rem;
    }

    .stat-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .task-item {
        padding: 12px 14px;
        gap: 8px;
    }

    .btn {
        padding: 10px 16px;
        font-size: 0.9375rem;
        min-height: 40px;
    }

    .btn-sm {
        padding: 6px 10px;
        font-size: 0.8125rem;
        min-height: 32px;
    }

    .btn-group {
        gap: 8px;
    }

    .nav-tabs {
        gap: 4px;
        padding-bottom: 6px;
    }

    .nav-tabs a {
        padding: 6px 12px;
        font-size: 0.8125rem;
    }

    .table-wrapper {
        border-radius: var(--radius-sm);
    }

    th, td {
        padding: 10px 12px;
        font-size: 0.8125rem;
    }

    .hero-section {
        padding: 32px 20px;
        border-radius: var(--radius-md);
    }

    .hero-section h1 {
        font-size: 1.5rem;
    }

    .hero-section p {
        font-size: 0.9375rem;
    }

    .role-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .role-card {
        padding: 20px;
    }

    .login-card {
        padding: 24px 20px;
        border-radius: var(--radius-md);
    }

    .chart-container {
        padding: 12px;
    }

    .action-bar {
        margin-top: 16px;
    }

    .site-footer {
        margin-top: 24px;
        padding: 16px;
    }

    .page-header h1,
    .page-header h2 {
        font-size: 1.25rem;
    }
}

/* ===== 超小屏幕 ===== */
@media (max-width: 360px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }
}

/* ===== 打印 ===== */
@media print {
    .site-header,
    .bottom-nav {
        display: none !important;
    }

    body {
        padding-bottom: 0;
        background: white;
    }

    .card,
    .task-panel,
    .list-group,
    .table-wrapper {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
