.project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.project-grid>.empty-state{grid-column:1/-1}.project-tile{padding:23px}.project-tile>header{display:flex;align-items:center;justify-content:space-between}.project-tile>header>span{width:39px;height:39px;border-radius:11px;background:#e8f1ee;color:#2c735d;display:grid;place-items:center}.project-tile>header>b{padding:5px 8px;border-radius:999px;background:#e4f0ea;color:#2d765f;font-size:8px}.project-tile h2{margin:20px 0 5px;color:var(--navy);font-size:18px}.project-tile>p{margin:0;color:#819094;font-size:10px}.project-tile>div{margin-top:24px;padding:15px 0;border-top:1px solid #e6ebe8;border-bottom:1px solid #e6ebe8;display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.project-tile>div span{display:flex;flex-direction:column}.project-tile>div small{color:#8d999b;font-size:7px;font-weight:850}.project-tile>div strong{margin-top:5px;color:var(--navy);font-size:11px}.project-tile footer{margin-top:17px;display:flex;align-items:center;gap:10px}.project-tile footer i{height:7px;flex:1;border-radius:999px;background:#e8edeb;overflow:hidden}.project-tile footer i span{height:100%;display:block;border-radius:inherit;background:var(--gold)}.project-tile footer b{color:var(--navy);font-size:10px}.project-work-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start}.process-roadmap{display:grid;gap:0}.process-roadmap article{position:relative;padding:0 0 24px 48px}.process-roadmap article:before{content:'';position:absolute;left:16px;top:35px;bottom:0;width:1px;background:#dce3e0}.process-roadmap article:last-child{padding-bottom:0}.process-roadmap article:last-child:before{display:none}.process-roadmap article>b{position:absolute;left:0;top:0;width:34px;height:34px;border-radius:11px;background:#f2e5c3;color:#86631c;display:grid;place-items:center;font-size:9px}.process-roadmap article>div{padding:15px;border:1px solid #e1e7e4;border-radius:12px}.process-roadmap small{color:#9b7628;font-size:8px;font-weight:850}.process-roadmap strong{display:block;margin-top:3px;color:var(--navy);font-size:12px}.process-roadmap p{margin:6px 0;color:#738589;font-size:10px;line-height:1.55}.process-roadmap span{color:#8b989a;font-size:8px}.project-task-list{display:grid}.project-task-list article{min-height:65px;padding:11px 0;border-bottom:1px solid #e7ece9;display:grid;grid-template-columns:34px 1fr auto;gap:11px;align-items:center}.project-task-list article:last-child{border-bottom:0}.task-check{width:31px;height:31px;border:1px solid #ccd7d3;border-radius:9px;display:grid;place-items:center;color:#2d765f}.task-check.done{border-color:#bdd8cd;background:#e5f1eb}.project-task-list article>div{display:flex;flex-direction:column}.project-task-list strong{color:var(--navy);font-size:11px}.project-task-list small{margin-top:4px;color:#899698;font-size:8px}@media(max-width:1150px){.project-grid{grid-template-columns:1fr 1fr}.project-work-grid{grid-template-columns:1fr}}@media(max-width:680px){.project-grid{grid-template-columns:1fr}}

.project-filters{margin-bottom:18px;padding:22px 24px}.project-filter-heading{margin-bottom:17px;display:flex;align-items:center;justify-content:space-between;gap:20px}.project-filter-heading .kicker{margin:0 0 4px;font-size:9px}.project-filter-heading h2{margin:0;color:var(--navy);font-size:18px;font-weight:600}.project-filter-heading>a{color:#8b681f;font-size:12px;font-weight:650}.project-filter-grid{display:grid;grid-template-columns:1.15fr repeat(2,.8fr) 1fr 1.25fr auto;gap:12px;align-items:end}.project-filter-grid .form-field{gap:6px}.project-filter-grid .form-field label{font-size:11px;font-weight:600}.project-filter-grid .form-field input,.project-filter-grid .form-field select{min-height:43px;padding:8px 10px;font-size:12px}.project-filter-submit{min-height:43px;white-space:nowrap}.project-empty{margin-top:0}.project-bulk-bar{min-height:52px;margin-bottom:13px;padding:9px 12px 9px 15px;border:1px solid #dfe6e3;border-radius:13px;background:#fff;display:flex;align-items:center;gap:16px}.project-bulk-bar label{display:flex;align-items:center;gap:8px;color:var(--navy);font-size:12px;font-weight:650}.project-bulk-bar input{width:17px;height:17px;accent-color:var(--navy)}.project-bulk-bar>span{margin-right:auto;color:#829194;font-size:11px}.project-delete-button{min-height:39px;padding:0 14px;border:1px solid #e0b8b3;border-radius:9px;background:#fff8f6;color:#9b453e;font-size:11px;font-weight:650}.project-delete-button:hover:not(:disabled){border-color:#c87d74;background:#fbece9}.project-delete-button:disabled{cursor:not-allowed;opacity:.45}.project-delete-button.compact{min-height:43px}.project-select-card{min-width:0;position:relative}.project-select-card .project-tile{height:100%;display:block;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}.project-select-card .project-tile:hover{border-color:#cbd8d4;box-shadow:0 13px 30px rgba(0,35,46,.07);transform:translateY(-2px)}.project-checkbox{width:26px;height:26px;right:17px;top:17px;border:1px solid #ced9d5;border-radius:8px;background:#fff;display:grid;place-items:center;position:absolute;z-index:2;cursor:pointer;box-shadow:0 3px 10px rgba(0,35,46,.08)}.project-checkbox input{position:absolute;opacity:0;pointer-events:none}.project-checkbox span{color:transparent;font-size:12px;font-weight:800}.project-checkbox:has(input:checked){border-color:var(--navy);background:var(--navy)}.project-checkbox:has(input:checked) span{color:#fff}.project-select-card .project-tile>header{padding-right:35px}.project-tile>header>b.status-planned{background:#f5ebd4;color:#80611f}.project-tile>header>b.status-on_hold{background:#f8e5e1;color:#934d45}.project-tile>header>b.status-completed{background:#e4ece8;color:#5d726b}.project-tile .project-description{height:42px;margin-top:9px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:10px;line-height:1.55}.project-dialog{width:min(720px,calc(100% - 34px))}.project-dialog .form-field textarea{min-height:105px}.project-detail-hero{align-items:flex-start}.project-single-delete{margin:0}.project-edit-card{margin-bottom:16px;padding:25px}.project-edit-card>form{padding-top:2px}.project-overview-grid{margin-bottom:16px;display:grid;grid-template-columns:1.35fr .65fr;gap:16px}.project-overview-card{padding:24px}.project-overview-card .kicker{margin:0 0 7px;font-size:9px}.project-overview-card h2{margin:0;color:var(--navy);font-size:20px;font-weight:600}.project-overview-card p{margin:12px 0 0;color:#6e8084;font-size:12px;line-height:1.7}.project-dates{display:grid;gap:14px}.project-dates>div{padding-bottom:13px;border-bottom:1px solid #e6ebe8;display:flex;justify-content:space-between;gap:16px}.project-dates>div:last-child{padding-bottom:0;border-bottom:0}.project-dates small{color:#8c999b;font-size:9px;font-weight:700}.project-dates strong{color:var(--navy);font-size:12px;font-weight:650;text-align:right}

@media(max-width:1180px){.project-filter-grid{grid-template-columns:repeat(3,1fr)}.project-filter-submit{width:max-content}.project-overview-grid{grid-template-columns:1fr}}@media(max-width:760px){.project-filter-grid{grid-template-columns:1fr 1fr}.project-filter-grid .form-field:first-child,.project-filter-grid .form-field:nth-child(5){grid-column:1/-1}.project-bulk-bar{align-items:flex-start;flex-wrap:wrap}.project-bulk-bar>span{width:100%;order:3}.project-delete-button{margin-left:auto}.project-detail-hero .hero-actions{width:100%}.project-detail-hero .hero-actions>*{flex:1}.project-single-delete .project-delete-button{width:100%}}@media(max-width:520px){.project-filter-grid{grid-template-columns:1fr}.project-filter-grid .form-field:first-child,.project-filter-grid .form-field:nth-child(5){grid-column:auto}.project-filter-submit{width:100%}}

.process-workspace{margin-bottom:18px;padding:26px;overflow:hidden}.process-workspace-head{align-items:flex-start}.process-workspace-head h2{font-size:23px}.process-workspace-head p{max-width:690px;margin:7px 0 0;color:#748589;font-size:12px;line-height:1.6}.process-head-actions{display:flex;gap:8px;flex-wrap:wrap}.process-head-actions [data-process-view].active{border-color:var(--navy);background:#e9f0ed;color:var(--navy)}.process-board{margin:22px -4px 0;padding:4px 4px 18px;display:flex;gap:17px;overflow-x:auto;scroll-snap-type:x proximity}.process-board::-webkit-scrollbar{height:8px}.process-board::-webkit-scrollbar-thumb{border-radius:999px;background:#d5dfdb}.process-tile{width:290px;min-width:290px;min-height:330px;padding:18px;border:1px solid #dfe6e3;border-radius:17px;background:#fff;position:relative;display:flex;flex-direction:column;scroll-snap-align:start;box-shadow:0 8px 24px rgba(0,35,46,.045);transition:transform .16s ease,box-shadow .16s ease,opacity .16s ease}.process-tile:not(:last-child):after{content:'→';position:absolute;right:-15px;top:42px;color:#b1bfbb;font-size:17px;font-weight:700}.process-tile.is-dragging{opacity:.45;transform:rotate(1deg) scale(.98)}.process-tile>header{display:grid;grid-template-columns:30px 38px 1fr;gap:8px;align-items:center}.drag-handle{width:30px;height:30px;padding:0;border:1px solid #dce5e1;border-radius:9px;background:#f7f9f7;color:#81918d;font-size:17px;cursor:grab}.drag-handle:active{cursor:grabbing}.process-tile>header>span{width:36px;height:30px;border-radius:9px;background:#f3e6c5;color:#86641e;display:grid;place-items:center;font-size:10px;font-weight:800}.process-tile>header>small{justify-self:end;padding:6px 8px;border-radius:999px;background:#eef2ef;color:#71817d;font-size:8px;font-weight:750;text-transform:uppercase;letter-spacing:.05em}.process-tile.status-active>header>small{background:#e5f1ec;color:#2d765f}.process-tile.status-completed>header>small{background:#e4f0ea;color:#2d765f}.process-tile h3{margin:18px 0 7px;color:var(--navy);font-size:17px;font-weight:650;line-height:1.3}.process-tile>p{min-height:57px;margin:0;color:#718286;font-size:11px;line-height:1.7}.process-tile-meta{margin:15px 0;display:grid;gap:7px}.process-tile-meta span{color:#70817d;font-size:10px}.process-tile-tasks{min-height:75px;padding:12px;border-radius:12px;background:#f6f8f6;display:grid;gap:6px}.process-tile-tasks>strong{margin-bottom:2px;color:var(--navy);font-size:10px}.process-tile-tasks>strong b{float:right;padding:2px 6px;border-radius:999px;background:#e5ece9}.process-tile-tasks>span{overflow:hidden;color:#657875;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.process-tile-tasks>span.done{text-decoration:line-through;opacity:.55}.process-tile-tasks>small{color:#8a9795;font-size:8px}.process-tile>footer{margin-top:auto;padding-top:15px;display:flex;gap:8px}.tile-add-task{min-height:36px;padding:0 12px;border:0;border-radius:9px;background:var(--navy);color:#fff;font:inherit;font-size:10px;font-weight:650;cursor:pointer}.process-board.is-list{display:grid;overflow:visible}.process-board.is-list .process-tile{width:100%;min-width:0;min-height:0;display:grid;grid-template-columns:210px minmax(200px,1fr) 190px 190px;gap:18px;align-items:center}.process-board.is-list .process-tile:not(:last-child):after{display:none}.process-board.is-list .process-tile>header{grid-template-columns:30px 38px 1fr}.process-board.is-list .process-tile h3{margin:0}.process-board.is-list .process-tile>p{min-height:0}.process-board.is-list .process-tile-meta,.process-board.is-list .process-tile-tasks{margin:0}.process-board.is-list .process-tile>footer{padding:0}.process-save-state{min-height:18px;margin-top:4px;color:#6d817b;font-size:10px}.process-edit-dialog{width:min(720px,calc(100% - 34px))}.dialog-delete-form{padding:0 28px 24px}.project-lower-grid{margin-top:18px}.process-share-card{padding:24px}.share-status{padding:6px 10px;border-radius:999px;background:#eef1ef;color:#73817e;font-size:9px;font-weight:750;text-transform:uppercase}.share-status.active{background:#e4f1ea;color:#2c745d}.share-link-field{margin:18px 0 14px;color:#586c70;font-size:10px;font-weight:650;display:grid;grid-template-columns:1fr auto}.share-link-field input{grid-column:1/2;margin-top:7px;border-radius:10px 0 0 10px;font-size:10px}.share-link-field button{grid-column:2;margin-top:7px;padding:0 14px;border:0;border-radius:0 10px 10px 0;background:var(--navy);color:white;font-size:10px;cursor:pointer}.share-metrics{margin:13px 0 17px;padding:14px;border-radius:12px;background:#f6f8f6;display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.share-metrics span{display:flex;flex-direction:column}.share-metrics small{color:#8a9895;font-size:8px;font-weight:700}.share-metrics strong{margin-top:5px;color:var(--navy);font-size:11px;font-weight:650}.share-create-form{margin-top:18px;padding-top:18px;border-top:1px solid #e5ebe8}.share-create-form .form-grid{margin-bottom:14px}

/* Rozbudowane układanie procesów */
.process-board.is-sorting{scroll-behavior:auto;cursor:grabbing}.process-board.is-sorting .process-tile:not(.is-dragging){transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.process-tile.drop-before{box-shadow:-7px 0 0 -3px var(--gold),0 12px 30px rgba(0,35,46,.08)}.process-tile.drop-after{box-shadow:7px 0 0 -3px var(--gold),0 12px 30px rgba(0,35,46,.08)}.process-board.is-list .process-tile.drop-before{box-shadow:0 -7px 0 -3px var(--gold),0 12px 30px rgba(0,35,46,.08)}.process-board.is-list .process-tile.drop-after{box-shadow:0 7px 0 -3px var(--gold),0 12px 30px rgba(0,35,46,.08)}.drag-handle:focus-visible{outline:3px solid rgba(233,182,74,.34);outline-offset:2px;border-color:var(--gold)}.process-save-state{display:flex;align-items:center;gap:10px}.process-save-state>span:not(:empty):before{content:'✓';margin-right:6px;color:#2d765f}.sort-undo{padding:4px 9px;border:1px solid #d4dfdb;border-radius:999px;background:#fff;color:var(--navy);font:inherit;font-size:9px;font-weight:650;cursor:pointer}.sort-undo:hover{border-color:var(--gold);background:#fffaf0}.process-tile-tasks{max-height:150px;overflow:auto;align-content:start;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}.task-drop-hint{display:none;padding:7px;border:1px dashed #c6d4cf;border-radius:8px;color:#6f817c!important;text-align:center}.is-task-dragging .task-drop-hint{display:block}.process-task-chip{display:block;padding:7px 9px;border:1px solid #e1e8e5;border-radius:8px;background:#fff;color:#5f726e!important;font-size:9px!important;line-height:1.35;cursor:grab;white-space:normal!important;transition:opacity .14s ease,transform .14s ease,border-color .14s ease}.process-task-chip:hover{border-color:#b8cbc4;transform:translateY(-1px)}.process-task-chip.is-task-dragging{opacity:.42;cursor:grabbing}.process-task-chip.done{text-decoration:line-through;opacity:.58}.process-tile-tasks.is-task-over,.unassigned-task-tray.is-task-over{border-color:var(--gold);background:#fff9ea;box-shadow:0 0 0 3px rgba(233,182,74,.14)}.unassigned-task-tray{margin-top:12px;padding:12px 14px;border:1px dashed #d6e0dc;border-radius:12px;background:#fafbf9;display:flex;align-items:center;gap:12px;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}.unassigned-task-tray>strong{color:var(--navy);font-size:10px;white-space:nowrap}.unassigned-task-tray>strong b{margin-left:5px;padding:2px 6px;border-radius:999px;background:#e7eeeb}.unassigned-task-tray>.task-drop-hint{margin-left:auto}.unassigned-task-tray>div{display:flex;gap:7px;overflow-x:auto}.unassigned-task-tray .process-task-chip{min-width:max-content}.share-link-field{grid-template-columns:minmax(0,1fr) auto auto}.share-preview-button{grid-column:3;margin-top:7px;min-height:43px;padding:0 14px;border-left:1px solid rgba(255,255,255,.22);border-radius:0 10px 10px 0;background:var(--gold);color:var(--navy);display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:700;text-decoration:none}.share-link-field button{border-radius:0}.share-preview-button:hover{background:#f1c35e}.share-preview-button:focus-visible{outline:3px solid rgba(233,182,74,.3);outline-offset:2px}

@media(max-width:980px){.process-board.is-list .process-tile{grid-template-columns:160px 1fr}.process-board.is-list .process-tile-meta,.process-board.is-list .process-tile-tasks,.process-board.is-list .process-tile>footer{grid-column:2}}@media(max-width:700px){.process-workspace{padding:20px 16px}.process-workspace-head{display:block}.process-head-actions{margin-top:15px}.process-board{margin-right:-16px}.process-tile{width:82vw;min-width:82vw}.process-board.is-list .process-tile{width:100%;grid-template-columns:1fr}.process-board.is-list .process-tile>*{grid-column:auto}.share-metrics{grid-template-columns:1fr}.share-link-field{grid-template-columns:minmax(0,1fr) auto}.share-preview-button{grid-column:1/-1;margin-top:8px;border:1px solid #e1b24b;border-radius:10px}.unassigned-task-tray{align-items:flex-start;flex-direction:column}.unassigned-task-tray>.task-drop-hint{margin-left:0}.unassigned-task-tray>div{width:100%}}

/* Projekty: miniatury, widok listy, notatki i agent AI */
.project-view-switch{padding:3px;border:1px solid #dfe6e3;border-radius:10px;background:#f7f9f7;display:flex;gap:3px}.project-view-switch button{min-height:31px;padding:0 10px;border:0;border-radius:7px;background:transparent;color:#71827f;font:inherit;font-size:10px;font-weight:650;cursor:pointer}.project-view-switch button.active{background:#fff;color:var(--navy);box-shadow:0 2px 7px rgba(0,35,46,.08)}.project-card-cover{height:150px!important;margin:-23px -23px 18px!important;padding:0!important;border:0!important;border-radius:16px 16px 0 0;background:linear-gradient(145deg,#e8efec,#f7f4e9);display:grid!important;grid-template-columns:1fr!important;gap:0!important;place-items:center;position:relative;overflow:hidden}.project-card-cover img{width:100%;height:100%;object-fit:cover}.project-card-cover>span{color:var(--gold);font-size:40px}.project-card-cover>small{position:absolute;right:13px;bottom:10px;color:#71827e!important;font-size:7px!important;font-weight:750;letter-spacing:.16em}.project-grid[data-project-layout="list"]{grid-template-columns:1fr}.project-grid[data-project-layout="list"] .project-select-card .project-tile{min-height:150px;padding:18px;display:grid;grid-template-columns:180px minmax(180px,1.25fr) minmax(250px,1fr) 150px;grid-template-rows:auto auto 1fr;gap:8px 20px;align-items:center}.project-grid[data-project-layout="list"] .project-card-cover{grid-column:1;grid-row:1/4;width:180px;height:114px!important;margin:0!important;border-radius:12px}.project-grid[data-project-layout="list"] .project-tile>header{grid-column:2;grid-row:1;padding-right:0}.project-grid[data-project-layout="list"] .project-tile>header>span{display:none}.project-grid[data-project-layout="list"] .project-tile h2{grid-column:2;grid-row:2;margin:0}.project-grid[data-project-layout="list"] .project-tile>p{grid-column:2;grid-row:3}.project-grid[data-project-layout="list"] .project-tile>.project-description{grid-column:3;grid-row:1/4;height:auto;margin:0}.project-grid[data-project-layout="list"] .project-card-metrics{grid-column:4;grid-row:1/4;margin:0;padding:0;border:0;display:grid;gap:8px}.project-grid[data-project-layout="list"] .project-tile>footer{grid-column:3;grid-row:3;margin:0;align-self:end}.project-grid[data-project-layout="list"] .project-checkbox{top:13px;right:13px}.project-hero-thumbnail{width:82px;height:82px;border-radius:22px;background:#edf1ee;display:block;overflow:hidden;box-shadow:0 10px 28px rgba(0,35,46,.1)}.project-hero-thumbnail img{width:100%;height:100%;object-fit:cover}.project-description-notes>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.project-note-form{margin-top:18px}.project-note-list{margin-top:20px;border-top:1px solid #e3e9e6}.project-note-list>article{padding:16px 0;border-bottom:1px solid #e7ece9;display:grid;grid-template-columns:1fr auto;gap:16px;align-items:start}.project-note-list>article>div{display:flex;flex-direction:column}.project-note-list small{color:#8a9996;font-size:9px}.project-note-list strong{margin-top:4px;color:var(--navy);font-size:12px}.project-note-list p{margin-top:7px;white-space:normal}.project-note-empty{margin-top:18px;padding:13px;border-radius:11px;background:#f6f8f6;color:#82918e;font-size:10px}.project-note-dialog{width:min(720px,calc(100% - 34px))}.project-ai-card{margin:0 0 18px;padding:26px}.ai-agent-status{padding:7px 11px;border-radius:999px;background:#eef1ef;color:#74837f;font-size:9px;font-weight:700}.ai-agent-status.active{background:#e3f1e9;color:#2d755e}.ai-setup-note{margin-top:18px;padding:17px;border:1px solid #e0e7e3;border-radius:13px;background:#f8faf8;display:flex;align-items:center;gap:12px}.ai-setup-note strong{color:var(--navy);font-size:12px}.ai-setup-note span{color:#7a8a87;font-size:10px}.ai-setup-note .secondary-button{margin-left:auto}.ai-analysis-form{margin-top:20px;padding:20px;border-radius:15px;background:#f5f8f6}.ai-analysis-form textarea{min-height:95px}.ai-analysis-form .button-row small{color:#7b8d89;font-size:9px}.ai-analysis-history{margin-top:24px;padding-top:20px;border-top:1px solid #e5ebe8}.ai-analysis-item{margin-top:13px;padding:20px;border:1px solid #e0e7e4;border-radius:15px;background:#fff}.ai-analysis-item>header{display:flex;justify-content:space-between;gap:16px}.ai-analysis-item small{color:#879591;font-size:8px}.ai-analysis-item h3{margin:5px 0 0;color:var(--navy);font-size:15px;font-weight:650}.ai-analysis-item blockquote{margin:14px 0;padding:11px 13px;border-left:3px solid var(--gold);background:#fff9ea;color:#705a29;font-size:10px}.ai-analysis-content{color:#526a6f;font-size:11px;line-height:1.75;white-space:normal}.ai-analysis-dialog{width:min(880px,calc(100% - 34px))}.ai-analysis-dialog textarea{min-height:420px;line-height:1.6}
@media(max-width:1100px){.project-grid[data-project-layout="list"] .project-select-card .project-tile{grid-template-columns:150px 1fr 150px}.project-grid[data-project-layout="list"] .project-card-cover{width:150px}.project-grid[data-project-layout="list"] .project-tile>.project-description{display:none}.project-grid[data-project-layout="list"] .project-card-metrics{grid-column:3}.project-grid[data-project-layout="list"] .project-tile>footer{grid-column:2}}
@media(max-width:720px){.project-view-switch{order:2}.project-grid[data-project-layout="list"] .project-select-card .project-tile{grid-template-columns:92px 1fr;grid-template-rows:auto auto auto auto}.project-grid[data-project-layout="list"] .project-card-cover{width:92px;height:92px!important;grid-row:1/4}.project-grid[data-project-layout="list"] .project-tile>header,.project-grid[data-project-layout="list"] .project-tile h2,.project-grid[data-project-layout="list"] .project-tile>p{grid-column:2}.project-grid[data-project-layout="list"] .project-card-metrics{grid-column:1/-1;grid-row:4;grid-template-columns:repeat(3,1fr);padding-top:12px;border-top:1px solid #e6ebe8}.project-grid[data-project-layout="list"] .project-tile>footer{grid-column:1/-1;grid-row:5}.ai-setup-note{align-items:flex-start;flex-direction:column}.ai-setup-note .secondary-button{margin-left:0}.project-ai-card{padding:20px 16px}}
.project-ai-quick{margin:8px 3px 0;color:#8a671e;display:inline-flex;align-items:center;gap:5px;font-size:10px;font-weight:700;text-decoration:none}.project-ai-quick:hover{color:var(--navy)}.project-grid[data-project-layout="list"] .project-ai-quick{position:absolute;right:20px;bottom:18px;z-index:2}
@media(max-width:720px){.project-grid[data-project-layout="list"] .project-ai-quick{position:static;margin:8px 0 0 108px}}
.project-project-stack{display:grid;grid-template-columns:1fr;gap:18px}.project-project-stack>.workspace-card{width:100%;margin:0}.process-tile-files{margin-top:10px;padding:11px;border:1px solid #e3e9e6;border-radius:11px;background:#fbfcfb;display:grid;gap:6px}.process-tile-files>strong{color:var(--navy);font-size:9px}.process-tile-files>strong b{float:right;padding:2px 6px;border-radius:999px;background:#e8efec}.process-tile-files>a{overflow:hidden;color:#617674;font-size:9px;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.process-tile-files>a:hover{color:#9a7428}.tile-add-file{min-height:36px;padding:0 11px;border:1px solid #d6dfdc;border-radius:9px;background:#fff;color:var(--navy);font:inherit;font-size:9px;font-weight:650;cursor:pointer}.project-files-card,.project-collaboration-card{margin-top:18px;padding:26px}.project-file-form,.project-collaborator-form{margin:18px 0}.project-file-list{margin-top:18px;display:grid;gap:8px}.project-file-list>article{padding:13px 14px;border:1px solid #e2e8e5;border-radius:12px;display:grid;grid-template-columns:36px minmax(0,1fr) auto auto;gap:11px;align-items:center}.project-file-list>article>span{width:34px;height:34px;border-radius:9px;background:#edf2ef;color:#61777b;display:grid;place-items:center}.project-file-list>article>div{min-width:0;display:flex;flex-direction:column}.project-file-list strong{overflow:hidden;color:var(--navy);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.project-file-list small{margin-top:4px;color:#849396;font-size:8px}.project-file-list form{margin:0}.project-permission-grid{margin:15px 0;display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.project-permission-grid label{padding:11px;border:1px solid #dfe6e3;border-radius:10px;background:#fff;color:var(--navy);display:flex;align-items:center;gap:8px;font-size:9px;font-weight:650}.project-invite-link{margin:18px 0}.project-collaborator-list{margin-top:18px;display:grid;gap:8px}.project-collaborator-list>article{padding:13px;border:1px solid #e1e7e4;border-radius:12px;display:grid;grid-template-columns:38px 1fr auto;gap:11px;align-items:center}.project-collaborator-list>article>span{width:37px;height:37px;border-radius:10px;background:#f3e5c2;color:#87631b;display:grid;place-items:center;font-size:10px;font-weight:800}.project-collaborator-list>article>div{display:flex;flex-direction:column}.project-collaborator-list strong{color:var(--navy);font-size:11px}.project-collaborator-list small{margin-top:4px;color:#869591;font-size:8px}.project-collaborator-list article.inactive{opacity:.58}.partner-project-sidebar .workspace-switch{margin-bottom:8px}.partner-project-sidebar .nav-link{scroll-behavior:smooth}.partner-project-hero{border-color:#dfe8e3}.project-task-list{width:100%}
@media(max-width:760px){.project-file-list>article{grid-template-columns:34px 1fr}.project-file-list>article>a,.project-file-list>article>form{grid-column:auto}.project-permission-grid{grid-template-columns:1fr 1fr}.project-files-card,.project-collaboration-card{padding:20px 16px}}
.partner-project-work{margin-top:12px;padding-top:10px;border-top:1px solid #e8ecea;color:#8b681f;display:flex;justify-content:flex-end;font-size:9px;font-weight:750;text-decoration:none}.partner-project-work:hover{color:var(--navy)}.partner-project-readonly{margin-top:12px;padding-top:10px;border-top:1px solid #e8ecea;color:#8a9794;display:block;font-size:8px;text-align:right}
.project-state-in-progress .project-tile{border-color:#ead8b6;background:#fffaf0}.project-state-in-progress .project-card-cover{background-color:#f9edcf}.project-state-overdue .project-tile{border-color:#e7c5c0;background:#fff5f2}.project-state-overdue .project-card-cover{background-color:#f8e3df}.project-state-overdue .project-tile>header>b{background:#f4ddd8;color:#984d44}.project-state-completed .project-tile{border-color:#cce0d7;background:#f3faf6}.project-state-completed .project-card-cover{background-color:#e5f2eb}.project-state-completed .project-ai-quick{opacity:.72}
.project-chat-card{width:100%;margin-top:18px;padding:26px}.project-chat-card .workspace-card-head p{max-width:760px;margin:7px 0 0;color:#75878a;font-size:11px}.project-chat-stream{max-height:620px;margin:20px 0;display:grid;gap:10px;overflow-y:auto}.project-chat-message{padding:14px;border:1px solid #e1e7e4;border-radius:14px;background:#fbfcfa;display:grid;grid-template-columns:38px minmax(0,1fr);gap:11px}.project-chat-message>span{width:37px;height:37px;border-radius:11px;background:#e4efea;color:#2f735d;display:grid;place-items:center;font-size:10px;font-weight:800}.project-chat-message.mine{background:#fffbf1;border-color:#eadcb9}.project-chat-message.mine>span{background:#f2dfad;color:#7d5b17}.project-chat-message.pinned{box-shadow:inset 3px 0 #e3ad3d}.project-chat-message header{display:flex;justify-content:space-between;gap:12px}.project-chat-message header strong{color:var(--navy);font-size:11px}.project-chat-message time{color:#8a9799;font-size:8px}.project-chat-message small{margin-top:4px;color:#9b7221;display:block;font-size:8px;font-weight:750}.project-chat-message p{margin:8px 0;color:#5f7478;font-size:11px;line-height:1.65}.project-chat-message footer{display:flex;gap:10px}.project-chat-message footer form{margin:0}.project-chat-message footer button{padding:0;border:0;background:transparent;color:#7b898b;font:inherit;font-size:8px;cursor:pointer}.project-chat-message footer button:hover{color:var(--navy)}.project-chat-message footer button.danger:hover{color:#a24e46}.project-chat-composer{padding:15px;border:1px solid #dce4e1;border-radius:14px;background:#f5f7f4;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:11px;align-items:end}.project-chat-composer textarea{min-height:95px;padding:13px;border:1px solid #d4dfdb;border-radius:11px;background:#fff;color:var(--navy);font:inherit;font-size:11px;line-height:1.6;resize:vertical}.project-chat-composer button{white-space:nowrap}@media(max-width:680px){.project-chat-card{padding:20px 16px}.project-chat-composer{grid-template-columns:1fr}.project-chat-message header{flex-direction:column;gap:4px}}
