:root{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;line-height:1.5;font-weight:400;color-scheme:light;color:#213547;background-color:#f8f9fa;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background-color:#f8f9fa}#root{display:flex;flex-direction:column;min-height:100vh}a{font-weight:500;color:#667eea;text-decoration:inherit;transition:color .2s ease}a:hover{color:#764ba2}h1{font-size:2.5rem;line-height:1.2;font-weight:700;margin:0 0 1rem;color:#2c3e50}h2{font-size:2rem;line-height:1.3;font-weight:600;margin:0 0 .75rem;color:#34495e}h3{font-size:1.5rem;line-height:1.4;font-weight:600;margin:0 0 .5rem;color:#34495e}h4{font-size:1.25rem;line-height:1.4;font-weight:600;margin:0 0 .5rem;color:#34495e}button{border-radius:8px;border:none;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;cursor:pointer;transition:all .2s ease}button:hover{transform:translateY(-2px)}button:focus,button:focus-visible{outline:2px solid #667eea;outline-offset:2px}button:disabled{opacity:.6;cursor:not-allowed;transform:none}input,textarea,select{font-family:inherit;font-size:1rem;padding:.75rem;border:2px solid #e0e0e0;border-radius:8px;transition:border-color .2s ease,box-shadow .2s ease;background-color:#fff}input:focus,textarea:focus,select:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}textarea{resize:vertical;min-height:100px}label{font-weight:500;color:#34495e;display:block;margin-bottom:.5rem}.container{max-width:1400px;margin:0 auto;padding:2rem;width:100%}.card{background:#fff;border-radius:12px;padding:2rem;box-shadow:0 2px 8px #00000014;transition:box-shadow .2s ease}.card:hover{box-shadow:0 4px 16px #0000001f}.btn{padding:.75rem 1.5rem;border-radius:8px;font-weight:500;font-size:1rem;cursor:pointer;transition:all .2s ease;border:none;text-decoration:none;display:inline-block;text-align:center}.btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;font-weight:600}.btn-primary:hover{box-shadow:0 4px 12px #667eea66}.btn-secondary{background-color:#6c757d;color:#fff}.btn-secondary:hover{background-color:#5a6268}.btn-success{background-color:#28a745;color:#fff}.btn-success:hover{background-color:#218838;box-shadow:0 4px 12px #28a74566}.btn-danger{background-color:#dc3545;color:#fff}.btn-danger:hover{background-color:#c82333;box-shadow:0 4px 12px #dc354566}.btn-outline{background-color:transparent;border:2px solid #667eea;color:#667eea}.btn-outline:hover{background-color:#667eea;color:#fff}.btn-outline-light{background-color:#fff;border:2px solid #667eea;color:#667eea}.btn-outline-light:hover{background-color:#667eea;color:#fff}.btn-sm{padding:.4rem .8rem;font-size:.875rem}.alert{padding:1rem 1.5rem;border-radius:8px;margin-bottom:1rem;border-left:4px solid}.alert-success{background-color:#d4edda;border-color:#28a745;color:#155724}.alert-error{background-color:#f8d7da;border-color:#dc3545;color:#721c24}.alert-warning{background-color:#fff3cd;border-color:#ffc107;color:#856404}.alert-info{background-color:#d1ecf1;border-color:#17a2b8;color:#0c5460}.badge{display:inline-block;padding:.25rem .75rem;border-radius:12px;font-size:.875rem;font-weight:600}.badge-success{background-color:#28a745;color:#fff}.badge-danger{background-color:#dc3545;color:#fff}.badge-info{background-color:#17a2b8;color:#fff}@media(max-width:768px){.container{padding:1rem}h1{font-size:2rem}h2{font-size:1.75rem}}.header{background:linear-gradient(135deg,#667eea,#764ba2);box-shadow:0 2px 10px #0000001a;position:sticky;top:0;z-index:1000}.header-container{max-width:1400px;margin:0 auto;padding:1rem 2rem;display:flex;justify-content:space-between;align-items:center;gap:2rem}.logo{display:flex;align-items:center;gap:.75rem;text-decoration:none;color:#fff;font-size:1.5rem;font-weight:700;transition:transform .2s ease}.logo:hover{transform:scale(1.05)}.logo-image{height:40px;width:auto;object-fit:contain}.logo-text{font-size:1.5rem}.nav{display:flex;gap:1.5rem;align-items:center;flex:1}.nav-link{color:#fff;text-decoration:none;font-weight:500;padding:.5rem 1rem;border-radius:8px;transition:all .2s ease}.nav-link:hover{background-color:#ffffff1a}.nav-link-primary{background-color:#fff3}.nav-link-primary:hover{background-color:#ffffff4d}.nav-menu{position:relative}.nav-menu-button{display:flex;align-items:center;gap:.5rem;background:none;border:none;color:#fff;font-weight:500;font-size:1rem;padding:.5rem 1rem;border-radius:8px;cursor:pointer;transition:all .2s ease;font-family:inherit}.nav-menu-button:hover{background-color:#ffffff1a}.nav-menu-arrow{font-size:.7rem;transition:transform .2s ease}.nav-menu-dropdown{position:absolute;top:100%;left:0;margin-top:.5rem;background:#fff;border-radius:8px;box-shadow:0 4px 20px #00000026;min-width:200px;z-index:1000;overflow:hidden;animation:dropdownFadeIn .2s ease}@keyframes dropdownFadeIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.nav-menu-item{display:block;color:#2c3e50;text-decoration:none;font-weight:500;padding:.75rem 1.25rem;transition:all .2s ease;border-bottom:1px solid #f0f0f0}.nav-menu-item:last-child{border-bottom:none}.nav-menu-item:hover{background-color:#f8f9fa;color:#667eea}.header-auth{display:flex;align-items:center;gap:1rem}.profile-menu{position:relative}.profile-icon-button{display:flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;background:#fff3;border:2px solid rgba(255,255,255,.5);border-radius:50%;color:#fff;cursor:pointer;transition:all .2s ease;outline:none}.profile-icon-button:focus,.profile-icon-button:focus-visible{outline:none}.profile-icon-button:hover{background:#ffffff4d;border-color:#fff}.profile-icon{font-size:1.25rem;line-height:1;filter:brightness(0) invert(1)}.profile-dropdown-backdrop{position:fixed;inset:0;z-index:999;background:transparent;cursor:default}.profile-dropdown{background:#fff;border-radius:8px;box-shadow:0 4px 20px #00000026;min-width:220px;overflow:hidden;animation:dropdownFadeIn .2s ease}.profile-dropdown-overlay{position:fixed;box-shadow:0 8px 32px #0003;z-index:1001}.profile-dropdown-email{padding:1rem 1.25rem;color:#6c757d;font-size:.9rem;border-bottom:1px solid #f0f0f0;word-break:break-all}.profile-dropdown-item{display:flex;align-items:center;gap:.75rem;width:100%;padding:.75rem 1.25rem;background:none;border:none;color:#2c3e50;font-weight:500;font-size:.95rem;text-align:left;cursor:pointer;transition:background-color .2s ease;font-family:inherit}.profile-dropdown-item-icon{display:flex;align-items:center;flex-shrink:0;opacity:.85}.profile-dropdown-item-icon svg{width:18px;height:18px}.profile-dropdown-item:hover{background-color:#f8f9fa;color:#667eea}.user-menu{display:flex;align-items:center;gap:1rem}.user-email{color:#fff;font-weight:500;font-size:.9rem}.auth-links{display:flex;gap:.75rem}.header .btn,.header .auth-links .btn{padding:.6rem 1.2rem;border-radius:8px;font-weight:500;font-size:.95rem;cursor:pointer;transition:all .2s ease;border:none;text-decoration:none;display:inline-block}.header .btn-primary,.header .auth-links .btn-primary{background-color:#fff;color:#667eea;font-weight:600}.header .btn-primary:hover,.header .auth-links .btn-primary:hover{background-color:#fffffff2;transform:translateY(-2px);box-shadow:0 4px 8px #0003;color:#667eea}.header .btn-outline,.header .auth-links .btn-outline{background-color:transparent;color:#fff;border:2px solid white}.header .btn-outline:hover,.header .auth-links .btn-outline:hover{background-color:#ffffff1a}.header .btn-logout{padding:.5rem 1rem;font-size:.9rem}.burger-button{display:none;flex-direction:column;justify-content:center;gap:5px;width:44px;height:44px;padding:0;background:none;border:none;cursor:pointer;color:#fff;outline:none}.burger-button:focus,.burger-button:focus-visible{outline:none}.burger-line{display:block;width:24px;height:2px;background:#fff;border-radius:1px;transition:transform .3s ease,opacity .3s ease}.mobile-menu-backdrop{position:fixed;inset:0;z-index:998;background:#0006;cursor:default;animation:headerFadeIn .2s ease}@keyframes headerFadeIn{0%{opacity:0}to{opacity:1}}.mobile-menu{position:fixed;top:0;right:0;bottom:0;width:280px;max-width:85vw;background:#fff;z-index:999;display:flex;flex-direction:column;box-shadow:-4px 0 24px #00000026;animation:slideInRight .3s ease}@keyframes slideInRight{0%{transform:translate(100%)}to{transform:translate(0)}}.mobile-menu-header{display:flex;justify-content:flex-end;padding:1rem 1.25rem;border-bottom:1px solid #f0f0f0}.mobile-menu-close{width:40px;height:40px;display:flex;align-items:center;justify-content:center;background:none;border:none;font-size:1.25rem;color:#6c757d;cursor:pointer;border-radius:8px;transition:background-color .2s,color .2s}.mobile-menu-close:hover{background:#f8f9fa;color:#2c3e50}.mobile-menu-nav{flex:1;padding:1rem 0;overflow-y:auto}.mobile-menu-section{padding:0 1rem 1.5rem}.mobile-menu-section:last-child{padding-bottom:0}.mobile-menu-section-title{display:block;font-size:.75rem;font-weight:600;color:#95a5a6;text-transform:uppercase;letter-spacing:.05em;margin-bottom:.75rem;padding:0 .5rem}.mobile-menu-item{display:block;padding:.75rem 1rem;color:#2c3e50;text-decoration:none;font-weight:500;border-radius:8px;transition:background-color .2s,color .2s}.mobile-menu-item:hover{background:#f8f9fa;color:#667eea}.mobile-menu-expand-trigger{display:flex;align-items:center;justify-content:space-between;width:100%;padding:.75rem 1rem;background:none;border:none;color:#2c3e50;font-weight:500;font-size:1rem;cursor:pointer;border-radius:8px;text-align:left;font-family:inherit;transition:background-color .2s,color .2s;outline:none;-webkit-tap-highlight-color:transparent}.mobile-menu-expand-trigger:focus,.mobile-menu-expand-trigger:focus-visible,.mobile-menu-expand-trigger:active{outline:none}.mobile-menu-expand-trigger:hover{background:#f8f9fa;color:#667eea}.mobile-menu-expand-arrow{font-size:.7rem;opacity:.7}.mobile-menu-sub{padding-left:1rem;margin-top:.25rem}.mobile-menu-sub .mobile-menu-item{padding:.6rem 1rem;font-size:.95rem}.mobile-menu-account-row{display:flex;align-items:center;gap:.5rem;padding:0 .5rem}.mobile-menu-account-row .mobile-menu-section-title{margin-bottom:0;flex-shrink:0}.mobile-menu-account-row .mobile-menu-email{font-size:.9rem;color:#6c757d;word-break:break-all;overflow:hidden;text-overflow:ellipsis}.mobile-menu-footer{padding:1rem 1.25rem;border-top:1px solid #f0f0f0;margin-top:auto;display:flex;flex-direction:column;gap:.75rem;align-items:center}.mobile-menu-footer .mobile-menu-email{text-align:center}.mobile-menu-profile{display:flex;flex-direction:column;gap:.75rem}.mobile-menu-email{font-size:.9rem;color:#6c757d;word-break:break-all}.mobile-menu-logout{display:flex;align-items:center;justify-content:center;gap:.75rem;padding:.75rem 1rem;background:none;border:none;color:#2c3e50;font-weight:500;font-size:.95rem;cursor:pointer;border-radius:8px;transition:background-color .2s,color .2s;font-family:inherit;width:100%}.mobile-menu-logout:hover{background:#f8f9fa;color:#667eea}@media(max-width:768px){.header-container{padding:1rem}.burger-button{display:flex}.nav-desktop,.header-auth-desktop{display:none!important}.logo-text{font-size:1.25rem}}.footer{background:linear-gradient(135deg,#2c3e50,#34495e);color:#fff;margin-top:auto;padding:1.5rem 0}.footer-container{max-width:1400px;margin:0 auto;padding:0 2rem}.footer-content{display:flex;justify-content:center;gap:4rem;margin-bottom:2rem;flex-wrap:wrap}.footer-section h3{margin:0 0 1rem;font-size:1.5rem;color:#fff}.footer-section h4{margin:0 0 1rem;font-size:1.1rem;color:#ecf0f1}.footer-section p{margin:0;color:#bdc3c7;line-height:1.6}.footer-section ul{list-style:none;padding:0;margin:0}.footer-section ul li{margin-bottom:.5rem}.footer-section a{color:#bdc3c7;text-decoration:none;transition:color .2s ease}.footer-section a:hover{color:#fff}.footer-bottom{text-align:center;color:#95a5a6;font-size:.9rem}.footer-company{margin-top:.5rem;font-size:.85rem}@media(max-width:768px){.footer-container{padding:0 1rem}}.loading-container{display:flex;justify-content:center;align-items:center;min-height:50vh}.login-container{max-width:450px;margin:3rem auto}.login-title{text-align:center;margin-bottom:2rem}.login-form-group{margin-bottom:1.5rem}.login-input{width:100%;margin-top:.5rem}.login-button{width:100%;margin-bottom:1.5rem}.login-footer{text-align:center;padding-top:1rem;border-top:1px solid #e0e0e0}.login-footer-text{color:#6c757d;margin:0}.login-link{font-weight:600}.login-not-activated{text-align:left}.login-not-activated-title{font-weight:600;margin-bottom:.5rem}.login-not-activated-resend{margin-top:.75rem;margin-bottom:0}.btn-link{background:none;border:none;padding:0;color:#667eea;font-weight:600;text-decoration:underline;cursor:pointer}.btn-link:hover:not(:disabled){color:#764ba2}.register-container{max-width:450px;margin:3rem auto}.register-title{text-align:center;margin-bottom:2rem}.register-form-group{margin-bottom:1.5rem}.register-input{width:100%;margin-top:.5rem}.register-help-text{display:block;margin-top:.5rem;color:#6c757d;font-size:.875rem}.register-button{width:100%;margin-bottom:1.5rem}.register-footer{text-align:center;padding-top:1rem;border-top:1px solid #e0e0e0}.register-footer-text{color:#6c757d;margin:0}.register-link{font-weight:600}.register-success-message{margin-bottom:1.5rem}.register-success-title{font-weight:600;margin-bottom:.5rem}.forgot-password-description{text-align:center;color:#6c757d;margin-bottom:2rem;line-height:1.6}.success-info{text-align:center;padding:1rem 0}.success-info-text{color:#2c3e50;margin-bottom:1rem;line-height:1.6}.success-info-note{color:#6c757d;font-size:.9rem;margin:0;line-height:1.5}.loading-container{text-align:center;padding:2rem}.loading-text{color:#6c757d;font-size:1rem}.activate-description{color:#6c757d;margin-bottom:1.5rem;line-height:1.6}.activate-button{width:100%;margin-bottom:1rem}.activate-success-note{color:#6c757d;font-size:.9rem;margin-top:1rem;text-align:center}.confirm-delete-modal-overlay{position:fixed;inset:0;background-color:#00000080;display:flex;justify-content:center;align-items:center;z-index:2000;padding:1rem}.confirm-delete-modal-content{background:#fff;border-radius:12px;padding:2.5rem;max-width:500px;width:100%;box-shadow:0 10px 40px #0003;animation:confirmDeleteModalFadeIn .2s ease;box-sizing:border-box}@keyframes confirmDeleteModalFadeIn{0%{opacity:0;transform:scale(.9)}to{opacity:1;transform:scale(1)}}.confirm-delete-modal-content h2{margin:0 0 1.5rem;color:#dc3545;font-size:1.5rem;font-weight:600}.confirm-delete-modal-content p{margin:0 0 1rem;color:#34495e;line-height:1.6;font-size:1rem}.confirm-delete-modal-content .modal-warning-text{color:#dc3545;font-weight:600;margin-top:1.5rem;margin-bottom:1rem}.confirm-delete-modal-content .modal-input{width:100%;margin-top:.75rem;margin-bottom:.5rem;padding:.875rem 1rem;border:2px solid #e0e0e0;border-radius:6px;font-size:1rem;box-sizing:border-box;transition:border-color .2s}.confirm-delete-modal-content .modal-input:focus{outline:none;border-color:#dc3545}.confirm-delete-modal-content .modal-error{margin-top:.75rem;margin-bottom:.5rem;padding:.75rem 1rem;border-radius:6px}.confirm-delete-modal-content .modal-actions{display:flex;gap:1rem;justify-content:flex-end;margin-top:2rem;padding-top:1rem}.share-modal-overlay{position:fixed;inset:0;background-color:#00000080;display:flex;justify-content:center;align-items:center;z-index:2000;padding:1rem}.share-modal-content{background:#fff;border-radius:12px;padding:2.5rem;max-width:500px;width:100%;box-shadow:0 10px 40px #0003;animation:shareModalFadeIn .2s ease;box-sizing:border-box}@keyframes shareModalFadeIn{0%{opacity:0;transform:scale(.9)}to{opacity:1;transform:scale(1)}}.share-modal-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.5rem}.share-modal-header h2{margin:0;font-size:1.5rem;color:#2c3e50}.share-modal-close-button{background:none;border:none;cursor:pointer;font-size:1.2rem;padding:.25rem;line-height:1;color:#6c757d;transition:background-color .2s,color .2s;border-radius:6px}.share-modal-close-button:hover{background:#f8f9fa;color:#2c3e50}.share-modal-body{display:flex;flex-direction:column;gap:1.25rem}.share-modal-text{margin:0;color:#34495e}.share-link-container{display:flex;gap:.75rem;align-items:center}.share-link-input{flex:1;padding:.6rem .75rem;border-radius:6px;border:1px solid #d1d5db;font-size:.95rem;background-color:#f9fafb;box-sizing:border-box}.share-link-input:focus{outline:2px solid #667eea;outline-offset:1px}.share-copy-button{white-space:nowrap}.share-actions-row{display:flex;justify-content:flex-end}.template-select-modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:2rem;animation:templateSelectModalFadeIn .2s ease}@keyframes templateSelectModalFadeIn{0%{opacity:0}to{opacity:1}}.template-select-modal-content{background:#fff;border-radius:12px;box-shadow:0 8px 32px #0003;max-width:800px;width:100%;max-height:85vh;display:flex;flex-direction:column;overflow:hidden}.template-select-modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.25rem 1.5rem;border-bottom:1px solid #f0f0f0}.template-select-modal-header h2{margin:0;font-size:1.25rem;color:#2c3e50}.template-select-modal-close{width:36px;height:36px;display:flex;align-items:center;justify-content:center;background:none;border:none;font-size:1.25rem;color:#6c757d;cursor:pointer;border-radius:8px;transition:background-color .2s,color .2s}.template-select-modal-close:hover{background:#f8f9fa;color:#2c3e50}.template-select-modal-body{padding:1.5rem;overflow-y:auto}.template-select-modal-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:.75rem}.template-select-modal-card{cursor:pointer;transition:transform .2s;padding:1rem}.template-select-modal-card:hover{transform:translateY(-2px)}.template-select-modal-card-title{font-size:.95rem;margin:0 0 .5rem;min-height:2.4em;line-height:1.2;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.template-select-modal-card-meta{font-size:.8rem;color:#6c757d;margin:0 0 .15rem}.template-select-modal-card-meta:last-of-type{margin-bottom:0}.template-select-modal-card-button{width:100%;margin-top:.75rem;padding:.5rem .75rem;font-size:.85rem}.template-select-modal-empty{text-align:center;padding:2rem}.template-select-modal-empty-text{margin:0;color:#6c757d}.form-card{display:flex;flex-direction:column;padding-bottom:1rem}.form-card-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:.1rem;gap:1rem}.form-card-header-right{display:flex;align-items:center;gap:.75rem;flex-shrink:0}.form-card-title{margin:0;flex:1;font-size:1.1rem}.form-card-description{color:#6c757d;margin-bottom:1rem;flex:1;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;line-height:1.5;max-height:3em}.form-card-actions{display:flex;flex-direction:column;gap:.75rem;margin-top:auto;padding-top:1rem;border-top:1px solid #f0f0f0}.form-card-icons-row{display:flex;gap:1rem;justify-content:space-between;align-items:center;flex-wrap:wrap}.form-card-icons-row-left{display:flex;gap:1rem;align-items:center;flex-wrap:wrap}.form-card-icon-button{background:none;border:none;cursor:pointer;font-size:1.5rem;padding:.6rem;text-decoration:none;transition:all .2s;opacity:.7;display:flex;align-items:center;justify-content:center;border-radius:8px;min-width:40px;min-height:40px}.form-card-icon-button:hover:not(:disabled){transform:scale(1.15);opacity:1;background-color:#f0f0f0}.form-card-icon-button:disabled{opacity:.4;cursor:not-allowed}.form-card-icon-button:focus:not(:disabled){outline:2px solid #667eea;outline-offset:2px}.form-card-toggle{position:relative;width:50px;height:26px;background-color:#ccc;border-radius:26px;border:none;cursor:pointer;transition:background-color .3s ease;padding:0;min-width:50px;min-height:26px;display:flex;align-items:center;outline:none}.form-card-toggle:hover:not(:disabled){background-color:#bbb}.form-card-toggle:focus:not(:disabled){outline:2px solid #667eea;outline-offset:2px}.form-card-toggle-on{background-color:#28a745}.form-card-toggle-on:hover:not(:disabled){background-color:#218838}.form-card-toggle-off{background-color:#dc3545}.form-card-toggle-off:hover:not(:disabled){background-color:#c82333}.form-card-toggle-slider{position:absolute;top:3px;left:3px;width:20px;height:20px;background-color:#fff;border-radius:50%;transition:transform .3s ease;box-shadow:0 2px 4px #0003}.form-card-toggle-on .form-card-toggle-slider{transform:translate(24px)}.form-card-toggle-loading{opacity:.6;cursor:wait}.form-card-toggle-loading .form-card-toggle-slider{animation:form-card-pulse 1.5s ease-in-out infinite}@keyframes form-card-pulse{0%,to{opacity:1}50%{opacity:.5}}.form-card-delete-icon{background:none;border:none;cursor:pointer;font-size:1.3rem;padding:.4rem;transition:all .2s;opacity:.6;display:flex;align-items:center;justify-content:center;border-radius:6px;min-width:32px;min-height:32px}.form-card-delete-icon:hover{transform:scale(1.15);opacity:1;background-color:#fee}.form-card-delete-icon:focus{outline:2px solid #dc3545;outline-offset:2px}.form-create-wrapper{position:relative;display:inline-block}.form-create-trigger{display:inline-flex;align-items:center;min-width:220px;justify-content:center}.form-create-trigger-open{border-radius:8px 8px 0 0}.form-create-dropdown{position:absolute;top:100%;left:0;right:0;width:100%;margin-top:-1px;background:#fff;border-radius:0 0 8px 8px;box-shadow:0 4px 12px #00000026;z-index:100;overflow:hidden;border:1px solid rgba(102,126,234,.5);border-top:none}.form-create-dropdown-item{display:block;padding:.75rem 1.25rem;color:#2c3e50;text-decoration:none;font-weight:500;transition:background-color .2s,color .2s;border:none;background:none;width:100%;text-align:left;font-family:inherit}.form-create-dropdown-item:hover{background:#f8f9fa;color:#667eea}.form-actions{margin-bottom:2rem}.form-actions-empty{margin-bottom:0}.template-modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:2rem;animation:templateModalFadeIn .2s ease}@keyframes templateModalFadeIn{0%{opacity:0}to{opacity:1}}.form-list-templates-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:.75rem}.form-list-template-card{cursor:pointer;transition:transform .2s;padding:1rem}.form-list-template-title{font-size:.95rem;margin:0 0 .5rem;min-height:2.4em;line-height:1.2;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.form-list-template-card:hover{transform:translateY(-2px)}.form-list-template-meta{font-size:.8rem;color:#6c757d;margin:0 0 .15rem}.form-list-template-meta:last-of-type{margin-bottom:0}.form-list-template-select-button{width:100%;margin-top:.75rem;padding:.5rem .75rem;font-size:.85rem}.form-list-templates-empty{text-align:center;padding:2rem}.form-list-templates-empty-text{color:#6c757d}.empty-state-title{margin-bottom:2rem}.empty-state-text{color:#6c757d;margin-bottom:2rem}.forms-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:1.5rem}.error-message{color:red}.unsaved-changes-modal-overlay{position:fixed;inset:0;background-color:#00000080;display:flex;justify-content:center;align-items:center;z-index:2000;padding:1rem}.unsaved-changes-modal-content{background:#fff;border-radius:12px;padding:2.5rem;max-width:500px;width:100%;box-shadow:0 10px 40px #0003;animation:unsavedChangesModalFadeIn .2s ease;box-sizing:border-box}@keyframes unsavedChangesModalFadeIn{0%{opacity:0;transform:scale(.9)}to{opacity:1;transform:scale(1)}}.unsaved-changes-modal-content h2{margin:0 0 1.5rem;color:#f39c12;font-size:1.5rem;font-weight:600}.unsaved-changes-modal-content p{margin:0 0 2rem;color:#34495e;line-height:1.6;font-size:1rem}.unsaved-changes-modal-actions{display:flex;flex-direction:column;gap:.75rem;margin-top:2rem}.unsaved-changes-modal-actions .btn{width:100%;padding:.875rem 1.5rem;font-size:1rem;font-weight:500;border-radius:6px;border:none;cursor:pointer;transition:all .2s}.unsaved-changes-modal-actions .btn-primary{background-color:#667eea;color:#fff}.unsaved-changes-modal-actions .btn-primary:hover{background-color:#5568d3}.unsaved-changes-modal-actions .btn-danger{background-color:#dc3545;color:#fff}.unsaved-changes-modal-actions .btn-danger:hover{background-color:#c82333}.unsaved-changes-modal-actions .btn-secondary{background-color:#6c757d;color:#fff}.unsaved-changes-modal-actions .btn-secondary:hover{background-color:#5a6268}.rich-text-editor{border:1px solid #ddd;border-radius:6px;overflow:hidden;background:#fff}.rich-text-toolbar{display:flex;flex-wrap:wrap;gap:.5rem;padding:.5rem;background:#f8f9fa;border-bottom:1px solid #e9ecef}.rich-text-toolbar button{border:none;background:transparent;border-radius:4px;padding:.25rem .5rem;cursor:pointer;font-size:.9rem}.rich-text-toolbar button:hover{background:#eef2ff}.rich-text-color-group{position:relative;display:inline-flex;align-items:center}.rich-text-color-trigger{border:none;background:transparent;border-radius:4px;padding:.25rem .5rem;cursor:pointer;height:28px}.rich-text-color-trigger:hover{background:#eef2ff}.rich-text-color-icon{position:relative;font-weight:700;font-size:.95rem;line-height:1;padding-bottom:4px}.rich-text-color-bar{position:absolute;left:0;right:0;bottom:0;height:3px;border-radius:2px}.rich-text-color-swatch{width:14px;height:14px;border-radius:50%;border:1px solid #d0d7de;padding:0;cursor:pointer}.rich-text-color-swatch:hover{transform:scale(1.05)}.rich-text-color-popover{position:absolute;top:calc(100% + 6px);left:0;background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:.4rem .5rem;display:grid;grid-template-columns:repeat(5,14px);gap:.45rem;box-shadow:0 10px 25px #0000001f;z-index:5}.rich-text-link-group{position:relative;display:inline-flex;align-items:center}.rich-text-link-trigger{border:none;background:transparent;border-radius:4px;padding:.25rem .5rem;cursor:pointer;height:28px}.rich-text-link-popover{position:absolute;top:calc(100% + 6px);left:0;display:flex;align-items:center;gap:.5rem;background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:.5rem;box-shadow:0 10px 25px #0000001f;z-index:5}.rich-text-link-input{min-width:180px;border:1px solid #d1d5db;border-radius:6px;padding:.35rem .5rem;font-size:.9rem}.rich-text-link-apply{border:none;background:#667eea;color:#fff;border-radius:6px;padding:.35rem .6rem;cursor:pointer;font-size:.85rem}.rich-text-link-apply:hover{background:#5a6fde}.rich-text-toolbar .rich-text-link-apply{background:#667eea;color:#fff}.rich-text-content{min-height:120px;padding:.75rem;font-size:1rem;line-height:1.4;cursor:text}.rich-text-content:empty:before{content:attr(data-placeholder);color:#9ca3af}.toast-container{position:fixed;bottom:1.5rem;right:1.5rem;z-index:9999}.toast{display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;border-radius:999px;box-shadow:0 10px 25px #00000026;color:#fff;font-size:.95rem;max-width:360px}.toast-success{background:linear-gradient(135deg,#10b981,#059669)}.toast-error{background:linear-gradient(135deg,#ef4444,#b91c1c)}.toast-message{flex:1}.toast-close{border:none;background:transparent;color:inherit;font-size:1.1rem;cursor:pointer;padding:0;line-height:1}@media(max-width:768px){.toast-container{left:1rem;right:1rem;bottom:1rem}.toast{border-radius:12px;max-width:none}}.question-block-in-section:before{content:"";position:absolute;left:-22px;top:-16px;bottom:-16px;width:2px;background-color:#667eea;pointer-events:none}.question-block-in-section:after{content:"";position:absolute;left:-22px;top:24px;width:22px;height:2px;background-color:#667eea;pointer-events:none}.template-selection{margin-bottom:2rem}.template-selection-buttons{display:flex;flex-direction:column;gap:1rem;max-width:400px}.template-choice-button{padding:1.25rem 1.5rem;font-size:1.1rem}.template-button{width:100%;padding:1.5rem;font-size:1.1rem}.template-modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:2rem;animation:fadeIn .2s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.template-modal-content{background:#fff;border-radius:12px;box-shadow:0 8px 32px #0003;max-width:800px;width:100%;max-height:85vh;display:flex;flex-direction:column;overflow:hidden}.template-modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.25rem 1.5rem;border-bottom:1px solid #f0f0f0}.template-modal-header h2{margin:0;font-size:1.25rem;color:#2c3e50}.template-modal-close{width:36px;height:36px;display:flex;align-items:center;justify-content:center;background:none;border:none;font-size:1.25rem;color:#6c757d;cursor:pointer;border-radius:8px;transition:background-color .2s,color .2s}.template-modal-close:hover{background:#f8f9fa;color:#2c3e50}.template-modal-body{padding:1.5rem;overflow-y:auto}.templates-title{margin-bottom:1rem}.templates-empty{text-align:center;padding:3rem}.templates-empty-text{color:#6c757d}.templates-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.5rem}.template-card{cursor:pointer;transition:transform .2s;padding:1rem}.template-card .template-title{font-size:.95rem;margin:0 0 .5rem;min-height:2.4em;line-height:1.2;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.template-card:hover{transform:translateY(-2px)}.template-description{color:#6c757d;margin-bottom:1rem}.template-meta{font-size:.9rem;color:#6c757d}.template-select-button{width:100%;margin-top:1rem}.page-header-actions{display:flex;justify-content:space-between;align-items:center}.page-header-description{color:#6c757d;margin-top:.5rem}.tree-section-container{margin-bottom:1.5rem}.tree-section-wrapper{display:flex;align-items:flex-start}.tree-connector{width:20px;display:flex;flex-direction:column;align-items:center;margin-right:8px;margin-top:12px}.tree-connector-line{width:2px;height:100%;background-color:#667eea}.tree-connector-line-small{min-height:50px}.tree-connector-line-tiny{min-height:20px}.tree-section-content{flex:1}.tree-section-card{background-color:#e3f2fd;border:2px solid #667eea;border-radius:8px;margin-bottom:.5rem}.tree-section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;flex-wrap:wrap;gap:.5rem}.tree-section-title{margin:0;color:#667eea;display:flex;align-items:center;gap:.5rem;flex:1;justify-content:space-between;flex-wrap:nowrap;min-width:0}.tree-section-title>span:first-child{flex-shrink:0}.tree-section-title>button{flex-shrink:0;margin-left:auto}.tree-section-icon{margin-right:8px}.tree-questions-container{margin-left:28px;position:relative}.tree-questions-line{position:absolute;left:-14px;top:0;width:2px;height:100%;background-color:#667eea}.tree-question-item{margin-bottom:1rem;position:relative}.tree-question-horizontal-line{position:absolute;left:-14px;top:20px;width:14px;height:2px;background-color:#667eea}.tree-question-vertical-line{position:absolute;left:-14px;top:22px;width:2px;height:calc(100% + 1rem);background-color:#667eea}.tree-question-card{background-color:#f8f9fa;border:1px solid #667eea;border-radius:4px;margin-left:8px}.tree-question-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;flex-wrap:wrap;gap:.5rem}.tree-question-title{margin:0;color:#667eea;display:flex;align-items:center;gap:.5rem;flex:1;justify-content:space-between;flex-wrap:nowrap;min-width:0}.tree-question-title>span:first-child{flex-shrink:0}.tree-question-title>button{flex-shrink:0;margin-left:auto}.tree-question-icon{margin-right:8px}.standalone-question-card{flex:1}.concurrent-edit-overlay{position:fixed;inset:0;background-color:#000000b3;display:flex;justify-content:center;align-items:center;z-index:10000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.concurrent-edit-modal{background:#fff;border-radius:12px;padding:2rem;max-width:500px;width:90%;box-shadow:0 8px 32px #0000004d;text-align:center;animation:slideIn .3s ease-out}@keyframes slideIn{0%{transform:translateY(-20px);opacity:0}to{transform:translateY(0);opacity:1}}.concurrent-edit-icon{font-size:4rem;margin-bottom:1rem;animation:pulse 2s infinite}@keyframes pulse{0%,to{transform:scale(1)}50%{transform:scale(1.1)}}.concurrent-edit-title{margin-top:0;margin-bottom:1rem;color:#dc3545;font-size:1.75rem;font-weight:700}.concurrent-edit-message{margin-bottom:2rem;color:#555;line-height:1.6;font-size:1.05rem}.concurrent-edit-actions{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}.concurrent-edit-actions .btn{min-width:180px}.tabs-container{margin-bottom:2rem;display:flex;justify-content:center}.tabs-wrapper{display:inline-flex;background-color:#f8f9fa;border-radius:12px;padding:.25rem;border:1px solid #e0e0e0;box-shadow:0 2px 4px #0000000d}.tab-button{padding:.75rem 2rem;border:none;border-radius:8px;background-color:transparent;cursor:pointer;font-weight:500;color:#6c757d;font-size:.95rem;transition:all .2s ease}.tab-button.active{background-color:#667eea;color:#fff;font-weight:600;box-shadow:0 2px 4px #667eea33}.tab-button:hover:not(.active){background-color:#f0f0f0}.tag-scores-summary{margin-bottom:1.5rem;padding:1rem;background-color:#e8f5e9;border-radius:8px;border:1px solid #4caf50}.tag-scores-summary h4{margin:0;margin-bottom:.75rem;color:#2e7d32}.tag-scores-list{display:flex;flex-wrap:wrap;gap:1rem}.tag-score-item{padding:.5rem 1rem;background-color:#fff;border-radius:4px;border:1px solid #4caf50}.floating-nav-menu{position:fixed;right:2rem;top:50%;transform:translateY(-50%);width:280px;max-height:80vh;background:#fff;border-radius:12px;box-shadow:0 4px 20px #00000026;z-index:1000;overflow:hidden;display:flex;flex-direction:column}.floating-nav-header{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:1rem 1.25rem;border-bottom:none}.floating-nav-header h4{margin:0;font-size:1rem;font-weight:600;color:#fff}.floating-nav-content{padding:1rem;overflow-y:auto;flex:1}.floating-nav-section{margin-bottom:1.5rem}.floating-nav-section:last-child{margin-bottom:0}.floating-nav-section h5{margin:0 0 .75rem;font-size:.85rem;font-weight:600;color:#667eea;text-transform:uppercase;letter-spacing:.5px}.floating-nav-links{display:flex;flex-direction:column;gap:.5rem}.floating-nav-link{display:block;padding:.6rem .75rem;color:#2c3e50;text-decoration:none;font-size:.9rem;border-radius:6px;transition:all .2s ease;border-left:3px solid transparent}.floating-nav-link:hover{background-color:#f8f9fa;color:#667eea;border-left-color:#667eea;transform:translate(4px)}.floating-nav-link-section{font-weight:600;color:#764ba2}.floating-nav-link-tags{font-weight:600;color:#667eea;background-color:#f0f4ff;border-left-color:#667eea}.floating-nav-link-tags:hover{background-color:#e8edff}.floating-nav-footer{padding:1rem;border-top:1px solid #e0e0e0;background-color:#f8f9fa}.floating-nav-save-button{width:100%;padding:.75rem 1rem;font-weight:600;font-size:.95rem;border-radius:8px;transition:all .2s ease}.floating-nav-save-button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 8px #667eea4d}.floating-nav-save-button:disabled{opacity:.6;cursor:not-allowed}@media(max-width:1400px){.floating-nav-menu{display:none}}.tags-management{scroll-margin-top:100px}.tags-management{margin-bottom:1.5rem;padding:1.5rem;background-color:#f0f4ff;border-radius:12px;border:2px solid #667eea;scroll-margin-top:100px}.tags-management h3{margin:0;margin-bottom:1rem;color:#667eea;font-size:1.25rem;display:flex;align-items:center;gap:.5rem;justify-content:space-between;flex-wrap:nowrap}.tags-list{display:grid;gap:1rem}.tag-card{padding:1rem;background-color:#fff;border-radius:8px;border:1px solid #667eea;box-shadow:0 2px 4px #667eea1a}.tag-card-global{background-color:#fff9e6;border:2px solid #ffc107;margin-top:2rem;margin-bottom:1.5rem}.tag-card-global .tag-score-badge{background-color:#ffc107;color:#333}.tag-card-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:.75rem;flex-wrap:wrap;gap:.5rem}.tag-card-header>div{flex:1 1 auto;min-width:0}.tag-name{margin:0;color:#667eea;font-size:1.1rem;font-weight:600}.tag-questions{margin-top:.5rem;font-size:.9rem;color:#6c757d}.tag-question-link{border:none;background:transparent;color:#667eea;font-weight:600;cursor:pointer;padding:0;text-decoration:none;outline:none}.tag-question-link:hover{text-decoration:none;outline:none;box-shadow:none}.tag-question-link:focus,.tag-question-link:focus-visible,.tag-question-link:active{text-decoration:none;outline:none;box-shadow:none}.tag-score-badge{padding:.5rem 1rem;background-color:#667eea;color:#fff;border-radius:6px;font-weight:600;font-size:1rem;margin-left:auto;display:inline-flex;width:fit-content;white-space:nowrap;flex:0 0 auto;align-self:flex-start;max-width:max-content}.tag-thresholds{margin-top:1rem;padding-top:1rem;border-top:1px solid #e0e0e0}.tag-thresholds-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.tag-thresholds-header h5{margin:0;font-size:1rem;color:#667eea;font-weight:600}.tag-thresholds-empty{color:#6c757d;font-style:italic;font-size:.9rem;margin:.5rem 0}.tag-thresholds-list{display:flex;flex-direction:column;gap:.75rem}.tag-threshold-item{display:flex;gap:.5rem;align-items:center;padding:.75rem;background-color:#f8f9fa;border-radius:6px;border:1px solid #e0e0e0;flex-wrap:wrap}.tag-threshold-range{display:flex;align-items:center;gap:.5rem}.tag-threshold-input{width:80px;padding:.5rem;border:1px solid #ddd;border-radius:4px;text-align:center}.tag-threshold-separator{color:#6c757d;font-weight:600}.tag-threshold-level,.tag-threshold-message{flex:1;min-width:200px;padding:.5rem;border:1px solid #ddd;border-radius:4px}.tag-threshold-delete{padding:.4rem .6rem}.tag-threshold-item-global{flex-direction:column;align-items:stretch;gap:1rem;position:relative}.tag-threshold-item-global .tag-threshold-delete{position:absolute;top:.75rem;right:.75rem}.tag-threshold-global-fields{display:flex;flex-wrap:wrap;gap:1rem;width:100%}.tag-threshold-global-field{display:flex;flex-direction:column;gap:.5rem;flex:1 1 100%}.tag-threshold-global-field:first-child,.tag-threshold-global-field:nth-child(2){flex:1 1 calc(50% - .5rem)}.tag-threshold-global-label{font-weight:600;color:#667eea;font-size:.9rem}.tag-threshold-global-input{width:100%;padding:.75rem;border:1px solid #ddd;border-radius:4px;font-size:1rem;box-sizing:border-box}.tag-threshold-global-textarea{width:100%;padding:.75rem;border:1px solid #ddd;border-radius:4px;font-size:1rem;font-family:inherit;resize:vertical;box-sizing:border-box}.level-color-picker-container{display:flex;gap:.5rem;align-items:center}.level-color-picker{width:60px;height:40px;border:1px solid #ddd;border-radius:4px;cursor:pointer;padding:0;background:none}.level-color-picker::-webkit-color-swatch-wrapper{padding:0}.level-color-picker::-webkit-color-swatch{border:none;border-radius:4px}.level-color-input{flex:1;padding:.75rem;border:1px solid #ddd;border-radius:4px;font-size:1rem;font-family:monospace;box-sizing:border-box}.form-container{max-width:800px;margin:0 auto;width:100%;box-sizing:border-box}.personalization-section{margin-bottom:1.5rem;border-radius:8px;border:1px solid #e0e0e0;background-color:#f9fafb}.personalization-header{width:100%;padding:.75rem 1rem;border:none;background:transparent;display:flex;align-items:center;justify-content:space-between;font-weight:600;cursor:pointer;outline:none}.personalization-header:hover{background-color:#f3f4f6}.personalization-header:focus{outline:none;box-shadow:none}.personalization-chevron{font-size:.9rem;color:#6b7280}.personalization-body{padding:.5rem 1rem .75rem}.form-textarea{width:100%;margin-top:.5rem;min-height:120px}.form-select{width:100%;margin-top:.5rem;padding:.75rem}.help-text{display:block;margin-top:.5rem;color:#6c757d;font-size:.875rem}.help-text-small{display:block;margin-top:.25rem;color:#6c757d;font-size:.875rem}.logo-preview{margin-top:.5rem}.logo-preview img{max-height:60px;max-width:200px;object-fit:contain}.questions-section{margin-bottom:1.5rem}.section-subtitle-strong{margin:.5rem 0 .25rem;font-size:1rem;font-weight:600}.empty-questions{text-align:center;padding:2rem;background-color:#f8f9fa}.empty-questions-text{color:#6c757d;font-style:italic;margin:0}.empty-questions-button{font-size:.9rem;padding:.5rem 1rem}.question-block{margin-bottom:1rem;position:relative;border-radius:8px;scroll-margin-top:100px}.question-block-section{background-color:#e3f2fd;border:2px solid #667eea}.question-block-standalone{background-color:#f8f9fa;border:2px solid #e0e0e0}.question-block-in-section{background-color:#f8f9fa;border:1px solid #667eea;margin-left:2rem;border-left:3px solid #667eea;border-radius:4px}.question-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;flex-wrap:wrap;gap:.5rem}.question-title-wrapper{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.collapse-toggle-btn{display:none}.question-content{display:block}.section-badge{display:none;padding:.35rem .85rem;background-color:#667eea;color:#fff;border-radius:16px;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px;box-shadow:0 2px 4px #667eea33;white-space:nowrap}.action-button{padding:.4rem .8rem;font-size:.875rem}.checkbox-label-small{display:flex;align-items:center;cursor:pointer;font-size:.9rem}.checkbox-input-small{margin-right:.5rem;width:16px;height:16px;cursor:pointer}.checkbox-input-top{margin-top:.2rem;width:18px;height:18px;cursor:pointer}.include-in-report{margin-top:.5rem;padding-top:.5rem;border-top:1px dashed #e0e0e0}.include-in-report-label{display:flex;align-items:flex-start;cursor:pointer;gap:.75rem}.include-in-report-text{font-weight:600}.include-in-report-help{font-size:.9rem;color:#6c757d;margin-top:.25rem}.options-container{margin-bottom:1rem;padding:1rem;background-color:#fff;border-radius:6px;border:1px solid #ddd}.options-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.options-label{font-weight:600}.options-container>.btn.add-option-button{padding:.3rem .6rem;font-size:.8rem;width:fit-content;min-width:auto;max-width:none;display:inline-block;flex:none;margin-top:.5rem;box-sizing:border-box}.option-item{display:flex;gap:.5rem;margin-bottom:.5rem;align-items:center;flex-wrap:wrap}.option-input.form-input{flex:1;min-width:200px;margin:0;padding:.75rem;border:2px solid #e0e0e0;border-radius:8px;transition:border-color .2s ease,box-shadow .2s ease;background-color:#fff;cursor:text}.option-input.form-input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.option-score-input{width:70px;padding:.4rem .5rem;min-height:32px;height:32px;border:1px solid #ddd;border-radius:4px;box-sizing:border-box;font-size:.9rem;text-align:center}.option-delete-button{padding:.3rem .6rem;font-size:.8rem}.option-other-item{display:flex;gap:.5rem;margin-bottom:.5rem;margin-top:.5rem;align-items:center;padding:.5rem;background-color:#f5f5f5;border-radius:4px;border:1px solid #ddd}.branching-rules{margin-top:1rem;padding:1rem;background-color:#fff3cd;border-radius:6px;border:1px solid #ffc107}.branching-rules-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.branching-rules-label{font-weight:600;color:#856404}.branching-rules-toggle{padding:.3rem .6rem;font-size:.8rem}.branching-rules-help{font-size:.9rem;color:#856404;margin-bottom:.75rem}.branching-rule-item{margin-bottom:.5rem;display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.branching-rule-label{min-width:120px;font-weight:500}.branching-rule-select{flex:1;padding:.4rem;border-radius:4px;border:1px solid #ddd;max-width:300px}.questions-action-button{font-size:.9rem;padding:.5rem 1rem}.report-settings{margin-bottom:1.5rem;padding:1rem;background-color:#f8f9fa;border-radius:8px;border:1px solid #e0e0e0}.options-checkbox-container{margin-bottom:1rem}@media(max-width:768px){.page-container{padding:1rem;width:100%;max-width:100%;box-sizing:border-box}.form-container{max-width:100%;width:100%;box-sizing:border-box}.card{padding:1rem;margin:0;width:100%;box-sizing:border-box;overflow-x:hidden}.question-block{padding:1rem;box-sizing:border-box;width:100%;overflow-x:hidden}.question-header{flex-direction:row;align-items:center;gap:.5rem;width:100%;flex-wrap:wrap}.question-title-wrapper{flex-wrap:nowrap;min-width:0;flex:1 1 auto}.question-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex-shrink:1;min-width:0}.question-actions{width:100%;flex-wrap:wrap;gap:.5rem;justify-content:flex-start}.action-button{flex:0 0 auto;min-width:auto;width:auto;font-size:.85rem;padding:.35rem .45rem;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;aspect-ratio:1}.question-block-in-section{margin-left:0;margin-right:0;width:100%;max-width:100%;box-sizing:border-box;position:relative;background-color:#f8f9fa;border:1px solid #667eea;border-left:3px solid #667eea;box-shadow:0 2px 4px #667eea1a}.collapse-toggle-btn{display:inline-flex;align-items:center;justify-content:center;min-width:auto;width:auto;height:auto;padding:0;margin-left:auto;background:none;color:#667eea;border:none;font-size:1.5rem;font-weight:700;cursor:pointer;transition:opacity .2s ease;flex-shrink:0;line-height:1}.collapse-toggle-btn:hover{opacity:.7}.collapse-toggle-btn:active{opacity:.5}.question-content-collapsed{display:none}.question-block-in-section .section-badge,.question-block-section .section-badge{display:inline-block;margin-top:0;flex-shrink:0}.question-title-wrapper{width:100%;display:flex;flex-direction:row;align-items:center;gap:.75rem;flex-wrap:nowrap;justify-content:space-between;min-width:0}.question-title{width:auto;flex:0 1 auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.question-block-in-section .question-title-wrapper{flex-direction:row;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:.75rem}.question-block-in-section .question-title{flex:1;min-width:0}.form-group{width:100%;box-sizing:border-box}.form-input,.form-textarea,.form-select{width:100%;max-width:100%;box-sizing:border-box}.options-container{padding:.75rem;width:100%;box-sizing:border-box}.option-item{flex-direction:row;flex-wrap:wrap;align-items:center;width:100%;gap:.5rem}.option-input{min-width:100%;width:100%;max-width:100%;box-sizing:border-box;flex:1 1 100%}.option-item .option-score-input{width:auto;min-width:35px;max-width:50px;flex-shrink:0;flex-grow:0;box-sizing:border-box;margin-left:auto}.option-item .option-score-input+.btn.btn-danger.option-delete-button{margin-left:.5rem}.option-item .btn.btn-danger.option-delete-button{padding:.25rem .4rem;min-width:auto;width:auto;max-width:none;flex-shrink:0;flex-grow:0;flex-basis:auto;display:inline-flex;align-items:center;justify-content:center;line-height:1;font-size:.85rem;aspect-ratio:1}.option-item:not(:has(.option-score-input)) .btn.btn-danger.option-delete-button{margin-left:auto;margin-top:0}.branching-rules{padding:.75rem;width:100%;box-sizing:border-box}.branching-rule-item{flex-direction:column;align-items:stretch;width:100%}.branching-rule-label{min-width:auto;width:100%}.branching-rule-select{max-width:100%;width:100%;box-sizing:border-box}.tags-management{padding:1rem;width:100%;box-sizing:border-box;overflow-x:hidden}.tag-card{padding:.75rem;width:100%;box-sizing:border-box;overflow-x:hidden}.tag-card-header{flex-direction:column;align-items:flex-start;width:100%}.tag-threshold-item{flex-direction:column;width:100%}.tag-threshold-item-global{padding:.75rem;width:100%;box-sizing:border-box}.tag-threshold-global-field{width:100%;box-sizing:border-box}.tag-threshold-range{flex-wrap:wrap;width:100%}.tag-threshold-input{flex:1;min-width:80px;max-width:100%;box-sizing:border-box}.tag-threshold-level,.tag-threshold-message{min-width:100%;width:100%;max-width:100%;box-sizing:border-box}.level-color-picker-container{flex-direction:column;align-items:stretch;width:100%}.level-color-picker,.level-color-input,.tag-threshold-global-input,.tag-threshold-global-textarea{width:100%;max-width:100%;box-sizing:border-box}.tag-card-header>div{width:100%;max-width:100%}.tag-category-name-field{width:100%;max-width:100%}.tag-category-name-field .tag-threshold-global-input{width:100%!important;max-width:100%!important;box-sizing:border-box}.form-actions{flex-direction:column;width:100%}.form-actions .btn{width:100%;min-width:auto;box-sizing:border-box}.submit-button{min-width:auto;width:100%}.questions-actions{flex-direction:column;width:100%}.questions-action-button{width:100%;box-sizing:border-box}.empty-questions-actions{flex-direction:column;width:100%}.empty-questions-button{width:100%;box-sizing:border-box}.tabs-wrapper{flex-direction:column;width:100%}.tab-button{width:100%;text-align:center;box-sizing:border-box}.tag-thresholds-header{flex-direction:column;align-items:flex-start;gap:.5rem;width:100%}.tag-thresholds-header .btn{width:100%;box-sizing:border-box}.branching-rules-header{flex-direction:column;align-items:flex-start;gap:.5rem;width:100%}.branching-rules-header .btn{width:100%;box-sizing:border-box}.options-header{flex-direction:column;align-items:flex-start;gap:.5rem;width:100%}.options-header .btn{width:100%;box-sizing:border-box}.options-container>.btn.add-option-button{width:fit-content;min-width:auto;max-width:none;display:inline-block;flex:none;align-self:flex-start;box-sizing:border-box}.page-header{padding:1rem 0;width:100%;box-sizing:border-box}.page-header h1{font-size:1.5rem;word-wrap:break-word}.page-description{font-size:.9rem;word-wrap:break-word}.form-field{width:100%;box-sizing:border-box}.form-field label{word-wrap:break-word;display:block;width:100%}.question-title{word-wrap:break-word;font-size:1rem;width:100%}.tag-name,h1,h2,h3,h4,h5{word-wrap:break-word;width:100%}.tag-threshold-item-global .tag-threshold-delete{position:static;margin-top:.5rem;width:100%;box-sizing:border-box}input[type=text],input[type=url],input[type=number],input[type=color],textarea,select{max-width:100%;width:100%;box-sizing:border-box}input.category-id-input,.category-id-row .category-id-input{max-width:47px!important;width:auto!important}.floating-nav-menu{display:none}}.form-header{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:2rem;text-align:center;box-shadow:0 2px 10px #0000001a}.form-header-logo{margin-bottom:1rem}.form-header-logo img{max-height:80px;max-width:200px;object-fit:contain}.form-header-content{max-width:800px;margin:0 auto}.form-header-title{color:#fff;margin:0 0 .5rem;font-size:2rem}.form-header-description{color:#ffffffe6;margin:0;font-size:1.1rem}@media(max-width:768px){.form-header{padding:1.5rem 1rem}.form-header-title{font-size:1.5rem}.form-header-description{font-size:1rem}}.form-footer{background-color:#2c3e50;color:#ecf0f1;padding:1.5rem 0;margin-top:auto}.form-footer-container{max-width:1400px;margin:0 auto;padding:0 2rem;text-align:center}.form-footer p{margin:0;font-size:.9rem;color:#bdc3c7}@media(max-width:768px){.form-footer{padding:1rem 0}.form-footer-container{padding:0 1rem}}.viewer-container{display:flex;flex-direction:column;min-height:100vh}.viewer-main{flex:1;padding:2rem 0}.viewer-content{max-width:800px;margin:0 auto}.form-progress{margin-bottom:1rem;font-size:.9rem;color:#6c757d}.question-section{margin-bottom:2rem;margin-top:2rem;padding-bottom:1rem;border-bottom:2px solid #e0e0e0}.section-title{margin:0;margin-bottom:.5rem;font-size:1.5rem;color:#333}.section-subtitle{margin:0;color:#666;font-size:1rem}.question-container{margin-bottom:2rem}.question-label{display:block;font-size:1.15rem;font-weight:600;color:#2c3e50;margin-bottom:1rem;line-height:1.5}.question-required{color:#dc3545;margin-left:.25rem;font-weight:700}.question-input{width:100%;margin-top:.5rem;padding:.875rem 1rem;border:2px solid #e0e0e0;border-radius:8px;font-size:1rem;color:#2c3e50;transition:all .2s ease;box-sizing:border-box}.question-input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.question-textarea{width:100%;margin-top:.5rem;min-height:120px;padding:.875rem 1rem;border:2px solid #e0e0e0;border-radius:8px;font-size:1rem;font-family:inherit;color:#2c3e50;resize:vertical;transition:all .2s ease;box-sizing:border-box}.question-textarea:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.select-container{margin-top:.5rem;display:flex;flex-direction:column;gap:.75rem}.question-select{width:100%;padding:.875rem 2.5rem .875rem 1rem;border:2px solid #e0e0e0;border-radius:8px;font-size:1rem;background-color:#fff;color:#2c3e50;cursor:pointer;transition:all .2s ease;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23667eea' d='M6 9L1 4h10z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 1rem center;box-sizing:border-box}.question-select:hover{border-color:#667eea;background-color:#f8f9fa}.question-select:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.options-container{margin-top:1rem;display:flex;flex-direction:column;gap:.75rem;width:100%;align-items:stretch}.max-selections-info{margin-bottom:.5rem;padding:.5rem .75rem;background-color:#f0f4ff;border:1px solid #667eea;border-radius:6px;text-align:center}.max-selections-text{font-size:.9rem;color:#667eea;font-weight:500}.option-label{display:flex;align-items:center;padding:.875rem 1rem;min-height:38px;background-color:#f8f9fa;border:2px solid #e0e0e0;border-radius:8px;cursor:pointer;transition:all .2s ease;margin:0;text-align:left;justify-content:flex-start;font-size:1rem;color:#2c3e50;line-height:1.5;-webkit-user-select:none;user-select:none;width:100%;box-sizing:border-box}.option-label:hover{background-color:#f0f4ff;border-color:#667eea}.option-label-checked{background-color:#e8edff}.option-label:has(input:checked){background-color:#e8edff}.option-label-disabled{opacity:.5;cursor:not-allowed;background-color:#f5f5f5}.option-label-disabled:hover{background-color:#f5f5f5}.option-label-disabled input[type=checkbox]{cursor:not-allowed}.option-label-disabled~.option-other-input,.option-other-input{cursor:text!important}.option-input{margin-right:.875rem;width:20px;height:20px;min-width:20px;min-height:20px;cursor:pointer;flex-shrink:0;accent-color:#667eea;outline:none;border:none;box-shadow:none}.option-input:focus{outline:none;border:none;box-shadow:none}.option-input:active{outline:none;border:none;box-shadow:none}.option-label input[type=radio]{width:20px;height:20px;min-width:20px;min-height:20px;cursor:pointer;accent-color:#667eea;outline:none;border:none;box-shadow:none}.option-label input[type=radio]:focus{outline:none;border:none;box-shadow:none}.option-label input[type=radio]:active{outline:none;border:none;box-shadow:none}.option-label input[type=checkbox]{width:20px;height:20px;min-width:20px;min-height:20px;cursor:pointer;accent-color:#667eea;outline:none;border:none;box-shadow:none}.option-label input[type=checkbox]:focus{outline:none;border:none;box-shadow:none}.option-label input[type=checkbox]:active{outline:none;border:none;box-shadow:none}.option-label span{text-align:left;flex:1;display:block;margin-left:0}.option-other-input{width:100%;margin-left:0;margin-top:.75rem;margin-bottom:0;padding:.875rem 1rem;min-height:38px;border:2px solid #e0e0e0;border-radius:8px;font-size:1rem;color:#2c3e50;transition:all .2s ease;box-sizing:border-box;cursor:text}.option-other-input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a;cursor:text}.form-navigation{display:flex;justify-content:space-between;margin-top:2rem;padding-top:1.5rem}.submit-button{min-width:200px}.introduction-card{text-align:center;padding:4rem 3rem;max-width:900px;margin:0 auto;background:linear-gradient(135deg,#f8f9fa,#fff);border:1px solid #e9ecef;box-shadow:0 4px 20px #00000014}.introduction-description{margin-bottom:3rem;padding:2rem;background:#fff;border-radius:12px;border-left:4px solid #667eea;box-shadow:0 2px 8px #0000000d}.introduction-description p{margin:0;color:#2c3e50;font-size:1.15rem;line-height:1.9;text-align:left;letter-spacing:.01em}.introduction-actions{display:flex;justify-content:center;margin-top:1rem}.btn-large{padding:1.2rem 3rem;font-size:1.15rem;font-weight:600;border-radius:10px;box-shadow:0 4px 15px #667eea4d;transition:all .3s ease}.btn-large:hover{transform:translateY(-2px);box-shadow:0 6px 20px #667eea66}.success-container{text-align:center;padding:3rem}.success-message{color:#6c757d}.success-alert{margin-bottom:1.5rem}.warning-alert{margin-bottom:2rem}.report-container{display:flex;flex-direction:column;min-height:100vh}.report-main{flex:1;padding:2rem 0}.report-content{max-width:800px;margin:0 auto}.question-section{margin-bottom:2rem}.question-title{margin-bottom:1rem;font-size:1.25rem;font-weight:600}.question-answer{padding:1rem;background-color:#f8f9fa;border-radius:8px;margin-bottom:1rem;border-left:4px solid #667eea}.question-analysis{padding:1rem;background-color:#e8f5e9;border-radius:8px;margin-top:1rem;border-left:4px solid #4caf50;font-style:italic;color:#2e7d32}.visualization-controls{margin-top:1rem;margin-bottom:1rem}.report-card{margin-bottom:2rem}.section-card{margin-bottom:1.5rem}.section-highlight{margin-bottom:1.5rem;background-color:#e3f2fd;border:1px solid #90caf9;padding:1rem;border-radius:8px}.section-title-highlight{margin-top:0}.section-subtitle{color:#555}.viz-controls{margin-bottom:.75rem;display:flex;justify-content:flex-end;gap:.5rem;align-items:center}.viz-label{font-size:.9rem;color:#6c757d}.viz-select{padding:.4rem .6rem;border-radius:6px;border:1px solid #ddd;font-size:.9rem;background-color:#fff}.answer-display{margin-bottom:.75rem;padding:.75rem;background-color:#f5f5f5;border-radius:4px}.empty-stats{color:#6c757d;font-style:italic}.stats-table tbody tr.my-answer{background-color:#e8f5e9}.my-answer-badge{margin-left:.5rem;font-size:.8rem;color:#2e7d32}.chart-container-medium{max-width:800px;margin:1rem auto;display:flex;justify-content:center;align-items:center}.additional-info{margin-top:.75rem;font-size:.9rem;color:#555;font-style:italic}.page-layout{display:flex;flex-direction:column;min-height:100vh}.page-main{flex:1;padding:2rem 0}.report-max-width{max-width:900px;margin:0 auto}.report-card-title{margin-top:0}.report-card-text{color:#6c757d}.report-card-warning{color:#dc3545;margin-top:.5rem}.error-container{text-align:center;padding:3rem}.error-icon{font-size:4rem;margin-bottom:1rem}.error-text{color:#6c757d}.chart-container-small{max-width:400px;margin:1rem auto}.alert-error{margin-bottom:1.5rem}.category-report-item{margin-bottom:2rem;padding:2rem;background:linear-gradient(135deg,#f8f9fa,#fff);border-radius:12px;border-left:5px solid #667eea;box-shadow:0 2px 8px #00000014;transition:transform .2s ease,box-shadow .2s ease}.category-report-item:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000001f}.category-report-tag{margin-top:0;margin-bottom:1.25rem;color:#667eea;font-size:1.5rem;font-weight:700;letter-spacing:-.5px}.category-report-score{margin-bottom:1rem;font-weight:600;color:#333}@media(max-width:768px){.card.global-report,.global-report{padding:1.25rem!important}}.global-report-score{margin-bottom:1.5rem;font-size:1.25rem;font-weight:600;color:#667eea}.global-report-title{margin-top:0;margin-bottom:1.5rem;color:#1a237e;font-size:1.75rem;font-weight:700;line-height:1.3;letter-spacing:-.5px}.benchmark-section{margin-top:3rem;margin-bottom:3rem;padding-top:2rem;border-top:3px solid #667eea;border-top-style:double}.benchmark-section-header{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;margin-bottom:2rem;padding:2rem;border-radius:12px;box-shadow:0 4px 16px #667eea4d}.benchmark-section-title{margin-top:0;margin-bottom:1rem;font-size:2rem;font-weight:700;color:#fff;text-shadow:0 2px 4px rgba(0,0,0,.2)}.benchmark-section-description{margin:0;font-size:1.1rem;color:#fffffff2;line-height:1.6}.email-report-actions{margin-top:1.5rem;text-align:center}.email-report-actions .email-report-form{display:inline-flex;align-items:center;gap:.75rem;margin-top:.75rem}.email-report-actions .email-report-form .form-group{margin:0}.email-report-actions .success-text,.email-report-actions .error-text,.email-report-actions .report-card-warning{text-align:center;margin-top:.5rem}.email-report-main-button{font-size:1.1rem;padding:.9rem 2.5rem;border-radius:999px;font-weight:600;box-shadow:0 6px 18px #667eea73;transform:translateY(0);transition:transform .15s ease,box-shadow .15s ease,background-color .15s ease}.email-report-main-button:hover:not(:disabled){box-shadow:0 10px 24px #667eea99;transform:translateY(-1px)}.email-report-main-button:disabled{opacity:.6;cursor:not-allowed}.report-container{max-width:1200px;margin:0 auto}.report-section,.report-card{margin-bottom:2rem}.report-card .section-title{margin-bottom:1.5rem}.cross-analysis-container{margin-top:2rem;margin-bottom:2rem}.cross-analysis-card{margin-top:2rem;margin-bottom:2rem;background-color:#fff5e6;border:3px solid #ff9800;border-radius:12px;padding:1.5rem}.cross-analysis-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.cross-analysis-title{margin:0;color:#ff9800;font-size:1.5rem;font-weight:700}.cross-analysis-actions{display:flex;gap:.5rem}.cross-analysis-button{font-size:.9rem;padding:.5rem 1rem}.cross-analysis-toggle-button{width:100%;padding:.75rem}.question-selection-label{display:block;margin-bottom:.5rem;font-weight:700}.question-selection-list{display:flex;flex-wrap:wrap;gap:.5rem}.question-selection-item{display:flex;align-items:center;gap:.5rem;cursor:pointer}.visualization-controls{margin-bottom:1.5rem}.visualization-controls-label{display:block;margin-bottom:.5rem;font-weight:700}.visualization-buttons{display:flex;gap:.5rem;flex-wrap:wrap}.visualization-button{padding:.5rem 1rem;font-size:.9rem}.chart-container{margin-top:1.5rem;padding:1rem;background-color:#fff;border-radius:8px}.analysis-table{width:100%;border-collapse:collapse;margin-top:1rem}.analysis-table th,.analysis-table td{padding:.75rem;text-align:left;border-bottom:1px solid #e0e0e0}.analysis-table th{background-color:#f8f9fa;font-weight:600}.cross-analysis-toggle{margin-top:2rem;margin-bottom:2rem}.cross-analysis-toggle-select{width:100%;padding:.75rem}.cross-analysis-help{color:#ff9800;font-size:.9rem;margin-top:.5rem;font-style:italic}.table-container{overflow-x:auto}.cross-analysis-table{width:100%;border-collapse:collapse;background-color:#fff;border-radius:8px;overflow:hidden}.cross-analysis-table-header{background-color:#ff9800;color:#fff}.cross-analysis-table-header th{padding:.75rem;text-align:left;border:1px solid #ddd}.cross-analysis-table-header th.center{text-align:center}.cross-analysis-table-header th.bold{font-weight:700}.cross-analysis-table-body td{padding:.75rem;border:1px solid #ddd}.cross-analysis-table-body td.bold{font-weight:700}.cross-analysis-table-body td.center{text-align:center}.cross-analysis-table-body td.gray-bg{background-color:#f5f5f5}.cross-analysis-table-body td.gray-bg-bold{background-color:#f5f5f5;font-weight:700}.cross-analysis-table-count{font-weight:700}.cross-analysis-table-percentage{font-size:.85rem;color:#666}.cross-analysis-table-footer{background-color:#f5f5f5;font-weight:700}.cross-analysis-table-footer td{padding:.75rem;border:1px solid #ddd}.cross-analysis-table-footer td.center{text-align:center}.chart-container-large{max-width:800px;margin:0 auto;padding:1rem}.chart-container-medium{max-width:600px;margin:0 auto;padding:1rem}.grouped-analysis-group{margin-bottom:2rem}.grouped-analysis-title{margin-bottom:1rem;color:#ff9800}.grouped-analysis-table-container{overflow-x:auto}.grouped-analysis-table{width:100%;border-collapse:collapse;background-color:#fff;border-radius:8px}.grouped-analysis-table-header{background-color:#ff9800;color:#fff}.grouped-analysis-table-header th{padding:.75rem;text-align:left;border:1px solid #ddd}.grouped-analysis-table-header th.center{text-align:center}.grouped-analysis-table-body td{padding:.75rem;border:1px solid #ddd}.grouped-analysis-table-body td.bold{font-weight:700}.grouped-analysis-table-body td.center{text-align:center}.grouped-analysis-table-body td.gray-bg{background-color:#f5f5f5}.grouped-analysis-table-body td.gray-bg-bold{background-color:#f5f5f5;font-weight:700}.grouped-analysis-chart-container{max-width:800px;margin:0 auto;padding:1rem}.empty-state-icon{font-size:4rem;margin-bottom:1rem}.report-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;flex-wrap:wrap;gap:1rem}.report-title{color:#fff;margin:0}.report-description{color:#ffffffe6;margin-bottom:.5rem}.report-header-gradient{margin-bottom:2rem;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.report-header-actions{display:flex;gap:.5rem}.report-pdf-button{background-color:#fff;color:#667eea}.responses-table-container{overflow-x:auto}.responses-table{width:100%;border-collapse:separate;border-spacing:0;font-size:.9rem}.responses-table-header{background-color:#f5f5f5}.responses-table-header th{padding:1.25rem 1.5rem;border:1px solid #ddd;text-align:left;font-weight:600;background-color:#f5f5f5}.responses-table-header th.center{text-align:center}.responses-table tbody tr{background-color:#fff;transition:background-color .2s}.responses-table tbody tr:hover{background-color:#f8f9fa}.responses-table tbody tr td{padding:1.5rem;border:1px solid #e0e0e0;vertical-align:top}.responses-table tbody tr td.expand-cell{padding:1.5rem .75rem;width:50px;text-align:center}.expand-toggle-btn{background:none;border:none;cursor:pointer;font-size:.9rem;color:#667eea;padding:.25rem .5rem;border-radius:4px;transition:all .2s;display:flex;align-items:center;justify-content:center;width:28px;height:28px}.expand-toggle-btn:hover{background-color:#f0f0f0;color:#764ba2}.expand-toggle-btn:focus{outline:2px solid #667eea;outline-offset:2px}.responses-table tbody tr td:nth-child(2){font-weight:600;color:#667eea}.responses-table tbody tr td:nth-child(3){font-weight:500;color:#2c3e50}.responses-summary{color:#6c757d;font-style:italic;font-size:.9rem}.responses-table tbody tr:not(:last-child) td{border-bottom:2px solid #d0d0d0}.responses-table tbody tr td.center{text-align:center;vertical-align:middle}.responses-table-empty{color:#6c757d;font-style:italic}.respondent-benchmark-card{margin-top:2rem}.respondent-benchmark-categories{margin-top:1rem;display:flex;flex-direction:column;gap:1.5rem}.respondent-benchmark-category{padding-top:.5rem}.respondent-benchmark-global{margin-top:2rem}.stats-table{width:100%;border-collapse:collapse;font-size:.9rem}.stats-table thead tr{background-color:#f5f5f5}.stats-table th{padding:.5rem;text-align:left;border:1px solid #ddd}.stats-table th.center{text-align:center}.stats-table tbody tr{background-color:#fff}.stats-table td{padding:.5rem;border:1px solid #ddd}.stats-table td.center{text-align:center}.stats-row-current-level{background-color:#eef2ff;font-weight:600}.current-level-badge{margin-left:.5rem;font-size:.8rem;color:#667eea}.section-title{margin-top:0}.grouped-analysis-intro{margin-bottom:1rem;font-weight:700}.grouped-analysis-title-large{font-size:1.2rem}.error-state{text-align:center;padding:3rem}.error-state-icon{font-size:4rem;margin-bottom:1rem}.error-state-text{color:#6c757d}.report-header-button{margin:0;font-size:1.1rem;font-weight:600;background:none;border:none;padding:0;color:#fff;text-decoration:underline;cursor:pointer}.question-card{margin-bottom:2rem}.question-card-in-section{margin-left:2rem;border-left:3px solid #667eea;background-color:#f8f9ff}.question-content{margin-bottom:2rem;padding-bottom:2rem;border-bottom:2px solid #e0e0e0}.question-header-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;flex-wrap:wrap;gap:1rem}.question-title{margin:0;color:#333;font-size:1.3rem}.question-title-in-section{color:#667eea;font-size:1.2rem}.question-visualization-controls{display:flex;gap:.5rem;align-items:center}.question-visualization-label{font-size:.9rem;color:#6c757d}.question-visualization-select{padding:.5rem;border-radius:6px;border:2px solid #e0e0e0;font-size:.9rem;cursor:pointer}.question-empty{color:#6c757d;font-style:italic}.answer-list{list-style:none;padding:0;margin:0}.answer-item{padding:.75rem;margin-bottom:.5rem;background-color:#f8f9fa;border-radius:6px;border-left:3px solid #667eea}.section-card{margin-top:3rem;margin-bottom:2rem;padding:1.5rem;background-color:#e3f2fd;border:3px solid #667eea;border-radius:12px;box-shadow:0 4px 6px #667eea1a}.section-card-dragging{cursor:grabbing}.section-card-grab{cursor:grab}.section-drag-handle{display:flex;align-items:center;gap:.5rem;margin-bottom:1rem}.section-drag-icon{font-size:1.2rem;color:#667eea}.section-drag-text{font-size:.85rem;color:#6c757d}.section-title-large{margin:0;margin-bottom:.5rem;color:#667eea;font-size:1.75rem;font-weight:700}.section-subtitle-large{margin:0;color:#555;font-size:1.1rem;font-weight:400}.question-drag-handle{display:flex;justify-content:space-between;align-items:center;gap:.5rem;padding:.5rem;margin-bottom:1rem;background-color:#f8f9fa;border-radius:6px;border:1px dashed #ddd}.question-drag-handle-content{display:flex;align-items:center;gap:.5rem;cursor:grab;flex:1}.question-drag-handle-content-dragging{cursor:grabbing}.question-drag-icon{font-size:1.2rem;color:#667eea}.question-drag-text{font-size:.85rem;color:#6c757d}.analysis-section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.analysis-section-title{margin:0;color:#764ba2}.analysis-section-actions{display:flex;gap:.5rem}.analysis-empty{color:#6c757d;font-style:italic;padding:1rem;background-color:#f8f9fa;border-radius:6px}.block-card{margin-bottom:1rem;background-color:#f8f9fa;border:1px solid #e0e0e0}.block-card-section{background-color:#fff;border:2px solid #667eea}.block-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;flex-wrap:wrap;gap:.5rem}.block-actions{display:flex;gap:.5rem}.block-textarea{width:100%;min-height:150px;margin-top:.5rem}.section-analysis-card{margin-top:2rem;margin-bottom:2rem;background-color:#f0f4ff;border:3px solid #667eea;border-radius:12px;padding:1.5rem}.section-analysis-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.section-analysis-title{margin:0;color:#667eea;font-size:1.5rem;font-weight:700}.section-analysis-subheader{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.section-analysis-subtitle{margin:0;color:#667eea;font-size:1.2rem}.section-analysis-empty{color:#6c757d;font-style:italic;padding:1rem;background-color:#e3f2fd;border-radius:6px;border:1px solid #667eea}.add-cross-analysis{margin-top:1.5rem;margin-bottom:1.5rem;text-align:center}.add-cross-analysis-button{padding:.75rem 1.5rem;font-size:1rem}.hidden-question-button{margin-bottom:2rem}.hidden-question-button-in-section{margin-left:2rem}.hidden-question-button-full{width:100%;padding:.75rem}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.section-header-hint{font-size:.9rem;color:#6c757d;font-style:italic}.form-actions-bottom{display:flex;justify-content:flex-end;margin-top:2rem}.form-submit-button{min-width:200px}.responses-list{padding-left:1.2rem;margin:0;list-style:none}.responses-list-item{margin-bottom:.75rem;padding-bottom:.75rem;line-height:1.6}.responses-list-item:not(:last-child){border-bottom:1px solid #f0f0f0}.delete-answer-button{font-size:.8rem;padding:.3rem .6rem}.respondent-actions{display:flex;gap:.5rem;align-items:center;justify-content:center}.view-report-button{font-size:.8rem;padding:.3rem .6rem}.report-title-large{font-size:1.75rem;margin-bottom:.5rem}.visualization-select{padding:.5rem;border-radius:6px;border:2px solid #ff9800;font-size:.9rem;cursor:pointer;background-color:#fff}.modal-overlay{position:fixed;inset:0;background-color:#00000080;display:flex;justify-content:center;align-items:center;z-index:2000;padding:1rem}.modal-content{background:#fff;border-radius:12px;padding:0;max-width:800px;max-height:90vh;width:100%;box-shadow:0 10px 40px #0003;animation:modalFadeIn .2s ease;display:flex;flex-direction:column;overflow:hidden}@keyframes modalFadeIn{0%{opacity:0;transform:scale(.9)}to{opacity:1;transform:scale(1)}}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem 2rem;border-bottom:1px solid #e0e0e0;background-color:#f8f9fa}.modal-title{margin:0;color:#2c3e50;font-size:1.5rem;font-weight:600}.modal-close-button{background:none;border:none;font-size:1.5rem;color:#6c757d;cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:background-color .2s ease}.modal-close-button:hover{background-color:#e0e0e0}.modal-body{padding:2rem;overflow-y:auto;flex:1}.modal-empty-message{text-align:center;color:#6c757d;padding:2rem;font-style:italic}.modal-footer{padding:1.5rem 2rem;border-top:1px solid #e0e0e0;background-color:#f8f9fa;display:flex;justify-content:flex-end}.category-report-item{margin-bottom:2rem;padding:2rem;background:linear-gradient(135deg,#f8f9fa,#fff);border-radius:12px;border-left:5px solid #667eea;box-shadow:0 2px 8px #00000014}.category-report-item:last-child{margin-bottom:0}.category-report-tag{margin-top:0;margin-bottom:1.25rem;color:#667eea;font-size:1.5rem;font-weight:700}.category-levels-container{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1.25rem}.category-report-level{font-size:1.1rem;font-weight:600;padding:.75rem 1rem;border-radius:6px;display:inline-block;border:2px solid;transition:all .2s ease}.category-report-level-other{font-size:.85rem;font-weight:500;padding:.5rem .75rem;margin-left:.5rem}.category-report-message{color:#2c3e50;line-height:1.8;white-space:pre-wrap;font-size:1.05rem;padding:1rem;background-color:#ffffffb3;border-radius:8px;border-left:3px solid #667eea}.global-report{background:linear-gradient(135deg,#e3f2fd,#bbdefb);border:3px solid #667eea;box-shadow:0 4px 16px #667eea33;padding:2.5rem}.global-levels-container{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1.5rem}.global-report-level{font-size:1.2rem;font-weight:700;padding:1rem 1.25rem;background-color:#ffffffe6;border-radius:8px;display:inline-block;box-shadow:0 2px 6px #0000001a;border:2px solid;transition:all .2s ease}.global-report-level-other{font-size:.9rem;font-weight:500;padding:.6rem .9rem;margin-left:.5rem;box-shadow:0 1px 3px #0000000d}.global-report-title{margin-top:0;margin-bottom:1.5rem;color:#1a237e;font-size:1.75rem;font-weight:700}.global-report-message{margin-bottom:2rem;color:#2c3e50;line-height:1.8;white-space:pre-wrap;font-size:1.1rem;padding:1.5rem;background-color:#fffffff2;border-radius:10px;box-shadow:0 2px 8px #00000014}.global-report-priorities{margin-top:2rem;color:#2c3e50}.global-report-priorities-title{margin-top:0;margin-bottom:1rem;color:#667eea;font-size:1.3rem;font-weight:600}.global-report-priorities-content{margin-top:.75rem;padding:1.5rem;background-color:#fffffff2;border-radius:10px;line-height:1.8;white-space:pre-wrap;font-size:1.05rem;box-shadow:0 2px 8px #00000014;border-left:4px solid #667eea}.report-section-title{margin-top:0;margin-bottom:1.5rem;color:#667eea;font-size:1.5rem}.app{display:flex;flex-direction:column;min-height:100vh}.main-content{flex:1;display:flex;flex-direction:column}.main-content--auth{justify-content:center}.main-content--auth .page-container{flex:none}.page-container{max-width:1400px;margin:0 auto;padding:2rem;width:100%;flex:1}.page-header{margin-bottom:2rem}.page-title{font-size:2.5rem;font-weight:700;color:#2c3e50;margin:0 0 .5rem}.page-description{font-size:1.1rem;color:#6c757d;margin:0}@media(max-width:768px){.page-container{padding:1rem}.page-title{font-size:2rem}}.hero-section{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:4rem 2rem;min-height:200px;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:16px;color:#fff;margin-bottom:3rem}.hero-title{color:#fff;font-size:3rem;margin-bottom:1rem}.hero-subtitle{font-size:1.25rem;margin-bottom:2rem;opacity:.95}.hero-buttons{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}.hero-button-primary{background-color:#fff;color:#fff;font-weight:600;padding:1rem 2rem;font-size:1.1rem}.hero-button-outline{border-color:#fff;color:#fff;padding:1rem 2rem;font-size:1.1rem}.features-section{margin-top:4rem}.features-title{text-align:center;font-size:2rem;font-weight:600;color:#2c3e50;margin-bottom:2.5rem}.features-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2rem}.feature-card{display:flex;flex-direction:column;height:100%;transition:transform .2s ease,box-shadow .2s ease}.feature-card-link{text-decoration:none;color:inherit;cursor:pointer}.feature-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px #0000001f}.feature-subtitle{font-weight:400;opacity:.85}.feature-icon{font-size:3rem;margin-bottom:1rem}.feature-text{color:#6c757d;line-height:1.6;flex:1;margin-bottom:1rem}.feature-link{color:#667eea;text-decoration:none;font-weight:600;margin-top:auto;transition:color .2s ease}.feature-link:hover{color:#764ba2}@media(max-width:768px){.hero-section{padding:2rem 1.25rem;min-height:140px;margin-bottom:1rem;border-radius:12px}.features-section{margin-top:1.5rem}.features-title{margin-bottom:1.5rem}.hero-title{font-size:1.75rem;margin-bottom:.5rem}.hero-subtitle{font-size:1rem;margin-bottom:0;opacity:.95}}.audit-container{max-width:500px;margin:3rem auto}.audit-card{text-align:center;padding:3rem 2rem}.audit-icon{font-size:4rem;margin-bottom:1.5rem}.audit-title{font-size:2rem;font-weight:600;color:#2c3e50;margin-bottom:1.5rem}.audit-message{font-size:1.1rem;color:#6c757d;line-height:1.6;margin-bottom:1rem}.audit-note{font-size:.95rem;color:#95a5a6;line-height:1.5;margin-bottom:2rem}.audit-back{display:inline-block}.category-id-input{max-width:70px}.category-id-row{display:flex;align-items:center;gap:.75rem;margin-top:.5rem}.category-name-block{display:flex;flex-direction:column;gap:.25rem;margin-top:.5rem;font-size:.9rem;color:#6c757d}.category-name-label{display:block}.category-name-value{display:flex;align-items:center;gap:.35rem}.category-name-edit-button{background:none;border:none;cursor:pointer;font-size:.95rem;color:inherit;padding:0}.category-name-edit-button:hover{color:#667eea}.tag-card-highlight{box-shadow:0 0 0 2px #667eea inset;transition:box-shadow .3s ease}.tag-category-name-field .tag-threshold-global-input{width:75%;max-width:75%}.loading-container{text-align:center;padding:4rem}.loading-icon{font-size:3rem;margin-bottom:1rem}.loading-text{color:#6c757d;font-size:1.1rem}.alert-margin{margin-bottom:1rem}.actions-container,.form-card{margin-bottom:2rem}.form-group{margin-bottom:1.5rem}.form-input{width:100%;margin-top:.5rem}.form-textarea{width:100%;margin-top:.5rem;min-height:80px}.form-select{width:100%;margin-top:.5rem}.questions-section-title{margin:0;margin-bottom:1rem}.question-block-wrapper{margin-bottom:1rem}.questions-actions-inline{display:flex;gap:.5rem;margin-top:.75rem;justify-content:flex-end}.questions-actions-inline .questions-action-button{font-size:.85rem;padding:.35rem .85rem}.empty-questions{padding:1rem;text-align:center;color:#6c757d;font-style:italic}.empty-questions-text{margin:0}.empty-questions-actions{display:flex;gap:.5rem;justify-content:center;margin-top:1rem}.question-block{margin-bottom:1.5rem;padding:1rem;border-radius:8px;background-color:#fff}.question-block-section{border:2px solid #667eea;background-color:#e3f2fd}.question-block-in-section{border:1px solid #667eea;margin-left:2rem;border-left:3px solid #667eea}.question-block-standalone{border:1px solid #e0e0e0}.question-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1rem}.question-title{margin:0}.question-actions{display:flex;gap:.5rem}.form-field{margin-bottom:1rem}.form-field-input-bold{width:100%;margin-top:.5rem;font-weight:700}.checkbox-label{display:flex;align-items:center;cursor:pointer}.checkbox-input{margin-right:.5rem;width:18px;height:18px;cursor:pointer}.other-option-info{margin-left:1.75rem;margin-top:.5rem;padding:.5rem;background-color:#e8f5e9;border-radius:4px;font-size:.9rem;color:#2e7d32}.option-item{display:flex;gap:.5rem;margin-top:.5rem}.option-input{flex:1}.option-other-item{display:flex;gap:.5rem;margin-top:.5rem;align-items:center;padding:.5rem;background-color:#f5f5f5;border-radius:4px;border:1px solid #ddd}.option-other-input{flex:1;padding:.5rem;background-color:#e0e0e0;color:#666;cursor:not-allowed}.option-other-label{font-size:.875rem;color:#666;font-style:italic}.add-option-button{margin-top:.5rem}.questions-actions{display:flex;gap:.5rem;margin-top:1rem}.form-actions{display:flex;gap:1rem;justify-content:flex-end}.empty-state{text-align:center;padding:3rem}.empty-state-text{color:#6c757d}.templates-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.5rem;margin-top:1rem}.template-card{display:flex;flex-direction:column;transition:transform .2s,box-shadow .2s}.template-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000001a}.template-card-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1rem;gap:1rem}.template-card-header h3{margin:0;flex:1}.template-delete-icon{background:none;border:none;cursor:pointer;font-size:1.3rem;padding:.4rem;transition:all .2s;opacity:.6;display:flex;align-items:center;justify-content:center;border-radius:6px;min-width:32px;min-height:32px;flex-shrink:0}.template-delete-icon:hover{transform:scale(1.15);opacity:1;background-color:#fee}.template-delete-icon:focus{outline:2px solid #dc3545;outline-offset:2px}.template-description{color:#6c757d;margin-bottom:1rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;line-height:1.5;max-height:3em}.template-meta{font-size:.9rem;color:#6c757d;margin-bottom:.5rem}.template-actions{display:flex;flex-direction:column;gap:.75rem;margin-top:auto;padding-top:1rem;border-top:1px solid #f0f0f0}.template-icons-row{display:flex;gap:1rem;justify-content:space-between;align-items:center;flex-wrap:wrap}.template-icons-row-left{display:flex;gap:1rem;align-items:center;flex-wrap:wrap}.template-icon-button{background:none;border:none;cursor:pointer;font-size:1.5rem;padding:.6rem;text-decoration:none;transition:all .2s;opacity:.7;display:flex;align-items:center;justify-content:center;border-radius:8px;min-width:40px;min-height:40px}.template-icon-button:hover{transform:scale(1.15);opacity:1;background-color:#f0f0f0}.template-icon-button:focus{outline:2px solid #667eea;outline-offset:2px}.options-checkbox-container{margin-bottom:.5rem}@media(max-width:768px){.templates-grid{grid-template-columns:1fr}.question-block-in-section{margin-left:0;margin-right:0;width:100%;max-width:100%;box-sizing:border-box}input.category-id-input,.category-id-row .category-id-input{max-width:47px!important;width:auto!important}.tag-card-header>div{width:100%;max-width:100%}.tag-category-name-field{width:100%;max-width:100%}.tag-category-name-field .tag-threshold-global-input{width:100%!important;max-width:100%!important;box-sizing:border-box}}
