.projects-page-v2{padding:24px;min-height:100%;background:#f6f8fb;color:#17233c}.projects-page-v2 *{box-sizing:border-box}.project-eyebrow{text-transform:uppercase;letter-spacing:.08em;font-size:10px;font-weight:800;color:#2c67d8}.projects-shell{display:grid;grid-template-columns:272px minmax(0,1fr);gap:16px;min-height:690px}.projects-sidebar,.project-workspace,.project-panel,.project-channels,.project-chat{background:#fff;border:1px solid #e4e9f2;border-radius:14px}.projects-sidebar{padding:12px;overflow:hidden}.project-search{display:flex;align-items:center;gap:8px;padding:0 11px;border:1px solid #e1e7f0;border-radius:9px}.project-search svg{width:16px}.project-search input{width:100%;border:0;outline:0;padding:10px 0;background:transparent}.project-type-filter{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;margin:10px 0 12px;padding:3px;background:#f1f4f9;border-radius:8px}.project-type-filter button{padding:6px 3px;border:0;border-radius:6px;background:none;color:#68758b;font-size:11px;cursor:pointer}.project-type-filter .is-active{background:#fff;color:#1d4fa8;box-shadow:0 1px 3px #23395d18}.project-list{display:flex;flex-direction:column;gap:5px}.project-list-item{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:9px;width:100%;padding:10px;border:1px solid transparent;border-radius:10px;background:transparent;text-align:left;cursor:pointer}.project-list-item:hover{background:#f7f9fc}.project-list-item.is-active{background:#eef4ff;border-color:#cbdcfb}.project-list-item strong,.project-list-item small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.project-list-item strong{font-size:13px}.project-list-item small{margin-top:3px;color:#8490a3;font-size:10px}.project-avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:#dfeaff;color:#2457ae;font-size:12px;font-weight:800}.project-workspace{overflow:hidden}.project-tabs{display:flex;gap:2px;padding:0 18px;border-top:1px solid #eef1f6;border-bottom:1px solid #e3e8f0;overflow-x:auto}.project-tabs button{display:flex;align-items:center;gap:6px;padding:13px 11px 11px;border:0;border-bottom:2px solid transparent;background:none;color:#647188;font-size:12px;white-space:nowrap;cursor:pointer}.project-tabs button:hover{color:#2457ae}.project-tabs button.is-active{border-color:#2f6bd7;color:#1f56b4;font-weight:700}.project-tabs span{min-width:18px;padding:2px 5px;border-radius:10px;background:#edf1f7;color:#667085;font-size:9px;text-align:center}.project-tab-content{padding:18px;background:#f8fafc;min-height:590px}.project-pill{display:inline-flex;align-items:center;width:max-content;padding:4px 7px;border-radius:12px;background:#eef2f7;color:#56657c;font-size:9px;font-weight:700;white-space:nowrap}.project-good,.project-active,.project-released,.project-completed,.project-converted{background:#e5f7ef;color:#167854}.project-attention,.project-testing,.project-approved{background:#fff4d8;color:#9c6507}.project-risk,.project-rejected{background:#ffe8e9;color:#b32d36}.project-development,.project-new,.project-planned,.project-planning{background:#e7efff;color:#2b60bd}.project-paused{background:#edf0f4;color:#677386}.project-alert{padding:10px 12px;margin-bottom:12px;border:1px solid #f1c2c5;border-radius:8px;background:#fff0f0;color:#a32931}.project-data-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:14px}.project-panel{padding:18px}.project-panel-wide{grid-column:1/-1}.project-panel h3{margin:0 0 14px;font-size:15px}.project-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:16px}.project-panel-head h3{margin:0}.project-panel-head p{margin:5px 0 0;color:#7c8798;font-size:11px}.project-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin:0}.project-facts div{padding:11px 0;border-bottom:1px solid #edf0f5}.project-facts dt{margin-bottom:4px;color:#8a95a6;font-size:10px}.project-facts dd{margin:0;font-size:12px;font-weight:600}.project-facts a{color:#2862c5;text-decoration:none}.project-finance{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:14px}.project-finance article{padding:13px;border-radius:9px;background:#f5f7fa}.project-finance span,.project-finance strong{display:block}.project-finance span{margin-bottom:5px;color:#7b8799;font-size:10px}.project-finance strong{font-size:15px}.project-row{display:flex;justify-content:space-between;gap:20px;padding:12px 0;border-top:1px solid #edf0f5}.project-row:first-of-type{border:0}.project-row strong,.project-row small{display:block}.project-row small{margin-top:4px;color:#7f8a9d;font-size:10px}.project-empty{padding:30px 15px;color:#8994a5;text-align:center;font-size:12px}.project-task-list{display:flex;flex-direction:column}.project-task{display:grid;grid-template-columns:14px minmax(0,1fr) auto;align-items:center;gap:11px;padding:13px 4px;border-top:1px solid #edf0f5}.project-task-state{width:11px;height:11px;border:2px solid #7696cc;border-radius:50%}.project-task strong,.project-task small{display:block}.project-task small{margin-top:4px;color:#8994a6;font-size:10px}.project-task.is-done{opacity:.55}.project-task.is-done strong{text-decoration:line-through}.project-chain-link{padding:4px 7px;border-radius:8px;background:#f0f4fa;color:#6d7d94;font-size:9px}.project-chat-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:12px;min-height:500px}.project-channels{padding:12px}.project-channels .project-panel-head{align-items:center;margin:0 0 8px}.project-channels h3{margin:0;font-size:13px}.project-channels>button:not(.button){position:relative;width:100%;padding:11px 28px 11px 10px;border:0;border-radius:8px;background:none;text-align:left;cursor:pointer}.project-channels>button:not(.button):hover,.project-channels>button.is-active{background:#eef4ff;color:#2356ad}.project-channels strong,.project-channels small{display:block}.project-channels strong{font-size:12px}.project-channels small{margin-top:3px;color:#8792a4;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.project-channels>button span{position:absolute;top:11px;right:9px;color:#8792a4;font-size:9px}.project-chat{display:flex;flex-direction:column;overflow:hidden}.project-chat>header{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid #edf0f5}.project-chat header h3,.project-chat header p{margin:0}.project-chat header p{margin-top:3px;color:#8792a4;font-size:10px}.project-chat-messages{display:flex;flex:1;flex-direction:column;gap:13px;padding:18px;overflow:auto;background:#fbfcfe}.project-chat-messages article{display:grid;grid-template-columns:30px 1fr;gap:9px}.project-chat-messages article>span,.project-team article>span{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#dce8ff;color:#2a5db7;font-weight:800}.project-chat-messages strong{font-size:11px}.project-chat-messages small{margin-left:7px;color:#9aa4b4;font-size:9px}.project-chat-messages p{max-width:650px;margin:4px 0 0;padding:9px 11px;border-radius:2px 10px 10px 10px;background:#fff;border:1px solid #e7ebf1;font-size:12px;line-height:1.5}.project-chat form{display:grid;grid-template-columns:1fr auto;gap:8px;padding:12px;border-top:1px solid #edf0f5}.project-chat textarea{min-height:42px;resize:none;border:1px solid #dfe5ee;border-radius:8px;padding:9px}.project-iterations,.project-ideas,.project-releases{display:flex;flex-direction:column;gap:12px}.project-iterations>article,.project-ideas>article{padding:16px;border:1px solid #e5eaf1;border-radius:11px}.project-iterations header,.project-ideas header,.project-ideas footer{display:flex;justify-content:space-between;gap:15px}.project-iterations header h3,.project-ideas h3{margin:7px 0 4px;font-size:14px}.project-iterations header p{margin:0;color:#67768c;font-size:11px}.project-three-columns{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:14px}.project-three-columns div{padding:12px;border-radius:9px;background:#f6f8fb}.project-three-columns span{color:#748197;font-size:9px;font-weight:700;text-transform:uppercase}.project-three-columns p{margin:5px 0 0;font-size:11px;line-height:1.5}.project-iterations footer{margin-top:10px;color:#8a95a6;font-size:9px}.project-ideas>article>p{margin:7px 0;color:#526078;font-size:11px}.project-ideas ol{display:grid;gap:6px;margin:12px 0;padding-left:23px}.project-ideas li{padding:7px 9px;border-radius:7px;background:#f6f8fb;font-size:11px}.project-ideas footer{align-items:center;margin-top:12px;color:#7c8799;font-size:10px}.project-team{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.project-team section{padding:13px;border:1px solid #e5eaf1;border-radius:10px}.project-team h4{margin:0 0 10px;color:#54647c;font-size:11px;text-transform:uppercase}.project-team article{display:grid;grid-template-columns:30px 1fr;gap:9px;padding:9px 0;border-top:1px solid #edf0f5}.project-team article:first-of-type{border:0}.project-team strong,.project-team small{display:block}.project-team strong{font-size:11px}.project-team small{margin-top:2px;color:#2a62c0;font-size:9px}.project-team p{margin:5px 0 0;color:#758196;font-size:10px}.project-releases{position:relative}.project-releases:before{position:absolute;top:12px;bottom:12px;left:104px;width:1px;background:#dce3ed;content:""}.project-releases article{display:grid;grid-template-columns:88px 12px minmax(0,1fr) auto;gap:11px;align-items:start;padding:10px 0}.project-releases time{padding-top:4px;color:#65748b;font-size:10px;text-align:right}.project-release-dot{position:relative;z-index:1;width:10px;height:10px;margin-top:4px;border:2px solid #fff;border-radius:50%;background:#3971d5;box-shadow:0 0 0 1px #3971d5}.project-releases h3{margin:7px 0 4px;font-size:13px}.project-releases h3 small{color:#718098}.project-releases p{margin:0;color:#69768a;font-size:11px}.project-releases footer{margin-top:6px;color:#939dad;font-size:9px}.project-form{display:grid;gap:13px}.project-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.project-form .field{display:grid;gap:5px}.project-form .field>span{color:#66758b;font-size:10px;font-weight:700}.project-form input,.project-form select,.project-form textarea{width:100%;padding:9px 10px;border:1px solid #dbe2ec;border-radius:8px;background:#fff;color:#1d293b;font:inherit}.project-form textarea{min-height:78px;resize:vertical}.project-check{display:flex;align-items:center;gap:8px;padding-top:21px;font-size:11px}.project-check input{width:auto}.project-member-editor{display:grid;gap:7px}.project-member-editor label{display:grid;grid-template-columns:18px 130px 1fr 1fr 1.3fr;align-items:center;gap:7px;padding:8px;border:1px solid #e4e9f1;border-radius:8px}.project-member-editor label>input:first-child{width:auto}.project-member-editor strong{font-size:10px}.project-member-editor input{padding:7px;font-size:10px}.modal-description{margin:0;color:#748196;font-size:11px}.form-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:4px}
.project-sync-note{display:flex;flex-direction:column;align-items:flex-end;gap:3px;padding:8px 10px;border-radius:9px;background:#f1f6ff;color:#315fae;text-align:right}.project-sync-note span{font-size:10px;font-weight:700}.project-sync-note small{color:#7b8da9;font-size:9px}.project-analytics{display:grid;grid-template-columns:repeat(6,minmax(110px,1fr));gap:9px;margin-bottom:18px}.project-analytics-compact{grid-template-columns:repeat(3,minmax(150px,1fr));max-width:680px}.project-analytics article{padding:13px;border:1px solid #e6ebf3;border-radius:10px;background:#f8fafc}.project-analytics span,.project-analytics strong{display:block}.project-analytics span{min-height:26px;color:#7a879a;font-size:10px}.project-analytics strong{margin-top:5px;color:#19375f;font-size:17px}.project-table-wrap{overflow-x:auto;border:1px solid #e5eaf1;border-radius:11px}.project-table{width:100%;border-collapse:collapse;white-space:nowrap}.project-table th,.project-table td{padding:11px 12px;border-bottom:1px solid #edf0f5;text-align:left;font-size:11px}.project-table th{background:#f7f9fc;color:#78869a;font-size:9px;text-transform:uppercase}.project-table tbody tr:last-child td{border-bottom:0}.project-table td strong,.project-table td small{display:block}.project-table td small{margin-top:3px;color:#929dad;font-size:9px}.project-auto-version{display:flex;align-items:center;justify-content:space-between;padding:11px 13px;border:1px solid #cfddf6;border-radius:9px;background:#f1f6ff;color:#496482}.project-auto-version span{font-size:11px}.project-auto-version strong{color:#2259b5;font-size:16px}
@media(max-width:1100px){.projects-shell{grid-template-columns:220px minmax(0,1fr)}.project-tabs button{padding-inline:8px}.project-three-columns{grid-template-columns:1fr}.project-member-editor label{grid-template-columns:18px 110px 1fr}.project-member-editor input:last-child{grid-column:3}.project-data-grid{grid-template-columns:1fr}.project-panel-wide{grid-column:auto}.project-analytics{grid-template-columns:repeat(3,minmax(110px,1fr))}}
@media(max-width:760px){.projects-page-v2{padding:14px}.projects-shell{grid-template-columns:1fr}.projects-sidebar{max-height:280px}.project-chat-layout{grid-template-columns:1fr}.project-channels{max-height:210px;overflow:auto}.project-data-grid,.project-team,.project-form-grid{grid-template-columns:1fr}.project-facts,.project-finance{grid-template-columns:1fr}.project-member-editor label{grid-template-columns:18px 1fr}.project-member-editor input{grid-column:2}.project-releases:before{left:11px}.project-releases article{grid-template-columns:12px minmax(0,1fr)}.project-releases time{grid-column:2;text-align:left}.project-release-dot{grid-column:1;grid-row:1/3}.project-releases article>.button{grid-column:2}.project-panel-head{flex-direction:column}.project-sync-note{align-items:flex-start;text-align:left}.project-analytics,.project-analytics-compact{grid-template-columns:repeat(2,minmax(110px,1fr));max-width:none}}
.project-task{width:100%;border-right:0;border-bottom:0;border-left:0;background:transparent;color:inherit;text-align:left;cursor:pointer}.project-task:hover{background:#f7faff}.project-channel-members{display:grid;gap:7px;margin:0;padding:12px;border:1px solid #dbe2ec;border-radius:9px}.project-channel-members legend{padding:0 5px;color:#66758b;font-size:10px;font-weight:700}.project-channel-members label{display:grid;grid-template-columns:18px 1fr auto;align-items:center;gap:7px;font-size:11px}.project-channel-members input{width:auto}.project-channel-members small{color:#8a95a6}.project-idea-upload{display:grid;gap:9px}.project-idea-upload>label{width:max-content}.project-idea-upload input{display:none}.project-idea-upload #project-idea-file-list,.project-idea-files{display:flex;flex-wrap:wrap;gap:7px}.project-idea-files{margin-top:12px}.project-idea-files button{display:flex;align-items:center;gap:6px;padding:7px 9px;border:1px solid #dbe3ef;border-radius:8px;background:#f8faff;color:#315b9e;font-size:10px;cursor:pointer}.project-idea-files svg{width:14px;height:14px}

/* Project creation and editing follows the CRM entity-card pattern. */
.modal.record-side-dialog.project-entity-dialog{width:min(1160px,calc(100vw - 260px));background:#f6f8fb}
.project-entity-dialog>.modal-body{background:#f6f8fb}
.project-entity-form{min-height:100%;display:flex;flex-direction:column;gap:0;background:#f6f8fb}
.project-entity-head{position:sticky;top:0;z-index:3;display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:24px 28px 18px;border-bottom:1px solid #e2e8f1;background:#fff}
.project-entity-head .record-title-block{align-items:center}.project-entity-head .entity-icon{width:44px;height:44px}.project-entity-head .record-title-block small{margin:0 0 4px}.project-entity-head h2{font-size:24px}.project-entity-head p{margin:5px 0 0;color:#7a879a;font-size:12px}.project-entity-head>.project-pill{margin-top:4px;padding:6px 10px;font-size:10px}
.project-owned{background:#e7efff;color:#2b60bd}.project-vendor{background:#f1ebff;color:#7046b5}.project-client{background:#e1f4f0;color:#127969}
.project-entity-body{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:18px;align-items:start;flex:1;padding:20px 24px 28px}
.project-form-column{display:grid;gap:16px;align-content:start;min-width:0}
.project-form-section{min-width:0;padding:18px;border:1px solid #e1e7f0;border-radius:12px;background:#fff;box-shadow:0 5px 20px #29405f0a}
.project-form-section>header{display:flex;align-items:flex-start;gap:11px;margin-bottom:16px}.project-form-section>header>span{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:9px;background:#edf4ff;color:#2862c5}.project-form-section>header .icon{width:17px;height:17px}.project-form-section h3{margin:0;color:#20304a;font-size:14px}.project-form-section>header p{margin:4px 0 0;color:#8490a3;font-size:10px;line-height:1.45}
.project-form-section .project-form-grid{gap:12px}.project-form-section .project-field-wide{grid-column:1/-1}.project-form-section .project-form-grid-three{grid-template-columns:repeat(3,minmax(0,1fr))}
.project-access-switch{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:58px;padding:10px 12px;border:1px solid #dbe4f0;border-radius:9px;background:#f8fbff}.project-access-switch span,.project-access-switch strong,.project-access-switch small{display:block}.project-access-switch strong{color:#40516b;font-size:11px}.project-access-switch small{margin-top:3px;color:#8895a8;font-size:9px;line-height:1.35}.project-access-switch input{width:18px;height:18px;flex:0 0 auto;accent-color:#2f6bd7}
.project-entity-error{margin:0 24px 12px}.project-entity-actions{position:sticky;bottom:0;z-index:4;margin:0;padding:15px 24px;border-top:1px solid #dfe6ef;background:#fff;box-shadow:0 -8px 22px #1f35530d}.project-entity-actions .button{min-width:136px}
@media(max-width:1050px){.modal.record-side-dialog.project-entity-dialog{width:min(920px,calc(100vw - 170px))}.project-entity-body{grid-template-columns:1fr}.project-form-section .project-form-grid-three{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.modal.record-side-dialog.project-entity-dialog{width:calc(100vw - 32px)}.project-entity-head{padding:20px 22px 16px}.project-entity-body{padding:18px 20px 24px}.project-entity-error{margin-inline:20px}.project-entity-actions{padding-inline:20px}}
@media(max-width:600px){.modal.record-side-dialog.project-entity-dialog{width:100vw}.project-entity-head{padding:56px 16px 15px;flex-direction:column}.project-entity-head>.project-pill{margin:0}.project-entity-body{padding:14px 12px 20px}.project-form-section{padding:15px}.project-form-section .project-form-grid,.project-form-section .project-form-grid-three{grid-template-columns:1fr}.project-form-section .project-field-wide{grid-column:auto}.project-entity-error{margin-inline:12px}.project-entity-actions{padding:12px;display:grid;grid-template-columns:1fr 1fr}.project-entity-actions .button{min-width:0}}

.project-pilot{background:#f1ebff;color:#7046b5}.project-closed{background:#edf0f4;color:#596779}
.project-vendor-section[hidden],.project-client-section[hidden]{display:none!important}
.project-form-section[hidden],[data-project-client-date][hidden]{display:none!important}.project-client-fieldset{min-width:0;margin:0;padding:0;border:0}.project-client-primary{margin:0 0 12px;color:#748299;font-size:11px;line-height:1.5}.project-client-primary strong{color:#30476b}.project-client-fieldset h4{margin:20px 0 6px;color:#30476b;font-size:12px}.project-client-fieldset>.muted{font-size:10px;line-height:1.5}.project-client-list{display:grid;gap:10px}.project-client-list>article{display:flex;align-items:flex-start;gap:10px;min-width:0}.project-client-list>article>span{display:grid;place-items:center;flex:0 0 30px;height:30px;border-radius:9px;background:#edf4ff;color:#2862c5;font-size:11px;font-weight:700}.project-client-list .icon{width:15px;height:15px}.project-client-list strong,.project-client-list small{display:block;overflow-wrap:anywhere}.project-client-list strong{color:#30476b;font-size:11px}.project-client-list small{margin-top:4px;color:#7c899d;font-size:10px;line-height:1.45}.project-tile-client>footer>span:nth-child(2){grid-column:1/-1;grid-row:1}.project-tile-client>footer>span:nth-child(2) strong{white-space:normal;overflow-wrap:anywhere;line-height:1.5}.project-tile-client>footer>i{grid-column:3;grid-row:2}
.project-link-list{display:grid;gap:8px;margin-bottom:12px}.project-link-editor{display:grid;grid-template-columns:140px minmax(0,1fr) 34px;gap:8px;align-items:center}.project-link-editor select,.project-link-editor input{min-width:0}.project-link-editor .icon-btn{width:34px;height:34px;color:#9b4b55}
.project-project-members{display:grid;gap:8px}.project-member-row{display:grid;grid-template-columns:18px minmax(145px,.9fr) repeat(3,minmax(115px,1fr));gap:8px;align-items:center;padding:9px;border:1px solid #e2e8f1;border-radius:9px;background:#fbfdff}.project-member-row>input[type=checkbox]{width:16px;height:16px;accent-color:#2f6bd7}.project-member-row span,.project-member-row strong,.project-member-row small{display:block;min-width:0}.project-member-row strong{overflow:hidden;text-overflow:ellipsis;font-size:10px;white-space:nowrap}.project-member-row small{margin-top:3px;color:#8a96a7;font-size:8px}.project-member-row>input:not([type=checkbox]){padding:8px;font-size:10px}
.project-release-readonly{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 16px;align-items:center;margin-top:14px;padding:12px 13px;border:1px solid #cfddf6;border-radius:9px;background:#f1f6ff}.project-release-readonly span{color:#60728c;font-size:10px;font-weight:700}.project-release-readonly strong{color:#2259b5;font-size:13px;text-align:right}.project-release-readonly small{grid-column:1/-1;color:#8190a6;font-size:9px}
.project-passport-view{overflow:hidden;border:1px solid #e3e8f0;border-radius:13px;background:#f6f8fb}.project-passport-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 16px;border-bottom:1px solid #e3e8f0;background:#fff}.project-passport-toolbar h3{margin:3px 0 0;font-size:14px}.project-passport-actions{display:flex;align-items:center;gap:6px}.project-passport-actions .button{min-height:28px;padding:5px 9px;gap:5px;font-size:11px}.project-passport-actions .project-icon-action{flex:0 0 28px;width:28px;height:28px;padding:0}.project-passport-toolbar .button .icon{width:14px;height:14px}.project-passport-body{padding:18px;background:#f6f8fb}.project-view-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin:0}.project-view-facts>div{padding:10px 0;border-bottom:1px solid #edf0f5}.project-view-facts>div:nth-last-child(-n+2){border-bottom:0}.project-view-facts dt{margin-bottom:4px;color:#8a95a6;font-size:9px}.project-view-facts dd{margin:0;color:#263750;font-size:11px;font-weight:600;overflow-wrap:anywhere}.project-view-description{margin:0;color:#526078;font-size:12px;line-height:1.65;white-space:pre-wrap}.project-view-links{display:grid;gap:8px}.project-view-links>a{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 11px;border:1px solid #dbe4f0;border-radius:9px;background:#f8fbff;color:#245bb7;text-decoration:none}.project-view-links>a:hover{border-color:#a9c4f1;background:#f1f6ff}.project-view-links>a>span{display:grid;grid-template-columns:20px minmax(0,1fr);align-items:center;min-width:0}.project-view-links>a .icon{grid-row:1/3;width:15px}.project-view-links>a strong,.project-view-links>a small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-view-links>a strong{font-size:11px}.project-view-links>a small{color:#8090a7;font-size:9px}.project-view-links>a>.icon{width:14px;flex:0 0 auto}.project-view-team{display:grid;gap:7px}.project-view-team article{display:grid;grid-template-columns:30px minmax(0,1fr);gap:9px;padding:9px 0;border-top:1px solid #edf0f5}.project-view-team article:first-child{border-top:0}.project-view-team article>span{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#dce8ff;color:#2a5db7;font-size:11px;font-weight:800}.project-view-team strong,.project-view-team small{display:block}.project-view-team strong{font-size:11px}.project-view-team small{margin-top:2px;color:#2a62c0;font-size:9px}.project-view-team p{margin:4px 0 0;color:#758196;font-size:9px}.project-vendor-view>.button{margin-top:12px}
@media(max-width:1180px){.project-member-row{grid-template-columns:18px minmax(145px,1fr) minmax(120px,1fr)}.project-member-row>input:nth-of-type(n+3){grid-column:3}.project-passport-body{grid-template-columns:1fr}}
@media(max-width:760px){.project-link-editor{grid-template-columns:1fr 34px}.project-link-editor select{grid-column:1}.project-link-editor input{grid-column:1}.project-link-editor .icon-btn{grid-column:2;grid-row:1/3}.project-member-row{grid-template-columns:18px 1fr}.project-member-row>input:not([type=checkbox]){grid-column:2}.project-passport-toolbar{align-items:flex-start;flex-direction:column}.project-passport-actions{flex-wrap:wrap}.project-view-facts{grid-template-columns:1fr}.project-view-facts>div:nth-last-child(-n+2){border-bottom:1px solid #edf0f5}.project-view-facts>div:last-child{border-bottom:0}}

.project-card-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}.project-card-actions .button{min-height:30px;padding:6px 10px;font-size:10px}.project-delete-warning{margin:0;padding:14px;border:1px solid #ffd7df;border-radius:9px;background:#fff7f8;color:#9f2f44;font-size:12px;line-height:1.55}.project-project-members,.project-member-editor{min-width:0}.project-member-block{overflow:hidden;border:1px solid #dbe2ec;border-radius:10px;background:#fff}.project-member-selected{display:grid;gap:8px;max-height:220px;padding:10px;overflow-y:auto;background:#f8fafc}.project-member-selected>.muted{margin:0;padding:7px 4px}.project-member-row{grid-template-columns:repeat(2,minmax(0,1fr)) 34px}.project-member-person{display:flex!important;grid-column:1/3;grid-row:1;align-items:center;gap:9px}.project-member-row>[data-member-role]{grid-column:1;grid-row:2}.project-member-row>[data-member-section]{grid-column:2;grid-row:2}.project-member-avatar{display:grid!important;place-items:center;width:30px;height:30px;flex:none;border-radius:9px;background:#e3edff;color:#285eb7;font-size:11px;font-weight:800}.project-member-row>.icon-btn{grid-column:3;grid-row:1;width:34px;height:34px;color:#cf3f58}.project-member-picker{display:grid;min-height:0;border-top:1px solid #e4e9f1;background:#fff}.project-member-picker>label{display:flex;align-items:center;gap:8px;padding:0 10px;border:0;border-bottom:1px solid #e4e9f1;border-radius:0;background:#fff}.project-member-picker>label .icon{width:16px;color:#8190a6}.project-member-picker>label input{border:0;outline:0}.project-member-options{position:static;display:grid;align-content:start;height:220px;padding:6px;overflow-y:auto;border:0;border-radius:0;background:#fff;box-shadow:none}.project-member-options>button{display:grid;grid-template-columns:30px minmax(0,1fr) 18px;align-items:center;gap:9px;width:100%;padding:9px;border:0;border-radius:8px;background:transparent;text-align:left;cursor:pointer}.project-member-options>button:hover{background:#eef4ff}.project-member-options strong,.project-member-options small{display:block}.project-member-options strong{font-size:11px}.project-member-options small{margin-top:3px;color:#8290a4;font-size:9px}.project-member-options>button>.icon{width:15px;color:#2f6bd7}.project-member-options>.muted{padding:14px;text-align:center}

@media(max-width:760px){.project-card-actions{justify-content:flex-start}.project-iterations header,.project-ideas header{align-items:flex-start;flex-direction:column}.project-member-row{grid-template-columns:1fr 34px}.project-member-row>.project-member-person{grid-column:1}.project-member-row>[data-member-role]{grid-column:1;grid-row:2}.project-member-row>[data-member-section]{grid-column:1;grid-row:3}.project-member-row>.icon-btn{grid-column:2;grid-row:1}.project-releases .project-card-actions{grid-column:2}}

.project-iteration-dialog{width:min(1040px,94vw);max-width:1040px}.project-iteration-workspace{display:grid;gap:16px}.project-iteration-overview{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding-bottom:15px;border-bottom:1px solid #e5eaf1}.project-iteration-overview h3{margin:8px 0 5px;font-size:20px}.project-iteration-overview p{max-width:720px;margin:0;color:#65748b;font-size:12px;line-height:1.55}.project-iteration-meta{display:flex;align-items:center;gap:9px;color:#7c8799;font-size:10px}.project-iteration-section{padding:16px;border:1px solid #e3e9f2;border-radius:12px;background:#fbfcfe}.project-iteration-section>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}.project-iteration-section>header h3{margin:0;font-size:14px}.project-iteration-section>header p{margin:4px 0 0;color:#7d899b;font-size:10px}.project-iteration-section>header>span{display:grid;place-items:center;min-width:24px;height:24px;padding:0 7px;border-radius:12px;background:#e8f0ff;color:#2b61bc;font-size:10px;font-weight:700}.project-iteration-ideas{display:grid;gap:10px}.project-iteration-idea{padding:13px;border:1px solid #e2e8f1;border-radius:10px;background:#fff}.project-iteration-idea>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.project-iteration-idea h4{margin:6px 0 3px;font-size:13px}.project-iteration-idea header p{margin:0;color:#758196;font-size:10px}.project-iteration-tasks{display:grid;gap:5px;margin-top:11px}.project-iteration-tasks>button{display:grid;grid-template-columns:25px minmax(0,1fr) auto 16px;align-items:center;gap:9px;width:100%;padding:9px;border:1px solid #edf0f5;border-radius:8px;background:#f9fbfd;text-align:left;cursor:pointer}.project-iteration-tasks>button:hover{border-color:#bfd2f3;background:#f2f7ff}.project-iteration-tasks strong,.project-iteration-tasks small{display:block}.project-iteration-tasks strong{font-size:11px}.project-iteration-tasks small{margin-top:3px;color:#8995a7;font-size:9px}.project-iteration-tasks>button>.icon{width:14px;color:#6c7f9c}.project-task-order{display:grid;place-items:center;width:24px;height:24px;border-radius:8px;background:#e6efff;color:#2f64bd;font-size:10px;font-weight:800}.project-review,.project-running{background:#fff4d8;color:#92620d}.project-paused{background:#edf0f4;color:#677386}.project-done{background:#e5f7ef;color:#167854}.project-iteration-comment-list{display:grid;gap:10px}.project-iteration-comment-list>article{display:grid;grid-template-columns:32px minmax(0,1fr);gap:9px}.project-iteration-comment-list>article>span{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:#dfeaff;color:#285db5;font-size:11px;font-weight:800}.project-iteration-comment-list strong{font-size:11px}.project-iteration-comment-list time{margin-left:7px;color:#929dae;font-size:9px}.project-iteration-comment-list p{margin:4px 0 0;padding:9px 11px;border:1px solid #e6eaf1;border-radius:2px 9px 9px;background:#fff;font-size:11px;line-height:1.5}.project-iteration-comments>form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px;margin-top:13px}.project-iteration-comments textarea{min-height:68px;padding:9px 10px;border:1px solid #dbe2ec;border-radius:8px;resize:vertical}.project-iteration-comments .project-alert{grid-column:1/-1;margin:0}.project-iteration-comments .button{min-height:40px}
.project-iteration-tabs{display:flex;align-items:center;gap:4px;padding:4px;border:1px solid #dfe6f0;border-radius:10px;background:#f3f6fa}.project-iteration-tabs button{display:flex;align-items:center;justify-content:center;gap:7px;min-width:130px;padding:9px 14px;border:0;border-radius:7px;background:transparent;color:#68778d;font-size:11px;font-weight:700;cursor:pointer}.project-iteration-tabs button.is-active{background:#fff;color:#255fc2;box-shadow:0 2px 9px #29405f14}.project-iteration-tabs span{display:grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:#e7eef9;font-size:9px}.project-iteration-board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:start}.project-iteration-column{min-width:0;padding:11px;border:1px solid #e1e7f0;border-radius:12px;background:#f6f8fb}.project-iteration-column>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.project-iteration-column>header h3{margin:0;font-size:12px}.project-iteration-column>header span{display:grid;place-items:center;min-width:23px;height:23px;padding:0 6px;border-radius:12px;background:#fff;color:#64748c;font-size:9px;font-weight:800}.project-iteration-column>div{display:grid;gap:9px}.project-iteration-planned{border-top:3px solid #7f98c4}.project-iteration-working{border-top:3px solid #e8a12f}.project-iteration-completed{border-top:3px solid #2ca878}.project-iteration-task-card{overflow:hidden;border:1px solid #dfe6ef;border-radius:10px;background:#fff;box-shadow:0 3px 12px #2539580a}.project-iteration-task-card>header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:6px;padding:10px}.project-iteration-task-card>header>button{display:grid;grid-template-columns:25px minmax(0,1fr);align-items:center;gap:8px;min-width:0;padding:0;border:0;background:transparent;text-align:left;cursor:pointer}.project-iteration-task-card strong,.project-iteration-task-card small{display:block}.project-iteration-task-card strong{font-size:10px;line-height:1.35}.project-iteration-task-card small{margin-top:3px;color:#8995a7;font-size:8px}.project-iteration-task-card .project-pill{font-size:7px;white-space:nowrap}.project-iteration-task-card>footer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 9px;border-top:1px solid #edf1f6;background:#fbfcfe}.project-iteration-task-card>footer>span{color:#8390a3;font-size:8px}.project-iteration-task-card>footer div{display:flex;gap:4px}.project-iteration-task-card>footer button{display:grid;place-items:center;width:25px;height:23px;border:1px solid #d8e1ee;border-radius:6px;background:#fff;color:#4f6e9e;cursor:pointer}.project-iteration-task-card>footer button:disabled{opacity:.35;cursor:default}.project-iteration-subtasks{display:grid;gap:5px;margin:0 10px 10px;padding:8px;list-style:none;border-radius:8px;background:#f6f8fb}.project-iteration-subtasks li{display:grid;grid-template-columns:16px minmax(0,1fr);align-items:center;gap:5px;color:#59677c;font-size:8px}.project-iteration-subtasks li>span{display:grid;place-items:center;width:14px;height:14px;border:1px solid #c8d3e2;border-radius:4px;background:#fff}.project-iteration-subtasks li>span .icon{width:10px}.project-iteration-subtasks li.is-done{color:#8793a4;text-decoration:line-through}.project-iteration-subtasks li.is-done>span{border-color:#75c6a8;background:#def4ea;color:#147755}.project-iteration-files .project-idea-files{margin-top:0}

@media(max-width:980px){.project-iteration-board{grid-template-columns:1fr}.project-iteration-column>div{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.project-iteration-overview,.project-iteration-idea>header{flex-direction:column}.project-iteration-tabs{width:100%}.project-iteration-tabs button{flex:1;min-width:0}.project-iteration-column>div{grid-template-columns:1fr}.project-iteration-tasks>button{grid-template-columns:25px minmax(0,1fr) 16px}.project-iteration-tasks .project-pill{grid-column:2}.project-iteration-tasks>button>.icon{grid-column:3;grid-row:1/3}.project-iteration-comments>form{grid-template-columns:1fr}.project-iteration-comments .button{justify-self:end}}

.modal.project-iteration-dialog{width:calc(100vw - 48px);max-width:none;height:calc(100dvh - 48px);max-height:none;overflow:hidden}.modal.project-iteration-dialog[open]{display:flex;flex-direction:column}.project-iteration-dialog>.modal-head{flex:0 0 auto}.project-iteration-dialog>.modal-body{flex:1 1 auto;overflow:auto;overscroll-behavior:contain}.project-iteration-workspace{width:min(1440px,100%);margin:0 auto}.project-iteration-dock{position:fixed;right:calc(var(--rail-width,54px) + 20px);bottom:20px;z-index:95;display:grid;grid-template-columns:minmax(220px,1fr) 38px;align-items:stretch;max-width:min(420px,calc(100vw - 32px));border:1px solid #cddaf0;border-radius:12px;background:#fff;box-shadow:0 12px 35px #1c35572d;overflow:hidden}.project-iteration-dock>button:first-child{display:grid;gap:2px;padding:10px 14px;border:0;background:#fff;text-align:left;cursor:pointer}.project-iteration-dock span{color:#2c67d8;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.project-iteration-dock strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#1e2b43;font-size:12px}.project-iteration-dock small{color:#7c899d;font-size:9px}.project-iteration-dock-close{display:grid;place-items:center;border:0;border-left:1px solid #e4e9f2;background:#f7f9fc;color:#6d7a8e;cursor:pointer}.project-iteration-dock-close .icon{width:15px}.project-idea-dialog{width:min(760px,calc(100vw - 32px))}.project-idea-popup{display:grid;gap:14px}.project-idea-popup>header{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:20px}.project-idea-popup h3{margin:8px 0 4px;font-size:20px}.project-idea-popup header p,.project-idea-popup section p{margin:0;color:#66758b;line-height:1.6}.project-idea-popup dl{display:grid;gap:8px;margin:0}.project-idea-popup dl>div{padding:10px;border-radius:8px;background:#f6f8fc}.project-idea-popup dt{color:#8692a4;font-size:9px;text-transform:uppercase}.project-idea-popup dd{margin:3px 0 0;font-size:11px;font-weight:700}.project-idea-popup section{padding:13px;border:1px solid #e5eaf2;border-radius:10px}.project-idea-popup h4{margin:0 0 8px;font-size:12px}.project-idea-popup ol{display:grid;gap:7px;margin:0;padding-left:22px;color:#42516a;font-size:11px}

@media(max-width:760px){.modal.project-iteration-dialog{width:calc(100vw - 12px);height:calc(100dvh - 12px);max-height:none}.project-iteration-dialog>.modal-body{padding:14px}.project-iteration-dock{right:8px;bottom:calc(8px + env(safe-area-inset-bottom,0px));left:8px;max-width:none}.project-idea-popup>header{grid-template-columns:1fr}}

.project-readiness{padding:18px;border:1px solid #dfe6ef;border-radius:12px;background:#fff}.project-readiness>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.project-readiness h3{margin:0;font-size:15px}.project-readiness header p{margin:4px 0 0;color:#7b8799;font-size:10px}.project-readiness header strong{color:#2463c6;font-size:17px}.project-readiness>progress{width:100%;height:8px;margin:14px 0;border:0;border-radius:6px;overflow:hidden}.project-readiness>ol{display:grid;gap:8px;margin:0;padding:0;list-style:none}.project-readiness>ol>li{padding:10px;border:1px solid #e4e9f1;border-radius:10px;background:#fafbfd}.project-readiness>ol>li>button{display:grid;grid-template-columns:30px minmax(0,1fr);align-items:center;gap:10px;width:100%;padding:0;border:0;background:transparent;text-align:left;cursor:pointer}.project-readiness-check{display:grid;place-items:center;width:28px;height:28px;border:1px solid #cad5e5;border-radius:8px;background:#fff;color:#557096;font-size:10px;font-weight:800}.project-readiness .is-done>.project-readiness-check,.project-readiness>ol>li.is-done .project-readiness-check{border-color:#7bc9aa;background:#e2f6ed;color:#137652}.project-readiness button strong,.project-readiness button small{display:block}.project-readiness button strong{font-size:11px}.project-readiness button small{margin-top:3px;color:#8490a2;font-size:9px}.project-readiness ul{display:grid;gap:5px;margin:9px 0 0 40px;padding:0;list-style:none}.project-readiness ul li{display:flex;align-items:center;gap:6px;color:#66748a;font-size:9px}.project-readiness ul li.is-done{color:#819088;text-decoration:line-through}.project-readiness ul .icon{width:12px;color:#16805b}
.modal.project-idea-dialog{width:calc(100vw - 48px);max-width:1540px;height:calc(100dvh - 48px);max-height:none;overflow:hidden}.modal.project-idea-dialog[open]{display:flex;flex-direction:column}.project-idea-dialog>.modal-head{flex:0 0 auto}.project-idea-dialog>.modal-body{flex:1;min-height:0;padding:0;overflow:hidden}.project-idea-workspace{display:grid;grid-template-rows:auto minmax(0,1fr);height:100%;min-height:0}.project-idea-head{padding:18px 22px;border-bottom:1px solid #e4e9f1;background:#fff}.project-idea-head>div>span:not(.project-pill){display:inline-block;margin-left:8px;color:#65748b;font-size:10px;font-weight:800;letter-spacing:.05em}.project-idea-columns{display:grid;grid-template-columns:minmax(320px,.84fr) minmax(380px,1.16fr);min-height:0;overflow:hidden}.project-idea-columns>main{display:grid;align-content:start;gap:12px;min-width:0;min-height:0;padding:18px 20px 28px;overflow-y:auto;background:#f6f8fb}.project-idea-editor-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(310px,.75fr);gap:16px;align-items:start}.project-idea-chat{display:grid;grid-template-rows:auto minmax(0,1fr) auto;min-width:0;min-height:0;height:100%;border-left:1px solid #dce5f1;background:#fff}.project-idea-chat>header{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:66px;padding:14px 18px;border-bottom:1px solid #e0e7f1;background:#fff}.project-idea-chat h4,.project-idea-moderators h3{margin:0}.project-idea-chat h4{font-size:14px}.project-idea-chat header small,.project-idea-moderators>p{color:#7e899b;font-size:9px}.project-notification-toggle{display:flex;align-items:center;gap:6px;color:#5d6b80;font-size:9px}.project-idea-chat-list{display:grid;align-content:start;gap:14px;min-height:0;max-height:none;padding:22px 24px;overflow-y:auto;background:radial-gradient(circle at 12px 12px,#ffffff70 1px,transparent 1.5px) 0 0/24px 24px,linear-gradient(135deg,#eaf7f4,#eaf2ff)}.project-idea-chat-list>.muted{place-self:center;padding:14px 18px;border-radius:18px;background:#ffffffbf;color:#76859a}.project-idea-chat-list>article{display:grid;grid-template-columns:34px minmax(0,1fr);gap:9px;align-items:start;max-width:min(620px,88%)}.project-idea-chat-list>article>span,.project-person-avatar{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#dfeaff;color:#285db5;font-size:10px;font-weight:800}.project-idea-chat-list strong{font-size:10px}.project-idea-chat-list time{margin-left:6px;color:#78869a;font-size:8px}.project-idea-chat-list p{margin:5px 0 0;padding:10px 12px;border:1px solid #dbe5ef;border-radius:3px 13px 13px;background:#fff;color:#36465f;font-size:11px;line-height:1.55;box-shadow:0 5px 16px #3152720c}.project-idea-chat form{display:grid;grid-template-columns:minmax(0,1fr) 48px;align-items:end;gap:10px;padding:14px 18px 16px;border-top:1px solid #dfe6f0;background:#fff}.project-idea-chat textarea{min-height:50px;max-height:130px;margin:0;padding:14px 15px;border:1px solid #d7e0ec;border-radius:16px;background:#f8fafc;resize:none}.project-idea-chat form .button{display:grid;place-items:center;width:48px;height:48px;min-height:48px;padding:0;border-radius:50%;font-size:0}.project-idea-chat form .button .icon{width:19px;height:19px}.project-idea-votes{display:grid;gap:9px}.project-idea-votes>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.project-idea-votes>article{display:grid;grid-template-columns:30px minmax(0,1fr);gap:9px;align-items:start;padding:8px;border-radius:9px;background:#f7f9fc}.project-idea-votes article strong,.project-idea-votes article small{display:block}.project-idea-votes article strong{font-size:10px}.project-idea-votes article small{margin-top:2px;color:#78869a;font-size:9px}.project-idea-votes article p{margin:4px 0 0;font-size:9px}.project-idea-votes form{display:grid;grid-template-columns:1fr 1fr auto;gap:8px;align-items:end;margin-top:5px}.project-idea-checklist{padding-left:0!important;list-style:none}.project-idea-checklist li{display:grid;grid-template-columns:25px minmax(0,1fr);align-items:center;gap:8px}.project-idea-checklist li>span{display:grid;place-items:center;width:23px;height:23px;border-radius:7px;background:#e7eef9;color:#2c61b9;font-size:9px;font-weight:800}.project-idea-editor-layout>main{display:grid;gap:13px}.project-idea-moderators{position:sticky;top:0;display:grid;gap:12px;padding:14px;border:1px solid #dfe6ef;border-radius:12px;background:#f8fafc}.project-idea-moderators>input{width:100%;padding:9px 10px;border:1px solid #d5deeb;border-radius:8px}.project-idea-moderators>[data-project-idea-moderators]{display:grid;gap:6px;max-height:48vh;overflow:auto}.project-idea-moderators [data-search]{display:grid;grid-template-columns:18px 30px minmax(0,1fr);align-items:center;gap:8px;padding:8px;border-radius:9px;background:#fff;cursor:pointer}.project-idea-moderators [data-search] span:last-child strong,.project-idea-moderators [data-search] span:last-child small{display:block}.project-idea-moderators [data-search] strong{font-size:10px}.project-idea-moderators [data-search] small{color:#7b8798;font-size:8px}
@media(max-width:850px){.modal.project-idea-dialog{width:calc(100vw - 12px);height:calc(100dvh - 12px)}.project-idea-dialog>.modal-body{overflow:auto}.project-idea-workspace{height:auto;min-height:100%}.project-idea-columns,.project-idea-editor-layout{grid-template-columns:1fr;overflow:visible}.project-idea-columns>main{overflow:visible}.project-idea-chat{min-height:72dvh;border-top:1px solid #dce5f1;border-left:0}.project-idea-moderators{position:static}.project-idea-votes form{grid-template-columns:1fr}.project-iteration-tabs{overflow:auto}.project-iteration-tabs button{min-width:max-content}}

.projects-shell.is-catalog,.projects-shell.is-workspace{display:block;min-height:0}.projects-catalog{display:grid;gap:22px}.project-type-switch{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-width:900px;padding:5px;border:1px solid #dce4f0;border-radius:14px;background:#edf2f8}.project-type-switch button{display:flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:10px 20px;border:0;border-radius:10px;background:transparent;color:#69778c;font-size:13px;font-weight:700;cursor:pointer}.project-type-switch button:hover{color:#245dbb}.project-type-switch button.is-active{background:#fff;color:#225bb9;box-shadow:0 4px 14px #29405f17}.project-type-switch b{display:grid;place-items:center;min-width:24px;height:24px;padding:0 7px;border-radius:12px;background:#dfe7f2;color:#65758c;font-size:10px}.project-type-switch .is-active b{background:#e5efff;color:#245db9}.projects-catalog-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:24px}.projects-catalog-toolbar h2{margin:0 0 5px;font-size:21px}.projects-catalog-toolbar p{margin:0;color:#758297;font-size:11px}.projects-catalog-actions{display:flex;align-items:center;gap:10px}.projects-catalog-toolbar .project-search{width:min(330px,100%);background:#fff}.projects-catalog-actions>.button{white-space:nowrap}.project-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.project-tiles>.project-empty{grid-column:1/-1;padding:70px 20px;border:1px dashed #d7dfeb;border-radius:14px;background:#fff}.project-tile{display:grid;grid-template-rows:auto auto minmax(58px,1fr) auto;gap:12px;min-width:0;padding:18px;border:1px solid #e0e6ef;border-radius:14px;background:#fff;color:#17233c;text-align:left;box-shadow:0 4px 16px #273a5608;cursor:pointer;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.project-tile:hover{transform:translateY(-2px);border-color:#b9cef2;box-shadow:0 10px 28px #25426916}.project-tile>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.project-tile .project-avatar{width:42px;height:42px;border-radius:11px;font-size:13px}.project-tile h3{margin:0;font-size:17px}.project-tile>p{display:-webkit-box;overflow:hidden;margin:0;color:#6d7a8e;font-size:11px;line-height:1.55;-webkit-box-orient:vertical;-webkit-line-clamp:3}.project-tile>footer{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 24px;align-items:end;gap:12px;padding-top:13px;border-top:1px solid #edf0f5}.project-tile footer span,.project-tile footer small,.project-tile footer strong{display:block;min-width:0}.project-tile footer small{margin-bottom:4px;color:#929daf;font-size:8px;text-transform:uppercase;letter-spacing:.04em}.project-tile footer strong{overflow:hidden;color:#40506a;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.project-tile footer i{display:grid;place-items:center;color:#3b6fc6}.project-tile footer i .icon{width:17px}.project-workspace-nav{display:flex;align-items:center;min-width:0;min-height:32px;padding:8px 16px;border-bottom:1px solid #eef1f6}.project-workspace-nav>strong{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.projects-shell.is-workspace .project-workspace{width:100%}

@media(max-width:1100px){.project-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.project-type-switch{max-width:none}.project-type-switch button{padding-inline:8px;font-size:11px}.projects-catalog-toolbar{align-items:stretch;flex-direction:column;gap:12px}.projects-catalog-actions{flex-wrap:wrap}.projects-catalog-toolbar .project-search{width:100%}.project-tiles{grid-template-columns:1fr}.project-tile{padding:15px}.project-tile>footer{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 20px}}

.project-idea-dialog>.modal-head{min-height:40px;padding:5px 14px}.project-idea-dialog>.modal-head h2{font-size:12px}.project-idea-head{grid-template-columns:minmax(0,1fr) auto!important;align-items:center;gap:12px!important;padding:8px 16px!important}.project-idea-title-line{display:flex;align-items:center;gap:8px;min-width:0}.project-idea-title-line>span:not(.project-pill){flex:none;margin:0!important}.project-idea-title-line h3{overflow:hidden;margin:0!important;font-size:14px!important;text-overflow:ellipsis;white-space:nowrap}.project-idea-head>div>p{overflow:hidden;margin-top:3px!important;font-size:9px;line-height:1.3!important;text-overflow:ellipsis;white-space:nowrap}.project-idea-head dl{display:flex!important;gap:6px!important}.project-idea-head dl>div{min-width:128px;padding:5px 8px!important}.project-idea-head dt{font-size:7px!important}.project-idea-head dd{margin-top:1px!important;font-size:9px!important}.project-idea-chat>header{min-height:48px;padding:8px 14px}.project-idea-chat-list>article{width:min(620px,88%);max-width:88%}.project-idea-chat-list>article>div{min-width:0}.project-idea-chat-list>article>div>header{display:flex;align-items:center;gap:6px}.project-idea-chat-list>article.is-mine{grid-template-columns:minmax(0,1fr) 30px;justify-self:end}.project-idea-chat-list>article.is-mine>.project-person-avatar{grid-column:2;grid-row:1}.project-idea-chat-list>article.is-mine>div{grid-column:1;grid-row:1}.project-idea-chat-list>article.is-mine>div>header{justify-content:flex-end}.project-idea-chat-list>article.is-mine>div>p{border-radius:13px 3px 13px 13px;background:#dceaff}.project-idea-message-quote{margin:5px 0 0;padding:7px 9px;border-left:3px solid #6e9ce8;border-radius:7px;background:#f5f8fd}.project-idea-message-quote small,.project-idea-message-quote p{display:block;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}.project-idea-message-quote small{color:#3863a8;font-size:8px;font-weight:800}.project-idea-message-quote p{margin-top:3px!important;color:#647086!important;font-size:9px!important}.project-idea-message-actions{display:flex;align-items:center;gap:3px;margin-top:4px}.is-mine .project-idea-message-actions{justify-content:flex-end}.project-idea-message-actions>button{display:grid;place-items:center;width:24px;height:22px;padding:0;border:0;border-radius:6px;background:transparent;color:#718096;font-size:13px;cursor:pointer}.project-idea-message-actions>button:hover{background:#ffffffb8;color:#245fc4}.project-idea-read-state{position:relative;margin-left:3px;color:#63809d;font-size:8px}.project-idea-read-state>button{width:auto;min-width:32px;padding:0 4px;color:#2b71cf;font-size:8px}.project-idea-reader-list{position:absolute;right:0;bottom:27px;z-index:8;display:grid;gap:6px;width:210px;padding:8px;border:1px solid #d9e2ef;border-radius:9px;background:#fff;box-shadow:0 10px 26px #1f355627}.project-idea-reader-list[hidden]{display:none}.project-idea-reader-list>span{display:grid;grid-template-columns:26px minmax(0,1fr);align-items:center;gap:7px}.project-idea-reader-list b{display:grid;place-items:center;width:25px;height:25px;border-radius:8px;background:#e4edfc;color:#2860b8}.project-idea-reader-list strong,.project-idea-reader-list small{display:block}.project-idea-reader-list strong{font-size:9px}.project-idea-reader-list small{margin-top:2px;color:#8490a2;font-size:8px}.project-idea-message-files,.project-idea-comment-files{display:grid;gap:5px;margin-top:6px}.project-idea-message-files .attachment-chip,.project-idea-comment-files .attachment-chip{min-width:0;padding:6px 8px;background:#ffffffc9}.project-idea-chat>form{position:relative;display:grid;grid-template-columns:1fr;gap:6px;padding:8px 12px 10px}.project-idea-compose-row{display:grid;grid-template-columns:64px minmax(0,1fr) 42px;align-items:end;gap:7px}.project-idea-compose-tools{display:grid;grid-template-columns:repeat(2,30px);gap:4px}.project-idea-compose-tools>label,.project-idea-compose-tools>button{display:grid;place-items:center;width:30px;height:30px;padding:0;border:1px solid #d7e0ec;border-radius:8px;background:#fff;color:#587399;font-size:14px;font-weight:800;cursor:pointer}.project-idea-compose-tools .icon{width:14px}.project-idea-compose-row textarea{min-height:42px;max-height:96px;padding:10px 12px;border-radius:12px}.project-idea-compose-row>.button{width:42px;height:42px;min-height:42px}.project-idea-composer-context{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 8px;border-left:3px solid #3975d8;border-radius:7px;background:#f1f6ff}.project-idea-composer-context strong,.project-idea-composer-context small{display:block}.project-idea-composer-context strong{font-size:9px}.project-idea-composer-context small{overflow:hidden;max-width:520px;margin-top:2px;color:#718096;font-size:8px;text-overflow:ellipsis;white-space:nowrap}.project-idea-composer-context button{display:grid;place-items:center;width:26px;height:26px;padding:0;border:0;background:transparent}.project-idea-mention-picker{position:absolute;right:12px;bottom:68px;left:12px;z-index:9;padding:8px;border:1px solid #d8e2ef;border-radius:10px;background:#fff;box-shadow:0 12px 30px #1c35582b}.project-idea-mention-picker[hidden]{display:none}.project-idea-mention-picker>input{width:100%;padding:8px 9px;border:1px solid #d9e1ec;border-radius:7px}.project-idea-mention-picker>div{display:grid;max-height:180px;margin-top:6px;overflow:auto}.project-idea-mention-picker button{display:grid;grid-template-columns:30px minmax(0,1fr);align-items:center;gap:8px;padding:7px;border:0;border-radius:7px;background:#fff;text-align:left;cursor:pointer}.project-idea-mention-picker button:hover{background:#eef4ff}.project-idea-mention-picker strong,.project-idea-mention-picker small{display:block}.project-idea-mention-picker strong{font-size:9px}.project-idea-mention-picker small{color:#8490a2;font-size:8px}

@media(max-width:850px){.project-idea-head{grid-template-columns:1fr!important}.project-idea-head dl{width:100%}.project-idea-head dl>div{flex:1;min-width:0}.project-idea-compose-row{grid-template-columns:64px minmax(0,1fr) 42px}}

@media(max-width:480px){.project-type-switch{grid-template-columns:1fr;gap:2px}.project-type-switch button{min-height:40px;justify-content:space-between;padding:8px 12px}.project-type-switch b{flex-shrink:0}}

/* Account lead action and stage use only the visible server relation. */
.project-workspace .button.secondary.project-account-lead{color:#fff;text-decoration:none;border:1px solid transparent;white-space:nowrap}
.project-workspace .button.secondary.project-account-lead.needs-lead{background:#b32d36;border-color:#b32d36}
.project-workspace .button.secondary.project-account-lead.has-lead{background:#167854;border-color:#167854}
.project-workspace .button.secondary.project-account-lead.needs-lead:hover{background:#92242c;border-color:#92242c}
.project-workspace .button.secondary.project-account-lead.has-lead:hover{background:#106343;border-color:#106343}
.project-workspace .button.secondary.project-account-lead:focus-visible{outline:2px solid var(--text);outline-offset:3px}
.project-workspace .button.secondary.project-account-lead:disabled{cursor:wait;opacity:.75}
.project-account-lead-cell{display:flex;flex-direction:column;align-items:flex-start;gap:6px;max-width:260px}
.project-account-lead-cell .project-account-lead-stage{white-space:normal;overflow-wrap:anywhere;color:var(--text);line-height:1.4}

/* Source product identity remains distinct from the client project name. */
.project-logo-mark{position:relative;display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;overflow:hidden;border:1px solid #dfe7f2;border-radius:9px;background:#e9f0fb;color:#47648e;font-size:12px;font-weight:700}
.project-logo-mark img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#fff}
.project-passport-identity,.project-brand-select,.project-logo-editor{display:flex;align-items:center;gap:12px;min-width:0}.project-passport-identity h3{margin:0}.project-brand-select select{flex:1;min-width:0}
.project-logo-editor>div{display:flex;flex-wrap:wrap;gap:8px}.project-logo-editor .project-logo-mark{width:64px;height:64px}.project-logo-editor label{position:relative;overflow:hidden;cursor:pointer}.project-logo-editor input[type="file"]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.project-logo-editor label:focus-within{outline:2px solid #6496e8;outline-offset:2px}
.project-source-badge{display:inline-flex;align-items:center;gap:9px;max-width:100%;padding:7px 10px;border:1px solid #dce5f1;border-radius:10px;background:#f3f7fc;text-align:left;vertical-align:middle}
.project-source-mark{position:relative;display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;overflow:hidden;border-radius:8px;background:#e3eaf4;color:#536780;font-size:12px;font-weight:700}
.project-source-mark img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#fff}
.project-source-copy{display:grid;gap:3px;min-width:0}.project-source-copy strong{color:#233b59;font-size:12px;overflow-wrap:anywhere}.project-source-copy small{color:#74839a;font-size:10px}
.project-tile>.project-source-badge{margin:0 0 10px}.project-view-facts dd>.project-source-badge{margin:2px 0}

/* Compact CRM participant pickers keep selected records and the draft in place. */
.project-participant-picker{position:relative;display:grid;gap:8px;min-width:0}
.project-participant-toolbar{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px}
.project-participant-search{display:flex;align-items:center;gap:8px;min-width:0;padding:0 10px;border:1px solid #d8e1ee;border-radius:9px;background:#fff}
.project-participant-search>span{display:flex;color:#8291a7}.project-participant-search .icon{width:16px;height:16px}
.project-participant-search input{width:100%;min-width:0;padding:10px 0;border:0;border-radius:9px;outline:none;background:transparent;font-size:11px}
.project-participant-search:focus-within{border-color:#6d9eea;box-shadow:0 0 0 2px #e8f0ff}
.project-participant-selected{display:grid;gap:6px}.project-participant-selected>.muted{margin:0;padding:3px 0;font-size:10px}
.project-participant-selected>article{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;padding:8px 10px;border:1px solid #e1e8f2;border-radius:9px;background:#f7faff}
.project-participant-selected>article>div{min-width:0}.project-participant-selected>article>span{display:flex;align-items:center;flex-shrink:0;gap:5px}
.project-participant-selected strong,.project-participant-selected small,.project-participant-results strong,.project-participant-results small{display:block;overflow-wrap:anywhere}
.project-participant-selected strong,.project-participant-results strong{color:#30476b;font-size:11px}.project-participant-selected small,.project-participant-results small{margin-top:3px;color:#7c899d;font-size:10px;line-height:1.4}
.project-participant-selected .project-client-primary{margin:3px 0 0;color:#2862c5;font-weight:700}.project-participant-selected .button{min-height:26px;padding:4px 7px;font-size:9px}
.project-participant-remove{display:grid;place-items:center;width:26px;height:26px;padding:0;border:0;border-radius:6px;background:transparent;color:#7f8da1;cursor:pointer}.project-participant-remove .icon{width:14px;height:14px}.project-participant-remove:hover{background:#e5edfa;color:#245fbd}.project-participant-remove:disabled{opacity:.35;cursor:default}
.project-participant-expand{justify-self:start;padding:2px 0;font-size:10px;white-space:nowrap}
.project-participant-menu{position:absolute;top:calc(100% + 4px);right:0;left:0;z-index:6;min-width:0;overflow:hidden;border:1px solid #d8e3f2;border-radius:10px;background:#fff;box-shadow:0 10px 28px #243d6026}.project-participant-menu[hidden]{display:none}
.project-participant-results{display:grid;gap:2px;max-height:220px;padding:5px;overflow-y:auto;overscroll-behavior:contain}.project-participant-results>.muted{margin:0;padding:12px;font-size:11px}
.project-participant-results>button{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-width:0;padding:9px;border:0;border-radius:7px;background:#fff;text-align:left;cursor:pointer}.project-participant-results>button>span{min-width:0}.project-participant-results>button>.icon{flex-shrink:0;width:15px;color:#5882c4}.project-participant-results>button:hover,.project-participant-results>button:focus-visible{outline:none;background:#edf4ff}
.project-participant-picker.is-expanded .project-participant-menu{position:static;grid-column:1/-1;box-shadow:none}.project-participant-picker.is-expanded .project-participant-results{max-height:420px}
@media(max-width:600px){.project-participant-selected>article{align-items:flex-start}.project-participant-selected>article>span{flex-direction:column;align-items:flex-end}.project-participant-picker.is-expanded .project-participant-results{max-height:340px}}
