@layer components{.task-list{flex-direction:column;gap:12px;display:flex}.task-list-filters{justify-content:space-between;gap:12px}.task-list-filter-group,.task-list-filters{flex-wrap:wrap;align-items:center;display:flex}.task-list-filter-group{gap:8px}.task-list-select{min-width:120px}.task-list-search{flex:1;min-width:200px;max-width:300px}.task-list-search .projects-input{width:100%}.task-list-bulk-actions{background:rgba(56,189,248,.1);border:1px solid rgba(56,189,248,.3);border-radius:8px;align-items:center;gap:8px;padding:10px 12px;display:flex}.task-list-bulk-count{color:#38bdf8;font-size:13px;font-weight:600}.task-list-header{color:#94a3b8;text-transform:uppercase;letter-spacing:.5px;background:rgba(15,23,42,.5);border:1px solid rgba(31,41,55,.8);border-radius:8px;grid-template-columns:40px 1fr 160px 140px 100px 100px 60px 60px 90px;gap:8px;padding:10px 12px;font-size:12px;font-weight:600;display:grid}.task-list-sortable{cursor:pointer}.task-list-sortable:hover{color:#e2e8f0}.task-list-body{flex-direction:column;gap:4px;display:flex}.task-list-row{background:rgba(11,17,32,.7);border:1px solid rgba(31,41,55,.8);border-radius:8px;grid-template-columns:40px 1fr 160px 140px 100px 100px 60px 60px 90px;align-items:center;gap:8px;padding:12px;transition:all .15s;display:grid}.task-list-row-selected,.task-list-row:hover{border-color:rgba(56,189,248,.3)}.task-list-row-selected{background:rgba(56,189,248,.1)}.task-list-row-done{opacity:.6}.task-list-cell{align-items:center;display:flex}.task-list-cell-checkbox input{cursor:pointer;width:16px;height:16px}.task-list-cell-title{cursor:pointer;align-items:flex-start;gap:8px;min-width:0;display:flex;overflow:hidden}.task-list-title-stack{flex-direction:column;gap:2px;width:100%;min-width:0;display:flex}.task-list-title-line{align-items:center;gap:8px;min-width:0;display:flex}.task-list-status-icon{color:#64748b;font-size:14px}.task-list-task-title{color:#f8fafc;font-weight:600}.task-list-assignee,.task-list-task-title{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.task-list-assignee{color:#94a3b8;font-size:11px}.task-list-assignee-unassigned{color:#64748b}.task-list-cell-assignee{min-width:0}.task-list-description{color:#94a3b8;-webkit-line-clamp:2;word-break:break-word;-webkit-box-orient:vertical;font-size:11px;line-height:1.35;display:-webkit-box;overflow:hidden}.task-list-tags{flex-wrap:wrap;gap:6px;margin-top:4px;display:flex}.task-list-tag{color:#bae6fd;background:rgba(14,165,233,.14);border:1px solid rgba(56,189,248,.35);border-radius:999px;padding:1px 7px;font-size:10px}.task-list-status-select{width:100%}.task-list-priority-badge{text-transform:uppercase;font-size:11px;font-weight:600}.task-list-due{color:#94a3b8;font-size:12px}.task-list-due-overdue{color:#f87171}.task-list-deps-badge{color:#f87171;font-size:11px}.task-list-cell-actions{justify-content:flex-end}.task-list-delete-btn{color:#fda4af;cursor:pointer;background:hsla(0,91%,71%,.08);border:1px solid hsla(0,91%,71%,.35);border-radius:999px;padding:2px 8px;font-size:11px;transition:all .15s}.task-list-delete-btn:hover{color:#fecdd3;background:hsla(0,91%,71%,.18)}.task-list-empty{text-align:center;flex-direction:column;align-items:center;gap:12px;padding:40px 20px;display:flex}.task-list-footer{justify-content:space-between;align-items:center;padding-top:8px;display:flex}.project-plan-list{--project-plan-columns:minmax(300px,2fr) minmax(120px,1fr) 140px 180px 120px 220px;background:rgba(9,14,26,.78);border:1px solid rgba(31,41,55,.75);border-radius:12px;overflow:hidden}.project-plan-header,.project-plan-row,.project-plan-section-header.is-phase-section{grid-template-columns:var(--project-plan-columns);align-items:center;display:grid}.project-plan-header{color:#94a3b8;letter-spacing:.03em;text-transform:uppercase;background:rgba(15,23,42,.65);border-bottom:1px solid rgba(31,41,55,.85);font-size:12px;font-weight:600}.project-plan-cell{min-width:0;padding:10px 12px}.project-plan-section{border-bottom:1px solid rgba(31,41,55,.75)}.project-plan-section:last-child{border-bottom:none}.project-plan-section-header{color:#e2e8f0;background:rgba(15,23,42,.35);justify-content:space-between;align-items:center;gap:10px;padding:12px 14px;display:flex}.project-plan-section-header:hover{background:rgba(15,23,42,.5)}.project-plan-section-header.is-phase-section{gap:0;justify-content:normal;background:linear-gradient(90deg,rgba(59,130,246,.12),rgba(15,23,42,.36) 48%);border-top:1px solid rgba(31,41,55,.65);padding:0}.project-plan-section-toggle{color:#cbd5e1;cursor:pointer;background:rgba(15,23,42,.45);border:1px solid rgba(100,116,139,.4);border-radius:6px;flex:none;justify-content:center;align-items:center;width:18px;height:18px;padding:0;display:inline-flex}.project-plan-section-toggle:hover{background:rgba(30,41,59,.65);border-color:rgba(148,163,184,.6)}.project-plan-section-title-group{flex-direction:column;flex:auto;gap:4px;min-width:0;display:flex}.project-plan-section-title-row{align-items:center;gap:8px;min-width:0;font-size:15px;font-weight:600;display:flex}.project-plan-section-title-row>span:first-child{white-space:nowrap;text-overflow:ellipsis;min-width:0;overflow:hidden}.project-plan-section-subtitle{color:#94a3b8;flex-wrap:wrap;align-items:center;gap:10px;font-size:12px;display:flex}.project-plan-section-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;margin-left:auto;display:inline-flex}.project-plan-phase-header-name{flex-wrap:nowrap;gap:10px;min-width:0}.project-plan-phase-date,.project-plan-phase-meta{color:#94a3b8;white-space:nowrap;font-size:12px}.project-plan-phase-actions{white-space:nowrap;flex-wrap:nowrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.project-plan-section-chevron{color:#94a3b8;justify-content:center;font-size:15px;display:inline-flex}.project-plan-section-body{flex-direction:column;display:flex}.project-plan-row{background:rgba(2,6,23,.26);border-top:1px solid rgba(31,41,55,.65)}.project-plan-row.is-root{background:rgba(2,6,23,.24)}.project-plan-row.is-milestone-parent{background:linear-gradient(90deg,rgba(14,116,144,.2),rgba(2,6,23,.24) 48%);border-left:3px solid rgba(14,165,233,.6)}.project-plan-row:hover{background:rgba(15,23,42,.46)}.project-plan-name{align-items:center;gap:8px;display:flex}.project-plan-name-child{padding-left:28px;position:relative}.project-plan-row.is-child{background:rgba(2,6,23,.16);border-left:3px solid rgba(71,85,105,.35)}.project-plan-row.is-child .project-plan-name-child:before{content:"";background:rgba(100,116,139,.4);width:1px;position:absolute;top:-10px;bottom:-10px;left:17px}.project-plan-row.is-child.is-last-child .project-plan-name-child:before{bottom:50%}.project-plan-row.is-child .project-plan-name-child:after{content:"";border-top:1px solid rgba(100,116,139,.5);width:10px;position:absolute;top:50%;left:17px;transform:translateY(-50%)}.project-plan-name-parent .project-plan-open{letter-spacing:.01em;font-weight:700}.project-plan-tree-branch,.project-plan-tree-spacer,.project-plan-tree-toggle{color:#94a3b8;justify-content:center;align-items:center;width:18px;min-width:18px;line-height:1;display:inline-flex}.project-plan-tree-toggle{cursor:pointer;background:rgba(30,41,59,.45);border:1px solid rgba(100,116,139,.45);border-radius:6px;height:18px;padding:0 0 1px}.project-plan-tree-toggle:hover{color:#e2e8f0;background:rgba(51,65,85,.65);border-color:rgba(148,163,184,.75)}.project-plan-tree-count{color:#94a3b8;background:rgba(51,65,85,.5);border:1px solid rgba(100,116,139,.45);border-radius:999px;justify-content:center;align-items:center;min-width:20px;height:20px;margin-left:6px;padding:0 6px;font-size:11px;font-weight:700;display:inline-flex}.project-plan-open{text-align:left;text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-weight:600;overflow:hidden}.project-plan-status-select{width:100%;min-width:120px}.project-plan-status-badge{border:1px solid transparent;border-radius:999px;justify-content:center;font-size:12px;line-height:1.2}.project-plan-kind-badge,.project-plan-status-badge{align-items:center;padding:4px 10px;font-weight:600;display:inline-flex}.project-plan-kind-badge{letter-spacing:.01em;color:#cbd5e1;background:rgba(30,41,59,.55);border:1px solid rgba(148,163,184,.3);border-radius:999px;font-size:11px}.project-plan-actions{grid-template-columns:18px 18px 44px 56px;justify-content:end;place-items:center end;gap:8px;display:grid}.project-plan-open-action{text-align:right;min-width:44px}.project-plan-delete-slot{width:56px;min-width:56px;height:1px}.project-plan-actions .task-list-delete-btn{text-align:center;min-width:56px}.project-plan-section-header.is-phase-section .project-plan-cell{padding-top:8px;padding-bottom:8px}.project-plan-phase-actions .projects-btn.small{white-space:nowrap;min-height:28px;padding:4px 8px;line-height:1}.project-plan-status-badge.tone-green,.project-plan-status-select.tone-green{color:#86efac;background:rgba(34,197,94,.2);border-color:rgba(34,197,94,.5)}.project-plan-status-badge.tone-orange,.project-plan-status-select.tone-orange{color:#fed7aa;background:rgba(249,115,22,.2);border-color:rgba(249,115,22,.48)}.project-plan-status-badge.tone-red,.project-plan-status-select.tone-red{color:#fecaca;background:rgba(239,68,68,.2);border-color:rgba(239,68,68,.48)}.project-plan-status-badge.tone-gray,.project-plan-status-select.tone-gray{color:#cbd5e1;background:rgba(71,85,105,.24);border-color:rgba(100,116,139,.45)}.project-plan-kind-badge.kind-milestone{color:#bae6fd;background:rgba(14,116,144,.2);border-color:rgba(14,165,233,.35)}.project-plan-kind-badge.kind-phase{color:#dbeafe;background:rgba(37,99,235,.18);border-color:rgba(96,165,250,.35)}.project-plan-kind-badge.kind-task{color:#e2e8f0;background:rgba(51,65,85,.35);border-color:rgba(148,163,184,.4)}.project-plan-kind-badge.kind-deliverable{color:#bbf7d0;background:rgba(21,128,61,.2);border-color:rgba(34,197,94,.35)}.project-plan-kind-badge.kind-requirement{color:#e9d5ff;background:rgba(109,40,217,.2);border-color:rgba(168,85,247,.35)}.project-plan-kind-badge.kind-risk{color:#fecaca;background:rgba(153,27,27,.2);border-color:rgba(239,68,68,.35)}.project-files-list{background:rgba(9,14,26,.78);border:1px solid rgba(31,41,55,.75);border-radius:12px;overflow-x:auto;overflow-y:hidden}.project-files-header,.project-files-row{grid-template-columns:var(--project-files-columns,minmax(320px,2.2fr) 130px 156px minmax(176px,1.1fr) 336px);align-items:center;display:grid}.project-files-header{color:#94a3b8;letter-spacing:.03em;text-transform:uppercase;background:rgba(15,23,42,.65);border-bottom:1px solid rgba(31,41,55,.85);font-size:12px;font-weight:600}.project-files-cell{min-width:0;padding:10px 12px}.project-files-header-cell{align-items:center;gap:8px;min-height:44px;display:flex;position:relative}.project-files-header-label{min-width:0}.project-files-column-resizer{cursor:col-resize;touch-action:none;background:none;border:0;width:14px;height:calc(100% - 16px);padding:0;position:absolute;top:8px;right:-7px}.project-files-column-resizer:after{content:"";background:rgba(148,163,184,.2);border-radius:999px;width:3px;height:calc(100% - 6px);transition:background-color .15s;position:absolute;top:3px;left:50%;transform:translateX(-50%)}.project-files-column-resizer:hover:after{background:rgba(96,165,250,.75)}.project-files-column-resizer:focus-visible:after{background:rgba(96,165,250,.75)}.project-files-section{border-bottom:1px solid rgba(31,41,55,.75)}.project-files-section:last-child{border-bottom:none}.project-files-section-header{color:#e2e8f0;background:rgba(15,23,42,.35);border-top:1px solid rgba(31,41,55,.65);justify-content:flex-start;align-items:center;gap:10px;padding:12px 14px;font-size:15px;font-weight:600;display:flex}.project-files-section:first-child .project-files-section-header{border-top:none}.project-files-section-heading{align-items:center;gap:10px;display:inline-flex}.project-files-section-count{color:#bfdbfe;background:rgba(59,130,246,.14);border:1px solid rgba(96,165,250,.22);border-radius:999px;justify-content:center;align-items:center;min-width:28px;min-height:24px;padding:0 10px;font-size:12px;font-weight:700;line-height:1;display:inline-flex}.project-files-section-body{flex-direction:column;display:flex}.project-files-row{background:rgba(2,6,23,.24);border-top:1px solid rgba(31,41,55,.65)}.project-files-row:hover{background:rgba(15,23,42,.46)}.project-files-name-cell{align-items:center;min-width:0;display:flex}.project-files-open{text-overflow:ellipsis;white-space:nowrap;text-align:left;max-width:100%;font-weight:600;overflow:hidden}.project-files-added-text{font-size:11px;line-height:1.25}.project-files-origin-badge.source-project{color:#bae6fd;background:rgba(14,116,144,.2);border-color:rgba(14,165,233,.35)}.project-files-origin-badge.source-chat{color:#c7d2fe;background:rgba(67,56,202,.2);border-color:rgba(99,102,241,.4)}.project-files-origin-badge.source-sales{color:#bbf7d0;background:rgba(21,128,61,.2);border-color:rgba(34,197,94,.35)}.project-files-origin-badge.source-other{color:#cbd5e1;background:rgba(30,41,59,.55);border-color:rgba(148,163,184,.3)}.project-files-actions{grid-template-columns:repeat(3,96px);justify-content:end;place-items:center stretch;gap:8px;display:grid}.project-files-action-pill{white-space:nowrap;vertical-align:middle;letter-spacing:.01em;cursor:pointer;border:1px solid transparent;border-radius:999px;justify-content:center;align-items:center;width:100%;min-height:32px;margin:0;padding:0 12px;font-size:12px;font-weight:600;line-height:1;text-decoration:none;transition:background-color .15s,border-color .15s,color .15s,transform .15s;display:inline-flex}.project-files-action-pill:hover{transform:translateY(-1px)}.project-files-action-pill:disabled,.project-files-action-pill[aria-disabled=true]{opacity:.55;cursor:not-allowed;transform:none}.project-files-actions button.project-files-action-pill{-webkit-appearance:none;-moz-appearance:none;appearance:none;border-width:1px;font-family:inherit}.project-files-action-pill-open{color:#bfdbfe;background:rgba(37,99,235,.16);border-color:rgba(59,130,246,.45)}.project-files-action-pill-open:hover{color:#dbeafe;background:rgba(37,99,235,.24);border-color:rgba(96,165,250,.55)}.project-files-action-pill-rename{color:#fde68a;background:rgba(217,119,6,.15);border-color:rgba(245,158,11,.4)}.project-files-action-pill-rename:hover{color:#fef3c7;background:rgba(217,119,6,.24);border-color:rgba(251,191,36,.52)}.project-files-action-pill-delete{color:#fecdd3;background:rgba(220,38,38,.14);border-color:hsla(0,91%,71%,.4)}.project-files-action-pill-delete:hover{color:#ffe4e6;background:rgba(220,38,38,.22);border-color:hsla(0,94%,82%,.52)}.project-files-action-placeholder{width:96px;height:32px}.project-files-rename-row{grid-template-columns:minmax(140px,1fr) auto auto;align-items:center;gap:8px;width:100%;display:grid}@media (max-width:900px){.task-list-header,.task-list-row{grid-template-columns:40px 1fr 140px 120px 90px}.task-list-cell-deps,.task-list-cell-due,.task-list-cell-links{display:none}.project-plan-list{--project-plan-columns:minmax(220px,2fr) minmax(120px,1fr) 100px 150px 110px}.project-plan-header .project-plan-cell:last-child,.project-plan-row .project-plan-cell:last-child,.project-plan-section-header.is-phase-section .project-plan-cell:last-child{display:none}.project-files-header,.project-files-row{grid-template-columns:minmax(220px,2fr) 110px 160px 160px}.project-files-header .project-files-cell:last-child,.project-files-row .project-files-cell:last-child{display:none}}@media (max-width:600px){.task-list-header,.task-list-row{grid-template-columns:40px 1fr 100px}.task-list-cell-assignee,.task-list-cell-deps,.task-list-cell-due,.task-list-cell-links,.task-list-cell-priority,.task-list-cell-status{display:none}.project-plan-list{--project-plan-columns:minmax(180px,2fr) 110px 140px}.project-plan-header .project-plan-cell:nth-child(2),.project-plan-header .project-plan-cell:nth-child(5),.project-plan-header .project-plan-cell:nth-child(6),.project-plan-row .project-plan-cell:nth-child(2),.project-plan-row .project-plan-cell:nth-child(5),.project-plan-row .project-plan-cell:nth-child(6),.project-plan-section-header.is-phase-section .project-plan-cell:nth-child(2),.project-plan-section-header.is-phase-section .project-plan-cell:nth-child(5),.project-plan-section-header.is-phase-section .project-plan-cell:nth-child(6){display:none}.project-files-header,.project-files-row{grid-template-columns:minmax(180px,2fr) 100px 150px}.project-files-header .project-files-cell:nth-child(2),.project-files-header .project-files-cell:nth-child(5),.project-files-row .project-files-cell:nth-child(2),.project-files-row .project-files-cell:nth-child(5){display:none}}.projects-task-form-inline{background:rgba(31,41,55,.5);border:1px solid rgba(56,189,248,.3);border-radius:12px;margin-bottom:16px;padding:16px}.projects-task-form-inline .projects-form{flex-direction:column;gap:12px;display:flex}[data-theme=light] .projects-task-form-inline{background:rgba(248,250,252,.8);border-color:rgba(2,132,199,.3)}[data-theme=light] .task-list-header{color:#64748b;background:rgba(248,250,252,.8);border-color:rgba(226,232,240,.8)}[data-theme=light] .task-list-sortable:hover{color:#0f172a}[data-theme=light] .task-list-row{background:#fff;border-color:rgba(226,232,240,.8)}[data-theme=light] .task-list-row:hover{border-color:rgba(2,132,199,.3)}[data-theme=light] .task-list-row-selected{background:rgba(2,132,199,.1);border-color:rgba(2,132,199,.3)}[data-theme=light] .task-list-delete-btn{color:#b91c1c;background:rgba(239,68,68,.08);border-color:rgba(239,68,68,.3)}[data-theme=light] .task-list-delete-btn:hover{color:#991b1b;background:rgba(239,68,68,.14)}[data-theme=light] .project-files-section-count{color:#1d4ed8;background:rgba(59,130,246,.1);border-color:rgba(37,99,235,.2)}[data-theme=light] .project-files-column-resizer:after{background:rgba(148,163,184,.26)}[data-theme=light] .project-files-column-resizer:hover:after{background:rgba(37,99,235,.55)}[data-theme=light] .project-files-column-resizer:focus-visible:after{background:rgba(37,99,235,.55)}[data-theme=light] .project-files-action-pill-open{color:#1d4ed8;background:rgba(59,130,246,.09);border-color:rgba(37,99,235,.22)}[data-theme=light] .project-files-action-pill-open:hover{color:#1e40af;background:rgba(59,130,246,.14);border-color:rgba(37,99,235,.3)}[data-theme=light] .project-files-action-pill-rename{color:#b45309;background:rgba(245,158,11,.1);border-color:rgba(217,119,6,.24)}[data-theme=light] .project-files-action-pill-rename:hover{color:#92400e;background:rgba(245,158,11,.16);border-color:rgba(217,119,6,.32)}[data-theme=light] .project-files-action-pill-delete{color:#b91c1c;background:rgba(239,68,68,.1);border-color:rgba(239,68,68,.24)}[data-theme=light] .project-files-action-pill-delete:hover{color:#991b1b;background:rgba(239,68,68,.16);border-color:rgba(239,68,68,.32)}[data-theme=light] .task-list-task-title{color:#0f172a}[data-theme=light] .task-list-assignee{color:#475569}[data-theme=light] .task-list-assignee-unassigned{color:#94a3b8}[data-theme=light] .task-list-description{color:#64748b}[data-theme=light] .task-list-tag{color:#075985;background:rgba(2,132,199,.12);border-color:rgba(2,132,199,.35)}[data-theme=light] .task-list-bulk-actions{background:rgba(2,132,199,.1);border-color:rgba(2,132,199,.3)}[data-theme=light] .task-list-bulk-count{color:#0284c7}[data-theme=light] .project-plan-list{background:#fff;border-color:rgba(203,213,225,.9)}[data-theme=light] .project-plan-header{color:#64748b;background:rgba(241,245,249,.95);border-bottom-color:rgba(203,213,225,.9)}[data-theme=light] .project-plan-section{border-bottom-color:rgba(226,232,240,.9)}[data-theme=light] .project-plan-section-header{color:#0f172a;background:#f8fafc}[data-theme=light] .project-plan-section-header.is-phase-section{background:linear-gradient(90deg,rgba(219,234,254,.95),#f8fafc 48%);padding:0}[data-theme=light] .project-plan-section-header:hover{background:#f1f5f9}[data-theme=light] .project-plan-section-toggle{color:#475569;background:hsla(0,0%,100%,.92);border-color:rgba(148,163,184,.55)}[data-theme=light] .project-plan-section-toggle:hover{background:rgba(241,245,249,.95);border-color:rgba(100,116,139,.55)}[data-theme=light] .project-plan-section-subtitle{color:#64748b}[data-theme=light] .project-plan-row{background:#fff;border-top-color:rgba(226,232,240,.9)}[data-theme=light] .project-plan-row:hover{background:rgba(241,245,249,.8)}[data-theme=light] .project-plan-row.is-root{background:#fff}[data-theme=light] .project-plan-row.is-milestone-parent{background:linear-gradient(90deg,rgba(186,230,253,.55),#fff 48%);border-left-color:rgba(2,132,199,.5)}[data-theme=light] .project-plan-row.is-child{background:rgba(248,250,252,.7);border-left-color:rgba(148,163,184,.4)}[data-theme=light] .project-plan-row.is-child .project-plan-name-child:before{background:rgba(148,163,184,.55)}[data-theme=light] .project-plan-row.is-child .project-plan-name-child:after{border-top-color:rgba(148,163,184,.65)}[data-theme=light] .project-plan-tree-branch,[data-theme=light] .project-plan-tree-spacer,[data-theme=light] .project-plan-tree-toggle{color:#64748b}[data-theme=light] .project-plan-tree-toggle:hover{color:#334155;background:rgba(226,232,240,.8)}[data-theme=light] .project-plan-tree-toggle{background:rgba(241,245,249,.95);border-color:rgba(148,163,184,.6)}[data-theme=light] .project-plan-tree-count{color:#475569;background:rgba(226,232,240,.9);border-color:rgba(148,163,184,.45)}[data-theme=light] .project-plan-kind-badge{color:#334155;background:rgba(226,232,240,.85);border-color:rgba(148,163,184,.55)}[data-theme=light] .project-plan-kind-badge.kind-phase{color:#1d4ed8;background:rgba(219,234,254,.92);border-color:rgba(96,165,250,.34)}[data-theme=light] .project-plan-status-badge.tone-green,[data-theme=light] .project-plan-status-select.tone-green{color:#166534;background:rgba(34,197,94,.12);border-color:rgba(34,197,94,.36)}[data-theme=light] .project-plan-status-badge.tone-orange,[data-theme=light] .project-plan-status-select.tone-orange{color:#9a3412;background:rgba(249,115,22,.12);border-color:rgba(249,115,22,.36)}[data-theme=light] .project-plan-status-badge.tone-red,[data-theme=light] .project-plan-status-select.tone-red{color:#991b1b;background:rgba(239,68,68,.12);border-color:rgba(239,68,68,.36)}[data-theme=light] .project-plan-status-badge.tone-gray,[data-theme=light] .project-plan-status-select.tone-gray{color:#334155;background:rgba(148,163,184,.14);border-color:rgba(148,163,184,.34)}[data-theme=light] .project-files-list{background:#fff;border-color:rgba(203,213,225,.9)}[data-theme=light] .project-files-header{color:#64748b;background:rgba(241,245,249,.95);border-bottom-color:rgba(203,213,225,.9)}[data-theme=light] .project-files-section{border-bottom-color:rgba(226,232,240,.9)}[data-theme=light] .project-files-section-header{color:#0f172a;background:#f8fafc;border-top-color:rgba(226,232,240,.9)}[data-theme=light] .project-files-row{background:#fff;border-top-color:rgba(226,232,240,.9)}[data-theme=light] .project-files-row:hover{background:rgba(241,245,249,.8)}[data-theme=light] .project-files-origin-badge.source-project{color:#075985;background:rgba(2,132,199,.12);border-color:rgba(2,132,199,.35)}[data-theme=light] .project-files-origin-badge.source-chat{color:#3730a3;background:rgba(79,70,229,.12);border-color:rgba(79,70,229,.35)}[data-theme=light] .project-files-origin-badge.source-sales{color:#166534;background:rgba(34,197,94,.12);border-color:rgba(34,197,94,.36)}[data-theme=light] .project-files-origin-badge.source-other{color:#334155;background:rgba(226,232,240,.8);border-color:rgba(148,163,184,.45)}.project-settings-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:var(--shell-z-modal);background:rgba(0,0,0,.6);justify-content:flex-end;display:flex;position:fixed;top:0;bottom:0;left:0;right:0}.project-settings-panel{background:var(--shell-color-surface-elevated);border-left:1px solid var(--shell-glass-border);flex-direction:column;width:100%;max-width:480px;height:100%;animation:slideIn .2s;display:flex}}@layer components{@keyframes slideIn{0%{transform:translateX(100%)}to{transform:translateX(0)}}.project-settings-header{padding:var(--shell-spacing-lg) var(--shell-spacing-xl);border-bottom:1px solid var(--shell-color-border);justify-content:space-between;align-items:center;display:flex}.project-settings-header h2{color:var(--shell-color-text);margin:0;font-size:18px;font-weight:700}.project-settings-close{color:var(--shell-color-text-muted);cursor:pointer;transition:color var(--shell-transition-fast);background:none;border:none;padding:4px 8px;font-size:24px;line-height:1}.project-settings-close:hover{color:var(--shell-color-text)}.project-settings-tabs{padding:0 var(--shell-spacing-xl);border-bottom:1px solid var(--shell-color-border);display:flex}.project-settings-tab{padding:var(--shell-spacing-md) var(--shell-spacing-lg);color:var(--shell-color-text-muted);cursor:pointer;transition:color var(--shell-transition-fast);background:none;border:none;font-weight:600;position:relative}.project-settings-tab:hover{color:var(--shell-color-text)}.project-settings-tab.active{color:var(--projects-color-accent)}.project-settings-tab.active:after{content:"";background:var(--projects-color-accent);height:2px;position:absolute;bottom:-1px;left:0;right:0}.project-settings-content{padding:var(--shell-spacing-xl);flex:1;overflow-y:auto}.project-settings-section{gap:var(--shell-spacing-lg);flex-direction:column;display:flex}.project-settings-actions{padding-top:var(--shell-spacing-sm)}.project-settings-danger{margin-top:var(--shell-spacing-xl);padding-top:var(--shell-spacing-xl);border-top:1px solid var(--projects-status-danger-bg)}.project-settings-danger h4{color:var(--projects-status-danger);margin:0 0 var(--shell-spacing-lg) 0;font-size:14px}.project-settings-danger-item{justify-content:space-between;align-items:flex-start;gap:var(--shell-spacing-lg);padding:var(--shell-spacing-md) 0;border-bottom:1px solid var(--shell-color-border);display:flex}.project-settings-danger-item:last-child{border-bottom:none}.project-settings-danger-item strong{color:var(--shell-color-text);margin-bottom:var(--shell-spacing-xs);font-size:13px;display:block}.project-settings-danger-item .projects-muted{margin:0;font-size:12px}.project-settings-danger-item .projects-btn{flex-shrink:0}.project-settings-baseline-list{gap:var(--shell-spacing-xs);flex-direction:column;display:flex}.projects-btn.warning{background:var(--projects-status-warning-bg);border:1px solid var(--projects-status-warning);color:var(--projects-status-warning)}.projects-btn.warning:hover:not(:disabled){background:rgba(234,179,8,.25)}[data-theme=light] .projects-btn.warning{color:#ca8a04}.project-settings-team-header{justify-content:space-between;align-items:center;gap:var(--shell-spacing-md);display:flex}.project-settings-feedback{border-radius:4px;padding:4px 8px;font-size:12px}.project-settings-feedback.saved{background:var(--projects-status-active-bg);color:var(--projects-status-active)}.project-settings-feedback.error{background:var(--projects-status-danger-bg);color:var(--projects-status-danger)}[data-theme=light] .project-settings-feedback.saved{color:var(--shell-color-positive)}[data-theme=light] .project-settings-feedback.error{color:var(--shell-color-negative)}.project-settings-add-form{align-items:center;gap:var(--shell-spacing-sm);padding:var(--shell-spacing-md);background:var(--shell-surface-neutral-soft);border-radius:var(--shell-radius-sm);flex-wrap:wrap;display:flex}.project-settings-team-list{gap:var(--shell-spacing-sm);flex-direction:column;display:flex}.project-settings-team-row{align-items:center;gap:var(--shell-spacing-md);padding:var(--shell-spacing-md);background:var(--shell-color-surface);border:1px solid var(--shell-glass-border);border-radius:var(--shell-radius-sm);display:flex}.project-settings-team-avatar{background:var(--shell-gradient-brand);color:#fff;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;font-size:14px;font-weight:700;display:flex}.project-settings-team-info{flex:1;min-width:0}.project-settings-team-name{color:var(--shell-color-text);font-weight:600}.project-settings-team-email,.project-settings-team-name{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.project-settings-team-email{color:var(--shell-color-text-muted);font-size:12px}.projects-btn-link{color:var(--projects-color-accent);cursor:pointer;transition:color var(--shell-transition-fast);background:none;border:none;padding:4px 8px;font-size:13px;font-weight:600}.projects-btn-link:hover{color:var(--projects-color-accent-hover);text-decoration:underline}.projects-view-switcher{background:var(--shell-color-surface);border:1px solid var(--shell-glass-border);border-radius:var(--shell-radius-sm);gap:4px;padding:4px;display:inline-flex}.projects-view-btn{color:var(--shell-color-text-muted);cursor:pointer;border-radius:var(--shell-radius-sm);transition:all var(--shell-transition-fast);background:none;border:none;padding:8px 16px;font-size:13px;font-weight:600}.projects-view-btn:hover{color:var(--shell-color-text)}.projects-view-btn.active{background:rgba(var(--projects-color-accent-rgb),.2);color:var(--projects-color-accent)}.gantt-wrapper{flex-direction:column;gap:16px;width:100%;display:flex}.gantt-controls{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.gantt-view-modes{background:rgba(15,23,42,.4);border:1px solid rgba(31,41,55,.6);border-radius:8px;gap:4px;padding:4px;display:flex}.gantt-view-btn{color:#94a3b8;cursor:pointer;background:none;border:none;border-radius:6px;padding:6px 14px;font-size:13px;font-weight:500;transition:all .15s}.gantt-view-btn:hover{color:#38bdf8;background:rgba(56,189,248,.1)}.gantt-view-btn.active{color:#38bdf8;background:rgba(56,189,248,.15)}.gantt-legend{flex-wrap:wrap;gap:16px;display:flex}.gantt-dependency-controls{background:rgba(15,23,42,.28);border:1px solid rgba(31,41,55,.55);border-radius:10px;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 12px;display:flex}.gantt-control-label{color:#cbd5e1;margin-right:2px;font-size:12px;font-weight:600}.gantt-control-connector{color:#94a3b8;font-size:12px}.gantt-dependency-select{min-width:180px}.gantt-legend-item{color:#94a3b8;align-items:center;gap:6px;font-size:12px;display:flex}.gantt-legend-dot{border-radius:50%;width:10px;height:10px}.gantt-legend-dot.gantt-status-open{background:#94a3b8}.gantt-legend-dot.gantt-status-progress{background:#38bdf8}.gantt-legend-dot.gantt-status-review{background:#14b8a6}.gantt-legend-dot.gantt-status-blocked{background:#f87171}.gantt-legend-dot.gantt-status-hold{background:#fbbf24}.gantt-legend-dot.gantt-status-done{background:#34d399}.gantt-legend-dot.gantt-status-cancelled{background:#71717a}.gantt-chart{background:rgba(15,23,42,.3);border:1px solid rgba(31,41,55,.6);border-radius:12px;width:100%;min-height:500px;padding:8px;overflow-x:auto}.gantt-chart-frame{position:relative}.gantt-chart-frame.linking{cursor:crosshair}.gantt-link-overlay{pointer-events:none;z-index:3;position:absolute;top:0;bottom:0;left:0;right:0}.gantt-link-svg{width:100%;height:100%;overflow:visible}.gantt-link-line{stroke:#38bdf8;stroke-width:2px;stroke-dasharray:5 4;vector-effect:non-scaling-stroke}.gantt-link-handle{cursor:crosshair;pointer-events:auto;background:rgba(15,23,42,.95);border:1px solid rgba(56,189,248,.9);border-radius:999px;justify-content:center;align-items:center;width:18px;height:18px;margin-top:-9px;margin-left:-9px;display:inline-flex;position:absolute;box-shadow:0 0 0 2px rgba(56,189,248,.25)}.gantt-link-handle-dot{background:#38bdf8;border-radius:999px;width:7px;height:7px}.gantt-chart .gantt-container{height:auto!important;min-height:450px!important}.gantt-chart .gantt-container .gantt{min-height:400px}.gantt-chart-loading{opacity:.5;pointer-events:none}.gantt-loading{padding:40px}.gantt-empty,.gantt-loading{justify-content:center;align-items:center;display:flex}.gantt-empty{text-align:center;flex-direction:column;gap:8px;padding:60px 20px}.gantt-help{text-align:center;padding-top:8px}.gantt-chart .gantt-container{--g-header-background:#1e293b;--g-row-color:transparent;--g-border-color:#334155;--g-row-border-color:#334155;--g-tick-color:rgba(51,65,85,.5);--g-tick-color-thick:#475569;--g-text-muted:#cbd5e1;--g-text-dark:#f1f5f9;--g-text-light:#fff;--g-bar-color:#64748b;--g-progress-color:rgba(56,189,248,.5);--g-today-highlight:#38bdf8;--g-arrow-color:#94a3b8;--g-weekend-highlight-color:rgba(30,41,59,.5);background:none!important}.gantt-chart .gantt-container .grid-header{background-color:#1e293b!important}.gantt-chart .gantt-container .upper-text{color:#f1f5f9!important;font-weight:600!important}.gantt-chart .gantt-container .lower-text{color:#cbd5e1!important}.gantt-chart .gantt-container .current-upper{background:#1e293b!important}.gantt-chart .gantt-container .current-date-highlight{color:#0f172a!important;background:#38bdf8!important}.gantt-chart .gantt-container .current-highlight{background:#38bdf8!important}.gantt-chart .gantt-container .side-header{background:#1e293b!important}.gantt-chart .gantt-container .side-header *{color:#e2e8f0!important;background-color:#334155!important}.gantt-chart .gantt-container .side-header :hover{background-color:#475569!important}.gantt-chart .gantt-container .popup-wrapper{background:#1e293b!important;border:1px solid #334155!important;box-shadow:0 10px 40px rgba(0,0,0,.5)!important}.gantt-chart .gantt-container .popup-wrapper .title{color:#f1f5f9!important}.gantt-chart .gantt-container .popup-wrapper .subtitle{color:#cbd5e1!important}.gantt-chart .gantt-container .popup-wrapper .details{color:#94a3b8!important}.gantt-chart .gantt .grid-background{fill:transparent!important}.gantt-chart .gantt .grid-header{fill:#1e293b!important;stroke:#334155!important}.gantt-chart .gantt .grid-row{fill:transparent!important}.gantt-chart .gantt .grid-row:nth-child(2n){fill:rgba(30,41,59,.3)!important}.gantt-chart .gantt .row-line{stroke:#334155!important}.gantt-chart .gantt .tick{stroke:rgba(51,65,85,.6)!important}.gantt-chart .gantt .tick.thick{stroke:#475569!important}.gantt-chart .gantt .today-highlight{fill:rgba(56,189,248,.15)!important}.gantt-chart .gantt text{fill:#cbd5e1!important;font-size:12px!important;font-family:var(--shell-font-sans)!important}.gantt-chart .gantt .lower-text,.gantt-chart .gantt .upper-text{fill:#f1f5f9!important}.gantt-chart .gantt .bar{stroke:none!important}.gantt-chart .gantt .bar-progress{fill:rgba(56,189,248,.5)!important}.gantt-chart .gantt .bar-wrapper:hover .bar{filter:brightness(1.15)}.gantt-chart .gantt .bar-label{fill:#fff!important;font-size:12px!important;font-weight:500!important}.gantt-chart .gantt .handle{cursor:ew-resize;fill:hsla(0,0%,100%,.4)!important}.gantt-chart .gantt .arrow{stroke:#94a3b8!important;stroke-width:1.5px!important}.gantt-chart .gantt .bar-wrapper.gantt-status-open .bar{fill:#64748b!important}.gantt-chart .gantt .bar-wrapper.gantt-status-progress .bar{fill:#0ea5e9!important}.gantt-chart .gantt .bar-wrapper.gantt-status-review .bar{fill:#14b8a6!important}.gantt-chart .gantt .bar-wrapper.gantt-status-blocked .bar{fill:#ef4444!important}.gantt-chart .gantt .bar-wrapper.gantt-status-hold .bar{fill:#f59e0b!important}.gantt-chart .gantt .bar-wrapper.gantt-status-done .bar{fill:#10b981!important}.gantt-chart .gantt .bar-wrapper.gantt-status-cancelled .bar{fill:#6b7280!important;opacity:.5!important}.gantt-popup{min-width:200px;max-width:300px;padding:12px}.gantt-popup-title{color:#f8fafc;margin-bottom:8px;font-size:14px;font-weight:600}.gantt-popup-meta{gap:8px;margin-bottom:8px;display:flex}.gantt-popup-status{text-transform:uppercase;border-radius:4px;padding:2px 8px;font-size:11px;font-weight:600}.gantt-popup-status.gantt-status-open{background:var(--shell-surface-neutral-strong);color:#94a3b8}.gantt-popup-status.gantt-status-progress{color:#38bdf8;background:rgba(56,189,248,.2)}.gantt-popup-status.gantt-status-review{color:#14b8a6;background:rgba(20,184,166,.2)}.gantt-popup-status.gantt-status-blocked{color:#f87171;background:hsla(0,91%,71%,.2)}.gantt-popup-status.gantt-status-hold{color:#fbbf24;background:rgba(251,191,36,.2)}.gantt-popup-status.gantt-status-done{color:#34d399;background:rgba(52,211,153,.2)}.gantt-popup-priority{color:#64748b;font-size:11px}.gantt-popup-info{color:#94a3b8;margin-bottom:8px;font-size:12px}.gantt-popup-desc{color:#64748b;font-size:12px;line-height:1.4}[data-theme=light] .gantt-view-modes{background:rgba(241,245,249,.8);border-color:rgba(226,232,240,.8)}[data-theme=light] .gantt-view-btn{color:#64748b}[data-theme=light] .gantt-view-btn:hover{color:#0284c7;background:rgba(2,132,199,.1)}[data-theme=light] .gantt-view-btn.active{color:#0284c7;background:rgba(2,132,199,.15)}[data-theme=light] .gantt-legend-item{color:#64748b}[data-theme=light] .gantt-dependency-controls{background:hsla(0,0%,100%,.72);border-color:rgba(226,232,240,.8)}[data-theme=light] .gantt-control-label{color:#334155}[data-theme=light] .gantt-control-connector{color:#64748b}[data-theme=light] .gantt-chart{background:hsla(0,0%,100%,.7);border-color:rgba(226,232,240,.8)}[data-theme=light] .gantt-chart .gantt-container{--g-header-background:#f8fafc;--g-row-color:transparent;--g-border-color:#e2e8f0;--g-row-border-color:#e2e8f0;--g-tick-color:rgba(226,232,240,.8);--g-tick-color-thick:#cbd5e1;--g-text-muted:#64748b;--g-text-dark:#334155;--g-text-light:#0f172a;--g-bar-color:#94a3b8;--g-progress-color:rgba(14,165,233,.5);--g-today-highlight:#0ea5e9;--g-arrow-color:#94a3b8;--g-weekend-highlight-color:rgba(241,245,249,.6)}[data-theme=light] .gantt-chart .gantt-container .grid-header{background-color:#f8fafc!important}[data-theme=light] .gantt-chart .gantt-container .upper-text{color:#334155!important}[data-theme=light] .gantt-chart .gantt-container .lower-text{color:#64748b!important}[data-theme=light] .gantt-chart .gantt-container .current-upper{background:#f8fafc!important}[data-theme=light] .gantt-chart .gantt-container .current-date-highlight{color:#fff!important;background:#0ea5e9!important}[data-theme=light] .gantt-chart .gantt-container .current-highlight{background:#0ea5e9!important}[data-theme=light] .gantt-chart .gantt-container .side-header{background:#f8fafc!important}[data-theme=light] .gantt-chart .gantt-container .side-header *{color:#334155!important;background-color:#e2e8f0!important}[data-theme=light] .gantt-chart .gantt-container .side-header :hover{background-color:#cbd5e1!important}[data-theme=light] .gantt-chart .gantt-container .popup-wrapper{background:#fff!important;border:1px solid #e2e8f0!important;box-shadow:0 10px 40px rgba(0,0,0,.15)!important}[data-theme=light] .gantt-chart .gantt-container .popup-wrapper .title{color:#0f172a!important}[data-theme=light] .gantt-chart .gantt-container .popup-wrapper .subtitle{color:#475569!important}[data-theme=light] .gantt-chart .gantt-container .popup-wrapper .details{color:#64748b!important}[data-theme=light] .gantt-chart .gantt .grid-background{fill:transparent!important}[data-theme=light] .gantt-chart .gantt .grid-header{fill:#f8fafc!important;stroke:#e2e8f0!important}[data-theme=light] .gantt-chart .gantt .grid-row{fill:transparent!important}[data-theme=light] .gantt-chart .gantt .grid-row:nth-child(2n){fill:rgba(248,250,252,.5)!important}[data-theme=light] .gantt-chart .gantt .row-line{stroke:#e2e8f0!important}[data-theme=light] .gantt-chart .gantt .tick{stroke:rgba(226,232,240,.8)!important}[data-theme=light] .gantt-chart .gantt .tick.thick{stroke:#cbd5e1!important}[data-theme=light] .gantt-chart .gantt .today-highlight{fill:rgba(14,165,233,.1)!important}[data-theme=light] .gantt-chart .gantt .weekend-highlight,[data-theme=light] .gantt-chart .gantt rect[class*=highlight]:not(.today-highlight),[data-theme=light] .gantt-chart .gantt rect[class*=weekend]{fill:rgba(241,245,249,.6)!important}[data-theme=light] .gantt-chart .gantt text{fill:#64748b!important}[data-theme=light] .gantt-chart .gantt .lower-text,[data-theme=light] .gantt-chart .gantt .upper-text{fill:#334155!important}[data-theme=light] .gantt-chart .gantt .bar-label{fill:#0f172a!important;font-weight:600!important}[data-theme=light] .gantt-chart .gantt .handle{fill:rgba(0,0,0,.3)!important}[data-theme=light] .gantt-chart .gantt .arrow{stroke:#94a3b8!important}[data-theme=light] .gantt-chart .gantt .bar-wrapper.gantt-status-open .bar{fill:#94a3b8!important}[data-theme=light] .gantt-chart .gantt .bar-wrapper.gantt-status-progress .bar{fill:#0284c7!important}[data-theme=light] .gantt-chart .gantt .bar-wrapper.gantt-status-review .bar{fill:#0f766e!important}[data-theme=light] .gantt-chart .gantt .bar-wrapper.gantt-status-blocked .bar{fill:#dc2626!important}[data-theme=light] .gantt-chart .gantt .bar-wrapper.gantt-status-hold .bar{fill:#f59e0b!important}[data-theme=light] .gantt-chart .gantt .bar-wrapper.gantt-status-done .bar{fill:#22c55e!important}[data-theme=light] .gantt-chart .gantt .bar-progress{fill:rgba(14,165,233,.5)!important}[data-theme=light] .gantt-popup-title{color:#0f172a}[data-theme=light] .gantt-popup-info{color:#64748b}[data-theme=light] .gantt-popup-desc{color:#475569}[data-theme=light] .gantt-popup-status.gantt-status-progress{color:#0284c7;background:rgba(14,165,233,.15)}[data-theme=light] .gantt-popup-status.gantt-status-review{color:#0f766e;background:rgba(13,148,136,.15)}[data-theme=light] .gantt-popup-status.gantt-status-blocked{color:#dc2626;background:rgba(220,38,38,.15)}[data-theme=light] .gantt-popup-status.gantt-status-hold{color:#b45309;background:rgba(245,158,11,.15)}[data-theme=light] .gantt-popup-status.gantt-status-done{color:#15803d;background:rgba(34,197,94,.15)}.template-selector{flex-direction:column;gap:16px;max-height:500px;display:flex}.template-selector-header{justify-content:space-between;align-items:center;display:flex}.template-selector-header h3{color:#f8fafc;margin:0;font-size:16px;font-weight:600}.template-selector-search{margin-bottom:8px}.template-selector-list{flex-direction:column;gap:8px;max-height:300px;padding-right:8px;display:flex;overflow-y:auto}.template-selector-item{cursor:pointer;text-align:left;background:rgba(15,23,42,.4);border:1px solid rgba(31,41,55,.6);border-radius:8px;flex-direction:column;gap:6px;padding:12px;transition:all .15s;display:flex}.template-selector-item:hover{background:rgba(56,189,248,.1);border-color:rgba(56,189,248,.3)}.template-selector-item-name{color:#f8fafc;font-size:14px;font-weight:600}.template-selector-item-desc{color:#94a3b8;font-size:12px;line-height:1.4}.template-selector-item-meta{flex-wrap:wrap;gap:8px;display:flex}.template-priority{text-transform:uppercase;border-radius:4px;padding:2px 6px;font-size:10px;font-weight:600}.template-priority.priority-urgent{color:#f87171;background:hsla(0,91%,71%,.2)}.template-priority.priority-high{color:#fb923c;background:rgba(251,146,60,.2)}.template-priority.priority-medium{color:#fbbf24;background:rgba(251,191,36,.2)}.template-priority.priority-low{background:var(--shell-surface-neutral-strong);color:#94a3b8}.template-checklist,.template-duration{color:#64748b;font-size:11px}.template-selector-footer{border-top:1px solid rgba(31,41,55,.6);padding-top:12px}.template-create-form{flex-direction:column;gap:12px;display:flex}.template-checklist-input{gap:8px;display:flex}.template-checklist-input .projects-input{flex:1}.template-checklist-list{flex-direction:column;gap:4px;margin:8px 0 0;padding:0;list-style:none;display:flex}.template-checklist-item{color:#e2e8f0;background:rgba(15,23,42,.3);border-radius:6px;justify-content:space-between;align-items:center;padding:6px 10px;font-size:13px;display:flex}.projects-btn-icon{color:#64748b;cursor:pointer;background:none;border:none;border-radius:4px;padding:4px 8px;font-size:16px;line-height:1}.projects-btn-icon:hover{color:#f87171;background:hsla(0,91%,71%,.2)}.projects-btn-close{color:#64748b;cursor:pointer;background:none;border:none;padding:0;font-size:24px;line-height:1}.projects-btn-close:hover{color:#94a3b8}.mini-template-selector{position:relative}.mini-template-dropdown{z-index:100;background:rgba(15,23,42,.95);border:1px solid rgba(31,41,55,.8);border-radius:8px;min-width:250px;max-height:200px;margin-top:4px;padding:6px;position:absolute;top:100%;left:0;overflow-y:auto;box-shadow:0 4px 16px rgba(0,0,0,.3)}.mini-template-option{text-align:left;cursor:pointer;background:none;border:none;border-radius:6px;flex-direction:column;gap:2px;width:100%;padding:8px 10px;transition:background .15s;display:flex}.mini-template-option:hover{background:rgba(56,189,248,.15)}.mini-template-name{color:#f8fafc;font-size:13px;font-weight:500}.mini-template-desc{color:#64748b;font-size:11px}[data-theme=light] .template-selector-header h3{color:#0f172a}[data-theme=light] .template-selector-item{background:rgba(241,245,249,.6);border-color:rgba(226,232,240,.8)}[data-theme=light] .template-selector-item:hover{background:rgba(2,132,199,.08);border-color:rgba(2,132,199,.3)}[data-theme=light] .template-selector-item-name{color:#0f172a}[data-theme=light] .template-selector-item-desc{color:#64748b}[data-theme=light] .template-selector-footer{border-color:rgba(226,232,240,.8)}[data-theme=light] .template-checklist-item{color:#334155;background:rgba(241,245,249,.6)}[data-theme=light] .mini-template-dropdown{background:#fff;border-color:rgba(226,232,240,.8);box-shadow:0 4px 16px rgba(0,0,0,.1)}[data-theme=light] .mini-template-option:hover{background:rgba(2,132,199,.1)}[data-theme=light] .mini-template-name{color:#0f172a}[data-theme=light] .mini-template-desc{color:#64748b}.entity-links-panel{background:rgba(15,23,42,.3);border:1px solid rgba(31,41,55,.6);border-radius:10px;flex-direction:column;gap:12px;padding:16px;display:flex}.entity-links-header{justify-content:space-between;align-items:center;display:flex}.entity-links-header h4{color:#f8fafc;margin:0;font-size:14px;font-weight:600}.entity-links-list{flex-direction:column;gap:12px;display:flex}.entity-links-section{flex-direction:column;gap:8px;display:flex}.entity-links-section-title{text-transform:uppercase;letter-spacing:.05em;color:#64748b;font-size:11px;font-weight:600}.entity-link-item{background:rgba(15,23,42,.4);border:1px solid rgba(31,41,55,.5);border-radius:8px;justify-content:space-between;align-items:flex-start;gap:8px;padding:10px 12px;display:flex}.entity-link-info{flex-direction:column;flex:1;gap:4px;display:flex}.entity-link-relation{color:#94a3b8;font-size:11px;font-weight:500}.entity-link-type{text-transform:uppercase;color:#64748b;background:rgba(100,116,139,.2);border-radius:4px;width:-moz-fit-content;width:fit-content;padding:1px 6px;font-size:10px;font-weight:600}.entity-link-name{color:#e2e8f0;font-size:13px;font-weight:500}.entity-link-note{color:#64748b;white-space:pre-wrap;margin-top:4px;font-size:12px;font-style:italic}.entity-link-add-form{background:rgba(15,23,42,.5);border:1px solid rgba(56,189,248,.3);border-radius:8px;flex-direction:column;gap:12px;padding:12px;display:flex}[data-theme=light] .entity-links-panel{background:rgba(241,245,249,.5);border-color:rgba(226,232,240,.8)}[data-theme=light] .entity-links-header h4{color:#0f172a}[data-theme=light] .entity-link-item{background:rgba(241,245,249,.6);border-color:rgba(226,232,240,.8)}[data-theme=light] .entity-link-relation{color:#64748b}[data-theme=light] .entity-link-type{color:#475569;background:rgba(100,116,139,.15)}[data-theme=light] .entity-link-name{color:#334155}[data-theme=light] .entity-link-note{color:#64748b}[data-theme=light] .entity-link-add-form{background:rgba(241,245,249,.8);border-color:rgba(2,132,199,.3)}.project-linked-records-overlay{-webkit-backdrop-filter:blur(4px);z-index:var(--shell-z-modal);background:rgba(0,0,0,.62);justify-content:flex-end;display:flex;position:fixed;top:0;bottom:0;left:0;right:0}.project-linked-records-panel{background:var(--shell-color-surface-elevated);border-left:1px solid var(--shell-glass-border);flex-direction:column;width:min(560px,100vw);height:100%;animation:project-linked-records-slide-in .2s;display:flex}}@layer components{@keyframes project-linked-records-slide-in{0%{transform:translateX(100%)}to{transform:translateX(0)}}.project-linked-records-header{padding:var(--shell-spacing-lg) var(--shell-spacing-xl);border-bottom:1px solid var(--shell-color-border);justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.project-linked-records-header h2{color:var(--shell-color-text);margin:0;font-size:18px;font-weight:700}.project-linked-records-header p{color:var(--shell-color-text-muted);margin:4px 0 0;font-size:13px}.project-linked-records-close{color:var(--shell-color-text-muted);cursor:pointer;background:none;border:none;padding:0 4px;font-size:24px;line-height:1}.project-linked-records-close:hover{color:var(--shell-color-text)}.project-linked-records-controls{padding:var(--shell-spacing-md) var(--shell-spacing-xl);border-bottom:1px solid var(--shell-color-border);flex-direction:column;gap:10px;display:flex}.project-linked-records-search input{border:1px solid var(--shell-color-border);background:var(--shell-color-surface);color:var(--shell-color-text);border-radius:var(--shell-radius-sm);width:100%;padding:8px 10px;font-size:.85rem}.project-linked-records-filters{flex-wrap:wrap;gap:6px;display:flex}.project-linked-records-filter{border:1px solid var(--shell-color-border);background:var(--shell-color-surface);color:var(--shell-color-text-muted);cursor:pointer;border-radius:999px;padding:4px 10px;font-size:.74rem;font-weight:600}.project-linked-records-filter:hover{color:var(--shell-color-text);border-color:var(--shell-color-border-strong,var(--shell-color-border))}.project-linked-records-filter.active{background:color-mix(in srgb,var(--shell-color-brand) 14%,transparent);border-color:color-mix(in srgb,var(--shell-color-brand) 40%,transparent);color:var(--shell-color-brand)}.project-linked-records-content{padding:var(--shell-spacing-md) var(--shell-spacing-xl) var(--shell-spacing-xl);flex-direction:column;flex:1;gap:10px;display:flex;overflow-y:auto}.project-linked-records-list{flex-direction:column;gap:10px;display:flex}.project-linked-record-card{border:1px solid var(--shell-color-border);background:var(--shell-color-surface);border-radius:var(--shell-radius-md);flex-direction:column;gap:8px;padding:10px;display:flex}.project-linked-record-card-top{justify-content:space-between;align-items:center;gap:8px;display:flex}.project-linked-record-card-top time{color:var(--shell-color-text-muted);font-size:.72rem}.project-linked-record-labels{flex-wrap:wrap;align-items:center;gap:6px;display:inline-flex}.project-linked-record-kind{background:var(--shell-surface-neutral-soft);color:var(--shell-color-text-muted)}.project-linked-record-association,.project-linked-record-kind{text-transform:uppercase;letter-spacing:.04em;border-radius:999px;padding:3px 8px;font-size:.68rem;font-weight:700}.project-linked-record-association{background:color-mix(in srgb,var(--shell-color-brand) 18%,transparent);color:color-mix(in srgb,var(--shell-color-brand) 86%,#fff 14%)}.project-linked-record-status{text-transform:uppercase;letter-spacing:.04em;background:var(--shell-surface-neutral-soft);color:var(--shell-color-text-muted);border-radius:999px;padding:3px 8px;font-size:.68rem;font-weight:700}.project-linked-record-status.is-pending{color:#b45309;background:rgba(245,158,11,.2)}.project-linked-record-status.is-approved{color:#15803d;background:rgba(34,197,94,.2)}.project-linked-record-status.is-denied{color:#b91c1c;background:rgba(239,68,68,.2)}.project-linked-record-status.is-clarification{background:color-mix(in srgb,var(--shell-color-brand) 20%,transparent);color:var(--shell-color-brand)}.project-linked-record-card h4{color:var(--shell-color-text);margin:0;font-size:.92rem}.project-linked-record-clarification{color:var(--shell-color-text-muted);margin:0;font-size:.78rem;font-style:italic}.project-linked-record-actions{flex-wrap:wrap;gap:6px;display:flex}.project-linked-record-feedback{color:var(--shell-color-text-muted);margin:0;font-size:.76rem}.project-linked-record-feedback.is-error{color:var(--shell-color-negative,#dc2626)}.project-linked-record-feedback.is-success{color:var(--shell-color-positive,#15803d)}.project-linked-record-clarify{border-top:1px solid var(--shell-color-border);flex-direction:column;gap:8px;padding-top:8px;display:flex}.project-linked-record-clarify textarea{border:1px solid var(--shell-color-border);border-radius:var(--shell-radius-sm);background:var(--shell-color-surface-alt);color:var(--shell-color-text);resize:vertical;width:100%;min-height:72px;padding:8px;font-size:.82rem}.project-linked-record-clarify textarea:focus{border-color:var(--shell-color-brand);box-shadow:0 0 0 1px color-mix(in srgb,var(--shell-color-brand) 36%,transparent);outline:none}.project-linked-record-clarify-actions{justify-content:flex-end;gap:6px;display:flex}@media (max-width:720px){.project-linked-records-panel{width:100vw;max-width:100vw}.project-linked-records-content,.project-linked-records-controls,.project-linked-records-header{padding-left:var(--shell-spacing-md);padding-right:var(--shell-spacing-md)}}}@layer components{.org-switcher{position:relative}.org-switcher-button,.org-switcher-single{border-radius:var(--shell-radius-md);background:var(--shell-surface-brand-faint);color:var(--shell-color-text-secondary);align-items:center;padding:4px 12px;font-size:.813rem;font-weight:500;display:flex}.org-switcher-button{cursor:pointer;transition:all var(--shell-transition-fast);border:1px solid transparent;gap:6px}.org-switcher-button:hover{background:var(--shell-surface-brand-soft);border-color:var(--shell-surface-brand-strong)}.org-switcher-button.open{background:var(--shell-surface-brand-soft);border-color:var(--shell-border-brand-soft)}.org-switcher-button.loading{opacity:.6;cursor:wait}.org-switcher-name{text-overflow:ellipsis;white-space:nowrap;max-width:150px;overflow:hidden}.org-switcher-chevron{transition:transform var(--shell-transition-fast);flex-shrink:0}.org-switcher-button.open .org-switcher-chevron{transform:rotate(180deg)}.org-switcher-dropdown{background:var(--shell-color-surface);border:1px solid var(--shell-color-border);border-radius:var(--shell-radius-md);z-index:1000;min-width:240px;max-width:420px;position:absolute;top:calc(100% + 4px);left:0;overflow:hidden;box-shadow:0 4px 12px rgba(0,0,0,.15)}.org-switcher-option{color:var(--shell-color-text);cursor:pointer;transition:background var(--shell-transition-fast);text-align:left;background:none;border:none;align-items:center;gap:8px;width:100%;padding:10px 12px;font-size:.813rem;display:flex}.org-switcher-option:hover{background:var(--shell-surface-brand-faint)}.org-switcher-option.selected{background:var(--shell-surface-brand-weak)}.org-switcher-option-name{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.org-switcher-dropdown .org-switcher-option{align-items:flex-start}.org-switcher-dropdown .org-switcher-option-name{text-overflow:clip;white-space:normal;line-height:1.2;overflow:visible}.org-switcher-dropdown .org-switcher-option-role{text-overflow:ellipsis;white-space:nowrap;max-width:180px;margin-top:1px;overflow:hidden}.org-switcher-option-role{color:var(--shell-color-text-muted);text-transform:uppercase;letter-spacing:.025em;font-size:.688rem}.org-switcher-check{color:var(--shell-color-brand);flex-shrink:0}.shell-scope-pickers{align-items:center;gap:var(--shell-spacing-sm);display:flex}.scope-checkbox{accent-color:var(--shell-color-brand);flex-shrink:0;width:14px;height:14px}.scope-dropdown-footer{justify-content:space-between;gap:var(--shell-spacing-sm);border-top:1px solid var(--shell-color-border);background:var(--shell-color-surface);padding:8px 12px;display:flex}.scope-footer-btn{border:1px solid var(--shell-color-border);background:var(--shell-surface-neutral-weak);color:var(--shell-color-text);border-radius:var(--shell-radius-md);cursor:pointer;transition:all var(--shell-transition-fast);padding:6px 10px;font-size:.75rem}.scope-footer-btn:hover{background:var(--shell-surface-neutral-soft)}.scope-footer-btn.primary{border-color:var(--shell-color-brand);background:var(--shell-surface-brand-weak);color:var(--shell-color-brand)}.scope-footer-btn.primary:hover{background:var(--shell-surface-brand-soft)}.multi-org-toggle{align-items:center;gap:var(--shell-spacing-sm);display:flex}.multi-org-toggle-label{align-items:center;gap:var(--shell-spacing-xs);cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;display:flex}.multi-org-toggle-checkbox{opacity:0;width:0;height:0;position:absolute}.multi-org-toggle-slider{background:var(--shell-color-surface-alt);border:1px solid var(--shell-color-border);transition:all var(--shell-transition-fast);border-radius:10px;width:36px;height:20px;position:relative}.multi-org-toggle-slider:before{content:"";background:var(--shell-color-text-muted);transition:all var(--shell-transition-fast);border-radius:50%;width:14px;height:14px;position:absolute;top:2px;left:2px}.multi-org-toggle-checkbox:checked+.multi-org-toggle-slider{background:var(--shell-color-brand);border-color:var(--shell-color-brand)}.multi-org-toggle-checkbox:checked+.multi-org-toggle-slider:before{background:#fff;transform:translateX(16px)}.multi-org-toggle-checkbox:focus+.multi-org-toggle-slider{outline:2px solid var(--shell-color-brand);outline-offset:2px}.multi-org-toggle-checkbox:disabled+.multi-org-toggle-slider{opacity:.5;cursor:not-allowed}.multi-org-toggle-text{color:var(--shell-color-text);font-size:.813rem;font-weight:500}.multi-org-toggle-orgs{color:var(--shell-color-text-muted);text-overflow:ellipsis;white-space:nowrap;max-width:200px;font-size:.75rem;overflow:hidden}.analytics-app-container,.cashflow-app-container{flex-direction:column;height:100%;display:flex}.analytics-toolbar,.cashflow-toolbar{align-items:center;gap:var(--shell-spacing-md);padding:var(--shell-spacing-sm) var(--shell-spacing-md);background:var(--shell-color-surface);border-bottom:1px solid var(--shell-color-border);flex-shrink:0;display:flex}.analytics-multi-org-badge,.cashflow-multi-org-badge{background:var(--shell-color-brand);color:#fff;border-radius:var(--shell-radius-sm);text-transform:uppercase;letter-spacing:.025em;align-items:center;padding:2px 8px;font-size:.688rem;font-weight:600;display:inline-flex}[data-theme=light] .org-switcher-button,[data-theme=light] .org-switcher-single{background:var(--shell-surface-brand-hover);color:#475569}[data-theme=light] .org-switcher-button:hover{background:var(--shell-surface-brand-weak)}[data-theme=light] .org-switcher-dropdown{background:#fff;border-color:#e2e8f0;box-shadow:0 4px 12px rgba(0,0,0,.08)}[data-theme=light] .org-switcher-option{color:#334155}[data-theme=light] .org-switcher-option:hover{background:var(--shell-surface-brand-hover)}[data-theme=light] .org-switcher-option.selected{background:var(--shell-surface-brand-weak)}[data-theme=light] .multi-org-toggle-slider{background:#e2e8f0;border-color:#cbd5e1}[data-theme=light] .multi-org-toggle-slider:before{background:#94a3b8}[data-theme=light] .multi-org-toggle-checkbox:checked+.multi-org-toggle-slider:before{background:#fff}.program-tree{background:var(--shell-color-surface);-webkit-backdrop-filter:var(--shell-glass-blur);border:1px solid var(--shell-glass-border);border-radius:var(--shell-radius-md);padding:var(--shell-spacing-lg);color:var(--shell-color-text);box-shadow:var(--shell-shadow-md)}.program-tree-header{margin-bottom:var(--shell-spacing-lg);padding-bottom:var(--shell-spacing-md);border-bottom:1px solid var(--shell-color-border);justify-content:space-between;align-items:center;display:flex}.program-tree-header-actions{align-items:center;gap:var(--shell-spacing-md);display:inline-flex}.program-tree-reorder-hint{color:var(--shell-color-text-muted);white-space:nowrap;font-size:12px}.program-tree-title{color:var(--shell-color-text);margin:0;font-size:16px;font-weight:700}.program-tree-content{gap:var(--shell-spacing-sm)}.program-tree-content,.program-tree-program{flex-direction:column;display:flex}.program-tree-program-header{align-items:center;gap:var(--shell-spacing-md);padding:var(--shell-spacing-md) var(--shell-spacing-sm);cursor:pointer;text-align:left;border-radius:var(--shell-radius-sm);transition:background var(--shell-transition-fast);background:none;border:none;width:100%;display:flex}.program-tree-drop-target{outline:1px dashed rgba(var(--projects-color-accent-rgb),.5);background:rgba(var(--projects-color-accent-rgb),.14)!important}.program-tree-program-header:hover{background:rgba(var(--projects-color-accent-rgb),.08)}.program-tree-drag-handle{color:var(--shell-color-text-muted);cursor:grab;letter-spacing:-.1em;-webkit-user-select:none;-moz-user-select:none;user-select:none;border-radius:4px;flex-shrink:0;padding:2px 4px;font-size:12px;line-height:1}.program-tree-drag-handle:hover{color:var(--shell-color-text);background:var(--shell-surface-neutral-strong)}.program-tree-drag-handle.small{padding:1px 3px;font-size:14px}.program-tree-drag-handle.disabled{opacity:.45;cursor:not-allowed}.program-tree-expand{color:var(--shell-color-text-muted);flex-shrink:0;width:14px;font-size:10px}.program-tree-program-name{color:var(--shell-color-text);flex:1;min-width:0;font-weight:700}.program-tree-progress{align-items:center;gap:var(--shell-spacing-sm);flex-shrink:0;display:flex}.program-tree-progress-bar{background:var(--shell-surface-neutral-strong);border-radius:4px;width:100px;height:8px;overflow:hidden}.program-tree-progress-fill{background:linear-gradient(90deg,var(--projects-color-accent),var(--projects-status-active));transition:width var(--shell-transition-slow);border-radius:4px;height:100%;display:block}.program-tree-progress-text{color:var(--shell-color-text-muted);text-align:right;width:40px;font-size:12px;font-weight:600}.program-tree-health{border-radius:var(--shell-radius-full);text-transform:uppercase;letter-spacing:.025em;flex-shrink:0;padding:4px 10px;font-size:11px;font-weight:700}.program-tree-health.on-track{background:var(--projects-status-active-bg);color:var(--projects-status-active)}.program-tree-health.at-risk{background:var(--projects-status-warning-bg);color:var(--projects-status-warning)}.program-tree-health.complete{background:var(--projects-status-active-bg);color:var(--projects-status-active)}.program-tree-health.not-started{background:var(--shell-surface-neutral-strong);color:var(--shell-color-text-muted)}.program-tree-projects{padding-left:var(--shell-spacing-md);border-left:1px solid var(--shell-color-border);flex-direction:column;margin-left:28px;display:flex}.program-tree-owner{align-items:center;gap:var(--shell-spacing-sm);color:var(--shell-color-text-muted);padding:6px 0;font-size:13px;display:flex}.program-tree-owner-label{font-weight:500}.program-tree-branch{color:var(--shell-color-text-muted);flex-shrink:0;font-family:monospace}.program-tree-project{align-items:center;gap:var(--shell-spacing-sm);padding:var(--shell-spacing-sm) 4px;border-radius:var(--shell-radius-sm);transition:background var(--shell-transition-fast);text-decoration:none;display:flex}.program-tree-project:hover{background:rgba(var(--projects-color-accent-rgb),.08)}.program-tree-project.archived{opacity:.6}.program-tree-project.archived:hover{opacity:.8}.program-tree-status-icon{text-align:center;flex-shrink:0;width:16px;font-size:12px}.program-tree-status-icon.active,.program-tree-status-icon.completed{color:var(--projects-status-active)}.program-tree-status-icon.on_hold{color:var(--projects-status-warning)}.program-tree-status-icon.planning{color:var(--shell-color-text-muted)}.program-tree-project-name{color:var(--shell-color-text);text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-weight:500;overflow:hidden}.program-tree-status-label{flex-shrink:0;font-family:monospace;font-size:11px;font-weight:600}.program-tree-status-label.active,.program-tree-status-label.completed{color:var(--projects-status-active)}.program-tree-status-label.on_hold{color:var(--projects-status-warning)}.program-tree-spi,.program-tree-status-label.planning{color:var(--shell-color-text-muted)}.program-tree-spi{border-radius:var(--shell-radius-full);background:var(--shell-surface-neutral-strong);letter-spacing:.02em;flex-shrink:0;padding:2px 8px;font-size:11px;font-weight:700}.program-tree-spi.green{background:var(--projects-status-active-bg);color:var(--projects-status-active)}.program-tree-spi.yellow{background:var(--projects-status-warning-bg);color:var(--projects-status-warning)}.program-tree-spi.red{background:var(--projects-status-danger-bg);color:var(--projects-status-danger)}.program-tree-project-progress{text-align:center;flex-shrink:0;width:20px;font-size:14px}.program-tree-project-progress.active,.program-tree-project-progress.completed{color:var(--projects-status-active)}.program-tree-project-progress.on_hold{color:var(--projects-status-warning)}.program-tree-project-progress.planning{color:var(--shell-color-text-muted)}.program-tree-archived{color:var(--shell-color-text-muted);background:var(--shell-surface-neutral-strong)}.program-tree-archived,.program-tree-visibility{text-transform:uppercase;letter-spacing:.025em;border-radius:4px;padding:2px 6px;font-size:10px;font-weight:600}.program-tree-visibility{color:var(--shell-color-brand);background:var(--shell-surface-brand-soft)}.program-tree-summary{align-items:center;gap:var(--shell-spacing-sm);padding-left:var(--shell-spacing-md);padding-top:var(--shell-spacing-xs);padding-bottom:var(--shell-spacing-sm);border-left:1px solid var(--shell-color-border);margin-left:28px;display:flex}.program-tree-summary-text{color:var(--shell-color-text-muted);font-size:13px}.program-tree-ungrouped{margin-top:var(--shell-spacing-lg);padding-top:var(--shell-spacing-lg);border-top:1px solid var(--shell-color-border)}.program-tree-ungrouped-header{padding:var(--shell-spacing-sm)}.program-tree-ungrouped-title{color:var(--shell-color-text-muted);text-transform:uppercase;letter-spacing:.05em;font-size:13px;font-weight:600}.program-tree-empty{align-items:center;gap:var(--shell-spacing-sm);padding:6px 4px;display:flex}.program-tree-empty-text{color:var(--shell-color-text-muted);font-size:13px;font-style:italic}.program-tree-empty-state{text-align:center;flex-direction:column;justify-content:center;align-items:center;padding:48px 24px;display:flex}.program-tree-empty-icon{margin-bottom:var(--shell-spacing-md);font-size:32px}.program-tree-empty-title{color:var(--shell-color-text);margin-bottom:var(--shell-spacing-xs);font-weight:700}.program-tree-empty-desc{color:var(--shell-color-text-muted);font-size:14px}.program-tree-legend{align-items:center;gap:var(--shell-spacing-lg);margin-top:var(--shell-spacing-lg);padding-top:var(--shell-spacing-md);border-top:1px solid var(--shell-color-border);color:var(--shell-color-text-muted);flex-wrap:wrap;font-size:12px;display:flex}.program-tree-legend-title{color:var(--shell-color-text-muted);font-weight:600}.program-tree-legend-item{align-items:center;gap:var(--shell-spacing-xs);display:flex}[data-theme=light] .program-tree-health.complete,[data-theme=light] .program-tree-health.on-track{color:var(--shell-color-positive)}[data-theme=light] .program-tree-health.at-risk{color:#a16207}[data-theme=light] .program-tree-project-progress.active,[data-theme=light] .program-tree-project-progress.completed,[data-theme=light] .program-tree-status-icon.active,[data-theme=light] .program-tree-status-icon.completed,[data-theme=light] .program-tree-status-label.active,[data-theme=light] .program-tree-status-label.completed{color:var(--shell-color-positive)}[data-theme=light] .program-tree-project-progress.on_hold,[data-theme=light] .program-tree-status-icon.on_hold,[data-theme=light] .program-tree-status-label.on_hold{color:#a16207}.widget-library-overlay{z-index:1000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:rgba(0,0,0,.6);justify-content:center;align-items:center;display:flex;position:fixed;top:0;bottom:0;left:0;right:0}.widget-library-modal{background:var(--shell-color-surface);border-radius:var(--shell-radius-lg);border:1px solid var(--shell-color-border);flex-direction:column;width:90%;max-width:560px;max-height:80vh;display:flex;overflow:hidden;box-shadow:0 20px 40px rgba(0,0,0,.3)}.widget-library-header{padding:var(--shell-spacing-lg);border-bottom:1px solid var(--shell-color-border);justify-content:space-between;align-items:center;display:flex}.widget-library-header h2{color:var(--shell-color-text);margin:0;font-size:1.25rem;font-weight:600}.widget-library-close{border-radius:var(--shell-radius-sm);color:var(--shell-color-text-muted);cursor:pointer;background:none;border:none;justify-content:center;align-items:center;width:32px;height:32px;transition:all .15s;display:flex}.widget-library-close:hover{background:var(--shell-color-border);color:var(--shell-color-text)}.widget-library-grid{padding:var(--shell-spacing-sm);flex-direction:column;gap:2px;display:flex;overflow-y:auto}.widget-library-filters{padding:10px var(--shell-spacing-lg);border-bottom:1px solid var(--shell-color-border);background:var(--shell-surface-brand-weak);justify-content:flex-start;align-items:center;display:flex}.widget-library-filter-toggle{color:var(--shell-color-text);-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;align-items:center;gap:8px;font-size:.9rem;font-weight:600;display:inline-flex}.widget-library-filter-toggle input{accent-color:var(--shell-color-brand);cursor:pointer;width:16px;height:16px}.widget-library-item{align-items:center;gap:var(--shell-spacing-md);padding:var(--shell-spacing-md);border-radius:var(--shell-radius-md);cursor:pointer;text-align:left;color:var(--shell-color-text);background:none;border:none;transition:all .15s;display:flex}.widget-library-empty{padding:var(--shell-spacing-lg);border:1px dashed var(--shell-color-border);border-radius:var(--shell-radius-md);color:var(--shell-color-text-muted);background:var(--shell-color-surface);font-size:.9rem;line-height:1.4}.widget-library-item:hover{background:var(--shell-color-border)}.widget-library-item-icon{background:var(--shell-color-brand);color:#fff;border-radius:var(--shell-radius-md);flex-shrink:0;justify-content:center;align-items:center;width:48px;height:48px;display:flex}.widget-library-item-info{flex-direction:column;gap:2px;min-width:0;display:flex}.widget-library-item-name{color:var(--shell-color-text);font-size:.95rem;font-weight:600}.widget-library-item-description{color:var(--shell-color-text-muted);font-size:.85rem}.widget-library-checkbox{border:2px solid var(--shell-color-border);border-radius:4px;flex-shrink:0;justify-content:center;align-items:center;width:20px;height:20px;transition:all .15s;display:flex}.widget-library-checkbox.checked{background:var(--shell-color-brand);color:#fff}.widget-library-checkbox.checked,.widget-library-item:hover .widget-library-checkbox{border-color:var(--shell-color-brand)}.widget-library-item.selected{background:var(--shell-surface-brand-weak)}.widget-library-item.selected:hover{background:var(--shell-surface-brand-soft)}.widget-library-footer{justify-content:flex-end;gap:var(--shell-spacing-sm);padding:var(--shell-spacing-md) var(--shell-spacing-lg);border-top:1px solid var(--shell-color-border);display:flex}.widget-library-cancel{border-radius:var(--shell-radius-md);border:1px solid var(--shell-color-border);color:var(--shell-color-text-muted);cursor:pointer;background:none;padding:8px 16px;font-size:.875rem;font-weight:500;transition:all .15s}.widget-library-cancel:hover{background:var(--shell-color-border);color:var(--shell-color-text)}.widget-library-add{border-radius:var(--shell-radius-md);background:var(--shell-color-brand);color:#fff;cursor:pointer;border:none;padding:8px 20px;font-size:.875rem;font-weight:500;transition:all .15s}.widget-library-add:hover:not(:disabled){background:var(--shell-color-brand-hover,#4f46e5)}.widget-library-add:disabled{opacity:.5;cursor:not-allowed}}