/* FadiTec Projects v0.5: private project logos, editable categories and assignee UX */
.project-logo-upload{display:flex;align-items:center;gap:18px;padding:18px;background:#fafbfc;border:1px dashed #d9e2e5;border-radius:15px}
.project-logo-preview{width:114px;height:114px;flex:0 0 114px;display:grid;place-items:center;border-radius:18px;overflow:hidden;background:#edf2f4;color:#799099;font-size:29px;border:1px solid #e1e9ec}
.project-logo-preview img{width:100%;height:100%;object-fit:contain;display:block;background:#fff;padding:6px}
.project-logo-preview img[hidden]{display:none}
.project-logo-fields{min-width:0;flex:1}
.project-logo-fields .form-control{max-width:100%}
.field-management-link{display:inline-flex;align-items:center;gap:7px;font-weight:700;font-size:11px;margin-top:7px;color:#bd202d}
.field-management-link:hover{text-decoration:underline}
.project-card-logo{background:color-mix(in srgb,var(--category-color,#60727c) 10%,#fff);color:var(--category-color,#60727c);overflow:hidden}
.project-card-logo img{width:100%;height:100%;object-fit:contain;display:block;background:#fff;padding:3px;border-radius:inherit}
.project-card-icon.project-card-logo{width:55px;height:55px;border-radius:15px;font-size:22px;border:1px solid #e9edef}
.recent-project-icon.project-card-logo{border:1px solid #e7ebed}
.project-heading-identity{display:flex;align-items:center;gap:17px;min-width:0}
.project-heading-identity>div{min-width:0}
.project-heading-logo{height:78px;width:78px;flex:0 0 78px;display:grid;place-items:center;overflow:hidden;border-radius:18px;background:#fff;border:1px solid #e5ebed;box-shadow:0 5px 18px #1d313a10}
.project-heading-logo img{width:100%;height:100%;object-fit:contain;padding:5px}
.category-edit-card{border:1px solid #e5eaec;background:#fff;border-radius:15px;padding:17px 19px;margin-bottom:15px}
.category-edit-card:last-child{margin-bottom:0}
.category-edit-heading{display:flex;align-items:center;gap:10px;margin-bottom:15px}
.category-edit-heading>div{flex:1;min-width:0}
.category-edit-heading strong{font-size:13px;display:block;color:#25373f}
.category-edit-heading small{display:block;color:#8a979d;font-size:11px}
.category-symbol{height:42px;width:42px;flex:0 0 42px;display:grid;place-items:center;border-radius:13px;background:color-mix(in srgb,var(--category-color) 11%,white);color:var(--category-color);font-size:18px}
.category-edit-card .form-control,.category-edit-card .form-select{font-size:12px}
.category-edit-foot{border-top:1px solid #eff1f3;margin-top:15px;padding-top:13px;display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.category-color-input{width:100%;max-width:100%;padding:5px 8px;cursor:pointer}
.assignee-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.assignee-choice{position:relative;display:flex;align-items:center;gap:10px;min-width:0;cursor:pointer;border:1px solid #e1e9eb;border-radius:13px;background:#fff;padding:11px 12px;transition:border-color .15s,background .15s}
.assignee-choice:has(input:checked){background:#fff6f6;border-color:#df9da3}
.assignee-choice:focus-within{outline:3px solid #e47880;outline-offset:1px}
.assignee-choice input{accent-color:#cf1926;flex:0 0 auto;width:16px;height:16px}
.assignee-choice .avatar-small{width:34px;height:34px;border-radius:10px;font-size:12px;background:#ecf2f4;color:#466b75}
.assignee-choice-copy{display:block;min-width:0;flex:1}
.assignee-choice-copy strong{display:block;font-size:12px;line-height:1.5;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#2e424b}
.assignee-choice-copy small{display:block;color:#85949a;font-size:10px}
.assignee-choice-check{color:#c51e2a;opacity:0;transition:opacity .15s}
.assignee-choice:has(input:checked) .assignee-choice-check{opacity:1}
.task-assignee-list{display:grid;gap:10px;margin-top:6px}
.task-assignee-person{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid #eef1f2;border-radius:11px;background:#fbfcfc}
.task-assignee-person .avatar{width:37px;height:37px;border-radius:11px;background:#eaf1f3;color:#496d77;font-size:13px}
.task-assignee-person strong{display:block;font-size:12.5px;color:#2c3e46}
.task-assignee-person small{display:block;color:#8d9ba0;font-size:10px}
.task-assignees-empty{display:flex;align-items:flex-start;gap:12px;padding:15px;border:1px dashed #e1e8ea;border-radius:12px;background:#f9fbfb}
.task-assignees-empty>i{font-size:19px;color:#78929b;padding-top:4px}
.task-assignees-empty strong,.task-assignees-empty small{display:block}
.task-assignees-empty strong{font-size:12px;color:#405c66}
.task-assignees-empty small{color:#8799a0;font-size:11px;margin-top:4px;line-height:1.8}
@media(max-width:767px){.assignee-picker{grid-template-columns:1fr}.project-heading-logo{height:62px;width:62px;flex-basis:62px}.category-edit-card{padding:13px}}
@media(max-width:480px){.project-logo-upload{flex-direction:column;align-items:stretch}.project-logo-preview{width:100px;height:100px;flex-basis:100px}.project-heading-identity{gap:10px}.project-heading-logo{height:53px;width:53px;flex-basis:53px}.category-edit-foot .btn{width:100%}}
