/* 方正字体在部分浏览器中 cmap 解析报错，改用系统字体以保证游客与各环境正常显示 */
/* 计划列表表：固定列宽 */
.meizhou-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.meizhou-table th, .meizhou-table td { border: 1px solid #dee2e6; padding: 12px 16px; vertical-align: middle; }
.meizhou-table th { background: #f8f9fa; font-weight: 600; }
.meizhou-table .col-year { width: 80px; min-width: 80px; text-align: center; font-weight: 600; background: #f8f9fa; }
.meizhou-table .col-month { width: 60px; min-width: 60px; }
.meizhou-table .col-week { width: 56px; min-width: 56px; }
.meizhou-table .col-plan { text-align: center; }
.meizhou-table .col-actions { width: 200px; min-width: 200px; white-space: nowrap; text-align: center; }
.meizhou-table tbody tr:hover { background: #f8fafc; }
.meizhou-table .plan-link { color: #165DFF; cursor: pointer; text-decoration: none; }
.meizhou-table .plan-link:hover { text-decoration: underline; }
/* 每周填报整表样式（参照参考图） */
.meizhou-full-table-wrap { margin-bottom: 24px; }
.meizhou-full-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.meizhou-full-table thead th { background: #165DFF; color: #fff; font-weight: 600; padding: 12px 16px; border: 1px solid #0d3ba8; text-align: center; }
.meizhou-full-table thead th:nth-child(1) { width: 120px; }
.meizhou-full-table thead th:nth-child(2) { }
.meizhou-full-table thead th:nth-child(3) { width: 100px; }
.meizhou-full-table tbody td { border: 1px solid #dee2e6; padding: 10px 14px; vertical-align: middle; background: #fff; }
.meizhou-full-table tbody td.col-dept { font-weight: 500; text-align: left; vertical-align: middle; }
.meizhou-full-table tbody td.col-content { text-align: left; }
.meizhou-full-table tbody td.col-date { text-align: center; }
.meizhou-count { font-size: 13px; color: #6c757d; font-weight: normal; margin-left: 8px; }
/* 跨月「已发起」入口：与计划列表标题同行右侧，高对比色 */
.meizhou-cross-month-fill-btn {
    font-weight: 600;
    font-size: 13px;
    line-height: 1.25;
    color: #fff !important;
    background: linear-gradient(180deg, #60a5fa 0%, #2563eb 100%);
    border: 1px solid #1d4ed8;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.32);
}
.meizhou-cross-month-fill-btn:hover {
    color: #fff !important;
    background: linear-gradient(180deg, #93c5fd 0%, #3b82f6 100%);
    border-color: #2563eb;
    box-shadow: 0 3px 10px rgba(59, 130, 246, 0.36);
}
.meizhou-cross-month-fill-btn:focus {
    color: #fff !important;
    box-shadow: 0 0 0 0.2rem rgba(96, 165, 250, 0.42);
}
/* 每周填报表：精致版设计，清爽明亮 */
#entry-table-wrap .meizhou-entry-table-title-wrap {
    position: relative;
    width: 100%;
    margin-bottom: 12px;
    padding-bottom: 10px;
    text-align: center;
}
#entry-table-wrap .meizhou-entry-table-title-center {
    width: 100%;
    text-align: center;
}
#entry-table-wrap .meizhou-entry-layout-btns {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}
#meizhou-entry-table-title {
    font-family: SimSun, "Times New Roman", serif;
    font-size: 17pt;
    font-weight: 600;
    color: #1e3a5f;
    letter-spacing: 0.5px;
}
#meizhou-entry-date-range {
    font-family: "Times New Roman", SimSun, "Songti SC", serif;
    font-size: 12pt;
    color: #64748b;
    margin-top: 4px;
}
.meizhou-entry-table {
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: 0.2px;
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    table-layout: fixed;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(22, 93, 255, 0.06);
}
.meizhou-entry-table thead.meizhou-entry-thead {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
}
.meizhou-entry-table thead.meizhou-entry-thead th {
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    font-weight: 600;
    text-align: center;
    vertical-align: middle;
    color: #1e3a8a;
    letter-spacing: 0.3px;
    border: none;
    border-bottom: 1px solid #1e3a8a;
    border-right: 1px solid rgba(255, 255, 255, 0.6);
    padding: 6px 12px;
    font-size: 14px;
}
.meizhou-entry-table thead.meizhou-entry-thead th:last-child {
    border-right: none;
}
.meizhou-entry-table thead th:nth-child(1) { width: 14%; }
.meizhou-entry-table thead th:nth-child(2) { width: 4%; min-width: 30px; padding-left: 4px; padding-right: 4px; }
.meizhou-entry-table thead th:nth-child(3) { width: 72%; }
.meizhou-entry-table thead th:nth-child(4) { width: 10%; }
.meizhou-entry-table .entry-cell-dept {
    white-space: nowrap;
    font-family: "SimHei", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    vertical-align: middle;
    color: #1e3a8a;
    border-bottom: 1px solid #e0e7ff;
    border-right: 1px solid #e0e7ff;
    padding: 5px 12px;
}
.meizhou-entry-table .entry-cell-content {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: "Times New Roman", SimSun, "Songti SC", serif;
    font-size: 15px;
    text-align: left;
    color: #1e3a8a;
    border-bottom: 1px solid #e0e7ff;
    border-right: 1px solid #e0e7ff;
    padding: 5px 12px;
}
.meizhou-entry-table .entry-cell-seq {
    white-space: nowrap;
    text-align: center;
    vertical-align: middle;
    color: #1e3a8a;
    font-family: "Times New Roman", "Microsoft YaHei", sans-serif;
    font-variant-numeric: lining-nums tabular-nums;
    border-bottom: 1px solid #e0e7ff;
    border-right: 1px solid #e0e7ff;
    padding: 5px 4px;
}
.meizhou-entry-table .entry-cell-date {
    text-align: center;
    vertical-align: middle;
    font-family: "Times New Roman", SimSun, "Songti SC", serif;
    font-size: 14px;
    font-variant-numeric: lining-nums tabular-nums;
    letter-spacing: 0.1px;
    color: #1e3a8a;
    border-bottom: 1px solid #e0e7ff;
    white-space: nowrap;
    padding: 5px 10px;
}
/* 各部门底纹：清爽浅蓝/浅紫交替 */
.meizhou-entry-table .entry-dept-bg-0 .entry-cell-content,
.meizhou-entry-table .entry-dept-bg-0 .entry-cell-seq,
.meizhou-entry-table .entry-dept-bg-0 .entry-cell-date {
    background: #fff;
}
.meizhou-entry-table .entry-dept-bg-1 .entry-cell-content,
.meizhou-entry-table .entry-dept-bg-1 .entry-cell-seq,
.meizhou-entry-table .entry-dept-bg-1 .entry-cell-date {
    background: #f0f4f8;
}
/* 账号所属部门高亮：不改变排序，仅通过底色区分 */
.meizhou-entry-table tr.entry-dept-self .entry-cell-content,
.meizhou-entry-table tr.entry-dept-self .entry-cell-seq,
.meizhou-entry-table tr.entry-dept-self .entry-cell-date {
    background: #eefcf3 !important;
}
.meizhou-entry-table tbody tr {
    transition: background 0.2s ease;
}
.meizhou-entry-table tbody tr:hover .entry-cell-content,
.meizhou-entry-table tbody tr:hover .entry-cell-seq,
.meizhou-entry-table tbody tr:hover .entry-cell-date {
    background: #eef2ff !important;
}
.meizhou-entry-table tbody tr:last-child .entry-cell-dept,
.meizhou-entry-table tbody tr:last-child .entry-cell-content,
.meizhou-entry-table tbody tr:last-child .entry-cell-seq,
.meizhou-entry-table tbody tr:last-child .entry-cell-date {
    border-bottom: none;
}
.meizhou-entry-table .entry-cell-date { border-right: none; }
.meizhou-entry-table input,
.meizhou-entry-table select {
    font-family: inherit;
    font-size: 12px;
}
.meizhou-entry-table .entry-cell-op {
    white-space: nowrap;
    text-align: center;
}
/* 双页并列：精致卡片 */
.meizhou-entry-two-page {
    display: flex;
    gap: 24px;
    align-items: stretch;
}
.meizhou-entry-two-page .table-responsive {
    flex: 1;
    min-width: 0;
    border-radius: 6px;
    overflow: auto;
    background: #fff;
    border: 1px solid #c7d2fe;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.08);
}
.meizhou-entry-two-page.entry-layout-single .meizhou-entry-table .entry-cell-dept {
    font-size: 17px;
}
body:not(.entry-mode-dyba):not(.entry-mode-my) .meizhou-entry-two-page.entry-layout-single .meizhou-entry-table thead th:nth-child(2) {
    width: 15px;
    min-width: 15px;
    max-width: 15px;
}
.meizhou-entry-two-page.entry-layout-single .meizhou-entry-table .entry-cell-content {
    font-size: 16px;
}
body:not(.entry-mode-dyba):not(.entry-mode-my) .meizhou-entry-two-page.entry-layout-single .meizhou-entry-table .entry-cell-seq {
    font-size: 15px;
    width: 15px;
    min-width: 15px;
    max-width: 15px;
}
.meizhou-entry-two-page.entry-layout-single .meizhou-entry-table .entry-cell-date {
    font-size: 15px;
}
.meizhou-entry-two-page:not(.entry-layout-single) .meizhou-entry-table {
    font-size: 12px;
}
.meizhou-entry-two-page:not(.entry-layout-single) .meizhou-entry-table thead th:nth-child(3) {
    width: 68%;
}
.meizhou-entry-two-page:not(.entry-layout-single) .meizhou-entry-table thead th:nth-child(4) {
    width: 14%;
    min-width: 78px;
}
.meizhou-entry-two-page:not(.entry-layout-single) .meizhou-entry-table .entry-cell-dept {
    font-size: 14px;
}
.meizhou-entry-two-page:not(.entry-layout-single) .meizhou-entry-table .entry-cell-content {
    font-size: 13px;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    word-break: break-word;
}
.meizhou-entry-two-page:not(.entry-layout-single) .meizhou-entry-table .entry-cell-seq {
    font-size: 12px;
}
.meizhou-entry-two-page:not(.entry-layout-single) .meizhou-entry-table .entry-cell-date {
    font-size: 12px;
    white-space: nowrap;
}
/* 单页模式：只显示左侧表格，右侧隐藏 */
.meizhou-entry-two-page.entry-layout-single .table-responsive:last-child {
    display: none;
}
.meizhou-entry-two-page.entry-layout-single .table-responsive:first-child {
    flex: 1 1 100%;
}
@media (max-width: 992px) {
    .meizhou-entry-two-page { flex-direction: column; }
    /* 平板及手机不再提供“双页”按钮，避免误触造成拥挤 */
    #entry-layout-double-btn {
        display: none;
    }
}
.batch-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.entry-table-loading {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #6c757d;
    font-size: 13px;
    margin-bottom: 8px;
}
.entry-table-loading::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #165DFF;
    opacity: 0.6;
    animation: meizhouPulse 1s ease-in-out infinite;
}
@keyframes meizhouPulse {
    0%, 100% { transform: scale(0.8); opacity: 0.45; }
    50% { transform: scale(1); opacity: 1; }
}
/* 新增/编辑行布局优化：下拉不被裁剪，按钮横向对齐 */
.entry-add-first-row td,
.entry-add-data-row td,
.entry-add-actions-row td {
    vertical-align: top;
}
.entry-add-first-row #entry-inline-dept,
.entry-add-data-row #entry-inline-dept {
    min-height: 42px;
    font-size: 15px;
    text-align: center;
    text-align-last: center;
    margin-left: auto;
    margin-right: auto;
}
.entry-add-first-row .entry-inline-content,
.entry-add-data-row .entry-inline-content {
    min-height: 42px;
    font-size: 15px;
    resize: vertical;
    max-height: 220px;
    line-height: 1.45;
}
.meizhou-entry-table .entry-edit-content {
    resize: vertical;
    min-height: 72px;
    line-height: 1.45;
}
/* 工作计划 JH：工作内容框提示更醒目 */
body[data-current-page="JH.html"] .entry-add-first-row .entry-inline-content::placeholder,
body[data-current-page="JH.html"] .entry-add-data-row .entry-inline-content::placeholder {
    color: #6c757d;
    opacity: 1;
    font-weight: 400;
}
html[data-scheme="dark"] body[data-current-page="JH.html"] .entry-add-first-row .entry-inline-content::placeholder,
html[data-scheme="dark"] body[data-current-page="JH.html"] .entry-add-data-row .entry-inline-content::placeholder {
    color: #a8b8ce;
    opacity: 1;
    font-weight: 400;
}
.entry-add-first-row .entry-inline-date,
.entry-add-data-row .entry-inline-date {
    display: block;
    width: 100%;
    min-width: 110px;
    min-height: 42px;
    font-size: 15px;
    text-align: center;
    text-align-last: center;
    margin: 0 auto;
}
.entry-add-first-row .entry-inline-date-custom,
.entry-add-data-row .entry-inline-date-custom {
    display: block;
    width: 100%;
    min-height: 40px;
    font-size: 14px;
    margin-top: 6px;
}
.entry-add-data-row .btn-remove-add-row {
    vertical-align: middle;
}
.entry-add-actions-row td {
    vertical-align: middle;
    padding-top: 10px;
    padding-bottom: 10px;
}
.entry-add-actions-row .entry-add-actions-content {
    text-align: right;
}
.entry-add-actions-row .entry-add-actions-date {
    text-align: center;
}
#entry-add-more-btn {
    font-size: 15px;
    font-weight: 700;
    padding: 8px 14px;
    width: 116px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-color: #f59e0b;
    color: #b45309;
    background: #fff7ed;
}
#entry-add-more-btn:hover {
    background: #ffedd5;
    border-color: #d97706;
    color: #92400e;
}
#entry-inline-submit {
    font-size: 15px;
    font-weight: 700;
    padding: 8px 20px;
    width: 116px;
    min-width: 116px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.meizhou-entry-two-page:not(.entry-layout-single) #entry-add-more-btn {
    font-size: 14px;
    padding: 6px 12px;
}
.meizhou-entry-two-page:not(.entry-layout-single) #entry-inline-submit {
    font-size: 14px;
    padding: 6px 10px;
    min-width: 0;
    width: 100%;
    max-width: 92px;
}
.meizhou-entry-two-page:not(.entry-layout-single) .entry-add-first-row .entry-inline-date,
.meizhou-entry-two-page:not(.entry-layout-single) .entry-add-data-row .entry-inline-date {
    min-width: 0;
    width: 100%;
    font-size: 14px;
}
.meizhou-entry-two-page:not(.entry-layout-single) .entry-add-actions-row .entry-add-actions-date {
    text-align: center;
    padding-left: 6px;
    padding-right: 6px;
}
/* 正在填报的新增行：醒目背景以示可填写区域 */
.meizhou-entry-table .entry-add-first-row td,
.meizhou-entry-table .entry-add-data-row td,
.meizhou-entry-table .entry-add-actions-row td {
    background: #fff8e1 !important;
    border-color: #ffecb3 !important;
}
.meizhou-entry-table .entry-add-first-row:hover td,
.meizhou-entry-table .entry-add-data-row:hover td,
.meizhou-entry-table .entry-add-actions-row:hover td {
    background: #ffecb3 !important;
}
/* 正在编辑的已有行：更醒目背景以示当前在编辑 */
.meizhou-entry-table tr.entry-editing .entry-cell-content,
.meizhou-entry-table tr.entry-editing .entry-cell-seq,
.meizhou-entry-table tr.entry-editing .entry-cell-date {
    background: #c8e6c9 !important;
    border-color: #a5d6a7 !important;
}
.meizhou-entry-table tr.entry-editing .entry-edit-content {
    min-height: 46px;
    font-size: 15px;
}
.meizhou-entry-table tr.entry-editing .entry-edit-date,
.meizhou-entry-table tr.entry-editing .entry-edit-date-custom {
    min-height: 42px;
    font-size: 15px;
}
.meizhou-entry-table tr.entry-editing .entry-edit-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}
.meizhou-entry-table tr.entry-editing .entry-save,
.meizhou-entry-table tr.entry-editing .entry-cancel {
    min-width: 88px;
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
/* 计划列表行：仅“填报中”的行使用与填报区同色 */
#entry-plan-list-wrap tbody tr.entry-plan-list-filling td {
    background: #fff8e1 !important;
    border-color: #ffecb3 !important;
}
#entry-plan-list-wrap tbody tr.entry-plan-list-filling td:nth-child(4) {
    color: #b45309;
    font-weight: 700;
}
#entry-plan-list-wrap tbody tr.entry-plan-list-filling td:nth-child(1),
#entry-plan-list-wrap tbody tr.entry-plan-list-filling td:nth-child(2) {
    background: #fff !important;
    border-color: #dee2e6 !important;
}
#entry-plan-list-wrap tbody tr.entry-plan-list-filling:hover td {
    background: #ffecb3 !important;
}
#entry-plan-list-wrap tbody tr.entry-plan-list-filling:hover td:nth-child(1),
#entry-plan-list-wrap tbody tr.entry-plan-list-filling:hover td:nth-child(2) {
    background: #f8fafc !important;
}
/* 下个月待填报提醒行：整行琥珀底色，置于当前月列表上方 */
#entry-plan-list-wrap tbody tr.entry-plan-list-next-month-highlight td {
    background: #fff8e1 !important;
    border-color: #ffecb3 !important;
}
#entry-plan-list-wrap tbody tr.entry-plan-list-next-month-highlight td:nth-child(4) {
    color: #b45309;
    font-weight: 700;
}
#entry-plan-list-wrap tbody tr.entry-plan-list-next-month-highlight:hover td {
    background: #ffecb3 !important;
}
/* 发起填报按钮：与“最新填报”列表底色同色系 */
#btn-edit-table-title {
    color: #92400e;
    background-color: #ffecb3;
    border-color: #f6d365;
}
#btn-edit-table-title:hover,
#btn-edit-table-title:focus,
#btn-edit-table-title:active {
    color: #78350f;
    background-color: #f6d365;
    border-color: #eab308;
}
/* 计划列表年度/月份/周数列：固定列宽 */
#entry-plan-list-wrap table { table-layout: fixed; width: 100%; }
#entry-plan-list-wrap thead th:nth-child(1) { width: 80px; min-width: 80px; text-align: center; vertical-align: middle; }
#entry-plan-list-wrap tbody td.entry-plan-list-year { font-weight: 700; }
#entry-plan-list-wrap thead th:nth-child(2) { width: 60px; min-width: 60px; text-align: center; vertical-align: middle; }
#entry-plan-list-wrap thead th:nth-child(3) { width: 56px; min-width: 56px; text-align: center; vertical-align: middle; }
#entry-plan-list-wrap thead th:nth-child(4) { text-align: center; vertical-align: middle; }
#entry-plan-list-wrap thead th:nth-child(5) { width: 200px; min-width: 200px; text-align: right; vertical-align: middle; }
#entry-plan-list-wrap tbody td:nth-child(1) {
    width: 80px;
    min-width: 80px;
    text-align: center;
    vertical-align: middle !important;
}
#entry-plan-list-wrap tbody td:nth-child(2) {
    width: 60px;
    min-width: 60px;
    text-align: center;
    vertical-align: middle !important;
}
#entry-plan-list-wrap tbody td:nth-child(3) {
    width: 56px;
    min-width: 56px;
    text-align: center;
    vertical-align: middle;
}
#entry-plan-list-wrap tbody td:nth-child(4) {
    text-align: center;
    vertical-align: middle;
}
/* 计划列表操作列：固定宽度、右对齐 */
#entry-plan-list-wrap tbody td:nth-child(5) { width: 200px; min-width: 200px; text-align: right; vertical-align: middle; }
.header-filter { display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0; }
.operation-btn { margin: 2px; }
/* 计划列表移动端：表格改为卡片 */
@media (max-width: 767px) {
    .entry-plan-list-table-wrap { display: none !important; }
    .entry-plan-list-cards { display: block !important; padding: 12px 0; }
}
@media (min-width: 768px) {
    .entry-plan-list-cards { display: none !important; }
}
.entry-plan-list-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.entry-plan-list-card.entry-plan-list-card-filling {
    border-left: 4px solid #ffc107;
    background: #fffef8;
}
.entry-plan-list-card.entry-plan-list-card-filling .entry-plan-list-card-title {
    color: #b45309;
    font-weight: 700;
}
.entry-plan-list-card:last-child { margin-bottom: 0; }
.entry-plan-list-card-title { font-weight: 600; font-size: 15px; color: #1a1a2e; line-height: 1.4; margin-bottom: 6px; }
.entry-plan-list-card-meta { font-size: 13px; color: #6c757d; margin-bottom: 10px; }
.entry-plan-list-card-meta span { margin-right: 10px; }
.entry-plan-list-card-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.entry-plan-list-card-actions .btn { flex-shrink: 0; }
.badge-filling-corner {
    color: #7a4e00;
    background: linear-gradient(180deg, #ffe082 0%, #ffca28 100%);
    border: 1px solid #f6b300;
    animation: fillingBadgePulse 1.8s ease-in-out infinite;
    transform-origin: top right;
}
@keyframes fillingBadgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(246, 179, 0, 0);
    }
    50% {
        transform: scale(1.06);
        box-shadow: 0 0 0 3px rgba(246, 179, 0, 0.18);
    }
}
/* 填报区移动端：标题栏换行、PDF 预览高度适中，顶部分栏按钮与筛选在窄屏下堆叠为多行 */
@media (max-width: 767px) {
    #entry-table-wrap .meizhou-entry-table-title-wrap { flex-direction: column; align-items: stretch; gap: 10px; text-align: center; }
    #entry-table-wrap .meizhou-entry-layout-btns { position: static; transform: none; justify-content: center; }
    #entry-plan-preview > div { min-height: 60vh; height: 70vh; }
    /* 移动端：头部操作区重排（按钮两列，筛选独占行） */
    .entry-header-actions {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        width: 100%;
        align-items: stretch;
    }
    .entry-header-actions .btn { width: 100%; margin: 0; }
    .entry-header-actions .header-filter {
        grid-column: 1 / -1;
        width: 100%;
        justify-content: flex-start;
    }
    .entry-header-actions .header-filter select { flex: 1 1 auto; min-width: 0; width: 100%; }
}
@media (max-width: 575px) {
    /* 超窄屏：整表左右两张表限制高度，内部滚动，避免撑到视口外 */
    .meizhou-entry-two-page .table-responsive {
        max-height: 60vh;
    }
    /* 超窄屏：部门名称允许换行，避免横向外溢 */
    .meizhou-entry-table .entry-cell-dept {
        white-space: normal;
        word-break: break-all;
    }
}

/* 调研计划备案模式：复用每周列表样式，调整为“按月备案”显示 */
body.entry-mode-dyba #entry-plan-list-wrap .entry-plan-week-col {
    display: none;
}
body.entry-mode-dyba #entry-plan-list-wrap thead th:nth-child(1),
body.entry-mode-dyba #entry-plan-list-wrap tbody td:nth-child(1) {
    width: 90px;
    min-width: 90px;
}
body.entry-mode-dyba #entry-plan-list-wrap thead th:nth-child(2),
body.entry-mode-dyba #entry-plan-list-wrap tbody td:nth-child(2) {
    width: 70px;
    min-width: 70px;
}
body.entry-mode-dyba #entry-plan-list-wrap thead th:nth-child(5),
body.entry-mode-dyba #entry-plan-list-wrap tbody td:nth-child(5) {
    width: 210px;
    min-width: 210px;
}
body.entry-mode-dyba #meizhou-cross-month-chips {
    display: none !important;
}
/* 调研计划备案下方整表：阴阳文背景（隔行底色） */
body.entry-mode-dyba .meizhou-entry-table tbody tr:not(.entry-add-first-row-dyba):not(.entry-add-data-row-dyba):not(.entry-add-actions-row-dyba):not(.entry-editing):nth-child(odd) td {
    background: #ffffff;
}
body.entry-mode-dyba .meizhou-entry-table tbody tr:not(.entry-add-first-row-dyba):not(.entry-add-data-row-dyba):not(.entry-add-actions-row-dyba):not(.entry-editing):nth-child(even) td {
    background: #f8fafc;
}
body.entry-mode-dyba .meizhou-entry-table tbody tr:not(.entry-add-first-row-dyba):not(.entry-add-data-row-dyba):not(.entry-add-actions-row-dyba):not(.entry-editing):hover td {
    background: #E0ECFF !important;
}
html[data-scheme="dark"] body.entry-mode-dyba .meizhou-entry-table tbody tr:not(.entry-add-first-row-dyba):not(.entry-add-data-row-dyba):not(.entry-add-actions-row-dyba):not(.entry-editing):nth-child(odd) td {
    background: #1c2230;
}
html[data-scheme="dark"] body.entry-mode-dyba .meizhou-entry-table tbody tr:not(.entry-add-first-row-dyba):not(.entry-add-data-row-dyba):not(.entry-add-actions-row-dyba):not(.entry-editing):nth-child(even) td {
    background: #232a38;
}
html[data-scheme="dark"] body.entry-mode-dyba .meizhou-entry-table tbody tr:not(.entry-add-first-row-dyba):not(.entry-add-data-row-dyba):not(.entry-add-actions-row-dyba):not(.entry-editing):hover td {
    background: rgba(59, 130, 246, 0.22) !important;
}

