/* ==========================================
   工作管理系统 - 全局样式
   ========================================== */

:root {
    /* 全局页面背景色 - 改这一个值即可 */
    --bg-page: #f5f6fa;
    --auth-primary: #2563eb;
    --auth-primary-dark: #1d4ed8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    background: var(--bg-page);
    min-height: 100vh;
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ==========================================
   登录/注册页 - 现代风格
   ========================================== */

.auth-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    background: var(--bg-page);
}

.auth-card {
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #eef0f5;
    box-shadow: 0 18px 50px rgba(31, 41, 55, 0.10);
    animation: cardIn 0.5s ease-out;
}

@keyframes cardIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-header {
    background: #fff;
    padding: 38px 32px 28px;
    text-align: center;
    color: #111827;
    border-bottom: 1px solid #f0f2f6;
}

.auth-logo {
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
}

.auth-logo svg rect {
    fill: #eff6ff;
}

.auth-logo svg path {
    stroke: var(--auth-primary);
}

.auth-header h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #111827;
}

.auth-header p {
    font-size: 14px;
    color: #6b7280;
}

.auth-body {
    background: #fff;
    padding: 32px;
}

.input-group {
    position: relative;
    margin-bottom: 18px;
}

.input-group .input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    z-index: 1;
}

.input-group input {
    width: 100%;
    padding: 12px 14px 12px 44px;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    color: #333;
    outline: none;
    transition: all 0.3s;
    background: #f8f9fc;
}

.input-group input:focus {
    border-color: var(--auth-primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.10);
}

.input-group input::placeholder {
    color: #aaa;
}

.btn-submit {
    width: 100%;
    padding: 13px;
    background: var(--auth-primary);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 4px;
}

.btn-submit:hover {
    background: var(--auth-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(37, 99, 235, 0.24);
}

.btn-submit:active {
    transform: translateY(0);
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: #999;
}

.auth-footer a {
    color: var(--auth-primary);
    font-weight: 600;
    transition: color 0.3s;
}

.auth-footer a:hover {
    color: var(--auth-primary-dark);
}

.auth-wrapper .btn-primary,
.modal-overlay .btn-primary {
    background: var(--auth-primary);
    color: #fff;
}

.auth-wrapper .btn-primary:hover,
.modal-overlay .btn-primary:hover {
    background: var(--auth-primary-dark);
}

.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-error {
    background: #fff0f0;
    color: #e74c3c;
    border: 1px solid #ffd5d5;
}

.alert-success {
    background: #f0fff4;
    color: #27ae60;
    border: 1px solid #d5ffdd;
}

/* ==========================================
   桌面
   ========================================== */

.desktop {
    min-height: 100vh;
    background: var(--bg-page);
    padding: 60px 40px;
}

.desktop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    color: #333;
}

.desktop-header h1 {
    font-size: 28px;
    font-weight: 300;
}

.desktop-header .user-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.desktop-header .user-info .username {
    font-size: 16px;
    opacity: 0.9;
}

.desktop-header .user-info .btn-logout {
    padding: 8px 20px;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    color: #555;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s;
}

.desktop-header .user-info .btn-logout:hover {
    background: rgba(0, 0, 0, 0.1);
}

.desktop-apps {
    max-width: 900px;
    margin: 0;
}

.desktop-warning {
    max-width: 900px;
    margin: 0 0 28px;
    background: #fff;
    border: 1px solid #edf0f5;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.desktop-warning-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    color: #333;
    font-weight: 700;
}

.desktop-warning-list {
    display: grid;
    gap: 10px;
}

.desktop-warning-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 12px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 12px;
}

.desktop-warning-name {
    font-size: 14px;
    color: #222;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.desktop-warning-meta {
    margin-top: 4px;
    font-size: 12px;
    color: #9a3412;
}

.desktop-warning-item .btn {
    padding: 7px 12px;
    font-size: 12px;
}

.app-section {
    margin-bottom: 36px;
}

.app-section-title {
    color: #999;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
    padding-left: 4px;
}

