#tabProject .project-main-inner { max-width: 1600px; width: 100%; }
#tabProject .project-main { min-width: 0; padding: 28px; background: #fff; }
#tabProject .project-main-inner { min-width: 0; }
#tabProject .pw-navigation { width: 200px; min-width: 180px; padding: 18px 10px; gap: 6px; background: #fafbfc; }
.pw-navigation button { display: flex; align-items: center; gap: 10px; width: 100%; border: 0; border-radius: 7px; background: transparent; color: #344054; text-align: left; padding: 12px; font: inherit; font-size: 14px; cursor: pointer; white-space: nowrap; }
.pw-navigation button:hover { background: #f0f2f7; }
.pw-navigation button.selected { color: #315efb; background: #edf1ff; font-weight: 600; }
.pw-navigation button span { font-size: 18px; width: 22px; text-align: center; }
.pw-views { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid #e5e8ef; margin-bottom: 16px; }
.pw-views button { white-space: nowrap; border: 0; border-bottom: 2px solid transparent; padding: 12px 16px; background: transparent; color: #697386; cursor: pointer; font: inherit; font-size: 13px; }
.pw-views button.selected { color: #315efb; background: #f7f9ff; border-bottom-color: #315efb; }
.pw-views[hidden] { display: none; }
.pw-group-row td { background: #f7f8fc; font-weight: 600; padding: 10px 16px; }
.pw-group-row span { font-weight: 400; color: #8691a2; margin-left: 12px; font-size: 12px; }
.pw-goal { white-space: pre-wrap; min-width: 220px; max-width: 300px; overflow-wrap: anywhere; }
.pw-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 26px 0; }
.pw-kpi { display: flex; flex-direction: column; gap: 14px; border: 1px solid #e7eaf1; border-radius: 10px; padding: 20px; background: #fff; }
.pw-kpi > span { font-size: 13px; color: #697386; }
.pw-kpi strong { font-size: 32px; font-weight: 650; letter-spacing: -.8px; }
.pw-kpi small { color: #8b94a4; font-size: 12px; }
.pw-dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(260px, 1fr); gap: 20px; }
.pw-panel { border: 1px solid #e7eaf1; border-radius: 10px; background: #fff; padding: 22px; }
.pw-panel h3 { margin: 0 0 24px; font-size: 15px; font-weight: 600; }
.pw-project-progress { margin-top: 22px; padding-bottom: 20px; border-bottom: 1px solid #f0f2f6; }
.pw-project-progress > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.pw-progress-meta { display: flex; justify-content: space-between; font-size: 12px; color: #8691a2; margin-top: 10px; }
.pw-progress-meta strong { color: #5369df; }
.pw-state-line { display: flex; align-items: center; gap: 16px; margin: 24px 0; }
.pw-state-line .pw-progress { flex: 1; min-width: 20px; }
.pw-state-line strong { font-size: 14px; width: 24px; text-align: right; }
.pw-progress .pw-bar-pending { background: #e9bb62; }
.pw-progress .pw-bar-done { background: #57b78d; }
.pw-progress .pw-bar-blocked { background: #e17d88; }
.pw-dashboard-tip { font-size: 12px; color: #8691a2; line-height: 1.8; margin-top: 28px; }
#projectWorkspace { color: var(--text, #243146); margin-bottom: 20px; }
.pw-heading h2 { font-size: 23px; margin: 0 0 5px; letter-spacing: -.6px; }
.pw-heading p { color: var(--muted, #758297); font-size: 13px; margin: 0 0 22px; }
.pw-tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--border, #e6eaf0); margin-bottom: 20px; }
.pw-tabs button { border: 0; background: none; color: var(--muted, #758297); padding: 12px 2px; font: inherit; cursor: pointer; border-bottom: 3px solid transparent; }
.pw-tabs button.selected { color: #4f66df; border-bottom-color: #4f66df; font-weight: 650; }
.pw-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.pw-toolbar[hidden], #pwContent[hidden] { display: none; }
.pw-toolbar input, .pw-toolbar select { border: 1px solid var(--border, #e2e7ef); border-radius: 8px; padding: 9px 11px; background: var(--card, #fff); color: inherit; font: inherit; font-size: 13px; min-width: 0; }
.pw-toolbar input { flex: 1; min-width: 180px; }
.pw-primary { background: #5369df; color: white; border: none; border-radius: 8px; padding: 10px 16px; cursor: pointer; font-size: 13px; }
.pw-summary { display: flex; flex-wrap: wrap; gap: 24px; margin-bottom: 16px; color: var(--muted, #758297); font-size: 13px; }
.pw-summary strong { font-size: 22px; font-weight: 650; color: var(--text, #243146); margin-right: 5px; }
.pw-table-wrap { overflow-x: auto; background: var(--card, #fff); border: 1px solid var(--border, #e6eaf0); border-radius: 4px; }
.pw-table { width: 100%; min-width: 1110px; border-collapse: collapse; font-size: 13px; text-align: left; }
.pw-table th { padding: 14px 16px; background: rgba(130,145,175,.06); color: var(--muted, #69778b); font-weight: 550; white-space: nowrap; }
.pw-table td { padding: 13px 16px; border-top: 1px solid var(--border, #edf0f5); border-right: 1px solid #edf0f5; vertical-align: top; white-space: nowrap; }
.pw-table td.pw-goal { white-space: pre-wrap; }
.pw-table tr:hover td { background: rgba(83,105,223,.025); }
.pw-table td:first-child { min-width: 230px; max-width: 360px; }
.pw-title { border: 0; padding: 0; text-align: left; background: transparent; color: inherit; font: inherit; font-weight: 600; cursor: pointer; white-space: pre-wrap; overflow-wrap: anywhere; }
.pw-title:hover, .pw-link:hover { color: #5369df; text-decoration: underline; }
.pw-note { color: var(--muted, #8691a2); font-size: 12px; line-height: 1.7; margin-top: 6px; white-space: pre-wrap; overflow-wrap: anywhere; max-width: 330px; }
.pw-badge, .pw-inline-status { display: inline-block; font-size: 12px; border: 0; border-radius: 5px; padding: 4px 8px; white-space: nowrap; }
.pw-inline-status { cursor: pointer; min-width: 84px; }
.pw-pending { color: #252830; background: #c7d3ff; }
.pw-active { color: #3b69bb; background: #e9f0ff; }
.pw-done { color: #28835d; background: #e3f5eb; }
.pw-blocked, .pw-P0 { color: #bd4a54; background: #ffeaed; }
.pw-P1 { color: #996d15; background: #fff2cf; }
.pw-P2 { color: #4f70b5; background: #e9f0ff; }
.pw-P3 { color: #398578; background: #e5f5f0; }
.pw-cancelled { color: #768194; background: #eef0f4; }
.pw-progress .pw-bar-cancelled { background: #9ba5b5; }
.list-done-btn.is-cancelled { border-color: #a5adbb; background: #eef0f4; color: #768194; }
.list-done-btn.is-cancelled::after { content: '×'; color: #768194; font-size: 17px; transform: none; border: 0; position: static; width: auto; height: auto; }
.list-row-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; white-space: nowrap; }
.list-cancel-btn { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 30px; width: 30px; min-width: 30px; height: 30px; border: 0; background: transparent; color: rgba(0,0,0,0.15); cursor: pointer; padding: 0; font-size: 15px; border-radius: 5px; }
.list-cancel-btn:hover { color: #b77632; background: #fff3df; }
.list-cancel-btn:focus-visible { outline: 2px solid #5878ed; outline-offset: 1px; }
.list-row-actions .list-del-btn { flex: 0 0 28px; }
.list-table-wrap .col-action, #listTable .col-action { width: 90px !important; min-width: 90px !important; overflow: visible; }
.pw-progress { background: #eaf0f8; height: 6px; border-radius: 4px; min-width: 125px; margin: 7px 0; overflow: hidden; }
.pw-progress span { display: block; height: 100%; background: #637be7; border-radius: inherit; }
.pw-link { border: 0; color: #5369df; background: none; cursor: pointer; font-size: 13px; padding: 0; }
.pw-overdue { color: #cf5860; }
.pw-empty { text-align: center; color: var(--muted, #8691a2); padding: 48px 20px !important; }
.pw-help { font-size: 12px; line-height: 1.8; color: var(--muted, #8691a2); margin-top: 12px; }
.pw-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.pw-modal { max-width: 580px; max-height: 88vh; overflow-y: auto; }
.pw-modal input, .pw-modal select, .pw-modal textarea { width: 100%; box-sizing: border-box; }
@media (max-width: 700px) { .pw-fields { grid-template-columns: 1fr; } .pw-tabs { gap: 18px; } .pw-toolbar input { flex-basis: 100%; } .pw-heading h2 { font-size: 20px; } .pw-summary { gap: 16px; } }
@media (max-width: 1100px) { .pw-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pw-dashboard-grid { grid-template-columns: 1fr; } }
@media (max-width: 768px) { #tabProject .pw-navigation { width: 100%; min-width: 0; max-height: none; flex-direction: row; flex-wrap: nowrap; padding: 8px; overflow-x: auto; border-right: 0; border-bottom: 1px solid #e5e8ef; } .pw-navigation button { width: auto; padding: 10px; flex-shrink: 0; font-size: 13px; } #tabProject .project-main { padding: 18px 14px; } .pw-kpi { padding: 15px; } .pw-panel { padding: 16px; } .pw-kpis { gap: 10px; } }
.pw-dock { position: relative; display: flex; flex-direction: column; flex: 0 0 var(--pw-panel-width); width: var(--pw-panel-width); min-width: 0; min-height: 0; max-height: 100%; background: #fafbfc; border-right: 1px solid #e2e8f0; box-sizing: border-box; }
.pw-dock-header { display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; height: 42px; padding: 0 10px 0 16px; gap: 8px; }
.pw-dock-label { color: #8b94a4; font-size: 12px; white-space: nowrap; overflow: hidden; }
.pw-dock-toggle { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 5px; background: transparent; color: #68758b; cursor: pointer; font-size: 24px; line-height: 1; }
.pw-dock-toggle:hover { background: #e9eefb; color: #315efb; }
.pw-dock-toggle:focus-visible, .pw-dock-resizer:focus-visible { outline: 2px solid #637be7; outline-offset: -2px; }
.pw-dock #scheduleSubNav, #tabProject .pw-dock #pwNavigation { width: 100%; min-width: 0; flex: 1; min-height: 0; max-height: none; border-right: 0; padding: 8px 10px; overflow-y: auto; box-sizing: border-box; }
.pw-dock #scheduleSubNav .schedule-nav-btn { min-width: 0; overflow: hidden; white-space: nowrap; padding-left: 10px; padding-right: 10px; }
.pw-dock #pwNavigation button { overflow: hidden; }
.pw-dock-resizer { position: absolute; z-index: 5; top: 0; bottom: 0; right: -3px; width: 7px; cursor: col-resize; touch-action: none; }
.pw-dock-resizer::after { content: ''; position: absolute; inset: 0 2px; background: transparent; }
.pw-dock-resizer:hover::after, .pw-dock-resizer:focus-visible::after, .pw-dock.is-resizing .pw-dock-resizer::after { background: #5878ed; }
.pw-dock.is-resizing { user-select: none; }
.pw-dock.is-collapsed { flex-basis: 34px; width: 34px; }
.pw-dock.is-collapsed .pw-dock-label, .pw-dock.is-collapsed > .pw-dock-body, .pw-dock.is-collapsed .pw-dock-resizer { display: none !important; }
.pw-dock.is-collapsed .pw-dock-header { justify-content: center; padding: 0; }
body.pw-project-focus .cal-sidebar, body.pw-project-focus #pwDock-schedule { display: none !important; }
.pw-global-nav-toggle { position: fixed; z-index: 90; left: 10px; bottom: 14px; width: 32px; height: 32px; border: 1px solid #dfe4ec; border-radius: 7px; color: #738096; background: #fff; cursor: pointer; box-shadow: 0 2px 8px rgba(30,45,70,.08); }
.pw-global-nav-toggle:hover { color: #315efb; background: #f3f6ff; }
.pw-global-nav-toggle[hidden] { display: none; }
.pw-task-grid-active .pw-heading { display: none; }
#tabProject .project-main.pw-task-grid-main { padding: 0; }
.pw-task-grid-main .project-main-inner { max-width: none !important; gap: 0; height: 100%; }
.pw-task-grid-active { margin: 0 !important; width: 100%; min-width: 0; height: 100%; display: flex; flex-direction: column; }
.pw-task-grid-active .pw-views { margin: 0; padding: 0 12px; min-height: 48px; flex-shrink: 0; background: #f7f8fa; }
.pw-task-grid-active .pw-views button { font-size: 14px; padding: 14px 18px; border-radius: 7px 7px 0 0; }
.pw-task-grid-active .pw-views button::before { content: '▦'; margin-right: 8px; font-size: 17px; }
.pw-task-grid-active .pw-views button.selected { background: #fff; border-bottom-color: transparent; color: #1f2937; }
.pw-task-grid-active .pw-toolbar { margin: 0; padding: 10px 16px; gap: 8px; border-bottom: 1px solid #dfe3e8; flex-shrink: 0; }
.pw-task-grid-active .pw-toolbar input, .pw-task-grid-active .pw-toolbar select { border-color: transparent; border-radius: 4px; padding: 6px 8px; font-size: 12px; background: transparent; }
.pw-task-grid-active .pw-toolbar input { min-width: 130px; max-width: 240px; }
.pw-task-grid-active .pw-toolbar input:focus, .pw-task-grid-active .pw-toolbar select:focus { outline: 1px solid #6c8aff; background: #fff; }
.pw-task-grid-active .pw-primary { padding: 7px 11px; margin-left: auto; border-radius: 5px; background: #3370ff; }
.pw-task-grid-active #pwContent { min-height: 0; flex: 1; display: flex; flex-direction: column; }
.pw-task-grid-active .pw-feishu-wrap { flex: 1; min-height: 180px; overflow: auto; border: 0; border-radius: 0; background: #fff; }
.pw-feishu-table { table-layout: fixed; min-width: 1623px; width: 1623px; font-size: 14px; color: #252830; }
.pw-feishu-table thead { position: sticky; top: 0; z-index: 2; }
.pw-feishu-table th { height: 40px; padding: 0 10px; background: #fff; border-right: 1px solid #dfe1e5; border-bottom: 1px solid #dfe1e5; color: #252830; font-weight: 400; }
.pw-feishu-table td { height: 36px; padding: 0 10px; vertical-align: middle; border-color: #dfe1e5; overflow: hidden; text-overflow: ellipsis; }
.pw-feishu-table tbody td { background: #fff; }
.pw-feishu-table tbody tr:hover td { background: #f8f9fc; }
.pw-feishu-table td:first-child { min-width: 0; max-width: none; }
.pw-feishu-table .pw-row-number { position: sticky; left: 0; text-align: center; color: #9299a6; background: #fff; font-size: 12px; padding: 0; z-index: 1; }
.pw-feishu-table th.pw-row-number { background: #fafbfc; z-index: 3; }
.pw-field-icon { color: #7c8491; margin-right: 8px; font-size: 13px; }
.pw-feishu-table .pw-title { display: block; width: 100%; font-weight: 400; line-height: 36px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #252830; }
.pw-feishu-table .pw-badge, .pw-feishu-table .pw-inline-status { border-radius: 12px; padding: 2px 9px; font-size: 12px; height: 24px; box-sizing: border-box; }
.pw-feishu-table .pw-inline-status { appearance: none; min-width: 0; max-width: 100%; }
.pw-feishu-table .pw-pending { background: #c7d3ff; color: #252830; }
.pw-feishu-table .pw-active { background: #f8e18a; color: #252830; }
.pw-feishu-table .pw-done { background: #a5df99; color: #252830; }
.pw-feishu-table .pw-blocked { background: #fadddf; color: #b63640; }
.pw-feishu-table .pw-P0 { background: #f47775; color: #fff; }
.pw-feishu-table .pw-P1 { background: #f8cd42; color: #fff; }
.pw-feishu-table .pw-P2 { background: #c9eafb; color: #286b8b; }
.pw-feishu-table .pw-P3 { background: #c9eee4; color: #267866; }
.pw-record-chip, .pw-person-chip { display: inline-block; max-width: 100%; box-sizing: border-box; padding: 2px 7px; border-radius: 3px; background: #edf0f4; color: #343a46; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; }
.pw-person-chip { margin-right: 4px; }
.pw-feishu-table .pw-record-chip, .pw-feishu-table .pw-person-chip { background: rgba(31,35,41,.10); color: #252830; border-radius: 2px; padding: 1px 7px; line-height: 22px; font-size: 14px; }
.pw-feishu-table .pw-badge, .pw-feishu-table .pw-inline-status { font-size: 14px; height: 24px; line-height: 20px; padding: 1px 9px; }
.pw-feishu-table .pw-field-icon { color: #646a73; font-size: 14px; }
.pw-feishu-table tbody tr:last-child td { border-bottom: 1px solid #dfe1e5; }
.pw-feishu-table th { position: relative; }
.pw-col-resizer { position: absolute; z-index: 5; top: 0; bottom: 0; right: -3px; width: 7px; cursor: col-resize; touch-action: none; }
.pw-col-resizer:hover, .pw-col-resizer:focus-visible { background: #5085f3; outline: none; }
.pw-resizing-columns { user-select: none; cursor: col-resize; }
.pw-editable-grid .pw-cell-input { display: block; width: 100%; box-sizing: border-box; height: 34px; border: 1px solid transparent; border-radius: 0; margin: 0; padding: 6px 0; font: inherit; color: inherit; background: transparent; outline: none; }
.pw-editable-grid .pw-cell-text { resize: none; overflow: hidden; white-space: pre; line-height: 20px; }
.pw-editable-grid .pw-cell-input:hover { background: #f8faff; }
.pw-editable-grid .pw-cell-input:focus { border-color: #3370ff; background: #fff; padding-left: 5px; box-shadow: 0 0 0 1px #3370ff; }
.pw-editable-grid .pw-date-empty:not(:focus) { color: transparent; }
.pw-editable-grid .pw-date-empty:not(:focus)::-webkit-datetime-edit { color: transparent; }
.pw-editable-grid .pw-date-empty:not(:focus)::-webkit-calendar-picker-indicator { opacity: 0; }
.pw-editable-grid .pw-inline-project { appearance: none; width: auto; max-width: 100%; border-radius: 2px; background: #eaecf0; padding: 1px 7px; }
.pw-editable-grid .pw-inline-project.pw-project-unassigned { background: #fff; }
.pw-editable-grid .pw-inline-project:hover, .pw-editable-grid .pw-inline-status:hover { outline: 1px solid #adc1f6; }
.pw-editable-grid td { padding-top: 0; padding-bottom: 0; }
.pw-feishu-wrap { border-bottom: 1px solid #dfe1e5 !important; }
.pw-select-popup { position: fixed; z-index: 12000; max-height: 330px; box-sizing: border-box; background: #fff; border: 1px solid #dfe1e6; border-radius: 7px; box-shadow: 0 8px 26px rgba(31,35,41,.16), 0 2px 5px rgba(31,35,41,.06); overflow: hidden; color: #252830; font: 14px -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.pw-select-search { display: block; width: calc(100% - 24px); height: 38px; margin: 7px 12px; padding: 6px 0; border: 0; outline: none; background: #fff; font: inherit; color: #252830; }
.pw-select-search::placeholder { color: #9198a3; }
.pw-select-options { max-height: 265px; overflow-y: auto; border-top: 1px solid #e4e7eb; padding: 6px; }
.pw-select-option { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 36px; border: 0; padding: 5px 8px; border-radius: 5px; background: #fff; color: #252830; font: inherit; text-align: left; cursor: pointer; }
.pw-select-option:hover, .pw-select-option.is-active { background: #f0f1f3; }
.pw-select-option:disabled { opacity: .4; cursor: default; }
.pw-select-check { color: #3370ff; margin-left: auto; font-size: 14px; }
.pw-select-chip { display: inline-block; padding: 2px 9px; border-radius: 12px; line-height: 21px; white-space: nowrap; }
.pw-select-chip.pw-pending { background: #c7d3ff; color: #252830; }
.pw-select-chip.pw-done { background: #5cba59; color: #fff; }
.pw-select-chip.pw-cancelled { background: #eef0f4; color: #657080; }
.pw-select-chip.pw-P0 { background: #f47775; color: #fff; }
.pw-select-chip.pw-P1 { background: #f8cd42; color: #fff; }
.pw-select-chip.pw-P2 { background: #c9eafb; color: #286b8b; }
.pw-select-chip.pw-P3 { background: #c9eee4; color: #267866; }
.pw-select-empty { padding: 20px; text-align: center; color: #969eab; }
.pw-cell-editor-popup { position: fixed; z-index: 13000; box-sizing: border-box; max-height: min(340px, calc(100vh - 24px)); padding: 12px; border: 1px solid #d7dce5; border-radius: 7px; background: #fff; box-shadow: 0 8px 26px rgba(31,35,41,.18), 0 2px 6px rgba(31,35,41,.07); }
.pw-cell-editor-heading { margin-bottom: 8px; color: #616b7b; font-size: 12px; }
.pw-cell-editor-control { display: block; width: 100%; min-height: 38px; max-height: 220px; box-sizing: border-box; padding: 9px 10px; border: 1px solid #3370ff; border-radius: 4px; outline: none; background: #fff; color: #252a34; font: inherit; font-size: 14px; line-height: 1.55; resize: none; overflow-y: auto; }
.pw-cell-editor-control:where(textarea) { min-height: 44px; }
.pw-cell-editor-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 10px; }
.pw-cell-editor-actions button { padding: 6px 12px; border: 1px solid #d9dde5; border-radius: 4px; background: #fff; color: #475467; cursor: pointer; font: inherit; font-size: 12px; }
.pw-cell-editor-actions .pw-cell-editor-save { border-color: #3370ff; background: #3370ff; color: #fff; }
.pw-editable-grid td:has(select) { cursor: pointer; }
.pw-editable-grid td:has(select):hover { background: #f7f9ff; }
.pw-editable-grid td.pw-select-cell-open { box-shadow: inset 0 0 0 2px #3370ff; }
.pw-select-search { font-size: 13px; height: 32px; margin-top: 5px; margin-bottom: 5px; }
.pw-select-option { min-height: 32px; padding-top: 3px; padding-bottom: 3px; }
.pw-select-popup .pw-select-search { width: calc(100% - 16px); margin-left: 8px; margin-right: 8px; font-size: 12px; }
.pw-select-popup .pw-select-options { padding: 4px; }
.pw-select-popup .pw-select-option { gap: 5px; padding-left: 6px; padding-right: 6px; }
.pw-feishu-table tbody tr.pw-task-row-selected td, .pw-feishu-table tbody tr.pw-task-row-selected:hover td { background: #edf2ff; }
.pw-feishu-table tbody tr.pw-task-row-selected td.pw-row-number { color: #3370ff; box-shadow: inset 3px 0 #3370ff; }
.pw-row-menu { position: fixed; z-index: 12500; min-width: 172px; padding: 5px; border: 1px solid #dfe3e9; border-radius: 6px; background: #fff; box-shadow: 0 6px 22px rgba(31,35,41,.16); }
.pw-row-menu button { display: block; width: 100%; padding: 9px 12px; border: 0; border-radius: 4px; background: #fff; color: #303746; text-align: left; cursor: pointer; font-size: 13px; }
.pw-row-menu button:hover, .pw-row-menu button:focus { background: #f0f3fa; outline: none; }
.pw-row-menu button.pw-row-menu-danger { color: #d0444b; }
.pw-row-menu button.pw-row-menu-danger:hover, .pw-row-menu button.pw-row-menu-danger:focus { background: #fff0f0; }
.pw-inline-project { border: 0; background: #f0f1f3; color: #343a46; border-radius: 3px; padding: 3px 6px; width: 100%; font: inherit; cursor: pointer; }
.pw-pagination { display: flex; align-items: center; gap: 12px; }
.pw-pagination button, .pw-gantt-controls button { border: 1px solid #dce1e8; background: #fff; border-radius: 4px; padding: 5px 10px; color: #485264; cursor: pointer; }
.pw-pagination button:disabled { color: #bec3cd; cursor: default; }
#projectWorkspace .pw-grid-footer { align-items: center; flex-wrap: wrap; gap: 8px; padding-right: 90px; }
.pw-project-compact .pw-table th { padding: 9px 12px; font-size: 13px; }
.pw-project-compact .pw-table td { height: 38px; padding: 6px 12px; vertical-align: middle; box-sizing: border-box; font-size: 13px; }
.pw-project-compact .pw-table .pw-title { font-weight: 500; }
.pw-project-compact .pw-table td.pw-goal { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 240px; }
.pw-project-compact .pw-table .pw-progress { height: 4px; margin: 3px 0; }
.pw-project-compact .pw-table .pw-note { margin-top: 2px; line-height: 1.2; font-size: 11px; white-space: nowrap; }
.pw-project-compact .pw-table .pw-badge { padding: 2px 7px; }
.pw-project-compact .pw-table-wrap { border-radius: 2px; border-color: #d9dde3; }
.pw-project-compact .pw-table { min-width: 1320px; font-size: 13px; }
.pw-project-compact .pw-table th { height: 38px; padding: 8px 10px; background: #fff; border: 1px solid #d9dde3; color: #606875; font-weight: 500; }
.pw-project-compact .pw-table td { height: 38px; padding: 6px 10px; border: 1px solid #d9dde3; vertical-align: middle; }
.pw-project-compact .pw-table td:first-child { min-width: 190px; }
.pw-project-compact .pw-table .pw-progress { min-width: 90px; }
.pw-project-table th { position: relative; }
.pw-project-table th, .pw-project-table td { box-sizing: border-box; }
.pw-project-table td:first-child { min-width: 0 !important; max-width: none !important; }
.pw-project-cell-input { display: block; width: 100%; height: 30px; box-sizing: border-box; border: 1px solid transparent; border-radius: 2px; padding: 4px 5px; background: transparent; color: inherit; font: inherit; }
.pw-project-cell-input:hover { background: #f7f9fc; }
.pw-project-cell-input:focus { background: #fff; border-color: #3370ff; outline: none; box-shadow: 0 0 0 1px #3370ff; }
.pw-project-goal-input { resize: none; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pw-project-percent { text-align: center; font-variant-numeric: tabular-nums; }
.pw-project-table tbody tr.pw-project-row-selected td, .pw-project-table tbody tr.pw-project-row-selected:hover td { background: #edf2ff; }
.pw-project-table tbody tr.pw-project-row-selected td:first-child { box-shadow: inset 3px 0 #3370ff; }
.pw-project-table .pw-overdue .pw-project-cell-input { color: #cf5860; }
.pw-archived-table { table-layout: fixed; }
.pw-archived-table th { position: relative; }
.pw-archived-table th:nth-child(n+2), .pw-archived-table td:nth-child(n+2) { text-align: center; }
.pw-archived-table th { padding: 10px 12px; }
.pw-archived-table td { height: 34px; padding: 7px 12px; vertical-align: middle; }
.pw-archived-table tbody tr { cursor: context-menu; }
.pw-archived-table tbody tr:hover td { background: #f7f9fc; }
.pw-archive-action { padding: 4px 10px; border: 1px solid #dfe3eb; border-radius: 5px; background: #fff; color: #536174; cursor: pointer; font: inherit; font-size: 12px; }
.pw-archive-action:hover { border-color: #aebbd0; background: #f7f9fc; }
.pw-archive-detail-action { color: #315efb; }
.pw-archive-detail-modal { display: flex; flex-direction: column; width: min(1080px, calc(100vw - 48px)); max-width: 1080px; max-height: 84vh; overflow: hidden; padding: 18px; }
.pw-archive-detail-heading { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.pw-archive-detail-heading h3 { margin: 0; font-size: 17px; }
.pw-archive-detail-close { border: 0; background: transparent; color: #7b8492; cursor: pointer; font-size: 26px; line-height: 1; }
.pw-archive-detail-meta { margin: 0 0 8px; color: #697386; font-size: 12px; }
.pw-archive-detail-toolbar { display: flex; gap: 8px; margin-bottom: 8px; }
.pw-archive-detail-toolbar input, .pw-archive-detail-toolbar select { box-sizing: border-box; min-width: 0; height: 32px; margin: 0; padding: 0 9px; border: 1px solid #dfe3eb; border-radius: 5px; background: #fff; color: #344054; font: inherit; font-size: 12px; }
.pw-archive-detail-toolbar input { flex: 1 1 auto; }
.pw-archive-detail-toolbar select { flex: 0 0 150px; width: 150px; }
.pw-archive-detail-wrap { flex: 1 1 auto; max-height: min(54vh, 520px); overflow: auto; }
.pw-archive-detail-table { min-width: 1150px; table-layout: fixed; }
.pw-archive-detail-table th { height: 32px; padding: 6px 9px; position: sticky; top: 0; z-index: 2; }
.pw-archive-detail-table td { height: 32px; padding: 5px 9px; vertical-align: middle; }
.pw-archive-detail-table td:first-child { max-width: 360px; overflow-wrap: anywhere; }
.pw-archive-detail-table td:nth-child(3) { max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pw-archive-task-index { width: 40px; color: #929bab; text-align: center; }
.pw-archive-detail-pagination { display: flex; flex: 0 0 auto; align-items: center; justify-content: flex-end; gap: 12px; padding-top: 10px; color: #758297; font-size: 12px; }
.pw-archive-detail-pagination button { padding: 5px 10px; border: 1px solid #d9dfe8; border-radius: 5px; background: #fff; color: #475467; cursor: pointer; font: inherit; }
.pw-archive-detail-pagination button:disabled { color: #b7bec9; cursor: default; }
.pw-project-table select.pw-inline-status { appearance: none; width: auto; min-width: 0; max-width: 100%; height: 24px; min-height: 24px; padding: 1px 9px; border: 0; border-radius: 12px; font-size: 14px; line-height: 20px; background-image: none; box-sizing: border-box; }
.pw-project-table select.pw-inline-status.pw-pending { background-color: #c7d3ff; color: #252830; }
.pw-project-table select.pw-inline-status.pw-done { background-color: #a5df99; color: #252830; }
.pw-project-table select.pw-inline-status.pw-cancelled { background-color: #eef0f4; color: #657080; }
.pw-archive-tag { display: inline-block; margin-left: 6px; padding: 2px 5px; border-radius: 4px; background: #eef0f4; color: #768194; font-size: 11px; vertical-align: middle; }
.pw-project-archive-toggle { display: flex; align-items: center; gap: 8px; margin: 14px 0 4px; color: #596579; font-size: 13px; }
.pw-project-archive-toggle input { width: auto; margin: 0; accent-color: #5369df; }
#tabProject .pw-dock #pwNavigation { gap: 2px; padding-top: 2px; }
#tabProject .pw-dock #pwNavigation button { padding: 8px 10px; min-height: 34px; line-height: 18px; font-size: 13px; }
.pw-gantt-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 9px 14px; font-size: 13px; border-bottom: 1px solid #e4e7eb; }
.pw-gantt-controls span { color: #9098a5; font-size: 12px; }
.pw-project-gantt-summary { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding: 9px 16px; border: 1px solid #dfe4ec; border-bottom: 0; border-radius: 8px 8px 0 0; background: #fff; color: #344054; font-size: 13px; }
.pw-project-gantt-summary .pw-progress { flex: 0 0 150px; min-width: 80px; margin: 0; }
.pw-project-gantt-summary strong { color: #315efb; font-size: 16px; }
.pw-project-gantt-actions { display: flex; gap: 8px; margin-left: auto; }
.pw-project-gantt-actions button { padding: 6px 12px; border: 1px solid #cbd5e1; border-radius: 5px; background: #fff; color: #344054; cursor: pointer; font: inherit; }
.pw-project-gantt-actions button:hover { border-color: #8aa4ef; background: #f5f8ff; }
.pw-project-gantt-scroll { max-height: min(62vh, 660px); overflow: auto; border: 1px solid #dfe4ec; border-radius: 0 0 8px 8px; background: #fff; }
.pw-project-gantt { position: relative; min-height: 100%; }
.pw-project-gantt .pw-gantt-head { height: 60px; }
.pw-project-gantt-calendar { display: flex; flex-direction: column; }
.pw-project-gantt-months { display: flex; height: 30px; background: #edf1f7; border-bottom: 1px solid #dfe4ec; }
.pw-project-gantt-months span { flex: 0 0 auto; box-sizing: border-box; height: 30px; padding: 6px 10px; border-right: 1px solid #dfe4ec; color: #53657f; font-size: 12px; white-space: nowrap; }
.pw-project-gantt .pw-gantt-days { height: 30px; flex: 0 0 30px; background: #f7f9fc; }
.pw-project-gantt .pw-gantt-days span { flex: 0 0 auto; width: auto; height: 30px; line-height: 30px; color: #61718a; }
.pw-project-gantt .pw-gantt-name { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 240px; flex: 0 0 240px; height: 100%; padding: 8px 12px; background: #f7f9fc; }
.pw-project-gantt .pw-gantt-name .pw-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pw-project-gantt .pw-gantt-row { height: 40px; }
.pw-project-gantt .pw-gantt-track { height: 40px; flex: 0 0 auto; background-color: #fff; }
.pw-project-gantt .pw-gantt-track::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(90deg, transparent 0, transparent calc(var(--pw-day-width, 32px) - 1px), #e7ebf1 calc(var(--pw-day-width, 32px) - 1px), #e7ebf1 var(--pw-day-width, 32px)); }
.pw-project-gantt .pw-gantt-bar { z-index: 1; top: 9px; height: 22px; display: flex; align-items: center; justify-content: center; background: #6d83dc; }
.pw-project-gantt .pw-gantt-done { background: #80b990; }
.pw-project-gantt .pw-gantt-active { background: #6d83dc; }
.pw-project-gantt .pw-gantt-pending { background: #91a3d7; }
.pw-project-gantt .pw-gantt-cancelled { background: #a7aebc; }
.pw-project-gantt-today { position: absolute; z-index: 2; top: 0; bottom: 0; width: 1px; border-left: 2px solid #e98b6b; pointer-events: none; }
.pw-gantt-project-state { flex: 0 0 auto; padding: 2px 6px; border-radius: 4px; background: #e9efff; color: #5268b8; font-size: 11px; }
.pw-gantt-project-state.pw-done { background: #e5f3e9; color: #4a8b5a; }
.pw-gantt-project-state.pw-pending { background: #c7d3ff; color: #252830; }
.pw-gantt-project-state.pw-cancelled { background: #eef0f4; color: #768194; }
.pw-gantt-scroll { flex: 1; min-height: 0; overflow: auto; }
.pw-gantt-head, .pw-gantt-row { display: flex; height: 36px; border-bottom: 1px solid #e4e7eb; box-sizing: border-box; }
.pw-gantt-head { position: sticky; top: 0; z-index: 3; background: #fafbfc; }
.pw-gantt-name { position: sticky; left: 0; z-index: 2; width: 240px; flex: 0 0 240px; padding: 8px 12px; background: #fff; border-right: 1px solid #e4e7eb; overflow: hidden; box-sizing: border-box; font-size: 13px; }
.pw-gantt-name .pw-title { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 400; }
.pw-gantt-days { display: flex; }
.pw-gantt-days span { width: 32px; flex-shrink: 0; text-align: center; font-size: 12px; line-height: 36px; border-right: 1px solid #e4e7eb; box-sizing: border-box; }
.pw-gantt-track { position: relative; background: repeating-linear-gradient(90deg, transparent 0, transparent 31px, #edf0f5 31px, #edf0f5 32px); }
.pw-gantt-bar { position: absolute; top: 7px; height: 22px; border: 0; border-radius: 4px; background: #6c8de8; color: white; font-size: 12px; text-align: left; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; cursor: pointer; }
.pw-gantt-done { background: #71ae8b; }.pw-gantt-blocked { background: #d77b86; }.pw-gantt-cancelled { background: #a7aebc; }
.pw-gantt-missing { font-size: 12px; color: #a0a7b2; line-height: 36px; padding-left: 10px; }
.pw-grid-footer { display: flex; justify-content: space-between; padding: 9px 16px; border-top: 1px solid #e4e7eb; color: #8b929e; font-size: 12px; flex-shrink: 0; }
@media (max-width: 768px) {
  .schedule-container, #tabProject .project-layout { flex-direction: column; }
  .pw-dock, .pw-dock.is-collapsed { flex: 0 0 auto; width: 100%; max-height: none; border-right: 0; border-bottom: 1px solid #e2e8f0; }
  .pw-dock-header { height: 34px; padding-left: 12px; }
  .pw-dock.is-collapsed .pw-dock-header { justify-content: space-between; padding: 0 10px 0 12px; }
  .pw-dock.is-collapsed .pw-dock-label { display: block !important; }
  .pw-dock .pw-dock-resizer { display: none; }
  .pw-dock #scheduleSubNav, #tabProject .pw-dock #pwNavigation { flex-direction: row; flex-wrap: nowrap; flex: 0 0 auto; overflow-x: auto; padding: 6px 10px; border-bottom: 0; }
  .pw-dock #scheduleSubNav .schedule-nav-btn { flex: 0 0 auto; width: auto; }
}
