@charset "UTF-8";@import"https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap";:root{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light;color:#213547;background-color:#fff;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#06c;text-decoration:inherit}a:hover{color:#05a}body{margin:0;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#f9f9f9;color:#333;min-width:320px;min-height:100vh;display:flex;flex-direction:column}#root{width:100%;height:100vh;display:flex;flex-direction:column}h1{font-size:2em;line-height:1.1}button{border-radius:4px;border:1px solid #ccc;padding:.5em 1em;font-size:.9em;font-weight:500;font-family:inherit;background-color:#f0f0f0;cursor:pointer;transition:background-color .15s}button:hover{background-color:#e0e0e0;border-color:#bbb}button:focus,button:focus-visible{outline:2px solid #0066cc}.document-list-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000}.document-list-modal{background-color:#fff;border-radius:8px;width:80%;max-width:600px;max-height:80vh;padding:20px;box-shadow:0 4px 12px #00000026;overflow-y:auto}.document-list-modal h2{margin-top:0;margin-bottom:20px;font-size:1.4rem}.document-list-modal ul{list-style:none;padding:0;margin:0}.document-list-modal li{margin-bottom:8px}.document-list-modal li button{width:100%;text-align:left;padding:10px;background-color:#f5f5f5;border:1px solid #ddd;border-radius:4px;cursor:pointer;display:flex;justify-content:space-between;align-items:center}.document-list-modal li button:hover{background-color:#eee}.document-list-modal .date{font-size:.8rem;color:#666}.document-list-modal .error{color:#d32f2f}.modal-actions{margin-top:20px;display:flex;justify-content:flex-end}.modal-actions button{padding:8px 16px;background-color:#f0f0f0;border:1px solid #ccc;border-radius:4px;cursor:pointer}.modal-actions button:hover{background-color:#e0e0e0}.editor-header{display:flex;justify-content:space-between;align-items:center;padding:10px 0;margin-bottom:10px;border-bottom:1px solid #ddd}.project-selector{position:relative;min-width:200px}.current-project{display:flex;align-items:center;cursor:pointer;padding:5px 10px;border:1px solid #ccc;border-radius:4px;background-color:#f8f8f8}.current-project span{color:#666;margin-right:5px}.current-project strong{flex-grow:1;margin-right:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.project-dropdown-button{background:none;border:none;padding:0 5px;cursor:pointer;color:#666}.project-dropdown{position:absolute;top:100%;left:0;width:300px;max-height:400px;overflow-y:auto;background-color:#fff;border:1px solid #ddd;border-radius:4px;box-shadow:0 4px 8px #0000001a;z-index:100;padding:10px;margin-top:5px}.project-dropdown ul{list-style:none;padding:0;margin:0 0 10px}.project-dropdown li{margin-bottom:5px}.project-dropdown li button{width:100%;text-align:left;padding:8px 10px;border:1px solid #eee;border-radius:3px;background-color:#f9f9f9;cursor:pointer;display:flex;justify-content:space-between;align-items:center}.project-dropdown li button:hover{background-color:#f0f0f0}.project-dropdown li button.active{background-color:#e6f7ff;border-color:#91d5ff}.project-date{font-size:.8rem;color:#999}.dropdown-actions{display:flex;justify-content:flex-end;margin-top:10px}.form-group{margin-bottom:15px}.form-group label{display:block;margin-bottom:5px;font-weight:500}.form-group input,.form-group textarea{width:100%;padding:8px;border:1px solid #ddd;border-radius:4px}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:15px}.document-info{display:flex;flex-direction:column;align-items:flex-end}.document-title{font-size:1.1rem;font-weight:500;margin-bottom:5px;display:flex;align-items:center}.star-button{background:none;border:none;cursor:pointer;color:#ccc;font-size:1.2rem;margin-left:10px}.star-button.starred{color:#f8c200}.document-type select{padding:5px 10px;border:1px solid #ddd;border-radius:3px;background-color:#fff}.document-categories{margin-top:15px}.document-category{margin-bottom:20px}.document-category h3{margin-bottom:10px;padding-bottom:5px;border-bottom:1px solid #eee}.document-list-modal li.starred button{background-color:#fffbee;border-left:3px solid #f8c200}.doc-title{font-weight:500;display:flex;align-items:center}.doc-title .star{color:#f8c200;margin-right:8px}.doc-meta{display:flex;flex-direction:column;align-items:flex-end;font-size:.8rem}.doc-meta .tags{color:#06c}.separator{margin:0 10px;color:#ddd}.dashboard-container{display:flex;flex-direction:row;min-height:100vh;background-color:#f9f9f9}.dashboard-sidebar{width:280px;flex-shrink:0;background-color:#fff;border-right:1px solid #eaeaea;display:flex;flex-direction:column;height:100vh;position:sticky;top:0;overflow-y:auto}.sidebar-branding{padding:1rem 1.5rem;display:flex;align-items:center;gap:.75rem;border-bottom:1px solid #eaeaea;font-size:1.2rem;font-weight:600;flex-shrink:0}.sidebar-logo{font-size:1.5rem}.sidebar-user-info{padding:1rem 1.5rem;border-bottom:1px solid #eaeaea;position:relative;flex-shrink:0}.user-info-button{background:none;border:none;padding:0;width:100%;display:flex;flex-direction:column;align-items:flex-start;cursor:pointer;text-align:left;position:relative}.user-name{font-weight:600;font-size:.95rem;color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:calc(100% - 20px)}.user-email{font-size:.85rem;color:#666;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:calc(100% - 20px)}.dropdown-arrow{position:absolute;right:0;top:50%;transform:translateY(-50%);font-size:.7rem;color:#888}.user-info-dropdown{position:absolute;left:1rem;right:1rem;top:calc(100% + 5px);background-color:#fff;border:1px solid #ddd;border-radius:4px;box-shadow:0 4px 8px #0000001a;z-index:10;padding:.5rem}.dropdown-section{padding:.5rem;font-size:.85rem;color:#555;border-bottom:1px solid #eee;margin-bottom:.5rem;word-wrap:break-word}.dropdown-button{display:block;width:100%;padding:.5rem;background:none;border:none;text-align:left;cursor:pointer;font-size:.9rem;border-radius:3px}.dropdown-button:hover{background-color:#f0f0f0}.sidebar-projects{flex-grow:1;display:flex;flex-direction:column;overflow:hidden}.sidebar-header{padding:1rem 1.5rem;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #eaeaea;flex-shrink:0}.sidebar-header h2{margin:0;font-size:1.1rem}.new-project-button{background-color:#f0f0f0;border:1px solid #ddd;border-radius:3px;padding:.3rem .6rem;cursor:pointer;font-size:.85rem}.new-project-button:hover{background-color:#e8e8e8}.sidebar-form{padding:1rem 1.5rem;border-bottom:1px solid #eee;background-color:#fdfdfd;flex-shrink:0}.project-list{list-style:none;padding:0;margin:0;overflow-y:auto;flex-grow:1}.project-list li{padding:0;cursor:pointer;border-bottom:1px solid #f0f0f0}.project-list li:last-child{border-bottom:none}.project-item{padding:.8rem 1.5rem;display:flex;flex-direction:row;align-items:baseline;justify-content:space-between;gap:.5rem;position:relative}.project-info-wrapper{display:flex;align-items:baseline;gap:.5rem;overflow:hidden;flex-grow:1}.project-name{flex-grow:1}.project-subtext{flex-shrink:0}.project-actions{display:flex;align-items:center;opacity:0;transition:opacity .15s ease-in-out;flex-shrink:0}.project-item:hover .project-actions{opacity:1}.project-action-button{background:none;border:none;color:#666;cursor:pointer;padding:2px 4px;margin-left:2px;border-radius:3px;font-size:1rem;line-height:1}.project-action-button:hover{background-color:#e0e0e0;color:#333}.dots-button{font-weight:700;font-size:1.1rem}.project-action-menu{position:fixed;background-color:#fff;border:1px solid #ddd;border-radius:4px;box-shadow:0 4px 8px #0000001a;z-index:110;padding:.5rem 0;min-width:180px}.menu-item{display:flex;align-items:center;gap:.75rem;width:100%;padding:.5rem 1rem;background:none;border:none;text-align:left;cursor:pointer;font-size:.9rem;color:#333}.menu-item:hover{background-color:#f0f0f0}.menu-icon{display:inline-block;width:16px;text-align:center;color:#666}.menu-item.danger,.menu-item.danger .menu-icon{color:#d32f2f}.menu-item.danger:hover{background-color:#f8d7da}.project-list li.empty-state{padding:1rem 1.5rem;color:#777;font-style:italic;cursor:default}.sidebar-list-item{margin:2px 10px;padding:8px 10px;border-radius:4px;cursor:pointer;border:1px solid transparent;border-bottom:none}.sidebar-list-item:hover{background-color:#f0f0f0;border-color:#ddd}.sidebar-list-item.active{background-color:#e6f7ff;font-weight:400}.sidebar-list-item.active .project-name{font-weight:600}.sidebar-list-item.active .project-subtext{color:#333}.project-list li{padding:0;border-bottom:none}.sidebar-projects .sidebar-list{padding-top:5px;padding-bottom:5px}.dashboard-main-content{flex-grow:1;padding:2rem;overflow-y:auto;height:100vh;box-sizing:border-box}.dashboard-main-content .project-documents-area .document-area-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:1px solid #eee}.dashboard-main-content .project-documents-area .document-area-header .project-header-id{font-size:.9rem;color:#666;margin-bottom:.25rem}.dashboard-main-content .project-documents-area .document-area-header .project-header-name{margin:0;font-size:1.6rem;color:#333;line-height:1.2}.dashboard-main-content .project-documents-area .document-section{margin-top:1.5rem}.dashboard-main-content .project-documents-area .document-section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;padding-bottom:.5rem;border-bottom:1px solid #eee}.dashboard-main-content .project-documents-area .document-section-header h3{margin:0;font-size:1.2rem;color:#555}.dashboard-main-content .project-documents-area .document-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1.5rem}.dashboard-main-content .project-documents-area .document-card{background-color:#fff;border-radius:6px;box-shadow:0 2px 5px #00000014;position:relative;transition:transform .15s ease,box-shadow .15s ease;overflow:hidden;display:flex;flex-direction:column}.dashboard-main-content .project-documents-area .document-card:hover .document-actions{opacity:1}.dashboard-main-content .project-documents-area .document-card:hover{transform:translateY(-3px);box-shadow:0 4px 8px #0000001f}.dashboard-main-content .project-documents-area .card-content{padding:1rem;flex-grow:1;cursor:pointer;display:flex;flex-direction:column}.dashboard-main-content .project-documents-area .document-card .document-title{font-weight:600;margin-bottom:.5rem;font-size:1rem;line-height:1.3;color:#333;word-break:break-word;padding-right:30px}.dashboard-main-content .project-documents-area .document-card .document-date{font-size:.8rem;color:#888;margin-top:auto;padding-top:.5rem}.dashboard-main-content .project-documents-area .document-actions{position:absolute;top:.5rem;right:.5rem;opacity:0;transition:opacity .15s ease-in-out;z-index:5}.dashboard-main-content .project-documents-area .document-actions .document-action-button{background:#fffc;border:none;color:#aaa;font-size:1.2rem;cursor:pointer;padding:2px 5px;line-height:1;border-radius:50%;width:24px;height:24px;display:flex;align-items:center;justify-content:center}.dashboard-main-content .project-documents-area .document-actions .document-action-button:hover{color:#333;background-color:#f0f0f0}.dashboard-quick-actions{margin-bottom:1.5rem;padding-bottom:1.5rem;border-bottom:1px solid #eee;display:flex;align-items:center;gap:1rem}.quick-start-button{padding:.8rem 1.2rem;font-size:1rem}.quick-start-button:disabled{background-color:#ccc;cursor:not-allowed}.document-area-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:1px solid #eee}.document-area-header h2{margin:0;font-size:1.4rem;color:#333}.content-prompt{background-color:#fff;padding:2rem;border-radius:8px;text-align:center;margin:2rem auto;max-width:600px;box-shadow:0 2px 5px #0000000d}.content-prompt h2{margin-top:0;margin-bottom:1rem;color:#333}.content-prompt p{color:#666;font-size:1.1rem}.document-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1.5rem}.document-card{background-color:#fff;border-radius:6px;box-shadow:0 2px 5px #00000014;position:relative;transition:transform .15s ease,box-shadow .15s ease;overflow:hidden;display:flex;flex-direction:column}.document-card:hover .document-actions{opacity:1}.document-card:hover{transform:translateY(-3px);box-shadow:0 4px 8px #0000001f}.card-content{padding:1rem;flex-grow:1;cursor:pointer;display:flex;flex-direction:column}.document-card .document-title{font-weight:600;margin-bottom:.5rem;font-size:1rem;line-height:1.3;color:#333;word-break:break-word;padding-right:30px}.document-card .document-date{font-size:.8rem;color:#888;margin-top:auto;padding-top:.5rem}.document-actions{position:absolute;top:.5rem;right:.5rem;opacity:0;transition:opacity .15s ease-in-out;z-index:5}.document-actions .document-action-button{background:#fffc;border:none;color:#aaa;font-size:1.2rem;cursor:pointer;padding:2px 5px;line-height:1;border-radius:50%;width:24px;height:24px;display:flex;align-items:center;justify-content:center}.document-actions .document-action-button:hover{color:#333;background-color:#f0f0f0}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background-color:#0009;display:flex;justify-content:center;align-items:center;z-index:1000}.modal-content.settings-modal{background-color:#fff;border-radius:8px;width:90%;max-width:800px;height:70vh;max-height:600px;box-shadow:0 5px 15px #0003;display:flex;flex-direction:column;overflow:hidden;position:relative}.modal-content.new-project-modal{background-color:#fff;border-radius:8px;width:90%;max-width:500px;height:auto;min-height:auto;padding:2rem;box-shadow:0 5px 15px #0003;display:flex;flex-direction:column;align-items:center;position:relative;text-align:center}.modal-content.new-project-modal .settings-layout{display:block}.modal-content.new-project-modal .settings-sidebar{display:none}.modal-content.new-project-modal .settings-main{padding:0;width:100%;overflow-y:visible}.modal-content.new-project-modal h2{margin-bottom:1.5rem;padding:0;border-bottom:none;width:100%}.modal-content.new-project-modal .auth-form{width:100%;max-width:350px;margin:0 auto;text-align:left}.modal-content.new-project-modal .auth-form label{color:#555}.modal-content.new-project-modal .auth-form input{border:1px solid #ddd;background-color:#fff}.modal-content.new-project-modal .auth-form .form-actions{justify-content:center;gap:15px}.modal-content.new-project-modal .auth-form .primary-button{background-color:#06c;color:#fff}.modal-content.new-project-modal .auth-form .primary-button:hover{background-color:#0055b3}.modal-content.new-project-modal .auth-form .secondary-button{color:#555;background-color:#f0f0f0;border:1px solid #ccc;padding:.8rem 1rem;border-radius:4px;margin-top:0}.modal-content.new-project-modal .auth-form .secondary-button:hover{text-decoration:none;background-color:#e0e0e0;border-color:#bbb}.modal-content.new-project-modal .error-message{color:#d32f2f;margin-bottom:1rem;font-size:.9rem;text-align:center}.modal-close-button{position:absolute;top:10px;right:15px;background:none;border:none;font-size:1.8rem;color:#888;cursor:pointer;line-height:1;padding:5px}.modal-close-button:hover{color:#333}.settings-layout{display:flex;flex-grow:1;overflow:hidden}.settings-sidebar{width:200px;flex-shrink:0;background-color:#f8f9fa;border-right:1px solid #eee;padding:1rem 0;overflow-y:auto}.settings-sidebar ul{list-style:none;padding:0;margin:0}.settings-sidebar li{padding:.75rem 1.5rem;cursor:pointer;font-size:.95rem;color:#555;border-left:3px solid transparent}.settings-sidebar li:hover{background-color:#e9ecef}.settings-sidebar li.active{background-color:#fff;color:#06c;font-weight:500;border-left-color:#06c}.settings-main{flex-grow:1;padding:2rem;overflow-y:auto}.form-group.read-only span{display:block;color:#555;background-color:#f8f9fa;border:1px solid #eee;border-radius:4px;padding:8px 0 8px 8px}.status-message{margin:1rem 0;padding:.75rem 1rem;border-radius:4px;font-size:.9rem}.status-message.success{background-color:#d4edda;color:#155724;border:1px solid #c3e6cb}.status-message.error{background-color:#f8d7da;color:#721c24;border:1px solid #f5c6cb}.settings-separator{border:0;height:1px;background-color:#eee;margin:2rem 0}.settings-action-item{display:flex;justify-content:space-between;align-items:center;padding:.5rem 0;margin-bottom:.5rem}.settings-action-item span{color:#333}.settings-action-item .secondary-button{margin:0}.settings-action-item.danger span{color:#d32f2f}.danger-button{color:#d32f2f!important}.danger-button:hover{background-color:#f8d7da;text-decoration:none}.sub-form{margin-top:1rem;padding:1rem;background-color:#f8f9fa;border:1px solid #eee;border-radius:4px}.sub-form .form-group{margin-bottom:1rem}.sub-form .form-actions{margin-top:1rem;justify-content:flex-start}.settings-main h3{margin-top:0;margin-bottom:1.5rem;font-size:1.2rem}html,body,#root{height:100%;margin:0;padding:0}*{box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.auth-container{width:90%;max-width:550px;margin:50px auto;padding:2rem;background-color:#fff;border-radius:8px;box-shadow:0 4px 12px #0000001a;text-align:center}.auth-container h2{margin-top:0;margin-bottom:1.5rem;color:#333;font-size:1.8rem}.auth-form div{margin-bottom:1rem;text-align:left}.auth-form label{display:block;margin-bottom:.5rem;font-weight:500;color:#555}.auth-form input[type=email],.auth-form input[type=password],.auth-form input[type=text],.auth-form textarea{width:100%;padding:.8rem;border:1px solid #ddd;border-radius:4px;font-size:1rem;box-sizing:border-box;font-family:inherit}.auth-form input:focus,.auth-form textarea:focus{outline:none;border-color:#06c;box-shadow:0 0 0 2px #06c3}.auth-error{color:#d32f2f;margin-bottom:1rem;font-size:.9rem}.auth-message{color:#2e7d32;margin-bottom:1rem;font-size:.9rem}.auth-button{width:100%;padding:.8rem 1rem;background-color:#06c;color:#fff;border:none;border-radius:4px;font-size:1rem;font-weight:500;cursor:pointer;transition:background-color .2s ease;margin-top:.5rem}.auth-button:hover{background-color:#0055b3}.secondary-button{background:none;border:none;color:#06c;cursor:pointer;padding:.5rem;font-size:.9rem;margin-top:1rem}.secondary-button:hover{text-decoration:underline}.auth-separator{border:0;height:1px;background-color:#eee;margin:1.5rem 0}.sidebar-form{padding:1rem;border-top:1px solid #eee;margin-top:.5rem;background-color:#fdfdfd}.sidebar-form h3{margin-top:0;margin-bottom:1rem;font-size:1.1rem}.sidebar-form .form-actions{margin-top:1rem}.modal-content.delete-project-modal{background-color:#fff;border-radius:8px;width:90%;max-width:500px;height:auto;padding:2rem;box-shadow:0 5px 15px #0003;display:flex;flex-direction:column;position:relative;text-align:left}.modal-content.delete-project-modal h2{margin-top:0;margin-bottom:1rem;color:#d32f2f;text-align:center}.modal-content.delete-project-modal p{margin-bottom:1rem;line-height:1.5;color:#333}.modal-content.delete-project-modal p strong{color:#d32f2f}.modal-content.delete-project-modal .form-group{margin-top:1rem;margin-bottom:1.5rem}.modal-content.delete-project-modal .form-group label{display:block;margin-bottom:.5rem;font-weight:500;color:#555}.modal-content.delete-project-modal .form-group label strong{color:#333;font-weight:600}.modal-content.delete-project-modal .form-group input{width:100%;padding:.8rem;border:1px solid #ddd;border-radius:4px;font-size:1rem}.modal-content.delete-project-modal .form-group input:focus{outline:none;border-color:#d32f2f;box-shadow:0 0 0 2px #d32f2f33}.modal-content.delete-project-modal .error-message{color:#d32f2f;margin-bottom:1rem;font-size:.9rem;text-align:center}.modal-content.delete-project-modal .form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:1rem}.modal-content.delete-project-modal .form-actions .secondary-button{color:#555;background-color:#f0f0f0;border:1px solid #ccc;padding:.8rem 1rem;border-radius:4px;margin-top:0;text-decoration:none}.modal-content.delete-project-modal .form-actions .secondary-button:hover{background-color:#e0e0e0;border-color:#bbb}.modal-content.delete-project-modal .form-actions .danger-button.primary-button{background-color:#d32f2f;color:#fff!important;border:none;padding:.8rem 1rem;border-radius:4px}.modal-content.delete-project-modal .form-actions .danger-button.primary-button:hover{background-color:#c62828}.modal-content.delete-project-modal .form-actions .danger-button.primary-button:disabled{background-color:#ef9a9a;cursor:not-allowed}.modal-content.delete-document-modal{background-color:#fff;border-radius:8px;width:90%;max-width:500px;height:auto;padding:2rem;box-shadow:0 5px 15px #0003;display:flex;flex-direction:column;position:relative;text-align:left}.modal-content.delete-document-modal h2{margin-top:0;margin-bottom:1rem;color:#d32f2f;text-align:center}.modal-content.delete-document-modal p{margin-bottom:1rem;line-height:1.5;color:#333}.modal-content.delete-document-modal p strong{color:#d32f2f;word-break:break-word}.modal-content.delete-document-modal .error-message{color:#d32f2f;margin-bottom:1rem;font-size:.9rem;text-align:center}.modal-content.delete-document-modal .form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:1rem}.modal-content.delete-document-modal .form-actions .secondary-button{color:#555;background-color:#f0f0f0;border:1px solid #ccc;padding:.8rem 1rem;border-radius:4px;margin-top:0;text-decoration:none}.modal-content.delete-document-modal .form-actions .secondary-button:hover{background-color:#e0e0e0;border-color:#bbb}.modal-content.delete-document-modal .form-actions .danger-button.primary-button{background-color:#d32f2f;color:#fff!important;border:none;padding:.8rem 1rem;border-radius:4px}.modal-content.delete-document-modal .form-actions .danger-button.primary-button:hover{background-color:#c62828}.modal-content.delete-document-modal .form-actions .danger-button.primary-button:disabled{background-color:#ef9a9a;cursor:not-allowed}.modal-content.edit-project-modal{background-color:#fff;border-radius:8px;width:90%;max-width:500px;height:auto;padding:2rem;box-shadow:0 5px 15px #0003;display:flex;flex-direction:column;position:relative;text-align:center}.modal-content.edit-project-modal h2{margin-top:0;margin-bottom:1.5rem;padding:0;border-bottom:none;width:100%}.modal-content.edit-project-modal .auth-form{width:100%;max-width:350px;margin:0 auto;text-align:left}.modal-content.edit-project-modal .auth-form label{color:#555}.modal-content.edit-project-modal .auth-form input{border:1px solid #ddd;background-color:#fff}.modal-content.edit-project-modal .auth-form input:focus{border-color:#06c;box-shadow:0 0 0 2px #06c3}.modal-content.edit-project-modal .auth-form .form-actions{justify-content:flex-end;gap:10px;margin-top:1.5rem}.modal-content.edit-project-modal .auth-form .primary-button{background-color:#06c;color:#fff}.modal-content.edit-project-modal .auth-form .primary-button:hover{background-color:#0055b3}.modal-content.edit-project-modal .auth-form .primary-button:disabled{background-color:#b3d1ff;cursor:not-allowed}.modal-content.edit-project-modal .auth-form .secondary-button{color:#555;background-color:#f0f0f0;border:1px solid #ccc;padding:.8rem 1rem;border-radius:4px;margin-top:0;text-decoration:none}.modal-content.edit-project-modal .auth-form .secondary-button:hover{background-color:#e0e0e0;border-color:#bbb}.modal-content.edit-project-modal .error-message{color:#d32f2f;margin-bottom:1rem;font-size:.9rem;text-align:center}.modal-content.duplicate-project-modal{background-color:#fff;border-radius:8px;width:90%;max-width:500px;height:auto;padding:2rem;box-shadow:0 5px 15px #0003;display:flex;flex-direction:column;position:relative;text-align:center}.modal-content.duplicate-project-modal h2{margin-top:0;padding:0;border-bottom:none;width:100%;margin-bottom:.5rem}.modal-content.duplicate-project-modal p{margin-bottom:1.5rem;color:#666;font-size:.95rem;text-align:center}.modal-content.duplicate-project-modal .auth-form{width:100%;max-width:350px;margin:0 auto;text-align:left}.modal-content.duplicate-project-modal .auth-form label{color:#555}.modal-content.duplicate-project-modal .auth-form input{border:1px solid #ddd;background-color:#fff}.modal-content.duplicate-project-modal .auth-form input:focus{border-color:#06c;box-shadow:0 0 0 2px #06c3}.modal-content.duplicate-project-modal .auth-form .form-actions{justify-content:flex-end;gap:10px;margin-top:1.5rem}.modal-content.duplicate-project-modal .auth-form .primary-button{background-color:#06c;color:#fff}.modal-content.duplicate-project-modal .auth-form .primary-button:hover{background-color:#0055b3}.modal-content.duplicate-project-modal .auth-form .primary-button:disabled{background-color:#b3d1ff;cursor:not-allowed}.modal-content.duplicate-project-modal .auth-form .secondary-button{color:#555;background-color:#f0f0f0;border:1px solid #ccc;padding:.8rem 1rem;border-radius:4px;margin-top:0;text-decoration:none}.modal-content.duplicate-project-modal .auth-form .secondary-button:hover{background-color:#e0e0e0;border-color:#bbb}.modal-content.duplicate-project-modal .error-message{color:#d32f2f;margin-bottom:1rem;font-size:.9rem;text-align:center}:root{overflow-wrap:break-word;text-size-adjust:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--tt-gray-light-a-50: rgba(56, 56, 56, .04);--tt-gray-light-a-100: rgba(15, 22, 36, .05);--tt-gray-light-a-200: rgba(37, 39, 45, .1);--tt-gray-light-a-300: rgba(47, 50, 55, .2);--tt-gray-light-a-400: rgba(40, 44, 51, .42);--tt-gray-light-a-500: rgba(52, 55, 60, .64);--tt-gray-light-a-600: rgba(36, 39, 46, .78);--tt-gray-light-a-700: rgba(35, 37, 42, .87);--tt-gray-light-a-800: rgba(30, 32, 36, .95);--tt-gray-light-a-900: rgba(29, 30, 32, .98);--tt-gray-light-50: rgba(250, 250, 250, 1);--tt-gray-light-100: rgba(244, 244, 245, 1);--tt-gray-light-200: rgba(234, 234, 235, 1);--tt-gray-light-300: rgba(213, 214, 215, 1);--tt-gray-light-400: rgba(166, 167, 171, 1);--tt-gray-light-500: rgba(125, 127, 130, 1);--tt-gray-light-600: rgba(83, 86, 90, 1);--tt-gray-light-700: rgba(64, 65, 69, 1);--tt-gray-light-800: rgba(44, 45, 48, 1);--tt-gray-light-900: rgba(34, 35, 37, 1);--tt-gray-dark-a-50: rgba(232, 232, 253, .05);--tt-gray-dark-a-100: rgba(231, 231, 243, .07);--tt-gray-dark-a-200: rgba(238, 238, 246, .11);--tt-gray-dark-a-300: rgba(239, 239, 245, .22);--tt-gray-dark-a-400: rgba(244, 244, 255, .37);--tt-gray-dark-a-500: rgba(236, 238, 253, .5);--tt-gray-dark-a-600: rgba(247, 247, 253, .64);--tt-gray-dark-a-700: rgba(251, 251, 254, .75);--tt-gray-dark-a-800: rgba(253, 253, 253, .88);--tt-gray-dark-a-900: rgba(255, 255, 255, .96);--tt-gray-dark-50: rgba(25, 25, 26, 1);--tt-gray-dark-100: rgba(32, 32, 34, 1);--tt-gray-dark-200: rgba(45, 45, 47, 1);--tt-gray-dark-300: rgba(70, 70, 73, 1);--tt-gray-dark-400: rgba(99, 99, 105, 1);--tt-gray-dark-500: rgba(124, 124, 131, 1);--tt-gray-dark-600: rgba(163, 163, 168, 1);--tt-gray-dark-700: rgba(192, 192, 195, 1);--tt-gray-dark-800: rgba(224, 224, 225, 1);--tt-gray-dark-900: rgba(245, 245, 245, 1);--tt-brand-color-50: rgba(239, 238, 255, 1);--tt-brand-color-100: rgba(222, 219, 255, 1);--tt-brand-color-200: rgba(195, 189, 255, 1);--tt-brand-color-300: rgba(157, 138, 255, 1);--tt-brand-color-400: rgba(122, 82, 255, 1);--tt-brand-color-500: rgba(98, 41, 255, 1);--tt-brand-color-600: rgba(84, 0, 229, 1);--tt-brand-color-700: rgba(75, 0, 204, 1);--tt-brand-color-800: rgba(56, 0, 153, 1);--tt-brand-color-900: rgba(43, 25, 102, 1);--tt-brand-color-950: hsla(257, 100%, 9%, 1);--tt-color-green-inc-5: hsla(129, 100%, 97%, 1);--tt-color-green-inc-4: hsla(129, 100%, 92%, 1);--tt-color-green-inc-3: hsla(131, 100%, 86%, 1);--tt-color-green-inc-2: hsla(133, 98%, 78%, 1);--tt-color-green-inc-1: hsla(137, 99%, 70%, 1);--tt-color-green-base: hsla(147, 99%, 50%, 1);--tt-color-green-dec-1: hsla(147, 97%, 41%, 1);--tt-color-green-dec-2: hsla(146, 98%, 32%, 1);--tt-color-green-dec-3: hsla(146, 100%, 24%, 1);--tt-color-green-dec-4: hsla(144, 100%, 16%, 1);--tt-color-green-dec-5: hsla(140, 100%, 9%, 1);--tt-color-yellow-inc-5: hsla(50, 100%, 97%, 1);--tt-color-yellow-inc-4: hsla(50, 100%, 91%, 1);--tt-color-yellow-inc-3: hsla(50, 100%, 84%, 1);--tt-color-yellow-inc-2: hsla(50, 100%, 77%, 1);--tt-color-yellow-inc-1: hsla(50, 100%, 68%, 1);--tt-color-yellow-base: hsla(52, 100%, 50%, 1);--tt-color-yellow-dec-1: hsla(52, 100%, 41%, 1);--tt-color-yellow-dec-2: hsla(52, 100%, 32%, 1);--tt-color-yellow-dec-3: hsla(52, 100%, 24%, 1);--tt-color-yellow-dec-4: hsla(51, 100%, 16%, 1);--tt-color-yellow-dec-5: hsla(50, 100%, 9%, 1);--tt-color-red-inc-5: hsla(11, 100%, 96%, 1);--tt-color-red-inc-4: hsla(11, 100%, 88%, 1);--tt-color-red-inc-3: hsla(10, 100%, 80%, 1);--tt-color-red-inc-2: hsla(9, 100%, 73%, 1);--tt-color-red-inc-1: hsla(7, 100%, 64%, 1);--tt-color-red-base: hsla(7, 100%, 54%, 1);--tt-color-red-dec-1: hsla(7, 100%, 41%, 1);--tt-color-red-dec-2: hsla(5, 100%, 32%, 1);--tt-color-red-dec-3: hsla(4, 100%, 24%, 1);--tt-color-red-dec-4: hsla(3, 100%, 16%, 1);--tt-color-red-dec-5: hsla(1, 100%, 9%, 1);--white: rgba(255, 255, 255, 1);--black: rgba(14, 14, 17, 1);--transparent: rgba(255, 255, 255, 0);--tt-shadow-elevated-md: 0px 16px 48px 0px rgba(17, 24, 39, .04), 0px 12px 24px 0px rgba(17, 24, 39, .04), 0px 6px 8px 0px rgba(17, 24, 39, .02), 0px 2px 3px 0px rgba(17, 24, 39, .02);--tt-radius-xxs: .125rem;--tt-radius-xs: .25rem;--tt-radius-sm: .375rem;--tt-radius-md: .5rem;--tt-radius-lg: .75rem;--tt-radius-xl: 1rem;--tt-transition-duration-short: .1s;--tt-transition-duration-default: .2s;--tt-transition-duration-long: .64s;--tt-transition-easing-default: cubic-bezier(.46, .03, .52, .96);--tt-transition-easing-cubic: cubic-bezier(.65, .05, .36, 1);--tt-transition-easing-quart: cubic-bezier(.77, 0, .18, 1);--tt-transition-easing-circ: cubic-bezier(.79, .14, .15, .86);--tt-transition-easing-back: cubic-bezier(.68, -.55, .27, 1.55);--tt-accent-contrast: 8%;--tt-destructive-contrast: 8%;--tt-foreground-contrast: 8%}:root,:root *,:root :before,:root :after{box-sizing:border-box;transition:none var(--tt-transition-duration-default) var(--tt-transition-easing-default)}:root{--tt-bg-color: var(--white);--tt-border-color: var(--tt-gray-light-a-200);--tt-border-color-tint: var(--tt-gray-light-a-100);--tt-sidebar-bg-color: var(--tt-gray-light-100);--tt-scrollbar-color: var(--tt-gray-light-a-200);--tt-cursor-color: var(--tt-brand-color-500);--tt-selection-color: rgba(211, 211, 211, .5);--tt-card-bg-color: var(--white);--tt-card-border-color: var(--tt-gray-light-a-100)}.dark{--tt-bg-color: var(--black);--tt-border-color: var(--tt-gray-dark-a-200);--tt-border-color-tint: var(--tt-gray-dark-a-100);--tt-sidebar-bg-color: var(--tt-gray-dark-100);--tt-scrollbar-color: var(--tt-gray-dark-a-200);--tt-cursor-color: var(--tt-brand-color-400);--tt-selection-color: rgba(211, 211, 211, .5);--tt-card-bg-color: var(--tt-gray-dark-50);--tt-card-border-color: var(--tt-gray-dark-a-50);--tt-shadow-elevated-md: 0px 16px 48px 0px rgba(0, 0, 0, .5), 0px 12px 24px 0px rgba(0, 0, 0, .24), 0px 6px 8px 0px rgba(0, 0, 0, .22), 0px 2px 3px 0px rgba(0, 0, 0, .12)}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}@keyframes zoomIn{0%{transform:scale(.95)}to{transform:scale(1)}}@keyframes zoomOut{0%{transform:scale(1)}to{transform:scale(.95)}}@keyframes slideFromTop{0%{transform:translateY(-.5rem)}to{transform:translateY(0)}}@keyframes slideFromRight{0%{transform:translate(.5rem)}to{transform:translate(0)}}@keyframes slideFromLeft{0%{transform:translate(-.5rem)}to{transform:translate(0)}}@keyframes slideFromBottom{0%{transform:translateY(.5rem)}to{transform:translateY(0)}}.tiptap :first-child{margin-top:0}.tiptap ul,.tiptap ol{padding:0 1rem;margin:1.25rem 1rem 1.25rem .4rem}.tiptap ul li p,.tiptap ol li p{margin-top:.25em;margin-bottom:.25em}.tiptap ul li::marker,.tiptap ol li::marker{font-size:10pt}.tiptap p{font-size:9pt;line-height:1.5;margin-top:0;margin-bottom:.5em;-webkit-hyphens:auto;hyphens:auto;word-wrap:break-word;text-align:justify}.tiptap h1,.tiptap h2,.tiptap h3,.tiptap h4,.tiptap h5,.tiptap h6{font-weight:600;text-wrap:pretty;color:#111;line-height:1.3}.tiptap h1{font-size:20pt;margin-top:0;margin-bottom:24pt}.tiptap h2{font-size:16pt;margin-top:18pt;margin-bottom:12pt}.tiptap h3{font-size:14pt;margin-top:16pt;margin-bottom:8pt}.tiptap h4{font-size:12pt;margin-top:14pt;margin-bottom:6pt}.tiptap h5,.tiptap h6{font-size:11pt;font-style:italic;margin-top:12pt;margin-bottom:6pt}.tiptap code{background-color:#e0bbf4;border-radius:.4rem;color:#000;font-size:.85rem;padding:.25em .3em}.tiptap pre{background:#000;border-radius:.5rem;color:#fff;font-family:JetBrainsMono,monospace;margin:1.5rem 0;padding:.75rem 1rem}.tiptap pre code{background:none;color:inherit;font-size:.8rem;padding:0}.tiptap blockquote{border-left:3px solid #ccc;margin:1.5rem 0;padding-left:1rem}.tiptap hr{border:none;border-top:1px solid #ddd;margin:2rem 0}.editor-toolbar{padding:4px 20px;background-color:#ececec;position:sticky;top:0;z-index:2000;display:flex;align-items:center;min-height:70px;width:100%;box-sizing:border-box}.editor-toolbar .toolbar-logo-container{display:flex;align-items:center;margin-right:0;flex-shrink:0}.editor-toolbar .toolbar-logo-container .flowgen-home-logo{cursor:pointer;position:relative}.editor-toolbar .toolbar-center-content{flex-grow:1;display:flex;flex-direction:column;align-items:flex-start;margin-left:0;margin-right:16px;min-width:0}.editor-toolbar .toolbar-center-content .document-info{margin-left:0;flex-shrink:1;min-width:0;margin-top:-2px}.editor-toolbar .toolbar-center-content .app-main-menu{display:flex;align-items:baseline;padding-left:0;margin-left:0;margin-top:2px;flex-shrink:0}.editor-toolbar .toolbar-center-content .app-main-menu .app-menu-item{font-size:.85rem;color:#555;cursor:default;text-decoration:none;margin-right:30px;white-space:nowrap}.editor-toolbar .toolbar-center-content .app-main-menu .app-menu-item:hover{text-decoration:underline;color:#000}.editor-toolbar .toolbar-center-content .app-main-menu .app-menu-item:last-child{margin-right:0}.editor-toolbar .dropdown-item{font-size:12px!important}.editor-toolbar .dropdown-item svg{width:14px;height:14px}.editor-toolbar .toolbar-actions{display:flex;align-items:center;gap:.5rem;margin-left:auto;flex-shrink:0}.editor-toolbar .flowgen-home-logo:hover .logo-normal{opacity:0}.editor-toolbar .flowgen-home-logo:hover .logo-hover{opacity:1!important}.editor-toolbar .flowgen-home-logo .logo-normal{transition:opacity .3s ease}.editor-toolbar .document-info{display:flex;flex-direction:row;align-items:center;min-width:0;position:relative}.editor-toolbar .document-info .document-title-display-area{display:flex;align-items:center;padding:6px 8px 6px 5px;border-radius:6px;cursor:pointer;transition:background-color .2s ease;-webkit-user-select:none;user-select:none}.editor-toolbar .document-info .document-title-display-area .displayed-title-text{display:inline-flex;align-items:center;font-size:16px;font-weight:500;color:#333;max-width:1000px}.editor-toolbar .document-info .document-title-display-area .displayed-title-text .actual-title-string{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;flex-shrink:1;flex-grow:1}.editor-toolbar .document-info .document-title-display-area .displayed-title-text .unsaved-changes-inline{font-style:italic;color:#555;font-size:.9em;margin-left:8px;white-space:nowrap;flex-shrink:0}.editor-toolbar .document-info .document-title-display-area .displayed-title-text .saved-icon-inline{margin-left:8px;display:inline-flex;align-items:center;flex-shrink:0}.editor-toolbar .document-info .document-title-display-area .title-dropdown-icon{font-size:10px;color:#555;opacity:0;transition:opacity .2s ease;margin-left:auto}.editor-toolbar .document-info .document-title-display-area .save-status{margin-left:8px;flex-shrink:0}.editor-toolbar .document-info .document-title-display-area:hover{background-color:#0000000a}.editor-toolbar .document-info .document-title-display-area:hover .title-dropdown-icon{opacity:1}.editor-toolbar .document-info .document-meta{font-size:.75rem;color:#555;margin-left:12px}.editor-toolbar .document-info .title-edit-dropdown{position:absolute;top:calc(100% + 4px);left:0;width:450px;background-color:#fff;border:1px solid #ccc;border-radius:6px;box-shadow:0 4px 12px #00000026;padding:12px;z-index:2010;display:flex;flex-direction:column;gap:8px}.editor-toolbar .document-info .title-edit-dropdown .dropdown-label{font-size:12px;color:#555;font-weight:500}.editor-toolbar .document-info .title-edit-dropdown .document-title-input-dropdown{width:100%;font-size:14px;padding:8px 10px;border:1px solid #ccc;border-radius:4px;box-sizing:border-box}.editor-toolbar .document-info .title-edit-dropdown .document-title-input-dropdown:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 .2rem #007bff40}.editor-toolbar .document-info .title-edit-dropdown .title-edit-actions{margin-top:10px;display:flex;justify-content:flex-end;gap:8px}.editor-toolbar .document-info .title-edit-dropdown .title-edit-actions button{padding:6px 12px;font-size:13px;border-radius:4px;border:1px solid transparent;cursor:pointer;font-weight:500;transition:background-color .2s ease,border-color .2s ease}.editor-toolbar .document-info .title-edit-dropdown .title-edit-actions button.button-primary{background-color:#007bff;color:#fff;border-color:#007bff}.editor-toolbar .document-info .title-edit-dropdown .title-edit-actions button.button-primary:hover{background-color:#0056b3;border-color:#0056b3}.editor-toolbar .document-info .title-edit-dropdown .title-edit-actions button.button-secondary{background-color:#f8f9fa;color:#333;border-color:#ccc}.editor-toolbar .document-info .title-edit-dropdown .title-edit-actions button.button-secondary:hover{background-color:#e2e6ea;border-color:#bbb}.editor-toolbar .document-info .document-meta{opacity:.5;transition:opacity .3s ease}.editor-toolbar .document-info .document-meta.saved{opacity:1;animation:pulse 1s ease-in-out}@keyframes pulse{0%{transform:scale(1)}50%{transform:scale(1.2)}to{transform:scale(1)}}.editor-toolbar .button-group button.highlight-save{background-color:#4caf50;color:#fff;border-color:#388e3c;box-shadow:0 1px 3px #0000001f}.editor-toolbar .button-group button.highlight-save:hover{background-color:#43a047}.tiptap-toolbar,.tiptap-toolbar *{z-index:2100!important;position:relative}.tiptap-popover,.tiptap-tooltip,.tiptap-dropdown,.tiptap-menu{z-index:2200!important;position:absolute!important}.toolbar-left{margin-right:1.5rem}.document-info{flex:1 1 auto;display:flex;flex-direction:column;align-items:flex-start;min-width:0}.document-title-container{width:100%}.document-title-input{font-size:1.2rem;font-weight:600;border:none;background:transparent;outline:none;width:100%;min-width:180px;max-width:400px;padding:2px 6px}.document-meta{font-size:.95rem;color:#888;margin-top:2px}.toolbar-actions{display:flex;align-items:center;gap:.5rem}.button-group{display:flex;flex-wrap:wrap}.button-group button,.editor-toolbar button{margin-right:.5rem;margin-bottom:0;padding:6px 16px;background:#eee;border:1px solid #ccc;border-radius:3px;cursor:pointer;font-size:1rem;font-weight:500}.button-group button:last-child,.editor-toolbar button:last-child{margin-right:0}.button-group button.is-active{background:#ddd;border-color:#999}.editor-view-main-content{display:flex;position:relative;height:calc(100vh - var(--tt-toolbar-height, 56px));flex-grow:1;overflow:hidden}.editor-view-main-content .editor-container{flex-grow:1;display:flex;flex-direction:column;overflow-y:hidden;transition:width .3s ease-in-out,max-width .3s ease-in-out;width:100%;max-width:100%}.editor-view-main-content.ai-panel-visible .editor-container{width:calc(100% - 350px);max-width:calc(100% - 350px)}.editor-main-area{transition:margin-left .3s ease-in-out,margin-right .3s ease-in-out;margin-left:0;margin-right:0;flex-grow:1;overflow-y:hidden;height:100%;display:flex;flex-direction:column;overflow:hidden;position:relative;min-width:900px;overflow-x:auto}.editor-main-area.with-nav-panel{margin-left:var(--nav-panel-width, 280px)}.editor-main-area.with-ai-panel{margin-right:var(--ai-panel-width, 350px)}.ProseMirror:focus{outline:none!important;box-shadow:none!important}.editor-container,.ProseMirror{border:none!important}.editor-view-container{display:flex;flex-direction:column;height:100vh;overflow:hidden;background-color:#f0f2f5}.editor-scroll-container{flex-grow:1;overflow-y:auto;background-color:#ececec;padding:0}.editor-page{width:210mm;min-height:297mm;padding:25mm;background-color:#fff;margin:0 auto;box-shadow:0 0 10px #00000026;border-radius:2px;border:1px solid #d9d9d9}.editor-page .ProseMirror{min-height:247mm;outline:none}.loading-container,.error-container{display:flex;flex-direction:column;justify-content:center;align-items:center;height:100vh;font-size:1.2rem;color:#555}.error-container p{color:#d32f2f;margin-bottom:1rem}.error-container button{padding:8px 16px;background-color:#f0f0f0;border:1px solid #ccc;border-radius:4px;cursor:pointer}.error-container button:hover{background-color:#e0e0e0}.inline-math{display:inline-block;padding:.1em .4em;margin:0 .1em;background-color:#eef;border:1px solid #ccd;border-radius:3px;font-family:Courier New,Courier,monospace;font-size:.9em;cursor:pointer;white-space:nowrap}.inline-math:hover{background-color:#ddf}.mathcad-block-wrapper{border:1px dashed #ccc;padding:10px;margin:1rem 0;background-color:#f9f9f9}.mathcad-block-component{border:1px solid #ccc;padding:10px;margin:10px 0;background-color:#f9f9f9}.editor-view-root{display:flex;flex-direction:column;height:100vh;width:100vw;overflow:hidden;background-color:#f0f0f0}.saving-modal{width:400px!important;max-width:90vw;background:#fff;border-radius:8px;padding:2rem;text-align:center}.saving-modal h2{margin-bottom:1.5rem;color:#1f2937;font-size:1.5rem}.saving-modal .saving-steps{display:flex;flex-direction:column;gap:.75rem;align-items:flex-start;text-align:left}.saving-modal .saving-steps .saving-step{padding:.5rem .75rem;background:#f3f4f6;border-radius:4px;width:100%;font-size:.9rem;color:#374151;animation:slideIn .3s ease}.saving-modal .saving-steps .saving-step:last-child{font-weight:500}@keyframes slideIn{0%{opacity:0;transform:translate(-10px)}to{opacity:1;transform:translate(0)}}.floating-toggle-container{position:absolute;top:0;left:0;right:0;height:44px;padding-top:0;padding-left:1rem;padding-right:1rem;display:flex;justify-content:space-between;align-items:center;z-index:10;pointer-events:none;box-sizing:border-box}.floating-toggle-container .toggle-position{height:100%;display:flex;align-items:center;min-width:120px}.floating-toggle-container .toggle-position.toggle-position-left{justify-content:flex-start}.floating-toggle-container .toggle-position.toggle-position-right{justify-content:flex-end}.floating-toggle-container.nav-panel-closed{padding-left:.5rem}.floating-toggle-container.ai-panel-closed{padding-right:.5rem}.floating-toggle-container .toggle-button{pointer-events:auto;display:flex;align-items:center;justify-content:center;height:100%;padding:0 1rem;background-color:transparent;border:none;border-radius:var(--tt-radius-1, 4px);color:var(--tt-toolbar-item-color, var(--tt-gray-light-700));cursor:pointer;font-size:.875rem;line-height:1;transition:color .2s ease,text-shadow .2s ease}.floating-toggle-container .toggle-button svg{width:18px;height:18px;fill:currentColor}.floating-toggle-container .toggle-button:hover{color:var(--tt-toolbar-item-hover-color, var(--tt-gray-light-900));text-shadow:0 0 8px rgba(0,0,0,.1)}.floating-toggle-container .toggle-button:active{color:var(--tt-toolbar-item-hover-color, var(--tt-gray-light-900));text-shadow:0 0 6px rgba(0,0,0,.2)}.floating-toggle-container .toggle-button:focus{outline:none;color:var(--tt-toolbar-item-hover-color, var(--tt-gray-light-900));text-shadow:0 0 12px rgba(0,0,0,.15)}.floating-toggle-container .toggle-button:focus-visible{outline:none;color:var(--tt-toolbar-item-hover-color, var(--tt-gray-light-900));text-shadow:0 0 12px rgba(0,0,0,.15)}.beam-analysis-component{font-size:.8rem;margin:1.5rem 0}.beam-analysis-component .beam-analysis-container{border:1px solid #ddd;border-radius:8px;overflow:hidden;background-color:#fff;box-shadow:0 2px 4px #0000000d;max-width:100%}.beam-analysis-component .beam-configuration-summary{padding:8px 12px;background-color:#fff;border-bottom:1px solid #e5e7eb}.beam-analysis-component .beam-configuration-summary .config-summary-header{margin-bottom:8px}.beam-analysis-component .beam-configuration-summary .config-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px 14px;align-items:center}.beam-analysis-component .beam-configuration-summary .config-summary-grid .summary-item{display:flex;align-items:baseline;gap:5px;font-size:.75rem;line-height:1.4}.beam-analysis-component .beam-configuration-summary .config-summary-grid .summary-item.edit-button-item{justify-content:flex-end;grid-column:-1}.beam-analysis-component .beam-configuration-summary .config-summary-grid .summary-item .summary-label{font-weight:700;color:#111827;white-space:nowrap}.beam-analysis-component .beam-configuration-summary .config-summary-grid .summary-item .summary-value{color:#111827;font-weight:500}.beam-analysis-component .beam-configuration-summary .config-details-section{margin-top:8px}.beam-analysis-component .beam-configuration-summary .config-details-section:first-of-type{margin-top:0}.beam-analysis-component .beam-configuration-summary .config-details-section .config-section-title{font-size:.8rem;font-weight:700;color:#111827;text-transform:none;letter-spacing:0;margin:0 0 .4rem;line-height:1.4}.beam-analysis-component .beam-configuration-summary .config-details-section .config-table{width:100%;font-size:.75rem;line-height:1.4;border-collapse:collapse;background-color:#fff;border-radius:6px;overflow:hidden;box-shadow:0 1px 2px #0000000d}.beam-analysis-component .beam-configuration-summary .config-details-section .config-table thead{background-color:#f3f4f6}.beam-analysis-component .beam-configuration-summary .config-details-section .config-table thead th{padding:5px 8px;text-align:left;font-weight:600;font-size:.7rem;color:#374151;border-bottom:1px solid #e5e7eb;line-height:1.4}.beam-analysis-component .beam-configuration-summary .config-details-section .config-table thead th:first-child{width:35px;text-align:center}.beam-analysis-component .beam-configuration-summary .config-details-section .config-table thead th:nth-child(2){width:30%}.beam-analysis-component .beam-configuration-summary .config-details-section .config-table tbody tr{border-bottom:1px solid #f3f4f6;transition:background-color .15s}.beam-analysis-component .beam-configuration-summary .config-details-section .config-table tbody tr:last-child{border-bottom:none}.beam-analysis-component .beam-configuration-summary .config-details-section .config-table tbody tr:hover{background-color:#f9fafb}.beam-analysis-component .beam-configuration-summary .config-details-section .config-table tbody tr td{padding:5px 8px;color:#1f2937;font-size:.75rem;line-height:1.4}.beam-analysis-component .beam-configuration-summary .config-details-section .config-table tbody tr td:first-child{text-align:center;font-weight:600;color:#6b7280}.beam-analysis-component .beam-configuration-summary .config-details-section .config-table tbody tr td:nth-child(2){width:30%}.beam-analysis-component .edit-config-btn{background-color:#4f46e5!important;color:#fff!important;border:none!important;padding:5px 14px!important;font-size:.75rem!important;font-weight:500!important;border-radius:5px!important;cursor:pointer!important;transition:all .2s!important;white-space:nowrap;line-height:1.4!important}.beam-analysis-component .edit-config-btn:hover{background-color:#4338ca!important}.beam-analysis-component .plot-wrapper{overflow:hidden;margin-bottom:1rem;border-radius:4px;box-shadow:0 1px 2px #0000000d;background:#fff}.beam-analysis-component .analyzing-container{width:100%;display:flex;justify-content:center;padding:1.5rem 0;margin-top:.5rem;background-color:#f9fafb;border-radius:8px;border:1px dashed #d1d5db}.beam-analysis-component .analyzing-container .analyzing-indicator{font-size:.85rem;font-weight:500;color:#4f46e5;display:flex;align-items:center}.beam-analysis-component .analyzing-container .analyzing-indicator:before{content:"";width:12px;height:12px;margin-right:8px;background-color:#4f46e5;border-radius:50%;animation:pulse 1.2s infinite ease-in-out}.beam-analysis-component .beam-header{display:flex;justify-content:space-between;align-items:center;padding:0 .75rem .25rem;border-bottom:1px solid #e5e7eb;margin-bottom:.5rem}.beam-analysis-component .beam-header.compact{padding:0 .5rem .15rem;margin-bottom:.35rem}.beam-analysis-component .beam-header h2,.beam-analysis-component .beam-header h3{font-size:.85rem;font-weight:600;color:#111827;margin:0}.beam-analysis-component .beam-header .beam-actions{display:flex;align-items:center;gap:.5rem}.beam-analysis-component .beam-header .beam-actions .analyzing-indicator{font-size:.8rem;font-weight:500;color:#4f46e5;display:flex;align-items:center}.beam-analysis-component .beam-header .beam-actions .analyzing-indicator:before{content:"";width:10px;height:10px;margin-right:6px;background-color:#4f46e5;border-radius:50%;animation:pulse 1.2s infinite ease-in-out}@keyframes pulse{0%{transform:scale(.8);opacity:.8}50%{transform:scale(1);opacity:1}to{transform:scale(.8);opacity:.8}}.beam-analysis-component button{padding:.5rem 1rem;border-radius:4px;font-size:.875rem;font-weight:500;cursor:pointer;border:1px solid transparent;transition:all .2s}.beam-analysis-component button.analyze-btn{background-color:#4f46e5;color:#fff;border:none;padding:.5rem 1rem;font-weight:500;border-radius:4px;cursor:pointer;transition:all .2s;font-size:.9rem}.beam-analysis-component button.analyze-btn.compact{padding:.3rem .75rem;font-size:.85rem}.beam-analysis-component button.analyze-btn:hover{background-color:#4338ca}.beam-analysis-component button.analyze-btn:disabled{background-color:#9ca3af;cursor:not-allowed}.beam-analysis-component button.edit-config-btn{background-color:#f3f4f6;border-color:#d1d5db;color:#374151}.beam-analysis-component button.edit-config-btn:hover{background-color:#e0e7ff}.beam-analysis-component button.cancel-btn{background-color:#f3f4f6;border-color:#d1d5db;color:#374151}.beam-analysis-component button.cancel-btn:hover{background-color:#e0e7ff}.beam-analysis-component button.save-btn{background-color:#10b981;color:#fff}.beam-analysis-component button.save-btn:hover{background-color:#059669}.beam-analysis-component .error-message{padding:.75rem 1rem;background-color:#fee2e2;color:#b91c1c;margin:.5rem 1rem;border-radius:4px;font-size:.875rem}.beam-analysis-component .config-editor{padding:1rem}.beam-analysis-component .config-editor textarea{width:100%;font-family:monospace;padding:.75rem;border:1px solid #ddd;border-radius:4px;font-size:.875rem;resize:vertical}.beam-analysis-component .config-editor .config-help{margin-top:1rem;padding:.75rem;background-color:#f3f4f6;border-radius:4px;font-size:.875rem}.beam-analysis-component .config-editor .config-help h4{margin-top:0;margin-bottom:.5rem}.beam-analysis-component .config-editor .config-help p{margin:.25rem 0;color:#4b5563}.beam-analysis-component .beam-configuration{padding:.75rem}.beam-analysis-component .beam-configuration.compact .compact-config{display:flex;flex-direction:column;gap:1rem}.beam-analysis-component .beam-configuration.compact .config-section{background-color:#f9fafb;border:1px solid #e5e7eb;border-radius:6px;padding:.75rem}.beam-analysis-component .beam-configuration.compact .config-section .section-title{font-size:.7rem;color:#4b5563;margin-top:0;margin-bottom:.4rem;font-weight:600;text-transform:uppercase;letter-spacing:.025em}.beam-analysis-component .beam-configuration.compact .form-row{display:flex;flex-wrap:wrap;gap:.5rem;align-items:flex-end}.beam-analysis-component .beam-configuration.compact .form-row .form-group{flex:1;min-width:120px}.beam-analysis-component .form-group{margin-bottom:.75rem}.beam-analysis-component .form-group label{display:block;margin-bottom:.25rem;font-weight:500;font-size:.75rem;color:#4b5563}.beam-analysis-component .form-group input,.beam-analysis-component .form-group select{width:100%;padding:.3rem .4rem;border:1px solid #ddd;border-radius:3px;font-size:.85rem;background-color:#fff}.beam-analysis-component .form-group input:focus,.beam-analysis-component .form-group select:focus{outline:none;border-color:#4f46e5;box-shadow:0 0 0 2px #4f46e533}.compact-config .beam-analysis-component .form-group{margin-bottom:.3rem}.beam-analysis-component .support-item,.beam-analysis-component .load-item{background-color:#f9f9f9;border:1px solid #eee;border-radius:5px;padding:.75rem;margin-bottom:.75rem;position:relative}.beam-analysis-component .support-item.compact,.beam-analysis-component .load-item.compact{padding:.5rem;margin-bottom:.4rem}.beam-analysis-component .support-item.compact .form-row,.beam-analysis-component .load-item.compact .form-row{position:relative;padding-right:1.75rem}.beam-analysis-component .support-item .remove-btn,.beam-analysis-component .load-item .remove-btn{position:absolute;top:.3rem;right:.3rem;padding:0;font-size:.7rem;background-color:#fee2e2;color:#b91c1c;border-radius:3px;width:1.25rem;height:1.25rem;display:flex;align-items:center;justify-content:center}.beam-analysis-component .support-item .remove-btn:hover,.beam-analysis-component .load-item .remove-btn:hover{background-color:#fecaca}.beam-analysis-component .support-item .remove-btn:disabled,.beam-analysis-component .load-item .remove-btn:disabled{background-color:#e5e7eb;color:#9ca3af;cursor:not-allowed}.beam-analysis-component .add-btn{background-color:#eef2ff;color:#4f46e5;font-size:.75rem;padding:.3rem .6rem}.beam-analysis-component .add-btn:hover{background-color:#e0e7ff}.beam-analysis-component .results-section{margin:.5rem 0;padding:.5rem}.beam-analysis-component .results-section .results-title{font-size:.85rem;font-weight:600;margin-bottom:.5rem;color:#111827;text-align:left}.beam-analysis-component .results-container{padding:1rem}.beam-analysis-component .no-results{text-align:center;color:#6b7280;padding:2rem}.beam-analysis-component .no-results p{margin:0}.beam-analysis-component .analysis-results{padding:0;width:100%;display:flex;flex-direction:column;align-items:flex-start;gap:.5rem}.beam-analysis-component .analysis-results .plot-title{margin:0 0 .4rem;font-size:.8rem;color:#111827;text-align:left;font-weight:600}.beam-analysis-component .analysis-results .results-table{margin-bottom:.5rem;width:100%}.beam-analysis-component .analysis-results .results-table table{width:100%;border-collapse:collapse;font-size:.75rem;background-color:#fff;border-radius:6px;overflow:hidden;box-shadow:0 1px 2px #0000000d}.beam-analysis-component .analysis-results .results-table table th,.beam-analysis-component .analysis-results .results-table table td{padding:5px 8px;text-align:left;border:none}.beam-analysis-component .analysis-results .results-table table th{background-color:#f3f4f6;font-weight:600;color:#374151;font-size:.7rem;border-bottom:1px solid #e5e7eb}.beam-analysis-component .analysis-results .results-table table tbody tr{border-bottom:1px solid #f3f4f6;transition:background-color .15s}.beam-analysis-component .analysis-results .results-table table tbody tr:last-child{border-bottom:none}.beam-analysis-component .analysis-results .results-table table tbody tr:hover{background-color:#f9fafb}.beam-analysis-component .analysis-results .results-table table td{color:#1f2937;font-size:.75rem;line-height:1.4}.beam-analysis-component input[type=number]::-webkit-outer-spin-button,.beam-analysis-component input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.beam-analysis-component input[type=number]{-moz-appearance:textfield;-webkit-appearance:textfield;appearance:textfield}.beam-analysis-component .beam-plots{margin-top:1rem;will-change:contents}.beam-analysis-component .beam-plots .plot-container{margin-bottom:.75rem}.beam-analysis-component .beam-plots .plot-container h3{margin:0 0 .3rem;font-size:.8rem;color:#111827;text-align:left;font-weight:600}.beam-analysis-component .beam-plots .plot-container .plot-wrapper{display:flex;justify-content:center;align-items:center;width:100%;margin:0 auto;padding:0;overflow:hidden;border-radius:4px;min-height:150px;background-color:#fff;box-shadow:0 1px 2px #0000000d}.beam-analysis-component .beam-plots .plot-container .plot-wrapper[data-testid=shear-plot-container],.beam-analysis-component .beam-plots .plot-container .plot-wrapper[data-testid=moment-plot-container],.beam-analysis-component .beam-plots .plot-container .plot-wrapper[data-testid=deflection-plot-container]{min-height:170px}.beam-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000;padding:12px}.beam-modal-content{background:#fff;border-radius:12px;width:100%;max-width:700px;max-height:90vh;display:flex;flex-direction:column;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a}.beam-modal-header{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;border-bottom:1px solid #e5e7eb}.beam-modal-header h2{margin:0;font-size:1.1rem;font-weight:600;color:#111827}.beam-modal-header .close-btn{background:none;border:none;font-size:1.75rem;color:#6b7280;cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all .2s}.beam-modal-header .close-btn:hover{background-color:#f3f4f6;color:#111827}.beam-modal-body{flex:1;overflow-y:auto;padding:12px 16px}.beam-modal-body .modal-section{margin-bottom:14px}.beam-modal-body .modal-section:last-child{margin-bottom:0}.beam-modal-body .modal-section h3{margin:0 0 6px;font-size:.85rem;font-weight:600;color:#374151;text-transform:uppercase;letter-spacing:.025em}.beam-modal-body .modal-section .section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}.beam-modal-body .modal-section .section-header h3{margin:0}.beam-modal-body .compact-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px}.beam-modal-body .compact-grid .full-width{grid-column:1/-1}.beam-modal-body .input-group{display:flex;flex-direction:column}.beam-modal-body .input-group label{font-size:.75rem;font-weight:600;color:#111827;margin-bottom:3px}.beam-modal-body .input-group input,.beam-modal-body .input-group select{padding:5px 8px;border:1px solid #d1d5db;border-radius:4px;font-size:.85rem;transition:all .2s}.beam-modal-body .input-group input:focus,.beam-modal-body .input-group select:focus{outline:none;border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e51a}.beam-modal-body .input-group input::placeholder,.beam-modal-body .input-group select::placeholder{color:#9ca3af}.beam-modal-body .input-group select{cursor:pointer;background-color:#fff}.beam-modal-body .items-list{display:flex;flex-direction:column;gap:8px}.beam-modal-body .item-card{border:1px solid #e5e7eb;border-radius:6px;padding:8px;background-color:#fafafa}.beam-modal-body .item-card .item-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}.beam-modal-body .item-card .item-header .item-number{font-size:.7rem;font-weight:600;color:#6b7280;background-color:#e5e7eb;padding:2px 6px;border-radius:3px}.beam-modal-body .item-card .item-row{display:flex;align-items:flex-end;gap:8px}.beam-modal-body .item-card .item-row .item-number{font-size:.7rem;font-weight:600;color:#6b7280;background-color:#e5e7eb;padding:2px 6px;border-radius:3px;white-space:nowrap;align-self:center}.beam-modal-body .item-card .item-row .input-group{flex:1;min-width:0}.beam-modal-body .item-card .item-row .remove-btn-small{flex-shrink:0;align-self:center}.beam-modal-body .add-btn-small{background-color:#4f46e5;color:#fff;border:none;padding:5px 12px;font-size:.75rem;font-weight:500;border-radius:4px;cursor:pointer;transition:all .2s}.beam-modal-body .add-btn-small:hover{background-color:#4338ca}.beam-modal-body .remove-btn-small{background:none;border:none;color:#ef4444;font-size:1.3rem;cursor:pointer;padding:0;width:24px;height:24px;display:flex;align-items:center;justify-content:center;border-radius:3px;transition:all .2s}.beam-modal-body .remove-btn-small:hover{background-color:#fee2e2}.beam-modal-footer{display:flex;justify-content:flex-end;gap:8px;padding:10px 16px;border-top:1px solid #e5e7eb;background-color:#f9fafb;border-radius:0 0 12px 12px}.beam-modal-footer button{padding:6px 16px;border-radius:4px;font-size:.85rem;font-weight:500;cursor:pointer;transition:all .2s;border:1px solid transparent}.beam-modal-footer button.cancel-btn{background-color:#fff;border-color:#d1d5db;color:#374151}.beam-modal-footer button.cancel-btn:hover{background-color:#f3f4f6}.beam-modal-footer button.save-btn{background-color:#10b981;color:#fff}.beam-modal-footer button.save-btn:hover{background-color:#059669}.beam-modal-body::-webkit-scrollbar{width:8px}.beam-modal-body::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}.beam-modal-body::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:4px}.beam-modal-body::-webkit-scrollbar-thumb:hover{background:#a1a1a1}.annotation-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000c;display:flex;align-items:center;justify-content:center;z-index:10000;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.annotation-modal{background:#fff;border-radius:12px;box-shadow:0 20px 40px #0000004d;width:calc(100vw - 40px);height:calc(100vh - 40px);max-width:none;max-height:none;display:flex;flex-direction:column;overflow:hidden}.annotation-modal-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid #e0e0e0;background:#f8f9fa}.annotation-modal-header h3{margin:0;font-size:18px;font-weight:600;color:#333}.annotation-modal-header .close-btn{background:none;border:none;font-size:24px;cursor:pointer;color:#666;padding:4px;border-radius:4px;transition:all .2s ease}.annotation-modal-header .close-btn:hover{background:#e0e0e0;color:#333}.annotation-toolbar{display:flex;align-items:center;gap:8px;padding:12px 20px;border-bottom:1px solid #e0e0e0;background:#f8f9fa}.annotation-toolbar .tool-btn{display:flex;align-items:center;gap:6px;padding:8px 12px;border:1px solid #ddd;background:#fff;border-radius:6px;cursor:pointer;font-size:14px;transition:all .2s ease}.annotation-toolbar .tool-btn:hover{background:#f0f0f0;border-color:#bbb}.annotation-toolbar .tool-btn.active{background:#007bff;color:#fff;border-color:#007bff}.annotation-toolbar .toolbar-separator{width:1px;height:24px;background:#ddd;margin:0 4px}.annotation-canvas-container{position:relative;flex:1;display:flex;align-items:center;justify-content:center;padding:20px;background:#f0f0f0;min-height:500px}.annotation-canvas-container canvas{border:2px solid #ddd;border-radius:8px;box-shadow:0 4px 12px #00000026;background:#fff;cursor:inherit;max-width:100%;max-height:100%;display:block!important;visibility:visible!important}.annotation-canvas-container .drawing-hint{position:absolute;top:30px;left:50%;transform:translate(-50%);background:#333;color:#fff;padding:8px 16px;border-radius:6px;font-size:14px;z-index:10;pointer-events:none;box-shadow:0 2px 8px #0003}.annotation-canvas-container .drawing-hint:after{content:"";position:absolute;top:100%;left:50%;transform:translate(-50%);border:6px solid transparent;border-top-color:#333}.annotation-canvas-container .status-bar{position:absolute;bottom:10px;left:10px;background:#000c;color:#fff;padding:4px 8px;border-radius:4px;font-size:12px;pointer-events:none}.annotation-modal-footer{display:flex;justify-content:flex-end;gap:12px;padding:16px 20px;border-top:1px solid #e0e0e0;background:#f8f9fa}.annotation-modal-footer button{padding:10px 20px;border:none;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease}.annotation-modal-footer button.cancel-btn{background:#6c757d;color:#fff}.annotation-modal-footer button.cancel-btn:hover{background:#5a6268}.annotation-modal-footer button.save-btn{background:#28a745;color:#fff}.annotation-modal-footer button.save-btn:hover{background:#218838}@media (max-width: 768px){.annotation-modal{width:calc(100vw - 20px);height:calc(100vh - 40px);max-width:none;max-height:none}.annotation-toolbar{padding:8px 12px}.annotation-toolbar .tool-btn{padding:6px 8px;font-size:12px}.annotation-canvas-container{padding:12px}.annotation-canvas-container canvas{max-width:100%;height:auto}}.screenshot-node{margin:1rem 0;border-radius:0;transition:all .2s ease;position:relative}.screenshot-node.selected{outline:2px solid #3b82f6;outline-offset:2px}.screenshot-container{position:relative;background:#fff;border-radius:0;overflow:visible;display:flex;flex-direction:column}.screenshot-status{display:flex;align-items:center;padding:.5rem .75rem;background:#f8fafc;border-bottom:1px solid #e2e8f0;font-size:.875rem}.status-item{display:flex;align-items:center;gap:.5rem}.status-item.loading{color:#3b82f6}.status-item.loading .loading-spinner{width:16px;height:16px;border:2px solid #e5e7eb;border-top-color:#3b82f6;border-radius:50%;animation:spin .6s linear infinite;margin:0}.status-item.temporary{color:#f59e0b}.status-item.uploaded{color:#10b981}.status-item.error{color:#ef4444}.status-indicator{width:8px;height:8px;border-radius:50%}.status-indicator.temporary{background:#f59e0b;animation:pulse 2s infinite}.status-indicator.uploaded{background:#10b981}.status-indicator.error{background:#ef4444}.retry-btn{padding:.25rem .5rem;background:#ef4444;color:#fff;border:none;border-radius:4px;font-size:.75rem;cursor:pointer;transition:background .2s ease}.retry-btn:hover{background:#dc2626}.screenshot-image-container{position:relative;display:flex;justify-content:center;background:#fff;border-radius:0;overflow:hidden}.screenshot-image-wrapper{position:relative;display:inline-block;box-shadow:none;border-radius:0;overflow:hidden;transition:box-shadow .2s ease}.screenshot-image-wrapper:hover{box-shadow:none}.screenshot-image{max-width:100%;height:auto;display:block;border-radius:0;transition:opacity .2s ease,border .2s ease;object-fit:contain}.screenshot-image:hover{opacity:.95}.screenshot-image.with-border{border:1px solid #000;box-sizing:border-box;image-rendering:crisp-edges}.screenshot-placeholder{display:flex;align-items:center;justify-content:center;min-height:200px;background:#f1f5f9;color:#64748b;font-size:.875rem}.placeholder-content{display:flex;flex-direction:column;align-items:center;gap:.5rem}.screenshot-controls{position:absolute;top:.5rem;right:.5rem;display:flex;gap:.25rem;opacity:0;transition:opacity .2s ease}.screenshot-node.selected .screenshot-controls{opacity:1}.control-btn{width:32px;height:32px;border:1px solid rgba(0,0,0,.1);border-radius:6px;background:#fffffff2;color:#374151;font-size:14px;font-weight:500;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.control-btn.delete-btn:hover{background:#fef2f2;border-color:#fca5a5;color:#dc2626;transform:translateY(-1px)}.control-btn.upload-btn:hover{background:#eff6ff;border-color:#93c5fd;color:#2563eb;transform:translateY(-1px)}.control-btn.upload-btn:disabled{background:#ffffffb3;color:#9ca3af;border-color:#0000000d;cursor:not-allowed;transform:none}.screenshot-caption{padding:.75rem;font-size:.875rem;color:#64748b;background:#fff;text-align:center;font-style:italic}.resize-handle{position:absolute;background:#3b82f6;opacity:0;transition:opacity .2s ease}.screenshot-node.selected .resize-handle{opacity:1}.resize-handle.resize-se{bottom:-4px;right:-4px;width:8px;height:8px;border-radius:50%;cursor:se-resize}.image-loading-overlay{position:absolute;top:0;left:0;right:0;bottom:0;background:#fffffff2;display:flex;align-items:center;justify-content:center;z-index:5;border-radius:0}.image-loading-overlay .loading-content{display:flex;align-items:center;gap:.75rem;padding:.75rem 1.25rem;background:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 4px 6px #0000001a}.image-loading-overlay .loading-content .loading-spinner{width:24px;height:24px;border:3px solid #e5e7eb;border-top-color:#3b82f6;border-radius:50%;animation:spin .6s linear infinite;margin:0;flex-shrink:0}.image-loading-overlay .loading-content span{font-size:.875rem;color:#374151;font-weight:500}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.screenshot-node.align-left .screenshot-image-container{justify-content:flex-start}.screenshot-node.align-center .screenshot-image-container{justify-content:center}.screenshot-node.align-right .screenshot-image-container{justify-content:flex-end}.screenshot-caption{position:relative;padding:0;background:#fff;font-size:.9rem;color:#64748b;width:100%;min-width:100%;box-sizing:border-box;border-radius:0}.screenshot-caption.caption-align-left{text-align:left}.screenshot-caption.caption-align-center{text-align:center}.screenshot-caption.caption-align-right{text-align:right}.screenshot-caption .caption-alignment-controls{position:absolute;top:.5rem;right:.5rem;display:flex;gap:.25rem;background:#fffffff2;border:1px solid rgba(0,0,0,.1);border-radius:6px;padding:.25rem;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.screenshot-caption .caption-alignment-controls .caption-align-btn{width:24px;height:24px;border:1px solid rgba(0,0,0,.05);background:#fff;border-radius:4px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease;font-size:12px;color:#6b7280;font-weight:500}.screenshot-caption .caption-alignment-controls .caption-align-btn svg{width:14px!important;height:14px!important;min-width:14px;min-height:14px}.screenshot-caption .caption-alignment-controls .caption-align-btn:hover{background:#f9fafb;border-color:#9ca3af;color:#374151;transform:translateY(-1px)}.screenshot-caption .caption-alignment-controls .caption-align-btn.active{background:#f3f4f6;border-color:#6b7280;color:#111827}.screenshot-caption .caption-text{cursor:pointer;min-height:1.5em;padding:.25rem;border-radius:4px;transition:background-color .2s ease;margin-right:80px}.screenshot-caption .caption-text:hover{background:#e2e8f0}.screenshot-caption .caption-text:empty:before{content:"Click to add caption";color:#9ca3af;font-style:italic}.screenshot-caption .caption-editor{display:flex;align-items:center;gap:.5rem}.screenshot-caption .caption-editor .caption-input{flex:1;padding:.375rem .5rem;border:1px solid #d1d5db;border-radius:4px;font-size:.875rem}.screenshot-caption .caption-editor .caption-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 1px #3b82f6}.screenshot-caption .caption-editor .caption-controls{display:flex;gap:.25rem}.screenshot-caption .caption-editor .caption-controls .save-btn{background:#f9fafb;color:#059669;border:1px solid rgba(5,150,105,.2);border-radius:4px;padding:.25rem .5rem;font-size:.75rem;font-weight:500;transition:all .2s ease}.screenshot-caption .caption-editor .caption-controls .save-btn:hover{background:#f0fdf4;border-color:#059669;transform:translateY(-1px)}.screenshot-caption .caption-editor .caption-controls .cancel-btn{background:#f9fafb;color:#dc2626;border:1px solid rgba(220,38,38,.2);border-radius:4px;padding:.25rem .5rem;font-size:.75rem;font-weight:500;transition:all .2s ease}.screenshot-caption .caption-editor .caption-controls .cancel-btn:hover{background:#fef2f2;border-color:#dc2626;transform:translateY(-1px)}.screenshot-controls{display:flex;align-items:center;gap:.25rem;position:absolute;top:.5rem;right:.5rem}.screenshot-controls .alignment-controls{display:flex;gap:.25rem}.screenshot-controls .alignment-controls .align-btn{width:28px;height:28px;font-size:12px;background:#fffffff2;border:1px solid rgba(0,0,0,.1);border-radius:4px;color:#374151;font-weight:500;transition:all .2s ease}.screenshot-controls .alignment-controls .align-btn svg{width:14px!important;height:14px!important;min-width:14px;min-height:14px}.screenshot-controls .alignment-controls .align-btn.active{background:#f3f4f6;border-color:#6b7280;color:#111827}.screenshot-controls .alignment-controls .align-btn:hover{background:#f9fafb;border-color:#9ca3af;transform:translateY(-1px)}.screenshot-controls .alignment-controls .align-btn:hover.active{background:#e5e7eb}.screenshot-controls .caption-btn{background:#fffffff2;border:1px solid rgba(0,0,0,.1);border-radius:4px;color:#374151;font-weight:600;font-size:10px;padding:0 6px;height:28px;min-width:32px;transition:all .2s ease}.screenshot-controls .caption-btn:hover{background:#f9fafb;border-color:#9ca3af;transform:translateY(-1px)}.screenshot-controls .annotate-btn{background:#fffffff2;border:1px solid rgba(0,0,0,.1);border-radius:4px;color:#374151;font-size:14px;width:32px;height:28px;transition:all .2s ease}.screenshot-controls .annotate-btn:hover{background:#fef3c7;border-color:#f59e0b;color:#92400e;transform:translateY(-1px)}.screenshot-controls .border-btn{background:#fffffff2;border:1px solid rgba(0,0,0,.1);border-radius:4px;color:#374151;font-size:14px;width:32px;height:28px;transition:all .2s ease}.screenshot-controls .border-btn.active{background:#dbeafe;border-color:#3b82f6;color:#1e40af}.screenshot-controls .border-btn:hover{background:#e0e7ff;border-color:#6366f1;transform:translateY(-1px)}.resize-handle{position:absolute;bottom:0;right:0;width:20px;height:20px;cursor:nw-resize;background:#3b82f61a;border:2px solid #3b82f6;border-radius:4px;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.resize-handle:hover{background:#3b82f633;transform:scale(1.1)}.resize-handle.resizing{background:#3b82f64d;border-color:#2563eb;cursor:nw-resize}.resize-handle .resize-grip{width:8px;height:8px;background:linear-gradient(135deg,transparent 0%,transparent 35%,#3b82f6 35%,#3b82f6 65%,transparent 65%,transparent 100%);background-size:3px 3px;background-repeat:repeat;opacity:.7}.screenshot-node:not(.selected) .resize-handle{display:none}.screenshot-caption .caption-editor~.resize-handle{display:none}@media (max-width: 768px){.screenshot-node{margin:.5rem 0}.screenshot-status{padding:.375rem .5rem;font-size:.8rem}.control-btn{width:28px;height:28px;font-size:14px}.screenshot-caption{padding:.5rem;font-size:.8rem}.screenshot-caption .caption-alignment-controls{top:.25rem;right:.25rem}.screenshot-caption .caption-alignment-controls .caption-align-btn{width:20px;height:20px;font-size:10px}.screenshot-caption .caption-text{margin-right:60px}.resize-handle{width:24px;height:24px;bottom:-12px;right:-12px}}.image-mode-indicator{position:absolute;top:5px;left:5px;padding:4px 8px;border-radius:4px;font-size:12px;font-weight:700;z-index:10;pointer-events:none}.image-mode-indicator.thumbnail{background:#ff6b6b;color:#fff}.image-mode-indicator.full{background:#51cf66;color:#fff}.screenshot-image-wrapper{position:relative}.screenshot-image.thumbnail-mode{opacity:.8}.screenshot-image.full-mode{opacity:1}.loads-container{border:2px solid #e5e7eb;border-radius:8px;background:#fff;margin:16px 0;overflow:hidden;transition:all .2s ease}.loads-container.selected{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.loads-container:hover{border-color:#d1d5db}.loads-header{display:flex;justify-content:space-between;align-items:stretch;padding:8px 12px;background:linear-gradient(135deg,#f8fafc,#f1f5f9);border-bottom:1px solid #e5e7eb;height:44px}.loads-title-section{flex:1}.loads-title{margin:0;font-size:10pt!important;font-weight:600;color:#1f2937;cursor:pointer;padding:0 8px;border-radius:4px;transition:background-color .2s ease;line-height:1;height:100%;display:flex;align-items:center}.loads-title:hover{background-color:#3b82f61a}.loads-title-input{font-size:10pt;font-weight:600;color:#1f2937;border:2px solid #3b82f6;border-radius:4px;padding:4px 8px;background:#fff;outline:none;min-width:200px}.kfi-section{display:flex;align-items:center;gap:4px;margin-right:12px}.kfi-label{font-size:9pt;font-weight:600;color:#374151;white-space:nowrap}.kfi-input{width:50px;padding:2px 4px;border:1px solid #d1d5db;border-radius:3px;font-size:9pt;text-align:center;background:#fff}.kfi-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 1px #3b82f61a}.add-load-btn{background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;border:none;padding:0 10px;border-radius:4px;font-weight:500;font-size:9pt;cursor:pointer;transition:all .2s ease;box-shadow:0 1px 2px #3b82f633;height:100%;display:flex;align-items:center}.add-load-btn:hover{background:linear-gradient(135deg,#2563eb,#1d4ed8);transform:translateY(-1px);box-shadow:0 2px 4px #3b82f64d}.add-load-btn:active{transform:translateY(0)}.loads-table-container{overflow-x:auto;max-height:600px;overflow-y:auto}.loads-table{width:100%;border-collapse:collapse;font-size:9pt;table-layout:fixed}.loads-table th{background:#f9fafb;color:#374151;font-weight:600;padding:6px 4px;text-align:center;border-bottom:2px solid #e5e7eb;position:sticky;top:0;z-index:10;font-size:8pt;line-height:1.1;vertical-align:bottom}.loads-table th.multiline-header{width:45px;min-width:45px;max-width:45px;height:40px;white-space:normal;word-wrap:break-word;line-height:1.1}.loads-table th.enhed-header{width:80px;min-width:80px;max-width:80px}.loads-table th.karvaerdi-header{width:55px;min-width:55px;max-width:55px;height:40px;white-space:normal;word-wrap:break-word;line-height:1.1}.loads-table th.short-header,.loads-table th.art-header{width:40px;min-width:40px;max-width:40px}.loads-table th.beskrivelse-header{width:190px;min-width:190px;max-width:190px;word-wrap:break-word;white-space:normal;line-height:1.2}.loads-table td{padding:2px 1px;border-bottom:1px solid #f3f4f6;vertical-align:top;font-size:9pt;word-wrap:break-word;white-space:normal;line-height:1.2}.loads-table .load-row{transition:background-color .2s ease}.loads-table .load-row:hover{background-color:#f9fafb}.loads-table .load-row td{height:auto;min-height:28px}.loads-table .load-row .description-cell textarea{resize:none;overflow:hidden;min-height:20px;height:auto}.loads-table .empty-row .empty-message{text-align:center;color:#6b7280;font-style:italic;padding:40px 20px}.load-input{width:100%;border:1px solid #d1d5db;border-radius:2px;padding:2px 4px;font-size:9pt;transition:border-color .2s ease;background:#fff;box-sizing:border-box}.load-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 1px #3b82f61a}.load-input.load-input-small{min-width:35px;max-width:35px}.load-input.load-input-number{min-width:35px;max-width:35px;text-align:center;-webkit-appearance:textfield;appearance:textfield;-moz-appearance:textfield}.load-input.load-input-number::-webkit-outer-spin-button,.load-input.load-input-number::-webkit-inner-spin-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;margin:0}.load-input.load-input-karvaerdi{min-width:50px;max-width:50px;text-align:center;-webkit-appearance:textfield;appearance:textfield;-moz-appearance:textfield}.load-input.load-input-karvaerdi::-webkit-outer-spin-button,.load-input.load-input-karvaerdi::-webkit-inner-spin-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;margin:0}.load-input.load-input-wide{min-width:75px;max-width:75px}.load-input.load-textarea{min-width:185px;max-width:185px;resize:none;overflow:hidden;min-height:20px;height:auto;font-family:inherit}.kar-vaerdi-input-wrapper{position:relative;display:inline-block;width:55px}.calculator-button-inside{position:absolute;left:2px;top:50%;transform:translateY(-50%);background:none;border:none;cursor:pointer;font-size:10px;padding:0;width:16px;height:16px;display:flex;align-items:center;justify-content:center;opacity:.6;transition:opacity .2s;z-index:1}.calculator-button-inside:hover{opacity:1}.kar-vaerdi-input-with-button{width:100%;padding:2px 2px 2px 18px;border:1px solid #d1d5db;border-radius:2px;font-size:9pt;text-align:right;background:#fff;box-sizing:border-box;transition:border-color .2s ease;min-height:18px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.kar-vaerdi-input-with-button:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 1px #3b82f61a}.calculator-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.calculator-modal{background:#fff;border-radius:8px;box-shadow:0 4px 20px #00000026;width:320px;max-width:90vw}.calculator-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid #e5e7eb}.calculator-header h3{margin:0;font-size:16px;font-weight:600}.calculator-header .close-button{background:none;border:none;font-size:20px;cursor:pointer;color:#6b7280;padding:0;width:24px;height:24px;display:flex;align-items:center;justify-content:center}.calculator-header .close-button:hover{color:#374151}.calculator-body{padding:20px}.calculator-body label{display:block;margin-bottom:8px;font-weight:500;color:#374151}.calculator-body .formula-input{width:100%;padding:8px 12px;border:1px solid #d1d5db;border-radius:4px;font-family:Monaco,Menlo,monospace;font-size:14px;margin-bottom:12px}.calculator-body .formula-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.calculator-body .calculator-preview{padding:8px 12px;background:#f9fafb;border-radius:4px;font-family:Monaco,Menlo,monospace;font-size:13px}.calculator-body .calculator-preview .result-preview{color:#059669;font-weight:500}.calculator-body .calculator-preview .error-preview{color:#dc2626}.calculator-footer{display:flex;justify-content:flex-end;gap:8px;padding:16px 20px;border-top:1px solid #e5e7eb}.calculator-footer button{padding:8px 16px;border-radius:4px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s}.calculator-footer .cancel-button{background:#fff;border:1px solid #d1d5db;color:#374151}.calculator-footer .cancel-button:hover{background:#f9fafb}.calculator-footer .apply-button{background:#3b82f6;border:1px solid #3b82f6;color:#fff}.calculator-footer .apply-button:hover{background:#2563eb}.load-select{width:100%;border:1px solid #d1d5db;border-radius:2px;padding:2px 4px;font-size:9pt;background:#fff;cursor:pointer;transition:border-color .2s ease;box-sizing:border-box}.load-select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 1px #3b82f61a}.load-select.load-select-unit{min-width:75px;max-width:75px;text-align:center}.remove-load-btn{background:#f3f4f6;color:#6b7280;border:1px solid #d1d5db;width:20px;height:20px;border-radius:4px;cursor:pointer;font-size:10px;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.remove-load-btn:hover{background:#fee2e2;color:#dc2626;border-color:#fca5a5}.remove-load-btn:active{transform:scale(.95)}.remove-load-btn:before{content:"🗑";font-size:10px}.loads-summary{padding:12px 16px;background:#f9fafb;border-top:1px solid #e5e7eb}.loads-stats{display:flex;gap:16px;align-items:center}.stat{display:flex;align-items:center;gap:4px;font-size:9pt}.stat .stat-label{color:#6b7280;font-weight:500}.stat .stat-value{font-weight:600;font-size:10pt}@media (max-width: 1024px){.loads-table-container{font-size:12px}.loads-header{flex-direction:column;gap:12px;align-items:stretch}.loads-stats{flex-wrap:wrap;gap:16px}}@media print{.loads-container{border:1px solid #000;break-inside:avoid}.add-load-btn,.remove-load-btn{display:none}.loads-title{cursor:default}}.lastned-5e-wrapper{margin:1rem 0;font-family:Arial,sans-serif;font-size:10px}.edit-button{background:none;border:none;font-size:16px;cursor:pointer;padding:4px;margin-top:4px;opacity:.6;transition:opacity .2s}.edit-button:hover{opacity:1}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:1000;pointer-events:all;padding:1rem}.modal-content{background:#fff;width:80%;max-width:900px;max-height:92vh;overflow:auto;box-shadow:0 10px 40px #0000004d;border-radius:12px;pointer-events:all;-webkit-user-select:auto;user-select:auto;cursor:default}.modal-content *{-webkit-user-select:auto;user-select:auto}.modal-content input,.modal-content select,.modal-content textarea{-webkit-user-select:text;user-select:text;cursor:text}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.25rem 2rem;border-bottom:2px solid #e0e0e0;background:linear-gradient(to bottom,#fafafa,#f5f5f5);border-radius:12px 12px 0 0;gap:1rem}.modal-header h2{margin:0;font-size:20px;font-weight:600;color:#333}.modal-header .modal-close{background:#e0e0e0;border:none;font-size:24px;cursor:pointer;color:#666;padding:0;width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.modal-header .modal-close:hover{background:#d32f2f;color:#fff;transform:scale(1.1)}.modal-header .btn-calculate{background:#f5f5f5;color:#333;border:1px solid #ddd;border-radius:4px;padding:6px 12px;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s ease;margin-left:auto}.modal-header .btn-calculate:hover:not(:disabled){background:#e8e8e8;border-color:#ccc}.modal-header .btn-calculate:active:not(:disabled){background:#ddd}.modal-header .btn-calculate:disabled{background:#f9f9f9;color:#999;cursor:not-allowed}.modal-header .sheet-link-button-modal{background:#f5f5f5;color:#333;border:1px solid #ddd;border-radius:4px;padding:6px 12px;font-size:13px;font-weight:500;text-decoration:none;display:inline-flex;align-items:center;cursor:pointer;transition:all .2s ease;margin-left:.5rem}.modal-header .sheet-link-button-modal:hover{background:#e8e8e8;border-color:#ccc}.modal-header .sheet-link-button-modal:active{background:#ddd}.modal-header .version-box{display:flex;flex-direction:column;width:100%;gap:.5rem;align-items:center}.modal-header .version-info{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%}.modal-header .button-group{display:grid;grid-template-columns:1fr 1fr 1fr;width:100%;gap:.35rem}.modal-header .button-group button{display:flex;align-items:center;justify-content:center;font-size:11px}button.config-button,.config-button{background:none!important;border:none!important;padding:0!important;margin:0!important;font-size:13px!important;cursor:pointer!important;display:inline-block!important;line-height:1!important;transition:all .15s ease!important;-webkit-user-select:none!important;user-select:none!important;color:inherit!important;box-shadow:none!important}button.config-button:hover,.config-button:hover{transform:scale(1.1);background:none!important}button.config-button:active,.config-button:active{transform:scale(.95);background:none!important}button.sheet-link-button,.sheet-link-button{background:none!important;border:none!important;padding:0!important;margin:0!important;font-size:12px!important;cursor:pointer!important;display:inline-block!important;line-height:1!important;-webkit-user-select:none!important;user-select:none!important;box-shadow:none!important;color:#00e!important;text-decoration:underline!important;transition:color .2s ease!important}button.sheet-link-button:hover,.sheet-link-button:hover{color:#00c!important;background:none!important}button.sheet-link-button:active,.sheet-link-button:active{color:#551a8b!important;background:none!important}button.sheet-link-button:visited,.sheet-link-button:visited{color:#551a8b!important}button.calculate-button,.calculate-button{background:#4caf50!important;color:#fff!important;border:none!important;padding:6px 12px!important;font-size:12px!important;font-weight:500!important;cursor:pointer!important;border-radius:4px!important;transition:all .2s ease!important}button.calculate-button:hover:not(:disabled),.calculate-button:hover:not(:disabled){background:#45a049!important}button.calculate-button:active:not(:disabled),.calculate-button:active:not(:disabled){background:#3d8b40!important}button.calculate-button:disabled,.calculate-button:disabled{background:#9e9e9e!important;cursor:not-allowed!important}.zoom-controls{display:flex;align-items:center;gap:.5rem}.zoom-controls .zoom-btn{background:#fff;border:1px solid #ccc;border-radius:4px;width:32px;height:32px;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:18px;font-weight:700;color:#333;transition:all .2s ease}.zoom-controls .zoom-btn:hover{background:#4caf50;color:#fff;border-color:#4caf50}.zoom-controls .zoom-btn:active{transform:scale(.95)}.zoom-controls .zoom-level{font-size:13px;color:#666;min-width:45px;text-align:center;font-weight:500}.modal-body{padding:0;background:#fff}.modal-body .sheet-header .label,.modal-body .sheet-header .value{font-size:14px!important}.modal-body .sheet-header .value-small{font-size:12px!important}.modal-body .sheet-header .version-title{font-size:13px!important}.modal-body .sheet-header .version-date{font-size:10px!important}.modal-body .control-row .label,.modal-body .small-input{font-size:14px!important}.modal-body .input-table{font-size:15px!important}.modal-body .input-table th,.modal-body .input-table td,.modal-body .input-table .id-input,.modal-body .input-table .desc-input,.modal-body .input-table .category-dropdown{font-size:14px!important}.modal-body .note-text{font-size:13px!important}.modal-body .calculation-table{font-size:15px!important}.modal-body .calculation-table th,.modal-body .calculation-table td,.modal-body input.green-input,.modal-body input.etage-input,.modal-body select.dropdown-input,.modal-body .sheet-footer{font-size:14px!important}.modal-body .bottom-visual-row{grid-template-columns:1.935fr 1fr}.lastned-5e-container{border:1px solid #000;background:#fff;overflow-x:auto}.header-input{background:transparent;border:none;border-bottom:1px solid transparent;font-family:inherit;font-size:inherit;font-weight:inherit;color:inherit;padding:2px 4px;transition:all .2s ease}.header-input:focus{outline:none;border-bottom-color:#666;background:#00000005}.header-input:hover{background:#00000005}.sheet-header{display:table;width:100%;background:#ff9;border-collapse:collapse;border-bottom:1px solid #000;font-size:11px}.sheet-header .header-left,.sheet-header .header-right,.sheet-header .version-box{display:table-cell;vertical-align:top;padding:4px}.sheet-header .header-left{width:50%}.sheet-header .header-left .header-row{display:flex;align-items:center;height:auto;margin:0;line-height:1}.sheet-header .header-left .header-row .label{font-weight:700;padding:3px 4px;background:#ff9;width:60px}.sheet-header .header-left .header-row .value{font-weight:400;background:#cfc;padding:3px 4px;flex:1;width:100%;border:none;font-family:inherit;font-size:inherit;box-sizing:border-box}.sheet-header .header-left .header-row .value:focus{outline:1px solid #4caf50}.sheet-header .header-left .header-row-small{padding:3px 4px;font-size:9px;line-height:1;margin:0 0 0 60px}.sheet-header .header-right{width:20%;border-right:1px solid #000}.sheet-header .header-right .header-row{display:flex;align-items:center;height:auto;margin:0;line-height:1}.sheet-header .header-right .header-row .label{font-weight:700;padding:3px 4px;background:#ff9;width:35px}.sheet-header .header-right .header-row .value{background:#cfc;padding:3px 4px;flex:1;border:none;font-family:inherit;font-size:inherit}.sheet-header .header-right .header-row .value:focus{outline:1px solid #4caf50;background:#cfc}.sheet-header .version-box{background:#ff9;text-align:center;width:200px;display:flex;flex-direction:column;gap:.5rem;padding:4px;align-items:center}.sheet-header .version-box .version-info{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%}.sheet-header .version-box .version-title{font-weight:700;font-size:10px;margin-bottom:2px;color:#ff1406}.sheet-header .version-box .version-date{font-size:8px}.sheet-header .version-box .button-group{display:grid;grid-template-columns:1fr 1fr 1fr;width:100%;gap:.35rem}.sheet-header .version-box .button-group button{display:flex;align-items:center;justify-content:center;font-size:11px}.input-tables-top{width:100%}.main-grid{border-top:1px solid #000;border-bottom:1px solid #000}.bottom-visual-row{display:grid;grid-template-columns:1.76fr 1fr;gap:0;align-items:stretch}.visual-placeholder{border:1px dashed #ccc;background:#cff;display:flex;align-items:center;justify-content:center;border-right:none;overflow:hidden;padding:10px}.visual-placeholder svg{max-width:100%;max-height:100%;display:block}.visual-placeholder .placeholder-text{color:#999;font-size:14px;font-style:italic}.explanation-container{background:#ff9;border-left:1px solid #000;display:flex;flex-direction:column;gap:0}.explanation-box{padding:.3rem}.explanation-box:first-child{border-bottom:1px solid #000}.explanation-box img{width:100%;height:auto;display:block;margin:0}.explanation-box:last-child{display:flex;flex-direction:column;align-items:center}.explanation-box:last-child img{width:70%}.explanation-box:last-child .explanation-text{width:100%}.explanation-box .explanation-text{font-size:10px;line-height:1.1;margin:.1rem 0;padding:0;text-align:left}.explanation-box .explanation-text p{margin:0;padding:0;text-align:left}.explanation-box .explanation-text sub{font-size:.8em}.control-row{display:table;width:100%;background:#ff9;border-collapse:collapse;border-bottom:1px solid #000;font-size:10px}.control-row .control-item{display:table-cell;padding:4px;vertical-align:middle;border-right:1px solid #000}.control-row .control-item:last-child{border-right:none}.control-row .control-item .label{font-weight:700;padding:2px 4px;display:inline}.control-row .control-item .small-input{width:50px;padding:2px 4px;border:none;font-size:10px;text-align:center;background:#cfc;margin-left:4px}.input-tables-top .input-table{width:100%;border-collapse:collapse;margin-bottom:0;font-size:10px}.input-tables-top .input-table th:nth-child(1){width:8%}.input-tables-top .input-table th:nth-child(2){width:25%}.input-tables-top .input-table th:nth-child(3){width:10%}.input-tables-top .input-table th:nth-child(4){width:10%}.input-tables-top .input-table th:nth-child(5){width:10%}.input-tables-top .input-table th:nth-child(6){width:8%}.input-tables-top .input-table th:nth-child(7){width:8%}.input-tables-top .input-table th:nth-child(8){width:10%}.input-tables-top .input-table .table-header{background:#ff9;font-weight:700}.input-tables-top .input-table .table-header th{padding:4px;border:none;text-align:center;font-size:10px;line-height:1.2;color:#000;vertical-align:top}.input-tables-top .input-table tbody tr{background:#ff9;color:#000}.input-tables-top .input-table tbody tr.blue-row{background:#d6e9f5}.input-tables-top .input-table tbody tr.blue-row td:first-child{background:#cfc}.input-tables-top .input-table tbody tr.header-row td{background:#ff9!important}.input-tables-top .input-table tbody tr.header-row td:first-child{padding:3px 6px}.input-tables-top .input-table tbody tr td{padding:4px 8px;border:none;text-align:center;font-size:10px;background:#cfc}.input-tables-top .input-table tbody tr td:first-child{background:#ff9;padding:0}.input-tables-top .input-table tbody tr td:nth-child(2){background:#cfc;text-align:left;padding:0}.input-tables-top .input-table tbody tr td:last-child{padding:2px;background:#ff9}.input-tables-top .note-text{font-size:8px;color:#000;background:#ff9;margin:0;padding:.5rem;font-weight:700}.input-tables-top .category-dropdown{width:100%;height:100%;border:none;background:transparent;font-size:10px;text-align:center;padding:3px;cursor:pointer}.input-tables-top .category-dropdown:focus{outline:1px solid #666}.input-tables-top .linielaste{border-top:1px solid #000}.input-tables-top .desc-input{width:100%;border:none;background:transparent;font-size:10px;padding:3px 6px;text-align:left;color:#000}.input-tables-top .desc-input:focus{outline:1px solid #666}.input-tables-top .id-input{width:100%;border:none;background:transparent;font-size:10px;padding:3px 6px;text-align:center;color:#000}.input-tables-top .id-input:focus{outline:1px solid #666}.input-tables-top .number-input{width:100%;border:none;background:transparent;font-size:10px;padding:3px 6px;text-align:center;color:#000}.input-tables-top .number-input:focus{outline:1px solid #666}.calculation-tables-container{display:flex;flex-direction:column;gap:0;margin:0}.green-input{background-color:#cfc;border:none;padding:2px 4px;font-size:10px;text-align:center;width:100%}.green-input:focus{outline:1px solid #4caf50}.etage-input{background-color:#cfc;border:none;padding:2px 4px;font-size:10px;text-align:center;width:100%}.etage-input:focus{outline:1px solid #4caf50}.dropdown-input{background-color:#ff9;border:none;padding:2px 6px;font-size:10px;text-align:center;width:100%;cursor:pointer;min-width:60px}.dropdown-input:focus{outline:none}.calculation-table{width:100%;border-collapse:collapse;font-size:10px}.calculation-table thead tr{background:#ff9}.calculation-table thead tr th{padding:2px 4px;border:none;text-align:center;font-weight:700;font-size:10px;line-height:1.1;vertical-align:top}.calculation-table tbody tr td{padding:2px 4px;border:none;text-align:center;font-size:10px}.calculation-table-1 thead tr:first-child th{font-size:10px;vertical-align:top}.calculation-table-1 thead tr:first-child th:nth-child(1){border-right:1px solid #000;vertical-align:top;padding-top:4px}.calculation-table-1 thead tr:first-child th:nth-child(2){border-right:1px solid #000}.calculation-table-1 thead tr:first-child th:nth-child(3){border-right:1px solid #000}.calculation-table-1 thead tr:last-child th:nth-child(2){border-right:1px solid #000}.calculation-table-1 thead tr:last-child th:nth-child(6){border-right:1px solid #000}.calculation-table-1 tbody{background:#cfc}.calculation-table-1 tbody tr td:first-child{font-weight:400;background:#cfc}.calculation-table-1 tbody tr td.empty-yellow{background:#ff9}.calculation-table-1 tbody tr td:nth-child(1){border-right:1px solid #000}.calculation-table-1 tbody tr td:nth-child(3){border-right:1px solid #000}.calculation-table-1 tbody tr td:nth-child(7){border-right:1px solid #000}.calculation-table-1 tbody tr td:nth-child(5),.calculation-table-1 tbody tr td:nth-child(6),.calculation-table-1 tbody tr td:nth-child(9),.calculation-table-1 tbody tr td:nth-child(10){background:#ff9}.calculation-table-2{border-top:1px solid #000}.calculation-table-2 thead tr th{padding:2px 4px;border:none;text-align:center;font-weight:700;font-size:10px;line-height:1.1;vertical-align:top}.calculation-table-2 thead tr:first-child th{font-size:10px;vertical-align:top}.calculation-table-2 thead tr:first-child th:nth-child(1){border-right:1px solid #000}.calculation-table-2 thead tr:first-child th:nth-child(2){border-right:1px solid #000}.calculation-table-2 thead tr:first-child th:nth-child(3){border-right:1px solid #000}.calculation-table-2 thead tr:last-child th:nth-child(1){border-right:1px solid #000}.calculation-table-2 thead tr:last-child th:nth-child(4){border-right:1px solid #000}.calculation-table-2 thead tr:last-child th:nth-child(7){border-right:1px solid #000}.calculation-table-2 tbody{background:#ff9}.calculation-table-2 tbody tr td{padding:2px 4px;border:none;text-align:center;font-size:10px}.calculation-table-2 tbody tr td:nth-child(1){border-right:1px solid #000}.calculation-table-2 tbody tr td:nth-child(4){border-right:1px solid #000}.calculation-table-2 tbody tr td:nth-child(7){border-right:1px solid #000}.sheet-footer{display:grid;grid-template-columns:auto 1fr 1fr auto;gap:1rem;padding:8px;background:#ff9;border-top:1px solid #000;font-size:9px}.sheet-footer .italic{font-style:italic}.sheet-footer .footer-right .warning{color:#d00000;font-weight:700}.sheet-link{color:#1976d2;text-decoration:none;font-size:12px}.sheet-link:hover{text-decoration:underline}.etage-calculate-button{transition:opacity .2s,transform .2s}.etage-calculate-button:hover:not(:disabled){opacity:1!important;transform:translate(-50%,-50%) scale(1.15)}.tiptap-tooltip{--tt-tooltip-bg: var(--tt-gray-light-900);--tt-tooltip-text: var(--white);--tt-kbd: var(--tt-gray-dark-a-400)}.dark .tiptap-tooltip{--tt-tooltip-bg: var(--white);--tt-tooltip-text: var(--tt-gray-light-600);--tt-kbd: var(--tt-gray-light-a-400)}.tiptap-tooltip{z-index:50;overflow:hidden;border-radius:var(--tt-radius-md, .375rem);background-color:var(--tt-tooltip-bg);padding:.375rem .5rem;font-size:.75rem;font-weight:500;color:var(--tt-tooltip-text);box-shadow:0 4px 6px -1px #0000001a;text-align:center}.tiptap-tooltip kbd{display:inline-block;text-align:center;vertical-align:baseline;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif;text-transform:capitalize;color:var(--tt-kbd)}.tiptap-button{--tt-button-default-bg-color: var(--tt-gray-light-a-100);--tt-button-hover-bg-color: var(--tt-gray-light-200);--tt-button-active-bg-color: var(--tt-gray-light-a-200);--tt-button-active-bg-color-emphasized: var( --tt-brand-color-100 );--tt-button-active-bg-color-subdued: var( --tt-gray-light-a-200 );--tt-button-active-hover-bg-color: var(--tt-gray-light-300);--tt-button-active-hover-bg-color-emphasized: var( --tt-brand-color-200 );--tt-button-active-hover-bg-color-subdued: var( --tt-gray-light-a-300 );--tt-button-disabled-bg-color: var(--tt-gray-light-a-50);--tt-button-default-text-color: var(--tt-gray-light-a-600);--tt-button-hover-text-color: var(--tt-gray-light-a-900);--tt-button-active-text-color: var(--tt-gray-light-a-900);--tt-button-active-text-color-emphasized: var(--tt-gray-light-a-900);--tt-button-active-text-color-subdued: var(--tt-gray-light-a-900);--tt-button-disabled-text-color: var(--tt-gray-light-a-400);--tt-button-default-icon-color: var(--tt-gray-light-a-600);--tt-button-hover-icon-color: var(--tt-gray-light-a-900);--tt-button-active-icon-color: var(--tt-brand-color-500);--tt-button-active-icon-color-emphasized: var(--tt-brand-color-600);--tt-button-active-icon-color-subdued: var(--tt-gray-light-a-900);--tt-button-disabled-icon-color: var(--tt-gray-light-a-400);--tt-button-default-icon-sub-color: var(--tt-gray-light-a-400);--tt-button-hover-icon-sub-color: var(--tt-gray-light-a-500);--tt-button-active-icon-sub-color: var(--tt-gray-light-a-400);--tt-button-active-icon-sub-color-emphasized: var(--tt-gray-light-a-500);--tt-button-active-icon-sub-color-subdued: var(--tt-gray-light-a-400);--tt-button-disabled-icon-sub-color: var(--tt-gray-light-a-100);--tt-button-default-dropdown-arrows-color: var(--tt-gray-light-a-600);--tt-button-hover-dropdown-arrows-color: var(--tt-gray-light-a-700);--tt-button-active-dropdown-arrows-color: var(--tt-gray-light-a-600);--tt-button-active-dropdown-arrows-color-emphasized: var( --tt-gray-light-a-700 );--tt-button-active-dropdown-arrows-color-subdued: var(--tt-gray-light-a-600);--tt-button-disabled-dropdown-arrows-color: var(--tt-gray-light-a-400)}.dark .tiptap-button{--tt-button-default-bg-color: var(--tt-gray-dark-a-100);--tt-button-hover-bg-color: var(--tt-gray-dark-200);--tt-button-active-bg-color: var(--tt-gray-dark-a-200);--tt-button-active-bg-color-emphasized: var( --tt-brand-color-900 );--tt-button-active-bg-color-subdued: var( --tt-gray-dark-a-200 );--tt-button-active-hover-bg-color: var(--tt-gray-dark-300);--tt-button-active-hover-bg-color-emphasized: var( --tt-brand-color-800 );--tt-button-active-hover-bg-color-subdued: var( --tt-gray-dark-a-300 );--tt-button-disabled-bg-color: var(--tt-gray-dark-a-50)}.dark .tiptap-button{--tt-button-default-text-color: var(--tt-gray-dark-a-600);--tt-button-hover-text-color: var(--tt-gray-dark-a-900);--tt-button-active-text-color: var(--tt-gray-dark-a-900);--tt-button-active-text-color-emphasized: var(--tt-gray-dark-a-900);--tt-button-active-text-color-subdued: var(--tt-gray-dark-a-900);--tt-button-disabled-text-color: var(--tt-gray-dark-a-300)}.dark .tiptap-button{--tt-button-default-icon-color: var(--tt-gray-dark-a-600);--tt-button-hover-icon-color: var(--tt-gray-dark-a-900);--tt-button-active-icon-color: var(--tt-brand-color-400);--tt-button-active-icon-color-emphasized: var(--tt-brand-color-400);--tt-button-active-icon-color-subdued: var(--tt-gray-dark-a-900);--tt-button-disabled-icon-color: var(--tt-gray-dark-a-400)}.dark .tiptap-button{--tt-button-default-icon-sub-color: var(--tt-gray-dark-a-300);--tt-button-hover-icon-sub-color: var(--tt-gray-dark-a-400);--tt-button-active-icon-sub-color: var(--tt-gray-dark-a-300);--tt-button-active-icon-sub-color-emphasized: var(--tt-gray-dark-a-400);--tt-button-active-icon-sub-color-subdued: var(--tt-gray-dark-a-300);--tt-button-disabled-icon-sub-color: var(--tt-gray-dark-a-100)}.dark .tiptap-button{--tt-button-default-dropdown-arrows-color: var(--tt-gray-dark-a-600);--tt-button-hover-dropdown-arrows-color: var(--tt-gray-dark-a-700);--tt-button-active-dropdown-arrows-color: var(--tt-gray-dark-a-600);--tt-button-active-dropdown-arrows-color-emphasized: var( --tt-gray-dark-a-700 );--tt-button-active-dropdown-arrows-color-subdued: var(--tt-gray-dark-a-600);--tt-button-disabled-dropdown-arrows-color: var(--tt-gray-dark-a-400)}.tiptap-button[data-style=ghost]{--tt-button-default-bg-color: var(--transparent);--tt-button-hover-bg-color: var(--tt-gray-light-200);--tt-button-active-bg-color: var(--tt-gray-light-a-100);--tt-button-active-bg-color-emphasized: var( --tt-brand-color-100 );--tt-button-active-bg-color-subdued: var( --tt-gray-light-a-100 );--tt-button-active-hover-bg-color: var(--tt-gray-light-200);--tt-button-active-hover-bg-color-emphasized: var( --tt-brand-color-200 );--tt-button-active-hover-bg-color-subdued: var( --tt-gray-light-a-200 );--tt-button-disabled-bg-color: var(--transparent);--tt-button-default-text-color: var(--tt-gray-light-a-600);--tt-button-hover-text-color: var(--tt-gray-light-a-900);--tt-button-active-text-color: var(--tt-gray-light-a-900);--tt-button-active-text-color-emphasized: var(--tt-gray-light-a-900);--tt-button-active-text-color-subdued: var(--tt-gray-light-a-900);--tt-button-disabled-text-color: var(--tt-gray-light-a-400);--tt-button-default-icon-color: var(--tt-gray-light-a-600);--tt-button-hover-icon-color: var(--tt-gray-light-a-900);--tt-button-active-icon-color: var(--tt-brand-color-500);--tt-button-active-icon-color-emphasized: var(--tt-brand-color-600);--tt-button-active-icon-color-subdued: var(--tt-gray-light-a-900);--tt-button-disabled-icon-color: var(--tt-gray-light-a-400);--tt-button-default-icon-sub-color: var(--tt-gray-light-a-400);--tt-button-hover-icon-sub-color: var(--tt-gray-light-a-500);--tt-button-active-icon-sub-color: var(--tt-gray-light-a-400);--tt-button-active-icon-sub-color-emphasized: var(--tt-gray-light-a-500);--tt-button-active-icon-sub-color-subdued: var(--tt-gray-light-a-400);--tt-button-disabled-icon-sub-color: var(--tt-gray-light-a-100);--tt-button-default-dropdown-arrows-color: var(--tt-gray-light-a-600);--tt-button-hover-dropdown-arrows-color: var(--tt-gray-light-a-700);--tt-button-active-dropdown-arrows-color: var(--tt-gray-light-a-600);--tt-button-active-dropdown-arrows-color-emphasized: var( --tt-gray-light-a-700 );--tt-button-active-dropdown-arrows-color-subdued: var( --tt-gray-light-a-600 );--tt-button-disabled-dropdown-arrows-color: var(--tt-gray-light-a-400)}.dark .tiptap-button[data-style=ghost]{--tt-button-default-bg-color: var(--transparent);--tt-button-hover-bg-color: var(--tt-gray-dark-200);--tt-button-active-bg-color: var(--tt-gray-dark-a-100);--tt-button-active-bg-color-emphasized: var( --tt-brand-color-900 );--tt-button-active-bg-color-subdued: var( --tt-gray-dark-a-100 );--tt-button-active-hover-bg-color: var(--tt-gray-dark-200);--tt-button-active-hover-bg-color-emphasized: var( --tt-brand-color-800 );--tt-button-active-hover-bg-color-subdued: var( --tt-gray-dark-a-200 );--tt-button-disabled-bg-color: var(--transparent)}.dark .tiptap-button[data-style=ghost]{--tt-button-default-text-color: var(--tt-gray-dark-a-600);--tt-button-hover-text-color: var(--tt-gray-dark-a-900);--tt-button-active-text-color: var(--tt-gray-dark-a-900);--tt-button-active-text-color-emphasized: var(--tt-gray-dark-a-900);--tt-button-active-text-color-subdued: var(--tt-gray-dark-a-900);--tt-button-disabled-text-color: var(--tt-gray-dark-a-300)}.dark .tiptap-button[data-style=ghost]{--tt-button-default-icon-color: var(--tt-gray-dark-a-600);--tt-button-hover-icon-color: var(--tt-gray-dark-a-900);--tt-button-active-icon-color: var(--tt-brand-color-400);--tt-button-active-icon-color-emphasized: var(--tt-brand-color-300);--tt-button-active-icon-color-subdued: var(--tt-gray-dark-a-900);--tt-button-disabled-icon-color: var(--tt-gray-dark-a-400)}.dark .tiptap-button[data-style=ghost]{--tt-button-default-icon-sub-color: var(--tt-gray-dark-a-300);--tt-button-hover-icon-sub-color: var(--tt-gray-dark-a-400);--tt-button-active-icon-sub-color: var(--tt-gray-dark-a-300);--tt-button-active-icon-sub-color-emphasized: var(--tt-gray-dark-a-400);--tt-button-active-icon-sub-color-subdued: var(--tt-gray-dark-a-300);--tt-button-disabled-icon-sub-color: var(--tt-gray-dark-a-100)}.dark .tiptap-button[data-style=ghost]{--tt-button-default-dropdown-arrows-color: var(--tt-gray-dark-a-600);--tt-button-hover-dropdown-arrows-color: var(--tt-gray-dark-a-700);--tt-button-active-dropdown-arrows-color: var(--tt-gray-dark-a-600);--tt-button-active-dropdown-arrows-color-emphasized: var( --tt-gray-dark-a-700 );--tt-button-active-dropdown-arrows-color-subdued: var( --tt-gray-dark-a-600 );--tt-button-disabled-dropdown-arrows-color: var(--tt-gray-dark-a-400)}.tiptap-button[data-style=primary]{--tt-button-default-bg-color: var(--tt-brand-color-500);--tt-button-hover-bg-color: var(--tt-brand-color-600);--tt-button-active-bg-color: var(--tt-brand-color-100);--tt-button-active-bg-color-emphasized: var( --tt-brand-color-100 );--tt-button-active-bg-color-subdued: var( --tt-brand-color-100 );--tt-button-active-hover-bg-color: var(--tt-brand-color-200);--tt-button-active-hover-bg-color-emphasized: var( --tt-brand-color-200 );--tt-button-active-hover-bg-color-subdued: var( --tt-brand-color-200 );--tt-button-disabled-bg-color: var(--tt-gray-light-a-100);--tt-button-default-text-color: var(--white);--tt-button-hover-text-color: var(--white);--tt-button-active-text-color: var(--tt-gray-light-a-900);--tt-button-active-text-color-emphasized: var(--tt-gray-light-a-900);--tt-button-active-text-color-subdued: var(--tt-gray-light-a-900);--tt-button-disabled-text-color: var(--tt-gray-light-a-400);--tt-button-default-icon-color: var(--white);--tt-button-hover-icon-color: var(--white);--tt-button-active-icon-color: var(--tt-brand-color-600);--tt-button-active-icon-color-emphasized: var(--tt-brand-color-600);--tt-button-active-icon-color-subdued: var(--tt-brand-color-600);--tt-button-disabled-icon-color: var(--tt-gray-light-a-400);--tt-button-default-icon-sub-color: var(--tt-gray-dark-a-500);--tt-button-hover-icon-sub-color: var(--tt-gray-dark-a-500);--tt-button-active-icon-sub-color: var(--tt-gray-light-a-500);--tt-button-active-icon-sub-color-emphasized: var(--tt-gray-light-a-500);--tt-button-active-icon-sub-color-subdued: var(--tt-gray-light-a-500);--tt-button-disabled-icon-sub-color: var(--tt-gray-light-a-100);--tt-button-default-dropdown-arrows-color: var(--white);--tt-button-hover-dropdown-arrows-color: var(--white);--tt-button-active-dropdown-arrows-color: var(--tt-gray-light-a-700);--tt-button-active-dropdown-arrows-color-emphasized: var( --tt-gray-light-a-700 );--tt-button-active-dropdown-arrows-color-subdued: var( --tt-gray-light-a-700 );--tt-button-disabled-dropdown-arrows-color: var(--tt-gray-light-a-400)}.dark .tiptap-button[data-style=primary]{--tt-button-default-bg-color: var(--tt-brand-color-500);--tt-button-hover-bg-color: var(--tt-brand-color-600);--tt-button-active-bg-color: var(--tt-brand-color-900);--tt-button-active-bg-color-emphasized: var( --tt-brand-color-900 );--tt-button-active-bg-color-subdued: var( --tt-brand-color-900 );--tt-button-active-hover-bg-color: var(--tt-brand-color-800);--tt-button-active-hover-bg-color-emphasized: var( --tt-brand-color-800 );--tt-button-active-hover-bg-color-subdued: var( --tt-brand-color-800 );--tt-button-disabled-bg-color: var(--tt-gray-dark-a-100)}.dark .tiptap-button[data-style=primary]{--tt-button-default-text-color: var(--white);--tt-button-hover-text-color: var(--white);--tt-button-active-text-color: var(--tt-gray-dark-a-900);--tt-button-active-text-color-emphasized: var(--tt-gray-dark-a-900);--tt-button-active-text-color-subdued: var(--tt-gray-dark-a-900);--tt-button-disabled-text-color: var(--tt-gray-dark-a-300)}.dark .tiptap-button[data-style=primary]{--tt-button-default-icon-color: var(--white);--tt-button-hover-icon-color: var(--white);--tt-button-active-icon-color: var(--tt-brand-color-400);--tt-button-active-icon-color-emphasized: var(--tt-brand-color-400);--tt-button-active-icon-color-subdued: var(--tt-brand-color-400);--tt-button-disabled-icon-color: var(--tt-gray-dark-a-300)}.dark .tiptap-button[data-style=primary]{--tt-button-default-icon-sub-color: var(--tt-gray-dark-a-400);--tt-button-hover-icon-sub-color: var(--tt-gray-dark-a-500);--tt-button-active-icon-sub-color: var(--tt-gray-dark-a-300);--tt-button-active-icon-sub-color-emphasized: var(--tt-gray-dark-a-400);--tt-button-active-icon-sub-color-subdued: var(--tt-gray-dark-a-300);--tt-button-disabled-icon-sub-color: var(--tt-gray-dark-a-100)}.dark .tiptap-button[data-style=primary]{--tt-button-default-dropdown-arrows-color: var(--white);--tt-button-hover-dropdown-arrows-color: var(--white);--tt-button-active-dropdown-arrows-color: var(--tt-gray-dark-a-600);--tt-button-active-dropdown-arrows-color-emphasized: var( --tt-gray-dark-a-600 );--tt-button-active-dropdown-arrows-color-subdued: var( --tt-gray-dark-a-600 );--tt-button-disabled-dropdown-arrows-color: var(--tt-gray-dark-a-400)}.tiptap-button-group{align-items:center;display:flex;gap:.125rem;flex-direction:column}.tiptap-button-group[data-orientation=vertical],.tiptap-button-group [data-orientation=vertical]{flex-direction:column}.tiptap-button-group[data-orientation=horizontal],.tiptap-button-group [data-orientation=horizontal]{flex-direction:row}.tiptap-button{font-size:.875rem;font-weight:500;font-feature-settings:"salt" on,"cv01" on;line-height:1.15;height:2rem;min-width:2rem;border:none;padding:.5rem;gap:.25rem;display:flex;align-items:center;justify-content:center;border-radius:var(--tt-radius-lg, .75rem);transition-property:background,color,opacity;transition-duration:var(--tt-transition-duration-default);transition-timing-function:var(--tt-transition-easing-default)}.tiptap-button:focus-visible{outline:none}.tiptap-button[data-highlighted=true]{background-color:var(--tt-button-hover-bg-color);color:var(--tt-button-hover-text-color)}.tiptap-button[data-size=large]{font-size:.9375rem;height:2.375rem;min-width:2.375rem;padding:.625rem}.tiptap-button[data-size=small]{font-size:.75rem;line-height:1.2;height:1.5rem;min-width:1.5rem;padding:.3125rem;border-radius:var(--tt-radius-md, .5rem)}.tiptap-button .tiptap-button-text{padding:0 .125rem;flex-grow:1;text-align:left;line-height:1.5rem}.tiptap-button[data-text-trim=on] .tiptap-button-text{text-overflow:ellipsis;overflow:hidden}.tiptap-button .tiptap-button-icon,.tiptap-button .tiptap-button-icon-sub,.tiptap-button .tiptap-button-dropdown-arrows,.tiptap-button .tiptap-button-dropdown-small{pointer-events:none;flex-shrink:0}.tiptap-button .tiptap-button-icon{width:1rem;height:1rem}.tiptap-button[data-size=large] .tiptap-button-icon{width:1.125rem;height:1.125rem}.tiptap-button[data-size=small] .tiptap-button-icon{width:.875rem;height:.875rem}.tiptap-button .tiptap-button-icon-sub{width:1rem;height:1rem}.tiptap-button[data-size=large] .tiptap-button-icon-sub{width:1.125rem;height:1.125rem}.tiptap-button[data-size=small] .tiptap-button-icon-sub{width:.875rem;height:.875rem}.tiptap-button .tiptap-button-dropdown-arrows{width:.75rem;height:.75rem}.tiptap-button[data-size=large] .tiptap-button-dropdown-arrows{width:.875rem;height:.875rem}.tiptap-button[data-size=small] .tiptap-button-dropdown-arrows,.tiptap-button .tiptap-button-dropdown-small{width:.625rem;height:.625rem}.tiptap-button[data-size=large] .tiptap-button-dropdown-small{width:.75rem;height:.75rem}.tiptap-button[data-size=small] .tiptap-button-dropdown-small{width:.5rem;height:.5rem}.tiptap-button:has(>svg):not(:has(>:not(svg))){gap:.125rem}.tiptap-button:has(>svg):not(:has(>:not(svg)))[data-size=large],.tiptap-button:has(>svg):not(:has(>:not(svg)))[data-size=small]{gap:.125rem}.tiptap-button:has(>svg:nth-of-type(2)):has(>.tiptap-button-dropdown-small):not(:has(>svg:nth-of-type(3))):not(:has(>.tiptap-button-text)){gap:0;padding-right:.25rem}.tiptap-button:has(>svg:nth-of-type(2)):has(>.tiptap-button-dropdown-small):not(:has(>svg:nth-of-type(3))):not(:has(>.tiptap-button-text))[data-size=large]{padding-right:.375rem}.tiptap-button:has(>svg:nth-of-type(2)):has(>.tiptap-button-dropdown-small):not(:has(>svg:nth-of-type(3))):not(:has(>.tiptap-button-text))[data-size=small]{padding-right:.25rem}.tiptap-button .tiptap-button-emoji{width:1rem;display:flex;justify-content:center}.tiptap-button[data-size=large] .tiptap-button-emoji{width:1.125rem}.tiptap-button[data-size=small] .tiptap-button-emoji{width:.875rem}.tiptap-button{background-color:var(--tt-button-default-bg-color);color:var(--tt-button-default-text-color)}.tiptap-button .tiptap-button-icon{color:var(--tt-button-default-icon-color)}.tiptap-button .tiptap-button-icon-sub{color:var(--tt-button-default-icon-sub-color)}.tiptap-button .tiptap-button-dropdown-arrows,.tiptap-button .tiptap-button-dropdown-small{color:var(--tt-button-default-dropdown-arrows-color)}.tiptap-button:hover{background-color:var(--tt-button-hover-bg-color);color:var(--tt-button-hover-text-color)}.tiptap-button:hover .tiptap-button-icon{color:var(--tt-button-hover-icon-color)}.tiptap-button:hover .tiptap-button-icon-sub{color:var(--tt-button-hover-icon-sub-color)}.tiptap-button:hover .tiptap-button-dropdown-arrows,.tiptap-button:hover .tiptap-button-dropdown-small{color:var(--tt-button-hover-dropdown-arrows-color)}.tiptap-button[data-active-state=on]:not([disabled]),.tiptap-button[data-state=open]:not([disabled]){background-color:var(--tt-button-active-bg-color);color:var(--tt-button-active-text-color)}.tiptap-button[data-active-state=on]:not([disabled]) .tiptap-button-icon,.tiptap-button[data-state=open]:not([disabled]) .tiptap-button-icon{color:var(--tt-button-active-icon-color)}.tiptap-button[data-active-state=on]:not([disabled]) .tiptap-button-icon-sub,.tiptap-button[data-state=open]:not([disabled]) .tiptap-button-icon-sub{color:var(--tt-button-active-icon-sub-color)}.tiptap-button[data-active-state=on]:not([disabled]) .tiptap-button-dropdown-arrows,.tiptap-button[data-active-state=on]:not([disabled]) .tiptap-button-dropdown-small,.tiptap-button[data-state=open]:not([disabled]) .tiptap-button-dropdown-arrows,.tiptap-button[data-state=open]:not([disabled]) .tiptap-button-dropdown-small{color:var(--tt-button-active-dropdown-arrows-color)}.tiptap-button[data-active-state=on]:not([disabled]):hover,.tiptap-button[data-state=open]:not([disabled]):hover{background-color:var(--tt-button-active-hover-bg-color)}.tiptap-button[data-active-state=on]:not([disabled])[data-appearance=emphasized],.tiptap-button[data-state=open]:not([disabled])[data-appearance=emphasized]{background-color:var(--tt-button-active-bg-color-emphasized);color:var(--tt-button-active-text-color-emphasized)}.tiptap-button[data-active-state=on]:not([disabled])[data-appearance=emphasized] .tiptap-button-icon,.tiptap-button[data-state=open]:not([disabled])[data-appearance=emphasized] .tiptap-button-icon{color:var(--tt-button-active-icon-color-emphasized)}.tiptap-button[data-active-state=on]:not([disabled])[data-appearance=emphasized] .tiptap-button-icon-sub,.tiptap-button[data-state=open]:not([disabled])[data-appearance=emphasized] .tiptap-button-icon-sub{color:var(--tt-button-active-icon-sub-color-emphasized)}.tiptap-button[data-active-state=on]:not([disabled])[data-appearance=emphasized] .tiptap-button-dropdown-arrows,.tiptap-button[data-active-state=on]:not([disabled])[data-appearance=emphasized] .tiptap-button-dropdown-small,.tiptap-button[data-state=open]:not([disabled])[data-appearance=emphasized] .tiptap-button-dropdown-arrows,.tiptap-button[data-state=open]:not([disabled])[data-appearance=emphasized] .tiptap-button-dropdown-small{color:var(--tt-button-active-dropdown-arrows-color-emphasized)}.tiptap-button[data-active-state=on]:not([disabled])[data-appearance=emphasized]:hover,.tiptap-button[data-state=open]:not([disabled])[data-appearance=emphasized]:hover{background-color:var(--tt-button-active-hover-bg-color-emphasized)}.tiptap-button[data-active-state=on]:not([disabled])[data-appearance=subdued],.tiptap-button[data-state=open]:not([disabled])[data-appearance=subdued]{background-color:var(--tt-button-active-bg-color-subdued);color:var(--tt-button-active-text-color-subdued)}.tiptap-button[data-active-state=on]:not([disabled])[data-appearance=subdued] .tiptap-button-icon,.tiptap-button[data-state=open]:not([disabled])[data-appearance=subdued] .tiptap-button-icon{color:var(--tt-button-active-icon-color-subdued)}.tiptap-button[data-active-state=on]:not([disabled])[data-appearance=subdued] .tiptap-button-icon-sub,.tiptap-button[data-state=open]:not([disabled])[data-appearance=subdued] .tiptap-button-icon-sub{color:var(--tt-button-active-icon-sub-color-subdued)}.tiptap-button[data-active-state=on]:not([disabled])[data-appearance=subdued] .tiptap-button-dropdown-arrows,.tiptap-button[data-active-state=on]:not([disabled])[data-appearance=subdued] .tiptap-button-dropdown-small,.tiptap-button[data-state=open]:not([disabled])[data-appearance=subdued] .tiptap-button-dropdown-arrows,.tiptap-button[data-state=open]:not([disabled])[data-appearance=subdued] .tiptap-button-dropdown-small{color:var(--tt-button-active-dropdown-arrows-color-subdued)}.tiptap-button[data-active-state=on]:not([disabled])[data-appearance=subdued]:hover,.tiptap-button[data-state=open]:not([disabled])[data-appearance=subdued]:hover{background-color:var(--tt-button-active-hover-bg-color-subdued)}.tiptap-button[data-active-state=on]:not([disabled])[data-appearance=subdued]:hover .tiptap-button-icon,.tiptap-button[data-state=open]:not([disabled])[data-appearance=subdued]:hover .tiptap-button-icon{color:var(--tt-button-active-icon-color-subdued)}.tiptap-button:disabled{background-color:var(--tt-button-disabled-bg-color);color:var(--tt-button-disabled-text-color)}.tiptap-button:disabled .tiptap-button-icon{color:var(--tt-button-disabled-icon-color)}:root{--tt-button-default-icon-color: var(--tt-gray-light-a-600);--tiptap-image-upload-active: var(--tt-brand-color-500);--tiptap-image-upload-progress-bg: var(--tt-brand-color-50);--tiptap-image-upload-icon-bg: var(--tt-brand-color-500);--tiptap-image-upload-text-color: var(--tt-gray-light-a-700);--tiptap-image-upload-subtext-color: var(--tt-gray-light-a-400);--tiptap-image-upload-border: var(--tt-gray-light-a-300);--tiptap-image-upload-border-hover: var(--tt-gray-light-a-400);--tiptap-image-upload-border-active: var(--tt-brand-color-500);--tiptap-image-upload-icon-doc-bg: var(--tt-gray-light-a-200);--tiptap-image-upload-icon-doc-border: var(--tt-gray-light-300);--tiptap-image-upload-icon-color: var(--white)}.dark{--tt-button-default-icon-color: var(--tt-gray-dark-a-600);--tiptap-image-upload-active: var(--tt-brand-color-400);--tiptap-image-upload-progress-bg: var(--tt-brand-color-900);--tiptap-image-upload-icon-bg: var(--tt-brand-color-400);--tiptap-image-upload-text-color: var(--tt-gray-dark-a-700);--tiptap-image-upload-subtext-color: var(--tt-gray-dark-a-400);--tiptap-image-upload-border: var(--tt-gray-dark-a-300);--tiptap-image-upload-border-hover: var(--tt-gray-dark-a-400);--tiptap-image-upload-border-active: var(--tt-brand-color-400);--tiptap-image-upload-icon-doc-bg: var(--tt-gray-dark-a-200);--tiptap-image-upload-icon-doc-border: var(--tt-gray-dark-300);--tiptap-image-upload-icon-color: var(--black)}.tiptap-image-upload{margin:2rem 0}.tiptap-image-upload input[type=file]{display:none}.tiptap-image-upload .tiptap-image-upload-dropzone{position:relative;width:3.125rem;height:3.75rem;display:inline-flex;align-items:flex-start;justify-content:center;-webkit-user-select:none;-ms-user-select:none;user-select:none}.tiptap-image-upload .tiptap-image-upload-icon-container{position:absolute;width:1.75rem;height:1.75rem;bottom:0;right:0;background-color:var(--tiptap-image-upload-icon-bg);border-radius:var(--tt-radius-lg, .75rem);display:flex;align-items:center;justify-content:center}.tiptap-image-upload .tiptap-image-upload-icon{width:.875rem;height:.875rem;color:var(--tiptap-image-upload-icon-color)}.tiptap-image-upload .tiptap-image-upload-dropzone-rect-primary{color:var(--tiptap-image-upload-icon-doc-bg);position:absolute}.tiptap-image-upload .tiptap-image-upload-dropzone-rect-secondary{position:absolute;top:0;right:.25rem;bottom:0;color:var(--tiptap-image-upload-icon-doc-border)}.tiptap-image-upload .tiptap-image-upload-text{color:var(--tiptap-image-upload-text-color);font-weight:500;font-size:.875rem;line-height:normal}.tiptap-image-upload .tiptap-image-upload-text em{font-style:normal;text-decoration:underline}.tiptap-image-upload .tiptap-image-upload-subtext{color:var(--tiptap-image-upload-subtext-color);font-weight:600;line-height:normal;font-size:.75rem}.tiptap-image-upload .tiptap-image-upload-preview{position:relative;border-radius:var(--tt-radius-md, .5rem);overflow:hidden}.tiptap-image-upload .tiptap-image-upload-preview .tiptap-image-upload-progress{position:absolute;top:0;right:0;bottom:0;left:0;background-color:var(--tiptap-image-upload-progress-bg);transition:all .3s ease-out}.tiptap-image-upload .tiptap-image-upload-preview .tiptap-image-upload-preview-content{position:relative;border:1px solid var(--tiptap-image-upload-border);border-radius:var(--tt-radius-md, .5rem);padding:1rem;display:flex;align-items:center;justify-content:space-between}.tiptap-image-upload .tiptap-image-upload-preview .tiptap-image-upload-file-info{display:flex;align-items:center;gap:.75rem;height:2rem}.tiptap-image-upload .tiptap-image-upload-preview .tiptap-image-upload-file-info .tiptap-image-upload-file-icon{padding:.5rem;background-color:var(--tiptap-image-upload-icon-bg);border-radius:var(--tt-radius-lg, .75rem)}.tiptap-image-upload .tiptap-image-upload-preview .tiptap-image-upload-file-info .tiptap-image-upload-file-icon svg{width:.875rem;height:.875rem;color:var(--tiptap-image-upload-icon-color)}.tiptap-image-upload .tiptap-image-upload-preview .tiptap-image-upload-details{display:flex;flex-direction:column}.tiptap-image-upload .tiptap-image-upload-preview .tiptap-image-upload-actions{display:flex;align-items:center}.tiptap-image-upload .tiptap-image-upload-preview .tiptap-image-upload-actions .tiptap-image-upload-progress-text{font-size:.75rem;color:var(--tiptap-image-upload-border-active)}.tiptap-image-upload .tiptap-image-upload-preview .tiptap-image-upload-actions .tiptap-image-upload-close-btn{display:flex;align-items:center;justify-content:center;width:2rem;height:2rem;color:var(--tt-button-default-icon-color);transition:color .2s ease}.tiptap-image-upload .tiptap-image-upload-preview .tiptap-image-upload-actions .tiptap-image-upload-close-btn svg{width:1rem;height:1rem}.tiptap-image-upload .tiptap-image-upload-dragger{padding:2rem 1.5rem;border:1.5px dashed var(--tiptap-image-upload-border);border-radius:var(--tt-radius-md, .5rem);text-align:center;cursor:pointer;position:relative;overflow:hidden}.tiptap-image-upload .tiptap-image-upload-dragger-active{border-color:var(--tiptap-image-upload-border-active);background-color:rgba(var(--tiptap-image-upload-active-rgb, 0, 0, 255),.05)}.tiptap-image-upload .tiptap-image-upload-content{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:.25rem;-webkit-user-select:none;-ms-user-select:none;user-select:none}.tiptap.ProseMirror.ProseMirror-focused .ProseMirror-selectednode .tiptap-image-upload-dragger{border-color:var(--tiptap-image-upload-active)}.tiptap.ProseMirror{--tt-inline-code-bg-color: var(--tt-gray-light-a-100);--tt-inline-code-text-color: var(--tt-gray-light-a-700);--tt-inline-code-border-color: var(--tt-gray-light-a-200);--tt-codeblock-bg: var(--tt-gray-light-a-50);--tt-codeblock-text: var(--tt-gray-light-a-800);--tt-codeblock-border: var(--tt-gray-light-a-200)}.dark .tiptap.ProseMirror{--tt-inline-code-bg-color: var(--tt-gray-dark-a-100);--tt-inline-code-text-color: var(--tt-gray-dark-a-700);--tt-inline-code-border-color: var(--tt-gray-dark-a-200);--tt-codeblock-bg: var(--tt-gray-dark-a-50);--tt-codeblock-text: var(--tt-gray-dark-a-800);--tt-codeblock-border: var(--tt-gray-dark-a-200)}.tiptap.ProseMirror code{background-color:var(--tt-inline-code-bg-color);color:var(--tt-inline-code-text-color);border:1px solid var(--tt-inline-code-border-color);font-family:JetBrains Mono NL,monospace;font-size:.875em;line-height:1.4;border-radius:6px/.375rem;padding:.1em .2em}.tiptap.ProseMirror pre{background-color:var(--tt-codeblock-bg);color:var(--tt-codeblock-text);border:1px solid var(--tt-codeblock-border);margin-top:1.5em;margin-bottom:1.5em;padding:1em;font-size:1rem;border-radius:6px/.375rem}.tiptap.ProseMirror pre code{background-color:transparent;border:none;border-radius:0;-webkit-text-fill-color:inherit;color:inherit}.tiptap.ProseMirror{--tt-checklist-bg-color: var(--tt-gray-light-a-100);--tt-checklist-bg-active-color: var(--tt-gray-light-a-900);--tt-checklist-border-color: var(--tt-gray-light-a-200);--tt-checklist-border-active-color: var(--tt-gray-light-a-900);--tt-checklist-check-icon-color: var(--white);--tt-checklist-text-active: var(--tt-gray-light-a-500)}.dark .tiptap.ProseMirror{--tt-checklist-bg-color: var(--tt-gray-dark-a-100);--tt-checklist-bg-active-color: var(--tt-gray-dark-a-900);--tt-checklist-border-color: var(--tt-gray-dark-a-200);--tt-checklist-border-active-color: var(--tt-gray-dark-a-900);--tt-checklist-check-icon-color: var(--black);--tt-checklist-text-active: var(--tt-gray-dark-a-500)}.tiptap.ProseMirror ol,.tiptap.ProseMirror ul{margin-top:1.5em;margin-bottom:1.5em;padding-left:1.5em}.tiptap.ProseMirror ol:first-child,.tiptap.ProseMirror ul:first-child{margin-top:0}.tiptap.ProseMirror ol:last-child,.tiptap.ProseMirror ul:last-child{margin-bottom:0}.tiptap.ProseMirror ol ol,.tiptap.ProseMirror ol ul,.tiptap.ProseMirror ul ol,.tiptap.ProseMirror ul ul{margin-top:0;margin-bottom:0}.tiptap.ProseMirror li p{margin-top:0}.tiptap.ProseMirror ol{list-style:decimal}.tiptap.ProseMirror ol ol{list-style:lower-alpha}.tiptap.ProseMirror ol ol ol{list-style:lower-roman}.tiptap.ProseMirror ul:not([data-type=taskList]){list-style:disc}.tiptap.ProseMirror ul:not([data-type=taskList]) ul{list-style:circle}.tiptap.ProseMirror ul:not([data-type=taskList]) ul ul{list-style:disc}.tiptap.ProseMirror ul[data-type=taskList]{padding-left:.25em}.tiptap.ProseMirror ul[data-type=taskList] li{display:flex;flex-direction:row;align-items:flex-start}.tiptap.ProseMirror ul[data-type=taskList] li:not(:has(>p:first-child)){list-style-type:none}.tiptap.ProseMirror ul[data-type=taskList] li[data-checked=true]>div>p{opacity:.5;text-decoration:line-through}.tiptap.ProseMirror ul[data-type=taskList] li[data-checked=true]>div>p span{text-decoration:line-through}.tiptap.ProseMirror ul[data-type=taskList] li label{position:relative;padding-top:4px;padding-right:8px}.tiptap.ProseMirror ul[data-type=taskList] li label input[type=checkbox]{position:absolute;opacity:0;width:0;height:0}.tiptap.ProseMirror ul[data-type=taskList] li label span{display:block;width:1em;height:1em;border:1px solid var(--tt-checklist-border-color);border-radius:var(--tt-radius-xs, .25rem);position:relative;cursor:pointer;background-color:var(--tt-checklist-bg-color);transition:background-color 80ms ease-out,border-color 80ms ease-out}.tiptap.ProseMirror ul[data-type=taskList] li label span:before{content:"";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:.75em;height:.75em;background-color:var(--tt-checklist-check-icon-color);opacity:0;-webkit-mask:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M21.4142%204.58579C22.1953%205.36683%2022.1953%206.63317%2021.4142%207.41421L10.4142%2018.4142C9.63317%2019.1953%208.36684%2019.1953%207.58579%2018.4142L2.58579%2013.4142C1.80474%2012.6332%201.80474%2011.3668%202.58579%2010.5858C3.36683%209.80474%204.63317%209.80474%205.41421%2010.5858L9%2014.1716L18.5858%204.58579C19.3668%203.80474%2020.6332%203.80474%2021.4142%204.58579Z%22%20fill%3D%22currentColor%22%2F%3E%3C%2Fsvg%3E) center/contain no-repeat;mask:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M21.4142%204.58579C22.1953%205.36683%2022.1953%206.63317%2021.4142%207.41421L10.4142%2018.4142C9.63317%2019.1953%208.36684%2019.1953%207.58579%2018.4142L2.58579%2013.4142C1.80474%2012.6332%201.80474%2011.3668%202.58579%2010.5858C3.36683%209.80474%204.63317%209.80474%205.41421%2010.5858L9%2014.1716L18.5858%204.58579C19.3668%203.80474%2020.6332%203.80474%2021.4142%204.58579Z%22%20fill%3D%22currentColor%22%2F%3E%3C%2Fsvg%3E) center/contain no-repeat}.tiptap.ProseMirror ul[data-type=taskList] li label input[type=checkbox]:checked+span{background:var(--tt-checklist-bg-active-color);border-color:var(--tt-checklist-border-active-color)}.tiptap.ProseMirror ul[data-type=taskList] li label input[type=checkbox]:checked+span:before{opacity:1}.tiptap.ProseMirror ul[data-type=taskList] li div{flex:1 1 0%;min-width:0}.tiptap.ProseMirror img{max-width:100%;height:auto;display:block}.tiptap.ProseMirror>img:not([data-type=emoji] img){margin:2rem 0;outline:.125rem solid transparent;border-radius:var(--tt-radius-xs, .25rem)}.tiptap.ProseMirror.ProseMirror-focused img:not([data-type=emoji] img).ProseMirror-selectednode{outline-color:var(--tt-brand-color-500)}.tiptap.ProseMirror .tiptap-thread:has(>img){margin:2rem 0}.tiptap.ProseMirror .tiptap-thread:has(>img) img{outline:.125rem solid transparent;border-radius:var(--tt-radius-xs, .25rem)}.tiptap.ProseMirror .tiptap-thread img{margin:0}.tiptap.ProseMirror{--blockquote-bg-color: var(--tt-gray-light-900);--link-text-color: var(--tt-brand-color-500);--separator-color: var(--tt-gray-light-a-200);--thread-text: var(--tt-gray-light-900);--placeholder-color: var(--tt-gray-light-a-400);--tt-highlight-green: #dcfce7;--tt-highlight-green-contrast: #c7fad8;--tt-highlight-blue: #e0f2fe;--tt-highlight-blue-contrast: #ceeafd;--tt-highlight-red: #ffe4e6;--tt-highlight-red-contrast: #ffccd0;--tt-highlight-purple: #f3e8ff;--tt-highlight-purple-contrast: #e4ccff;--tt-highlight-yellow: #fef9c3;--tt-highlight-yellow-contrast: #fbe604;--tiptap-mathematics-bg-color: var(--tt-gray-light-a-200);--tiptap-mathematics-border-color: var(--tt-brand-color-500)}.dark .tiptap.ProseMirror{--blockquote-bg-color: var(--tt-gray-dark-900);--link-text-color: var(--tt-brand-color-400);--separator-color: var(--tt-gray-dark-a-200);--thread-text: var(--tt-gray-dark-900);--placeholder-color: var(--tt-gray-dark-a-400);--tt-highlight-green: #509568;--tt-highlight-green-contrast: #47855d;--tt-highlight-blue: #6e92aa;--tt-highlight-blue-contrast: #5e86a1;--tt-highlight-red: #743e42;--tt-highlight-red-contrast: #643539;--tt-highlight-purple: #583e74;--tt-highlight-purple-contrast: #4c3564;--tt-highlight-yellow: #6b6524;--tt-highlight-yellow-contrast: #58531e;--tiptap-mathematics-bg-color: var(--tt-gray-dark-a-200);--tiptap-mathematics-border-color: var(--tt-brand-color-400)}.tiptap.ProseMirror{white-space:pre-wrap;outline:none;caret-color:var(--tt-cursor-color)}.tiptap.ProseMirror:not(.readonly):not(.ProseMirror-hideselection) ::selection{background-color:var(--tt-selection-color)}.tiptap.ProseMirror:not(.readonly):not(.ProseMirror-hideselection) .selection::selection{background:transparent}.tiptap.ProseMirror .selection{display:inline;background-color:var(--tt-selection-color)}.tiptap.ProseMirror .ProseMirror-hideselection{caret-color:transparent}.tiptap.ProseMirror>p.is-editor-empty:before{content:attr(data-placeholder);pointer-events:none;color:var(--placeholder-color);float:left;height:0}.tiptap.ProseMirror.resize-cursor{cursor:ew-resize;cursor:col-resize}.tiptap.ProseMirror .ProseMirror-gapcursor{display:none;pointer-events:none;position:absolute}.tiptap.ProseMirror .ProseMirror-gapcursor:after{content:"";display:block;position:absolute;top:1em;width:1.25em;border-top:1px solid black;animation:ProseMirror-cursor-blink 1.1s steps(2,start) infinite}.tiptap.ProseMirror.ProseMirror-focused .ProseMirror-gapcursor,.tiptap.ProseMirror.ProseMirror.ProseMirror-focused .ProseMirror-gapcursor{display:block}@keyframes ProseMirror-cursor-blink{to{visibility:hidden}}.tiptap.ProseMirror a span{text-decoration:underline}.tiptap.ProseMirror s span{text-decoration:line-through}.tiptap.ProseMirror u span{text-decoration:underline}.tiptap.ProseMirror blockquote{position:relative;padding-left:1em;padding-top:.375em;padding-bottom:.375em;margin:1.5rem 0}.tiptap.ProseMirror blockquote p{margin-top:0}.tiptap.ProseMirror blockquote:before,.tiptap.ProseMirror blockquote.is-empty:before{position:absolute;bottom:0;left:0;top:0;height:100%;width:.25em;background-color:var(--blockquote-bg-color);content:"";border-radius:0}.tiptap.ProseMirror .collaboration-cursor__caret{border-right:1px solid transparent;border-left:1px solid transparent;pointer-events:none;margin-left:-1px;margin-right:-1px;position:relative;word-break:normal}.tiptap.ProseMirror .collaboration-cursor__label{border-radius:.25rem;border-bottom-left-radius:0;font-size:.75rem;font-weight:600;left:-1px;line-height:1;padding:.125rem .375rem;position:absolute;top:-1.3em;-webkit-user-select:none;user-select:none;white-space:nowrap}.tiptap.ProseMirror [data-type=emoji] img{display:inline-block;width:1.25em;height:1.25em;cursor:text}.tiptap.ProseMirror hr{margin-top:3em;margin-bottom:3em;border:none;height:1px;background-color:var(--separator-color)}.tiptap.ProseMirror.ProseMirror-focused hr.ProseMirror-selectednode{border-radius:9999px;outline:3px solid var(--tt-brand-color-500);outline-offset:2px}.tiptap.ProseMirror a{color:var(--link-text-color);text-decoration:underline}.tiptap.ProseMirror [data-type=mention]{display:inline-block;color:var(--tt-brand-color-500)}.tiptap.ProseMirror .tiptap-thread.tiptap-thread--unresolved.tiptap-thread--inline{transition:color .2s ease-in-out,background-color .2s ease-in-out;color:var(--thread-text);border-bottom:2px dashed var(--tt-color-yellow-base);font-weight:600}.tiptap.ProseMirror .tiptap-thread.tiptap-thread--unresolved.tiptap-thread--inline.tiptap-thread--selected,.tiptap.ProseMirror .tiptap-thread.tiptap-thread--unresolved.tiptap-thread--inline.tiptap-thread--hovered{background-color:var(--tt-color-yellow-inc-2);border-bottom-color:transparent}.tiptap.ProseMirror .tiptap-thread.tiptap-thread--unresolved.tiptap-thread--block:has(img){outline:.125rem solid var(--tt-color-yellow-base);border-radius:var(--tt-radius-xs, .25rem);overflow:hidden;width:fit-content}.tiptap.ProseMirror .tiptap-thread.tiptap-thread--unresolved.tiptap-thread--block:has(img).tiptap-thread--selected{outline-width:.25rem;outline-color:var(--tt-color-yellow-base)}.tiptap.ProseMirror .tiptap-thread.tiptap-thread--unresolved.tiptap-thread--block:has(img).tiptap-thread--hovered{outline-width:.25rem}.tiptap.ProseMirror .tiptap-thread.tiptap-thread--unresolved.tiptap-thread--block:not(:has(img)){border-radius:.25rem;border-bottom:.125rem dashed var(--tt-color-yellow-base);padding-bottom:.5rem;outline:.25rem solid transparent}.tiptap.ProseMirror .tiptap-thread.tiptap-thread--unresolved.tiptap-thread--block:not(:has(img)).tiptap-thread--hovered,.tiptap.ProseMirror .tiptap-thread.tiptap-thread--unresolved.tiptap-thread--block:not(:has(img)).tiptap-thread--selected{background-color:var(--tt-color-yellow-base);outline-color:var(--tt-color-yellow-base)}.tiptap.ProseMirror .tiptap-thread.tiptap-thread--resolved.tiptap-thread--inline.tiptap-thread--selected{background-color:var(--tt-color-yellow-base);border-color:transparent;opacity:.5}.tiptap.ProseMirror .tiptap-thread.tiptap-thread--block:has(.react-renderer){margin-top:3rem;margin-bottom:3rem}.tiptap.ProseMirror .Tiptap-mathematics-editor{padding:0 .25rem;margin:0 .25rem;border:1px solid var(--tiptap-mathematics-border-color);font-family:monospace;font-size:.875rem}.tiptap.ProseMirror .Tiptap-mathematics-render{padding:0 .25rem}.tiptap.ProseMirror .Tiptap-mathematics-render--editable{cursor:pointer;transition:background .2s}.tiptap.ProseMirror .Tiptap-mathematics-render--editable:hover{background:var(--tiptap-mathematics-bg-color)}.tiptap.ProseMirror .Tiptap-mathematics-editor,.tiptap.ProseMirror .Tiptap-mathematics-render{border-radius:var(--tt-radius-xs);display:inline-block}.sheets-controls .alignment-controls .align-btn{width:28px;height:28px;font-size:12px;background:#fffffff2;border:1px solid rgba(0,0,0,.1);border-radius:4px;color:#374151;font-weight:500;transition:all .2s ease;display:flex;align-items:center;justify-content:center;cursor:pointer}.sheets-controls .alignment-controls .align-btn svg{width:14px!important;height:14px!important;min-width:14px;min-height:14px}.sheets-controls .delete-btn{background:#fffffff2;border:1px solid rgba(0,0,0,.1);border-radius:4px;color:#374151;font-size:20px;width:32px;height:28px;line-height:1;transition:all .2s ease;display:flex;align-items:center;justify-content:center;cursor:pointer}.sheets-controls .caption-btn{background:#fffffff2;border:1px solid rgba(0,0,0,.1);border-radius:4px;color:#374151;font-weight:600;font-size:10px;padding:0 6px;height:28px;min-width:32px;transition:all .2s ease;display:flex;align-items:center;justify-content:center;cursor:pointer}.sheets-controls .edit-btn{background:#fffffff2;border:1px solid rgba(0,0,0,.1);border-radius:4px;color:#374151;font-size:14px;width:32px;height:28px;transition:all .2s ease;display:flex;align-items:center;justify-content:center;cursor:pointer}.sheets-controls .figure-btn,.sheets-controls .table-btn{background:#fffffff2;border:1px solid rgba(0,0,0,.1);border-radius:4px;color:#374151;font-size:10px;font-weight:600;width:32px;height:28px;transition:all .2s ease;display:flex;align-items:center;justify-content:center;cursor:pointer}.static-sheet-container{padding:0;background:#fff;border:1px solid #e2e8f0;border-radius:4px;overflow:hidden;display:inline-flex;flex-direction:column;box-sizing:border-box;resize:none;width:auto}.static-sheet-container .static-sheet-wrapper{overflow:visible;width:max-content}.static-sheet-container .static-sheet-table td{border:1px solid #e8eaed;padding:2px 4px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;background:#fff;width:auto;font-size:10px;line-height:1.2;vertical-align:middle;height:18px;box-sizing:border-box;position:relative}.sheets-modal-content .sheets-modal-header label select.range-input{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='%239ca3af' d='M5 7L1 3h8z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 8px center;padding-right:28px}:root{--tt-toolbar-height: 100px;--tt-menu-bar-height: 70px;--tt-tool-row-height: 35px;--tt-label-row-height: 18px}.custom-toolbar{display:flex;flex-direction:column;background-color:#fff;padding:1px 15px;border:1px solid #e0e0e0;box-shadow:0 2px 6px #00000014;position:fixed;top:calc(var(--tt-menu-bar-height) + 2px);left:10px;right:10px;z-index:2000;height:var(--tt-toolbar-height);max-height:var(--tt-toolbar-height);border-radius:8px;overflow:hidden;margin:0 auto;max-width:calc(100% - 20px);box-sizing:border-box}.custom-toolbar *{scrollbar-width:thin!important}.custom-toolbar .toolbar-content{display:flex;flex:1;overflow-x:auto;overflow-y:hidden;flex-wrap:nowrap;align-items:flex-start;margin:0;padding:0;scrollbar-width:thin!important;scrollbar-color:rgba(156,163,175,.6) transparent!important}.custom-toolbar .toolbar-content::-webkit-scrollbar{display:block!important;height:1px!important;width:1px!important;background:transparent!important;-webkit-appearance:none!important}.custom-toolbar .toolbar-content::-webkit-scrollbar-track{display:block!important;background:transparent!important;border:none!important;border-radius:0!important;-webkit-appearance:none!important;height:1px!important}.custom-toolbar .toolbar-content::-webkit-scrollbar-thumb{display:block!important;background:#9ca3af99!important;border:none!important;border-radius:0!important;min-height:1px!important;height:1px!important;-webkit-appearance:none!important}.custom-toolbar .toolbar-content::-webkit-scrollbar-thumb:hover{background:#9ca3afe6!important}.custom-toolbar .toolbar-content::-webkit-scrollbar-thumb:active{background:#9ca3af!important}.custom-toolbar .toolbar-content::-webkit-scrollbar-corner{background:transparent!important;display:none!important}.custom-toolbar .toolbar-content.custom-horizontal-scroll::-webkit-scrollbar{display:block!important;height:1px!important;background:transparent!important}.custom-toolbar .toolbar-content.custom-horizontal-scroll::-webkit-scrollbar-track{display:block!important;background:transparent!important;height:1px!important}.custom-toolbar .toolbar-content.custom-horizontal-scroll::-webkit-scrollbar-thumb{display:block!important;background:#9ca3afb3!important;height:1px!important;border-radius:0!important}.custom-toolbar .toolbar-content.custom-horizontal-scroll::-webkit-scrollbar-thumb:hover{background:#9ca3af!important}.custom-toolbar .tool-column{display:flex;flex-direction:column;position:relative;padding:0 6px;min-width:80px;flex-shrink:0;height:100%;justify-content:space-between;overflow:visible}.custom-toolbar .tool-column .tool-rows-container{display:flex;flex-direction:column;flex:1;justify-content:space-evenly;min-height:70px}.custom-toolbar .tool-column .tool-row-1,.custom-toolbar .tool-column .tool-row-2{height:var(--tt-tool-row-height);display:flex;align-items:center;justify-content:center;flex-shrink:0}.custom-toolbar .tool-column .column-label{height:var(--tt-label-row-height);display:flex;align-items:center;justify-content:center;text-align:center;width:100%;font-size:9px;color:#666;line-height:1;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex-shrink:0}.custom-toolbar .tool-column:not(:last-child):after{content:"";position:absolute;right:0;top:0;height:calc(100% - 5px);width:1px;background-color:#f0f0f0}.custom-toolbar .toolbar-labels{display:none;height:0;background-color:#fff;border-top:none;font-size:9px;font-weight:500;color:#666;align-items:center}.custom-toolbar .tool-group{display:inline-flex;align-items:center;gap:4px;border:1px solid #f0f0f0;border-radius:3px;padding:1px 3px;background-color:#fafafa;margin-right:1px;transform:scale(.95);flex-shrink:0;max-width:100%;overflow:hidden}.custom-toolbar .tool-group button{padding:2px 4px!important;height:24px!important;min-width:24px!important;max-width:120px!important;flex-shrink:0;white-space:nowrap}.custom-toolbar .tool-group button svg{width:16px!important;height:16px!important;flex-shrink:0}.custom-toolbar .toolbar-separator{width:1px;height:24px;background-color:#e0e0e0;margin:0 4px}.multi-row-toolbar{display:flex!important;flex-wrap:wrap!important;align-items:flex-start!important;padding:4px 0;min-height:var(--tt-toolbar-height)}.multi-row-toolbar>div:nth-of-type(8){width:100%!important;height:2px;margin:2px 0}.tiptap-toolbar-wrapper{position:relative;top:0;left:0;z-index:10;width:100%;background-color:#ececec;height:var(--tt-toolbar-height);max-height:var(--tt-toolbar-height);padding:0;border:none;flex-shrink:0;overflow:hidden;box-sizing:border-box}.mobile-toolbar{display:flex;align-items:center;background-color:#f7f7f7;padding:8px;border-bottom:1px solid #e0e0e0}.mobile-toolbar button[data-style=ghost]{background:transparent;border:none;padding:4px 8px;display:flex;align-items:center;justify-content:center;gap:4px}.mobile-toolbar button[data-style=ghost] .tiptap-button-icon{width:18px;height:18px}.tiptap-dropdown-menu{--tt-popover-bg-color: var(--white);--tt-popover-border-color: var(--tt-gray-light-a-100);--tt-popover-text-color: var(--tt-gray-light-a-600)}.dark .tiptap-dropdown-menu{--tt-popover-border-color: var(--tt-gray-dark-a-50);--tt-popover-bg-color: var(--tt-gray-dark-50);--tt-popover-text-color: var(--tt-gray-dark-a-600)}.tiptap-dropdown-menu{--padding: .25rem;--border-width: 1px;z-index:2010;border-radius:calc(var(--padding) + var(--tt-radius-lg) + var(--border-width));border:var(--border-width) solid var(--tt-popover-border-color);background-color:var(--tt-popover-bg-color);padding:var(--padding);color:var(--tt-popover-text-color);box-shadow:var(--tt-shadow-elevated-md);outline:none;overflow:hidden;gap:.25rem}.tiptap-dropdown-menu button{width:100%}.tiptap-dropdown-menu .tiptap-dropdown-menu-separator{margin:.25rem 0}.tiptap-dropdown-menu[data-state=open]{animation:fadeIn .15s cubic-bezier(.16,1,.3,1),zoomIn .15s cubic-bezier(.16,1,.3,1)}.tiptap-dropdown-menu[data-state=closed]{animation:fadeOut .15s cubic-bezier(.16,1,.3,1),zoomOut .15s cubic-bezier(.16,1,.3,1)}.tiptap-dropdown-menu[data-side=top],.tiptap-dropdown-menu[data-side=top-start],.tiptap-dropdown-menu[data-side=top-end]{animation:slideFromBottom .15s cubic-bezier(.16,1,.3,1)}.tiptap-dropdown-menu[data-side=right],.tiptap-dropdown-menu[data-side=right-start],.tiptap-dropdown-menu[data-side=right-end]{animation:slideFromLeft .15s cubic-bezier(.16,1,.3,1)}.tiptap-dropdown-menu[data-side=bottom],.tiptap-dropdown-menu[data-side=bottom-start],.tiptap-dropdown-menu[data-side=bottom-end]{animation:slideFromTop .15s cubic-bezier(.16,1,.3,1)}.tiptap-dropdown-menu[data-side=left],.tiptap-dropdown-menu[data-side=left-start],.tiptap-dropdown-menu[data-side=left-end]{animation:slideFromRight .15s cubic-bezier(.16,1,.3,1)}.tiptap-separator{--tt-link-border-color: var(--tt-gray-light-a-200)}.dark .tiptap-separator{--tt-link-border-color: var(--tt-gray-dark-a-200)}.tiptap-separator{flex-shrink:0;background-color:var(--tt-link-border-color)}.tiptap-separator[data-orientation=horizontal]{height:1px;width:100%}.tiptap-separator[data-orientation=vertical]{height:1.5rem;width:1px}.tiptap-popover{--tt-popover-bg-color: var(--white);--tt-popover-border-color: var(--tt-gray-light-a-100);--tt-popover-text-color: var(--tt-gray-light-a-600)}.dark .tiptap-popover{--tt-popover-border-color: var(--tt-gray-dark-a-50);--tt-popover-bg-color: var(--tt-gray-dark-50);--tt-popover-text-color: var(--tt-gray-dark-a-600)}.tiptap-popover{--padding: .25rem;--border-width: 1px;z-index:50;border-radius:calc(var(--padding) + var(--tt-radius-lg) + var(--border-width));border:var(--border-width) solid var(--tt-popover-border-color);background-color:var(--tt-popover-bg-color);padding:var(--padding);color:var(--tt-popover-text-color);box-shadow:var(--tt-shadow-elevated-md);outline:none;overflow:hidden;display:flex;align-items:center;gap:.25rem}.tiptap-popover button{width:100%}.tiptap-popover[data-orientation=horizontal]{--padding: .125rem}.tiptap-popover[data-state=open]{animation:fadeIn .15s cubic-bezier(.16,1,.3,1),zoomIn .15s cubic-bezier(.16,1,.3,1)}.tiptap-popover[data-state=closed]{animation:fadeOut .15s cubic-bezier(.16,1,.3,1),zoomOut .15s cubic-bezier(.16,1,.3,1)}.tiptap-popover[data-side=top],.tiptap-popover[data-side=top-start],.tiptap-popover[data-side=top-end]{animation:slideFromBottom .15s cubic-bezier(.16,1,.3,1)}.tiptap-popover[data-side=right],.tiptap-popover[data-side=right-start],.tiptap-popover[data-side=right-end]{animation:slideFromLeft .15s cubic-bezier(.16,1,.3,1)}.tiptap-popover[data-side=bottom],.tiptap-popover[data-side=bottom-start],.tiptap-popover[data-side=bottom-end]{animation:slideFromTop .15s cubic-bezier(.16,1,.3,1)}.tiptap-popover[data-side=left],.tiptap-popover[data-side=left-start],.tiptap-popover[data-side=left-end]{animation:slideFromRight .15s cubic-bezier(.16,1,.3,1)}:root{--tt-highlight-green: #dcfce7;--tt-highlight-blue: #e0f2fe;--tt-highlight-red: #ffe4e6;--tt-highlight-purple: #f3e8ff;--tt-highlight-yellow: #fef9c3}.dark{--tt-highlight-green: #509568;--tt-highlight-blue: #6e92aa;--tt-highlight-red: #743e42;--tt-highlight-purple: #583e74;--tt-highlight-yellow: #6b6524}.tiptap-highlight-content{display:flex;align-items:center;gap:.25rem;outline:none}.tiptap-button-highlight{position:relative;width:1.25rem;height:1.25rem;margin:0 -.175rem;border-radius:100%;background-color:var(--highlight-color);transition:transform .2s ease}.tiptap-button-highlight:after{content:"";position:absolute;width:100%;height:100%;left:0;top:0;border-radius:inherit;box-sizing:border-box;border:1px solid var(--highlight-color);filter:brightness(95%);mix-blend-mode:multiply}.dark .tiptap-button-highlight:after{filter:brightness(140%);mix-blend-mode:lighten}.tiptap-button[data-active-state=on] .tiptap-button-highlight:after{filter:brightness(80%)}.dark .tiptap-button[data-active-state=on] .tiptap-button-highlight:after{filter:brightness(180%)}.tiptap-input{display:block;width:100%;height:2rem;font-size:1rem;line-height:1.5rem;padding:.375rem .75rem;border-radius:.375rem;background:none}.tiptap-input:focus{outline:none}.tiptap-input-clamp{min-width:12rem;padding-right:0;text-overflow:ellipsis;white-space:nowrap}.tiptap-input-clamp:focus{text-overflow:clip;overflow:visible}.flowsheets-modal-content{padding:0;height:85vh}.flowsheets-modal-content .flowsheets-content{display:flex;flex:1;overflow:hidden}.flowsheets-modal-header .base-modal__header{padding:16px 24px;background:#fff;border-bottom:1px solid #e5e7eb}.flowsheets-modal-header .flowsheets-modal-header-content{display:flex;align-items:center;justify-content:space-between;width:100%;gap:16px}.flowsheets-modal-header .flowsheets-header-left{display:flex;align-items:center;gap:12px;min-width:0;flex:1}.flowsheets-modal-header .flowsheets-logo{height:100%;width:auto;display:block;flex-shrink:0;max-height:55px}.flowsheets-modal-header .flowsheets-title-section{min-width:0;flex:1}.flowsheets-modal-header .flowsheets-title{margin:0;font-size:1.25rem;font-weight:600;color:#111827;line-height:1.3}.flowsheets-modal-header .flowsheets-subtitle{margin:2px 0 0;font-size:.875rem;color:#6b7280;font-weight:400}.flowsheets-modal-header .flowsheets-header-right{display:flex;align-items:center;flex-shrink:0}.flowsheets-modal-header .flowsheets-count{font-size:.875rem;color:#6b7280;font-weight:500}.workbooks-list-full{flex:1;display:flex;flex-direction:column;background:#fafafa}.workbooks-list-full .list-header{padding:20px 24px;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;align-items:center;background:#fff;margin-bottom:1rem;padding-bottom:.5rem;border-bottom:1px solid #eee}.workbooks-list-full .list-header h3{margin:0;font-size:1.2rem;font-weight:600;color:#111827}.workbooks-list-full .create-form{padding:20px 24px;background:#fff;border-bottom:1px solid #e5e7eb}.workbooks-list-full .create-form input,.workbooks-list-full .create-form textarea{width:100%;padding:12px 16px;border:1px solid #d1d5db;border-radius:6px;font-size:.875rem;margin-bottom:12px;font-family:inherit;background:#fff}.workbooks-list-full .create-form input:focus,.workbooks-list-full .create-form textarea:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.workbooks-list-full .create-form textarea{resize:vertical;min-height:80px}.workbooks-list-full .create-form .form-actions{display:flex;gap:12px}.workbooks-list-full .create-form .form-actions button{flex:1;padding:10px 16px;border:none;border-radius:6px;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s}.workbooks-list-full .create-form .form-actions button[type=submit]{background:#667eea;color:#fff}.workbooks-list-full .create-form .form-actions button[type=submit]:hover{background:#5568d3}.workbooks-list-full .create-form .form-actions button[type=button]{background:#f3f4f6;color:#374151}.workbooks-list-full .create-form .form-actions button[type=button]:hover{background:#e5e7eb}.workbooks-list-full .workbook-items{flex:1;overflow-y:auto;padding:20px;display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1.5rem}.workbooks-list-full .workbook-items .empty-state{grid-column:1/-1;padding:40px 20px;text-align:center;color:#6b7280}.workbooks-list-full .workbook-items .empty-state p{margin:8px 0}.workbooks-list-full .workbook-items .empty-state p.hint{font-size:.875rem;color:#9ca3af}.workbooks-list-full .workbook-items .workbook-item{background-color:#fff;border-radius:6px;box-shadow:0 2px 5px #00000014;position:relative;transition:transform .15s ease,box-shadow .15s ease;overflow:hidden;display:flex;flex-direction:column;cursor:pointer}.workbooks-list-full .workbook-items .workbook-item:hover .workbook-actions{opacity:1}.workbooks-list-full .workbook-items .workbook-item:hover{transform:translateY(-3px);box-shadow:0 4px 8px #0000001f}.workbooks-list-full .workbook-items .workbook-item .workbook-info{padding:1rem;flex-grow:1;cursor:pointer;display:flex;flex-direction:column}.workbooks-list-full .workbook-items .workbook-item .workbook-info .workbook-name{font-weight:600;margin-bottom:.5rem;font-size:1rem;line-height:1.3;color:#333;word-break:break-word;padding-right:30px}.workbooks-list-full .workbook-items .workbook-item .workbook-info .workbook-description{font-size:.8rem;color:#888;margin-bottom:.5rem;line-height:1.4;word-break:break-word}.workbooks-list-full .workbook-items .workbook-item .workbook-info .workbook-meta{font-size:.8rem;color:#888;margin-top:auto;padding-top:.5rem}.workbooks-list-full .workbook-items .workbook-item .workbook-actions{position:absolute;top:.5rem;right:.5rem;display:flex;gap:4px;opacity:0;transition:opacity .2s ease}.workbooks-list-full .workbook-items .workbook-item .workbook-actions .document-action-button{background:#fffc;border:none;color:#aaa;font-size:1.2rem;cursor:pointer;padding:2px 5px;line-height:1;border-radius:50%;width:24px;height:24px;display:flex;align-items:center;justify-content:center}.workbooks-list-full .workbook-items .workbook-item .workbook-actions .document-action-button:hover{color:#333;background-color:#f0f0f0}:global(.project-action-menu){z-index:99999!important;position:fixed!important}@media (max-width: 768px){.flowsheets-modal-header .flowsheets-modal-header-content{flex-direction:column;align-items:flex-start;gap:12px}.flowsheets-modal-header .flowsheets-header-left{width:100%}.flowsheets-modal-header .flowsheets-logo{height:28px}.flowsheets-modal-header .flowsheets-title{font-size:1.125rem}.flowsheets-modal-content .flowsheets-content{flex-direction:column}.flowsheets-modal-content .workbooks-list-full .workbook-items{grid-template-columns:1fr;padding:16px;gap:1rem}}.modal-overlay{position:fixed;top:0;left:0;width:100vw;height:100vh;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:10000}.base-modal{background:#fff;border-radius:8px;max-height:90vh;display:flex;flex-direction:column;box-shadow:0 4px 20px #00000026}.base-modal--small{width:400px;max-width:90vw}.base-modal--medium{width:600px;max-width:90vw}.base-modal--large{width:1000px;max-width:95vw}.base-modal__header{padding:20px 24px;border-bottom:1px solid #e5e7eb;display:flex;align-items:center;justify-content:space-between;flex-shrink:0}.base-modal__header h2{margin:0;font-size:20px;font-weight:600}.base-modal__close{background:transparent;border:none;font-size:28px;cursor:pointer;color:#999;padding:0 8px;line-height:1}.base-modal__close:hover{color:#666}.base-modal__body{padding:24px;overflow-y:auto;flex:1}.standalone-modal-content{overflow:visible!important;position:relative}.standalone-modal-content .univer-container-wrapper{overflow:visible!important}.flowgen-file-manager-logo:hover .logo-normal{opacity:0}.flowgen-file-manager-logo:hover .logo-hover{opacity:1!important}.flowgen-file-manager-logo .logo-normal{transition:opacity .3s ease}.math-canvas-2-wrapper{margin:1rem 0;position:relative}.math-canvas-2-wrapper .math-canvas-2-container{--bg-color: #ffffff;--grid-size: 20px;--bg-image: linear-gradient(to right, rgba(0,0,0,.07) 1px, transparent 1px), linear-gradient(to bottom, rgba(0,0,0,.07) 1px, transparent 1px);background-color:var(--bg-color);background-image:var(--bg-image);background-size:var(--grid-size) var(--grid-size);border-radius:6px;border:1px solid #e0e0e0;outline:none;width:100%;box-sizing:border-box;position:relative;overflow:hidden;padding:10px;transition:border-color .2s ease;font-family:Arial,sans-serif}.math-canvas-2-wrapper .math-canvas-2-container.focused{border:2px solid #4299e1;box-shadow:0 0 5px #4299e180}.math-canvas-2-wrapper .plus-sign{position:absolute;width:16px;height:16px;cursor:default;-webkit-user-select:none;user-select:none;transform:translate(-50%,-50%)}.math-canvas-2-wrapper .plus-sign:before,.math-canvas-2-wrapper .plus-sign:after{content:"";position:absolute;background-color:red}.math-canvas-2-wrapper .plus-sign:before{left:0;top:50%;width:100%;height:2px;transform:translateY(-50%)}.math-canvas-2-wrapper .plus-sign:after{top:0;left:50%;height:100%;width:2px;transform:translate(-50%)}.math-canvas-2-wrapper .current-input-display{display:inline-block;position:relative}.math-canvas-2-wrapper .current-input-display .canvas-input-caret{display:inline-block;width:1px;background-color:#000;animation:blink 1s step-start infinite;margin-left:1px;height:1.2em;vertical-align:middle}@keyframes blink{50%{background-color:transparent}}.selection-rectangle{position:absolute;background-color:#4299e126;border:1px solid #4299e1;pointer-events:none;z-index:100}.region-selected{background-color:#4299e11a;border:1px solid #4299e1!important}.selection-instructions{position:absolute;bottom:10px;right:10px;background-color:#ffffffe6;border:1px solid #e2e8f0;border-radius:4px;padding:8px 12px;font-size:12px;z-index:1000;box-shadow:0 2px 5px #0000001a}.selection-instructions p{margin:4px 0;color:#2d3748}.selection-instructions strong{color:#2b6cb0}.selection-mode{cursor:crosshair!important}.selection-mode .math-region-wrapper{cursor:pointer;transition:transform .1s ease}.selection-mode .math-region-wrapper:hover{transform:scale(1.02)}.math-region{position:absolute;padding:2px;background:transparent;border:none;border-radius:3px;cursor:text;box-sizing:border-box;z-index:500}.math-region-active{background:#fff;border:1px solid #4299e1;z-index:501}.math-region-selected{border:2px solid #ed8936;box-shadow:0 2px 8px #ed89364d;cursor:move}.math-region math-field,math-field{min-width:120px;background:transparent!important;border:none!important;outline:none!important;box-shadow:none!important;padding:0;pointer-events:auto!important;user-select:text!important;-webkit-user-select:text!important;position:relative;z-index:2}math-field::part(virtual-keyboard-toggle){display:none}math-field::part(menu-toggle){display:none}.units-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:4px;margin-bottom:12px}.precision-btn{padding:4px 6px;border:1px solid #ddd;border-radius:4px;background:#fff;cursor:pointer;font-size:11px;transition:background-color .2s;text-align:center;color:#333}.precision-btn:hover{background:#f0f0f0}.precision-btn.highlighted{background:#e0e0e0;border-color:#999}.subsection{margin-bottom:12px}.subsection-title{font-size:12px;font-weight:700;color:#666;text-transform:uppercase;letter-spacing:.5px;margin-bottom:6px}.precision-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:4px}.format-grid{display:flex;gap:4px;flex-wrap:wrap;align-items:center}.format-btn{padding:4px 6px;border:1px solid #ddd;border-radius:4px;background:#fff;cursor:pointer;font-size:11px;transition:background-color .2s;text-align:center;color:#333}.format-btn:hover{background:#f0f0f0}.format-btn.highlighted,.highlighted-input{background:#e0e0e0;border-color:#999}.sheets-node-wrapper{margin:1rem 0;border-radius:0;transition:all .2s ease;position:relative}.sheets-node-wrapper.selected{outline:2px solid #3b82f6;outline-offset:2px}.sheets-node-wrapper.selected:hover .sheets-metadata-hover{opacity:1!important}.sheets-container{position:relative;background:#fff;border-radius:0;overflow:visible;display:flex;flex-direction:column}.static-sheet-image-container{position:relative;display:flex;justify-content:center;background:#fff;padding:0;overflow:visible}.sheets-node-wrapper.align-left .static-sheet-image-container{justify-content:flex-start}.sheets-node-wrapper.align-center .static-sheet-image-container{justify-content:center}.sheets-node-wrapper.align-right .static-sheet-image-container{justify-content:flex-end}.sheets-controls{display:flex;align-items:center;gap:.25rem;position:absolute;top:.5rem;right:.5rem;opacity:0;transition:opacity .2s ease;z-index:10}.sheets-node-wrapper.selected .sheets-controls{opacity:1}.sheets-controls .alignment-controls{display:flex;gap:.25rem}.sheets-controls .alignment-controls .align-btn{width:26px;height:26px;padding:4px;font-size:12px;background:#fffffff2;border:1px solid rgba(0,0,0,.1);border-radius:4px;color:#374151;font-weight:500;transition:all .2s ease;display:flex;align-items:center;justify-content:center;cursor:pointer}.sheets-controls .alignment-controls .align-btn svg{width:12px!important;height:12px!important;min-width:12px;min-height:12px}.sheets-controls .alignment-controls .align-btn.active{background:#f3f4f6;border-color:#6b7280;color:#111827}.sheets-controls .alignment-controls .align-btn:hover{background:#f9fafb;border-color:#9ca3af;transform:translateY(-1px)}.sheets-controls .alignment-controls .align-btn:hover.active{background:#e5e7eb}.sheets-controls .delete-btn{background:#fffffff2;border:1px solid rgba(0,0,0,.1);border-radius:4px;color:#374151;font-size:16px;width:28px;height:26px;padding:3px;line-height:1;transition:all .2s ease;display:flex;align-items:center;justify-content:center;cursor:pointer}.sheets-controls .delete-btn:hover{background:#fee2e2;border-color:#fca5a5;color:#dc2626;transform:translateY(-1px)}.sheets-controls .caption-btn{background:#fffffff2;border:1px solid rgba(0,0,0,.1);border-radius:4px;color:#374151;font-weight:600;font-size:8px;padding:0 4px;height:26px;min-width:26px;transition:all .2s ease;display:flex;align-items:center;justify-content:center;cursor:pointer}.sheets-controls .caption-btn:hover{background:#f9fafb;border-color:#9ca3af;transform:translateY(-1px)}.sheets-controls .edit-btn{background:#fffffff2;border:1px solid rgba(0,0,0,.1);border-radius:4px;color:#374151;font-size:12px;width:26px;height:26px;padding:4px;transition:all .2s ease;display:flex;align-items:center;justify-content:center;cursor:pointer}.sheets-controls .edit-btn:hover{background:#fef3c7;border-color:#fbbf24;color:#92400e;transform:translateY(-1px)}.sheets-controls .figure-btn,.sheets-controls .table-btn{background:#fffffff2;border:1px solid rgba(0,0,0,.1);border-radius:4px;color:#374151;font-size:10px;font-weight:600;width:28px;height:26px;padding:3px;transition:all .2s ease;display:flex;align-items:center;justify-content:center;cursor:pointer}.sheets-controls .figure-btn.active,.sheets-controls .table-btn.active{background:#dbeafe;border-color:#3b82f6;color:#1e40af}.sheets-controls .figure-btn:hover,.sheets-controls .table-btn:hover{background:#e0e7ff;border-color:#6366f1;transform:translateY(-1px)}.sheets-caption{position:relative;padding:0;background:#fff;font-size:.9rem;color:#64748b;width:100%;min-width:100%;box-sizing:border-box;border-radius:0;text-align:center}.sheets-caption.caption-align-left{text-align:left}.sheets-caption.caption-align-center{text-align:center}.sheets-caption.caption-align-right{text-align:right}.sheets-caption .caption-alignment-controls{position:absolute;top:.5rem;right:.5rem;display:flex;gap:.25rem;background:#fffffff2;border:1px solid rgba(0,0,0,.1);border-radius:6px;padding:.25rem;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.sheets-caption .caption-alignment-controls .caption-type-btn{height:24px;padding:0 8px;border:1px solid rgba(0,0,0,.05);background:#fff;border-radius:4px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease;font-size:10px;color:#6b7280;font-weight:600;font-family:Verdana,Geneva,sans-serif;white-space:nowrap}.sheets-caption .caption-alignment-controls .caption-type-btn:hover{background:#e0e7ff;border-color:#6366f1;color:#4338ca;transform:translateY(-1px)}.sheets-caption .caption-alignment-controls .caption-type-btn.active{background:#dbeafe;border-color:#3b82f6;color:#1e40af}.sheets-caption .caption-alignment-controls .caption-align-btn{width:24px;height:24px;border:1px solid rgba(0,0,0,.05);background:#fff;border-radius:4px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease;font-size:12px;color:#6b7280;font-weight:500}.sheets-caption .caption-alignment-controls .caption-align-btn svg{width:14px!important;height:14px!important;min-width:14px;min-height:14px}.sheets-caption .caption-alignment-controls .caption-align-btn:hover{background:#f9fafb;border-color:#9ca3af;color:#374151;transform:translateY(-1px)}.sheets-caption .caption-alignment-controls .caption-align-btn.active{background:#f3f4f6;border-color:#6b7280;color:#111827}.sheets-caption .caption-text{cursor:pointer;min-height:1.5em;padding:.25rem;border-radius:4px;transition:background-color .2s ease;margin-right:80px}.sheets-caption .caption-text:hover{background:#e2e8f0}.sheets-caption .caption-editor{display:flex;align-items:center;gap:.5rem}.sheets-caption .caption-editor .caption-input{flex:1;padding:.375rem .5rem;border:1px solid #d1d5db;border-radius:4px;font-size:.875rem;font-family:Verdana,Geneva,sans-serif}.sheets-caption .caption-editor .caption-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 1px #3b82f6}.sheets-caption .caption-editor .caption-input::placeholder{color:#9ca3af}.sheets-caption .caption-editor .caption-controls{display:flex;gap:.25rem}.sheets-caption .caption-editor .caption-controls .save-btn{background:#f9fafb;color:#059669;border:1px solid rgba(5,150,105,.2);border-radius:4px;padding:.25rem .5rem;font-size:.75rem;font-weight:500;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.sheets-caption .caption-editor .caption-controls .save-btn:hover{background:#f0fdf4;border-color:#059669;transform:translateY(-1px)}.sheets-caption .caption-editor .caption-controls .cancel-btn{background:#f9fafb;color:#dc2626;border:1px solid rgba(220,38,38,.2);border-radius:4px;padding:.25rem .5rem;font-size:.75rem;font-weight:500;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.sheets-caption .caption-editor .caption-controls .cancel-btn:hover{background:#fef2f2;border-color:#dc2626;transform:translateY(-1px)}.static-sheet-container-wrapper{position:relative;display:inline-block;overflow:visible;box-shadow:none;border-radius:0}.static-sheet-container{padding:0;background:#fff;border:1px solid #e2e8f0;border-radius:4px;overflow:visible;display:inline-flex;flex-direction:column;box-sizing:border-box;resize:none;width:auto}.static-sheet-container-wrapper .resize-handle{position:absolute;bottom:-1px;right:-1px;width:20px;height:20px;cursor:nw-resize;pointer-events:auto!important;z-index:999;background:#3b82f61a;border:2px solid #3b82f6;border-radius:4px;display:flex!important;align-items:center;justify-content:center;transition:all .2s ease;opacity:1!important}.static-sheet-container-wrapper .resize-handle:hover{background:#3b82f633;transform:scale(1.1)}.static-sheet-container-wrapper .resize-handle.resizing{background:#3b82f64d;border-color:#2563eb;cursor:nw-resize}.static-sheet-container-wrapper .resize-handle .resize-grip{width:8px;height:8px;background:linear-gradient(135deg,transparent 0%,transparent 35%,#3b82f6 35%,#3b82f6 65%,transparent 65%,transparent 100%);background-size:3px 3px;background-repeat:repeat;opacity:.8;pointer-events:none}.static-sheet-container-wrapper:not([style*=width]){width:fit-content}.static-sheet-container .empty-sheet{text-align:center;padding:40px 20px;color:#7f8c8d;font-style:italic;font-size:14px}.static-sheet-container .static-sheet-zoom-outer-container{display:inline-block;position:relative;overflow:visible}.static-sheet-container .static-sheet-zoom-container{display:inline-block;transform-origin:top left;width:max-content;height:max-content}.static-sheet-container .static-sheet-wrapper{overflow:visible;width:max-content;display:inline-block}.static-sheet-container .static-sheet-table{border-collapse:collapse;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;width:auto;table-layout:auto}.static-sheet-container .static-sheet-table td{border:1px solid #e8eaed;padding:2px 4px;overflow:visible;white-space:nowrap;background:#fff;width:auto;font-size:10px;line-height:1.2;vertical-align:middle;height:18px;box-sizing:border-box;position:relative}.static-sheet-container .static-sheet-table tr{height:18px}.static-sheet-container .static-sheet-table tr:first-child td{border-top:none}.static-sheet-container .static-sheet-table tr td:first-child{border-left:none}.static-sheet-container .static-sheet-table tr td:last-child{border-right:none}.static-sheet-container .static-sheet-table tr:last-child td{border-bottom:none}.univer-container{position:relative;background:#fff}.univer-container .univer{width:100%!important;height:100%!important}.sheets-footer{padding:8px 16px;background:#f8f9fa;border-top:1px solid #e1e5e9;border-radius:0 0 8px 8px}.sheets-footer .sheets-info{display:flex;align-items:center;gap:8px;font-size:12px;color:#7f8c8d}.sheets-footer .sheets-info .separator{opacity:.5}.sheets-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 20px;background:#f8f9fa;border-radius:8px}.sheets-loading .loading-spinner{width:40px;height:40px;border:4px solid #e1e5e9;border-top-color:#4a90e2;border-radius:50%;animation:spin .8s linear infinite;margin-bottom:16px}.sheets-loading p{color:#7f8c8d;font-size:14px;margin:0}.sheets-error{padding:32px;background:#fff5f5;border:2px solid #feb2b2;border-radius:8px;text-align:center}.sheets-error h4{color:#c53030;font-size:18px;margin:0 0 12px;font-weight:600}.sheets-error p{color:#742a2a;font-size:14px;margin:8px 0;line-height:1.6}.sheets-error code{display:block;margin:12px 0;padding:12px;background:#fff;border:1px solid #feb2b2;border-radius:4px;font-family:Monaco,Menlo,Courier New,monospace;font-size:12px;color:#c53030;text-align:left;overflow-x:auto}.sheets-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background-color:#0009;display:flex;justify-content:center;align-items:center;z-index:1000;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.sheets-modal-content{background-color:#fff;border-radius:8px;width:90%;max-width:1200px;height:80vh;max-height:800px;box-shadow:0 10px 40px #0000004d;display:flex;flex-direction:column;overflow:visible;position:relative}.sheets-modal-content .sheets-modal-header{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:16px 20px;background:#f8f9fa;border-bottom:1px solid #e1e5e9;gap:40px;min-height:60px}.sheets-modal-content .sheets-modal-header label{display:flex;flex-direction:column;gap:4px;font-size:11px;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.5px}.sheets-modal-content .sheets-modal-header label select.range-input,.sheets-modal-content .sheets-modal-header label input.range-input{padding:7px 10px;border:1px solid #d1d5db;border-radius:4px;font-size:13px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#fff;color:#1f2937;transition:all .15s ease;box-shadow:0 1px 2px #0000000a}.sheets-modal-content .sheets-modal-header label select.range-input:hover,.sheets-modal-content .sheets-modal-header label input.range-input:hover{border-color:#9ca3af}.sheets-modal-content .sheets-modal-header label select.range-input:focus,.sheets-modal-content .sheets-modal-header label input.range-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f614}.sheets-modal-content .sheets-modal-header label select.range-input::placeholder,.sheets-modal-content .sheets-modal-header label input.range-input::placeholder{color:#9ca3af}.sheets-modal-content .sheets-modal-header label select.range-input{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='%239ca3af' d='M5 7L1 3h8z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 8px center;padding-right:28px}.sheets-modal-content .sheets-modal-header label input.range-input{text-align:center;font-family:Monaco,Menlo,Courier New,monospace;font-weight:500;min-width:80px}.sheets-modal-content .sheets-modal-header .modal-header-actions .modal-close-button,.sheets-modal-content .sheets-modal-header .modal-header-actions .modal-fullscreen-button,.sheets-modal-content .sheets-modal-header .modal-header-actions .modal-download-button,.sheets-modal-content .sheets-modal-header .modal-header-actions .modal-upload-button{position:static!important;top:auto!important;right:auto!important;left:auto!important;bottom:auto!important}.sheets-modal-content .sheets-modal-header .modal-header-left{justify-self:start;align-self:center}.sheets-modal-content .sheets-modal-header .modal-header-left h3{margin:0;font-size:18px;font-weight:600;color:#2c3e50;line-height:1}.sheets-modal-content .sheets-modal-header .modal-header-center{justify-self:center;align-self:center}.sheets-modal-content .sheets-modal-header .modal-header-center .range-inputs{display:flex;gap:16px;align-items:center}.sheets-modal-content .sheets-modal-header .modal-header-center .range-inputs label{display:flex;align-items:center;gap:6px;font-size:14px;color:#555;font-weight:500}.sheets-modal-content .sheets-modal-header .modal-header-center .range-inputs label .range-input{width:80px;padding:6px 10px;border:1px solid #d1d5db;border-radius:4px;font-size:14px;text-align:center;font-family:monospace;background:#fff;transition:border-color .2s}.sheets-modal-content .sheets-modal-header .modal-header-center .range-inputs label .range-input:focus{outline:none;border-color:#4a90e2;box-shadow:0 0 0 2px #4a90e21a}.sheets-modal-content .sheets-modal-header .modal-header-center .range-inputs label .range-input::placeholder{color:#9ca3af}.sheets-modal-content .sheets-modal-header .modal-header-actions{justify-self:end;align-self:center;display:flex;flex-direction:row;align-items:center;gap:8px}.sheets-modal-content .sheets-modal-header .modal-header-actions .modal-upload-button,.sheets-modal-content .sheets-modal-header .modal-header-actions .modal-download-button,.sheets-modal-content .sheets-modal-header .modal-header-actions .modal-fullscreen-button,.sheets-modal-content .sheets-modal-header .modal-header-actions .modal-close-button{all:unset;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;color:#7f8c8d;border-radius:4px;transition:background .2s ease;flex-shrink:0}.sheets-modal-content .sheets-modal-header .modal-header-actions .modal-upload-button:hover,.sheets-modal-content .sheets-modal-header .modal-header-actions .modal-download-button:hover,.sheets-modal-content .sheets-modal-header .modal-header-actions .modal-fullscreen-button:hover,.sheets-modal-content .sheets-modal-header .modal-header-actions .modal-close-button:hover{background:#0000000d;color:#2c3e50}.sheets-modal-content .sheets-modal-header .modal-header-actions .modal-upload-button,.sheets-modal-content .sheets-modal-header .modal-header-actions .modal-download-button{padding:6px 12px;font-size:13px;font-weight:500;background:#f0f2f5;border:1px solid #d1d5db;border-radius:4px}.sheets-modal-content .sheets-modal-header .modal-header-actions .modal-upload-button:hover,.sheets-modal-content .sheets-modal-header .modal-header-actions .modal-download-button:hover{background:#e8eaed;color:#2c3e50}.sheets-modal-content .sheets-modal-header .modal-header-actions .modal-upload-button:active,.sheets-modal-content .sheets-modal-header .modal-header-actions .modal-download-button:active{background:#dfe2e6}.sheets-modal-content .sheets-modal-header .modal-header-actions .modal-fullscreen-button,.sheets-modal-content .sheets-modal-header .modal-header-actions .modal-close-button{width:32px;height:32px;line-height:32px}.sheets-modal-content .sheets-modal-header .modal-header-actions .modal-fullscreen-button{font-size:20px}.sheets-modal-content .sheets-modal-header .modal-header-actions .modal-close-button{font-size:28px;line-height:28px;transform:translateY(-1px)}.sheets-modal-content .univer-container{flex:1;overflow:visible;background:#fff}.sheets-modal-content.fullscreen{width:100%;height:100%;max-width:100%;max-height:100%;border-radius:0;animation:expandToFullscreen .2s ease-out}@keyframes expandToFullscreen{0%{width:90%;max-width:1200px;height:80vh;max-height:800px;border-radius:8px}to{width:100%;height:100%;max-width:100%;max-height:100%;border-radius:0}}:global body>[class*=univer]{z-index:10000!important}.sheets-node-container{page-break-inside:avoid;break-inside:avoid}.sheets-node-container .sheets-placeholder{padding:20px;text-align:center;color:#7f8c8d;font-style:italic;background:#f8f9fa;border-radius:4px}@media (max-width: 768px){.sheets-node-wrapper{margin:12px 0}.sheets-node-wrapper .sheets-header{padding:8px 12px}.sheets-node-wrapper .sheets-header .sheets-title-input{font-size:14px}.sheets-node-wrapper .sheets-header .sheets-edit-button{padding:4px 8px;font-size:12px}.sheets-node-wrapper .sheets-footer{padding:6px 12px}.sheets-node-wrapper .sheets-footer .sheets-info{font-size:11px}.sheets-node-wrapper .static-sheet-container{padding:12px;max-height:300px}.sheets-node-wrapper .static-sheet-container .static-sheet-wrapper{max-height:250px}.sheets-node-wrapper .static-sheet-container .static-sheet-table td{padding:6px 8px;font-size:13px;min-width:50px;max-width:150px}.sheets-node-wrapper .static-sheet-container .data-info{font-size:11px;margin-top:8px;padding:6px 8px}.sheets-modal-content{width:95%;height:90vh}.sheets-modal-content .sheets-modal-header{padding:12px 16px}.sheets-modal-content .sheets-modal-header h3{font-size:16px}.sheets-modal-content .sheets-modal-header .modal-close-button{font-size:28px;width:28px;height:28px}}@media (prefers-color-scheme: dark){.sheets-node-wrapper{background:#1e1e1e}.sheets-node-wrapper .sheets-header,.sheets-node-wrapper .sheets-footer{background:#2d2d2d;border-color:#404040}.sheets-node-wrapper .sheets-title-input{color:#e0e0e0}.sheets-node-wrapper .sheets-title-input:focus{background:#2d2d2d}.sheets-node-wrapper .static-sheet-container{background:#1e1e1e}.sheets-node-wrapper .static-sheet-container .static-sheet-table td{border-color:#404040;color:#e0e0e0}.sheets-node-wrapper .univer-container{background:#1e1e1e;border-color:#404040}.sheets-node-wrapper .sheets-info{color:#a0a0a0}.sheets-modal-content{background:#1e1e1e}.sheets-modal-content .sheets-modal-header{background:#2d2d2d;border-color:#404040}.sheets-modal-content .sheets-modal-header h3{color:#e0e0e0}.sheets-modal-content .sheets-modal-header .modal-close-button{color:#a0a0a0}.sheets-modal-content .sheets-modal-header .modal-close-button:hover{background:#ffffff1a;color:#e0e0e0}}body{--tt-theme-text: var(--tt-gray-light-900)}body{font-family:Inter,sans-serif;color:var(--tt-theme-text);font-optical-sizing:auto;font-weight:400;font-style:normal;padding:0}html,body,#root,#app{height:100%;background-color:#ececec}.tiptap.ProseMirror{font-family:Verdana,sans-serif;font-size:14px;line-height:1.2;letter-spacing:.01em}.content-wrapper{height:auto;overflow:visible;scrollbar-width:thin;scrollbar-color:var(--tt-scrollbar-color) transparent}.content-wrapper::-webkit-scrollbar{display:block;width:.5rem}.content-wrapper::-webkit-scrollbar-track{background:transparent}.content-wrapper::-webkit-scrollbar-thumb{background-color:var(--tt-scrollbar-color);border-radius:4px}.document-pages{display:flex;flex-direction:column;align-items:center;gap:.5rem;padding:.5rem 0;min-height:100vh;overflow:visible!important;position:relative;background:#ececec;box-shadow:0 0 0 1px #ececec}.document-page{background:#fff;color:#222;box-shadow:0 4px 16px #0000001a,0 1.5px 4px #00000014;border-radius:4px;width:794px;min-height:1123px;max-width:100%;margin:0 auto;padding:121px 80px;box-sizing:border-box;position:relative;overflow:visible!important;page-break-after:always;break-after:page;transition:box-shadow .2s,background .2s}.document-page:only-child{box-shadow:0 1.5px 4px #0000000f;border:1px solid #e5e5e5}.document-page+.document-page:before{content:none!important;display:none!important}.document-page+.document-page:after{content:none!important;display:none!important}@media screen and (max-width: 900px){.document-page{width:100vw;min-width:0;padding:2rem .5rem}}.editor-scroll-container{height:100%;overflow-y:auto;padding:1rem}.editor-scroll-container::-webkit-scrollbar{width:8px}.editor-scroll-container::-webkit-scrollbar-track{background:#ececec;border-radius:4px}.editor-scroll-container::-webkit-scrollbar-thumb{background-color:#c1c1c1;border-radius:4px;border:2px solid #ececec}.editor-scroll-container::-webkit-scrollbar-thumb:hover{background-color:#a8a8a8}.simple-editor-content{max-width:unset;width:100%;margin:0;padding:0;height:100%;box-sizing:border-box}.simple-editor-content .tiptap.ProseMirror{padding:0;min-height:100%;background:transparent;box-shadow:none}.simple-editor-content p:empty:before{content:" ";display:inline-block;min-height:1em}.math-canvas-toolbar-btn{font-family:Inter,sans-serif;font-weight:600;font-size:.97rem;letter-spacing:.01em;text-transform:none;background:#f5f5f5;color:#222;border:1px solid #e0e0e0;border-radius:6px;min-width:0;height:32px;padding:0 10px;margin-left:.1rem;margin-right:.1rem;box-shadow:0 1px 2px #00000008;transition:background .15s,color .15s,border .15s;display:inline-flex;align-items:center;line-height:1}.math-canvas-toolbar-btn:hover,.math-canvas-toolbar-btn:focus{background:#ececec;color:#111;border-color:#bdbdbd}.simple-editor-content .tiptap.ProseMirror,.document-page .content-wrapper,.document-pages{counter-reset:h1-counter figure-counter table-counter}.beam-analysis-component h1:before,.beam-analysis-component h2:before,.beam-analysis-component h3:before,.beam-analysis-component h4:before,.beam-analysis-component h5:before,.beam-analysis-component h6:before,.math-canvas-container h1:before,.math-canvas-container h2:before,.math-canvas-container h3:before,.math-canvas-container h4:before,.math-canvas-container h5:before,.math-canvas-container h6:before,.screenshot-container h1:before,.screenshot-container h2:before,.screenshot-container h3:before,.screenshot-container h4:before,.screenshot-container h5:before,.screenshot-container h6:before,.beam-modal-content h1:before,.beam-modal-content h2:before,.beam-modal-content h3:before,.beam-modal-content h4:before,.beam-modal-content h5:before,.beam-modal-content h6:before{content:none!important}.simple-editor-content h1:not(.beam-analysis-component h1):not(.math-canvas-container h1):not(.screenshot-container h1):not(.beam-modal-content h1):not(.delete-pdf-modal h1),.document-page h1:not(.beam-analysis-component h1):not(.math-canvas-container h1):not(.screenshot-container h1):not(.beam-modal-content h1):not(.delete-pdf-modal h1){font-weight:400!important;counter-increment:h1-counter;counter-reset:h2-counter}.simple-editor-content h1:not(.beam-analysis-component h1):not(.math-canvas-container h1):not(.screenshot-container h1):not(.beam-modal-content h1):not(.delete-pdf-modal h1):before,.document-page h1:not(.beam-analysis-component h1):not(.math-canvas-container h1):not(.screenshot-container h1):not(.beam-modal-content h1):not(.delete-pdf-modal h1):before{content:counter(h1-counter) " ";margin-right:.5em}.simple-editor-content h2:not(.beam-analysis-component h2):not(.math-canvas-container h2):not(.screenshot-container h2):not(.beam-modal-content h2):not(.delete-pdf-modal h2),.document-page h2:not(.beam-analysis-component h2):not(.math-canvas-container h2):not(.screenshot-container h2):not(.beam-modal-content h2):not(.delete-pdf-modal h2){font-weight:400!important;counter-increment:h2-counter;counter-reset:h3-counter}.simple-editor-content h2:not(.beam-analysis-component h2):not(.math-canvas-container h2):not(.screenshot-container h2):not(.beam-modal-content h2):not(.delete-pdf-modal h2):before,.document-page h2:not(.beam-analysis-component h2):not(.math-canvas-container h2):not(.screenshot-container h2):not(.beam-modal-content h2):not(.delete-pdf-modal h2):before{content:counter(h1-counter) "." counter(h2-counter) " ";margin-right:.5em}.simple-editor-content h3:not(.beam-analysis-component h3):not(.math-canvas-container h3):not(.screenshot-container h3):not(.beam-modal-content h3):not(.delete-pdf-modal h3),.document-page h3:not(.beam-analysis-component h3):not(.math-canvas-container h3):not(.screenshot-container h3):not(.beam-modal-content h3):not(.delete-pdf-modal h3){font-weight:400!important;counter-increment:h3-counter}.simple-editor-content h3:not(.beam-analysis-component h3):not(.math-canvas-container h3):not(.screenshot-container h3):not(.beam-modal-content h3):not(.delete-pdf-modal h3):before,.document-page h3:not(.beam-analysis-component h3):not(.math-canvas-container h3):not(.screenshot-container h3):not(.beam-modal-content h3):not(.delete-pdf-modal h3):before{content:counter(h1-counter) "." counter(h2-counter) "." counter(h3-counter) " ";margin-right:.5em}.simple-editor-content h4,.document-page h4,.simple-editor-content h5,.simple-editor-content h6,.document-page h5,.document-page h6{font-weight:400!important}.document-pages{counter-reset:h1-counter}.document-pages .beam-analysis-component h1:before,.document-pages .beam-analysis-component h2:before,.document-pages .beam-analysis-component h3:before,.document-pages .beam-analysis-component h4:before,.document-pages .beam-analysis-component h5:before,.document-pages .beam-analysis-component h6:before,.document-pages .math-canvas-container h1:before,.document-pages .math-canvas-container h2:before,.document-pages .math-canvas-container h3:before,.document-pages .math-canvas-container h4:before,.document-pages .math-canvas-container h5:before,.document-pages .math-canvas-container h6:before,.document-pages .screenshot-container h1:before,.document-pages .screenshot-container h2:before,.document-pages .screenshot-container h3:before,.document-pages .screenshot-container h4:before,.document-pages .screenshot-container h5:before,.document-pages .screenshot-container h6:before,.document-pages .beam-modal-content h1:before,.document-pages .beam-modal-content h2:before,.document-pages .beam-modal-content h3:before,.document-pages .beam-modal-content h4:before,.document-pages .beam-modal-content h5:before,.document-pages .beam-modal-content h6:before{content:none!important}.document-pages h1:not(.beam-analysis-component h1):not(.math-canvas-container h1):not(.screenshot-container h1):not(.beam-modal-content h1):not(.delete-pdf-modal h1){font-weight:400!important;counter-increment:h1-counter;counter-reset:h2-counter}.document-pages h1:not(.beam-analysis-component h1):not(.math-canvas-container h1):not(.screenshot-container h1):not(.beam-modal-content h1):not(.delete-pdf-modal h1):before{content:counter(h1-counter) " ";margin-right:.5em}.document-pages h2:not(.beam-analysis-component h2):not(.math-canvas-container h2):not(.screenshot-container h2):not(.beam-modal-content h2):not(.delete-pdf-modal h2){font-weight:400!important;counter-increment:h2-counter;counter-reset:h3-counter}.document-pages h2:not(.beam-analysis-component h2):not(.math-canvas-container h2):not(.screenshot-container h2):not(.beam-modal-content h2):not(.delete-pdf-modal h2):before{content:counter(h1-counter) "." counter(h2-counter) " ";margin-right:.5em}.document-pages h3:not(.beam-analysis-component h3):not(.math-canvas-container h3):not(.screenshot-container h3):not(.beam-modal-content h3):not(.delete-pdf-modal h3){font-weight:400!important;counter-increment:h3-counter}.document-pages h3:not(.beam-analysis-component h3):not(.math-canvas-container h3):not(.screenshot-container h3):not(.beam-modal-content h3):not(.delete-pdf-modal h3):before{content:counter(h1-counter) "." counter(h2-counter) "." counter(h3-counter) " ";margin-right:.5em}.document-pages h4,.document-pages h5,.document-pages h6{font-weight:400!important}.simple-editor-content .screenshot-caption .caption-text,.simple-editor-content .screenshot-caption .caption-editor{counter-increment:figure-counter}.simple-editor-content .screenshot-caption .caption-text:before{content:"Figur " counter(figure-counter) ". ";font-family:Verdana,sans-serif;font-style:normal;font-weight:400;font-size:.75rem;color:#000;margin-right:.25em}.simple-editor-content .screenshot-caption .caption-editor:before{content:"Figur " counter(figure-counter) ". ";font-family:Verdana,sans-serif;font-style:normal;font-weight:400;font-size:.75rem;color:#000;margin-right:.25em;position:relative;display:inline-block}.document-pages .screenshot-caption .caption-text,.document-pages .screenshot-caption .caption-editor{counter-increment:figure-counter}.document-pages .screenshot-caption .caption-text:before{content:"Figur " counter(figure-counter) ". ";font-family:Verdana,sans-serif;font-style:normal;font-weight:400;font-size:.75rem;color:#000;margin-right:.25em}.document-pages .screenshot-caption .caption-editor:before{content:"Figur " counter(figure-counter) ". ";font-family:Verdana,sans-serif;font-style:normal;font-weight:400;font-size:.75rem;color:#000;margin-right:.25em;position:relative;display:inline-block}.simple-editor-content .sheets-caption[data-display-type=figure] .caption-text,.simple-editor-content .sheets-caption[data-display-type=figure] .caption-editor,.simple-editor-content .sheets-caption:not([data-display-type=table]) .caption-text,.simple-editor-content .sheets-caption:not([data-display-type=table]) .caption-editor{counter-increment:figure-counter}.simple-editor-content .sheets-caption[data-display-type=figure] .caption-text:before,.simple-editor-content .sheets-caption:not([data-display-type=table]) .caption-text:before{content:"Figur " counter(figure-counter) ". ";font-family:Verdana,sans-serif;font-style:normal;font-weight:400;font-size:.75rem;color:#000;margin-right:.25em}.simple-editor-content .sheets-caption[data-display-type=figure] .caption-editor:before,.simple-editor-content .sheets-caption:not([data-display-type=table]) .caption-editor:before{content:"Figur " counter(figure-counter) ". ";font-family:Verdana,sans-serif;font-style:normal;font-weight:400;font-size:.75rem;color:#000;margin-right:.25em;position:relative;display:inline-block}.simple-editor-content .sheets-caption[data-display-type=table] .caption-text,.simple-editor-content .sheets-caption[data-display-type=table] .caption-editor{counter-increment:table-counter}.simple-editor-content .sheets-caption[data-display-type=table] .caption-text:before{content:"Tabel " counter(table-counter) ". ";font-family:Verdana,sans-serif;font-style:normal;font-weight:400;font-size:.75rem;color:#000;margin-right:.25em}.simple-editor-content .sheets-caption[data-display-type=table] .caption-editor:before{content:"Tabel " counter(table-counter) ". ";font-family:Verdana,sans-serif;font-style:normal;font-weight:400;font-size:.75rem;color:#000;margin-right:.25em;position:relative;display:inline-block}.document-pages .sheets-caption[data-display-type=figure] .caption-text,.document-pages .sheets-caption[data-display-type=figure] .caption-editor,.document-pages .sheets-caption:not([data-display-type=table]) .caption-text,.document-pages .sheets-caption:not([data-display-type=table]) .caption-editor{counter-increment:figure-counter}.document-pages .sheets-caption[data-display-type=figure] .caption-text:before,.document-pages .sheets-caption:not([data-display-type=table]) .caption-text:before{content:"Figur " counter(figure-counter) ". ";font-family:Verdana,sans-serif;font-style:normal;font-weight:400;font-size:.75rem;color:#000;margin-right:.25em}.document-pages .sheets-caption[data-display-type=figure] .caption-editor:before,.document-pages .sheets-caption:not([data-display-type=table]) .caption-editor:before{content:"Figur " counter(figure-counter) ". ";font-family:Verdana,sans-serif;font-style:normal;font-weight:400;font-size:.75rem;color:#000;margin-right:.25em;position:relative;display:inline-block}.document-pages .sheets-caption[data-display-type=table] .caption-text,.document-pages .sheets-caption[data-display-type=table] .caption-editor{counter-increment:table-counter}.document-pages .sheets-caption[data-display-type=table] .caption-text:before{content:"Tabel " counter(table-counter) ". ";font-family:Verdana,sans-serif;font-style:normal;font-weight:400;font-size:.75rem;color:#000;margin-right:.25em}.document-pages .sheets-caption[data-display-type=table] .caption-editor:before{content:"Tabel " counter(table-counter) ". ";font-family:Verdana,sans-serif;font-style:normal;font-weight:400;font-size:.75rem;color:#000;margin-right:.25em;position:relative;display:inline-block}.simple-editor-content .screenshot-caption .caption-text,.simple-editor-content .sheets-caption .caption-text,.document-pages .screenshot-caption .caption-text,.document-pages .sheets-caption .caption-text,.simple-editor-content .screenshot-caption .caption-editor .caption-input,.simple-editor-content .sheets-caption .caption-editor .caption-input,.document-pages .screenshot-caption .caption-editor .caption-input,.document-pages .sheets-caption .caption-editor .caption-input{font-family:Verdana,sans-serif;font-style:normal;font-size:.75rem;color:#000}.navigation-panel{display:flex;flex-direction:column;position:relative;width:var(--nav-panel-width, 300px);height:100%;padding-top:100px;background-color:#ececec;border-right:1px solid #ececec;border-left:none;box-shadow:2px 0 5px #0000000d;overflow:hidden;color:var(--panel-text-color, #212529)}.navigation-title-header{display:flex;align-items:center;height:44px;padding:0 1rem;background-color:#ececec;border-bottom:1px solid var(--tt-border, rgba(0, 0, 0, .1));font-weight:500}.navigation-title-header .panel-close-header-button{background:none;border:none;padding:8px 0;font-size:.875rem;cursor:pointer;color:var(--tt-toolbar-item-color, var(--tt-gray-light-700));width:100%;text-align:left;display:flex;align-items:center;transition:color .2s ease,text-shadow .2s ease}.navigation-title-header .panel-close-header-button:hover{color:var(--tt-toolbar-item-color, var(--tt-gray-light-900));text-shadow:0 0 8px rgba(0,0,0,.1)}.navigation-title-header .panel-close-header-button:focus{outline:none;color:var(--tt-toolbar-item-color, var(--tt-gray-light-900));text-shadow:0 0 12px rgba(0,0,0,.15)}.navigation-title-header .panel-close-header-button:focus-visible{outline:none;color:var(--tt-toolbar-item-color, var(--tt-gray-light-900));text-shadow:0 0 12px rgba(0,0,0,.15)}.navigation-title-header .panel-close-header-button:active{color:var(--tt-toolbar-item-color, var(--tt-gray-light-900));text-shadow:0 0 6px rgba(0,0,0,.2)}.navigation-title-header h3,.navigation-title-header .close-button{display:none}.navigation-panel-tabs{display:flex;align-items:center;border-bottom:1px solid var(--panel-border-color, #dee2e6);flex-shrink:0;height:44px;box-sizing:border-box;background-color:#ececec}.navigation-panel-tabs .tab-button{flex:1;background:none;border:none;padding:0 8px;font-size:13px;height:100%;display:flex;align-items:center;justify-content:center;cursor:pointer;color:var(--panel-text-color-secondary, #6c757d);opacity:.8;transition:background-color .2s,opacity .2s,border-color .2s;border-bottom:2px solid transparent;white-space:nowrap;outline:none}.navigation-panel-tabs .tab-button:hover,.navigation-panel-tabs .tab-button:focus{opacity:1;outline:none}.navigation-panel-tabs .tab-button.active{opacity:1;color:var(--panel-text-color, #212529);border-bottom:2px solid var(--editor-primary-color, #007bff)}.navigation-panel-content-area{flex-grow:1;overflow-y:auto;overflow-x:hidden;min-height:0;padding:8px}.navigation-panel-content-area::-webkit-scrollbar{width:8px}.navigation-panel-content-area::-webkit-scrollbar-track{background:#ececec;border-radius:4px}.navigation-panel-content-area::-webkit-scrollbar-thumb{background-color:#c1c1c1;border-radius:4px;border:2px solid #ececec}.navigation-panel-content-area::-webkit-scrollbar-thumb:hover{background-color:#a8a8a8}.panel-tab-content{color:var(--panel-text-color, #212529)}.panel-content-section-title{background-color:#f3f4f6;padding:8px 12px;margin-left:-8px;margin-right:-8px;margin-bottom:8px;font-size:13px;font-weight:600;color:#374151;border-bottom:1px solid #dee2e6}.panel-content-section-title:first-child{margin-top:-8px;border-top:1px solid #dee2e6}.headings-list-panel{padding:8px;font-size:13px;color:#333}.headings-list-panel .heading-navigation-item-panel{display:block;width:100%;box-sizing:border-box;margin:1px 0;border-radius:3px;cursor:pointer;overflow:hidden;transition:background-color .15s ease-out,color .15s ease-out}.headings-list-panel .heading-navigation-item-panel:hover{background-color:#f0f0f0;color:#1a252f}.headings-list-panel .heading-navigation-item-panel.active-editor-heading{background-color:#e6f2ff;color:#1e293b;font-weight:500}.headings-list-panel .heading-navigation-item-panel.level-1 .heading-content-wrapper{padding-left:8px}.headings-list-panel .heading-navigation-item-panel.level-2 .heading-content-wrapper{padding-left:28px}.headings-list-panel .heading-navigation-item-panel.level-3 .heading-content-wrapper{padding-left:48px}.headings-list-panel .heading-navigation-item-panel.level-4 .heading-content-wrapper{padding-left:68px}.headings-list-panel .heading-navigation-item-panel.level-5 .heading-content-wrapper{padding-left:88px}.headings-list-panel .heading-navigation-item-panel.level-6 .heading-content-wrapper{padding-left:108px}.headings-list-panel .heading-navigation-item-panel .heading-content-wrapper{display:flex;align-items:center;padding:4px 8px 4px 0;min-height:28px}.headings-list-panel .heading-navigation-item-panel .heading-content-wrapper .chevron-space{width:20px;height:16px;display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-right:6px}.headings-list-panel .heading-navigation-item-panel .heading-content-wrapper .chevron-space .collapse-icon{transition:transform .15s ease-in-out;width:16px;height:16px;opacity:.7;fill:currentColor;cursor:pointer}.headings-list-panel .heading-navigation-item-panel .heading-content-wrapper .chevron-space .collapse-icon.collapsed{transform:rotate(-90deg)}.headings-list-panel .heading-navigation-item-panel .heading-content-wrapper .chevron-space .collapse-icon:hover{opacity:1}.headings-list-panel .heading-navigation-item-panel .heading-content-wrapper .chevron-space .chevron-placeholder{width:16px;height:16px}.headings-list-panel .heading-navigation-item-panel .heading-content-wrapper .heading-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex-grow:1;min-width:0;line-height:1.4}.variables-tab-content{padding:8px}.variables-tab-content .variables-spreadsheet-table{border-collapse:separate;border-spacing:0;width:100%}.variables-tab-content .variables-spreadsheet-table th{padding:8px 10px;background-color:#f3f4f6;font-weight:600;font-size:12px;color:#374151;text-align:left;vertical-align:top;border-bottom:1px solid #dee2e6;border-right:1px solid #dee2e6}.variables-tab-content .variables-spreadsheet-table th:last-child{border-right:none}.variables-tab-content .variables-spreadsheet-table td{padding:8px 10px;border-bottom:1px solid #e9ecef;border-right:1px solid #e9ecef;font-size:13px;color:#495057;vertical-align:top}.variables-tab-content .variables-spreadsheet-table td.variable-code-name{font-family:monospace;color:#343a40;word-break:break-all}.variables-tab-content .variables-spreadsheet-table td:last-child{border-right:none}.variables-tab-content .variables-spreadsheet-table tr:last-child td{border-bottom:none}.variables-tab-content .variables-spreadsheet-table tbody tr:hover td{background-color:#f8f9fa}.ai-panel-chat-header{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;background-color:#f8f9fa;border-bottom:1px solid #e0e0e0;font-size:9pt;color:#666}.ai-panel-message-count{font-weight:500}.ai-panel-new-chat-button{background:#007bff;color:#fff;border:none;border-radius:4px;padding:4px 8px;font-size:9pt;cursor:pointer;transition:background-color .2s}.ai-panel-new-chat-button:hover:not(:disabled){background:#0056b3}.ai-panel-new-chat-button:disabled{background:#ccc;cursor:not-allowed}.ai-panel{display:flex;flex-direction:column;position:relative;width:var(--ai-panel-width, 350px);height:100%;padding-top:100px;background-color:#ececec;border-left:1px solid #ececec;border-right:none;box-shadow:-2px 0 5px #0000000d;overflow:hidden;color:var(--panel-text-color, #212529);font-size:10pt}.ai-panel-header{position:absolute;top:100px;left:0;right:0;display:flex;align-items:center;justify-content:space-between;height:44px;padding:0 1rem;background-color:#ececec;border-bottom:1px solid var(--tt-border, rgba(0, 0, 0, .1));font-weight:500}.ai-panel-header .panel-close-header-button{background:none;border:none;font-size:.875rem;cursor:pointer;color:var(--tt-toolbar-item-color, var(--tt-gray-light-700));padding:8px 0;display:flex;align-items:center;justify-content:flex-end;text-align:right;transition:color .2s ease,text-shadow .2s ease}.ai-panel-header .panel-close-header-button:hover{color:var(--tt-toolbar-item-color, var(--tt-gray-light-900));text-shadow:0 0 8px rgba(0,0,0,.1)}.ai-panel-header .panel-close-header-button:focus{outline:none;color:var(--tt-toolbar-item-color, var(--tt-gray-light-900));text-shadow:0 0 12px rgba(0,0,0,.15)}.ai-panel-header .panel-close-header-button:focus-visible{outline:none;color:var(--tt-toolbar-item-color, var(--tt-gray-light-900));text-shadow:0 0 12px rgba(0,0,0,.15)}.ai-panel-header .panel-close-header-button:active{color:var(--tt-toolbar-item-color, var(--tt-gray-light-900));text-shadow:0 0 6px rgba(0,0,0,.2)}.ai-panel-tabs{display:flex;gap:8px}.ai-panel-tabs .tab-button{background:none;border:none;padding:6px 12px;font-size:.875rem;cursor:pointer;color:var(--tt-gray-light-700);border-radius:4px;transition:all .2s ease}.ai-panel-tabs .tab-button:hover{background-color:#0000000d}.ai-panel-tabs .tab-button.active{background-color:#007bff;color:#fff;font-weight:500}.ai-panel-content{flex:1;display:flex;flex-direction:column;margin-top:44px;overflow:hidden}.ai-panel-messages-container{flex-grow:1;overflow-y:auto;padding:10px;display:flex;flex-direction:column;gap:12px;background-color:#ececec}.ai-panel-message{padding:8px 12px;border-radius:6px;width:100%;word-wrap:break-word}.ai-panel-message p,.ai-panel-message ul,.ai-panel-message ol{margin-top:0;margin-bottom:.5em}.ai-panel-message p:last-child,.ai-panel-message ul:last-child,.ai-panel-message ol:last-child{margin-bottom:0}.ai-panel-message code{background-color:#e0e0e0;padding:.2em .4em;border-radius:3px;font-size:.9em}.ai-panel-message.user{background-color:#1f81da;color:#fff;margin-bottom:8px;border:none}.ai-panel-message.ai{background-color:#f0f2f5;margin-bottom:8px;border:none}.ai-panel-input-area{padding:10px 15px;border-top:1px solid var(--tt-border, rgba(0, 0, 0, .1));background-color:#ececec}.ai-panel-input-wrapper{display:flex;align-items:flex-end;background-color:#fff;border:1px solid var(--tt-border, rgba(0, 0, 0, .1));border-radius:4px;padding:5px 8px}.ai-panel-input-wrapper textarea{flex-grow:1;border:none;outline:none;resize:none;font-size:14px;line-height:1.4;background-color:transparent;padding:6px 0;margin:0;color:#333;max-height:150px;min-height:40px;overflow-y:hidden}.ai-panel-input-wrapper textarea::placeholder{color:#999}.ai-panel-send-button{font-size:20px;color:#1f81da;cursor:pointer;padding:6px 5px 6px 10px;align-self:flex-end;margin-bottom:2px}.ai-panel-send-button:hover{color:#1769b0}.ai-panel-stop-button{font-size:16px;color:#f44;cursor:pointer;padding:6px 8px 6px 10px;align-self:flex-end;margin-bottom:2px;animation:pulse 1.5s infinite}.ai-panel-stop-button:hover{color:#c00;transform:scale(1.1)}@keyframes pulse{0%{opacity:1}50%{opacity:.6}to{opacity:1}}.structural-preview{padding:12px;font-family:Verdana,sans-serif;font-size:9pt;line-height:.5;word-wrap:break-word;white-space:pre-wrap}.structural-preview p{margin:0!important;padding:0!important;line-height:1.1!important}.structural-preview h3{margin:4px 0 6px!important;line-height:1.2!important}.structural-preview h4{margin:6px 0 2px!important;line-height:1.2!important}.panel-drag-handle{position:absolute;top:0;bottom:0;width:10px;cursor:col-resize;z-index:10}.panel-drag-handle.right-handle{right:-5px}.panel-drag-handle.left-handle{left:-5px}.math-canvas-notes{display:flex;flex-direction:column;height:100%;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background:#fff;border-radius:8px;overflow:hidden}.math-canvas-notes .mcn-header{display:flex;justify-content:flex-start;align-items:center;padding:12px 16px;border-bottom:1px solid #eee;background:#f8f9fa}.math-canvas-notes .mcn-header h3{margin:0;font-size:16px;font-weight:500;color:#333}.math-canvas-notes .mcn-content{flex:1;padding:16px;overflow-y:auto}.math-canvas-notes .mcn-content .mcn-fields{display:flex;flex-direction:column;gap:12px;margin-bottom:16px}.math-canvas-notes .mcn-content .mcn-controls{display:flex;justify-content:center;padding:12px 16px;border-top:1px solid #eee;background:#f8f9fa}.math-canvas-notes .mcn-content .mcn-controls .mcn-add-btn{background:#007bff;color:#fff;border:none;padding:8px 16px;border-radius:4px;font-size:14px;cursor:pointer;transition:background-color .2s ease}.math-canvas-notes .mcn-content .mcn-controls .mcn-add-btn:hover{background:#0056b3}.math-canvas-notes .mcn-content .mcn-controls .mcn-add-btn:active{background:#004085}.math-field-row{display:flex;align-items:center;gap:8px;width:100%}.math-field-row .math-field-container{flex:1;padding:8px;border:1px solid #e0e0e0;border-radius:6px;background:#fafafa;transition:border-color .2s,background-color .2s}.math-field-row .math-field-container:hover{border-color:#667eea;background:#f8f9ff}.math-field-row .math-field-container:focus-within{border-color:#667eea;background:#f8f9ff;box-shadow:0 0 0 2px #667eea1a}.math-field-row .math-field-container math-field{display:block;width:100%;min-height:40px;padding:8px 12px;font-size:16px;border:none;outline:none;background:transparent}.math-field-row .math-field-container math-field:focus{outline:none}.math-field-row .math-field-controls{display:flex;align-items:center;gap:4px;flex-shrink:0}.math-field-row .math-field-controls .add-button{background:none;color:#95a5a6;border:1px solid transparent;border-radius:4px;width:24px;height:24px;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:16px;line-height:1;transition:all .2s}.math-field-row .math-field-controls .add-button:hover{color:#7f8c8d;border-color:#bdc3c7;background:#f8f9fa}.math-field-row .math-field-controls .remove-button{background:none;color:#95a5a6;border:1px solid transparent;border-radius:4px;width:24px;height:24px;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:16px;line-height:1;transition:all .2s}.math-field-row .math-field-controls .remove-button:hover{color:#7f8c8d;border-color:#bdc3c7;background:#f8f9fa}.engineering-power-controls{display:grid;grid-template-columns:repeat(4,1fr);gap:.25rem;padding:.5rem}.power-button{padding:.3rem;font-size:.75rem;font-weight:600;border:1px solid #bdc3c7;border-radius:4px;background:#fff;color:#2c3e50;cursor:pointer;transition:all .2s ease;text-align:center}.power-button:hover{background:#ecf0f1;border-color:#3498db}.power-button.active{background:#27ae60;color:#fff;border-color:#2ecc71;font-weight:700}.unit-input{padding:4px 8px;border:1px solid #ddd;border-radius:4px;font-size:12px;width:80px;text-align:center}.unit-input:focus{outline:none;border-color:#06c;box-shadow:0 0 0 2px #0066cc1a}.unit-convert-button{padding:4px 8px;background:#06c;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:12px;transition:background-color .15s ease}.unit-convert-button:hover{background:#0052a3}.format-toggle{display:grid;grid-template-columns:repeat(3,1fr);gap:.25rem;padding:.5rem}.format-option{padding:.3rem;font-size:.75rem;font-weight:600;border:1px solid #bdc3c7;border-radius:4px;background:#fff;color:#2c3e50;cursor:pointer;transition:all .2s ease;text-align:center}.format-option:hover{background:#ecf0f1;border-color:#3498db}.format-option.active{background:#27ae60;color:#fff;border-color:#2ecc71;font-weight:700}.document-preview-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:9999}.document-preview-modal{background:#fff;border-radius:8px;box-shadow:0 4px 20px #0000004d;width:98vw;height:98vh;display:flex;flex-direction:column;overflow:hidden}.preview-header{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.5rem;border-bottom:1px solid #e5e7eb;background:#f9fafb}.preview-header .preview-title h3{margin:0;font-size:1.25rem;font-weight:600;color:#111827}.preview-header .preview-title .preview-subtitle{font-size:.875rem;color:#6b7280;margin-top:.25rem}.preview-header .preview-actions{display:flex;gap:.75rem}.preview-header .preview-actions .pdf-btn{background:#3b82f6;color:#fff;border:none;padding:.5rem 1rem;border-radius:6px;cursor:pointer;font-size:.875rem;font-weight:500;transition:background .2s}.preview-header .preview-actions .pdf-btn:hover:not(:disabled){background:#2563eb}.preview-header .preview-actions .pdf-btn:disabled{background:#d1d5db;color:#9ca3af;cursor:not-allowed}.preview-header .preview-actions .close-btn{background:#ef4444;color:#fff;border:none;padding:.5rem 1rem;border-radius:6px;cursor:pointer;font-size:.875rem;font-weight:500;transition:background .2s}.preview-header .preview-actions .close-btn:hover{background:#dc2626}.preview-content{flex:1;display:flex;flex-direction:column;background:#f3f4f6;position:relative;overflow:hidden}.preview-main-content{flex:1;display:flex;overflow:hidden}.pdf-navigation{display:flex;gap:.5rem;padding:1rem;background:#fff;border-bottom:2px solid #e5e7eb}.pdf-navigation .nav-btn{flex:1;background:#f9fafb;color:#6b7280;border:2px solid #e5e7eb;padding:.75rem 1.5rem;border-radius:8px;cursor:pointer;font-size:.95rem;font-weight:500;transition:all .2s;position:relative}.pdf-navigation .nav-btn:hover:not(:disabled){background:#f3f4f6;border-color:#d1d5db;transform:translateY(-1px)}.pdf-navigation .nav-btn.active{background:#3b82f6;color:#fff;border-color:#3b82f6;box-shadow:0 4px 12px #3b82f64d}.pdf-navigation .nav-btn.active:hover{background:#2563eb;border-color:#2563eb}.pdf-navigation .nav-btn:disabled{background:#f3f4f6;color:#d1d5db;cursor:not-allowed;transform:none;border-color:#e5e7eb}.pdf-navigation .nav-btn .cached-indicator{position:absolute;top:8px;right:8px;color:#10b981;font-size:.75rem;background:#10b98126;border-radius:50%;width:14px;height:14px;display:flex;align-items:center;justify-content:center}.pdf-loading{flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;color:#6b7280;gap:1rem}.pdf-loading .loading-spinner{font-size:3rem;animation:spin 2s linear infinite}.pdf-loading .loading-subtitle{font-size:.875rem;color:#9ca3af}.pdf-loading>div:not(.loading-spinner):not(.loading-subtitle){font-size:1.25rem;font-weight:600;color:#374151}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.pdf-composer-sidebar{width:320px;background:#fff;border-right:2px solid #e5e7eb;display:flex;flex-direction:column;overflow:hidden}.pdf-composer-sidebar h4{margin:0;padding:1rem;font-size:1.1rem;color:#374151;border-bottom:1px solid #e5e7eb}.pdf-composer-sidebar .composer-upload{padding:1rem;border-bottom:1px solid #e5e7eb}.pdf-composer-sidebar .composer-upload .upload-btn{background:#6b7280;color:#fff;border:none;padding:.75rem;border-radius:4px;cursor:pointer;font-weight:500;text-align:center;transition:background .2s;display:block;width:100%}.pdf-composer-sidebar .composer-upload .upload-btn:hover{background:#4b5563}.pdf-composer-sidebar .composer-hint{margin:0;padding:.75rem 1rem;font-size:.8rem;color:#6b7280;background:#f9fafb;border-bottom:1px solid #e5e7eb}.pdf-composer-sidebar .pdf-items-list{flex:1;overflow-y:auto;padding:.5rem}.pdf-composer-sidebar .pdf-items-list .pdf-item{background:#fff;border:2px solid #e5e7eb;border-radius:8px;padding:.75rem;margin-bottom:.5rem;cursor:move;transition:all .2s}.pdf-composer-sidebar .pdf-items-list .pdf-item:hover{border-color:#9ca3af;box-shadow:0 2px 8px #9ca3af1a}.pdf-composer-sidebar .pdf-items-list .pdf-item.generating{opacity:.6;border-color:#d1d5db;border-style:dashed;cursor:not-allowed;pointer-events:none}.pdf-composer-sidebar .pdf-items-list .pdf-item.generating .pdf-item-name{color:#9ca3af}.pdf-composer-sidebar .pdf-items-list .pdf-item.generating .generating-text{color:#6b7280;font-style:italic;font-size:.75rem}.pdf-composer-sidebar .pdf-items-list .pdf-item.excluded{opacity:.5;border-color:#d1d5db}.pdf-composer-sidebar .pdf-items-list .pdf-item.excluded .pdf-item-name{text-decoration:line-through}.pdf-composer-sidebar .pdf-items-list .pdf-item .pdf-item-header{display:flex;align-items:center;gap:.5rem;margin-bottom:.5rem}.pdf-composer-sidebar .pdf-items-list .pdf-item .pdf-item-header input[type=checkbox]{width:18px;height:18px;cursor:pointer}.pdf-composer-sidebar .pdf-items-list .pdf-item .pdf-item-header .pdf-item-name{flex:1;font-size:.9rem;font-weight:500;color:#374151;cursor:pointer}.pdf-composer-sidebar .pdf-items-list .pdf-item .pdf-item-header .pdf-item-name:hover{color:#111827;text-decoration:underline}.pdf-composer-sidebar .pdf-items-list .pdf-item .pdf-item-header .remove-btn{background:#6b7280;color:#fff;border:none;border-radius:4px;width:20px;height:20px;cursor:pointer;font-size:1.1rem;line-height:0;display:flex;align-items:center;justify-content:center;padding:0;flex-shrink:0;transition:all .2s ease}.pdf-composer-sidebar .pdf-items-list .pdf-item .pdf-item-header .remove-btn:hover{background:#ef4444;transform:scale(1.1)}.pdf-composer-sidebar .pdf-items-list .pdf-item .pdf-item-meta{display:flex;justify-content:space-between;align-items:center;font-size:.75rem;color:#9ca3af}.pdf-composer-sidebar .pdf-items-list .pdf-item .pdf-item-meta .drag-handle{font-size:1.2rem;color:#d1d5db;cursor:grab}.pdf-composer-sidebar .pdf-items-list .pdf-item .pdf-item-meta .drag-handle:active{cursor:grabbing}.pdf-composer-sidebar .composer-actions{padding:1rem;border-top:1px solid #d1d5db;display:flex;flex-direction:column;gap:.75rem}.pdf-composer-sidebar .composer-actions .pending-uploads-notice{padding:.5rem;background:#fef3c7;border:1px solid #fbbf24;border-radius:4px;color:#92400e;font-size:.8rem;text-align:center;font-weight:500}.pdf-composer-sidebar .composer-actions .save-btn{background:#10b981;color:#fff;border:none;padding:.75rem;border-radius:4px;cursor:pointer;font-weight:500;transition:background .2s;font-size:.9rem;width:100%}.pdf-composer-sidebar .composer-actions .save-btn:hover:not(:disabled){background:#059669}.pdf-composer-sidebar .composer-actions .save-btn.has-pending{background:#f59e0b}.pdf-composer-sidebar .composer-actions .save-btn.has-pending:hover{background:#d97706}.pdf-composer-sidebar .composer-actions .save-btn:disabled{background:#d1d5db;cursor:not-allowed}.pdf-composer-sidebar .composer-actions .merge-btn{background:#374151;color:#fff;border:none;padding:.75rem;border-radius:4px;cursor:pointer;font-weight:500;transition:background .2s;font-size:.9rem;width:100%}.pdf-composer-sidebar .composer-actions .merge-btn:hover:not(:disabled){background:#1f2937}.pdf-composer-sidebar .composer-actions .merge-btn.needs-update{background:#3b82f6}.pdf-composer-sidebar .composer-actions .merge-btn.needs-update:hover{background:#2563eb}.pdf-composer-sidebar .composer-actions .merge-btn:disabled{background:#d1d5db;color:#9ca3af;cursor:not-allowed}.pdf-composer-sidebar .merged-result{border-top:1px solid #d1d5db}.pdf-composer-sidebar .merged-result .merged-divider{height:1px;background:#d1d5db;margin:1rem}.pdf-composer-sidebar .merged-result .merged-document{margin:0 1rem 1rem;padding:1rem;border:2px solid #e5e7eb;border-radius:6px;cursor:pointer;transition:all .2s}.pdf-composer-sidebar .merged-result .merged-document:hover{border-color:#9ca3af;background:#f9fafb}.pdf-composer-sidebar .merged-result .merged-document.generating{opacity:.5;background:#f9fafb;border-style:solid;cursor:not-allowed;pointer-events:none}.pdf-composer-sidebar .merged-result .merged-document.generating .merged-name{color:#9ca3af}.pdf-composer-sidebar .merged-result .merged-document.generating .merged-status{color:#6b7280;font-style:italic}.pdf-composer-sidebar .merged-result .merged-document.outdated{opacity:.6;background:#f3f4f6;border-style:dashed}.pdf-composer-sidebar .merged-result .merged-document.outdated .merged-name{color:#6b7280}.pdf-composer-sidebar .merged-result .merged-document.outdated .merged-status{color:#ef4444;font-weight:500}.pdf-composer-sidebar .merged-result .merged-document.up-to-date{background:#fff;border-style:solid}.pdf-composer-sidebar .merged-result .merged-document.up-to-date .merged-name{color:#111827;font-weight:500}.pdf-composer-sidebar .merged-result .merged-document.up-to-date .merged-status{color:#10b981}.pdf-composer-sidebar .merged-result .merged-document .merged-name{font-size:.95rem;margin-bottom:.5rem}.pdf-composer-sidebar .merged-result .merged-document .merged-status{font-size:.75rem}.pdf-error{flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center}.pdf-error div{color:#ef4444;font-size:1rem;margin-bottom:1rem}.pdf-error button{background:#3b82f6;color:#fff;border:none;padding:.5rem 1rem;border-radius:6px;cursor:pointer;font-size:.875rem;font-weight:500;transition:background .2s}.pdf-error button:hover:not(:disabled){background:#2563eb}.pdf-error button:disabled{background:#d1d5db;color:#9ca3af;cursor:not-allowed}.pdf-iframe{flex:1;width:100%;border:none;background:#fff}.preview-page{display:flex;flex-direction:column;background:#fff;margin-bottom:2rem;box-shadow:0 4px 16px #0000001a;border-radius:8px;overflow:hidden;min-height:800px;max-width:800px;margin-left:auto;margin-right:auto}.preview-page:last-child{margin-bottom:0}.preview-page .page-header{display:flex;justify-content:space-between;align-items:center;padding:.75rem 1rem;background:#f3f4f6;border-bottom:1px solid #d1d5db;font-size:.875rem;font-weight:500;color:#374151}.preview-page .page-body{flex:1;padding:2rem;overflow-y:auto}.preview-page .page-body .ProseMirror{outline:none}.preview-page .page-body .ProseMirror h1,.preview-page .page-body .ProseMirror h2,.preview-page .page-body .ProseMirror h3,.preview-page .page-body .ProseMirror h4,.preview-page .page-body .ProseMirror h5,.preview-page .page-body .ProseMirror h6{margin-top:1.5em;margin-bottom:.75em;font-weight:600}.preview-page .page-body .ProseMirror h1{font-size:2rem}.preview-page .page-body .ProseMirror h2{font-size:1.5rem}.preview-page .page-body .ProseMirror h3{font-size:1.25rem}.preview-page .page-body .ProseMirror p{margin-bottom:1em;line-height:1.6}.preview-page .page-body .ProseMirror ul,.preview-page .page-body .ProseMirror ol{margin:1em 0;padding-left:2em}.preview-page .page-body .ProseMirror blockquote{border-left:4px solid #d1d5db;margin:1.5em 0;padding-left:1em;font-style:italic;color:#6b7280}.preview-page .page-body .ProseMirror code{background:#f3f4f6;padding:.2em .4em;border-radius:3px;font-size:.875em}.preview-page .page-body div[data-type=mathCanvas2],.preview-page .page-body div[data-type=beamAnalysis],.preview-page .page-body div[data-type=loadsNode]{margin:1.5em 0;border:1px solid #e5e7eb;border-radius:6px;overflow:hidden;page-break-inside:avoid}.preview-page .page-footer{padding:.75rem 1rem;background:#f9fafb;border-top:1px solid #e5e7eb;text-align:center;font-size:.75rem;color:#9ca3af}.pagination-controls{display:flex;justify-content:center;align-items:center;gap:1rem;padding:1rem;border-top:1px solid #e5e7eb;background:#f9fafb}.pagination-controls .pagination-btn{background:#3b82f6;color:#fff;border:none;padding:.5rem 1rem;border-radius:6px;cursor:pointer;font-size:.875rem;font-weight:500;transition:all .2s}.pagination-controls .pagination-btn:hover:not(:disabled){background:#2563eb;transform:translateY(-1px)}.pagination-controls .pagination-btn:disabled{background:#d1d5db;color:#9ca3af;cursor:not-allowed;transform:none}.pagination-controls .page-info{font-size:.875rem;font-weight:500;color:#374151;min-width:120px;text-align:center}.preview-selection{flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:2rem}.preview-selection h4{font-size:1.25rem;font-weight:600;color:#374151;margin-bottom:2rem}.preview-selection .selection-buttons{display:flex;gap:1.5rem}.preview-selection .selection-buttons .selection-btn{background:#3b82f6;color:#fff;border:none;padding:1.5rem 2rem;border-radius:8px;cursor:pointer;font-size:1rem;font-weight:500;transition:all .2s;position:relative;min-width:200px}.preview-selection .selection-buttons .selection-btn:hover:not(:disabled){background:#2563eb;transform:translateY(-2px);box-shadow:0 8px 25px #3b82f64d}.preview-selection .selection-buttons .selection-btn:disabled{background:#d1d5db;color:#9ca3af;cursor:not-allowed;transform:none}.preview-selection .selection-buttons .selection-btn.cover-btn{background:#059669}.preview-selection .selection-buttons .selection-btn.cover-btn:hover:not(:disabled){background:#047857}.preview-selection .selection-buttons .selection-btn.merged-btn{background:#7c3aed}.preview-selection .selection-buttons .selection-btn.merged-btn:hover:not(:disabled){background:#6d28d9}.preview-selection .selection-buttons .selection-btn.composer-toggle{background:#f59e0b}.preview-selection .selection-buttons .selection-btn.composer-toggle:hover:not(:disabled){background:#d97706}.preview-selection .selection-buttons .selection-btn.composer-toggle.active{background:#d97706}.preview-selection .selection-buttons .selection-btn.needs-update{border:2px solid #f59e0b;animation:pulse 2s infinite}.preview-selection .selection-buttons .selection-btn .cached-indicator{position:absolute;top:8px;right:8px;color:#10b981;font-size:.75rem;background:#10b9811a;border-radius:50%;width:16px;height:16px;display:flex;align-items:center;justify-content:center}.preview-selection .selection-buttons .selection-btn .update-indicator{position:absolute;top:6px;right:6px;color:#f59e0b;font-size:1rem;font-weight:700;animation:pulse 2s infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.6}}.back-to-selection{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.5rem;background:#f9fafb;border-bottom:1px solid #e5e7eb}.back-to-selection .back-btn{background:#6b7280;color:#fff;border:none;padding:.5rem 1rem;border-radius:6px;cursor:pointer;font-size:.875rem;font-weight:500;transition:background .2s}.back-to-selection .back-btn:hover{background:#4b5563}.back-to-selection .current-view-indicator{font-weight:600;color:#374151;font-size:.875rem}@media (max-width: 768px){.document-preview-modal{width:95vw;height:95vh}.preview-page .page-body{padding:1rem}.pagination-controls{flex-direction:column;gap:.5rem}.pagination-controls .page-info{min-width:auto}.preview-selection .selection-buttons{flex-direction:column;gap:1rem}.preview-selection .selection-buttons .selection-btn{min-width:250px}}.delete-pdf-modal{width:420px!important;max-width:90vw;padding:1.5rem;background:#fff;border-radius:8px;position:relative}.delete-pdf-modal .modal-close-button{position:absolute;top:.75rem;right:.75rem;width:28px;height:28px;border-radius:4px;background:#f3f4f6;border:none;font-size:1.5rem;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;color:#6b7280;transition:all .2s ease}.delete-pdf-modal .modal-close-button:hover{background:#ef4444;color:#fff}.delete-pdf-modal h2{margin-bottom:.75rem;color:#dc2626;font-size:1.25rem;padding-right:2rem}.delete-pdf-modal p{margin-bottom:.5rem;line-height:1.4;font-size:.9rem}.delete-pdf-modal p:last-of-type{margin-bottom:1rem;font-size:.85rem;color:#6b7280}.delete-pdf-modal strong{color:#111827}.delete-pdf-modal .form-actions{display:flex;gap:.5rem;justify-content:flex-end;margin-top:1rem}.delete-pdf-modal .form-actions button{min-width:90px;padding:.5rem 1rem;font-size:.9rem}.loading-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:10000;animation:fadeIn .2s ease}.loading-modal{background:#fff;border-radius:12px;padding:2.5rem 3rem;box-shadow:0 20px 60px #0000004d;text-align:center;max-width:400px;animation:slideUp .3s ease}.loading-modal h3{margin:1rem 0 .5rem;font-size:1.25rem;font-weight:600;color:#111827}.loading-modal .loading-filename{margin:.5rem 0;font-size:.9rem;color:#3b82f6;font-weight:500;word-break:break-word}.loading-modal .loading-hint{margin:.75rem 0 0;font-size:.85rem;color:#6b7280}.loading-spinner{width:50px;height:50px;margin:0 auto;border:4px solid #e5e7eb;border-top-color:#3b82f6;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideUp{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}