.app-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.desktop-app {
    width: 140px;
    height: 140px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.desktop-app:hover {
    background: #fff;
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.desktop-app .app-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 10px;
}

.desktop-app .app-icon.weekly {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.desktop-app .app-name {
    color: #555;
    font-size: 13px;
    opacity: 1;
}

/* ==========================================
   内容页面通用样式
   ========================================== */

.page-container {
    min-height: 100vh;
    background: #f5f6fa;
}

.page-header {
    background: #fff;
    padding: 14px 40px;
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) 220px;
    align-items: center;
    gap: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 20;
}

.page-header .header-left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.page-header .home-link,
.page-header .back-link {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #f3f4ff;
    color: #667eea;
    font-size: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid #e6e8ff;
}

.page-header .home-link:hover,
.page-header .back-link:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    transform: translateY(-1px);
    text-decoration: none;
}

.page-header .app-title,
.page-header .header-left h2 {
    font-size: 21px;
    color: #222;
    font-weight: 700;
    text-align: center;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.page-header .header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    min-width: 0;
}

.page-header .user-greeting,
.page-header .header-right span {
    font-size: 14px;
    color: #777;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.page-header .header-right strong {
    color: #333;
}

.page-header .btn-logout {
    flex-shrink: 0;
    padding: 8px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    color: #666;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.page-header .btn-logout:hover {
    border-color: #ef4444;
    color: #ef4444;
    background: #fff5f5;
}

