.header{width:100%;height:var(--header-height);color:#fff;z-index:1000;background:#222;justify-content:flex-end;align-items:center;padding:0 1rem;display:flex;position:fixed;top:0;left:0}.header-title{position:absolute;left:50%;transform:translate(-50%)}.header-user{z-index:1;align-items:center;gap:.75rem;display:flex}.header-user button{color:#222;cursor:pointer;background-color:#fff;border:.125rem solid #fff;border-radius:.5rem;padding:.35rem .75rem;font-weight:700}.header-modal{color:#1e293b;background-color:#fff;border:.125rem solid #1e293b;border-radius:1rem;width:min(90vw,28rem);padding:1.5rem}.header-modal h2{margin-bottom:1rem}.header-modal-form{flex-direction:column;gap:1rem;display:flex}.header-modal-field{flex-direction:column;gap:.35rem;font-weight:700;display:flex}.header-modal-field input{border:.125rem solid #1e293b;border-radius:.5rem;padding:.5rem .625rem;font-size:1rem}.header-modal-actions{justify-content:flex-end;gap:.5rem;display:flex}.header-modal-actions button{cursor:pointer;border:.125rem solid #1e293b;border-radius:.5rem;padding:.5rem .875rem;font-weight:700}.header-modal-actions button[type=button]{color:#1e293b;background-color:#fff}.header-modal-actions button[type=submit]{color:#fff;background-color:#222}.task{background-color:#f0f0f0;border:.125rem solid #1e293b;border-radius:1rem;padding:1rem;box-shadow:0 .25rem .75rem #00000052}.task-completed{background-color:#dcfce7;border-color:#16a34a}.task-header{justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:.75rem;display:flex}.task-title{margin-bottom:.25rem;font-size:1.3rem}.task-created{color:#64748b;font-size:.875rem}.task-actions{flex-shrink:0;align-items:flex-start;gap:.5rem;display:flex}.edit-button,.delete-button{cursor:pointer;border:.125rem solid #1e293b;border-radius:.5rem;padding:.25rem .75rem;font-size:.875rem;font-weight:600;line-height:1.2}.edit-button{background-color:#fff}.delete-button{color:#b91c1c;background-color:#fee2e2}.task-meta{flex-wrap:wrap;align-items:center;gap:.5rem;margin-bottom:.75rem;display:flex}.due-date-tag{color:#334155;background-color:#f1f5f9;border-radius:.5rem;padding:.25rem .5rem;font-size:.875rem;font-weight:600}.completion-badge{color:#fff;border-radius:999rem;padding:.1rem .5rem;font-size:.875rem;font-weight:600;display:inline-block}.completion-completed{background-color:#16a34a}.completion-pending{background-color:#b91c1c}.priority-tag{text-transform:uppercase;border-radius:999rem;align-self:flex-start;padding:.25rem .625rem;font-size:.8rem;font-weight:700}.priority-low{color:#1d4ed8;background-color:#dbeafe}.priority-medium{color:#92400e;background-color:#fef3c7}.priority-high{color:#b91c1c;background-color:#fee2e2}.progress-section{margin-top:.75rem}.progress-label{justify-content:space-between;margin-bottom:.35rem;font-size:.875rem;font-weight:600;display:flex}.progress-bar{background-color:#e2e8f0;border-radius:999rem;height:.75rem;margin-bottom:.5rem;overflow:hidden}.progress-fill{background-color:#2563eb;border-radius:999rem;height:100%}.progress-controls{align-items:center;gap:.5rem;margin-top:.75rem;display:flex}.progress-input{border:.125rem solid #1e293b;border-radius:.5rem;width:5rem;padding:.35rem .5rem;font-size:1rem}.progress-button{cursor:pointer;background-color:#fff;border:.125rem solid #1e293b;border-radius:.5rem;width:2.25rem;height:2.25rem;font-size:1.25rem;font-weight:700}.progress-button:hover{background-color:#f1f5f9}.checkbox-section{gap:.5rem;display:flex}.modal-backdrop{z-index:2000;background-color:#00000073;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.edit-modal{background-color:#fff;border:.125rem solid #1e293b;border-radius:1rem;width:min(90vw,28rem);padding:1rem}.edit-modal-header{justify-content:space-between;align-items:center;margin-bottom:1rem;display:flex}.modal-close-button{cursor:pointer;background:0 0;border:none;font-size:1.25rem}.edit-modal-form{flex-direction:column;gap:1rem;display:flex}.edit-modal-field{flex-direction:column;gap:.35rem;font-weight:700;display:flex}.edit-modal-field input,.edit-modal-field select{border:.125rem solid #1e293b;border-radius:.5rem;width:100%;padding:.5rem .625rem;font-size:1rem}.edit-modal-actions{justify-content:flex-end;gap:.5rem;display:flex}.modal-cancel-button,.modal-save-button{cursor:pointer;border:.125rem solid #1e293b;border-radius:.5rem;padding:.5rem .875rem;font-weight:700}.modal-cancel-button{background-color:#fff}.modal-save-button{color:#fff;background-color:#222}.task-list-section,.task-list{flex-direction:column;gap:1rem;display:flex}.task-list-header{justify-content:space-between;align-items:baseline;display:flex}.task-form{flex-direction:column;gap:1rem;display:flex}.task-form-title{margin-bottom:.25rem;font-size:1.75rem}.form-field{flex-direction:column;gap:.35rem;font-weight:700;display:flex}.form-field input,.form-field select{border:.125rem solid #1e293b;border-radius:.5rem;width:100%;padding:.5rem .625rem;font-size:1rem}.progress-form-section{background-color:#f8fafc;border:.125rem solid #1e293b;border-radius:.75rem;flex-direction:column;gap:1rem;padding:1rem;display:flex}.progress-form-title{font-size:1.2rem}.task-form-submit{color:#fff;cursor:pointer;background-color:#222;border:.125rem solid #1e293b;border-radius:.5rem;padding:.625rem 1rem;font-size:1rem;font-weight:700}.task-form-submit:hover{background-color:#334155}.login-page{justify-content:center;align-items:center;min-height:100vh;padding:1rem;display:flex}.login-form{background-color:#62c5ff;border:.125rem solid #1e293b;border-radius:1rem;flex-direction:column;gap:1rem;width:min(90vw,24rem);padding:1.5rem;display:flex}.login-field{flex-direction:column;gap:.35rem;font-weight:700;display:flex}.login-field input{border:.125rem solid #1e293b;border-radius:.5rem;padding:.5rem .625rem;font-size:1rem}.login-button{color:#fff;cursor:pointer;background-color:#222;border:.125rem solid #1e293b;border-radius:.5rem;padding:.625rem 1rem;font-size:1rem;font-weight:700}.error-message{color:#931b1b;text-align:center;font-size:1.25rem;font-weight:700}.info-message{color:#1e293b;text-align:center;font-size:1rem;font-weight:700}*{box-sizing:border-box;margin:0;padding:0}html,body{height:100%;font-size:16px;overflow:hidden}:root{--header-height:3.75rem}.main-content{margin-top:var(--header-height);gap:1rem;padding:1rem;display:flex}.left-panel,.right-panel{height:calc(100vh - var(--header-height) - 2rem);background-color:#62c5ff;border:.125rem solid #000;border-radius:.625rem;padding:1rem;overflow-y:auto}.left-panel{flex:2}.right-panel{flex:1}
