:root{font-family:Inter,PingFang SC,Microsoft YaHei,Noto Sans SC,system-ui,sans-serif;color:#191c21;background:#f9f9ff;--blue: #005bb0;--blue-dark: #00468a;--blue-soft: #d6e3ff;--line: #c1c6d4;--line-soft: #e1e2ea;--page: #f9f9ff;--panel: #ffffff;--muted: #414752;--danger: #ba1a1a;--success: #1f7a1f;--warning: #855000;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:1180px;background:var(--page);overflow:hidden}#root{height:100vh;overflow:hidden}button,input,select{font:inherit}button{cursor:pointer}.app-shell{min-height:100vh;display:grid;place-items:center;font-weight:700}.layout{height:100vh;display:grid;grid-template-columns:252px minmax(0,1fr);grid-template-rows:58px minmax(0,1fr)}.topbar{grid-column:1 / -1;display:grid;grid-template-columns:252px auto minmax(280px,460px) auto;align-items:center;gap:24px;height:58px;padding:0 28px 0 24px;color:#fff;background:linear-gradient(180deg,#2778e4,#075fcb);box-shadow:0 2px 8px #0754b438}.topbar-brand{display:flex;align-items:center;gap:10px;font-size:18px;font-weight:700;color:#fff}.topbar-logo{width:32px;height:32px;object-fit:contain;border-radius:4px}.topbar-section{height:100%;display:flex;align-items:center}.topbar-section a{height:100%;display:inline-flex;align-items:center;color:#ffffffd1;font-weight:700;text-decoration:none;border-bottom:2px solid transparent}.topbar-section a.active{color:#fff;border-bottom-color:#f2a23a}.topbar-search{justify-self:end;width:100%;height:36px;display:flex;align-items:center;gap:8px;padding:0 12px 0 18px;border-radius:8px;background:#ffffff24;border:1px solid rgba(255,255,255,.12)}.topbar-search input{width:100%;min-width:0;color:#fff;border:0;outline:0;background:transparent}.topbar-search input::placeholder{color:#ffffffb8}.topbar-actions{justify-self:end;display:flex;align-items:center;gap:16px}.topbar-actions>button{position:relative;display:grid;place-items:center;width:32px;height:32px;color:#fff;border:0;background:transparent}.notification-badge{position:absolute;top:1px;right:0;min-width:16px;height:16px;padding:0 4px;color:#fff;border-radius:8px;background:var(--danger);font-size:11px;line-height:16px;font-weight:850}.notification-wrapper{position:relative}.notification-button{position:relative;display:grid;place-items:center;width:32px;height:32px;color:#fff;border:0;background:transparent;cursor:pointer}.notification-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:998}.notification-dropdown{position:absolute;top:calc(100% + 8px);right:0;width:360px;max-height:480px;background:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 8px 24px #0000001f;z-index:999;display:flex;flex-direction:column}.notification-dropdown-header{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-bottom:1px solid #f0f0f0;font-weight:600;font-size:14px}.notification-dropdown-body{flex:1;overflow-y:auto;max-height:420px}.notification-empty{padding:32px 16px;text-align:center;color:#9ca3af;font-size:14px}.notification-item{padding:12px 16px;border-bottom:1px solid #f5f5f5;transition:background .15s}.notification-item:hover{background:#f9fafb}.notification-item.read{opacity:.6}.notification-item-title{font-weight:600;font-size:13px;color:#111827;margin-bottom:4px}.notification-item-body{font-size:13px;color:#6b7280;line-height:1.5}.notification-item-meta{display:flex;align-items:center;gap:8px;margin-top:6px;font-size:12px}.notification-task-link{color:var(--primary, #2563eb);text-decoration:none;font-weight:500}.notification-task-link:hover{text-decoration:underline}.notification-time{color:#9ca3af}.notification-mark-read{margin-left:auto;border:none;background:transparent;color:var(--primary, #2563eb);font-size:12px;cursor:pointer;padding:2px 6px;border-radius:4px}.notification-mark-read:hover{background:#eff6ff}.user-chip{display:inline-flex;align-items:center;gap:8px;padding-left:16px;border-left:1px solid rgba(255,255,255,.2);font-weight:700;background:none;border-top:none;border-right:none;border-bottom:none;color:#fff;cursor:pointer;font-size:14px;font-family:inherit;white-space:nowrap}.user-chip-wrapper{position:relative}.user-menu-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:99}.user-menu{position:absolute;top:100%;right:0;margin-top:4px;background:#fff;border:1px solid var(--line-soft);border-radius:8px;box-shadow:0 4px 16px #0000001f;z-index:100;min-width:140px;padding:4px 0}.user-menu-item{display:flex;align-items:center;gap:8px;width:100%;padding:8px 16px;background:none;border:none;cursor:pointer;font-size:14px;color:#2f3948;text-align:left}.user-menu-item:hover{background:#f0f5ff}.user-menu-item.danger{color:#dc2626}.sidebar{grid-row:2;height:calc(100vh - 58px);display:flex;flex-direction:column;background:#f6f4f4;border-right:1px solid var(--line);overflow-y:auto}.sidebar-title{display:flex;align-items:center;gap:12px;min-height:82px;padding:18px 24px;border-bottom:1px solid var(--line)}.sidebar-logo{width:36px;height:36px;object-fit:contain;border-radius:4px;flex-shrink:0}.sidebar-title-icon{display:grid;place-items:center;width:34px;height:34px;color:#fff;border-radius:3px;background:var(--blue)}.sidebar-title strong{display:block;font-size:22px;line-height:1.1;color:#1f2630}.sidebar-title small{display:block;margin-top:4px;font-size:11px;color:#5d6675;font-weight:800}.sidebar nav{display:grid;gap:4px;padding:20px 0}.nav-group-label{padding:10px 24px 8px;color:#87909d;font-size:13px;font-weight:700}.sidebar a{display:flex;align-items:center;gap:14px;min-height:52px;padding:0 24px;color:#3d4654;text-decoration:none;font-size:17px;font-weight:750;border-left:4px solid transparent}.sidebar a.active{color:#fff;background:var(--blue);border-left-color:#0a4fa6}.sidebar footer{margin-top:auto;display:flex;align-items:center;gap:8px;min-height:58px;padding:0 24px;color:#8a93a2;font-size:13px;border-top:1px solid var(--line)}.main{grid-column:2;grid-row:2;min-width:0;padding:24px 28px 42px;overflow:auto}.page{max-width:1680px}.breadcrumb{margin:0 0 16px;color:#94a3b8;font-size:13px;font-weight:500}.breadcrumb-link{background:none;border:none;color:var(--blue);cursor:pointer;font-size:13px;font-weight:600;padding:0}.breadcrumb-link:hover{text-decoration:underline}.page-header{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:20px}.page-header h1,.task-hero h1{margin:0;color:#1e293b;line-height:1.3}.page-header h1{font-size:20px;font-weight:700}.page-header p,.task-hero p{margin:6px 0 0;color:#64748b;font-size:13px;font-weight:500}.header-actions,.detail-actions,.filter-actions{display:flex;align-items:center;gap:8px}.primary-button,.ghost-button,.row-action-button,.icon-button{min-height:34px;border-radius:7px;border:1px solid var(--blue);font-weight:600;font-size:13px;transition:background .12s ease,color .12s ease,border-color .12s ease}.primary-button{color:#fff;background:var(--blue);box-shadow:0 1px 3px #0b63ce26}.primary-button:hover{background:var(--blue-dark)}.ghost-button{color:#475569;background:#fff;border-color:#e2e8f0}.ghost-button:hover{background:#f8fafc;border-color:#cbd5e1}.icon-text-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 16px}.icon-button{display:inline-grid;place-items:center;width:30px;height:30px;min-height:30px;padding:0;color:var(--blue);background:#fff}.icon-button.success{color:var(--success);border-color:var(--success)}.filter-panel,.panel,.table-shell,.summary-card,.metric-card{background:var(--panel);border:1px solid var(--line);border-radius:7px;box-shadow:0 1px 3px #1f263014}.dense-filter-panel{display:grid;grid-template-columns:repeat(4,minmax(180px,1fr));gap:22px 24px;padding:26px 28px;margin-bottom:24px}.dense-filter-panel label{display:grid;gap:9px}.dense-filter-panel label>span{color:#303949;font-weight:850;font-size:14px}.dense-filter-panel input,.dense-filter-panel select,.quick-entry-row input,.quick-entry-row select,.attachment-filters input,.attachment-filters select,.pagination input{width:100%;min-width:0;height:38px;color:#253044;border:1px solid #c7d1e1;border-radius:4px;background:#fff;outline:0}.dense-filter-panel input,.dense-filter-panel select{padding:0 12px}.input-with-icon{position:relative;display:flex;align-items:center}.input-with-icon svg{position:absolute;left:12px;color:#4b5563}.input-with-icon input{padding-left:38px}.filter-actions{align-self:end;justify-content:flex-end}.span-4{grid-column:1 / -1}.filter-actions .primary-button,.filter-actions .ghost-button{min-width:112px}.filter-checkbox-label{display:flex;align-items:center;gap:6px;cursor:pointer;align-self:end;padding-bottom:8px}.filter-checkbox-label input[type=checkbox]{width:16px;height:16px;cursor:pointer}.filter-checkbox-label span{font-size:14px;font-weight:500;color:#414752;white-space:nowrap}.table-shell{overflow-x:auto;overflow-y:hidden;margin-bottom:28px}.table-toolbar{position:relative;display:flex;justify-content:flex-end;padding:8px 12px;border-bottom:1px solid var(--line-soft)}.col-toggle-btn{font-size:13px;padding:4px 12px}.col-menu{position:absolute;top:100%;right:12px;margin-top:4px;background:#fff;border:1px solid var(--line-soft);border-radius:8px;box-shadow:0 4px 16px #0000001f;z-index:100;min-width:160px;padding:8px 0;max-height:320px;overflow-y:auto}.col-menu-item{display:flex;align-items:center;gap:8px;padding:6px 16px;font-size:13px;color:#2f3948;cursor:pointer}.col-menu-item:hover{background:#f0f5ff}.data-table,.file-table{width:100%;border-collapse:collapse;background:#fff}.data-table th,.data-table td,.file-table th,.file-table td{border-bottom:1px solid var(--line-soft);text-align:left;vertical-align:middle}.data-table th,.file-table th{color:#64748b;background:#f8fafc;font-size:12px;font-weight:600;white-space:nowrap;text-transform:uppercase;letter-spacing:.03em}.data-table th,.data-table td{padding:10px 14px;font-size:13px}.task-table{min-width:1540px}.company-files-page .stats-grid{margin-bottom:24px}.company-file-tabs{display:inline-flex;padding:3px;margin-bottom:18px;border:1px solid var(--line);border-radius:6px;background:#fff}.company-file-tabs button{min-width:112px;height:34px;color:#3d4756;background:transparent;border:0;border-radius:4px;font-weight:850}.company-file-tabs button.active{color:#fff;background:var(--blue)}.company-files-table{min-width:1420px}.company-document-table{min-width:1180px}.company-file-name{display:inline-flex;align-items:center;gap:14px;min-width:260px}.folder-path-cell{display:inline-flex;align-items:center;gap:7px;min-width:220px;color:#344052;font-weight:700}.folder-path-cell svg{color:var(--blue)}.company-document-upload{display:grid;grid-template-columns:minmax(220px,1fr) minmax(260px,1.2fr) minmax(260px,1.1fr) auto;align-items:end;gap:18px;padding:20px 22px;margin-bottom:24px}.company-document-upload label{display:grid;gap:8px}.company-document-upload label>span{color:#303949;font-size:14px;font-weight:850}.company-document-upload input,.company-document-upload select{width:100%;min-width:0;height:38px;color:#253044;border:1px solid #c7d1e1;border-radius:4px;background:#fff;outline:0}.company-document-upload input,.company-document-upload select{padding:0 12px}.company-document-upload input[type=file]{padding:7px 10px}.company-document-upload .primary-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:136px}.company-document-upload .primary-button:disabled{cursor:not-allowed;opacity:.55}.task-context-cell{display:grid;gap:5px;min-width:220px}.task-context-cell span{color:#4f5b6c;font-weight:650}.task-link,.row-action{color:var(--blue);font-weight:850;text-decoration:none}.task-title-cell{min-width:220px;font-weight:750}.task-title-cell a{color:var(--blue);text-decoration:none}.task-title-cell a:hover{text-decoration:underline}.clickable-row{cursor:pointer;transition:background .15s}.clickable-row:hover{background:#f0f5ff}.quick-entry-row td{background:#f4f7ff}.quick-entry-row input,.quick-entry-row select{height:33px;padding:0 10px;color:#3f4a5a;font-size:13px}.status-pill{--status-color: var(--blue);display:inline-flex;align-items:center;min-height:24px;padding:0 9px;color:var(--status-color);border-radius:5px;background:color-mix(in srgb,var(--status-color) 13%,#ffffff);font-weight:850;white-space:nowrap}.date-cell{font-weight:850}.date-cell.overdue{color:var(--danger)}.muted-cell{color:#6e7785}.table-footer{display:flex;align-items:center;justify-content:space-between;min-height:68px;padding:0 24px;color:#475467;font-weight:650}.pagination{display:flex;align-items:center;gap:8px}.pagination button{display:grid;place-items:center;min-width:34px;height:34px;color:#2f3948;background:#fff;border:0;border-radius:4px}.pagination .active-page{color:#fff;background:var(--blue)}.pagination input{width:42px;height:34px;text-align:center}.pagination-ellipsis{color:#999;padding:0 4px;-webkit-user-select:none;user-select:none}.page-size-select{height:34px;border:1px solid #d0d5e1;border-radius:4px;font-size:13px;color:#2f3948;background:#fff;cursor:pointer}.stats-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:24px}.metric-card{min-height:118px;display:flex;align-items:center;justify-content:space-between;padding:24px 28px;overflow:hidden}.metric-card span,.summary-card span{display:block;color:#64748b;font-size:12px;font-weight:600}.metric-card strong{display:block;margin-top:6px;color:#0b63ce;font-size:28px;line-height:1}.metric-card small{color:#22252c;font-size:15px}.metric-card p,.summary-card p{display:flex;align-items:center;gap:6px;margin:6px 0 0;color:#3b7e2a;font-weight:750}.metric-card>svg{color:#dbe6f7}.metric-card-alert{color:#fff;background:var(--blue);border-color:var(--blue)}.metric-card-alert span,.metric-card-alert strong,.metric-card-alert p{color:#fff}.metric-card-alert>svg{color:#ffffff3d}.loading-panel{padding:28px;margin-bottom:24px}.task-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:24px}.task-hero h1{max-width:900px;margin:8px 0 10px;font-family:Hanken Grotesk,PingFang SC,system-ui,sans-serif;font-size:28px;font-weight:600;line-height:36px;color:#191c21}.task-tags{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.task-tag{display:inline-flex;align-items:center;height:28px;padding:0 12px;background:#ecedf5;border-radius:14px;color:#414752;font-size:13px;font-weight:500}.task-meta-line{display:flex;align-items:center;gap:10px}.priority-badge{display:inline-flex;align-items:center;min-height:24px;padding:0 10px;color:#fff;border-radius:12px;background:var(--blue);font-size:11px;font-weight:700;letter-spacing:.04em}.priority-badge.low{background:#94a3b8}.priority-badge.high{background:#2563eb}.task-id{color:#414752;font-size:12px;font-weight:400;letter-spacing:.02em}.upload-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;padding:0 16px;cursor:pointer;font-size:13px}.upload-button input{display:none}.summary-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:24px}.summary-card{min-height:0;display:flex;align-items:flex-start;justify-content:space-between;padding:20px 24px;border-radius:12px;border:1px solid var(--line);background:#fff}.summary-card>div>span{font-size:12px;font-weight:700;color:#414752;text-transform:uppercase;letter-spacing:.05em}.summary-card strong{display:block;margin-top:10px;color:#005bb0;font-size:28px;font-weight:700;line-height:1.1}.summary-card p{margin-top:6px;font-size:12px;color:#414752}.summary-card svg{color:#005bb0;opacity:.5;flex-shrink:0}.detail-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:20px}.panel{padding:0;border-radius:12px}.panel-toolbar,.panel-heading{display:flex;align-items:center;gap:14px;min-height:52px;padding:0 24px;border-bottom:1px solid var(--line-soft)}.panel-heading{justify-content:space-between}.panel-toolbar h2,.panel-heading h2{margin:0;color:#1e293b;font-size:15px;font-weight:700}.panel-heading a{color:var(--blue);font-weight:850;text-decoration:none}.view-toggle{display:inline-flex;overflow:hidden;border:1px solid #b9c5d6;border-radius:5px}.view-toggle button{display:grid;place-items:center;width:42px;height:42px;color:#1f2937;background:#fff;border:0}.view-toggle button.active{background:#f0eeee}.attachment-filters{margin-left:auto;display:flex;align-items:center;gap:14px}.attachment-filters select{width:138px;padding:0 12px}.attachment-filters .input-with-icon{width:320px}.file-table th,.file-table td{padding:10px 18px;font-size:13px}.file-name-button{display:inline-flex;align-items:center;gap:10px;color:#1e293b;background:transparent;border:0;padding:0;font-weight:600;text-align:left}.file-icon{display:grid;place-items:center;width:40px;height:40px;color:#fff;border-radius:5px;background:var(--blue)}.file-icon.pdf{color:#b91c1c;background:#fee2e2}.file-icon.image{background:#d9f2ff;color:#0f5f91}.row-action-button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:32px;padding:0 12px;color:var(--blue);background:#fff}.row-action-button.danger{color:var(--danger)}.row-actions-inline{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}.file-table-footer{min-height:42px;display:flex;align-items:center;padding:0 18px;color:#94a3b8;border-top:1px solid var(--line-soft);font-size:12px;font-weight:500}.timeline-panel{max-width:760px}.timeline-row{position:relative;margin:16px 24px;padding-left:20px;border-left:2px solid #e2e8f0}.timeline-row:before{content:"";position:absolute;left:-7px;top:3px;width:12px;height:12px;border-radius:50%;background:var(--blue)}.timeline-row strong{color:#202124}.timeline-row p{margin:8px 0 0;color:#384354}.timeline-row time{display:block;margin-top:6px;color:#6b7280;font-size:13px}.empty-state{color:#6b7280;padding:22px 28px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;display:grid;place-items:center;padding:28px;background:#11182757}.modal-panel{width:min(920px,100%);max-height:calc(100vh - 56px);overflow:auto;background:#fff;border:1px solid #b9c5d6;border-radius:7px;box-shadow:0 18px 45px #0f172a38}.modal-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:24px 26px;border-bottom:1px solid var(--line)}.modal-heading h2{margin:0;color:#202124;font-size:24px}.modal-heading p{margin:8px 0 0;color:#5b6472;font-weight:650}.task-form-panel{padding:0}.task-form-grid{display:grid;grid-template-columns:repeat(2,minmax(220px,1fr));gap:18px;padding:24px 26px}.task-form-grid.compact{padding-top:20px}.task-form-grid label{display:grid;gap:8px;color:#303948;font-weight:800}.task-form-grid .span-2{grid-column:1 / -1}.task-form-grid input,.task-form-grid select,.task-form-grid textarea{width:100%;box-sizing:border-box;border:1px solid #c6d0e1;border-radius:5px;background:#fff;color:#202124;font:inherit}.task-form-grid input,.task-form-grid select{height:42px;padding:0 12px}.task-form-grid textarea{resize:vertical;min-height:88px;padding:11px 12px}.modal-actions,.panel-actions{display:flex;justify-content:flex-end;gap:12px;padding:18px 26px 24px;border-top:1px solid var(--line-soft)}.edit-dialog{padding:0;overflow:hidden;border-radius:12px}.edit-dialog-header{display:flex;align-items:flex-start;justify-content:space-between;padding:24px 24px 16px;border-bottom:1px solid var(--line-soft)}.edit-dialog-title{margin:0;font-family:Hanken Grotesk,PingFang SC,system-ui,sans-serif;font-size:20px;font-weight:600;line-height:28px;color:#191c21}.edit-dialog-subtitle{margin:4px 0 0;font-size:12px;color:#414752;font-weight:400}.edit-dialog-body{padding:24px;overflow-y:auto;max-height:65vh}.edit-form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.edit-form-grid .span-2{grid-column:1 / -1}.edit-field{display:flex;flex-direction:column;gap:6px}.edit-label{font-size:12px;font-weight:700;color:#414752;text-transform:uppercase;letter-spacing:.05em}.edit-input{width:100%;box-sizing:border-box;border:1px solid var(--line);border-radius:4px;padding:8px 12px;font-size:14px;font-family:inherit;color:#191c21;background:#fff;transition:border-color .15s,box-shadow .15s}.edit-input:focus{outline:none;border-color:#005bb0;box-shadow:0 0 0 1px #005bb0}select.edit-input{height:38px;padding:0 12px}textarea.edit-input{resize:none;min-height:96px}.edit-checkbox-row{display:flex;flex-wrap:wrap;gap:32px;padding:8px 0}.edit-checkbox{display:flex;align-items:center;gap:8px;cursor:pointer}.edit-checkbox input[type=checkbox]{width:18px;height:18px;border-radius:3px;border:1px solid var(--line);accent-color:#005bb0;cursor:pointer}.edit-checkbox span{font-size:14px;color:#191c21;-webkit-user-select:none;user-select:none}.edit-dialog-footer{display:flex;justify-content:flex-end;gap:12px;padding:16px 24px;background:#f2f3fb;border-top:1px solid var(--line-soft)}.edit-dialog-footer .ghost-button{padding:0 24px;min-height:38px;font-size:14px;font-weight:600;border-color:var(--line);color:#495f83}.edit-dialog-footer .primary-button{padding:0 24px;min-height:38px;font-size:14px;font-weight:600}.batch-toolbar{display:flex;align-items:center;gap:12px;padding:10px 16px;background:#f0f5ff;border:1px solid #d6e0f0;border-bottom:none;border-radius:6px 6px 0 0;font-size:14px;color:#2f3948}.modal-form-grid{display:grid;grid-template-columns:repeat(2,minmax(200px,1fr));gap:16px;padding:24px 26px}.modal-field{display:grid;gap:6px;color:#303948;font-weight:700;font-size:13px}.modal-field span{color:#5b6472}.modal-field.span-2{grid-column:1 / -1}.modal-field input,.modal-field select,.modal-field textarea{width:100%;box-sizing:border-box;border:1px solid #c6d0e1;border-radius:5px;background:#fff;color:#202124;font:inherit;font-weight:400}.modal-field input,.modal-field select{height:38px;padding:0 12px}.modal-field textarea{resize:vertical;min-height:72px;padding:10px 12px}.task-edit-panel{margin-bottom:28px}.task-edit-panel .panel-heading span{color:#5b6472;font-weight:700}.patent-info-panel{background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px 24px;margin-bottom:24px}.patent-info-heading{margin:0 0 16px;font-size:16px;font-weight:600;color:#191c21;padding-bottom:12px;border-bottom:1px solid var(--line-soft)}.patent-info-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}.patent-info-item span{display:block;font-size:12px;color:#414752;margin-bottom:4px}.patent-info-item strong{display:block;font-size:14px;font-weight:600;color:#191c21}.workflow-panel{background:#fff;border:1px solid var(--line);border-radius:12px;margin-bottom:24px;overflow:hidden}.workflow-panel .panel-heading{border-bottom:none;min-height:48px;padding:16px 24px 0}.workflow-panel .panel-heading span{color:#414752;font-size:12px;font-weight:400}.workflow-body-compact{display:flex;align-items:stretch;gap:20px;padding:16px 24px}.workflow-nodes-compact{display:flex;align-items:center;gap:12px;flex-shrink:0}.workflow-nodes-compact>svg{color:#727783;flex-shrink:0}.workflow-controls-compact{display:flex;gap:16px;flex:1;min-width:0}.workflow-assignee-compact{display:flex;flex-direction:column;gap:6px;width:160px;flex-shrink:0}.workflow-note-compact{display:flex;flex-direction:column;gap:6px;flex:1;min-width:0}.workflow-assignee-compact span,.workflow-note-compact span{color:#414752;font-size:12px;font-weight:500;display:flex;align-items:center;gap:4px}.workflow-assignee-compact select,.workflow-note-compact input{height:36px;border:1px solid var(--line);border-radius:4px;padding:0 10px;font-size:13px;font-family:inherit;color:#191c21;background:#fff}.workflow-assignee-compact select:focus,.workflow-note-compact input:focus{outline:none;border-color:#005bb0;box-shadow:0 0 0 1px #005bb0}.workflow-footer{display:flex;align-items:center;justify-content:flex-end;gap:16px;padding:12px 24px 16px}.workflow-node{min-height:64px;display:grid;align-content:center;gap:4px;padding:12px 16px;border:1px solid var(--line);border-radius:8px;background:#fff;min-width:170px}.workflow-node span{display:flex;align-items:center;gap:4px;color:#414752;font-size:11px;font-weight:500}.workflow-node strong{color:#191c21;font-size:15px;font-weight:600}.workflow-node.current{border-color:#2a74cf;background:#005bb0;color:#fff}.workflow-node.current span{color:#fffc}.workflow-node.current strong{color:#fff}.workflow-node.next{border-color:#22c55e;background:#f0fdf4}.workflow-node.next span{color:#15803d}.workflow-node.next strong{color:#166534}.workflow-node.done{border-color:#c1c6d4;background:#f2f3fb}.workflow-note,.workflow-assignee,.workflow-target-select{display:grid;gap:6px}.workflow-target-select span{color:#64748b;font-size:12px;font-weight:600}.workflow-target-select select{width:100%;box-sizing:border-box;border:1px solid #e2e8f0;border-radius:6px;height:38px;padding:0 12px;font:inherit;font-size:13px}.workflow-note textarea,.workflow-assignee select{width:100%;box-sizing:border-box;border:1px solid #e2e8f0;border-radius:6px;color:#1e293b;font:inherit;font-size:13px}.workflow-note textarea{min-height:72px;resize:vertical;padding:10px 12px}.workflow-assignee select{height:42px;padding:0 12px}.workflow-assignee small{color:var(--danger);font-weight:700}.upload-box{display:grid;place-items:center;min-height:180px;padding:30px;background:#fff;border:1px dashed #9ca3af;border-radius:7px}.error-line{color:var(--danger);margin-top:8px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.login-panel{min-height:100vh;display:grid;align-content:center;justify-content:center;gap:14px;background:linear-gradient(180deg,#f5f8ff,#e8eef8)}.login-panel h1{margin:0 0 12px;color:#1c2738;font-size:30px}.login-error{width:320px;box-sizing:border-box;padding:10px 14px;margin-bottom:4px;border-radius:6px;background:#fef2f2;border:1px solid #fecaca;color:#dc2626;font-size:14px;font-weight:600}.login-panel input,.login-panel button{width:320px;box-sizing:border-box;padding:12px 14px;border-radius:6px;border:1px solid #cbd5e1}.password-input-wrapper{position:relative;width:320px}.password-input-wrapper input{width:100%;padding-right:42px}.password-toggle{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:32px!important;height:32px!important;padding:0!important;display:grid;place-items:center;border:none!important;background:transparent!important;color:#64748b;cursor:pointer}.password-toggle:hover{color:#1c2738}.login-panel button{color:#fff;background:var(--blue);border-color:var(--blue);font-weight:800}.company-page{display:flex;flex-direction:column;height:100%;max-width:none;padding:0}.company-page-header{flex-shrink:0;padding:24px 32px 0}.company-page-header h1{margin:0;font-size:22px;font-weight:700}.company-page-header p{margin:4px 0 0;color:#666;font-weight:600}.company-columns{display:flex;flex:1;overflow:hidden;margin:16px 32px 32px;border:1px solid var(--line);border-radius:10px;background:var(--panel)}.company-col-left{width:300px;flex-shrink:0;display:flex;flex-direction:column;border-right:1px solid var(--line);background:#fafbfc}.company-search-bar{display:flex;gap:8px;padding:16px 16px 8px}.company-search-bar .input-with-icon{flex:1}.company-search-bar .input-with-icon input{height:36px;font-size:13px;border:1px solid #c7d1e1;border-radius:4px;background:#fff;outline:0;padding-left:36px;width:100%}.company-search-bar .primary-button{display:inline-flex;align-items:center;gap:5px;min-height:36px;padding:0 14px;font-size:13px;white-space:nowrap}.company-list{flex:1;overflow-y:auto}.company-list-item{padding:14px 16px;cursor:pointer;border-left:3px solid transparent;border-bottom:1px solid #f0f0f0;transition:background .1s}.company-list-item:hover{background:#f5f8ff}.company-list-item.selected{border-left-color:var(--blue);background:#eff6ff}.company-list-item .name{font-weight:600;font-size:14px;color:#202124}.company-list-item .desc{font-size:12px;color:#888;margin-top:3px}.company-list-item .meta{font-size:11px;color:#aaa;margin-top:5px;display:flex;gap:12px}.company-list-item .meta .right{margin-left:auto}.company-col-mid{width:220px;flex-shrink:0;display:flex;flex-direction:column;border-right:1px solid var(--line)}.company-col-mid-header{padding:16px;border-bottom:1px solid #f0f0f0;display:flex;align-items:center;justify-content:space-between}.company-col-mid-header strong{font-size:14px;color:#202124}.company-col-mid-header .actions{display:flex;gap:4px}.folder-section-label{padding:8px 0 4px 16px;font-size:12px;color:#888;font-weight:700}.folder-list{flex:1;overflow-y:auto}.folder-list-item{padding:10px 16px;cursor:pointer;display:flex;align-items:center;gap:8px;font-size:13px;color:#344052;transition:background .1s}.folder-list-item:hover{background:#f5f8ff}.folder-list-item.selected{background:#eff6ff;font-weight:600}.folder-list-item svg{color:var(--blue);flex-shrink:0}.folder-list-item span{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.folder-inline-add{padding:8px 16px;display:flex;align-items:center;gap:4px}.folder-inline-add input{flex:1;font-size:13px;padding:4px 6px;border:1px solid #c7d1e1;border-radius:4px;outline:0}.folder-new-btn{padding:8px 16px}.folder-new-btn .ghost-button{font-size:12px;padding:4px 8px;min-height:30px;display:inline-flex;align-items:center;gap:4px}.company-col-right{flex:1;display:flex;flex-direction:column;overflow:hidden}.content-header{padding:16px 20px;border-bottom:1px solid #f0f0f0;display:flex;align-items:center;justify-content:space-between;flex-shrink:0}.content-header-info strong{font-size:15px;color:#202124}.content-header-info .sub{font-size:12px;color:#888;margin-left:12px}.content-header-actions{display:flex;gap:8px}.content-header-actions .ghost-button,.content-header-actions .primary-button{font-size:13px;padding:0 12px;min-height:34px;display:inline-flex;align-items:center;gap:5px}.content-header-actions label.primary-button{cursor:pointer}.subfolder-inline-add{padding:8px 20px;display:flex;align-items:center;gap:8px;background:#fefce8;border-bottom:1px solid #f0f0f0}.subfolder-inline-add input{flex:1;font-size:13px;padding:4px 8px;border:1px solid #c7d1e1;border-radius:4px;outline:0}.content-table-wrap{flex:1;overflow-y:auto}.content-table{width:100%}.content-table .folder-row button{background:none;border:none;cursor:pointer;display:flex;align-items:center;gap:8px;padding:0;font-weight:500;font:inherit;color:#202124}.content-table .file-cell{display:flex;align-items:center;gap:8px}.content-table .file-cell svg{flex-shrink:0}.action-icons{display:flex;gap:4px}.empty-content{text-align:center;color:#999;padding:40px}.center-placeholder{flex:1;display:flex;align-items:center;justify-content:center;color:#999;font-size:14px}.dialog-form-body{display:flex;flex-direction:column;gap:18px;padding:20px 26px}.dialog-form-body label{display:grid;gap:8px;color:#303948;font-weight:800;font-size:14px}.dialog-form-body input,.dialog-form-body select,.dialog-form-body textarea{width:100%;box-sizing:border-box;border:1px solid #c6d0e1;border-radius:5px;background:#fff;color:#202124;font:inherit}.dialog-form-body input,.dialog-form-body select{height:42px;padding:0 12px}.dialog-form-body textarea{resize:vertical;min-height:88px;padding:11px 12px}.dialog-form-body small{color:#888;font-weight:500}.dialog-heading-icon{display:inline-flex;align-items:center;gap:10px}.dialog-heading-icon svg{color:var(--blue)}.icon-button.danger{color:var(--danger);border-color:var(--danger)}.file-preview-modal{max-width:900px;width:90vw}.file-preview-body{padding:16px 26px 24px;display:flex;flex-direction:column;align-items:center;gap:16px}.file-preview-unsupported{display:flex;flex-direction:column;align-items:center;gap:12px;padding:48px 0;color:#888}.file-preview-unsupported svg{color:#bbb}.file-preview-unsupported p{margin:0}.file-preview-filename{font-weight:600;color:#555;font-size:14px}.word-preview-content{width:100%;max-height:70vh;overflow-y:auto;padding:24px 32px;background:#fff;border:1px solid #e5e7eb;border-radius:6px;line-height:1.8;font-size:14px;color:#333}.word-preview-content h1,.word-preview-content h2,.word-preview-content h3{margin:16px 0 8px}.word-preview-content p{margin:8px 0}.word-preview-content table{border-collapse:collapse;width:100%;margin:12px 0}.word-preview-content td,.word-preview-content th{border:1px solid #ddd;padding:6px 10px}.text-preview-content{width:100%;max-height:70vh;overflow:auto;padding:20px 28px;background:#f8f9fa;border:1px solid #e5e7eb;border-radius:6px;font-family:SF Mono,Fira Code,Consolas,monospace;font-size:13px;line-height:1.6;color:#333;white-space:pre-wrap;word-break:break-all;margin:0}.event-log-list{max-height:60vh;overflow-y:auto;padding:16px 26px 24px}.event-log-list .timeline-row{display:flex;flex-direction:column;gap:4px;padding:12px 0;border-bottom:1px solid #f0f0f0}.event-log-list .timeline-row:last-child{border-bottom:none}.event-log-list .timeline-row strong{font-size:14px;color:#202124}.event-log-list .timeline-row p{margin:0;font-size:13px;color:#5b6472}.event-log-list .timeline-row time{font-size:12px;color:#999}.capability-section{margin-bottom:32px}.capability-section-header{display:flex;align-items:center;gap:12px;margin-bottom:16px}.capability-section-header h2{display:flex;align-items:center;gap:8px;margin:0;font-size:18px;color:#202124}.capability-section-header .muted-text{color:#888;font-size:13px}.task-type-select{margin-left:auto;height:36px;padding:0 12px;border:1px solid #c6d0e1;border-radius:5px;background:#fff;font:inherit;font-size:13px;color:#333}.capability-table-wrap{overflow-x:auto}.capability-table{min-width:800px}.cap-col-header{text-align:center;white-space:nowrap;font-size:12px}.cap-cell{text-align:center}.cap-cell input[type=checkbox]{width:16px;height:16px;cursor:pointer}.cap-save-cell{position:sticky;right:0;background:#fff;box-shadow:-2px 0 4px #0000000f;padding:8px 12px}.cap-save-btn{display:inline-flex;align-items:center;gap:4px;font-size:12px;padding:6px 12px;white-space:nowrap}.cap-edit-cell{text-align:center}.cap-modal-body{display:flex;flex-direction:column;gap:12px;padding:20px 26px;max-height:50vh;overflow-y:auto}.cap-modal-item{display:flex;align-items:center;gap:10px;padding:10px 14px;border:1px solid #e5e7eb;border-radius:6px;cursor:pointer;transition:background .15s}.cap-modal-item:hover{background:#f0f5ff}.cap-modal-item input[type=checkbox]{width:16px;height:16px;cursor:pointer}.cap-modal-item span{font-size:14px;color:#202124}.user-name-cell{font-weight:700;color:#202124}.node-name-cell{display:flex;align-items:center;gap:8px;font-weight:600;color:#202124}.node-color-dot{display:inline-block;width:10px;height:10px;border-radius:50%;flex-shrink:0}.row-inactive{opacity:.5}.role-pill{display:inline-block;padding:2px 10px;border-radius:12px;font-size:12px;font-weight:600}.role-admin{background:#e0e7ff;color:#3730a3}.role-project_manager{background:#fef3c7;color:#92400e}.role-operator{background:#f0f0f0;color:#5b6472}.status-active{background:#dcfce7;color:#166534}.status-inactive{background:#fee2e2;color:#991b1b}.workflow-email-toggle{display:flex;align-items:center;gap:8px;font-size:14px;color:#5b6472;cursor:pointer}.workflow-email-toggle input[type=checkbox]{width:16px;height:16px;cursor:pointer}.email-modal .email-modal-body{padding:0;max-height:82vh;overflow:hidden}.email-split-layout{display:grid;grid-template-columns:1fr 1fr;gap:0;height:82vh}.email-editor-pane{padding:20px 24px;overflow-y:auto;border-right:1px solid #e5e7eb}.email-preview-pane{padding:20px 24px;overflow-y:auto;background:#f8f9fb}.email-preview-empty{display:flex;align-items:center;justify-content:center;height:100%;color:#999;font-size:14px}.email-body-editor{width:100%;min-height:280px;font-family:SF Mono,Consolas,Monaco,monospace;font-size:12px;line-height:1.5;resize:vertical}.rich-text-editor{border:1px solid #c6d0e1;border-radius:6px;overflow:hidden}.rich-text-toolbar{display:flex;align-items:center;gap:2px;padding:6px 8px;background:#f0f2f6;border-bottom:1px solid #e0e4ec;flex-wrap:wrap}.rich-text-toolbar button{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border:none;border-radius:4px;background:transparent;color:#5b6472;cursor:pointer;transition:background .15s}.rich-text-toolbar button:hover{background:#dde3ed;color:#1a2233}.rich-text-content{padding:14px 16px;min-height:220px;max-height:400px;overflow-y:auto;font-size:14px;line-height:1.7;outline:none;color:#333}.rich-text-content:empty:before{content:"在此编辑邮件正文...";color:#aaa}.rich-text-content p{margin:0 0 8px}.rich-text-content ul,.rich-text-content ol{margin:0 0 8px;padding-left:24px}.rich-text-content a{color:#0f62c7;text-decoration:underline}.email-form-section{display:flex;flex-direction:column;gap:12px}.email-field{display:flex;flex-direction:column;gap:4px}.email-field label{font-size:13px;font-weight:600;color:#5b6472}.email-field input,.email-field textarea{padding:8px 12px;border:1px solid #c6d0e1;border-radius:5px;font:inherit;font-size:13px}.email-attachment-section{border:1px solid #e5e7eb;border-radius:6px;padding:12px 16px}.email-attachment-header{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:#5b6472;margin-bottom:8px}.email-attachment-list{display:flex;flex-direction:column;gap:6px}.email-attachment-item{display:flex;align-items:center;gap:8px;font-size:13px;cursor:pointer}.email-attachment-item input[type=checkbox]{width:14px;height:14px}.email-attachment-item small{color:#999;margin-left:auto}.email-preview-section{border:1px solid #e5e7eb;border-radius:6px;overflow:hidden}.email-preview-meta{padding:12px 16px;background:#f8f9fb;border-bottom:1px solid #e5e7eb;font-size:12px;color:#5b6472;display:flex;flex-direction:column;gap:4px}.email-preview-html{padding:20px 24px;max-height:none;overflow-y:visible;font-size:14px;line-height:1.7;background:#fff;border-radius:6px;border:1px solid #e5e7eb}.email-preview-html h2{font-size:16px}.toast-popup{position:fixed;bottom:32px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:8px;padding:12px 24px;background:#1a1a1a;color:#fff;border-radius:8px;font-size:14px;z-index:9999;box-shadow:0 4px 12px #00000026;animation:toast-slide-up .3s ease}@keyframes toast-slide-up{0%{opacity:0;transform:translate(-50%,20px)}to{opacity:1;transform:translate(-50%)}}.email-send-result{padding:10px 16px;background:#e8f5e9;border-radius:5px;font-size:13px;color:#2e7d32}@media (max-width: 920px){body{min-width:0}.layout{grid-template-columns:1fr;grid-template-rows:auto auto 1fr}.topbar{grid-template-columns:1fr;height:auto;gap:12px;padding:16px}.topbar-section,.topbar-actions{justify-self:start}.sidebar{grid-row:2;min-height:0}.main{grid-column:1;grid-row:3;padding:18px}.dense-filter-panel,.stats-grid,.summary-grid{grid-template-columns:1fr}.task-hero,.page-header,.panel-toolbar{align-items:stretch;flex-direction:column}.attachment-filters{width:100%;margin-left:0;flex-direction:column;align-items:stretch}.attachment-filters .input-with-icon,.attachment-filters select{width:100%}}.combobox-wrapper{position:relative}.combobox-wrapper input{width:100%;box-sizing:border-box}.combobox-dropdown{position:absolute;top:100%;left:0;right:0;z-index:200;max-height:240px;overflow-y:auto;background:#fff;border:1px solid var(--line-soft);border-radius:6px;box-shadow:0 4px 16px #0000001f;margin-top:2px}.combobox-option{padding:8px 12px;font-size:14px;color:#2f3948;cursor:pointer}.combobox-option:hover{background:#f0f5ff}.combobox-empty{padding:12px;font-size:13px;color:#999;text-align:center}.disclosure-file-section{display:flex;flex-direction:column;gap:8px}.disclosure-tabs{display:flex;gap:4px;border-bottom:1px solid #e2e8f0}.disclosure-tabs button{padding:6px 14px;border:none;background:none;cursor:pointer;font-size:13px;color:#64748b;border-bottom:2px solid transparent;margin-bottom:-1px}.disclosure-tabs button.active{color:#0f62c7;border-bottom-color:#0f62c7;font-weight:600}.selected-doc{display:flex;align-items:center;gap:8px;padding:8px 12px;background:#f0f7ff;border:1px solid #bfdbfe;border-radius:6px;font-size:13px}.selected-doc span{flex:1}.doc-picker{border:1px solid #e2e8f0;border-radius:6px;max-height:240px;overflow-y:auto}.doc-picker-list{display:flex;flex-direction:column}.doc-picker-item{display:flex;align-items:center;gap:8px;padding:8px 12px;cursor:pointer;border-bottom:1px solid #f1f5f9;font-size:13px}.doc-picker-item:hover{background:#f8fafc}.doc-picker-item.selected{background:#eff6ff;color:#0f62c7;font-weight:600}.doc-picker-item small{margin-left:auto;color:#94a3b8}.dashboard-page .page-header{margin-bottom:24px}.dashboard-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:24px}.dashboard-metrics .metric-card{display:flex;justify-content:space-between;align-items:center;padding:24px;border-radius:12px;border:1px solid var(--line);background:#fff}.dashboard-metrics .metric-card span{font-size:13px;color:#64748b;font-weight:500}.dashboard-metrics .metric-card strong{display:block;font-size:36px;font-weight:700;margin:8px 0 4px;color:#1e293b}.dashboard-metrics .metric-card p{font-size:12px;color:#94a3b8}.dashboard-metrics .metric-card-alert{border-color:#fecaca;background:#fef2f2}.dashboard-metrics .metric-card-alert strong{color:#dc2626}.dashboard-metrics .metric-card-warning{border-color:#fed7aa;background:#fff7ed}.dashboard-metrics .metric-card-warning strong{color:#ea580c}.dashboard-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.dashboard-node-bars,.dashboard-assignee-list{padding:16px 20px;display:flex;flex-direction:column;gap:12px}.node-bar-row{display:flex;align-items:center;gap:12px}.node-bar-label{width:100px;flex-shrink:0;font-size:13px;font-weight:500;color:#414752;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.node-bar-track{flex:1;height:20px;background:#f1f5f9;border-radius:6px;overflow:hidden}.node-bar-fill{height:100%;background:var(--blue);border-radius:6px;transition:width .3s ease}.node-bar-count{width:28px;text-align:right;font-size:13px;font-weight:600;color:#1e293b}.assignee-bar-row{display:flex;align-items:center;gap:10px}.assignee-avatar{width:32px;height:32px;border-radius:50%;background:var(--blue);color:#fff;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:600;flex-shrink:0}.assignee-avatar.unassigned{background:#cbd5e1;color:#64748b}.assignee-name{width:80px;flex-shrink:0;font-size:13px;font-weight:500;color:#414752;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.assignee-bar-track{flex:1;height:20px;background:#f1f5f9;border-radius:6px;overflow:hidden}.assignee-bar-fill{height:100%;background:#16a34a;border-radius:6px;transition:width .3s ease}.assignee-bar-fill.unassigned{background:#cbd5e1}.assignee-count{width:28px;text-align:right;font-size:13px;font-weight:600;color:#1e293b}.badge{display:inline-block;padding:2px 10px;border-radius:4px;font-size:12px;font-weight:600}.badge-danger{background:#fef2f2;color:#dc2626}.badge-warning{background:#fff7ed;color:#ea580c}.clickable-row{cursor:pointer}.clickable-row:hover{background:#f8fafc}.metric-card-warning{border-color:#fde68a!important;background:#fffbeb!important}.metric-card-warning strong{color:#d97706!important}.dashboard-page .panel .data-table input[type=number]{padding:4px 8px;border:1px solid var(--line);border-radius:4px;font-size:14px}
