.layout-container{display:flex;min-height:100vh}.sidebar{width:220px;background-color:#ffdfe8;color:#fff;padding:10px;display:flex;flex-direction:column}.sidebar-brand h1{margin-bottom:30px;text-align:center;color:#cc1d49;font-size:2rem}.sidebar-menu{display:flex;flex-direction:column;gap:10px}.menu-btn{display:block;padding:12px 16px;background:#ffc9d7;border-radius:8px;color:#cc1d49;text-decoration:none;font-size:1.2rem;text-align:center;transition:.2s}.menu-btn:hover{background:#ffbccd;color:#fff}.menu-btn.active{background:#fc809f;color:#fff;font-size:1.2rem;text-align:center}.main-content{flex:1;display:flex;flex-direction:column}.topbar{display:flex;justify-content:flex-end;align-items:center;background-color:#ffe9ef;padding:1rem 2rem;border-bottom:1px solid #ffc9d7;border-left:1px solid #ffc9d7}.topbar-right{display:flex;align-items:end;gap:1rem}.notification-btn{background:none;border:none;font-size:1.5rem;cursor:pointer}.user-avatar{width:40px;height:40px;border-radius:50%}.page-content{padding:20px;flex:1;padding:2rem;background-color:#ffe9ef;border-left:1px solid #ffc9d7}.user-avatar{width:40px;height:40px;border-radius:50%;object-fit:cover;transition:transform .2s,box-shadow .2s}.user-avatar:hover{transform:scale(1.05);box-shadow:0 0 0 2px #ffc9d7}.auth-container{display:flex;justify-content:center;align-items:center;min-height:100vh;padding:20px;background:#ffe9ef}.auth-card{width:100%;max-width:420px;padding:30px;border-radius:12px;background:#fff;border:1px solid #ffc9d7;box-shadow:0 4px 20px #0000001a}.auth-form{display:flex;flex-direction:column;gap:16px;margin:25px 0}.form-group{display:flex;flex-direction:column}.auth-input{border-radius:8px;border:2px solid #ffc9d7;padding:14px;font-size:1em;font-family:inherit;background-color:#fff;color:#333;transition:border-color .3s;width:100%;box-sizing:border-box}.auth-input:focus{outline:none;border-color:#fc809f}.auth-input:hover{border-color:#fc809f}.auth-button{border-radius:10px;border:none;padding:14px;font-size:1em;font-weight:600;font-family:inherit;background:#ffc9d7;color:#cc1d49;cursor:pointer;transition:all .2s;margin-top:10px}.auth-button:hover{background:#ffb3c4;color:#fff;transform:translateY(-2px)}.auth-button:disabled{background:#ffe9ef;color:#ffc9d7;cursor:not-allowed;transform:none}.auth-toggle{color:#a3163a;margin-top:1.5rem;text-align:center}.auth-toggle span{color:#cc1d49;cursor:pointer;text-decoration:none;font-weight:600;margin-left:5px}.auth-toggle span:hover{color:#fc809f}h1{font-size:2.2em;line-height:1.1;margin-bottom:.5rem;color:#cc1d49;text-align:center}.error{color:#cc1d49;background:#ffe9ef;padding:12px;border-radius:8px;border:1px solid #ffc9d7;margin:10px 0;text-align:center;font-weight:500}.success-message{color:#1b5e38;background:#e6fbef;padding:12px;border-radius:8px;border:1px solid #b7f2cf;margin:10px 0;text-align:center;font-weight:500;word-break:break-word}.success-message a{color:#1b5e38}.auth-secondary-button{border-radius:10px;border:1px solid #ffc9d7;padding:12px;font-size:.95em;font-weight:600;font-family:inherit;background:#ffe9ef;color:#cc1d49;cursor:pointer;transition:all .2s}.auth-secondary-button:hover{background:#ffd7e1}body{margin:0;padding:0}.dashboard-container{padding:20px;color:#cc1d49}.dashboard-header{background:#ffe9ef;padding:25px;border-radius:12px;border:1px solid #ffc9d7;margin-bottom:25px}.dashboard-title{font-size:2rem;margin-bottom:10px;color:#cc1d49;text-align:left}.dashboard-subtitle{font-size:1.1rem;color:#a3163a;margin-bottom:20px}.dashboard-buttons{display:flex;gap:15px}.dash-btn{padding:12px 18px;background:#ffc9d7;border:none;border-radius:10px;text-decoration:none;color:#cc1d49;font-weight:600;transition:.2s;text-align:center}.dash-btn:hover{background:#ffb3c4;color:#fff}.dashboard-content{display:flex;gap:30px;margin-top:20px}.projects-section{flex:2}.projects-section h2{margin-bottom:15px;font-size:1.6rem;color:#cc1d49}.project-list{display:flex;flex-direction:column;gap:15px}.project-card{display:flex;gap:20px;background:#ffe9ef;border:1px solid #ffc9d7;border-radius:12px;padding:20px;transition:.25s ease}.project-card:hover{background:#ffd7e1;transform:translateY(-4px)}.progress-circle{min-width:70px;height:70px;background:#ffc9d7;color:#cc1d49;font-weight:700;font-size:1.2rem;border-radius:50%;display:flex;align-items:center;justify-content:center}.project-info h3{margin:0;font-size:1.2rem}.project-info p{margin:6px 0;color:#a3163a}.days-left{font-size:.95rem;font-weight:600;color:#cc1d49}.calendar-section{flex:1}.calendar-section h2{margin-bottom:15px;font-size:1.6rem}.calendar-placeholder{background:#ffe9ef;border:1px solid #ffc9d7;border-radius:12px;height:300px;display:flex;align-items:center;justify-content:center;color:#a3163a;font-size:1.2rem}.profile-container{max-width:600px;margin:0 auto;padding:20px}.profile-card{background:#ffe9ef;border-radius:14px;padding:28px 30px;box-shadow:0 6px 18px #cc1d491f;border:1px solid #ffc9d7;animation:fadeIn .5s ease-out}.profile-card h1{text-align:center;margin-bottom:26px;color:#cc1d49;font-size:1.7rem;font-weight:700}.profile-form{margin-bottom:28px}.form-group{margin-bottom:18px}.form-group label{display:block;margin-bottom:6px;font-weight:600;color:#cc1d49;font-size:.95rem}.profile-input{width:100%;padding:12px 14px;border:1.5px solid #ffc9d7;border-radius:10px;font-size:.95rem;transition:all .25s ease;background-color:#fff0f5;color:#a3163a;box-shadow:inset 0 1px 2px #cc1d4914}.profile-input:focus{border-color:#cc1d49;outline:none;background-color:#ffe9ef;box-shadow:0 0 0 2px #cc1d4926,inset 0 1px 2px #cc1d491a}.profile-input:disabled{background-color:#ffe9ef;color:#a98793;border-color:#ffdfe8;cursor:not-allowed;box-shadow:inset 0 1px 2px #cc1d490d}.profile-actions{display:flex;gap:12px;margin-top:22px;flex-wrap:wrap}.save-btn,.cancel-btn,.logout-btn{padding:11px 22px;border:none;border-radius:10px;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .25s ease;min-width:140px}.save-btn,.cancel-btn{background-color:#cc1d49;color:#fff}.save-btn:hover:not(:disabled),.cancel-btn:hover:not(:disabled){background-color:#b01a41;transform:translateY(-1px);box-shadow:0 4px 10px #cc1d4940}.save-btn:disabled,.cancel-btn:disabled{background-color:#ffc9d7;color:#fc809f;cursor:not-allowed;transform:none;box-shadow:none}.logout-btn{background-color:transparent;color:#a3163a;border:1.5px dashed #ffc9d7}.logout-btn:hover{background-color:#ffe9ef;border-color:#cc1d49;transform:translateY(-1px);box-shadow:0 4px 8px #cc1d491a}.profile-info{border-top:1px dashed #ffc9d7;padding-top:22px;margin-top:28px}.profile-info h3{margin-bottom:16px;color:#cc1d49;font-size:1.25rem;font-weight:600}.profile-info p{margin-bottom:8px;color:#555;font-size:.95rem;line-height:1.45}.profile-info strong{color:#cc1d49;font-weight:600}.success-message,.error-message{background-color:#fff0f5;color:#cc1d49;padding:12px 14px;border-radius:10px;margin-bottom:18px;border:1px solid #ffc9d7;font-weight:600;font-size:.95rem;text-align:center}@keyframes fadeIn{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.modal-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:#ffe9ef80;display:flex;justify-content:center;align-items:center;z-index:99;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.modal-window{width:480px;background:#ffe9ef;padding:25px;border-radius:12px;box-shadow:0 4px 20px #00000040;position:relative}.modal-close{position:absolute;right:12px;top:12px;font-size:22px;background:transparent;border:none;cursor:pointer}.modal-window h2{color:#cc1d49;margin-bottom:15px}.form{display:flex;flex-direction:column;gap:12px}.form input{padding:12px;border-radius:8px;border:2px solid #ffc9d7;font-size:1em;width:100%;box-sizing:border-box;transition:border-color .3s}.form input:focus{outline:none;border-color:#fc809f}.search-list{background:#fff0f5;border:1px solid #ffc9d7;border-radius:8px;max-height:150px;overflow-y:auto;margin-top:-6px}.search-list li{display:flex;justify-content:space-between;align-items:center;padding:6px 10px;font-size:.95rem}.search-list li button{padding:5px 10px;border-radius:6px;border:none;background-color:#fc809f;color:#fff;cursor:pointer;font-size:.85rem;transition:.2s}.search-list li button:hover{background-color:#e05d84;transform:translateY(-1px)}.members{background:#ffd7e1;padding:10px;border-radius:8px;margin-top:10px}.member-item{display:flex;align-items:center;justify-content:space-between;margin:6px 0;font-size:.95rem;gap:10px}.member-name{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.member-item select{padding:4px 8px;border-radius:5px;border:1px solid #ccc;cursor:pointer}.remove{background:#ff5c5c;color:#fff;border:none;border-radius:6px;padding:4px 8px;cursor:pointer;font-size:.85rem;transition:.2s}.remove:hover{background-color:#e03b3b;transform:translateY(-1px)}.submit-btn{background:#fc809f;color:#fff;padding:12px;border-radius:10px;border:none;cursor:pointer;font-size:1em;margin-top:10px;transition:.2s}.submit-btn:hover{background-color:#e05d84;transform:translateY(-1px)}.modal-close{position:absolute;top:16px;right:16px;background:none;border:none;cursor:pointer;padding:8px;border-radius:6px;transition:background-color .2s;display:flex;align-items:center;justify-content:center}.modal-close:hover{background-color:#f5f5f5}.modal-close svg{display:block}.modal-overlay{position:fixed;inset:0;background:#cc1d492e;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px}.modal-window{background:#ffe9ef;border:1px solid #ffc9d7;border-radius:14px;padding:28px 30px;width:100%;max-width:500px;position:relative;box-shadow:0 14px 40px #cc1d4940;animation:modalIn .25s ease-out}.modal-window h2{color:#cc1d49;margin:0 0 22px;font-size:1.45rem;text-align:center;font-weight:700}.form{display:flex;flex-direction:column;gap:15px}.form input,.form textarea{padding:12px 14px;border:1px solid #ffc9d7;border-radius:10px;background:#fff0f5;color:#a3163a;font-size:.95rem;transition:all .25s ease;box-shadow:inset 0 1px 2px #cc1d4914}.form input:focus,.form textarea:focus{outline:none;border-color:#cc1d49;background:#ffe9ef;box-shadow:0 0 0 2px #cc1d4926,inset 0 1px 2px #cc1d491a}.form input::placeholder,.form textarea::placeholder{color:#a3163a;opacity:.65}.form input:disabled,.form textarea:disabled{background:#ffe9ef;opacity:.7;cursor:not-allowed}.submit-btn{background:#cc1d49;color:#fff;border:none;padding:12px 20px;border-radius:10px;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .2s;margin-top:10px}.submit-btn:hover:not(:disabled){background:#a3163a;transform:translateY(-1px);box-shadow:0 6px 14px #cc1d494d}.submit-btn:disabled{background:#ffc9d7;cursor:not-allowed;box-shadow:none}@media(max-width:768px){.modal-overlay{padding:10px}.modal-window{padding:20px}}.create-project-btn{background:#cc1d49;color:#fff;border:none;padding:10px 18px;border-radius:10px;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .2s;white-space:nowrap}.create-project-btn:hover{background:#a3163a;transform:translateY(-1px)}.projects-header>div{display:flex;justify-content:space-between;align-items:flex-start;gap:15px}@media(max-width:768px){.projects-header>div{flex-direction:column;align-items:stretch;gap:15px}.create-project-btn{align-self:flex-start}}.team-select-btn{background:#fff0f5;color:#cc1d49;border:1px solid #ffc9d7;padding:10px 14px;border-radius:10px;cursor:pointer;font-weight:600;transition:all .2s}.team-select-btn:hover{background:#ffe9ef;border-color:#cc1d49}.team-dropdown{position:absolute;top:calc(100% + 8px);left:0;background:#ffe9ef;border:1px solid #ffc9d7;box-shadow:0 12px 30px #cc1d4926;border-radius:12px;z-index:1100;min-width:220px;max-height:220px;overflow:auto}.team-item{display:block;width:100%;padding:10px 14px;text-align:left;background:transparent;border:none;cursor:pointer;font-size:.9rem;color:#a3163a;transition:background-color .15s}.team-item:hover{background:#ffdfe8}.team-dropdown-empty{padding:10px 14px;color:#a3163a;font-size:.9rem}.team-member-modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.team-member-modal{background:#ffe9ef;border:2px solid #ffc9d7;border-radius:12px;padding:30px;width:100%;max-width:400px;position:relative;box-shadow:0 10px 30px #cc1d4933}.modal-close{position:absolute;top:15px;right:15px;background:none;border:none;color:#cc1d49;cursor:pointer;padding:5px;border-radius:4px;transition:background-color .2s}.modal-close:hover{background:#ffc9d7}.member-info{text-align:center;margin-bottom:25px}.member-avatar-large{width:80px;height:80px;border-radius:50%;background:#ffc9d7;display:flex;align-items:center;justify-content:center;font-weight:600;color:#cc1d49;font-size:2rem;margin:0 auto 15px}.member-info h3{color:#cc1d49;margin:0 0 5px}.member-info p{color:#a3163a;margin:0}.management-section{border-top:1px solid #ffc9d7;padding-top:20px}.management-section h4{color:#cc1d49;margin:0 0 10px}.management-section select{width:100%;padding:10px 15px;border:1px solid #ffc9d7;border-radius:8px;background:#fff;color:#cc1d49;font-size:1rem;margin-bottom:15px}.management-section select:focus{outline:none;border-color:#cc1d49}.change-role-btn,.remove-member-btn{width:100%;padding:12px;border-radius:8px;font-weight:600;cursor:pointer;transition:background-color .2s;margin-bottom:10px;border:none;font-size:1rem}.change-role-btn{background:#cc1d49;color:#fff}.change-role-btn:hover:not(:disabled){background:#a3163a}.remove-member-btn{background:#ff6b6b;color:#fff}.remove-member-btn:hover:not(:disabled){background:#ff5252}.change-role-btn:disabled,.remove-member-btn:disabled{opacity:.6;cursor:not-allowed}.error-message{color:#ff6b6b;text-align:center;margin-top:15px}.add-member-modal-overlay{position:fixed;inset:0;background:#cc1d4973;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.add-member-modal{background:#ffe9ef;border:2px solid #ffc9d7;border-radius:14px;padding:30px;width:100%;max-width:600px;max-height:90vh;overflow-y:auto;position:relative;box-shadow:0 14px 40px #cc1d4940;animation:modalIn .25s ease-out}.modal-close{position:absolute;top:14px;right:14px;background:none;border:none;color:#cc1d49;cursor:pointer;padding:6px;border-radius:6px;transition:background-color .2s}.modal-close:hover{background:#ffdfe8}.search-section{margin:22px 0}.search-input{width:100%;padding:12px 14px;border:1.5px solid #ffc9d7;border-radius:10px;background:#fff0f5;color:#a3163a;font-size:.95rem;transition:all .25s ease;box-shadow:inset 0 1px 2px #cc1d4914}.search-input:focus{outline:none;border-color:#cc1d49;background:#ffe9ef;box-shadow:0 0 0 2px #cc1d4926,inset 0 1px 2px #cc1d491a}.search-results{max-height:250px;overflow-y:auto;border:1px solid #ffc9d7;border-radius:12px;background:#ffe9ef;list-style:none;padding:0;margin:10px 0 0}.search-result-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 14px;cursor:pointer;transition:background-color .15s;border-bottom:1px solid #ffdfe8}.search-result-item:last-child{border-bottom:none}.search-result-item:hover{background:#ffd7e1}.student-avatar{width:36px;height:36px;border-radius:50%;background:#ffc9d7;display:flex;align-items:center;justify-content:center;font-weight:600;color:#cc1d49}.student-info{display:flex;flex-direction:column;gap:2px;flex:1}.student-name{font-weight:600;color:#cc1d49}.student-email{font-size:.85rem;color:#a3163a}.add-student-btn{background:#cc1d49;color:#fff;border:none;padding:6px 14px;border-radius:999px;font-size:.8rem;font-weight:600;cursor:pointer;transition:all .2s;white-space:nowrap}.add-student-btn:hover:not(:disabled){background:#a3163a;transform:translateY(-1px)}.add-student-btn:disabled{opacity:.6;cursor:not-allowed}.selected-students{margin:26px 0;padding:20px;background:#ffdfe8;border:1px solid #ffc9d7;border-radius:12px}.selected-students h4{margin:0 0 16px;color:#cc1d49;font-weight:600}.selected-list{list-style:none;padding:0;margin:0}.selected-item{display:flex;align-items:center;justify-content:space-between;padding:10px 0;border-bottom:1px dashed #ffc9d7}.selected-item:last-child{border-bottom:none}.selected-student-info{display:flex;align-items:center;gap:10px}.student-avatar-small{width:32px;height:32px;border-radius:50%;background:#ffc9d7;display:flex;align-items:center;justify-content:center;font-weight:600;color:#cc1d49;font-size:.85rem}.student-controls{display:flex;align-items:center;gap:10px}.role-select{padding:6px 10px;border:1px solid #ffc9d7;border-radius:999px;background:#ffe9ef;color:#a3163a;font-size:.85rem;cursor:pointer}.remove-btn{background:#cc1d49;color:#fff;border:none;width:30px;height:30px;border-radius:50%;font-size:1rem;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center}.remove-btn:hover:not(:disabled){background:#a3163a}.remove-btn:disabled{opacity:.6;cursor:not-allowed}.modal-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:22px}.cancel-btn{background:#ffe9ef;color:#a3163a;border:1px solid #ffc9d7;padding:10px 20px;border-radius:999px;font-weight:600;cursor:pointer;transition:all .2s}.cancel-btn:hover:not(:disabled){background:#ffdfe8;border-color:#cc1d49}.add-btn{background:#cc1d49;color:#fff;border:none;padding:10px 22px;border-radius:999px;font-weight:600;cursor:pointer;transition:all .2s}.add-btn:hover:not(:disabled){background:#a3163a;transform:translateY(-1px)}.cancel-btn:disabled,.add-btn:disabled{opacity:.6;cursor:not-allowed}.error-message{color:#a3163a;text-align:center;margin:12px 0;font-size:.9rem;font-weight:600}@keyframes modalIn{0%{opacity:0;transform:translateY(6px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.teams-container{padding:20px;color:#cc1d49}.teams-header{background:#ffe9ef;padding:25px;border-radius:12px;border:1px solid #ffc9d7;margin-bottom:25px}.teams-title{font-size:2rem;margin-bottom:10px;color:#cc1d49;text-align:left}.teams-subtitle{font-size:1.1rem;color:#a3163a;margin-bottom:0}.teams-loading,.teams-error,.no-teams{text-align:center;padding:40px;font-size:1.2rem;color:#a3163a}.teams-error{color:#ff6b6b}.teams-list{display:flex;flex-direction:column;gap:25px}.team-card{background:#ffe9ef;border:1px solid #ffc9d7;border-radius:12px;padding:25px;transition:.25s ease}.team-card:hover{background:#ffd7e1;transform:translateY(-2px)}.team-header{margin-bottom:20px;padding-bottom:15px;border-bottom:1px solid #ffc9d7}.team-name{font-size:1.6rem;margin:0 0 10px;color:#cc1d49}.team-description{color:#a3163a;margin:0;font-size:1rem}.team-content{display:grid;grid-template-columns:1fr 1fr;gap:30px}.team-section{background:#ffdfe8;padding:20px;border-radius:8px;border:1px solid #ffc9d7}.section-title{font-size:1.2rem;margin:0 0 15px;color:#cc1d49;border-bottom:1px solid #ffc9d7;padding-bottom:8px}.executors-list{display:flex;flex-direction:column;gap:12px}.executor-item{position:relative;display:flex;align-items:center;gap:12px;padding:8px 40px 8px 8px;border-radius:6px;transition:background-color .2s}.executor-item:hover{background:#ffe9ef;cursor:pointer}.executor-avatar{width:36px;height:36px;border-radius:50%;background:#ffc9d7;display:flex;align-items:center;justify-content:center;font-weight:600;color:#cc1d49;font-size:.9rem}.executor-info{display:flex;flex-direction:column;gap:2px}.role-leader{color:#cc1d49;font-weight:600}.member-actions-indicator{position:absolute;right:10px;top:50%;transform:translateY(-50%);color:#cc1d49;opacity:.5;transition:opacity .2s}.executor-item:hover .member-actions-indicator{opacity:1}.projects-list{display:flex;flex-direction:column;gap:12px}.project-item{display:flex;align-items:center;justify-content:space-between;padding:12px;border:1px solid #ffc9d7;border-radius:8px;cursor:pointer;transition:all .2s;background:#ffdfe8}.project-item:hover{background:#ffe9ef;border-color:#ffb3c4;transform:translate(4px)}.project-info{flex:1}.project-name{font-size:1rem;margin:0 0 4px;color:#cc1d49;font-weight:600}.project-description{font-size:.9rem;margin:0 0 4px;color:#a3163a}.project-subject{font-size:.8rem;color:#cc1d49;background:#ffe9ef;padding:2px 8px;border-radius:12px;font-weight:600}.project-meta{display:flex;gap:10px;margin-top:8px;flex-wrap:wrap}.project-deadline{font-size:.8rem;color:#cc1d49;background:#ffe9ef;padding:2px 8px;border-radius:12px;font-weight:600}.project-arrow{color:#cc1d49;opacity:.7;transition:opacity .2s}.project-item:hover .project-arrow{opacity:1}.no-projects{text-align:center;color:#a3163a;font-style:italic;margin:0;padding:20px 0}.team-title-section,.teams-title-section{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;width:100%}.create-team-btn{background:#cc1d49;color:#fff;border:none;padding:12px 24px;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:background-color .2s;white-space:nowrap}.create-team-btn:hover{background:#a3163a}.create-project-btn{background:#cc1d49;color:#fff;border:none;padding:8px 16px;border-radius:6px;font-size:.9rem;font-weight:600;cursor:pointer;transition:background-color .2s;white-space:nowrap}.create-project-btn:hover{background:#a3163a}.add-members-section{margin-top:15px;padding-top:15px;border-top:1px solid #ffc9d7}.add-member-btn{background:#cc1d49;color:#fff;border:none;padding:8px 16px;border-radius:6px;font-size:.9rem;font-weight:600;cursor:pointer;transition:background-color .2s;display:flex;align-items:center;gap:8px;width:100%;justify-content:center;white-space:nowrap}.add-member-btn:hover{background:#a3163a}@media(max-width:768px){.team-content{grid-template-columns:1fr;gap:20px}.teams-header{padding:20px}.teams-title{font-size:1.6rem}.team-title-section,.teams-title-section{flex-direction:column;align-items:stretch;gap:15px}.create-team-btn,.create-project-btn{align-self:flex-start}}.task-creator{margin-top:20px;padding:18px 20px;border:1px solid #ffc9d7;border-radius:12px;background:#ffe9ef;box-shadow:0 4px 12px #cc1d4914}.task-creator__title{margin:0 0 14px;font-size:1.15rem;color:#cc1d49;font-weight:700}.task-creator__form{display:flex;flex-direction:column;gap:14px}.task-creator__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px 14px}.task-creator__field{display:flex;flex-direction:column;gap:6px;font-size:.95rem;color:#a3163a}.task-creator__field--full{grid-column:1 / -1}.task-creator__field input,.task-creator__field select,.task-creator__field textarea{border:1px solid #ffc9d7;border-radius:10px;padding:10px 12px;font-size:.95rem;outline:none;background:#fff;color:#40202b}.task-creator__field input:focus,.task-creator__field select:focus,.task-creator__field textarea:focus{border-color:#cc1d49;box-shadow:0 0 0 3px #cc1d4926}.task-creator__lists{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px}.task-creator__list{border:1px solid #ffc9d7;border-radius:12px;background:#fff;padding:12px}.task-creator__list-title{font-weight:700;font-size:.95rem;color:#cc1d49;margin-bottom:8px}.task-creator__list-note{margin-bottom:10px;font-size:.82rem;line-height:1.45;color:#8e596c}.task-creator__checkboxes{display:flex;flex-direction:column;gap:6px;max-height:190px;overflow:auto}.task-creator__checkbox{display:flex;align-items:flex-start;gap:8px;font-size:.9rem;color:#5b3a45}.task-creator__checkbox input{margin-top:2px;accent-color:#cc1d49}.task-creator__empty{font-size:.9rem;color:#b26b82}.task-creator__message{padding:10px 12px;border-radius:10px;font-size:.95rem}.task-creator__message.error{background:#ffe0e0;border:1px solid #ffb3b3;color:#b3261e}.task-creator__message.success{background:#e6fbef;border:1px solid #b7f2cf;color:#1b5e38}.task-creator__actions{display:flex;gap:10px;justify-content:flex-start;flex-wrap:wrap}.task-creator__submit,.task-creator__reset{border:none;border-radius:10px;padding:10px 16px;font-size:.95rem;cursor:pointer;font-weight:600;transition:transform .1s ease,box-shadow .2s ease}.task-creator__submit{background:#cc1d49;color:#fff;box-shadow:0 3px 10px #cc1d4940}.task-creator__submit:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 12px #cc1d4959}.task-creator__submit:disabled{opacity:.75;cursor:default;box-shadow:none}.task-creator__reset{background:#ffd7e1;color:#a3163a;border:1px solid #ffc9d7}.task-creator__reset:hover{transform:translateY(-1px)}.task-actions{display:flex;gap:8px;margin-top:6px;flex-wrap:wrap}.task-edit-btn,.task-subtask-btn{border:1px solid #ffc9d7;background:#ffe9ef;color:#a3163a;border-radius:8px;padding:6px 10px;font-size:.85rem;cursor:pointer;transition:transform .1s ease,box-shadow .2s ease}.task-edit-btn:hover,.task-subtask-btn:hover{transform:translateY(-1px);box-shadow:0 3px 8px #cc1d4933}@media(max-width:640px){.task-creator__grid{grid-template-columns:1fr}}.tasks-header-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.open-task-modal-btn{background:#cc1d49;color:#fff;border:none;padding:8px 14px;border-radius:10px;font-weight:600;cursor:pointer;box-shadow:0 3px 10px #cc1d4940;transition:transform .1s ease,box-shadow .2s ease}.open-task-modal-btn:hover{transform:translateY(-1px);box-shadow:0 4px 12px #cc1d4959}.task-creator-modal-backdrop{position:fixed;inset:0;background:#00000059;display:flex;align-items:center;justify-content:center;z-index:1100}.task-creator-modal{background:#ffe9ef;border:1px solid #ffc9d7;border-radius:14px;padding:16px;width:min(720px,92vw);box-shadow:0 12px 28px #0000002e;z-index:1101}.task-creator-modal__header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;color:#cc1d49}.task-creator-modal__close{background:transparent;border:none;font-size:1.4rem;cursor:pointer;color:#a3163a;line-height:1;padding:4px 6px}.gantt-container{position:relative;min-height:400px;background:#fff!important;border-radius:8px;padding:20px;overflow-x:auto;overflow-y:auto}.gantt-grid{position:relative;height:40px;border-bottom:2px solid #e6e6e6;margin-bottom:10px}.gantt-grid-day{position:absolute;height:100%;border-right:1px solid #e9ecef;display:flex;align-items:center;justify-content:center;font-size:11px;color:#cc1d49;background:#fff}.gantt-tasks{position:relative;min-height:300px}.gantt-task-container{position:absolute;height:30px;width:100%}.gantt-task{position:absolute;height:24px;background:#ffc9d7;color:#a3163a;border-radius:4px;padding:4px 36px 4px 8px;font-size:12px;font-weight:500;display:flex;align-items:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer;transition:all .2s;box-shadow:0 1px 2px #0000000f}.gantt-task:hover{background:#ffb6c4;box-shadow:0 4px 8px #00000014;z-index:10}.gantt-task.critical{background:#ff6b6b;border:2px solid #ff4757}.gantt-task.critical:hover{background:#ff4757}.gantt-task-menu-btn{background:transparent;border:none;color:#ffffffe6;display:inline-flex;align-items:center;justify-content:center;padding:4px;margin-left:8px;cursor:pointer}.gantt-task-dropdown{position:absolute;right:8px;top:30px;background:#fff;color:#333;border:1px solid rgba(0,0,0,.08);border-radius:6px;box-shadow:0 6px 18px #00000014;z-index:50;overflow:hidden;min-width:120px}.gantt-task-dropdown-item{display:block;width:100%;padding:8px 12px;text-align:left;background:transparent;border:none;cursor:pointer}.gantt-task-dropdown-item:hover{background:#f5f5f5}.gantt-task-dropdown-item.danger{color:#b22222}.gantt-deps{position:absolute;left:0;top:0;pointer-events:none;overflow:visible;z-index:1}.gantt-deps path,.gantt-deps polyline{stroke-linecap:round;stroke-linejoin:round}.gantt-deps marker path{fill:#c9c9c9}.gantt-tasks{position:relative;z-index:10}.gantt-task{z-index:11}.gtr-tooltip{background:#000000d9;color:#fff;padding:8px 10px;border-radius:6px;font-size:13px;min-width:140px;box-shadow:0 6px 18px #0003}.gantt-deps path,.gantt-deps polyline,.gantt-deps line{stroke:#cc1d49!important}.gantt-container svg .bar,.gantt-container svg .task{fill:#ffc9d7!important}rect._31ERP{fill:#e37691}.gantt-modal .detail-modal-header h2,.detail-modal.gantt-modal .detail-modal-header h2{color:#cc1d49}.gantt-container svg ._9w8d5,.gantt-container svg ._2q1Kt,.gantt-container svg ._3KcaM,.gantt-container svg ._3zRJQ{fill:#cc1d49!important}.gantt-container ._2QjE6,.gantt-container ._2TfEi{color:#cc1d49!important}.gantt-container ._3lLk3,.gantt-container ._3ZbQT,.gantt-container ._29NTg,.gantt-container ._3KcaM,.gantt-container ._3w_5u,.gantt-container ._3lLk3 ._3KcaM,.gantt-container ._3ZbQT ._3KcaM{color:#cc1d49!important;fill:#cc1d49!important}.gantt-container ._3lLk3 span,.gantt-container ._3lLk3 div{color:#cc1d49!important}.gantt-container ._3ZbQT ._34SS0 ._3lLk3,.gantt-container ._3ZbQT ._34SS0 ._3lLk3 *,.gantt-container ._3ZbQT ._3lLk3,.gantt-container ._3ZbQT ._3lLk3 *,.gantt-container th,.gantt-container td{color:#cc1d49!important;fill:#cc1d49!important}.gantt-container ._29NTg,.gantt-container ._29NTg *{color:#cc1d49!important}.gantt-container ._3ZbQT,.gantt-container ._3ZbQT *,.gantt-container ._WuQ0f,.gantt-container ._WuQ0f *{color:#cc1d49!important;fill:#cc1d49!important}._3_ygE{display:table;border-bottom:#e6e4e4 1px solid;border-top:#e6e4e4 1px solid;border-left:#e6e4e4 1px solid}._1nBOt{display:table-row;list-style:none}._2eZzQ{border-right:1px solid rgb(196,196,196);opacity:1;margin-left:-2px}._WuQ0f{display:table-cell;vertical-align:-webkit-baseline-middle;vertical-align:middle}._3ZbQT{display:table;border-bottom:#e6e4e4 1px solid;border-left:#e6e4e4 1px solid}._34SS0{display:table-row;text-overflow:ellipsis}._34SS0:nth-of-type(2n){background-color:#f5f5f5}._3lLk3{display:table-cell;vertical-align:middle;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._nI1Xw{display:flex}._2QjE6{color:#565656;font-size:.6rem;padding:.15rem .2rem 0rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer}._2TfEi{font-size:.6rem;padding-left:1rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}._3T42e{background:#fff;padding:12px;box-shadow:0 3px 6px #00000029,0 3px 6px #0000003b}._29NTg{font-size:12px;margin-bottom:6px;color:#666}._25P-K{position:absolute;display:flex;flex-shrink:0;pointer-events:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}._3gVAq{visibility:hidden;position:absolute;display:flex;pointer-events:none}._1eT-t{overflow:hidden auto;width:1rem;flex-shrink:0;scrollbar-width:thin}._1eT-t::-webkit-scrollbar{width:1.1rem;height:1.1rem}._1eT-t::-webkit-scrollbar-corner{background:transparent}._1eT-t::-webkit-scrollbar-thumb{border:6px solid transparent;background:#0003;background:var(--palette-black-alpha-20, rgba(0, 0, 0, .2));border-radius:10px;background-clip:padding-box}._1eT-t::-webkit-scrollbar-thumb:hover{border:4px solid transparent;background:#0000004d;background:var(--palette-black-alpha-30, rgba(0, 0, 0, .3));background-clip:padding-box}._2dZTy{fill:#fff}._2dZTy:nth-child(2n){fill:#f5f5f5}._3rUKi{stroke:#ebeff2}._RuwuK{stroke:#e6e4e4}._9w8d5{text-anchor:middle;fill:#333;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}._1rLuZ{stroke:#e6e4e4}._2q1Kt{text-anchor:middle;fill:#555;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}._35nLX{fill:#fff;stroke:#e0e0e0;stroke-width:1.4}._KxSXS{cursor:pointer;outline:none}._KxSXS:hover ._3w_5u{visibility:visible;opacity:1}._3w_5u{fill:#ddd;cursor:ew-resize;opacity:0;visibility:hidden}._31ERP{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;stroke-width:0}._RRr13{cursor:pointer;outline:none}._2P2B1{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}._1KJ6x{cursor:pointer;outline:none}._2RbVy{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:.6}._2pZMF{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}._3zRJQ{fill:#fff;text-anchor:middle;font-weight:lighter;dominant-baseline:central;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}._3KcaM{fill:#555;text-anchor:start;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}._CZjuD{overflow:hidden;font-size:0;margin:0;padding:0}._2B2zv{margin:0;padding:0;overflow:hidden}._3eULf{display:flex;padding:0;margin:0;list-style:none;outline:none;position:relative}._2k9Ys{overflow:auto;max-width:100%;scrollbar-width:thin;height:1.2rem}._2k9Ys::-webkit-scrollbar{width:1.1rem;height:1.1rem}._2k9Ys::-webkit-scrollbar-corner{background:transparent}._2k9Ys::-webkit-scrollbar-thumb{border:6px solid transparent;background:#0003;background:var(--palette-black-alpha-20, rgba(0, 0, 0, .2));border-radius:10px;background-clip:padding-box}._2k9Ys::-webkit-scrollbar-thumb:hover{border:4px solid transparent;background:#0000004d;background:var(--palette-black-alpha-30, rgba(0, 0, 0, .3));background-clip:padding-box}._19jgW{height:1px}.detail-modal-overlay{position:fixed;inset:0;background:#cc1d4973;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.detail-modal{background:#ffe9ef;border:2px solid #ffc9d7;border-radius:12px;width:100%;max-width:800px;max-height:90vh;overflow-y:auto;position:relative;box-shadow:0 10px 40px #cc1d4933}.detail-modal-close{position:absolute;top:15px;right:15px;background:none;border:none;color:#cc1d49;cursor:pointer;padding:5px;border-radius:4px;transition:background-color .2s;z-index:10}.detail-modal-close:hover{background:#ffd7e1}.detail-modal-header{padding:25px 70px 15px 25px;border-bottom:1px solid #ffc9d7;display:flex;justify-content:space-between;align-items:center;gap:15px}.detail-project-name{margin:0;color:#cc1d49;font-size:1.8rem;flex:1}.edit-project-btn{background:#cc1d49;color:#fff;border:none;padding:8px 16px;border-radius:6px;font-size:.9rem;font-weight:600;cursor:pointer;transition:background-color .2s;white-space:nowrap}.edit-project-btn:hover{background:#a3163a}.detail-modal-content{padding:20px 25px}.detail-section{margin-bottom:30px}.detail-section h3{color:#cc1d49;margin:0 0 15px;font-size:1.3rem;padding-bottom:8px;border-bottom:1px solid #ffc9d7}.detail-info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px}.detail-info-item{background:#ffdfe8;padding:15px;border-radius:8px;border:1px solid #ffc9d7}.detail-info-item strong{color:#a3163a;display:block;margin-bottom:8px;font-size:.95rem}.detail-info-item p{color:#cc1d49;margin:0;line-height:1.5}.detail-edit-input,.detail-edit-textarea,.detail-edit-select{width:100%;padding:8px 12px;border:1px solid #ffc9d7;border-radius:6px;background:#ffe9ef;color:#cc1d49;font-size:.95rem;margin-top:5px}.detail-edit-input:focus,.detail-edit-textarea:focus,.detail-edit-select:focus{outline:none;border-color:#cc1d49;background:#fff0f5}.detail-edit-textarea{resize:vertical;min-height:60px}.tasks-list{display:flex;flex-direction:column;gap:10px}.task-item{background:#ffdfe8;padding:12px 15px;border-radius:8px;border:1px solid #ffc9d7;transition:border-color .2s ease,box-shadow .2s ease,background-color .2s ease;position:relative}.task-item-highlighted{background:#fff2f6;border-color:#cc1d49;box-shadow:0 0 0 3px #cc1d491f}.task-item:before{content:"";position:absolute;left:-14px;top:14px;bottom:14px;width:2px;border-radius:999px;background:#cc1d4929;opacity:0}.task-item[style*=margin-left]:before{opacity:1}.task-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;position:relative}.task-menu-btn{background:none;border:none;cursor:pointer;padding:4px 8px;color:#a3163a;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:background-color .2s}.task-menu-btn:hover{background:#ffe9ef}.task-menu-dropdown{position:absolute;top:100%;right:0;background:#ffe9ef;border:1px solid #ffc9d7;border-radius:8px;box-shadow:0 4px 12px #cc1d4926;z-index:1000;min-width:150px;margin-top:4px;overflow:hidden}.task-menu-item{width:100%;padding:10px 16px;background:#ffe9ef;border:none;text-align:left;cursor:pointer;color:#cc1d49;font-size:.9rem;transition:background-color .2s;display:block}.task-menu-item:hover{background:#ffd7e1}.task-menu-item-danger{color:#ff6b6b!important}.task-menu-item-danger:hover{background:#ffe9ef!important;color:#ff4757!important}.task-actions{margin-top:10px;display:flex;gap:8px;flex-wrap:wrap}.task-subtask-btn{background:#ffe9ef;color:#cc1d49;border:1px solid #ffc9d7;padding:8px 14px;border-radius:8px;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .2s;box-shadow:0 3px 10px #cc1d491f}.task-subtask-btn:hover{background:#ffc9d7;border-color:#cc1d49;transform:translateY(-1px);box-shadow:0 4px 12px #cc1d4933}.task-edit-btn,.delete-project-btn,.delete-team-btn{background:#cc1d49;color:#fff;border:none;padding:8px 14px;border-radius:8px;font-size:.9rem;font-weight:600;cursor:pointer;transition:background-color .2s,transform .1s ease,box-shadow .2s ease;box-shadow:0 3px 10px #cc1d4926}.task-edit-btn:hover,.delete-project-btn:hover,.delete-team-btn:hover{background:#a3163a;box-shadow:0 4px 12px #cc1d4938}.delete-project-btn,.delete-team-btn{margin-top:10px;background:#cc1d49;box-shadow:0 3px 10px #ff6b6b33}.delete-project-btn:hover,.delete-team-btn:hover{background:#a3163a;box-shadow:0 4px 14px #ff6b6b4d}.task-name{color:#cc1d49;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.task-status{font-size:.8rem;padding:2px 8px;border-radius:12px;background:#ffd7e1;color:#a3163a}.task-status.status-created{background-color:#f1f3f5;color:#4f5b66;border:1px solid #dfe3e6}.task-status.status-available{background-color:#e6f4ff;color:#0b4f8a;border:1px solid #bcd9f2}.task-status.status-in-progress{background-color:#fff4d6;color:#8a5a00;border:1px solid #f0d29b}.task-status.status-done{background-color:#e2f6e9;color:#1f6b3d;border:1px solid #bfe7cd}.task-status.status-cancelled{background-color:#ffe4e6;color:#9b1c31;border:1px solid #f5b5c1}.task-status.status-unknown{background-color:#f7f1f5;color:#7a4a5c;border:1px solid #e2c9d6}.task-description{color:#a3163a;margin:0;font-size:.9rem;line-height:1.4}.task-meta-strip{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}.task-meta-pill{display:inline-flex;align-items:center;padding:4px 9px;border-radius:999px;background:#ffe9ef;border:1px solid #ffc9d7;color:#a3163a;font-size:.77rem;font-weight:600}.task-meta-pill--subtask{background:#fff1f5;border-color:#cc1d49;color:#cc1d49}.task-relations{margin-top:10px;display:grid;gap:8px}.task-relations-row{display:flex;align-items:flex-start;gap:8px}.task-relations-label{min-width:92px;padding-top:4px;color:#a3163a;font-size:.8rem;font-weight:700}.task-relations-list{display:flex;flex-wrap:wrap;gap:6px}.task-relation-link{border:1px solid #ffc9d7;background:#ffe9ef;color:#a3163a;border-radius:999px;padding:4px 10px;font-size:.82rem;line-height:1.2;cursor:pointer;transition:transform .15s ease,border-color .2s ease,background-color .2s ease}.task-relation-link:hover{transform:translateY(-1px);border-color:#cc1d49;background:#fff3f6}.task-relation-link.status-created{background-color:#f7f1f5;color:#5f4c56}.task-relation-link.status-available{background-color:#eef6ff;color:#0b4f8a}.task-relation-link.status-in-progress{background-color:#fff4d6;color:#8a5a00}.task-relation-link.status-done{background-color:#e6f6ec;color:#1f6b3d}.task-relation-link.status-cancelled{background-color:#ffe7ec;color:#9b1c31}.no-tasks{color:#a3163a;font-style:italic;text-align:center;padding:20px}.executors-list{display:flex;flex-direction:column;gap:10px}.executor-item{display:flex;align-items:center;gap:12px;padding:10px;background:#ffdfe8;border-radius:8px;border:1px solid #ffc9d7}.executor-avatar{width:40px;height:40px;border-radius:50%;background:#ffc9d7;display:flex;align-items:center;justify-content:center;font-weight:600;color:#cc1d49;font-size:1rem}.executor-name{font-weight:600;color:#cc1d49}.executor-role{font-size:.85rem;color:#a3163a}.detail-modal-actions{padding:20px 25px;border-top:1px solid #ffc9d7;display:flex;gap:10px;justify-content:flex-end}.save-btn{background:#cc1d49;color:#fff;border:none;padding:10px 20px;border-radius:6px;font-weight:600;cursor:pointer;transition:background-color .2s}.save-btn:hover:not(:disabled){background:#a3163a}.cancel-btn{background:#ffd7e1;color:#cc1d49;border:1px solid #ffc9d7;padding:10px 20px;border-radius:6px;font-weight:600;cursor:pointer;transition:background-color .2s}.cancel-btn:hover:not(:disabled){background:#ffc9d7}@media(max-width:720px){.task-item{margin-left:0!important}.task-item:before{display:none}.task-relations-row{flex-direction:column}.task-relations-label{min-width:0;padding-top:0}}.projects-container{color:#cc1d49}.projects-header{background:#ffe9ef;padding:25px;border-radius:12px;border:1px solid #ffc9d7;margin:0 20px 25px}.projects-title-section{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;width:100%}.projects-title{font-size:2rem;margin-bottom:10px;color:#cc1d49;text-align:left}.projects-subtitle{font-size:1.1rem;color:#a3163a;margin-bottom:0}.create-project-main-btn{background:#cc1d49;color:#fff;border:none;padding:12px 24px;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:background-color .2s;white-space:nowrap}.create-project-main-btn:hover{background:#a3163a}.projects-loading,.projects-error,.no-projects{text-align:center;padding:40px;font-size:1.2rem;color:#a3163a}.projects-error{color:#ff6b6b}.projects-list-simple{display:flex;flex-direction:column;gap:15px;padding:0 20px}.project-card-simple{background:#ffe9ef;border:1px solid #ffc9d7;border-radius:12px;padding:20px;transition:.25s ease;width:100%}.project-card-simple:hover{background:#ffd7e1;transform:translateY(-2px)}.project-card-header{margin-bottom:15px;padding-bottom:15px;border-bottom:1px solid #ffc9d7}.project-main-info{display:flex;justify-content:space-between;align-items:flex-start;gap:15px}.project-name{font-size:1.4rem;margin:0;color:#cc1d49;flex:1}.project-status{padding:6px 12px;border-radius:20px;font-size:.9rem;font-weight:600;white-space:nowrap}.status-planned{background:#fff3cd;color:#856404;border:1px solid #ffeaa7}.status-in-progress{background:#d1ecf1;color:#0c5460;border:1px solid #bee5eb}.status-completed{background:#d4edda;color:#155724;border:1px solid #c3e6cb}.project-card-content{display:flex;flex-direction:column;gap:12px}.project-description{color:#a3163a;margin:0;line-height:1.5;font-size:1rem}.project-meta-info{display:flex;gap:20px;margin-top:6px;flex-wrap:wrap}.project-meta-item{display:flex;gap:6px;align-items:center}.project-meta-item strong{color:#a3163a;font-size:.9rem}.project-meta-item span{color:#cc1d49;font-weight:500}@media(max-width:768px){.projects-title-section{flex-direction:column;align-items:stretch;gap:15px}.create-project-main-btn{align-self:flex-start}.project-main-info{flex-direction:column;align-items:flex-start;gap:10px}.project-meta-info{flex-direction:column;gap:15px}.project-name{font-size:1.2rem}}.tasks-wrapper{min-height:100%;box-sizing:border-box;padding:2rem;background-color:#ffe9ef;border-left:1px solid #ffc9d7;font-family:Segoe UI,Trebuchet MS,sans-serif}.task-node{position:relative}.tasks-hero{display:flex;justify-content:space-between;gap:1.2rem;align-items:flex-end;padding:1.4rem 1.5rem;border-radius:28px;margin-bottom:1.2rem;background:#ffe9ef;border:1px solid #ffc9d7;box-shadow:0 10px 24px #cc1d4914}.tasks-hero__eyebrow{display:inline-block;margin-bottom:.55rem;padding:.35rem .65rem;border-radius:999px;background:#ffd7e1;color:#a3163a;font-size:.74rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.tasks-title{font-size:clamp(1.7rem,3vw,2.4rem);margin:0;color:#cc1d49;font-weight:800;line-height:1}.tasks-hero__text{margin:.6rem 0 0;max-width:700px;color:#a3163a;line-height:1.55}.gantt-view-btn{border:none;padding:.9rem 1.2rem;border-radius:16px;background:#cc1d49;color:#fff;font-size:.95rem;font-weight:700;cursor:pointer;box-shadow:0 3px 10px #cc1d4933}.gantt-view-btn:hover{background:#a3163a}.tasks-toolbar{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;margin-bottom:1rem;padding:1rem 1.2rem;border-radius:20px;background:#ffe9ef;border:1px solid #ffc9d7}.tasks-toolbar__item{display:flex;align-items:center;gap:.75rem}.tasks-toolbar__summary{display:flex;gap:.6rem;flex-wrap:wrap}.tasks-toolbar__summary span{padding:.45rem .75rem;border-radius:999px;background:#ffdfe8;border:1px solid #ffc9d7;color:#a3163a;font-size:.84rem}.filter-label{font-size:.9rem;color:#a3163a;font-weight:700}.filter-select{appearance:none;-webkit-appearance:none;-moz-appearance:none;padding:.55rem 2.2rem .55rem .9rem;border-radius:12px;border:1px solid #ffc9d7;background:linear-gradient(45deg,transparent 50%,#cc1d49 50%),linear-gradient(135deg,#cc1d49 50%,transparent 50%),#fff0f5;background-position:calc(100% - 16px) calc(50% - 2px),calc(100% - 10px) calc(50% - 2px),0 0;background-size:6px 6px,6px 6px,100% 100%;background-repeat:no-repeat;color:#a3163a;font-size:.95rem;outline:none}.filter-select:focus{border-color:#cc1d49;box-shadow:0 0 0 3px #cc1d4924}.tasks-list{display:flex;flex-direction:column;gap:.65rem}.tasks-wrapper.error{color:#8f241f;background:#ffe4e1;border:1px solid #f0bcb5;border-radius:16px;padding:1rem 1.25rem}.tasks-empty{padding:1rem 1.2rem;border-radius:16px;background:#ffe9ef;border:1px dashed #ffc9d7;color:#a3163a;text-align:center}.task-card{display:flex;gap:.85rem;padding:.8rem .95rem;border-radius:18px;background:#ffe9ef;border:1px solid #ffc9d7;box-shadow:0 8px 18px #cc1d4914;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.task-card:hover{transform:translateY(-3px);box-shadow:0 12px 24px #cc1d491f;background:#ffd7e1}.task-card--focused{border-color:#cc1d49;box-shadow:0 0 0 4px #cc1d491f,0 12px 24px #cc1d491f}.task-node.level-0{margin-left:0}.task-node:not(.level-0){margin-left:1.25rem}.task-node:not(.level-0):before{content:"";position:absolute;left:.38rem;top:0;bottom:.5rem;border-left:1px dashed #ffc9d7}.task-children{margin-top:.35rem;padding-left:.65rem;display:flex;flex-direction:column;gap:.4rem}.task-progress{min-width:104px;display:flex;flex-direction:column;gap:.45rem}.progress-status{display:inline-flex;justify-content:center;padding:.28rem .6rem;border-radius:999px;font-size:.74rem;font-weight:700;border:1px solid transparent}.task-progress__line{height:6px;border-radius:999px;background:#ffd7e1;overflow:hidden}.task-progress__line span{display:block;height:100%;border-radius:inherit;background:#cc1d49}.progress-status.status-created{background-color:#f1f3f5;color:#4f5b66;border-color:#dfe3e6}.progress-status.status-available{background-color:#e6f4ff;color:#0b4f8a;border-color:#bcd9f2}.progress-status.status-in-progress{background-color:#fff4d6;color:#8a5a00;border-color:#f0d29b}.progress-status.status-done{background-color:#e2f6e9;color:#1f6b3d;border-color:#bfe7cd}.progress-status.status-cancelled{background-color:#ffe4e6;color:#9b1c31;border-color:#f5b5c1}.progress-status.status-unknown{background-color:#f7f1f5;color:#7a4a5c;border-color:#e2c9d6}.task-details{flex:1;display:flex;flex-direction:column;gap:.55rem}.task-header-row{display:flex;justify-content:space-between;gap:.7rem;align-items:flex-start}.task-header-main{display:flex;gap:.4rem;flex:1;min-width:0}.task-header-side{display:flex;align-items:center}.task-title{margin:0;color:#cc1d49;font-size:.98rem;font-weight:800;line-height:1.2}.task-title__subline{display:flex;flex-wrap:wrap;gap:.25rem .6rem;margin-top:.18rem;color:#a3163a;font-size:.74rem}.task-unread-meta{display:inline-flex;align-items:center;padding:.12rem .45rem;border-radius:999px;background:#cc1d49;color:#fff;font-weight:700}.task-toggle{border:none;background:#ffdfe8;cursor:pointer;width:24px;height:24px;border-radius:999px;color:#a3163a;font-size:.82rem}.role-chip{padding:.25rem .55rem;border-radius:999px;font-size:.7rem;font-weight:700;background:#ffe9ef;color:#a3163a;white-space:nowrap;border:1px solid #ffc9d7}.role-chip.leader{border-color:#cc1d49}.task-desc{margin:0;color:#a3163a;line-height:1.35;font-size:.88rem}.task-meta-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.5rem}.task-meta-card{padding:.55rem .7rem;border-radius:12px;background:#ffdfe8;border:1px solid #ffc9d7}.task-meta-card__label{display:block;margin-bottom:.2rem;color:#a3163a;font-size:.68rem;text-transform:uppercase;letter-spacing:.06em}.task-meta-card strong{color:#cc1d49;font-size:.86rem}.task-people{display:flex;flex-wrap:wrap;gap:.35rem}.task-person-chip{padding:.22rem .45rem;border-radius:999px;background:#ffe9ef;color:#a3163a;font-size:.7rem;border:1px solid #ffc9d7}.task-people__empty{color:#a3163a;font-size:.74rem}.task-links-row{display:flex;gap:.45rem;align-items:flex-start;flex-wrap:wrap}.task-links-label{padding-top:.22rem;min-width:78px;color:#a3163a;font-weight:700;font-size:.76rem}.task-links-list{display:flex;flex-wrap:wrap;gap:.35rem;flex:1}.task-link-chip{display:inline-flex;align-items:center;gap:.4rem;padding:.32rem .55rem;border-radius:12px;border:1px solid #ffc9d7;background:#ffe9ef;cursor:pointer;text-align:left}.task-link-chip__name{color:#cc1d49;font-weight:700;font-size:.76rem}.task-link-chip__meta{color:#a3163a;font-size:.68rem}.task-footer{display:flex;align-items:center;justify-content:flex-end}.comments-toggle{display:inline-flex;align-items:center;gap:.45rem;border:none;border-radius:12px;padding:.5rem .7rem;background:#ffe9ef;color:#cc1d49;font-weight:700;font-size:.78rem;cursor:pointer;border:1px solid #ffc9d7}.comments-toggle:hover{background:#ffc9d7}.comments-toggle__icon{font-size:1rem}.comments-toggle__badge{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#cc1d49;color:#fff;font-size:.7rem;line-height:1}@media(max-width:900px){.task-card{flex-direction:column}.task-footer{justify-content:flex-start}}@media(max-width:768px){.tasks-wrapper{padding:1rem}.tasks-hero{flex-direction:column;align-items:flex-start}.task-node:not(.level-0){margin-left:.85rem}.task-node:not(.level-0):before{left:.2rem}.task-children{padding-left:.45rem}.task-links-label{min-width:0;width:100%;padding-top:0}}.comments-overlay{position:fixed;inset:0;background:#cc1d4973;display:flex;justify-content:center;align-items:center;z-index:1000;padding:24px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.comments-modal{position:relative;width:min(880px,100%);max-height:min(92vh,980px);display:flex;flex-direction:column;border-radius:28px;overflow:hidden;background:#ffe9ef;border:1px solid #ffc9d7;box-shadow:0 12px 32px #cc1d4940;font-family:Segoe UI,Trebuchet MS,sans-serif}.comments-modal__hero{display:flex;justify-content:space-between;gap:24px;padding:28px 32px 22px;background:#ffdfe8;border-bottom:1px solid #ffc9d7}.comments-modal__eyebrow{display:inline-block;margin-bottom:10px;padding:6px 10px;border-radius:999px;background:#ffe9ef;color:#cc1d49;font-size:.74rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.comments-modal h3{margin:0;font-size:clamp(1.35rem,3vw,1.8rem);line-height:1.15;color:#cc1d49}.comments-modal p{margin:10px 0 0;color:#a3163a;line-height:1.5}.comments-modal__stats{min-width:104px;height:fit-content;padding:16px 18px;border-radius:20px;background:#ffe9ef;border:1px solid #ffc9d7;text-align:center}.comments-stat__value{display:block;font-size:1.9rem;font-weight:800;color:#cc1d49;line-height:1}.comments-stat__label{display:block;margin-top:6px;color:#a3163a;font-size:.78rem;text-transform:uppercase;letter-spacing:.08em}.close-btn{position:absolute;top:18px;right:18px;width:40px;height:40px;border:none;border-radius:999px;background:#ffe9ef;color:#cc1d49;font-size:1.7rem;cursor:pointer;line-height:1;z-index:2}.comments-banner{margin:16px 24px 0;padding:12px 16px;border-radius:14px;font-size:.92rem}.comments-banner--error{background:#ffe0de;color:#8f241f;border:1px solid #f1b4b0}.comments-list{padding:18px 20px;overflow-y:auto;display:flex;flex-direction:column;gap:12px;flex:1}.comments-empty{padding:28px 22px;border:1px dashed #ffc9d7;border-radius:18px;background:#ffe9ef;color:#a3163a;text-align:center;line-height:1.55}.comment-item{padding:14px;border-radius:18px;background:#ffdfe8;border:1px solid #ffc9d7;box-shadow:0 4px 12px #cc1d4914}.comment-item.is-own{background:#ffe9ef;border-color:#ffc9d7}.comment-item__top{display:flex;justify-content:space-between;gap:12px;margin-bottom:12px}.comment-author{color:#cc1d49;font-weight:700;font-size:.95rem}.comment-author-line{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.comment-unread-pill{display:inline-flex;align-items:center;padding:2px 8px;border-radius:999px;background:#cc1d49;color:#fff;font-size:.72rem;font-weight:700}.comment-time{margin-top:3px;color:#a3163a;font-size:.8rem}.comment-content{color:#a3163a;line-height:1.45;white-space:pre-wrap}.comment-actions,.comment-edit__actions,.comment-add__footer{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.comment-actions button,.comment-edit__actions button,.comment-add button,.comment-gallery__remove,.comment-upload{border:none;border-radius:12px;font-weight:600;cursor:pointer}.comment-actions button,.comment-edit__actions .ghost,.comment-gallery__remove{padding:8px 12px;background:#ffe9ef;color:#a3163a;border:1px solid #ffc9d7}.comment-actions .danger{color:#a12621}.comment-edit textarea,.comment-add textarea{width:100%;resize:vertical;border-radius:18px;border:1px solid #ffc9d7;background:#fff0f5;padding:14px 16px;font-size:.96rem;line-height:1.55;color:#a3163a;box-sizing:border-box}.comment-edit textarea:focus,.comment-add textarea:focus{outline:none;border-color:#cc1d49;box-shadow:0 0 0 4px #cc1d491f}.comment-attachments-editor,.comment-add__header{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin:14px 0 10px}.comment-add{padding:18px 20px 20px;background:#ffe9ef;border-top:1px solid #ffc9d7}.comment-add__header strong{display:block;color:#cc1d49;margin-bottom:4px}.comment-add__header span,.comment-upload__hint{color:#a3163a;font-size:.84rem}.comment-upload{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:9px 14px;background:#cc1d49;color:#fff;box-shadow:0 3px 10px #cc1d492e;white-space:nowrap}.comment-upload input{display:none}.comment-add button,.comment-edit__actions button:not(.ghost){padding:10px 16px;background:#cc1d49;color:#fff;box-shadow:0 3px 10px #cc1d492e}.comment-add button:disabled,.comment-edit__actions button:disabled{opacity:.72;cursor:default;box-shadow:none}.comment-gallery{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px;align-items:flex-start}.comment-gallery__item{display:flex;flex-direction:column;gap:6px;width:140px;flex:0 0 140px}.comment-gallery__preview{border:none;padding:0;border-radius:12px;overflow:hidden;cursor:pointer;background:#ffe9ef;width:140px;height:104px;box-shadow:0 4px 12px #cc1d491f;border:1px solid #ffc9d7;flex:0 0 auto}.comment-gallery__preview img{width:100%;height:100%;object-fit:cover;display:block}.comment-gallery__remove{width:100%;padding:6px 8px;font-size:.82rem}.comment-lightbox{position:fixed;inset:0;z-index:1100;background:#cc1d49b8;display:flex;justify-content:center;align-items:center;padding:24px}.comment-lightbox img{max-width:min(1100px,100%);max-height:90vh;border-radius:20px;box-shadow:0 24px 48px #0006}@media(max-width:720px){.comments-overlay{padding:12px}.comments-modal__hero{padding:22px 20px 18px}.comments-list,.comment-add{padding-left:16px;padding-right:16px}.comments-modal__hero,.comment-item__top{flex-direction:column}.comments-modal__stats{min-width:0;width:100%}.comment-gallery__item,.comment-gallery__preview{width:108px}.comment-gallery__preview{height:84px}}
