.wl-title{margin-bottom:16px}.wl-title h2{font-size:23px;margin:0 0 8px}.wl-title p{font-size:13px;color:var(--text2);margin:0}.wl-header{display:flex;align-items:center;gap:30px;flex-wrap:wrap}.wl-header label{font-size:13px;color:var(--text2);display:block;margin-bottom:8px}.wl-header input{padding:9px 12px;border:1.5px solid var(--border);border-radius:8px;font:inherit}.wl-total{font-size:26px;color:var(--primary);font-weight:700}.wl-tools{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin:12px 0;font-size:13px;color:var(--text2)}.wl-table{min-width:1080px;table-layout:fixed}.wl-table th,.wl-table td{text-align:left;vertical-align:top}.wl-table td{padding:14px 8px}.wl-table input,.wl-table textarea,.wl-table select{font-family:inherit;font-size:13px;width:100%;border:1.5px solid var(--border);padding:9px;border-radius:8px;background:white;color:var(--text)}.wl-table textarea{min-height:0;resize:none;overflow-y:hidden;display:block;line-height:20px}.wl-table input:focus,.wl-table textarea:focus{outline:none;border-color:var(--primary)}.wl-table input:disabled,.wl-table textarea:disabled{background:#f7f8fa}.wl-drop{display:block;padding:12px 7px;border:1.5px dashed var(--border);border-radius:8px;font-size:12px;color:var(--text2);cursor:pointer;line-height:1.8}.wl-drop.drag{border-color:var(--primary);background:#eef6ff}.wl-drop input{display:none}.wl-drop:focus{outline:2px solid var(--primary)}.wl-file{margin-top:7px;display:flex;gap:5px;align-items:center;overflow-wrap:anywhere;font-size:12px}.wl-file a{color:var(--primary);word-break:break-all}.wl-file img{max-width:65px;max-height:48px;border-radius:4px}.wl-file button,.wl-delete{border:0;background:transparent;color:#ff4d4f;cursor:pointer}.wl-row-state{font-size:12px;color:#999;margin-top:8px;overflow-wrap:anywhere}.wl-row-state.error{color:#e34848}.wl-row-state button{border:0;background:transparent;color:var(--primary);cursor:pointer;font-size:12px}.wl-footer{margin:16px 0}.wl-warning{color:#d46b08}.wl-mode{display:flex;gap:8px}.wl-mode .selected{background:var(--primary);color:#fff}.wl-note{font-size:12px;color:var(--text2);margin:8px 0}.wl-scroll{overflow:auto}.wl-picker{display:flex;flex-direction:column;gap:6px}.wl-project-state{font-size:11px;color:#999}
@media(max-width:700px){.wl-table{min-width:0;display:block}.wl-table thead{display:none}.wl-table tbody{display:block}.wl-table tr{display:block;padding:12px;border-bottom:8px solid #f3f5f9}.wl-table td{display:block;width:100%!important;border:0;padding:7px 0}.wl-table td:before{content:attr(data-label);font-size:12px;color:var(--text2);display:block;margin-bottom:5px}.wl-table textarea{min-height:0}.wl-header{justify-content:space-between;gap:12px}}
.wl-preview{width:min(1100px,94vw);max-height:92vh;padding:18px;border:1px solid var(--border);border-radius:12px;background:#fff;color:var(--text)}.wl-preview::backdrop{background:rgba(15,23,42,.75)}.wl-preview-tools{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding-bottom:14px}.wl-preview-tools span{flex:1;overflow-wrap:anywhere}.wl-preview-tools button,.wl-preview-tools a{font:inherit;font-size:13px;padding:7px 10px;border:1px solid var(--border);border-radius:7px;background:white;color:var(--primary);cursor:pointer}.wl-preview-body{overflow:auto;max-height:72vh;text-align:center}.wl-preview-body img{max-width:100%;max-height:68vh;object-fit:contain}.wl-preview-body img.zoom{max-width:none;max-height:none}.wl-file img{cursor:zoom-in}

/* Each row shares the natural content height across its five entry fields. */
.wl-table .wl-project,.wl-table .wl-content,.wl-table .wl-hours,.wl-table .wl-drop{box-sizing:border-box;line-height:20px}.wl-table .wl-drop{display:flex;align-items:center;padding:9px 7px}.wl-table .wl-project,.wl-table .wl-hours{min-height:42px}
/* V108: daily plans share the worklog entry geometry. */
.wl-table .wl-plan{box-sizing:border-box;min-height:42px;line-height:20px}.daily-section{margin:24px 0}.daily-section h3{font-size:16px;margin-bottom:12px}.daily-section>.modal-btn{margin-top:12px}.daily-table{min-width:1050px;table-layout:fixed}.daily-table th,.daily-table td{text-align:left;vertical-align:top}.daily-table th:first-child{width:5%}.daily-table th:last-child{width:10%}.daily-table th:nth-child(2){width:18%}.daily-table input,.daily-table select,.daily-text{width:100%;min-height:42px;border:1.5px solid var(--border);border-radius:8px;padding:9px;font:inherit;font-size:13px;line-height:20px;background:var(--card);color:var(--text)}.daily-text{resize:none;overflow-y:hidden;display:block}.daily-text[readonly]{background:#f7f8fa;color:var(--text2)}#daily-risk{min-height:100px}.daily-table select{min-width:130px}
.robot-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0}.robot-wide{grid-column:1/-1}.robot-grid input,.robot-actions select,#dailyRobotSection td select{font:inherit;min-height:42px;border:1px solid var(--border);border-radius:8px;padding:8px 12px;max-width:100%;background:#fff}.robot-grid input{width:100%;box-sizing:border-box}.robot-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.robot-status{padding:14px;background:var(--bg);border-radius:8px;line-height:1.8;margin:16px 0}#dailyRobotSection h4{margin:24px 0 10px}#dailyRobotSection details{margin-top:18px}#dailyRobotSection td{vertical-align:top}@media(max-width:650px){.robot-grid{grid-template-columns:1fr}.robot-wide{grid-column:auto}}
#dailyRobotSection .eff-table{min-width:760px}#dailyRobotSection .eff-table td{overflow-wrap:anywhere}#dailyRobotSection .wl-scroll{max-width:100%;overflow-x:auto}
#view-ai-daily .admin-section{margin-bottom:20px}#view-ai-daily textarea{font:inherit;width:100%;min-height:80px;padding:10px;border:1px solid var(--border);border-radius:8px;box-sizing:border-box}#view-ai-daily select,#view-ai-daily input[type=date]{font:inherit;min-height:42px;border:1px solid var(--border);border-radius:8px;padding:8px;max-width:100%}#view-ai-daily .ai-table{min-width:900px}#view-ai-daily h3{margin:22px 0 12px}.ai-readable{white-space:pre-wrap;font:inherit;overflow-wrap:anywhere;padding:12px;background:var(--bg)}.ai-diff{border-left:3px solid var(--primary);padding:8px 14px;background:var(--bg);margin:10px 0;white-space:pre-wrap;overflow-wrap:anywhere}.ai-confirm{margin-top:20px;padding:16px;border:1px solid var(--primary);border-radius:8px}.ai-confirm button{margin-left:12px}.ai-questions{line-height:1.8}#view-ai-daily .wl-scroll{max-width:100%;overflow-x:auto}

/* V117 retains the existing form geometry for range queries and project risks. */
.daily-range-table{min-width:1200px}.daily-range-table th:nth-child(2){width:110px}.daily-range-table th:nth-child(3){width:18%}.daily-range-table th:last-child{width:auto}.daily-risk-table{min-width:650px}.daily-risk-table th:first-child{width:25%}.daily-risk-table th:nth-child(2){width:auto}.daily-risk-table th:last-child:not(:nth-child(2)){width:90px}.daily-risk-table .daily-text{min-height:64px}.daily-risk-table #daily-risk{min-height:64px}.wl-review-table{min-width:1200px}.daily-table td{overflow-wrap:anywhere}.daily-section .daily-text{white-space:pre-wrap}
@media(max-width:700px){.wl-review-table{min-width:0}}

.daily-destinations{min-width:850px;table-layout:fixed;width:100%}.daily-destinations th,.daily-destinations td{width:14.285%;vertical-align:top}.daily-destinations textarea{width:100%;min-height:60px;resize:none}.daily-destinations .daily-location{width:100%;min-height:42px;padding:8px;border:1px solid var(--border);border-radius:7px;background:#fff;font:inherit;box-sizing:border-box}.daily-destinations .destination-past,.daily-destinations .destination-past textarea,.daily-destinations .destination-past .daily-location{color:#999;background:#f5f5f5}.daily-destinations .destination-selected{background:#eef5ff}.wl-review-meta{font-size:12px;color:#666;white-space:pre-wrap}.wl-audit-tools{display:flex;gap:8px;flex-wrap:wrap}.wl-audit-tools select,.wl-audit-tools input,.wl-audit-hours,.wl-audit-note{min-height:42px;border:1px solid #ddd;border-radius:8px;padding:8px;font:inherit}.wl-audit-note{width:100%;min-width:130px}.wl-audit-hours{width:100%}.wl-table:has(.wl-audit-hours){min-width:1800px}

.overview-table .db-table{min-width:2100px}.overview-table .overview-project-cell{position:sticky;left:0;background:#fff;z-index:1;min-width:180px}.overview-table th.overview-project-cell{background:#f8fafc}.overview-table td{font-variant-numeric:tabular-nums}.overview-negative{color:#cf1322}

/* V123: keep worklog tables within the content viewport. */
.wl-table.wl-audit-table,.wl-table.wl-excel,.wl-table.wl-mine-table{width:100%;min-width:0;table-layout:fixed}.wl-table th,.wl-table td{overflow-wrap:anywhere;white-space:normal;box-sizing:border-box}.wl-table.wl-audit-table th,.wl-table.wl-audit-table td,.wl-table.wl-excel th,.wl-table.wl-excel td{padding:10px 6px}.wl-table.wl-audit-table .wl-audit-note{min-width:0;min-height:60px}.wl-table.wl-audit-table select,.wl-table.wl-audit-table textarea,.wl-table.wl-audit-table button{max-width:100%;box-sizing:border-box}.wl-audit-controls .wl-audit-tools{gap:5px}.wl-audit-controls .modal-btn{padding:7px 10px}.wl-read-wrap{position:relative}.wl-read-value{white-space:pre-wrap;overflow-wrap:anywhere;line-height:20px;max-height:80px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden}.wl-full{position:absolute;right:0;bottom:0;background:white;padding:0 3px;line-height:20px;font-size:12px}.wl-long-text{white-space:pre-wrap;overflow-wrap:anywhere;max-height:70vh;overflow:auto;line-height:1.8}.wl-attachment-list{max-height:70vh;overflow:auto;overflow-wrap:anywhere}.wl-attachment-list p{padding:10px 0}.wl-excel{border-collapse:collapse}.wl-excel th,.wl-excel td{border:1px solid #d9dfe7}.wl-excel thead th{position:sticky;top:0;background:#f3f5f7;z-index:2}.wl-scroll:has(.wl-excel){max-height:70vh;overflow-y:auto}.wl-table .required-missing,.daily-table .required-missing{background:#fff1f0!important;border-color:#ffa39e}.overview-summary{grid-template-columns:minmax(240px,340px)!important}.overview-summary small{font-size:12px;color:var(--text2);font-weight:400}.project-milestone-table{width:100%;table-layout:fixed}.project-milestone-table th:first-child{width:28%}.project-milestone-table th:last-child{width:9%}.project-milestone-table input,.project-milestone-table select{width:100%;min-width:0;padding:8px 5px;border:1px solid var(--border);border-radius:6px;font:inherit;box-sizing:border-box}
@media(max-width:700px){.wl-scroll:has(.wl-excel){max-height:none}.wl-table.wl-excel,.wl-table.wl-audit-table{min-width:0}.wl-excel td,.wl-excel th{border:0}.wl-table.wl-excel td[data-label="完成工作内容"]{width:100%!important}.overview-summary{grid-template-columns:1fr!important}.project-milestone-table{min-width:550px}}
/* V126: preserve existing visual system while fitting plan and comparison columns. */
.wl-table button.wl-plan{width:100%;min-height:42px;white-space:pre-wrap;overflow-wrap:anywhere;text-align:left;border:1.5px solid var(--border);border-radius:8px;padding:9px 20px 9px 9px;background:var(--card);color:var(--text);font:inherit;font-size:13px;line-height:20px;position:relative;cursor:pointer;box-sizing:border-box}
.wl-table button.wl-plan:after{content:'⌄';position:absolute;right:6px;top:10px}.wl-table button.wl-plan:disabled{background:#f7f8fa;color:var(--text2);cursor:default}.wl-plan-options{display:flex;flex-direction:column;gap:8px;max-height:65vh;overflow:auto}.wl-plan-options button{text-align:left;white-space:pre-wrap;overflow-wrap:anywhere}.wl-row-state[hidden]{display:none}
.overview-summary{grid-template-columns:repeat(3,minmax(0,1fr))!important}.db-sort{border:0;background:transparent;text-align:left;color:inherit;font:inherit;font-weight:600;padding:0;cursor:pointer}.db-sort:focus-visible{outline:2px solid var(--primary)}
.daily-day summary{cursor:pointer;display:flex;gap:20px;align-items:center}.daily-day summary small{color:var(--text2)}.daily-day[open] summary{margin-bottom:12px}.daily-table.daily-today-table{min-width:1050px}.daily-today-table th:nth-child(2){width:15%}.daily-today-table th:nth-child(3){width:20%}.daily-today-table th:nth-child(4){width:25%}.daily-today-table th:nth-child(5){width:15%}.daily-today-table th:nth-child(6){width:14%}.daily-table input,.daily-table select,.daily-text{box-sizing:border-box}.daily-tomorrow-table th:nth-child(3){width:50%}.daily-tomorrow-table th:nth-child(4){width:14%}.daily-risk-table th:first-child{width:5%}.daily-risk-table th:nth-child(2){width:20%}.daily-risk-table th:nth-child(3){width:65%}
@media(max-width:700px){.overview-summary{grid-template-columns:1fr!important}.daily-day{padding:12px}}

.daily-risk-table th:nth-child(3),.daily-risk-table th:nth-child(4){width:28%}.daily-risk-table th:nth-child(5){width:12%}.daily-tomorrow-table th:nth-child(3){width:35%}.daily-tomorrow-table th:nth-child(4),.daily-tomorrow-table th:nth-child(5){width:15%}.daily-range-table th:nth-child(2){width:110px}.daily-range-table th:nth-child(3){width:150px}.daily-range-table th:nth-child(4),.daily-range-table th:nth-child(5){width:auto}.daily-range-table th:first-child{width:55px}.daily-range-table th:last-child{width:100px}.daily-range-table select{min-width:110px}.daily-range-table.daily-today-table{min-width:1350px}.daily-range-table.daily-risk-table{min-width:1000px}.daily-range-state .wl-tools{margin:4px 0}.project-fields .eff-table input,.project-fields .eff-table select,#projectSettingsSection input:not([type=checkbox]){width:100%;min-width:0;box-sizing:border-box;padding:8px;border:1px solid var(--border);border-radius:6px;font:inherit}.project-fields .eff-table{min-width:650px}.overview-summary{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))!important}
/* V-优化：8h封顶提示 + 草稿滞留提醒 */
.wl-note{font-size:12px;color:var(--text2)}.wl-note.wl-warning{color:#d46b08;font-weight:600}
#wl-cap-note{display:block;margin-top:4px;min-height:14px}
.wl-draft-age{display:inline-block;margin-left:6px;padding:1px 7px;border-radius:10px;font-size:11px;font-weight:600;background:#fff7e6;color:#d46b08;border:1px solid #ffd591;vertical-align:middle}
.wl-draft-age-severe{background:#fff1f0;color:#cf1322;border-color:#ffccc7}

.wl-preview{margin:auto}.wl-plan-popup{position:fixed;z-index:10000;overflow-y:auto;background:var(--card);border:1px solid var(--border);border-radius:8px;padding:4px;box-shadow:0 5px 18px #0002;box-sizing:border-box}.wl-plan-popup button{display:block;width:100%;border:0;background:transparent;text-align:left;white-space:pre-wrap;overflow-wrap:anywhere;padding:10px;font:inherit;color:var(--text);cursor:pointer}.wl-plan-popup button.plan-own{color:#cf1322}.wl-plan-popup button.plan-unassigned{color:#1677ff}.wl-plan-popup button.plan-other{color:#389e0d}.wl-plan-popup button:hover,.wl-plan-popup button:focus,.wl-plan-popup button[aria-selected=true]{background:#e6f4ff;outline:0}
.wl-badge{display:inline-block;margin-left:6px;padding:1px 7px;border-radius:10px;font-size:11px;font-weight:700;line-height:1.4;background:#ff4d4f;color:#fff;vertical-align:middle}
.nav-tab.active .wl-badge{background:#fff;color:#ff4d4f}
.wl-pending-count{display:inline-block;margin-right:10px;padding:4px 12px;border-radius:8px;font-size:13px;font-weight:700;background:#fff1f0;color:#cf1322;border:1px solid #ffccc7}

dialog.wl-preview{position:fixed;inset:0;margin:auto;max-width:94vw;max-height:92vh;box-sizing:border-box}dialog.wl-preview .wl-preview-tools{position:sticky;top:0;background:#fff}dialog.wl-preview .wl-long-text{max-height:70vh;overflow:auto}

.severity-critical{color:#cf1322!important}.severity-high{color:#8b4513!important}.severity-medium{color:#1677ff!important}.severity-low,.severity-none{color:#000!important}.daily-risk-table{min-width:1250px!important}.daily-risk-table th:nth-child(1){width:4%}.daily-risk-table th:nth-child(2){width:15%}.daily-risk-table th:nth-child(3){width:17%}.daily-risk-table th:nth-child(4),.daily-risk-table th:nth-child(5){width:20%}.daily-risk-table th:nth-child(6){width:14%}.daily-risk-table th:nth-child(7),.daily-risk-table th:nth-child(8){width:5%}.daily-range-table.daily-risk-table{min-width:1450px!important}.overview-risk-text{white-space:pre-wrap!important;min-width:160px;overflow-wrap:anywhere}.overview-table td[rowspan]{vertical-align:middle}
/* V138: fixed proportional columns; range adds a date column before project. */
.daily-table.daily-risk-table{table-layout:fixed;width:100%;min-width:0!important}
.daily-table.daily-risk-table th{width:auto!important;white-space:normal;overflow-wrap:normal}
.daily-table.daily-risk-table th,.daily-table.daily-risk-table td{padding:10px 8px;box-sizing:border-box}
.daily-table.daily-risk-table select,.daily-table.daily-risk-table textarea{width:100%;min-width:0;max-width:100%;font-size:14px;box-sizing:border-box}
.daily-table.daily-risk-table select{padding:8px 4px}
.daily-table.daily-risk-table th:last-child,.daily-table.daily-risk-table td:last-child{border-left:1px solid var(--border);text-align:center}
.daily-table.daily-risk-table td:last-child button{white-space:nowrap}

.daily-carry-reference{font-size:12px;color:var(--text2);margin-top:6px;white-space:pre-wrap}.daily-carry-reference summary{cursor:pointer}
.daily-range-table.daily-today-table th:nth-child(2),.daily-range-table.daily-today-table th:nth-child(7){width:168px}.daily-range-table.daily-tomorrow-table th:nth-child(2){width:168px}.daily-range-table.daily-tomorrow-table th:nth-child(3){width:140px}.daily-range-table.daily-tomorrow-table th:nth-child(4){width:auto}.daily-range-table.daily-tomorrow-table th:nth-child(5){width:86px}.daily-range-table.daily-tomorrow-table th:nth-child(6){width:88px}.daily-range-table.daily-tomorrow-table select{min-width:0}.daily-range-table input[type=date],#daily-add-date{min-width:150px}.wl-header input[type=date]{min-width:180px}
/* V158: seven plan columns remain readable; operation has a fixed independent column. */
.daily-table.daily-tomorrow-table{min-width:1120px;table-layout:fixed}.daily-tomorrow-table th:nth-child(1){width:54px}.daily-tomorrow-table th:nth-child(2){width:170px}.daily-tomorrow-table th:nth-child(3){width:auto}.daily-tomorrow-table th:nth-child(4){width:168px}.daily-tomorrow-table th:nth-child(5){width:180px}.daily-tomorrow-table th:nth-child(6){width:100px}.daily-tomorrow-table th:nth-child(7){width:90px}.daily-tomorrow-table th,.daily-tomorrow-table td{vertical-align:middle}.daily-tomorrow-table select,.daily-tomorrow-table input{width:100%;min-width:0}.daily-range-table.daily-tomorrow-table{min-width:1250px}.daily-range-table.daily-tomorrow-table th:nth-child(1){width:54px}.daily-range-table.daily-tomorrow-table th:nth-child(2){width:150px}.daily-range-table.daily-tomorrow-table th:nth-child(3){width:170px}.daily-range-table.daily-tomorrow-table th:nth-child(4){width:auto}.daily-range-table.daily-tomorrow-table th:nth-child(5){width:180px}.daily-range-table.daily-tomorrow-table th:nth-child(6){width:100px}.daily-range-table.daily-tomorrow-table th:nth-child(7){width:90px}
.daily-destinations{min-width:900px;width:100%;table-layout:fixed}.daily-destinations .destination-period{width:68px;white-space:nowrap;text-align:center}.daily-destinations th:not(.destination-period){white-space:nowrap;text-align:center}.daily-destinations td{padding:6px}.daily-destinations .daily-location{width:100%;box-sizing:border-box;min-height:40px}.daily-destinations .destination-past .daily-location{pointer-events:none}
/* 单项目看板的风险直接展示，无须再次展开。 */
.project-board details:not([open])>*:not(summary){display:block}.project-board details>summary{display:none}
/* 人天计划已迁移为按人员填写；保留级别字段仅用于历史统计兼容。 */
.project-plan-table{display:none}.project-plan-table+.wide{display:none}
.wl-review-filters{display:flex;gap:20px;align-items:end;flex-wrap:wrap}.wl-review-filters label{display:grid;gap:6px;font-size:13px}.wl-review-filters select{min-width:160px;padding:10px;border:1px solid var(--border);border-radius:8px;background:white;font:inherit}

/* V174: 日报与工时采用连续网格，控件作为单元格内容而非独立卡片。 */
.wl-table,.daily-table{border-collapse:collapse;border:1px solid #dfe3e8;background:#fff}
.wl-table th,.wl-table td,.daily-table th,.daily-table td{border:1px solid #dfe3e8!important}
.wl-table th,.daily-table th{background:#f5f6f8!important;color:#5f6368;font-weight:700}
.wl-table td,.daily-table td{padding:5px 6px!important;background:#fff}
.wl-table tbody tr:hover td,.daily-table tbody tr:hover td{background:#f8fbff}
.wl-table input,.wl-table textarea,.wl-table select,.daily-table input,.daily-table select,.daily-table .daily-text{box-sizing:border-box;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;min-height:36px;padding:6px!important}
.wl-table input:focus,.wl-table textarea:focus,.wl-table select:focus,.daily-table input:focus,.daily-table select:focus,.daily-table .daily-text:focus{outline:0;box-shadow:inset 0 0 0 2px var(--primary)!important;background:#f7fbff!important}
.wl-table input:disabled,.wl-table textarea:disabled,.wl-table select:disabled,.daily-table input:disabled,.daily-table select:disabled,.daily-table .daily-text[readonly]{background:#f2f3f5!important;color:var(--text2)}
.wl-table .wl-drop{min-height:36px;border:0!important;border-radius:0!important;padding:6px!important;background:transparent}
.wl-table .wl-plan{width:100%;min-height:36px;border:0!important;border-radius:0!important;background:transparent!important;padding:6px!important;text-align:left;color:var(--text)}
.wl-table .wl-plan:focus{outline:0;box-shadow:inset 0 0 0 2px var(--primary)!important;background:#f7fbff!important}
.wl-table .wl-drop.drag{background:#eef6ff!important;box-shadow:inset 0 0 0 2px var(--primary)}
.wl-table .wl-file{margin-top:4px;padding-top:4px;border-top:1px dashed #dfe3e8}
.wl-table .wl-project-state,.wl-table .wl-row-state{margin-top:4px}
.wl-table .wl-content,.daily-table .daily-text{line-height:20px}
.daily-table .daily-carry-reference{margin:4px 2px 0;padding-top:4px;border-top:1px dashed #dfe3e8}
.eff-table-wrap:has(.wl-table),.eff-table-wrap:has(.daily-table){border:1px solid #dfe3e8;box-shadow:none;background:#fff}
.daily-section h3{display:flex;align-items:center;justify-content:space-between;gap:12px}.daily-section-tools{display:flex;gap:8px;align-items:center}.daily-row-selected>td{background:#eef6ff!important}.daily-row-selected textarea,.daily-row-selected select,.daily-row-selected input{background:#f7fbff!important}

/* V156: range rows are selectable and plan destinations are split into two work periods. */
.daily-range-filters{display:flex;gap:14px;align-items:end;margin:0 0 12px}.daily-range-filters label{display:grid;gap:5px;font-size:13px;color:var(--text2)}.daily-range-filters select,.destination-slot select{min-height:38px;padding:7px;border:1px solid var(--border);border-radius:7px;background:#fff;font:inherit}.daily-range-selected>td{background:#eaf4ff!important}.daily-range-table tbody tr{cursor:pointer}.daily-destinations .destination-slot{display:grid;gap:6px;padding:8px 0;border-bottom:1px solid var(--border)}.daily-destinations .destination-slot:last-child{border-bottom:0}.daily-destinations .destination-slot strong{font-size:12px;color:var(--text2)}.daily-destinations .destination-slot textarea{min-height:48px}.daily-destinations .destination-past select,.daily-destinations .destination-past textarea{pointer-events:none}

/* Markdown has its own flow; long-text white-space rules must not flatten tables. */
.wl-preview .markdown-view{white-space:normal;min-width:0;overflow-wrap:anywhere}
.markdown-view .markdown-table-scroll{max-width:100%;overflow-x:auto;margin:12px 0}
.markdown-view table{width:100%;border-collapse:collapse;table-layout:auto;font:inherit}
.markdown-view th,.markdown-view td{border:1px solid #d9dfe7;padding:8px 12px;vertical-align:top;min-width:90px;white-space:normal;overflow-wrap:anywhere}
.markdown-view th{background:#f3f5f7;font-weight:600}
.markdown-view pre{white-space:pre;overflow:auto;background:#f5f6f8;padding:12px;border-radius:6px}
.markdown-view code{font-family:monospace;background:#f5f6f8}.markdown-view p{margin:10px 0}

.daily-editable-cell{cursor:text}
.wl-table .wl-incomplete{background:#fff7dd!important;box-shadow:inset 0 0 0 1px #e9ba55!important}
.wl-table .wl-audit-hours,.wl-table .wl-audit-note{border:1px solid #bfc8d8!important;background:#fff!important;border-radius:6px!important}
.wl-project-search{display:flex;align-items:center;gap:8px;margin:12px 0 12px 18px}.wl-project-search input{min-width:260px;padding:8px}

/* 未完成任务表使用独立列宽，避免完成情况控件覆盖标记日期列。 */
.daily-unfinished-table{width:100%;min-width:1320px;table-layout:fixed}.daily-unfinished-table th,.daily-unfinished-table td{overflow-wrap:anywhere}.daily-unfinished-table td:nth-child(5),.daily-unfinished-table td:nth-child(6),.daily-unfinished-table td:nth-child(8),.daily-unfinished-table td:nth-child(9){white-space:nowrap}.daily-unfinished-table select{width:100%;min-width:0;max-width:100%;box-sizing:border-box}

.wl-header .wl-recent-days{margin-left:auto;display:flex;gap:8px;align-items:stretch;overflow-x:auto;max-width:72%}.wl-recent-day{min-width:76px;padding:7px 9px;border:1px solid var(--border);border-radius:8px;background:#fff;display:flex;flex-direction:column;align-items:center;gap:2px;font:inherit;cursor:pointer}.wl-recent-day small{color:var(--text2)}.wl-recent-day strong{font-size:12px}.wl-recent-day.selected{border-color:var(--primary);background:#eaf3ff;color:var(--primary)}@media(max-width:900px){.wl-header .wl-recent-days{order:3;margin-left:0;max-width:100%;width:100%}}
