:root{font-family:Inter,-apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,sans-serif;color:#1f2329;background:#f7f8fa;font-size:14px;line-height:1.5;--blue: #245bdb;--muted: #646a73;--border: #e5e6eb;--sidebar: 222px;--red: #c73131;--amber: #995b12;--green: #237849;--owner-primary-text: var(--blue);--owner-primary-surface: #e9f0ff;--owner-secondary-text: #096b86;--owner-secondary-surface: #e6f4fa;--project-main-text: #244c9b;--project-main-surface: #edf2ff;--project-first-text: #096b79;--project-first-surface: #eaf6f7;--project-second-text: #7047a3;--project-second-surface: #f4effb;--project-task-text: #475569;--radius: 6px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,.button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:34px;padding:6px 12px;border:1px solid #d9dce2;border-radius:var(--radius);background:#fff;color:#333942;cursor:pointer;text-decoration:none;transition:background .15s ease}button:hover,.button:hover{background:#f2f4f8}button:disabled{opacity:.45;cursor:not-allowed}button.primary,.button.primary{background:var(--blue);color:#fff;border-color:var(--blue)}button.primary:hover,.button.primary:hover{background:#1d4ec5}.icon{border:0;background:transparent;padding:6px;width:34px;flex-shrink:0}input,select,textarea{border:1px solid #d9dce2;border-radius:5px;padding:8px 10px;background:#fff;max-width:100%;min-width:0;color:#242a33;caret-color:var(--blue)}input::placeholder,textarea::placeholder{color:#6b7380}input:focus,select:focus,textarea:focus{border-color:var(--blue)}:focus-visible{outline:2px solid var(--blue);outline-offset:2px}::selection{background:#dce7ff}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-thumb{background:#bdc4d0;border-radius:4px}::-webkit-scrollbar-track{background:#f7f8fa}h1,h2,h3,p{margin:0}h1{font-size:25px;font-weight:650;letter-spacing:-.02em}h2{font-size:17px;font-weight:600}h3{font-size:14px;font-weight:600}small{font-size:12px}table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap;font-variant-numeric:tabular-nums}th{height:40px;font-size:12px;font-weight:500;color:#646a73;background:#fafbfc;border-bottom:1px solid var(--border)}td{padding:10px 16px;height:61px;border-bottom:1px solid #eef0f3;font-size:13px}th{padding:8px 16px}tbody tr:hover{background:#f7faff}tbody tr{cursor:pointer}.title-cell{min-width:240px;width:34%}.table-scroll{overflow:auto;background:#fff;border:1px solid var(--border);border-radius:6px}.muted{color:var(--muted)}.red{color:var(--red)}.amber{color:var(--amber)}.inline{display:flex;align-items:center;gap:10px}.wide{width:100%}.app{display:flex;min-height:100vh}.sidebar{width:var(--sidebar);position:fixed;inset:0 auto 0 0;background:#f1f3f6;border-right:1px solid var(--border);display:flex;flex-direction:column;padding:26px 12px 0}.brand{display:flex;gap:10px;align-items:center;padding:0 10px 30px}.brand strong{font-size:16px;font-weight:650}.brand small{display:block;color:var(--muted);font-size:11px;margin-top:2px}.brand-icon{color:var(--blue);background:#e3ebfc;width:38px;height:38px;border-radius:10px;display:grid;place-items:center}.sidebar nav{display:flex;flex-direction:column;gap:5px}.sidebar nav button{justify-content:flex-start;border:0;background:transparent;color:#505866;height:42px;padding:10px 14px;gap:12px}.sidebar nav button.active{background:#e1e9fc;color:#2259d5;font-weight:600}.sidebar nav button:hover{background:#e6eaf1}.nav-count{margin-left:auto;background:#d6e2fd;padding:0 6px;border-radius:4px;font-size:12px}.sidebar-note{margin-top:auto;padding:28px 12px 20px;color:#646a73;font-size:12px}.connection-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#479470;margin-right:6px}.user-box{display:flex;align-items:center;gap:9px;padding:16px 5px;border-top:1px solid #dee1e6}.user-box strong{font-size:13px}.user-box small{display:block;font-size:11px;color:var(--muted)}.user-box .icon{margin-left:auto}.avatar{display:inline-grid;place-items:center;width:25px;height:25px;background:#e8eefb;color:#3d5a94;border-radius:50%;font-size:10px;font-weight:600;flex-shrink:0}.user-box>.avatar{width:34px;height:34px;font-size:12px}.person{display:inline-flex;align-items:center;gap:7px}.app>main{margin-left:var(--sidebar);width:calc(100% - var(--sidebar));min-width:0;background:#fff}.topbar{height:55px;border-bottom:1px solid #eef0f3;padding:0 32px;display:flex;gap:14px;align-items:center;color:#707783;font-size:12px}.breadcrumb{display:flex;align-items:center;gap:12px}.today{margin-left:auto;font-variant-numeric:tabular-nums}.content{padding:28px 32px 40px}.project-workspace{display:grid;grid-template-columns:240px minmax(0,1fr);gap:24px;border-top:1px solid var(--border);padding-top:20px}.project-directory{min-width:0;border-right:1px solid var(--border);padding-right:16px}.project-directory-heading,.project-detail-heading,.project-tasks-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.project-directory-heading{align-items:center;margin-bottom:16px}.project-directory-heading h2{font-size:14px;white-space:nowrap}.project-directory-heading button{font-size:12px;padding:6px 8px;white-space:nowrap}.project-tree,.project-tree ul{list-style:none;padding:0;margin:0}:is(.project-workspace,.gantt-canvas) [data-project-level="0"]{--level-text: var(--project-main-text);--level-surface: var(--project-main-surface);--level-size: 15px;--level-weight: 700;--level-title-size: 20px}:is(.project-workspace,.gantt-canvas) [data-project-level="1"]{--level-text: var(--project-first-text);--level-surface: var(--project-first-surface);--level-size: 14px;--level-weight: 600;--level-title-size: 18px}:is(.project-workspace,.gantt-canvas) [data-project-level="2"]{--level-text: var(--project-second-text);--level-surface: var(--project-second-surface);--level-size: 13px;--level-weight: 600;--level-title-size: 17px}:is(.project-workspace,.gantt-canvas) [data-project-level=task]{--level-text: var(--project-task-text);--level-size: 13px;--level-weight: 500}.project-level-legend{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 12px;padding:0 4px 12px;font-size:12px}.project-level-legend>span{display:inline-flex;align-items:center;gap:5px;color:var(--level-text);white-space:nowrap}.project-level-legend>span:before{content:"";width:6px;height:6px;border-radius:2px;background:currentColor}.project-tree-row{display:flex;align-items:center;border-radius:var(--radius);margin-top:4px;min-width:0;color:var(--level-text)}.project-tree-row:hover{background:#f2f4f8}.project-tree-select{flex:1;justify-content:flex-start;min-width:0;min-height:40px;padding:8px 4px;border:0;background:transparent;color:var(--level-text);font-size:var(--level-size);font-weight:var(--level-weight);text-align:left}.project-tree-select>span,.project-directory-switch>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-tree-select svg,.project-tree-select small{flex-shrink:0}.project-tree-select small{color:var(--muted);font-size:11px;font-weight:400}.project-tree-toggle,.project-tree-spacer{width:24px;min-height:36px;flex-shrink:0}.project-tree-toggle{padding:4px;color:inherit}.project-tree-row button:hover{background:transparent}.project-overview-button{justify-content:flex-start;border:0;width:100%;padding:10px 12px}.project-overview-button.selected{background:#e1e9fc;color:#2259d5}.project-tree-row.selected{background:var(--level-surface);outline:1px solid var(--level-text);outline-offset:-1px}.project-directory-switch{display:none}.project-directory-list{max-height:calc(100vh - 280px);overflow:auto;padding:2px}.project-directory-empty{padding:12px}.project-detail{min-width:0}.project-detail-heading{margin-bottom:20px}.project-detail-heading>div:first-child{min-width:0}.project-detail-heading .inline{flex-wrap:wrap}.project-detail-heading h2{overflow-wrap:anywhere}.project-detail-heading[data-project-level] h2{color:var(--level-text);font-size:var(--level-title-size);font-weight:var(--level-weight)}.project-workspace .project-level-label{color:var(--level-text);background:var(--level-surface);padding:2px 6px;border-radius:4px;font-size:12px;font-weight:500;white-space:nowrap}.project-breadcrumb,.project-detail-heading .muted{font-size:12px;color:var(--muted);margin-top:6px;overflow-wrap:anywhere}.project-summary{padding-bottom:20px;border-bottom:1px solid var(--border);margin-bottom:24px}.project-summary>p{white-space:pre-wrap;overflow-wrap:anywhere;max-width:70ch}.project-summary dl{display:flex;flex-wrap:wrap;gap:16px 32px;margin:16px 0 0;font-size:12px}.project-summary dt{color:var(--muted);margin-bottom:4px}.project-summary dd{margin:0;overflow-wrap:anywhere}.project-children{margin-bottom:28px}.project-children h3,.project-tasks-heading h3{display:flex;align-items:center;gap:8px;min-height:34px}.project-children>button{display:flex;width:100%;justify-content:flex-start;gap:10px;border:0;border-bottom:1px solid var(--border);border-radius:0;padding:12px 4px;text-align:left;color:var(--level-text);font-size:var(--level-size);font-weight:var(--level-weight)}.project-children>button>span{flex:1;overflow-wrap:anywhere}.project-children>button>small{color:var(--muted);white-space:nowrap}.project-children svg{flex-shrink:0}.project-tasks .task-link{color:var(--project-task-text);font-size:13px;font-weight:500}.project-task-filters{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:12px 0}.project-task-filters .search{flex:1;min-width:160px}.project-task-filters .search input{width:100%}.project-task-filters select{font-size:13px;padding:6px 10px}.project-task-filters .check{white-space:nowrap}.project-overview-list>button{display:flex;width:100%;justify-content:flex-start;gap:12px;padding:16px 4px;text-align:left;border:0;border-bottom:1px solid var(--border);border-radius:0}.project-overview-list strong{display:block;overflow-wrap:anywhere;color:var(--level-text);font-size:var(--level-size);font-weight:var(--level-weight)}.project-overview-list>button>span:nth-child(2){flex:1;min-width:0}.project-overview-list small{display:block;color:var(--muted);margin-top:4px}.project-actions{position:relative;flex-shrink:0}.project-actions>button{border:1px solid var(--border)}.project-actions-popover{position:absolute;top:calc(100% + 6px);right:0;z-index:10;width:180px;background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:6px}.project-actions-popover:not([hidden]){display:grid;gap:4px}.project-actions-popover>button{justify-content:flex-start;border:0;width:100%}.project-actions-popover>.delete-trigger{border-top:1px solid var(--border);border-radius:0;margin:4px 0 0}@media(max-width:1100px){.project-workspace{grid-template-columns:220px minmax(0,1fr);gap:16px}}@media(max-width:900px){.project-workspace{grid-template-columns:minmax(0,1fr);gap:24px}.project-directory{border-right:0;border-bottom:1px solid var(--border);padding:0 0 16px}.project-directory-heading{margin-bottom:12px}.project-directory-switch{display:flex;width:100%;justify-content:space-between;text-align:left;gap:12px}.project-directory-list{display:none;max-height:280px;margin-top:8px}.project-directory-list.directory-expanded{display:block}.project-tree-select{min-height:44px}.project-tree-toggle{min-height:44px;width:32px}.project-actions>button{min-height:40px;width:40px}}.page-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:26px}.page-heading p{margin-top:7px;color:var(--muted);font-size:13px}.heading-actions{display:flex;align-items:center;gap:10px}.project-page-heading{flex-wrap:wrap}.project-page-heading .heading-actions{margin-left:auto;flex-shrink:0}.project-page-heading .check{min-height:34px;cursor:pointer;white-space:nowrap}.toolbar{display:flex;align-items:center;gap:10px;padding:12px 0;border-top:1px solid #eef0f3;border-bottom:1px solid #eef0f3;margin-bottom:24px}.toolbar select{padding:6px 10px;font-size:13px;max-width:220px}.search{display:flex;align-items:center;gap:7px;padding:0 10px;border:1px solid #dfe2e8;border-radius:6px;color:#7b8390}.search input{border:0;width:180px;font-size:13px;padding:7px 0;background:transparent}.toolbar-spacer{flex:1}.check{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--muted)}.check input{accent-color:var(--blue);width:15px;height:15px}.board-caption{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 16px;color:var(--muted);font-size:12px;margin-bottom:16px}.project-board-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));align-items:start;gap:20px}.project-board-panel{min-width:0;background:#fff;border:1px solid var(--border);border-radius:12px;overflow:hidden}.board-project-header{padding:20px}.board-project-title{display:flex;align-items:flex-start;gap:10px}.board-project-title h2{overflow-wrap:anywhere;font-size:17px}.board-project-title .priority{flex-shrink:0;margin-top:2px}.board-project-admin{color:var(--muted);font-size:12px;margin-top:8px;overflow-wrap:anywhere}.board-progress{margin-top:24px}.board-progress-heading,.board-progress-detail{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;font-size:12px;font-variant-numeric:tabular-nums}.board-progress-heading>strong{font-size:22px;color:var(--blue)}.board-progress progress{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:block;width:100%;height:8px;margin:8px 0;border:0;border-radius:4px;overflow:hidden;background:#eef0f3;accent-color:var(--blue)}.board-progress progress::-webkit-progress-bar{background:#eef0f3;border-radius:4px}.board-progress progress::-webkit-progress-value{background:var(--blue);border-radius:4px}.board-progress progress::-moz-progress-bar{background:var(--blue);border-radius:4px}.board-progress progress.complete::-webkit-progress-value{background:var(--green)}.board-progress progress.complete::-moz-progress-bar{background:var(--green)}.board-progress-detail{color:var(--muted)}.board-reminders{border-top:1px solid var(--border);padding:16px 20px 4px}.board-reminder-heading{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:8px}.board-reminder-heading small{margin-left:auto;color:var(--muted);font-size:11px}.board-reminders.high_risk .board-reminder-heading,.board-reminders.late .board-reminder-heading{color:var(--red)}.board-reminders.soon .board-reminder-heading{color:var(--amber)}.board-task-list{list-style:none;padding:0;margin:0}.board-task-list li+li{border-top:1px solid #eef0f3}.board-task{width:100%;border:0;border-radius:0;padding:12px 0 16px;display:flex;flex-direction:column;align-items:stretch;gap:6px;text-align:left}.board-task:focus-visible{outline-offset:-2px}.user-picker-single{width:100%;border:0;border-radius:5px;text-align:left;justify-content:space-between}.user-picker-single[aria-selected=true]{color:var(--blue);background:#edf3ff}.board-reminder-actions{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;padding-bottom:12px}.board-reminder-actions button{padding:5px 10px;font-size:12px}.board-reminder-actions>.board-task-actions{margin-left:auto}.reminder-notice{grid-column:1 / -1;margin:0;padding:12px 16px;background:#edf3ff;border-radius:8px}.reminder-task-picker,.reminder-roles{margin:20px 0;border:1px solid var(--border);border-radius:8px;padding:12px}.reminder-task-picker{max-height:250px;overflow-y:auto}.reminder-task-picker label{padding:8px 0;align-items:flex-start}.reminder-task-picker small{display:block;color:var(--muted);font-weight:400;margin-top:4px}.reminder-roles{display:flex;flex-wrap:wrap;gap:16px}.reminder-roles label{margin:0}.reminder-preview-heading{display:flex;flex-direction:column;gap:6px;margin:20px 0}.reminder-recipient{border:1px solid var(--border);border-radius:10px;padding:16px;margin:12px 0}.reminder-recipient h3{margin:0 0 12px}.reminder-preview-task{display:flex;flex-direction:column;gap:5px;padding:12px;border-radius:6px;background:#fff7e8;margin-bottom:10px;overflow-wrap:anywhere}.reminder-preview-task span,.reminder-preview-task small{font-size:12px;color:var(--muted)}.reminder-preview-task.unavailable{background:#f3f4f6}.reminder-note{white-space:pre-wrap;overflow-wrap:anywhere}.reminder-history{border-top:1px solid var(--border);margin-top:24px;padding-top:8px}.reminder-history>div{display:flex;flex-direction:column;gap:4px;padding:12px 0;font-size:12px;border-bottom:1px solid var(--border)}.reminder-history span,.reminder-history small{color:var(--muted)}.project-share-card{display:flex;align-items:center;gap:12px;padding:20px 0}.project-share-card h3{margin:0}.project-share-card img{flex-shrink:0}.project-share-card>div{min-width:0;overflow-wrap:anywhere}.project-share-card p{color:var(--muted);margin:6px 0 0}.board-task-heading{display:flex;align-items:flex-start;gap:12px}.board-task-title{flex:1;font-weight:600;overflow-wrap:anywhere}.board-task-heading .priority{flex-shrink:0}.board-task-path,.board-task-people{color:var(--muted);font-size:12px;overflow-wrap:anywhere}.board-task-people{display:flex;flex-wrap:wrap;gap:6px 12px}.board-task-owner{display:inline-flex;align-items:center;gap:4px;min-width:0;max-width:100%}.board-task-owner>span{flex-shrink:0}.board-task-owner>strong{min-width:0;padding:2px 6px;border-radius:4px;font-size:13px;font-weight:600}.board-owner-primary{color:var(--owner-primary-text);background:var(--owner-primary-surface)}.board-owner-secondary{color:var(--owner-secondary-text);background:var(--owner-secondary-surface)}.board-task-footer{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;margin-top:4px;font-size:12px}.board-task-footer>span:last-child{display:flex;gap:4px 10px;flex-wrap:wrap}.board-task-footer time{color:var(--muted);font-variant-numeric:tabular-nums}.board-task-footer strong{font-weight:500}.board-reminder-empty{padding:12px 0 20px;font-size:12px;color:var(--muted)}.count{font-size:12px;color:#6b7380;background:#f0f2f6;padding:1px 7px;border-radius:4px}.priority{display:inline-flex;border-radius:4px;min-width:30px;justify-content:center;padding:2px 6px;font-size:11px;font-weight:650;background:#edf0f5;color:#53627a}.priority.p0{background:#ffe8e7;color:#b82d32}.priority.p1{background:#fff1dc;color:#91600c}.priority.p2{background:#e8efff;color:#2858bd}.status{display:inline-flex;align-items:center;gap:5px;padding:2px 7px;border-radius:4px;font-size:12px;background:#eff1f4;color:#59616d}.status i{width:5px;height:5px;border-radius:50%;background:currentColor}.status.doing{background:#e9f0ff;color:#275ecc}.status.blocked{background:#fff0dd;color:#946019}.status.high_risk{background:#ffe8e7;color:#b82d32}.status.done{background:#e5f5ed;color:#247348}.status.cancelled{color:#767d87}.task-link{border:0;background:none!important;display:inline;text-align:left;padding:0;min-height:24px;color:#252c36;font-weight:500;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.task-link:hover{color:var(--blue);text-decoration:underline;text-underline-offset:3px}.task-path{display:block;color:#737c88;font-size:11px;margin-top:3px}.empty{padding:50px 20px;text-align:center;display:flex;align-items:center;flex-direction:column;color:#778293;gap:8px}.empty p{color:#414b5b}.empty span{font-size:12px}.quiet-empty{padding:22px;color:var(--muted);background:#fafbfc;font-size:13px}.role-label{display:inline-block;font-size:12px;color:#596575;background:#f0f2f5;padding:2px 6px;border-radius:4px}.error-banner{display:flex;align-items:center;gap:10px;background:#fff1f0;color:#a72e31;padding:10px 14px;border-radius:6px;margin-bottom:16px}.error-banner .icon{margin-left:auto}.toast{position:fixed;top:18px;left:50%;z-index:100;display:flex;gap:8px;align-items:center;background:#253d30;color:#fff;padding:10px 20px;border-radius:6px;box-shadow:0 5px 20px #122e2420}.drawer{position:fixed;inset:0 0 0 auto;margin:0;width:560px;max-width:100vw;height:100dvh;max-height:100dvh;border:0;border-left:1px solid #dddfe5;padding:0;background:#fff;box-shadow:-8px 0 30px #1f2d4314;color:#242a33}.drawer::backdrop{background:#17223532}.drawer>header{height:64px;display:flex;align-items:center;justify-content:space-between;padding:0 24px;border-bottom:1px solid var(--border);position:sticky;top:0;background:#fff;z-index:3}.drawer-body{padding:24px}.drawer fieldset{border:0;padding:0;margin:0;min-width:0}.drawer .scope-picker{border-bottom:1px solid var(--border);padding-bottom:4px;margin-bottom:22px}.project-create-options{display:grid;gap:12px}.project-create-options button{min-height:56px;justify-content:space-between;padding:14px 16px}.project-create-back{margin-bottom:22px}.drawer label,.settings-form label,.login-form label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:500;margin-bottom:18px}.drawer .check,.settings-form .check{flex-direction:row;font-weight:400}.drawer textarea{resize:vertical;min-height:90px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.drawer input,.drawer select,.drawer textarea{width:100%}.drawer .check input[type=checkbox]{width:16px;height:16px;flex:0 0 16px;margin:0}.drawer .scope-archive{align-items:flex-start;gap:10px;padding:14px;border:1px solid var(--border);border-radius:6px;background:var(--subtle, #f8f9fb)}.drawer .scope-archive input[type=checkbox]{margin-top:2px}.scope-archive>span{min-width:0}.scope-archive strong{display:block;color:#1f2329;font-weight:500;line-height:20px}.scope-archive small{display:block;margin-top:4px;font-size:12px;line-height:1.6;color:var(--muted)}.drawer select[multiple]{height:115px}.drawer fieldset:disabled input,.drawer fieldset:disabled textarea,.drawer fieldset:disabled select{background:#f8f9fb;color:#535d6b;opacity:1}.detail-meta{display:flex;gap:10px;align-items:center;margin-bottom:24px}.detail-meta .muted{font-size:12px;margin-left:auto}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin:24px 0}.project-share-actions{flex-wrap:wrap}.form-error{color:#ad3038;background:#fff2f2;padding:10px 12px;border-radius:5px;font-size:13px;margin-bottom:16px}.danger{color:var(--red);border-color:#e8b5b5}button.danger:hover{background:#fff2f2}.editor-actions{align-items:center;flex-wrap:wrap}.delete-trigger{margin-right:auto}.delete-confirm{width:440px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);padding:24px;margin:auto;border:0;border-radius:8px;background:#fff;color:inherit;box-shadow:0 12px 40px #1f2d4326}.delete-confirm::backdrop{background:#17223555}.delete-confirm h2,.recycle-item h3{overflow-wrap:anywhere}.delete-confirm h2{margin:0 0 12px}.delete-confirm>p:not(.form-error){margin:0;color:var(--muted);font-size:13px}.delete-confirm .form-error{margin-top:16px}.delete-confirm .form-actions{margin:24px 0 0}.user-list-heading,.user-actions-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.user-list-heading{flex-wrap:wrap}.user-list-heading .check{cursor:pointer;min-height:34px}.user-management-row{cursor:pointer}.user-management-row:hover{background:#f2f4f8}.user-name-button{border:0;background:transparent;padding:4px 0;min-height:40px}.user-actions-heading{margin-bottom:8px}.user-actions-heading h2{margin:0}.user-actions-heading .icon{flex-shrink:0}.user-action-options{display:grid;gap:12px;margin-top:24px}.user-action-options button{justify-content:flex-start;min-height:44px;padding:10px 12px}.user-action-confirm{margin-top:24px}.user-action-confirm h3{font-size:15px;margin-bottom:8px}.user-action-confirm p{color:var(--muted);font-size:13px}.recycle-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:16px;border-bottom:1px solid var(--border)}.recycle-toolbar p{display:flex;flex-wrap:wrap;gap:8px;margin:0;font-weight:500}.recycle-toolbar .muted{font-weight:400}.recycle-list{list-style:none;margin:0;padding:0}.recycle-item{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:16px;border-bottom:1px solid var(--border);padding:16px 0}.recycle-content{display:grid;gap:4px;min-width:0}.recycle-title{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;margin-bottom:4px}.recycle-title h3{margin:0;font-size:14px;font-weight:600}.recycle-title .role-label{flex-shrink:0}.recycle-content p{margin:0;color:var(--muted);font-size:13px;overflow-wrap:anywhere}.recycle-meta{font-variant-numeric:tabular-nums}button.recycle-restore{color:var(--blue);white-space:nowrap}@media(max-width:420px){.recycle-item{grid-template-columns:minmax(0,1fr);gap:12px}.recycle-restore{justify-self:end;min-height:40px}}.baseline{font-size:12px;background:#f7f8fa;color:#697280;padding:12px;border-radius:5px}.detail-section{margin-top:28px;padding-top:20px;border-top:1px solid var(--border)}.detail-section h3{display:flex;align-items:center;gap:7px;margin-bottom:14px}.dependency-item{display:flex;align-items:center;justify-content:space-between;font-size:13px;border-bottom:1px solid #eef0f4;padding:8px 0}.dependency-item button{min-height:26px;padding:4px;border:0}.detail-section .inline{margin-top:12px}.detail-section select{flex:1;max-width:80%}.preview{background:#f2f6ff;padding:18px;border-radius:6px;margin-top:20px}.preview p{font-size:12px;margin:6px 0 14px}.preview-item{margin:12px 0;padding-bottom:12px;border-bottom:1px solid #dce5f7}.preview-item span{display:flex;gap:5px;align-items:center;font-size:12px;color:#636f80;margin-top:4px}.history-item{display:flex;gap:10px;margin:14px 0;font-size:12px}.history-item small{display:block;color:var(--muted);font-size:11px;margin-top:5px}.history-dot{width:7px;height:7px;border-radius:50%;background:#c2ccde;margin-top:5px}.history-item span{color:var(--muted)}.gantt-options{display:flex;align-items:center;gap:12px;margin-bottom:14px}.gantt-options>div:first-child{display:flex;align-items:center;gap:8px;flex:1}.gantt-options .muted{font-size:12px}.segmented{display:flex;padding:2px;background:#f0f2f5;border-radius:6px}.segmented button{border:0;background:transparent;min-height:28px;padding:4px 12px}.segmented button.selected{background:#fff;color:var(--blue);box-shadow:0 1px 3px #25334815}.gantt-scroll{border:1px solid var(--border);border-radius:6px;overflow:auto;max-height:calc(100vh - 340px);min-height:240px}.gantt-canvas{position:relative}.gantt-head,.gantt-row{display:flex;position:relative;border-bottom:1px solid #e9ecf1}.gantt-head{position:sticky;top:0;z-index:5;background:#f7f8fa}.gantt-label{width:360px;min-width:360px;position:sticky;left:0;z-index:3;background:#fff;display:flex;align-items:center;gap:8px;padding:0 12px;border-right:1px solid #dfe3eb;font-size:13px}.gantt-head .gantt-label{background:#f7f8fa;font-size:12px;color:var(--muted)}.gantt-head .gantt-label>span{margin-left:auto}.gantt-row.program .gantt-label,.gantt-row.project .gantt-label{background:var(--level-surface)}.gantt-row .gantt-label,.gantt-row .tree-toggle,.gantt-row .program-overview-icon{color:var(--level-text)}.tree-toggle{padding:0;min-height:26px;width:22px;flex-shrink:0;background:none;border:0}.gantt-label .task-link{color:var(--level-text);font-size:var(--level-size);font-weight:var(--level-weight);flex:1;min-width:0}.dot{width:5px;height:5px;border-radius:50%;background:#4f7ee0;flex-shrink:0;margin:0 7px}.dot.p0{background:#cf5b66}.mini-status{font-size:10px;color:#737f90;white-space:nowrap}.date-header{flex-shrink:0}.date-groups,.date-ticks{display:flex;height:28px}.date-group,.date-ticks>div{display:flex;align-items:center;justify-content:center;border-right:1px solid #e9ecf1;font-size:12px;flex-shrink:0;color:var(--muted);font-variant-numeric:tabular-nums}.date-group{border-bottom:1px solid var(--border);font-weight:500;min-width:0;overflow:hidden}.date-group>span{min-width:0;padding:0 8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.date-groups.year .date-group{justify-content:flex-start;overflow:visible}.date-groups.year .date-group>span{position:sticky;left:var(--gantt-left)}.today-date{color:var(--blue)!important;background:#e7efff}.timeline{position:relative;background-image:linear-gradient(to right,#edf0f5 1px,transparent 1px);flex-shrink:0}.gantt-month-grid{position:absolute;pointer-events:none}.gantt-month-grid>span{position:absolute;top:0;bottom:0;border-left:1px solid #edf0f5}.gantt-bar{position:absolute;top:10px;height:24px;min-height:24px;font-size:11px;justify-content:flex-start;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:#dfeaff;color:#3055a1;border:1px solid #bdd0f7;border-radius:4px;padding:2px 8px;z-index:2}.gantt-bar:hover{filter:brightness(.96);background:#d3e2ff}.program-overview-bar{padding:0}.program-overview-icon{flex-shrink:0;color:var(--blue)}.program-task-count{font-size:11px;color:var(--muted);font-weight:400;white-space:nowrap}.gantt-bar.overdue{background:#ffe5e5;border-color:#f1bcbc;color:#ab3e43}.gantt-bar.done{background:#dff2e7;border-color:#b7dac5;color:#287249}.gantt-bar.cancelled{background:#eceef2;color:#7c8490;border-color:#d9dfe6}.summary-bar{position:absolute;top:19px;height:5px;background:#8798b5;border-radius:2px;z-index:2}.dependency-related .gantt-label{background:#f0f5ff}.dependency-related .gantt-bar{outline:1px solid var(--blue);outline-offset:1px}.today-line{position:absolute;width:1px;background:#4684eb;pointer-events:none;z-index:1}.dependency-lines{position:absolute;top:0;left:0;pointer-events:none;z-index:1}.dependency-line{color:#6c7e99}.dependency-line.is-active{color:var(--blue)}.dependency-line.is-muted{opacity:.25}.dependency-line path{fill:none;stroke-linejoin:round;stroke-linecap:round}.dependency-halo{stroke:#fff;stroke-width:4.5}.dependency-path{stroke:currentColor;stroke-width:1.5}.dependency-line.is-active .dependency-path{stroke-width:2}.dependency-line circle{fill:currentColor;stroke:#fff;stroke-width:1}.gantt-legend{display:flex;gap:18px;font-size:11px;color:#727b88;margin-top:14px}.gantt-legend>span{display:flex;align-items:center;gap:5px}.gantt-legend i{width:10px;height:10px;border-radius:2px}.legend-blue{background:#b8cffb}.legend-red{background:#efb7bb}.legend-green{background:#afd9c0}.settings{max-width:1100px}.tabs{display:flex;gap:20px;border-bottom:1px solid var(--border);margin-bottom:24px}.tabs button{border:0;border-radius:0;padding:10px 2px;color:var(--muted)}.tabs button.active{border-bottom:2px solid var(--blue);color:var(--blue)}.connection-status{display:flex;gap:15px;align-items:center;padding:24px;background:#f7f9fc;border-radius:8px;margin-bottom:28px}.connection-status p{font-size:13px;color:var(--muted);margin:5px 0}.connection-icon{width:45px;height:45px;display:grid;place-items:center;border-radius:10px;background:#e7edf6;color:#708099}.connection-icon.online{background:#e4f4e9;color:#398254}.settings h3{margin:24px 0 12px}.target-row{display:flex;flex-wrap:wrap;align-items:center;gap:15px;padding:14px 0;border-bottom:1px solid var(--border)}.target-row>.target-info{flex:1;min-width:160px;overflow-wrap:anywhere}.target-actions{display:flex;gap:8px;flex-shrink:0}.target-actions button{white-space:nowrap}.target-row p{color:var(--muted);font-size:12px;margin-top:4px}.settings-form{border:1px solid var(--border);border-radius:6px;padding:16px;margin:20px 0}.settings-form summary{cursor:pointer;font-weight:500}.settings-form form{padding-top:20px;max-width:760px}.sync-history>.table-scroll{margin-top:16px}.login-page{display:grid;grid-template-columns:1fr 1fr;min-height:100vh;background:#fff}.login-brand{background:#edf2fb;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:15%;color:#2653ac}.login-brand h1{margin:18px 0 12px;font-size:34px}.login-brand p{color:#5a6c88}.login-diagram{margin-top:60px;color:#4e6387;font-size:14px;width:100%}.login-diagram div{border:1px solid #c5d2e9;padding:16px;border-radius:6px;background:#f7faff}.login-diagram span{display:block;width:1px;height:28px;background:#b7c8e7;margin-left:24px}.login-form{width:350px;max-width:calc(100% - 48px);margin:auto;padding:40px 0}.login-form h2{font-size:25px;margin-bottom:8px}.login-form>.muted{margin-bottom:32px}.login-form input{padding:10px 12px}.login-form .primary{margin-top:5px}.login-form>.primary,.login-form>.button{min-height:44px}.login-form>.primary+.button{margin-top:12px}.loading{display:grid;place-items:center;min-height:100vh;color:var(--muted)}@media(max-width:1100px){:root{--sidebar: 190px}.content{padding:24px 20px}.topbar{padding:0 20px}.toolbar{flex-wrap:wrap}.gantt-options .muted{display:none}}@media(max-width:700px){:root{--sidebar: 60px}.sidebar{padding:15px 6px 0}.brand{padding:0 3px 22px}.brand>div,.sidebar-note,.user-box>div,.user-box>.avatar{display:none}.brand-icon{width:40px}.sidebar nav button{font-size:0;gap:0;padding:10px;justify-content:center}.sidebar nav button svg{width:21px;height:21px}.nav-count{display:none}.user-box{margin-top:auto;justify-content:center}.user-box .icon{margin-left:0}.content{padding:20px 14px}.topbar{padding:0 14px}.today{display:none}.page-heading{align-items:flex-start}.page-heading h1{font-size:22px}.page-heading p{font-size:12px}.heading-actions .icon{display:none}.heading-actions button{font-size:12px;padding:6px 8px;white-space:nowrap}.toolbar{gap:8px}.search,.search input{width:100%}.toolbar select{max-width:45%;font-size:12px}.drawer-body{padding:20px}.form-grid{gap:0 10px}.gantt-options{flex-wrap:wrap;font-size:12px}.date-group>span{padding:0 4px;font-size:11px}.gantt-options>div:first-child{flex-basis:100%}.gantt-label{width:240px;min-width:240px}.gantt-legend{flex-wrap:wrap;gap:8px 14px}.login-page{grid-template-columns:1fr}.login-brand{display:none}.login-form{padding:50px 0}.connection-status{padding:16px;align-items:flex-start}.settings .form-grid{grid-template-columns:1fr}.target-row>.target-info{flex-basis:100%}.target-actions{margin-left:auto}.detail-meta{flex-wrap:wrap}.detail-meta .muted{margin-left:0}.mini-status{display:none}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}.gantt-label{width:var(--gantt-left, 360px);min-width:var(--gantt-left, 360px);flex-basis:var(--gantt-left, 360px)}.user-select{min-width:0;margin-bottom:18px}.user-select>label{margin-bottom:7px}.user-picker-trigger{width:100%;justify-content:space-between;min-height:36px;text-align:left}.user-picker-trigger>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-picker-trigger svg{flex-shrink:0}.user-picker{position:fixed;z-index:20;display:flex;flex-direction:column;padding:10px;background:#fff;border:1px solid var(--border);border-radius:6px}.user-picker .user-filters{flex-shrink:0}.user-picker .user-filters>*{min-width:0}.user-picker-options{min-height:0;overflow:auto;overscroll-behavior:contain}.user-picker .user-picker-option{display:flex;flex-direction:row;align-items:flex-start;gap:8px;padding:9px 6px;margin:0;font-size:13px;font-weight:400;cursor:pointer}.user-picker-option:hover{background:var(--hover-surface, #f2f4f8)}.user-picker-option input,.user-picker-select-all input{width:15px;height:15px;min-height:0;flex-shrink:0;margin:2px 0 0}.user-picker-option span{overflow-wrap:anywhere}.user-picker-empty{color:var(--muted);font-size:12px;margin:12px 6px}.user-picker-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-shrink:0;border-top:1px solid var(--border);margin-top:8px;padding-top:8px;color:var(--muted);font-size:12px}.user-picker .user-picker-select-all{display:flex;flex-direction:row;align-items:center;gap:8px;margin:0;font-size:13px;font-weight:400;white-space:nowrap;cursor:pointer}.user-picker-select-all input{margin:0}.user-picker-count{margin-left:auto;white-space:nowrap}.user-filters{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px;margin-bottom:6px}.user-select input,.user-select select{min-width:0}.user-select small{display:block;margin-top:6px}.directory-panel{padding-bottom:24px;border-bottom:1px solid var(--border)}.directory-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.directory-heading p{margin:6px 0 0}.directory-heading button{flex-shrink:0}.directory-note{margin:16px 0;font-size:13px}.directory-help summary{cursor:pointer;font-weight:500}.directory-help ol{padding-left:22px;max-width:75ch}.directory-help li{margin:10px 0}.directory-help a{color:var(--blue)}@media(max-width:650px){.directory-heading{align-items:flex-start;flex-direction:column}}@media(max-width:650px){.form-grid>.user-select{grid-column:1 / -1}}.user-selection{color:var(--muted);font-size:12px}.user-selection p{margin:6px 0 0;overflow-wrap:anywhere;white-space:normal}.permissions-page{display:grid;gap:24px;padding-top:24px}.permission-heading{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.permission-heading h2,.permission-heading h3{margin:0 0 8px}.permission-heading p{margin:0}.system-permissions,.permission-defaults,.permission-rules{border:1px solid var(--border, #e5e6eb);border-radius:8px;padding:20px;background:#fff}.system-permissions h3{margin-top:0;display:flex;gap:12px;align-items:center}.system-permissions p{margin-bottom:6px}.permission-defaults summary,.permission-rules summary{cursor:pointer;font-weight:600}.permission-default-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:16px;align-items:end}.permission-workspace{display:grid;grid-template-columns:240px minmax(0,1fr);border:1px solid var(--border, #e5e6eb);border-radius:8px;overflow:hidden}.permission-tree{padding:16px 12px;background:#fafbfc;border-right:1px solid var(--border, #e5e6eb)}.permission-tree h3{display:flex;gap:8px;align-items:center;margin:0 0 14px}.permission-tree ul{list-style:none;margin:0;padding:0}.permission-tree nav{margin-top:12px;max-height:640px;overflow:auto}.permission-tree button{display:block;width:100%;text-align:left;background:transparent;border:0;padding:10px 12px;white-space:normal;overflow-wrap:anywhere}.permission-tree button.selected{background:#e9f0ff;color:#245bdb;font-weight:600}.permission-tree button small{display:block;margin-top:4px;font-weight:400;color:#646a73}.scope-permissions{min-width:0;padding:20px}.scope-permissions .table-scroll{margin:18px 0}.permission-table{min-width:680px}.permission-table td{vertical-align:top}.permission-table td small{display:block;margin:5px 0;max-width:240px;color:#646a73;overflow-wrap:anywhere}.permission-table select{min-width:112px}.permission-badge{display:inline-block;white-space:nowrap;padding:4px 9px;border-radius:4px;font-size:13px;background:#f1f3f6;color:#505866}.permission-badge.manage{color:#245bdb;background:#e9f0ff}.permission-badge.edit{color:#096b86;background:#e6f4fa}.permission-add{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;margin:0;padding:14px 0 0;border:0;border-top:1px solid #e5e6eb}.permission-add>.user-select{grid-column:1 / -1;margin-bottom:0}.permission-add>label{max-width:180px}.permission-add label,.permission-default-fields label{margin:0}.permission-rules h3{margin-top:0}.permission-rules>p{color:#646a73}.permission-levels{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:20px 0}.permission-levels p{margin-bottom:0;line-height:1.75}.permission-rules li{margin:10px 0;line-height:1.8}.user-actions-dialog{max-height:calc(100dvh - 32px);overflow-y:auto}.user-handoff{margin:18px 0;padding-top:12px;border-top:1px solid #e5e6eb}.user-handoff h4{margin:12px 0 8px}.user-handoff ul{margin:0;padding-left:18px;max-height:160px;overflow:auto}.user-handoff li{padding:5px 0;line-height:1.6}.user-handoff small{display:block;color:#646a73}@media(max-width:1100px){.permission-workspace{grid-template-columns:200px minmax(0,1fr)}.permission-default-fields{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:800px){.permission-workspace{grid-template-columns:minmax(0,1fr)}.permission-tree{border-right:0;border-bottom:1px solid #e5e6eb}.permission-tree nav{max-height:220px}.permission-default-fields,.permission-levels{grid-template-columns:minmax(0,1fr)}.scope-permissions{padding:16px}.permission-add{grid-template-columns:minmax(0,1fr)}}.task-share-button{flex-shrink:0;min-height:30px;padding:4px 8px;font-size:12px;white-space:nowrap;color:var(--blue)}.task-share-button.compact{width:28px;min-height:28px;padding:4px;border-color:transparent;background:transparent}.task-share-cell{width:1%;white-space:nowrap}.board-task-actions{display:flex;align-items:center;gap:8px;margin-left:auto}.task-permission-fields{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:650px){.task-permission-fields{grid-template-columns:minmax(0,1fr)}}.task-change-confirm{width:520px}.task-change-list{margin:20px 0}.task-scope-field{min-width:0}.task-move-button{margin-top:6px;padding:5px 8px;font-size:12px}.task-change-row{display:grid;gap:4px;padding:10px 0;border-bottom:1px solid var(--border);overflow-wrap:anywhere}.task-change-row span{color:var(--muted);font-size:13px}.task-change-reason{display:grid;gap:8px;margin-top:20px}.task-change-reason textarea{min-height:88px}.task-change-confirm .form-actions{flex-wrap:wrap}.history-reason{white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0 0}.status.delayed{background:#fff0dd;color:#946019}.gantt-unscheduled{padding-left:16px;color:var(--muted);font-size:12px;line-height:44px}
