.loading-overlay{align-items:center;background-color:#0006;display:flex;height:100%;justify-content:center;left:0;position:fixed;top:0;width:100%;z-index:9999}.loading-overlay p{color:#fff;font-size:1.5rem;margin:0}header{align-items:center;display:flex;justify-content:flex-end;margin:0 auto;padding:10px}footer{background-color:#fff;bottom:0;left:0;padding:12px 0;position:fixed;text-align:center;width:100%;z-index:100}body,html{background-color:#d9e2ea;font-family:Open Sans,Arial,Helvetica,sans-serif;font-size:16px;height:100%;line-height:1.5;margin:0}.login-page{display:flex;justify-content:center;padding:1rem}.login-container{background-color:#fff;border-radius:5px;box-sizing:border-box;font-family:sans-serif;margin:50px auto;max-width:400px;padding:20px;width:100%}@media (max-width:600px){.login-container{margin:20px auto;padding:15px}}.login-button{background-color:#245681;border:none;border-radius:3px;color:#fff;cursor:pointer;font-size:16;font-weight:700;padding:12px;width:100%}.modal-box h2{color:#333;font-size:1.75rem;font-weight:600;margin-bottom:1.5rem}.form-row{align-items:center;display:flex;flex-direction:column;margin-bottom:1rem}.form-row input,.form-row label,.form-row select{box-sizing:border-box;max-width:400px;width:100%}.form-row input,.form-row select{border:1px solid #ccc;border-radius:4px;font-size:1rem;padding:.5rem .75rem}.form-row label{font-weight:500;margin-bottom:.5rem;text-align:left}.form-actions{margin-top:1.5rem}.form-actions button[type=submit]{background-color:#06c;color:#fff}.input-with-button{max-width:400px;position:relative;width:100%}.input-with-button input{padding-right:2rem}.input-with-button button{background:none;border:none;cursor:pointer;position:absolute;right:.5rem;top:50%;transform:translateY(-50%)}.input-with-button button:focus{outline:none}.projects-page{height:100%;margin:0;padding:10px}.projects-container{display:flex;gap:1rem;margin:20px auto;width:100%}.filters-pane{background-color:#fafafa;border:1px solid #ddd;border-radius:7px;flex:0 0 200px;padding:12px}.projects-main{display:flex;flex:1 1 auto;flex-direction:column}.search-row{align-items:center;display:flex;margin-bottom:8px}.search-input{border:1px solid #ccc;border-radius:4px;box-sizing:border-box;font-size:1rem;padding:8px;width:350px}.action-buttons{display:flex;gap:.5rem;margin-left:auto}.table-container{background-color:#fff;border:1px solid #ddd;border-radius:7px;flex:1 1 auto;height:65vh;overflow-y:auto}@media (max-width:768px){.projects-container{flex-direction:column}.filters-pane{order:1;width:100%}.projects-main{order:2}.search-row{align-items:stretch;flex-direction:column}.search-input{margin-bottom:.5rem;width:100%}.table-container{height:auto}}.project-details-wrapper{align-items:flex-start;display:flex;gap:40px;margin-bottom:40px;padding:20px 80px}.project-details-left{display:flex;flex:1 1;flex-direction:column;max-width:600px}.nav-buttons{display:flex;gap:8px;margin-bottom:1rem}.button-cancel{background-color:#ccc;border:none;border-radius:4px;cursor:pointer;padding:10px 20px}.project-details-left h1{margin:0 0 16px}.project-form{grid-row-gap:12px;grid-column-gap:16px;align-items:center;display:grid;grid-template-columns:150px auto}.project-form label{font-weight:500;justify-self:end;margin:0}.project-form input[type=checkbox],.project-form input[type=date],.project-form input[type=text],.project-form select{grid-column:2}.project-form input[type=date],.project-form input[type=text],.project-form select{background-color:#f0f0f0;border:1px solid #ccc;border-radius:2px;padding:8px;width:250px}.project-form input[type=date]{width:100px}.project-form input[type=checkbox]{justify-self:start;margin:0;transform:scale(1.2)}.project-details-right{background-color:#fff;border-radius:3px;flex:1 1;padding:8px}.project-details-right h2{margin-top:0}.spacer{flex-shrink:0;height:75px}.project-footer{text-align:center}@media (max-width:768px){.project-details-wrapper{flex-direction:column;padding:20px}.project-details-right{margin-top:1rem}.project-form{grid-template-columns:1fr}.project-form label{justify-self:start;margin-top:.5rem}.project-form input[type=date],.project-form input[type=text],.project-form select{width:100%}}.project-code{flex-shrink:0;overflow:hidden;padding:0 8px;text-align:left;text-overflow:ellipsis;white-space:nowrap;width:140px}.project-name{padding-left:16px}.tree-children{padding:0}.field-with-icon{display:inline-block;position:relative;width:100%}.field-with-icon input[readonly]{background-color:#f5f5f5;cursor:default}.field-with-icon .edit-icon{cursor:pointer;position:absolute;right:8px;top:50%;transform:translateY(-50%)}.modal-backdrop{align-items:center;background:#00000080;display:flex;inset:0;justify-content:center;position:fixed;z-index:1000}.modal-box{background:#d9e2ea;border-radius:8px;box-shadow:0 4px 12px #00000026;max-width:500px;padding:2rem;width:100%}.modal-box h2{margin-top:0;text-align:center}.org-tree{background:#fff;border-radius:4px;margin-bottom:1rem;max-height:300px;overflow-y:auto;padding:.5rem}.tree-node{align-items:center;border-bottom:1px solid #ddd;display:flex;padding:8px 0}.tree-node-header{cursor:pointer}.tree-node-header.disabled{cursor:default}.chevron,.indent{flex-shrink:0}.chevron{text-align:center;width:24px}.project-name{flex:1 1;overflow:hidden;padding-left:8px;text-align:left;text-overflow:ellipsis;white-space:nowrap}.tree-children{list-style:none;margin:0;padding:0 0 0 20px}.form-actions{display:flex;gap:1rem;justify-content:center;margin-top:1rem}.form-actions button{border:none;border-radius:4px;cursor:pointer;font-size:1rem;padding:.75rem 1.5rem}.form-actions button[type=button]{background-color:#f5f5f5;color:#333}.chat-page{display:flex;flex-direction:column;height:100vh;margin:0 auto;max-width:800px;padding:1rem}.chat-page header{margin-bottom:1rem}.chat-page header button{background:none;border:none;color:#007bff;cursor:pointer;font-size:1rem}.chat-page header button:hover{text-decoration:underline}.chat-page main{display:flex;flex:1 1;flex-direction:column}.chat-history{background:#f7f7f7;border:1px solid #ddd;border-radius:4px;flex:1 1;margin-bottom:1rem;overflow-y:auto;padding:1rem}.chat-message{word-wrap:break-word;border-radius:8px;line-height:1.5;margin-bottom:.75rem;max-width:80%;padding:.75rem}.chat-message.user{align-self:flex-end;background:#dcf8c6}.chat-message.assistant{align-self:flex-start;background:#fff;border:1px solid #eee}.chat-sql{background-color:#fafafa;border:1px solid #ddd;border-radius:4px;font-family:monospace;margin-top:.5rem;overflow-x:auto;padding:.5rem}.chat-form{display:flex;gap:.5rem}.model-selector{display:block;margin-bottom:1rem}.model-selector select{margin-left:.5rem;padding:.25rem .5rem}.chat-form textarea{border:1px solid #ccc;border-radius:4px;flex:1 1;font-family:monospace;font-size:1rem;min-height:80px;padding:.5rem;resize:vertical}.chat-form button{cursor:pointer;font-size:1rem;padding:.5rem 1rem}.chat-form button:disabled{cursor:not-allowed;opacity:.6}.error{color:#d9534f;margin-top:.5rem}@media (max-width:600px){.chat-page{padding:.5rem}}.not-found-page{align-items:center;display:flex;flex-direction:column;height:80vh;justify-content:center;padding:2rem;text-align:center}.not-found-page h1{font-size:2.5rem;margin-bottom:1rem}.not-found-page p{font-size:1.25rem;margin-bottom:1.5rem}.not-found-page .btn{background-color:#007bff;border-radius:4px;color:#fff;display:inline-block;padding:.5rem 1rem;text-decoration:none}
/*# sourceMappingURL=main.2bb93197.css.map*/