/* 调研计划备案填报表（参照用户图片比例） */
body.entry-mode-dyba .meizhou-entry-table thead th:nth-child(1) { width: 14%; }
body.entry-mode-dyba .meizhou-entry-table thead th:nth-child(2) { width: 34%; min-width: 220px; }
body.entry-mode-dyba .meizhou-entry-table thead th:nth-child(3) { width: 14%; min-width: 120px; }
body.entry-mode-dyba .meizhou-entry-table thead th:nth-child(4) { width: 16%; min-width: 140px; }
body.entry-mode-dyba .meizhou-entry-table thead th:nth-child(5) { width: 22%; min-width: 180px; }
body.entry-mode-dyba .meizhou-entry-table {
    table-layout: fixed;
    width: 100%;
}
/* 调研备案单页：避免继承每周模式“序号窄列”导致主题列被压缩 */
body.entry-mode-dyba .meizhou-entry-two-page.entry-layout-single .meizhou-entry-table thead th:nth-child(2) {
    width: 34%;
    min-width: 220px;
    max-width: none;
}
body.entry-mode-dyba .meizhou-entry-table .entry-cell-leader,
body.entry-mode-dyba .meizhou-entry-table .entry-cell-time {
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
body.entry-mode-dyba .meizhou-entry-table .entry-cell-topic,
body.entry-mode-dyba .meizhou-entry-table .entry-cell-area,
body.entry-mode-dyba .meizhou-entry-table .entry-cell-arrangement {
    text-align: left;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
}
body.entry-mode-dyba .entry-add-first-row-dyba td,
body.entry-mode-dyba .entry-add-data-row-dyba td,
body.entry-mode-dyba .entry-add-actions-row-dyba td {
    background: #fff8e1 !important;
    border-color: #ffecb3 !important;
}

/* 常委会每月工作模式：列表与整表布局复用调研备案的月度展示 */
body.entry-mode-my #entry-plan-list-wrap .entry-plan-week-col {
    display: none;
}
body.entry-mode-my #entry-plan-list-wrap thead th:nth-child(1),
body.entry-mode-my #entry-plan-list-wrap tbody td:nth-child(1) {
    width: 90px;
    min-width: 90px;
}
body.entry-mode-my #entry-plan-list-wrap thead th:nth-child(2),
body.entry-mode-my #entry-plan-list-wrap tbody td:nth-child(2) {
    width: 70px;
    min-width: 70px;
}
body.entry-mode-my #entry-plan-list-wrap thead th:nth-child(5),
body.entry-mode-my #entry-plan-list-wrap tbody td:nth-child(5) {
    width: 210px;
    min-width: 210px;
}
body.entry-mode-my #meizhou-cross-month-chips {
    display: none !important;
}
body.entry-mode-my .meizhou-entry-table thead th:nth-child(1) { width: 12%; min-width: 110px; }
body.entry-mode-my .meizhou-entry-table thead th:nth-child(2) { width: 12%; min-width: 110px; }
body.entry-mode-my .meizhou-entry-table thead th:nth-child(3) { width: 48%; min-width: 360px; }
body.entry-mode-my .meizhou-entry-table thead th:nth-child(4) { width: 12%; min-width: 110px; }
body.entry-mode-my .meizhou-entry-table thead th:nth-child(5) { width: 6%; min-width: 70px; }
body.entry-mode-my .meizhou-entry-table {
    table-layout: fixed;
    width: 100%;
}
body.entry-mode-my .meizhou-entry-table .entry-cell-time {
    text-align: center;
    white-space: nowrap;
}
body.entry-mode-my .meizhou-entry-table .entry-cell-place,
body.entry-mode-my .meizhou-entry-table .entry-cell-content-my,
body.entry-mode-my .meizhou-entry-table .entry-cell-remark {
    text-align: left;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
}
body.entry-mode-my .meizhou-entry-table .entry-cell-leaders {
    text-align: center;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
}
body.entry-mode-my .meizhou-entry-table tbody tr:not(.entry-add-first-row-my):not(.entry-add-data-row-my):not(.entry-add-actions-row-my):not(.entry-editing):nth-child(odd) td:not(.entry-cell-time) {
    background: #fafcff;
}
body.entry-mode-my .meizhou-entry-table tbody tr:not(.entry-add-first-row-my):not(.entry-add-data-row-my):not(.entry-add-actions-row-my):not(.entry-editing):nth-child(even) td:not(.entry-cell-time) {
    background: #ffffff;
}
body.entry-mode-my .meizhou-entry-table tbody tr:not(.entry-add-first-row-my):not(.entry-add-data-row-my):not(.entry-add-actions-row-my):not(.entry-editing):hover td:not(.entry-cell-time) {
    background: #f2f6ff;
}
body.entry-mode-my .entry-add-first-row-my td,
body.entry-mode-my .entry-add-data-row-my td,
body.entry-mode-my .entry-add-actions-row-my td {
    background: #fff8e1 !important;
    border-color: #ffecb3 !important;
}