.page-content {
    padding: 30px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ==========================================
   卡片
   ========================================== */

.card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 24px;
    margin-bottom: 20px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.card-header h3 {
    font-size: 18px;
    color: #333;
}

/* ==========================================
   按钮
   ========================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.btn-success {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: #fff;
}

.btn-success:hover {
    opacity: 0.9;
}

.btn-danger {
    background: #e74c3c;
    color: #fff;
}

.btn-danger:hover {
    opacity: 0.9;
}

.btn-outline {
    background: transparent;
    border: 1px solid #ddd;
    color: #666;
}

.btn-outline:hover {
    border-color: #667eea;
    color: #667eea;
}

.btn-sm {
    padding: 5px 12px;
    font-size: 12px;
}

.btn-icon {
    padding: 6px 8px;
    font-size: 15px;
    min-width: 32px;
    justify-content: center;
}

/* ==========================================
   表格
   ========================================== */

.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table th,
table td {
    padding: 10px 10px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

table th {
    background: #f8f9fc;
    font-weight: 600;
    color: #555;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

table tr:hover {
    background: #f8f9fc;
}

table .actions {
    display: flex;
    gap: 4px;
}

/* ==========================================
   表单
   ========================================== */

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    color: #555;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

/* ==========================================
   周报填写 - 动态条目表格
   ========================================== */

.entry-table {
    width: 100%;
    border-collapse: collapse;
}

.entry-table th,
.entry-table td {
    padding: 10px 12px;
    text-align: left;
    border: 1px solid #e8e8e8;
    font-size: 14px;
}

.entry-table th {
    background: #f8f9fc;
    font-weight: 600;
    color: #555;
    font-size: 13px;
}

.entry-table td input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
}

.entry-table td input:focus {
    border-color: #667eea;
}

.entry-table .btn-remove {
    padding: 6px 12px;
    background: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
}

.entry-table .btn-remove:hover {
    background: #c0392b;
}

/* ==========================================
   空状态
   ========================================== */

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.empty-state .empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.empty-state p {
    font-size: 15px;
}

/* ==========================================
   周报查看
   ========================================== */

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.info-item {
    display: flex;
    gap: 8px;
}

.info-item .label {
    font-size: 14px;
    color: #888;
    min-width: 80px;
}

.info-item .value {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.badge-blue {
    background: #ebf4ff;
    color: #3182ce;
}

.badge-green {
    background: #f0fff4;
    color: #27ae60;
}

/* ==========================================
   页面切换
   ========================================== */

.page-section {
    display: none;
}

.page-section.active {
    display: block;
}

/* ==========================================
   分页控件
   ========================================== */

.pagination {
    display: flex;
    justify-content: center;
    padding: 16px 0 8px;
}

.pagination-inner {
    display: flex;
    align-items: center;
    gap: 4px;
}

.page-btn {
    padding: 6px 12px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    color: #666;
    transition: all 0.2s;
}

.page-btn:hover:not(:disabled) {
    border-color: #667eea;
    color: #667eea;
}

.page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.page-btn.page-active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    border-color: transparent;
}

/* ==========================================
   开关切换
   ========================================== */

.toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
}

.toggle-row:last-child {
    border-bottom: none;
}

.toggle-label {
    font-size: 14px;
    color: #333;
}

.toggle-hint {
    font-size: 12px;
    color: #999;
    margin-top: 2px;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #ccc;
    border-radius: 24px;
    transition: 0.3s;
}

.toggle-slider:before {
    content: "";
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: 0.3s;
}

.toggle-switch input:checked + .toggle-slider {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(20px);
}

.badge-open {
    background: #ebf4ff;
    color: #3182ce;
}

.badge-closed {
    background: #fff0f0;
    color: #e74c3c;
}

.badge-edit {
    background: #fef3c7;
    color: #d97706;
}

/* ==========================================
   响应式
   ========================================== */

@media (max-width: 768px) {
    .page-content {
        padding: 16px;
    }
    .page-header {
        padding: 10px 14px;
        grid-template-columns: 46px minmax(0, 1fr) 112px;
        gap: 8px;
    }
    .page-header .home-link,
    .page-header .back-link {
        width: 38px;
        height: 38px;
        border-radius: 11px;
        font-size: 19px;
    }
    .page-header .app-title,
    .page-header .header-left h2 {
        font-size: 18px;
    }
    .page-header .user-greeting {
        display: none;
    }
    .page-header .btn-logout {
        padding: 8px 10px;
        font-size: 12px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   验证码样式
   ========================================== */
.captcha-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 112px;
    gap: 10px;
    align-items: center;
    margin-bottom: 16px;
    width: 100%;
}
.captcha-row input {
    min-width: 0;
    width: 100%;
    height: 44px;
    padding: 0 16px;
    border: 1.5px solid #e1e5ee;
    border-radius: 10px;
    font-size: 15px;
    line-height: 44px;
    outline: none;
    transition: border-color 0.2s;
    background: #f8f9fc;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: bold;
    box-sizing: border-box;
}
.captcha-row input:focus {
    border-color: var(--auth-primary);
    background: #fff;
}
.captcha-row img {
    border: 1.5px solid #e1e5ee;
    border-radius: 10px;
    height: 44px !important;
    width: 112px !important;
    max-width: 112px;
    object-fit: cover;
    display: block;
    cursor: pointer;
    transition: opacity 0.2s;
    box-sizing: border-box;
}
.captcha-row img:hover {
    opacity: 0.8;
}

/* ==========================================
   自动识别弹窗
   ========================================== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-box {
    background: #fff;
    border-radius: 16px;
    max-width: 640px;
    width: 100%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: slideUp 0.25s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #f0f0f0;
}

.modal-box-header h3 {
    font-size: 18px;
    color: #333;
}

.modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #333;
}

.modal-box-body {
    padding: 20px 24px;
    overflow-y: auto;
    flex: 1;
}

.modal-box-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 24px;
    border-top: 1px solid #f0f0f0;
}

/* ==========================================
   移动端自适应
   ========================================== */

@media (max-width: 480px) {
    .auth-wrapper {
        padding: 0;
        align-items: flex-start;
    }

    .auth-card {
        max-width: 100%;
        border-radius: 0;
        min-height: 100vh;
        box-shadow: none;
        display: flex;
        flex-direction: column;
    }

    .auth-header {
        padding: 48px 24px 28px;
    }

    .auth-header h2 {
        font-size: 22px;
    }

    .auth-body {
        padding: 24px 20px;
        flex: 1;
    }

    .input-group {
        margin-bottom: 16px;
    }

    .input-group input {
        padding: 14px 14px 14px 44px;
        font-size: 16px;
    }

    .captcha-row {
        grid-template-columns: minmax(0, 1fr) 96px;
        gap: 8px;
    }

    .captcha-row input {
        height: 44px;
        padding: 0 12px;
        font-size: 16px;
        line-height: 44px;
        min-width: 0;
    }

    .captcha-row img {
        height: 44px !important;
        width: 96px !important;
        min-width: 0;
        max-width: 96px;
    }

    .btn-submit {
        padding: 15px;
        font-size: 17px;
    }

    .auth-footer {
        margin-top: 20px;
        font-size: 13px;
        line-height: 1.8;
    }

    .auth-footer span {
        margin: 0 4px !important;
    }

    /* 修改密码弹窗移动端 */
    .modal-box {
        max-width: 100%;
        width: 100%;
        margin: 0 12px;
        max-height: 90vh;
    }

    .modal-box-header {
        padding: 16px 18px;
    }

    .modal-box-body {
        padding: 16px 18px;
    }

    .modal-box-footer {
        padding: 14px 18px;
    }

    /* 桌面移动端 */
    .desktop {
        padding: 24px 16px;
    }

    .desktop-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 32px;
    }

    .desktop-header h1 {
        font-size: 22px;
    }

    .desktop-header .user-info {
        width: 100%;
        justify-content: space-between;
    }

    .desktop-apps {
        max-width: 100%;
    }

    .app-section-title {
        font-size: 12px;
    }

    .app-grid {
        gap: 16px;
    }

    .desktop-app {
        width: calc(50% - 8px);
        height: 120px;
        padding: 16px;
    }

    .desktop-app .app-icon {
        width: 48px;
        height: 48px;
        font-size: 24px;
    }

    /* 周报管理移动端 */
    .page-header {
        padding: 12px 16px;
        flex-wrap: wrap;
        gap: 8px;
    }

    .page-header .header-left {
        gap: 10px;
    }

    .page-header .header-left h2 {
        font-size: 17px;
    }

    .page-header .header-right span {
        font-size: 13px;
    }

    .page-content {
        padding: 16px;
    }

    .card {
        padding: 16px;
        border-radius: 10px;
    }

    .card-header {
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 14px;
        padding-bottom: 12px;
    }

    .card-header h3 {
        font-size: 16px;
    }

    /* 创建/编辑表单 */
    .card[style*="max-width:600px"],
    .card[style*="max-width:900px"] {
        max-width: 100% !important;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .form-actions {
        flex-wrap: wrap;
        gap: 8px;
    }

    .form-actions .btn {
        flex: 1;
        min-width: 0;
        justify-content: center;
    }

    /* 计划列表表格 - 隐藏非关键列 */
    #plansTableContainer table th:nth-child(2),
    #plansTableContainer table td:nth-child(2) {
        display: none;
    }

    #plansTableContainer table th:nth-child(3),
    #plansTableContainer table td:nth-child(3) {
        display: none;
    }

    #plansTableContainer table th:nth-child(5),
    #plansTableContainer table td:nth-child(5) {
        display: none;
    }

    #plansTableContainer table .actions {
        flex-wrap: wrap;
        gap: 2px;
    }

    /* 我的周报表格 */
    #myReportsTableContainer table th:nth-child(2),
    #myReportsTableContainer table td:nth-child(2) {
        display: none;
    }

    #myReportsTableContainer table .actions {
        flex-wrap: wrap;
        gap: 4px;
    }

    #myReportsTableContainer table .actions .btn {
        font-size: 12px;
        padding: 5px 10px;
    }

    /* 填写周报 - 紧凑表格 */
    .entry-table th,
    .entry-table td {
        padding: 6px 4px;
        font-size: 12px;
    }

    .entry-table th[style*="width:40%"] {
        width: 30% !important;
    }
    .entry-table th[style*="width:17%"],
    .entry-table th[style*="width:18%"] {
        width: 15% !important;
    }

    .entry-table td input {
        padding: 6px 6px;
        font-size: 12px;
        min-width: 0;
    }

    .entry-table .btn-remove {
        padding: 4px 8px;
        font-size: 11px;
    }

    /* 填写按钮组换行 */
    div[style*="margin-top:8px; display:flex; gap:8px; align-items:center"] {
        flex-wrap: wrap;
    }

    div[style*="margin-top:8px; display:flex; gap:8px; align-items:center"] .btn {
        flex: 1;
        min-width: 0;
        justify-content: center;
        font-size: 12px;
        padding: 6px 8px;
    }

    /* 计划提交情况表格 */
    #planReportsContainer table th:nth-child(2),
    #planReportsContainer table td:nth-child(2) {
        display: none;
    }

    /* 查看详情页表格 */
    #viewEntriesContainer .table-container {
        overflow-x: auto;
    }

    #viewEntriesContainer table th[style*="width:40%"] {
        width: 30% !important;
    }
    #viewEntriesContainer table th[style*="width:20%"] {
        width: 18% !important;
    }

    /* 分页 */
    .pagination-inner {
        gap: 4px;
    }

    .page-btn {
        padding: 5px 10px;
        font-size: 12px;
    }

    /* 提示块 */
    div[style*="background:#f8f9fc; border-radius:8px; padding:12px"] {
        font-size: 12px !important;
        padding: 10px !important;
    }
}
